]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgfortran/configure
* libgcc-std.ver: Fix typo in %inherit for GCC_4.3.0.
[thirdparty/gcc.git] / libgfortran / configure
CommitLineData
6de9cd9a
DN
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
0dce3ca1 3# Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
6de9cd9a
DN
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'
0dce3ca1
FXC
270PACKAGE_VERSION='0.3'
271PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
6de9cd9a
DN
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
679c0f9a 311ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
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
0dce3ca1 780\`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
6de9cd9a
DN
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
0dce3ca1 847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
6de9cd9a
DN
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)
679c0f9a
TT
858 --disable-dependency-tracking speeds up one-time build
859 --enable-dependency-tracking do not reject slow dependency extractors
6de9cd9a
DN
860 --enable-shared=PKGS build shared libraries default=yes
861 --enable-static=PKGS build static libraries default=yes
862 --enable-fast-install=PKGS optimize for fast installation default=yes
863 --disable-libtool-lock avoid locking (might break parallel builds)
9cdc381b 864 --disable-largefile omit support for large files
6de9cd9a
DN
865
866Optional Packages:
867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
57255173 869 --with-build-libsubdir=DIR Directory where to find libraries for build system
6de9cd9a
DN
870 --with-gnu-ld assume the C compiler uses GNU ld default=no
871 --with-pic try to use only PIC/non-PIC objects default=use both
872
873Some influential environment variables:
874 CC C compiler command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
877 nonstandard directory <lib dir>
878 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
879 headers in a nonstandard directory <include dir>
c7a35fe9
AS
880 FC Fortran compiler command
881 FCFLAGS Fortran compiler flags
6de9cd9a
DN
882 CPP C preprocessor
883
884Use these variables to override the choices made by `configure' or to help
885it to find libraries and programs with nonstandard names/locations.
886
887_ACEOF
888fi
889
890if test "$ac_init_help" = "recursive"; then
891 # If there are subdirs, report their specific --help.
892 ac_popdir=`pwd`
893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
894 test -d $ac_dir || continue
895 ac_builddir=.
896
897if test "$ac_dir" != .; then
898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
899 # A "../" for each directory in $ac_dir_suffix.
900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
901else
902 ac_dir_suffix= ac_top_builddir=
903fi
904
905case $srcdir in
906 .) # No --srcdir option. We are building in place.
907 ac_srcdir=.
908 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=.
910 else
911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
912 fi ;;
913 [\\/]* | ?:[\\/]* ) # Absolute path.
914 ac_srcdir=$srcdir$ac_dir_suffix;
915 ac_top_srcdir=$srcdir ;;
916 *) # Relative path.
917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919esac
920
921# Do not use `cd foo && pwd` to compute absolute paths, because
922# the directories may not exist.
923case `pwd` in
924.) ac_abs_builddir="$ac_dir";;
925*)
926 case "$ac_dir" in
927 .) ac_abs_builddir=`pwd`;;
928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
929 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 esac;;
931esac
932case $ac_abs_builddir in
933.) ac_abs_top_builddir=${ac_top_builddir}.;;
934*)
935 case ${ac_top_builddir}. in
936 .) ac_abs_top_builddir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 esac;;
940esac
941case $ac_abs_builddir in
942.) ac_abs_srcdir=$ac_srcdir;;
943*)
944 case $ac_srcdir in
945 .) ac_abs_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 esac;;
949esac
950case $ac_abs_builddir in
951.) ac_abs_top_srcdir=$ac_top_srcdir;;
952*)
953 case $ac_top_srcdir in
954 .) ac_abs_top_srcdir=$ac_abs_builddir;;
955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957 esac;;
958esac
959
960 cd $ac_dir
961 # Check for guested configure; otherwise get Cygnus style configure.
962 if test -f $ac_srcdir/configure.gnu; then
963 echo
964 $SHELL $ac_srcdir/configure.gnu --help=recursive
965 elif test -f $ac_srcdir/configure; then
966 echo
967 $SHELL $ac_srcdir/configure --help=recursive
968 elif test -f $ac_srcdir/configure.ac ||
969 test -f $ac_srcdir/configure.in; then
970 echo
971 $ac_configure --help
972 else
973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 fi
57255173 975 cd $ac_popdir
6de9cd9a
DN
976 done
977fi
978
979test -n "$ac_init_help" && exit 0
980if $ac_init_version; then
981 cat <<\_ACEOF
0dce3ca1 982GNU Fortran Runtime Library configure 0.3
6de9cd9a
DN
983generated by GNU Autoconf 2.59
984
985Copyright (C) 2003 Free Software Foundation, Inc.
986This configure script is free software; the Free Software Foundation
987gives unlimited permission to copy, distribute and modify it.
988_ACEOF
989 exit 0
990fi
991exec 5>config.log
992cat >&5 <<_ACEOF
993This file contains any messages produced by compilers while
994running configure, to aid debugging if configure makes a mistake.
995
0dce3ca1 996It was created by GNU Fortran Runtime Library $as_me 0.3, which was
6de9cd9a
DN
997generated by GNU Autoconf 2.59. Invocation command line was
998
999 $ $0 $@
1000
1001_ACEOF
1002{
1003cat <<_ASUNAME
1004## --------- ##
1005## Platform. ##
1006## --------- ##
1007
1008hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012uname -v = `(uname -v) 2>/dev/null || echo unknown`
1013
1014/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1016
1017/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1018/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1019/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1021/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1022/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1023/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1024
1025_ASUNAME
1026
1027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028for as_dir in $PATH
1029do
1030 IFS=$as_save_IFS
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1033done
1034
1035} >&5
1036
1037cat >&5 <<_ACEOF
1038
1039
1040## ----------- ##
1041## Core tests. ##
1042## ----------- ##
1043
1044_ACEOF
1045
1046
1047# Keep a trace of the command line.
1048# Strip out --no-create and --no-recursion so they do not pile up.
1049# Strip out --silent because we don't want to record it for future runs.
1050# Also quote any args containing shell meta-characters.
1051# Make two passes to allow for proper duplicate-argument suppression.
1052ac_configure_args=
1053ac_configure_args0=
1054ac_configure_args1=
1055ac_sep=
1056ac_must_keep_next=false
1057for ac_pass in 1 2
1058do
1059 for ac_arg
1060 do
1061 case $ac_arg in
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 continue ;;
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 esac
1069 case $ac_pass in
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 2)
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1075 else
1076 case $ac_arg in
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 esac
1084 ;;
1085 -* ) ac_must_keep_next=true ;;
1086 esac
1087 fi
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1090 ac_sep=" "
1091 ;;
1092 esac
1093 done
1094done
1095$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097
1098# When interrupted or exit'd, cleanup temporary files, and complete
1099# config.log. We remove comments because anyway the quotes in there
1100# would cause problems or look ugly.
1101# WARNING: Be sure not to use single quotes in there, as some shells,
1102# such as our DU 5.0 friend, will then `close' the trap.
1103trap 'exit_status=$?
1104 # Save into config.log some information that might help in debugging.
1105 {
1106 echo
1107
1108 cat <<\_ASBOX
1109## ---------------- ##
1110## Cache variables. ##
1111## ---------------- ##
1112_ASBOX
1113 echo
1114 # The following way of writing the cache mishandles newlines in values,
1115{
1116 (set) 2>&1 |
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 *ac_space=\ *)
1119 sed -n \
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 ;;
1123 *)
1124 sed -n \
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ;;
1127 esac;
1128}
1129 echo
1130
1131 cat <<\_ASBOX
1132## ----------------- ##
1133## Output variables. ##
1134## ----------------- ##
1135_ASBOX
1136 echo
1137 for ac_var in $ac_subst_vars
1138 do
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1141 done | sort
1142 echo
1143
1144 if test -n "$ac_subst_files"; then
1145 cat <<\_ASBOX
1146## ------------- ##
1147## Output files. ##
1148## ------------- ##
1149_ASBOX
1150 echo
1151 for ac_var in $ac_subst_files
1152 do
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1155 done | sort
1156 echo
1157 fi
1158
1159 if test -s confdefs.h; then
1160 cat <<\_ASBOX
1161## ----------- ##
1162## confdefs.h. ##
1163## ----------- ##
1164_ASBOX
1165 echo
1166 sed "/^$/d" confdefs.h | sort
1167 echo
1168 fi
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1172 } >&5
1173 rm -f core *.core &&
1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 exit $exit_status
1176 ' 0
1177for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179done
1180ac_signal=0
1181
1182# confdefs.h avoids OS command line length limits that DEFS can exceed.
1183rm -rf conftest* confdefs.h
1184# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185echo >confdefs.h
1186
1187# Predefined preprocessor variables.
1188
1189cat >>confdefs.h <<_ACEOF
1190#define PACKAGE_NAME "$PACKAGE_NAME"
1191_ACEOF
1192
1193
1194cat >>confdefs.h <<_ACEOF
1195#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196_ACEOF
1197
1198
1199cat >>confdefs.h <<_ACEOF
1200#define PACKAGE_VERSION "$PACKAGE_VERSION"
1201_ACEOF
1202
1203
1204cat >>confdefs.h <<_ACEOF
1205#define PACKAGE_STRING "$PACKAGE_STRING"
1206_ACEOF
1207
1208
1209cat >>confdefs.h <<_ACEOF
1210#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211_ACEOF
1212
1213
1214# Let the site file select an alternate cache file if it wants to.
1215# Prefer explicitly selected file to automatically selected ones.
1216if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 else
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 fi
1222fi
1223for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's/^/| /' "$ac_site_file" >&5
1228 . "$ac_site_file"
1229 fi
1230done
1231
1232if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237echo "$as_me: loading cache $cache_file" >&6;}
1238 case $cache_file in
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1241 esac
1242 fi
1243else
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245echo "$as_me: creating cache $cache_file" >&6;}
1246 >$cache_file
1247fi
1248
1249# Check that the precious variables saved in the cache have kept the same
1250# value.
1251ac_cache_corrupted=false
1252for ac_var in `(set) 2>&1 |
1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1259 set,)
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1263 ,set)
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1267 ,);;
1268 *)
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1277 fi;;
1278 esac
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1281 case $ac_new_val in
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1285 esac
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 esac
1290 fi
1291done
1292if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1298fi
1299
1300ac_ext=c
1301ac_cpp='$CPP $CPPFLAGS'
1302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
96b8a615
AJ
1332 ac_config_headers="$ac_config_headers config.h"
1333
6de9cd9a
DN
1334ac_aux_dir=
1335for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1336 if test -f $ac_dir/install-sh; then
1337 ac_aux_dir=$ac_dir
1338 ac_install_sh="$ac_aux_dir/install-sh -c"
1339 break
1340 elif test -f $ac_dir/install.sh; then
1341 ac_aux_dir=$ac_dir
1342 ac_install_sh="$ac_aux_dir/install.sh -c"
1343 break
1344 elif test -f $ac_dir/shtool; then
1345 ac_aux_dir=$ac_dir
1346 ac_install_sh="$ac_aux_dir/shtool install -c"
1347 break
1348 fi
1349done
1350if test -z "$ac_aux_dir"; then
1351 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1352echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1353 { (exit 1); exit 1; }; }
1354fi
1355ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1356ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1357ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1358
96b8a615
AJ
1359# Make sure we can run config.sub.
1360$ac_config_sub sun4 >/dev/null 2>&1 ||
1361 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1362echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1363 { (exit 1); exit 1; }; }
1364
1365echo "$as_me:$LINENO: checking build system type" >&5
1366echo $ECHO_N "checking build system type... $ECHO_C" >&6
1367if test "${ac_cv_build+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1369else
1370 ac_cv_build_alias=$build_alias
1371test -z "$ac_cv_build_alias" &&
1372 ac_cv_build_alias=`$ac_config_guess`
1373test -z "$ac_cv_build_alias" &&
1374 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1375echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1376 { (exit 1); exit 1; }; }
1377ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1378 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1379echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1380 { (exit 1); exit 1; }; }
1381
1382fi
1383echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1384echo "${ECHO_T}$ac_cv_build" >&6
1385build=$ac_cv_build
1386build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1387build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1388build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1389
1390
891c05b1
JJ
1391 case ${build_alias} in
1392 "") build_noncanonical=${build} ;;
1393 *) build_noncanonical=${build_alias} ;;
1394esac
1395
1396 case ${host_alias} in
1397 "") host_noncanonical=${build_noncanonical} ;;
1398 *) host_noncanonical=${host_alias} ;;
1399esac
1400
1401 case ${target_alias} in
1402 "") target_noncanonical=${host_noncanonical} ;;
1403 *) target_noncanonical=${target_alias} ;;
1404esac
1405
57255173
PB
1406
1407# post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1408# have matching libraries, they should use host libraries: Makefile.tpl
1409# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1410# However, they still use the build modules, because the corresponding
1411# host modules (e.g. bison) are only built for the host when bootstrap
1412# finishes. So:
1413# - build_subdir is where we find build modules, and never changes.
1414# - build_libsubdir is where we find build libraries, and can be overridden.
1415
1416# Prefix 'build-' so this never conflicts with target_subdir.
891c05b1 1417build_subdir="build-${build_noncanonical}"
57255173
PB
1418
1419# Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1420if test "${with_build_libsubdir+set}" = set; then
1421 withval="$with_build_libsubdir"
1422 build_libsubdir="$withval"
1423else
1424 build_libsubdir="$build_subdir"
1425fi;
891c05b1
JJ
1426# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1427if ( test $srcdir = . && test -d gcc ) \
1428 || test -d $srcdir/../host-${host_noncanonical}; then
1429 host_subdir="host-${host_noncanonical}"
1430else
1431 host_subdir=.
1432fi
1433# No prefix.
1434target_subdir=${target_noncanonical}
1435
1436
1437# -------
1438# Options
1439# -------
1440
1441echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1442echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1443# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1444if test "${enable_version_specific_runtime_libs+set}" = set; then
1445 enableval="$enable_version_specific_runtime_libs"
1446 case "$enableval" in
1447 yes) version_specific_libs=yes ;;
1448 no) version_specific_libs=no ;;
1449 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1450echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1451 { (exit 1); exit 1; }; };;
1452 esac
1453else
1454 version_specific_libs=no
1455fi;
1456echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1457echo "${ECHO_T}$version_specific_libs" >&6
1458
1459
1460# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1461#
1462# You will slowly go insane if you do not grok the following fact: when
1463# building this library, the top-level /target/ becomes the library's /host/.
1464#
1465# configure then causes --target to default to --host, exactly like any
1466# other package using autoconf. Therefore, 'target' and 'host' will
1467# always be the same. This makes sense both for native and cross compilers
1468# just think about it for a little while. :-)
1469#
1470# Also, if this library is being configured as part of a cross compiler, the
1471# top-level configure script will pass the "real" host as $with_cross_host.
1472#
1473# Do not delete or change the following two lines. For why, see
1474# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
96b8a615
AJ
1475echo "$as_me:$LINENO: checking host system type" >&5
1476echo $ECHO_N "checking host system type... $ECHO_C" >&6
1477if test "${ac_cv_host+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1479else
1480 ac_cv_host_alias=$host_alias
1481test -z "$ac_cv_host_alias" &&
1482 ac_cv_host_alias=$ac_cv_build_alias
1483ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1484 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1485echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1486 { (exit 1); exit 1; }; }
1487
1488fi
1489echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1490echo "${ECHO_T}$ac_cv_host" >&6
1491host=$ac_cv_host
1492host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1493host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1494host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1495
1496
1497echo "$as_me:$LINENO: checking target system type" >&5
1498echo $ECHO_N "checking target system type... $ECHO_C" >&6
1499if test "${ac_cv_target+set}" = set; then
1500 echo $ECHO_N "(cached) $ECHO_C" >&6
1501else
1502 ac_cv_target_alias=$target_alias
1503test "x$ac_cv_target_alias" = "x" &&
1504 ac_cv_target_alias=$ac_cv_host_alias
1505ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1506 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1507echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1508 { (exit 1); exit 1; }; }
1509
1510fi
1511echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1512echo "${ECHO_T}$ac_cv_target" >&6
1513target=$ac_cv_target
1514target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1515target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1516target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1517
1518
1519# The aliases save the names the user supplied, while $host etc.
1520# will get canonicalized.
1521test -n "$target_alias" &&
1522 test "$program_prefix$program_suffix$program_transform_name" = \
1523 NONENONEs,x,x, &&
1524 program_prefix=${target_alias}-
1525target_alias=${target_alias-$host_alias}
1526
1527# Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1528# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
679c0f9a 1529# 1.9.6: minimum required version
96b8a615
AJ
1530# no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1531# of other PACKAGE_* variables will, however, and there's nothing
1532# we can do about that; they come from AC_INIT).
1533# foreign: we don't follow the normal rules for GNU packages (no COPYING
1534# file in the top srcdir, etc, etc), so stop complaining.
96b8a615
AJ
1535# -Wall: turns on all automake warnings...
1536# -Wno-portability: ...except this one, since GNU make is required.
d49ec2d1 1537am__api_version="1.9"
6de9cd9a
DN
1538# Find a good install program. We prefer a C program (faster),
1539# so one script is as good as another. But avoid the broken or
1540# incompatible versions:
1541# SysV /etc/install, /usr/sbin/install
1542# SunOS /usr/etc/install
1543# IRIX /sbin/install
1544# AIX /bin/install
1545# AmigaOS /C/install, which installs bootblocks on floppy discs
1546# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1547# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1548# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1549# OS/2's system install, which has a completely different semantic
1550# ./install, which can be erroneously created by make from ./install.sh.
1551echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1552echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1553if test -z "$INSTALL"; then
1554if test "${ac_cv_path_install+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1556else
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558for as_dir in $PATH
1559do
1560 IFS=$as_save_IFS
1561 test -z "$as_dir" && as_dir=.
1562 # Account for people who put trailing slashes in PATH elements.
1563case $as_dir/ in
1564 ./ | .// | /cC/* | \
1565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1566 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1567 /usr/ucb/* ) ;;
1568 *)
1569 # OSF1 and SCO ODT 3.0 have their own names for install.
1570 # Don't use installbsd from OSF since it installs stuff as root
1571 # by default.
1572 for ac_prog in ginstall scoinst install; do
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1575 if test $ac_prog = install &&
1576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1577 # AIX install. It has an incompatible calling convention.
1578 :
1579 elif test $ac_prog = install &&
1580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1581 # program-specific install script used by HP pwplus--don't use.
1582 :
1583 else
1584 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1585 break 3
1586 fi
1587 fi
1588 done
1589 done
1590 ;;
1591esac
1592done
1593
1594
1595fi
1596 if test "${ac_cv_path_install+set}" = set; then
1597 INSTALL=$ac_cv_path_install
1598 else
1599 # As a last resort, use the slow shell script. We don't cache a
1600 # path for INSTALL within a source directory, because that will
1601 # break other packages using the cache if that directory is
1602 # removed, or if the path is relative.
1603 INSTALL=$ac_install_sh
1604 fi
1605fi
1606echo "$as_me:$LINENO: result: $INSTALL" >&5
1607echo "${ECHO_T}$INSTALL" >&6
1608
1609# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1610# It thinks the first close brace ends the variable substitution.
1611test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1612
1613test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1614
1615test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1616
1617echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1618echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1619# Just in case
1620sleep 1
1621echo timestamp > conftest.file
1622# Do `set' in a subshell so we don't clobber the current shell's
1623# arguments. Must try -L first in case configure is actually a
1624# symlink; some systems play weird games with the mod time of symlinks
1625# (eg FreeBSD returns the mod time of the symlink's containing
1626# directory).
1627if (
1628 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1629 if test "$*" = "X"; then
1630 # -L didn't work.
1631 set X `ls -t $srcdir/configure conftest.file`
1632 fi
1633 rm -f conftest.file
1634 if test "$*" != "X $srcdir/configure conftest.file" \
1635 && test "$*" != "X conftest.file $srcdir/configure"; then
1636
1637 # If neither matched, then we have a broken ls. This can happen
1638 # if, for instance, CONFIG_SHELL is bash and it inherits a
1639 # broken ls alias from the environment. This has actually
1640 # happened. Such a system could not be considered "sane".
1641 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1642alias in your environment" >&5
1643echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1644alias in your environment" >&2;}
1645 { (exit 1); exit 1; }; }
1646 fi
1647
1648 test "$2" = conftest.file
1649 )
1650then
1651 # Ok.
1652 :
1653else
1654 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1655Check your system clock" >&5
1656echo "$as_me: error: newly created file is older than distributed files!
1657Check your system clock" >&2;}
1658 { (exit 1); exit 1; }; }
1659fi
1660echo "$as_me:$LINENO: result: yes" >&5
1661echo "${ECHO_T}yes" >&6
1662test "$program_prefix" != NONE &&
1663 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1664# Use a double $ so make ignores it.
1665test "$program_suffix" != NONE &&
1666 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1667# Double any \ or $. echo might interpret backslashes.
1668# By default was `s,x,x', remove it if useless.
1669cat <<\_ACEOF >conftest.sed
1670s/[\\$]/&&/g;s/;s,x,x,$//
1671_ACEOF
1672program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1673rm conftest.sed
1674
1675# expand $ac_aux_dir to an absolute path
1676am_aux_dir=`cd $ac_aux_dir && pwd`
1677
1678test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1679# Use eval to expand $SHELL
1680if eval "$MISSING --run true"; then
1681 am_missing_run="$MISSING --run "
1682else
1683 am_missing_run=
1684 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1685echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1686fi
1687
c9e66eda 1688if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
d49ec2d1
KC
1689 # We used to keeping the `.' as first argument, in order to
1690 # allow $(mkdir_p) to be used without argument. As in
6de9cd9a 1691 # $(mkdir_p) $(somedir)
d49ec2d1
KC
1692 # where $(somedir) is conditionally defined. However this is wrong
1693 # for two reasons:
1694 # 1. if the package is installed by a user who cannot write `.'
1695 # make install will fail,
1696 # 2. the above comment should most certainly read
1697 # $(mkdir_p) $(DESTDIR)$(somedir)
1698 # so it does not work when $(somedir) is undefined and
1699 # $(DESTDIR) is not.
1700 # To support the latter case, we have to write
1701 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1702 # so the `.' trick is pointless.
1703 mkdir_p='mkdir -p --'
6de9cd9a
DN
1704else
1705 # On NextStep and OpenStep, the `mkdir' command does not
1706 # recognize any option. It will interpret all options as
1707 # directories to create, and then abort because `.' already
1708 # exists.
c9e66eda 1709 for d in ./-p ./--version;
6de9cd9a
DN
1710 do
1711 test -d $d && rmdir $d
1712 done
1713 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1714 if test -f "$ac_aux_dir/mkinstalldirs"; then
1715 mkdir_p='$(mkinstalldirs)'
1716 else
1717 mkdir_p='$(install_sh) -d'
1718 fi
1719fi
1720
1721for ac_prog in gawk mawk nawk awk
1722do
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724set dummy $ac_prog; ac_word=$2
1725echo "$as_me:$LINENO: checking for $ac_word" >&5
1726echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727if test "${ac_cv_prog_AWK+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1729else
1730 if test -n "$AWK"; then
1731 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1732else
1733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734for as_dir in $PATH
1735do
1736 IFS=$as_save_IFS
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_AWK="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 break 2
1743 fi
1744done
1745done
1746
1747fi
1748fi
1749AWK=$ac_cv_prog_AWK
1750if test -n "$AWK"; then
1751 echo "$as_me:$LINENO: result: $AWK" >&5
1752echo "${ECHO_T}$AWK" >&6
1753else
1754 echo "$as_me:$LINENO: result: no" >&5
1755echo "${ECHO_T}no" >&6
1756fi
1757
1758 test -n "$AWK" && break
1759done
1760
1761echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1762echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1763set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1764if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1766else
1767 cat >conftest.make <<\_ACEOF
1768all:
1769 @echo 'ac_maketemp="$(MAKE)"'
1770_ACEOF
1771# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1772eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1773if test -n "$ac_maketemp"; then
1774 eval ac_cv_prog_make_${ac_make}_set=yes
1775else
1776 eval ac_cv_prog_make_${ac_make}_set=no
1777fi
1778rm -f conftest.make
1779fi
1780if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1781 echo "$as_me:$LINENO: result: yes" >&5
1782echo "${ECHO_T}yes" >&6
1783 SET_MAKE=
1784else
1785 echo "$as_me:$LINENO: result: no" >&5
1786echo "${ECHO_T}no" >&6
1787 SET_MAKE="MAKE=${MAKE-make}"
1788fi
1789
1790rm -rf .tst 2>/dev/null
1791mkdir .tst 2>/dev/null
1792if test -d .tst; then
1793 am__leading_dot=.
1794else
1795 am__leading_dot=_
1796fi
1797rmdir .tst 2>/dev/null
1798
1799# test to see if srcdir already configured
1800if test "`cd $srcdir && pwd`" != "`pwd`" &&
1801 test -f $srcdir/config.status; then
1802 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1803echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1804 { (exit 1); exit 1; }; }
1805fi
1806
1807# test whether we have cygpath
1808if test -z "$CYGPATH_W"; then
1809 if (cygpath --version) >/dev/null 2>/dev/null; then
1810 CYGPATH_W='cygpath -w'
1811 else
1812 CYGPATH_W=echo
1813 fi
1814fi
1815
1816
1817# Define the identity of the package.
1818 PACKAGE='libgfortran'
0dce3ca1 1819 VERSION='0.3'
6de9cd9a
DN
1820
1821
6de9cd9a
DN
1822# Some tools Automake needs.
1823
1824ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1825
1826
1827AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1828
1829
1830AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1831
1832
1833AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1834
1835
1836MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1837
6de9cd9a
DN
1838install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839
1840# Installed binaries are usually stripped using `strip' when the user
1841# run `make install-strip'. However `strip' might not be the right
1842# tool to use in cross-compilation environments, therefore Automake
1843# will honor the `STRIP' environment variable to overrule this program.
1844if test "$cross_compiling" != no; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847set dummy ${ac_tool_prefix}strip; ac_word=$2
1848echo "$as_me:$LINENO: checking for $ac_word" >&5
1849echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850if test "${ac_cv_prog_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1852else
1853 if test -n "$STRIP"; then
1854 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1855else
1856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857for as_dir in $PATH
1858do
1859 IFS=$as_save_IFS
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 break 2
1866 fi
1867done
1868done
1869
1870fi
1871fi
1872STRIP=$ac_cv_prog_STRIP
1873if test -n "$STRIP"; then
1874 echo "$as_me:$LINENO: result: $STRIP" >&5
1875echo "${ECHO_T}$STRIP" >&6
1876else
1877 echo "$as_me:$LINENO: result: no" >&5
1878echo "${ECHO_T}no" >&6
1879fi
1880
1881fi
1882if test -z "$ac_cv_prog_STRIP"; then
1883 ac_ct_STRIP=$STRIP
1884 # Extract the first word of "strip", so it can be a program name with args.
1885set dummy strip; ac_word=$2
1886echo "$as_me:$LINENO: checking for $ac_word" >&5
1887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890else
1891 if test -n "$ac_ct_STRIP"; then
1892 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1893else
1894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895for as_dir in $PATH
1896do
1897 IFS=$as_save_IFS
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_STRIP="strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 break 2
1904 fi
1905done
1906done
1907
1908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1909fi
1910fi
1911ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1912if test -n "$ac_ct_STRIP"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914echo "${ECHO_T}$ac_ct_STRIP" >&6
1915else
1916 echo "$as_me:$LINENO: result: no" >&5
1917echo "${ECHO_T}no" >&6
1918fi
1919
1920 STRIP=$ac_ct_STRIP
1921else
1922 STRIP="$ac_cv_prog_STRIP"
1923fi
1924
1925fi
1926INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927
1928# We need awk for the "check" target. The system "awk" is bad on
1929# some platforms.
d49ec2d1
KC
1930# Always define AMTAR for backward compatibility.
1931
1932AMTAR=${AMTAR-"${am_missing_run}tar"}
1933
1934am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1935
1936
6de9cd9a
DN
1937
1938
1939
6de9cd9a
DN
1940
1941echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1942echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1943 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1944if test "${enable_maintainer_mode+set}" = set; then
1945 enableval="$enable_maintainer_mode"
1946 USE_MAINTAINER_MODE=$enableval
1947else
1948 USE_MAINTAINER_MODE=no
1949fi;
1950 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1951echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1952
1953
1954if test $USE_MAINTAINER_MODE = yes; then
1955 MAINTAINER_MODE_TRUE=
1956 MAINTAINER_MODE_FALSE='#'
1957else
1958 MAINTAINER_MODE_TRUE='#'
1959 MAINTAINER_MODE_FALSE=
1960fi
1961
1962 MAINT=$MAINTAINER_MODE_TRUE
1963
1964
96b8a615
AJ
1965# Default to --enable-multilib
1966# Check whether --enable-multilib or --disable-multilib was given.
1967if test "${enable_multilib+set}" = set; then
1968 enableval="$enable_multilib"
1969 case "$enableval" in
1970 yes) multilib=yes ;;
1971 no) multilib=no ;;
1972 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1973echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1974 { (exit 1); exit 1; }; } ;;
1975 esac
1976else
1977 multilib=yes
1978fi;
1979
1980# We may get other options which we leave undocumented:
1981# --with-target-subdir, --with-multisrctop, --with-multisubdir
1982# See config-ml.in if you want the gory details.
1983
1984if test "$srcdir" = "."; then
1985 if test "$with_target_subdir" != "."; then
1986 multi_basedir="$srcdir/$with_multisrctop../.."
1987 else
1988 multi_basedir="$srcdir/$with_multisrctop.."
1989 fi
1990else
1991 multi_basedir="$srcdir/.."
1992fi
1993
1994
9f9ef303
FXC
1995# Even if the default multilib is not a cross compilation,
1996# it may be that some of the other multilibs are.
1997if test $cross_compiling = no && test $multilib = yes \
1998 && test "x${with_multisubdir}" != x ; then
1999 cross_compiling=maybe
2000fi
2001
96b8a615
AJ
2002 ac_config_commands="$ac_config_commands default-1"
2003
2004
2005# Handy for debugging:
2006#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2007
2008# Are we being configured with some form of cross compiler?
2009# NB: We don't actually need to know this just now, but when, say, a test
2010# suite is included, we'll have to know.
2011if test "$build" != "$host"; then
2012 LIBGFOR_IS_NATIVE=false
f02d008e 2013
96b8a615
AJ
2014else
2015 LIBGFOR_IS_NATIVE=true
2016fi
2017
96b8a615
AJ
2018# Calculate toolexeclibdir
2019# Also toolexecdir, though it's only used in toolexeclibdir
2020case ${version_specific_libs} in
2021 yes)
2022 # Need the gcc compiler version to know where to install libraries
2023 # and header files if --enable-version-specific-runtime-libs option
2024 # is selected.
2025 toolexecdir='$(libdir)/gcc/$(target_alias)'
140e859c 2026 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
96b8a615
AJ
2027 ;;
2028 no)
2029 if test -n "$with_cross_host" &&
2030 test x"$with_cross_host" != x"no"; then
2031 # Install a library built with a cross compiler in tooldir, not libdir.
2032 toolexecdir='$(exec_prefix)/$(target_alias)'
2033 toolexeclibdir='$(toolexecdir)/lib'
2034 else
2035 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2036 toolexeclibdir='$(libdir)'
2037 fi
2038 multi_os_directory=`$CC -print-multi-os-directory`
2039 case $multi_os_directory in
2040 .) ;; # Avoid trailing /.
2041 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2042 esac
2043 ;;
2044esac
2045
2046
6de9cd9a 2047
96b8a615
AJ
2048# Check the compiler.
2049# The same as in boehm-gc and libstdc++. Have to borrow it from there.
2050# We must force CC to /not/ be precious variables; otherwise
2051# the wrong, non-multilib-adjusted value will be used in multilibs.
2052# As a side effect, we have to subst CFLAGS ourselves.
6de9cd9a
DN
2053
2054
2055
6de9cd9a
DN
2056ac_ext=c
2057ac_cpp='$CPP $CPPFLAGS'
2058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2060ac_compiler_gnu=$ac_cv_c_compiler_gnu
2061if test -n "$ac_tool_prefix"; then
2062 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2063set dummy ${ac_tool_prefix}gcc; ac_word=$2
2064echo "$as_me:$LINENO: checking for $ac_word" >&5
2065echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066if test "${ac_cv_prog_CC+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2068else
2069 if test -n "$CC"; then
2070 ac_cv_prog_CC="$CC" # Let the user override the test.
2071else
2072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073for as_dir in $PATH
2074do
2075 IFS=$as_save_IFS
2076 test -z "$as_dir" && as_dir=.
2077 for ac_exec_ext in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 break 2
2082 fi
2083done
2084done
2085
2086fi
2087fi
2088CC=$ac_cv_prog_CC
2089if test -n "$CC"; then
2090 echo "$as_me:$LINENO: result: $CC" >&5
2091echo "${ECHO_T}$CC" >&6
2092else
2093 echo "$as_me:$LINENO: result: no" >&5
2094echo "${ECHO_T}no" >&6
2095fi
2096
2097fi
2098if test -z "$ac_cv_prog_CC"; then
2099 ac_ct_CC=$CC
2100 # Extract the first word of "gcc", so it can be a program name with args.
2101set dummy gcc; ac_word=$2
2102echo "$as_me:$LINENO: checking for $ac_word" >&5
2103echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2104if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2106else
2107 if test -n "$ac_ct_CC"; then
2108 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2109else
2110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111for as_dir in $PATH
2112do
2113 IFS=$as_save_IFS
2114 test -z "$as_dir" && as_dir=.
2115 for ac_exec_ext in '' $ac_executable_extensions; do
2116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2117 ac_cv_prog_ac_ct_CC="gcc"
2118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 break 2
2120 fi
2121done
2122done
2123
2124fi
2125fi
2126ac_ct_CC=$ac_cv_prog_ac_ct_CC
2127if test -n "$ac_ct_CC"; then
2128 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2129echo "${ECHO_T}$ac_ct_CC" >&6
2130else
2131 echo "$as_me:$LINENO: result: no" >&5
2132echo "${ECHO_T}no" >&6
2133fi
2134
2135 CC=$ac_ct_CC
2136else
2137 CC="$ac_cv_prog_CC"
2138fi
2139
2140if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143set dummy ${ac_tool_prefix}cc; ac_word=$2
2144echo "$as_me:$LINENO: checking for $ac_word" >&5
2145echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2146if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151else
2152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153for as_dir in $PATH
2154do
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2162 fi
2163done
2164done
2165
2166fi
2167fi
2168CC=$ac_cv_prog_CC
2169if test -n "$CC"; then
2170 echo "$as_me:$LINENO: result: $CC" >&5
2171echo "${ECHO_T}$CC" >&6
2172else
2173 echo "$as_me:$LINENO: result: no" >&5
2174echo "${ECHO_T}no" >&6
2175fi
2176
2177fi
2178if test -z "$ac_cv_prog_CC"; then
2179 ac_ct_CC=$CC
2180 # Extract the first word of "cc", so it can be a program name with args.
2181set dummy cc; ac_word=$2
2182echo "$as_me:$LINENO: checking for $ac_word" >&5
2183echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2184if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2186else
2187 if test -n "$ac_ct_CC"; then
2188 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2189else
2190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191for as_dir in $PATH
2192do
2193 IFS=$as_save_IFS
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2197 ac_cv_prog_ac_ct_CC="cc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 break 2
2200 fi
2201done
2202done
2203
2204fi
2205fi
2206ac_ct_CC=$ac_cv_prog_ac_ct_CC
2207if test -n "$ac_ct_CC"; then
2208 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2209echo "${ECHO_T}$ac_ct_CC" >&6
2210else
2211 echo "$as_me:$LINENO: result: no" >&5
2212echo "${ECHO_T}no" >&6
2213fi
2214
2215 CC=$ac_ct_CC
2216else
2217 CC="$ac_cv_prog_CC"
2218fi
2219
2220fi
2221if test -z "$CC"; then
2222 # Extract the first word of "cc", so it can be a program name with args.
2223set dummy cc; ac_word=$2
2224echo "$as_me:$LINENO: checking for $ac_word" >&5
2225echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2226if test "${ac_cv_prog_CC+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2228else
2229 if test -n "$CC"; then
2230 ac_cv_prog_CC="$CC" # Let the user override the test.
2231else
2232 ac_prog_rejected=no
2233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234for as_dir in $PATH
2235do
2236 IFS=$as_save_IFS
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2241 ac_prog_rejected=yes
2242 continue
2243 fi
2244 ac_cv_prog_CC="cc"
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 break 2
2247 fi
2248done
2249done
2250
2251if test $ac_prog_rejected = yes; then
2252 # We found a bogon in the path, so make sure we never use it.
2253 set dummy $ac_cv_prog_CC
2254 shift
2255 if test $# != 0; then
2256 # We chose a different compiler from the bogus one.
2257 # However, it has the same basename, so the bogon will be chosen
2258 # first if we set CC to just the basename; use the full file name.
2259 shift
2260 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2261 fi
2262fi
2263fi
2264fi
2265CC=$ac_cv_prog_CC
2266if test -n "$CC"; then
2267 echo "$as_me:$LINENO: result: $CC" >&5
2268echo "${ECHO_T}$CC" >&6
2269else
2270 echo "$as_me:$LINENO: result: no" >&5
2271echo "${ECHO_T}no" >&6
2272fi
2273
2274fi
2275if test -z "$CC"; then
2276 if test -n "$ac_tool_prefix"; then
2277 for ac_prog in cl
2278 do
2279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2280set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2281echo "$as_me:$LINENO: checking for $ac_word" >&5
2282echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2283if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2285else
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2288else
2289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290for as_dir in $PATH
2291do
2292 IFS=$as_save_IFS
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2296 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 break 2
2299 fi
2300done
2301done
2302
2303fi
2304fi
2305CC=$ac_cv_prog_CC
2306if test -n "$CC"; then
2307 echo "$as_me:$LINENO: result: $CC" >&5
2308echo "${ECHO_T}$CC" >&6
2309else
2310 echo "$as_me:$LINENO: result: no" >&5
2311echo "${ECHO_T}no" >&6
2312fi
2313
2314 test -n "$CC" && break
2315 done
2316fi
2317if test -z "$CC"; then
2318 ac_ct_CC=$CC
2319 for ac_prog in cl
2320do
2321 # Extract the first word of "$ac_prog", so it can be a program name with args.
2322set dummy $ac_prog; ac_word=$2
2323echo "$as_me:$LINENO: checking for $ac_word" >&5
2324echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2327else
2328 if test -n "$ac_ct_CC"; then
2329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2330else
2331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332for as_dir in $PATH
2333do
2334 IFS=$as_save_IFS
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_ac_ct_CC="$ac_prog"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 break 2
2341 fi
2342done
2343done
2344
2345fi
2346fi
2347ac_ct_CC=$ac_cv_prog_ac_ct_CC
2348if test -n "$ac_ct_CC"; then
2349 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2350echo "${ECHO_T}$ac_ct_CC" >&6
2351else
2352 echo "$as_me:$LINENO: result: no" >&5
2353echo "${ECHO_T}no" >&6
2354fi
2355
2356 test -n "$ac_ct_CC" && break
2357done
2358
2359 CC=$ac_ct_CC
2360fi
2361
2362fi
2363
2364
2365test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366See \`config.log' for more details." >&5
2367echo "$as_me: error: no acceptable C compiler found in \$PATH
2368See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2370
2371# Provide some information about the compiler.
2372echo "$as_me:$LINENO:" \
2373 "checking for C compiler version" >&5
2374ac_compiler=`set X $ac_compile; echo $2`
2375{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2376 (eval $ac_compiler --version </dev/null >&5) 2>&5
2377 ac_status=$?
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }
2380{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2381 (eval $ac_compiler -v </dev/null >&5) 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2386 (eval $ac_compiler -V </dev/null >&5) 2>&5
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }
2390
2391cat >conftest.$ac_ext <<_ACEOF
2392/* confdefs.h. */
2393_ACEOF
2394cat confdefs.h >>conftest.$ac_ext
2395cat >>conftest.$ac_ext <<_ACEOF
2396/* end confdefs.h. */
2397
f02d008e
JD
2398int
2399main ()
2400{
2401
2402 ;
2403 return 0;
2404}
2405_ACEOF
2406# FIXME: Cleanup?
2407if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2408 (eval $ac_link) 2>&5
2409 ac_status=$?
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; then
2412 gcc_no_link=no
2413else
2414 gcc_no_link=yes
2415fi
2416
2417if test x$gcc_no_link = xyes; then
2418 # Setting cross_compile will disable run tests; it will
2419 # also disable AC_CHECK_FILE but that's generally
2420 # correct if we can't link.
2421 cross_compiling=yes
2422 EXEEXT=
2423else
2424 cat >conftest.$ac_ext <<_ACEOF
2425/* confdefs.h. */
2426_ACEOF
2427cat confdefs.h >>conftest.$ac_ext
2428cat >>conftest.$ac_ext <<_ACEOF
2429/* end confdefs.h. */
2430
6de9cd9a
DN
2431int
2432main ()
2433{
2434
2435 ;
2436 return 0;
2437}
2438_ACEOF
2439ac_clean_files_save=$ac_clean_files
2440ac_clean_files="$ac_clean_files a.out a.exe b.out"
2441# Try to create an executable without -o first, disregard a.out.
2442# It will help us diagnose broken compilers, and finding out an intuition
2443# of exeext.
2444echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2445echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2446ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2447if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2448 (eval $ac_link_default) 2>&5
2449 ac_status=$?
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; then
2452 # Find the output, starting from the most likely. This scheme is
2453# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2454# resort.
2455
2456# Be careful to initialize this variable, since it used to be cached.
2457# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2458ac_cv_exeext=
2459# b.out is created by i960 compilers.
2460for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2461do
2462 test -f "$ac_file" || continue
2463 case $ac_file in
2464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2465 ;;
2466 conftest.$ac_ext )
2467 # This is the source file.
2468 ;;
2469 [ab].out )
2470 # We found the default executable, but exeext='' is most
2471 # certainly right.
2472 break;;
2473 *.* )
2474 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 # FIXME: I believe we export ac_cv_exeext for Libtool,
2476 # but it would be cool to find out if it's true. Does anybody
2477 # maintain Libtool? --akim.
2478 export ac_cv_exeext
2479 break;;
2480 * )
2481 break;;
2482 esac
2483done
2484else
2485 echo "$as_me: failed program was:" >&5
2486sed 's/^/| /' conftest.$ac_ext >&5
2487
2488{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2489See \`config.log' for more details." >&5
2490echo "$as_me: error: C compiler cannot create executables
2491See \`config.log' for more details." >&2;}
2492 { (exit 77); exit 77; }; }
2493fi
2494
2495ac_exeext=$ac_cv_exeext
2496echo "$as_me:$LINENO: result: $ac_file" >&5
2497echo "${ECHO_T}$ac_file" >&6
2498
2499# Check the compiler produces executables we can run. If not, either
2500# the compiler is broken, or we cross compile.
2501echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2502echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2503# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2504# If not cross compiling, check that we can run a simple program.
2505if test "$cross_compiling" != yes; then
2506 if { ac_try='./$ac_file'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 (eval $ac_try) 2>&5
2509 ac_status=$?
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; }; then
2512 cross_compiling=no
2513 else
2514 if test "$cross_compiling" = maybe; then
2515 cross_compiling=yes
2516 else
2517 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2518If you meant to cross compile, use \`--host'.
2519See \`config.log' for more details." >&5
2520echo "$as_me: error: cannot run C compiled programs.
2521If you meant to cross compile, use \`--host'.
2522See \`config.log' for more details." >&2;}
2523 { (exit 1); exit 1; }; }
2524 fi
2525 fi
2526fi
2527echo "$as_me:$LINENO: result: yes" >&5
2528echo "${ECHO_T}yes" >&6
2529
2530rm -f a.out a.exe conftest$ac_cv_exeext b.out
2531ac_clean_files=$ac_clean_files_save
2532# Check the compiler produces executables we can run. If not, either
2533# the compiler is broken, or we cross compile.
2534echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2535echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2536echo "$as_me:$LINENO: result: $cross_compiling" >&5
2537echo "${ECHO_T}$cross_compiling" >&6
2538
2539echo "$as_me:$LINENO: checking for suffix of executables" >&5
2540echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2542 (eval $ac_link) 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2547# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2548# work properly (i.e., refer to `conftest.exe'), while it won't with
2549# `rm'.
2550for ac_file in conftest.exe conftest conftest.*; do
2551 test -f "$ac_file" || continue
2552 case $ac_file in
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2555 export ac_cv_exeext
2556 break;;
2557 * ) break;;
2558 esac
2559done
2560else
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2562See \`config.log' for more details." >&5
2563echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2564See \`config.log' for more details." >&2;}
2565 { (exit 1); exit 1; }; }
2566fi
2567
2568rm -f conftest$ac_cv_exeext
2569echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2570echo "${ECHO_T}$ac_cv_exeext" >&6
2571
2572rm -f conftest.$ac_ext
2573EXEEXT=$ac_cv_exeext
2574ac_exeext=$EXEEXT
f02d008e 2575fi
6de9cd9a
DN
2576echo "$as_me:$LINENO: checking for suffix of object files" >&5
2577echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2578if test "${ac_cv_objext+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2580else
2581 cat >conftest.$ac_ext <<_ACEOF
2582/* confdefs.h. */
2583_ACEOF
2584cat confdefs.h >>conftest.$ac_ext
2585cat >>conftest.$ac_ext <<_ACEOF
2586/* end confdefs.h. */
2587
2588int
2589main ()
2590{
2591
2592 ;
2593 return 0;
2594}
2595_ACEOF
2596rm -f conftest.o conftest.obj
2597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2603 case $ac_file in
2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2606 break;;
2607 esac
2608done
2609else
2610 echo "$as_me: failed program was:" >&5
2611sed 's/^/| /' conftest.$ac_ext >&5
2612
2613{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2614See \`config.log' for more details." >&5
2615echo "$as_me: error: cannot compute suffix of object files: cannot compile
2616See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }
2618fi
2619
2620rm -f conftest.$ac_cv_objext conftest.$ac_ext
2621fi
2622echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2623echo "${ECHO_T}$ac_cv_objext" >&6
2624OBJEXT=$ac_cv_objext
2625ac_objext=$OBJEXT
2626echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2627echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2628if test "${ac_cv_c_compiler_gnu+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2630else
2631 cat >conftest.$ac_ext <<_ACEOF
2632/* confdefs.h. */
2633_ACEOF
2634cat confdefs.h >>conftest.$ac_ext
2635cat >>conftest.$ac_ext <<_ACEOF
2636/* end confdefs.h. */
2637
2638int
2639main ()
2640{
2641#ifndef __GNUC__
2642 choke me
2643#endif
2644
2645 ;
2646 return 0;
2647}
2648_ACEOF
2649rm -f conftest.$ac_objext
2650if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2651 (eval $ac_compile) 2>conftest.er1
2652 ac_status=$?
2653 grep -v '^ *+' conftest.er1 >conftest.err
2654 rm -f conftest.er1
2655 cat conftest.err >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } &&
57255173
PB
2658 { ac_try='test -z "$ac_c_werror_flag"
2659 || test ! -s conftest.err'
6de9cd9a
DN
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 (eval $ac_try) 2>&5
2662 ac_status=$?
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; } &&
2665 { ac_try='test -s conftest.$ac_objext'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 (eval $ac_try) 2>&5
2668 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 ac_compiler_gnu=yes
2672else
2673 echo "$as_me: failed program was:" >&5
2674sed 's/^/| /' conftest.$ac_ext >&5
2675
2676ac_compiler_gnu=no
2677fi
2678rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2679ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680
2681fi
2682echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2684GCC=`test $ac_compiler_gnu = yes && echo yes`
2685ac_test_CFLAGS=${CFLAGS+set}
2686ac_save_CFLAGS=$CFLAGS
2687CFLAGS="-g"
2688echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2690if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2692else
2693 cat >conftest.$ac_ext <<_ACEOF
2694/* confdefs.h. */
2695_ACEOF
2696cat confdefs.h >>conftest.$ac_ext
2697cat >>conftest.$ac_ext <<_ACEOF
2698/* end confdefs.h. */
2699
2700int
2701main ()
2702{
2703
2704 ;
2705 return 0;
2706}
2707_ACEOF
2708rm -f conftest.$ac_objext
2709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710 (eval $ac_compile) 2>conftest.er1
2711 ac_status=$?
2712 grep -v '^ *+' conftest.er1 >conftest.err
2713 rm -f conftest.er1
2714 cat conftest.err >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } &&
57255173
PB
2717 { ac_try='test -z "$ac_c_werror_flag"
2718 || test ! -s conftest.err'
6de9cd9a
DN
2719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 (eval $ac_try) 2>&5
2721 ac_status=$?
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; } &&
2724 { ac_try='test -s conftest.$ac_objext'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 (eval $ac_try) 2>&5
2727 ac_status=$?
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; }; then
2730 ac_cv_prog_cc_g=yes
2731else
2732 echo "$as_me: failed program was:" >&5
2733sed 's/^/| /' conftest.$ac_ext >&5
2734
2735ac_cv_prog_cc_g=no
2736fi
2737rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2738fi
2739echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2740echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2741if test "$ac_test_CFLAGS" = set; then
2742 CFLAGS=$ac_save_CFLAGS
2743elif test $ac_cv_prog_cc_g = yes; then
2744 if test "$GCC" = yes; then
2745 CFLAGS="-g -O2"
2746 else
2747 CFLAGS="-g"
2748 fi
2749else
2750 if test "$GCC" = yes; then
2751 CFLAGS="-O2"
2752 else
2753 CFLAGS=
2754 fi
2755fi
2756echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2757echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2758if test "${ac_cv_prog_cc_stdc+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2760else
2761 ac_cv_prog_cc_stdc=no
2762ac_save_CC=$CC
2763cat >conftest.$ac_ext <<_ACEOF
2764/* confdefs.h. */
2765_ACEOF
2766cat confdefs.h >>conftest.$ac_ext
2767cat >>conftest.$ac_ext <<_ACEOF
2768/* end confdefs.h. */
2769#include <stdarg.h>
2770#include <stdio.h>
2771#include <sys/types.h>
2772#include <sys/stat.h>
2773/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2774struct buf { int x; };
2775FILE * (*rcsopen) (struct buf *, struct stat *, int);
2776static char *e (p, i)
2777 char **p;
2778 int i;
2779{
2780 return p[i];
2781}
2782static char *f (char * (*g) (char **, int), char **p, ...)
2783{
2784 char *s;
2785 va_list v;
2786 va_start (v,p);
2787 s = g (p, va_arg (v,int));
2788 va_end (v);
2789 return s;
2790}
2791
2792/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2793 function prototypes and stuff, but not '\xHH' hex character constants.
2794 These don't provoke an error unfortunately, instead are silently treated
2795 as 'x'. The following induces an error, until -std1 is added to get
2796 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2797 array size at least. It's necessary to write '\x00'==0 to get something
2798 that's true only with -std1. */
2799int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2800
2801int test (int i, double x);
2802struct s1 {int (*f) (int a);};
2803struct s2 {int (*f) (double a);};
2804int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2805int argc;
2806char **argv;
2807int
2808main ()
2809{
2810return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2811 ;
2812 return 0;
2813}
2814_ACEOF
2815# Don't try gcc -ansi; that turns off useful extensions and
2816# breaks some systems' header files.
2817# AIX -qlanglvl=ansi
2818# Ultrix and OSF/1 -std1
2819# HP-UX 10.20 and later -Ae
2820# HP-UX older versions -Aa -D_HPUX_SOURCE
2821# SVR4 -Xc -D__EXTENSIONS__
2822for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2823do
2824 CC="$ac_save_CC $ac_arg"
2825 rm -f conftest.$ac_objext
2826if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>conftest.er1
2828 ac_status=$?
2829 grep -v '^ *+' conftest.er1 >conftest.err
2830 rm -f conftest.er1
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
57255173
PB
2834 { ac_try='test -z "$ac_c_werror_flag"
2835 || test ! -s conftest.err'
6de9cd9a
DN
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 (eval $ac_try) 2>&5
2838 ac_status=$?
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 (eval $ac_try) 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2847 ac_cv_prog_cc_stdc=$ac_arg
2848break
2849else
2850 echo "$as_me: failed program was:" >&5
2851sed 's/^/| /' conftest.$ac_ext >&5
2852
2853fi
2854rm -f conftest.err conftest.$ac_objext
2855done
2856rm -f conftest.$ac_ext conftest.$ac_objext
2857CC=$ac_save_CC
2858
2859fi
2860
2861case "x$ac_cv_prog_cc_stdc" in
2862 x|xno)
2863 echo "$as_me:$LINENO: result: none needed" >&5
2864echo "${ECHO_T}none needed" >&6 ;;
2865 *)
2866 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2867echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2868 CC="$CC $ac_cv_prog_cc_stdc" ;;
2869esac
2870
2871# Some people use a C++ compiler to compile C. Since we use `exit',
2872# in C++ we need to declare it. In case someone uses the same compiler
2873# for both compiling C and C++ we need to have the C++ compiler decide
2874# the declaration of exit, since it's the most demanding environment.
2875cat >conftest.$ac_ext <<_ACEOF
2876#ifndef __cplusplus
2877 choke me
2878#endif
2879_ACEOF
2880rm -f conftest.$ac_objext
2881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
57255173
PB
2889 { ac_try='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
6de9cd9a
DN
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 (eval $ac_try) 2>&5
2893 ac_status=$?
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 (eval $ac_try) 2>&5
2899 ac_status=$?
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 for ac_declaration in \
2903 '' \
2904 'extern "C" void std::exit (int) throw (); using std::exit;' \
2905 'extern "C" void std::exit (int); using std::exit;' \
2906 'extern "C" void exit (int) throw ();' \
2907 'extern "C" void exit (int);' \
2908 'void exit (int);'
2909do
2910 cat >conftest.$ac_ext <<_ACEOF
2911/* confdefs.h. */
2912_ACEOF
2913cat confdefs.h >>conftest.$ac_ext
2914cat >>conftest.$ac_ext <<_ACEOF
2915/* end confdefs.h. */
2916$ac_declaration
2917#include <stdlib.h>
2918int
2919main ()
2920{
2921exit (42);
2922 ;
2923 return 0;
2924}
2925_ACEOF
2926rm -f conftest.$ac_objext
2927if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>conftest.er1
2929 ac_status=$?
2930 grep -v '^ *+' conftest.er1 >conftest.err
2931 rm -f conftest.er1
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
57255173
PB
2935 { ac_try='test -z "$ac_c_werror_flag"
2936 || test ! -s conftest.err'
6de9cd9a
DN
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 (eval $ac_try) 2>&5
2939 ac_status=$?
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 (eval $ac_try) 2>&5
2945 ac_status=$?
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2948 :
2949else
2950 echo "$as_me: failed program was:" >&5
2951sed 's/^/| /' conftest.$ac_ext >&5
2952
2953continue
2954fi
2955rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 cat >conftest.$ac_ext <<_ACEOF
2957/* confdefs.h. */
2958_ACEOF
2959cat confdefs.h >>conftest.$ac_ext
2960cat >>conftest.$ac_ext <<_ACEOF
2961/* end confdefs.h. */
2962$ac_declaration
2963int
2964main ()
2965{
2966exit (42);
2967 ;
2968 return 0;
2969}
2970_ACEOF
2971rm -f conftest.$ac_objext
2972if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973 (eval $ac_compile) 2>conftest.er1
2974 ac_status=$?
2975 grep -v '^ *+' conftest.er1 >conftest.err
2976 rm -f conftest.er1
2977 cat conftest.err >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } &&
57255173
PB
2980 { ac_try='test -z "$ac_c_werror_flag"
2981 || test ! -s conftest.err'
6de9cd9a
DN
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983 (eval $ac_try) 2>&5
2984 ac_status=$?
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; } &&
2987 { ac_try='test -s conftest.$ac_objext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 (eval $ac_try) 2>&5
2990 ac_status=$?
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2993 break
2994else
2995 echo "$as_me: failed program was:" >&5
2996sed 's/^/| /' conftest.$ac_ext >&5
2997
2998fi
2999rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3000done
3001rm -f conftest*
3002if test -n "$ac_declaration"; then
3003 echo '#ifdef __cplusplus' >>confdefs.h
3004 echo $ac_declaration >>confdefs.h
3005 echo '#endif' >>confdefs.h
3006fi
3007
3008else
3009 echo "$as_me: failed program was:" >&5
3010sed 's/^/| /' conftest.$ac_ext >&5
3011
3012fi
3013rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3014ac_ext=c
3015ac_cpp='$CPP $CPPFLAGS'
3016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018ac_compiler_gnu=$ac_cv_c_compiler_gnu
679c0f9a
TT
3019DEPDIR="${am__leading_dot}deps"
3020
3021 ac_config_commands="$ac_config_commands depfiles"
3022
3023
3024am_make=${MAKE-make}
3025cat > confinc << 'END'
3026am__doit:
3027 @echo done
3028.PHONY: am__doit
3029END
3030# If we don't find an include directive, just comment out the code.
3031echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3032echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3033am__include="#"
3034am__quote=
3035_am_result=none
3036# First try GNU make style include.
3037echo "include confinc" > confmf
3038# We grep out `Entering directory' and `Leaving directory'
3039# messages which can occur if `w' ends up in MAKEFLAGS.
3040# In particular we don't look at `^make:' because GNU make might
3041# be invoked under some other name (usually "gmake"), in which
3042# case it prints its new name instead of `make'.
3043if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3044 am__include=include
3045 am__quote=
3046 _am_result=GNU
3047fi
3048# Now try BSD make style include.
3049if test "$am__include" = "#"; then
3050 echo '.include "confinc"' > confmf
3051 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3052 am__include=.include
3053 am__quote="\""
3054 _am_result=BSD
3055 fi
3056fi
3057
3058
3059echo "$as_me:$LINENO: result: $_am_result" >&5
3060echo "${ECHO_T}$_am_result" >&6
3061rm -f confinc confmf
3062
3063# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3064if test "${enable_dependency_tracking+set}" = set; then
3065 enableval="$enable_dependency_tracking"
3066
3067fi;
3068if test "x$enable_dependency_tracking" != xno; then
3069 am_depcomp="$ac_aux_dir/depcomp"
3070 AMDEPBACKSLASH='\'
3071fi
3072
3073
3074if test "x$enable_dependency_tracking" != xno; then
3075 AMDEP_TRUE=
3076 AMDEP_FALSE='#'
3077else
3078 AMDEP_TRUE='#'
3079 AMDEP_FALSE=
3080fi
3081
3082
3083
3084
3085depcc="$CC" am_compiler_list=
3086
3087echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3088echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3089if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3091else
3092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3093 # We make a subdir and do the tests there. Otherwise we can end up
3094 # making bogus files that we don't know about and never remove. For
3095 # instance it was reported that on HP-UX the gcc test will end up
3096 # making a dummy file named `D' -- because `-MD' means `put the output
3097 # in D'.
3098 mkdir conftest.dir
3099 # Copy depcomp to subdir because otherwise we won't find it if we're
3100 # using a relative directory.
3101 cp "$am_depcomp" conftest.dir
3102 cd conftest.dir
3103 # We will build objects and dependencies in a subdirectory because
3104 # it helps to detect inapplicable dependency modes. For instance
3105 # both Tru64's cc and ICC support -MD to output dependencies as a
3106 # side effect of compilation, but ICC will put the dependencies in
3107 # the current directory while Tru64 will put them in the object
3108 # directory.
3109 mkdir sub
3110
3111 am_cv_CC_dependencies_compiler_type=none
3112 if test "$am_compiler_list" = ""; then
3113 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3114 fi
3115 for depmode in $am_compiler_list; do
3116 # Setup a source with many dependencies, because some compilers
3117 # like to wrap large dependency lists on column 80 (with \), and
3118 # we should not choose a depcomp mode which is confused by this.
3119 #
3120 # We need to recreate these files for each test, as the compiler may
3121 # overwrite some of them when testing with obscure command lines.
3122 # This happens at least with the AIX C compiler.
3123 : > sub/conftest.c
3124 for i in 1 2 3 4 5 6; do
3125 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3126 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3127 # Solaris 8's {/usr,}/bin/sh.
3128 touch sub/conftst$i.h
3129 done
3130 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3131
3132 case $depmode in
3133 nosideeffect)
3134 # after this tag, mechanisms are not by side-effect, so they'll
3135 # only be used when explicitly requested
3136 if test "x$enable_dependency_tracking" = xyes; then
3137 continue
3138 else
3139 break
3140 fi
3141 ;;
3142 none) break ;;
3143 esac
3144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3145 # mode. It turns out that the SunPro C++ compiler does not properly
3146 # handle `-M -o', and we need to detect this.
3147 if depmode=$depmode \
3148 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3149 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3150 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3151 >/dev/null 2>conftest.err &&
3152 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3153 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3155 # icc doesn't choke on unknown options, it will just issue warnings
3156 # or remarks (even with -Werror). So we grep stderr for any message
3157 # that says an option was ignored or not supported.
3158 # When given -MP, icc 7.0 and 7.1 complain thusly:
3159 # icc: Command line warning: ignoring option '-M'; no argument required
3160 # The diagnosis changed in icc 8.0:
3161 # icc: Command line remark: option '-MP' not supported
3162 if (grep 'ignoring option' conftest.err ||
3163 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3164 am_cv_CC_dependencies_compiler_type=$depmode
3165 break
3166 fi
3167 fi
3168 done
3169
3170 cd ..
3171 rm -rf conftest.dir
3172else
3173 am_cv_CC_dependencies_compiler_type=none
3174fi
3175
3176fi
3177echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3178echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3179CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3180
3181
3182
3183if
3184 test "x$enable_dependency_tracking" != xno \
3185 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3186 am__fastdepCC_TRUE=
3187 am__fastdepCC_FALSE='#'
3188else
3189 am__fastdepCC_TRUE='#'
3190 am__fastdepCC_FALSE=
3191fi
3192
6de9cd9a 3193
6de9cd9a 3194
6de9cd9a 3195
17109ecb 3196# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
96b8a615 3197if test "x$GCC" = "xyes"; then
eda4ed47 3198 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
e606fb39
AJ
3199 ## We like to use C99 routines when available. This makes sure that
3200 ## __STDC_VERSION__ is set such that libc includes make them available.
69a2d125 3201 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
d1f37bc6
RS
3202 ## Compile the following tests with the same system header contents
3203 ## that we'll encounter when compiling our own source files.
3204 CFLAGS="-std=gnu99 $CFLAGS"
6de9cd9a
DN
3205fi
3206
e606fb39
AJ
3207
3208
96b8a615
AJ
3209# Find other programs we need.
3210if test -n "$ac_tool_prefix"; then
3211 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3212set dummy ${ac_tool_prefix}as; ac_word=$2
3213echo "$as_me:$LINENO: checking for $ac_word" >&5
3214echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3215if test "${ac_cv_prog_AS+set}" = set; then
6de9cd9a
DN
3216 echo $ECHO_N "(cached) $ECHO_C" >&6
3217else
96b8a615
AJ
3218 if test -n "$AS"; then
3219 ac_cv_prog_AS="$AS" # Let the user override the test.
3220else
3221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222for as_dir in $PATH
3223do
3224 IFS=$as_save_IFS
3225 test -z "$as_dir" && as_dir=.
3226 for ac_exec_ext in '' $ac_executable_extensions; do
3227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228 ac_cv_prog_AS="${ac_tool_prefix}as"
3229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 break 2
6de9cd9a 3231 fi
96b8a615
AJ
3232done
3233done
6de9cd9a 3234
96b8a615
AJ
3235fi
3236fi
3237AS=$ac_cv_prog_AS
3238if test -n "$AS"; then
3239 echo "$as_me:$LINENO: result: $AS" >&5
3240echo "${ECHO_T}$AS" >&6
6de9cd9a 3241else
96b8a615
AJ
3242 echo "$as_me:$LINENO: result: no" >&5
3243echo "${ECHO_T}no" >&6
6de9cd9a
DN
3244fi
3245
3246fi
96b8a615
AJ
3247if test -z "$ac_cv_prog_AS"; then
3248 ac_ct_AS=$AS
3249 # Extract the first word of "as", so it can be a program name with args.
3250set dummy as; ac_word=$2
3251echo "$as_me:$LINENO: checking for $ac_word" >&5
3252echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3255else
3256 if test -n "$ac_ct_AS"; then
3257 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3258else
3259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260for as_dir in $PATH
3261do
3262 IFS=$as_save_IFS
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_ac_ct_AS="as"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 break 2
3269 fi
3270done
3271done
6de9cd9a 3272
96b8a615
AJ
3273fi
3274fi
3275ac_ct_AS=$ac_cv_prog_ac_ct_AS
3276if test -n "$ac_ct_AS"; then
3277 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3278echo "${ECHO_T}$ac_ct_AS" >&6
6de9cd9a 3279else
96b8a615
AJ
3280 echo "$as_me:$LINENO: result: no" >&5
3281echo "${ECHO_T}no" >&6
6de9cd9a
DN
3282fi
3283
96b8a615
AJ
3284 AS=$ac_ct_AS
3285else
3286 AS="$ac_cv_prog_AS"
6de9cd9a
DN
3287fi
3288
6de9cd9a 3289if test -n "$ac_tool_prefix"; then
96b8a615
AJ
3290 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3291set dummy ${ac_tool_prefix}ar; ac_word=$2
6de9cd9a
DN
3292echo "$as_me:$LINENO: checking for $ac_word" >&5
3293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
96b8a615 3294if test "${ac_cv_prog_AR+set}" = set; then
6de9cd9a
DN
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3296else
96b8a615
AJ
3297 if test -n "$AR"; then
3298 ac_cv_prog_AR="$AR" # Let the user override the test.
6de9cd9a
DN
3299else
3300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301for as_dir in $PATH
3302do
3303 IFS=$as_save_IFS
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
96b8a615 3307 ac_cv_prog_AR="${ac_tool_prefix}ar"
6de9cd9a
DN
3308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 break 2
3310 fi
3311done
3312done
3313
3314fi
3315fi
96b8a615
AJ
3316AR=$ac_cv_prog_AR
3317if test -n "$AR"; then
3318 echo "$as_me:$LINENO: result: $AR" >&5
3319echo "${ECHO_T}$AR" >&6
6de9cd9a
DN
3320else
3321 echo "$as_me:$LINENO: result: no" >&5
3322echo "${ECHO_T}no" >&6
3323fi
3324
6de9cd9a 3325fi
96b8a615
AJ
3326if test -z "$ac_cv_prog_AR"; then
3327 ac_ct_AR=$AR
3328 # Extract the first word of "ar", so it can be a program name with args.
3329set dummy ar; ac_word=$2
6de9cd9a
DN
3330echo "$as_me:$LINENO: checking for $ac_word" >&5
3331echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
96b8a615 3332if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6de9cd9a
DN
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3334else
96b8a615
AJ
3335 if test -n "$ac_ct_AR"; then
3336 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6de9cd9a
DN
3337else
3338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339for as_dir in $PATH
3340do
3341 IFS=$as_save_IFS
3342 test -z "$as_dir" && as_dir=.
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
96b8a615 3345 ac_cv_prog_ac_ct_AR="ar"
6de9cd9a
DN
3346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 break 2
3348 fi
3349done
3350done
3351
3352fi
3353fi
96b8a615
AJ
3354ac_ct_AR=$ac_cv_prog_ac_ct_AR
3355if test -n "$ac_ct_AR"; then
3356 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3357echo "${ECHO_T}$ac_ct_AR" >&6
6de9cd9a
DN
3358else
3359 echo "$as_me:$LINENO: result: no" >&5
3360echo "${ECHO_T}no" >&6
3361fi
3362
96b8a615
AJ
3363 AR=$ac_ct_AR
3364else
3365 AR="$ac_cv_prog_AR"
6de9cd9a
DN
3366fi
3367
96b8a615
AJ
3368if test -n "$ac_tool_prefix"; then
3369 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3370set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3371echo "$as_me:$LINENO: checking for $ac_word" >&5
3372echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3373if test "${ac_cv_prog_RANLIB+set}" = set; then
6de9cd9a
DN
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3375else
96b8a615
AJ
3376 if test -n "$RANLIB"; then
3377 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6de9cd9a 3378else
96b8a615
AJ
3379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380for as_dir in $PATH
3381do
3382 IFS=$as_save_IFS
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 break 2
3389 fi
3390done
3391done
6de9cd9a 3392
6de9cd9a 3393fi
96b8a615
AJ
3394fi
3395RANLIB=$ac_cv_prog_RANLIB
3396if test -n "$RANLIB"; then
3397 echo "$as_me:$LINENO: result: $RANLIB" >&5
3398echo "${ECHO_T}$RANLIB" >&6
3399else
3400 echo "$as_me:$LINENO: result: no" >&5
3401echo "${ECHO_T}no" >&6
3402fi
6de9cd9a
DN
3403
3404fi
96b8a615
AJ
3405if test -z "$ac_cv_prog_RANLIB"; then
3406 ac_ct_RANLIB=$RANLIB
3407 # Extract the first word of "ranlib", so it can be a program name with args.
3408set dummy ranlib; ac_word=$2
3409echo "$as_me:$LINENO: checking for $ac_word" >&5
3410echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6de9cd9a
DN
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3413else
96b8a615
AJ
3414 if test -n "$ac_ct_RANLIB"; then
3415 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6de9cd9a 3416else
96b8a615
AJ
3417as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418for as_dir in $PATH
3419do
3420 IFS=$as_save_IFS
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_ac_ct_RANLIB="ranlib"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 break 2
3427 fi
3428done
3429done
6de9cd9a 3430
96b8a615 3431 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
6de9cd9a 3432fi
6de9cd9a 3433fi
96b8a615
AJ
3434ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3435if test -n "$ac_ct_RANLIB"; then
3436 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3437echo "${ECHO_T}$ac_ct_RANLIB" >&6
6de9cd9a 3438else
96b8a615
AJ
3439 echo "$as_me:$LINENO: result: no" >&5
3440echo "${ECHO_T}no" >&6
6de9cd9a
DN
3441fi
3442
96b8a615
AJ
3443 RANLIB=$ac_ct_RANLIB
3444else
3445 RANLIB="$ac_cv_prog_RANLIB"
6de9cd9a 3446fi
96b8a615
AJ
3447
3448echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3449echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3450set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3451if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6de9cd9a
DN
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3453else
96b8a615
AJ
3454 cat >conftest.make <<\_ACEOF
3455all:
3456 @echo 'ac_maketemp="$(MAKE)"'
6de9cd9a 3457_ACEOF
96b8a615
AJ
3458# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3459eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3460if test -n "$ac_maketemp"; then
3461 eval ac_cv_prog_make_${ac_make}_set=yes
6de9cd9a 3462else
96b8a615 3463 eval ac_cv_prog_make_${ac_make}_set=no
6de9cd9a 3464fi
96b8a615
AJ
3465rm -f conftest.make
3466fi
3467if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3468 echo "$as_me:$LINENO: result: yes" >&5
3469echo "${ECHO_T}yes" >&6
3470 SET_MAKE=
6de9cd9a 3471else
96b8a615
AJ
3472 echo "$as_me:$LINENO: result: no" >&5
3473echo "${ECHO_T}no" >&6
3474 SET_MAKE="MAKE=${MAKE-make}"
6de9cd9a 3475fi
6de9cd9a 3476
96b8a615
AJ
3477# Find a good install program. We prefer a C program (faster),
3478# so one script is as good as another. But avoid the broken or
3479# incompatible versions:
3480# SysV /etc/install, /usr/sbin/install
3481# SunOS /usr/etc/install
3482# IRIX /sbin/install
3483# AIX /bin/install
3484# AmigaOS /C/install, which installs bootblocks on floppy discs
3485# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3486# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3487# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3488# OS/2's system install, which has a completely different semantic
3489# ./install, which can be erroneously created by make from ./install.sh.
3490echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3491echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3492if test -z "$INSTALL"; then
3493if test "${ac_cv_path_install+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 3495else
96b8a615
AJ
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497for as_dir in $PATH
3498do
3499 IFS=$as_save_IFS
3500 test -z "$as_dir" && as_dir=.
3501 # Account for people who put trailing slashes in PATH elements.
3502case $as_dir/ in
3503 ./ | .// | /cC/* | \
3504 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3505 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3506 /usr/ucb/* ) ;;
3507 *)
3508 # OSF1 and SCO ODT 3.0 have their own names for install.
3509 # Don't use installbsd from OSF since it installs stuff as root
3510 # by default.
3511 for ac_prog in ginstall scoinst install; do
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3514 if test $ac_prog = install &&
3515 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3516 # AIX install. It has an incompatible calling convention.
3517 :
3518 elif test $ac_prog = install &&
3519 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3520 # program-specific install script used by HP pwplus--don't use.
3521 :
3522 else
3523 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3524 break 3
3525 fi
3526 fi
3527 done
3528 done
3529 ;;
3530esac
6de9cd9a 3531done
6de9cd9a 3532
6de9cd9a
DN
3533
3534fi
96b8a615
AJ
3535 if test "${ac_cv_path_install+set}" = set; then
3536 INSTALL=$ac_cv_path_install
6de9cd9a 3537 else
96b8a615
AJ
3538 # As a last resort, use the slow shell script. We don't cache a
3539 # path for INSTALL within a source directory, because that will
3540 # break other packages using the cache if that directory is
3541 # removed, or if the path is relative.
3542 INSTALL=$ac_install_sh
6de9cd9a 3543 fi
6de9cd9a 3544fi
96b8a615
AJ
3545echo "$as_me:$LINENO: result: $INSTALL" >&5
3546echo "${ECHO_T}$INSTALL" >&6
6de9cd9a 3547
96b8a615
AJ
3548# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3549# It thinks the first close brace ends the variable substitution.
3550test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6de9cd9a 3551
96b8a615 3552test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6de9cd9a 3553
96b8a615 3554test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6de9cd9a 3555
6de9cd9a 3556
96b8a615
AJ
3557# Configure libtool
3558#AC_MSG_NOTICE([====== Starting libtool configuration])
6de9cd9a 3559
96b8a615
AJ
3560# Check whether --enable-shared or --disable-shared was given.
3561if test "${enable_shared+set}" = set; then
3562 enableval="$enable_shared"
3563 p=${PACKAGE-default}
3564case $enableval in
3565yes) enable_shared=yes ;;
3566no) enable_shared=no ;;
3567*)
3568 enable_shared=no
3569 # Look at the argument we got. We use all the common list separators.
3570 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3571 for pkg in $enableval; do
3572 if test "X$pkg" = "X$p"; then
3573 enable_shared=yes
6de9cd9a 3574 fi
96b8a615
AJ
3575 done
3576 IFS="$ac_save_ifs"
3577 ;;
3578esac
6de9cd9a 3579else
96b8a615
AJ
3580 enable_shared=yes
3581fi;
3582# Check whether --enable-static or --disable-static was given.
3583if test "${enable_static+set}" = set; then
3584 enableval="$enable_static"
3585 p=${PACKAGE-default}
3586case $enableval in
3587yes) enable_static=yes ;;
3588no) enable_static=no ;;
3589*)
3590 enable_static=no
3591 # Look at the argument we got. We use all the common list separators.
3592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3593 for pkg in $enableval; do
3594 if test "X$pkg" = "X$p"; then
3595 enable_static=yes
3596 fi
3597 done
3598 IFS="$ac_save_ifs"
3599 ;;
3600esac
3601else
3602 enable_static=yes
3603fi;
3604# Check whether --enable-fast-install or --disable-fast-install was given.
3605if test "${enable_fast_install+set}" = set; then
3606 enableval="$enable_fast_install"
3607 p=${PACKAGE-default}
3608case $enableval in
3609yes) enable_fast_install=yes ;;
3610no) enable_fast_install=no ;;
3611*)
3612 enable_fast_install=no
3613 # Look at the argument we got. We use all the common list separators.
3614 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3615 for pkg in $enableval; do
3616 if test "X$pkg" = "X$p"; then
3617 enable_fast_install=yes
3618 fi
3619 done
3620 IFS="$ac_save_ifs"
3621 ;;
3622esac
3623else
3624 enable_fast_install=yes
3625fi;
6de9cd9a 3626
96b8a615
AJ
3627# Check whether --with-gnu-ld or --without-gnu-ld was given.
3628if test "${with_gnu_ld+set}" = set; then
3629 withval="$with_gnu_ld"
3630 test "$withval" = no || with_gnu_ld=yes
3631else
3632 with_gnu_ld=no
3633fi;
3634ac_prog=ld
3635if test "$GCC" = yes; then
3636 # Check if gcc -print-prog-name=ld gives a path.
3637 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3638echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3639 case $host in
3640 *-*-mingw*)
3641 # gcc leaves a trailing carriage return which upsets mingw
3642 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3643 *)
3644 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3645 esac
3646 case $ac_prog in
3647 # Accept absolute paths.
3648 [\\/]* | [A-Za-z]:[\\/]*)
3649 re_direlt='/[^/][^/]*/\.\./'
3650 # Canonicalize the path of ld
3651 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3652 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3653 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3654 done
3655 test -z "$LD" && LD="$ac_prog"
3656 ;;
3657 "")
3658 # If it fails, then pretend we aren't using GCC.
3659 ac_prog=ld
3660 ;;
3661 *)
3662 # If it is relative, then search for the first ld in PATH.
3663 with_gnu_ld=unknown
3664 ;;
3665 esac
3666elif test "$with_gnu_ld" = yes; then
3667 echo "$as_me:$LINENO: checking for GNU ld" >&5
3668echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3669else
3670 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3671echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3672fi
3673if test "${lt_cv_path_LD+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3675else
3676 if test -z "$LD"; then
3677 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3678 for ac_dir in $PATH; do
3679 test -z "$ac_dir" && ac_dir=.
3680 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3681 lt_cv_path_LD="$ac_dir/$ac_prog"
3682 # Check to see if the program is GNU ld. I'd rather use --version,
3683 # but apparently some GNU ld's only accept -v.
3684 # Break only if it was the GNU/non-GNU ld that we prefer.
3685 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3686 test "$with_gnu_ld" != no && break
3687 else
3688 test "$with_gnu_ld" != yes && break
3689 fi
3690 fi
3691 done
3692 IFS="$ac_save_ifs"
3693else
3694 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3695fi
3696fi
3697
3698LD="$lt_cv_path_LD"
3699if test -n "$LD"; then
3700 echo "$as_me:$LINENO: result: $LD" >&5
3701echo "${ECHO_T}$LD" >&6
3702else
3703 echo "$as_me:$LINENO: result: no" >&5
3704echo "${ECHO_T}no" >&6
3705fi
3706test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3707echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3708 { (exit 1); exit 1; }; }
3709echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3710echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3711if test "${lt_cv_prog_gnu_ld+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3713else
3714 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3715if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3716 lt_cv_prog_gnu_ld=yes
3717else
3718 lt_cv_prog_gnu_ld=no
3719fi
3720fi
3721echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3722echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3723with_gnu_ld=$lt_cv_prog_gnu_ld
3724
3725
3726echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3727echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3728if test "${lt_cv_ld_reload_flag+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3730else
3731 lt_cv_ld_reload_flag='-r'
3732fi
3733echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3734echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3735reload_flag=$lt_cv_ld_reload_flag
3736test -n "$reload_flag" && reload_flag=" $reload_flag"
3737
3738echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3739echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3740if test "${lt_cv_path_NM+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3742else
3743 if test -n "$NM"; then
3744 # Let the user override the test.
3745 lt_cv_path_NM="$NM"
3746else
3747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3748 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3749 test -z "$ac_dir" && ac_dir=.
3750 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3751 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3752 # Check to see if the nm accepts a BSD-compat flag.
3753 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3754 # nm: unknown option "B" ignored
3755 # Tru64's nm complains that /dev/null is an invalid object file
3756 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3757 lt_cv_path_NM="$tmp_nm -B"
3758 break
3759 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3760 lt_cv_path_NM="$tmp_nm -p"
3761 break
3762 else
3763 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3764 continue # so that we can try to find one that supports BSD flags
3765 fi
3766 fi
3767 done
3768 IFS="$ac_save_ifs"
3769 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3770fi
3771fi
3772
3773NM="$lt_cv_path_NM"
3774echo "$as_me:$LINENO: result: $NM" >&5
3775echo "${ECHO_T}$NM" >&6
3776
3777echo "$as_me:$LINENO: checking whether ln -s works" >&5
3778echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3779LN_S=$as_ln_s
3780if test "$LN_S" = "ln -s"; then
3781 echo "$as_me:$LINENO: result: yes" >&5
3782echo "${ECHO_T}yes" >&6
3783else
3784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3785echo "${ECHO_T}no, using $LN_S" >&6
3786fi
3787
3788echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3789echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3790if test "${lt_cv_deplibs_check_method+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3792else
3793 lt_cv_file_magic_cmd='$MAGIC_CMD'
3794lt_cv_file_magic_test_file=
3795lt_cv_deplibs_check_method='unknown'
3796# Need to set the preceding variable on all platforms that support
3797# interlibrary dependencies.
3798# 'none' -- dependencies not supported.
3799# `unknown' -- same as none, but documents that we really don't know.
3800# 'pass_all' -- all dependencies passed with no checks.
3801# 'test_compile' -- check by making test program.
3802# 'file_magic [regex]' -- check by looking for files in library path
3803# which responds to the $file_magic_cmd with a given egrep regex.
3804# If you have `file' or equivalent on your system and you're not sure
3805# whether `pass_all' will *always* work, you probably want this one.
3806
3807case $host_os in
3808aix*)
3809 lt_cv_deplibs_check_method=pass_all
3810 ;;
3811
3812beos*)
3813 lt_cv_deplibs_check_method=pass_all
3814 ;;
3815
3816bsdi4*)
3817 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3818 lt_cv_file_magic_cmd='/usr/bin/file -L'
3819 lt_cv_file_magic_test_file=/shlib/libc.so
3820 ;;
3821
3822cygwin* | mingw* |pw32*)
3823 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3824 lt_cv_file_magic_cmd='$OBJDUMP -f'
3825 ;;
3826
3827darwin* | rhapsody*)
3828 # this will be overwritten by pass_all, but leave it in just in case
3829 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3830 lt_cv_file_magic_cmd='/usr/bin/file -L'
3831 case "$host_os" in
3832 rhapsody* | darwin1.012)
3833 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3834 ;;
3835 *) # Darwin 1.3 on
3836 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3837 ;;
3838 esac
3839 lt_cv_deplibs_check_method=pass_all
3840 ;;
3841
3842freebsd* | kfreebsd*-gnu)
3843 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3844 case $host_cpu in
3845 i*86 )
3846 # Not sure whether the presence of OpenBSD here was a mistake.
3847 # Let's accept both of them until this is cleared up.
3848 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3849 lt_cv_file_magic_cmd=/usr/bin/file
3850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3851 ;;
3852 esac
3853 else
3854 lt_cv_deplibs_check_method=pass_all
3855 fi
3856 ;;
3857
3858gnu*)
3859 lt_cv_deplibs_check_method=pass_all
3860 ;;
3861
3862hpux10.20*|hpux11*)
3863 case $host_cpu in
3864 hppa*)
3865 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3866 lt_cv_file_magic_cmd=/usr/bin/file
3867 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3868 ;;
3869 ia64*)
3870 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3871 lt_cv_file_magic_cmd=/usr/bin/file
3872 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3873 ;;
3874 esac
3875 ;;
3876
3877irix5* | irix6*)
3878 case $host_os in
3879 irix5*)
3880 # this will be overridden with pass_all, but let us keep it just in case
3881 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3882 ;;
3883 *)
3884 case $LD in
3885 *-32|*"-32 ") libmagic=32-bit;;
3886 *-n32|*"-n32 ") libmagic=N32;;
3887 *-64|*"-64 ") libmagic=64-bit;;
3888 *) libmagic=never-match;;
3889 esac
3890 # this will be overridden with pass_all, but let us keep it just in case
3891 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3892 ;;
3893 esac
3894 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3895 lt_cv_deplibs_check_method=pass_all
3896 ;;
3897
3898# This must be Linux ELF.
3899linux-gnu*)
2c92e90f 3900 lt_cv_deplibs_check_method=pass_all
96b8a615
AJ
3901 ;;
3902
3903netbsd* | knetbsd*-gnu)
3904 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3905 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3906 else
3907 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3908 fi
3909 ;;
3910
3911newsos6)
3912 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3913 lt_cv_file_magic_cmd=/usr/bin/file
3914 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3915 ;;
3916
3917osf3* | osf4* | osf5*)
3918 # this will be overridden with pass_all, but let us keep it just in case
3919 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3920 lt_cv_file_magic_test_file=/shlib/libc.so
3921 lt_cv_deplibs_check_method=pass_all
3922 ;;
3923
3924sco3.2v5*)
3925 lt_cv_deplibs_check_method=pass_all
3926 ;;
3927
3928solaris*)
3929 lt_cv_deplibs_check_method=pass_all
3930 lt_cv_file_magic_test_file=/lib/libc.so
3931 ;;
3932
3933sysv5uw[78]* | sysv4*uw2*)
3934 lt_cv_deplibs_check_method=pass_all
3935 ;;
3936
3937sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3938 case $host_vendor in
3939 ncr)
3940 lt_cv_deplibs_check_method=pass_all
3941 ;;
3942 motorola)
3943 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3944 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3945 ;;
3946 esac
3947 ;;
3948esac
3949
3950fi
3951echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3952echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3953file_magic_cmd=$lt_cv_file_magic_cmd
3954deplibs_check_method=$lt_cv_deplibs_check_method
3955
3956
3957
3958
3959
3960# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3961
6dab073b
MS
3962# find the maximum length of command line arguments
3963echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3964echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3965if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3967else
3968 i=0
3969 teststring="ABCD"
3970
3971 case $build_os in
3972 msdosdjgpp*)
3973 # On DJGPP, this test can blow up pretty badly due to problems in libc
3974 # (any single argument exceeding 2000 bytes causes a buffer overrun
3975 # during glob expansion). Even if it were fixed, the result of this
3976 # check would be larger than it should be.
3977 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3978 ;;
3979
3980 cygwin* | mingw*)
3981 # On Win9x/ME, this test blows up -- it succeeds, but takes
3982 # about 5 minutes as the teststring grows exponentially.
3983 # Worse, since 9x/ME are not pre-emptively multitasking,
3984 # you end up with a "frozen" computer, even though with patience
3985 # the test eventually succeeds (with a max line length of 256k).
3986 # Instead, let's just punt: use the minimum linelength reported by
3987 # all of the supported platforms: 8192 (on NT/2K/XP).
3988 lt_cv_sys_max_cmd_len=8192;
3989 ;;
3990
3991 amigaos*)
3992 # On AmigaOS with pdksh, this test takes hours, literally.
3993 # So we just punt and use a minimum line length of 8192.
3994 lt_cv_sys_max_cmd_len=8192;
3995 ;;
3996
3997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3998 # This has been around since 386BSD, at least. Likely further.
3999 if test -x /sbin/sysctl; then
4000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4001 elif test -x /usr/sbin/sysctl; then
4002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4003 else
4004 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4005 fi
4006 # And add a safety zone
4007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4009 ;;
4010 esac
4011
4012fi
4013
f4c767fd 4014if test -n "$lt_cv_sys_max_cmd_len" ; then
6dab073b
MS
4015 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4016echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4017else
4018 echo "$as_me:$LINENO: result: none" >&5
4019echo "${ECHO_T}none" >&6
4020fi
4021
4022
96b8a615
AJ
4023# Only perform the check for file, if the check method requires it
4024case $deplibs_check_method in
4025file_magic*)
4026 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4027 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4028echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4029if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4031else
4032 case $MAGIC_CMD in
4033 /*)
4034 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4035 ;;
4036 ?:/*)
4037 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4038 ;;
4039 *)
4040 ac_save_MAGIC_CMD="$MAGIC_CMD"
4041 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4042 ac_dummy="/usr/bin:$PATH"
4043 for ac_dir in $ac_dummy; do
4044 test -z "$ac_dir" && ac_dir=.
4045 if test -f $ac_dir/${ac_tool_prefix}file; then
4046 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4047 if test -n "$file_magic_test_file"; then
4048 case $deplibs_check_method in
4049 "file_magic "*)
4050 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4053 egrep "$file_magic_regex" > /dev/null; then
4054 :
4055 else
4056 cat <<EOF 1>&2
4057
4058*** Warning: the command libtool uses to detect shared libraries,
4059*** $file_magic_cmd, produces output that libtool cannot recognize.
4060*** The result is that libtool may fail to recognize shared libraries
4061*** as such. This will affect the creation of libtool libraries that
4062*** depend on shared libraries, but programs linked with such libtool
4063*** libraries will work regardless of this problem. Nevertheless, you
4064*** may want to report the problem to your system manager and/or to
4065*** bug-libtool@gnu.org
4066
4067EOF
4068 fi ;;
4069 esac
4070 fi
4071 break
4072 fi
4073 done
4074 IFS="$ac_save_ifs"
4075 MAGIC_CMD="$ac_save_MAGIC_CMD"
4076 ;;
4077esac
4078fi
4079
4080MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4081if test -n "$MAGIC_CMD"; then
4082 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4083echo "${ECHO_T}$MAGIC_CMD" >&6
4084else
4085 echo "$as_me:$LINENO: result: no" >&5
4086echo "${ECHO_T}no" >&6
4087fi
4088
4089if test -z "$lt_cv_path_MAGIC_CMD"; then
4090 if test -n "$ac_tool_prefix"; then
4091 echo "$as_me:$LINENO: checking for file" >&5
4092echo $ECHO_N "checking for file... $ECHO_C" >&6
4093if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4095else
4096 case $MAGIC_CMD in
4097 /*)
4098 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4099 ;;
4100 ?:/*)
4101 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4102 ;;
4103 *)
4104 ac_save_MAGIC_CMD="$MAGIC_CMD"
4105 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4106 ac_dummy="/usr/bin:$PATH"
4107 for ac_dir in $ac_dummy; do
4108 test -z "$ac_dir" && ac_dir=.
4109 if test -f $ac_dir/file; then
4110 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4111 if test -n "$file_magic_test_file"; then
4112 case $deplibs_check_method in
4113 "file_magic "*)
4114 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4115 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4116 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4117 egrep "$file_magic_regex" > /dev/null; then
4118 :
4119 else
4120 cat <<EOF 1>&2
4121
4122*** Warning: the command libtool uses to detect shared libraries,
4123*** $file_magic_cmd, produces output that libtool cannot recognize.
4124*** The result is that libtool may fail to recognize shared libraries
4125*** as such. This will affect the creation of libtool libraries that
4126*** depend on shared libraries, but programs linked with such libtool
4127*** libraries will work regardless of this problem. Nevertheless, you
4128*** may want to report the problem to your system manager and/or to
4129*** bug-libtool@gnu.org
4130
4131EOF
4132 fi ;;
4133 esac
4134 fi
4135 break
4136 fi
4137 done
4138 IFS="$ac_save_ifs"
4139 MAGIC_CMD="$ac_save_MAGIC_CMD"
4140 ;;
4141esac
4142fi
6de9cd9a 4143
96b8a615
AJ
4144MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4145if test -n "$MAGIC_CMD"; then
4146 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4147echo "${ECHO_T}$MAGIC_CMD" >&6
6de9cd9a 4148else
96b8a615
AJ
4149 echo "$as_me:$LINENO: result: no" >&5
4150echo "${ECHO_T}no" >&6
4151fi
6de9cd9a 4152
96b8a615
AJ
4153 else
4154 MAGIC_CMD=:
4155 fi
6de9cd9a 4156fi
6de9cd9a 4157
96b8a615
AJ
4158 fi
4159 ;;
4160esac
6de9cd9a 4161
96b8a615
AJ
4162if test -n "$ac_tool_prefix"; then
4163 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4164set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4165echo "$as_me:$LINENO: checking for $ac_word" >&5
4166echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4167if test "${ac_cv_prog_RANLIB+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 4169else
96b8a615
AJ
4170 if test -n "$RANLIB"; then
4171 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4172else
4173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174for as_dir in $PATH
4175do
4176 IFS=$as_save_IFS
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 break 2
4183 fi
4184done
4185done
6de9cd9a 4186
96b8a615
AJ
4187fi
4188fi
4189RANLIB=$ac_cv_prog_RANLIB
4190if test -n "$RANLIB"; then
4191 echo "$as_me:$LINENO: result: $RANLIB" >&5
4192echo "${ECHO_T}$RANLIB" >&6
4193else
4194 echo "$as_me:$LINENO: result: no" >&5
4195echo "${ECHO_T}no" >&6
6de9cd9a
DN
4196fi
4197
96b8a615
AJ
4198fi
4199if test -z "$ac_cv_prog_RANLIB"; then
4200 ac_ct_RANLIB=$RANLIB
4201 # Extract the first word of "ranlib", so it can be a program name with args.
4202set dummy ranlib; ac_word=$2
4203echo "$as_me:$LINENO: checking for $ac_word" >&5
4204echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4207else
4208 if test -n "$ac_ct_RANLIB"; then
4209 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4210else
4211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212for as_dir in $PATH
4213do
4214 IFS=$as_save_IFS
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218 ac_cv_prog_ac_ct_RANLIB="ranlib"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 break 2
4221 fi
4222done
4223done
6de9cd9a 4224
96b8a615
AJ
4225 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4226fi
4227fi
4228ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4229if test -n "$ac_ct_RANLIB"; then
4230 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4231echo "${ECHO_T}$ac_ct_RANLIB" >&6
6de9cd9a 4232else
96b8a615
AJ
4233 echo "$as_me:$LINENO: result: no" >&5
4234echo "${ECHO_T}no" >&6
6de9cd9a 4235fi
6de9cd9a 4236
96b8a615
AJ
4237 RANLIB=$ac_ct_RANLIB
4238else
4239 RANLIB="$ac_cv_prog_RANLIB"
6de9cd9a
DN
4240fi
4241
96b8a615
AJ
4242if test -n "$ac_tool_prefix"; then
4243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4244set dummy ${ac_tool_prefix}strip; ac_word=$2
4245echo "$as_me:$LINENO: checking for $ac_word" >&5
4246echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4247if test "${ac_cv_prog_STRIP+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 4249else
96b8a615
AJ
4250 if test -n "$STRIP"; then
4251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4252else
4253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254for as_dir in $PATH
4255do
4256 IFS=$as_save_IFS
4257 test -z "$as_dir" && as_dir=.
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 break 2
4263 fi
4264done
4265done
6de9cd9a 4266
96b8a615
AJ
4267fi
4268fi
4269STRIP=$ac_cv_prog_STRIP
4270if test -n "$STRIP"; then
4271 echo "$as_me:$LINENO: result: $STRIP" >&5
4272echo "${ECHO_T}$STRIP" >&6
6de9cd9a 4273else
96b8a615
AJ
4274 echo "$as_me:$LINENO: result: no" >&5
4275echo "${ECHO_T}no" >&6
4276fi
6de9cd9a 4277
6de9cd9a 4278fi
96b8a615
AJ
4279if test -z "$ac_cv_prog_STRIP"; then
4280 ac_ct_STRIP=$STRIP
4281 # Extract the first word of "strip", so it can be a program name with args.
4282set dummy strip; ac_word=$2
4283echo "$as_me:$LINENO: checking for $ac_word" >&5
4284echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4285if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4287else
4288 if test -n "$ac_ct_STRIP"; then
4289 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4290else
4291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292for as_dir in $PATH
4293do
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_ac_ct_STRIP="strip"
4299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4301 fi
4302done
4303done
4304
4305 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6de9cd9a
DN
4306fi
4307fi
96b8a615
AJ
4308ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4309if test -n "$ac_ct_STRIP"; then
4310 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4311echo "${ECHO_T}$ac_ct_STRIP" >&6
4312else
4313 echo "$as_me:$LINENO: result: no" >&5
4314echo "${ECHO_T}no" >&6
6de9cd9a 4315fi
6de9cd9a 4316
96b8a615
AJ
4317 STRIP=$ac_ct_STRIP
4318else
4319 STRIP="$ac_cv_prog_STRIP"
6de9cd9a
DN
4320fi
4321
6de9cd9a 4322
96b8a615
AJ
4323# Check for any special flags to pass to ltconfig.
4324libtool_flags="--cache-file=$cache_file"
4325test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4326test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4327test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4328test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4329test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
6de9cd9a
DN
4330
4331
96b8a615
AJ
4332# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4333if test "${enable_libtool_lock+set}" = set; then
4334 enableval="$enable_libtool_lock"
6de9cd9a 4335
96b8a615
AJ
4336fi;
4337test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4338test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
6de9cd9a
DN
4339
4340
96b8a615
AJ
4341# Check whether --with-pic or --without-pic was given.
4342if test "${with_pic+set}" = set; then
4343 withval="$with_pic"
4344 pic_mode="$withval"
6de9cd9a 4345else
96b8a615
AJ
4346 pic_mode=default
4347fi;
4348test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4349test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
6de9cd9a 4350
96b8a615
AJ
4351# Some flags need to be propagated to the compiler or linker for good
4352# libtool support.
4353case $host in
4354*-*-irix6*)
4355 # Find out which ABI we are using.
679c0f9a 4356 echo '#line 4356 "configure"' > conftest.$ac_ext
96b8a615
AJ
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>&5
6de9cd9a
DN
4359 ac_status=$?
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
4361 (exit $ac_status); }; then
4362 if test "$lt_cv_prog_gnu_ld" = yes; then
4363 case `/usr/bin/file conftest.$ac_objext` in
4364 *32-bit*)
4365 LD="${LD-ld} -melf32bsmip"
4366 ;;
4367 *N32*)
4368 LD="${LD-ld} -melf32bmipn32"
4369 ;;
4370 *64-bit*)
4371 LD="${LD-ld} -melf64bmip"
4372 ;;
4373 esac
4374 else
4375 case `/usr/bin/file conftest.$ac_objext` in
4376 *32-bit*)
4377 LD="${LD-ld} -32"
4378 ;;
4379 *N32*)
4380 LD="${LD-ld} -n32"
4381 ;;
4382 *64-bit*)
4383 LD="${LD-ld} -64"
4384 ;;
4385 esac
4386 fi
4387 fi
4388 rm -rf conftest*
4389 ;;
6de9cd9a 4390
96b8a615
AJ
4391ia64-*-hpux*)
4392 # Find out which ABI we are using.
4393 echo 'int i;' > conftest.$ac_ext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>&5
6de9cd9a
DN
4396 ac_status=$?
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
4398 (exit $ac_status); }; then
4399 case "`/usr/bin/file conftest.o`" in
4400 *ELF-32*)
4401 HPUX_IA64_MODE="32"
4402 ;;
4403 *ELF-64*)
4404 HPUX_IA64_MODE="64"
4405 ;;
4406 esac
4407 fi
4408 rm -rf conftest*
4409 ;;
6de9cd9a 4410
96b8a615
AJ
4411x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4412 # Find out which ABI we are using.
4413 echo 'int i;' > conftest.$ac_ext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>&5
6de9cd9a 4416 ac_status=$?
6de9cd9a 4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
4418 (exit $ac_status); }; then
4419 case "`/usr/bin/file conftest.o`" in
4420 *32-bit*)
4421 case $host in
4422 x86_64-*linux*)
4423 LD="${LD-ld} -m elf_i386"
4424 ;;
4425 ppc64-*linux*|powerpc64-*linux*)
4426 LD="${LD-ld} -m elf32ppclinux"
4427 ;;
4428 s390x-*linux*)
4429 LD="${LD-ld} -m elf_s390"
4430 ;;
4431 sparc64-*linux*)
4432 LD="${LD-ld} -m elf32_sparc"
4433 ;;
4434 esac
4435 ;;
4436 *64-bit*)
4437 case $host in
4438 x86_64-*linux*)
4439 LD="${LD-ld} -m elf_x86_64"
4440 ;;
4441 ppc*-*linux*|powerpc*-*linux*)
4442 LD="${LD-ld} -m elf64ppc"
4443 ;;
4444 s390*-*linux*)
4445 LD="${LD-ld} -m elf64_s390"
4446 ;;
4447 sparc*-*linux*)
4448 LD="${LD-ld} -m elf64_sparc"
4449 ;;
4450 esac
4451 ;;
4452 esac
6de9cd9a 4453 fi
96b8a615
AJ
4454 rm -rf conftest*
4455 ;;
6de9cd9a 4456
96b8a615
AJ
4457*-*-sco3.2v5*)
4458 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4459 SAVE_CFLAGS="$CFLAGS"
4460 CFLAGS="$CFLAGS -belf"
4461 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4462echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4463if test "${lt_cv_cc_needs_belf+set}" = set; then
6de9cd9a
DN
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4465else
6de9cd9a 4466
6de9cd9a 4467
96b8a615
AJ
4468 ac_ext=c
4469ac_cpp='$CPP $CPPFLAGS'
4470ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472ac_compiler_gnu=$ac_cv_c_compiler_gnu
6de9cd9a 4473
f02d008e
JD
4474 if test x$gcc_no_link = xyes; then
4475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4476echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4477 { (exit 1); exit 1; }; }
4478fi
4479cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
4480/* confdefs.h. */
4481_ACEOF
4482cat confdefs.h >>conftest.$ac_ext
4483cat >>conftest.$ac_ext <<_ACEOF
4484/* end confdefs.h. */
6de9cd9a
DN
4485
4486int
4487main ()
4488{
96b8a615 4489
6de9cd9a
DN
4490 ;
4491 return 0;
4492}
4493_ACEOF
4494rm -f conftest.$ac_objext conftest$ac_exeext
4495if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496 (eval $ac_link) 2>conftest.er1
4497 ac_status=$?
4498 grep -v '^ *+' conftest.er1 >conftest.err
4499 rm -f conftest.er1
4500 cat conftest.err >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } &&
57255173
PB
4503 { ac_try='test -z "$ac_c_werror_flag"
4504 || test ! -s conftest.err'
6de9cd9a
DN
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 (eval $ac_try) 2>&5
4507 ac_status=$?
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try='test -s conftest$ac_exeext'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 (eval $ac_try) 2>&5
4513 ac_status=$?
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; }; then
96b8a615 4516 lt_cv_cc_needs_belf=yes
6de9cd9a
DN
4517else
4518 echo "$as_me: failed program was:" >&5
4519sed 's/^/| /' conftest.$ac_ext >&5
4520
96b8a615 4521lt_cv_cc_needs_belf=no
6de9cd9a
DN
4522fi
4523rm -f conftest.err conftest.$ac_objext \
4524 conftest$ac_exeext conftest.$ac_ext
96b8a615
AJ
4525 ac_ext=c
4526ac_cpp='$CPP $CPPFLAGS'
4527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529ac_compiler_gnu=$ac_cv_c_compiler_gnu
4530
6de9cd9a 4531fi
96b8a615
AJ
4532echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4533echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4534 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4535 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4536 CFLAGS="$SAVE_CFLAGS"
4537 fi
4538 ;;
4539
4540
4541esac
4542
4543
4544# Save cache, so that ltconfig can load it
4545cat >confcache <<\_ACEOF
4546# This file is a shell script that caches the results of configure
4547# tests run on this system so they can be shared between configure
4548# scripts and configure runs, see configure's option --config-cache.
4549# It is not useful on other systems. If it contains results you don't
4550# want to keep, you may remove or edit it.
4551#
4552# config.status only pays attention to the cache file if you give it
4553# the --recheck option to rerun configure.
4554#
4555# `ac_cv_env_foo' variables (set or unset) will be overridden when
4556# loading this file, other *unset* `ac_cv_foo' will be assigned the
4557# following values.
4558
6de9cd9a
DN
4559_ACEOF
4560
96b8a615
AJ
4561# The following way of writing the cache mishandles newlines in values,
4562# but we know of no workaround that is simple, portable, and efficient.
4563# So, don't put newlines in cache variables' values.
4564# Ultrix sh set writes to stderr and can't be redirected directly,
4565# and sets the high bit in the cache file unless we assign to the vars.
4566{
4567 (set) 2>&1 |
4568 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4569 *ac_space=\ *)
4570 # `set' does not quote correctly, so add quotes (double-quote
4571 # substitution turns \\\\ into \\, and sed turns \\ into \).
4572 sed -n \
4573 "s/'/'\\\\''/g;
4574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4575 ;;
4576 *)
4577 # `set' quotes correctly as required by POSIX, so do not add quotes.
4578 sed -n \
4579 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4580 ;;
4581 esac;
4582} |
4583 sed '
4584 t clear
4585 : clear
4586 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4587 t end
4588 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4589 : end' >>confcache
4590if diff $cache_file confcache >/dev/null 2>&1; then :; else
4591 if test -w $cache_file; then
4592 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4593 cat confcache >$cache_file
4594 else
4595 echo "not updating unwritable cache $cache_file"
4596 fi
6de9cd9a 4597fi
96b8a615 4598rm -f confcache
6de9cd9a 4599
96b8a615
AJ
4600# Actually configure libtool. ac_aux_dir is where install-sh is found.
4601AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4602MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4603LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4604AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4605objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4606deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4607${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4608$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4609|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4610echo "$as_me: error: libtool configure failed" >&2;}
4611 { (exit 1); exit 1; }; }
4612
4613# Reload cache, that may have been modified by ltconfig
4614if test -r "$cache_file"; then
4615 # Some versions of bash will fail to source /dev/null (special
4616 # files actually), so we avoid doing that.
4617 if test -f "$cache_file"; then
4618 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4619echo "$as_me: loading cache $cache_file" >&6;}
4620 case $cache_file in
4621 [\\/]* | ?:[\\/]* ) . $cache_file;;
4622 *) . ./$cache_file;;
4623 esac
4624 fi
4625else
4626 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4627echo "$as_me: creating cache $cache_file" >&6;}
4628 >$cache_file
4629fi
6de9cd9a 4630
6de9cd9a 4631
96b8a615
AJ
4632# This can be used to rebuild libtool when needed
4633LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6de9cd9a 4634
96b8a615
AJ
4635# Always use our own libtool.
4636LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6de9cd9a 4637
96b8a615
AJ
4638# Redirect the config.log output again, so that the ltconfig log is not
4639# clobbered by the next message.
4640exec 5>>./config.log
6de9cd9a 4641
6de9cd9a 4642
6de9cd9a 4643
6de9cd9a 4644
6de9cd9a 4645
6de9cd9a 4646
6de9cd9a 4647
6de9cd9a 4648
96b8a615
AJ
4649#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4650
4651# We need gfortran to compile parts of the library
c7a35fe9
AS
4652#AC_PROG_FC(gfortran)
4653FC="$GFORTRAN"
4654ac_ext=${FC_SRCEXT-f}
4655ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4656ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4657ac_compiler_gnu=$ac_cv_fc_compiler_gnu
96b8a615
AJ
4658if test -n "$ac_tool_prefix"; then
4659 for ac_prog in gfortran
4660 do
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4663echo "$as_me:$LINENO: checking for $ac_word" >&5
4664echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
c7a35fe9 4665if test "${ac_cv_prog_FC+set}" = set; then
96b8a615 4666 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 4667else
c7a35fe9
AS
4668 if test -n "$FC"; then
4669 ac_cv_prog_FC="$FC" # Let the user override the test.
96b8a615
AJ
4670else
4671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672for as_dir in $PATH
4673do
4674 IFS=$as_save_IFS
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c7a35fe9 4678 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
96b8a615
AJ
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 break 2
4681 fi
4682done
4683done
6de9cd9a 4684
6de9cd9a 4685fi
6de9cd9a 4686fi
c7a35fe9
AS
4687FC=$ac_cv_prog_FC
4688if test -n "$FC"; then
4689 echo "$as_me:$LINENO: result: $FC" >&5
4690echo "${ECHO_T}$FC" >&6
96b8a615
AJ
4691else
4692 echo "$as_me:$LINENO: result: no" >&5
4693echo "${ECHO_T}no" >&6
6de9cd9a 4694fi
6de9cd9a 4695
c7a35fe9 4696 test -n "$FC" && break
96b8a615
AJ
4697 done
4698fi
c7a35fe9
AS
4699if test -z "$FC"; then
4700 ac_ct_FC=$FC
96b8a615
AJ
4701 for ac_prog in gfortran
4702do
4703 # Extract the first word of "$ac_prog", so it can be a program name with args.
4704set dummy $ac_prog; ac_word=$2
4705echo "$as_me:$LINENO: checking for $ac_word" >&5
4706echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
c7a35fe9 4707if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
96b8a615
AJ
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4709else
c7a35fe9
AS
4710 if test -n "$ac_ct_FC"; then
4711 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
96b8a615
AJ
4712else
4713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714for as_dir in $PATH
4715do
4716 IFS=$as_save_IFS
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c7a35fe9 4720 ac_cv_prog_ac_ct_FC="$ac_prog"
96b8a615
AJ
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 break 2
4723 fi
4724done
4725done
6de9cd9a
DN
4726
4727fi
96b8a615 4728fi
c7a35fe9
AS
4729ac_ct_FC=$ac_cv_prog_ac_ct_FC
4730if test -n "$ac_ct_FC"; then
4731 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4732echo "${ECHO_T}$ac_ct_FC" >&6
96b8a615
AJ
4733else
4734 echo "$as_me:$LINENO: result: no" >&5
4735echo "${ECHO_T}no" >&6
4736fi
4737
c7a35fe9 4738 test -n "$ac_ct_FC" && break
96b8a615
AJ
4739done
4740
c7a35fe9 4741 FC=$ac_ct_FC
96b8a615
AJ
4742fi
4743
4744
4745# Provide some information about the compiler.
679c0f9a 4746echo "$as_me:4746:" \
c7a35fe9 4747 "checking for Fortran compiler version" >&5
96b8a615
AJ
4748ac_compiler=`set X $ac_compile; echo $2`
4749{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4750 (eval $ac_compiler --version </dev/null >&5) 2>&5
4751 ac_status=$?
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }
4754{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4755 (eval $ac_compiler -v </dev/null >&5) 2>&5
4756 ac_status=$?
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }
4759{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4760 (eval $ac_compiler -V </dev/null >&5) 2>&5
4761 ac_status=$?
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }
4764rm -f a.out
6de9cd9a 4765
96b8a615
AJ
4766# If we don't use `.F' as extension, the preprocessor is not run on the
4767# input file. (Note that this only needs to work for GNU compilers.)
4768ac_save_ext=$ac_ext
4769ac_ext=F
c7a35fe9
AS
4770echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4771echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4772if test "${ac_cv_fc_compiler_gnu+set}" = set; then
6de9cd9a
DN
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4774else
4775 cat >conftest.$ac_ext <<_ACEOF
96b8a615
AJ
4776 program main
4777#ifndef __GNUC__
4778 choke me
4779#endif
4780
4781 end
6de9cd9a
DN
4782_ACEOF
4783rm -f conftest.$ac_objext
4784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4785 (eval $ac_compile) 2>conftest.er1
4786 ac_status=$?
4787 grep -v '^ *+' conftest.er1 >conftest.err
4788 rm -f conftest.er1
4789 cat conftest.err >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } &&
57255173
PB
4792 { ac_try='test -z "$ac_fc_werror_flag"
4793 || test ! -s conftest.err'
6de9cd9a
DN
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 (eval $ac_try) 2>&5
4796 ac_status=$?
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; } &&
4799 { ac_try='test -s conftest.$ac_objext'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 (eval $ac_try) 2>&5
4802 ac_status=$?
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; }; then
96b8a615 4805 ac_compiler_gnu=yes
6de9cd9a
DN
4806else
4807 echo "$as_me: failed program was:" >&5
4808sed 's/^/| /' conftest.$ac_ext >&5
4809
96b8a615 4810ac_compiler_gnu=no
6de9cd9a
DN
4811fi
4812rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
c7a35fe9 4813ac_cv_fc_compiler_gnu=$ac_compiler_gnu
6de9cd9a
DN
4814
4815fi
c7a35fe9
AS
4816echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4817echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
96b8a615 4818ac_ext=$ac_save_ext
c7a35fe9
AS
4819ac_test_FFLAGS=${FCFLAGS+set}
4820ac_save_FFLAGS=$FCFLAGS
4821FCFLAGS=
4822echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4823echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4824if test "${ac_cv_prog_fc_g+set}" = set; then
6de9cd9a
DN
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4826else
c7a35fe9 4827 FCFLAGS=-g
96b8a615
AJ
4828cat >conftest.$ac_ext <<_ACEOF
4829 program main
6de9cd9a 4830
96b8a615 4831 end
6de9cd9a
DN
4832_ACEOF
4833rm -f conftest.$ac_objext
4834if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>conftest.er1
4836 ac_status=$?
4837 grep -v '^ *+' conftest.er1 >conftest.err
4838 rm -f conftest.er1
4839 cat conftest.err >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
57255173
PB
4842 { ac_try='test -z "$ac_fc_werror_flag"
4843 || test ! -s conftest.err'
6de9cd9a
DN
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 (eval $ac_try) 2>&5
4846 ac_status=$?
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try='test -s conftest.$ac_objext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 (eval $ac_try) 2>&5
4852 ac_status=$?
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
c7a35fe9 4855 ac_cv_prog_fc_g=yes
6de9cd9a
DN
4856else
4857 echo "$as_me: failed program was:" >&5
4858sed 's/^/| /' conftest.$ac_ext >&5
4859
c7a35fe9 4860ac_cv_prog_fc_g=no
6de9cd9a
DN
4861fi
4862rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4863
6de9cd9a 4864fi
c7a35fe9
AS
4865echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4866echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
96b8a615 4867if test "$ac_test_FFLAGS" = set; then
c7a35fe9
AS
4868 FCFLAGS=$ac_save_FFLAGS
4869elif test $ac_cv_prog_fc_g = yes; then
4870 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4871 FCFLAGS="-g -O2"
96b8a615 4872 else
c7a35fe9 4873 FCFLAGS="-g"
96b8a615
AJ
4874 fi
4875else
c7a35fe9
AS
4876 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4877 FCFLAGS="-O2"
96b8a615 4878 else
c7a35fe9 4879 FCFLAGS=
96b8a615 4880 fi
6de9cd9a
DN
4881fi
4882
96b8a615
AJ
4883ac_ext=c
4884ac_cpp='$CPP $CPPFLAGS'
4885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4887ac_compiler_gnu=$ac_cv_c_compiler_gnu
6de9cd9a 4888
6de9cd9a 4889
e87045f3
AP
4890# extra LD Flags which are required for targets
4891case "${host}" in
4892 *-darwin*)
4893 # Darwin needs -single_module when linking libgfortran
4894 extra_ldflags_libgfortran=-Wl,-single_module
4895 ;;
4896esac
4897
4898
9cdc381b
BD
4899# Check whether --enable-largefile or --disable-largefile was given.
4900if test "${enable_largefile+set}" = set; then
4901 enableval="$enable_largefile"
4902
4903fi;
4904if test "$enable_largefile" != no; then
4905
4906 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4907echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4908if test "${ac_cv_sys_largefile_CC+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4910else
4911 ac_cv_sys_largefile_CC=no
4912 if test "$GCC" != yes; then
4913 ac_save_CC=$CC
4914 while :; do
4915 # IRIX 6.2 and later do not support large files by default,
4916 # so use the C compiler's -n32 option if that helps.
4917 cat >conftest.$ac_ext <<_ACEOF
4918/* confdefs.h. */
4919_ACEOF
4920cat confdefs.h >>conftest.$ac_ext
4921cat >>conftest.$ac_ext <<_ACEOF
4922/* end confdefs.h. */
4923#include <sys/types.h>
4924 /* Check that off_t can represent 2**63 - 1 correctly.
4925 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4926 since some C++ compilers masquerading as C compilers
4927 incorrectly reject 9223372036854775807. */
4928#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4929 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4930 && LARGE_OFF_T % 2147483647 == 1)
4931 ? 1 : -1];
4932int
4933main ()
4934{
4935
4936 ;
4937 return 0;
4938}
4939_ACEOF
4940 rm -f conftest.$ac_objext
4941if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4942 (eval $ac_compile) 2>conftest.er1
4943 ac_status=$?
4944 grep -v '^ *+' conftest.er1 >conftest.err
4945 rm -f conftest.er1
4946 cat conftest.err >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } &&
57255173
PB
4949 { ac_try='test -z "$ac_c_werror_flag"
4950 || test ! -s conftest.err'
9cdc381b
BD
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952 (eval $ac_try) 2>&5
4953 ac_status=$?
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; } &&
4956 { ac_try='test -s conftest.$ac_objext'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 (eval $ac_try) 2>&5
4959 ac_status=$?
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; }; then
4962 break
4963else
4964 echo "$as_me: failed program was:" >&5
4965sed 's/^/| /' conftest.$ac_ext >&5
4966
4967fi
4968rm -f conftest.err conftest.$ac_objext
4969 CC="$CC -n32"
4970 rm -f conftest.$ac_objext
4971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4972 (eval $ac_compile) 2>conftest.er1
4973 ac_status=$?
4974 grep -v '^ *+' conftest.er1 >conftest.err
4975 rm -f conftest.er1
4976 cat conftest.err >&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } &&
57255173
PB
4979 { ac_try='test -z "$ac_c_werror_flag"
4980 || test ! -s conftest.err'
9cdc381b
BD
4981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 (eval $ac_try) 2>&5
4983 ac_status=$?
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }; } &&
4986 { ac_try='test -s conftest.$ac_objext'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 (eval $ac_try) 2>&5
4989 ac_status=$?
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; }; then
4992 ac_cv_sys_largefile_CC=' -n32'; break
4993else
4994 echo "$as_me: failed program was:" >&5
4995sed 's/^/| /' conftest.$ac_ext >&5
4996
4997fi
4998rm -f conftest.err conftest.$ac_objext
4999 break
5000 done
5001 CC=$ac_save_CC
5002 rm -f conftest.$ac_ext
5003 fi
5004fi
5005echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5006echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
5007 if test "$ac_cv_sys_largefile_CC" != no; then
5008 CC=$CC$ac_cv_sys_largefile_CC
5009 fi
5010
5011 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5012echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
5013if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5015else
5016 while :; do
5017 ac_cv_sys_file_offset_bits=no
5018 cat >conftest.$ac_ext <<_ACEOF
5019/* confdefs.h. */
5020_ACEOF
5021cat confdefs.h >>conftest.$ac_ext
5022cat >>conftest.$ac_ext <<_ACEOF
5023/* end confdefs.h. */
5024#include <sys/types.h>
5025 /* Check that off_t can represent 2**63 - 1 correctly.
5026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5027 since some C++ compilers masquerading as C compilers
5028 incorrectly reject 9223372036854775807. */
5029#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5031 && LARGE_OFF_T % 2147483647 == 1)
5032 ? 1 : -1];
5033int
5034main ()
5035{
5036
5037 ;
5038 return 0;
5039}
5040_ACEOF
5041rm -f conftest.$ac_objext
5042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5043 (eval $ac_compile) 2>conftest.er1
5044 ac_status=$?
5045 grep -v '^ *+' conftest.er1 >conftest.err
5046 rm -f conftest.er1
5047 cat conftest.err >&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); } &&
57255173
PB
5050 { ac_try='test -z "$ac_c_werror_flag"
5051 || test ! -s conftest.err'
9cdc381b
BD
5052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053 (eval $ac_try) 2>&5
5054 ac_status=$?
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); }; } &&
5057 { ac_try='test -s conftest.$ac_objext'
5058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 (eval $ac_try) 2>&5
5060 ac_status=$?
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); }; }; then
5063 break
5064else
5065 echo "$as_me: failed program was:" >&5
5066sed 's/^/| /' conftest.$ac_ext >&5
5067
5068fi
5069rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5070 cat >conftest.$ac_ext <<_ACEOF
5071/* confdefs.h. */
5072_ACEOF
5073cat confdefs.h >>conftest.$ac_ext
5074cat >>conftest.$ac_ext <<_ACEOF
5075/* end confdefs.h. */
5076#define _FILE_OFFSET_BITS 64
5077#include <sys/types.h>
5078 /* Check that off_t can represent 2**63 - 1 correctly.
5079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5080 since some C++ compilers masquerading as C compilers
5081 incorrectly reject 9223372036854775807. */
5082#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5084 && LARGE_OFF_T % 2147483647 == 1)
5085 ? 1 : -1];
5086int
5087main ()
5088{
5089
5090 ;
5091 return 0;
5092}
5093_ACEOF
5094rm -f conftest.$ac_objext
5095if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5096 (eval $ac_compile) 2>conftest.er1
5097 ac_status=$?
5098 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
57255173
PB
5103 { ac_try='test -z "$ac_c_werror_flag"
5104 || test ! -s conftest.err'
9cdc381b
BD
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 (eval $ac_try) 2>&5
5107 ac_status=$?
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; } &&
5110 { ac_try='test -s conftest.$ac_objext'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 (eval $ac_try) 2>&5
5113 ac_status=$?
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5116 ac_cv_sys_file_offset_bits=64; break
5117else
5118 echo "$as_me: failed program was:" >&5
5119sed 's/^/| /' conftest.$ac_ext >&5
5120
5121fi
5122rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5123 break
5124done
5125fi
5126echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5127echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5128if test "$ac_cv_sys_file_offset_bits" != no; then
5129
5130cat >>confdefs.h <<_ACEOF
5131#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5132_ACEOF
5133
5134fi
5135rm -f conftest*
5136 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5137echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5138if test "${ac_cv_sys_large_files+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5140else
5141 while :; do
5142 ac_cv_sys_large_files=no
5143 cat >conftest.$ac_ext <<_ACEOF
5144/* confdefs.h. */
5145_ACEOF
5146cat confdefs.h >>conftest.$ac_ext
5147cat >>conftest.$ac_ext <<_ACEOF
5148/* end confdefs.h. */
5149#include <sys/types.h>
5150 /* Check that off_t can represent 2**63 - 1 correctly.
5151 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5152 since some C++ compilers masquerading as C compilers
5153 incorrectly reject 9223372036854775807. */
5154#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5155 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5156 && LARGE_OFF_T % 2147483647 == 1)
5157 ? 1 : -1];
5158int
5159main ()
5160{
5161
5162 ;
5163 return 0;
5164}
5165_ACEOF
5166rm -f conftest.$ac_objext
5167if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5168 (eval $ac_compile) 2>conftest.er1
5169 ac_status=$?
5170 grep -v '^ *+' conftest.er1 >conftest.err
5171 rm -f conftest.er1
5172 cat conftest.err >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } &&
57255173
PB
5175 { ac_try='test -z "$ac_c_werror_flag"
5176 || test ! -s conftest.err'
9cdc381b
BD
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 (eval $ac_try) 2>&5
5179 ac_status=$?
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; } &&
5182 { ac_try='test -s conftest.$ac_objext'
5183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5184 (eval $ac_try) 2>&5
5185 ac_status=$?
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); }; }; then
5188 break
5189else
5190 echo "$as_me: failed program was:" >&5
5191sed 's/^/| /' conftest.$ac_ext >&5
5192
5193fi
5194rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5195 cat >conftest.$ac_ext <<_ACEOF
5196/* confdefs.h. */
5197_ACEOF
5198cat confdefs.h >>conftest.$ac_ext
5199cat >>conftest.$ac_ext <<_ACEOF
5200/* end confdefs.h. */
5201#define _LARGE_FILES 1
5202#include <sys/types.h>
5203 /* Check that off_t can represent 2**63 - 1 correctly.
5204 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5205 since some C++ compilers masquerading as C compilers
5206 incorrectly reject 9223372036854775807. */
5207#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5208 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5209 && LARGE_OFF_T % 2147483647 == 1)
5210 ? 1 : -1];
5211int
5212main ()
5213{
5214
5215 ;
5216 return 0;
5217}
5218_ACEOF
5219rm -f conftest.$ac_objext
5220if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
5222 ac_status=$?
5223 grep -v '^ *+' conftest.er1 >conftest.err
5224 rm -f conftest.er1
5225 cat conftest.err >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
57255173
PB
5228 { ac_try='test -z "$ac_c_werror_flag"
5229 || test ! -s conftest.err'
9cdc381b
BD
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5231 (eval $ac_try) 2>&5
5232 ac_status=$?
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; } &&
5235 { ac_try='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5237 (eval $ac_try) 2>&5
5238 ac_status=$?
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5241 ac_cv_sys_large_files=1; break
5242else
5243 echo "$as_me: failed program was:" >&5
5244sed 's/^/| /' conftest.$ac_ext >&5
5245
5246fi
5247rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5248 break
5249done
5250fi
5251echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5252echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5253if test "$ac_cv_sys_large_files" != no; then
5254
5255cat >>confdefs.h <<_ACEOF
5256#define _LARGE_FILES $ac_cv_sys_large_files
5257_ACEOF
5258
5259fi
5260rm -f conftest*
5261fi
5262
dd46a4de 5263ac_ext=c
96b8a615
AJ
5264ac_cpp='$CPP $CPPFLAGS'
5265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5267ac_compiler_gnu=$ac_cv_c_compiler_gnu
5268echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5269echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5270# On Suns, sometimes $CPP names a directory.
5271if test -n "$CPP" && test -d "$CPP"; then
5272 CPP=
6de9cd9a 5273fi
96b8a615
AJ
5274if test -z "$CPP"; then
5275 if test "${ac_cv_prog_CPP+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 5277else
96b8a615
AJ
5278 # Double quotes because CPP needs to be expanded
5279 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5280 do
5281 ac_preproc_ok=false
5282for ac_c_preproc_warn_flag in '' yes
5283do
5284 # Use a header file that comes with gcc, so configuring glibc
5285 # with a fresh cross-compiler works.
5286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5287 # <limits.h> exists even on freestanding compilers.
5288 # On the NeXT, cc -E runs the code through the compiler's parser,
5289 # not just through cpp. "Syntax error" is here to catch this case.
6de9cd9a
DN
5290 cat >conftest.$ac_ext <<_ACEOF
5291/* confdefs.h. */
5292_ACEOF
5293cat confdefs.h >>conftest.$ac_ext
5294cat >>conftest.$ac_ext <<_ACEOF
5295/* end confdefs.h. */
96b8a615
AJ
5296#ifdef __STDC__
5297# include <limits.h>
6de9cd9a 5298#else
96b8a615 5299# include <assert.h>
6de9cd9a 5300#endif
96b8a615 5301 Syntax error
6de9cd9a 5302_ACEOF
96b8a615
AJ
5303if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6de9cd9a 5305 ac_status=$?
96b8a615
AJ
5306 grep -v '^ *+' conftest.er1 >conftest.err
5307 rm -f conftest.er1
5308 cat conftest.err >&5
6de9cd9a 5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
5310 (exit $ac_status); } >/dev/null; then
5311 if test -s conftest.err; then
5312 ac_cpp_err=$ac_c_preproc_warn_flag
5313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5314 else
5315 ac_cpp_err=
5316 fi
5317else
5318 ac_cpp_err=yes
5319fi
5320if test -z "$ac_cpp_err"; then
6de9cd9a
DN
5321 :
5322else
96b8a615 5323 echo "$as_me: failed program was:" >&5
6de9cd9a
DN
5324sed 's/^/| /' conftest.$ac_ext >&5
5325
96b8a615
AJ
5326 # Broken: fails on valid input.
5327continue
6de9cd9a 5328fi
96b8a615 5329rm -f conftest.err conftest.$ac_ext
6de9cd9a 5330
96b8a615
AJ
5331 # OK, works on sane cases. Now check whether non-existent headers
5332 # can be detected and how.
5333 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5334/* confdefs.h. */
5335_ACEOF
5336cat confdefs.h >>conftest.$ac_ext
5337cat >>conftest.$ac_ext <<_ACEOF
5338/* end confdefs.h. */
96b8a615 5339#include <ac_nonexistent.h>
6de9cd9a 5340_ACEOF
96b8a615
AJ
5341if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6de9cd9a
DN
5343 ac_status=$?
5344 grep -v '^ *+' conftest.er1 >conftest.err
5345 rm -f conftest.er1
5346 cat conftest.err >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
5348 (exit $ac_status); } >/dev/null; then
5349 if test -s conftest.err; then
5350 ac_cpp_err=$ac_c_preproc_warn_flag
5351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5352 else
5353 ac_cpp_err=
5354 fi
5355else
5356 ac_cpp_err=yes
5357fi
5358if test -z "$ac_cpp_err"; then
5359 # Broken: success on invalid input.
5360continue
6de9cd9a
DN
5361else
5362 echo "$as_me: failed program was:" >&5
5363sed 's/^/| /' conftest.$ac_ext >&5
5364
96b8a615
AJ
5365 # Passes both tests.
5366ac_preproc_ok=:
5367break
6de9cd9a 5368fi
96b8a615 5369rm -f conftest.err conftest.$ac_ext
6de9cd9a 5370
96b8a615
AJ
5371done
5372# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5373rm -f conftest.err conftest.$ac_ext
5374if $ac_preproc_ok; then
5375 break
5376fi
5377
5378 done
5379 ac_cv_prog_CPP=$CPP
5380
5381fi
5382 CPP=$ac_cv_prog_CPP
5383else
5384 ac_cv_prog_CPP=$CPP
5385fi
5386echo "$as_me:$LINENO: result: $CPP" >&5
5387echo "${ECHO_T}$CPP" >&6
5388ac_preproc_ok=false
5389for ac_c_preproc_warn_flag in '' yes
5390do
5391 # Use a header file that comes with gcc, so configuring glibc
5392 # with a fresh cross-compiler works.
5393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5394 # <limits.h> exists even on freestanding compilers.
5395 # On the NeXT, cc -E runs the code through the compiler's parser,
5396 # not just through cpp. "Syntax error" is here to catch this case.
5397 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5398/* confdefs.h. */
5399_ACEOF
5400cat confdefs.h >>conftest.$ac_ext
5401cat >>conftest.$ac_ext <<_ACEOF
5402/* end confdefs.h. */
96b8a615
AJ
5403#ifdef __STDC__
5404# include <limits.h>
5405#else
5406# include <assert.h>
5407#endif
5408 Syntax error
6de9cd9a
DN
5409_ACEOF
5410if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5412 ac_status=$?
5413 grep -v '^ *+' conftest.er1 >conftest.err
5414 rm -f conftest.er1
5415 cat conftest.err >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } >/dev/null; then
5418 if test -s conftest.err; then
5419 ac_cpp_err=$ac_c_preproc_warn_flag
5420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5421 else
5422 ac_cpp_err=
5423 fi
5424else
5425 ac_cpp_err=yes
5426fi
5427if test -z "$ac_cpp_err"; then
96b8a615 5428 :
6de9cd9a
DN
5429else
5430 echo "$as_me: failed program was:" >&5
5431sed 's/^/| /' conftest.$ac_ext >&5
5432
96b8a615
AJ
5433 # Broken: fails on valid input.
5434continue
6de9cd9a
DN
5435fi
5436rm -f conftest.err conftest.$ac_ext
6de9cd9a 5437
96b8a615
AJ
5438 # OK, works on sane cases. Now check whether non-existent headers
5439 # can be detected and how.
5440 cat >conftest.$ac_ext <<_ACEOF
5441/* confdefs.h. */
5442_ACEOF
5443cat confdefs.h >>conftest.$ac_ext
5444cat >>conftest.$ac_ext <<_ACEOF
5445/* end confdefs.h. */
5446#include <ac_nonexistent.h>
6de9cd9a 5447_ACEOF
96b8a615
AJ
5448if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5450 ac_status=$?
5451 grep -v '^ *+' conftest.er1 >conftest.err
5452 rm -f conftest.er1
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } >/dev/null; then
5456 if test -s conftest.err; then
5457 ac_cpp_err=$ac_c_preproc_warn_flag
5458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5459 else
5460 ac_cpp_err=
5461 fi
5462else
5463 ac_cpp_err=yes
5464fi
5465if test -z "$ac_cpp_err"; then
5466 # Broken: success on invalid input.
5467continue
5468else
5469 echo "$as_me: failed program was:" >&5
5470sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 5471
96b8a615
AJ
5472 # Passes both tests.
5473ac_preproc_ok=:
5474break
6de9cd9a 5475fi
96b8a615 5476rm -f conftest.err conftest.$ac_ext
6de9cd9a
DN
5477
5478done
96b8a615
AJ
5479# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5480rm -f conftest.err conftest.$ac_ext
5481if $ac_preproc_ok; then
5482 :
5483else
5484 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5485See \`config.log' for more details." >&5
5486echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5487See \`config.log' for more details." >&2;}
5488 { (exit 1); exit 1; }; }
5489fi
6de9cd9a 5490
96b8a615
AJ
5491ac_ext=c
5492ac_cpp='$CPP $CPPFLAGS'
5493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495ac_compiler_gnu=$ac_cv_c_compiler_gnu
6de9cd9a
DN
5496
5497
96b8a615
AJ
5498echo "$as_me:$LINENO: checking for egrep" >&5
5499echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5500if test "${ac_cv_prog_egrep+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5502else
5503 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5504 then ac_cv_prog_egrep='grep -E'
5505 else ac_cv_prog_egrep='egrep'
5506 fi
5507fi
5508echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5509echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5510 EGREP=$ac_cv_prog_egrep
6de9cd9a
DN
5511
5512
96b8a615
AJ
5513echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5514echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5515if test "${ac_cv_header_stdc+set}" = set; then
6de9cd9a 5516 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 5517else
96b8a615 5518 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5519/* confdefs.h. */
5520_ACEOF
5521cat confdefs.h >>conftest.$ac_ext
5522cat >>conftest.$ac_ext <<_ACEOF
5523/* end confdefs.h. */
96b8a615
AJ
5524#include <stdlib.h>
5525#include <stdarg.h>
5526#include <string.h>
5527#include <float.h>
5528
5529int
5530main ()
5531{
5532
5533 ;
5534 return 0;
5535}
6de9cd9a
DN
5536_ACEOF
5537rm -f conftest.$ac_objext
5538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5539 (eval $ac_compile) 2>conftest.er1
5540 ac_status=$?
5541 grep -v '^ *+' conftest.er1 >conftest.err
5542 rm -f conftest.er1
5543 cat conftest.err >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } &&
57255173
PB
5546 { ac_try='test -z "$ac_c_werror_flag"
5547 || test ! -s conftest.err'
6de9cd9a
DN
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5549 (eval $ac_try) 2>&5
5550 ac_status=$?
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try='test -s conftest.$ac_objext'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5555 (eval $ac_try) 2>&5
5556 ac_status=$?
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
96b8a615 5559 ac_cv_header_stdc=yes
6de9cd9a
DN
5560else
5561 echo "$as_me: failed program was:" >&5
5562sed 's/^/| /' conftest.$ac_ext >&5
5563
96b8a615 5564ac_cv_header_stdc=no
6de9cd9a
DN
5565fi
5566rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a 5567
96b8a615
AJ
5568if test $ac_cv_header_stdc = yes; then
5569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5570 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5571/* confdefs.h. */
5572_ACEOF
5573cat confdefs.h >>conftest.$ac_ext
5574cat >>conftest.$ac_ext <<_ACEOF
5575/* end confdefs.h. */
96b8a615
AJ
5576#include <string.h>
5577
6de9cd9a 5578_ACEOF
96b8a615
AJ
5579if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5580 $EGREP "memchr" >/dev/null 2>&1; then
5581 :
6de9cd9a 5582else
96b8a615 5583 ac_cv_header_stdc=no
6de9cd9a 5584fi
96b8a615
AJ
5585rm -f conftest*
5586
5587fi
5588
5589if test $ac_cv_header_stdc = yes; then
5590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5591 cat >conftest.$ac_ext <<_ACEOF
5592/* confdefs.h. */
5593_ACEOF
5594cat confdefs.h >>conftest.$ac_ext
5595cat >>conftest.$ac_ext <<_ACEOF
5596/* end confdefs.h. */
5597#include <stdlib.h>
5598
5599_ACEOF
5600if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5601 $EGREP "free" >/dev/null 2>&1; then
5602 :
6de9cd9a 5603else
96b8a615
AJ
5604 ac_cv_header_stdc=no
5605fi
5606rm -f conftest*
5607
5608fi
5609
5610if test $ac_cv_header_stdc = yes; then
5611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5612 if test "$cross_compiling" = yes; then
5613 :
5614else
5615 cat >conftest.$ac_ext <<_ACEOF
5616/* confdefs.h. */
5617_ACEOF
5618cat confdefs.h >>conftest.$ac_ext
5619cat >>conftest.$ac_ext <<_ACEOF
5620/* end confdefs.h. */
5621#include <ctype.h>
5622#if ((' ' & 0x0FF) == 0x020)
5623# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5624# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5625#else
5626# define ISLOWER(c) \
5627 (('a' <= (c) && (c) <= 'i') \
5628 || ('j' <= (c) && (c) <= 'r') \
5629 || ('s' <= (c) && (c) <= 'z'))
5630# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5631#endif
5632
5633#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5634int
5635main ()
5636{
5637 int i;
5638 for (i = 0; i < 256; i++)
5639 if (XOR (islower (i), ISLOWER (i))
5640 || toupper (i) != TOUPPER (i))
5641 exit(2);
5642 exit (0);
5643}
5644_ACEOF
5645rm -f conftest$ac_exeext
5646if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5647 (eval $ac_link) 2>&5
5648 ac_status=$?
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5652 (eval $ac_try) 2>&5
5653 ac_status=$?
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; }; then
5656 :
5657else
5658 echo "$as_me: program exited with status $ac_status" >&5
5659echo "$as_me: failed program was:" >&5
6de9cd9a
DN
5660sed 's/^/| /' conftest.$ac_ext >&5
5661
96b8a615
AJ
5662( exit $ac_status )
5663ac_cv_header_stdc=no
6de9cd9a 5664fi
96b8a615
AJ
5665rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5666fi
5667fi
5668fi
5669echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5670echo "${ECHO_T}$ac_cv_header_stdc" >&6
5671if test $ac_cv_header_stdc = yes; then
6de9cd9a 5672
96b8a615
AJ
5673cat >>confdefs.h <<\_ACEOF
5674#define STDC_HEADERS 1
5675_ACEOF
5676
5677fi
5678
5679# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5690 inttypes.h stdint.h unistd.h
5691do
5692as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6de9cd9a
DN
5693echo "$as_me:$LINENO: checking for $ac_header" >&5
5694echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5695if eval "test \"\${$as_ac_Header+set}\" = set"; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5697else
96b8a615
AJ
5698 cat >conftest.$ac_ext <<_ACEOF
5699/* confdefs.h. */
5700_ACEOF
5701cat confdefs.h >>conftest.$ac_ext
5702cat >>conftest.$ac_ext <<_ACEOF
5703/* end confdefs.h. */
5704$ac_includes_default
5705
5706#include <$ac_header>
5707_ACEOF
5708rm -f conftest.$ac_objext
5709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5710 (eval $ac_compile) 2>conftest.er1
5711 ac_status=$?
5712 grep -v '^ *+' conftest.er1 >conftest.err
5713 rm -f conftest.er1
5714 cat conftest.err >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); } &&
57255173
PB
5717 { ac_try='test -z "$ac_c_werror_flag"
5718 || test ! -s conftest.err'
96b8a615
AJ
5719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5720 (eval $ac_try) 2>&5
5721 ac_status=$?
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); }; } &&
5724 { ac_try='test -s conftest.$ac_objext'
5725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5726 (eval $ac_try) 2>&5
5727 ac_status=$?
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; }; then
5730 eval "$as_ac_Header=yes"
5731else
5732 echo "$as_me: failed program was:" >&5
5733sed 's/^/| /' conftest.$ac_ext >&5
5734
5735eval "$as_ac_Header=no"
5736fi
5737rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a
DN
5738fi
5739echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5740echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a
DN
5741if test `eval echo '${'$as_ac_Header'}'` = yes; then
5742 cat >>confdefs.h <<_ACEOF
5743#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5744_ACEOF
5745
5746fi
5747
5748done
5749
96b8a615 5750
96b8a615
AJ
5751echo "$as_me:$LINENO: checking for off_t" >&5
5752echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5753if test "${ac_cv_type_off_t+set}" = set; then
6de9cd9a
DN
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5755else
96b8a615
AJ
5756 cat >conftest.$ac_ext <<_ACEOF
5757/* confdefs.h. */
5758_ACEOF
5759cat confdefs.h >>conftest.$ac_ext
5760cat >>conftest.$ac_ext <<_ACEOF
5761/* end confdefs.h. */
5762$ac_includes_default
6de9cd9a
DN
5763int
5764main ()
5765{
96b8a615
AJ
5766if ((off_t *) 0)
5767 return 0;
5768if (sizeof (off_t))
5769 return 0;
6de9cd9a
DN
5770 ;
5771 return 0;
5772}
5773_ACEOF
96b8a615
AJ
5774rm -f conftest.$ac_objext
5775if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5776 (eval $ac_compile) 2>conftest.er1
6de9cd9a
DN
5777 ac_status=$?
5778 grep -v '^ *+' conftest.er1 >conftest.err
5779 rm -f conftest.er1
5780 cat conftest.err >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); } &&
57255173
PB
5783 { ac_try='test -z "$ac_c_werror_flag"
5784 || test ! -s conftest.err'
6de9cd9a
DN
5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5786 (eval $ac_try) 2>&5
5787 ac_status=$?
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); }; } &&
96b8a615 5790 { ac_try='test -s conftest.$ac_objext'
6de9cd9a
DN
5791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 (eval $ac_try) 2>&5
5793 ac_status=$?
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; }; then
96b8a615 5796 ac_cv_type_off_t=yes
6de9cd9a
DN
5797else
5798 echo "$as_me: failed program was:" >&5
5799sed 's/^/| /' conftest.$ac_ext >&5
5800
96b8a615 5801ac_cv_type_off_t=no
6de9cd9a 5802fi
96b8a615 5803rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a 5804fi
96b8a615
AJ
5805echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5806echo "${ECHO_T}$ac_cv_type_off_t" >&6
5807if test $ac_cv_type_off_t = yes; then
5808 :
5809else
5810
5811cat >>confdefs.h <<_ACEOF
5812#define off_t long
6de9cd9a
DN
5813_ACEOF
5814
5815fi
6de9cd9a 5816
96b8a615
AJ
5817
5818# check header files
5819echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5820echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5821if test "${ac_cv_header_stdc+set}" = set; then
6de9cd9a
DN
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5823else
5824 cat >conftest.$ac_ext <<_ACEOF
5825/* confdefs.h. */
5826_ACEOF
5827cat confdefs.h >>conftest.$ac_ext
5828cat >>conftest.$ac_ext <<_ACEOF
5829/* end confdefs.h. */
96b8a615
AJ
5830#include <stdlib.h>
5831#include <stdarg.h>
5832#include <string.h>
5833#include <float.h>
5834
6de9cd9a
DN
5835int
5836main ()
5837{
96b8a615 5838
6de9cd9a
DN
5839 ;
5840 return 0;
5841}
5842_ACEOF
5843rm -f conftest.$ac_objext
5844if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5845 (eval $ac_compile) 2>conftest.er1
5846 ac_status=$?
5847 grep -v '^ *+' conftest.er1 >conftest.err
5848 rm -f conftest.er1
5849 cat conftest.err >&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } &&
57255173
PB
5852 { ac_try='test -z "$ac_c_werror_flag"
5853 || test ! -s conftest.err'
6de9cd9a
DN
5854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 (eval $ac_try) 2>&5
5856 ac_status=$?
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); }; } &&
5859 { ac_try='test -s conftest.$ac_objext'
5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 (eval $ac_try) 2>&5
5862 ac_status=$?
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; }; then
96b8a615 5865 ac_cv_header_stdc=yes
6de9cd9a
DN
5866else
5867 echo "$as_me: failed program was:" >&5
5868sed 's/^/| /' conftest.$ac_ext >&5
5869
96b8a615 5870ac_cv_header_stdc=no
6de9cd9a
DN
5871fi
5872rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96b8a615
AJ
5873
5874if test $ac_cv_header_stdc = yes; then
5875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6de9cd9a
DN
5876 cat >conftest.$ac_ext <<_ACEOF
5877/* confdefs.h. */
5878_ACEOF
5879cat confdefs.h >>conftest.$ac_ext
5880cat >>conftest.$ac_ext <<_ACEOF
5881/* end confdefs.h. */
96b8a615 5882#include <string.h>
6de9cd9a 5883
6de9cd9a 5884_ACEOF
96b8a615
AJ
5885if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5886 $EGREP "memchr" >/dev/null 2>&1; then
5887 :
6de9cd9a 5888else
96b8a615 5889 ac_cv_header_stdc=no
6de9cd9a 5890fi
96b8a615
AJ
5891rm -f conftest*
5892
6de9cd9a 5893fi
6de9cd9a 5894
96b8a615
AJ
5895if test $ac_cv_header_stdc = yes; then
5896 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5897 cat >conftest.$ac_ext <<_ACEOF
5898/* confdefs.h. */
5899_ACEOF
5900cat confdefs.h >>conftest.$ac_ext
5901cat >>conftest.$ac_ext <<_ACEOF
5902/* end confdefs.h. */
5903#include <stdlib.h>
5904
6de9cd9a 5905_ACEOF
96b8a615
AJ
5906if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5907 $EGREP "free" >/dev/null 2>&1; then
5908 :
5909else
5910 ac_cv_header_stdc=no
5911fi
5912rm -f conftest*
6de9cd9a 5913
96b8a615 5914fi
6de9cd9a 5915
96b8a615
AJ
5916if test $ac_cv_header_stdc = yes; then
5917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5918 if test "$cross_compiling" = yes; then
5919 :
6de9cd9a
DN
5920else
5921 cat >conftest.$ac_ext <<_ACEOF
5922/* confdefs.h. */
5923_ACEOF
5924cat confdefs.h >>conftest.$ac_ext
5925cat >>conftest.$ac_ext <<_ACEOF
5926/* end confdefs.h. */
96b8a615
AJ
5927#include <ctype.h>
5928#if ((' ' & 0x0FF) == 0x020)
5929# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5930# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6de9cd9a 5931#else
96b8a615
AJ
5932# define ISLOWER(c) \
5933 (('a' <= (c) && (c) <= 'i') \
5934 || ('j' <= (c) && (c) <= 'r') \
5935 || ('s' <= (c) && (c) <= 'z'))
5936# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6de9cd9a
DN
5937#endif
5938
96b8a615 5939#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6de9cd9a
DN
5940int
5941main ()
5942{
96b8a615
AJ
5943 int i;
5944 for (i = 0; i < 256; i++)
5945 if (XOR (islower (i), ISLOWER (i))
5946 || toupper (i) != TOUPPER (i))
5947 exit(2);
5948 exit (0);
6de9cd9a
DN
5949}
5950_ACEOF
96b8a615 5951rm -f conftest$ac_exeext
6de9cd9a 5952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96b8a615 5953 (eval $ac_link) 2>&5
6de9cd9a
DN
5954 ac_status=$?
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615 5956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6de9cd9a
DN
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 (eval $ac_try) 2>&5
5959 ac_status=$?
96b8a615
AJ
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5962 :
6de9cd9a 5963else
96b8a615
AJ
5964 echo "$as_me: program exited with status $ac_status" >&5
5965echo "$as_me: failed program was:" >&5
5966sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 5967
96b8a615
AJ
5968( exit $ac_status )
5969ac_cv_header_stdc=no
6de9cd9a 5970fi
96b8a615 5971rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6de9cd9a
DN
5972fi
5973fi
6de9cd9a 5974fi
96b8a615
AJ
5975echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5976echo "${ECHO_T}$ac_cv_header_stdc" >&6
5977if test $ac_cv_header_stdc = yes; then
6de9cd9a 5978
96b8a615
AJ
5979cat >>confdefs.h <<\_ACEOF
5980#define STDC_HEADERS 1
5981_ACEOF
6de9cd9a
DN
5982
5983fi
5984
6de9cd9a
DN
5985
5986
6de9cd9a 5987
6de9cd9a
DN
5988
5989
5990
f77b6ca3
FXC
5991
5992for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
96b8a615
AJ
5993do
5994as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5995if eval "test \"\${$as_ac_Header+set}\" = set"; then
5996 echo "$as_me:$LINENO: checking for $ac_header" >&5
5997echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5998if eval "test \"\${$as_ac_Header+set}\" = set"; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6000fi
6001echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6002echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6003else
96b8a615
AJ
6004 # Is the header compilable?
6005echo "$as_me:$LINENO: checking $ac_header usability" >&5
6006echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6007cat >conftest.$ac_ext <<_ACEOF
6008/* confdefs.h. */
6009_ACEOF
6010cat confdefs.h >>conftest.$ac_ext
6011cat >>conftest.$ac_ext <<_ACEOF
6012/* end confdefs.h. */
6013$ac_includes_default
6014#include <$ac_header>
6015_ACEOF
6016rm -f conftest.$ac_objext
6017if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6018 (eval $ac_compile) 2>conftest.er1
6019 ac_status=$?
6020 grep -v '^ *+' conftest.er1 >conftest.err
6021 rm -f conftest.er1
6022 cat conftest.err >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } &&
57255173
PB
6025 { ac_try='test -z "$ac_c_werror_flag"
6026 || test ! -s conftest.err'
96b8a615
AJ
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028 (eval $ac_try) 2>&5
6029 ac_status=$?
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; } &&
6032 { ac_try='test -s conftest.$ac_objext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034 (eval $ac_try) 2>&5
6035 ac_status=$?
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 ac_header_compiler=yes
6de9cd9a 6039else
96b8a615
AJ
6040 echo "$as_me: failed program was:" >&5
6041sed 's/^/| /' conftest.$ac_ext >&5
6042
6043ac_header_compiler=no
6de9cd9a 6044fi
96b8a615
AJ
6045rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6046echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6047echo "${ECHO_T}$ac_header_compiler" >&6
6048
6049# Is the header present?
6050echo "$as_me:$LINENO: checking $ac_header presence" >&5
6051echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6052cat >conftest.$ac_ext <<_ACEOF
6053/* confdefs.h. */
6054_ACEOF
6055cat confdefs.h >>conftest.$ac_ext
6056cat >>conftest.$ac_ext <<_ACEOF
6057/* end confdefs.h. */
6058#include <$ac_header>
6059_ACEOF
6060if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6062 ac_status=$?
6063 grep -v '^ *+' conftest.er1 >conftest.err
6064 rm -f conftest.er1
6065 cat conftest.err >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } >/dev/null; then
6068 if test -s conftest.err; then
6069 ac_cpp_err=$ac_c_preproc_warn_flag
6070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6071 else
6072 ac_cpp_err=
6073 fi
6de9cd9a 6074else
96b8a615 6075 ac_cpp_err=yes
6de9cd9a 6076fi
96b8a615
AJ
6077if test -z "$ac_cpp_err"; then
6078 ac_header_preproc=yes
6de9cd9a 6079else
96b8a615
AJ
6080 echo "$as_me: failed program was:" >&5
6081sed 's/^/| /' conftest.$ac_ext >&5
6082
6083 ac_header_preproc=no
6de9cd9a 6084fi
96b8a615
AJ
6085rm -f conftest.err conftest.$ac_ext
6086echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6087echo "${ECHO_T}$ac_header_preproc" >&6
6088
6089# So? What about this header?
6090case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6091 yes:no: )
6092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6093echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6095echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6096 ac_header_preproc=yes
6097 ;;
6098 no:yes:* )
6099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6100echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6102echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6104echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6106echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6108echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6110echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6111 (
6112 cat <<\_ASBOX
6113## ------------------------------------------------------ ##
6114## Report this to the GNU Fortran Runtime Library lists. ##
6115## ------------------------------------------------------ ##
6116_ASBOX
6117 ) |
6118 sed "s/^/$as_me: WARNING: /" >&2
6119 ;;
6120esac
6121echo "$as_me:$LINENO: checking for $ac_header" >&5
6122echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6123if eval "test \"\${$as_ac_Header+set}\" = set"; then
6de9cd9a
DN
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6125else
96b8a615 6126 eval "$as_ac_Header=\$ac_header_preproc"
6de9cd9a 6127fi
96b8a615
AJ
6128echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6129echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6130
96b8a615
AJ
6131fi
6132if test `eval echo '${'$as_ac_Header'}'` = yes; then
6133 cat >>confdefs.h <<_ACEOF
6134#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6135_ACEOF
6de9cd9a 6136
6de9cd9a 6137fi
6de9cd9a 6138
96b8a615
AJ
6139done
6140
6141
6142
6143
6144
6145
6146for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6147do
6148as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6149if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo "$as_me:$LINENO: checking for $ac_header" >&5
f596fc98
AL
6151echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6152if eval "test \"\${$as_ac_Header+set}\" = set"; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6154fi
6155echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6156echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6157else
6158 # Is the header compilable?
6159echo "$as_me:$LINENO: checking $ac_header usability" >&5
6160echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6161cat >conftest.$ac_ext <<_ACEOF
6162/* confdefs.h. */
6163_ACEOF
6164cat confdefs.h >>conftest.$ac_ext
6165cat >>conftest.$ac_ext <<_ACEOF
6166/* end confdefs.h. */
6167$ac_includes_default
6168#include <$ac_header>
6169_ACEOF
6170rm -f conftest.$ac_objext
6171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6172 (eval $ac_compile) 2>conftest.er1
6173 ac_status=$?
6174 grep -v '^ *+' conftest.er1 >conftest.err
6175 rm -f conftest.er1
6176 cat conftest.err >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } &&
57255173
PB
6179 { ac_try='test -z "$ac_c_werror_flag"
6180 || test ! -s conftest.err'
f596fc98
AL
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182 (eval $ac_try) 2>&5
6183 ac_status=$?
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; } &&
6186 { ac_try='test -s conftest.$ac_objext'
6187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 (eval $ac_try) 2>&5
6189 ac_status=$?
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }; }; then
6192 ac_header_compiler=yes
6193else
6194 echo "$as_me: failed program was:" >&5
6195sed 's/^/| /' conftest.$ac_ext >&5
6196
6197ac_header_compiler=no
6198fi
6199rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6200echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6201echo "${ECHO_T}$ac_header_compiler" >&6
6202
6203# Is the header present?
6204echo "$as_me:$LINENO: checking $ac_header presence" >&5
6205echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6206cat >conftest.$ac_ext <<_ACEOF
6207/* confdefs.h. */
6208_ACEOF
6209cat confdefs.h >>conftest.$ac_ext
6210cat >>conftest.$ac_ext <<_ACEOF
6211/* end confdefs.h. */
6212#include <$ac_header>
6213_ACEOF
6214if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6216 ac_status=$?
6217 grep -v '^ *+' conftest.er1 >conftest.err
6218 rm -f conftest.er1
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } >/dev/null; then
6222 if test -s conftest.err; then
6223 ac_cpp_err=$ac_c_preproc_warn_flag
6224 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6225 else
6226 ac_cpp_err=
6227 fi
6228else
6229 ac_cpp_err=yes
6230fi
6231if test -z "$ac_cpp_err"; then
6232 ac_header_preproc=yes
6233else
6234 echo "$as_me: failed program was:" >&5
6235sed 's/^/| /' conftest.$ac_ext >&5
6236
6237 ac_header_preproc=no
6238fi
6239rm -f conftest.err conftest.$ac_ext
6240echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6241echo "${ECHO_T}$ac_header_preproc" >&6
6242
6243# So? What about this header?
6244case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6245 yes:no: )
6246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6247echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6249echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6250 ac_header_preproc=yes
6251 ;;
6252 no:yes:* )
6253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6254echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6256echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6258echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6260echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6262echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6264echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6265 (
6266 cat <<\_ASBOX
6267## ------------------------------------------------------ ##
6268## Report this to the GNU Fortran Runtime Library lists. ##
6269## ------------------------------------------------------ ##
6270_ASBOX
6271 ) |
6272 sed "s/^/$as_me: WARNING: /" >&2
6273 ;;
6274esac
6275echo "$as_me:$LINENO: checking for $ac_header" >&5
6276echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6277if eval "test \"\${$as_ac_Header+set}\" = set"; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6279else
6280 eval "$as_ac_Header=\$ac_header_preproc"
6281fi
6282echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6283echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6284
6285fi
6286if test `eval echo '${'$as_ac_Header'}'` = yes; then
6287 cat >>confdefs.h <<_ACEOF
6288#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6289_ACEOF
6290
6291fi
6292
6293done
6294
6295
df65f093
SK
6296
6297
6e4d9244 6298
a119fc1c
FXC
6299
6300for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
3b14f664
FXC
6301do
6302as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6303if eval "test \"\${$as_ac_Header+set}\" = set"; then
6304 echo "$as_me:$LINENO: checking for $ac_header" >&5
6305echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6306if eval "test \"\${$as_ac_Header+set}\" = set"; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6308fi
6309echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6310echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6311else
6312 # Is the header compilable?
6313echo "$as_me:$LINENO: checking $ac_header usability" >&5
6314echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6315cat >conftest.$ac_ext <<_ACEOF
6316/* confdefs.h. */
6317_ACEOF
6318cat confdefs.h >>conftest.$ac_ext
6319cat >>conftest.$ac_ext <<_ACEOF
6320/* end confdefs.h. */
6321$ac_includes_default
6322#include <$ac_header>
6323_ACEOF
6324rm -f conftest.$ac_objext
6325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
57255173
PB
6333 { ac_try='test -z "$ac_c_werror_flag"
6334 || test ! -s conftest.err'
3b14f664
FXC
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_header_compiler=yes
6347else
6348 echo "$as_me: failed program was:" >&5
6349sed 's/^/| /' conftest.$ac_ext >&5
6350
6351ac_header_compiler=no
6352fi
6353rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6355echo "${ECHO_T}$ac_header_compiler" >&6
6356
6357# Is the header present?
6358echo "$as_me:$LINENO: checking $ac_header presence" >&5
6359echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6360cat >conftest.$ac_ext <<_ACEOF
6361/* confdefs.h. */
6362_ACEOF
6363cat confdefs.h >>conftest.$ac_ext
6364cat >>conftest.$ac_ext <<_ACEOF
6365/* end confdefs.h. */
6366#include <$ac_header>
6367_ACEOF
6368if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6370 ac_status=$?
6371 grep -v '^ *+' conftest.er1 >conftest.err
6372 rm -f conftest.er1
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } >/dev/null; then
6376 if test -s conftest.err; then
6377 ac_cpp_err=$ac_c_preproc_warn_flag
6378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6379 else
6380 ac_cpp_err=
6381 fi
6382else
6383 ac_cpp_err=yes
6384fi
6385if test -z "$ac_cpp_err"; then
6386 ac_header_preproc=yes
6387else
6388 echo "$as_me: failed program was:" >&5
6389sed 's/^/| /' conftest.$ac_ext >&5
6390
6391 ac_header_preproc=no
6392fi
6393rm -f conftest.err conftest.$ac_ext
6394echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6395echo "${ECHO_T}$ac_header_preproc" >&6
6396
6397# So? What about this header?
6398case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6399 yes:no: )
6400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6401echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6403echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6404 ac_header_preproc=yes
6405 ;;
6406 no:yes:* )
6407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6408echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6410echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6412echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6414echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6416echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6418echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6419 (
6420 cat <<\_ASBOX
6421## ------------------------------------------------------ ##
6422## Report this to the GNU Fortran Runtime Library lists. ##
6423## ------------------------------------------------------ ##
6424_ASBOX
6425 ) |
6426 sed "s/^/$as_me: WARNING: /" >&2
6427 ;;
6428esac
6429echo "$as_me:$LINENO: checking for $ac_header" >&5
6430echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6431if eval "test \"\${$as_ac_Header+set}\" = set"; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6433else
6434 eval "$as_ac_Header=\$ac_header_preproc"
6435fi
6436echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6437echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6438
6439fi
6440if test `eval echo '${'$as_ac_Header'}'` = yes; then
6441 cat >>confdefs.h <<_ACEOF
6442#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6443_ACEOF
6444
6445fi
6446
6447done
6448
6449
6450
6451
6452for ac_header in fenv.h fptrap.h float.h
f596fc98
AL
6453do
6454as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6455if eval "test \"\${$as_ac_Header+set}\" = set"; then
6456 echo "$as_me:$LINENO: checking for $ac_header" >&5
96b8a615
AJ
6457echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6458if eval "test \"\${$as_ac_Header+set}\" = set"; then
6de9cd9a 6459 echo $ECHO_N "(cached) $ECHO_C" >&6
96b8a615
AJ
6460fi
6461echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6462echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6463else
96b8a615
AJ
6464 # Is the header compilable?
6465echo "$as_me:$LINENO: checking $ac_header usability" >&5
6466echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6467cat >conftest.$ac_ext <<_ACEOF
6468/* confdefs.h. */
6469_ACEOF
6470cat confdefs.h >>conftest.$ac_ext
6471cat >>conftest.$ac_ext <<_ACEOF
6472/* end confdefs.h. */
6473$ac_includes_default
6474#include <$ac_header>
6475_ACEOF
6476rm -f conftest.$ac_objext
6477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6478 (eval $ac_compile) 2>conftest.er1
6479 ac_status=$?
6480 grep -v '^ *+' conftest.er1 >conftest.err
6481 rm -f conftest.er1
6482 cat conftest.err >&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); } &&
57255173
PB
6485 { ac_try='test -z "$ac_c_werror_flag"
6486 || test ! -s conftest.err'
96b8a615
AJ
6487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6488 (eval $ac_try) 2>&5
6489 ac_status=$?
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); }; } &&
6492 { ac_try='test -s conftest.$ac_objext'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 (eval $ac_try) 2>&5
6495 ac_status=$?
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; }; then
6498 ac_header_compiler=yes
6de9cd9a 6499else
96b8a615
AJ
6500 echo "$as_me: failed program was:" >&5
6501sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6502
96b8a615
AJ
6503ac_header_compiler=no
6504fi
6505rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6506echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6507echo "${ECHO_T}$ac_header_compiler" >&6
6de9cd9a 6508
96b8a615
AJ
6509# Is the header present?
6510echo "$as_me:$LINENO: checking $ac_header presence" >&5
6511echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6512cat >conftest.$ac_ext <<_ACEOF
6513/* confdefs.h. */
6514_ACEOF
6515cat confdefs.h >>conftest.$ac_ext
6516cat >>conftest.$ac_ext <<_ACEOF
6517/* end confdefs.h. */
6518#include <$ac_header>
6519_ACEOF
6520if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6522 ac_status=$?
6523 grep -v '^ *+' conftest.er1 >conftest.err
6524 rm -f conftest.er1
6525 cat conftest.err >&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } >/dev/null; then
6528 if test -s conftest.err; then
6529 ac_cpp_err=$ac_c_preproc_warn_flag
6530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6531 else
6532 ac_cpp_err=
6533 fi
6de9cd9a 6534else
96b8a615 6535 ac_cpp_err=yes
6de9cd9a 6536fi
96b8a615
AJ
6537if test -z "$ac_cpp_err"; then
6538 ac_header_preproc=yes
6de9cd9a 6539else
96b8a615
AJ
6540 echo "$as_me: failed program was:" >&5
6541sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6542
96b8a615
AJ
6543 ac_header_preproc=no
6544fi
6545rm -f conftest.err conftest.$ac_ext
6546echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6547echo "${ECHO_T}$ac_header_preproc" >&6
6de9cd9a 6548
96b8a615
AJ
6549# So? What about this header?
6550case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6551 yes:no: )
6552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6553echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6555echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6556 ac_header_preproc=yes
6de9cd9a 6557 ;;
96b8a615
AJ
6558 no:yes:* )
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6560echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6562echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6563 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6564echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6565 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6566echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6568echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6569 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6570echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6571 (
6572 cat <<\_ASBOX
6573## ------------------------------------------------------ ##
6574## Report this to the GNU Fortran Runtime Library lists. ##
6575## ------------------------------------------------------ ##
6576_ASBOX
6577 ) |
6578 sed "s/^/$as_me: WARNING: /" >&2
6de9cd9a 6579 ;;
96b8a615
AJ
6580esac
6581echo "$as_me:$LINENO: checking for $ac_header" >&5
6582echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6583if eval "test \"\${$as_ac_Header+set}\" = set"; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6585else
6586 eval "$as_ac_Header=\$ac_header_preproc"
6587fi
6588echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6589echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6590
96b8a615
AJ
6591fi
6592if test `eval echo '${'$as_ac_Header'}'` = yes; then
6593 cat >>confdefs.h <<_ACEOF
6594#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6595_ACEOF
6de9cd9a 6596
96b8a615 6597fi
6de9cd9a 6598
96b8a615 6599done
6de9cd9a 6600
96b8a615
AJ
6601if test "${ac_cv_header_complex_h+set}" = set; then
6602 echo "$as_me:$LINENO: checking for complex.h" >&5
6603echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6604if test "${ac_cv_header_complex_h+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6606fi
6607echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6608echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6609else
6610 # Is the header compilable?
6611echo "$as_me:$LINENO: checking complex.h usability" >&5
6612echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6613cat >conftest.$ac_ext <<_ACEOF
6614/* confdefs.h. */
6615_ACEOF
6616cat confdefs.h >>conftest.$ac_ext
6617cat >>conftest.$ac_ext <<_ACEOF
6618/* end confdefs.h. */
6619$ac_includes_default
6620#include <complex.h>
6621_ACEOF
6622rm -f conftest.$ac_objext
6623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6624 (eval $ac_compile) 2>conftest.er1
6625 ac_status=$?
6626 grep -v '^ *+' conftest.er1 >conftest.err
6627 rm -f conftest.er1
6628 cat conftest.err >&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } &&
57255173
PB
6631 { ac_try='test -z "$ac_c_werror_flag"
6632 || test ! -s conftest.err'
96b8a615
AJ
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6634 (eval $ac_try) 2>&5
6635 ac_status=$?
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; } &&
6638 { ac_try='test -s conftest.$ac_objext'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6640 (eval $ac_try) 2>&5
6641 ac_status=$?
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; }; then
6644 ac_header_compiler=yes
6645else
6646 echo "$as_me: failed program was:" >&5
6647sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6648
96b8a615
AJ
6649ac_header_compiler=no
6650fi
6651rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6652echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6653echo "${ECHO_T}$ac_header_compiler" >&6
6de9cd9a 6654
96b8a615
AJ
6655# Is the header present?
6656echo "$as_me:$LINENO: checking complex.h presence" >&5
6657echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6658cat >conftest.$ac_ext <<_ACEOF
6659/* confdefs.h. */
6660_ACEOF
6661cat confdefs.h >>conftest.$ac_ext
6662cat >>conftest.$ac_ext <<_ACEOF
6663/* end confdefs.h. */
6664#include <complex.h>
6665_ACEOF
6666if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6668 ac_status=$?
6669 grep -v '^ *+' conftest.er1 >conftest.err
6670 rm -f conftest.er1
6671 cat conftest.err >&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } >/dev/null; then
6674 if test -s conftest.err; then
6675 ac_cpp_err=$ac_c_preproc_warn_flag
6676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6de9cd9a 6677 else
96b8a615 6678 ac_cpp_err=
6de9cd9a 6679 fi
96b8a615
AJ
6680else
6681 ac_cpp_err=yes
6682fi
6683if test -z "$ac_cpp_err"; then
6684 ac_header_preproc=yes
6685else
6686 echo "$as_me: failed program was:" >&5
6687sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6688
96b8a615
AJ
6689 ac_header_preproc=no
6690fi
6691rm -f conftest.err conftest.$ac_ext
6692echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6693echo "${ECHO_T}$ac_header_preproc" >&6
6de9cd9a 6694
96b8a615
AJ
6695# So? What about this header?
6696case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6697 yes:no: )
6698 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6699echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6700 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6701echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6702 ac_header_preproc=yes
6de9cd9a 6703 ;;
96b8a615
AJ
6704 no:yes:* )
6705 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6706echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6707 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6708echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6709 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6710echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6711 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6712echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6713 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6714echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6715 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6716echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6717 (
6718 cat <<\_ASBOX
6719## ------------------------------------------------------ ##
6720## Report this to the GNU Fortran Runtime Library lists. ##
6721## ------------------------------------------------------ ##
6722_ASBOX
6723 ) |
6724 sed "s/^/$as_me: WARNING: /" >&2
6de9cd9a 6725 ;;
6de9cd9a 6726esac
96b8a615
AJ
6727echo "$as_me:$LINENO: checking for complex.h" >&5
6728echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6729if test "${ac_cv_header_complex_h+set}" = set; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6731else
6732 ac_cv_header_complex_h=$ac_header_preproc
6733fi
6734echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6735echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6de9cd9a
DN
6736
6737fi
96b8a615 6738if test $ac_cv_header_complex_h = yes; then
6de9cd9a 6739
96b8a615
AJ
6740cat >>confdefs.h <<\_ACEOF
6741#define HAVE_COMPLEX_H 1
6742_ACEOF
6de9cd9a 6743
96b8a615 6744fi
6de9cd9a
DN
6745
6746
6de9cd9a 6747
4c4b3eb0
PB
6748
6749inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6750
6751acx_cv_header_stdint=stddef.h
6752acx_cv_header_stdint_kind="(already complete)"
6753for i in stdint.h $inttype_headers; do
6754 unset ac_cv_type_uintptr_t
6755 unset ac_cv_type_uintmax_t
6756 unset ac_cv_type_int_least32_t
6757 unset ac_cv_type_int_fast32_t
6758 unset ac_cv_type_uint64_t
6759 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6760 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6761echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6762if test "${ac_cv_type_uintmax_t+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6764else
6765 cat >conftest.$ac_ext <<_ACEOF
6766/* confdefs.h. */
6767_ACEOF
6768cat confdefs.h >>conftest.$ac_ext
6769cat >>conftest.$ac_ext <<_ACEOF
6770/* end confdefs.h. */
6771#include <sys/types.h>
6772#include <$i>
6773
6774int
6775main ()
6776{
6777if ((uintmax_t *) 0)
6778 return 0;
6779if (sizeof (uintmax_t))
6780 return 0;
6781 ;
6782 return 0;
6783}
6784_ACEOF
6785rm -f conftest.$ac_objext
6786if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6787 (eval $ac_compile) 2>conftest.er1
6788 ac_status=$?
6789 grep -v '^ *+' conftest.er1 >conftest.err
6790 rm -f conftest.er1
6791 cat conftest.err >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } &&
57255173
PB
6794 { ac_try='test -z "$ac_c_werror_flag"
6795 || test ! -s conftest.err'
4c4b3eb0
PB
6796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 (eval $ac_try) 2>&5
6798 ac_status=$?
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); }; } &&
6801 { ac_try='test -s conftest.$ac_objext'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 (eval $ac_try) 2>&5
6804 ac_status=$?
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; }; then
6807 ac_cv_type_uintmax_t=yes
6808else
6809 echo "$as_me: failed program was:" >&5
6810sed 's/^/| /' conftest.$ac_ext >&5
6811
6812ac_cv_type_uintmax_t=no
6813fi
6814rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6815fi
6816echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6817echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6818if test $ac_cv_type_uintmax_t = yes; then
6819 acx_cv_header_stdint=$i
6820else
6821 continue
6822fi
6823
6824 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6825echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6826if test "${ac_cv_type_uintptr_t+set}" = set; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6828else
6829 cat >conftest.$ac_ext <<_ACEOF
6830/* confdefs.h. */
6831_ACEOF
6832cat confdefs.h >>conftest.$ac_ext
6833cat >>conftest.$ac_ext <<_ACEOF
6834/* end confdefs.h. */
6835#include <sys/types.h>
6836#include <$i>
6837
6838int
6839main ()
6840{
6841if ((uintptr_t *) 0)
6842 return 0;
6843if (sizeof (uintptr_t))
6844 return 0;
6845 ;
6846 return 0;
6847}
6848_ACEOF
6849rm -f conftest.$ac_objext
6850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6851 (eval $ac_compile) 2>conftest.er1
6852 ac_status=$?
6853 grep -v '^ *+' conftest.er1 >conftest.err
6854 rm -f conftest.er1
6855 cat conftest.err >&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); } &&
57255173
PB
6858 { ac_try='test -z "$ac_c_werror_flag"
6859 || test ! -s conftest.err'
4c4b3eb0
PB
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6861 (eval $ac_try) 2>&5
6862 ac_status=$?
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; } &&
6865 { ac_try='test -s conftest.$ac_objext'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6867 (eval $ac_try) 2>&5
6868 ac_status=$?
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 ac_cv_type_uintptr_t=yes
6872else
6873 echo "$as_me: failed program was:" >&5
6874sed 's/^/| /' conftest.$ac_ext >&5
6875
6876ac_cv_type_uintptr_t=no
6877fi
6878rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6879fi
6880echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6881echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6882if test $ac_cv_type_uintptr_t = yes; then
6883 :
6884else
6885 acx_cv_header_stdint_kind="(mostly complete)"
6886fi
6887
6888 echo "$as_me:$LINENO: checking for int_least32_t" >&5
6889echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6890if test "${ac_cv_type_int_least32_t+set}" = set; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6892else
6893 cat >conftest.$ac_ext <<_ACEOF
6894/* confdefs.h. */
6895_ACEOF
6896cat confdefs.h >>conftest.$ac_ext
6897cat >>conftest.$ac_ext <<_ACEOF
6898/* end confdefs.h. */
6899#include <sys/types.h>
6900#include <$i>
6901
6902int
6903main ()
6904{
6905if ((int_least32_t *) 0)
6906 return 0;
6907if (sizeof (int_least32_t))
6908 return 0;
6909 ;
6910 return 0;
6911}
6912_ACEOF
6913rm -f conftest.$ac_objext
6914if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6915 (eval $ac_compile) 2>conftest.er1
6916 ac_status=$?
6917 grep -v '^ *+' conftest.er1 >conftest.err
6918 rm -f conftest.er1
6919 cat conftest.err >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); } &&
57255173
PB
6922 { ac_try='test -z "$ac_c_werror_flag"
6923 || test ! -s conftest.err'
4c4b3eb0
PB
6924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925 (eval $ac_try) 2>&5
6926 ac_status=$?
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); }; } &&
6929 { ac_try='test -s conftest.$ac_objext'
6930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6931 (eval $ac_try) 2>&5
6932 ac_status=$?
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); }; }; then
6935 ac_cv_type_int_least32_t=yes
6936else
6937 echo "$as_me: failed program was:" >&5
6938sed 's/^/| /' conftest.$ac_ext >&5
6939
6940ac_cv_type_int_least32_t=no
6941fi
6942rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6943fi
6944echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6945echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6946if test $ac_cv_type_int_least32_t = yes; then
6947 :
6948else
6949 acx_cv_header_stdint_kind="(mostly complete)"
6950fi
6951
6952 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6953echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6954if test "${ac_cv_type_int_fast32_t+set}" = set; then
6955 echo $ECHO_N "(cached) $ECHO_C" >&6
6956else
6957 cat >conftest.$ac_ext <<_ACEOF
6958/* confdefs.h. */
6959_ACEOF
6960cat confdefs.h >>conftest.$ac_ext
6961cat >>conftest.$ac_ext <<_ACEOF
6962/* end confdefs.h. */
6963#include <sys/types.h>
6964#include <$i>
6965
6966int
6967main ()
6968{
6969if ((int_fast32_t *) 0)
6970 return 0;
6971if (sizeof (int_fast32_t))
6972 return 0;
6973 ;
6974 return 0;
6975}
6976_ACEOF
6977rm -f conftest.$ac_objext
6978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6979 (eval $ac_compile) 2>conftest.er1
6980 ac_status=$?
6981 grep -v '^ *+' conftest.er1 >conftest.err
6982 rm -f conftest.er1
6983 cat conftest.err >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } &&
57255173
PB
6986 { ac_try='test -z "$ac_c_werror_flag"
6987 || test ! -s conftest.err'
4c4b3eb0
PB
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 (eval $ac_try) 2>&5
6990 ac_status=$?
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; } &&
6993 { ac_try='test -s conftest.$ac_objext'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995 (eval $ac_try) 2>&5
6996 ac_status=$?
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; }; then
6999 ac_cv_type_int_fast32_t=yes
7000else
7001 echo "$as_me: failed program was:" >&5
7002sed 's/^/| /' conftest.$ac_ext >&5
7003
7004ac_cv_type_int_fast32_t=no
7005fi
7006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7007fi
7008echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7009echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7010if test $ac_cv_type_int_fast32_t = yes; then
7011 :
7012else
7013 acx_cv_header_stdint_kind="(mostly complete)"
7014fi
7015
7016 echo "$as_me:$LINENO: checking for uint64_t" >&5
7017echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7018if test "${ac_cv_type_uint64_t+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7020else
7021 cat >conftest.$ac_ext <<_ACEOF
7022/* confdefs.h. */
7023_ACEOF
7024cat confdefs.h >>conftest.$ac_ext
7025cat >>conftest.$ac_ext <<_ACEOF
7026/* end confdefs.h. */
7027#include <sys/types.h>
7028#include <$i>
7029
7030int
7031main ()
7032{
7033if ((uint64_t *) 0)
7034 return 0;
7035if (sizeof (uint64_t))
7036 return 0;
7037 ;
7038 return 0;
7039}
7040_ACEOF
7041rm -f conftest.$ac_objext
7042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7043 (eval $ac_compile) 2>conftest.er1
7044 ac_status=$?
7045 grep -v '^ *+' conftest.er1 >conftest.err
7046 rm -f conftest.er1
7047 cat conftest.err >&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } &&
57255173
PB
7050 { ac_try='test -z "$ac_c_werror_flag"
7051 || test ! -s conftest.err'
4c4b3eb0
PB
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 (eval $ac_try) 2>&5
7054 ac_status=$?
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; } &&
7057 { ac_try='test -s conftest.$ac_objext'
7058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7059 (eval $ac_try) 2>&5
7060 ac_status=$?
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; }; then
7063 ac_cv_type_uint64_t=yes
7064else
7065 echo "$as_me: failed program was:" >&5
7066sed 's/^/| /' conftest.$ac_ext >&5
7067
7068ac_cv_type_uint64_t=no
7069fi
7070rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7071fi
7072echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7073echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7074if test $ac_cv_type_uint64_t = yes; then
7075 :
7076else
7077 acx_cv_header_stdint_kind="(lacks uint64_t)"
7078fi
7079
7080 break
7081done
7082if test "$acx_cv_header_stdint" = stddef.h; then
28f8c9e9 7083 acx_cv_header_stdint_kind="(lacks uintmax_t)"
4c4b3eb0 7084 for i in stdint.h $inttype_headers; do
28f8c9e9 7085 unset ac_cv_type_uintptr_t
4c4b3eb0
PB
7086 unset ac_cv_type_uint32_t
7087 unset ac_cv_type_uint64_t
7088 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7089 echo "$as_me:$LINENO: checking for uint32_t" >&5
7090echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7091if test "${ac_cv_type_uint32_t+set}" = set; then
7092 echo $ECHO_N "(cached) $ECHO_C" >&6
7093else
7094 cat >conftest.$ac_ext <<_ACEOF
7095/* confdefs.h. */
7096_ACEOF
7097cat confdefs.h >>conftest.$ac_ext
7098cat >>conftest.$ac_ext <<_ACEOF
7099/* end confdefs.h. */
7100#include <sys/types.h>
7101#include <$i>
7102
7103int
7104main ()
7105{
7106if ((uint32_t *) 0)
7107 return 0;
7108if (sizeof (uint32_t))
7109 return 0;
7110 ;
7111 return 0;
7112}
7113_ACEOF
7114rm -f conftest.$ac_objext
7115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7116 (eval $ac_compile) 2>conftest.er1
7117 ac_status=$?
7118 grep -v '^ *+' conftest.er1 >conftest.err
7119 rm -f conftest.er1
7120 cat conftest.err >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
57255173
PB
7123 { ac_try='test -z "$ac_c_werror_flag"
7124 || test ! -s conftest.err'
4c4b3eb0
PB
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 (eval $ac_try) 2>&5
7127 ac_status=$?
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try='test -s conftest.$ac_objext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 (eval $ac_try) 2>&5
7133 ac_status=$?
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7136 ac_cv_type_uint32_t=yes
7137else
7138 echo "$as_me: failed program was:" >&5
7139sed 's/^/| /' conftest.$ac_ext >&5
7140
7141ac_cv_type_uint32_t=no
7142fi
7143rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7144fi
7145echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7146echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7147if test $ac_cv_type_uint32_t = yes; then
7148 acx_cv_header_stdint=$i
7149else
7150 continue
7151fi
7152
7153 echo "$as_me:$LINENO: checking for uint64_t" >&5
7154echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7155if test "${ac_cv_type_uint64_t+set}" = set; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7157else
7158 cat >conftest.$ac_ext <<_ACEOF
7159/* confdefs.h. */
7160_ACEOF
7161cat confdefs.h >>conftest.$ac_ext
7162cat >>conftest.$ac_ext <<_ACEOF
7163/* end confdefs.h. */
7164#include <sys/types.h>
7165#include <$i>
7166
7167int
7168main ()
7169{
7170if ((uint64_t *) 0)
7171 return 0;
7172if (sizeof (uint64_t))
7173 return 0;
7174 ;
7175 return 0;
7176}
7177_ACEOF
7178rm -f conftest.$ac_objext
7179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7180 (eval $ac_compile) 2>conftest.er1
7181 ac_status=$?
7182 grep -v '^ *+' conftest.er1 >conftest.err
7183 rm -f conftest.er1
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } &&
57255173
PB
7187 { ac_try='test -z "$ac_c_werror_flag"
7188 || test ! -s conftest.err'
4c4b3eb0
PB
7189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190 (eval $ac_try) 2>&5
7191 ac_status=$?
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); }; } &&
7194 { ac_try='test -s conftest.$ac_objext'
7195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7196 (eval $ac_try) 2>&5
7197 ac_status=$?
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); }; }; then
7200 ac_cv_type_uint64_t=yes
7201else
7202 echo "$as_me: failed program was:" >&5
7203sed 's/^/| /' conftest.$ac_ext >&5
7204
7205ac_cv_type_uint64_t=no
7206fi
7207rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7208fi
7209echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7210echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
28f8c9e9
FXC
7211
7212 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7213echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7214if test "${ac_cv_type_uintptr_t+set}" = set; then
7215 echo $ECHO_N "(cached) $ECHO_C" >&6
695cd757 7216else
28f8c9e9
FXC
7217 cat >conftest.$ac_ext <<_ACEOF
7218/* confdefs.h. */
7219_ACEOF
7220cat confdefs.h >>conftest.$ac_ext
7221cat >>conftest.$ac_ext <<_ACEOF
7222/* end confdefs.h. */
7223#include <sys/types.h>
7224#include <$i>
7225
7226int
7227main ()
7228{
7229if ((uintptr_t *) 0)
7230 return 0;
7231if (sizeof (uintptr_t))
7232 return 0;
7233 ;
7234 return 0;
7235}
7236_ACEOF
7237rm -f conftest.$ac_objext
7238if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7239 (eval $ac_compile) 2>conftest.er1
7240 ac_status=$?
7241 grep -v '^ *+' conftest.er1 >conftest.err
7242 rm -f conftest.er1
7243 cat conftest.err >&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } &&
7246 { ac_try='test -z "$ac_c_werror_flag"
7247 || test ! -s conftest.err'
7248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 (eval $ac_try) 2>&5
7250 ac_status=$?
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; } &&
7253 { ac_try='test -s conftest.$ac_objext'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 (eval $ac_try) 2>&5
7256 ac_status=$?
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7259 ac_cv_type_uintptr_t=yes
7260else
7261 echo "$as_me: failed program was:" >&5
7262sed 's/^/| /' conftest.$ac_ext >&5
7263
7264ac_cv_type_uintptr_t=no
7265fi
7266rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
695cd757 7267fi
28f8c9e9
FXC
7268echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7269echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
4c4b3eb0
PB
7270
7271 break
7272 done
7273fi
7274if test "$acx_cv_header_stdint" = stddef.h; then
7275 acx_cv_header_stdint_kind="(u_intXX_t style)"
7276 for i in sys/types.h $inttype_headers; do
7277 unset ac_cv_type_u_int32_t
7278 unset ac_cv_type_u_int64_t
7279 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7280 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7281echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7282if test "${ac_cv_type_u_int32_t+set}" = set; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7284else
7285 cat >conftest.$ac_ext <<_ACEOF
7286/* confdefs.h. */
7287_ACEOF
7288cat confdefs.h >>conftest.$ac_ext
7289cat >>conftest.$ac_ext <<_ACEOF
7290/* end confdefs.h. */
7291#include <sys/types.h>
7292#include <$i>
7293
7294int
7295main ()
7296{
7297if ((u_int32_t *) 0)
7298 return 0;
7299if (sizeof (u_int32_t))
7300 return 0;
7301 ;
7302 return 0;
7303}
7304_ACEOF
7305rm -f conftest.$ac_objext
7306if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7307 (eval $ac_compile) 2>conftest.er1
7308 ac_status=$?
7309 grep -v '^ *+' conftest.er1 >conftest.err
7310 rm -f conftest.er1
7311 cat conftest.err >&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); } &&
57255173
PB
7314 { ac_try='test -z "$ac_c_werror_flag"
7315 || test ! -s conftest.err'
4c4b3eb0
PB
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317 (eval $ac_try) 2>&5
7318 ac_status=$?
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; } &&
7321 { ac_try='test -s conftest.$ac_objext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7323 (eval $ac_try) 2>&5
7324 ac_status=$?
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_cv_type_u_int32_t=yes
7328else
7329 echo "$as_me: failed program was:" >&5
7330sed 's/^/| /' conftest.$ac_ext >&5
7331
7332ac_cv_type_u_int32_t=no
7333fi
7334rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7335fi
7336echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7337echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7338if test $ac_cv_type_u_int32_t = yes; then
7339 acx_cv_header_stdint=$i
7340else
7341 continue
7342fi
7343
7344 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7345echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7346if test "${ac_cv_type_u_int64_t+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7348else
7349 cat >conftest.$ac_ext <<_ACEOF
7350/* confdefs.h. */
7351_ACEOF
7352cat confdefs.h >>conftest.$ac_ext
7353cat >>conftest.$ac_ext <<_ACEOF
7354/* end confdefs.h. */
7355#include <sys/types.h>
7356#include <$i>
7357
7358int
7359main ()
7360{
7361if ((u_int64_t *) 0)
7362 return 0;
7363if (sizeof (u_int64_t))
7364 return 0;
7365 ;
7366 return 0;
7367}
7368_ACEOF
7369rm -f conftest.$ac_objext
7370if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>conftest.er1
7372 ac_status=$?
7373 grep -v '^ *+' conftest.er1 >conftest.err
7374 rm -f conftest.er1
7375 cat conftest.err >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
57255173
PB
7378 { ac_try='test -z "$ac_c_werror_flag"
7379 || test ! -s conftest.err'
4c4b3eb0
PB
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 (eval $ac_try) 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; } &&
7385 { ac_try='test -s conftest.$ac_objext'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 (eval $ac_try) 2>&5
7388 ac_status=$?
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then
7391 ac_cv_type_u_int64_t=yes
7392else
7393 echo "$as_me: failed program was:" >&5
7394sed 's/^/| /' conftest.$ac_ext >&5
7395
7396ac_cv_type_u_int64_t=no
7397fi
7398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399fi
7400echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7401echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
4c4b3eb0
PB
7402
7403 break
7404 done
7405fi
7406if test "$acx_cv_header_stdint" = stddef.h; then
7407 acx_cv_header_stdint_kind="(using manual detection)"
7408fi
7409
7410test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7411test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7412test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7413test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7414test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7415
7416# ----------------- Summarize what we found so far
7417
7418echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7419echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7420
7421case `$as_basename gstdint.h ||
7422$as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7423 Xgstdint.h : 'X\(//\)$' \| \
7424 Xgstdint.h : 'X\(/\)$' \| \
7425 . : '\(.\)' 2>/dev/null ||
7426echo X/gstdint.h |
7427 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7428 /^X\/\(\/\/\)$/{ s//\1/; q; }
7429 /^X\/\(\/\).*/{ s//\1/; q; }
7430 s/.*/./; q'` in
7431 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7432echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7433 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7434echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7435 *) ;;
7436esac
7437
7438echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7439echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7440
7441# ----------------- done included file, check C basic types --------
7442
7443# Lacking an uintptr_t? Test size of void *
7444case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7445 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7446echo $ECHO_N "checking for void *... $ECHO_C" >&6
7447if test "${ac_cv_type_void_p+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7449else
7450 cat >conftest.$ac_ext <<_ACEOF
7451/* confdefs.h. */
7452_ACEOF
7453cat confdefs.h >>conftest.$ac_ext
7454cat >>conftest.$ac_ext <<_ACEOF
7455/* end confdefs.h. */
7456$ac_includes_default
7457int
7458main ()
7459{
7460if ((void * *) 0)
7461 return 0;
7462if (sizeof (void *))
7463 return 0;
7464 ;
7465 return 0;
7466}
7467_ACEOF
7468rm -f conftest.$ac_objext
7469if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7470 (eval $ac_compile) 2>conftest.er1
7471 ac_status=$?
7472 grep -v '^ *+' conftest.er1 >conftest.err
7473 rm -f conftest.er1
7474 cat conftest.err >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } &&
57255173
PB
7477 { ac_try='test -z "$ac_c_werror_flag"
7478 || test ! -s conftest.err'
4c4b3eb0
PB
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 (eval $ac_try) 2>&5
7481 ac_status=$?
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; } &&
7484 { ac_try='test -s conftest.$ac_objext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 (eval $ac_try) 2>&5
7487 ac_status=$?
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 ac_cv_type_void_p=yes
7491else
7492 echo "$as_me: failed program was:" >&5
7493sed 's/^/| /' conftest.$ac_ext >&5
7494
7495ac_cv_type_void_p=no
7496fi
7497rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7498fi
7499echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7500echo "${ECHO_T}$ac_cv_type_void_p" >&6
7501
7502echo "$as_me:$LINENO: checking size of void *" >&5
7503echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7504if test "${ac_cv_sizeof_void_p+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7506else
7507 if test "$ac_cv_type_void_p" = yes; then
7508 # The cast to unsigned long works around a bug in the HP C Compiler
7509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7511 # This bug is HP SR number 8606223364.
7512 if test "$cross_compiling" = yes; then
7513 # Depending upon the size, compute the lo and hi bounds.
7514cat >conftest.$ac_ext <<_ACEOF
7515/* confdefs.h. */
7516_ACEOF
7517cat confdefs.h >>conftest.$ac_ext
7518cat >>conftest.$ac_ext <<_ACEOF
7519/* end confdefs.h. */
7520$ac_includes_default
7521int
7522main ()
7523{
7524static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7525test_array [0] = 0
7526
7527 ;
7528 return 0;
7529}
7530_ACEOF
7531rm -f conftest.$ac_objext
7532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7533 (eval $ac_compile) 2>conftest.er1
7534 ac_status=$?
7535 grep -v '^ *+' conftest.er1 >conftest.err
7536 rm -f conftest.er1
7537 cat conftest.err >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); } &&
57255173
PB
7540 { ac_try='test -z "$ac_c_werror_flag"
7541 || test ! -s conftest.err'
4c4b3eb0
PB
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543 (eval $ac_try) 2>&5
7544 ac_status=$?
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; } &&
7547 { ac_try='test -s conftest.$ac_objext'
7548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7549 (eval $ac_try) 2>&5
7550 ac_status=$?
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); }; }; then
7553 ac_lo=0 ac_mid=0
7554 while :; do
7555 cat >conftest.$ac_ext <<_ACEOF
7556/* confdefs.h. */
7557_ACEOF
7558cat confdefs.h >>conftest.$ac_ext
7559cat >>conftest.$ac_ext <<_ACEOF
7560/* end confdefs.h. */
7561$ac_includes_default
7562int
7563main ()
7564{
7565static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7566test_array [0] = 0
7567
7568 ;
7569 return 0;
7570}
7571_ACEOF
7572rm -f conftest.$ac_objext
7573if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7574 (eval $ac_compile) 2>conftest.er1
7575 ac_status=$?
7576 grep -v '^ *+' conftest.er1 >conftest.err
7577 rm -f conftest.er1
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } &&
57255173
PB
7581 { ac_try='test -z "$ac_c_werror_flag"
7582 || test ! -s conftest.err'
4c4b3eb0
PB
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 (eval $ac_try) 2>&5
7585 ac_status=$?
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; } &&
7588 { ac_try='test -s conftest.$ac_objext'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 (eval $ac_try) 2>&5
7591 ac_status=$?
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then
7594 ac_hi=$ac_mid; break
7595else
7596 echo "$as_me: failed program was:" >&5
7597sed 's/^/| /' conftest.$ac_ext >&5
7598
7599ac_lo=`expr $ac_mid + 1`
7600 if test $ac_lo -le $ac_mid; then
7601 ac_lo= ac_hi=
7602 break
7603 fi
7604 ac_mid=`expr 2 '*' $ac_mid + 1`
7605fi
7606rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7607 done
7608else
7609 echo "$as_me: failed program was:" >&5
7610sed 's/^/| /' conftest.$ac_ext >&5
7611
7612cat >conftest.$ac_ext <<_ACEOF
7613/* confdefs.h. */
7614_ACEOF
7615cat confdefs.h >>conftest.$ac_ext
7616cat >>conftest.$ac_ext <<_ACEOF
7617/* end confdefs.h. */
7618$ac_includes_default
7619int
7620main ()
7621{
7622static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7623test_array [0] = 0
7624
7625 ;
7626 return 0;
7627}
7628_ACEOF
7629rm -f conftest.$ac_objext
7630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7631 (eval $ac_compile) 2>conftest.er1
7632 ac_status=$?
7633 grep -v '^ *+' conftest.er1 >conftest.err
7634 rm -f conftest.er1
7635 cat conftest.err >&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
57255173
PB
7638 { ac_try='test -z "$ac_c_werror_flag"
7639 || test ! -s conftest.err'
4c4b3eb0
PB
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7641 (eval $ac_try) 2>&5
7642 ac_status=$?
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; } &&
7645 { ac_try='test -s conftest.$ac_objext'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 (eval $ac_try) 2>&5
7648 ac_status=$?
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; }; then
7651 ac_hi=-1 ac_mid=-1
7652 while :; do
7653 cat >conftest.$ac_ext <<_ACEOF
7654/* confdefs.h. */
7655_ACEOF
7656cat confdefs.h >>conftest.$ac_ext
7657cat >>conftest.$ac_ext <<_ACEOF
7658/* end confdefs.h. */
7659$ac_includes_default
7660int
7661main ()
7662{
7663static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7664test_array [0] = 0
7665
7666 ;
7667 return 0;
7668}
7669_ACEOF
7670rm -f conftest.$ac_objext
7671if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7672 (eval $ac_compile) 2>conftest.er1
7673 ac_status=$?
7674 grep -v '^ *+' conftest.er1 >conftest.err
7675 rm -f conftest.er1
7676 cat conftest.err >&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); } &&
57255173
PB
7679 { ac_try='test -z "$ac_c_werror_flag"
7680 || test ! -s conftest.err'
4c4b3eb0
PB
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); }; } &&
7686 { ac_try='test -s conftest.$ac_objext'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 (eval $ac_try) 2>&5
7689 ac_status=$?
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; }; then
7692 ac_lo=$ac_mid; break
7693else
7694 echo "$as_me: failed program was:" >&5
7695sed 's/^/| /' conftest.$ac_ext >&5
7696
7697ac_hi=`expr '(' $ac_mid ')' - 1`
7698 if test $ac_mid -le $ac_hi; then
7699 ac_lo= ac_hi=
7700 break
7701 fi
7702 ac_mid=`expr 2 '*' $ac_mid`
7703fi
7704rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7705 done
7706else
7707 echo "$as_me: failed program was:" >&5
7708sed 's/^/| /' conftest.$ac_ext >&5
7709
7710ac_lo= ac_hi=
7711fi
7712rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7713fi
7714rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7715# Binary search between lo and hi bounds.
7716while test "x$ac_lo" != "x$ac_hi"; do
7717 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7718 cat >conftest.$ac_ext <<_ACEOF
7719/* confdefs.h. */
7720_ACEOF
7721cat confdefs.h >>conftest.$ac_ext
7722cat >>conftest.$ac_ext <<_ACEOF
7723/* end confdefs.h. */
7724$ac_includes_default
7725int
7726main ()
7727{
7728static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7729test_array [0] = 0
7730
7731 ;
7732 return 0;
7733}
7734_ACEOF
7735rm -f conftest.$ac_objext
7736if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7737 (eval $ac_compile) 2>conftest.er1
7738 ac_status=$?
7739 grep -v '^ *+' conftest.er1 >conftest.err
7740 rm -f conftest.er1
7741 cat conftest.err >&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } &&
57255173
PB
7744 { ac_try='test -z "$ac_c_werror_flag"
7745 || test ! -s conftest.err'
4c4b3eb0
PB
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 (eval $ac_try) 2>&5
7748 ac_status=$?
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; } &&
7751 { ac_try='test -s conftest.$ac_objext'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7753 (eval $ac_try) 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7757 ac_hi=$ac_mid
7758else
7759 echo "$as_me: failed program was:" >&5
7760sed 's/^/| /' conftest.$ac_ext >&5
7761
7762ac_lo=`expr '(' $ac_mid ')' + 1`
7763fi
7764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7765done
7766case $ac_lo in
7767?*) ac_cv_sizeof_void_p=$ac_lo;;
7768'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7769See \`config.log' for more details." >&5
7770echo "$as_me: error: cannot compute sizeof (void *), 77
7771See \`config.log' for more details." >&2;}
7772 { (exit 1); exit 1; }; } ;;
7773esac
7774else
7775 if test "$cross_compiling" = yes; then
57255173
PB
7776 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7777See \`config.log' for more details." >&5
7778echo "$as_me: error: cannot run test program while cross compiling
7779See \`config.log' for more details." >&2;}
4c4b3eb0
PB
7780 { (exit 1); exit 1; }; }
7781else
7782 cat >conftest.$ac_ext <<_ACEOF
7783/* confdefs.h. */
7784_ACEOF
7785cat confdefs.h >>conftest.$ac_ext
7786cat >>conftest.$ac_ext <<_ACEOF
7787/* end confdefs.h. */
7788$ac_includes_default
7789long longval () { return (long) (sizeof (void *)); }
7790unsigned long ulongval () { return (long) (sizeof (void *)); }
7791#include <stdio.h>
7792#include <stdlib.h>
7793int
7794main ()
7795{
7796
7797 FILE *f = fopen ("conftest.val", "w");
7798 if (! f)
7799 exit (1);
7800 if (((long) (sizeof (void *))) < 0)
7801 {
7802 long i = longval ();
7803 if (i != ((long) (sizeof (void *))))
7804 exit (1);
7805 fprintf (f, "%ld\n", i);
7806 }
7807 else
7808 {
7809 unsigned long i = ulongval ();
7810 if (i != ((long) (sizeof (void *))))
7811 exit (1);
7812 fprintf (f, "%lu\n", i);
7813 }
7814 exit (ferror (f) || fclose (f) != 0);
7815
7816 ;
7817 return 0;
7818}
7819_ACEOF
7820rm -f conftest$ac_exeext
7821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>&5
7823 ac_status=$?
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7827 (eval $ac_try) 2>&5
7828 ac_status=$?
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then
7831 ac_cv_sizeof_void_p=`cat conftest.val`
7832else
7833 echo "$as_me: program exited with status $ac_status" >&5
7834echo "$as_me: failed program was:" >&5
7835sed 's/^/| /' conftest.$ac_ext >&5
7836
7837( exit $ac_status )
7838{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7839See \`config.log' for more details." >&5
7840echo "$as_me: error: cannot compute sizeof (void *), 77
7841See \`config.log' for more details." >&2;}
7842 { (exit 1); exit 1; }; }
7843fi
7844rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7845fi
7846fi
7847rm -f conftest.val
7848else
7849 ac_cv_sizeof_void_p=0
7850fi
7851fi
7852echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7853echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7854cat >>confdefs.h <<_ACEOF
7855#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7856_ACEOF
7857
7858 ;;
7859esac
7860
7861# Lacking an uint64_t? Test size of long
7862case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7863 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7864echo $ECHO_N "checking for long... $ECHO_C" >&6
7865if test "${ac_cv_type_long+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7867else
7868 cat >conftest.$ac_ext <<_ACEOF
7869/* confdefs.h. */
7870_ACEOF
7871cat confdefs.h >>conftest.$ac_ext
7872cat >>conftest.$ac_ext <<_ACEOF
7873/* end confdefs.h. */
7874$ac_includes_default
7875int
7876main ()
7877{
7878if ((long *) 0)
7879 return 0;
7880if (sizeof (long))
7881 return 0;
7882 ;
7883 return 0;
7884}
7885_ACEOF
7886rm -f conftest.$ac_objext
7887if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7888 (eval $ac_compile) 2>conftest.er1
7889 ac_status=$?
7890 grep -v '^ *+' conftest.er1 >conftest.err
7891 rm -f conftest.er1
7892 cat conftest.err >&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); } &&
57255173
PB
7895 { ac_try='test -z "$ac_c_werror_flag"
7896 || test ! -s conftest.err'
4c4b3eb0
PB
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 (eval $ac_try) 2>&5
7899 ac_status=$?
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try='test -s conftest.$ac_objext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904 (eval $ac_try) 2>&5
7905 ac_status=$?
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7908 ac_cv_type_long=yes
7909else
7910 echo "$as_me: failed program was:" >&5
7911sed 's/^/| /' conftest.$ac_ext >&5
7912
7913ac_cv_type_long=no
7914fi
7915rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7916fi
7917echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7918echo "${ECHO_T}$ac_cv_type_long" >&6
7919
7920echo "$as_me:$LINENO: checking size of long" >&5
7921echo $ECHO_N "checking size of long... $ECHO_C" >&6
7922if test "${ac_cv_sizeof_long+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7924else
7925 if test "$ac_cv_type_long" = yes; then
7926 # The cast to unsigned long works around a bug in the HP C Compiler
7927 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7928 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7929 # This bug is HP SR number 8606223364.
7930 if test "$cross_compiling" = yes; then
7931 # Depending upon the size, compute the lo and hi bounds.
7932cat >conftest.$ac_ext <<_ACEOF
7933/* confdefs.h. */
7934_ACEOF
7935cat confdefs.h >>conftest.$ac_ext
7936cat >>conftest.$ac_ext <<_ACEOF
7937/* end confdefs.h. */
7938$ac_includes_default
7939int
7940main ()
7941{
7942static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7943test_array [0] = 0
7944
7945 ;
7946 return 0;
7947}
7948_ACEOF
7949rm -f conftest.$ac_objext
7950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7951 (eval $ac_compile) 2>conftest.er1
7952 ac_status=$?
7953 grep -v '^ *+' conftest.er1 >conftest.err
7954 rm -f conftest.er1
7955 cat conftest.err >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } &&
57255173
PB
7958 { ac_try='test -z "$ac_c_werror_flag"
7959 || test ! -s conftest.err'
4c4b3eb0
PB
7960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7961 (eval $ac_try) 2>&5
7962 ac_status=$?
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); }; } &&
7965 { ac_try='test -s conftest.$ac_objext'
7966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 (eval $ac_try) 2>&5
7968 ac_status=$?
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); }; }; then
7971 ac_lo=0 ac_mid=0
7972 while :; do
7973 cat >conftest.$ac_ext <<_ACEOF
7974/* confdefs.h. */
7975_ACEOF
7976cat confdefs.h >>conftest.$ac_ext
7977cat >>conftest.$ac_ext <<_ACEOF
7978/* end confdefs.h. */
7979$ac_includes_default
7980int
7981main ()
7982{
7983static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7984test_array [0] = 0
7985
7986 ;
7987 return 0;
7988}
7989_ACEOF
7990rm -f conftest.$ac_objext
7991if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7992 (eval $ac_compile) 2>conftest.er1
7993 ac_status=$?
7994 grep -v '^ *+' conftest.er1 >conftest.err
7995 rm -f conftest.er1
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } &&
57255173
PB
7999 { ac_try='test -z "$ac_c_werror_flag"
8000 || test ! -s conftest.err'
4c4b3eb0
PB
8001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8002 (eval $ac_try) 2>&5
8003 ac_status=$?
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }; } &&
8006 { ac_try='test -s conftest.$ac_objext'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008 (eval $ac_try) 2>&5
8009 ac_status=$?
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; }; then
8012 ac_hi=$ac_mid; break
8013else
8014 echo "$as_me: failed program was:" >&5
8015sed 's/^/| /' conftest.$ac_ext >&5
8016
8017ac_lo=`expr $ac_mid + 1`
8018 if test $ac_lo -le $ac_mid; then
8019 ac_lo= ac_hi=
8020 break
8021 fi
8022 ac_mid=`expr 2 '*' $ac_mid + 1`
8023fi
8024rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8025 done
8026else
8027 echo "$as_me: failed program was:" >&5
8028sed 's/^/| /' conftest.$ac_ext >&5
8029
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$ac_includes_default
8037int
8038main ()
8039{
8040static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8041test_array [0] = 0
8042
8043 ;
8044 return 0;
8045}
8046_ACEOF
8047rm -f conftest.$ac_objext
8048if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8049 (eval $ac_compile) 2>conftest.er1
8050 ac_status=$?
8051 grep -v '^ *+' conftest.er1 >conftest.err
8052 rm -f conftest.er1
8053 cat conftest.err >&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); } &&
57255173
PB
8056 { ac_try='test -z "$ac_c_werror_flag"
8057 || test ! -s conftest.err'
4c4b3eb0
PB
8058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059 (eval $ac_try) 2>&5
8060 ac_status=$?
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); }; } &&
8063 { ac_try='test -s conftest.$ac_objext'
8064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8065 (eval $ac_try) 2>&5
8066 ac_status=$?
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); }; }; then
8069 ac_hi=-1 ac_mid=-1
8070 while :; do
8071 cat >conftest.$ac_ext <<_ACEOF
8072/* confdefs.h. */
8073_ACEOF
8074cat confdefs.h >>conftest.$ac_ext
8075cat >>conftest.$ac_ext <<_ACEOF
8076/* end confdefs.h. */
8077$ac_includes_default
8078int
8079main ()
8080{
8081static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8082test_array [0] = 0
8083
8084 ;
8085 return 0;
8086}
8087_ACEOF
8088rm -f conftest.$ac_objext
8089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8090 (eval $ac_compile) 2>conftest.er1
8091 ac_status=$?
8092 grep -v '^ *+' conftest.er1 >conftest.err
8093 rm -f conftest.er1
8094 cat conftest.err >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
57255173
PB
8097 { ac_try='test -z "$ac_c_werror_flag"
8098 || test ! -s conftest.err'
4c4b3eb0
PB
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100 (eval $ac_try) 2>&5
8101 ac_status=$?
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try='test -s conftest.$ac_objext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 (eval $ac_try) 2>&5
8107 ac_status=$?
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_lo=$ac_mid; break
8111else
8112 echo "$as_me: failed program was:" >&5
8113sed 's/^/| /' conftest.$ac_ext >&5
8114
8115ac_hi=`expr '(' $ac_mid ')' - 1`
8116 if test $ac_mid -le $ac_hi; then
8117 ac_lo= ac_hi=
8118 break
8119 fi
8120 ac_mid=`expr 2 '*' $ac_mid`
8121fi
8122rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8123 done
8124else
8125 echo "$as_me: failed program was:" >&5
8126sed 's/^/| /' conftest.$ac_ext >&5
8127
8128ac_lo= ac_hi=
8129fi
8130rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8131fi
8132rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8133# Binary search between lo and hi bounds.
8134while test "x$ac_lo" != "x$ac_hi"; do
8135 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8136 cat >conftest.$ac_ext <<_ACEOF
8137/* confdefs.h. */
8138_ACEOF
8139cat confdefs.h >>conftest.$ac_ext
8140cat >>conftest.$ac_ext <<_ACEOF
8141/* end confdefs.h. */
8142$ac_includes_default
8143int
8144main ()
8145{
8146static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8147test_array [0] = 0
8148
8149 ;
8150 return 0;
8151}
8152_ACEOF
8153rm -f conftest.$ac_objext
8154if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8155 (eval $ac_compile) 2>conftest.er1
8156 ac_status=$?
8157 grep -v '^ *+' conftest.er1 >conftest.err
8158 rm -f conftest.er1
8159 cat conftest.err >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } &&
57255173
PB
8162 { ac_try='test -z "$ac_c_werror_flag"
8163 || test ! -s conftest.err'
4c4b3eb0
PB
8164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8165 (eval $ac_try) 2>&5
8166 ac_status=$?
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); }; } &&
8169 { ac_try='test -s conftest.$ac_objext'
8170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 (eval $ac_try) 2>&5
8172 ac_status=$?
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; }; then
8175 ac_hi=$ac_mid
8176else
8177 echo "$as_me: failed program was:" >&5
8178sed 's/^/| /' conftest.$ac_ext >&5
8179
8180ac_lo=`expr '(' $ac_mid ')' + 1`
8181fi
8182rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8183done
8184case $ac_lo in
8185?*) ac_cv_sizeof_long=$ac_lo;;
8186'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8187See \`config.log' for more details." >&5
8188echo "$as_me: error: cannot compute sizeof (long), 77
8189See \`config.log' for more details." >&2;}
8190 { (exit 1); exit 1; }; } ;;
8191esac
8192else
8193 if test "$cross_compiling" = yes; then
57255173
PB
8194 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8195See \`config.log' for more details." >&5
8196echo "$as_me: error: cannot run test program while cross compiling
8197See \`config.log' for more details." >&2;}
4c4b3eb0
PB
8198 { (exit 1); exit 1; }; }
8199else
8200 cat >conftest.$ac_ext <<_ACEOF
8201/* confdefs.h. */
8202_ACEOF
8203cat confdefs.h >>conftest.$ac_ext
8204cat >>conftest.$ac_ext <<_ACEOF
8205/* end confdefs.h. */
8206$ac_includes_default
8207long longval () { return (long) (sizeof (long)); }
8208unsigned long ulongval () { return (long) (sizeof (long)); }
8209#include <stdio.h>
8210#include <stdlib.h>
8211int
8212main ()
8213{
8214
8215 FILE *f = fopen ("conftest.val", "w");
8216 if (! f)
8217 exit (1);
8218 if (((long) (sizeof (long))) < 0)
8219 {
8220 long i = longval ();
8221 if (i != ((long) (sizeof (long))))
8222 exit (1);
8223 fprintf (f, "%ld\n", i);
8224 }
8225 else
8226 {
8227 unsigned long i = ulongval ();
8228 if (i != ((long) (sizeof (long))))
8229 exit (1);
8230 fprintf (f, "%lu\n", i);
8231 }
8232 exit (ferror (f) || fclose (f) != 0);
8233
8234 ;
8235 return 0;
8236}
8237_ACEOF
8238rm -f conftest$ac_exeext
8239if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8240 (eval $ac_link) 2>&5
8241 ac_status=$?
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 ac_cv_sizeof_long=`cat conftest.val`
8250else
8251 echo "$as_me: program exited with status $ac_status" >&5
8252echo "$as_me: failed program was:" >&5
8253sed 's/^/| /' conftest.$ac_ext >&5
8254
8255( exit $ac_status )
8256{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8257See \`config.log' for more details." >&5
8258echo "$as_me: error: cannot compute sizeof (long), 77
8259See \`config.log' for more details." >&2;}
8260 { (exit 1); exit 1; }; }
8261fi
8262rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8263fi
8264fi
8265rm -f conftest.val
8266else
8267 ac_cv_sizeof_long=0
8268fi
8269fi
8270echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8271echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8272cat >>confdefs.h <<_ACEOF
8273#define SIZEOF_LONG $ac_cv_sizeof_long
8274_ACEOF
8275
8276 ;;
8277esac
8278
8279if test $acx_cv_header_stdint = stddef.h; then
8280 # Lacking a good header? Test size of everything and deduce all types.
8281 echo "$as_me:$LINENO: checking for int" >&5
8282echo $ECHO_N "checking for int... $ECHO_C" >&6
8283if test "${ac_cv_type_int+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8285else
8286 cat >conftest.$ac_ext <<_ACEOF
8287/* confdefs.h. */
8288_ACEOF
8289cat confdefs.h >>conftest.$ac_ext
8290cat >>conftest.$ac_ext <<_ACEOF
8291/* end confdefs.h. */
8292$ac_includes_default
8293int
8294main ()
8295{
8296if ((int *) 0)
8297 return 0;
8298if (sizeof (int))
8299 return 0;
8300 ;
8301 return 0;
8302}
8303_ACEOF
8304rm -f conftest.$ac_objext
8305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8306 (eval $ac_compile) 2>conftest.er1
8307 ac_status=$?
8308 grep -v '^ *+' conftest.er1 >conftest.err
8309 rm -f conftest.er1
8310 cat conftest.err >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } &&
57255173
PB
8313 { ac_try='test -z "$ac_c_werror_flag"
8314 || test ! -s conftest.err'
4c4b3eb0
PB
8315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8316 (eval $ac_try) 2>&5
8317 ac_status=$?
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); }; } &&
8320 { ac_try='test -s conftest.$ac_objext'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 (eval $ac_try) 2>&5
8323 ac_status=$?
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; }; then
8326 ac_cv_type_int=yes
8327else
8328 echo "$as_me: failed program was:" >&5
8329sed 's/^/| /' conftest.$ac_ext >&5
8330
8331ac_cv_type_int=no
8332fi
8333rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8334fi
8335echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8336echo "${ECHO_T}$ac_cv_type_int" >&6
8337
8338echo "$as_me:$LINENO: checking size of int" >&5
8339echo $ECHO_N "checking size of int... $ECHO_C" >&6
8340if test "${ac_cv_sizeof_int+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8342else
8343 if test "$ac_cv_type_int" = yes; then
8344 # The cast to unsigned long works around a bug in the HP C Compiler
8345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8347 # This bug is HP SR number 8606223364.
8348 if test "$cross_compiling" = yes; then
8349 # Depending upon the size, compute the lo and hi bounds.
8350cat >conftest.$ac_ext <<_ACEOF
8351/* confdefs.h. */
8352_ACEOF
8353cat confdefs.h >>conftest.$ac_ext
8354cat >>conftest.$ac_ext <<_ACEOF
8355/* end confdefs.h. */
8356$ac_includes_default
8357int
8358main ()
8359{
8360static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8361test_array [0] = 0
8362
8363 ;
8364 return 0;
8365}
8366_ACEOF
8367rm -f conftest.$ac_objext
8368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8369 (eval $ac_compile) 2>conftest.er1
8370 ac_status=$?
8371 grep -v '^ *+' conftest.er1 >conftest.err
8372 rm -f conftest.er1
8373 cat conftest.err >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
57255173
PB
8376 { ac_try='test -z "$ac_c_werror_flag"
8377 || test ! -s conftest.err'
4c4b3eb0
PB
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 (eval $ac_try) 2>&5
8380 ac_status=$?
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; } &&
8383 { ac_try='test -s conftest.$ac_objext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 (eval $ac_try) 2>&5
8386 ac_status=$?
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8389 ac_lo=0 ac_mid=0
8390 while :; do
8391 cat >conftest.$ac_ext <<_ACEOF
8392/* confdefs.h. */
8393_ACEOF
8394cat confdefs.h >>conftest.$ac_ext
8395cat >>conftest.$ac_ext <<_ACEOF
8396/* end confdefs.h. */
8397$ac_includes_default
8398int
8399main ()
8400{
8401static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8402test_array [0] = 0
8403
8404 ;
8405 return 0;
8406}
8407_ACEOF
8408rm -f conftest.$ac_objext
8409if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8410 (eval $ac_compile) 2>conftest.er1
8411 ac_status=$?
8412 grep -v '^ *+' conftest.er1 >conftest.err
8413 rm -f conftest.er1
8414 cat conftest.err >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); } &&
57255173
PB
8417 { ac_try='test -z "$ac_c_werror_flag"
8418 || test ! -s conftest.err'
4c4b3eb0
PB
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 (eval $ac_try) 2>&5
8421 ac_status=$?
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; } &&
8424 { ac_try='test -s conftest.$ac_objext'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 (eval $ac_try) 2>&5
8427 ac_status=$?
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; }; then
8430 ac_hi=$ac_mid; break
8431else
8432 echo "$as_me: failed program was:" >&5
8433sed 's/^/| /' conftest.$ac_ext >&5
8434
8435ac_lo=`expr $ac_mid + 1`
8436 if test $ac_lo -le $ac_mid; then
8437 ac_lo= ac_hi=
8438 break
8439 fi
8440 ac_mid=`expr 2 '*' $ac_mid + 1`
8441fi
8442rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8443 done
8444else
8445 echo "$as_me: failed program was:" >&5
8446sed 's/^/| /' conftest.$ac_ext >&5
8447
8448cat >conftest.$ac_ext <<_ACEOF
8449/* confdefs.h. */
8450_ACEOF
8451cat confdefs.h >>conftest.$ac_ext
8452cat >>conftest.$ac_ext <<_ACEOF
8453/* end confdefs.h. */
8454$ac_includes_default
8455int
8456main ()
8457{
8458static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8459test_array [0] = 0
8460
8461 ;
8462 return 0;
8463}
8464_ACEOF
8465rm -f conftest.$ac_objext
8466if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8467 (eval $ac_compile) 2>conftest.er1
8468 ac_status=$?
8469 grep -v '^ *+' conftest.er1 >conftest.err
8470 rm -f conftest.er1
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } &&
57255173
PB
8474 { ac_try='test -z "$ac_c_werror_flag"
8475 || test ! -s conftest.err'
4c4b3eb0
PB
8476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 (eval $ac_try) 2>&5
8478 ac_status=$?
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); }; } &&
8481 { ac_try='test -s conftest.$ac_objext'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483 (eval $ac_try) 2>&5
8484 ac_status=$?
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then
8487 ac_hi=-1 ac_mid=-1
8488 while :; do
8489 cat >conftest.$ac_ext <<_ACEOF
8490/* confdefs.h. */
8491_ACEOF
8492cat confdefs.h >>conftest.$ac_ext
8493cat >>conftest.$ac_ext <<_ACEOF
8494/* end confdefs.h. */
8495$ac_includes_default
8496int
8497main ()
8498{
8499static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8500test_array [0] = 0
8501
8502 ;
8503 return 0;
8504}
8505_ACEOF
8506rm -f conftest.$ac_objext
8507if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8508 (eval $ac_compile) 2>conftest.er1
8509 ac_status=$?
8510 grep -v '^ *+' conftest.er1 >conftest.err
8511 rm -f conftest.er1
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } &&
57255173
PB
8515 { ac_try='test -z "$ac_c_werror_flag"
8516 || test ! -s conftest.err'
4c4b3eb0
PB
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 (eval $ac_try) 2>&5
8519 ac_status=$?
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; } &&
8522 { ac_try='test -s conftest.$ac_objext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_lo=$ac_mid; break
8529else
8530 echo "$as_me: failed program was:" >&5
8531sed 's/^/| /' conftest.$ac_ext >&5
8532
8533ac_hi=`expr '(' $ac_mid ')' - 1`
8534 if test $ac_mid -le $ac_hi; then
8535 ac_lo= ac_hi=
8536 break
8537 fi
8538 ac_mid=`expr 2 '*' $ac_mid`
8539fi
8540rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8541 done
8542else
8543 echo "$as_me: failed program was:" >&5
8544sed 's/^/| /' conftest.$ac_ext >&5
8545
8546ac_lo= ac_hi=
8547fi
8548rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8549fi
8550rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8551# Binary search between lo and hi bounds.
8552while test "x$ac_lo" != "x$ac_hi"; do
8553 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8554 cat >conftest.$ac_ext <<_ACEOF
8555/* confdefs.h. */
8556_ACEOF
8557cat confdefs.h >>conftest.$ac_ext
8558cat >>conftest.$ac_ext <<_ACEOF
8559/* end confdefs.h. */
8560$ac_includes_default
8561int
8562main ()
8563{
8564static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8565test_array [0] = 0
8566
8567 ;
8568 return 0;
8569}
8570_ACEOF
8571rm -f conftest.$ac_objext
8572if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8573 (eval $ac_compile) 2>conftest.er1
8574 ac_status=$?
8575 grep -v '^ *+' conftest.er1 >conftest.err
8576 rm -f conftest.er1
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); } &&
57255173
PB
8580 { ac_try='test -z "$ac_c_werror_flag"
8581 || test ! -s conftest.err'
4c4b3eb0
PB
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 (eval $ac_try) 2>&5
8584 ac_status=$?
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; } &&
8587 { ac_try='test -s conftest.$ac_objext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 (eval $ac_try) 2>&5
8590 ac_status=$?
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8593 ac_hi=$ac_mid
8594else
8595 echo "$as_me: failed program was:" >&5
8596sed 's/^/| /' conftest.$ac_ext >&5
8597
8598ac_lo=`expr '(' $ac_mid ')' + 1`
8599fi
8600rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8601done
8602case $ac_lo in
8603?*) ac_cv_sizeof_int=$ac_lo;;
8604'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8605See \`config.log' for more details." >&5
8606echo "$as_me: error: cannot compute sizeof (int), 77
8607See \`config.log' for more details." >&2;}
8608 { (exit 1); exit 1; }; } ;;
8609esac
8610else
8611 if test "$cross_compiling" = yes; then
57255173
PB
8612 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8613See \`config.log' for more details." >&5
8614echo "$as_me: error: cannot run test program while cross compiling
8615See \`config.log' for more details." >&2;}
4c4b3eb0
PB
8616 { (exit 1); exit 1; }; }
8617else
8618 cat >conftest.$ac_ext <<_ACEOF
8619/* confdefs.h. */
8620_ACEOF
8621cat confdefs.h >>conftest.$ac_ext
8622cat >>conftest.$ac_ext <<_ACEOF
8623/* end confdefs.h. */
8624$ac_includes_default
8625long longval () { return (long) (sizeof (int)); }
8626unsigned long ulongval () { return (long) (sizeof (int)); }
8627#include <stdio.h>
8628#include <stdlib.h>
8629int
8630main ()
8631{
8632
8633 FILE *f = fopen ("conftest.val", "w");
8634 if (! f)
8635 exit (1);
8636 if (((long) (sizeof (int))) < 0)
8637 {
8638 long i = longval ();
8639 if (i != ((long) (sizeof (int))))
8640 exit (1);
8641 fprintf (f, "%ld\n", i);
8642 }
8643 else
8644 {
8645 unsigned long i = ulongval ();
8646 if (i != ((long) (sizeof (int))))
8647 exit (1);
8648 fprintf (f, "%lu\n", i);
8649 }
8650 exit (ferror (f) || fclose (f) != 0);
8651
8652 ;
8653 return 0;
8654}
8655_ACEOF
8656rm -f conftest$ac_exeext
8657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8658 (eval $ac_link) 2>&5
8659 ac_status=$?
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 (eval $ac_try) 2>&5
8664 ac_status=$?
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); }; }; then
8667 ac_cv_sizeof_int=`cat conftest.val`
8668else
8669 echo "$as_me: program exited with status $ac_status" >&5
8670echo "$as_me: failed program was:" >&5
8671sed 's/^/| /' conftest.$ac_ext >&5
8672
8673( exit $ac_status )
8674{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8675See \`config.log' for more details." >&5
8676echo "$as_me: error: cannot compute sizeof (int), 77
8677See \`config.log' for more details." >&2;}
8678 { (exit 1); exit 1; }; }
8679fi
8680rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8681fi
8682fi
8683rm -f conftest.val
8684else
8685 ac_cv_sizeof_int=0
8686fi
8687fi
8688echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8689echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8690cat >>confdefs.h <<_ACEOF
8691#define SIZEOF_INT $ac_cv_sizeof_int
8692_ACEOF
8693
8694
8695 echo "$as_me:$LINENO: checking for short" >&5
8696echo $ECHO_N "checking for short... $ECHO_C" >&6
8697if test "${ac_cv_type_short+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8699else
8700 cat >conftest.$ac_ext <<_ACEOF
8701/* confdefs.h. */
8702_ACEOF
8703cat confdefs.h >>conftest.$ac_ext
8704cat >>conftest.$ac_ext <<_ACEOF
8705/* end confdefs.h. */
8706$ac_includes_default
8707int
8708main ()
8709{
8710if ((short *) 0)
8711 return 0;
8712if (sizeof (short))
8713 return 0;
8714 ;
8715 return 0;
8716}
8717_ACEOF
8718rm -f conftest.$ac_objext
8719if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8720 (eval $ac_compile) 2>conftest.er1
8721 ac_status=$?
8722 grep -v '^ *+' conftest.er1 >conftest.err
8723 rm -f conftest.er1
8724 cat conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } &&
57255173
PB
8727 { ac_try='test -z "$ac_c_werror_flag"
8728 || test ! -s conftest.err'
4c4b3eb0
PB
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 (eval $ac_try) 2>&5
8731 ac_status=$?
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; } &&
8734 { ac_try='test -s conftest.$ac_objext'
8735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736 (eval $ac_try) 2>&5
8737 ac_status=$?
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; }; then
8740 ac_cv_type_short=yes
8741else
8742 echo "$as_me: failed program was:" >&5
8743sed 's/^/| /' conftest.$ac_ext >&5
8744
8745ac_cv_type_short=no
8746fi
8747rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8748fi
8749echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8750echo "${ECHO_T}$ac_cv_type_short" >&6
8751
8752echo "$as_me:$LINENO: checking size of short" >&5
8753echo $ECHO_N "checking size of short... $ECHO_C" >&6
8754if test "${ac_cv_sizeof_short+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8756else
8757 if test "$ac_cv_type_short" = yes; then
8758 # The cast to unsigned long works around a bug in the HP C Compiler
8759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8761 # This bug is HP SR number 8606223364.
8762 if test "$cross_compiling" = yes; then
8763 # Depending upon the size, compute the lo and hi bounds.
8764cat >conftest.$ac_ext <<_ACEOF
8765/* confdefs.h. */
8766_ACEOF
8767cat confdefs.h >>conftest.$ac_ext
8768cat >>conftest.$ac_ext <<_ACEOF
8769/* end confdefs.h. */
8770$ac_includes_default
8771int
8772main ()
8773{
8774static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8775test_array [0] = 0
8776
8777 ;
8778 return 0;
8779}
8780_ACEOF
8781rm -f conftest.$ac_objext
8782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8783 (eval $ac_compile) 2>conftest.er1
8784 ac_status=$?
8785 grep -v '^ *+' conftest.er1 >conftest.err
8786 rm -f conftest.er1
8787 cat conftest.err >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); } &&
57255173
PB
8790 { ac_try='test -z "$ac_c_werror_flag"
8791 || test ! -s conftest.err'
4c4b3eb0
PB
8792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8793 (eval $ac_try) 2>&5
8794 ac_status=$?
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 (exit $ac_status); }; } &&
8797 { ac_try='test -s conftest.$ac_objext'
8798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799 (eval $ac_try) 2>&5
8800 ac_status=$?
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); }; }; then
8803 ac_lo=0 ac_mid=0
8804 while :; do
8805 cat >conftest.$ac_ext <<_ACEOF
8806/* confdefs.h. */
8807_ACEOF
8808cat confdefs.h >>conftest.$ac_ext
8809cat >>conftest.$ac_ext <<_ACEOF
8810/* end confdefs.h. */
8811$ac_includes_default
8812int
8813main ()
8814{
8815static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8816test_array [0] = 0
8817
8818 ;
8819 return 0;
8820}
8821_ACEOF
8822rm -f conftest.$ac_objext
8823if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8824 (eval $ac_compile) 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); } &&
57255173
PB
8831 { ac_try='test -z "$ac_c_werror_flag"
8832 || test ! -s conftest.err'
4c4b3eb0
PB
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_objext'
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
8844 ac_hi=$ac_mid; break
8845else
8846 echo "$as_me: failed program was:" >&5
8847sed 's/^/| /' conftest.$ac_ext >&5
8848
8849ac_lo=`expr $ac_mid + 1`
8850 if test $ac_lo -le $ac_mid; then
8851 ac_lo= ac_hi=
8852 break
8853 fi
8854 ac_mid=`expr 2 '*' $ac_mid + 1`
8855fi
8856rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8857 done
8858else
8859 echo "$as_me: failed program was:" >&5
8860sed 's/^/| /' conftest.$ac_ext >&5
8861
8862cat >conftest.$ac_ext <<_ACEOF
8863/* confdefs.h. */
8864_ACEOF
8865cat confdefs.h >>conftest.$ac_ext
8866cat >>conftest.$ac_ext <<_ACEOF
8867/* end confdefs.h. */
8868$ac_includes_default
8869int
8870main ()
8871{
8872static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8873test_array [0] = 0
8874
8875 ;
8876 return 0;
8877}
8878_ACEOF
8879rm -f conftest.$ac_objext
8880if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8881 (eval $ac_compile) 2>conftest.er1
8882 ac_status=$?
8883 grep -v '^ *+' conftest.er1 >conftest.err
8884 rm -f conftest.er1
8885 cat conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } &&
57255173
PB
8888 { ac_try='test -z "$ac_c_werror_flag"
8889 || test ! -s conftest.err'
4c4b3eb0
PB
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 (eval $ac_try) 2>&5
8892 ac_status=$?
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try='test -s conftest.$ac_objext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 (eval $ac_try) 2>&5
8898 ac_status=$?
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 ac_hi=-1 ac_mid=-1
8902 while :; do
8903 cat >conftest.$ac_ext <<_ACEOF
8904/* confdefs.h. */
8905_ACEOF
8906cat confdefs.h >>conftest.$ac_ext
8907cat >>conftest.$ac_ext <<_ACEOF
8908/* end confdefs.h. */
8909$ac_includes_default
8910int
8911main ()
8912{
8913static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8914test_array [0] = 0
8915
8916 ;
8917 return 0;
8918}
8919_ACEOF
8920rm -f conftest.$ac_objext
8921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8922 (eval $ac_compile) 2>conftest.er1
8923 ac_status=$?
8924 grep -v '^ *+' conftest.er1 >conftest.err
8925 rm -f conftest.er1
8926 cat conftest.err >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } &&
57255173
PB
8929 { ac_try='test -z "$ac_c_werror_flag"
8930 || test ! -s conftest.err'
4c4b3eb0
PB
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8932 (eval $ac_try) 2>&5
8933 ac_status=$?
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; } &&
8936 { ac_try='test -s conftest.$ac_objext'
8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8938 (eval $ac_try) 2>&5
8939 ac_status=$?
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; }; then
8942 ac_lo=$ac_mid; break
8943else
8944 echo "$as_me: failed program was:" >&5
8945sed 's/^/| /' conftest.$ac_ext >&5
8946
8947ac_hi=`expr '(' $ac_mid ')' - 1`
8948 if test $ac_mid -le $ac_hi; then
8949 ac_lo= ac_hi=
8950 break
8951 fi
8952 ac_mid=`expr 2 '*' $ac_mid`
8953fi
8954rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8955 done
8956else
8957 echo "$as_me: failed program was:" >&5
8958sed 's/^/| /' conftest.$ac_ext >&5
8959
8960ac_lo= ac_hi=
8961fi
8962rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8963fi
8964rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8965# Binary search between lo and hi bounds.
8966while test "x$ac_lo" != "x$ac_hi"; do
8967 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8968 cat >conftest.$ac_ext <<_ACEOF
8969/* confdefs.h. */
8970_ACEOF
8971cat confdefs.h >>conftest.$ac_ext
8972cat >>conftest.$ac_ext <<_ACEOF
8973/* end confdefs.h. */
8974$ac_includes_default
8975int
8976main ()
8977{
8978static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8979test_array [0] = 0
8980
8981 ;
8982 return 0;
8983}
8984_ACEOF
8985rm -f conftest.$ac_objext
8986if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8987 (eval $ac_compile) 2>conftest.er1
8988 ac_status=$?
8989 grep -v '^ *+' conftest.er1 >conftest.err
8990 rm -f conftest.er1
8991 cat conftest.err >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); } &&
57255173
PB
8994 { ac_try='test -z "$ac_c_werror_flag"
8995 || test ! -s conftest.err'
4c4b3eb0
PB
8996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8997 (eval $ac_try) 2>&5
8998 ac_status=$?
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; } &&
9001 { ac_try='test -s conftest.$ac_objext'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9003 (eval $ac_try) 2>&5
9004 ac_status=$?
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; }; then
9007 ac_hi=$ac_mid
9008else
9009 echo "$as_me: failed program was:" >&5
9010sed 's/^/| /' conftest.$ac_ext >&5
9011
9012ac_lo=`expr '(' $ac_mid ')' + 1`
9013fi
9014rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9015done
9016case $ac_lo in
9017?*) ac_cv_sizeof_short=$ac_lo;;
9018'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9019See \`config.log' for more details." >&5
9020echo "$as_me: error: cannot compute sizeof (short), 77
9021See \`config.log' for more details." >&2;}
9022 { (exit 1); exit 1; }; } ;;
9023esac
9024else
9025 if test "$cross_compiling" = yes; then
57255173
PB
9026 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9027See \`config.log' for more details." >&5
9028echo "$as_me: error: cannot run test program while cross compiling
9029See \`config.log' for more details." >&2;}
4c4b3eb0
PB
9030 { (exit 1); exit 1; }; }
9031else
9032 cat >conftest.$ac_ext <<_ACEOF
9033/* confdefs.h. */
9034_ACEOF
9035cat confdefs.h >>conftest.$ac_ext
9036cat >>conftest.$ac_ext <<_ACEOF
9037/* end confdefs.h. */
9038$ac_includes_default
9039long longval () { return (long) (sizeof (short)); }
9040unsigned long ulongval () { return (long) (sizeof (short)); }
9041#include <stdio.h>
9042#include <stdlib.h>
9043int
9044main ()
9045{
9046
9047 FILE *f = fopen ("conftest.val", "w");
9048 if (! f)
9049 exit (1);
9050 if (((long) (sizeof (short))) < 0)
9051 {
9052 long i = longval ();
9053 if (i != ((long) (sizeof (short))))
9054 exit (1);
9055 fprintf (f, "%ld\n", i);
9056 }
9057 else
9058 {
9059 unsigned long i = ulongval ();
9060 if (i != ((long) (sizeof (short))))
9061 exit (1);
9062 fprintf (f, "%lu\n", i);
9063 }
9064 exit (ferror (f) || fclose (f) != 0);
9065
9066 ;
9067 return 0;
9068}
9069_ACEOF
9070rm -f conftest$ac_exeext
9071if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9072 (eval $ac_link) 2>&5
9073 ac_status=$?
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5
9078 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; }; then
9081 ac_cv_sizeof_short=`cat conftest.val`
9082else
9083 echo "$as_me: program exited with status $ac_status" >&5
9084echo "$as_me: failed program was:" >&5
9085sed 's/^/| /' conftest.$ac_ext >&5
9086
9087( exit $ac_status )
9088{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9089See \`config.log' for more details." >&5
9090echo "$as_me: error: cannot compute sizeof (short), 77
9091See \`config.log' for more details." >&2;}
9092 { (exit 1); exit 1; }; }
9093fi
9094rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9095fi
9096fi
9097rm -f conftest.val
9098else
9099 ac_cv_sizeof_short=0
9100fi
9101fi
9102echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9103echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9104cat >>confdefs.h <<_ACEOF
9105#define SIZEOF_SHORT $ac_cv_sizeof_short
9106_ACEOF
9107
9108
9109 echo "$as_me:$LINENO: checking for char" >&5
9110echo $ECHO_N "checking for char... $ECHO_C" >&6
9111if test "${ac_cv_type_char+set}" = set; then
9112 echo $ECHO_N "(cached) $ECHO_C" >&6
9113else
9114 cat >conftest.$ac_ext <<_ACEOF
9115/* confdefs.h. */
9116_ACEOF
9117cat confdefs.h >>conftest.$ac_ext
9118cat >>conftest.$ac_ext <<_ACEOF
9119/* end confdefs.h. */
9120$ac_includes_default
9121int
9122main ()
9123{
9124if ((char *) 0)
9125 return 0;
9126if (sizeof (char))
9127 return 0;
9128 ;
9129 return 0;
9130}
9131_ACEOF
9132rm -f conftest.$ac_objext
9133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9134 (eval $ac_compile) 2>conftest.er1
9135 ac_status=$?
9136 grep -v '^ *+' conftest.er1 >conftest.err
9137 rm -f conftest.er1
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } &&
57255173
PB
9141 { ac_try='test -z "$ac_c_werror_flag"
9142 || test ! -s conftest.err'
4c4b3eb0
PB
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 (eval $ac_try) 2>&5
9145 ac_status=$?
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 (eval $ac_try) 2>&5
9151 ac_status=$?
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_cv_type_char=yes
9155else
9156 echo "$as_me: failed program was:" >&5
9157sed 's/^/| /' conftest.$ac_ext >&5
9158
9159ac_cv_type_char=no
9160fi
9161rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9162fi
9163echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9164echo "${ECHO_T}$ac_cv_type_char" >&6
9165
9166echo "$as_me:$LINENO: checking size of char" >&5
9167echo $ECHO_N "checking size of char... $ECHO_C" >&6
9168if test "${ac_cv_sizeof_char+set}" = set; then
9169 echo $ECHO_N "(cached) $ECHO_C" >&6
9170else
9171 if test "$ac_cv_type_char" = yes; then
9172 # The cast to unsigned long works around a bug in the HP C Compiler
9173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9175 # This bug is HP SR number 8606223364.
9176 if test "$cross_compiling" = yes; then
9177 # Depending upon the size, compute the lo and hi bounds.
9178cat >conftest.$ac_ext <<_ACEOF
9179/* confdefs.h. */
9180_ACEOF
9181cat confdefs.h >>conftest.$ac_ext
9182cat >>conftest.$ac_ext <<_ACEOF
9183/* end confdefs.h. */
9184$ac_includes_default
9185int
9186main ()
9187{
9188static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9189test_array [0] = 0
9190
9191 ;
9192 return 0;
9193}
9194_ACEOF
9195rm -f conftest.$ac_objext
9196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9197 (eval $ac_compile) 2>conftest.er1
9198 ac_status=$?
9199 grep -v '^ *+' conftest.er1 >conftest.err
9200 rm -f conftest.er1
9201 cat conftest.err >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } &&
57255173
PB
9204 { ac_try='test -z "$ac_c_werror_flag"
9205 || test ! -s conftest.err'
4c4b3eb0
PB
9206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 (eval $ac_try) 2>&5
9208 ac_status=$?
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); }; } &&
9211 { ac_try='test -s conftest.$ac_objext'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 (eval $ac_try) 2>&5
9214 ac_status=$?
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; }; then
9217 ac_lo=0 ac_mid=0
9218 while :; do
9219 cat >conftest.$ac_ext <<_ACEOF
9220/* confdefs.h. */
9221_ACEOF
9222cat confdefs.h >>conftest.$ac_ext
9223cat >>conftest.$ac_ext <<_ACEOF
9224/* end confdefs.h. */
9225$ac_includes_default
9226int
9227main ()
9228{
9229static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9230test_array [0] = 0
9231
9232 ;
9233 return 0;
9234}
9235_ACEOF
9236rm -f conftest.$ac_objext
9237if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9238 (eval $ac_compile) 2>conftest.er1
9239 ac_status=$?
9240 grep -v '^ *+' conftest.er1 >conftest.err
9241 rm -f conftest.er1
9242 cat conftest.err >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); } &&
57255173
PB
9245 { ac_try='test -z "$ac_c_werror_flag"
9246 || test ! -s conftest.err'
4c4b3eb0
PB
9247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 (eval $ac_try) 2>&5
9249 ac_status=$?
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); }; } &&
9252 { ac_try='test -s conftest.$ac_objext'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9254 (eval $ac_try) 2>&5
9255 ac_status=$?
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; }; then
9258 ac_hi=$ac_mid; break
9259else
9260 echo "$as_me: failed program was:" >&5
9261sed 's/^/| /' conftest.$ac_ext >&5
9262
9263ac_lo=`expr $ac_mid + 1`
9264 if test $ac_lo -le $ac_mid; then
9265 ac_lo= ac_hi=
9266 break
9267 fi
9268 ac_mid=`expr 2 '*' $ac_mid + 1`
9269fi
9270rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9271 done
9272else
9273 echo "$as_me: failed program was:" >&5
9274sed 's/^/| /' conftest.$ac_ext >&5
9275
9276cat >conftest.$ac_ext <<_ACEOF
9277/* confdefs.h. */
9278_ACEOF
9279cat confdefs.h >>conftest.$ac_ext
9280cat >>conftest.$ac_ext <<_ACEOF
9281/* end confdefs.h. */
9282$ac_includes_default
9283int
9284main ()
9285{
9286static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9287test_array [0] = 0
9288
9289 ;
9290 return 0;
9291}
9292_ACEOF
9293rm -f conftest.$ac_objext
9294if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9295 (eval $ac_compile) 2>conftest.er1
9296 ac_status=$?
9297 grep -v '^ *+' conftest.er1 >conftest.err
9298 rm -f conftest.er1
9299 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } &&
57255173
PB
9302 { ac_try='test -z "$ac_c_werror_flag"
9303 || test ! -s conftest.err'
4c4b3eb0
PB
9304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 (eval $ac_try) 2>&5
9306 ac_status=$?
9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 (exit $ac_status); }; } &&
9309 { ac_try='test -s conftest.$ac_objext'
9310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 (eval $ac_try) 2>&5
9312 ac_status=$?
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); }; }; then
9315 ac_hi=-1 ac_mid=-1
9316 while :; do
9317 cat >conftest.$ac_ext <<_ACEOF
9318/* confdefs.h. */
9319_ACEOF
9320cat confdefs.h >>conftest.$ac_ext
9321cat >>conftest.$ac_ext <<_ACEOF
9322/* end confdefs.h. */
9323$ac_includes_default
9324int
9325main ()
9326{
9327static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9328test_array [0] = 0
9329
9330 ;
9331 return 0;
9332}
9333_ACEOF
9334rm -f conftest.$ac_objext
9335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9336 (eval $ac_compile) 2>conftest.er1
9337 ac_status=$?
9338 grep -v '^ *+' conftest.er1 >conftest.err
9339 rm -f conftest.er1
9340 cat conftest.err >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } &&
57255173
PB
9343 { ac_try='test -z "$ac_c_werror_flag"
9344 || test ! -s conftest.err'
4c4b3eb0
PB
9345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9346 (eval $ac_try) 2>&5
9347 ac_status=$?
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); }; } &&
9350 { ac_try='test -s conftest.$ac_objext'
9351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9352 (eval $ac_try) 2>&5
9353 ac_status=$?
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); }; }; then
9356 ac_lo=$ac_mid; break
9357else
9358 echo "$as_me: failed program was:" >&5
9359sed 's/^/| /' conftest.$ac_ext >&5
9360
9361ac_hi=`expr '(' $ac_mid ')' - 1`
9362 if test $ac_mid -le $ac_hi; then
9363 ac_lo= ac_hi=
9364 break
9365 fi
9366 ac_mid=`expr 2 '*' $ac_mid`
9367fi
9368rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9369 done
9370else
9371 echo "$as_me: failed program was:" >&5
9372sed 's/^/| /' conftest.$ac_ext >&5
9373
9374ac_lo= ac_hi=
9375fi
9376rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9377fi
9378rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9379# Binary search between lo and hi bounds.
9380while test "x$ac_lo" != "x$ac_hi"; do
9381 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9382 cat >conftest.$ac_ext <<_ACEOF
9383/* confdefs.h. */
9384_ACEOF
9385cat confdefs.h >>conftest.$ac_ext
9386cat >>conftest.$ac_ext <<_ACEOF
9387/* end confdefs.h. */
9388$ac_includes_default
9389int
9390main ()
9391{
9392static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9393test_array [0] = 0
9394
9395 ;
9396 return 0;
9397}
9398_ACEOF
9399rm -f conftest.$ac_objext
9400if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9401 (eval $ac_compile) 2>conftest.er1
9402 ac_status=$?
9403 grep -v '^ *+' conftest.er1 >conftest.err
9404 rm -f conftest.er1
9405 cat conftest.err >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); } &&
57255173
PB
9408 { ac_try='test -z "$ac_c_werror_flag"
9409 || test ! -s conftest.err'
4c4b3eb0
PB
9410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9411 (eval $ac_try) 2>&5
9412 ac_status=$?
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); }; } &&
9415 { ac_try='test -s conftest.$ac_objext'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417 (eval $ac_try) 2>&5
9418 ac_status=$?
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; }; then
9421 ac_hi=$ac_mid
9422else
9423 echo "$as_me: failed program was:" >&5
9424sed 's/^/| /' conftest.$ac_ext >&5
9425
9426ac_lo=`expr '(' $ac_mid ')' + 1`
9427fi
9428rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9429done
9430case $ac_lo in
9431?*) ac_cv_sizeof_char=$ac_lo;;
9432'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9433See \`config.log' for more details." >&5
9434echo "$as_me: error: cannot compute sizeof (char), 77
9435See \`config.log' for more details." >&2;}
9436 { (exit 1); exit 1; }; } ;;
9437esac
9438else
9439 if test "$cross_compiling" = yes; then
57255173
PB
9440 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9441See \`config.log' for more details." >&5
9442echo "$as_me: error: cannot run test program while cross compiling
9443See \`config.log' for more details." >&2;}
4c4b3eb0
PB
9444 { (exit 1); exit 1; }; }
9445else
9446 cat >conftest.$ac_ext <<_ACEOF
9447/* confdefs.h. */
9448_ACEOF
9449cat confdefs.h >>conftest.$ac_ext
9450cat >>conftest.$ac_ext <<_ACEOF
9451/* end confdefs.h. */
9452$ac_includes_default
9453long longval () { return (long) (sizeof (char)); }
9454unsigned long ulongval () { return (long) (sizeof (char)); }
9455#include <stdio.h>
9456#include <stdlib.h>
9457int
9458main ()
9459{
9460
9461 FILE *f = fopen ("conftest.val", "w");
9462 if (! f)
9463 exit (1);
9464 if (((long) (sizeof (char))) < 0)
9465 {
9466 long i = longval ();
9467 if (i != ((long) (sizeof (char))))
9468 exit (1);
9469 fprintf (f, "%ld\n", i);
9470 }
9471 else
9472 {
9473 unsigned long i = ulongval ();
9474 if (i != ((long) (sizeof (char))))
9475 exit (1);
9476 fprintf (f, "%lu\n", i);
9477 }
9478 exit (ferror (f) || fclose (f) != 0);
9479
9480 ;
9481 return 0;
9482}
9483_ACEOF
9484rm -f conftest$ac_exeext
9485if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>&5
9487 ac_status=$?
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9491 (eval $ac_try) 2>&5
9492 ac_status=$?
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; }; then
9495 ac_cv_sizeof_char=`cat conftest.val`
9496else
9497 echo "$as_me: program exited with status $ac_status" >&5
9498echo "$as_me: failed program was:" >&5
9499sed 's/^/| /' conftest.$ac_ext >&5
9500
9501( exit $ac_status )
9502{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9503See \`config.log' for more details." >&5
9504echo "$as_me: error: cannot compute sizeof (char), 77
9505See \`config.log' for more details." >&2;}
9506 { (exit 1); exit 1; }; }
9507fi
9508rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9509fi
9510fi
9511rm -f conftest.val
9512else
9513 ac_cv_sizeof_char=0
9514fi
9515fi
9516echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9517echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9518cat >>confdefs.h <<_ACEOF
9519#define SIZEOF_CHAR $ac_cv_sizeof_char
9520_ACEOF
9521
9522
9523
9524 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9525echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9526 case "$ac_cv_sizeof_char" in
9527 1) acx_cv_type_int8_t=char ;;
9528 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9529echo "$as_me: error: no 8-bit type" >&2;}
9530 { (exit please report a bug); exit please report a bug; }; }
9531 esac
9532 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9533echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9534
9535 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9536echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9537 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9538 2:*) acx_cv_type_int16_t=int ;;
9539 *:2) acx_cv_type_int16_t=short ;;
9540 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9541echo "$as_me: error: no 16-bit type" >&2;}
9542 { (exit please report a bug); exit please report a bug; }; }
9543 esac
9544 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9545echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9546
9547 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9548echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9549 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9550 4:*) acx_cv_type_int32_t=int ;;
9551 *:4) acx_cv_type_int32_t=long ;;
9552 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9553echo "$as_me: error: no 32-bit type" >&2;}
9554 { (exit please report a bug); exit please report a bug; }; }
9555 esac
9556 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9557echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9558fi
9559
9560# These tests are here to make the output prettier
9561
9562if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9563 case "$ac_cv_sizeof_long" in
9564 8) acx_cv_type_int64_t=long ;;
9565 esac
9566 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9567echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9568 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9569echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9570fi
9571
9572# Now we can use the above types
9573
9574if test "$ac_cv_type_uintptr_t" != yes; then
9575 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9576echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9577 case $ac_cv_sizeof_void_p in
9578 2) acx_cv_type_intptr_t=int16_t ;;
9579 4) acx_cv_type_intptr_t=int32_t ;;
9580 8) acx_cv_type_intptr_t=int64_t ;;
9581 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9582echo "$as_me: error: no equivalent for intptr_t" >&2;}
9583 { (exit please report a bug); exit please report a bug; }; }
9584 esac
9585 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9586echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9587fi
9588
9589# ----------------- done all checks, emit header -------------
9590 ac_config_commands="$ac_config_commands gstdint.h"
9591
9592
9593
9594
df65f093
SK
9595echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9596echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9597if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9599else
9600 cat >conftest.$ac_ext <<_ACEOF
9601/* confdefs.h. */
9602_ACEOF
9603cat confdefs.h >>conftest.$ac_ext
9604cat >>conftest.$ac_ext <<_ACEOF
9605/* end confdefs.h. */
9606$ac_includes_default
9607int
9608main ()
9609{
9610static struct stat ac_aggr;
9611if (ac_aggr.st_blksize)
9612return 0;
9613 ;
9614 return 0;
9615}
9616_ACEOF
9617rm -f conftest.$ac_objext
9618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9619 (eval $ac_compile) 2>conftest.er1
9620 ac_status=$?
9621 grep -v '^ *+' conftest.er1 >conftest.err
9622 rm -f conftest.er1
9623 cat conftest.err >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); } &&
57255173
PB
9626 { ac_try='test -z "$ac_c_werror_flag"
9627 || test ! -s conftest.err'
df65f093
SK
9628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 (eval $ac_try) 2>&5
9630 ac_status=$?
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); }; } &&
9633 { ac_try='test -s conftest.$ac_objext'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 (eval $ac_try) 2>&5
9636 ac_status=$?
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; }; then
9639 ac_cv_member_struct_stat_st_blksize=yes
9640else
9641 echo "$as_me: failed program was:" >&5
9642sed 's/^/| /' conftest.$ac_ext >&5
9643
9644cat >conftest.$ac_ext <<_ACEOF
9645/* confdefs.h. */
9646_ACEOF
9647cat confdefs.h >>conftest.$ac_ext
9648cat >>conftest.$ac_ext <<_ACEOF
9649/* end confdefs.h. */
9650$ac_includes_default
9651int
9652main ()
9653{
9654static struct stat ac_aggr;
9655if (sizeof ac_aggr.st_blksize)
9656return 0;
9657 ;
9658 return 0;
9659}
9660_ACEOF
9661rm -f conftest.$ac_objext
9662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9663 (eval $ac_compile) 2>conftest.er1
9664 ac_status=$?
9665 grep -v '^ *+' conftest.er1 >conftest.err
9666 rm -f conftest.er1
9667 cat conftest.err >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); } &&
57255173
PB
9670 { ac_try='test -z "$ac_c_werror_flag"
9671 || test ! -s conftest.err'
df65f093
SK
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9673 (eval $ac_try) 2>&5
9674 ac_status=$?
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; } &&
9677 { ac_try='test -s conftest.$ac_objext'
9678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679 (eval $ac_try) 2>&5
9680 ac_status=$?
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); }; }; then
9683 ac_cv_member_struct_stat_st_blksize=yes
9684else
9685 echo "$as_me: failed program was:" >&5
9686sed 's/^/| /' conftest.$ac_ext >&5
9687
9688ac_cv_member_struct_stat_st_blksize=no
9689fi
9690rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9691fi
9692rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9693fi
9694echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9695echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9696if test $ac_cv_member_struct_stat_st_blksize = yes; then
9697
9698cat >>confdefs.h <<_ACEOF
9699#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9700_ACEOF
9701
9702
9703fi
9704
9705echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9706echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9707if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9708 echo $ECHO_N "(cached) $ECHO_C" >&6
9709else
9710 cat >conftest.$ac_ext <<_ACEOF
9711/* confdefs.h. */
9712_ACEOF
9713cat confdefs.h >>conftest.$ac_ext
9714cat >>conftest.$ac_ext <<_ACEOF
9715/* end confdefs.h. */
9716$ac_includes_default
9717int
9718main ()
9719{
9720static struct stat ac_aggr;
9721if (ac_aggr.st_blocks)
9722return 0;
9723 ;
9724 return 0;
9725}
9726_ACEOF
9727rm -f conftest.$ac_objext
9728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9729 (eval $ac_compile) 2>conftest.er1
9730 ac_status=$?
9731 grep -v '^ *+' conftest.er1 >conftest.err
9732 rm -f conftest.er1
9733 cat conftest.err >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); } &&
57255173
PB
9736 { ac_try='test -z "$ac_c_werror_flag"
9737 || test ! -s conftest.err'
df65f093
SK
9738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9739 (eval $ac_try) 2>&5
9740 ac_status=$?
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; } &&
9743 { ac_try='test -s conftest.$ac_objext'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9745 (eval $ac_try) 2>&5
9746 ac_status=$?
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; }; then
9749 ac_cv_member_struct_stat_st_blocks=yes
9750else
9751 echo "$as_me: failed program was:" >&5
9752sed 's/^/| /' conftest.$ac_ext >&5
9753
9754cat >conftest.$ac_ext <<_ACEOF
9755/* confdefs.h. */
9756_ACEOF
9757cat confdefs.h >>conftest.$ac_ext
9758cat >>conftest.$ac_ext <<_ACEOF
9759/* end confdefs.h. */
9760$ac_includes_default
9761int
9762main ()
9763{
9764static struct stat ac_aggr;
9765if (sizeof ac_aggr.st_blocks)
9766return 0;
9767 ;
9768 return 0;
9769}
9770_ACEOF
9771rm -f conftest.$ac_objext
9772if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9773 (eval $ac_compile) 2>conftest.er1
9774 ac_status=$?
9775 grep -v '^ *+' conftest.er1 >conftest.err
9776 rm -f conftest.er1
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
57255173
PB
9780 { ac_try='test -z "$ac_c_werror_flag"
9781 || test ! -s conftest.err'
df65f093
SK
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9783 (eval $ac_try) 2>&5
9784 ac_status=$?
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try='test -s conftest.$ac_objext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9789 (eval $ac_try) 2>&5
9790 ac_status=$?
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9793 ac_cv_member_struct_stat_st_blocks=yes
9794else
9795 echo "$as_me: failed program was:" >&5
9796sed 's/^/| /' conftest.$ac_ext >&5
9797
9798ac_cv_member_struct_stat_st_blocks=no
9799fi
9800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9801fi
9802rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9803fi
9804echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9805echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9806if test $ac_cv_member_struct_stat_st_blocks = yes; then
9807
9808cat >>confdefs.h <<_ACEOF
9809#define HAVE_STRUCT_STAT_ST_BLOCKS 1
9810_ACEOF
9811
9812
9813fi
9814
9815echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9816echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9817if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9819else
9820 cat >conftest.$ac_ext <<_ACEOF
9821/* confdefs.h. */
9822_ACEOF
9823cat confdefs.h >>conftest.$ac_ext
9824cat >>conftest.$ac_ext <<_ACEOF
9825/* end confdefs.h. */
9826$ac_includes_default
9827int
9828main ()
9829{
9830static struct stat ac_aggr;
9831if (ac_aggr.st_rdev)
9832return 0;
9833 ;
9834 return 0;
9835}
9836_ACEOF
9837rm -f conftest.$ac_objext
9838if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9839 (eval $ac_compile) 2>conftest.er1
9840 ac_status=$?
9841 grep -v '^ *+' conftest.er1 >conftest.err
9842 rm -f conftest.er1
9843 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
57255173
PB
9846 { ac_try='test -z "$ac_c_werror_flag"
9847 || test ! -s conftest.err'
df65f093
SK
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9849 (eval $ac_try) 2>&5
9850 ac_status=$?
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; } &&
9853 { ac_try='test -s conftest.$ac_objext'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 (eval $ac_try) 2>&5
9856 ac_status=$?
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; }; then
9859 ac_cv_member_struct_stat_st_rdev=yes
9860else
9861 echo "$as_me: failed program was:" >&5
9862sed 's/^/| /' conftest.$ac_ext >&5
9863
9864cat >conftest.$ac_ext <<_ACEOF
9865/* confdefs.h. */
9866_ACEOF
9867cat confdefs.h >>conftest.$ac_ext
9868cat >>conftest.$ac_ext <<_ACEOF
9869/* end confdefs.h. */
9870$ac_includes_default
9871int
9872main ()
9873{
9874static struct stat ac_aggr;
9875if (sizeof ac_aggr.st_rdev)
9876return 0;
9877 ;
9878 return 0;
9879}
9880_ACEOF
9881rm -f conftest.$ac_objext
9882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9883 (eval $ac_compile) 2>conftest.er1
9884 ac_status=$?
9885 grep -v '^ *+' conftest.er1 >conftest.err
9886 rm -f conftest.er1
9887 cat conftest.err >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); } &&
57255173
PB
9890 { ac_try='test -z "$ac_c_werror_flag"
9891 || test ! -s conftest.err'
df65f093
SK
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9893 (eval $ac_try) 2>&5
9894 ac_status=$?
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; } &&
9897 { ac_try='test -s conftest.$ac_objext'
9898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899 (eval $ac_try) 2>&5
9900 ac_status=$?
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; }; then
9903 ac_cv_member_struct_stat_st_rdev=yes
9904else
9905 echo "$as_me: failed program was:" >&5
9906sed 's/^/| /' conftest.$ac_ext >&5
9907
9908ac_cv_member_struct_stat_st_rdev=no
9909fi
9910rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9911fi
9912rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9913fi
9914echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9915echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9916if test $ac_cv_member_struct_stat_st_rdev = yes; then
9917
9918cat >>confdefs.h <<_ACEOF
9919#define HAVE_STRUCT_STAT_ST_RDEV 1
9920_ACEOF
9921
9922
9923fi
9924
9925
96b8a615
AJ
9926# Check for library functions.
9927
9928
41724e6a 9929
2cbcdeba 9930
3969c39f 9931
1fb2002d
FXC
9932
9933
32aa3bff
FXC
9934
9935for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
96b8a615
AJ
9936do
9937as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9938echo "$as_me:$LINENO: checking for $ac_func" >&5
9939echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9940if eval "test \"\${$as_ac_var+set}\" = set"; then
6de9cd9a
DN
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9942else
f02d008e
JD
9943 if test x$gcc_no_link = xyes; then
9944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9945echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9946 { (exit 1); exit 1; }; }
9947fi
9948cat >conftest.$ac_ext <<_ACEOF
f77b6ca3
FXC
9949/* confdefs.h. */
9950_ACEOF
9951cat confdefs.h >>conftest.$ac_ext
9952cat >>conftest.$ac_ext <<_ACEOF
9953/* end confdefs.h. */
9954/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9956#define $ac_func innocuous_$ac_func
9957
9958/* System header to define __stub macros and hopefully few prototypes,
9959 which can conflict with char $ac_func (); below.
9960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9961 <limits.h> exists even on freestanding compilers. */
9962
9963#ifdef __STDC__
9964# include <limits.h>
9965#else
9966# include <assert.h>
9967#endif
9968
9969#undef $ac_func
9970
9971/* Override any gcc2 internal prototype to avoid an error. */
9972#ifdef __cplusplus
9973extern "C"
9974{
9975#endif
9976/* We use char because int might match the return type of a gcc2
9977 builtin and then its argument prototype would still apply. */
9978char $ac_func ();
9979/* The GNU C library defines this for functions which it implements
9980 to always fail with ENOSYS. Some functions are actually named
9981 something starting with __ and the normal name is an alias. */
9982#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9983choke me
9984#else
9985char (*f) () = $ac_func;
9986#endif
9987#ifdef __cplusplus
9988}
9989#endif
9990
9991int
9992main ()
9993{
9994return f != $ac_func;
9995 ;
9996 return 0;
9997}
9998_ACEOF
9999rm -f conftest.$ac_objext conftest$ac_exeext
10000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10001 (eval $ac_link) 2>conftest.er1
10002 ac_status=$?
10003 grep -v '^ *+' conftest.er1 >conftest.err
10004 rm -f conftest.er1
10005 cat conftest.err >&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } &&
57255173
PB
10008 { ac_try='test -z "$ac_c_werror_flag"
10009 || test ! -s conftest.err'
f77b6ca3
FXC
10010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011 (eval $ac_try) 2>&5
10012 ac_status=$?
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); }; } &&
10015 { ac_try='test -s conftest$ac_exeext'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10018 ac_status=$?
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; }; then
10021 eval "$as_ac_var=yes"
10022else
10023 echo "$as_me: failed program was:" >&5
10024sed 's/^/| /' conftest.$ac_ext >&5
10025
10026eval "$as_ac_var=no"
d49ec2d1 10027fi
f77b6ca3
FXC
10028rm -f conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030fi
10031echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10032echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10033if test `eval echo '${'$as_ac_var'}'` = yes; then
10034 cat >>confdefs.h <<_ACEOF
10035#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10036_ACEOF
10037
10038fi
10039done
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049for ac_func in chdir strerror getlogin gethostname kill link symlink perror
10050do
10051as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10052echo "$as_me:$LINENO: checking for $ac_func" >&5
10053echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10054if eval "test \"\${$as_ac_var+set}\" = set"; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10056else
f02d008e
JD
10057 if test x$gcc_no_link = xyes; then
10058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10059echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10060 { (exit 1); exit 1; }; }
10061fi
10062cat >conftest.$ac_ext <<_ACEOF
96b8a615
AJ
10063/* confdefs.h. */
10064_ACEOF
10065cat confdefs.h >>conftest.$ac_ext
10066cat >>conftest.$ac_ext <<_ACEOF
10067/* end confdefs.h. */
10068/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10070#define $ac_func innocuous_$ac_func
6de9cd9a 10071
96b8a615
AJ
10072/* System header to define __stub macros and hopefully few prototypes,
10073 which can conflict with char $ac_func (); below.
10074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10075 <limits.h> exists even on freestanding compilers. */
6de9cd9a 10076
96b8a615
AJ
10077#ifdef __STDC__
10078# include <limits.h>
10079#else
10080# include <assert.h>
10081#endif
6de9cd9a 10082
96b8a615
AJ
10083#undef $ac_func
10084
10085/* Override any gcc2 internal prototype to avoid an error. */
10086#ifdef __cplusplus
10087extern "C"
10088{
10089#endif
10090/* We use char because int might match the return type of a gcc2
10091 builtin and then its argument prototype would still apply. */
10092char $ac_func ();
10093/* The GNU C library defines this for functions which it implements
10094 to always fail with ENOSYS. Some functions are actually named
10095 something starting with __ and the normal name is an alias. */
10096#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10097choke me
10098#else
10099char (*f) () = $ac_func;
10100#endif
10101#ifdef __cplusplus
10102}
10103#endif
10104
10105int
10106main ()
10107{
10108return f != $ac_func;
10109 ;
10110 return 0;
10111}
10112_ACEOF
10113rm -f conftest.$ac_objext conftest$ac_exeext
10114if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10115 (eval $ac_link) 2>conftest.er1
10116 ac_status=$?
10117 grep -v '^ *+' conftest.er1 >conftest.err
10118 rm -f conftest.er1
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } &&
57255173
PB
10122 { ac_try='test -z "$ac_c_werror_flag"
10123 || test ! -s conftest.err'
f77b6ca3
FXC
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10126 ac_status=$?
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; } &&
10129 { ac_try='test -s conftest$ac_exeext'
10130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10131 (eval $ac_try) 2>&5
10132 ac_status=$?
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); }; }; then
10135 eval "$as_ac_var=yes"
10136else
10137 echo "$as_me: failed program was:" >&5
10138sed 's/^/| /' conftest.$ac_ext >&5
10139
10140eval "$as_ac_var=no"
10141fi
10142rm -f conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144fi
10145echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10146echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10147if test `eval echo '${'$as_ac_var'}'` = yes; then
10148 cat >>confdefs.h <<_ACEOF
10149#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10150_ACEOF
10151
10152fi
10153done
10154
10155
10156
8845001b 10157
185d7d97
FXC
10158
10159
35059811 10160
bf3fb7e4 10161
a119fc1c
FXC
10162
10163
10164
10165for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
10166do
10167as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10168echo "$as_me:$LINENO: checking for $ac_func" >&5
10169echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10170if eval "test \"\${$as_ac_var+set}\" = set"; then
10171 echo $ECHO_N "(cached) $ECHO_C" >&6
10172else
10173 if test x$gcc_no_link = xyes; then
10174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10175echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10176 { (exit 1); exit 1; }; }
10177fi
10178cat >conftest.$ac_ext <<_ACEOF
10179/* confdefs.h. */
10180_ACEOF
10181cat confdefs.h >>conftest.$ac_ext
10182cat >>conftest.$ac_ext <<_ACEOF
10183/* end confdefs.h. */
10184/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10186#define $ac_func innocuous_$ac_func
10187
10188/* System header to define __stub macros and hopefully few prototypes,
10189 which can conflict with char $ac_func (); below.
10190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10191 <limits.h> exists even on freestanding compilers. */
10192
10193#ifdef __STDC__
10194# include <limits.h>
10195#else
10196# include <assert.h>
10197#endif
10198
10199#undef $ac_func
10200
10201/* Override any gcc2 internal prototype to avoid an error. */
10202#ifdef __cplusplus
10203extern "C"
10204{
10205#endif
10206/* We use char because int might match the return type of a gcc2
10207 builtin and then its argument prototype would still apply. */
10208char $ac_func ();
10209/* The GNU C library defines this for functions which it implements
10210 to always fail with ENOSYS. Some functions are actually named
10211 something starting with __ and the normal name is an alias. */
10212#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10213choke me
10214#else
10215char (*f) () = $ac_func;
10216#endif
10217#ifdef __cplusplus
10218}
10219#endif
10220
10221int
10222main ()
10223{
10224return f != $ac_func;
10225 ;
10226 return 0;
10227}
10228_ACEOF
10229rm -f conftest.$ac_objext conftest$ac_exeext
10230if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10231 (eval $ac_link) 2>conftest.er1
10232 ac_status=$?
10233 grep -v '^ *+' conftest.er1 >conftest.err
10234 rm -f conftest.er1
10235 cat conftest.err >&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } &&
10238 { ac_try='test -z "$ac_c_werror_flag"
10239 || test ! -s conftest.err'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10242 ac_status=$?
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; } &&
10245 { ac_try='test -s conftest$ac_exeext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10248 ac_status=$?
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 eval "$as_ac_var=yes"
10252else
10253 echo "$as_me: failed program was:" >&5
10254sed 's/^/| /' conftest.$ac_ext >&5
10255
10256eval "$as_ac_var=no"
10257fi
10258rm -f conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260fi
10261echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10262echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10263if test `eval echo '${'$as_ac_var'}'` = yes; then
10264 cat >>confdefs.h <<_ACEOF
10265#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10266_ACEOF
10267
10268fi
10269done
10270
10271
28f8c9e9 10272
eedeea04
FXC
10273
10274for ac_func in wait setmode getrlimit
f77b6ca3
FXC
10275do
10276as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10277echo "$as_me:$LINENO: checking for $ac_func" >&5
10278echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10279if eval "test \"\${$as_ac_var+set}\" = set"; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10281else
f02d008e
JD
10282 if test x$gcc_no_link = xyes; then
10283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10284echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10285 { (exit 1); exit 1; }; }
10286fi
10287cat >conftest.$ac_ext <<_ACEOF
f77b6ca3
FXC
10288/* confdefs.h. */
10289_ACEOF
10290cat confdefs.h >>conftest.$ac_ext
10291cat >>conftest.$ac_ext <<_ACEOF
10292/* end confdefs.h. */
10293/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10295#define $ac_func innocuous_$ac_func
10296
10297/* System header to define __stub macros and hopefully few prototypes,
10298 which can conflict with char $ac_func (); below.
10299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10300 <limits.h> exists even on freestanding compilers. */
10301
10302#ifdef __STDC__
10303# include <limits.h>
10304#else
10305# include <assert.h>
10306#endif
10307
10308#undef $ac_func
10309
10310/* Override any gcc2 internal prototype to avoid an error. */
10311#ifdef __cplusplus
10312extern "C"
10313{
10314#endif
10315/* We use char because int might match the return type of a gcc2
10316 builtin and then its argument prototype would still apply. */
10317char $ac_func ();
10318/* The GNU C library defines this for functions which it implements
10319 to always fail with ENOSYS. Some functions are actually named
10320 something starting with __ and the normal name is an alias. */
10321#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10322choke me
10323#else
10324char (*f) () = $ac_func;
10325#endif
10326#ifdef __cplusplus
10327}
10328#endif
10329
10330int
10331main ()
10332{
10333return f != $ac_func;
10334 ;
10335 return 0;
10336}
10337_ACEOF
10338rm -f conftest.$ac_objext conftest$ac_exeext
10339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10340 (eval $ac_link) 2>conftest.er1
10341 ac_status=$?
10342 grep -v '^ *+' conftest.er1 >conftest.err
10343 rm -f conftest.er1
10344 cat conftest.err >&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); } &&
57255173
PB
10347 { ac_try='test -z "$ac_c_werror_flag"
10348 || test ! -s conftest.err'
96b8a615
AJ
10349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10350 (eval $ac_try) 2>&5
10351 ac_status=$?
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); }; } &&
10354 { ac_try='test -s conftest$ac_exeext'
10355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10356 (eval $ac_try) 2>&5
10357 ac_status=$?
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; }; then
10360 eval "$as_ac_var=yes"
6de9cd9a 10361else
96b8a615
AJ
10362 echo "$as_me: failed program was:" >&5
10363sed 's/^/| /' conftest.$ac_ext >&5
10364
10365eval "$as_ac_var=no"
10366fi
10367rm -f conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
6de9cd9a 10369fi
96b8a615
AJ
10370echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10371echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10372if test `eval echo '${'$as_ac_var'}'` = yes; then
10373 cat >>confdefs.h <<_ACEOF
10374#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10375_ACEOF
6de9cd9a 10376
6de9cd9a 10377fi
96b8a615 10378done
6de9cd9a 10379
6de9cd9a 10380
28f8c9e9
FXC
10381# Check for types
10382echo "$as_me:$LINENO: checking for intptr_t" >&5
10383echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10384if test "${ac_cv_type_intptr_t+set}" = set; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10386else
10387 cat >conftest.$ac_ext <<_ACEOF
10388/* confdefs.h. */
10389_ACEOF
10390cat confdefs.h >>conftest.$ac_ext
10391cat >>conftest.$ac_ext <<_ACEOF
10392/* end confdefs.h. */
10393$ac_includes_default
10394int
10395main ()
10396{
10397if ((intptr_t *) 0)
10398 return 0;
10399if (sizeof (intptr_t))
10400 return 0;
10401 ;
10402 return 0;
10403}
10404_ACEOF
10405rm -f conftest.$ac_objext
10406if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10407 (eval $ac_compile) 2>conftest.er1
10408 ac_status=$?
10409 grep -v '^ *+' conftest.er1 >conftest.err
10410 rm -f conftest.er1
10411 cat conftest.err >&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); } &&
10414 { ac_try='test -z "$ac_c_werror_flag"
10415 || test ! -s conftest.err'
10416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10417 (eval $ac_try) 2>&5
10418 ac_status=$?
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; } &&
10421 { ac_try='test -s conftest.$ac_objext'
10422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423 (eval $ac_try) 2>&5
10424 ac_status=$?
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); }; }; then
10427 ac_cv_type_intptr_t=yes
10428else
10429 echo "$as_me: failed program was:" >&5
10430sed 's/^/| /' conftest.$ac_ext >&5
10431
10432ac_cv_type_intptr_t=no
10433fi
10434rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10435fi
10436echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10437echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10438if test $ac_cv_type_intptr_t = yes; then
10439
10440cat >>confdefs.h <<_ACEOF
10441#define HAVE_INTPTR_T 1
10442_ACEOF
10443
10444
10445fi
10446
10447
4c0c6b9f
SK
10448# Check libc for getgid, getpid, getuid
10449echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10450echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10451if test "${ac_cv_lib_c_getgid+set}" = set; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10453else
10454 ac_check_lib_save_LIBS=$LIBS
10455LIBS="-lc $LIBS"
f02d008e
JD
10456if test x$gcc_no_link = xyes; then
10457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10458echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10459 { (exit 1); exit 1; }; }
10460fi
4c0c6b9f
SK
10461cat >conftest.$ac_ext <<_ACEOF
10462/* confdefs.h. */
10463_ACEOF
10464cat confdefs.h >>conftest.$ac_ext
10465cat >>conftest.$ac_ext <<_ACEOF
10466/* end confdefs.h. */
10467
10468/* Override any gcc2 internal prototype to avoid an error. */
10469#ifdef __cplusplus
10470extern "C"
10471#endif
10472/* We use char because int might match the return type of a gcc2
10473 builtin and then its argument prototype would still apply. */
10474char getgid ();
10475int
10476main ()
10477{
10478getgid ();
10479 ;
10480 return 0;
10481}
10482_ACEOF
10483rm -f conftest.$ac_objext conftest$ac_exeext
10484if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10485 (eval $ac_link) 2>conftest.er1
10486 ac_status=$?
10487 grep -v '^ *+' conftest.er1 >conftest.err
10488 rm -f conftest.er1
10489 cat conftest.err >&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } &&
57255173
PB
10492 { ac_try='test -z "$ac_c_werror_flag"
10493 || test ! -s conftest.err'
4c0c6b9f
SK
10494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10495 (eval $ac_try) 2>&5
10496 ac_status=$?
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); }; } &&
10499 { ac_try='test -s conftest$ac_exeext'
10500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501 (eval $ac_try) 2>&5
10502 ac_status=$?
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; }; then
10505 ac_cv_lib_c_getgid=yes
10506else
10507 echo "$as_me: failed program was:" >&5
10508sed 's/^/| /' conftest.$ac_ext >&5
10509
10510ac_cv_lib_c_getgid=no
10511fi
10512rm -f conftest.err conftest.$ac_objext \
10513 conftest$ac_exeext conftest.$ac_ext
10514LIBS=$ac_check_lib_save_LIBS
10515fi
10516echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10517echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10518if test $ac_cv_lib_c_getgid = yes; then
10519
10520cat >>confdefs.h <<\_ACEOF
10521#define HAVE_GETGID 1
10522_ACEOF
10523
10524fi
10525
10526echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10527echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10528if test "${ac_cv_lib_c_getpid+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10530else
10531 ac_check_lib_save_LIBS=$LIBS
10532LIBS="-lc $LIBS"
f02d008e
JD
10533if test x$gcc_no_link = xyes; then
10534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10535echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10536 { (exit 1); exit 1; }; }
10537fi
4c0c6b9f
SK
10538cat >conftest.$ac_ext <<_ACEOF
10539/* confdefs.h. */
10540_ACEOF
10541cat confdefs.h >>conftest.$ac_ext
10542cat >>conftest.$ac_ext <<_ACEOF
10543/* end confdefs.h. */
10544
10545/* Override any gcc2 internal prototype to avoid an error. */
10546#ifdef __cplusplus
10547extern "C"
10548#endif
10549/* We use char because int might match the return type of a gcc2
10550 builtin and then its argument prototype would still apply. */
10551char getpid ();
10552int
10553main ()
10554{
10555getpid ();
10556 ;
10557 return 0;
10558}
10559_ACEOF
10560rm -f conftest.$ac_objext conftest$ac_exeext
10561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10562 (eval $ac_link) 2>conftest.er1
10563 ac_status=$?
10564 grep -v '^ *+' conftest.er1 >conftest.err
10565 rm -f conftest.er1
10566 cat conftest.err >&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); } &&
57255173
PB
10569 { ac_try='test -z "$ac_c_werror_flag"
10570 || test ! -s conftest.err'
4c0c6b9f
SK
10571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572 (eval $ac_try) 2>&5
10573 ac_status=$?
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); }; } &&
10576 { ac_try='test -s conftest$ac_exeext'
10577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578 (eval $ac_try) 2>&5
10579 ac_status=$?
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); }; }; then
10582 ac_cv_lib_c_getpid=yes
10583else
10584 echo "$as_me: failed program was:" >&5
10585sed 's/^/| /' conftest.$ac_ext >&5
10586
10587ac_cv_lib_c_getpid=no
10588fi
10589rm -f conftest.err conftest.$ac_objext \
10590 conftest$ac_exeext conftest.$ac_ext
10591LIBS=$ac_check_lib_save_LIBS
10592fi
10593echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10594echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10595if test $ac_cv_lib_c_getpid = yes; then
10596
10597cat >>confdefs.h <<\_ACEOF
10598#define HAVE_GETPID 1
10599_ACEOF
10600
10601fi
10602
10603echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10604echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10605if test "${ac_cv_lib_c_getuid+set}" = set; then
10606 echo $ECHO_N "(cached) $ECHO_C" >&6
10607else
10608 ac_check_lib_save_LIBS=$LIBS
10609LIBS="-lc $LIBS"
f02d008e
JD
10610if test x$gcc_no_link = xyes; then
10611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10612echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10613 { (exit 1); exit 1; }; }
10614fi
4c0c6b9f
SK
10615cat >conftest.$ac_ext <<_ACEOF
10616/* confdefs.h. */
10617_ACEOF
10618cat confdefs.h >>conftest.$ac_ext
10619cat >>conftest.$ac_ext <<_ACEOF
10620/* end confdefs.h. */
10621
10622/* Override any gcc2 internal prototype to avoid an error. */
10623#ifdef __cplusplus
10624extern "C"
10625#endif
10626/* We use char because int might match the return type of a gcc2
10627 builtin and then its argument prototype would still apply. */
10628char getuid ();
10629int
10630main ()
10631{
10632getuid ();
10633 ;
10634 return 0;
10635}
10636_ACEOF
10637rm -f conftest.$ac_objext conftest$ac_exeext
10638if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10639 (eval $ac_link) 2>conftest.er1
10640 ac_status=$?
10641 grep -v '^ *+' conftest.er1 >conftest.err
10642 rm -f conftest.er1
10643 cat conftest.err >&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } &&
57255173
PB
10646 { ac_try='test -z "$ac_c_werror_flag"
10647 || test ! -s conftest.err'
4c0c6b9f
SK
10648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10649 (eval $ac_try) 2>&5
10650 ac_status=$?
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; } &&
10653 { ac_try='test -s conftest$ac_exeext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10656 ac_status=$?
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 ac_cv_lib_c_getuid=yes
10660else
10661 echo "$as_me: failed program was:" >&5
10662sed 's/^/| /' conftest.$ac_ext >&5
10663
10664ac_cv_lib_c_getuid=no
10665fi
10666rm -f conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668LIBS=$ac_check_lib_save_LIBS
10669fi
10670echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10671echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10672if test $ac_cv_lib_c_getuid = yes; then
10673
10674cat >>confdefs.h <<\_ACEOF
10675#define HAVE_GETUID 1
10676_ACEOF
10677
10678fi
10679
10680
453310d8 10681# Check for C99 (and other IEEE) math functions
e8525382 10682# ??? This list seems awful long. Is there a better way to test for these?
453310d8
RS
10683echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10684echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10685if test "${ac_cv_lib_m_acosf+set}" = set; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10687else
10688 ac_check_lib_save_LIBS=$LIBS
10689LIBS="-lm $LIBS"
f02d008e
JD
10690if test x$gcc_no_link = xyes; then
10691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10692echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10693 { (exit 1); exit 1; }; }
10694fi
453310d8
RS
10695cat >conftest.$ac_ext <<_ACEOF
10696/* confdefs.h. */
10697_ACEOF
10698cat confdefs.h >>conftest.$ac_ext
10699cat >>conftest.$ac_ext <<_ACEOF
10700/* end confdefs.h. */
10701
10702/* Override any gcc2 internal prototype to avoid an error. */
10703#ifdef __cplusplus
10704extern "C"
10705#endif
10706/* We use char because int might match the return type of a gcc2
10707 builtin and then its argument prototype would still apply. */
10708char acosf ();
10709int
10710main ()
10711{
10712acosf ();
10713 ;
10714 return 0;
10715}
10716_ACEOF
10717rm -f conftest.$ac_objext conftest$ac_exeext
10718if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10719 (eval $ac_link) 2>conftest.er1
10720 ac_status=$?
10721 grep -v '^ *+' conftest.er1 >conftest.err
10722 rm -f conftest.er1
10723 cat conftest.err >&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); } &&
57255173
PB
10726 { ac_try='test -z "$ac_c_werror_flag"
10727 || test ! -s conftest.err'
453310d8
RS
10728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10729 (eval $ac_try) 2>&5
10730 ac_status=$?
10731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732 (exit $ac_status); }; } &&
10733 { ac_try='test -s conftest$ac_exeext'
10734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10735 (eval $ac_try) 2>&5
10736 ac_status=$?
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); }; }; then
10739 ac_cv_lib_m_acosf=yes
10740else
10741 echo "$as_me: failed program was:" >&5
10742sed 's/^/| /' conftest.$ac_ext >&5
10743
10744ac_cv_lib_m_acosf=no
10745fi
10746rm -f conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748LIBS=$ac_check_lib_save_LIBS
10749fi
10750echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10751echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10752if test $ac_cv_lib_m_acosf = yes; then
10753
10754cat >>confdefs.h <<\_ACEOF
10755#define HAVE_ACOSF 1
10756_ACEOF
10757
10758fi
10759
1409cd0b
FXC
10760echo "$as_me:$LINENO: checking for acos in -lm" >&5
10761echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10762if test "${ac_cv_lib_m_acos+set}" = set; then
f02d008e
JD
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10764else
10765 ac_check_lib_save_LIBS=$LIBS
10766LIBS="-lm $LIBS"
10767if test x$gcc_no_link = xyes; then
10768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10769echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10770 { (exit 1); exit 1; }; }
10771fi
10772cat >conftest.$ac_ext <<_ACEOF
10773/* confdefs.h. */
10774_ACEOF
10775cat confdefs.h >>conftest.$ac_ext
10776cat >>conftest.$ac_ext <<_ACEOF
10777/* end confdefs.h. */
10778
10779/* Override any gcc2 internal prototype to avoid an error. */
10780#ifdef __cplusplus
10781extern "C"
10782#endif
10783/* We use char because int might match the return type of a gcc2
10784 builtin and then its argument prototype would still apply. */
1409cd0b 10785char acos ();
f02d008e
JD
10786int
10787main ()
10788{
1409cd0b 10789acos ();
f02d008e
JD
10790 ;
10791 return 0;
10792}
10793_ACEOF
10794rm -f conftest.$ac_objext conftest$ac_exeext
10795if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10796 (eval $ac_link) 2>conftest.er1
10797 ac_status=$?
10798 grep -v '^ *+' conftest.er1 >conftest.err
10799 rm -f conftest.er1
10800 cat conftest.err >&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); } &&
57255173
PB
10803 { ac_try='test -z "$ac_c_werror_flag"
10804 || test ! -s conftest.err'
f02d008e
JD
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10807 ac_status=$?
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; } &&
10810 { ac_try='test -s conftest$ac_exeext'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10813 ac_status=$?
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
1409cd0b 10816 ac_cv_lib_m_acos=yes
f02d008e
JD
10817else
10818 echo "$as_me: failed program was:" >&5
10819sed 's/^/| /' conftest.$ac_ext >&5
10820
1409cd0b 10821ac_cv_lib_m_acos=no
f02d008e
JD
10822fi
10823rm -f conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825LIBS=$ac_check_lib_save_LIBS
10826fi
1409cd0b
FXC
10827echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10828echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10829if test $ac_cv_lib_m_acos = yes; then
f02d008e
JD
10830
10831cat >>confdefs.h <<\_ACEOF
1409cd0b 10832#define HAVE_ACOS 1
f02d008e
JD
10833_ACEOF
10834
10835fi
10836
1409cd0b
FXC
10837echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10838echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10839if test "${ac_cv_lib_m_acosl+set}" = set; then
453310d8
RS
10840 echo $ECHO_N "(cached) $ECHO_C" >&6
10841else
10842 ac_check_lib_save_LIBS=$LIBS
10843LIBS="-lm $LIBS"
f02d008e
JD
10844if test x$gcc_no_link = xyes; then
10845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10846echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10847 { (exit 1); exit 1; }; }
10848fi
453310d8
RS
10849cat >conftest.$ac_ext <<_ACEOF
10850/* confdefs.h. */
10851_ACEOF
10852cat confdefs.h >>conftest.$ac_ext
10853cat >>conftest.$ac_ext <<_ACEOF
10854/* end confdefs.h. */
10855
10856/* Override any gcc2 internal prototype to avoid an error. */
10857#ifdef __cplusplus
10858extern "C"
10859#endif
10860/* We use char because int might match the return type of a gcc2
10861 builtin and then its argument prototype would still apply. */
1409cd0b 10862char acosl ();
453310d8
RS
10863int
10864main ()
10865{
1409cd0b 10866acosl ();
453310d8
RS
10867 ;
10868 return 0;
10869}
10870_ACEOF
10871rm -f conftest.$ac_objext conftest$ac_exeext
10872if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10873 (eval $ac_link) 2>conftest.er1
10874 ac_status=$?
10875 grep -v '^ *+' conftest.er1 >conftest.err
10876 rm -f conftest.er1
10877 cat conftest.err >&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } &&
57255173
PB
10880 { ac_try='test -z "$ac_c_werror_flag"
10881 || test ! -s conftest.err'
453310d8
RS
10882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10883 (eval $ac_try) 2>&5
10884 ac_status=$?
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); }; } &&
10887 { ac_try='test -s conftest$ac_exeext'
10888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10889 (eval $ac_try) 2>&5
10890 ac_status=$?
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); }; }; then
1409cd0b 10893 ac_cv_lib_m_acosl=yes
453310d8
RS
10894else
10895 echo "$as_me: failed program was:" >&5
10896sed 's/^/| /' conftest.$ac_ext >&5
10897
1409cd0b 10898ac_cv_lib_m_acosl=no
453310d8
RS
10899fi
10900rm -f conftest.err conftest.$ac_objext \
10901 conftest$ac_exeext conftest.$ac_ext
10902LIBS=$ac_check_lib_save_LIBS
10903fi
1409cd0b
FXC
10904echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10905echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10906if test $ac_cv_lib_m_acosl = yes; then
453310d8
RS
10907
10908cat >>confdefs.h <<\_ACEOF
1409cd0b 10909#define HAVE_ACOSL 1
453310d8
RS
10910_ACEOF
10911
10912fi
10913
1409cd0b
FXC
10914echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10915echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10916if test "${ac_cv_lib_m_acoshf+set}" = set; then
f02d008e
JD
10917 echo $ECHO_N "(cached) $ECHO_C" >&6
10918else
10919 ac_check_lib_save_LIBS=$LIBS
10920LIBS="-lm $LIBS"
10921if test x$gcc_no_link = xyes; then
10922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10923echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10924 { (exit 1); exit 1; }; }
10925fi
10926cat >conftest.$ac_ext <<_ACEOF
10927/* confdefs.h. */
10928_ACEOF
10929cat confdefs.h >>conftest.$ac_ext
10930cat >>conftest.$ac_ext <<_ACEOF
10931/* end confdefs.h. */
10932
10933/* Override any gcc2 internal prototype to avoid an error. */
10934#ifdef __cplusplus
10935extern "C"
10936#endif
10937/* We use char because int might match the return type of a gcc2
10938 builtin and then its argument prototype would still apply. */
1409cd0b 10939char acoshf ();
f02d008e
JD
10940int
10941main ()
10942{
1409cd0b 10943acoshf ();
f02d008e
JD
10944 ;
10945 return 0;
10946}
10947_ACEOF
10948rm -f conftest.$ac_objext conftest$ac_exeext
10949if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10950 (eval $ac_link) 2>conftest.er1
10951 ac_status=$?
10952 grep -v '^ *+' conftest.er1 >conftest.err
10953 rm -f conftest.er1
10954 cat conftest.err >&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); } &&
57255173
PB
10957 { ac_try='test -z "$ac_c_werror_flag"
10958 || test ! -s conftest.err'
f02d008e
JD
10959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 (eval $ac_try) 2>&5
10961 ac_status=$?
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; } &&
10964 { ac_try='test -s conftest$ac_exeext'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10967 ac_status=$?
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; }; then
1409cd0b 10970 ac_cv_lib_m_acoshf=yes
f02d008e
JD
10971else
10972 echo "$as_me: failed program was:" >&5
10973sed 's/^/| /' conftest.$ac_ext >&5
10974
1409cd0b 10975ac_cv_lib_m_acoshf=no
f02d008e
JD
10976fi
10977rm -f conftest.err conftest.$ac_objext \
10978 conftest$ac_exeext conftest.$ac_ext
10979LIBS=$ac_check_lib_save_LIBS
10980fi
1409cd0b
FXC
10981echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10982echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10983if test $ac_cv_lib_m_acoshf = yes; then
f02d008e
JD
10984
10985cat >>confdefs.h <<\_ACEOF
1409cd0b 10986#define HAVE_ACOSHF 1
f02d008e
JD
10987_ACEOF
10988
10989fi
10990
1409cd0b
FXC
10991echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10992echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10993if test "${ac_cv_lib_m_acosh+set}" = set; then
453310d8
RS
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10995else
10996 ac_check_lib_save_LIBS=$LIBS
10997LIBS="-lm $LIBS"
f02d008e
JD
10998if test x$gcc_no_link = xyes; then
10999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11000echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11001 { (exit 1); exit 1; }; }
11002fi
453310d8
RS
11003cat >conftest.$ac_ext <<_ACEOF
11004/* confdefs.h. */
11005_ACEOF
11006cat confdefs.h >>conftest.$ac_ext
11007cat >>conftest.$ac_ext <<_ACEOF
11008/* end confdefs.h. */
11009
11010/* Override any gcc2 internal prototype to avoid an error. */
11011#ifdef __cplusplus
11012extern "C"
11013#endif
11014/* We use char because int might match the return type of a gcc2
11015 builtin and then its argument prototype would still apply. */
1409cd0b 11016char acosh ();
453310d8
RS
11017int
11018main ()
11019{
1409cd0b 11020acosh ();
453310d8
RS
11021 ;
11022 return 0;
11023}
11024_ACEOF
11025rm -f conftest.$ac_objext conftest$ac_exeext
11026if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11027 (eval $ac_link) 2>conftest.er1
11028 ac_status=$?
11029 grep -v '^ *+' conftest.er1 >conftest.err
11030 rm -f conftest.er1
11031 cat conftest.err >&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); } &&
57255173
PB
11034 { ac_try='test -z "$ac_c_werror_flag"
11035 || test ! -s conftest.err'
453310d8
RS
11036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11037 (eval $ac_try) 2>&5
11038 ac_status=$?
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); }; } &&
11041 { ac_try='test -s conftest$ac_exeext'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11044 ac_status=$?
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; }; then
1409cd0b 11047 ac_cv_lib_m_acosh=yes
453310d8
RS
11048else
11049 echo "$as_me: failed program was:" >&5
11050sed 's/^/| /' conftest.$ac_ext >&5
11051
1409cd0b 11052ac_cv_lib_m_acosh=no
453310d8
RS
11053fi
11054rm -f conftest.err conftest.$ac_objext \
11055 conftest$ac_exeext conftest.$ac_ext
11056LIBS=$ac_check_lib_save_LIBS
11057fi
1409cd0b
FXC
11058echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11059echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11060if test $ac_cv_lib_m_acosh = yes; then
453310d8
RS
11061
11062cat >>confdefs.h <<\_ACEOF
1409cd0b 11063#define HAVE_ACOSH 1
453310d8
RS
11064_ACEOF
11065
11066fi
11067
1409cd0b
FXC
11068echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11069echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11070if test "${ac_cv_lib_m_acoshl+set}" = set; then
453310d8
RS
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11072else
11073 ac_check_lib_save_LIBS=$LIBS
11074LIBS="-lm $LIBS"
f02d008e
JD
11075if test x$gcc_no_link = xyes; then
11076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11077echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11078 { (exit 1); exit 1; }; }
11079fi
453310d8
RS
11080cat >conftest.$ac_ext <<_ACEOF
11081/* confdefs.h. */
11082_ACEOF
11083cat confdefs.h >>conftest.$ac_ext
11084cat >>conftest.$ac_ext <<_ACEOF
11085/* end confdefs.h. */
11086
11087/* Override any gcc2 internal prototype to avoid an error. */
11088#ifdef __cplusplus
11089extern "C"
11090#endif
11091/* We use char because int might match the return type of a gcc2
11092 builtin and then its argument prototype would still apply. */
1409cd0b 11093char acoshl ();
453310d8
RS
11094int
11095main ()
11096{
1409cd0b 11097acoshl ();
453310d8
RS
11098 ;
11099 return 0;
11100}
11101_ACEOF
11102rm -f conftest.$ac_objext conftest$ac_exeext
11103if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11104 (eval $ac_link) 2>conftest.er1
11105 ac_status=$?
11106 grep -v '^ *+' conftest.er1 >conftest.err
11107 rm -f conftest.er1
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } &&
57255173
PB
11111 { ac_try='test -z "$ac_c_werror_flag"
11112 || test ! -s conftest.err'
453310d8
RS
11113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11114 (eval $ac_try) 2>&5
11115 ac_status=$?
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); }; } &&
11118 { ac_try='test -s conftest$ac_exeext'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 (eval $ac_try) 2>&5
11121 ac_status=$?
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; }; then
1409cd0b 11124 ac_cv_lib_m_acoshl=yes
453310d8
RS
11125else
11126 echo "$as_me: failed program was:" >&5
11127sed 's/^/| /' conftest.$ac_ext >&5
11128
1409cd0b 11129ac_cv_lib_m_acoshl=no
453310d8
RS
11130fi
11131rm -f conftest.err conftest.$ac_objext \
11132 conftest$ac_exeext conftest.$ac_ext
11133LIBS=$ac_check_lib_save_LIBS
11134fi
1409cd0b
FXC
11135echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11136echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11137if test $ac_cv_lib_m_acoshl = yes; then
453310d8
RS
11138
11139cat >>confdefs.h <<\_ACEOF
1409cd0b 11140#define HAVE_ACOSHL 1
453310d8
RS
11141_ACEOF
11142
11143fi
11144
1409cd0b
FXC
11145echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11146echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11147if test "${ac_cv_lib_m_asinf+set}" = set; then
f02d008e
JD
11148 echo $ECHO_N "(cached) $ECHO_C" >&6
11149else
11150 ac_check_lib_save_LIBS=$LIBS
11151LIBS="-lm $LIBS"
11152if test x$gcc_no_link = xyes; then
11153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11154echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11155 { (exit 1); exit 1; }; }
11156fi
11157cat >conftest.$ac_ext <<_ACEOF
11158/* confdefs.h. */
11159_ACEOF
11160cat confdefs.h >>conftest.$ac_ext
11161cat >>conftest.$ac_ext <<_ACEOF
11162/* end confdefs.h. */
11163
11164/* Override any gcc2 internal prototype to avoid an error. */
11165#ifdef __cplusplus
11166extern "C"
11167#endif
11168/* We use char because int might match the return type of a gcc2
11169 builtin and then its argument prototype would still apply. */
1409cd0b 11170char asinf ();
f02d008e
JD
11171int
11172main ()
11173{
1409cd0b 11174asinf ();
f02d008e
JD
11175 ;
11176 return 0;
11177}
11178_ACEOF
11179rm -f conftest.$ac_objext conftest$ac_exeext
11180if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11181 (eval $ac_link) 2>conftest.er1
11182 ac_status=$?
11183 grep -v '^ *+' conftest.er1 >conftest.err
11184 rm -f conftest.er1
11185 cat conftest.err >&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); } &&
57255173
PB
11188 { ac_try='test -z "$ac_c_werror_flag"
11189 || test ! -s conftest.err'
f02d008e
JD
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11192 ac_status=$?
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; } &&
11195 { ac_try='test -s conftest$ac_exeext'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11198 ac_status=$?
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then
1409cd0b 11201 ac_cv_lib_m_asinf=yes
f02d008e
JD
11202else
11203 echo "$as_me: failed program was:" >&5
11204sed 's/^/| /' conftest.$ac_ext >&5
11205
1409cd0b 11206ac_cv_lib_m_asinf=no
f02d008e
JD
11207fi
11208rm -f conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210LIBS=$ac_check_lib_save_LIBS
11211fi
1409cd0b
FXC
11212echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11213echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11214if test $ac_cv_lib_m_asinf = yes; then
f02d008e
JD
11215
11216cat >>confdefs.h <<\_ACEOF
1409cd0b 11217#define HAVE_ASINF 1
f02d008e
JD
11218_ACEOF
11219
11220fi
11221
1409cd0b
FXC
11222echo "$as_me:$LINENO: checking for asin in -lm" >&5
11223echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11224if test "${ac_cv_lib_m_asin+set}" = set; then
453310d8
RS
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11226else
11227 ac_check_lib_save_LIBS=$LIBS
11228LIBS="-lm $LIBS"
f02d008e
JD
11229if test x$gcc_no_link = xyes; then
11230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11231echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11232 { (exit 1); exit 1; }; }
11233fi
453310d8
RS
11234cat >conftest.$ac_ext <<_ACEOF
11235/* confdefs.h. */
11236_ACEOF
11237cat confdefs.h >>conftest.$ac_ext
11238cat >>conftest.$ac_ext <<_ACEOF
11239/* end confdefs.h. */
11240
11241/* Override any gcc2 internal prototype to avoid an error. */
11242#ifdef __cplusplus
11243extern "C"
11244#endif
11245/* We use char because int might match the return type of a gcc2
11246 builtin and then its argument prototype would still apply. */
1409cd0b 11247char asin ();
453310d8
RS
11248int
11249main ()
11250{
1409cd0b 11251asin ();
453310d8
RS
11252 ;
11253 return 0;
11254}
11255_ACEOF
11256rm -f conftest.$ac_objext conftest$ac_exeext
11257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11258 (eval $ac_link) 2>conftest.er1
11259 ac_status=$?
11260 grep -v '^ *+' conftest.er1 >conftest.err
11261 rm -f conftest.er1
11262 cat conftest.err >&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } &&
57255173
PB
11265 { ac_try='test -z "$ac_c_werror_flag"
11266 || test ! -s conftest.err'
453310d8
RS
11267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11268 (eval $ac_try) 2>&5
11269 ac_status=$?
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); }; } &&
11272 { ac_try='test -s conftest$ac_exeext'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11275 ac_status=$?
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; }; then
1409cd0b 11278 ac_cv_lib_m_asin=yes
453310d8
RS
11279else
11280 echo "$as_me: failed program was:" >&5
11281sed 's/^/| /' conftest.$ac_ext >&5
11282
1409cd0b 11283ac_cv_lib_m_asin=no
453310d8
RS
11284fi
11285rm -f conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287LIBS=$ac_check_lib_save_LIBS
11288fi
1409cd0b
FXC
11289echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11290echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11291if test $ac_cv_lib_m_asin = yes; then
453310d8
RS
11292
11293cat >>confdefs.h <<\_ACEOF
1409cd0b 11294#define HAVE_ASIN 1
453310d8
RS
11295_ACEOF
11296
11297fi
11298
1409cd0b
FXC
11299echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11300echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11301if test "${ac_cv_lib_m_asinl+set}" = set; then
453310d8
RS
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11303else
11304 ac_check_lib_save_LIBS=$LIBS
11305LIBS="-lm $LIBS"
f02d008e
JD
11306if test x$gcc_no_link = xyes; then
11307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11308echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11309 { (exit 1); exit 1; }; }
11310fi
453310d8
RS
11311cat >conftest.$ac_ext <<_ACEOF
11312/* confdefs.h. */
11313_ACEOF
11314cat confdefs.h >>conftest.$ac_ext
11315cat >>conftest.$ac_ext <<_ACEOF
11316/* end confdefs.h. */
11317
11318/* Override any gcc2 internal prototype to avoid an error. */
11319#ifdef __cplusplus
11320extern "C"
11321#endif
11322/* We use char because int might match the return type of a gcc2
11323 builtin and then its argument prototype would still apply. */
1409cd0b 11324char asinl ();
453310d8
RS
11325int
11326main ()
11327{
1409cd0b 11328asinl ();
453310d8
RS
11329 ;
11330 return 0;
11331}
11332_ACEOF
11333rm -f conftest.$ac_objext conftest$ac_exeext
11334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11335 (eval $ac_link) 2>conftest.er1
11336 ac_status=$?
11337 grep -v '^ *+' conftest.er1 >conftest.err
11338 rm -f conftest.er1
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
57255173
PB
11342 { ac_try='test -z "$ac_c_werror_flag"
11343 || test ! -s conftest.err'
453310d8
RS
11344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11345 (eval $ac_try) 2>&5
11346 ac_status=$?
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); }; } &&
11349 { ac_try='test -s conftest$ac_exeext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11352 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
1409cd0b 11355 ac_cv_lib_m_asinl=yes
453310d8
RS
11356else
11357 echo "$as_me: failed program was:" >&5
11358sed 's/^/| /' conftest.$ac_ext >&5
11359
1409cd0b 11360ac_cv_lib_m_asinl=no
453310d8
RS
11361fi
11362rm -f conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364LIBS=$ac_check_lib_save_LIBS
11365fi
1409cd0b
FXC
11366echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11367echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11368if test $ac_cv_lib_m_asinl = yes; then
453310d8
RS
11369
11370cat >>confdefs.h <<\_ACEOF
1409cd0b 11371#define HAVE_ASINL 1
453310d8
RS
11372_ACEOF
11373
11374fi
11375
1409cd0b
FXC
11376echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11377echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11378if test "${ac_cv_lib_m_asinhf+set}" = set; then
453310d8
RS
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11380else
11381 ac_check_lib_save_LIBS=$LIBS
11382LIBS="-lm $LIBS"
f02d008e
JD
11383if test x$gcc_no_link = xyes; then
11384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11385echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11386 { (exit 1); exit 1; }; }
11387fi
453310d8
RS
11388cat >conftest.$ac_ext <<_ACEOF
11389/* confdefs.h. */
11390_ACEOF
11391cat confdefs.h >>conftest.$ac_ext
11392cat >>conftest.$ac_ext <<_ACEOF
11393/* end confdefs.h. */
11394
11395/* Override any gcc2 internal prototype to avoid an error. */
11396#ifdef __cplusplus
11397extern "C"
11398#endif
11399/* We use char because int might match the return type of a gcc2
11400 builtin and then its argument prototype would still apply. */
1409cd0b 11401char asinhf ();
453310d8
RS
11402int
11403main ()
11404{
1409cd0b 11405asinhf ();
453310d8
RS
11406 ;
11407 return 0;
11408}
11409_ACEOF
11410rm -f conftest.$ac_objext conftest$ac_exeext
11411if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11412 (eval $ac_link) 2>conftest.er1
11413 ac_status=$?
11414 grep -v '^ *+' conftest.er1 >conftest.err
11415 rm -f conftest.er1
11416 cat conftest.err >&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); } &&
57255173
PB
11419 { ac_try='test -z "$ac_c_werror_flag"
11420 || test ! -s conftest.err'
453310d8
RS
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11423 ac_status=$?
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; } &&
11426 { ac_try='test -s conftest$ac_exeext'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11429 ac_status=$?
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; }; then
1409cd0b 11432 ac_cv_lib_m_asinhf=yes
453310d8
RS
11433else
11434 echo "$as_me: failed program was:" >&5
11435sed 's/^/| /' conftest.$ac_ext >&5
11436
1409cd0b 11437ac_cv_lib_m_asinhf=no
453310d8
RS
11438fi
11439rm -f conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441LIBS=$ac_check_lib_save_LIBS
11442fi
1409cd0b
FXC
11443echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11444echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11445if test $ac_cv_lib_m_asinhf = yes; then
453310d8
RS
11446
11447cat >>confdefs.h <<\_ACEOF
1409cd0b 11448#define HAVE_ASINHF 1
453310d8
RS
11449_ACEOF
11450
11451fi
11452
1409cd0b
FXC
11453echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11454echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11455if test "${ac_cv_lib_m_asinh+set}" = set; then
453310d8
RS
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11457else
11458 ac_check_lib_save_LIBS=$LIBS
11459LIBS="-lm $LIBS"
f02d008e
JD
11460if test x$gcc_no_link = xyes; then
11461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11462echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11463 { (exit 1); exit 1; }; }
11464fi
453310d8
RS
11465cat >conftest.$ac_ext <<_ACEOF
11466/* confdefs.h. */
11467_ACEOF
11468cat confdefs.h >>conftest.$ac_ext
11469cat >>conftest.$ac_ext <<_ACEOF
11470/* end confdefs.h. */
11471
11472/* Override any gcc2 internal prototype to avoid an error. */
11473#ifdef __cplusplus
11474extern "C"
11475#endif
11476/* We use char because int might match the return type of a gcc2
11477 builtin and then its argument prototype would still apply. */
1409cd0b 11478char asinh ();
453310d8
RS
11479int
11480main ()
11481{
1409cd0b 11482asinh ();
453310d8
RS
11483 ;
11484 return 0;
11485}
11486_ACEOF
11487rm -f conftest.$ac_objext conftest$ac_exeext
11488if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11489 (eval $ac_link) 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
57255173
PB
11496 { ac_try='test -z "$ac_c_werror_flag"
11497 || test ! -s conftest.err'
453310d8
RS
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; } &&
11503 { ac_try='test -s conftest$ac_exeext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
1409cd0b 11509 ac_cv_lib_m_asinh=yes
453310d8
RS
11510else
11511 echo "$as_me: failed program was:" >&5
11512sed 's/^/| /' conftest.$ac_ext >&5
11513
1409cd0b 11514ac_cv_lib_m_asinh=no
453310d8
RS
11515fi
11516rm -f conftest.err conftest.$ac_objext \
11517 conftest$ac_exeext conftest.$ac_ext
11518LIBS=$ac_check_lib_save_LIBS
11519fi
1409cd0b
FXC
11520echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11521echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11522if test $ac_cv_lib_m_asinh = yes; then
453310d8
RS
11523
11524cat >>confdefs.h <<\_ACEOF
1409cd0b 11525#define HAVE_ASINH 1
453310d8
RS
11526_ACEOF
11527
11528fi
11529
1409cd0b
FXC
11530echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11531echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11532if test "${ac_cv_lib_m_asinhl+set}" = set; then
453310d8
RS
11533 echo $ECHO_N "(cached) $ECHO_C" >&6
11534else
11535 ac_check_lib_save_LIBS=$LIBS
11536LIBS="-lm $LIBS"
f02d008e
JD
11537if test x$gcc_no_link = xyes; then
11538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11539echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11540 { (exit 1); exit 1; }; }
11541fi
453310d8
RS
11542cat >conftest.$ac_ext <<_ACEOF
11543/* confdefs.h. */
11544_ACEOF
11545cat confdefs.h >>conftest.$ac_ext
11546cat >>conftest.$ac_ext <<_ACEOF
11547/* end confdefs.h. */
11548
11549/* Override any gcc2 internal prototype to avoid an error. */
11550#ifdef __cplusplus
11551extern "C"
11552#endif
11553/* We use char because int might match the return type of a gcc2
11554 builtin and then its argument prototype would still apply. */
1409cd0b 11555char asinhl ();
453310d8
RS
11556int
11557main ()
11558{
1409cd0b 11559asinhl ();
453310d8
RS
11560 ;
11561 return 0;
11562}
11563_ACEOF
11564rm -f conftest.$ac_objext conftest$ac_exeext
11565if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11566 (eval $ac_link) 2>conftest.er1
11567 ac_status=$?
11568 grep -v '^ *+' conftest.er1 >conftest.err
11569 rm -f conftest.er1
11570 cat conftest.err >&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); } &&
57255173
PB
11573 { ac_try='test -z "$ac_c_werror_flag"
11574 || test ! -s conftest.err'
453310d8
RS
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11577 ac_status=$?
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } &&
11580 { ac_try='test -s conftest$ac_exeext'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11583 ac_status=$?
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
1409cd0b 11586 ac_cv_lib_m_asinhl=yes
453310d8
RS
11587else
11588 echo "$as_me: failed program was:" >&5
11589sed 's/^/| /' conftest.$ac_ext >&5
11590
1409cd0b 11591ac_cv_lib_m_asinhl=no
453310d8
RS
11592fi
11593rm -f conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595LIBS=$ac_check_lib_save_LIBS
11596fi
1409cd0b
FXC
11597echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11598echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11599if test $ac_cv_lib_m_asinhl = yes; then
453310d8
RS
11600
11601cat >>confdefs.h <<\_ACEOF
1409cd0b 11602#define HAVE_ASINHL 1
453310d8
RS
11603_ACEOF
11604
11605fi
11606
1409cd0b
FXC
11607echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11608echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11609if test "${ac_cv_lib_m_atan2f+set}" = set; then
6e4d9244
EB
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11611else
11612 ac_check_lib_save_LIBS=$LIBS
11613LIBS="-lm $LIBS"
f02d008e
JD
11614if test x$gcc_no_link = xyes; then
11615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11616echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11617 { (exit 1); exit 1; }; }
11618fi
6e4d9244
EB
11619cat >conftest.$ac_ext <<_ACEOF
11620/* confdefs.h. */
11621_ACEOF
11622cat confdefs.h >>conftest.$ac_ext
11623cat >>conftest.$ac_ext <<_ACEOF
11624/* end confdefs.h. */
11625
11626/* Override any gcc2 internal prototype to avoid an error. */
11627#ifdef __cplusplus
11628extern "C"
11629#endif
11630/* We use char because int might match the return type of a gcc2
11631 builtin and then its argument prototype would still apply. */
1409cd0b 11632char atan2f ();
6e4d9244
EB
11633int
11634main ()
11635{
1409cd0b 11636atan2f ();
6e4d9244
EB
11637 ;
11638 return 0;
11639}
11640_ACEOF
11641rm -f conftest.$ac_objext conftest$ac_exeext
11642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11643 (eval $ac_link) 2>conftest.er1
11644 ac_status=$?
11645 grep -v '^ *+' conftest.er1 >conftest.err
11646 rm -f conftest.er1
11647 cat conftest.err >&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
57255173
PB
11650 { ac_try='test -z "$ac_c_werror_flag"
11651 || test ! -s conftest.err'
6e4d9244
EB
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11654 ac_status=$?
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; } &&
11657 { ac_try='test -s conftest$ac_exeext'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
1409cd0b 11663 ac_cv_lib_m_atan2f=yes
6e4d9244
EB
11664else
11665 echo "$as_me: failed program was:" >&5
11666sed 's/^/| /' conftest.$ac_ext >&5
11667
1409cd0b 11668ac_cv_lib_m_atan2f=no
6e4d9244
EB
11669fi
11670rm -f conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11672LIBS=$ac_check_lib_save_LIBS
11673fi
1409cd0b
FXC
11674echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11675echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11676if test $ac_cv_lib_m_atan2f = yes; then
6e4d9244
EB
11677
11678cat >>confdefs.h <<\_ACEOF
1409cd0b 11679#define HAVE_ATAN2F 1
6e4d9244
EB
11680_ACEOF
11681
11682fi
11683
1409cd0b
FXC
11684echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11685echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11686if test "${ac_cv_lib_m_atan2+set}" = set; then
453310d8
RS
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11688else
11689 ac_check_lib_save_LIBS=$LIBS
11690LIBS="-lm $LIBS"
f02d008e
JD
11691if test x$gcc_no_link = xyes; then
11692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11693echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11694 { (exit 1); exit 1; }; }
11695fi
453310d8
RS
11696cat >conftest.$ac_ext <<_ACEOF
11697/* confdefs.h. */
11698_ACEOF
11699cat confdefs.h >>conftest.$ac_ext
11700cat >>conftest.$ac_ext <<_ACEOF
11701/* end confdefs.h. */
11702
11703/* Override any gcc2 internal prototype to avoid an error. */
11704#ifdef __cplusplus
11705extern "C"
11706#endif
11707/* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
1409cd0b 11709char atan2 ();
453310d8
RS
11710int
11711main ()
11712{
1409cd0b 11713atan2 ();
453310d8
RS
11714 ;
11715 return 0;
11716}
11717_ACEOF
11718rm -f conftest.$ac_objext conftest$ac_exeext
11719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>conftest.er1
11721 ac_status=$?
11722 grep -v '^ *+' conftest.er1 >conftest.err
11723 rm -f conftest.er1
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
57255173
PB
11727 { ac_try='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
453310d8
RS
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11731 ac_status=$?
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11737 ac_status=$?
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
1409cd0b 11740 ac_cv_lib_m_atan2=yes
453310d8
RS
11741else
11742 echo "$as_me: failed program was:" >&5
11743sed 's/^/| /' conftest.$ac_ext >&5
11744
1409cd0b 11745ac_cv_lib_m_atan2=no
453310d8
RS
11746fi
11747rm -f conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749LIBS=$ac_check_lib_save_LIBS
11750fi
1409cd0b
FXC
11751echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11752echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11753if test $ac_cv_lib_m_atan2 = yes; then
453310d8
RS
11754
11755cat >>confdefs.h <<\_ACEOF
1409cd0b 11756#define HAVE_ATAN2 1
453310d8
RS
11757_ACEOF
11758
11759fi
11760
1409cd0b
FXC
11761echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11762echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11763if test "${ac_cv_lib_m_atan2l+set}" = set; then
453310d8
RS
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11765else
11766 ac_check_lib_save_LIBS=$LIBS
11767LIBS="-lm $LIBS"
f02d008e
JD
11768if test x$gcc_no_link = xyes; then
11769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11770echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11771 { (exit 1); exit 1; }; }
11772fi
453310d8
RS
11773cat >conftest.$ac_ext <<_ACEOF
11774/* confdefs.h. */
11775_ACEOF
11776cat confdefs.h >>conftest.$ac_ext
11777cat >>conftest.$ac_ext <<_ACEOF
11778/* end confdefs.h. */
11779
11780/* Override any gcc2 internal prototype to avoid an error. */
11781#ifdef __cplusplus
11782extern "C"
11783#endif
11784/* We use char because int might match the return type of a gcc2
11785 builtin and then its argument prototype would still apply. */
1409cd0b 11786char atan2l ();
453310d8
RS
11787int
11788main ()
11789{
1409cd0b 11790atan2l ();
453310d8
RS
11791 ;
11792 return 0;
11793}
11794_ACEOF
11795rm -f conftest.$ac_objext conftest$ac_exeext
11796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11797 (eval $ac_link) 2>conftest.er1
11798 ac_status=$?
11799 grep -v '^ *+' conftest.er1 >conftest.err
11800 rm -f conftest.er1
11801 cat conftest.err >&5
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } &&
57255173
PB
11804 { ac_try='test -z "$ac_c_werror_flag"
11805 || test ! -s conftest.err'
453310d8
RS
11806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807 (eval $ac_try) 2>&5
11808 ac_status=$?
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); }; } &&
11811 { ac_try='test -s conftest$ac_exeext'
11812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11813 (eval $ac_try) 2>&5
11814 ac_status=$?
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); }; }; then
1409cd0b 11817 ac_cv_lib_m_atan2l=yes
453310d8
RS
11818else
11819 echo "$as_me: failed program was:" >&5
11820sed 's/^/| /' conftest.$ac_ext >&5
11821
1409cd0b 11822ac_cv_lib_m_atan2l=no
453310d8
RS
11823fi
11824rm -f conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826LIBS=$ac_check_lib_save_LIBS
11827fi
1409cd0b
FXC
11828echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11829echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11830if test $ac_cv_lib_m_atan2l = yes; then
453310d8
RS
11831
11832cat >>confdefs.h <<\_ACEOF
1409cd0b 11833#define HAVE_ATAN2L 1
453310d8
RS
11834_ACEOF
11835
11836fi
11837
1409cd0b
FXC
11838echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11839echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11840if test "${ac_cv_lib_m_atanf+set}" = set; then
453310d8
RS
11841 echo $ECHO_N "(cached) $ECHO_C" >&6
11842else
11843 ac_check_lib_save_LIBS=$LIBS
11844LIBS="-lm $LIBS"
f02d008e
JD
11845if test x$gcc_no_link = xyes; then
11846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11847echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11848 { (exit 1); exit 1; }; }
11849fi
453310d8
RS
11850cat >conftest.$ac_ext <<_ACEOF
11851/* confdefs.h. */
11852_ACEOF
11853cat confdefs.h >>conftest.$ac_ext
11854cat >>conftest.$ac_ext <<_ACEOF
11855/* end confdefs.h. */
11856
11857/* Override any gcc2 internal prototype to avoid an error. */
11858#ifdef __cplusplus
11859extern "C"
11860#endif
11861/* We use char because int might match the return type of a gcc2
11862 builtin and then its argument prototype would still apply. */
1409cd0b 11863char atanf ();
453310d8
RS
11864int
11865main ()
11866{
1409cd0b 11867atanf ();
453310d8
RS
11868 ;
11869 return 0;
11870}
11871_ACEOF
11872rm -f conftest.$ac_objext conftest$ac_exeext
11873if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11874 (eval $ac_link) 2>conftest.er1
11875 ac_status=$?
11876 grep -v '^ *+' conftest.er1 >conftest.err
11877 rm -f conftest.er1
11878 cat conftest.err >&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } &&
57255173
PB
11881 { ac_try='test -z "$ac_c_werror_flag"
11882 || test ! -s conftest.err'
453310d8
RS
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11885 ac_status=$?
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; } &&
11888 { ac_try='test -s conftest$ac_exeext'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11891 ac_status=$?
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; }; then
1409cd0b 11894 ac_cv_lib_m_atanf=yes
453310d8
RS
11895else
11896 echo "$as_me: failed program was:" >&5
11897sed 's/^/| /' conftest.$ac_ext >&5
11898
1409cd0b 11899ac_cv_lib_m_atanf=no
453310d8
RS
11900fi
11901rm -f conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903LIBS=$ac_check_lib_save_LIBS
11904fi
1409cd0b
FXC
11905echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11906echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11907if test $ac_cv_lib_m_atanf = yes; then
453310d8
RS
11908
11909cat >>confdefs.h <<\_ACEOF
1409cd0b 11910#define HAVE_ATANF 1
453310d8
RS
11911_ACEOF
11912
11913fi
11914
1409cd0b
FXC
11915echo "$as_me:$LINENO: checking for atan in -lm" >&5
11916echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11917if test "${ac_cv_lib_m_atan+set}" = set; then
453310d8
RS
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11919else
11920 ac_check_lib_save_LIBS=$LIBS
11921LIBS="-lm $LIBS"
f02d008e
JD
11922if test x$gcc_no_link = xyes; then
11923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11924echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11925 { (exit 1); exit 1; }; }
11926fi
453310d8
RS
11927cat >conftest.$ac_ext <<_ACEOF
11928/* confdefs.h. */
11929_ACEOF
11930cat confdefs.h >>conftest.$ac_ext
11931cat >>conftest.$ac_ext <<_ACEOF
11932/* end confdefs.h. */
11933
11934/* Override any gcc2 internal prototype to avoid an error. */
11935#ifdef __cplusplus
11936extern "C"
11937#endif
11938/* We use char because int might match the return type of a gcc2
11939 builtin and then its argument prototype would still apply. */
1409cd0b 11940char atan ();
453310d8
RS
11941int
11942main ()
11943{
1409cd0b 11944atan ();
453310d8
RS
11945 ;
11946 return 0;
11947}
11948_ACEOF
11949rm -f conftest.$ac_objext conftest$ac_exeext
11950if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11951 (eval $ac_link) 2>conftest.er1
11952 ac_status=$?
11953 grep -v '^ *+' conftest.er1 >conftest.err
11954 rm -f conftest.er1
11955 cat conftest.err >&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } &&
57255173
PB
11958 { ac_try='test -z "$ac_c_werror_flag"
11959 || test ! -s conftest.err'
453310d8
RS
11960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11961 (eval $ac_try) 2>&5
11962 ac_status=$?
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); }; } &&
11965 { ac_try='test -s conftest$ac_exeext'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; }; then
1409cd0b 11971 ac_cv_lib_m_atan=yes
453310d8
RS
11972else
11973 echo "$as_me: failed program was:" >&5
11974sed 's/^/| /' conftest.$ac_ext >&5
11975
1409cd0b 11976ac_cv_lib_m_atan=no
453310d8
RS
11977fi
11978rm -f conftest.err conftest.$ac_objext \
11979 conftest$ac_exeext conftest.$ac_ext
11980LIBS=$ac_check_lib_save_LIBS
11981fi
1409cd0b
FXC
11982echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11983echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11984if test $ac_cv_lib_m_atan = yes; then
453310d8
RS
11985
11986cat >>confdefs.h <<\_ACEOF
1409cd0b 11987#define HAVE_ATAN 1
453310d8
RS
11988_ACEOF
11989
11990fi
11991
1409cd0b
FXC
11992echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11993echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11994if test "${ac_cv_lib_m_atanl+set}" = set; then
453310d8
RS
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11996else
11997 ac_check_lib_save_LIBS=$LIBS
11998LIBS="-lm $LIBS"
f02d008e
JD
11999if test x$gcc_no_link = xyes; then
12000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12001echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12002 { (exit 1); exit 1; }; }
12003fi
453310d8
RS
12004cat >conftest.$ac_ext <<_ACEOF
12005/* confdefs.h. */
12006_ACEOF
12007cat confdefs.h >>conftest.$ac_ext
12008cat >>conftest.$ac_ext <<_ACEOF
12009/* end confdefs.h. */
12010
12011/* Override any gcc2 internal prototype to avoid an error. */
12012#ifdef __cplusplus
12013extern "C"
12014#endif
12015/* We use char because int might match the return type of a gcc2
12016 builtin and then its argument prototype would still apply. */
1409cd0b 12017char atanl ();
453310d8
RS
12018int
12019main ()
12020{
1409cd0b 12021atanl ();
453310d8
RS
12022 ;
12023 return 0;
12024}
12025_ACEOF
12026rm -f conftest.$ac_objext conftest$ac_exeext
12027if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12028 (eval $ac_link) 2>conftest.er1
12029 ac_status=$?
12030 grep -v '^ *+' conftest.er1 >conftest.err
12031 rm -f conftest.er1
12032 cat conftest.err >&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
57255173
PB
12035 { ac_try='test -z "$ac_c_werror_flag"
12036 || test ! -s conftest.err'
453310d8
RS
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12045 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
1409cd0b 12048 ac_cv_lib_m_atanl=yes
453310d8
RS
12049else
12050 echo "$as_me: failed program was:" >&5
12051sed 's/^/| /' conftest.$ac_ext >&5
12052
1409cd0b 12053ac_cv_lib_m_atanl=no
453310d8
RS
12054fi
12055rm -f conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext
12057LIBS=$ac_check_lib_save_LIBS
12058fi
1409cd0b
FXC
12059echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12060echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12061if test $ac_cv_lib_m_atanl = yes; then
453310d8
RS
12062
12063cat >>confdefs.h <<\_ACEOF
1409cd0b 12064#define HAVE_ATANL 1
453310d8
RS
12065_ACEOF
12066
12067fi
12068
1409cd0b
FXC
12069echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12070echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12071if test "${ac_cv_lib_m_atanhf+set}" = set; then
32aa3bff
FXC
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12073else
12074 ac_check_lib_save_LIBS=$LIBS
12075LIBS="-lm $LIBS"
f02d008e
JD
12076if test x$gcc_no_link = xyes; then
12077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12078echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12079 { (exit 1); exit 1; }; }
12080fi
32aa3bff
FXC
12081cat >conftest.$ac_ext <<_ACEOF
12082/* confdefs.h. */
12083_ACEOF
12084cat confdefs.h >>conftest.$ac_ext
12085cat >>conftest.$ac_ext <<_ACEOF
12086/* end confdefs.h. */
12087
12088/* Override any gcc2 internal prototype to avoid an error. */
12089#ifdef __cplusplus
12090extern "C"
12091#endif
12092/* We use char because int might match the return type of a gcc2
12093 builtin and then its argument prototype would still apply. */
1409cd0b 12094char atanhf ();
32aa3bff
FXC
12095int
12096main ()
12097{
1409cd0b 12098atanhf ();
32aa3bff
FXC
12099 ;
12100 return 0;
12101}
12102_ACEOF
12103rm -f conftest.$ac_objext conftest$ac_exeext
12104if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12105 (eval $ac_link) 2>conftest.er1
12106 ac_status=$?
12107 grep -v '^ *+' conftest.er1 >conftest.err
12108 rm -f conftest.er1
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
57255173
PB
12112 { ac_try='test -z "$ac_c_werror_flag"
12113 || test ! -s conftest.err'
32aa3bff
FXC
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; } &&
12119 { ac_try='test -s conftest$ac_exeext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12122 ac_status=$?
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
1409cd0b 12125 ac_cv_lib_m_atanhf=yes
32aa3bff
FXC
12126else
12127 echo "$as_me: failed program was:" >&5
12128sed 's/^/| /' conftest.$ac_ext >&5
12129
1409cd0b 12130ac_cv_lib_m_atanhf=no
32aa3bff
FXC
12131fi
12132rm -f conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134LIBS=$ac_check_lib_save_LIBS
12135fi
1409cd0b
FXC
12136echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12137echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12138if test $ac_cv_lib_m_atanhf = yes; then
32aa3bff
FXC
12139
12140cat >>confdefs.h <<\_ACEOF
1409cd0b 12141#define HAVE_ATANHF 1
32aa3bff
FXC
12142_ACEOF
12143
12144fi
12145
1409cd0b
FXC
12146echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12147echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12148if test "${ac_cv_lib_m_atanh+set}" = set; then
453310d8
RS
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12150else
12151 ac_check_lib_save_LIBS=$LIBS
12152LIBS="-lm $LIBS"
f02d008e
JD
12153if test x$gcc_no_link = xyes; then
12154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12155echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12156 { (exit 1); exit 1; }; }
12157fi
453310d8
RS
12158cat >conftest.$ac_ext <<_ACEOF
12159/* confdefs.h. */
12160_ACEOF
12161cat confdefs.h >>conftest.$ac_ext
12162cat >>conftest.$ac_ext <<_ACEOF
12163/* end confdefs.h. */
12164
12165/* Override any gcc2 internal prototype to avoid an error. */
12166#ifdef __cplusplus
12167extern "C"
12168#endif
12169/* We use char because int might match the return type of a gcc2
12170 builtin and then its argument prototype would still apply. */
1409cd0b 12171char atanh ();
453310d8
RS
12172int
12173main ()
12174{
1409cd0b 12175atanh ();
453310d8
RS
12176 ;
12177 return 0;
12178}
12179_ACEOF
12180rm -f conftest.$ac_objext conftest$ac_exeext
12181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12182 (eval $ac_link) 2>conftest.er1
12183 ac_status=$?
12184 grep -v '^ *+' conftest.er1 >conftest.err
12185 rm -f conftest.er1
12186 cat conftest.err >&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
57255173
PB
12189 { ac_try='test -z "$ac_c_werror_flag"
12190 || test ! -s conftest.err'
453310d8
RS
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12193 ac_status=$?
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; } &&
12196 { ac_try='test -s conftest$ac_exeext'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12199 ac_status=$?
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
1409cd0b 12202 ac_cv_lib_m_atanh=yes
453310d8
RS
12203else
12204 echo "$as_me: failed program was:" >&5
12205sed 's/^/| /' conftest.$ac_ext >&5
12206
1409cd0b 12207ac_cv_lib_m_atanh=no
453310d8
RS
12208fi
12209rm -f conftest.err conftest.$ac_objext \
12210 conftest$ac_exeext conftest.$ac_ext
12211LIBS=$ac_check_lib_save_LIBS
12212fi
1409cd0b
FXC
12213echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12214echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12215if test $ac_cv_lib_m_atanh = yes; then
453310d8
RS
12216
12217cat >>confdefs.h <<\_ACEOF
1409cd0b 12218#define HAVE_ATANH 1
453310d8
RS
12219_ACEOF
12220
12221fi
12222
1409cd0b
FXC
12223echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12224echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12225if test "${ac_cv_lib_m_atanhl+set}" = set; then
453310d8
RS
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12227else
12228 ac_check_lib_save_LIBS=$LIBS
12229LIBS="-lm $LIBS"
f02d008e
JD
12230if test x$gcc_no_link = xyes; then
12231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12232echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12233 { (exit 1); exit 1; }; }
12234fi
453310d8
RS
12235cat >conftest.$ac_ext <<_ACEOF
12236/* confdefs.h. */
12237_ACEOF
12238cat confdefs.h >>conftest.$ac_ext
12239cat >>conftest.$ac_ext <<_ACEOF
12240/* end confdefs.h. */
12241
12242/* Override any gcc2 internal prototype to avoid an error. */
12243#ifdef __cplusplus
12244extern "C"
12245#endif
12246/* We use char because int might match the return type of a gcc2
12247 builtin and then its argument prototype would still apply. */
1409cd0b 12248char atanhl ();
453310d8
RS
12249int
12250main ()
12251{
1409cd0b 12252atanhl ();
453310d8
RS
12253 ;
12254 return 0;
12255}
12256_ACEOF
12257rm -f conftest.$ac_objext conftest$ac_exeext
12258if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12259 (eval $ac_link) 2>conftest.er1
12260 ac_status=$?
12261 grep -v '^ *+' conftest.er1 >conftest.err
12262 rm -f conftest.er1
12263 cat conftest.err >&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } &&
57255173
PB
12266 { ac_try='test -z "$ac_c_werror_flag"
12267 || test ! -s conftest.err'
453310d8
RS
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12270 ac_status=$?
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; } &&
12273 { ac_try='test -s conftest$ac_exeext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12276 ac_status=$?
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
1409cd0b 12279 ac_cv_lib_m_atanhl=yes
453310d8
RS
12280else
12281 echo "$as_me: failed program was:" >&5
12282sed 's/^/| /' conftest.$ac_ext >&5
12283
1409cd0b 12284ac_cv_lib_m_atanhl=no
453310d8
RS
12285fi
12286rm -f conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288LIBS=$ac_check_lib_save_LIBS
12289fi
1409cd0b
FXC
12290echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12291echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12292if test $ac_cv_lib_m_atanhl = yes; then
453310d8
RS
12293
12294cat >>confdefs.h <<\_ACEOF
1409cd0b 12295#define HAVE_ATANHL 1
453310d8
RS
12296_ACEOF
12297
12298fi
12299
1409cd0b
FXC
12300echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12301echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12302if test "${ac_cv_lib_m_cargf+set}" = set; then
bf4d99cf
TS
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12304else
12305 ac_check_lib_save_LIBS=$LIBS
12306LIBS="-lm $LIBS"
f02d008e
JD
12307if test x$gcc_no_link = xyes; then
12308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12309echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12310 { (exit 1); exit 1; }; }
12311fi
bf4d99cf
TS
12312cat >conftest.$ac_ext <<_ACEOF
12313/* confdefs.h. */
12314_ACEOF
12315cat confdefs.h >>conftest.$ac_ext
12316cat >>conftest.$ac_ext <<_ACEOF
12317/* end confdefs.h. */
12318
12319/* Override any gcc2 internal prototype to avoid an error. */
12320#ifdef __cplusplus
12321extern "C"
12322#endif
12323/* We use char because int might match the return type of a gcc2
12324 builtin and then its argument prototype would still apply. */
1409cd0b 12325char cargf ();
bf4d99cf
TS
12326int
12327main ()
12328{
1409cd0b 12329cargf ();
bf4d99cf
TS
12330 ;
12331 return 0;
12332}
12333_ACEOF
12334rm -f conftest.$ac_objext conftest$ac_exeext
12335if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12336 (eval $ac_link) 2>conftest.er1
12337 ac_status=$?
12338 grep -v '^ *+' conftest.er1 >conftest.err
12339 rm -f conftest.er1
12340 cat conftest.err >&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } &&
57255173
PB
12343 { ac_try='test -z "$ac_c_werror_flag"
12344 || test ! -s conftest.err'
bf4d99cf
TS
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12347 ac_status=$?
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; } &&
12350 { ac_try='test -s conftest$ac_exeext'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12353 ac_status=$?
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; }; then
1409cd0b 12356 ac_cv_lib_m_cargf=yes
bf4d99cf
TS
12357else
12358 echo "$as_me: failed program was:" >&5
12359sed 's/^/| /' conftest.$ac_ext >&5
12360
1409cd0b 12361ac_cv_lib_m_cargf=no
bf4d99cf
TS
12362fi
12363rm -f conftest.err conftest.$ac_objext \
12364 conftest$ac_exeext conftest.$ac_ext
12365LIBS=$ac_check_lib_save_LIBS
12366fi
1409cd0b
FXC
12367echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12368echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12369if test $ac_cv_lib_m_cargf = yes; then
bf4d99cf
TS
12370
12371cat >>confdefs.h <<\_ACEOF
1409cd0b 12372#define HAVE_CARGF 1
bf4d99cf
TS
12373_ACEOF
12374
12375fi
12376
1409cd0b
FXC
12377echo "$as_me:$LINENO: checking for carg in -lm" >&5
12378echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12379if test "${ac_cv_lib_m_carg+set}" = set; then
a2a2059f
BD
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12381else
12382 ac_check_lib_save_LIBS=$LIBS
12383LIBS="-lm $LIBS"
f02d008e
JD
12384if test x$gcc_no_link = xyes; then
12385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12386echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12387 { (exit 1); exit 1; }; }
12388fi
a2a2059f
BD
12389cat >conftest.$ac_ext <<_ACEOF
12390/* confdefs.h. */
12391_ACEOF
12392cat confdefs.h >>conftest.$ac_ext
12393cat >>conftest.$ac_ext <<_ACEOF
12394/* end confdefs.h. */
12395
12396/* Override any gcc2 internal prototype to avoid an error. */
12397#ifdef __cplusplus
12398extern "C"
12399#endif
12400/* We use char because int might match the return type of a gcc2
12401 builtin and then its argument prototype would still apply. */
1409cd0b 12402char carg ();
453310d8
RS
12403int
12404main ()
12405{
1409cd0b 12406carg ();
453310d8
RS
12407 ;
12408 return 0;
12409}
12410_ACEOF
12411rm -f conftest.$ac_objext conftest$ac_exeext
12412if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12413 (eval $ac_link) 2>conftest.er1
12414 ac_status=$?
12415 grep -v '^ *+' conftest.er1 >conftest.err
12416 rm -f conftest.er1
12417 cat conftest.err >&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
57255173
PB
12420 { ac_try='test -z "$ac_c_werror_flag"
12421 || test ! -s conftest.err'
453310d8
RS
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12424 ac_status=$?
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try='test -s conftest$ac_exeext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12430 ac_status=$?
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; }; then
1409cd0b 12433 ac_cv_lib_m_carg=yes
453310d8
RS
12434else
12435 echo "$as_me: failed program was:" >&5
12436sed 's/^/| /' conftest.$ac_ext >&5
12437
1409cd0b 12438ac_cv_lib_m_carg=no
453310d8
RS
12439fi
12440rm -f conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12442LIBS=$ac_check_lib_save_LIBS
12443fi
1409cd0b
FXC
12444echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12445echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12446if test $ac_cv_lib_m_carg = yes; then
453310d8
RS
12447
12448cat >>confdefs.h <<\_ACEOF
1409cd0b 12449#define HAVE_CARG 1
453310d8
RS
12450_ACEOF
12451
12452fi
12453
1409cd0b
FXC
12454echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12455echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12456if test "${ac_cv_lib_m_cargl+set}" = set; then
453310d8
RS
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12458else
12459 ac_check_lib_save_LIBS=$LIBS
12460LIBS="-lm $LIBS"
f02d008e
JD
12461if test x$gcc_no_link = xyes; then
12462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12463echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12464 { (exit 1); exit 1; }; }
12465fi
453310d8
RS
12466cat >conftest.$ac_ext <<_ACEOF
12467/* confdefs.h. */
12468_ACEOF
12469cat confdefs.h >>conftest.$ac_ext
12470cat >>conftest.$ac_ext <<_ACEOF
12471/* end confdefs.h. */
12472
12473/* Override any gcc2 internal prototype to avoid an error. */
12474#ifdef __cplusplus
12475extern "C"
12476#endif
12477/* We use char because int might match the return type of a gcc2
12478 builtin and then its argument prototype would still apply. */
1409cd0b 12479char cargl ();
a2a2059f
BD
12480int
12481main ()
12482{
1409cd0b 12483cargl ();
a2a2059f
BD
12484 ;
12485 return 0;
12486}
12487_ACEOF
12488rm -f conftest.$ac_objext conftest$ac_exeext
12489if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12490 (eval $ac_link) 2>conftest.er1
12491 ac_status=$?
12492 grep -v '^ *+' conftest.er1 >conftest.err
12493 rm -f conftest.er1
12494 cat conftest.err >&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } &&
57255173
PB
12497 { ac_try='test -z "$ac_c_werror_flag"
12498 || test ! -s conftest.err'
a2a2059f
BD
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; } &&
12504 { ac_try='test -s conftest$ac_exeext'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12507 ac_status=$?
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; }; then
1409cd0b 12510 ac_cv_lib_m_cargl=yes
a2a2059f
BD
12511else
12512 echo "$as_me: failed program was:" >&5
12513sed 's/^/| /' conftest.$ac_ext >&5
12514
1409cd0b 12515ac_cv_lib_m_cargl=no
a2a2059f
BD
12516fi
12517rm -f conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519LIBS=$ac_check_lib_save_LIBS
12520fi
1409cd0b
FXC
12521echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12522echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12523if test $ac_cv_lib_m_cargl = yes; then
a2a2059f
BD
12524
12525cat >>confdefs.h <<\_ACEOF
1409cd0b 12526#define HAVE_CARGL 1
a2a2059f
BD
12527_ACEOF
12528
12529fi
12530
1409cd0b
FXC
12531echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12532echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12533if test "${ac_cv_lib_m_ceilf+set}" = set; then
a2a2059f
BD
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12535else
12536 ac_check_lib_save_LIBS=$LIBS
12537LIBS="-lm $LIBS"
f02d008e
JD
12538if test x$gcc_no_link = xyes; then
12539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12540echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12541 { (exit 1); exit 1; }; }
12542fi
a2a2059f
BD
12543cat >conftest.$ac_ext <<_ACEOF
12544/* confdefs.h. */
12545_ACEOF
12546cat confdefs.h >>conftest.$ac_ext
12547cat >>conftest.$ac_ext <<_ACEOF
12548/* end confdefs.h. */
12549
12550/* Override any gcc2 internal prototype to avoid an error. */
12551#ifdef __cplusplus
12552extern "C"
12553#endif
12554/* We use char because int might match the return type of a gcc2
12555 builtin and then its argument prototype would still apply. */
1409cd0b 12556char ceilf ();
a2a2059f
BD
12557int
12558main ()
12559{
1409cd0b 12560ceilf ();
a2a2059f
BD
12561 ;
12562 return 0;
12563}
12564_ACEOF
12565rm -f conftest.$ac_objext conftest$ac_exeext
12566if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12567 (eval $ac_link) 2>conftest.er1
12568 ac_status=$?
12569 grep -v '^ *+' conftest.er1 >conftest.err
12570 rm -f conftest.er1
12571 cat conftest.err >&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); } &&
57255173
PB
12574 { ac_try='test -z "$ac_c_werror_flag"
12575 || test ! -s conftest.err'
a2a2059f
BD
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12578 ac_status=$?
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; } &&
12581 { ac_try='test -s conftest$ac_exeext'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; }; then
1409cd0b 12587 ac_cv_lib_m_ceilf=yes
a2a2059f
BD
12588else
12589 echo "$as_me: failed program was:" >&5
12590sed 's/^/| /' conftest.$ac_ext >&5
12591
1409cd0b 12592ac_cv_lib_m_ceilf=no
a2a2059f
BD
12593fi
12594rm -f conftest.err conftest.$ac_objext \
12595 conftest$ac_exeext conftest.$ac_ext
12596LIBS=$ac_check_lib_save_LIBS
12597fi
1409cd0b
FXC
12598echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12599echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12600if test $ac_cv_lib_m_ceilf = yes; then
a2a2059f
BD
12601
12602cat >>confdefs.h <<\_ACEOF
1409cd0b 12603#define HAVE_CEILF 1
a2a2059f
BD
12604_ACEOF
12605
12606fi
12607
1409cd0b
FXC
12608echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12609echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12610if test "${ac_cv_lib_m_ceil+set}" = set; then
ae973d6a
FXC
12611 echo $ECHO_N "(cached) $ECHO_C" >&6
12612else
12613 ac_check_lib_save_LIBS=$LIBS
12614LIBS="-lm $LIBS"
f02d008e
JD
12615if test x$gcc_no_link = xyes; then
12616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12617echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12618 { (exit 1); exit 1; }; }
12619fi
ae973d6a
FXC
12620cat >conftest.$ac_ext <<_ACEOF
12621/* confdefs.h. */
12622_ACEOF
12623cat confdefs.h >>conftest.$ac_ext
12624cat >>conftest.$ac_ext <<_ACEOF
12625/* end confdefs.h. */
12626
12627/* Override any gcc2 internal prototype to avoid an error. */
12628#ifdef __cplusplus
12629extern "C"
12630#endif
12631/* We use char because int might match the return type of a gcc2
12632 builtin and then its argument prototype would still apply. */
1409cd0b 12633char ceil ();
ae973d6a
FXC
12634int
12635main ()
12636{
1409cd0b 12637ceil ();
ae973d6a
FXC
12638 ;
12639 return 0;
12640}
12641_ACEOF
12642rm -f conftest.$ac_objext conftest$ac_exeext
12643if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12644 (eval $ac_link) 2>conftest.er1
12645 ac_status=$?
12646 grep -v '^ *+' conftest.er1 >conftest.err
12647 rm -f conftest.er1
12648 cat conftest.err >&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); } &&
57255173
PB
12651 { ac_try='test -z "$ac_c_werror_flag"
12652 || test ! -s conftest.err'
ae973d6a
FXC
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12655 ac_status=$?
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; } &&
12658 { ac_try='test -s conftest$ac_exeext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
1409cd0b 12664 ac_cv_lib_m_ceil=yes
ae973d6a
FXC
12665else
12666 echo "$as_me: failed program was:" >&5
12667sed 's/^/| /' conftest.$ac_ext >&5
12668
1409cd0b 12669ac_cv_lib_m_ceil=no
ae973d6a
FXC
12670fi
12671rm -f conftest.err conftest.$ac_objext \
12672 conftest$ac_exeext conftest.$ac_ext
12673LIBS=$ac_check_lib_save_LIBS
12674fi
1409cd0b
FXC
12675echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12676echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12677if test $ac_cv_lib_m_ceil = yes; then
ae973d6a
FXC
12678
12679cat >>confdefs.h <<\_ACEOF
1409cd0b 12680#define HAVE_CEIL 1
ae973d6a
FXC
12681_ACEOF
12682
12683fi
12684
1409cd0b
FXC
12685echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12686echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12687if test "${ac_cv_lib_m_ceill+set}" = set; then
a9e7b9d3
PB
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12689else
12690 ac_check_lib_save_LIBS=$LIBS
12691LIBS="-lm $LIBS"
f02d008e
JD
12692if test x$gcc_no_link = xyes; then
12693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12694echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12695 { (exit 1); exit 1; }; }
12696fi
a9e7b9d3
PB
12697cat >conftest.$ac_ext <<_ACEOF
12698/* confdefs.h. */
12699_ACEOF
12700cat confdefs.h >>conftest.$ac_ext
12701cat >>conftest.$ac_ext <<_ACEOF
12702/* end confdefs.h. */
12703
12704/* Override any gcc2 internal prototype to avoid an error. */
12705#ifdef __cplusplus
12706extern "C"
12707#endif
12708/* We use char because int might match the return type of a gcc2
12709 builtin and then its argument prototype would still apply. */
1409cd0b 12710char ceill ();
a9e7b9d3
PB
12711int
12712main ()
12713{
1409cd0b 12714ceill ();
a9e7b9d3
PB
12715 ;
12716 return 0;
12717}
12718_ACEOF
12719rm -f conftest.$ac_objext conftest$ac_exeext
12720if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12721 (eval $ac_link) 2>conftest.er1
12722 ac_status=$?
12723 grep -v '^ *+' conftest.er1 >conftest.err
12724 rm -f conftest.er1
12725 cat conftest.err >&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } &&
57255173
PB
12728 { ac_try='test -z "$ac_c_werror_flag"
12729 || test ! -s conftest.err'
a9e7b9d3
PB
12730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12731 (eval $ac_try) 2>&5
12732 ac_status=$?
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); }; } &&
12735 { ac_try='test -s conftest$ac_exeext'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12738 ac_status=$?
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; }; then
1409cd0b 12741 ac_cv_lib_m_ceill=yes
a9e7b9d3
PB
12742else
12743 echo "$as_me: failed program was:" >&5
12744sed 's/^/| /' conftest.$ac_ext >&5
12745
1409cd0b 12746ac_cv_lib_m_ceill=no
a9e7b9d3
PB
12747fi
12748rm -f conftest.err conftest.$ac_objext \
12749 conftest$ac_exeext conftest.$ac_ext
12750LIBS=$ac_check_lib_save_LIBS
12751fi
1409cd0b
FXC
12752echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12753echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12754if test $ac_cv_lib_m_ceill = yes; then
a9e7b9d3
PB
12755
12756cat >>confdefs.h <<\_ACEOF
1409cd0b 12757#define HAVE_CEILL 1
a9e7b9d3
PB
12758_ACEOF
12759
12760fi
12761
1409cd0b
FXC
12762echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12763echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12764if test "${ac_cv_lib_m_copysignf+set}" = set; then
a9e7b9d3
PB
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766else
12767 ac_check_lib_save_LIBS=$LIBS
12768LIBS="-lm $LIBS"
f02d008e
JD
12769if test x$gcc_no_link = xyes; then
12770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12771echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12772 { (exit 1); exit 1; }; }
12773fi
a9e7b9d3
PB
12774cat >conftest.$ac_ext <<_ACEOF
12775/* confdefs.h. */
12776_ACEOF
12777cat confdefs.h >>conftest.$ac_ext
12778cat >>conftest.$ac_ext <<_ACEOF
12779/* end confdefs.h. */
12780
12781/* Override any gcc2 internal prototype to avoid an error. */
12782#ifdef __cplusplus
12783extern "C"
12784#endif
12785/* We use char because int might match the return type of a gcc2
12786 builtin and then its argument prototype would still apply. */
1409cd0b 12787char copysignf ();
a9e7b9d3
PB
12788int
12789main ()
12790{
1409cd0b 12791copysignf ();
a9e7b9d3
PB
12792 ;
12793 return 0;
12794}
12795_ACEOF
12796rm -f conftest.$ac_objext conftest$ac_exeext
12797if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12798 (eval $ac_link) 2>conftest.er1
12799 ac_status=$?
12800 grep -v '^ *+' conftest.er1 >conftest.err
12801 rm -f conftest.er1
12802 cat conftest.err >&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } &&
57255173
PB
12805 { ac_try='test -z "$ac_c_werror_flag"
12806 || test ! -s conftest.err'
a9e7b9d3
PB
12807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 (eval $ac_try) 2>&5
12809 ac_status=$?
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); }; } &&
12812 { ac_try='test -s conftest$ac_exeext'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12815 ac_status=$?
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; }; then
1409cd0b 12818 ac_cv_lib_m_copysignf=yes
a9e7b9d3
PB
12819else
12820 echo "$as_me: failed program was:" >&5
12821sed 's/^/| /' conftest.$ac_ext >&5
12822
1409cd0b 12823ac_cv_lib_m_copysignf=no
a9e7b9d3
PB
12824fi
12825rm -f conftest.err conftest.$ac_objext \
12826 conftest$ac_exeext conftest.$ac_ext
12827LIBS=$ac_check_lib_save_LIBS
12828fi
1409cd0b
FXC
12829echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12830echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12831if test $ac_cv_lib_m_copysignf = yes; then
a9e7b9d3
PB
12832
12833cat >>confdefs.h <<\_ACEOF
1409cd0b 12834#define HAVE_COPYSIGNF 1
453310d8
RS
12835_ACEOF
12836
12837fi
12838
1409cd0b
FXC
12839echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12840echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12841if test "${ac_cv_lib_m_copysign+set}" = set; then
453310d8
RS
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12843else
12844 ac_check_lib_save_LIBS=$LIBS
12845LIBS="-lm $LIBS"
f02d008e
JD
12846if test x$gcc_no_link = xyes; then
12847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12848echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12849 { (exit 1); exit 1; }; }
12850fi
453310d8
RS
12851cat >conftest.$ac_ext <<_ACEOF
12852/* confdefs.h. */
12853_ACEOF
12854cat confdefs.h >>conftest.$ac_ext
12855cat >>conftest.$ac_ext <<_ACEOF
12856/* end confdefs.h. */
12857
12858/* Override any gcc2 internal prototype to avoid an error. */
12859#ifdef __cplusplus
12860extern "C"
12861#endif
12862/* We use char because int might match the return type of a gcc2
12863 builtin and then its argument prototype would still apply. */
1409cd0b 12864char copysign ();
453310d8
RS
12865int
12866main ()
12867{
1409cd0b 12868copysign ();
453310d8
RS
12869 ;
12870 return 0;
12871}
12872_ACEOF
12873rm -f conftest.$ac_objext conftest$ac_exeext
12874if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12875 (eval $ac_link) 2>conftest.er1
12876 ac_status=$?
12877 grep -v '^ *+' conftest.er1 >conftest.err
12878 rm -f conftest.er1
12879 cat conftest.err >&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } &&
57255173
PB
12882 { ac_try='test -z "$ac_c_werror_flag"
12883 || test ! -s conftest.err'
453310d8
RS
12884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885 (eval $ac_try) 2>&5
12886 ac_status=$?
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }; } &&
12889 { ac_try='test -s conftest$ac_exeext'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12892 ac_status=$?
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; }; then
1409cd0b 12895 ac_cv_lib_m_copysign=yes
453310d8
RS
12896else
12897 echo "$as_me: failed program was:" >&5
12898sed 's/^/| /' conftest.$ac_ext >&5
12899
1409cd0b 12900ac_cv_lib_m_copysign=no
453310d8
RS
12901fi
12902rm -f conftest.err conftest.$ac_objext \
12903 conftest$ac_exeext conftest.$ac_ext
12904LIBS=$ac_check_lib_save_LIBS
12905fi
1409cd0b
FXC
12906echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12907echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12908if test $ac_cv_lib_m_copysign = yes; then
453310d8
RS
12909
12910cat >>confdefs.h <<\_ACEOF
1409cd0b 12911#define HAVE_COPYSIGN 1
453310d8
RS
12912_ACEOF
12913
12914fi
12915
1409cd0b
FXC
12916echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12917echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12918if test "${ac_cv_lib_m_copysignl+set}" = set; then
453310d8
RS
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12920else
12921 ac_check_lib_save_LIBS=$LIBS
12922LIBS="-lm $LIBS"
f02d008e
JD
12923if test x$gcc_no_link = xyes; then
12924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12925echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12926 { (exit 1); exit 1; }; }
12927fi
453310d8
RS
12928cat >conftest.$ac_ext <<_ACEOF
12929/* confdefs.h. */
12930_ACEOF
12931cat confdefs.h >>conftest.$ac_ext
12932cat >>conftest.$ac_ext <<_ACEOF
12933/* end confdefs.h. */
12934
12935/* Override any gcc2 internal prototype to avoid an error. */
12936#ifdef __cplusplus
12937extern "C"
12938#endif
12939/* We use char because int might match the return type of a gcc2
12940 builtin and then its argument prototype would still apply. */
1409cd0b 12941char copysignl ();
453310d8
RS
12942int
12943main ()
12944{
1409cd0b 12945copysignl ();
453310d8
RS
12946 ;
12947 return 0;
12948}
12949_ACEOF
12950rm -f conftest.$ac_objext conftest$ac_exeext
12951if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12952 (eval $ac_link) 2>conftest.er1
12953 ac_status=$?
12954 grep -v '^ *+' conftest.er1 >conftest.err
12955 rm -f conftest.er1
12956 cat conftest.err >&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); } &&
57255173
PB
12959 { ac_try='test -z "$ac_c_werror_flag"
12960 || test ! -s conftest.err'
453310d8
RS
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12963 ac_status=$?
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; } &&
12966 { ac_try='test -s conftest$ac_exeext'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12969 ac_status=$?
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; }; then
1409cd0b 12972 ac_cv_lib_m_copysignl=yes
453310d8
RS
12973else
12974 echo "$as_me: failed program was:" >&5
12975sed 's/^/| /' conftest.$ac_ext >&5
12976
1409cd0b 12977ac_cv_lib_m_copysignl=no
453310d8
RS
12978fi
12979rm -f conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12981LIBS=$ac_check_lib_save_LIBS
12982fi
1409cd0b
FXC
12983echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12984echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12985if test $ac_cv_lib_m_copysignl = yes; then
453310d8
RS
12986
12987cat >>confdefs.h <<\_ACEOF
1409cd0b 12988#define HAVE_COPYSIGNL 1
453310d8
RS
12989_ACEOF
12990
12991fi
12992
1409cd0b
FXC
12993echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12994echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12995if test "${ac_cv_lib_m_cosf+set}" = set; then
453310d8
RS
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12997else
12998 ac_check_lib_save_LIBS=$LIBS
12999LIBS="-lm $LIBS"
f02d008e
JD
13000if test x$gcc_no_link = xyes; then
13001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13002echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13003 { (exit 1); exit 1; }; }
13004fi
453310d8
RS
13005cat >conftest.$ac_ext <<_ACEOF
13006/* confdefs.h. */
13007_ACEOF
13008cat confdefs.h >>conftest.$ac_ext
13009cat >>conftest.$ac_ext <<_ACEOF
13010/* end confdefs.h. */
13011
13012/* Override any gcc2 internal prototype to avoid an error. */
13013#ifdef __cplusplus
13014extern "C"
13015#endif
13016/* We use char because int might match the return type of a gcc2
13017 builtin and then its argument prototype would still apply. */
1409cd0b 13018char cosf ();
453310d8
RS
13019int
13020main ()
13021{
1409cd0b 13022cosf ();
453310d8
RS
13023 ;
13024 return 0;
13025}
13026_ACEOF
13027rm -f conftest.$ac_objext conftest$ac_exeext
13028if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13029 (eval $ac_link) 2>conftest.er1
13030 ac_status=$?
13031 grep -v '^ *+' conftest.er1 >conftest.err
13032 rm -f conftest.er1
13033 cat conftest.err >&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } &&
57255173
PB
13036 { ac_try='test -z "$ac_c_werror_flag"
13037 || test ! -s conftest.err'
453310d8
RS
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; } &&
13043 { ac_try='test -s conftest$ac_exeext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
1409cd0b 13049 ac_cv_lib_m_cosf=yes
453310d8
RS
13050else
13051 echo "$as_me: failed program was:" >&5
13052sed 's/^/| /' conftest.$ac_ext >&5
13053
1409cd0b 13054ac_cv_lib_m_cosf=no
453310d8
RS
13055fi
13056rm -f conftest.err conftest.$ac_objext \
13057 conftest$ac_exeext conftest.$ac_ext
13058LIBS=$ac_check_lib_save_LIBS
13059fi
1409cd0b
FXC
13060echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13061echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13062if test $ac_cv_lib_m_cosf = yes; then
453310d8
RS
13063
13064cat >>confdefs.h <<\_ACEOF
1409cd0b 13065#define HAVE_COSF 1
a9e7b9d3
PB
13066_ACEOF
13067
13068fi
13069
1409cd0b
FXC
13070echo "$as_me:$LINENO: checking for cos in -lm" >&5
13071echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13072if test "${ac_cv_lib_m_cos+set}" = set; then
69a2d125
EB
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13074else
13075 ac_check_lib_save_LIBS=$LIBS
13076LIBS="-lm $LIBS"
f02d008e
JD
13077if test x$gcc_no_link = xyes; then
13078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13079echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13080 { (exit 1); exit 1; }; }
13081fi
69a2d125
EB
13082cat >conftest.$ac_ext <<_ACEOF
13083/* confdefs.h. */
13084_ACEOF
13085cat confdefs.h >>conftest.$ac_ext
13086cat >>conftest.$ac_ext <<_ACEOF
13087/* end confdefs.h. */
13088
13089/* Override any gcc2 internal prototype to avoid an error. */
13090#ifdef __cplusplus
13091extern "C"
13092#endif
13093/* We use char because int might match the return type of a gcc2
13094 builtin and then its argument prototype would still apply. */
1409cd0b 13095char cos ();
69a2d125
EB
13096int
13097main ()
13098{
1409cd0b 13099cos ();
69a2d125
EB
13100 ;
13101 return 0;
13102}
13103_ACEOF
13104rm -f conftest.$ac_objext conftest$ac_exeext
13105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13106 (eval $ac_link) 2>conftest.er1
13107 ac_status=$?
13108 grep -v '^ *+' conftest.er1 >conftest.err
13109 rm -f conftest.er1
13110 cat conftest.err >&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); } &&
57255173
PB
13113 { ac_try='test -z "$ac_c_werror_flag"
13114 || test ! -s conftest.err'
69a2d125
EB
13115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13116 (eval $ac_try) 2>&5
13117 ac_status=$?
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); }; } &&
13120 { ac_try='test -s conftest$ac_exeext'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13123 ac_status=$?
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; }; then
1409cd0b 13126 ac_cv_lib_m_cos=yes
69a2d125
EB
13127else
13128 echo "$as_me: failed program was:" >&5
13129sed 's/^/| /' conftest.$ac_ext >&5
13130
1409cd0b 13131ac_cv_lib_m_cos=no
69a2d125
EB
13132fi
13133rm -f conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135LIBS=$ac_check_lib_save_LIBS
13136fi
1409cd0b
FXC
13137echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13138echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13139if test $ac_cv_lib_m_cos = yes; then
69a2d125
EB
13140
13141cat >>confdefs.h <<\_ACEOF
1409cd0b
FXC
13142#define HAVE_COS 1
13143_ACEOF
13144
13145fi
13146
13147echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13148echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13149if test "${ac_cv_lib_m_cosl+set}" = set; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13151else
13152 ac_check_lib_save_LIBS=$LIBS
13153LIBS="-lm $LIBS"
13154if test x$gcc_no_link = xyes; then
13155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13156echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13157 { (exit 1); exit 1; }; }
13158fi
13159cat >conftest.$ac_ext <<_ACEOF
13160/* confdefs.h. */
13161_ACEOF
13162cat confdefs.h >>conftest.$ac_ext
13163cat >>conftest.$ac_ext <<_ACEOF
13164/* end confdefs.h. */
13165
13166/* Override any gcc2 internal prototype to avoid an error. */
13167#ifdef __cplusplus
13168extern "C"
13169#endif
13170/* We use char because int might match the return type of a gcc2
13171 builtin and then its argument prototype would still apply. */
13172char cosl ();
13173int
13174main ()
13175{
13176cosl ();
13177 ;
13178 return 0;
13179}
13180_ACEOF
13181rm -f conftest.$ac_objext conftest$ac_exeext
13182if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13183 (eval $ac_link) 2>conftest.er1
13184 ac_status=$?
13185 grep -v '^ *+' conftest.er1 >conftest.err
13186 rm -f conftest.er1
13187 cat conftest.err >&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
57255173
PB
13190 { ac_try='test -z "$ac_c_werror_flag"
13191 || test ! -s conftest.err'
1409cd0b
FXC
13192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13194 ac_status=$?
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; } &&
13197 { ac_try='test -s conftest$ac_exeext'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13200 ac_status=$?
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; }; then
13203 ac_cv_lib_m_cosl=yes
13204else
13205 echo "$as_me: failed program was:" >&5
13206sed 's/^/| /' conftest.$ac_ext >&5
13207
13208ac_cv_lib_m_cosl=no
13209fi
13210rm -f conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212LIBS=$ac_check_lib_save_LIBS
13213fi
13214echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13215echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13216if test $ac_cv_lib_m_cosl = yes; then
13217
13218cat >>confdefs.h <<\_ACEOF
13219#define HAVE_COSL 1
13220_ACEOF
13221
13222fi
13223
13224echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13225echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13226if test "${ac_cv_lib_m_ccosf+set}" = set; then
13227 echo $ECHO_N "(cached) $ECHO_C" >&6
13228else
13229 ac_check_lib_save_LIBS=$LIBS
13230LIBS="-lm $LIBS"
13231if test x$gcc_no_link = xyes; then
13232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13233echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13234 { (exit 1); exit 1; }; }
13235fi
13236cat >conftest.$ac_ext <<_ACEOF
13237/* confdefs.h. */
13238_ACEOF
13239cat confdefs.h >>conftest.$ac_ext
13240cat >>conftest.$ac_ext <<_ACEOF
13241/* end confdefs.h. */
13242
13243/* Override any gcc2 internal prototype to avoid an error. */
13244#ifdef __cplusplus
13245extern "C"
13246#endif
13247/* We use char because int might match the return type of a gcc2
13248 builtin and then its argument prototype would still apply. */
13249char ccosf ();
13250int
13251main ()
13252{
13253ccosf ();
13254 ;
13255 return 0;
13256}
13257_ACEOF
13258rm -f conftest.$ac_objext conftest$ac_exeext
13259if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13260 (eval $ac_link) 2>conftest.er1
13261 ac_status=$?
13262 grep -v '^ *+' conftest.er1 >conftest.err
13263 rm -f conftest.er1
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
57255173
PB
13267 { ac_try='test -z "$ac_c_werror_flag"
13268 || test ! -s conftest.err'
1409cd0b
FXC
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13271 ac_status=$?
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; } &&
13274 { ac_try='test -s conftest$ac_exeext'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13277 ac_status=$?
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; }; then
13280 ac_cv_lib_m_ccosf=yes
13281else
13282 echo "$as_me: failed program was:" >&5
13283sed 's/^/| /' conftest.$ac_ext >&5
13284
13285ac_cv_lib_m_ccosf=no
13286fi
13287rm -f conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289LIBS=$ac_check_lib_save_LIBS
13290fi
13291echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13292echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13293if test $ac_cv_lib_m_ccosf = yes; then
13294
13295cat >>confdefs.h <<\_ACEOF
13296#define HAVE_CCOSF 1
13297_ACEOF
13298
13299fi
13300
13301echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13302echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13303if test "${ac_cv_lib_m_ccos+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13305else
13306 ac_check_lib_save_LIBS=$LIBS
13307LIBS="-lm $LIBS"
13308if test x$gcc_no_link = xyes; then
13309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13310echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13311 { (exit 1); exit 1; }; }
13312fi
13313cat >conftest.$ac_ext <<_ACEOF
13314/* confdefs.h. */
13315_ACEOF
13316cat confdefs.h >>conftest.$ac_ext
13317cat >>conftest.$ac_ext <<_ACEOF
13318/* end confdefs.h. */
13319
13320/* Override any gcc2 internal prototype to avoid an error. */
13321#ifdef __cplusplus
13322extern "C"
13323#endif
13324/* We use char because int might match the return type of a gcc2
13325 builtin and then its argument prototype would still apply. */
13326char ccos ();
13327int
13328main ()
13329{
13330ccos ();
13331 ;
13332 return 0;
13333}
13334_ACEOF
13335rm -f conftest.$ac_objext conftest$ac_exeext
13336if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13337 (eval $ac_link) 2>conftest.er1
13338 ac_status=$?
13339 grep -v '^ *+' conftest.er1 >conftest.err
13340 rm -f conftest.er1
13341 cat conftest.err >&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); } &&
57255173
PB
13344 { ac_try='test -z "$ac_c_werror_flag"
13345 || test ! -s conftest.err'
1409cd0b
FXC
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; } &&
13351 { ac_try='test -s conftest$ac_exeext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13354 ac_status=$?
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 ac_cv_lib_m_ccos=yes
13358else
13359 echo "$as_me: failed program was:" >&5
13360sed 's/^/| /' conftest.$ac_ext >&5
13361
13362ac_cv_lib_m_ccos=no
13363fi
13364rm -f conftest.err conftest.$ac_objext \
13365 conftest$ac_exeext conftest.$ac_ext
13366LIBS=$ac_check_lib_save_LIBS
13367fi
13368echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13369echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13370if test $ac_cv_lib_m_ccos = yes; then
13371
13372cat >>confdefs.h <<\_ACEOF
13373#define HAVE_CCOS 1
13374_ACEOF
13375
13376fi
13377
13378echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13379echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13380if test "${ac_cv_lib_m_ccosl+set}" = set; then
13381 echo $ECHO_N "(cached) $ECHO_C" >&6
13382else
13383 ac_check_lib_save_LIBS=$LIBS
13384LIBS="-lm $LIBS"
13385if test x$gcc_no_link = xyes; then
13386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13387echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13388 { (exit 1); exit 1; }; }
13389fi
13390cat >conftest.$ac_ext <<_ACEOF
13391/* confdefs.h. */
13392_ACEOF
13393cat confdefs.h >>conftest.$ac_ext
13394cat >>conftest.$ac_ext <<_ACEOF
13395/* end confdefs.h. */
13396
13397/* Override any gcc2 internal prototype to avoid an error. */
13398#ifdef __cplusplus
13399extern "C"
13400#endif
13401/* We use char because int might match the return type of a gcc2
13402 builtin and then its argument prototype would still apply. */
13403char ccosl ();
13404int
13405main ()
13406{
13407ccosl ();
13408 ;
13409 return 0;
13410}
13411_ACEOF
13412rm -f conftest.$ac_objext conftest$ac_exeext
13413if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13414 (eval $ac_link) 2>conftest.er1
13415 ac_status=$?
13416 grep -v '^ *+' conftest.er1 >conftest.err
13417 rm -f conftest.er1
13418 cat conftest.err >&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
57255173
PB
13421 { ac_try='test -z "$ac_c_werror_flag"
13422 || test ! -s conftest.err'
1409cd0b
FXC
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13425 ac_status=$?
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try='test -s conftest$ac_exeext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13431 ac_status=$?
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 ac_cv_lib_m_ccosl=yes
13435else
13436 echo "$as_me: failed program was:" >&5
13437sed 's/^/| /' conftest.$ac_ext >&5
13438
13439ac_cv_lib_m_ccosl=no
13440fi
13441rm -f conftest.err conftest.$ac_objext \
13442 conftest$ac_exeext conftest.$ac_ext
13443LIBS=$ac_check_lib_save_LIBS
13444fi
13445echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13446echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13447if test $ac_cv_lib_m_ccosl = yes; then
13448
13449cat >>confdefs.h <<\_ACEOF
13450#define HAVE_CCOSL 1
13451_ACEOF
13452
13453fi
13454
13455echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13456echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13457if test "${ac_cv_lib_m_coshf+set}" = set; then
13458 echo $ECHO_N "(cached) $ECHO_C" >&6
13459else
13460 ac_check_lib_save_LIBS=$LIBS
13461LIBS="-lm $LIBS"
13462if test x$gcc_no_link = xyes; then
13463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13464echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13465 { (exit 1); exit 1; }; }
13466fi
13467cat >conftest.$ac_ext <<_ACEOF
13468/* confdefs.h. */
13469_ACEOF
13470cat confdefs.h >>conftest.$ac_ext
13471cat >>conftest.$ac_ext <<_ACEOF
13472/* end confdefs.h. */
13473
13474/* Override any gcc2 internal prototype to avoid an error. */
13475#ifdef __cplusplus
13476extern "C"
13477#endif
13478/* We use char because int might match the return type of a gcc2
13479 builtin and then its argument prototype would still apply. */
13480char coshf ();
13481int
13482main ()
13483{
13484coshf ();
13485 ;
13486 return 0;
13487}
13488_ACEOF
13489rm -f conftest.$ac_objext conftest$ac_exeext
13490if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13491 (eval $ac_link) 2>conftest.er1
13492 ac_status=$?
13493 grep -v '^ *+' conftest.er1 >conftest.err
13494 rm -f conftest.er1
13495 cat conftest.err >&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); } &&
57255173
PB
13498 { ac_try='test -z "$ac_c_werror_flag"
13499 || test ! -s conftest.err'
1409cd0b
FXC
13500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13501 (eval $ac_try) 2>&5
13502 ac_status=$?
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; } &&
13505 { ac_try='test -s conftest$ac_exeext'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13511 ac_cv_lib_m_coshf=yes
13512else
13513 echo "$as_me: failed program was:" >&5
13514sed 's/^/| /' conftest.$ac_ext >&5
13515
13516ac_cv_lib_m_coshf=no
13517fi
13518rm -f conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520LIBS=$ac_check_lib_save_LIBS
13521fi
13522echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13523echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13524if test $ac_cv_lib_m_coshf = yes; then
13525
13526cat >>confdefs.h <<\_ACEOF
13527#define HAVE_COSHF 1
13528_ACEOF
13529
13530fi
13531
13532echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13533echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13534if test "${ac_cv_lib_m_cosh+set}" = set; then
13535 echo $ECHO_N "(cached) $ECHO_C" >&6
13536else
13537 ac_check_lib_save_LIBS=$LIBS
13538LIBS="-lm $LIBS"
13539if test x$gcc_no_link = xyes; then
13540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13541echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13542 { (exit 1); exit 1; }; }
13543fi
13544cat >conftest.$ac_ext <<_ACEOF
13545/* confdefs.h. */
13546_ACEOF
13547cat confdefs.h >>conftest.$ac_ext
13548cat >>conftest.$ac_ext <<_ACEOF
13549/* end confdefs.h. */
13550
13551/* Override any gcc2 internal prototype to avoid an error. */
13552#ifdef __cplusplus
13553extern "C"
13554#endif
13555/* We use char because int might match the return type of a gcc2
13556 builtin and then its argument prototype would still apply. */
13557char cosh ();
13558int
13559main ()
13560{
13561cosh ();
13562 ;
13563 return 0;
13564}
13565_ACEOF
13566rm -f conftest.$ac_objext conftest$ac_exeext
13567if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13568 (eval $ac_link) 2>conftest.er1
13569 ac_status=$?
13570 grep -v '^ *+' conftest.er1 >conftest.err
13571 rm -f conftest.er1
13572 cat conftest.err >&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
57255173
PB
13575 { ac_try='test -z "$ac_c_werror_flag"
13576 || test ! -s conftest.err'
1409cd0b
FXC
13577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13578 (eval $ac_try) 2>&5
13579 ac_status=$?
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; } &&
13582 { ac_try='test -s conftest$ac_exeext'
13583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13584 (eval $ac_try) 2>&5
13585 ac_status=$?
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); }; }; then
13588 ac_cv_lib_m_cosh=yes
13589else
13590 echo "$as_me: failed program was:" >&5
13591sed 's/^/| /' conftest.$ac_ext >&5
13592
13593ac_cv_lib_m_cosh=no
13594fi
13595rm -f conftest.err conftest.$ac_objext \
13596 conftest$ac_exeext conftest.$ac_ext
13597LIBS=$ac_check_lib_save_LIBS
13598fi
13599echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13600echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13601if test $ac_cv_lib_m_cosh = yes; then
13602
13603cat >>confdefs.h <<\_ACEOF
13604#define HAVE_COSH 1
13605_ACEOF
13606
13607fi
13608
13609echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13610echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13611if test "${ac_cv_lib_m_coshl+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13613else
13614 ac_check_lib_save_LIBS=$LIBS
13615LIBS="-lm $LIBS"
13616if test x$gcc_no_link = xyes; then
13617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13618echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13619 { (exit 1); exit 1; }; }
13620fi
13621cat >conftest.$ac_ext <<_ACEOF
13622/* confdefs.h. */
13623_ACEOF
13624cat confdefs.h >>conftest.$ac_ext
13625cat >>conftest.$ac_ext <<_ACEOF
13626/* end confdefs.h. */
13627
13628/* Override any gcc2 internal prototype to avoid an error. */
13629#ifdef __cplusplus
13630extern "C"
13631#endif
13632/* We use char because int might match the return type of a gcc2
13633 builtin and then its argument prototype would still apply. */
13634char coshl ();
13635int
13636main ()
13637{
13638coshl ();
13639 ;
13640 return 0;
13641}
13642_ACEOF
13643rm -f conftest.$ac_objext conftest$ac_exeext
13644if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13645 (eval $ac_link) 2>conftest.er1
13646 ac_status=$?
13647 grep -v '^ *+' conftest.er1 >conftest.err
13648 rm -f conftest.er1
13649 cat conftest.err >&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
57255173
PB
13652 { ac_try='test -z "$ac_c_werror_flag"
13653 || test ! -s conftest.err'
1409cd0b
FXC
13654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13655 (eval $ac_try) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }; } &&
13659 { ac_try='test -s conftest$ac_exeext'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13665 ac_cv_lib_m_coshl=yes
13666else
13667 echo "$as_me: failed program was:" >&5
13668sed 's/^/| /' conftest.$ac_ext >&5
13669
13670ac_cv_lib_m_coshl=no
13671fi
13672rm -f conftest.err conftest.$ac_objext \
13673 conftest$ac_exeext conftest.$ac_ext
13674LIBS=$ac_check_lib_save_LIBS
13675fi
13676echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13677echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13678if test $ac_cv_lib_m_coshl = yes; then
13679
13680cat >>confdefs.h <<\_ACEOF
13681#define HAVE_COSHL 1
13682_ACEOF
13683
13684fi
13685
13686echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13687echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13688if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13689 echo $ECHO_N "(cached) $ECHO_C" >&6
13690else
13691 ac_check_lib_save_LIBS=$LIBS
13692LIBS="-lm $LIBS"
13693if test x$gcc_no_link = xyes; then
13694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13695echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13696 { (exit 1); exit 1; }; }
13697fi
13698cat >conftest.$ac_ext <<_ACEOF
13699/* confdefs.h. */
13700_ACEOF
13701cat confdefs.h >>conftest.$ac_ext
13702cat >>conftest.$ac_ext <<_ACEOF
13703/* end confdefs.h. */
13704
13705/* Override any gcc2 internal prototype to avoid an error. */
13706#ifdef __cplusplus
13707extern "C"
13708#endif
13709/* We use char because int might match the return type of a gcc2
13710 builtin and then its argument prototype would still apply. */
13711char ccoshf ();
13712int
13713main ()
13714{
13715ccoshf ();
13716 ;
13717 return 0;
13718}
13719_ACEOF
13720rm -f conftest.$ac_objext conftest$ac_exeext
13721if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13722 (eval $ac_link) 2>conftest.er1
13723 ac_status=$?
13724 grep -v '^ *+' conftest.er1 >conftest.err
13725 rm -f conftest.er1
13726 cat conftest.err >&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
57255173
PB
13729 { ac_try='test -z "$ac_c_werror_flag"
13730 || test ! -s conftest.err'
1409cd0b
FXC
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5
13733 ac_status=$?
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; } &&
13736 { ac_try='test -s conftest$ac_exeext'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13739 ac_status=$?
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; }; then
13742 ac_cv_lib_m_ccoshf=yes
13743else
13744 echo "$as_me: failed program was:" >&5
13745sed 's/^/| /' conftest.$ac_ext >&5
13746
13747ac_cv_lib_m_ccoshf=no
13748fi
13749rm -f conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751LIBS=$ac_check_lib_save_LIBS
13752fi
13753echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13754echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13755if test $ac_cv_lib_m_ccoshf = yes; then
13756
13757cat >>confdefs.h <<\_ACEOF
13758#define HAVE_CCOSHF 1
13759_ACEOF
13760
13761fi
13762
13763echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13764echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13765if test "${ac_cv_lib_m_ccosh+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13767else
13768 ac_check_lib_save_LIBS=$LIBS
13769LIBS="-lm $LIBS"
13770if test x$gcc_no_link = xyes; then
13771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13772echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13773 { (exit 1); exit 1; }; }
13774fi
13775cat >conftest.$ac_ext <<_ACEOF
13776/* confdefs.h. */
13777_ACEOF
13778cat confdefs.h >>conftest.$ac_ext
13779cat >>conftest.$ac_ext <<_ACEOF
13780/* end confdefs.h. */
13781
13782/* Override any gcc2 internal prototype to avoid an error. */
13783#ifdef __cplusplus
13784extern "C"
13785#endif
13786/* We use char because int might match the return type of a gcc2
13787 builtin and then its argument prototype would still apply. */
13788char ccosh ();
13789int
13790main ()
13791{
13792ccosh ();
13793 ;
13794 return 0;
13795}
13796_ACEOF
13797rm -f conftest.$ac_objext conftest$ac_exeext
13798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13799 (eval $ac_link) 2>conftest.er1
13800 ac_status=$?
13801 grep -v '^ *+' conftest.er1 >conftest.err
13802 rm -f conftest.er1
13803 cat conftest.err >&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); } &&
57255173
PB
13806 { ac_try='test -z "$ac_c_werror_flag"
13807 || test ! -s conftest.err'
1409cd0b
FXC
13808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13809 (eval $ac_try) 2>&5
13810 ac_status=$?
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); }; } &&
13813 { ac_try='test -s conftest$ac_exeext'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13816 ac_status=$?
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; }; then
13819 ac_cv_lib_m_ccosh=yes
13820else
13821 echo "$as_me: failed program was:" >&5
13822sed 's/^/| /' conftest.$ac_ext >&5
13823
13824ac_cv_lib_m_ccosh=no
13825fi
13826rm -f conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828LIBS=$ac_check_lib_save_LIBS
13829fi
13830echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13831echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13832if test $ac_cv_lib_m_ccosh = yes; then
13833
13834cat >>confdefs.h <<\_ACEOF
13835#define HAVE_CCOSH 1
13836_ACEOF
13837
13838fi
13839
13840echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13841echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13842if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13843 echo $ECHO_N "(cached) $ECHO_C" >&6
13844else
13845 ac_check_lib_save_LIBS=$LIBS
13846LIBS="-lm $LIBS"
13847if test x$gcc_no_link = xyes; then
13848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13849echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13850 { (exit 1); exit 1; }; }
13851fi
13852cat >conftest.$ac_ext <<_ACEOF
13853/* confdefs.h. */
13854_ACEOF
13855cat confdefs.h >>conftest.$ac_ext
13856cat >>conftest.$ac_ext <<_ACEOF
13857/* end confdefs.h. */
13858
13859/* Override any gcc2 internal prototype to avoid an error. */
13860#ifdef __cplusplus
13861extern "C"
13862#endif
13863/* We use char because int might match the return type of a gcc2
13864 builtin and then its argument prototype would still apply. */
13865char ccoshl ();
13866int
13867main ()
13868{
13869ccoshl ();
13870 ;
13871 return 0;
13872}
13873_ACEOF
13874rm -f conftest.$ac_objext conftest$ac_exeext
13875if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13876 (eval $ac_link) 2>conftest.er1
13877 ac_status=$?
13878 grep -v '^ *+' conftest.er1 >conftest.err
13879 rm -f conftest.er1
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
57255173
PB
13883 { ac_try='test -z "$ac_c_werror_flag"
13884 || test ! -s conftest.err'
1409cd0b
FXC
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest$ac_exeext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 ac_cv_lib_m_ccoshl=yes
13897else
13898 echo "$as_me: failed program was:" >&5
13899sed 's/^/| /' conftest.$ac_ext >&5
13900
13901ac_cv_lib_m_ccoshl=no
13902fi
13903rm -f conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13905LIBS=$ac_check_lib_save_LIBS
13906fi
13907echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13908echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13909if test $ac_cv_lib_m_ccoshl = yes; then
13910
13911cat >>confdefs.h <<\_ACEOF
13912#define HAVE_CCOSHL 1
13913_ACEOF
13914
13915fi
13916
13917echo "$as_me:$LINENO: checking for expf in -lm" >&5
13918echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13919if test "${ac_cv_lib_m_expf+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6
13921else
13922 ac_check_lib_save_LIBS=$LIBS
13923LIBS="-lm $LIBS"
13924if test x$gcc_no_link = xyes; then
13925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13926echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13927 { (exit 1); exit 1; }; }
13928fi
13929cat >conftest.$ac_ext <<_ACEOF
13930/* confdefs.h. */
13931_ACEOF
13932cat confdefs.h >>conftest.$ac_ext
13933cat >>conftest.$ac_ext <<_ACEOF
13934/* end confdefs.h. */
13935
13936/* Override any gcc2 internal prototype to avoid an error. */
13937#ifdef __cplusplus
13938extern "C"
13939#endif
13940/* We use char because int might match the return type of a gcc2
13941 builtin and then its argument prototype would still apply. */
13942char expf ();
13943int
13944main ()
13945{
13946expf ();
13947 ;
13948 return 0;
13949}
13950_ACEOF
13951rm -f conftest.$ac_objext conftest$ac_exeext
13952if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13953 (eval $ac_link) 2>conftest.er1
13954 ac_status=$?
13955 grep -v '^ *+' conftest.er1 >conftest.err
13956 rm -f conftest.er1
13957 cat conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
57255173
PB
13960 { ac_try='test -z "$ac_c_werror_flag"
13961 || test ! -s conftest.err'
1409cd0b
FXC
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13964 ac_status=$?
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; } &&
13967 { ac_try='test -s conftest$ac_exeext'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13970 ac_status=$?
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; }; then
13973 ac_cv_lib_m_expf=yes
13974else
13975 echo "$as_me: failed program was:" >&5
13976sed 's/^/| /' conftest.$ac_ext >&5
13977
13978ac_cv_lib_m_expf=no
13979fi
13980rm -f conftest.err conftest.$ac_objext \
13981 conftest$ac_exeext conftest.$ac_ext
13982LIBS=$ac_check_lib_save_LIBS
13983fi
13984echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13985echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13986if test $ac_cv_lib_m_expf = yes; then
13987
13988cat >>confdefs.h <<\_ACEOF
13989#define HAVE_EXPF 1
13990_ACEOF
13991
13992fi
13993
13994echo "$as_me:$LINENO: checking for exp in -lm" >&5
13995echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13996if test "${ac_cv_lib_m_exp+set}" = set; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13998else
13999 ac_check_lib_save_LIBS=$LIBS
14000LIBS="-lm $LIBS"
14001if test x$gcc_no_link = xyes; then
14002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14003echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14004 { (exit 1); exit 1; }; }
14005fi
14006cat >conftest.$ac_ext <<_ACEOF
14007/* confdefs.h. */
14008_ACEOF
14009cat confdefs.h >>conftest.$ac_ext
14010cat >>conftest.$ac_ext <<_ACEOF
14011/* end confdefs.h. */
14012
14013/* Override any gcc2 internal prototype to avoid an error. */
14014#ifdef __cplusplus
14015extern "C"
14016#endif
14017/* We use char because int might match the return type of a gcc2
14018 builtin and then its argument prototype would still apply. */
14019char exp ();
14020int
14021main ()
14022{
14023exp ();
14024 ;
14025 return 0;
14026}
14027_ACEOF
14028rm -f conftest.$ac_objext conftest$ac_exeext
14029if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030 (eval $ac_link) 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
57255173
PB
14037 { ac_try='test -z "$ac_c_werror_flag"
14038 || test ! -s conftest.err'
1409cd0b
FXC
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try='test -s conftest$ac_exeext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 ac_cv_lib_m_exp=yes
14051else
14052 echo "$as_me: failed program was:" >&5
14053sed 's/^/| /' conftest.$ac_ext >&5
14054
14055ac_cv_lib_m_exp=no
14056fi
14057rm -f conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14059LIBS=$ac_check_lib_save_LIBS
14060fi
14061echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14062echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14063if test $ac_cv_lib_m_exp = yes; then
14064
14065cat >>confdefs.h <<\_ACEOF
14066#define HAVE_EXP 1
14067_ACEOF
14068
14069fi
14070
14071echo "$as_me:$LINENO: checking for expl in -lm" >&5
14072echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14073if test "${ac_cv_lib_m_expl+set}" = set; then
14074 echo $ECHO_N "(cached) $ECHO_C" >&6
14075else
14076 ac_check_lib_save_LIBS=$LIBS
14077LIBS="-lm $LIBS"
14078if test x$gcc_no_link = xyes; then
14079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14080echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14081 { (exit 1); exit 1; }; }
14082fi
14083cat >conftest.$ac_ext <<_ACEOF
14084/* confdefs.h. */
14085_ACEOF
14086cat confdefs.h >>conftest.$ac_ext
14087cat >>conftest.$ac_ext <<_ACEOF
14088/* end confdefs.h. */
14089
14090/* Override any gcc2 internal prototype to avoid an error. */
14091#ifdef __cplusplus
14092extern "C"
14093#endif
14094/* We use char because int might match the return type of a gcc2
14095 builtin and then its argument prototype would still apply. */
14096char expl ();
14097int
14098main ()
14099{
14100expl ();
14101 ;
14102 return 0;
14103}
14104_ACEOF
14105rm -f conftest.$ac_objext conftest$ac_exeext
14106if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14107 (eval $ac_link) 2>conftest.er1
14108 ac_status=$?
14109 grep -v '^ *+' conftest.er1 >conftest.err
14110 rm -f conftest.er1
14111 cat conftest.err >&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); } &&
57255173
PB
14114 { ac_try='test -z "$ac_c_werror_flag"
14115 || test ! -s conftest.err'
1409cd0b
FXC
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14118 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try='test -s conftest$ac_exeext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 ac_cv_lib_m_expl=yes
14128else
14129 echo "$as_me: failed program was:" >&5
14130sed 's/^/| /' conftest.$ac_ext >&5
14131
14132ac_cv_lib_m_expl=no
14133fi
14134rm -f conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136LIBS=$ac_check_lib_save_LIBS
14137fi
14138echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14139echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14140if test $ac_cv_lib_m_expl = yes; then
14141
14142cat >>confdefs.h <<\_ACEOF
14143#define HAVE_EXPL 1
14144_ACEOF
14145
14146fi
14147
14148echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14149echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14150if test "${ac_cv_lib_m_cexpf+set}" = set; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14152else
14153 ac_check_lib_save_LIBS=$LIBS
14154LIBS="-lm $LIBS"
14155if test x$gcc_no_link = xyes; then
14156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14157echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14158 { (exit 1); exit 1; }; }
14159fi
14160cat >conftest.$ac_ext <<_ACEOF
14161/* confdefs.h. */
14162_ACEOF
14163cat confdefs.h >>conftest.$ac_ext
14164cat >>conftest.$ac_ext <<_ACEOF
14165/* end confdefs.h. */
14166
14167/* Override any gcc2 internal prototype to avoid an error. */
14168#ifdef __cplusplus
14169extern "C"
14170#endif
14171/* We use char because int might match the return type of a gcc2
14172 builtin and then its argument prototype would still apply. */
14173char cexpf ();
14174int
14175main ()
14176{
14177cexpf ();
14178 ;
14179 return 0;
14180}
14181_ACEOF
14182rm -f conftest.$ac_objext conftest$ac_exeext
14183if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14184 (eval $ac_link) 2>conftest.er1
14185 ac_status=$?
14186 grep -v '^ *+' conftest.er1 >conftest.err
14187 rm -f conftest.er1
14188 cat conftest.err >&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); } &&
57255173
PB
14191 { ac_try='test -z "$ac_c_werror_flag"
14192 || test ! -s conftest.err'
1409cd0b
FXC
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14195 ac_status=$?
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try='test -s conftest$ac_exeext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14204 ac_cv_lib_m_cexpf=yes
14205else
14206 echo "$as_me: failed program was:" >&5
14207sed 's/^/| /' conftest.$ac_ext >&5
14208
14209ac_cv_lib_m_cexpf=no
14210fi
14211rm -f conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14213LIBS=$ac_check_lib_save_LIBS
14214fi
14215echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14216echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14217if test $ac_cv_lib_m_cexpf = yes; then
14218
14219cat >>confdefs.h <<\_ACEOF
14220#define HAVE_CEXPF 1
14221_ACEOF
14222
14223fi
14224
14225echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14226echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14227if test "${ac_cv_lib_m_cexp+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229else
14230 ac_check_lib_save_LIBS=$LIBS
14231LIBS="-lm $LIBS"
14232if test x$gcc_no_link = xyes; then
14233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14234echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14235 { (exit 1); exit 1; }; }
14236fi
14237cat >conftest.$ac_ext <<_ACEOF
14238/* confdefs.h. */
14239_ACEOF
14240cat confdefs.h >>conftest.$ac_ext
14241cat >>conftest.$ac_ext <<_ACEOF
14242/* end confdefs.h. */
14243
14244/* Override any gcc2 internal prototype to avoid an error. */
14245#ifdef __cplusplus
14246extern "C"
14247#endif
14248/* We use char because int might match the return type of a gcc2
14249 builtin and then its argument prototype would still apply. */
14250char cexp ();
14251int
14252main ()
14253{
14254cexp ();
14255 ;
14256 return 0;
14257}
14258_ACEOF
14259rm -f conftest.$ac_objext conftest$ac_exeext
14260if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14261 (eval $ac_link) 2>conftest.er1
14262 ac_status=$?
14263 grep -v '^ *+' conftest.er1 >conftest.err
14264 rm -f conftest.er1
14265 cat conftest.err >&5
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); } &&
57255173
PB
14268 { ac_try='test -z "$ac_c_werror_flag"
14269 || test ! -s conftest.err'
1409cd0b
FXC
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; } &&
14275 { ac_try='test -s conftest$ac_exeext'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_cv_lib_m_cexp=yes
14282else
14283 echo "$as_me: failed program was:" >&5
14284sed 's/^/| /' conftest.$ac_ext >&5
14285
14286ac_cv_lib_m_cexp=no
14287fi
14288rm -f conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14290LIBS=$ac_check_lib_save_LIBS
14291fi
14292echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14293echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14294if test $ac_cv_lib_m_cexp = yes; then
14295
14296cat >>confdefs.h <<\_ACEOF
14297#define HAVE_CEXP 1
14298_ACEOF
14299
14300fi
14301
14302echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14303echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14304if test "${ac_cv_lib_m_cexpl+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14306else
14307 ac_check_lib_save_LIBS=$LIBS
14308LIBS="-lm $LIBS"
14309if test x$gcc_no_link = xyes; then
14310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14311echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14312 { (exit 1); exit 1; }; }
14313fi
14314cat >conftest.$ac_ext <<_ACEOF
14315/* confdefs.h. */
14316_ACEOF
14317cat confdefs.h >>conftest.$ac_ext
14318cat >>conftest.$ac_ext <<_ACEOF
14319/* end confdefs.h. */
14320
14321/* Override any gcc2 internal prototype to avoid an error. */
14322#ifdef __cplusplus
14323extern "C"
14324#endif
14325/* We use char because int might match the return type of a gcc2
14326 builtin and then its argument prototype would still apply. */
14327char cexpl ();
14328int
14329main ()
14330{
14331cexpl ();
14332 ;
14333 return 0;
14334}
14335_ACEOF
14336rm -f conftest.$ac_objext conftest$ac_exeext
14337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14338 (eval $ac_link) 2>conftest.er1
14339 ac_status=$?
14340 grep -v '^ *+' conftest.er1 >conftest.err
14341 rm -f conftest.er1
14342 cat conftest.err >&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } &&
57255173
PB
14345 { ac_try='test -z "$ac_c_werror_flag"
14346 || test ! -s conftest.err'
1409cd0b
FXC
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14349 ac_status=$?
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; } &&
14352 { ac_try='test -s conftest$ac_exeext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14358 ac_cv_lib_m_cexpl=yes
14359else
14360 echo "$as_me: failed program was:" >&5
14361sed 's/^/| /' conftest.$ac_ext >&5
14362
14363ac_cv_lib_m_cexpl=no
14364fi
14365rm -f conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14367LIBS=$ac_check_lib_save_LIBS
14368fi
14369echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14370echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14371if test $ac_cv_lib_m_cexpl = yes; then
14372
14373cat >>confdefs.h <<\_ACEOF
14374#define HAVE_CEXPL 1
14375_ACEOF
14376
14377fi
14378
14379echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14380echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14381if test "${ac_cv_lib_m_fabsf+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14383else
14384 ac_check_lib_save_LIBS=$LIBS
14385LIBS="-lm $LIBS"
14386if test x$gcc_no_link = xyes; then
14387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14388echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14389 { (exit 1); exit 1; }; }
14390fi
14391cat >conftest.$ac_ext <<_ACEOF
14392/* confdefs.h. */
14393_ACEOF
14394cat confdefs.h >>conftest.$ac_ext
14395cat >>conftest.$ac_ext <<_ACEOF
14396/* end confdefs.h. */
14397
14398/* Override any gcc2 internal prototype to avoid an error. */
14399#ifdef __cplusplus
14400extern "C"
14401#endif
14402/* We use char because int might match the return type of a gcc2
14403 builtin and then its argument prototype would still apply. */
14404char fabsf ();
14405int
14406main ()
14407{
14408fabsf ();
14409 ;
14410 return 0;
14411}
14412_ACEOF
14413rm -f conftest.$ac_objext conftest$ac_exeext
14414if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14415 (eval $ac_link) 2>conftest.er1
14416 ac_status=$?
14417 grep -v '^ *+' conftest.er1 >conftest.err
14418 rm -f conftest.er1
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
57255173
PB
14422 { ac_try='test -z "$ac_c_werror_flag"
14423 || test ! -s conftest.err'
1409cd0b
FXC
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; } &&
14429 { ac_try='test -s conftest$ac_exeext'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; }; then
14435 ac_cv_lib_m_fabsf=yes
14436else
14437 echo "$as_me: failed program was:" >&5
14438sed 's/^/| /' conftest.$ac_ext >&5
14439
14440ac_cv_lib_m_fabsf=no
14441fi
14442rm -f conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444LIBS=$ac_check_lib_save_LIBS
14445fi
14446echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14447echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14448if test $ac_cv_lib_m_fabsf = yes; then
14449
14450cat >>confdefs.h <<\_ACEOF
14451#define HAVE_FABSF 1
14452_ACEOF
14453
14454fi
14455
14456echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14457echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14458if test "${ac_cv_lib_m_fabs+set}" = set; then
14459 echo $ECHO_N "(cached) $ECHO_C" >&6
14460else
14461 ac_check_lib_save_LIBS=$LIBS
14462LIBS="-lm $LIBS"
14463if test x$gcc_no_link = xyes; then
14464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14465echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14466 { (exit 1); exit 1; }; }
14467fi
14468cat >conftest.$ac_ext <<_ACEOF
14469/* confdefs.h. */
14470_ACEOF
14471cat confdefs.h >>conftest.$ac_ext
14472cat >>conftest.$ac_ext <<_ACEOF
14473/* end confdefs.h. */
14474
14475/* Override any gcc2 internal prototype to avoid an error. */
14476#ifdef __cplusplus
14477extern "C"
14478#endif
14479/* We use char because int might match the return type of a gcc2
14480 builtin and then its argument prototype would still apply. */
14481char fabs ();
14482int
14483main ()
14484{
14485fabs ();
14486 ;
14487 return 0;
14488}
14489_ACEOF
14490rm -f conftest.$ac_objext conftest$ac_exeext
14491if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14492 (eval $ac_link) 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
57255173
PB
14499 { ac_try='test -z "$ac_c_werror_flag"
14500 || test ! -s conftest.err'
1409cd0b
FXC
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try='test -s conftest$ac_exeext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_cv_lib_m_fabs=yes
14513else
14514 echo "$as_me: failed program was:" >&5
14515sed 's/^/| /' conftest.$ac_ext >&5
14516
14517ac_cv_lib_m_fabs=no
14518fi
14519rm -f conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14521LIBS=$ac_check_lib_save_LIBS
14522fi
14523echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14524echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14525if test $ac_cv_lib_m_fabs = yes; then
14526
14527cat >>confdefs.h <<\_ACEOF
14528#define HAVE_FABS 1
14529_ACEOF
14530
14531fi
14532
14533echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14534echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14535if test "${ac_cv_lib_m_fabsl+set}" = set; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14537else
14538 ac_check_lib_save_LIBS=$LIBS
14539LIBS="-lm $LIBS"
14540if test x$gcc_no_link = xyes; then
14541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14542echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14543 { (exit 1); exit 1; }; }
14544fi
14545cat >conftest.$ac_ext <<_ACEOF
14546/* confdefs.h. */
14547_ACEOF
14548cat confdefs.h >>conftest.$ac_ext
14549cat >>conftest.$ac_ext <<_ACEOF
14550/* end confdefs.h. */
14551
14552/* Override any gcc2 internal prototype to avoid an error. */
14553#ifdef __cplusplus
14554extern "C"
14555#endif
14556/* We use char because int might match the return type of a gcc2
14557 builtin and then its argument prototype would still apply. */
14558char fabsl ();
14559int
14560main ()
14561{
14562fabsl ();
14563 ;
14564 return 0;
14565}
14566_ACEOF
14567rm -f conftest.$ac_objext conftest$ac_exeext
14568if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14569 (eval $ac_link) 2>conftest.er1
14570 ac_status=$?
14571 grep -v '^ *+' conftest.er1 >conftest.err
14572 rm -f conftest.er1
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } &&
57255173
PB
14576 { ac_try='test -z "$ac_c_werror_flag"
14577 || test ! -s conftest.err'
1409cd0b
FXC
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14580 ac_status=$?
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; } &&
14583 { ac_try='test -s conftest$ac_exeext'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14586 ac_status=$?
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; }; then
14589 ac_cv_lib_m_fabsl=yes
14590else
14591 echo "$as_me: failed program was:" >&5
14592sed 's/^/| /' conftest.$ac_ext >&5
14593
14594ac_cv_lib_m_fabsl=no
14595fi
14596rm -f conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14598LIBS=$ac_check_lib_save_LIBS
14599fi
14600echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14601echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14602if test $ac_cv_lib_m_fabsl = yes; then
14603
14604cat >>confdefs.h <<\_ACEOF
14605#define HAVE_FABSL 1
14606_ACEOF
14607
14608fi
14609
14610echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14611echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14612if test "${ac_cv_lib_m_cabsf+set}" = set; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14614else
14615 ac_check_lib_save_LIBS=$LIBS
14616LIBS="-lm $LIBS"
14617if test x$gcc_no_link = xyes; then
14618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14619echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14620 { (exit 1); exit 1; }; }
14621fi
14622cat >conftest.$ac_ext <<_ACEOF
14623/* confdefs.h. */
14624_ACEOF
14625cat confdefs.h >>conftest.$ac_ext
14626cat >>conftest.$ac_ext <<_ACEOF
14627/* end confdefs.h. */
14628
14629/* Override any gcc2 internal prototype to avoid an error. */
14630#ifdef __cplusplus
14631extern "C"
14632#endif
14633/* We use char because int might match the return type of a gcc2
14634 builtin and then its argument prototype would still apply. */
14635char cabsf ();
14636int
14637main ()
14638{
14639cabsf ();
14640 ;
14641 return 0;
14642}
14643_ACEOF
14644rm -f conftest.$ac_objext conftest$ac_exeext
14645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14646 (eval $ac_link) 2>conftest.er1
14647 ac_status=$?
14648 grep -v '^ *+' conftest.er1 >conftest.err
14649 rm -f conftest.er1
14650 cat conftest.err >&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
57255173
PB
14653 { ac_try='test -z "$ac_c_werror_flag"
14654 || test ! -s conftest.err'
1409cd0b
FXC
14655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 (eval $ac_try) 2>&5
14657 ac_status=$?
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; } &&
14660 { ac_try='test -s conftest$ac_exeext'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14663 ac_status=$?
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; }; then
14666 ac_cv_lib_m_cabsf=yes
14667else
14668 echo "$as_me: failed program was:" >&5
14669sed 's/^/| /' conftest.$ac_ext >&5
14670
14671ac_cv_lib_m_cabsf=no
14672fi
14673rm -f conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675LIBS=$ac_check_lib_save_LIBS
14676fi
14677echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14678echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14679if test $ac_cv_lib_m_cabsf = yes; then
14680
14681cat >>confdefs.h <<\_ACEOF
14682#define HAVE_CABSF 1
14683_ACEOF
14684
14685fi
14686
14687echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14688echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14689if test "${ac_cv_lib_m_cabs+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14691else
14692 ac_check_lib_save_LIBS=$LIBS
14693LIBS="-lm $LIBS"
14694if test x$gcc_no_link = xyes; then
14695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14696echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14697 { (exit 1); exit 1; }; }
14698fi
14699cat >conftest.$ac_ext <<_ACEOF
14700/* confdefs.h. */
14701_ACEOF
14702cat confdefs.h >>conftest.$ac_ext
14703cat >>conftest.$ac_ext <<_ACEOF
14704/* end confdefs.h. */
14705
14706/* Override any gcc2 internal prototype to avoid an error. */
14707#ifdef __cplusplus
14708extern "C"
14709#endif
14710/* We use char because int might match the return type of a gcc2
14711 builtin and then its argument prototype would still apply. */
14712char cabs ();
14713int
14714main ()
14715{
14716cabs ();
14717 ;
14718 return 0;
14719}
14720_ACEOF
14721rm -f conftest.$ac_objext conftest$ac_exeext
14722if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14723 (eval $ac_link) 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
57255173
PB
14730 { ac_try='test -z "$ac_c_werror_flag"
14731 || test ! -s conftest.err'
1409cd0b
FXC
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try='test -s conftest$ac_exeext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_lib_m_cabs=yes
14744else
14745 echo "$as_me: failed program was:" >&5
14746sed 's/^/| /' conftest.$ac_ext >&5
14747
14748ac_cv_lib_m_cabs=no
14749fi
14750rm -f conftest.err conftest.$ac_objext \
14751 conftest$ac_exeext conftest.$ac_ext
14752LIBS=$ac_check_lib_save_LIBS
14753fi
14754echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14755echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14756if test $ac_cv_lib_m_cabs = yes; then
14757
14758cat >>confdefs.h <<\_ACEOF
14759#define HAVE_CABS 1
14760_ACEOF
14761
14762fi
14763
14764echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14765echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14766if test "${ac_cv_lib_m_cabsl+set}" = set; then
14767 echo $ECHO_N "(cached) $ECHO_C" >&6
14768else
14769 ac_check_lib_save_LIBS=$LIBS
14770LIBS="-lm $LIBS"
14771if test x$gcc_no_link = xyes; then
14772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14773echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14774 { (exit 1); exit 1; }; }
14775fi
14776cat >conftest.$ac_ext <<_ACEOF
14777/* confdefs.h. */
14778_ACEOF
14779cat confdefs.h >>conftest.$ac_ext
14780cat >>conftest.$ac_ext <<_ACEOF
14781/* end confdefs.h. */
14782
14783/* Override any gcc2 internal prototype to avoid an error. */
14784#ifdef __cplusplus
14785extern "C"
14786#endif
14787/* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14789char cabsl ();
14790int
14791main ()
14792{
14793cabsl ();
14794 ;
14795 return 0;
14796}
14797_ACEOF
14798rm -f conftest.$ac_objext conftest$ac_exeext
14799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
57255173
PB
14807 { ac_try='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
1409cd0b
FXC
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest$ac_exeext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 ac_cv_lib_m_cabsl=yes
14821else
14822 echo "$as_me: failed program was:" >&5
14823sed 's/^/| /' conftest.$ac_ext >&5
14824
14825ac_cv_lib_m_cabsl=no
14826fi
14827rm -f conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829LIBS=$ac_check_lib_save_LIBS
14830fi
14831echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14832echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14833if test $ac_cv_lib_m_cabsl = yes; then
14834
14835cat >>confdefs.h <<\_ACEOF
14836#define HAVE_CABSL 1
14837_ACEOF
14838
14839fi
14840
14841echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14842echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14843if test "${ac_cv_lib_m_floorf+set}" = set; then
14844 echo $ECHO_N "(cached) $ECHO_C" >&6
14845else
14846 ac_check_lib_save_LIBS=$LIBS
14847LIBS="-lm $LIBS"
14848if test x$gcc_no_link = xyes; then
14849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14850echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14851 { (exit 1); exit 1; }; }
14852fi
14853cat >conftest.$ac_ext <<_ACEOF
14854/* confdefs.h. */
14855_ACEOF
14856cat confdefs.h >>conftest.$ac_ext
14857cat >>conftest.$ac_ext <<_ACEOF
14858/* end confdefs.h. */
14859
14860/* Override any gcc2 internal prototype to avoid an error. */
14861#ifdef __cplusplus
14862extern "C"
14863#endif
14864/* We use char because int might match the return type of a gcc2
14865 builtin and then its argument prototype would still apply. */
14866char floorf ();
14867int
14868main ()
14869{
14870floorf ();
14871 ;
14872 return 0;
14873}
14874_ACEOF
14875rm -f conftest.$ac_objext conftest$ac_exeext
14876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14877 (eval $ac_link) 2>conftest.er1
14878 ac_status=$?
14879 grep -v '^ *+' conftest.er1 >conftest.err
14880 rm -f conftest.er1
14881 cat conftest.err >&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
57255173
PB
14884 { ac_try='test -z "$ac_c_werror_flag"
14885 || test ! -s conftest.err'
1409cd0b
FXC
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try='test -s conftest$ac_exeext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_cv_lib_m_floorf=yes
14898else
14899 echo "$as_me: failed program was:" >&5
14900sed 's/^/| /' conftest.$ac_ext >&5
14901
14902ac_cv_lib_m_floorf=no
14903fi
14904rm -f conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14906LIBS=$ac_check_lib_save_LIBS
14907fi
14908echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14909echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14910if test $ac_cv_lib_m_floorf = yes; then
14911
14912cat >>confdefs.h <<\_ACEOF
14913#define HAVE_FLOORF 1
14914_ACEOF
14915
14916fi
14917
14918echo "$as_me:$LINENO: checking for floor in -lm" >&5
14919echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14920if test "${ac_cv_lib_m_floor+set}" = set; then
14921 echo $ECHO_N "(cached) $ECHO_C" >&6
14922else
14923 ac_check_lib_save_LIBS=$LIBS
14924LIBS="-lm $LIBS"
14925if test x$gcc_no_link = xyes; then
14926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14927echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14928 { (exit 1); exit 1; }; }
14929fi
14930cat >conftest.$ac_ext <<_ACEOF
14931/* confdefs.h. */
14932_ACEOF
14933cat confdefs.h >>conftest.$ac_ext
14934cat >>conftest.$ac_ext <<_ACEOF
14935/* end confdefs.h. */
14936
14937/* Override any gcc2 internal prototype to avoid an error. */
14938#ifdef __cplusplus
14939extern "C"
14940#endif
14941/* We use char because int might match the return type of a gcc2
14942 builtin and then its argument prototype would still apply. */
14943char floor ();
14944int
14945main ()
14946{
14947floor ();
14948 ;
14949 return 0;
14950}
14951_ACEOF
14952rm -f conftest.$ac_objext conftest$ac_exeext
14953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14954 (eval $ac_link) 2>conftest.er1
14955 ac_status=$?
14956 grep -v '^ *+' conftest.er1 >conftest.err
14957 rm -f conftest.er1
14958 cat conftest.err >&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
57255173
PB
14961 { ac_try='test -z "$ac_c_werror_flag"
14962 || test ! -s conftest.err'
1409cd0b
FXC
14963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14964 (eval $ac_try) 2>&5
14965 ac_status=$?
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); }; } &&
14968 { ac_try='test -s conftest$ac_exeext'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; }; then
14974 ac_cv_lib_m_floor=yes
14975else
14976 echo "$as_me: failed program was:" >&5
14977sed 's/^/| /' conftest.$ac_ext >&5
14978
14979ac_cv_lib_m_floor=no
14980fi
14981rm -f conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext conftest.$ac_ext
14983LIBS=$ac_check_lib_save_LIBS
14984fi
14985echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14986echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14987if test $ac_cv_lib_m_floor = yes; then
14988
14989cat >>confdefs.h <<\_ACEOF
14990#define HAVE_FLOOR 1
14991_ACEOF
14992
14993fi
14994
14995echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14996echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14997if test "${ac_cv_lib_m_floorl+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999else
15000 ac_check_lib_save_LIBS=$LIBS
15001LIBS="-lm $LIBS"
15002if test x$gcc_no_link = xyes; then
15003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15004echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15005 { (exit 1); exit 1; }; }
15006fi
15007cat >conftest.$ac_ext <<_ACEOF
15008/* confdefs.h. */
15009_ACEOF
15010cat confdefs.h >>conftest.$ac_ext
15011cat >>conftest.$ac_ext <<_ACEOF
15012/* end confdefs.h. */
15013
15014/* Override any gcc2 internal prototype to avoid an error. */
15015#ifdef __cplusplus
15016extern "C"
15017#endif
15018/* We use char because int might match the return type of a gcc2
15019 builtin and then its argument prototype would still apply. */
15020char floorl ();
15021int
15022main ()
15023{
15024floorl ();
15025 ;
15026 return 0;
15027}
15028_ACEOF
15029rm -f conftest.$ac_objext conftest$ac_exeext
15030if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15031 (eval $ac_link) 2>conftest.er1
15032 ac_status=$?
15033 grep -v '^ *+' conftest.er1 >conftest.err
15034 rm -f conftest.er1
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
57255173
PB
15038 { ac_try='test -z "$ac_c_werror_flag"
15039 || test ! -s conftest.err'
1409cd0b
FXC
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15042 ac_status=$?
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try='test -s conftest$ac_exeext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_cv_lib_m_floorl=yes
15052else
15053 echo "$as_me: failed program was:" >&5
15054sed 's/^/| /' conftest.$ac_ext >&5
15055
15056ac_cv_lib_m_floorl=no
15057fi
15058rm -f conftest.err conftest.$ac_objext \
15059 conftest$ac_exeext conftest.$ac_ext
15060LIBS=$ac_check_lib_save_LIBS
15061fi
15062echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15063echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15064if test $ac_cv_lib_m_floorl = yes; then
15065
15066cat >>confdefs.h <<\_ACEOF
15067#define HAVE_FLOORL 1
15068_ACEOF
15069
15070fi
15071
eb647f7d
FXC
15072echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
15073echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
15074if test "${ac_cv_lib_m_fmodf+set}" = set; then
15075 echo $ECHO_N "(cached) $ECHO_C" >&6
15076else
15077 ac_check_lib_save_LIBS=$LIBS
15078LIBS="-lm $LIBS"
15079if test x$gcc_no_link = xyes; then
15080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15081echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15082 { (exit 1); exit 1; }; }
15083fi
15084cat >conftest.$ac_ext <<_ACEOF
15085/* confdefs.h. */
15086_ACEOF
15087cat confdefs.h >>conftest.$ac_ext
15088cat >>conftest.$ac_ext <<_ACEOF
15089/* end confdefs.h. */
15090
15091/* Override any gcc2 internal prototype to avoid an error. */
15092#ifdef __cplusplus
15093extern "C"
15094#endif
15095/* We use char because int might match the return type of a gcc2
15096 builtin and then its argument prototype would still apply. */
15097char fmodf ();
15098int
15099main ()
15100{
15101fmodf ();
15102 ;
15103 return 0;
15104}
15105_ACEOF
15106rm -f conftest.$ac_objext conftest$ac_exeext
15107if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15108 (eval $ac_link) 2>conftest.er1
15109 ac_status=$?
15110 grep -v '^ *+' conftest.er1 >conftest.err
15111 rm -f conftest.er1
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } &&
15115 { ac_try='test -z "$ac_c_werror_flag"
15116 || test ! -s conftest.err'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; } &&
15122 { ac_try='test -s conftest$ac_exeext'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15125 ac_status=$?
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; }; then
15128 ac_cv_lib_m_fmodf=yes
15129else
15130 echo "$as_me: failed program was:" >&5
15131sed 's/^/| /' conftest.$ac_ext >&5
15132
15133ac_cv_lib_m_fmodf=no
15134fi
15135rm -f conftest.err conftest.$ac_objext \
15136 conftest$ac_exeext conftest.$ac_ext
15137LIBS=$ac_check_lib_save_LIBS
15138fi
15139echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
15140echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
15141if test $ac_cv_lib_m_fmodf = yes; then
15142
15143cat >>confdefs.h <<\_ACEOF
15144#define HAVE_FMODF 1
15145_ACEOF
15146
15147fi
15148
15149echo "$as_me:$LINENO: checking for fmod in -lm" >&5
15150echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
15151if test "${ac_cv_lib_m_fmod+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15153else
15154 ac_check_lib_save_LIBS=$LIBS
15155LIBS="-lm $LIBS"
15156if test x$gcc_no_link = xyes; then
15157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15158echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15159 { (exit 1); exit 1; }; }
15160fi
15161cat >conftest.$ac_ext <<_ACEOF
15162/* confdefs.h. */
15163_ACEOF
15164cat confdefs.h >>conftest.$ac_ext
15165cat >>conftest.$ac_ext <<_ACEOF
15166/* end confdefs.h. */
15167
15168/* Override any gcc2 internal prototype to avoid an error. */
15169#ifdef __cplusplus
15170extern "C"
15171#endif
15172/* We use char because int might match the return type of a gcc2
15173 builtin and then its argument prototype would still apply. */
15174char fmod ();
15175int
15176main ()
15177{
15178fmod ();
15179 ;
15180 return 0;
15181}
15182_ACEOF
15183rm -f conftest.$ac_objext conftest$ac_exeext
15184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15185 (eval $ac_link) 2>conftest.er1
15186 ac_status=$?
15187 grep -v '^ *+' conftest.er1 >conftest.err
15188 rm -f conftest.er1
15189 cat conftest.err >&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try='test -z "$ac_c_werror_flag"
15193 || test ! -s conftest.err'
15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15196 ac_status=$?
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; } &&
15199 { ac_try='test -s conftest$ac_exeext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_cv_lib_m_fmod=yes
15206else
15207 echo "$as_me: failed program was:" >&5
15208sed 's/^/| /' conftest.$ac_ext >&5
15209
15210ac_cv_lib_m_fmod=no
15211fi
15212rm -f conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15214LIBS=$ac_check_lib_save_LIBS
15215fi
15216echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15217echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15218if test $ac_cv_lib_m_fmod = yes; then
15219
15220cat >>confdefs.h <<\_ACEOF
15221#define HAVE_FMOD 1
15222_ACEOF
15223
15224fi
15225
15226echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15227echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15228if test "${ac_cv_lib_m_fmodl+set}" = set; then
15229 echo $ECHO_N "(cached) $ECHO_C" >&6
15230else
15231 ac_check_lib_save_LIBS=$LIBS
15232LIBS="-lm $LIBS"
15233if test x$gcc_no_link = xyes; then
15234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15235echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15236 { (exit 1); exit 1; }; }
15237fi
15238cat >conftest.$ac_ext <<_ACEOF
15239/* confdefs.h. */
15240_ACEOF
15241cat confdefs.h >>conftest.$ac_ext
15242cat >>conftest.$ac_ext <<_ACEOF
15243/* end confdefs.h. */
15244
15245/* Override any gcc2 internal prototype to avoid an error. */
15246#ifdef __cplusplus
15247extern "C"
15248#endif
15249/* We use char because int might match the return type of a gcc2
15250 builtin and then its argument prototype would still apply. */
15251char fmodl ();
15252int
15253main ()
15254{
15255fmodl ();
15256 ;
15257 return 0;
15258}
15259_ACEOF
15260rm -f conftest.$ac_objext conftest$ac_exeext
15261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15262 (eval $ac_link) 2>conftest.er1
15263 ac_status=$?
15264 grep -v '^ *+' conftest.er1 >conftest.err
15265 rm -f conftest.er1
15266 cat conftest.err >&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } &&
15269 { ac_try='test -z "$ac_c_werror_flag"
15270 || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15273 ac_status=$?
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try='test -s conftest$ac_exeext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15279 ac_status=$?
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15282 ac_cv_lib_m_fmodl=yes
15283else
15284 echo "$as_me: failed program was:" >&5
15285sed 's/^/| /' conftest.$ac_ext >&5
15286
15287ac_cv_lib_m_fmodl=no
15288fi
15289rm -f conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15291LIBS=$ac_check_lib_save_LIBS
15292fi
15293echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15294echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15295if test $ac_cv_lib_m_fmodl = yes; then
15296
15297cat >>confdefs.h <<\_ACEOF
15298#define HAVE_FMODL 1
15299_ACEOF
15300
15301fi
15302
1409cd0b
FXC
15303echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15304echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15305if test "${ac_cv_lib_m_frexpf+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15307else
15308 ac_check_lib_save_LIBS=$LIBS
15309LIBS="-lm $LIBS"
15310if test x$gcc_no_link = xyes; then
15311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15312echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15313 { (exit 1); exit 1; }; }
15314fi
15315cat >conftest.$ac_ext <<_ACEOF
15316/* confdefs.h. */
15317_ACEOF
15318cat confdefs.h >>conftest.$ac_ext
15319cat >>conftest.$ac_ext <<_ACEOF
15320/* end confdefs.h. */
15321
15322/* Override any gcc2 internal prototype to avoid an error. */
15323#ifdef __cplusplus
15324extern "C"
15325#endif
15326/* We use char because int might match the return type of a gcc2
15327 builtin and then its argument prototype would still apply. */
15328char frexpf ();
15329int
15330main ()
15331{
15332frexpf ();
15333 ;
15334 return 0;
15335}
15336_ACEOF
15337rm -f conftest.$ac_objext conftest$ac_exeext
15338if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15339 (eval $ac_link) 2>conftest.er1
15340 ac_status=$?
15341 grep -v '^ *+' conftest.er1 >conftest.err
15342 rm -f conftest.er1
15343 cat conftest.err >&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } &&
57255173
PB
15346 { ac_try='test -z "$ac_c_werror_flag"
15347 || test ! -s conftest.err'
1409cd0b
FXC
15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15349 (eval $ac_try) 2>&5
15350 ac_status=$?
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; } &&
15353 { ac_try='test -s conftest$ac_exeext'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15356 ac_status=$?
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; }; then
15359 ac_cv_lib_m_frexpf=yes
15360else
15361 echo "$as_me: failed program was:" >&5
15362sed 's/^/| /' conftest.$ac_ext >&5
15363
15364ac_cv_lib_m_frexpf=no
15365fi
15366rm -f conftest.err conftest.$ac_objext \
15367 conftest$ac_exeext conftest.$ac_ext
15368LIBS=$ac_check_lib_save_LIBS
15369fi
15370echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15371echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15372if test $ac_cv_lib_m_frexpf = yes; then
15373
15374cat >>confdefs.h <<\_ACEOF
15375#define HAVE_FREXPF 1
15376_ACEOF
15377
15378fi
15379
15380echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15381echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15382if test "${ac_cv_lib_m_frexp+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15384else
15385 ac_check_lib_save_LIBS=$LIBS
15386LIBS="-lm $LIBS"
15387if test x$gcc_no_link = xyes; then
15388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15389echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15390 { (exit 1); exit 1; }; }
15391fi
15392cat >conftest.$ac_ext <<_ACEOF
15393/* confdefs.h. */
15394_ACEOF
15395cat confdefs.h >>conftest.$ac_ext
15396cat >>conftest.$ac_ext <<_ACEOF
15397/* end confdefs.h. */
15398
15399/* Override any gcc2 internal prototype to avoid an error. */
15400#ifdef __cplusplus
15401extern "C"
15402#endif
15403/* We use char because int might match the return type of a gcc2
15404 builtin and then its argument prototype would still apply. */
15405char frexp ();
15406int
15407main ()
15408{
15409frexp ();
15410 ;
15411 return 0;
15412}
15413_ACEOF
15414rm -f conftest.$ac_objext conftest$ac_exeext
15415if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15416 (eval $ac_link) 2>conftest.er1
15417 ac_status=$?
15418 grep -v '^ *+' conftest.er1 >conftest.err
15419 rm -f conftest.er1
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } &&
57255173
PB
15423 { ac_try='test -z "$ac_c_werror_flag"
15424 || test ! -s conftest.err'
1409cd0b
FXC
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15427 ac_status=$?
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; } &&
15430 { ac_try='test -s conftest$ac_exeext'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15433 ac_status=$?
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; }; then
15436 ac_cv_lib_m_frexp=yes
15437else
15438 echo "$as_me: failed program was:" >&5
15439sed 's/^/| /' conftest.$ac_ext >&5
15440
15441ac_cv_lib_m_frexp=no
15442fi
15443rm -f conftest.err conftest.$ac_objext \
15444 conftest$ac_exeext conftest.$ac_ext
15445LIBS=$ac_check_lib_save_LIBS
15446fi
15447echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15448echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15449if test $ac_cv_lib_m_frexp = yes; then
15450
15451cat >>confdefs.h <<\_ACEOF
15452#define HAVE_FREXP 1
15453_ACEOF
15454
15455fi
15456
15457echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15458echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15459if test "${ac_cv_lib_m_frexpl+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15461else
15462 ac_check_lib_save_LIBS=$LIBS
15463LIBS="-lm $LIBS"
15464if test x$gcc_no_link = xyes; then
15465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15466echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15467 { (exit 1); exit 1; }; }
15468fi
15469cat >conftest.$ac_ext <<_ACEOF
15470/* confdefs.h. */
15471_ACEOF
15472cat confdefs.h >>conftest.$ac_ext
15473cat >>conftest.$ac_ext <<_ACEOF
15474/* end confdefs.h. */
15475
15476/* Override any gcc2 internal prototype to avoid an error. */
15477#ifdef __cplusplus
15478extern "C"
15479#endif
15480/* We use char because int might match the return type of a gcc2
15481 builtin and then its argument prototype would still apply. */
15482char frexpl ();
15483int
15484main ()
15485{
15486frexpl ();
15487 ;
15488 return 0;
15489}
15490_ACEOF
15491rm -f conftest.$ac_objext conftest$ac_exeext
15492if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15493 (eval $ac_link) 2>conftest.er1
15494 ac_status=$?
15495 grep -v '^ *+' conftest.er1 >conftest.err
15496 rm -f conftest.er1
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } &&
57255173
PB
15500 { ac_try='test -z "$ac_c_werror_flag"
15501 || test ! -s conftest.err'
1409cd0b
FXC
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; } &&
15507 { ac_try='test -s conftest$ac_exeext'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15510 ac_status=$?
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; }; then
15513 ac_cv_lib_m_frexpl=yes
15514else
15515 echo "$as_me: failed program was:" >&5
15516sed 's/^/| /' conftest.$ac_ext >&5
15517
15518ac_cv_lib_m_frexpl=no
15519fi
15520rm -f conftest.err conftest.$ac_objext \
15521 conftest$ac_exeext conftest.$ac_ext
15522LIBS=$ac_check_lib_save_LIBS
15523fi
15524echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15525echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15526if test $ac_cv_lib_m_frexpl = yes; then
15527
15528cat >>confdefs.h <<\_ACEOF
15529#define HAVE_FREXPL 1
15530_ACEOF
15531
15532fi
15533
15534echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15535echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15536if test "${ac_cv_lib_m_hypotf+set}" = set; then
15537 echo $ECHO_N "(cached) $ECHO_C" >&6
15538else
15539 ac_check_lib_save_LIBS=$LIBS
15540LIBS="-lm $LIBS"
15541if test x$gcc_no_link = xyes; then
15542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15543echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15544 { (exit 1); exit 1; }; }
15545fi
15546cat >conftest.$ac_ext <<_ACEOF
15547/* confdefs.h. */
15548_ACEOF
15549cat confdefs.h >>conftest.$ac_ext
15550cat >>conftest.$ac_ext <<_ACEOF
15551/* end confdefs.h. */
15552
15553/* Override any gcc2 internal prototype to avoid an error. */
15554#ifdef __cplusplus
15555extern "C"
15556#endif
15557/* We use char because int might match the return type of a gcc2
15558 builtin and then its argument prototype would still apply. */
15559char hypotf ();
15560int
15561main ()
15562{
15563hypotf ();
15564 ;
15565 return 0;
15566}
15567_ACEOF
15568rm -f conftest.$ac_objext conftest$ac_exeext
15569if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15570 (eval $ac_link) 2>conftest.er1
15571 ac_status=$?
15572 grep -v '^ *+' conftest.er1 >conftest.err
15573 rm -f conftest.er1
15574 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } &&
57255173
PB
15577 { ac_try='test -z "$ac_c_werror_flag"
15578 || test ! -s conftest.err'
1409cd0b
FXC
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15581 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; } &&
15584 { ac_try='test -s conftest$ac_exeext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15590 ac_cv_lib_m_hypotf=yes
15591else
15592 echo "$as_me: failed program was:" >&5
15593sed 's/^/| /' conftest.$ac_ext >&5
15594
15595ac_cv_lib_m_hypotf=no
15596fi
15597rm -f conftest.err conftest.$ac_objext \
15598 conftest$ac_exeext conftest.$ac_ext
15599LIBS=$ac_check_lib_save_LIBS
15600fi
15601echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15602echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15603if test $ac_cv_lib_m_hypotf = yes; then
15604
15605cat >>confdefs.h <<\_ACEOF
15606#define HAVE_HYPOTF 1
15607_ACEOF
15608
15609fi
15610
15611echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15612echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15613if test "${ac_cv_lib_m_hypot+set}" = set; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15615else
15616 ac_check_lib_save_LIBS=$LIBS
15617LIBS="-lm $LIBS"
15618if test x$gcc_no_link = xyes; then
15619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15620echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15621 { (exit 1); exit 1; }; }
15622fi
15623cat >conftest.$ac_ext <<_ACEOF
15624/* confdefs.h. */
15625_ACEOF
15626cat confdefs.h >>conftest.$ac_ext
15627cat >>conftest.$ac_ext <<_ACEOF
15628/* end confdefs.h. */
15629
15630/* Override any gcc2 internal prototype to avoid an error. */
15631#ifdef __cplusplus
15632extern "C"
15633#endif
15634/* We use char because int might match the return type of a gcc2
15635 builtin and then its argument prototype would still apply. */
15636char hypot ();
15637int
15638main ()
15639{
15640hypot ();
15641 ;
15642 return 0;
15643}
15644_ACEOF
15645rm -f conftest.$ac_objext conftest$ac_exeext
15646if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15647 (eval $ac_link) 2>conftest.er1
15648 ac_status=$?
15649 grep -v '^ *+' conftest.er1 >conftest.err
15650 rm -f conftest.er1
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } &&
57255173
PB
15654 { ac_try='test -z "$ac_c_werror_flag"
15655 || test ! -s conftest.err'
1409cd0b
FXC
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; } &&
15661 { ac_try='test -s conftest$ac_exeext'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; }; then
15667 ac_cv_lib_m_hypot=yes
15668else
15669 echo "$as_me: failed program was:" >&5
15670sed 's/^/| /' conftest.$ac_ext >&5
15671
15672ac_cv_lib_m_hypot=no
15673fi
15674rm -f conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15676LIBS=$ac_check_lib_save_LIBS
15677fi
15678echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15679echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15680if test $ac_cv_lib_m_hypot = yes; then
15681
15682cat >>confdefs.h <<\_ACEOF
15683#define HAVE_HYPOT 1
15684_ACEOF
15685
15686fi
15687
15688echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15689echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15690if test "${ac_cv_lib_m_hypotl+set}" = set; then
15691 echo $ECHO_N "(cached) $ECHO_C" >&6
15692else
15693 ac_check_lib_save_LIBS=$LIBS
15694LIBS="-lm $LIBS"
15695if test x$gcc_no_link = xyes; then
15696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15697echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15698 { (exit 1); exit 1; }; }
15699fi
15700cat >conftest.$ac_ext <<_ACEOF
15701/* confdefs.h. */
15702_ACEOF
15703cat confdefs.h >>conftest.$ac_ext
15704cat >>conftest.$ac_ext <<_ACEOF
15705/* end confdefs.h. */
15706
15707/* Override any gcc2 internal prototype to avoid an error. */
15708#ifdef __cplusplus
15709extern "C"
15710#endif
15711/* We use char because int might match the return type of a gcc2
15712 builtin and then its argument prototype would still apply. */
15713char hypotl ();
15714int
15715main ()
15716{
15717hypotl ();
15718 ;
15719 return 0;
15720}
15721_ACEOF
15722rm -f conftest.$ac_objext conftest$ac_exeext
15723if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15724 (eval $ac_link) 2>conftest.er1
15725 ac_status=$?
15726 grep -v '^ *+' conftest.er1 >conftest.err
15727 rm -f conftest.er1
15728 cat conftest.err >&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } &&
57255173
PB
15731 { ac_try='test -z "$ac_c_werror_flag"
15732 || test ! -s conftest.err'
1409cd0b
FXC
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15735 ac_status=$?
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try='test -s conftest$ac_exeext'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; }; then
15744 ac_cv_lib_m_hypotl=yes
15745else
15746 echo "$as_me: failed program was:" >&5
15747sed 's/^/| /' conftest.$ac_ext >&5
15748
15749ac_cv_lib_m_hypotl=no
15750fi
15751rm -f conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext conftest.$ac_ext
15753LIBS=$ac_check_lib_save_LIBS
15754fi
15755echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15756echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15757if test $ac_cv_lib_m_hypotl = yes; then
15758
15759cat >>confdefs.h <<\_ACEOF
15760#define HAVE_HYPOTL 1
15761_ACEOF
15762
15763fi
15764
cc6d3bde
SK
15765echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
15766echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
15767if test "${ac_cv_lib_m_ldexpf+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15769else
15770 ac_check_lib_save_LIBS=$LIBS
15771LIBS="-lm $LIBS"
15772if test x$gcc_no_link = xyes; then
15773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15774echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15775 { (exit 1); exit 1; }; }
15776fi
15777cat >conftest.$ac_ext <<_ACEOF
15778/* confdefs.h. */
15779_ACEOF
15780cat confdefs.h >>conftest.$ac_ext
15781cat >>conftest.$ac_ext <<_ACEOF
15782/* end confdefs.h. */
15783
15784/* Override any gcc2 internal prototype to avoid an error. */
15785#ifdef __cplusplus
15786extern "C"
15787#endif
15788/* We use char because int might match the return type of a gcc2
15789 builtin and then its argument prototype would still apply. */
15790char ldexpf ();
15791int
15792main ()
15793{
15794ldexpf ();
15795 ;
15796 return 0;
15797}
15798_ACEOF
15799rm -f conftest.$ac_objext conftest$ac_exeext
15800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15801 (eval $ac_link) 2>conftest.er1
15802 ac_status=$?
15803 grep -v '^ *+' conftest.er1 >conftest.err
15804 rm -f conftest.er1
15805 cat conftest.err >&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); } &&
15808 { ac_try='test -z "$ac_c_werror_flag"
15809 || test ! -s conftest.err'
15810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15811 (eval $ac_try) 2>&5
15812 ac_status=$?
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; } &&
15815 { ac_try='test -s conftest$ac_exeext'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15818 ac_status=$?
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; }; then
15821 ac_cv_lib_m_ldexpf=yes
15822else
15823 echo "$as_me: failed program was:" >&5
15824sed 's/^/| /' conftest.$ac_ext >&5
15825
15826ac_cv_lib_m_ldexpf=no
15827fi
15828rm -f conftest.err conftest.$ac_objext \
15829 conftest$ac_exeext conftest.$ac_ext
15830LIBS=$ac_check_lib_save_LIBS
15831fi
15832echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
15833echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
15834if test $ac_cv_lib_m_ldexpf = yes; then
15835
15836cat >>confdefs.h <<\_ACEOF
15837#define HAVE_LDEXPF 1
15838_ACEOF
15839
15840fi
15841
15842echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
15843echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
15844if test "${ac_cv_lib_m_ldexp+set}" = set; then
15845 echo $ECHO_N "(cached) $ECHO_C" >&6
15846else
15847 ac_check_lib_save_LIBS=$LIBS
15848LIBS="-lm $LIBS"
15849if test x$gcc_no_link = xyes; then
15850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15851echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15852 { (exit 1); exit 1; }; }
15853fi
15854cat >conftest.$ac_ext <<_ACEOF
15855/* confdefs.h. */
15856_ACEOF
15857cat confdefs.h >>conftest.$ac_ext
15858cat >>conftest.$ac_ext <<_ACEOF
15859/* end confdefs.h. */
15860
15861/* Override any gcc2 internal prototype to avoid an error. */
15862#ifdef __cplusplus
15863extern "C"
15864#endif
15865/* We use char because int might match the return type of a gcc2
15866 builtin and then its argument prototype would still apply. */
15867char ldexp ();
15868int
15869main ()
15870{
15871ldexp ();
15872 ;
15873 return 0;
15874}
15875_ACEOF
15876rm -f conftest.$ac_objext conftest$ac_exeext
15877if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15878 (eval $ac_link) 2>conftest.er1
15879 ac_status=$?
15880 grep -v '^ *+' conftest.er1 >conftest.err
15881 rm -f conftest.er1
15882 cat conftest.err >&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } &&
15885 { ac_try='test -z "$ac_c_werror_flag"
15886 || test ! -s conftest.err'
15887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888 (eval $ac_try) 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; } &&
15892 { ac_try='test -s conftest$ac_exeext'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; }; then
15898 ac_cv_lib_m_ldexp=yes
15899else
15900 echo "$as_me: failed program was:" >&5
15901sed 's/^/| /' conftest.$ac_ext >&5
15902
15903ac_cv_lib_m_ldexp=no
15904fi
15905rm -f conftest.err conftest.$ac_objext \
15906 conftest$ac_exeext conftest.$ac_ext
15907LIBS=$ac_check_lib_save_LIBS
15908fi
15909echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
15910echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
15911if test $ac_cv_lib_m_ldexp = yes; then
15912
15913cat >>confdefs.h <<\_ACEOF
15914#define HAVE_LDEXP 1
15915_ACEOF
15916
15917fi
15918
15919echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
15920echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
15921if test "${ac_cv_lib_m_ldexpl+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15923else
15924 ac_check_lib_save_LIBS=$LIBS
15925LIBS="-lm $LIBS"
15926if test x$gcc_no_link = xyes; then
15927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15928echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15929 { (exit 1); exit 1; }; }
15930fi
15931cat >conftest.$ac_ext <<_ACEOF
15932/* confdefs.h. */
15933_ACEOF
15934cat confdefs.h >>conftest.$ac_ext
15935cat >>conftest.$ac_ext <<_ACEOF
15936/* end confdefs.h. */
15937
15938/* Override any gcc2 internal prototype to avoid an error. */
15939#ifdef __cplusplus
15940extern "C"
15941#endif
15942/* We use char because int might match the return type of a gcc2
15943 builtin and then its argument prototype would still apply. */
15944char ldexpl ();
15945int
15946main ()
15947{
15948ldexpl ();
15949 ;
15950 return 0;
15951}
15952_ACEOF
15953rm -f conftest.$ac_objext conftest$ac_exeext
15954if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15955 (eval $ac_link) 2>conftest.er1
15956 ac_status=$?
15957 grep -v '^ *+' conftest.er1 >conftest.err
15958 rm -f conftest.er1
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -z "$ac_c_werror_flag"
15963 || test ! -s conftest.err'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; } &&
15969 { ac_try='test -s conftest$ac_exeext'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; }; then
15975 ac_cv_lib_m_ldexpl=yes
15976else
15977 echo "$as_me: failed program was:" >&5
15978sed 's/^/| /' conftest.$ac_ext >&5
15979
15980ac_cv_lib_m_ldexpl=no
15981fi
15982rm -f conftest.err conftest.$ac_objext \
15983 conftest$ac_exeext conftest.$ac_ext
15984LIBS=$ac_check_lib_save_LIBS
15985fi
15986echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
15987echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
15988if test $ac_cv_lib_m_ldexpl = yes; then
15989
15990cat >>confdefs.h <<\_ACEOF
15991#define HAVE_LDEXPL 1
15992_ACEOF
15993
15994fi
15995
1409cd0b
FXC
15996echo "$as_me:$LINENO: checking for logf in -lm" >&5
15997echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15998if test "${ac_cv_lib_m_logf+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16000else
16001 ac_check_lib_save_LIBS=$LIBS
16002LIBS="-lm $LIBS"
16003if test x$gcc_no_link = xyes; then
16004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16005echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16006 { (exit 1); exit 1; }; }
16007fi
16008cat >conftest.$ac_ext <<_ACEOF
16009/* confdefs.h. */
16010_ACEOF
16011cat confdefs.h >>conftest.$ac_ext
16012cat >>conftest.$ac_ext <<_ACEOF
16013/* end confdefs.h. */
16014
16015/* Override any gcc2 internal prototype to avoid an error. */
16016#ifdef __cplusplus
16017extern "C"
16018#endif
16019/* We use char because int might match the return type of a gcc2
16020 builtin and then its argument prototype would still apply. */
16021char logf ();
16022int
16023main ()
16024{
16025logf ();
16026 ;
16027 return 0;
16028}
16029_ACEOF
16030rm -f conftest.$ac_objext conftest$ac_exeext
16031if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16032 (eval $ac_link) 2>conftest.er1
16033 ac_status=$?
16034 grep -v '^ *+' conftest.er1 >conftest.err
16035 rm -f conftest.er1
16036 cat conftest.err >&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
57255173
PB
16039 { ac_try='test -z "$ac_c_werror_flag"
16040 || test ! -s conftest.err'
1409cd0b
FXC
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try='test -s conftest$ac_exeext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_cv_lib_m_logf=yes
16053else
16054 echo "$as_me: failed program was:" >&5
16055sed 's/^/| /' conftest.$ac_ext >&5
16056
16057ac_cv_lib_m_logf=no
16058fi
16059rm -f conftest.err conftest.$ac_objext \
16060 conftest$ac_exeext conftest.$ac_ext
16061LIBS=$ac_check_lib_save_LIBS
16062fi
16063echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
16064echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
16065if test $ac_cv_lib_m_logf = yes; then
16066
16067cat >>confdefs.h <<\_ACEOF
16068#define HAVE_LOGF 1
16069_ACEOF
16070
16071fi
16072
16073echo "$as_me:$LINENO: checking for log in -lm" >&5
16074echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
16075if test "${ac_cv_lib_m_log+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16077else
16078 ac_check_lib_save_LIBS=$LIBS
16079LIBS="-lm $LIBS"
16080if test x$gcc_no_link = xyes; then
16081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16082echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16083 { (exit 1); exit 1; }; }
16084fi
16085cat >conftest.$ac_ext <<_ACEOF
16086/* confdefs.h. */
16087_ACEOF
16088cat confdefs.h >>conftest.$ac_ext
16089cat >>conftest.$ac_ext <<_ACEOF
16090/* end confdefs.h. */
16091
16092/* Override any gcc2 internal prototype to avoid an error. */
16093#ifdef __cplusplus
16094extern "C"
16095#endif
16096/* We use char because int might match the return type of a gcc2
16097 builtin and then its argument prototype would still apply. */
16098char log ();
16099int
16100main ()
16101{
16102log ();
16103 ;
16104 return 0;
16105}
16106_ACEOF
16107rm -f conftest.$ac_objext conftest$ac_exeext
16108if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16109 (eval $ac_link) 2>conftest.er1
16110 ac_status=$?
16111 grep -v '^ *+' conftest.er1 >conftest.err
16112 rm -f conftest.er1
16113 cat conftest.err >&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } &&
57255173
PB
16116 { ac_try='test -z "$ac_c_werror_flag"
16117 || test ! -s conftest.err'
1409cd0b
FXC
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16120 ac_status=$?
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; } &&
16123 { ac_try='test -s conftest$ac_exeext'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16126 ac_status=$?
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; }; then
16129 ac_cv_lib_m_log=yes
16130else
16131 echo "$as_me: failed program was:" >&5
16132sed 's/^/| /' conftest.$ac_ext >&5
16133
16134ac_cv_lib_m_log=no
16135fi
16136rm -f conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext conftest.$ac_ext
16138LIBS=$ac_check_lib_save_LIBS
16139fi
16140echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
16141echo "${ECHO_T}$ac_cv_lib_m_log" >&6
16142if test $ac_cv_lib_m_log = yes; then
16143
16144cat >>confdefs.h <<\_ACEOF
16145#define HAVE_LOG 1
16146_ACEOF
16147
16148fi
16149
16150echo "$as_me:$LINENO: checking for logl in -lm" >&5
16151echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
16152if test "${ac_cv_lib_m_logl+set}" = set; then
16153 echo $ECHO_N "(cached) $ECHO_C" >&6
16154else
16155 ac_check_lib_save_LIBS=$LIBS
16156LIBS="-lm $LIBS"
16157if test x$gcc_no_link = xyes; then
16158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16159echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16160 { (exit 1); exit 1; }; }
16161fi
16162cat >conftest.$ac_ext <<_ACEOF
16163/* confdefs.h. */
16164_ACEOF
16165cat confdefs.h >>conftest.$ac_ext
16166cat >>conftest.$ac_ext <<_ACEOF
16167/* end confdefs.h. */
16168
16169/* Override any gcc2 internal prototype to avoid an error. */
16170#ifdef __cplusplus
16171extern "C"
16172#endif
16173/* We use char because int might match the return type of a gcc2
16174 builtin and then its argument prototype would still apply. */
16175char logl ();
16176int
16177main ()
16178{
16179logl ();
16180 ;
16181 return 0;
16182}
16183_ACEOF
16184rm -f conftest.$ac_objext conftest$ac_exeext
16185if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16186 (eval $ac_link) 2>conftest.er1
16187 ac_status=$?
16188 grep -v '^ *+' conftest.er1 >conftest.err
16189 rm -f conftest.er1
16190 cat conftest.err >&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } &&
57255173
PB
16193 { ac_try='test -z "$ac_c_werror_flag"
16194 || test ! -s conftest.err'
1409cd0b
FXC
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16197 ac_status=$?
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; } &&
16200 { ac_try='test -s conftest$ac_exeext'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; }; then
16206 ac_cv_lib_m_logl=yes
16207else
16208 echo "$as_me: failed program was:" >&5
16209sed 's/^/| /' conftest.$ac_ext >&5
16210
16211ac_cv_lib_m_logl=no
16212fi
16213rm -f conftest.err conftest.$ac_objext \
16214 conftest$ac_exeext conftest.$ac_ext
16215LIBS=$ac_check_lib_save_LIBS
16216fi
16217echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16218echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16219if test $ac_cv_lib_m_logl = yes; then
16220
16221cat >>confdefs.h <<\_ACEOF
16222#define HAVE_LOGL 1
16223_ACEOF
16224
16225fi
16226
16227echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16228echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16229if test "${ac_cv_lib_m_clogf+set}" = set; then
16230 echo $ECHO_N "(cached) $ECHO_C" >&6
16231else
16232 ac_check_lib_save_LIBS=$LIBS
16233LIBS="-lm $LIBS"
16234if test x$gcc_no_link = xyes; then
16235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16236echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16237 { (exit 1); exit 1; }; }
16238fi
16239cat >conftest.$ac_ext <<_ACEOF
16240/* confdefs.h. */
16241_ACEOF
16242cat confdefs.h >>conftest.$ac_ext
16243cat >>conftest.$ac_ext <<_ACEOF
16244/* end confdefs.h. */
16245
16246/* Override any gcc2 internal prototype to avoid an error. */
16247#ifdef __cplusplus
16248extern "C"
16249#endif
16250/* We use char because int might match the return type of a gcc2
16251 builtin and then its argument prototype would still apply. */
16252char clogf ();
16253int
16254main ()
16255{
16256clogf ();
16257 ;
16258 return 0;
16259}
16260_ACEOF
16261rm -f conftest.$ac_objext conftest$ac_exeext
16262if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16263 (eval $ac_link) 2>conftest.er1
16264 ac_status=$?
16265 grep -v '^ *+' conftest.er1 >conftest.err
16266 rm -f conftest.er1
16267 cat conftest.err >&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
57255173
PB
16270 { ac_try='test -z "$ac_c_werror_flag"
16271 || test ! -s conftest.err'
1409cd0b
FXC
16272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16273 (eval $ac_try) 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); }; } &&
16277 { ac_try='test -s conftest$ac_exeext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16280 ac_status=$?
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16283 ac_cv_lib_m_clogf=yes
16284else
16285 echo "$as_me: failed program was:" >&5
16286sed 's/^/| /' conftest.$ac_ext >&5
16287
16288ac_cv_lib_m_clogf=no
16289fi
16290rm -f conftest.err conftest.$ac_objext \
16291 conftest$ac_exeext conftest.$ac_ext
16292LIBS=$ac_check_lib_save_LIBS
16293fi
16294echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16295echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16296if test $ac_cv_lib_m_clogf = yes; then
16297
16298cat >>confdefs.h <<\_ACEOF
16299#define HAVE_CLOGF 1
16300_ACEOF
16301
16302fi
16303
16304echo "$as_me:$LINENO: checking for clog in -lm" >&5
16305echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16306if test "${ac_cv_lib_m_clog+set}" = set; then
16307 echo $ECHO_N "(cached) $ECHO_C" >&6
16308else
16309 ac_check_lib_save_LIBS=$LIBS
16310LIBS="-lm $LIBS"
16311if test x$gcc_no_link = xyes; then
16312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16313echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16314 { (exit 1); exit 1; }; }
16315fi
16316cat >conftest.$ac_ext <<_ACEOF
16317/* confdefs.h. */
16318_ACEOF
16319cat confdefs.h >>conftest.$ac_ext
16320cat >>conftest.$ac_ext <<_ACEOF
16321/* end confdefs.h. */
16322
16323/* Override any gcc2 internal prototype to avoid an error. */
16324#ifdef __cplusplus
16325extern "C"
16326#endif
16327/* We use char because int might match the return type of a gcc2
16328 builtin and then its argument prototype would still apply. */
16329char clog ();
16330int
16331main ()
16332{
16333clog ();
16334 ;
16335 return 0;
16336}
16337_ACEOF
16338rm -f conftest.$ac_objext conftest$ac_exeext
16339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16340 (eval $ac_link) 2>conftest.er1
16341 ac_status=$?
16342 grep -v '^ *+' conftest.er1 >conftest.err
16343 rm -f conftest.er1
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } &&
57255173
PB
16347 { ac_try='test -z "$ac_c_werror_flag"
16348 || test ! -s conftest.err'
1409cd0b
FXC
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try='test -s conftest$ac_exeext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_cv_lib_m_clog=yes
16361else
16362 echo "$as_me: failed program was:" >&5
16363sed 's/^/| /' conftest.$ac_ext >&5
16364
16365ac_cv_lib_m_clog=no
16366fi
16367rm -f conftest.err conftest.$ac_objext \
16368 conftest$ac_exeext conftest.$ac_ext
16369LIBS=$ac_check_lib_save_LIBS
16370fi
16371echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16372echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16373if test $ac_cv_lib_m_clog = yes; then
16374
16375cat >>confdefs.h <<\_ACEOF
16376#define HAVE_CLOG 1
16377_ACEOF
16378
16379fi
16380
16381echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16382echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16383if test "${ac_cv_lib_m_clogl+set}" = set; then
16384 echo $ECHO_N "(cached) $ECHO_C" >&6
16385else
16386 ac_check_lib_save_LIBS=$LIBS
16387LIBS="-lm $LIBS"
16388if test x$gcc_no_link = xyes; then
16389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16390echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16391 { (exit 1); exit 1; }; }
16392fi
16393cat >conftest.$ac_ext <<_ACEOF
16394/* confdefs.h. */
16395_ACEOF
16396cat confdefs.h >>conftest.$ac_ext
16397cat >>conftest.$ac_ext <<_ACEOF
16398/* end confdefs.h. */
16399
16400/* Override any gcc2 internal prototype to avoid an error. */
16401#ifdef __cplusplus
16402extern "C"
16403#endif
16404/* We use char because int might match the return type of a gcc2
16405 builtin and then its argument prototype would still apply. */
16406char clogl ();
16407int
16408main ()
16409{
16410clogl ();
16411 ;
16412 return 0;
16413}
16414_ACEOF
16415rm -f conftest.$ac_objext conftest$ac_exeext
16416if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16417 (eval $ac_link) 2>conftest.er1
16418 ac_status=$?
16419 grep -v '^ *+' conftest.er1 >conftest.err
16420 rm -f conftest.er1
16421 cat conftest.err >&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); } &&
57255173
PB
16424 { ac_try='test -z "$ac_c_werror_flag"
16425 || test ! -s conftest.err'
1409cd0b
FXC
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16428 ac_status=$?
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; } &&
16431 { ac_try='test -s conftest$ac_exeext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16434 ac_status=$?
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_cv_lib_m_clogl=yes
16438else
16439 echo "$as_me: failed program was:" >&5
16440sed 's/^/| /' conftest.$ac_ext >&5
16441
16442ac_cv_lib_m_clogl=no
16443fi
16444rm -f conftest.err conftest.$ac_objext \
16445 conftest$ac_exeext conftest.$ac_ext
16446LIBS=$ac_check_lib_save_LIBS
16447fi
16448echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16449echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16450if test $ac_cv_lib_m_clogl = yes; then
16451
16452cat >>confdefs.h <<\_ACEOF
16453#define HAVE_CLOGL 1
16454_ACEOF
16455
16456fi
16457
16458echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16459echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16460if test "${ac_cv_lib_m_log10f+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16462else
16463 ac_check_lib_save_LIBS=$LIBS
16464LIBS="-lm $LIBS"
16465if test x$gcc_no_link = xyes; then
16466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16467echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16468 { (exit 1); exit 1; }; }
16469fi
16470cat >conftest.$ac_ext <<_ACEOF
16471/* confdefs.h. */
16472_ACEOF
16473cat confdefs.h >>conftest.$ac_ext
16474cat >>conftest.$ac_ext <<_ACEOF
16475/* end confdefs.h. */
16476
16477/* Override any gcc2 internal prototype to avoid an error. */
16478#ifdef __cplusplus
16479extern "C"
16480#endif
16481/* We use char because int might match the return type of a gcc2
16482 builtin and then its argument prototype would still apply. */
16483char log10f ();
16484int
16485main ()
16486{
16487log10f ();
16488 ;
16489 return 0;
16490}
16491_ACEOF
16492rm -f conftest.$ac_objext conftest$ac_exeext
16493if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16494 (eval $ac_link) 2>conftest.er1
16495 ac_status=$?
16496 grep -v '^ *+' conftest.er1 >conftest.err
16497 rm -f conftest.er1
16498 cat conftest.err >&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); } &&
57255173
PB
16501 { ac_try='test -z "$ac_c_werror_flag"
16502 || test ! -s conftest.err'
1409cd0b
FXC
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try='test -s conftest$ac_exeext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16514 ac_cv_lib_m_log10f=yes
16515else
16516 echo "$as_me: failed program was:" >&5
16517sed 's/^/| /' conftest.$ac_ext >&5
16518
16519ac_cv_lib_m_log10f=no
16520fi
16521rm -f conftest.err conftest.$ac_objext \
16522 conftest$ac_exeext conftest.$ac_ext
16523LIBS=$ac_check_lib_save_LIBS
16524fi
16525echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16526echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16527if test $ac_cv_lib_m_log10f = yes; then
16528
16529cat >>confdefs.h <<\_ACEOF
16530#define HAVE_LOG10F 1
16531_ACEOF
16532
16533fi
16534
16535echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16536echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16537if test "${ac_cv_lib_m_log10+set}" = set; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16539else
16540 ac_check_lib_save_LIBS=$LIBS
16541LIBS="-lm $LIBS"
16542if test x$gcc_no_link = xyes; then
16543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16544echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16545 { (exit 1); exit 1; }; }
16546fi
16547cat >conftest.$ac_ext <<_ACEOF
16548/* confdefs.h. */
16549_ACEOF
16550cat confdefs.h >>conftest.$ac_ext
16551cat >>conftest.$ac_ext <<_ACEOF
16552/* end confdefs.h. */
16553
16554/* Override any gcc2 internal prototype to avoid an error. */
16555#ifdef __cplusplus
16556extern "C"
16557#endif
16558/* We use char because int might match the return type of a gcc2
16559 builtin and then its argument prototype would still apply. */
16560char log10 ();
16561int
16562main ()
16563{
16564log10 ();
16565 ;
16566 return 0;
16567}
16568_ACEOF
16569rm -f conftest.$ac_objext conftest$ac_exeext
16570if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16571 (eval $ac_link) 2>conftest.er1
16572 ac_status=$?
16573 grep -v '^ *+' conftest.er1 >conftest.err
16574 rm -f conftest.er1
16575 cat conftest.err >&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); } &&
57255173
PB
16578 { ac_try='test -z "$ac_c_werror_flag"
16579 || test ! -s conftest.err'
1409cd0b
FXC
16580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16581 (eval $ac_try) 2>&5
16582 ac_status=$?
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); }; } &&
16585 { ac_try='test -s conftest$ac_exeext'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16588 ac_status=$?
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 ac_cv_lib_m_log10=yes
16592else
16593 echo "$as_me: failed program was:" >&5
16594sed 's/^/| /' conftest.$ac_ext >&5
16595
16596ac_cv_lib_m_log10=no
16597fi
16598rm -f conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600LIBS=$ac_check_lib_save_LIBS
16601fi
16602echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16603echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16604if test $ac_cv_lib_m_log10 = yes; then
16605
16606cat >>confdefs.h <<\_ACEOF
16607#define HAVE_LOG10 1
16608_ACEOF
16609
16610fi
16611
16612echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16613echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16614if test "${ac_cv_lib_m_log10l+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16616else
16617 ac_check_lib_save_LIBS=$LIBS
16618LIBS="-lm $LIBS"
16619if test x$gcc_no_link = xyes; then
16620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16621echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16622 { (exit 1); exit 1; }; }
16623fi
16624cat >conftest.$ac_ext <<_ACEOF
16625/* confdefs.h. */
16626_ACEOF
16627cat confdefs.h >>conftest.$ac_ext
16628cat >>conftest.$ac_ext <<_ACEOF
16629/* end confdefs.h. */
16630
16631/* Override any gcc2 internal prototype to avoid an error. */
16632#ifdef __cplusplus
16633extern "C"
16634#endif
16635/* We use char because int might match the return type of a gcc2
16636 builtin and then its argument prototype would still apply. */
16637char log10l ();
16638int
16639main ()
16640{
16641log10l ();
16642 ;
16643 return 0;
16644}
16645_ACEOF
16646rm -f conftest.$ac_objext conftest$ac_exeext
16647if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16648 (eval $ac_link) 2>conftest.er1
16649 ac_status=$?
16650 grep -v '^ *+' conftest.er1 >conftest.err
16651 rm -f conftest.er1
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } &&
57255173
PB
16655 { ac_try='test -z "$ac_c_werror_flag"
16656 || test ! -s conftest.err'
1409cd0b
FXC
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16659 ac_status=$?
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try='test -s conftest$ac_exeext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_cv_lib_m_log10l=yes
16669else
16670 echo "$as_me: failed program was:" >&5
16671sed 's/^/| /' conftest.$ac_ext >&5
16672
16673ac_cv_lib_m_log10l=no
16674fi
16675rm -f conftest.err conftest.$ac_objext \
16676 conftest$ac_exeext conftest.$ac_ext
16677LIBS=$ac_check_lib_save_LIBS
16678fi
16679echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
16680echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
16681if test $ac_cv_lib_m_log10l = yes; then
16682
16683cat >>confdefs.h <<\_ACEOF
16684#define HAVE_LOG10L 1
16685_ACEOF
16686
16687fi
16688
16689echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
16690echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
16691if test "${ac_cv_lib_m_clog10f+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16693else
16694 ac_check_lib_save_LIBS=$LIBS
16695LIBS="-lm $LIBS"
16696if test x$gcc_no_link = xyes; then
16697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16698echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16699 { (exit 1); exit 1; }; }
16700fi
16701cat >conftest.$ac_ext <<_ACEOF
16702/* confdefs.h. */
16703_ACEOF
16704cat confdefs.h >>conftest.$ac_ext
16705cat >>conftest.$ac_ext <<_ACEOF
16706/* end confdefs.h. */
16707
16708/* Override any gcc2 internal prototype to avoid an error. */
16709#ifdef __cplusplus
16710extern "C"
16711#endif
16712/* We use char because int might match the return type of a gcc2
16713 builtin and then its argument prototype would still apply. */
16714char clog10f ();
16715int
16716main ()
16717{
16718clog10f ();
16719 ;
16720 return 0;
16721}
16722_ACEOF
16723rm -f conftest.$ac_objext conftest$ac_exeext
16724if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16725 (eval $ac_link) 2>conftest.er1
16726 ac_status=$?
16727 grep -v '^ *+' conftest.er1 >conftest.err
16728 rm -f conftest.er1
16729 cat conftest.err >&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
57255173
PB
16732 { ac_try='test -z "$ac_c_werror_flag"
16733 || test ! -s conftest.err'
1409cd0b
FXC
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16736 ac_status=$?
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; } &&
16739 { ac_try='test -s conftest$ac_exeext'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16742 ac_status=$?
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; }; then
16745 ac_cv_lib_m_clog10f=yes
16746else
16747 echo "$as_me: failed program was:" >&5
16748sed 's/^/| /' conftest.$ac_ext >&5
16749
16750ac_cv_lib_m_clog10f=no
16751fi
16752rm -f conftest.err conftest.$ac_objext \
16753 conftest$ac_exeext conftest.$ac_ext
16754LIBS=$ac_check_lib_save_LIBS
16755fi
16756echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
16757echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
16758if test $ac_cv_lib_m_clog10f = yes; then
16759
16760cat >>confdefs.h <<\_ACEOF
16761#define HAVE_CLOG10F 1
16762_ACEOF
16763
16764fi
16765
16766echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16767echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16768if test "${ac_cv_lib_m_clog10+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16770else
16771 ac_check_lib_save_LIBS=$LIBS
16772LIBS="-lm $LIBS"
16773if test x$gcc_no_link = xyes; then
16774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16775echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16776 { (exit 1); exit 1; }; }
16777fi
16778cat >conftest.$ac_ext <<_ACEOF
16779/* confdefs.h. */
16780_ACEOF
16781cat confdefs.h >>conftest.$ac_ext
16782cat >>conftest.$ac_ext <<_ACEOF
16783/* end confdefs.h. */
16784
16785/* Override any gcc2 internal prototype to avoid an error. */
16786#ifdef __cplusplus
16787extern "C"
16788#endif
16789/* We use char because int might match the return type of a gcc2
16790 builtin and then its argument prototype would still apply. */
16791char clog10 ();
16792int
16793main ()
16794{
16795clog10 ();
16796 ;
16797 return 0;
16798}
16799_ACEOF
16800rm -f conftest.$ac_objext conftest$ac_exeext
16801if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16802 (eval $ac_link) 2>conftest.er1
16803 ac_status=$?
16804 grep -v '^ *+' conftest.er1 >conftest.err
16805 rm -f conftest.er1
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } &&
57255173
PB
16809 { ac_try='test -z "$ac_c_werror_flag"
16810 || test ! -s conftest.err'
1409cd0b
FXC
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16813 ac_status=$?
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try='test -s conftest$ac_exeext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16819 ac_status=$?
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16822 ac_cv_lib_m_clog10=yes
16823else
16824 echo "$as_me: failed program was:" >&5
16825sed 's/^/| /' conftest.$ac_ext >&5
16826
16827ac_cv_lib_m_clog10=no
16828fi
16829rm -f conftest.err conftest.$ac_objext \
16830 conftest$ac_exeext conftest.$ac_ext
16831LIBS=$ac_check_lib_save_LIBS
16832fi
16833echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16834echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16835if test $ac_cv_lib_m_clog10 = yes; then
16836
16837cat >>confdefs.h <<\_ACEOF
16838#define HAVE_CLOG10 1
16839_ACEOF
16840
16841fi
16842
16843echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16844echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16845if test "${ac_cv_lib_m_clog10l+set}" = set; then
16846 echo $ECHO_N "(cached) $ECHO_C" >&6
16847else
16848 ac_check_lib_save_LIBS=$LIBS
16849LIBS="-lm $LIBS"
16850if test x$gcc_no_link = xyes; then
16851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16852echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16853 { (exit 1); exit 1; }; }
16854fi
16855cat >conftest.$ac_ext <<_ACEOF
16856/* confdefs.h. */
16857_ACEOF
16858cat confdefs.h >>conftest.$ac_ext
16859cat >>conftest.$ac_ext <<_ACEOF
16860/* end confdefs.h. */
16861
16862/* Override any gcc2 internal prototype to avoid an error. */
16863#ifdef __cplusplus
16864extern "C"
16865#endif
16866/* We use char because int might match the return type of a gcc2
16867 builtin and then its argument prototype would still apply. */
16868char clog10l ();
16869int
16870main ()
16871{
16872clog10l ();
16873 ;
16874 return 0;
16875}
16876_ACEOF
16877rm -f conftest.$ac_objext conftest$ac_exeext
16878if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16879 (eval $ac_link) 2>conftest.er1
16880 ac_status=$?
16881 grep -v '^ *+' conftest.er1 >conftest.err
16882 rm -f conftest.er1
16883 cat conftest.err >&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } &&
57255173
PB
16886 { ac_try='test -z "$ac_c_werror_flag"
16887 || test ! -s conftest.err'
1409cd0b
FXC
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16890 ac_status=$?
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; } &&
16893 { ac_try='test -s conftest$ac_exeext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 ac_cv_lib_m_clog10l=yes
16900else
16901 echo "$as_me: failed program was:" >&5
16902sed 's/^/| /' conftest.$ac_ext >&5
16903
16904ac_cv_lib_m_clog10l=no
16905fi
16906rm -f conftest.err conftest.$ac_objext \
16907 conftest$ac_exeext conftest.$ac_ext
16908LIBS=$ac_check_lib_save_LIBS
16909fi
16910echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16911echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16912if test $ac_cv_lib_m_clog10l = yes; then
16913
16914cat >>confdefs.h <<\_ACEOF
16915#define HAVE_CLOG10L 1
16916_ACEOF
16917
16918fi
16919
16920echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16921echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16922if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16924else
16925 ac_check_lib_save_LIBS=$LIBS
16926LIBS="-lm $LIBS"
16927if test x$gcc_no_link = xyes; then
16928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16929echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16930 { (exit 1); exit 1; }; }
16931fi
16932cat >conftest.$ac_ext <<_ACEOF
16933/* confdefs.h. */
16934_ACEOF
16935cat confdefs.h >>conftest.$ac_ext
16936cat >>conftest.$ac_ext <<_ACEOF
16937/* end confdefs.h. */
16938
16939/* Override any gcc2 internal prototype to avoid an error. */
16940#ifdef __cplusplus
16941extern "C"
16942#endif
16943/* We use char because int might match the return type of a gcc2
16944 builtin and then its argument prototype would still apply. */
16945char nextafterf ();
16946int
16947main ()
16948{
16949nextafterf ();
16950 ;
16951 return 0;
16952}
16953_ACEOF
16954rm -f conftest.$ac_objext conftest$ac_exeext
16955if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16956 (eval $ac_link) 2>conftest.er1
16957 ac_status=$?
16958 grep -v '^ *+' conftest.er1 >conftest.err
16959 rm -f conftest.er1
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
57255173
PB
16963 { ac_try='test -z "$ac_c_werror_flag"
16964 || test ! -s conftest.err'
1409cd0b
FXC
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try='test -s conftest$ac_exeext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16973 ac_status=$?
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 ac_cv_lib_m_nextafterf=yes
16977else
16978 echo "$as_me: failed program was:" >&5
16979sed 's/^/| /' conftest.$ac_ext >&5
16980
16981ac_cv_lib_m_nextafterf=no
16982fi
16983rm -f conftest.err conftest.$ac_objext \
16984 conftest$ac_exeext conftest.$ac_ext
16985LIBS=$ac_check_lib_save_LIBS
16986fi
16987echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16988echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16989if test $ac_cv_lib_m_nextafterf = yes; then
16990
16991cat >>confdefs.h <<\_ACEOF
16992#define HAVE_NEXTAFTERF 1
16993_ACEOF
16994
16995fi
16996
16997echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16998echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16999if test "${ac_cv_lib_m_nextafter+set}" = set; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17001else
17002 ac_check_lib_save_LIBS=$LIBS
17003LIBS="-lm $LIBS"
17004if test x$gcc_no_link = xyes; then
17005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17006echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17007 { (exit 1); exit 1; }; }
17008fi
17009cat >conftest.$ac_ext <<_ACEOF
17010/* confdefs.h. */
17011_ACEOF
17012cat confdefs.h >>conftest.$ac_ext
17013cat >>conftest.$ac_ext <<_ACEOF
17014/* end confdefs.h. */
17015
17016/* Override any gcc2 internal prototype to avoid an error. */
17017#ifdef __cplusplus
17018extern "C"
17019#endif
17020/* We use char because int might match the return type of a gcc2
17021 builtin and then its argument prototype would still apply. */
17022char nextafter ();
17023int
17024main ()
17025{
17026nextafter ();
17027 ;
17028 return 0;
17029}
17030_ACEOF
17031rm -f conftest.$ac_objext conftest$ac_exeext
17032if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17033 (eval $ac_link) 2>conftest.er1
17034 ac_status=$?
17035 grep -v '^ *+' conftest.er1 >conftest.err
17036 rm -f conftest.er1
17037 cat conftest.err >&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } &&
57255173
PB
17040 { ac_try='test -z "$ac_c_werror_flag"
17041 || test ! -s conftest.err'
1409cd0b
FXC
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 (eval $ac_try) 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; } &&
17047 { ac_try='test -s conftest$ac_exeext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_cv_lib_m_nextafter=yes
17054else
17055 echo "$as_me: failed program was:" >&5
17056sed 's/^/| /' conftest.$ac_ext >&5
17057
17058ac_cv_lib_m_nextafter=no
17059fi
17060rm -f conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062LIBS=$ac_check_lib_save_LIBS
17063fi
17064echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
17065echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
17066if test $ac_cv_lib_m_nextafter = yes; then
17067
17068cat >>confdefs.h <<\_ACEOF
17069#define HAVE_NEXTAFTER 1
17070_ACEOF
17071
17072fi
17073
17074echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
17075echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
17076if test "${ac_cv_lib_m_nextafterl+set}" = set; then
17077 echo $ECHO_N "(cached) $ECHO_C" >&6
17078else
17079 ac_check_lib_save_LIBS=$LIBS
17080LIBS="-lm $LIBS"
17081if test x$gcc_no_link = xyes; then
17082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17083echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17084 { (exit 1); exit 1; }; }
17085fi
17086cat >conftest.$ac_ext <<_ACEOF
17087/* confdefs.h. */
17088_ACEOF
17089cat confdefs.h >>conftest.$ac_ext
17090cat >>conftest.$ac_ext <<_ACEOF
17091/* end confdefs.h. */
17092
17093/* Override any gcc2 internal prototype to avoid an error. */
17094#ifdef __cplusplus
17095extern "C"
17096#endif
17097/* We use char because int might match the return type of a gcc2
17098 builtin and then its argument prototype would still apply. */
17099char nextafterl ();
17100int
17101main ()
17102{
17103nextafterl ();
17104 ;
17105 return 0;
17106}
17107_ACEOF
17108rm -f conftest.$ac_objext conftest$ac_exeext
17109if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17110 (eval $ac_link) 2>conftest.er1
17111 ac_status=$?
17112 grep -v '^ *+' conftest.er1 >conftest.err
17113 rm -f conftest.er1
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } &&
57255173
PB
17117 { ac_try='test -z "$ac_c_werror_flag"
17118 || test ! -s conftest.err'
1409cd0b
FXC
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17121 ac_status=$?
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; } &&
17124 { ac_try='test -s conftest$ac_exeext'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17127 ac_status=$?
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; }; then
17130 ac_cv_lib_m_nextafterl=yes
17131else
17132 echo "$as_me: failed program was:" >&5
17133sed 's/^/| /' conftest.$ac_ext >&5
17134
17135ac_cv_lib_m_nextafterl=no
17136fi
17137rm -f conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139LIBS=$ac_check_lib_save_LIBS
17140fi
17141echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
17142echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
17143if test $ac_cv_lib_m_nextafterl = yes; then
17144
17145cat >>confdefs.h <<\_ACEOF
17146#define HAVE_NEXTAFTERL 1
17147_ACEOF
17148
17149fi
17150
17151echo "$as_me:$LINENO: checking for powf in -lm" >&5
17152echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
17153if test "${ac_cv_lib_m_powf+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155else
17156 ac_check_lib_save_LIBS=$LIBS
17157LIBS="-lm $LIBS"
17158if test x$gcc_no_link = xyes; then
17159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17160echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17161 { (exit 1); exit 1; }; }
17162fi
17163cat >conftest.$ac_ext <<_ACEOF
17164/* confdefs.h. */
17165_ACEOF
17166cat confdefs.h >>conftest.$ac_ext
17167cat >>conftest.$ac_ext <<_ACEOF
17168/* end confdefs.h. */
17169
17170/* Override any gcc2 internal prototype to avoid an error. */
17171#ifdef __cplusplus
17172extern "C"
17173#endif
17174/* We use char because int might match the return type of a gcc2
17175 builtin and then its argument prototype would still apply. */
17176char powf ();
17177int
17178main ()
17179{
17180powf ();
17181 ;
17182 return 0;
17183}
17184_ACEOF
17185rm -f conftest.$ac_objext conftest$ac_exeext
17186if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17187 (eval $ac_link) 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
57255173
PB
17194 { ac_try='test -z "$ac_c_werror_flag"
17195 || test ! -s conftest.err'
1409cd0b
FXC
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17198 ac_status=$?
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try='test -s conftest$ac_exeext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_cv_lib_m_powf=yes
17208else
17209 echo "$as_me: failed program was:" >&5
17210sed 's/^/| /' conftest.$ac_ext >&5
17211
17212ac_cv_lib_m_powf=no
17213fi
17214rm -f conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17216LIBS=$ac_check_lib_save_LIBS
17217fi
17218echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17219echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17220if test $ac_cv_lib_m_powf = yes; then
17221
17222cat >>confdefs.h <<\_ACEOF
17223#define HAVE_POWF 1
17224_ACEOF
17225
17226fi
17227
17228echo "$as_me:$LINENO: checking for pow in -lm" >&5
17229echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17230if test "${ac_cv_lib_m_pow+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17232else
17233 ac_check_lib_save_LIBS=$LIBS
17234LIBS="-lm $LIBS"
17235if test x$gcc_no_link = xyes; then
17236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17237echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17238 { (exit 1); exit 1; }; }
17239fi
17240cat >conftest.$ac_ext <<_ACEOF
17241/* confdefs.h. */
17242_ACEOF
17243cat confdefs.h >>conftest.$ac_ext
17244cat >>conftest.$ac_ext <<_ACEOF
17245/* end confdefs.h. */
17246
17247/* Override any gcc2 internal prototype to avoid an error. */
17248#ifdef __cplusplus
17249extern "C"
17250#endif
17251/* We use char because int might match the return type of a gcc2
17252 builtin and then its argument prototype would still apply. */
17253char pow ();
17254int
17255main ()
17256{
17257pow ();
17258 ;
17259 return 0;
17260}
17261_ACEOF
17262rm -f conftest.$ac_objext conftest$ac_exeext
17263if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17264 (eval $ac_link) 2>conftest.er1
17265 ac_status=$?
17266 grep -v '^ *+' conftest.er1 >conftest.err
17267 rm -f conftest.er1
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } &&
57255173
PB
17271 { ac_try='test -z "$ac_c_werror_flag"
17272 || test ! -s conftest.err'
1409cd0b
FXC
17273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17274 (eval $ac_try) 2>&5
17275 ac_status=$?
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }; } &&
17278 { ac_try='test -s conftest$ac_exeext'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17281 ac_status=$?
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17284 ac_cv_lib_m_pow=yes
17285else
17286 echo "$as_me: failed program was:" >&5
17287sed 's/^/| /' conftest.$ac_ext >&5
17288
17289ac_cv_lib_m_pow=no
17290fi
17291rm -f conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293LIBS=$ac_check_lib_save_LIBS
17294fi
17295echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17296echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17297if test $ac_cv_lib_m_pow = yes; then
17298
17299cat >>confdefs.h <<\_ACEOF
17300#define HAVE_POW 1
17301_ACEOF
17302
17303fi
17304
17305echo "$as_me:$LINENO: checking for powl in -lm" >&5
17306echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17307if test "${ac_cv_lib_m_powl+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17309else
17310 ac_check_lib_save_LIBS=$LIBS
17311LIBS="-lm $LIBS"
17312if test x$gcc_no_link = xyes; then
17313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17314echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17315 { (exit 1); exit 1; }; }
17316fi
17317cat >conftest.$ac_ext <<_ACEOF
17318/* confdefs.h. */
17319_ACEOF
17320cat confdefs.h >>conftest.$ac_ext
17321cat >>conftest.$ac_ext <<_ACEOF
17322/* end confdefs.h. */
17323
17324/* Override any gcc2 internal prototype to avoid an error. */
17325#ifdef __cplusplus
17326extern "C"
17327#endif
17328/* We use char because int might match the return type of a gcc2
17329 builtin and then its argument prototype would still apply. */
17330char powl ();
17331int
17332main ()
17333{
17334powl ();
17335 ;
17336 return 0;
17337}
17338_ACEOF
17339rm -f conftest.$ac_objext conftest$ac_exeext
17340if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17341 (eval $ac_link) 2>conftest.er1
17342 ac_status=$?
17343 grep -v '^ *+' conftest.er1 >conftest.err
17344 rm -f conftest.er1
17345 cat conftest.err >&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
57255173
PB
17348 { ac_try='test -z "$ac_c_werror_flag"
17349 || test ! -s conftest.err'
1409cd0b
FXC
17350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 (eval $ac_try) 2>&5
17352 ac_status=$?
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; } &&
17355 { ac_try='test -s conftest$ac_exeext'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; }; then
17361 ac_cv_lib_m_powl=yes
17362else
17363 echo "$as_me: failed program was:" >&5
17364sed 's/^/| /' conftest.$ac_ext >&5
17365
17366ac_cv_lib_m_powl=no
17367fi
17368rm -f conftest.err conftest.$ac_objext \
17369 conftest$ac_exeext conftest.$ac_ext
17370LIBS=$ac_check_lib_save_LIBS
17371fi
17372echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17373echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17374if test $ac_cv_lib_m_powl = yes; then
17375
17376cat >>confdefs.h <<\_ACEOF
17377#define HAVE_POWL 1
17378_ACEOF
17379
17380fi
17381
17382echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17383echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17384if test "${ac_cv_lib_m_cpowf+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17386else
17387 ac_check_lib_save_LIBS=$LIBS
17388LIBS="-lm $LIBS"
17389if test x$gcc_no_link = xyes; then
17390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17391echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17392 { (exit 1); exit 1; }; }
17393fi
17394cat >conftest.$ac_ext <<_ACEOF
17395/* confdefs.h. */
17396_ACEOF
17397cat confdefs.h >>conftest.$ac_ext
17398cat >>conftest.$ac_ext <<_ACEOF
17399/* end confdefs.h. */
17400
17401/* Override any gcc2 internal prototype to avoid an error. */
17402#ifdef __cplusplus
17403extern "C"
17404#endif
17405/* We use char because int might match the return type of a gcc2
17406 builtin and then its argument prototype would still apply. */
17407char cpowf ();
17408int
17409main ()
17410{
17411cpowf ();
17412 ;
17413 return 0;
17414}
17415_ACEOF
17416rm -f conftest.$ac_objext conftest$ac_exeext
17417if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17418 (eval $ac_link) 2>conftest.er1
17419 ac_status=$?
17420 grep -v '^ *+' conftest.er1 >conftest.err
17421 rm -f conftest.er1
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } &&
57255173
PB
17425 { ac_try='test -z "$ac_c_werror_flag"
17426 || test ! -s conftest.err'
1409cd0b
FXC
17427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17428 (eval $ac_try) 2>&5
17429 ac_status=$?
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); }; } &&
17432 { ac_try='test -s conftest$ac_exeext'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17435 ac_status=$?
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; }; then
17438 ac_cv_lib_m_cpowf=yes
17439else
17440 echo "$as_me: failed program was:" >&5
17441sed 's/^/| /' conftest.$ac_ext >&5
17442
17443ac_cv_lib_m_cpowf=no
17444fi
17445rm -f conftest.err conftest.$ac_objext \
17446 conftest$ac_exeext conftest.$ac_ext
17447LIBS=$ac_check_lib_save_LIBS
17448fi
17449echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17450echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17451if test $ac_cv_lib_m_cpowf = yes; then
17452
17453cat >>confdefs.h <<\_ACEOF
17454#define HAVE_CPOWF 1
17455_ACEOF
17456
17457fi
17458
17459echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17460echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17461if test "${ac_cv_lib_m_cpow+set}" = set; then
17462 echo $ECHO_N "(cached) $ECHO_C" >&6
17463else
17464 ac_check_lib_save_LIBS=$LIBS
17465LIBS="-lm $LIBS"
17466if test x$gcc_no_link = xyes; then
17467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17468echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17469 { (exit 1); exit 1; }; }
17470fi
17471cat >conftest.$ac_ext <<_ACEOF
17472/* confdefs.h. */
17473_ACEOF
17474cat confdefs.h >>conftest.$ac_ext
17475cat >>conftest.$ac_ext <<_ACEOF
17476/* end confdefs.h. */
17477
17478/* Override any gcc2 internal prototype to avoid an error. */
17479#ifdef __cplusplus
17480extern "C"
17481#endif
17482/* We use char because int might match the return type of a gcc2
17483 builtin and then its argument prototype would still apply. */
17484char cpow ();
17485int
17486main ()
17487{
17488cpow ();
17489 ;
17490 return 0;
17491}
17492_ACEOF
17493rm -f conftest.$ac_objext conftest$ac_exeext
17494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17495 (eval $ac_link) 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
57255173
PB
17502 { ac_try='test -z "$ac_c_werror_flag"
17503 || test ! -s conftest.err'
1409cd0b
FXC
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try='test -s conftest$ac_exeext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 ac_cv_lib_m_cpow=yes
17516else
17517 echo "$as_me: failed program was:" >&5
17518sed 's/^/| /' conftest.$ac_ext >&5
17519
17520ac_cv_lib_m_cpow=no
17521fi
17522rm -f conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17524LIBS=$ac_check_lib_save_LIBS
17525fi
17526echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17527echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17528if test $ac_cv_lib_m_cpow = yes; then
17529
17530cat >>confdefs.h <<\_ACEOF
17531#define HAVE_CPOW 1
17532_ACEOF
17533
17534fi
17535
17536echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17537echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17538if test "${ac_cv_lib_m_cpowl+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17540else
17541 ac_check_lib_save_LIBS=$LIBS
17542LIBS="-lm $LIBS"
17543if test x$gcc_no_link = xyes; then
17544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17545echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17546 { (exit 1); exit 1; }; }
17547fi
17548cat >conftest.$ac_ext <<_ACEOF
17549/* confdefs.h. */
17550_ACEOF
17551cat confdefs.h >>conftest.$ac_ext
17552cat >>conftest.$ac_ext <<_ACEOF
17553/* end confdefs.h. */
17554
17555/* Override any gcc2 internal prototype to avoid an error. */
17556#ifdef __cplusplus
17557extern "C"
17558#endif
17559/* We use char because int might match the return type of a gcc2
17560 builtin and then its argument prototype would still apply. */
17561char cpowl ();
17562int
17563main ()
17564{
17565cpowl ();
17566 ;
17567 return 0;
17568}
17569_ACEOF
17570rm -f conftest.$ac_objext conftest$ac_exeext
17571if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17572 (eval $ac_link) 2>conftest.er1
17573 ac_status=$?
17574 grep -v '^ *+' conftest.er1 >conftest.err
17575 rm -f conftest.er1
17576 cat conftest.err >&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } &&
57255173
PB
17579 { ac_try='test -z "$ac_c_werror_flag"
17580 || test ! -s conftest.err'
1409cd0b
FXC
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; } &&
17586 { ac_try='test -s conftest$ac_exeext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 ac_cv_lib_m_cpowl=yes
17593else
17594 echo "$as_me: failed program was:" >&5
17595sed 's/^/| /' conftest.$ac_ext >&5
17596
17597ac_cv_lib_m_cpowl=no
17598fi
17599rm -f conftest.err conftest.$ac_objext \
17600 conftest$ac_exeext conftest.$ac_ext
17601LIBS=$ac_check_lib_save_LIBS
17602fi
17603echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17604echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17605if test $ac_cv_lib_m_cpowl = yes; then
17606
17607cat >>confdefs.h <<\_ACEOF
17608#define HAVE_CPOWL 1
17609_ACEOF
17610
17611fi
17612
17613echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17614echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17615if test "${ac_cv_lib_m_roundf+set}" = set; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17617else
17618 ac_check_lib_save_LIBS=$LIBS
17619LIBS="-lm $LIBS"
17620if test x$gcc_no_link = xyes; then
17621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17622echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17623 { (exit 1); exit 1; }; }
17624fi
17625cat >conftest.$ac_ext <<_ACEOF
17626/* confdefs.h. */
17627_ACEOF
17628cat confdefs.h >>conftest.$ac_ext
17629cat >>conftest.$ac_ext <<_ACEOF
17630/* end confdefs.h. */
17631
17632/* Override any gcc2 internal prototype to avoid an error. */
17633#ifdef __cplusplus
17634extern "C"
17635#endif
17636/* We use char because int might match the return type of a gcc2
17637 builtin and then its argument prototype would still apply. */
17638char roundf ();
17639int
17640main ()
17641{
17642roundf ();
17643 ;
17644 return 0;
17645}
17646_ACEOF
17647rm -f conftest.$ac_objext conftest$ac_exeext
17648if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17649 (eval $ac_link) 2>conftest.er1
17650 ac_status=$?
17651 grep -v '^ *+' conftest.er1 >conftest.err
17652 rm -f conftest.er1
17653 cat conftest.err >&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
57255173
PB
17656 { ac_try='test -z "$ac_c_werror_flag"
17657 || test ! -s conftest.err'
1409cd0b
FXC
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17660 ac_status=$?
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; } &&
17663 { ac_try='test -s conftest$ac_exeext'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; }; then
17669 ac_cv_lib_m_roundf=yes
17670else
17671 echo "$as_me: failed program was:" >&5
17672sed 's/^/| /' conftest.$ac_ext >&5
17673
17674ac_cv_lib_m_roundf=no
17675fi
17676rm -f conftest.err conftest.$ac_objext \
17677 conftest$ac_exeext conftest.$ac_ext
17678LIBS=$ac_check_lib_save_LIBS
17679fi
17680echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
17681echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
17682if test $ac_cv_lib_m_roundf = yes; then
17683
17684cat >>confdefs.h <<\_ACEOF
17685#define HAVE_ROUNDF 1
17686_ACEOF
17687
17688fi
17689
17690echo "$as_me:$LINENO: checking for round in -lm" >&5
17691echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
17692if test "${ac_cv_lib_m_round+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694else
17695 ac_check_lib_save_LIBS=$LIBS
17696LIBS="-lm $LIBS"
17697if test x$gcc_no_link = xyes; then
17698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17699echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17700 { (exit 1); exit 1; }; }
17701fi
17702cat >conftest.$ac_ext <<_ACEOF
17703/* confdefs.h. */
17704_ACEOF
17705cat confdefs.h >>conftest.$ac_ext
17706cat >>conftest.$ac_ext <<_ACEOF
17707/* end confdefs.h. */
17708
17709/* Override any gcc2 internal prototype to avoid an error. */
17710#ifdef __cplusplus
17711extern "C"
17712#endif
17713/* We use char because int might match the return type of a gcc2
17714 builtin and then its argument prototype would still apply. */
17715char round ();
17716int
17717main ()
17718{
17719round ();
17720 ;
17721 return 0;
17722}
17723_ACEOF
17724rm -f conftest.$ac_objext conftest$ac_exeext
17725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17726 (eval $ac_link) 2>conftest.er1
17727 ac_status=$?
17728 grep -v '^ *+' conftest.er1 >conftest.err
17729 rm -f conftest.er1
17730 cat conftest.err >&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); } &&
57255173
PB
17733 { ac_try='test -z "$ac_c_werror_flag"
17734 || test ! -s conftest.err'
1409cd0b
FXC
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17737 ac_status=$?
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; } &&
17740 { ac_try='test -s conftest$ac_exeext'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17743 ac_status=$?
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17746 ac_cv_lib_m_round=yes
17747else
17748 echo "$as_me: failed program was:" >&5
17749sed 's/^/| /' conftest.$ac_ext >&5
17750
17751ac_cv_lib_m_round=no
17752fi
17753rm -f conftest.err conftest.$ac_objext \
17754 conftest$ac_exeext conftest.$ac_ext
17755LIBS=$ac_check_lib_save_LIBS
17756fi
17757echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
17758echo "${ECHO_T}$ac_cv_lib_m_round" >&6
17759if test $ac_cv_lib_m_round = yes; then
17760
17761cat >>confdefs.h <<\_ACEOF
17762#define HAVE_ROUND 1
17763_ACEOF
17764
17765fi
17766
17767echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17768echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17769if test "${ac_cv_lib_m_roundl+set}" = set; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17771else
17772 ac_check_lib_save_LIBS=$LIBS
17773LIBS="-lm $LIBS"
17774if test x$gcc_no_link = xyes; then
17775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17776echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17777 { (exit 1); exit 1; }; }
17778fi
17779cat >conftest.$ac_ext <<_ACEOF
17780/* confdefs.h. */
17781_ACEOF
17782cat confdefs.h >>conftest.$ac_ext
17783cat >>conftest.$ac_ext <<_ACEOF
17784/* end confdefs.h. */
17785
17786/* Override any gcc2 internal prototype to avoid an error. */
17787#ifdef __cplusplus
17788extern "C"
17789#endif
17790/* We use char because int might match the return type of a gcc2
17791 builtin and then its argument prototype would still apply. */
17792char roundl ();
17793int
17794main ()
17795{
17796roundl ();
17797 ;
17798 return 0;
17799}
17800_ACEOF
17801rm -f conftest.$ac_objext conftest$ac_exeext
17802if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17803 (eval $ac_link) 2>conftest.er1
17804 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1
17807 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
57255173
PB
17810 { ac_try='test -z "$ac_c_werror_flag"
17811 || test ! -s conftest.err'
1409cd0b
FXC
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try='test -s conftest$ac_exeext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_cv_lib_m_roundl=yes
17824else
17825 echo "$as_me: failed program was:" >&5
17826sed 's/^/| /' conftest.$ac_ext >&5
17827
17828ac_cv_lib_m_roundl=no
17829fi
17830rm -f conftest.err conftest.$ac_objext \
17831 conftest$ac_exeext conftest.$ac_ext
17832LIBS=$ac_check_lib_save_LIBS
17833fi
17834echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17835echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17836if test $ac_cv_lib_m_roundl = yes; then
17837
17838cat >>confdefs.h <<\_ACEOF
17839#define HAVE_ROUNDL 1
17840_ACEOF
17841
17842fi
17843
17844echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17845echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17846if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17847 echo $ECHO_N "(cached) $ECHO_C" >&6
17848else
17849 ac_check_lib_save_LIBS=$LIBS
17850LIBS="-lm $LIBS"
17851if test x$gcc_no_link = xyes; then
17852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17853echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17854 { (exit 1); exit 1; }; }
17855fi
17856cat >conftest.$ac_ext <<_ACEOF
17857/* confdefs.h. */
17858_ACEOF
17859cat confdefs.h >>conftest.$ac_ext
17860cat >>conftest.$ac_ext <<_ACEOF
17861/* end confdefs.h. */
17862
17863/* Override any gcc2 internal prototype to avoid an error. */
17864#ifdef __cplusplus
17865extern "C"
17866#endif
17867/* We use char because int might match the return type of a gcc2
17868 builtin and then its argument prototype would still apply. */
17869char scalbnf ();
17870int
17871main ()
17872{
17873scalbnf ();
17874 ;
17875 return 0;
17876}
17877_ACEOF
17878rm -f conftest.$ac_objext conftest$ac_exeext
17879if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17880 (eval $ac_link) 2>conftest.er1
17881 ac_status=$?
17882 grep -v '^ *+' conftest.er1 >conftest.err
17883 rm -f conftest.er1
17884 cat conftest.err >&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } &&
57255173
PB
17887 { ac_try='test -z "$ac_c_werror_flag"
17888 || test ! -s conftest.err'
1409cd0b
FXC
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17891 ac_status=$?
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; } &&
17894 { ac_try='test -s conftest$ac_exeext'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17897 ac_status=$?
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; }; then
17900 ac_cv_lib_m_scalbnf=yes
17901else
17902 echo "$as_me: failed program was:" >&5
17903sed 's/^/| /' conftest.$ac_ext >&5
17904
17905ac_cv_lib_m_scalbnf=no
17906fi
17907rm -f conftest.err conftest.$ac_objext \
17908 conftest$ac_exeext conftest.$ac_ext
17909LIBS=$ac_check_lib_save_LIBS
17910fi
17911echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17912echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17913if test $ac_cv_lib_m_scalbnf = yes; then
17914
17915cat >>confdefs.h <<\_ACEOF
17916#define HAVE_SCALBNF 1
17917_ACEOF
17918
17919fi
17920
17921echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17922echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17923if test "${ac_cv_lib_m_scalbn+set}" = set; then
17924 echo $ECHO_N "(cached) $ECHO_C" >&6
17925else
17926 ac_check_lib_save_LIBS=$LIBS
17927LIBS="-lm $LIBS"
17928if test x$gcc_no_link = xyes; then
17929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17930echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17931 { (exit 1); exit 1; }; }
17932fi
17933cat >conftest.$ac_ext <<_ACEOF
17934/* confdefs.h. */
17935_ACEOF
17936cat confdefs.h >>conftest.$ac_ext
17937cat >>conftest.$ac_ext <<_ACEOF
17938/* end confdefs.h. */
17939
17940/* Override any gcc2 internal prototype to avoid an error. */
17941#ifdef __cplusplus
17942extern "C"
17943#endif
17944/* We use char because int might match the return type of a gcc2
17945 builtin and then its argument prototype would still apply. */
17946char scalbn ();
17947int
17948main ()
17949{
17950scalbn ();
17951 ;
17952 return 0;
17953}
17954_ACEOF
17955rm -f conftest.$ac_objext conftest$ac_exeext
17956if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17957 (eval $ac_link) 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
57255173
PB
17964 { ac_try='test -z "$ac_c_werror_flag"
17965 || test ! -s conftest.err'
1409cd0b
FXC
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17968 ac_status=$?
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try='test -s conftest$ac_exeext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; }; then
17977 ac_cv_lib_m_scalbn=yes
17978else
17979 echo "$as_me: failed program was:" >&5
17980sed 's/^/| /' conftest.$ac_ext >&5
17981
17982ac_cv_lib_m_scalbn=no
17983fi
17984rm -f conftest.err conftest.$ac_objext \
17985 conftest$ac_exeext conftest.$ac_ext
17986LIBS=$ac_check_lib_save_LIBS
17987fi
17988echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17989echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17990if test $ac_cv_lib_m_scalbn = yes; then
17991
17992cat >>confdefs.h <<\_ACEOF
17993#define HAVE_SCALBN 1
17994_ACEOF
17995
17996fi
17997
17998echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17999echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
18000if test "${ac_cv_lib_m_scalbnl+set}" = set; then
18001 echo $ECHO_N "(cached) $ECHO_C" >&6
18002else
18003 ac_check_lib_save_LIBS=$LIBS
18004LIBS="-lm $LIBS"
18005if test x$gcc_no_link = xyes; then
18006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18007echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18008 { (exit 1); exit 1; }; }
18009fi
18010cat >conftest.$ac_ext <<_ACEOF
18011/* confdefs.h. */
18012_ACEOF
18013cat confdefs.h >>conftest.$ac_ext
18014cat >>conftest.$ac_ext <<_ACEOF
18015/* end confdefs.h. */
18016
18017/* Override any gcc2 internal prototype to avoid an error. */
18018#ifdef __cplusplus
18019extern "C"
18020#endif
18021/* We use char because int might match the return type of a gcc2
18022 builtin and then its argument prototype would still apply. */
18023char scalbnl ();
18024int
18025main ()
18026{
18027scalbnl ();
18028 ;
18029 return 0;
18030}
18031_ACEOF
18032rm -f conftest.$ac_objext conftest$ac_exeext
18033if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18034 (eval $ac_link) 2>conftest.er1
18035 ac_status=$?
18036 grep -v '^ *+' conftest.er1 >conftest.err
18037 rm -f conftest.er1
18038 cat conftest.err >&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); } &&
57255173
PB
18041 { ac_try='test -z "$ac_c_werror_flag"
18042 || test ! -s conftest.err'
1409cd0b
FXC
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18045 ac_status=$?
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; } &&
18048 { ac_try='test -s conftest$ac_exeext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18051 ac_status=$?
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 ac_cv_lib_m_scalbnl=yes
18055else
18056 echo "$as_me: failed program was:" >&5
18057sed 's/^/| /' conftest.$ac_ext >&5
18058
18059ac_cv_lib_m_scalbnl=no
18060fi
18061rm -f conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext conftest.$ac_ext
18063LIBS=$ac_check_lib_save_LIBS
18064fi
18065echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
18066echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
18067if test $ac_cv_lib_m_scalbnl = yes; then
18068
18069cat >>confdefs.h <<\_ACEOF
18070#define HAVE_SCALBNL 1
18071_ACEOF
18072
18073fi
18074
18075echo "$as_me:$LINENO: checking for sinf in -lm" >&5
18076echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
18077if test "${ac_cv_lib_m_sinf+set}" = set; then
18078 echo $ECHO_N "(cached) $ECHO_C" >&6
18079else
18080 ac_check_lib_save_LIBS=$LIBS
18081LIBS="-lm $LIBS"
18082if test x$gcc_no_link = xyes; then
18083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18084echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18085 { (exit 1); exit 1; }; }
18086fi
18087cat >conftest.$ac_ext <<_ACEOF
18088/* confdefs.h. */
18089_ACEOF
18090cat confdefs.h >>conftest.$ac_ext
18091cat >>conftest.$ac_ext <<_ACEOF
18092/* end confdefs.h. */
18093
18094/* Override any gcc2 internal prototype to avoid an error. */
18095#ifdef __cplusplus
18096extern "C"
18097#endif
18098/* We use char because int might match the return type of a gcc2
18099 builtin and then its argument prototype would still apply. */
18100char sinf ();
18101int
18102main ()
18103{
18104sinf ();
18105 ;
18106 return 0;
18107}
18108_ACEOF
18109rm -f conftest.$ac_objext conftest$ac_exeext
18110if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18111 (eval $ac_link) 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
57255173
PB
18118 { ac_try='test -z "$ac_c_werror_flag"
18119 || test ! -s conftest.err'
1409cd0b
FXC
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; } &&
18125 { ac_try='test -s conftest$ac_exeext'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18128 ac_status=$?
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 ac_cv_lib_m_sinf=yes
18132else
18133 echo "$as_me: failed program was:" >&5
18134sed 's/^/| /' conftest.$ac_ext >&5
18135
18136ac_cv_lib_m_sinf=no
18137fi
18138rm -f conftest.err conftest.$ac_objext \
18139 conftest$ac_exeext conftest.$ac_ext
18140LIBS=$ac_check_lib_save_LIBS
18141fi
18142echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
18143echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
18144if test $ac_cv_lib_m_sinf = yes; then
18145
18146cat >>confdefs.h <<\_ACEOF
18147#define HAVE_SINF 1
18148_ACEOF
18149
18150fi
18151
18152echo "$as_me:$LINENO: checking for sin in -lm" >&5
18153echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18154if test "${ac_cv_lib_m_sin+set}" = set; then
18155 echo $ECHO_N "(cached) $ECHO_C" >&6
18156else
18157 ac_check_lib_save_LIBS=$LIBS
18158LIBS="-lm $LIBS"
18159if test x$gcc_no_link = xyes; then
18160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18161echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18162 { (exit 1); exit 1; }; }
18163fi
18164cat >conftest.$ac_ext <<_ACEOF
18165/* confdefs.h. */
18166_ACEOF
18167cat confdefs.h >>conftest.$ac_ext
18168cat >>conftest.$ac_ext <<_ACEOF
18169/* end confdefs.h. */
18170
18171/* Override any gcc2 internal prototype to avoid an error. */
18172#ifdef __cplusplus
18173extern "C"
18174#endif
18175/* We use char because int might match the return type of a gcc2
18176 builtin and then its argument prototype would still apply. */
18177char sin ();
18178int
18179main ()
18180{
18181sin ();
18182 ;
18183 return 0;
18184}
18185_ACEOF
18186rm -f conftest.$ac_objext conftest$ac_exeext
18187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18188 (eval $ac_link) 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
57255173
PB
18195 { ac_try='test -z "$ac_c_werror_flag"
18196 || test ! -s conftest.err'
1409cd0b
FXC
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18199 ac_status=$?
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; } &&
18202 { ac_try='test -s conftest$ac_exeext'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18205 ac_status=$?
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; }; then
18208 ac_cv_lib_m_sin=yes
18209else
18210 echo "$as_me: failed program was:" >&5
18211sed 's/^/| /' conftest.$ac_ext >&5
18212
18213ac_cv_lib_m_sin=no
18214fi
18215rm -f conftest.err conftest.$ac_objext \
18216 conftest$ac_exeext conftest.$ac_ext
18217LIBS=$ac_check_lib_save_LIBS
18218fi
18219echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18220echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18221if test $ac_cv_lib_m_sin = yes; then
18222
18223cat >>confdefs.h <<\_ACEOF
18224#define HAVE_SIN 1
18225_ACEOF
18226
18227fi
18228
18229echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18230echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18231if test "${ac_cv_lib_m_sinl+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233else
18234 ac_check_lib_save_LIBS=$LIBS
18235LIBS="-lm $LIBS"
18236if test x$gcc_no_link = xyes; then
18237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18238echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18239 { (exit 1); exit 1; }; }
18240fi
18241cat >conftest.$ac_ext <<_ACEOF
18242/* confdefs.h. */
18243_ACEOF
18244cat confdefs.h >>conftest.$ac_ext
18245cat >>conftest.$ac_ext <<_ACEOF
18246/* end confdefs.h. */
18247
18248/* Override any gcc2 internal prototype to avoid an error. */
18249#ifdef __cplusplus
18250extern "C"
18251#endif
18252/* We use char because int might match the return type of a gcc2
18253 builtin and then its argument prototype would still apply. */
18254char sinl ();
18255int
18256main ()
18257{
18258sinl ();
18259 ;
18260 return 0;
18261}
18262_ACEOF
18263rm -f conftest.$ac_objext conftest$ac_exeext
18264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18265 (eval $ac_link) 2>conftest.er1
18266 ac_status=$?
18267 grep -v '^ *+' conftest.er1 >conftest.err
18268 rm -f conftest.er1
18269 cat conftest.err >&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } &&
57255173
PB
18272 { ac_try='test -z "$ac_c_werror_flag"
18273 || test ! -s conftest.err'
1409cd0b
FXC
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; } &&
18279 { ac_try='test -s conftest$ac_exeext'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18282 ac_status=$?
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; }; then
18285 ac_cv_lib_m_sinl=yes
18286else
18287 echo "$as_me: failed program was:" >&5
18288sed 's/^/| /' conftest.$ac_ext >&5
18289
18290ac_cv_lib_m_sinl=no
18291fi
18292rm -f conftest.err conftest.$ac_objext \
18293 conftest$ac_exeext conftest.$ac_ext
18294LIBS=$ac_check_lib_save_LIBS
18295fi
18296echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18297echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18298if test $ac_cv_lib_m_sinl = yes; then
18299
18300cat >>confdefs.h <<\_ACEOF
18301#define HAVE_SINL 1
18302_ACEOF
18303
18304fi
18305
18306echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18307echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18308if test "${ac_cv_lib_m_csinf+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18310else
18311 ac_check_lib_save_LIBS=$LIBS
18312LIBS="-lm $LIBS"
18313if test x$gcc_no_link = xyes; then
18314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18315echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18316 { (exit 1); exit 1; }; }
18317fi
18318cat >conftest.$ac_ext <<_ACEOF
18319/* confdefs.h. */
18320_ACEOF
18321cat confdefs.h >>conftest.$ac_ext
18322cat >>conftest.$ac_ext <<_ACEOF
18323/* end confdefs.h. */
18324
18325/* Override any gcc2 internal prototype to avoid an error. */
18326#ifdef __cplusplus
18327extern "C"
18328#endif
18329/* We use char because int might match the return type of a gcc2
18330 builtin and then its argument prototype would still apply. */
18331char csinf ();
18332int
18333main ()
18334{
18335csinf ();
18336 ;
18337 return 0;
18338}
18339_ACEOF
18340rm -f conftest.$ac_objext conftest$ac_exeext
18341if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18342 (eval $ac_link) 2>conftest.er1
18343 ac_status=$?
18344 grep -v '^ *+' conftest.er1 >conftest.err
18345 rm -f conftest.er1
18346 cat conftest.err >&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } &&
57255173
PB
18349 { ac_try='test -z "$ac_c_werror_flag"
18350 || test ! -s conftest.err'
1409cd0b
FXC
18351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18352 (eval $ac_try) 2>&5
18353 ac_status=$?
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); }; } &&
18356 { ac_try='test -s conftest$ac_exeext'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18359 ac_status=$?
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; }; then
18362 ac_cv_lib_m_csinf=yes
18363else
18364 echo "$as_me: failed program was:" >&5
18365sed 's/^/| /' conftest.$ac_ext >&5
18366
18367ac_cv_lib_m_csinf=no
18368fi
18369rm -f conftest.err conftest.$ac_objext \
18370 conftest$ac_exeext conftest.$ac_ext
18371LIBS=$ac_check_lib_save_LIBS
18372fi
18373echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18374echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18375if test $ac_cv_lib_m_csinf = yes; then
18376
18377cat >>confdefs.h <<\_ACEOF
18378#define HAVE_CSINF 1
18379_ACEOF
18380
18381fi
18382
18383echo "$as_me:$LINENO: checking for csin in -lm" >&5
18384echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18385if test "${ac_cv_lib_m_csin+set}" = set; then
18386 echo $ECHO_N "(cached) $ECHO_C" >&6
18387else
18388 ac_check_lib_save_LIBS=$LIBS
18389LIBS="-lm $LIBS"
18390if test x$gcc_no_link = xyes; then
18391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18392echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18393 { (exit 1); exit 1; }; }
18394fi
18395cat >conftest.$ac_ext <<_ACEOF
18396/* confdefs.h. */
18397_ACEOF
18398cat confdefs.h >>conftest.$ac_ext
18399cat >>conftest.$ac_ext <<_ACEOF
18400/* end confdefs.h. */
18401
18402/* Override any gcc2 internal prototype to avoid an error. */
18403#ifdef __cplusplus
18404extern "C"
18405#endif
18406/* We use char because int might match the return type of a gcc2
18407 builtin and then its argument prototype would still apply. */
18408char csin ();
18409int
18410main ()
18411{
18412csin ();
18413 ;
18414 return 0;
18415}
18416_ACEOF
18417rm -f conftest.$ac_objext conftest$ac_exeext
18418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18419 (eval $ac_link) 2>conftest.er1
18420 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } &&
57255173
PB
18426 { ac_try='test -z "$ac_c_werror_flag"
18427 || test ! -s conftest.err'
1409cd0b
FXC
18428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18429 (eval $ac_try) 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; } &&
18433 { ac_try='test -s conftest$ac_exeext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 ac_cv_lib_m_csin=yes
18440else
18441 echo "$as_me: failed program was:" >&5
18442sed 's/^/| /' conftest.$ac_ext >&5
18443
18444ac_cv_lib_m_csin=no
18445fi
18446rm -f conftest.err conftest.$ac_objext \
18447 conftest$ac_exeext conftest.$ac_ext
18448LIBS=$ac_check_lib_save_LIBS
18449fi
18450echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18451echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18452if test $ac_cv_lib_m_csin = yes; then
18453
18454cat >>confdefs.h <<\_ACEOF
18455#define HAVE_CSIN 1
18456_ACEOF
18457
18458fi
18459
18460echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18461echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18462if test "${ac_cv_lib_m_csinl+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18464else
18465 ac_check_lib_save_LIBS=$LIBS
18466LIBS="-lm $LIBS"
18467if test x$gcc_no_link = xyes; then
18468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18469echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18470 { (exit 1); exit 1; }; }
18471fi
18472cat >conftest.$ac_ext <<_ACEOF
18473/* confdefs.h. */
18474_ACEOF
18475cat confdefs.h >>conftest.$ac_ext
18476cat >>conftest.$ac_ext <<_ACEOF
18477/* end confdefs.h. */
18478
18479/* Override any gcc2 internal prototype to avoid an error. */
18480#ifdef __cplusplus
18481extern "C"
18482#endif
18483/* We use char because int might match the return type of a gcc2
18484 builtin and then its argument prototype would still apply. */
18485char csinl ();
18486int
18487main ()
18488{
18489csinl ();
18490 ;
18491 return 0;
18492}
18493_ACEOF
18494rm -f conftest.$ac_objext conftest$ac_exeext
18495if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18496 (eval $ac_link) 2>conftest.er1
18497 ac_status=$?
18498 grep -v '^ *+' conftest.er1 >conftest.err
18499 rm -f conftest.er1
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } &&
57255173
PB
18503 { ac_try='test -z "$ac_c_werror_flag"
18504 || test ! -s conftest.err'
1409cd0b
FXC
18505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18506 (eval $ac_try) 2>&5
18507 ac_status=$?
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); }; } &&
18510 { ac_try='test -s conftest$ac_exeext'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18513 ac_status=$?
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; }; then
18516 ac_cv_lib_m_csinl=yes
18517else
18518 echo "$as_me: failed program was:" >&5
18519sed 's/^/| /' conftest.$ac_ext >&5
18520
18521ac_cv_lib_m_csinl=no
18522fi
18523rm -f conftest.err conftest.$ac_objext \
18524 conftest$ac_exeext conftest.$ac_ext
18525LIBS=$ac_check_lib_save_LIBS
18526fi
18527echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18528echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18529if test $ac_cv_lib_m_csinl = yes; then
18530
18531cat >>confdefs.h <<\_ACEOF
18532#define HAVE_CSINL 1
18533_ACEOF
18534
18535fi
18536
18537echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18538echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18539if test "${ac_cv_lib_m_sinhf+set}" = set; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6
18541else
18542 ac_check_lib_save_LIBS=$LIBS
18543LIBS="-lm $LIBS"
18544if test x$gcc_no_link = xyes; then
18545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18546echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18547 { (exit 1); exit 1; }; }
18548fi
18549cat >conftest.$ac_ext <<_ACEOF
18550/* confdefs.h. */
18551_ACEOF
18552cat confdefs.h >>conftest.$ac_ext
18553cat >>conftest.$ac_ext <<_ACEOF
18554/* end confdefs.h. */
18555
18556/* Override any gcc2 internal prototype to avoid an error. */
18557#ifdef __cplusplus
18558extern "C"
18559#endif
18560/* We use char because int might match the return type of a gcc2
18561 builtin and then its argument prototype would still apply. */
18562char sinhf ();
18563int
18564main ()
18565{
18566sinhf ();
18567 ;
18568 return 0;
18569}
18570_ACEOF
18571rm -f conftest.$ac_objext conftest$ac_exeext
18572if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18573 (eval $ac_link) 2>conftest.er1
18574 ac_status=$?
18575 grep -v '^ *+' conftest.er1 >conftest.err
18576 rm -f conftest.er1
18577 cat conftest.err >&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); } &&
57255173
PB
18580 { ac_try='test -z "$ac_c_werror_flag"
18581 || test ! -s conftest.err'
1409cd0b
FXC
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18584 ac_status=$?
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; } &&
18587 { ac_try='test -s conftest$ac_exeext'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_lib_m_sinhf=yes
18594else
18595 echo "$as_me: failed program was:" >&5
18596sed 's/^/| /' conftest.$ac_ext >&5
18597
18598ac_cv_lib_m_sinhf=no
18599fi
18600rm -f conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18602LIBS=$ac_check_lib_save_LIBS
18603fi
18604echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18605echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18606if test $ac_cv_lib_m_sinhf = yes; then
18607
18608cat >>confdefs.h <<\_ACEOF
18609#define HAVE_SINHF 1
18610_ACEOF
18611
18612fi
18613
18614echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18615echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18616if test "${ac_cv_lib_m_sinh+set}" = set; then
18617 echo $ECHO_N "(cached) $ECHO_C" >&6
18618else
18619 ac_check_lib_save_LIBS=$LIBS
18620LIBS="-lm $LIBS"
18621if test x$gcc_no_link = xyes; then
18622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18623echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18624 { (exit 1); exit 1; }; }
18625fi
18626cat >conftest.$ac_ext <<_ACEOF
18627/* confdefs.h. */
18628_ACEOF
18629cat confdefs.h >>conftest.$ac_ext
18630cat >>conftest.$ac_ext <<_ACEOF
18631/* end confdefs.h. */
18632
18633/* Override any gcc2 internal prototype to avoid an error. */
18634#ifdef __cplusplus
18635extern "C"
18636#endif
18637/* We use char because int might match the return type of a gcc2
18638 builtin and then its argument prototype would still apply. */
18639char sinh ();
18640int
18641main ()
18642{
18643sinh ();
18644 ;
18645 return 0;
18646}
18647_ACEOF
18648rm -f conftest.$ac_objext conftest$ac_exeext
18649if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18650 (eval $ac_link) 2>conftest.er1
18651 ac_status=$?
18652 grep -v '^ *+' conftest.er1 >conftest.err
18653 rm -f conftest.er1
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } &&
57255173
PB
18657 { ac_try='test -z "$ac_c_werror_flag"
18658 || test ! -s conftest.err'
1409cd0b
FXC
18659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 (eval $ac_try) 2>&5
18661 ac_status=$?
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); }; } &&
18664 { ac_try='test -s conftest$ac_exeext'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_cv_lib_m_sinh=yes
18671else
18672 echo "$as_me: failed program was:" >&5
18673sed 's/^/| /' conftest.$ac_ext >&5
18674
18675ac_cv_lib_m_sinh=no
18676fi
18677rm -f conftest.err conftest.$ac_objext \
18678 conftest$ac_exeext conftest.$ac_ext
18679LIBS=$ac_check_lib_save_LIBS
18680fi
18681echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
18682echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
18683if test $ac_cv_lib_m_sinh = yes; then
18684
18685cat >>confdefs.h <<\_ACEOF
18686#define HAVE_SINH 1
18687_ACEOF
18688
18689fi
18690
18691echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
18692echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
18693if test "${ac_cv_lib_m_sinhl+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18695else
18696 ac_check_lib_save_LIBS=$LIBS
18697LIBS="-lm $LIBS"
18698if test x$gcc_no_link = xyes; then
18699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18700echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18701 { (exit 1); exit 1; }; }
18702fi
18703cat >conftest.$ac_ext <<_ACEOF
18704/* confdefs.h. */
18705_ACEOF
18706cat confdefs.h >>conftest.$ac_ext
18707cat >>conftest.$ac_ext <<_ACEOF
18708/* end confdefs.h. */
18709
18710/* Override any gcc2 internal prototype to avoid an error. */
18711#ifdef __cplusplus
18712extern "C"
18713#endif
18714/* We use char because int might match the return type of a gcc2
18715 builtin and then its argument prototype would still apply. */
18716char sinhl ();
18717int
18718main ()
18719{
18720sinhl ();
18721 ;
18722 return 0;
18723}
18724_ACEOF
18725rm -f conftest.$ac_objext conftest$ac_exeext
18726if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18727 (eval $ac_link) 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
57255173
PB
18734 { ac_try='test -z "$ac_c_werror_flag"
18735 || test ! -s conftest.err'
1409cd0b
FXC
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try='test -s conftest$ac_exeext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 ac_cv_lib_m_sinhl=yes
18748else
18749 echo "$as_me: failed program was:" >&5
18750sed 's/^/| /' conftest.$ac_ext >&5
18751
18752ac_cv_lib_m_sinhl=no
18753fi
18754rm -f conftest.err conftest.$ac_objext \
18755 conftest$ac_exeext conftest.$ac_ext
18756LIBS=$ac_check_lib_save_LIBS
18757fi
18758echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
18759echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
18760if test $ac_cv_lib_m_sinhl = yes; then
18761
18762cat >>confdefs.h <<\_ACEOF
18763#define HAVE_SINHL 1
18764_ACEOF
18765
18766fi
18767
18768echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18769echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18770if test "${ac_cv_lib_m_csinhf+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18772else
18773 ac_check_lib_save_LIBS=$LIBS
18774LIBS="-lm $LIBS"
18775if test x$gcc_no_link = xyes; then
18776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18777echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18778 { (exit 1); exit 1; }; }
18779fi
18780cat >conftest.$ac_ext <<_ACEOF
18781/* confdefs.h. */
18782_ACEOF
18783cat confdefs.h >>conftest.$ac_ext
18784cat >>conftest.$ac_ext <<_ACEOF
18785/* end confdefs.h. */
18786
18787/* Override any gcc2 internal prototype to avoid an error. */
18788#ifdef __cplusplus
18789extern "C"
18790#endif
18791/* We use char because int might match the return type of a gcc2
18792 builtin and then its argument prototype would still apply. */
18793char csinhf ();
18794int
18795main ()
18796{
18797csinhf ();
18798 ;
18799 return 0;
18800}
18801_ACEOF
18802rm -f conftest.$ac_objext conftest$ac_exeext
18803if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18804 (eval $ac_link) 2>conftest.er1
18805 ac_status=$?
18806 grep -v '^ *+' conftest.er1 >conftest.err
18807 rm -f conftest.er1
18808 cat conftest.err >&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); } &&
57255173
PB
18811 { ac_try='test -z "$ac_c_werror_flag"
18812 || test ! -s conftest.err'
1409cd0b
FXC
18813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18814 (eval $ac_try) 2>&5
18815 ac_status=$?
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); }; } &&
18818 { ac_try='test -s conftest$ac_exeext'
18819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820 (eval $ac_try) 2>&5
18821 ac_status=$?
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; }; then
18824 ac_cv_lib_m_csinhf=yes
18825else
18826 echo "$as_me: failed program was:" >&5
18827sed 's/^/| /' conftest.$ac_ext >&5
18828
18829ac_cv_lib_m_csinhf=no
18830fi
18831rm -f conftest.err conftest.$ac_objext \
18832 conftest$ac_exeext conftest.$ac_ext
18833LIBS=$ac_check_lib_save_LIBS
18834fi
18835echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18836echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18837if test $ac_cv_lib_m_csinhf = yes; then
18838
18839cat >>confdefs.h <<\_ACEOF
18840#define HAVE_CSINHF 1
18841_ACEOF
18842
18843fi
18844
18845echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18846echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18847if test "${ac_cv_lib_m_csinh+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18849else
18850 ac_check_lib_save_LIBS=$LIBS
18851LIBS="-lm $LIBS"
18852if test x$gcc_no_link = xyes; then
18853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18854echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18855 { (exit 1); exit 1; }; }
18856fi
18857cat >conftest.$ac_ext <<_ACEOF
18858/* confdefs.h. */
18859_ACEOF
18860cat confdefs.h >>conftest.$ac_ext
18861cat >>conftest.$ac_ext <<_ACEOF
18862/* end confdefs.h. */
18863
18864/* Override any gcc2 internal prototype to avoid an error. */
18865#ifdef __cplusplus
18866extern "C"
18867#endif
18868/* We use char because int might match the return type of a gcc2
18869 builtin and then its argument prototype would still apply. */
18870char csinh ();
18871int
18872main ()
18873{
18874csinh ();
18875 ;
18876 return 0;
18877}
18878_ACEOF
18879rm -f conftest.$ac_objext conftest$ac_exeext
18880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18881 (eval $ac_link) 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
57255173
PB
18888 { ac_try='test -z "$ac_c_werror_flag"
18889 || test ! -s conftest.err'
1409cd0b
FXC
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18892 ac_status=$?
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; } &&
18895 { ac_try='test -s conftest$ac_exeext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_cv_lib_m_csinh=yes
18902else
18903 echo "$as_me: failed program was:" >&5
18904sed 's/^/| /' conftest.$ac_ext >&5
18905
18906ac_cv_lib_m_csinh=no
18907fi
18908rm -f conftest.err conftest.$ac_objext \
18909 conftest$ac_exeext conftest.$ac_ext
18910LIBS=$ac_check_lib_save_LIBS
18911fi
18912echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18913echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18914if test $ac_cv_lib_m_csinh = yes; then
18915
18916cat >>confdefs.h <<\_ACEOF
18917#define HAVE_CSINH 1
18918_ACEOF
18919
18920fi
18921
18922echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18923echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18924if test "${ac_cv_lib_m_csinhl+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18926else
18927 ac_check_lib_save_LIBS=$LIBS
18928LIBS="-lm $LIBS"
18929if test x$gcc_no_link = xyes; then
18930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18931echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18932 { (exit 1); exit 1; }; }
18933fi
18934cat >conftest.$ac_ext <<_ACEOF
18935/* confdefs.h. */
18936_ACEOF
18937cat confdefs.h >>conftest.$ac_ext
18938cat >>conftest.$ac_ext <<_ACEOF
18939/* end confdefs.h. */
18940
18941/* Override any gcc2 internal prototype to avoid an error. */
18942#ifdef __cplusplus
18943extern "C"
18944#endif
18945/* We use char because int might match the return type of a gcc2
18946 builtin and then its argument prototype would still apply. */
18947char csinhl ();
18948int
18949main ()
18950{
18951csinhl ();
18952 ;
18953 return 0;
18954}
18955_ACEOF
18956rm -f conftest.$ac_objext conftest$ac_exeext
18957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18958 (eval $ac_link) 2>conftest.er1
18959 ac_status=$?
18960 grep -v '^ *+' conftest.er1 >conftest.err
18961 rm -f conftest.er1
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } &&
57255173
PB
18965 { ac_try='test -z "$ac_c_werror_flag"
18966 || test ! -s conftest.err'
1409cd0b
FXC
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try='test -s conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_lib_m_csinhl=yes
18979else
18980 echo "$as_me: failed program was:" >&5
18981sed 's/^/| /' conftest.$ac_ext >&5
18982
18983ac_cv_lib_m_csinhl=no
18984fi
18985rm -f conftest.err conftest.$ac_objext \
18986 conftest$ac_exeext conftest.$ac_ext
18987LIBS=$ac_check_lib_save_LIBS
18988fi
18989echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18990echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18991if test $ac_cv_lib_m_csinhl = yes; then
18992
18993cat >>confdefs.h <<\_ACEOF
18994#define HAVE_CSINHL 1
18995_ACEOF
18996
18997fi
18998
18999echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
19000echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
19001if test "${ac_cv_lib_m_sqrtf+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19003else
19004 ac_check_lib_save_LIBS=$LIBS
19005LIBS="-lm $LIBS"
19006if test x$gcc_no_link = xyes; then
19007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19008echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19009 { (exit 1); exit 1; }; }
19010fi
19011cat >conftest.$ac_ext <<_ACEOF
19012/* confdefs.h. */
19013_ACEOF
19014cat confdefs.h >>conftest.$ac_ext
19015cat >>conftest.$ac_ext <<_ACEOF
19016/* end confdefs.h. */
19017
19018/* Override any gcc2 internal prototype to avoid an error. */
19019#ifdef __cplusplus
19020extern "C"
19021#endif
19022/* We use char because int might match the return type of a gcc2
19023 builtin and then its argument prototype would still apply. */
19024char sqrtf ();
19025int
19026main ()
19027{
19028sqrtf ();
19029 ;
19030 return 0;
19031}
19032_ACEOF
19033rm -f conftest.$ac_objext conftest$ac_exeext
19034if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19035 (eval $ac_link) 2>conftest.er1
19036 ac_status=$?
19037 grep -v '^ *+' conftest.er1 >conftest.err
19038 rm -f conftest.er1
19039 cat conftest.err >&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } &&
57255173
PB
19042 { ac_try='test -z "$ac_c_werror_flag"
19043 || test ! -s conftest.err'
1409cd0b
FXC
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19046 ac_status=$?
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; } &&
19049 { ac_try='test -s conftest$ac_exeext'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19052 ac_status=$?
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; }; then
19055 ac_cv_lib_m_sqrtf=yes
19056else
19057 echo "$as_me: failed program was:" >&5
19058sed 's/^/| /' conftest.$ac_ext >&5
19059
19060ac_cv_lib_m_sqrtf=no
19061fi
19062rm -f conftest.err conftest.$ac_objext \
19063 conftest$ac_exeext conftest.$ac_ext
19064LIBS=$ac_check_lib_save_LIBS
19065fi
19066echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
19067echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
19068if test $ac_cv_lib_m_sqrtf = yes; then
19069
19070cat >>confdefs.h <<\_ACEOF
19071#define HAVE_SQRTF 1
19072_ACEOF
19073
19074fi
19075
19076echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
19077echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
19078if test "${ac_cv_lib_m_sqrt+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19080else
19081 ac_check_lib_save_LIBS=$LIBS
19082LIBS="-lm $LIBS"
19083if test x$gcc_no_link = xyes; then
19084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19085echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19086 { (exit 1); exit 1; }; }
19087fi
19088cat >conftest.$ac_ext <<_ACEOF
19089/* confdefs.h. */
19090_ACEOF
19091cat confdefs.h >>conftest.$ac_ext
19092cat >>conftest.$ac_ext <<_ACEOF
19093/* end confdefs.h. */
19094
19095/* Override any gcc2 internal prototype to avoid an error. */
19096#ifdef __cplusplus
19097extern "C"
19098#endif
19099/* We use char because int might match the return type of a gcc2
19100 builtin and then its argument prototype would still apply. */
19101char sqrt ();
19102int
19103main ()
19104{
19105sqrt ();
19106 ;
19107 return 0;
19108}
19109_ACEOF
19110rm -f conftest.$ac_objext conftest$ac_exeext
19111if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19112 (eval $ac_link) 2>conftest.er1
19113 ac_status=$?
19114 grep -v '^ *+' conftest.er1 >conftest.err
19115 rm -f conftest.er1
19116 cat conftest.err >&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } &&
57255173
PB
19119 { ac_try='test -z "$ac_c_werror_flag"
19120 || test ! -s conftest.err'
1409cd0b
FXC
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19123 ac_status=$?
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; } &&
19126 { ac_try='test -s conftest$ac_exeext'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; }; then
19132 ac_cv_lib_m_sqrt=yes
19133else
19134 echo "$as_me: failed program was:" >&5
19135sed 's/^/| /' conftest.$ac_ext >&5
19136
19137ac_cv_lib_m_sqrt=no
19138fi
19139rm -f conftest.err conftest.$ac_objext \
19140 conftest$ac_exeext conftest.$ac_ext
19141LIBS=$ac_check_lib_save_LIBS
19142fi
19143echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
19144echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
19145if test $ac_cv_lib_m_sqrt = yes; then
19146
19147cat >>confdefs.h <<\_ACEOF
19148#define HAVE_SQRT 1
19149_ACEOF
19150
19151fi
19152
19153echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
19154echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
19155if test "${ac_cv_lib_m_sqrtl+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157else
19158 ac_check_lib_save_LIBS=$LIBS
19159LIBS="-lm $LIBS"
19160if test x$gcc_no_link = xyes; then
19161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19162echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19163 { (exit 1); exit 1; }; }
19164fi
19165cat >conftest.$ac_ext <<_ACEOF
19166/* confdefs.h. */
19167_ACEOF
19168cat confdefs.h >>conftest.$ac_ext
19169cat >>conftest.$ac_ext <<_ACEOF
19170/* end confdefs.h. */
19171
19172/* Override any gcc2 internal prototype to avoid an error. */
19173#ifdef __cplusplus
19174extern "C"
19175#endif
19176/* We use char because int might match the return type of a gcc2
19177 builtin and then its argument prototype would still apply. */
19178char sqrtl ();
19179int
19180main ()
19181{
19182sqrtl ();
19183 ;
19184 return 0;
19185}
19186_ACEOF
19187rm -f conftest.$ac_objext conftest$ac_exeext
19188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19189 (eval $ac_link) 2>conftest.er1
19190 ac_status=$?
19191 grep -v '^ *+' conftest.er1 >conftest.err
19192 rm -f conftest.er1
19193 cat conftest.err >&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
57255173
PB
19196 { ac_try='test -z "$ac_c_werror_flag"
19197 || test ! -s conftest.err'
1409cd0b
FXC
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19200 ac_status=$?
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; } &&
19203 { ac_try='test -s conftest$ac_exeext'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19206 ac_status=$?
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; }; then
19209 ac_cv_lib_m_sqrtl=yes
19210else
19211 echo "$as_me: failed program was:" >&5
19212sed 's/^/| /' conftest.$ac_ext >&5
19213
19214ac_cv_lib_m_sqrtl=no
19215fi
19216rm -f conftest.err conftest.$ac_objext \
19217 conftest$ac_exeext conftest.$ac_ext
19218LIBS=$ac_check_lib_save_LIBS
19219fi
19220echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19221echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19222if test $ac_cv_lib_m_sqrtl = yes; then
19223
19224cat >>confdefs.h <<\_ACEOF
19225#define HAVE_SQRTL 1
19226_ACEOF
19227
19228fi
19229
19230echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19231echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19232if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19234else
19235 ac_check_lib_save_LIBS=$LIBS
19236LIBS="-lm $LIBS"
19237if test x$gcc_no_link = xyes; then
19238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19239echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19240 { (exit 1); exit 1; }; }
19241fi
19242cat >conftest.$ac_ext <<_ACEOF
19243/* confdefs.h. */
19244_ACEOF
19245cat confdefs.h >>conftest.$ac_ext
19246cat >>conftest.$ac_ext <<_ACEOF
19247/* end confdefs.h. */
19248
19249/* Override any gcc2 internal prototype to avoid an error. */
19250#ifdef __cplusplus
19251extern "C"
19252#endif
19253/* We use char because int might match the return type of a gcc2
19254 builtin and then its argument prototype would still apply. */
19255char csqrtf ();
19256int
19257main ()
19258{
19259csqrtf ();
19260 ;
19261 return 0;
19262}
19263_ACEOF
19264rm -f conftest.$ac_objext conftest$ac_exeext
19265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19266 (eval $ac_link) 2>conftest.er1
19267 ac_status=$?
19268 grep -v '^ *+' conftest.er1 >conftest.err
19269 rm -f conftest.er1
19270 cat conftest.err >&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
57255173
PB
19273 { ac_try='test -z "$ac_c_werror_flag"
19274 || test ! -s conftest.err'
1409cd0b
FXC
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try='test -s conftest$ac_exeext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_cv_lib_m_csqrtf=yes
19287else
19288 echo "$as_me: failed program was:" >&5
19289sed 's/^/| /' conftest.$ac_ext >&5
19290
19291ac_cv_lib_m_csqrtf=no
19292fi
19293rm -f conftest.err conftest.$ac_objext \
19294 conftest$ac_exeext conftest.$ac_ext
19295LIBS=$ac_check_lib_save_LIBS
19296fi
19297echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19298echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19299if test $ac_cv_lib_m_csqrtf = yes; then
19300
19301cat >>confdefs.h <<\_ACEOF
19302#define HAVE_CSQRTF 1
19303_ACEOF
19304
19305fi
19306
19307echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19308echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19309if test "${ac_cv_lib_m_csqrt+set}" = set; then
19310 echo $ECHO_N "(cached) $ECHO_C" >&6
19311else
19312 ac_check_lib_save_LIBS=$LIBS
19313LIBS="-lm $LIBS"
19314if test x$gcc_no_link = xyes; then
19315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19316echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19317 { (exit 1); exit 1; }; }
19318fi
19319cat >conftest.$ac_ext <<_ACEOF
19320/* confdefs.h. */
19321_ACEOF
19322cat confdefs.h >>conftest.$ac_ext
19323cat >>conftest.$ac_ext <<_ACEOF
19324/* end confdefs.h. */
19325
19326/* Override any gcc2 internal prototype to avoid an error. */
19327#ifdef __cplusplus
19328extern "C"
19329#endif
19330/* We use char because int might match the return type of a gcc2
19331 builtin and then its argument prototype would still apply. */
19332char csqrt ();
19333int
19334main ()
19335{
19336csqrt ();
19337 ;
19338 return 0;
19339}
19340_ACEOF
19341rm -f conftest.$ac_objext conftest$ac_exeext
19342if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19343 (eval $ac_link) 2>conftest.er1
19344 ac_status=$?
19345 grep -v '^ *+' conftest.er1 >conftest.err
19346 rm -f conftest.er1
19347 cat conftest.err >&5
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); } &&
57255173
PB
19350 { ac_try='test -z "$ac_c_werror_flag"
19351 || test ! -s conftest.err'
1409cd0b
FXC
19352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19353 (eval $ac_try) 2>&5
19354 ac_status=$?
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); }; } &&
19357 { ac_try='test -s conftest$ac_exeext'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19360 ac_status=$?
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; }; then
19363 ac_cv_lib_m_csqrt=yes
19364else
19365 echo "$as_me: failed program was:" >&5
19366sed 's/^/| /' conftest.$ac_ext >&5
19367
19368ac_cv_lib_m_csqrt=no
19369fi
19370rm -f conftest.err conftest.$ac_objext \
19371 conftest$ac_exeext conftest.$ac_ext
19372LIBS=$ac_check_lib_save_LIBS
19373fi
19374echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19375echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19376if test $ac_cv_lib_m_csqrt = yes; then
19377
19378cat >>confdefs.h <<\_ACEOF
19379#define HAVE_CSQRT 1
19380_ACEOF
19381
19382fi
19383
19384echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19385echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19386if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19387 echo $ECHO_N "(cached) $ECHO_C" >&6
19388else
19389 ac_check_lib_save_LIBS=$LIBS
19390LIBS="-lm $LIBS"
19391if test x$gcc_no_link = xyes; then
19392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19393echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19394 { (exit 1); exit 1; }; }
19395fi
19396cat >conftest.$ac_ext <<_ACEOF
19397/* confdefs.h. */
19398_ACEOF
19399cat confdefs.h >>conftest.$ac_ext
19400cat >>conftest.$ac_ext <<_ACEOF
19401/* end confdefs.h. */
19402
19403/* Override any gcc2 internal prototype to avoid an error. */
19404#ifdef __cplusplus
19405extern "C"
19406#endif
19407/* We use char because int might match the return type of a gcc2
19408 builtin and then its argument prototype would still apply. */
19409char csqrtl ();
19410int
19411main ()
19412{
19413csqrtl ();
19414 ;
19415 return 0;
19416}
19417_ACEOF
19418rm -f conftest.$ac_objext conftest$ac_exeext
19419if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19420 (eval $ac_link) 2>conftest.er1
19421 ac_status=$?
19422 grep -v '^ *+' conftest.er1 >conftest.err
19423 rm -f conftest.er1
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } &&
57255173
PB
19427 { ac_try='test -z "$ac_c_werror_flag"
19428 || test ! -s conftest.err'
1409cd0b
FXC
19429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430 (eval $ac_try) 2>&5
19431 ac_status=$?
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; } &&
19434 { ac_try='test -s conftest$ac_exeext'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19437 ac_status=$?
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; }; then
19440 ac_cv_lib_m_csqrtl=yes
19441else
19442 echo "$as_me: failed program was:" >&5
19443sed 's/^/| /' conftest.$ac_ext >&5
19444
19445ac_cv_lib_m_csqrtl=no
19446fi
19447rm -f conftest.err conftest.$ac_objext \
19448 conftest$ac_exeext conftest.$ac_ext
19449LIBS=$ac_check_lib_save_LIBS
19450fi
19451echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19452echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19453if test $ac_cv_lib_m_csqrtl = yes; then
19454
19455cat >>confdefs.h <<\_ACEOF
19456#define HAVE_CSQRTL 1
19457_ACEOF
19458
19459fi
19460
19461echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19462echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19463if test "${ac_cv_lib_m_tanf+set}" = set; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19465else
19466 ac_check_lib_save_LIBS=$LIBS
19467LIBS="-lm $LIBS"
19468if test x$gcc_no_link = xyes; then
19469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19470echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19471 { (exit 1); exit 1; }; }
19472fi
19473cat >conftest.$ac_ext <<_ACEOF
19474/* confdefs.h. */
19475_ACEOF
19476cat confdefs.h >>conftest.$ac_ext
19477cat >>conftest.$ac_ext <<_ACEOF
19478/* end confdefs.h. */
19479
19480/* Override any gcc2 internal prototype to avoid an error. */
19481#ifdef __cplusplus
19482extern "C"
19483#endif
19484/* We use char because int might match the return type of a gcc2
19485 builtin and then its argument prototype would still apply. */
19486char tanf ();
19487int
19488main ()
19489{
19490tanf ();
19491 ;
19492 return 0;
19493}
19494_ACEOF
19495rm -f conftest.$ac_objext conftest$ac_exeext
19496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19497 (eval $ac_link) 2>conftest.er1
19498 ac_status=$?
19499 grep -v '^ *+' conftest.er1 >conftest.err
19500 rm -f conftest.er1
19501 cat conftest.err >&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } &&
57255173
PB
19504 { ac_try='test -z "$ac_c_werror_flag"
19505 || test ! -s conftest.err'
1409cd0b
FXC
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19508 ac_status=$?
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try='test -s conftest$ac_exeext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_cv_lib_m_tanf=yes
19518else
19519 echo "$as_me: failed program was:" >&5
19520sed 's/^/| /' conftest.$ac_ext >&5
19521
19522ac_cv_lib_m_tanf=no
19523fi
19524rm -f conftest.err conftest.$ac_objext \
19525 conftest$ac_exeext conftest.$ac_ext
19526LIBS=$ac_check_lib_save_LIBS
19527fi
19528echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19529echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19530if test $ac_cv_lib_m_tanf = yes; then
19531
19532cat >>confdefs.h <<\_ACEOF
19533#define HAVE_TANF 1
19534_ACEOF
19535
19536fi
19537
19538echo "$as_me:$LINENO: checking for tan in -lm" >&5
19539echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19540if test "${ac_cv_lib_m_tan+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19542else
19543 ac_check_lib_save_LIBS=$LIBS
19544LIBS="-lm $LIBS"
19545if test x$gcc_no_link = xyes; then
19546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19547echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19548 { (exit 1); exit 1; }; }
19549fi
19550cat >conftest.$ac_ext <<_ACEOF
19551/* confdefs.h. */
19552_ACEOF
19553cat confdefs.h >>conftest.$ac_ext
19554cat >>conftest.$ac_ext <<_ACEOF
19555/* end confdefs.h. */
19556
19557/* Override any gcc2 internal prototype to avoid an error. */
19558#ifdef __cplusplus
19559extern "C"
19560#endif
19561/* We use char because int might match the return type of a gcc2
19562 builtin and then its argument prototype would still apply. */
19563char tan ();
19564int
19565main ()
19566{
19567tan ();
19568 ;
19569 return 0;
19570}
19571_ACEOF
19572rm -f conftest.$ac_objext conftest$ac_exeext
19573if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19574 (eval $ac_link) 2>conftest.er1
19575 ac_status=$?
19576 grep -v '^ *+' conftest.er1 >conftest.err
19577 rm -f conftest.er1
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
57255173
PB
19581 { ac_try='test -z "$ac_c_werror_flag"
19582 || test ! -s conftest.err'
1409cd0b
FXC
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try='test -s conftest$ac_exeext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19591 ac_status=$?
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 ac_cv_lib_m_tan=yes
19595else
19596 echo "$as_me: failed program was:" >&5
19597sed 's/^/| /' conftest.$ac_ext >&5
19598
19599ac_cv_lib_m_tan=no
19600fi
19601rm -f conftest.err conftest.$ac_objext \
19602 conftest$ac_exeext conftest.$ac_ext
19603LIBS=$ac_check_lib_save_LIBS
19604fi
19605echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19606echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19607if test $ac_cv_lib_m_tan = yes; then
19608
19609cat >>confdefs.h <<\_ACEOF
19610#define HAVE_TAN 1
19611_ACEOF
19612
19613fi
19614
19615echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19616echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19617if test "${ac_cv_lib_m_tanl+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6
19619else
19620 ac_check_lib_save_LIBS=$LIBS
19621LIBS="-lm $LIBS"
19622if test x$gcc_no_link = xyes; then
19623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19624echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19625 { (exit 1); exit 1; }; }
19626fi
19627cat >conftest.$ac_ext <<_ACEOF
19628/* confdefs.h. */
19629_ACEOF
19630cat confdefs.h >>conftest.$ac_ext
19631cat >>conftest.$ac_ext <<_ACEOF
19632/* end confdefs.h. */
19633
19634/* Override any gcc2 internal prototype to avoid an error. */
19635#ifdef __cplusplus
19636extern "C"
19637#endif
19638/* We use char because int might match the return type of a gcc2
19639 builtin and then its argument prototype would still apply. */
19640char tanl ();
19641int
19642main ()
19643{
19644tanl ();
19645 ;
19646 return 0;
19647}
19648_ACEOF
19649rm -f conftest.$ac_objext conftest$ac_exeext
19650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19651 (eval $ac_link) 2>conftest.er1
19652 ac_status=$?
19653 grep -v '^ *+' conftest.er1 >conftest.err
19654 rm -f conftest.er1
19655 cat conftest.err >&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } &&
57255173
PB
19658 { ac_try='test -z "$ac_c_werror_flag"
19659 || test ! -s conftest.err'
1409cd0b
FXC
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19662 ac_status=$?
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try='test -s conftest$ac_exeext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 ac_cv_lib_m_tanl=yes
19672else
19673 echo "$as_me: failed program was:" >&5
19674sed 's/^/| /' conftest.$ac_ext >&5
19675
19676ac_cv_lib_m_tanl=no
19677fi
19678rm -f conftest.err conftest.$ac_objext \
19679 conftest$ac_exeext conftest.$ac_ext
19680LIBS=$ac_check_lib_save_LIBS
19681fi
19682echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
19683echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
19684if test $ac_cv_lib_m_tanl = yes; then
19685
19686cat >>confdefs.h <<\_ACEOF
19687#define HAVE_TANL 1
19688_ACEOF
19689
19690fi
19691
19692echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
19693echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
19694if test "${ac_cv_lib_m_ctanf+set}" = set; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19696else
19697 ac_check_lib_save_LIBS=$LIBS
19698LIBS="-lm $LIBS"
19699if test x$gcc_no_link = xyes; then
19700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19701echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19702 { (exit 1); exit 1; }; }
19703fi
19704cat >conftest.$ac_ext <<_ACEOF
19705/* confdefs.h. */
19706_ACEOF
19707cat confdefs.h >>conftest.$ac_ext
19708cat >>conftest.$ac_ext <<_ACEOF
19709/* end confdefs.h. */
19710
19711/* Override any gcc2 internal prototype to avoid an error. */
19712#ifdef __cplusplus
19713extern "C"
19714#endif
19715/* We use char because int might match the return type of a gcc2
19716 builtin and then its argument prototype would still apply. */
19717char ctanf ();
19718int
19719main ()
19720{
19721ctanf ();
19722 ;
19723 return 0;
19724}
19725_ACEOF
19726rm -f conftest.$ac_objext conftest$ac_exeext
19727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19728 (eval $ac_link) 2>conftest.er1
19729 ac_status=$?
19730 grep -v '^ *+' conftest.er1 >conftest.err
19731 rm -f conftest.er1
19732 cat conftest.err >&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } &&
57255173
PB
19735 { ac_try='test -z "$ac_c_werror_flag"
19736 || test ! -s conftest.err'
1409cd0b
FXC
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19739 ac_status=$?
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; } &&
19742 { ac_try='test -s conftest$ac_exeext'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19745 ac_status=$?
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; }; then
19748 ac_cv_lib_m_ctanf=yes
19749else
19750 echo "$as_me: failed program was:" >&5
19751sed 's/^/| /' conftest.$ac_ext >&5
19752
19753ac_cv_lib_m_ctanf=no
19754fi
19755rm -f conftest.err conftest.$ac_objext \
19756 conftest$ac_exeext conftest.$ac_ext
19757LIBS=$ac_check_lib_save_LIBS
19758fi
19759echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
19760echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
19761if test $ac_cv_lib_m_ctanf = yes; then
19762
19763cat >>confdefs.h <<\_ACEOF
19764#define HAVE_CTANF 1
19765_ACEOF
19766
19767fi
19768
19769echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19770echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19771if test "${ac_cv_lib_m_ctan+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19773else
19774 ac_check_lib_save_LIBS=$LIBS
19775LIBS="-lm $LIBS"
19776if test x$gcc_no_link = xyes; then
19777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19778echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19779 { (exit 1); exit 1; }; }
19780fi
19781cat >conftest.$ac_ext <<_ACEOF
19782/* confdefs.h. */
19783_ACEOF
19784cat confdefs.h >>conftest.$ac_ext
19785cat >>conftest.$ac_ext <<_ACEOF
19786/* end confdefs.h. */
19787
19788/* Override any gcc2 internal prototype to avoid an error. */
19789#ifdef __cplusplus
19790extern "C"
19791#endif
19792/* We use char because int might match the return type of a gcc2
19793 builtin and then its argument prototype would still apply. */
19794char ctan ();
19795int
19796main ()
19797{
19798ctan ();
19799 ;
19800 return 0;
19801}
19802_ACEOF
19803rm -f conftest.$ac_objext conftest$ac_exeext
19804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19805 (eval $ac_link) 2>conftest.er1
19806 ac_status=$?
19807 grep -v '^ *+' conftest.er1 >conftest.err
19808 rm -f conftest.er1
19809 cat conftest.err >&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } &&
57255173
PB
19812 { ac_try='test -z "$ac_c_werror_flag"
19813 || test ! -s conftest.err'
1409cd0b
FXC
19814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19815 (eval $ac_try) 2>&5
19816 ac_status=$?
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); }; } &&
19819 { ac_try='test -s conftest$ac_exeext'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19822 ac_status=$?
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; }; then
19825 ac_cv_lib_m_ctan=yes
19826else
19827 echo "$as_me: failed program was:" >&5
19828sed 's/^/| /' conftest.$ac_ext >&5
19829
19830ac_cv_lib_m_ctan=no
19831fi
19832rm -f conftest.err conftest.$ac_objext \
19833 conftest$ac_exeext conftest.$ac_ext
19834LIBS=$ac_check_lib_save_LIBS
19835fi
19836echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19837echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19838if test $ac_cv_lib_m_ctan = yes; then
19839
19840cat >>confdefs.h <<\_ACEOF
19841#define HAVE_CTAN 1
19842_ACEOF
19843
19844fi
19845
19846echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19847echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19848if test "${ac_cv_lib_m_ctanl+set}" = set; then
19849 echo $ECHO_N "(cached) $ECHO_C" >&6
19850else
19851 ac_check_lib_save_LIBS=$LIBS
19852LIBS="-lm $LIBS"
19853if test x$gcc_no_link = xyes; then
19854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19855echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19856 { (exit 1); exit 1; }; }
19857fi
19858cat >conftest.$ac_ext <<_ACEOF
19859/* confdefs.h. */
19860_ACEOF
19861cat confdefs.h >>conftest.$ac_ext
19862cat >>conftest.$ac_ext <<_ACEOF
19863/* end confdefs.h. */
19864
19865/* Override any gcc2 internal prototype to avoid an error. */
19866#ifdef __cplusplus
19867extern "C"
19868#endif
19869/* We use char because int might match the return type of a gcc2
19870 builtin and then its argument prototype would still apply. */
19871char ctanl ();
19872int
19873main ()
19874{
19875ctanl ();
19876 ;
19877 return 0;
19878}
19879_ACEOF
19880rm -f conftest.$ac_objext conftest$ac_exeext
19881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19882 (eval $ac_link) 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
57255173
PB
19889 { ac_try='test -z "$ac_c_werror_flag"
19890 || test ! -s conftest.err'
1409cd0b
FXC
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19893 ac_status=$?
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest$ac_exeext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 ac_cv_lib_m_ctanl=yes
19903else
19904 echo "$as_me: failed program was:" >&5
19905sed 's/^/| /' conftest.$ac_ext >&5
19906
19907ac_cv_lib_m_ctanl=no
19908fi
19909rm -f conftest.err conftest.$ac_objext \
19910 conftest$ac_exeext conftest.$ac_ext
19911LIBS=$ac_check_lib_save_LIBS
19912fi
19913echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19914echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19915if test $ac_cv_lib_m_ctanl = yes; then
19916
19917cat >>confdefs.h <<\_ACEOF
19918#define HAVE_CTANL 1
19919_ACEOF
19920
19921fi
19922
19923echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19924echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19925if test "${ac_cv_lib_m_tanhf+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19927else
19928 ac_check_lib_save_LIBS=$LIBS
19929LIBS="-lm $LIBS"
19930if test x$gcc_no_link = xyes; then
19931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19932echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19933 { (exit 1); exit 1; }; }
19934fi
19935cat >conftest.$ac_ext <<_ACEOF
19936/* confdefs.h. */
19937_ACEOF
19938cat confdefs.h >>conftest.$ac_ext
19939cat >>conftest.$ac_ext <<_ACEOF
19940/* end confdefs.h. */
19941
19942/* Override any gcc2 internal prototype to avoid an error. */
19943#ifdef __cplusplus
19944extern "C"
19945#endif
19946/* We use char because int might match the return type of a gcc2
19947 builtin and then its argument prototype would still apply. */
19948char tanhf ();
19949int
19950main ()
19951{
19952tanhf ();
19953 ;
19954 return 0;
19955}
19956_ACEOF
19957rm -f conftest.$ac_objext conftest$ac_exeext
19958if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19959 (eval $ac_link) 2>conftest.er1
19960 ac_status=$?
19961 grep -v '^ *+' conftest.er1 >conftest.err
19962 rm -f conftest.er1
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } &&
57255173
PB
19966 { ac_try='test -z "$ac_c_werror_flag"
19967 || test ! -s conftest.err'
1409cd0b
FXC
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try='test -s conftest$ac_exeext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_lib_m_tanhf=yes
19980else
19981 echo "$as_me: failed program was:" >&5
19982sed 's/^/| /' conftest.$ac_ext >&5
19983
19984ac_cv_lib_m_tanhf=no
19985fi
19986rm -f conftest.err conftest.$ac_objext \
19987 conftest$ac_exeext conftest.$ac_ext
19988LIBS=$ac_check_lib_save_LIBS
19989fi
19990echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19991echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19992if test $ac_cv_lib_m_tanhf = yes; then
19993
19994cat >>confdefs.h <<\_ACEOF
19995#define HAVE_TANHF 1
19996_ACEOF
19997
19998fi
19999
20000echo "$as_me:$LINENO: checking for tanh in -lm" >&5
20001echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
20002if test "${ac_cv_lib_m_tanh+set}" = set; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20004else
20005 ac_check_lib_save_LIBS=$LIBS
20006LIBS="-lm $LIBS"
20007if test x$gcc_no_link = xyes; then
20008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20009echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20010 { (exit 1); exit 1; }; }
20011fi
20012cat >conftest.$ac_ext <<_ACEOF
20013/* confdefs.h. */
20014_ACEOF
20015cat confdefs.h >>conftest.$ac_ext
20016cat >>conftest.$ac_ext <<_ACEOF
20017/* end confdefs.h. */
20018
20019/* Override any gcc2 internal prototype to avoid an error. */
20020#ifdef __cplusplus
20021extern "C"
20022#endif
20023/* We use char because int might match the return type of a gcc2
20024 builtin and then its argument prototype would still apply. */
20025char tanh ();
20026int
20027main ()
20028{
20029tanh ();
20030 ;
20031 return 0;
20032}
20033_ACEOF
20034rm -f conftest.$ac_objext conftest$ac_exeext
20035if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20036 (eval $ac_link) 2>conftest.er1
20037 ac_status=$?
20038 grep -v '^ *+' conftest.er1 >conftest.err
20039 rm -f conftest.er1
20040 cat conftest.err >&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } &&
57255173
PB
20043 { ac_try='test -z "$ac_c_werror_flag"
20044 || test ! -s conftest.err'
1409cd0b
FXC
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20047 ac_status=$?
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; } &&
20050 { ac_try='test -s conftest$ac_exeext'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20053 ac_status=$?
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; }; then
20056 ac_cv_lib_m_tanh=yes
20057else
20058 echo "$as_me: failed program was:" >&5
20059sed 's/^/| /' conftest.$ac_ext >&5
20060
20061ac_cv_lib_m_tanh=no
20062fi
20063rm -f conftest.err conftest.$ac_objext \
20064 conftest$ac_exeext conftest.$ac_ext
20065LIBS=$ac_check_lib_save_LIBS
20066fi
20067echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
20068echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
20069if test $ac_cv_lib_m_tanh = yes; then
20070
20071cat >>confdefs.h <<\_ACEOF
20072#define HAVE_TANH 1
20073_ACEOF
20074
20075fi
20076
20077echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
20078echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
20079if test "${ac_cv_lib_m_tanhl+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20081else
20082 ac_check_lib_save_LIBS=$LIBS
20083LIBS="-lm $LIBS"
20084if test x$gcc_no_link = xyes; then
20085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20086echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20087 { (exit 1); exit 1; }; }
20088fi
20089cat >conftest.$ac_ext <<_ACEOF
20090/* confdefs.h. */
20091_ACEOF
20092cat confdefs.h >>conftest.$ac_ext
20093cat >>conftest.$ac_ext <<_ACEOF
20094/* end confdefs.h. */
20095
20096/* Override any gcc2 internal prototype to avoid an error. */
20097#ifdef __cplusplus
20098extern "C"
20099#endif
20100/* We use char because int might match the return type of a gcc2
20101 builtin and then its argument prototype would still apply. */
20102char tanhl ();
20103int
20104main ()
20105{
20106tanhl ();
20107 ;
20108 return 0;
20109}
20110_ACEOF
20111rm -f conftest.$ac_objext conftest$ac_exeext
20112if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20113 (eval $ac_link) 2>conftest.er1
20114 ac_status=$?
20115 grep -v '^ *+' conftest.er1 >conftest.err
20116 rm -f conftest.er1
20117 cat conftest.err >&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } &&
57255173
PB
20120 { ac_try='test -z "$ac_c_werror_flag"
20121 || test ! -s conftest.err'
1409cd0b
FXC
20122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20123 (eval $ac_try) 2>&5
20124 ac_status=$?
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); }; } &&
20127 { ac_try='test -s conftest$ac_exeext'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20130 ac_status=$?
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; }; then
20133 ac_cv_lib_m_tanhl=yes
20134else
20135 echo "$as_me: failed program was:" >&5
20136sed 's/^/| /' conftest.$ac_ext >&5
20137
20138ac_cv_lib_m_tanhl=no
20139fi
20140rm -f conftest.err conftest.$ac_objext \
20141 conftest$ac_exeext conftest.$ac_ext
20142LIBS=$ac_check_lib_save_LIBS
20143fi
20144echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
20145echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
20146if test $ac_cv_lib_m_tanhl = yes; then
20147
20148cat >>confdefs.h <<\_ACEOF
20149#define HAVE_TANHL 1
20150_ACEOF
20151
20152fi
20153
20154echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
20155echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
20156if test "${ac_cv_lib_m_ctanhf+set}" = set; then
20157 echo $ECHO_N "(cached) $ECHO_C" >&6
20158else
20159 ac_check_lib_save_LIBS=$LIBS
20160LIBS="-lm $LIBS"
20161if test x$gcc_no_link = xyes; then
20162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20163echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20164 { (exit 1); exit 1; }; }
20165fi
20166cat >conftest.$ac_ext <<_ACEOF
20167/* confdefs.h. */
20168_ACEOF
20169cat confdefs.h >>conftest.$ac_ext
20170cat >>conftest.$ac_ext <<_ACEOF
20171/* end confdefs.h. */
20172
20173/* Override any gcc2 internal prototype to avoid an error. */
20174#ifdef __cplusplus
20175extern "C"
20176#endif
20177/* We use char because int might match the return type of a gcc2
20178 builtin and then its argument prototype would still apply. */
20179char ctanhf ();
20180int
20181main ()
20182{
20183ctanhf ();
20184 ;
20185 return 0;
20186}
20187_ACEOF
20188rm -f conftest.$ac_objext conftest$ac_exeext
20189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20190 (eval $ac_link) 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
57255173
PB
20197 { ac_try='test -z "$ac_c_werror_flag"
20198 || test ! -s conftest.err'
1409cd0b
FXC
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; } &&
20204 { ac_try='test -s conftest$ac_exeext'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20207 ac_status=$?
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; }; then
20210 ac_cv_lib_m_ctanhf=yes
20211else
20212 echo "$as_me: failed program was:" >&5
20213sed 's/^/| /' conftest.$ac_ext >&5
20214
20215ac_cv_lib_m_ctanhf=no
20216fi
20217rm -f conftest.err conftest.$ac_objext \
20218 conftest$ac_exeext conftest.$ac_ext
20219LIBS=$ac_check_lib_save_LIBS
20220fi
20221echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20222echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20223if test $ac_cv_lib_m_ctanhf = yes; then
20224
20225cat >>confdefs.h <<\_ACEOF
20226#define HAVE_CTANHF 1
20227_ACEOF
20228
20229fi
20230
20231echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20232echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20233if test "${ac_cv_lib_m_ctanh+set}" = set; then
20234 echo $ECHO_N "(cached) $ECHO_C" >&6
20235else
20236 ac_check_lib_save_LIBS=$LIBS
20237LIBS="-lm $LIBS"
20238if test x$gcc_no_link = xyes; then
20239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20240echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20241 { (exit 1); exit 1; }; }
20242fi
20243cat >conftest.$ac_ext <<_ACEOF
20244/* confdefs.h. */
20245_ACEOF
20246cat confdefs.h >>conftest.$ac_ext
20247cat >>conftest.$ac_ext <<_ACEOF
20248/* end confdefs.h. */
20249
20250/* Override any gcc2 internal prototype to avoid an error. */
20251#ifdef __cplusplus
20252extern "C"
20253#endif
20254/* We use char because int might match the return type of a gcc2
20255 builtin and then its argument prototype would still apply. */
20256char ctanh ();
20257int
20258main ()
20259{
20260ctanh ();
20261 ;
20262 return 0;
20263}
20264_ACEOF
20265rm -f conftest.$ac_objext conftest$ac_exeext
20266if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20267 (eval $ac_link) 2>conftest.er1
20268 ac_status=$?
20269 grep -v '^ *+' conftest.er1 >conftest.err
20270 rm -f conftest.er1
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
57255173
PB
20274 { ac_try='test -z "$ac_c_werror_flag"
20275 || test ! -s conftest.err'
1409cd0b
FXC
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20278 ac_status=$?
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try='test -s conftest$ac_exeext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20284 ac_status=$?
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_cv_lib_m_ctanh=yes
20288else
20289 echo "$as_me: failed program was:" >&5
20290sed 's/^/| /' conftest.$ac_ext >&5
20291
20292ac_cv_lib_m_ctanh=no
20293fi
20294rm -f conftest.err conftest.$ac_objext \
20295 conftest$ac_exeext conftest.$ac_ext
20296LIBS=$ac_check_lib_save_LIBS
20297fi
20298echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20299echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20300if test $ac_cv_lib_m_ctanh = yes; then
20301
20302cat >>confdefs.h <<\_ACEOF
20303#define HAVE_CTANH 1
20304_ACEOF
20305
20306fi
20307
20308echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20309echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20310if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20311 echo $ECHO_N "(cached) $ECHO_C" >&6
20312else
20313 ac_check_lib_save_LIBS=$LIBS
20314LIBS="-lm $LIBS"
20315if test x$gcc_no_link = xyes; then
20316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20317echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20318 { (exit 1); exit 1; }; }
20319fi
20320cat >conftest.$ac_ext <<_ACEOF
20321/* confdefs.h. */
20322_ACEOF
20323cat confdefs.h >>conftest.$ac_ext
20324cat >>conftest.$ac_ext <<_ACEOF
20325/* end confdefs.h. */
20326
20327/* Override any gcc2 internal prototype to avoid an error. */
20328#ifdef __cplusplus
20329extern "C"
20330#endif
20331/* We use char because int might match the return type of a gcc2
20332 builtin and then its argument prototype would still apply. */
20333char ctanhl ();
20334int
20335main ()
20336{
20337ctanhl ();
20338 ;
20339 return 0;
20340}
20341_ACEOF
20342rm -f conftest.$ac_objext conftest$ac_exeext
20343if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20344 (eval $ac_link) 2>conftest.er1
20345 ac_status=$?
20346 grep -v '^ *+' conftest.er1 >conftest.err
20347 rm -f conftest.er1
20348 cat conftest.err >&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); } &&
57255173
PB
20351 { ac_try='test -z "$ac_c_werror_flag"
20352 || test ! -s conftest.err'
1409cd0b
FXC
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; } &&
20358 { ac_try='test -s conftest$ac_exeext'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 ac_cv_lib_m_ctanhl=yes
20365else
20366 echo "$as_me: failed program was:" >&5
20367sed 's/^/| /' conftest.$ac_ext >&5
20368
20369ac_cv_lib_m_ctanhl=no
20370fi
20371rm -f conftest.err conftest.$ac_objext \
20372 conftest$ac_exeext conftest.$ac_ext
20373LIBS=$ac_check_lib_save_LIBS
20374fi
20375echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20376echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20377if test $ac_cv_lib_m_ctanhl = yes; then
20378
20379cat >>confdefs.h <<\_ACEOF
20380#define HAVE_CTANHL 1
69a2d125
EB
20381_ACEOF
20382
20383fi
20384
20385echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20386echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20387if test "${ac_cv_lib_m_truncf+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20389else
20390 ac_check_lib_save_LIBS=$LIBS
20391LIBS="-lm $LIBS"
f02d008e
JD
20392if test x$gcc_no_link = xyes; then
20393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20394echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20395 { (exit 1); exit 1; }; }
20396fi
69a2d125
EB
20397cat >conftest.$ac_ext <<_ACEOF
20398/* confdefs.h. */
20399_ACEOF
20400cat confdefs.h >>conftest.$ac_ext
20401cat >>conftest.$ac_ext <<_ACEOF
20402/* end confdefs.h. */
20403
20404/* Override any gcc2 internal prototype to avoid an error. */
20405#ifdef __cplusplus
20406extern "C"
20407#endif
20408/* We use char because int might match the return type of a gcc2
20409 builtin and then its argument prototype would still apply. */
1409cd0b
FXC
20410char truncf ();
20411int
20412main ()
20413{
20414truncf ();
20415 ;
20416 return 0;
20417}
20418_ACEOF
20419rm -f conftest.$ac_objext conftest$ac_exeext
20420if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20421 (eval $ac_link) 2>conftest.er1
20422 ac_status=$?
20423 grep -v '^ *+' conftest.er1 >conftest.err
20424 rm -f conftest.er1
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } &&
57255173
PB
20428 { ac_try='test -z "$ac_c_werror_flag"
20429 || test ! -s conftest.err'
1409cd0b
FXC
20430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20431 (eval $ac_try) 2>&5
20432 ac_status=$?
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); }; } &&
20435 { ac_try='test -s conftest$ac_exeext'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20438 ac_status=$?
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20441 ac_cv_lib_m_truncf=yes
20442else
20443 echo "$as_me: failed program was:" >&5
20444sed 's/^/| /' conftest.$ac_ext >&5
20445
20446ac_cv_lib_m_truncf=no
20447fi
20448rm -f conftest.err conftest.$ac_objext \
20449 conftest$ac_exeext conftest.$ac_ext
20450LIBS=$ac_check_lib_save_LIBS
20451fi
20452echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20453echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20454if test $ac_cv_lib_m_truncf = yes; then
20455
20456cat >>confdefs.h <<\_ACEOF
20457#define HAVE_TRUNCF 1
20458_ACEOF
20459
20460fi
20461
20462echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20463echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20464if test "${ac_cv_lib_m_trunc+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20466else
20467 ac_check_lib_save_LIBS=$LIBS
20468LIBS="-lm $LIBS"
20469if test x$gcc_no_link = xyes; then
20470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20471echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20472 { (exit 1); exit 1; }; }
20473fi
20474cat >conftest.$ac_ext <<_ACEOF
20475/* confdefs.h. */
20476_ACEOF
20477cat confdefs.h >>conftest.$ac_ext
20478cat >>conftest.$ac_ext <<_ACEOF
20479/* end confdefs.h. */
20480
20481/* Override any gcc2 internal prototype to avoid an error. */
20482#ifdef __cplusplus
20483extern "C"
20484#endif
20485/* We use char because int might match the return type of a gcc2
20486 builtin and then its argument prototype would still apply. */
20487char trunc ();
20488int
20489main ()
20490{
20491trunc ();
20492 ;
20493 return 0;
20494}
20495_ACEOF
20496rm -f conftest.$ac_objext conftest$ac_exeext
20497if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20498 (eval $ac_link) 2>conftest.er1
20499 ac_status=$?
20500 grep -v '^ *+' conftest.er1 >conftest.err
20501 rm -f conftest.er1
20502 cat conftest.err >&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
57255173
PB
20505 { ac_try='test -z "$ac_c_werror_flag"
20506 || test ! -s conftest.err'
1409cd0b
FXC
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; } &&
20512 { ac_try='test -s conftest$ac_exeext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20515 ac_status=$?
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 ac_cv_lib_m_trunc=yes
20519else
20520 echo "$as_me: failed program was:" >&5
20521sed 's/^/| /' conftest.$ac_ext >&5
20522
20523ac_cv_lib_m_trunc=no
20524fi
20525rm -f conftest.err conftest.$ac_objext \
20526 conftest$ac_exeext conftest.$ac_ext
20527LIBS=$ac_check_lib_save_LIBS
20528fi
20529echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20530echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20531if test $ac_cv_lib_m_trunc = yes; then
20532
20533cat >>confdefs.h <<\_ACEOF
20534#define HAVE_TRUNC 1
20535_ACEOF
20536
20537fi
20538
20539echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20540echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20541if test "${ac_cv_lib_m_truncl+set}" = set; then
20542 echo $ECHO_N "(cached) $ECHO_C" >&6
20543else
20544 ac_check_lib_save_LIBS=$LIBS
20545LIBS="-lm $LIBS"
20546if test x$gcc_no_link = xyes; then
20547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20548echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20549 { (exit 1); exit 1; }; }
20550fi
20551cat >conftest.$ac_ext <<_ACEOF
20552/* confdefs.h. */
20553_ACEOF
20554cat confdefs.h >>conftest.$ac_ext
20555cat >>conftest.$ac_ext <<_ACEOF
20556/* end confdefs.h. */
20557
20558/* Override any gcc2 internal prototype to avoid an error. */
20559#ifdef __cplusplus
20560extern "C"
20561#endif
20562/* We use char because int might match the return type of a gcc2
20563 builtin and then its argument prototype would still apply. */
20564char truncl ();
20565int
20566main ()
20567{
20568truncl ();
20569 ;
20570 return 0;
20571}
20572_ACEOF
20573rm -f conftest.$ac_objext conftest$ac_exeext
20574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20575 (eval $ac_link) 2>conftest.er1
20576 ac_status=$?
20577 grep -v '^ *+' conftest.er1 >conftest.err
20578 rm -f conftest.er1
20579 cat conftest.err >&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } &&
57255173
PB
20582 { ac_try='test -z "$ac_c_werror_flag"
20583 || test ! -s conftest.err'
1409cd0b
FXC
20584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585 (eval $ac_try) 2>&5
20586 ac_status=$?
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); }; } &&
20589 { ac_try='test -s conftest$ac_exeext'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20592 ac_status=$?
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; }; then
20595 ac_cv_lib_m_truncl=yes
20596else
20597 echo "$as_me: failed program was:" >&5
20598sed 's/^/| /' conftest.$ac_ext >&5
20599
20600ac_cv_lib_m_truncl=no
20601fi
20602rm -f conftest.err conftest.$ac_objext \
20603 conftest$ac_exeext conftest.$ac_ext
20604LIBS=$ac_check_lib_save_LIBS
20605fi
20606echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20607echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20608if test $ac_cv_lib_m_truncl = yes; then
20609
20610cat >>confdefs.h <<\_ACEOF
20611#define HAVE_TRUNCL 1
20612_ACEOF
20613
20614fi
20615
20616echo "$as_me:$LINENO: checking for erff in -lm" >&5
20617echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20618if test "${ac_cv_lib_m_erff+set}" = set; then
20619 echo $ECHO_N "(cached) $ECHO_C" >&6
20620else
20621 ac_check_lib_save_LIBS=$LIBS
20622LIBS="-lm $LIBS"
20623if test x$gcc_no_link = xyes; then
20624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20625echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20626 { (exit 1); exit 1; }; }
20627fi
20628cat >conftest.$ac_ext <<_ACEOF
20629/* confdefs.h. */
20630_ACEOF
20631cat confdefs.h >>conftest.$ac_ext
20632cat >>conftest.$ac_ext <<_ACEOF
20633/* end confdefs.h. */
20634
20635/* Override any gcc2 internal prototype to avoid an error. */
20636#ifdef __cplusplus
20637extern "C"
20638#endif
20639/* We use char because int might match the return type of a gcc2
20640 builtin and then its argument prototype would still apply. */
20641char erff ();
20642int
20643main ()
20644{
20645erff ();
20646 ;
20647 return 0;
20648}
20649_ACEOF
20650rm -f conftest.$ac_objext conftest$ac_exeext
20651if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20652 (eval $ac_link) 2>conftest.er1
20653 ac_status=$?
20654 grep -v '^ *+' conftest.er1 >conftest.err
20655 rm -f conftest.er1
20656 cat conftest.err >&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); } &&
57255173
PB
20659 { ac_try='test -z "$ac_c_werror_flag"
20660 || test ! -s conftest.err'
1409cd0b
FXC
20661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662 (eval $ac_try) 2>&5
20663 ac_status=$?
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); }; } &&
20666 { ac_try='test -s conftest$ac_exeext'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20669 ac_status=$?
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 ac_cv_lib_m_erff=yes
20673else
20674 echo "$as_me: failed program was:" >&5
20675sed 's/^/| /' conftest.$ac_ext >&5
20676
20677ac_cv_lib_m_erff=no
20678fi
20679rm -f conftest.err conftest.$ac_objext \
20680 conftest$ac_exeext conftest.$ac_ext
20681LIBS=$ac_check_lib_save_LIBS
20682fi
20683echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
20684echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
20685if test $ac_cv_lib_m_erff = yes; then
20686
20687cat >>confdefs.h <<\_ACEOF
20688#define HAVE_ERFF 1
20689_ACEOF
20690
20691fi
20692
20693echo "$as_me:$LINENO: checking for erf in -lm" >&5
20694echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
20695if test "${ac_cv_lib_m_erf+set}" = set; then
20696 echo $ECHO_N "(cached) $ECHO_C" >&6
20697else
20698 ac_check_lib_save_LIBS=$LIBS
20699LIBS="-lm $LIBS"
20700if test x$gcc_no_link = xyes; then
20701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20702echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20703 { (exit 1); exit 1; }; }
20704fi
20705cat >conftest.$ac_ext <<_ACEOF
20706/* confdefs.h. */
20707_ACEOF
20708cat confdefs.h >>conftest.$ac_ext
20709cat >>conftest.$ac_ext <<_ACEOF
20710/* end confdefs.h. */
20711
20712/* Override any gcc2 internal prototype to avoid an error. */
20713#ifdef __cplusplus
20714extern "C"
20715#endif
20716/* We use char because int might match the return type of a gcc2
20717 builtin and then its argument prototype would still apply. */
20718char erf ();
20719int
20720main ()
20721{
20722erf ();
20723 ;
20724 return 0;
20725}
20726_ACEOF
20727rm -f conftest.$ac_objext conftest$ac_exeext
20728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20729 (eval $ac_link) 2>conftest.er1
20730 ac_status=$?
20731 grep -v '^ *+' conftest.er1 >conftest.err
20732 rm -f conftest.er1
20733 cat conftest.err >&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
57255173
PB
20736 { ac_try='test -z "$ac_c_werror_flag"
20737 || test ! -s conftest.err'
1409cd0b
FXC
20738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739 (eval $ac_try) 2>&5
20740 ac_status=$?
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); }; } &&
20743 { ac_try='test -s conftest$ac_exeext'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20746 ac_status=$?
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; }; then
20749 ac_cv_lib_m_erf=yes
20750else
20751 echo "$as_me: failed program was:" >&5
20752sed 's/^/| /' conftest.$ac_ext >&5
20753
20754ac_cv_lib_m_erf=no
20755fi
20756rm -f conftest.err conftest.$ac_objext \
20757 conftest$ac_exeext conftest.$ac_ext
20758LIBS=$ac_check_lib_save_LIBS
20759fi
20760echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
20761echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
20762if test $ac_cv_lib_m_erf = yes; then
20763
20764cat >>confdefs.h <<\_ACEOF
20765#define HAVE_ERF 1
20766_ACEOF
20767
20768fi
20769
20770echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20771echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20772if test "${ac_cv_lib_m_erfl+set}" = set; then
20773 echo $ECHO_N "(cached) $ECHO_C" >&6
20774else
20775 ac_check_lib_save_LIBS=$LIBS
20776LIBS="-lm $LIBS"
20777if test x$gcc_no_link = xyes; then
20778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20779echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20780 { (exit 1); exit 1; }; }
20781fi
20782cat >conftest.$ac_ext <<_ACEOF
20783/* confdefs.h. */
20784_ACEOF
20785cat confdefs.h >>conftest.$ac_ext
20786cat >>conftest.$ac_ext <<_ACEOF
20787/* end confdefs.h. */
20788
20789/* Override any gcc2 internal prototype to avoid an error. */
20790#ifdef __cplusplus
20791extern "C"
20792#endif
20793/* We use char because int might match the return type of a gcc2
20794 builtin and then its argument prototype would still apply. */
20795char erfl ();
20796int
20797main ()
20798{
20799erfl ();
20800 ;
20801 return 0;
20802}
20803_ACEOF
20804rm -f conftest.$ac_objext conftest$ac_exeext
20805if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20806 (eval $ac_link) 2>conftest.er1
20807 ac_status=$?
20808 grep -v '^ *+' conftest.er1 >conftest.err
20809 rm -f conftest.er1
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
57255173
PB
20813 { ac_try='test -z "$ac_c_werror_flag"
20814 || test ! -s conftest.err'
1409cd0b
FXC
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20817 ac_status=$?
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; } &&
20820 { ac_try='test -s conftest$ac_exeext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20826 ac_cv_lib_m_erfl=yes
20827else
20828 echo "$as_me: failed program was:" >&5
20829sed 's/^/| /' conftest.$ac_ext >&5
20830
20831ac_cv_lib_m_erfl=no
20832fi
20833rm -f conftest.err conftest.$ac_objext \
20834 conftest$ac_exeext conftest.$ac_ext
20835LIBS=$ac_check_lib_save_LIBS
20836fi
20837echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20838echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20839if test $ac_cv_lib_m_erfl = yes; then
20840
20841cat >>confdefs.h <<\_ACEOF
20842#define HAVE_ERFL 1
20843_ACEOF
20844
20845fi
20846
20847echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20848echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20849if test "${ac_cv_lib_m_erfcf+set}" = set; then
20850 echo $ECHO_N "(cached) $ECHO_C" >&6
20851else
20852 ac_check_lib_save_LIBS=$LIBS
20853LIBS="-lm $LIBS"
20854if test x$gcc_no_link = xyes; then
20855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20856echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20857 { (exit 1); exit 1; }; }
20858fi
20859cat >conftest.$ac_ext <<_ACEOF
20860/* confdefs.h. */
20861_ACEOF
20862cat confdefs.h >>conftest.$ac_ext
20863cat >>conftest.$ac_ext <<_ACEOF
20864/* end confdefs.h. */
20865
20866/* Override any gcc2 internal prototype to avoid an error. */
20867#ifdef __cplusplus
20868extern "C"
20869#endif
20870/* We use char because int might match the return type of a gcc2
20871 builtin and then its argument prototype would still apply. */
20872char erfcf ();
20873int
20874main ()
20875{
20876erfcf ();
20877 ;
20878 return 0;
20879}
20880_ACEOF
20881rm -f conftest.$ac_objext conftest$ac_exeext
20882if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20883 (eval $ac_link) 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
57255173
PB
20890 { ac_try='test -z "$ac_c_werror_flag"
20891 || test ! -s conftest.err'
1409cd0b
FXC
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; } &&
20897 { ac_try='test -s conftest$ac_exeext'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20900 ac_status=$?
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; }; then
20903 ac_cv_lib_m_erfcf=yes
20904else
20905 echo "$as_me: failed program was:" >&5
20906sed 's/^/| /' conftest.$ac_ext >&5
20907
20908ac_cv_lib_m_erfcf=no
20909fi
20910rm -f conftest.err conftest.$ac_objext \
20911 conftest$ac_exeext conftest.$ac_ext
20912LIBS=$ac_check_lib_save_LIBS
20913fi
20914echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20915echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20916if test $ac_cv_lib_m_erfcf = yes; then
20917
20918cat >>confdefs.h <<\_ACEOF
20919#define HAVE_ERFCF 1
20920_ACEOF
20921
20922fi
20923
20924echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20925echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20926if test "${ac_cv_lib_m_erfc+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20928else
20929 ac_check_lib_save_LIBS=$LIBS
20930LIBS="-lm $LIBS"
20931if test x$gcc_no_link = xyes; then
20932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20933echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20934 { (exit 1); exit 1; }; }
20935fi
20936cat >conftest.$ac_ext <<_ACEOF
20937/* confdefs.h. */
20938_ACEOF
20939cat confdefs.h >>conftest.$ac_ext
20940cat >>conftest.$ac_ext <<_ACEOF
20941/* end confdefs.h. */
20942
20943/* Override any gcc2 internal prototype to avoid an error. */
20944#ifdef __cplusplus
20945extern "C"
20946#endif
20947/* We use char because int might match the return type of a gcc2
20948 builtin and then its argument prototype would still apply. */
20949char erfc ();
69a2d125
EB
20950int
20951main ()
20952{
1409cd0b 20953erfc ();
69a2d125
EB
20954 ;
20955 return 0;
20956}
20957_ACEOF
20958rm -f conftest.$ac_objext conftest$ac_exeext
20959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20960 (eval $ac_link) 2>conftest.er1
20961 ac_status=$?
20962 grep -v '^ *+' conftest.er1 >conftest.err
20963 rm -f conftest.er1
20964 cat conftest.err >&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } &&
57255173
PB
20967 { ac_try='test -z "$ac_c_werror_flag"
20968 || test ! -s conftest.err'
69a2d125
EB
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20971 ac_status=$?
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; } &&
20974 { ac_try='test -s conftest$ac_exeext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20977 ac_status=$?
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
1409cd0b 20980 ac_cv_lib_m_erfc=yes
69a2d125
EB
20981else
20982 echo "$as_me: failed program was:" >&5
20983sed 's/^/| /' conftest.$ac_ext >&5
20984
1409cd0b 20985ac_cv_lib_m_erfc=no
69a2d125
EB
20986fi
20987rm -f conftest.err conftest.$ac_objext \
20988 conftest$ac_exeext conftest.$ac_ext
20989LIBS=$ac_check_lib_save_LIBS
20990fi
1409cd0b
FXC
20991echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20992echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20993if test $ac_cv_lib_m_erfc = yes; then
69a2d125
EB
20994
20995cat >>confdefs.h <<\_ACEOF
1409cd0b 20996#define HAVE_ERFC 1
69a2d125
EB
20997_ACEOF
20998
20999fi
21000
1409cd0b
FXC
21001echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
21002echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
21003if test "${ac_cv_lib_m_erfcl+set}" = set; then
e8525382
SK
21004 echo $ECHO_N "(cached) $ECHO_C" >&6
21005else
21006 ac_check_lib_save_LIBS=$LIBS
21007LIBS="-lm $LIBS"
f02d008e
JD
21008if test x$gcc_no_link = xyes; then
21009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21010echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21011 { (exit 1); exit 1; }; }
21012fi
e8525382
SK
21013cat >conftest.$ac_ext <<_ACEOF
21014/* confdefs.h. */
21015_ACEOF
21016cat confdefs.h >>conftest.$ac_ext
21017cat >>conftest.$ac_ext <<_ACEOF
21018/* end confdefs.h. */
21019
21020/* Override any gcc2 internal prototype to avoid an error. */
21021#ifdef __cplusplus
21022extern "C"
21023#endif
21024/* We use char because int might match the return type of a gcc2
21025 builtin and then its argument prototype would still apply. */
1409cd0b 21026char erfcl ();
e8525382
SK
21027int
21028main ()
21029{
1409cd0b 21030erfcl ();
e8525382
SK
21031 ;
21032 return 0;
21033}
21034_ACEOF
21035rm -f conftest.$ac_objext conftest$ac_exeext
21036if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21037 (eval $ac_link) 2>conftest.er1
21038 ac_status=$?
21039 grep -v '^ *+' conftest.er1 >conftest.err
21040 rm -f conftest.er1
21041 cat conftest.err >&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } &&
57255173
PB
21044 { ac_try='test -z "$ac_c_werror_flag"
21045 || test ! -s conftest.err'
e8525382
SK
21046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047 (eval $ac_try) 2>&5
21048 ac_status=$?
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; } &&
21051 { ac_try='test -s conftest$ac_exeext'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21054 ac_status=$?
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; }; then
1409cd0b 21057 ac_cv_lib_m_erfcl=yes
e8525382
SK
21058else
21059 echo "$as_me: failed program was:" >&5
21060sed 's/^/| /' conftest.$ac_ext >&5
21061
1409cd0b 21062ac_cv_lib_m_erfcl=no
e8525382
SK
21063fi
21064rm -f conftest.err conftest.$ac_objext \
21065 conftest$ac_exeext conftest.$ac_ext
21066LIBS=$ac_check_lib_save_LIBS
21067fi
1409cd0b
FXC
21068echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
21069echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
21070if test $ac_cv_lib_m_erfcl = yes; then
e8525382
SK
21071
21072cat >>confdefs.h <<\_ACEOF
1409cd0b 21073#define HAVE_ERFCL 1
e8525382
SK
21074_ACEOF
21075
21076fi
21077
1409cd0b
FXC
21078echo "$as_me:$LINENO: checking for j0f in -lm" >&5
21079echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
21080if test "${ac_cv_lib_m_j0f+set}" = set; then
e8525382
SK
21081 echo $ECHO_N "(cached) $ECHO_C" >&6
21082else
21083 ac_check_lib_save_LIBS=$LIBS
21084LIBS="-lm $LIBS"
f02d008e
JD
21085if test x$gcc_no_link = xyes; then
21086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21087echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21088 { (exit 1); exit 1; }; }
21089fi
e8525382
SK
21090cat >conftest.$ac_ext <<_ACEOF
21091/* confdefs.h. */
21092_ACEOF
21093cat confdefs.h >>conftest.$ac_ext
21094cat >>conftest.$ac_ext <<_ACEOF
21095/* end confdefs.h. */
21096
21097/* Override any gcc2 internal prototype to avoid an error. */
21098#ifdef __cplusplus
21099extern "C"
21100#endif
21101/* We use char because int might match the return type of a gcc2
21102 builtin and then its argument prototype would still apply. */
1409cd0b 21103char j0f ();
e8525382
SK
21104int
21105main ()
21106{
1409cd0b 21107j0f ();
e8525382
SK
21108 ;
21109 return 0;
21110}
21111_ACEOF
21112rm -f conftest.$ac_objext conftest$ac_exeext
21113if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21114 (eval $ac_link) 2>conftest.er1
21115 ac_status=$?
21116 grep -v '^ *+' conftest.er1 >conftest.err
21117 rm -f conftest.er1
21118 cat conftest.err >&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } &&
57255173
PB
21121 { ac_try='test -z "$ac_c_werror_flag"
21122 || test ! -s conftest.err'
e8525382
SK
21123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21124 (eval $ac_try) 2>&5
21125 ac_status=$?
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); }; } &&
21128 { ac_try='test -s conftest$ac_exeext'
21129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21130 (eval $ac_try) 2>&5
21131 ac_status=$?
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); }; }; then
1409cd0b 21134 ac_cv_lib_m_j0f=yes
e8525382
SK
21135else
21136 echo "$as_me: failed program was:" >&5
21137sed 's/^/| /' conftest.$ac_ext >&5
21138
1409cd0b
FXC
21139ac_cv_lib_m_j0f=no
21140fi
21141rm -f conftest.err conftest.$ac_objext \
21142 conftest$ac_exeext conftest.$ac_ext
21143LIBS=$ac_check_lib_save_LIBS
21144fi
21145echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
21146echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
21147if test $ac_cv_lib_m_j0f = yes; then
21148
21149cat >>confdefs.h <<\_ACEOF
21150#define HAVE_J0F 1
21151_ACEOF
21152
21153fi
21154
21155echo "$as_me:$LINENO: checking for j0 in -lm" >&5
21156echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
21157if test "${ac_cv_lib_m_j0+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21159else
21160 ac_check_lib_save_LIBS=$LIBS
21161LIBS="-lm $LIBS"
21162if test x$gcc_no_link = xyes; then
21163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21164echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21165 { (exit 1); exit 1; }; }
21166fi
21167cat >conftest.$ac_ext <<_ACEOF
21168/* confdefs.h. */
21169_ACEOF
21170cat confdefs.h >>conftest.$ac_ext
21171cat >>conftest.$ac_ext <<_ACEOF
21172/* end confdefs.h. */
21173
21174/* Override any gcc2 internal prototype to avoid an error. */
21175#ifdef __cplusplus
21176extern "C"
21177#endif
21178/* We use char because int might match the return type of a gcc2
21179 builtin and then its argument prototype would still apply. */
21180char j0 ();
21181int
21182main ()
21183{
21184j0 ();
21185 ;
21186 return 0;
21187}
21188_ACEOF
21189rm -f conftest.$ac_objext conftest$ac_exeext
21190if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21191 (eval $ac_link) 2>conftest.er1
21192 ac_status=$?
21193 grep -v '^ *+' conftest.er1 >conftest.err
21194 rm -f conftest.er1
21195 cat conftest.err >&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } &&
57255173
PB
21198 { ac_try='test -z "$ac_c_werror_flag"
21199 || test ! -s conftest.err'
1409cd0b
FXC
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21202 ac_status=$?
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; } &&
21205 { ac_try='test -s conftest$ac_exeext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_lib_m_j0=yes
21212else
21213 echo "$as_me: failed program was:" >&5
21214sed 's/^/| /' conftest.$ac_ext >&5
21215
21216ac_cv_lib_m_j0=no
21217fi
21218rm -f conftest.err conftest.$ac_objext \
21219 conftest$ac_exeext conftest.$ac_ext
21220LIBS=$ac_check_lib_save_LIBS
21221fi
21222echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21223echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21224if test $ac_cv_lib_m_j0 = yes; then
21225
21226cat >>confdefs.h <<\_ACEOF
21227#define HAVE_J0 1
21228_ACEOF
21229
21230fi
21231
21232echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21233echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21234if test "${ac_cv_lib_m_j0l+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236else
21237 ac_check_lib_save_LIBS=$LIBS
21238LIBS="-lm $LIBS"
21239if test x$gcc_no_link = xyes; then
21240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21241echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21242 { (exit 1); exit 1; }; }
21243fi
21244cat >conftest.$ac_ext <<_ACEOF
21245/* confdefs.h. */
21246_ACEOF
21247cat confdefs.h >>conftest.$ac_ext
21248cat >>conftest.$ac_ext <<_ACEOF
21249/* end confdefs.h. */
21250
21251/* Override any gcc2 internal prototype to avoid an error. */
21252#ifdef __cplusplus
21253extern "C"
21254#endif
21255/* We use char because int might match the return type of a gcc2
21256 builtin and then its argument prototype would still apply. */
21257char j0l ();
21258int
21259main ()
21260{
21261j0l ();
21262 ;
21263 return 0;
21264}
21265_ACEOF
21266rm -f conftest.$ac_objext conftest$ac_exeext
21267if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21268 (eval $ac_link) 2>conftest.er1
21269 ac_status=$?
21270 grep -v '^ *+' conftest.er1 >conftest.err
21271 rm -f conftest.er1
21272 cat conftest.err >&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); } &&
57255173
PB
21275 { ac_try='test -z "$ac_c_werror_flag"
21276 || test ! -s conftest.err'
1409cd0b
FXC
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21279 ac_status=$?
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; } &&
21282 { ac_try='test -s conftest$ac_exeext'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21285 ac_status=$?
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; }; then
21288 ac_cv_lib_m_j0l=yes
21289else
21290 echo "$as_me: failed program was:" >&5
21291sed 's/^/| /' conftest.$ac_ext >&5
21292
21293ac_cv_lib_m_j0l=no
21294fi
21295rm -f conftest.err conftest.$ac_objext \
21296 conftest$ac_exeext conftest.$ac_ext
21297LIBS=$ac_check_lib_save_LIBS
21298fi
21299echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21300echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21301if test $ac_cv_lib_m_j0l = yes; then
21302
21303cat >>confdefs.h <<\_ACEOF
21304#define HAVE_J0L 1
21305_ACEOF
21306
21307fi
21308
21309echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21310echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21311if test "${ac_cv_lib_m_j1f+set}" = set; then
21312 echo $ECHO_N "(cached) $ECHO_C" >&6
21313else
21314 ac_check_lib_save_LIBS=$LIBS
21315LIBS="-lm $LIBS"
21316if test x$gcc_no_link = xyes; then
21317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21318echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21319 { (exit 1); exit 1; }; }
21320fi
21321cat >conftest.$ac_ext <<_ACEOF
21322/* confdefs.h. */
21323_ACEOF
21324cat confdefs.h >>conftest.$ac_ext
21325cat >>conftest.$ac_ext <<_ACEOF
21326/* end confdefs.h. */
21327
21328/* Override any gcc2 internal prototype to avoid an error. */
21329#ifdef __cplusplus
21330extern "C"
21331#endif
21332/* We use char because int might match the return type of a gcc2
21333 builtin and then its argument prototype would still apply. */
21334char j1f ();
21335int
21336main ()
21337{
21338j1f ();
21339 ;
21340 return 0;
21341}
21342_ACEOF
21343rm -f conftest.$ac_objext conftest$ac_exeext
21344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21345 (eval $ac_link) 2>conftest.er1
21346 ac_status=$?
21347 grep -v '^ *+' conftest.er1 >conftest.err
21348 rm -f conftest.er1
21349 cat conftest.err >&5
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); } &&
57255173
PB
21352 { ac_try='test -z "$ac_c_werror_flag"
21353 || test ! -s conftest.err'
1409cd0b
FXC
21354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21355 (eval $ac_try) 2>&5
21356 ac_status=$?
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); }; } &&
21359 { ac_try='test -s conftest$ac_exeext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 ac_cv_lib_m_j1f=yes
21366else
21367 echo "$as_me: failed program was:" >&5
21368sed 's/^/| /' conftest.$ac_ext >&5
21369
21370ac_cv_lib_m_j1f=no
e8525382
SK
21371fi
21372rm -f conftest.err conftest.$ac_objext \
21373 conftest$ac_exeext conftest.$ac_ext
21374LIBS=$ac_check_lib_save_LIBS
21375fi
1409cd0b
FXC
21376echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21377echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21378if test $ac_cv_lib_m_j1f = yes; then
e8525382
SK
21379
21380cat >>confdefs.h <<\_ACEOF
1409cd0b 21381#define HAVE_J1F 1
e8525382
SK
21382_ACEOF
21383
21384fi
21385
1409cd0b
FXC
21386echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21387echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21388if test "${ac_cv_lib_m_j1+set}" = set; then
e8525382
SK
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21390else
21391 ac_check_lib_save_LIBS=$LIBS
21392LIBS="-lm $LIBS"
f02d008e
JD
21393if test x$gcc_no_link = xyes; then
21394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21395echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21396 { (exit 1); exit 1; }; }
21397fi
e8525382
SK
21398cat >conftest.$ac_ext <<_ACEOF
21399/* confdefs.h. */
21400_ACEOF
21401cat confdefs.h >>conftest.$ac_ext
21402cat >>conftest.$ac_ext <<_ACEOF
21403/* end confdefs.h. */
21404
21405/* Override any gcc2 internal prototype to avoid an error. */
21406#ifdef __cplusplus
21407extern "C"
21408#endif
21409/* We use char because int might match the return type of a gcc2
21410 builtin and then its argument prototype would still apply. */
1409cd0b 21411char j1 ();
e8525382
SK
21412int
21413main ()
21414{
1409cd0b 21415j1 ();
e8525382
SK
21416 ;
21417 return 0;
21418}
21419_ACEOF
21420rm -f conftest.$ac_objext conftest$ac_exeext
21421if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21422 (eval $ac_link) 2>conftest.er1
21423 ac_status=$?
21424 grep -v '^ *+' conftest.er1 >conftest.err
21425 rm -f conftest.er1
21426 cat conftest.err >&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
57255173
PB
21429 { ac_try='test -z "$ac_c_werror_flag"
21430 || test ! -s conftest.err'
e8525382
SK
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21433 ac_status=$?
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; } &&
21436 { ac_try='test -s conftest$ac_exeext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21439 ac_status=$?
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
1409cd0b 21442 ac_cv_lib_m_j1=yes
e8525382
SK
21443else
21444 echo "$as_me: failed program was:" >&5
21445sed 's/^/| /' conftest.$ac_ext >&5
21446
1409cd0b 21447ac_cv_lib_m_j1=no
e8525382
SK
21448fi
21449rm -f conftest.err conftest.$ac_objext \
21450 conftest$ac_exeext conftest.$ac_ext
21451LIBS=$ac_check_lib_save_LIBS
21452fi
1409cd0b
FXC
21453echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21454echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21455if test $ac_cv_lib_m_j1 = yes; then
e8525382
SK
21456
21457cat >>confdefs.h <<\_ACEOF
1409cd0b 21458#define HAVE_J1 1
e8525382
SK
21459_ACEOF
21460
21461fi
21462
1409cd0b
FXC
21463echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21464echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21465if test "${ac_cv_lib_m_j1l+set}" = set; then
e8525382
SK
21466 echo $ECHO_N "(cached) $ECHO_C" >&6
21467else
21468 ac_check_lib_save_LIBS=$LIBS
21469LIBS="-lm $LIBS"
f02d008e
JD
21470if test x$gcc_no_link = xyes; then
21471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21472echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21473 { (exit 1); exit 1; }; }
21474fi
e8525382
SK
21475cat >conftest.$ac_ext <<_ACEOF
21476/* confdefs.h. */
21477_ACEOF
21478cat confdefs.h >>conftest.$ac_ext
21479cat >>conftest.$ac_ext <<_ACEOF
21480/* end confdefs.h. */
21481
21482/* Override any gcc2 internal prototype to avoid an error. */
21483#ifdef __cplusplus
21484extern "C"
21485#endif
21486/* We use char because int might match the return type of a gcc2
21487 builtin and then its argument prototype would still apply. */
1409cd0b 21488char j1l ();
e8525382
SK
21489int
21490main ()
21491{
1409cd0b 21492j1l ();
e8525382
SK
21493 ;
21494 return 0;
21495}
21496_ACEOF
21497rm -f conftest.$ac_objext conftest$ac_exeext
21498if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21499 (eval $ac_link) 2>conftest.er1
21500 ac_status=$?
21501 grep -v '^ *+' conftest.er1 >conftest.err
21502 rm -f conftest.er1
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
57255173
PB
21506 { ac_try='test -z "$ac_c_werror_flag"
21507 || test ! -s conftest.err'
e8525382
SK
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try='test -s conftest$ac_exeext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
1409cd0b 21519 ac_cv_lib_m_j1l=yes
e8525382
SK
21520else
21521 echo "$as_me: failed program was:" >&5
21522sed 's/^/| /' conftest.$ac_ext >&5
21523
1409cd0b 21524ac_cv_lib_m_j1l=no
e8525382
SK
21525fi
21526rm -f conftest.err conftest.$ac_objext \
21527 conftest$ac_exeext conftest.$ac_ext
21528LIBS=$ac_check_lib_save_LIBS
21529fi
1409cd0b
FXC
21530echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21531echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21532if test $ac_cv_lib_m_j1l = yes; then
e8525382
SK
21533
21534cat >>confdefs.h <<\_ACEOF
1409cd0b 21535#define HAVE_J1L 1
e8525382
SK
21536_ACEOF
21537
21538fi
21539
1409cd0b
FXC
21540echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21541echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21542if test "${ac_cv_lib_m_jnf+set}" = set; then
e8525382
SK
21543 echo $ECHO_N "(cached) $ECHO_C" >&6
21544else
21545 ac_check_lib_save_LIBS=$LIBS
21546LIBS="-lm $LIBS"
f02d008e
JD
21547if test x$gcc_no_link = xyes; then
21548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21549echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21550 { (exit 1); exit 1; }; }
21551fi
e8525382
SK
21552cat >conftest.$ac_ext <<_ACEOF
21553/* confdefs.h. */
21554_ACEOF
21555cat confdefs.h >>conftest.$ac_ext
21556cat >>conftest.$ac_ext <<_ACEOF
21557/* end confdefs.h. */
21558
21559/* Override any gcc2 internal prototype to avoid an error. */
21560#ifdef __cplusplus
21561extern "C"
21562#endif
21563/* We use char because int might match the return type of a gcc2
21564 builtin and then its argument prototype would still apply. */
1409cd0b 21565char jnf ();
e8525382
SK
21566int
21567main ()
21568{
1409cd0b 21569jnf ();
e8525382
SK
21570 ;
21571 return 0;
21572}
21573_ACEOF
21574rm -f conftest.$ac_objext conftest$ac_exeext
21575if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21576 (eval $ac_link) 2>conftest.er1
21577 ac_status=$?
21578 grep -v '^ *+' conftest.er1 >conftest.err
21579 rm -f conftest.er1
21580 cat conftest.err >&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } &&
57255173
PB
21583 { ac_try='test -z "$ac_c_werror_flag"
21584 || test ! -s conftest.err'
e8525382
SK
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21587 ac_status=$?
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; } &&
21590 { ac_try='test -s conftest$ac_exeext'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
1409cd0b 21596 ac_cv_lib_m_jnf=yes
e8525382
SK
21597else
21598 echo "$as_me: failed program was:" >&5
21599sed 's/^/| /' conftest.$ac_ext >&5
21600
1409cd0b 21601ac_cv_lib_m_jnf=no
e8525382
SK
21602fi
21603rm -f conftest.err conftest.$ac_objext \
21604 conftest$ac_exeext conftest.$ac_ext
21605LIBS=$ac_check_lib_save_LIBS
21606fi
1409cd0b
FXC
21607echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21608echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21609if test $ac_cv_lib_m_jnf = yes; then
e8525382
SK
21610
21611cat >>confdefs.h <<\_ACEOF
1409cd0b 21612#define HAVE_JNF 1
e8525382
SK
21613_ACEOF
21614
21615fi
21616
1409cd0b
FXC
21617echo "$as_me:$LINENO: checking for jn in -lm" >&5
21618echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21619if test "${ac_cv_lib_m_jn+set}" = set; then
e8525382
SK
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21621else
21622 ac_check_lib_save_LIBS=$LIBS
21623LIBS="-lm $LIBS"
f02d008e
JD
21624if test x$gcc_no_link = xyes; then
21625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21626echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21627 { (exit 1); exit 1; }; }
21628fi
e8525382
SK
21629cat >conftest.$ac_ext <<_ACEOF
21630/* confdefs.h. */
21631_ACEOF
21632cat confdefs.h >>conftest.$ac_ext
21633cat >>conftest.$ac_ext <<_ACEOF
21634/* end confdefs.h. */
21635
21636/* Override any gcc2 internal prototype to avoid an error. */
21637#ifdef __cplusplus
21638extern "C"
21639#endif
21640/* We use char because int might match the return type of a gcc2
21641 builtin and then its argument prototype would still apply. */
1409cd0b 21642char jn ();
e8525382
SK
21643int
21644main ()
21645{
1409cd0b 21646jn ();
e8525382
SK
21647 ;
21648 return 0;
21649}
21650_ACEOF
21651rm -f conftest.$ac_objext conftest$ac_exeext
21652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21653 (eval $ac_link) 2>conftest.er1
21654 ac_status=$?
21655 grep -v '^ *+' conftest.er1 >conftest.err
21656 rm -f conftest.er1
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
57255173
PB
21660 { ac_try='test -z "$ac_c_werror_flag"
21661 || test ! -s conftest.err'
e8525382
SK
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21664 ac_status=$?
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; } &&
21667 { ac_try='test -s conftest$ac_exeext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21670 ac_status=$?
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
1409cd0b 21673 ac_cv_lib_m_jn=yes
e8525382
SK
21674else
21675 echo "$as_me: failed program was:" >&5
21676sed 's/^/| /' conftest.$ac_ext >&5
21677
1409cd0b 21678ac_cv_lib_m_jn=no
e8525382
SK
21679fi
21680rm -f conftest.err conftest.$ac_objext \
21681 conftest$ac_exeext conftest.$ac_ext
21682LIBS=$ac_check_lib_save_LIBS
21683fi
1409cd0b
FXC
21684echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
21685echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
21686if test $ac_cv_lib_m_jn = yes; then
e8525382
SK
21687
21688cat >>confdefs.h <<\_ACEOF
1409cd0b 21689#define HAVE_JN 1
e8525382
SK
21690_ACEOF
21691
21692fi
21693
1409cd0b
FXC
21694echo "$as_me:$LINENO: checking for jnl in -lm" >&5
21695echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
21696if test "${ac_cv_lib_m_jnl+set}" = set; then
e8525382
SK
21697 echo $ECHO_N "(cached) $ECHO_C" >&6
21698else
21699 ac_check_lib_save_LIBS=$LIBS
21700LIBS="-lm $LIBS"
f02d008e
JD
21701if test x$gcc_no_link = xyes; then
21702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21703echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21704 { (exit 1); exit 1; }; }
21705fi
e8525382
SK
21706cat >conftest.$ac_ext <<_ACEOF
21707/* confdefs.h. */
21708_ACEOF
21709cat confdefs.h >>conftest.$ac_ext
21710cat >>conftest.$ac_ext <<_ACEOF
21711/* end confdefs.h. */
21712
21713/* Override any gcc2 internal prototype to avoid an error. */
21714#ifdef __cplusplus
21715extern "C"
21716#endif
21717/* We use char because int might match the return type of a gcc2
21718 builtin and then its argument prototype would still apply. */
1409cd0b 21719char jnl ();
e8525382
SK
21720int
21721main ()
21722{
1409cd0b 21723jnl ();
e8525382
SK
21724 ;
21725 return 0;
21726}
21727_ACEOF
21728rm -f conftest.$ac_objext conftest$ac_exeext
21729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21730 (eval $ac_link) 2>conftest.er1
21731 ac_status=$?
21732 grep -v '^ *+' conftest.er1 >conftest.err
21733 rm -f conftest.er1
21734 cat conftest.err >&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
57255173
PB
21737 { ac_try='test -z "$ac_c_werror_flag"
21738 || test ! -s conftest.err'
e8525382
SK
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21741 ac_status=$?
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try='test -s conftest$ac_exeext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21747 ac_status=$?
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
1409cd0b 21750 ac_cv_lib_m_jnl=yes
e8525382
SK
21751else
21752 echo "$as_me: failed program was:" >&5
21753sed 's/^/| /' conftest.$ac_ext >&5
21754
1409cd0b 21755ac_cv_lib_m_jnl=no
e8525382
SK
21756fi
21757rm -f conftest.err conftest.$ac_objext \
21758 conftest$ac_exeext conftest.$ac_ext
21759LIBS=$ac_check_lib_save_LIBS
21760fi
1409cd0b
FXC
21761echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
21762echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21763if test $ac_cv_lib_m_jnl = yes; then
e8525382
SK
21764
21765cat >>confdefs.h <<\_ACEOF
1409cd0b 21766#define HAVE_JNL 1
e8525382
SK
21767_ACEOF
21768
21769fi
21770
1409cd0b
FXC
21771echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21772echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21773if test "${ac_cv_lib_m_y0f+set}" = set; then
e8525382
SK
21774 echo $ECHO_N "(cached) $ECHO_C" >&6
21775else
21776 ac_check_lib_save_LIBS=$LIBS
21777LIBS="-lm $LIBS"
f02d008e
JD
21778if test x$gcc_no_link = xyes; then
21779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21780echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21781 { (exit 1); exit 1; }; }
21782fi
e8525382
SK
21783cat >conftest.$ac_ext <<_ACEOF
21784/* confdefs.h. */
21785_ACEOF
21786cat confdefs.h >>conftest.$ac_ext
21787cat >>conftest.$ac_ext <<_ACEOF
21788/* end confdefs.h. */
21789
21790/* Override any gcc2 internal prototype to avoid an error. */
21791#ifdef __cplusplus
21792extern "C"
21793#endif
21794/* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
1409cd0b 21796char y0f ();
e8525382
SK
21797int
21798main ()
21799{
1409cd0b 21800y0f ();
e8525382
SK
21801 ;
21802 return 0;
21803}
21804_ACEOF
21805rm -f conftest.$ac_objext conftest$ac_exeext
21806if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>conftest.er1
21808 ac_status=$?
21809 grep -v '^ *+' conftest.er1 >conftest.err
21810 rm -f conftest.er1
21811 cat conftest.err >&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } &&
57255173
PB
21814 { ac_try='test -z "$ac_c_werror_flag"
21815 || test ! -s conftest.err'
e8525382
SK
21816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817 (eval $ac_try) 2>&5
21818 ac_status=$?
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); }; } &&
21821 { ac_try='test -s conftest$ac_exeext'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21824 ac_status=$?
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; }; then
1409cd0b 21827 ac_cv_lib_m_y0f=yes
e8525382
SK
21828else
21829 echo "$as_me: failed program was:" >&5
21830sed 's/^/| /' conftest.$ac_ext >&5
21831
1409cd0b 21832ac_cv_lib_m_y0f=no
e8525382
SK
21833fi
21834rm -f conftest.err conftest.$ac_objext \
21835 conftest$ac_exeext conftest.$ac_ext
21836LIBS=$ac_check_lib_save_LIBS
21837fi
1409cd0b
FXC
21838echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21839echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21840if test $ac_cv_lib_m_y0f = yes; then
e8525382
SK
21841
21842cat >>confdefs.h <<\_ACEOF
1409cd0b 21843#define HAVE_Y0F 1
e8525382
SK
21844_ACEOF
21845
21846fi
21847
1409cd0b
FXC
21848echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21849echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21850if test "${ac_cv_lib_m_y0+set}" = set; then
e8525382
SK
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21852else
21853 ac_check_lib_save_LIBS=$LIBS
21854LIBS="-lm $LIBS"
f02d008e
JD
21855if test x$gcc_no_link = xyes; then
21856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21857echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21858 { (exit 1); exit 1; }; }
21859fi
e8525382
SK
21860cat >conftest.$ac_ext <<_ACEOF
21861/* confdefs.h. */
21862_ACEOF
21863cat confdefs.h >>conftest.$ac_ext
21864cat >>conftest.$ac_ext <<_ACEOF
21865/* end confdefs.h. */
21866
21867/* Override any gcc2 internal prototype to avoid an error. */
21868#ifdef __cplusplus
21869extern "C"
21870#endif
21871/* We use char because int might match the return type of a gcc2
21872 builtin and then its argument prototype would still apply. */
1409cd0b 21873char y0 ();
e8525382
SK
21874int
21875main ()
21876{
1409cd0b 21877y0 ();
e8525382
SK
21878 ;
21879 return 0;
21880}
21881_ACEOF
21882rm -f conftest.$ac_objext conftest$ac_exeext
21883if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21884 (eval $ac_link) 2>conftest.er1
21885 ac_status=$?
21886 grep -v '^ *+' conftest.er1 >conftest.err
21887 rm -f conftest.er1
21888 cat conftest.err >&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } &&
57255173
PB
21891 { ac_try='test -z "$ac_c_werror_flag"
21892 || test ! -s conftest.err'
e8525382
SK
21893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21894 (eval $ac_try) 2>&5
21895 ac_status=$?
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); }; } &&
21898 { ac_try='test -s conftest$ac_exeext'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21901 ac_status=$?
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; }; then
1409cd0b 21904 ac_cv_lib_m_y0=yes
e8525382
SK
21905else
21906 echo "$as_me: failed program was:" >&5
21907sed 's/^/| /' conftest.$ac_ext >&5
21908
1409cd0b 21909ac_cv_lib_m_y0=no
e8525382
SK
21910fi
21911rm -f conftest.err conftest.$ac_objext \
21912 conftest$ac_exeext conftest.$ac_ext
21913LIBS=$ac_check_lib_save_LIBS
21914fi
1409cd0b
FXC
21915echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21916echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21917if test $ac_cv_lib_m_y0 = yes; then
e8525382
SK
21918
21919cat >>confdefs.h <<\_ACEOF
1409cd0b 21920#define HAVE_Y0 1
e8525382
SK
21921_ACEOF
21922
21923fi
21924
1409cd0b
FXC
21925echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21926echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21927if test "${ac_cv_lib_m_y0l+set}" = set; then
e8525382
SK
21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21929else
21930 ac_check_lib_save_LIBS=$LIBS
21931LIBS="-lm $LIBS"
f02d008e
JD
21932if test x$gcc_no_link = xyes; then
21933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21934echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21935 { (exit 1); exit 1; }; }
21936fi
e8525382
SK
21937cat >conftest.$ac_ext <<_ACEOF
21938/* confdefs.h. */
21939_ACEOF
21940cat confdefs.h >>conftest.$ac_ext
21941cat >>conftest.$ac_ext <<_ACEOF
21942/* end confdefs.h. */
21943
21944/* Override any gcc2 internal prototype to avoid an error. */
21945#ifdef __cplusplus
21946extern "C"
21947#endif
21948/* We use char because int might match the return type of a gcc2
21949 builtin and then its argument prototype would still apply. */
1409cd0b 21950char y0l ();
e8525382
SK
21951int
21952main ()
21953{
1409cd0b 21954y0l ();
e8525382
SK
21955 ;
21956 return 0;
21957}
21958_ACEOF
21959rm -f conftest.$ac_objext conftest$ac_exeext
21960if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21961 (eval $ac_link) 2>conftest.er1
21962 ac_status=$?
21963 grep -v '^ *+' conftest.er1 >conftest.err
21964 rm -f conftest.er1
21965 cat conftest.err >&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); } &&
57255173
PB
21968 { ac_try='test -z "$ac_c_werror_flag"
21969 || test ! -s conftest.err'
e8525382
SK
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21972 ac_status=$?
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; } &&
21975 { ac_try='test -s conftest$ac_exeext'
21976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21977 (eval $ac_try) 2>&5
21978 ac_status=$?
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); }; }; then
1409cd0b 21981 ac_cv_lib_m_y0l=yes
e8525382
SK
21982else
21983 echo "$as_me: failed program was:" >&5
21984sed 's/^/| /' conftest.$ac_ext >&5
21985
1409cd0b 21986ac_cv_lib_m_y0l=no
e8525382
SK
21987fi
21988rm -f conftest.err conftest.$ac_objext \
21989 conftest$ac_exeext conftest.$ac_ext
21990LIBS=$ac_check_lib_save_LIBS
21991fi
1409cd0b
FXC
21992echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21993echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21994if test $ac_cv_lib_m_y0l = yes; then
e8525382
SK
21995
21996cat >>confdefs.h <<\_ACEOF
1409cd0b 21997#define HAVE_Y0L 1
e8525382
SK
21998_ACEOF
21999
22000fi
22001
1409cd0b
FXC
22002echo "$as_me:$LINENO: checking for y1f in -lm" >&5
22003echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
22004if test "${ac_cv_lib_m_y1f+set}" = set; then
e8525382
SK
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22006else
22007 ac_check_lib_save_LIBS=$LIBS
22008LIBS="-lm $LIBS"
f02d008e
JD
22009if test x$gcc_no_link = xyes; then
22010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22011echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22012 { (exit 1); exit 1; }; }
22013fi
e8525382
SK
22014cat >conftest.$ac_ext <<_ACEOF
22015/* confdefs.h. */
22016_ACEOF
22017cat confdefs.h >>conftest.$ac_ext
22018cat >>conftest.$ac_ext <<_ACEOF
22019/* end confdefs.h. */
22020
22021/* Override any gcc2 internal prototype to avoid an error. */
22022#ifdef __cplusplus
22023extern "C"
22024#endif
22025/* We use char because int might match the return type of a gcc2
22026 builtin and then its argument prototype would still apply. */
1409cd0b 22027char y1f ();
e8525382
SK
22028int
22029main ()
22030{
1409cd0b 22031y1f ();
e8525382
SK
22032 ;
22033 return 0;
22034}
22035_ACEOF
22036rm -f conftest.$ac_objext conftest$ac_exeext
22037if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22038 (eval $ac_link) 2>conftest.er1
22039 ac_status=$?
22040 grep -v '^ *+' conftest.er1 >conftest.err
22041 rm -f conftest.er1
22042 cat conftest.err >&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
57255173
PB
22045 { ac_try='test -z "$ac_c_werror_flag"
22046 || test ! -s conftest.err'
e8525382
SK
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22049 ac_status=$?
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; } &&
22052 { ac_try='test -s conftest$ac_exeext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22055 ac_status=$?
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
1409cd0b 22058 ac_cv_lib_m_y1f=yes
e8525382
SK
22059else
22060 echo "$as_me: failed program was:" >&5
22061sed 's/^/| /' conftest.$ac_ext >&5
22062
1409cd0b 22063ac_cv_lib_m_y1f=no
e8525382
SK
22064fi
22065rm -f conftest.err conftest.$ac_objext \
22066 conftest$ac_exeext conftest.$ac_ext
22067LIBS=$ac_check_lib_save_LIBS
22068fi
1409cd0b
FXC
22069echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
22070echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
22071if test $ac_cv_lib_m_y1f = yes; then
e8525382
SK
22072
22073cat >>confdefs.h <<\_ACEOF
1409cd0b 22074#define HAVE_Y1F 1
e8525382
SK
22075_ACEOF
22076
22077fi
22078
1409cd0b
FXC
22079echo "$as_me:$LINENO: checking for y1 in -lm" >&5
22080echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
22081if test "${ac_cv_lib_m_y1+set}" = set; then
e8525382
SK
22082 echo $ECHO_N "(cached) $ECHO_C" >&6
22083else
22084 ac_check_lib_save_LIBS=$LIBS
22085LIBS="-lm $LIBS"
f02d008e
JD
22086if test x$gcc_no_link = xyes; then
22087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22088echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22089 { (exit 1); exit 1; }; }
22090fi
e8525382
SK
22091cat >conftest.$ac_ext <<_ACEOF
22092/* confdefs.h. */
22093_ACEOF
22094cat confdefs.h >>conftest.$ac_ext
22095cat >>conftest.$ac_ext <<_ACEOF
22096/* end confdefs.h. */
22097
22098/* Override any gcc2 internal prototype to avoid an error. */
22099#ifdef __cplusplus
22100extern "C"
22101#endif
22102/* We use char because int might match the return type of a gcc2
22103 builtin and then its argument prototype would still apply. */
1409cd0b 22104char y1 ();
e8525382
SK
22105int
22106main ()
22107{
1409cd0b 22108y1 ();
e8525382
SK
22109 ;
22110 return 0;
22111}
22112_ACEOF
22113rm -f conftest.$ac_objext conftest$ac_exeext
22114if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22115 (eval $ac_link) 2>conftest.er1
22116 ac_status=$?
22117 grep -v '^ *+' conftest.er1 >conftest.err
22118 rm -f conftest.er1
22119 cat conftest.err >&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
57255173
PB
22122 { ac_try='test -z "$ac_c_werror_flag"
22123 || test ! -s conftest.err'
e8525382
SK
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22126 ac_status=$?
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; } &&
22129 { ac_try='test -s conftest$ac_exeext'
22130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131 (eval $ac_try) 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
1409cd0b 22135 ac_cv_lib_m_y1=yes
e8525382
SK
22136else
22137 echo "$as_me: failed program was:" >&5
22138sed 's/^/| /' conftest.$ac_ext >&5
22139
1409cd0b 22140ac_cv_lib_m_y1=no
e8525382
SK
22141fi
22142rm -f conftest.err conftest.$ac_objext \
22143 conftest$ac_exeext conftest.$ac_ext
22144LIBS=$ac_check_lib_save_LIBS
22145fi
1409cd0b
FXC
22146echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
22147echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
22148if test $ac_cv_lib_m_y1 = yes; then
e8525382
SK
22149
22150cat >>confdefs.h <<\_ACEOF
1409cd0b 22151#define HAVE_Y1 1
e8525382
SK
22152_ACEOF
22153
22154fi
22155
1409cd0b
FXC
22156echo "$as_me:$LINENO: checking for y1l in -lm" >&5
22157echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
22158if test "${ac_cv_lib_m_y1l+set}" = set; then
e8525382
SK
22159 echo $ECHO_N "(cached) $ECHO_C" >&6
22160else
22161 ac_check_lib_save_LIBS=$LIBS
22162LIBS="-lm $LIBS"
f02d008e
JD
22163if test x$gcc_no_link = xyes; then
22164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22165echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22166 { (exit 1); exit 1; }; }
22167fi
e8525382
SK
22168cat >conftest.$ac_ext <<_ACEOF
22169/* confdefs.h. */
22170_ACEOF
22171cat confdefs.h >>conftest.$ac_ext
22172cat >>conftest.$ac_ext <<_ACEOF
22173/* end confdefs.h. */
22174
22175/* Override any gcc2 internal prototype to avoid an error. */
22176#ifdef __cplusplus
22177extern "C"
22178#endif
22179/* We use char because int might match the return type of a gcc2
22180 builtin and then its argument prototype would still apply. */
1409cd0b 22181char y1l ();
e8525382
SK
22182int
22183main ()
22184{
1409cd0b 22185y1l ();
e8525382
SK
22186 ;
22187 return 0;
22188}
22189_ACEOF
22190rm -f conftest.$ac_objext conftest$ac_exeext
22191if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22192 (eval $ac_link) 2>conftest.er1
22193 ac_status=$?
22194 grep -v '^ *+' conftest.er1 >conftest.err
22195 rm -f conftest.er1
22196 cat conftest.err >&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); } &&
57255173
PB
22199 { ac_try='test -z "$ac_c_werror_flag"
22200 || test ! -s conftest.err'
e8525382
SK
22201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22202 (eval $ac_try) 2>&5
22203 ac_status=$?
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; } &&
22206 { ac_try='test -s conftest$ac_exeext'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22209 ac_status=$?
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; }; then
1409cd0b 22212 ac_cv_lib_m_y1l=yes
e8525382
SK
22213else
22214 echo "$as_me: failed program was:" >&5
22215sed 's/^/| /' conftest.$ac_ext >&5
22216
1409cd0b 22217ac_cv_lib_m_y1l=no
e8525382
SK
22218fi
22219rm -f conftest.err conftest.$ac_objext \
22220 conftest$ac_exeext conftest.$ac_ext
22221LIBS=$ac_check_lib_save_LIBS
22222fi
1409cd0b
FXC
22223echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22224echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22225if test $ac_cv_lib_m_y1l = yes; then
e8525382
SK
22226
22227cat >>confdefs.h <<\_ACEOF
1409cd0b 22228#define HAVE_Y1L 1
e8525382
SK
22229_ACEOF
22230
22231fi
22232
1409cd0b
FXC
22233echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22234echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22235if test "${ac_cv_lib_m_ynf+set}" = set; then
e8525382
SK
22236 echo $ECHO_N "(cached) $ECHO_C" >&6
22237else
22238 ac_check_lib_save_LIBS=$LIBS
22239LIBS="-lm $LIBS"
f02d008e
JD
22240if test x$gcc_no_link = xyes; then
22241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22242echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22243 { (exit 1); exit 1; }; }
22244fi
e8525382
SK
22245cat >conftest.$ac_ext <<_ACEOF
22246/* confdefs.h. */
22247_ACEOF
22248cat confdefs.h >>conftest.$ac_ext
22249cat >>conftest.$ac_ext <<_ACEOF
22250/* end confdefs.h. */
22251
22252/* Override any gcc2 internal prototype to avoid an error. */
22253#ifdef __cplusplus
22254extern "C"
22255#endif
22256/* We use char because int might match the return type of a gcc2
22257 builtin and then its argument prototype would still apply. */
1409cd0b 22258char ynf ();
e8525382
SK
22259int
22260main ()
22261{
1409cd0b 22262ynf ();
e8525382
SK
22263 ;
22264 return 0;
22265}
22266_ACEOF
22267rm -f conftest.$ac_objext conftest$ac_exeext
22268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22269 (eval $ac_link) 2>conftest.er1
22270 ac_status=$?
22271 grep -v '^ *+' conftest.er1 >conftest.err
22272 rm -f conftest.er1
22273 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } &&
57255173
PB
22276 { ac_try='test -z "$ac_c_werror_flag"
22277 || test ! -s conftest.err'
e8525382
SK
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22280 ac_status=$?
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; } &&
22283 { ac_try='test -s conftest$ac_exeext'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22286 ac_status=$?
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; }; then
1409cd0b 22289 ac_cv_lib_m_ynf=yes
e8525382
SK
22290else
22291 echo "$as_me: failed program was:" >&5
22292sed 's/^/| /' conftest.$ac_ext >&5
22293
1409cd0b 22294ac_cv_lib_m_ynf=no
e8525382
SK
22295fi
22296rm -f conftest.err conftest.$ac_objext \
22297 conftest$ac_exeext conftest.$ac_ext
22298LIBS=$ac_check_lib_save_LIBS
22299fi
1409cd0b
FXC
22300echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22301echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22302if test $ac_cv_lib_m_ynf = yes; then
e8525382
SK
22303
22304cat >>confdefs.h <<\_ACEOF
1409cd0b 22305#define HAVE_YNF 1
e8525382
SK
22306_ACEOF
22307
22308fi
22309
22310echo "$as_me:$LINENO: checking for yn in -lm" >&5
22311echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22312if test "${ac_cv_lib_m_yn+set}" = set; then
22313 echo $ECHO_N "(cached) $ECHO_C" >&6
22314else
22315 ac_check_lib_save_LIBS=$LIBS
22316LIBS="-lm $LIBS"
f02d008e
JD
22317if test x$gcc_no_link = xyes; then
22318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22319echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22320 { (exit 1); exit 1; }; }
22321fi
e8525382
SK
22322cat >conftest.$ac_ext <<_ACEOF
22323/* confdefs.h. */
22324_ACEOF
22325cat confdefs.h >>conftest.$ac_ext
22326cat >>conftest.$ac_ext <<_ACEOF
22327/* end confdefs.h. */
22328
22329/* Override any gcc2 internal prototype to avoid an error. */
22330#ifdef __cplusplus
22331extern "C"
22332#endif
22333/* We use char because int might match the return type of a gcc2
22334 builtin and then its argument prototype would still apply. */
22335char yn ();
22336int
22337main ()
22338{
22339yn ();
22340 ;
22341 return 0;
22342}
22343_ACEOF
22344rm -f conftest.$ac_objext conftest$ac_exeext
22345if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22346 (eval $ac_link) 2>conftest.er1
22347 ac_status=$?
22348 grep -v '^ *+' conftest.er1 >conftest.err
22349 rm -f conftest.er1
22350 cat conftest.err >&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); } &&
57255173
PB
22353 { ac_try='test -z "$ac_c_werror_flag"
22354 || test ! -s conftest.err'
e8525382
SK
22355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356 (eval $ac_try) 2>&5
22357 ac_status=$?
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); }; } &&
22360 { ac_try='test -s conftest$ac_exeext'
22361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 (eval $ac_try) 2>&5
22363 ac_status=$?
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; }; then
22366 ac_cv_lib_m_yn=yes
22367else
22368 echo "$as_me: failed program was:" >&5
22369sed 's/^/| /' conftest.$ac_ext >&5
22370
22371ac_cv_lib_m_yn=no
22372fi
22373rm -f conftest.err conftest.$ac_objext \
22374 conftest$ac_exeext conftest.$ac_ext
22375LIBS=$ac_check_lib_save_LIBS
22376fi
22377echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22378echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22379if test $ac_cv_lib_m_yn = yes; then
22380
22381cat >>confdefs.h <<\_ACEOF
22382#define HAVE_YN 1
22383_ACEOF
22384
22385fi
22386
1409cd0b
FXC
22387echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22388echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22389if test "${ac_cv_lib_m_ynl+set}" = set; then
e8525382
SK
22390 echo $ECHO_N "(cached) $ECHO_C" >&6
22391else
22392 ac_check_lib_save_LIBS=$LIBS
22393LIBS="-lm $LIBS"
f02d008e
JD
22394if test x$gcc_no_link = xyes; then
22395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22396echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22397 { (exit 1); exit 1; }; }
22398fi
e8525382
SK
22399cat >conftest.$ac_ext <<_ACEOF
22400/* confdefs.h. */
22401_ACEOF
22402cat confdefs.h >>conftest.$ac_ext
22403cat >>conftest.$ac_ext <<_ACEOF
22404/* end confdefs.h. */
22405
22406/* Override any gcc2 internal prototype to avoid an error. */
22407#ifdef __cplusplus
22408extern "C"
22409#endif
22410/* We use char because int might match the return type of a gcc2
22411 builtin and then its argument prototype would still apply. */
1409cd0b 22412char ynl ();
e8525382
SK
22413int
22414main ()
22415{
1409cd0b 22416ynl ();
e8525382
SK
22417 ;
22418 return 0;
22419}
22420_ACEOF
22421rm -f conftest.$ac_objext conftest$ac_exeext
22422if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22423 (eval $ac_link) 2>conftest.er1
22424 ac_status=$?
22425 grep -v '^ *+' conftest.er1 >conftest.err
22426 rm -f conftest.er1
22427 cat conftest.err >&5
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); } &&
57255173
PB
22430 { ac_try='test -z "$ac_c_werror_flag"
22431 || test ! -s conftest.err'
e8525382
SK
22432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22433 (eval $ac_try) 2>&5
22434 ac_status=$?
22435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22436 (exit $ac_status); }; } &&
22437 { ac_try='test -s conftest$ac_exeext'
22438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22439 (eval $ac_try) 2>&5
22440 ac_status=$?
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); }; }; then
1409cd0b 22443 ac_cv_lib_m_ynl=yes
e8525382
SK
22444else
22445 echo "$as_me: failed program was:" >&5
22446sed 's/^/| /' conftest.$ac_ext >&5
22447
1409cd0b 22448ac_cv_lib_m_ynl=no
e8525382
SK
22449fi
22450rm -f conftest.err conftest.$ac_objext \
22451 conftest$ac_exeext conftest.$ac_ext
22452LIBS=$ac_check_lib_save_LIBS
22453fi
1409cd0b
FXC
22454echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22455echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22456if test $ac_cv_lib_m_ynl = yes; then
e8525382
SK
22457
22458cat >>confdefs.h <<\_ACEOF
1409cd0b 22459#define HAVE_YNL 1
e8525382
SK
22460_ACEOF
22461
22462fi
22463
a2a2059f 22464
118ea208 22465# On AIX, clog is present in libm as __clog
e097b4f1
DE
22466echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22467echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22468if test "${ac_cv_lib_m___clog+set}" = set; then
22469 echo $ECHO_N "(cached) $ECHO_C" >&6
22470else
22471 ac_check_lib_save_LIBS=$LIBS
22472LIBS="-lm $LIBS"
22473if test x$gcc_no_link = xyes; then
22474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22475echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22476 { (exit 1); exit 1; }; }
22477fi
22478cat >conftest.$ac_ext <<_ACEOF
22479/* confdefs.h. */
22480_ACEOF
22481cat confdefs.h >>conftest.$ac_ext
22482cat >>conftest.$ac_ext <<_ACEOF
22483/* end confdefs.h. */
22484
22485/* Override any gcc2 internal prototype to avoid an error. */
22486#ifdef __cplusplus
22487extern "C"
22488#endif
22489/* We use char because int might match the return type of a gcc2
22490 builtin and then its argument prototype would still apply. */
22491char __clog ();
22492int
22493main ()
22494{
22495__clog ();
22496 ;
22497 return 0;
22498}
22499_ACEOF
22500rm -f conftest.$ac_objext conftest$ac_exeext
22501if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22502 (eval $ac_link) 2>conftest.er1
22503 ac_status=$?
22504 grep -v '^ *+' conftest.er1 >conftest.err
22505 rm -f conftest.er1
22506 cat conftest.err >&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); } &&
57255173
PB
22509 { ac_try='test -z "$ac_c_werror_flag"
22510 || test ! -s conftest.err'
e097b4f1
DE
22511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22512 (eval $ac_try) 2>&5
22513 ac_status=$?
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; } &&
22516 { ac_try='test -s conftest$ac_exeext'
22517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518 (eval $ac_try) 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; }; then
22522 ac_cv_lib_m___clog=yes
22523else
22524 echo "$as_me: failed program was:" >&5
22525sed 's/^/| /' conftest.$ac_ext >&5
22526
22527ac_cv_lib_m___clog=no
22528fi
22529rm -f conftest.err conftest.$ac_objext \
22530 conftest$ac_exeext conftest.$ac_ext
22531LIBS=$ac_check_lib_save_LIBS
22532fi
22533echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22534echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22535if test $ac_cv_lib_m___clog = yes; then
22536
22537cat >>confdefs.h <<\_ACEOF
22538#define HAVE_CLOG 1
22539_ACEOF
22540
22541fi
22542
22543
118ea208
SE
22544# Check for a isfinite macro that works on long doubles.
22545
22546 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22547echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22548if test "${have_broken_isfinite+set}" = set; then
22549 echo $ECHO_N "(cached) $ECHO_C" >&6
22550else
22551
22552 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22553 LIBS="$LIBS -lm"
22554 if test "$cross_compiling" = yes; then
22555
22556case "${target}" in
22557 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22558 *) have_broken_isfinite=no ;;
22559esac
22560else
22561 cat >conftest.$ac_ext <<_ACEOF
22562/* confdefs.h. */
22563_ACEOF
22564cat confdefs.h >>conftest.$ac_ext
22565cat >>conftest.$ac_ext <<_ACEOF
22566/* end confdefs.h. */
22567
22568#ifdef HAVE_MATH_H
22569#include <math.h>
22570#endif
22571#include <float.h>
22572int main ()
22573{
22574#ifdef isfinite
22575#ifdef LDBL_MAX
22576 if (!isfinite(LDBL_MAX)) return 1;
22577#endif
22578#ifdef DBL_MAX
22579 if (!isfinite(DBL_MAX)) return 1;
22580#endif
22581#endif
22582return 0;
22583}
22584_ACEOF
22585rm -f conftest$ac_exeext
22586if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22587 (eval $ac_link) 2>&5
22588 ac_status=$?
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592 (eval $ac_try) 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 have_broken_isfinite=no
22597else
22598 echo "$as_me: program exited with status $ac_status" >&5
22599echo "$as_me: failed program was:" >&5
22600sed 's/^/| /' conftest.$ac_ext >&5
22601
22602( exit $ac_status )
22603have_broken_isfinite=yes
22604fi
22605rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22606fi
22607 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
22608fi
22609echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22610echo "${ECHO_T}$have_broken_isfinite" >&6
22611if test x"$have_broken_isfinite" = xyes; then
22612
22613cat >>confdefs.h <<\_ACEOF
22614#define HAVE_BROKEN_ISFINITE 1
22615_ACEOF
22616
22617fi
22618
22619# Check for a isnan macro that works on long doubles.
22620
22621 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22622echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22623if test "${have_broken_isnan+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22625else
22626
22627 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
22628 LIBS="$LIBS -lm"
22629 if test "$cross_compiling" = yes; then
22630
22631case "${target}" in
22632 hppa*-*-hpux*) have_broken_isnan=yes ;;
22633 *) have_broken_isnan=no ;;
22634esac
22635else
22636 cat >conftest.$ac_ext <<_ACEOF
22637/* confdefs.h. */
22638_ACEOF
22639cat confdefs.h >>conftest.$ac_ext
22640cat >>conftest.$ac_ext <<_ACEOF
22641/* end confdefs.h. */
22642
22643#ifdef HAVE_MATH_H
22644#include <math.h>
22645#endif
22646#include <float.h>
22647int main ()
22648{
22649#ifdef isnan
22650#ifdef LDBL_MAX
22651 {
22652 long double x;
22653 x = __builtin_nanl ("");
22654 if (!isnan(x)) return 1;
22655 if (isnan(LDBL_MAX)) return 1;
22656#ifdef NAN
22657 x = (long double) NAN;
22658 if (!isnan(x)) return 1;
22659#endif
22660 }
22661#endif
22662#ifdef DBL_MAX
22663 {
22664 double y;
22665 y = __builtin_nan ("");
22666 if (!isnan(y)) return 1;
22667 if (isnan(DBL_MAX)) return 1;
22668#ifdef NAN
22669 y = (double) NAN;
22670 if (!isnan(y)) return 1;
22671#endif
22672 }
22673#endif
22674#endif
22675return 0;
22676}
22677_ACEOF
22678rm -f conftest$ac_exeext
22679if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22680 (eval $ac_link) 2>&5
22681 ac_status=$?
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22685 (eval $ac_try) 2>&5
22686 ac_status=$?
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; }; then
22689 have_broken_isnan=no
22690else
22691 echo "$as_me: program exited with status $ac_status" >&5
22692echo "$as_me: failed program was:" >&5
22693sed 's/^/| /' conftest.$ac_ext >&5
22694
22695( exit $ac_status )
22696have_broken_isnan=yes
22697fi
22698rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22699fi
22700 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
22701fi
22702echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
22703echo "${ECHO_T}$have_broken_isnan" >&6
22704if test x"$have_broken_isnan" = xyes; then
22705
22706cat >>confdefs.h <<\_ACEOF
22707#define HAVE_BROKEN_ISNAN 1
22708_ACEOF
22709
22710fi
22711
22712# Check for a fpclassify macro that works on long doubles.
22713
22714 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
22715echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
22716if test "${have_broken_fpclassify+set}" = set; then
22717 echo $ECHO_N "(cached) $ECHO_C" >&6
22718else
22719
22720 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
22721 LIBS="$LIBS -lm"
22722 if test "$cross_compiling" = yes; then
22723
22724case "${target}" in
22725 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
22726 *) have_broken_fpclassify=no ;;
22727esac
22728else
22729 cat >conftest.$ac_ext <<_ACEOF
22730/* confdefs.h. */
22731_ACEOF
22732cat confdefs.h >>conftest.$ac_ext
22733cat >>conftest.$ac_ext <<_ACEOF
22734/* end confdefs.h. */
22735
22736#ifdef HAVE_MATH_H
22737#include <math.h>
22738#endif
22739#include <float.h>
22740int main ()
22741{
22742#ifdef fpclassify
22743#ifdef LDBL_MAX
22744 if (fpclassify(LDBL_MAX) == FP_NAN
22745 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
22746#endif
22747#ifdef DBL_MAX
22748 if (fpclassify(DBL_MAX) == FP_NAN
22749 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
22750#endif
22751#endif
22752return 0;
22753}
22754_ACEOF
22755rm -f conftest$ac_exeext
22756if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22757 (eval $ac_link) 2>&5
22758 ac_status=$?
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22762 (eval $ac_try) 2>&5
22763 ac_status=$?
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); }; }; then
22766 have_broken_fpclassify=no
22767else
22768 echo "$as_me: program exited with status $ac_status" >&5
22769echo "$as_me: failed program was:" >&5
22770sed 's/^/| /' conftest.$ac_ext >&5
22771
22772( exit $ac_status )
22773have_broken_fpclassify=yes
22774fi
22775rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22776fi
22777 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
22778fi
22779echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22780echo "${ECHO_T}$have_broken_fpclassify" >&6
22781if test x"$have_broken_fpclassify" = xyes; then
22782
22783cat >>confdefs.h <<\_ACEOF
22784#define HAVE_BROKEN_FPCLASSIFY 1
22785_ACEOF
22786
22787fi
22788
ad238e4f
FXC
22789# Check whether the system has a working stat()
22790
22791 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22792echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22793if test "${have_working_stat+set}" = set; then
22794 echo $ECHO_N "(cached) $ECHO_C" >&6
22795else
22796
22797 if test "$cross_compiling" = yes; then
22798
22799case "${target}" in
22800 *mingw*) have_working_stat=no ;;
22801 *) have_working_stat=yes;;
22802esac
22803else
22804 cat >conftest.$ac_ext <<_ACEOF
22805/* confdefs.h. */
22806_ACEOF
22807cat confdefs.h >>conftest.$ac_ext
22808cat >>conftest.$ac_ext <<_ACEOF
22809/* end confdefs.h. */
22810
22811#include <stdio.h>
22812#include <sys/types.h>
22813#include <sys/stat.h>
22814#include <unistd.h>
22815
22816int main ()
22817{
22818 FILE *f, *g;
22819 struct stat st1, st2;
22820
22821 f = fopen ("foo", "w");
22822 g = fopen ("bar", "w");
22823 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22824 return 1;
22825 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22826 return 1;
22827 fclose(f);
22828 fclose(g);
22829 return 0;
22830}
22831_ACEOF
22832rm -f conftest$ac_exeext
22833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22834 (eval $ac_link) 2>&5
22835 ac_status=$?
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22840 ac_status=$?
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); }; }; then
22843 have_working_stat=yes
22844else
22845 echo "$as_me: program exited with status $ac_status" >&5
22846echo "$as_me: failed program was:" >&5
22847sed 's/^/| /' conftest.$ac_ext >&5
22848
22849( exit $ac_status )
22850have_working_stat=no
22851fi
22852rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22853fi
22854fi
22855echo "$as_me:$LINENO: result: $have_working_stat" >&5
22856echo "${ECHO_T}$have_working_stat" >&6
22857if test x"$have_working_stat" = xyes; then
22858
22859cat >>confdefs.h <<\_ACEOF
22860#define HAVE_WORKING_STAT 1
22861_ACEOF
22862
22863fi
22864
69d3c9a4
SB
22865# Fallback in case isfinite is not available.
22866echo "$as_me:$LINENO: checking for finite in -lm" >&5
22867echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22868if test "${ac_cv_lib_m_finite+set}" = set; then
22869 echo $ECHO_N "(cached) $ECHO_C" >&6
22870else
22871 ac_check_lib_save_LIBS=$LIBS
22872LIBS="-lm $LIBS"
f02d008e
JD
22873if test x$gcc_no_link = xyes; then
22874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22875echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22876 { (exit 1); exit 1; }; }
22877fi
69d3c9a4
SB
22878cat >conftest.$ac_ext <<_ACEOF
22879/* confdefs.h. */
22880_ACEOF
22881cat confdefs.h >>conftest.$ac_ext
22882cat >>conftest.$ac_ext <<_ACEOF
22883/* end confdefs.h. */
22884
22885/* Override any gcc2 internal prototype to avoid an error. */
22886#ifdef __cplusplus
22887extern "C"
22888#endif
22889/* We use char because int might match the return type of a gcc2
22890 builtin and then its argument prototype would still apply. */
22891char finite ();
22892int
22893main ()
22894{
22895finite ();
22896 ;
22897 return 0;
22898}
22899_ACEOF
22900rm -f conftest.$ac_objext conftest$ac_exeext
22901if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22902 (eval $ac_link) 2>conftest.er1
22903 ac_status=$?
22904 grep -v '^ *+' conftest.er1 >conftest.err
22905 rm -f conftest.er1
22906 cat conftest.err >&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); } &&
57255173
PB
22909 { ac_try='test -z "$ac_c_werror_flag"
22910 || test ! -s conftest.err'
69d3c9a4
SB
22911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22912 (eval $ac_try) 2>&5
22913 ac_status=$?
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); }; } &&
22916 { ac_try='test -s conftest$ac_exeext'
22917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22918 (eval $ac_try) 2>&5
22919 ac_status=$?
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); }; }; then
22922 ac_cv_lib_m_finite=yes
22923else
22924 echo "$as_me: failed program was:" >&5
22925sed 's/^/| /' conftest.$ac_ext >&5
22926
22927ac_cv_lib_m_finite=no
22928fi
22929rm -f conftest.err conftest.$ac_objext \
22930 conftest$ac_exeext conftest.$ac_ext
22931LIBS=$ac_check_lib_save_LIBS
22932fi
22933echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22934echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22935if test $ac_cv_lib_m_finite = yes; then
22936
22937cat >>confdefs.h <<\_ACEOF
22938#define HAVE_FINITE 1
22939_ACEOF
22940
22941fi
22942
22943
944b8b35
FXC
22944# Check for GNU libc feenableexcept
22945echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22946echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22947if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22948 echo $ECHO_N "(cached) $ECHO_C" >&6
22949else
22950 ac_check_lib_save_LIBS=$LIBS
22951LIBS="-lm $LIBS"
22952if test x$gcc_no_link = xyes; then
22953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22954echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22955 { (exit 1); exit 1; }; }
22956fi
22957cat >conftest.$ac_ext <<_ACEOF
22958/* confdefs.h. */
22959_ACEOF
22960cat confdefs.h >>conftest.$ac_ext
22961cat >>conftest.$ac_ext <<_ACEOF
22962/* end confdefs.h. */
22963
22964/* Override any gcc2 internal prototype to avoid an error. */
22965#ifdef __cplusplus
22966extern "C"
22967#endif
22968/* We use char because int might match the return type of a gcc2
22969 builtin and then its argument prototype would still apply. */
22970char feenableexcept ();
22971int
22972main ()
22973{
22974feenableexcept ();
22975 ;
22976 return 0;
22977}
22978_ACEOF
22979rm -f conftest.$ac_objext conftest$ac_exeext
22980if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22981 (eval $ac_link) 2>conftest.er1
22982 ac_status=$?
22983 grep -v '^ *+' conftest.er1 >conftest.err
22984 rm -f conftest.er1
22985 cat conftest.err >&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } &&
57255173
PB
22988 { ac_try='test -z "$ac_c_werror_flag"
22989 || test ! -s conftest.err'
944b8b35
FXC
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try='test -s conftest$ac_exeext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_lib_m_feenableexcept=yes
23002else
23003 echo "$as_me: failed program was:" >&5
23004sed 's/^/| /' conftest.$ac_ext >&5
23005
23006ac_cv_lib_m_feenableexcept=no
23007fi
23008rm -f conftest.err conftest.$ac_objext \
23009 conftest$ac_exeext conftest.$ac_ext
23010LIBS=$ac_check_lib_save_LIBS
23011fi
23012echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
23013echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
23014if test $ac_cv_lib_m_feenableexcept = yes; then
23015 have_feenableexcept=yes
23016cat >>confdefs.h <<\_ACEOF
23017#define HAVE_FEENABLEEXCEPT 1
23018_ACEOF
23019
23020fi
23021
23022
3b14f664
FXC
23023# Check for SysV fpsetmask
23024
23025 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
23026echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
23027if test "${have_fpsetmask+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23029else
23030
23031 if test x$gcc_no_link = xyes; then
23032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23033echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23034 { (exit 1); exit 1; }; }
23035fi
23036cat >conftest.$ac_ext <<_ACEOF
23037/* confdefs.h. */
23038_ACEOF
23039cat confdefs.h >>conftest.$ac_ext
23040cat >>conftest.$ac_ext <<_ACEOF
23041/* end confdefs.h. */
23042
23043#if HAVE_FLOATINGPOINT_H
23044# include <floatingpoint.h>
23045#endif /* HAVE_FLOATINGPOINT_H */
23046#if HAVE_IEEEFP_H
23047# include <ieeefp.h>
23048#endif /* HAVE_IEEEFP_H */
23049int
23050main ()
23051{
23052fpsetmask(0);
23053 ;
23054 return 0;
23055}
23056_ACEOF
23057rm -f conftest.$ac_objext conftest$ac_exeext
23058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23059 (eval $ac_link) 2>conftest.er1
23060 ac_status=$?
23061 grep -v '^ *+' conftest.er1 >conftest.err
23062 rm -f conftest.er1
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
57255173
PB
23066 { ac_try='test -z "$ac_c_werror_flag"
23067 || test ! -s conftest.err'
3b14f664
FXC
23068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23069 (eval $ac_try) 2>&5
23070 ac_status=$?
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); }; } &&
23073 { ac_try='test -s conftest$ac_exeext'
23074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075 (eval $ac_try) 2>&5
23076 ac_status=$?
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); }; }; then
23079 eval "have_fpsetmask=yes"
23080else
23081 echo "$as_me: failed program was:" >&5
23082sed 's/^/| /' conftest.$ac_ext >&5
23083
23084eval "have_fpsetmask=no"
23085fi
23086rm -f conftest.err conftest.$ac_objext \
23087 conftest$ac_exeext conftest.$ac_ext
23088
23089fi
23090echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
23091echo "${ECHO_T}$have_fpsetmask" >&6
23092 if test x"$have_fpsetmask" = xyes; then
23093
23094cat >>confdefs.h <<\_ACEOF
23095#define HAVE_FPSETMASK 1
23096_ACEOF
23097
23098 fi
23099
23100
23101# Check for AIX fp_trap and fp_enable
23102echo "$as_me:$LINENO: checking for fp_trap" >&5
23103echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
23104if test "${ac_cv_func_fp_trap+set}" = set; then
23105 echo $ECHO_N "(cached) $ECHO_C" >&6
23106else
23107 if test x$gcc_no_link = xyes; then
23108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23109echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23110 { (exit 1); exit 1; }; }
23111fi
23112cat >conftest.$ac_ext <<_ACEOF
23113/* confdefs.h. */
23114_ACEOF
23115cat confdefs.h >>conftest.$ac_ext
23116cat >>conftest.$ac_ext <<_ACEOF
23117/* end confdefs.h. */
23118/* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
23119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23120#define fp_trap innocuous_fp_trap
23121
23122/* System header to define __stub macros and hopefully few prototypes,
23123 which can conflict with char fp_trap (); below.
23124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23125 <limits.h> exists even on freestanding compilers. */
23126
23127#ifdef __STDC__
23128# include <limits.h>
23129#else
23130# include <assert.h>
23131#endif
23132
23133#undef fp_trap
23134
23135/* Override any gcc2 internal prototype to avoid an error. */
23136#ifdef __cplusplus
23137extern "C"
23138{
23139#endif
23140/* We use char because int might match the return type of a gcc2
23141 builtin and then its argument prototype would still apply. */
23142char fp_trap ();
23143/* The GNU C library defines this for functions which it implements
23144 to always fail with ENOSYS. Some functions are actually named
23145 something starting with __ and the normal name is an alias. */
23146#if defined (__stub_fp_trap) || defined (__stub___fp_trap)
23147choke me
23148#else
23149char (*f) () = fp_trap;
23150#endif
23151#ifdef __cplusplus
23152}
23153#endif
23154
23155int
23156main ()
23157{
23158return f != fp_trap;
23159 ;
23160 return 0;
23161}
23162_ACEOF
23163rm -f conftest.$ac_objext conftest$ac_exeext
23164if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23165 (eval $ac_link) 2>conftest.er1
23166 ac_status=$?
23167 grep -v '^ *+' conftest.er1 >conftest.err
23168 rm -f conftest.er1
23169 cat conftest.err >&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } &&
57255173
PB
23172 { ac_try='test -z "$ac_c_werror_flag"
23173 || test ! -s conftest.err'
3b14f664
FXC
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23176 ac_status=$?
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; } &&
23179 { ac_try='test -s conftest$ac_exeext'
23180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23181 (eval $ac_try) 2>&5
23182 ac_status=$?
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; }; then
23185 ac_cv_func_fp_trap=yes
23186else
23187 echo "$as_me: failed program was:" >&5
23188sed 's/^/| /' conftest.$ac_ext >&5
23189
23190ac_cv_func_fp_trap=no
23191fi
23192rm -f conftest.err conftest.$ac_objext \
23193 conftest$ac_exeext conftest.$ac_ext
23194fi
23195echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23196echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23197if test $ac_cv_func_fp_trap = yes; then
23198 have_fp_trap=yes
23199cat >>confdefs.h <<\_ACEOF
23200#define HAVE_FP_TRAP 1
23201_ACEOF
23202
23203fi
23204
23205echo "$as_me:$LINENO: checking for fp_enable" >&5
23206echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23207if test "${ac_cv_func_fp_enable+set}" = set; then
23208 echo $ECHO_N "(cached) $ECHO_C" >&6
23209else
23210 if test x$gcc_no_link = xyes; then
23211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23212echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23213 { (exit 1); exit 1; }; }
23214fi
23215cat >conftest.$ac_ext <<_ACEOF
23216/* confdefs.h. */
23217_ACEOF
23218cat confdefs.h >>conftest.$ac_ext
23219cat >>conftest.$ac_ext <<_ACEOF
23220/* end confdefs.h. */
23221/* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23223#define fp_enable innocuous_fp_enable
23224
23225/* System header to define __stub macros and hopefully few prototypes,
23226 which can conflict with char fp_enable (); below.
23227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23228 <limits.h> exists even on freestanding compilers. */
23229
23230#ifdef __STDC__
23231# include <limits.h>
23232#else
23233# include <assert.h>
23234#endif
23235
23236#undef fp_enable
23237
23238/* Override any gcc2 internal prototype to avoid an error. */
23239#ifdef __cplusplus
23240extern "C"
23241{
23242#endif
23243/* We use char because int might match the return type of a gcc2
23244 builtin and then its argument prototype would still apply. */
23245char fp_enable ();
23246/* The GNU C library defines this for functions which it implements
23247 to always fail with ENOSYS. Some functions are actually named
23248 something starting with __ and the normal name is an alias. */
23249#if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23250choke me
23251#else
23252char (*f) () = fp_enable;
23253#endif
23254#ifdef __cplusplus
23255}
23256#endif
23257
23258int
23259main ()
23260{
23261return f != fp_enable;
23262 ;
23263 return 0;
23264}
23265_ACEOF
23266rm -f conftest.$ac_objext conftest$ac_exeext
23267if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23268 (eval $ac_link) 2>conftest.er1
23269 ac_status=$?
23270 grep -v '^ *+' conftest.er1 >conftest.err
23271 rm -f conftest.er1
23272 cat conftest.err >&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); } &&
57255173
PB
23275 { ac_try='test -z "$ac_c_werror_flag"
23276 || test ! -s conftest.err'
3b14f664
FXC
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; } &&
23282 { ac_try='test -s conftest$ac_exeext'
23283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23284 (eval $ac_try) 2>&5
23285 ac_status=$?
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); }; }; then
23288 ac_cv_func_fp_enable=yes
23289else
23290 echo "$as_me: failed program was:" >&5
23291sed 's/^/| /' conftest.$ac_ext >&5
23292
23293ac_cv_func_fp_enable=no
23294fi
23295rm -f conftest.err conftest.$ac_objext \
23296 conftest$ac_exeext conftest.$ac_ext
23297fi
23298echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23299echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23300if test $ac_cv_func_fp_enable = yes; then
23301 have_fp_enable=yes
23302cat >>confdefs.h <<\_ACEOF
23303#define HAVE_FP_ENABLE 1
23304_ACEOF
23305
23306fi
23307
23308
944b8b35
FXC
23309# Runs configure.host to set up necessary host-dependent shell variables.
23310# We then display a message about it, and propagate them through the
23311# build chain.
23312. ${srcdir}/configure.host
23313{ echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23314echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23315FPU_HOST_HEADER=config/${fpu_host}.h
23316
23317
96b8a615
AJ
23318# The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
23319# for struct timezone, as you might think. We also need to check how
23320# to call gettimeofday if we have it.
23321echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23322echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
23323if test "${ac_cv_header_time+set}" = set; then
6de9cd9a
DN
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325else
96b8a615
AJ
23326 cat >conftest.$ac_ext <<_ACEOF
23327/* confdefs.h. */
23328_ACEOF
23329cat confdefs.h >>conftest.$ac_ext
23330cat >>conftest.$ac_ext <<_ACEOF
23331/* end confdefs.h. */
23332#include <sys/types.h>
23333#include <sys/time.h>
23334#include <time.h>
23335
23336int
23337main ()
23338{
23339if ((struct tm *) 0)
23340return 0;
23341 ;
23342 return 0;
23343}
23344_ACEOF
23345rm -f conftest.$ac_objext
23346if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23347 (eval $ac_compile) 2>conftest.er1
23348 ac_status=$?
23349 grep -v '^ *+' conftest.er1 >conftest.err
23350 rm -f conftest.er1
23351 cat conftest.err >&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } &&
57255173
PB
23354 { ac_try='test -z "$ac_c_werror_flag"
23355 || test ! -s conftest.err'
96b8a615
AJ
23356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23357 (eval $ac_try) 2>&5
23358 ac_status=$?
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); }; } &&
23361 { ac_try='test -s conftest.$ac_objext'
23362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23363 (eval $ac_try) 2>&5
23364 ac_status=$?
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); }; }; then
23367 ac_cv_header_time=yes
23368else
23369 echo "$as_me: failed program was:" >&5
23370sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 23371
96b8a615 23372ac_cv_header_time=no
6de9cd9a 23373fi
96b8a615 23374rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a 23375fi
96b8a615
AJ
23376echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23377echo "${ECHO_T}$ac_cv_header_time" >&6
23378if test $ac_cv_header_time = yes; then
6de9cd9a 23379
96b8a615
AJ
23380cat >>confdefs.h <<\_ACEOF
23381#define TIME_WITH_SYS_TIME 1
23382_ACEOF
6de9cd9a 23383
6de9cd9a
DN
23384fi
23385
6de9cd9a 23386
96b8a615
AJ
23387
23388for ac_func in gettimeofday
23389do
23390as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23391echo "$as_me:$LINENO: checking for $ac_func" >&5
23392echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23393if eval "test \"\${$as_ac_var+set}\" = set"; then
6de9cd9a
DN
23394 echo $ECHO_N "(cached) $ECHO_C" >&6
23395else
f02d008e
JD
23396 if test x$gcc_no_link = xyes; then
23397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23398echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23399 { (exit 1); exit 1; }; }
23400fi
23401cat >conftest.$ac_ext <<_ACEOF
96b8a615
AJ
23402/* confdefs.h. */
23403_ACEOF
23404cat confdefs.h >>conftest.$ac_ext
23405cat >>conftest.$ac_ext <<_ACEOF
23406/* end confdefs.h. */
23407/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23409#define $ac_func innocuous_$ac_func
23410
23411/* System header to define __stub macros and hopefully few prototypes,
23412 which can conflict with char $ac_func (); below.
23413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23414 <limits.h> exists even on freestanding compilers. */
23415
23416#ifdef __STDC__
23417# include <limits.h>
23418#else
23419# include <assert.h>
23420#endif
23421
23422#undef $ac_func
23423
23424/* Override any gcc2 internal prototype to avoid an error. */
23425#ifdef __cplusplus
23426extern "C"
23427{
23428#endif
23429/* We use char because int might match the return type of a gcc2
23430 builtin and then its argument prototype would still apply. */
23431char $ac_func ();
23432/* The GNU C library defines this for functions which it implements
23433 to always fail with ENOSYS. Some functions are actually named
23434 something starting with __ and the normal name is an alias. */
23435#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23436choke me
23437#else
23438char (*f) () = $ac_func;
23439#endif
23440#ifdef __cplusplus
23441}
23442#endif
23443
23444int
23445main ()
23446{
23447return f != $ac_func;
23448 ;
23449 return 0;
23450}
23451_ACEOF
23452rm -f conftest.$ac_objext conftest$ac_exeext
23453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23454 (eval $ac_link) 2>conftest.er1
23455 ac_status=$?
23456 grep -v '^ *+' conftest.er1 >conftest.err
23457 rm -f conftest.er1
23458 cat conftest.err >&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
57255173
PB
23461 { ac_try='test -z "$ac_c_werror_flag"
23462 || test ! -s conftest.err'
96b8a615
AJ
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23465 ac_status=$?
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; } &&
23468 { ac_try='test -s conftest$ac_exeext'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23471 ac_status=$?
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; }; then
23474 eval "$as_ac_var=yes"
6de9cd9a 23475else
96b8a615
AJ
23476 echo "$as_me: failed program was:" >&5
23477sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 23478
96b8a615 23479eval "$as_ac_var=no"
6de9cd9a 23480fi
96b8a615
AJ
23481rm -f conftest.err conftest.$ac_objext \
23482 conftest$ac_exeext conftest.$ac_ext
6de9cd9a 23483fi
96b8a615
AJ
23484echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23485echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23486if test `eval echo '${'$as_ac_var'}'` = yes; then
23487 cat >>confdefs.h <<_ACEOF
23488#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23489_ACEOF
6de9cd9a
DN
23490
23491fi
6de9cd9a
DN
23492done
23493
96b8a615
AJ
23494 if test "$ac_cv_func_gettimeofday" = yes; then
23495 echo "$as_me:$LINENO: checking for struct timezone" >&5
23496echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
23497if test "${gfor_cv_struct_timezone+set}" = set; then
23498 echo $ECHO_N "(cached) $ECHO_C" >&6
23499else
23500 cat >conftest.$ac_ext <<_ACEOF
23501/* confdefs.h. */
23502_ACEOF
23503cat confdefs.h >>conftest.$ac_ext
23504cat >>conftest.$ac_ext <<_ACEOF
23505/* end confdefs.h. */
23506#include <sys/time.h>
23507int
23508main ()
23509{
23510struct timezone tz;
23511 ;
23512 return 0;
23513}
23514_ACEOF
23515rm -f conftest.$ac_objext
23516if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23517 (eval $ac_compile) 2>conftest.er1
23518 ac_status=$?
23519 grep -v '^ *+' conftest.er1 >conftest.err
23520 rm -f conftest.er1
23521 cat conftest.err >&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } &&
57255173
PB
23524 { ac_try='test -z "$ac_c_werror_flag"
23525 || test ! -s conftest.err'
96b8a615
AJ
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23528 ac_status=$?
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; } &&
23531 { ac_try='test -s conftest.$ac_objext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 gfor_cv_struct_timezone=yes
6de9cd9a 23538else
96b8a615
AJ
23539 echo "$as_me: failed program was:" >&5
23540sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 23541
96b8a615 23542gfor_cv_struct_timezone=no
6de9cd9a 23543fi
96b8a615
AJ
23544rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23545fi
23546echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
23547echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
23548 if test $gfor_cv_struct_timezone = yes; then
23549 if test "$cross_compiling" = yes; then
23550 gfor_have_struct_timezone=yes
6de9cd9a 23551else
96b8a615
AJ
23552 cat >conftest.$ac_ext <<_ACEOF
23553/* confdefs.h. */
23554_ACEOF
23555cat confdefs.h >>conftest.$ac_ext
23556cat >>conftest.$ac_ext <<_ACEOF
23557/* end confdefs.h. */
6de9cd9a 23558
96b8a615
AJ
23559#ifdef TIME_WITH_SYS_TIME
23560#include <sys/time.h>
23561#include <time.h>
23562#else
23563#ifdef HAVE_SYS_TIME_H
23564#include <sys/time.h>
23565#else
23566#include <time.h>
23567#endif
23568#endif
23569main ()
23570{
23571 struct timeval time;
23572 struct timezone dummy;
23573 if (gettimeofday (&time, &dummy))
23574 exit (1);
23575 else
23576 exit (0);
23577}
23578_ACEOF
23579rm -f conftest$ac_exeext
23580if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23581 (eval $ac_link) 2>&5
6de9cd9a
DN
23582 ac_status=$?
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
23584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
6de9cd9a
DN
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
23589 (exit $ac_status); }; }; then
23590 gfor_have_struct_timezone=yes
6de9cd9a 23591else
96b8a615
AJ
23592 echo "$as_me: program exited with status $ac_status" >&5
23593echo "$as_me: failed program was:" >&5
23594sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 23595
96b8a615
AJ
23596( exit $ac_status )
23597gfor_have_struct_timezone=no
23598fi
23599rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23600fi
23601 if test $gfor_have_struct_timezone = yes; then
6de9cd9a 23602
96b8a615
AJ
23603cat >>confdefs.h <<\_ACEOF
23604#define HAVE_TIMEZONE 1
23605_ACEOF
6de9cd9a 23606
96b8a615
AJ
23607 fi
23608 fi
23609
23610 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23611echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
23612if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23613 echo $ECHO_N "(cached) $ECHO_C" >&6
23614else
f02d008e
JD
23615 if test x$gcc_no_link = xyes; then
23616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23617echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23618 { (exit 1); exit 1; }; }
23619fi
23620cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
23621/* confdefs.h. */
23622_ACEOF
23623cat confdefs.h >>conftest.$ac_ext
23624cat >>conftest.$ac_ext <<_ACEOF
23625/* end confdefs.h. */
23626
96b8a615
AJ
23627#ifdef TIME_WITH_SYS_TIME
23628#include <sys/time.h>
23629#include <time.h>
23630#else
23631#ifdef HAVE_SYS_TIME_H
23632#include <sys/time.h>
23633#else
23634#include <time.h>
23635#endif
23636#endif
23637
6de9cd9a
DN
23638int
23639main ()
23640{
23641
96b8a615
AJ
23642 struct timeval time;
23643#ifdef HAVE_TIMEZONE
23644 struct timezone dummy;
23645#define DUMMY &dummy
23646#else
23647#define DUMMY NULL
23648#endif
23649 gettimeofday (&time, DUMMY);
6de9cd9a
DN
23650 ;
23651 return 0;
23652}
23653_ACEOF
23654rm -f conftest.$ac_objext conftest$ac_exeext
23655if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23656 (eval $ac_link) 2>conftest.er1
23657 ac_status=$?
23658 grep -v '^ *+' conftest.er1 >conftest.err
23659 rm -f conftest.er1
23660 cat conftest.err >&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } &&
57255173
PB
23663 { ac_try='test -z "$ac_c_werror_flag"
23664 || test ! -s conftest.err'
6de9cd9a
DN
23665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23666 (eval $ac_try) 2>&5
23667 ac_status=$?
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); }; } &&
23670 { ac_try='test -s conftest$ac_exeext'
23671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23672 (eval $ac_try) 2>&5
23673 ac_status=$?
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); }; }; then
96b8a615 23676 emacs_cv_gettimeofday_two_arguments=yes
6de9cd9a
DN
23677else
23678 echo "$as_me: failed program was:" >&5
23679sed 's/^/| /' conftest.$ac_ext >&5
23680
96b8a615 23681emacs_cv_gettimeofday_two_arguments=no
6de9cd9a
DN
23682fi
23683rm -f conftest.err conftest.$ac_objext \
23684 conftest$ac_exeext conftest.$ac_ext
6de9cd9a 23685fi
96b8a615
AJ
23686echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23687echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
23688 if test $emacs_cv_gettimeofday_two_arguments = no; then
6de9cd9a 23689
96b8a615
AJ
23690cat >>confdefs.h <<\_ACEOF
23691#define GETTIMEOFDAY_ONE_ARGUMENT 1
23692_ACEOF
6de9cd9a 23693
96b8a615
AJ
23694 fi
23695 fi
6de9cd9a 23696
3969c39f
EB
23697# Attempt to assert that the target is of common type in case we don't
23698# have C99 integer types at all.
23699
23700 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23701echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23702if test "${target_ilp32+set}" = set; then
23703 echo $ECHO_N "(cached) $ECHO_C" >&6
23704else
23705
23706 save_CFLAGS="$CFLAGS"
23707 CFLAGS="-O2"
f02d008e
JD
23708 if test x$gcc_no_link = xyes; then
23709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23710echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23711 { (exit 1); exit 1; }; }
23712fi
23713cat >conftest.$ac_ext <<_ACEOF
3969c39f
EB
23714/* confdefs.h. */
23715_ACEOF
23716cat confdefs.h >>conftest.$ac_ext
23717cat >>conftest.$ac_ext <<_ACEOF
23718/* end confdefs.h. */
23719
23720int
23721main ()
23722{
23723
23724if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23725 ;
23726else
23727 undefined_function ();
23728
23729 ;
23730 return 0;
23731}
23732_ACEOF
23733rm -f conftest.$ac_objext conftest$ac_exeext
23734if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23735 (eval $ac_link) 2>conftest.er1
23736 ac_status=$?
23737 grep -v '^ *+' conftest.er1 >conftest.err
23738 rm -f conftest.er1
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } &&
57255173
PB
23742 { ac_try='test -z "$ac_c_werror_flag"
23743 || test ! -s conftest.err'
3969c39f
EB
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try='test -s conftest$ac_exeext'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23752 ac_status=$?
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; }; then
23755 target_ilp32=yes
23756else
23757 echo "$as_me: failed program was:" >&5
23758sed 's/^/| /' conftest.$ac_ext >&5
23759
23760target_ilp32=no
23761fi
23762rm -f conftest.err conftest.$ac_objext \
23763 conftest$ac_exeext conftest.$ac_ext
23764 CFLAGS="$save_CFLAGS"
23765fi
23766echo "$as_me:$LINENO: result: $target_ilp32" >&5
23767echo "${ECHO_T}$target_ilp32" >&6
23768 if test $target_ilp32 = yes; then
23769
23770cat >>confdefs.h <<\_ACEOF
23771#define TARGET_ILP32 1
23772_ACEOF
23773
23774 fi
23775
23776
7d7b8bfe
RH
23777# Check out attribute support.
23778
23779 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23780echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23781if test "${have_attribute_visibility+set}" = set; then
23782 echo $ECHO_N "(cached) $ECHO_C" >&6
23783else
23784
23785 save_CFLAGS="$CFLAGS"
23786 CFLAGS="$CFLAGS -Werror"
23787 cat >conftest.$ac_ext <<_ACEOF
23788/* confdefs.h. */
23789_ACEOF
23790cat confdefs.h >>conftest.$ac_ext
23791cat >>conftest.$ac_ext <<_ACEOF
23792/* end confdefs.h. */
23793void __attribute__((visibility("hidden"))) foo(void) { }
23794int
23795main ()
23796{
23797
23798 ;
23799 return 0;
23800}
23801_ACEOF
23802rm -f conftest.$ac_objext
23803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23804 (eval $ac_compile) 2>conftest.er1
23805 ac_status=$?
23806 grep -v '^ *+' conftest.er1 >conftest.err
23807 rm -f conftest.er1
23808 cat conftest.err >&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); } &&
57255173
PB
23811 { ac_try='test -z "$ac_c_werror_flag"
23812 || test ! -s conftest.err'
7d7b8bfe
RH
23813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23814 (eval $ac_try) 2>&5
23815 ac_status=$?
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; } &&
23818 { ac_try='test -s conftest.$ac_objext'
23819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820 (eval $ac_try) 2>&5
23821 ac_status=$?
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); }; }; then
23824 have_attribute_visibility=yes
23825else
23826 echo "$as_me: failed program was:" >&5
23827sed 's/^/| /' conftest.$ac_ext >&5
23828
23829have_attribute_visibility=no
23830fi
23831rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23832 CFLAGS="$save_CFLAGS"
23833fi
23834echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23835echo "${ECHO_T}$have_attribute_visibility" >&6
23836 if test $have_attribute_visibility = yes; then
23837
23838cat >>confdefs.h <<\_ACEOF
23839#define HAVE_ATTRIBUTE_VISIBILITY 1
23840_ACEOF
23841
23842 fi
23843
23844 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23845echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23846if test "${have_attribute_dllexport+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23848else
23849
23850 save_CFLAGS="$CFLAGS"
23851 CFLAGS="$CFLAGS -Werror"
23852 cat >conftest.$ac_ext <<_ACEOF
23853/* confdefs.h. */
23854_ACEOF
23855cat confdefs.h >>conftest.$ac_ext
23856cat >>conftest.$ac_ext <<_ACEOF
23857/* end confdefs.h. */
23858void __attribute__((dllexport)) foo(void) { }
23859int
23860main ()
23861{
23862
23863 ;
23864 return 0;
23865}
23866_ACEOF
23867rm -f conftest.$ac_objext
23868if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23869 (eval $ac_compile) 2>conftest.er1
23870 ac_status=$?
23871 grep -v '^ *+' conftest.er1 >conftest.err
23872 rm -f conftest.er1
23873 cat conftest.err >&5
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); } &&
57255173
PB
23876 { ac_try='test -z "$ac_c_werror_flag"
23877 || test ! -s conftest.err'
7d7b8bfe
RH
23878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23879 (eval $ac_try) 2>&5
23880 ac_status=$?
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); }; } &&
23883 { ac_try='test -s conftest.$ac_objext'
23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23885 (eval $ac_try) 2>&5
23886 ac_status=$?
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; }; then
23889 have_attribute_dllexport=yes
23890else
23891 echo "$as_me: failed program was:" >&5
23892sed 's/^/| /' conftest.$ac_ext >&5
23893
23894have_attribute_dllexport=no
23895fi
23896rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23897 CFLAGS="$save_CFLAGS"
23898fi
23899echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23900echo "${ECHO_T}$have_attribute_dllexport" >&6
23901 if test $have_attribute_dllexport = yes; then
23902
23903cat >>confdefs.h <<\_ACEOF
23904#define HAVE_ATTRIBUTE_DLLEXPORT 1
23905_ACEOF
23906
23907 fi
23908
23909 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23910echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23911if test "${have_attribute_alias+set}" = set; then
23912 echo $ECHO_N "(cached) $ECHO_C" >&6
23913else
23914
f02d008e
JD
23915 if test x$gcc_no_link = xyes; then
23916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23917echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23918 { (exit 1); exit 1; }; }
23919fi
23920cat >conftest.$ac_ext <<_ACEOF
7d7b8bfe
RH
23921/* confdefs.h. */
23922_ACEOF
23923cat confdefs.h >>conftest.$ac_ext
23924cat >>conftest.$ac_ext <<_ACEOF
23925/* end confdefs.h. */
23926
7d7b8bfe 23927void foo(void) { }
16a314a9 23928extern void bar(void) __attribute__((alias("foo")));
7d7b8bfe
RH
23929int
23930main ()
23931{
23932bar();
23933 ;
23934 return 0;
23935}
23936_ACEOF
23937rm -f conftest.$ac_objext conftest$ac_exeext
23938if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23939 (eval $ac_link) 2>conftest.er1
23940 ac_status=$?
23941 grep -v '^ *+' conftest.er1 >conftest.err
23942 rm -f conftest.er1
23943 cat conftest.err >&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } &&
57255173
PB
23946 { ac_try='test -z "$ac_c_werror_flag"
23947 || test ! -s conftest.err'
7d7b8bfe
RH
23948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23949 (eval $ac_try) 2>&5
23950 ac_status=$?
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); }; } &&
23953 { ac_try='test -s conftest$ac_exeext'
23954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23955 (eval $ac_try) 2>&5
23956 ac_status=$?
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); }; }; then
23959 have_attribute_alias=yes
23960else
23961 echo "$as_me: failed program was:" >&5
23962sed 's/^/| /' conftest.$ac_ext >&5
23963
23964have_attribute_alias=no
23965fi
23966rm -f conftest.err conftest.$ac_objext \
23967 conftest$ac_exeext conftest.$ac_ext
23968fi
23969echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23970echo "${ECHO_T}$have_attribute_alias" >&6
23971 if test $have_attribute_alias = yes; then
23972
23973cat >>confdefs.h <<\_ACEOF
23974#define HAVE_ATTRIBUTE_ALIAS 1
23975_ACEOF
23976
23977 fi
23978
5e805e44
JJ
23979# Check out sync builtins support.
23980
23981 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23982echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23983if test "${have_sync_fetch_and_add+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23985else
23986
23987 if test x$gcc_no_link = xyes; then
23988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23989echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23990 { (exit 1); exit 1; }; }
23991fi
23992cat >conftest.$ac_ext <<_ACEOF
23993/* confdefs.h. */
23994_ACEOF
23995cat confdefs.h >>conftest.$ac_ext
23996cat >>conftest.$ac_ext <<_ACEOF
23997/* end confdefs.h. */
23998int foovar = 0;
23999int
24000main ()
24001{
24002
24003if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24004if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24005 ;
24006 return 0;
24007}
24008_ACEOF
24009rm -f conftest.$ac_objext conftest$ac_exeext
24010if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24011 (eval $ac_link) 2>conftest.er1
24012 ac_status=$?
24013 grep -v '^ *+' conftest.er1 >conftest.err
24014 rm -f conftest.er1
24015 cat conftest.err >&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); } &&
57255173
PB
24018 { ac_try='test -z "$ac_c_werror_flag"
24019 || test ! -s conftest.err'
5e805e44
JJ
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; } &&
24025 { ac_try='test -s conftest$ac_exeext'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24028 ac_status=$?
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; }; then
24031 have_sync_fetch_and_add=yes
24032else
24033 echo "$as_me: failed program was:" >&5
24034sed 's/^/| /' conftest.$ac_ext >&5
24035
24036have_sync_fetch_and_add=no
24037fi
24038rm -f conftest.err conftest.$ac_objext \
24039 conftest$ac_exeext conftest.$ac_ext
24040fi
24041echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
24042echo "${ECHO_T}$have_sync_fetch_and_add" >&6
24043 if test $have_sync_fetch_and_add = yes; then
24044
24045cat >>confdefs.h <<\_ACEOF
24046#define HAVE_SYNC_FETCH_AND_ADD 1
24047_ACEOF
24048
24049 fi
24050
24051# Check out thread support.
24052
24053 echo "$as_me:$LINENO: checking configured target thread model" >&5
24054echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
24055if test "${target_thread_file+set}" = set; then
24056 echo $ECHO_N "(cached) $ECHO_C" >&6
24057else
24058
24059target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24060fi
24061echo "$as_me:$LINENO: result: $target_thread_file" >&5
24062echo "${ECHO_T}$target_thread_file" >&6
24063
24064 if test $target_thread_file != single; then
24065
24066cat >>confdefs.h <<\_ACEOF
24067#define HAVE_GTHR_DEFAULT 1
24068_ACEOF
24069
24070 fi
24071
24072# Check out #pragma weak.
24073
24074 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
24075echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
24076if test "${have_pragma_weak+set}" = set; then
24077 echo $ECHO_N "(cached) $ECHO_C" >&6
24078else
24079
24080 gfor_save_CFLAGS="$CFLAGS"
24081 CFLAGS="$CFLAGS -Wunknown-pragmas"
24082 cat >conftest.$ac_ext <<_ACEOF
24083/* confdefs.h. */
24084_ACEOF
24085cat confdefs.h >>conftest.$ac_ext
24086cat >>conftest.$ac_ext <<_ACEOF
24087/* end confdefs.h. */
24088void foo (void);
24089#pragma weak foo
24090int
24091main ()
24092{
24093if (foo) foo ();
24094 ;
24095 return 0;
24096}
24097_ACEOF
24098rm -f conftest.$ac_objext
24099if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24100 (eval $ac_compile) 2>conftest.er1
24101 ac_status=$?
24102 grep -v '^ *+' conftest.er1 >conftest.err
24103 rm -f conftest.er1
24104 cat conftest.err >&5
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); } &&
57255173
PB
24107 { ac_try='test -z "$ac_c_werror_flag"
24108 || test ! -s conftest.err'
5e805e44
JJ
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; } &&
24114 { ac_try='test -s conftest.$ac_objext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24117 ac_status=$?
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120 have_pragma_weak=yes
24121else
24122 echo "$as_me: failed program was:" >&5
24123sed 's/^/| /' conftest.$ac_ext >&5
24124
24125have_pragma_weak=no
24126fi
24127rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24128fi
24129echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
24130echo "${ECHO_T}$have_pragma_weak" >&6
24131 if test $have_pragma_weak = yes; then
24132
24133cat >>confdefs.h <<\_ACEOF
e669bd2b 24134#define SUPPORTS_WEAK 1
5e805e44
JJ
24135_ACEOF
24136
24137 fi
e669bd2b
JJ
24138 case "$host" in
24139 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
24140
24141cat >>confdefs.h <<\_ACEOF
24142#define GTHREAD_USE_WEAK 0
24143_ACEOF
24144
24145 ;;
24146 esac
5e805e44 24147
10c682a0
FXC
24148# Various other checks on target
24149
24150 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
24151echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
24152if test "${have_unlink_open_file+set}" = set; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24154else
24155
24156 if test "$cross_compiling" = yes; then
24157
24158case "${target}" in
24159 *mingw*) have_unlink_open_file=no ;;
24160 *) have_unlink_open_file=yes;;
24161esac
24162else
24163 cat >conftest.$ac_ext <<_ACEOF
24164/* confdefs.h. */
24165_ACEOF
24166cat confdefs.h >>conftest.$ac_ext
24167cat >>conftest.$ac_ext <<_ACEOF
24168/* end confdefs.h. */
24169
24170#include <errno.h>
24171#include <fcntl.h>
24172#include <unistd.h>
24173#include <sys/stat.h>
24174
24175int main ()
24176{
24177 int fd;
24178
24179 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24180 if (fd <= 0)
24181 return 0;
24182 if (unlink ("testfile") == -1)
24183 return 1;
24184 write (fd, "This is a test\n", 15);
24185 close (fd);
24186
24187 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24188 return 0;
24189 else
24190 return 1;
24191}
24192_ACEOF
24193rm -f conftest$ac_exeext
24194if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24195 (eval $ac_link) 2>&5
24196 ac_status=$?
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200 (eval $ac_try) 2>&5
24201 ac_status=$?
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); }; }; then
24204 have_unlink_open_file=yes
24205else
24206 echo "$as_me: program exited with status $ac_status" >&5
24207echo "$as_me: failed program was:" >&5
24208sed 's/^/| /' conftest.$ac_ext >&5
24209
24210( exit $ac_status )
24211have_unlink_open_file=no
24212fi
24213rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24214fi
24215fi
24216echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
24217echo "${ECHO_T}$have_unlink_open_file" >&6
24218if test x"$have_unlink_open_file" = xyes; then
24219
24220cat >>confdefs.h <<\_ACEOF
24221#define HAVE_UNLINK_OPEN_FILE 1
24222_ACEOF
24223
24224fi
24225
3c127520
FXC
24226# Check whether line terminator is LF or CRLF
24227
24228 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
24229echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
24230if test "${have_crlf+set}" = set; then
24231 echo $ECHO_N "(cached) $ECHO_C" >&6
24232else
24233
24234 if test "$cross_compiling" = yes; then
24235
24236case "${target}" in
24237 *mingw*) have_crlf=yes ;;
24238 *) have_crlf=no;;
24239esac
24240else
24241 cat >conftest.$ac_ext <<_ACEOF
24242/* confdefs.h. */
24243_ACEOF
24244cat confdefs.h >>conftest.$ac_ext
24245cat >>conftest.$ac_ext <<_ACEOF
24246/* end confdefs.h. */
24247
24248/* This test program should exit with status 0 if system uses a CRLF as
24249 line terminator, and status 1 otherwise.
24250 Since it is used to check for mingw systems, and should return 0 in any
24251 other case, in case of a failure we will not use CRLF. */
24252#include <sys/stat.h>
24253#include <stdlib.h>
24254#include <fcntl.h>
24255#include <stdio.h>
24256
24257int main ()
24258{
24259#ifndef O_BINARY
24260 exit(1);
24261#else
24262 int fd, bytes;
24263 char buff[5];
24264
24265 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24266 if (fd < 0)
24267 exit(1);
24268 if (write (fd, "\n", 1) < 0)
24269 perror ("write");
24270
24271 close (fd);
24272
24273 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24274 exit(1);
24275 bytes = read (fd, buff, 5);
24276 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24277 exit(0);
24278 else
24279 exit(1);
24280#endif
24281}
24282_ACEOF
24283rm -f conftest$ac_exeext
24284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24285 (eval $ac_link) 2>&5
24286 ac_status=$?
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290 (eval $ac_try) 2>&5
24291 ac_status=$?
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); }; }; then
24294 have_crlf=yes
24295else
24296 echo "$as_me: program exited with status $ac_status" >&5
24297echo "$as_me: failed program was:" >&5
24298sed 's/^/| /' conftest.$ac_ext >&5
24299
24300( exit $ac_status )
24301have_crlf=no
24302fi
24303rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24304fi
24305fi
24306echo "$as_me:$LINENO: result: $have_crlf" >&5
24307echo "${ECHO_T}$have_crlf" >&6
24308if test x"$have_crlf" = xyes; then
24309
24310cat >>confdefs.h <<\_ACEOF
24311#define HAVE_CRLF 1
24312_ACEOF
24313
24314fi
24315
6de9cd9a
DN
24316cat >confcache <<\_ACEOF
24317# This file is a shell script that caches the results of configure
24318# tests run on this system so they can be shared between configure
24319# scripts and configure runs, see configure's option --config-cache.
24320# It is not useful on other systems. If it contains results you don't
24321# want to keep, you may remove or edit it.
24322#
24323# config.status only pays attention to the cache file if you give it
24324# the --recheck option to rerun configure.
24325#
24326# `ac_cv_env_foo' variables (set or unset) will be overridden when
24327# loading this file, other *unset* `ac_cv_foo' will be assigned the
24328# following values.
24329
24330_ACEOF
24331
24332# The following way of writing the cache mishandles newlines in values,
24333# but we know of no workaround that is simple, portable, and efficient.
24334# So, don't put newlines in cache variables' values.
24335# Ultrix sh set writes to stderr and can't be redirected directly,
24336# and sets the high bit in the cache file unless we assign to the vars.
24337{
24338 (set) 2>&1 |
24339 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24340 *ac_space=\ *)
24341 # `set' does not quote correctly, so add quotes (double-quote
24342 # substitution turns \\\\ into \\, and sed turns \\ into \).
24343 sed -n \
24344 "s/'/'\\\\''/g;
24345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24346 ;;
24347 *)
24348 # `set' quotes correctly as required by POSIX, so do not add quotes.
24349 sed -n \
24350 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24351 ;;
24352 esac;
24353} |
24354 sed '
24355 t clear
24356 : clear
24357 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24358 t end
24359 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24360 : end' >>confcache
24361if diff $cache_file confcache >/dev/null 2>&1; then :; else
24362 if test -w $cache_file; then
24363 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24364 cat confcache >$cache_file
24365 else
24366 echo "not updating unwritable cache $cache_file"
24367 fi
24368fi
24369rm -f confcache
24370
96b8a615
AJ
24371if test ${multilib} = yes; then
24372 multilib_arg="--enable-multilib"
6de9cd9a 24373else
96b8a615 24374 multilib_arg=
6de9cd9a 24375fi
6de9cd9a 24376
96b8a615 24377# Write our Makefile.
6de9cd9a 24378 ac_config_files="$ac_config_files Makefile"
96b8a615 24379
6de9cd9a
DN
24380cat >confcache <<\_ACEOF
24381# This file is a shell script that caches the results of configure
24382# tests run on this system so they can be shared between configure
24383# scripts and configure runs, see configure's option --config-cache.
24384# It is not useful on other systems. If it contains results you don't
24385# want to keep, you may remove or edit it.
24386#
24387# config.status only pays attention to the cache file if you give it
24388# the --recheck option to rerun configure.
24389#
24390# `ac_cv_env_foo' variables (set or unset) will be overridden when
24391# loading this file, other *unset* `ac_cv_foo' will be assigned the
24392# following values.
24393
24394_ACEOF
24395
24396# The following way of writing the cache mishandles newlines in values,
24397# but we know of no workaround that is simple, portable, and efficient.
24398# So, don't put newlines in cache variables' values.
24399# Ultrix sh set writes to stderr and can't be redirected directly,
24400# and sets the high bit in the cache file unless we assign to the vars.
24401{
24402 (set) 2>&1 |
24403 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24404 *ac_space=\ *)
24405 # `set' does not quote correctly, so add quotes (double-quote
24406 # substitution turns \\\\ into \\, and sed turns \\ into \).
24407 sed -n \
24408 "s/'/'\\\\''/g;
24409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24410 ;;
24411 *)
24412 # `set' quotes correctly as required by POSIX, so do not add quotes.
24413 sed -n \
24414 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24415 ;;
24416 esac;
24417} |
24418 sed '
24419 t clear
24420 : clear
24421 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24422 t end
24423 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24424 : end' >>confcache
24425if diff $cache_file confcache >/dev/null 2>&1; then :; else
24426 if test -w $cache_file; then
24427 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24428 cat confcache >$cache_file
24429 else
24430 echo "not updating unwritable cache $cache_file"
24431 fi
24432fi
24433rm -f confcache
24434
24435test "x$prefix" = xNONE && prefix=$ac_default_prefix
24436# Let make expand exec_prefix.
24437test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24438
24439# VPATH may cause trouble with some makes, so we remove $(srcdir),
24440# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24441# trailing colons and then remove the whole line if VPATH becomes empty
24442# (actually we leave an empty line to preserve line numbers).
24443if test "x$srcdir" = x.; then
24444 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24445s/:*\$(srcdir):*/:/;
24446s/:*\${srcdir}:*/:/;
24447s/:*@srcdir@:*/:/;
24448s/^\([^=]*=[ ]*\):*/\1/;
24449s/:*$//;
24450s/^[^=]*=[ ]*$//;
24451}'
24452fi
24453
24454DEFS=-DHAVE_CONFIG_H
24455
24456ac_libobjs=
24457ac_ltlibobjs=
24458for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24459 # 1. Remove the extension, and $U if already installed.
24460 ac_i=`echo "$ac_i" |
24461 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24462 # 2. Add them.
24463 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24464 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24465done
24466LIBOBJS=$ac_libobjs
24467
24468LTLIBOBJS=$ac_ltlibobjs
24469
24470
24471if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24472 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24473Usually this means the macro was only invoked conditionally." >&5
24474echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24475Usually this means the macro was only invoked conditionally." >&2;}
24476 { (exit 1); exit 1; }; }
24477fi
679c0f9a
TT
24478if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24479 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24480Usually this means the macro was only invoked conditionally." >&5
24481echo "$as_me: error: conditional \"AMDEP\" was never defined.
24482Usually this means the macro was only invoked conditionally." >&2;}
24483 { (exit 1); exit 1; }; }
24484fi
24485if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24486 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24487Usually this means the macro was only invoked conditionally." >&5
24488echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24489Usually this means the macro was only invoked conditionally." >&2;}
24490 { (exit 1); exit 1; }; }
24491fi
6de9cd9a
DN
24492
24493: ${CONFIG_STATUS=./config.status}
24494ac_clean_files_save=$ac_clean_files
24495ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24496{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24497echo "$as_me: creating $CONFIG_STATUS" >&6;}
24498cat >$CONFIG_STATUS <<_ACEOF
24499#! $SHELL
24500# Generated by $as_me.
24501# Run this file to recreate the current configuration.
24502# Compiler output produced by configure, useful for debugging
24503# configure, is in config.log if it exists.
24504
24505debug=false
24506ac_cs_recheck=false
24507ac_cs_silent=false
24508SHELL=\${CONFIG_SHELL-$SHELL}
24509_ACEOF
24510
24511cat >>$CONFIG_STATUS <<\_ACEOF
24512## --------------------- ##
24513## M4sh Initialization. ##
24514## --------------------- ##
24515
24516# Be Bourne compatible
24517if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24518 emulate sh
24519 NULLCMD=:
24520 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24521 # is contrary to our usage. Disable this feature.
24522 alias -g '${1+"$@"}'='"$@"'
24523elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24524 set -o posix
24525fi
24526DUALCASE=1; export DUALCASE # for MKS sh
24527
24528# Support unset when possible.
24529if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24530 as_unset=unset
24531else
24532 as_unset=false
24533fi
24534
24535
24536# Work around bugs in pre-3.0 UWIN ksh.
24537$as_unset ENV MAIL MAILPATH
24538PS1='$ '
24539PS2='> '
24540PS4='+ '
24541
24542# NLS nuisances.
24543for as_var in \
24544 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24545 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24546 LC_TELEPHONE LC_TIME
24547do
24548 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24549 eval $as_var=C; export $as_var
24550 else
24551 $as_unset $as_var
24552 fi
24553done
24554
24555# Required to use basename.
24556if expr a : '\(a\)' >/dev/null 2>&1; then
24557 as_expr=expr
24558else
24559 as_expr=false
24560fi
24561
24562if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24563 as_basename=basename
24564else
24565 as_basename=false
24566fi
24567
24568
24569# Name of the executable.
24570as_me=`$as_basename "$0" ||
24571$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24572 X"$0" : 'X\(//\)$' \| \
24573 X"$0" : 'X\(/\)$' \| \
24574 . : '\(.\)' 2>/dev/null ||
24575echo X/"$0" |
24576 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24577 /^X\/\(\/\/\)$/{ s//\1/; q; }
24578 /^X\/\(\/\).*/{ s//\1/; q; }
24579 s/.*/./; q'`
24580
24581
24582# PATH needs CR, and LINENO needs CR and PATH.
24583# Avoid depending upon Character Ranges.
24584as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24585as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24586as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24587as_cr_digits='0123456789'
24588as_cr_alnum=$as_cr_Letters$as_cr_digits
24589
24590# The user is always right.
24591if test "${PATH_SEPARATOR+set}" != set; then
24592 echo "#! /bin/sh" >conf$$.sh
24593 echo "exit 0" >>conf$$.sh
24594 chmod +x conf$$.sh
24595 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24596 PATH_SEPARATOR=';'
24597 else
24598 PATH_SEPARATOR=:
24599 fi
24600 rm -f conf$$.sh
24601fi
24602
24603
24604 as_lineno_1=$LINENO
24605 as_lineno_2=$LINENO
24606 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24607 test "x$as_lineno_1" != "x$as_lineno_2" &&
24608 test "x$as_lineno_3" = "x$as_lineno_2" || {
24609 # Find who we are. Look in the path if we contain no path at all
24610 # relative or not.
24611 case $0 in
24612 *[\\/]* ) as_myself=$0 ;;
24613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24614for as_dir in $PATH
24615do
24616 IFS=$as_save_IFS
24617 test -z "$as_dir" && as_dir=.
24618 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24619done
24620
24621 ;;
24622 esac
24623 # We did not find ourselves, most probably we were run as `sh COMMAND'
24624 # in which case we are not to be found in the path.
24625 if test "x$as_myself" = x; then
24626 as_myself=$0
24627 fi
24628 if test ! -f "$as_myself"; then
24629 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24630echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24631 { (exit 1); exit 1; }; }
24632 fi
24633 case $CONFIG_SHELL in
24634 '')
24635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24636for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24637do
24638 IFS=$as_save_IFS
24639 test -z "$as_dir" && as_dir=.
24640 for as_base in sh bash ksh sh5; do
24641 case $as_dir in
24642 /*)
24643 if ("$as_dir/$as_base" -c '
24644 as_lineno_1=$LINENO
24645 as_lineno_2=$LINENO
24646 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24647 test "x$as_lineno_1" != "x$as_lineno_2" &&
24648 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24649 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24650 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24651 CONFIG_SHELL=$as_dir/$as_base
24652 export CONFIG_SHELL
24653 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24654 fi;;
24655 esac
24656 done
24657done
24658;;
24659 esac
24660
24661 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24662 # uniformly replaced by the line number. The first 'sed' inserts a
24663 # line-number line before each line; the second 'sed' does the real
24664 # work. The second script uses 'N' to pair each line-number line
24665 # with the numbered line, and appends trailing '-' during
24666 # substitution so that $LINENO is not a special case at line end.
24667 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24668 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24669 sed '=' <$as_myself |
24670 sed '
24671 N
24672 s,$,-,
24673 : loop
24674 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24675 t loop
24676 s,-$,,
24677 s,^['$as_cr_digits']*\n,,
24678 ' >$as_me.lineno &&
24679 chmod +x $as_me.lineno ||
24680 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24681echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24682 { (exit 1); exit 1; }; }
24683
24684 # Don't try to exec as it changes $[0], causing all sort of problems
24685 # (the dirname of $[0] is not the place where we might find the
24686 # original and so on. Autoconf is especially sensible to this).
24687 . ./$as_me.lineno
24688 # Exit status is that of the last command.
24689 exit
24690}
24691
24692
24693case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24694 *c*,-n*) ECHO_N= ECHO_C='
24695' ECHO_T=' ' ;;
24696 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24697 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24698esac
24699
24700if expr a : '\(a\)' >/dev/null 2>&1; then
24701 as_expr=expr
24702else
24703 as_expr=false
24704fi
24705
24706rm -f conf$$ conf$$.exe conf$$.file
24707echo >conf$$.file
24708if ln -s conf$$.file conf$$ 2>/dev/null; then
24709 # We could just check for DJGPP; but this test a) works b) is more generic
24710 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24711 if test -f conf$$.exe; then
24712 # Don't use ln at all; we don't have any links
24713 as_ln_s='cp -p'
24714 else
24715 as_ln_s='ln -s'
24716 fi
24717elif ln conf$$.file conf$$ 2>/dev/null; then
24718 as_ln_s=ln
24719else
24720 as_ln_s='cp -p'
24721fi
24722rm -f conf$$ conf$$.exe conf$$.file
24723
24724if mkdir -p . 2>/dev/null; then
24725 as_mkdir_p=:
24726else
24727 test -d ./-p && rmdir ./-p
24728 as_mkdir_p=false
24729fi
24730
24731as_executable_p="test -f"
24732
24733# Sed expression to map a string onto a valid CPP name.
24734as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24735
24736# Sed expression to map a string onto a valid variable name.
24737as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24738
24739
24740# IFS
24741# We need space, tab and new line, in precisely that order.
24742as_nl='
24743'
24744IFS=" $as_nl"
24745
24746# CDPATH.
24747$as_unset CDPATH
24748
24749exec 6>&1
24750
24751# Open the log real soon, to keep \$[0] and so on meaningful, and to
24752# report actual input values of CONFIG_FILES etc. instead of their
24753# values after options handling. Logging --version etc. is OK.
24754exec 5>>config.log
24755{
24756 echo
24757 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24758## Running $as_me. ##
24759_ASBOX
24760} >&5
24761cat >&5 <<_CSEOF
24762
0dce3ca1 24763This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
6de9cd9a
DN
24764generated by GNU Autoconf 2.59. Invocation command line was
24765
24766 CONFIG_FILES = $CONFIG_FILES
24767 CONFIG_HEADERS = $CONFIG_HEADERS
24768 CONFIG_LINKS = $CONFIG_LINKS
24769 CONFIG_COMMANDS = $CONFIG_COMMANDS
24770 $ $0 $@
24771
24772_CSEOF
24773echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24774echo >&5
24775_ACEOF
24776
24777# Files that config.status was made for.
24778if test -n "$ac_config_files"; then
24779 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24780fi
24781
24782if test -n "$ac_config_headers"; then
24783 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24784fi
24785
24786if test -n "$ac_config_links"; then
24787 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24788fi
24789
24790if test -n "$ac_config_commands"; then
24791 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24792fi
24793
24794cat >>$CONFIG_STATUS <<\_ACEOF
24795
24796ac_cs_usage="\
24797\`$as_me' instantiates files from templates according to the
24798current configuration.
24799
24800Usage: $0 [OPTIONS] [FILE]...
24801
24802 -h, --help print this help, then exit
24803 -V, --version print version number, then exit
24804 -q, --quiet do not print progress messages
24805 -d, --debug don't remove temporary files
24806 --recheck update $as_me by reconfiguring in the same conditions
24807 --file=FILE[:TEMPLATE]
24808 instantiate the configuration file FILE
24809 --header=FILE[:TEMPLATE]
24810 instantiate the configuration header FILE
24811
24812Configuration files:
24813$config_files
24814
24815Configuration headers:
24816$config_headers
24817
24818Configuration commands:
24819$config_commands
24820
24821Report bugs to <bug-autoconf@gnu.org>."
24822_ACEOF
24823
24824cat >>$CONFIG_STATUS <<_ACEOF
24825ac_cs_version="\\
0dce3ca1 24826GNU Fortran Runtime Library config.status 0.3
6de9cd9a
DN
24827configured by $0, generated by GNU Autoconf 2.59,
24828 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24829
24830Copyright (C) 2003 Free Software Foundation, Inc.
24831This config.status script is free software; the Free Software Foundation
24832gives unlimited permission to copy, distribute and modify it."
24833srcdir=$srcdir
24834INSTALL="$INSTALL"
24835_ACEOF
24836
24837cat >>$CONFIG_STATUS <<\_ACEOF
24838# If no file are specified by the user, then we need to provide default
24839# value. By we need to know if files were specified by the user.
24840ac_need_defaults=:
24841while test $# != 0
24842do
24843 case $1 in
24844 --*=*)
24845 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24846 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24847 ac_shift=:
24848 ;;
24849 -*)
24850 ac_option=$1
24851 ac_optarg=$2
24852 ac_shift=shift
24853 ;;
24854 *) # This is not an option, so the user has probably given explicit
24855 # arguments.
24856 ac_option=$1
24857 ac_need_defaults=false;;
24858 esac
24859
24860 case $ac_option in
24861 # Handling of the options.
24862_ACEOF
24863cat >>$CONFIG_STATUS <<\_ACEOF
24864 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24865 ac_cs_recheck=: ;;
24866 --version | --vers* | -V )
24867 echo "$ac_cs_version"; exit 0 ;;
24868 --he | --h)
24869 # Conflict between --help and --header
24870 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24871Try \`$0 --help' for more information." >&5
24872echo "$as_me: error: ambiguous option: $1
24873Try \`$0 --help' for more information." >&2;}
24874 { (exit 1); exit 1; }; };;
24875 --help | --hel | -h )
24876 echo "$ac_cs_usage"; exit 0 ;;
24877 --debug | --d* | -d )
24878 debug=: ;;
24879 --file | --fil | --fi | --f )
24880 $ac_shift
24881 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24882 ac_need_defaults=false;;
24883 --header | --heade | --head | --hea )
24884 $ac_shift
24885 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24886 ac_need_defaults=false;;
24887 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24888 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24889 ac_cs_silent=: ;;
24890
24891 # This is an error.
24892 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24893Try \`$0 --help' for more information." >&5
24894echo "$as_me: error: unrecognized option: $1
24895Try \`$0 --help' for more information." >&2;}
24896 { (exit 1); exit 1; }; } ;;
24897
24898 *) ac_config_targets="$ac_config_targets $1" ;;
24899
24900 esac
24901 shift
24902done
24903
24904ac_configure_extra_args=
24905
24906if $ac_cs_silent; then
24907 exec 6>/dev/null
24908 ac_configure_extra_args="$ac_configure_extra_args --silent"
24909fi
24910
24911_ACEOF
24912cat >>$CONFIG_STATUS <<_ACEOF
24913if \$ac_cs_recheck; then
24914 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24915 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24916fi
24917
24918_ACEOF
24919
24920cat >>$CONFIG_STATUS <<_ACEOF
24921#
24922# INIT-COMMANDS section.
24923#
24924
96b8a615
AJ
24925
24926srcdir="$srcdir"
24927host="$host"
24928target="$target"
24929with_multisubdir="$with_multisubdir"
24930with_multisrctop="$with_multisrctop"
24931with_target_subdir="$with_target_subdir"
24932ac_configure_args="${multilib_arg} ${ac_configure_args}"
24933multi_basedir="$multi_basedir"
24934CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24935CC="$CC"
679c0f9a 24936AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6de9cd9a 24937
4c4b3eb0
PB
24938GCC="$GCC"
24939CC="$CC"
24940acx_cv_header_stdint="$acx_cv_header_stdint"
24941acx_cv_type_int8_t="$acx_cv_type_int8_t"
24942acx_cv_type_int16_t="$acx_cv_type_int16_t"
24943acx_cv_type_int32_t="$acx_cv_type_int32_t"
24944acx_cv_type_int64_t="$acx_cv_type_int64_t"
24945acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24946ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24947ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24948ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24949ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24950ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24951ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24952ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24953ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24954
24955
6de9cd9a
DN
24956_ACEOF
24957
24958
24959
24960cat >>$CONFIG_STATUS <<\_ACEOF
24961for ac_config_target in $ac_config_targets
24962do
24963 case "$ac_config_target" in
24964 # Handling of arguments.
24965 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
96b8a615 24966 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
679c0f9a 24967 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4c4b3eb0 24968 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
6de9cd9a
DN
24969 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24970 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24971echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24972 { (exit 1); exit 1; }; };;
24973 esac
24974done
24975
24976# If the user did not use the arguments to specify the items to instantiate,
24977# then the envvar interface is used. Set only those that are not.
24978# We use the long form for the default assignment because of an extremely
24979# bizarre bug on SunOS 4.1.3.
24980if $ac_need_defaults; then
24981 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24982 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24983 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24984fi
24985
24986# Have a temporary directory for convenience. Make it in the build tree
24987# simply because there is no reason to put it here, and in addition,
24988# creating and moving files from /tmp can sometimes cause problems.
24989# Create a temporary directory, and hook for its removal unless debugging.
24990$debug ||
24991{
24992 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24993 trap '{ (exit 1); exit 1; }' 1 2 13 15
24994}
24995
24996# Create a (secure) tmp directory for tmp files.
24997
24998{
24999 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
25000 test -n "$tmp" && test -d "$tmp"
25001} ||
25002{
25003 tmp=./confstat$$-$RANDOM
25004 (umask 077 && mkdir $tmp)
25005} ||
25006{
25007 echo "$me: cannot create a temporary directory in ." >&2
25008 { (exit 1); exit 1; }
25009}
25010
25011_ACEOF
25012
25013cat >>$CONFIG_STATUS <<_ACEOF
25014
25015#
25016# CONFIG_FILES section.
25017#
25018
25019# No need to generate the scripts if there are no CONFIG_FILES.
25020# This happens for instance when ./config.status config.h
25021if test -n "\$CONFIG_FILES"; then
25022 # Protect against being on the right side of a sed subst in config.status.
25023 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25024 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25025s,@SHELL@,$SHELL,;t t
25026s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25027s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25028s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25029s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25030s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25031s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25032s,@exec_prefix@,$exec_prefix,;t t
25033s,@prefix@,$prefix,;t t
25034s,@program_transform_name@,$program_transform_name,;t t
25035s,@bindir@,$bindir,;t t
25036s,@sbindir@,$sbindir,;t t
25037s,@libexecdir@,$libexecdir,;t t
25038s,@datadir@,$datadir,;t t
25039s,@sysconfdir@,$sysconfdir,;t t
25040s,@sharedstatedir@,$sharedstatedir,;t t
25041s,@localstatedir@,$localstatedir,;t t
25042s,@libdir@,$libdir,;t t
25043s,@includedir@,$includedir,;t t
25044s,@oldincludedir@,$oldincludedir,;t t
25045s,@infodir@,$infodir,;t t
25046s,@mandir@,$mandir,;t t
25047s,@build_alias@,$build_alias,;t t
25048s,@host_alias@,$host_alias,;t t
25049s,@target_alias@,$target_alias,;t t
25050s,@DEFS@,$DEFS,;t t
25051s,@ECHO_C@,$ECHO_C,;t t
25052s,@ECHO_N@,$ECHO_N,;t t
25053s,@ECHO_T@,$ECHO_T,;t t
25054s,@LIBS@,$LIBS,;t t
96b8a615
AJ
25055s,@build@,$build,;t t
25056s,@build_cpu@,$build_cpu,;t t
25057s,@build_vendor@,$build_vendor,;t t
25058s,@build_os@,$build_os,;t t
57255173 25059s,@build_libsubdir@,$build_libsubdir,;t t
891c05b1
JJ
25060s,@build_subdir@,$build_subdir,;t t
25061s,@host_subdir@,$host_subdir,;t t
25062s,@target_subdir@,$target_subdir,;t t
96b8a615
AJ
25063s,@host@,$host,;t t
25064s,@host_cpu@,$host_cpu,;t t
25065s,@host_vendor@,$host_vendor,;t t
25066s,@host_os@,$host_os,;t t
25067s,@target@,$target,;t t
25068s,@target_cpu@,$target_cpu,;t t
25069s,@target_vendor@,$target_vendor,;t t
25070s,@target_os@,$target_os,;t t
6de9cd9a
DN
25071s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25072s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25073s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25074s,@CYGPATH_W@,$CYGPATH_W,;t t
25075s,@PACKAGE@,$PACKAGE,;t t
25076s,@VERSION@,$VERSION,;t t
25077s,@ACLOCAL@,$ACLOCAL,;t t
25078s,@AUTOCONF@,$AUTOCONF,;t t
25079s,@AUTOMAKE@,$AUTOMAKE,;t t
25080s,@AUTOHEADER@,$AUTOHEADER,;t t
25081s,@MAKEINFO@,$MAKEINFO,;t t
6de9cd9a
DN
25082s,@install_sh@,$install_sh,;t t
25083s,@STRIP@,$STRIP,;t t
25084s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25085s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25086s,@mkdir_p@,$mkdir_p,;t t
25087s,@AWK@,$AWK,;t t
25088s,@SET_MAKE@,$SET_MAKE,;t t
25089s,@am__leading_dot@,$am__leading_dot,;t t
d49ec2d1
KC
25090s,@AMTAR@,$AMTAR,;t t
25091s,@am__tar@,$am__tar,;t t
25092s,@am__untar@,$am__untar,;t t
6de9cd9a
DN
25093s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25094s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25095s,@MAINT@,$MAINT,;t t
96b8a615 25096s,@multi_basedir@,$multi_basedir,;t t
96b8a615
AJ
25097s,@toolexecdir@,$toolexecdir,;t t
25098s,@toolexeclibdir@,$toolexeclibdir,;t t
6de9cd9a 25099s,@CC@,$CC,;t t
6de9cd9a
DN
25100s,@ac_ct_CC@,$ac_ct_CC,;t t
25101s,@EXEEXT@,$EXEEXT,;t t
25102s,@OBJEXT@,$OBJEXT,;t t
679c0f9a
TT
25103s,@DEPDIR@,$DEPDIR,;t t
25104s,@am__include@,$am__include,;t t
25105s,@am__quote@,$am__quote,;t t
25106s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25107s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25108s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25109s,@CCDEPMODE@,$CCDEPMODE,;t t
25110s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25111s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
e606fb39
AJ
25112s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
25113s,@AM_CFLAGS@,$AM_CFLAGS,;t t
96b8a615
AJ
25114s,@AS@,$AS,;t t
25115s,@ac_ct_AS@,$ac_ct_AS,;t t
25116s,@AR@,$AR,;t t
25117s,@ac_ct_AR@,$ac_ct_AR,;t t
25118s,@RANLIB@,$RANLIB,;t t
25119s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25120s,@LN_S@,$LN_S,;t t
25121s,@LIBTOOL@,$LIBTOOL,;t t
25122s,@enable_shared@,$enable_shared,;t t
25123s,@enable_static@,$enable_static,;t t
c7a35fe9
AS
25124s,@FC@,$FC,;t t
25125s,@FCFLAGS@,$FCFLAGS,;t t
96b8a615 25126s,@LDFLAGS@,$LDFLAGS,;t t
c7a35fe9 25127s,@ac_ct_FC@,$ac_ct_FC,;t t
e87045f3 25128s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
6de9cd9a 25129s,@CPP@,$CPP,;t t
96b8a615 25130s,@CPPFLAGS@,$CPPFLAGS,;t t
6de9cd9a 25131s,@EGREP@,$EGREP,;t t
944b8b35 25132s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
6de9cd9a
DN
25133s,@LIBOBJS@,$LIBOBJS,;t t
25134s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25135CEOF
25136
25137_ACEOF
25138
25139 cat >>$CONFIG_STATUS <<\_ACEOF
25140 # Split the substitutions into bite-sized pieces for seds with
25141 # small command number limits, like on Digital OSF/1 and HP-UX.
25142 ac_max_sed_lines=48
25143 ac_sed_frag=1 # Number of current file.
25144 ac_beg=1 # First line for current file.
25145 ac_end=$ac_max_sed_lines # Line after last line for current file.
25146 ac_more_lines=:
25147 ac_sed_cmds=
25148 while $ac_more_lines; do
25149 if test $ac_beg -gt 1; then
25150 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25151 else
25152 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25153 fi
25154 if test ! -s $tmp/subs.frag; then
25155 ac_more_lines=false
25156 else
25157 # The purpose of the label and of the branching condition is to
25158 # speed up the sed processing (if there are no `@' at all, there
25159 # is no need to browse any of the substitutions).
25160 # These are the two extra sed commands mentioned above.
25161 (echo ':t
25162 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25163 if test -z "$ac_sed_cmds"; then
25164 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25165 else
25166 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25167 fi
25168 ac_sed_frag=`expr $ac_sed_frag + 1`
25169 ac_beg=$ac_end
25170 ac_end=`expr $ac_end + $ac_max_sed_lines`
25171 fi
25172 done
25173 if test -z "$ac_sed_cmds"; then
25174 ac_sed_cmds=cat
25175 fi
25176fi # test -n "$CONFIG_FILES"
25177
25178_ACEOF
25179cat >>$CONFIG_STATUS <<\_ACEOF
25180for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25181 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25182 case $ac_file in
25183 - | *:- | *:-:* ) # input from stdin
25184 cat >$tmp/stdin
25185 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25186 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25187 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25188 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25189 * ) ac_file_in=$ac_file.in ;;
25190 esac
25191
25192 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25193 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25194$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25195 X"$ac_file" : 'X\(//\)[^/]' \| \
25196 X"$ac_file" : 'X\(//\)$' \| \
25197 X"$ac_file" : 'X\(/\)' \| \
25198 . : '\(.\)' 2>/dev/null ||
25199echo X"$ac_file" |
25200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25202 /^X\(\/\/\)$/{ s//\1/; q; }
25203 /^X\(\/\).*/{ s//\1/; q; }
25204 s/.*/./; q'`
25205 { if $as_mkdir_p; then
25206 mkdir -p "$ac_dir"
25207 else
25208 as_dir="$ac_dir"
25209 as_dirs=
25210 while test ! -d "$as_dir"; do
25211 as_dirs="$as_dir $as_dirs"
25212 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25213$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25214 X"$as_dir" : 'X\(//\)[^/]' \| \
25215 X"$as_dir" : 'X\(//\)$' \| \
25216 X"$as_dir" : 'X\(/\)' \| \
25217 . : '\(.\)' 2>/dev/null ||
25218echo X"$as_dir" |
25219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25220 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25221 /^X\(\/\/\)$/{ s//\1/; q; }
25222 /^X\(\/\).*/{ s//\1/; q; }
25223 s/.*/./; q'`
25224 done
25225 test ! -n "$as_dirs" || mkdir $as_dirs
25226 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25227echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25228 { (exit 1); exit 1; }; }; }
25229
25230 ac_builddir=.
25231
25232if test "$ac_dir" != .; then
25233 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25234 # A "../" for each directory in $ac_dir_suffix.
25235 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25236else
25237 ac_dir_suffix= ac_top_builddir=
25238fi
25239
25240case $srcdir in
25241 .) # No --srcdir option. We are building in place.
25242 ac_srcdir=.
25243 if test -z "$ac_top_builddir"; then
25244 ac_top_srcdir=.
25245 else
25246 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25247 fi ;;
25248 [\\/]* | ?:[\\/]* ) # Absolute path.
25249 ac_srcdir=$srcdir$ac_dir_suffix;
25250 ac_top_srcdir=$srcdir ;;
25251 *) # Relative path.
25252 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25253 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25254esac
25255
25256# Do not use `cd foo && pwd` to compute absolute paths, because
25257# the directories may not exist.
25258case `pwd` in
25259.) ac_abs_builddir="$ac_dir";;
25260*)
25261 case "$ac_dir" in
25262 .) ac_abs_builddir=`pwd`;;
25263 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25264 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25265 esac;;
25266esac
25267case $ac_abs_builddir in
25268.) ac_abs_top_builddir=${ac_top_builddir}.;;
25269*)
25270 case ${ac_top_builddir}. in
25271 .) ac_abs_top_builddir=$ac_abs_builddir;;
25272 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25273 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25274 esac;;
25275esac
25276case $ac_abs_builddir in
25277.) ac_abs_srcdir=$ac_srcdir;;
25278*)
25279 case $ac_srcdir in
25280 .) ac_abs_srcdir=$ac_abs_builddir;;
25281 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25282 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25283 esac;;
25284esac
25285case $ac_abs_builddir in
25286.) ac_abs_top_srcdir=$ac_top_srcdir;;
25287*)
25288 case $ac_top_srcdir in
25289 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25290 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25291 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25292 esac;;
25293esac
25294
25295
25296 case $INSTALL in
25297 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25298 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25299 esac
25300
57255173
PB
25301 if test x"$ac_file" != x-; then
25302 { echo "$as_me:$LINENO: creating $ac_file" >&5
25303echo "$as_me: creating $ac_file" >&6;}
25304 rm -f "$ac_file"
25305 fi
6de9cd9a
DN
25306 # Let's still pretend it is `configure' which instantiates (i.e., don't
25307 # use $as_me), people would be surprised to read:
25308 # /* config.h. Generated by config.status. */
25309 if test x"$ac_file" = x-; then
25310 configure_input=
25311 else
25312 configure_input="$ac_file. "
25313 fi
25314 configure_input=$configure_input"Generated from `echo $ac_file_in |
25315 sed 's,.*/,,'` by configure."
25316
25317 # First look for the input files in the build tree, otherwise in the
25318 # src tree.
25319 ac_file_inputs=`IFS=:
25320 for f in $ac_file_in; do
25321 case $f in
25322 -) echo $tmp/stdin ;;
25323 [\\/$]*)
25324 # Absolute (can't be DOS-style, as IFS=:)
25325 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25326echo "$as_me: error: cannot find input file: $f" >&2;}
25327 { (exit 1); exit 1; }; }
25328 echo "$f";;
25329 *) # Relative
25330 if test -f "$f"; then
25331 # Build tree
25332 echo "$f"
25333 elif test -f "$srcdir/$f"; then
25334 # Source tree
25335 echo "$srcdir/$f"
25336 else
25337 # /dev/null tree
25338 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25339echo "$as_me: error: cannot find input file: $f" >&2;}
25340 { (exit 1); exit 1; }; }
25341 fi;;
25342 esac
25343 done` || { (exit 1); exit 1; }
6de9cd9a
DN
25344_ACEOF
25345cat >>$CONFIG_STATUS <<_ACEOF
25346 sed "$ac_vpsub
25347$extrasub
25348_ACEOF
25349cat >>$CONFIG_STATUS <<\_ACEOF
25350:t
25351/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25352s,@configure_input@,$configure_input,;t t
25353s,@srcdir@,$ac_srcdir,;t t
25354s,@abs_srcdir@,$ac_abs_srcdir,;t t
25355s,@top_srcdir@,$ac_top_srcdir,;t t
25356s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25357s,@builddir@,$ac_builddir,;t t
25358s,@abs_builddir@,$ac_abs_builddir,;t t
25359s,@top_builddir@,$ac_top_builddir,;t t
25360s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25361s,@INSTALL@,$ac_INSTALL,;t t
25362" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25363 rm -f $tmp/stdin
25364 if test x"$ac_file" != x-; then
25365 mv $tmp/out $ac_file
25366 else
25367 cat $tmp/out
25368 rm -f $tmp/out
25369 fi
25370
25371done
25372_ACEOF
25373cat >>$CONFIG_STATUS <<\_ACEOF
25374
25375#
25376# CONFIG_HEADER section.
25377#
25378
25379# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25380# NAME is the cpp macro being defined and VALUE is the value it is being given.
25381#
25382# ac_d sets the value in "#define NAME VALUE" lines.
25383ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25384ac_dB='[ ].*$,\1#\2'
25385ac_dC=' '
25386ac_dD=',;t'
25387# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25388ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25389ac_uB='$,\1#\2define\3'
25390ac_uC=' '
25391ac_uD=',;t'
25392
25393for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25394 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25395 case $ac_file in
25396 - | *:- | *:-:* ) # input from stdin
25397 cat >$tmp/stdin
25398 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25399 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25400 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25401 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25402 * ) ac_file_in=$ac_file.in ;;
25403 esac
25404
25405 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25406echo "$as_me: creating $ac_file" >&6;}
25407
25408 # First look for the input files in the build tree, otherwise in the
25409 # src tree.
25410 ac_file_inputs=`IFS=:
25411 for f in $ac_file_in; do
25412 case $f in
25413 -) echo $tmp/stdin ;;
25414 [\\/$]*)
25415 # Absolute (can't be DOS-style, as IFS=:)
25416 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25417echo "$as_me: error: cannot find input file: $f" >&2;}
25418 { (exit 1); exit 1; }; }
25419 # Do quote $f, to prevent DOS paths from being IFS'd.
25420 echo "$f";;
25421 *) # Relative
25422 if test -f "$f"; then
25423 # Build tree
25424 echo "$f"
25425 elif test -f "$srcdir/$f"; then
25426 # Source tree
25427 echo "$srcdir/$f"
25428 else
25429 # /dev/null tree
25430 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25431echo "$as_me: error: cannot find input file: $f" >&2;}
25432 { (exit 1); exit 1; }; }
25433 fi;;
25434 esac
25435 done` || { (exit 1); exit 1; }
25436 # Remove the trailing spaces.
25437 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25438
25439_ACEOF
25440
25441# Transform confdefs.h into two sed scripts, `conftest.defines' and
25442# `conftest.undefs', that substitutes the proper values into
25443# config.h.in to produce config.h. The first handles `#define'
25444# templates, and the second `#undef' templates.
25445# And first: Protect against being on the right side of a sed subst in
25446# config.status. Protect against being in an unquoted here document
25447# in config.status.
25448rm -f conftest.defines conftest.undefs
25449# Using a here document instead of a string reduces the quoting nightmare.
25450# Putting comments in sed scripts is not portable.
25451#
25452# `end' is used to avoid that the second main sed command (meant for
25453# 0-ary CPP macros) applies to n-ary macro definitions.
25454# See the Autoconf documentation for `clear'.
25455cat >confdef2sed.sed <<\_ACEOF
25456s/[\\&,]/\\&/g
25457s,[\\$`],\\&,g
25458t clear
25459: clear
25460s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25461t end
25462s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25463: end
25464_ACEOF
25465# If some macros were called several times there might be several times
25466# the same #defines, which is useless. Nevertheless, we may not want to
25467# sort them, since we want the *last* AC-DEFINE to be honored.
25468uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25469sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25470rm -f confdef2sed.sed
25471
25472# This sed command replaces #undef with comments. This is necessary, for
25473# example, in the case of _POSIX_SOURCE, which is predefined and required
25474# on some systems where configure will not decide to define it.
25475cat >>conftest.undefs <<\_ACEOF
25476s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25477_ACEOF
25478
25479# Break up conftest.defines because some shells have a limit on the size
25480# of here documents, and old seds have small limits too (100 cmds).
25481echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25482echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25483echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25484echo ' :' >>$CONFIG_STATUS
25485rm -f conftest.tail
25486while grep . conftest.defines >/dev/null
25487do
25488 # Write a limited-size here document to $tmp/defines.sed.
25489 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25490 # Speed up: don't consider the non `#define' lines.
25491 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25492 # Work around the forget-to-reset-the-flag bug.
25493 echo 't clr' >>$CONFIG_STATUS
25494 echo ': clr' >>$CONFIG_STATUS
25495 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25496 echo 'CEOF
25497 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25498 rm -f $tmp/in
25499 mv $tmp/out $tmp/in
25500' >>$CONFIG_STATUS
25501 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25502 rm -f conftest.defines
25503 mv conftest.tail conftest.defines
25504done
25505rm -f conftest.defines
25506echo ' fi # grep' >>$CONFIG_STATUS
25507echo >>$CONFIG_STATUS
25508
25509# Break up conftest.undefs because some shells have a limit on the size
25510# of here documents, and old seds have small limits too (100 cmds).
25511echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25512rm -f conftest.tail
25513while grep . conftest.undefs >/dev/null
25514do
25515 # Write a limited-size here document to $tmp/undefs.sed.
25516 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25517 # Speed up: don't consider the non `#undef'
25518 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25519 # Work around the forget-to-reset-the-flag bug.
25520 echo 't clr' >>$CONFIG_STATUS
25521 echo ': clr' >>$CONFIG_STATUS
25522 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25523 echo 'CEOF
25524 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25525 rm -f $tmp/in
25526 mv $tmp/out $tmp/in
25527' >>$CONFIG_STATUS
25528 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25529 rm -f conftest.undefs
25530 mv conftest.tail conftest.undefs
25531done
25532rm -f conftest.undefs
25533
25534cat >>$CONFIG_STATUS <<\_ACEOF
25535 # Let's still pretend it is `configure' which instantiates (i.e., don't
25536 # use $as_me), people would be surprised to read:
25537 # /* config.h. Generated by config.status. */
25538 if test x"$ac_file" = x-; then
25539 echo "/* Generated by configure. */" >$tmp/config.h
25540 else
25541 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25542 fi
25543 cat $tmp/in >>$tmp/config.h
25544 rm -f $tmp/in
25545 if test x"$ac_file" != x-; then
25546 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25547 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25548echo "$as_me: $ac_file is unchanged" >&6;}
25549 else
25550 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25551$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25552 X"$ac_file" : 'X\(//\)[^/]' \| \
25553 X"$ac_file" : 'X\(//\)$' \| \
25554 X"$ac_file" : 'X\(/\)' \| \
25555 . : '\(.\)' 2>/dev/null ||
25556echo X"$ac_file" |
25557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25558 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25559 /^X\(\/\/\)$/{ s//\1/; q; }
25560 /^X\(\/\).*/{ s//\1/; q; }
25561 s/.*/./; q'`
25562 { if $as_mkdir_p; then
25563 mkdir -p "$ac_dir"
25564 else
25565 as_dir="$ac_dir"
25566 as_dirs=
25567 while test ! -d "$as_dir"; do
25568 as_dirs="$as_dir $as_dirs"
25569 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25570$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25571 X"$as_dir" : 'X\(//\)[^/]' \| \
25572 X"$as_dir" : 'X\(//\)$' \| \
25573 X"$as_dir" : 'X\(/\)' \| \
25574 . : '\(.\)' 2>/dev/null ||
25575echo X"$as_dir" |
25576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25577 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25578 /^X\(\/\/\)$/{ s//\1/; q; }
25579 /^X\(\/\).*/{ s//\1/; q; }
25580 s/.*/./; q'`
25581 done
25582 test ! -n "$as_dirs" || mkdir $as_dirs
25583 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25584echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25585 { (exit 1); exit 1; }; }; }
25586
25587 rm -f $ac_file
25588 mv $tmp/config.h $ac_file
25589 fi
25590 else
25591 cat $tmp/config.h
25592 rm -f $tmp/config.h
25593 fi
25594# Compute $ac_file's index in $config_headers.
25595_am_stamp_count=1
25596for _am_header in $config_headers :; do
25597 case $_am_header in
25598 $ac_file | $ac_file:* )
25599 break ;;
25600 * )
25601 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25602 esac
25603done
25604echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25605$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25606 X$ac_file : 'X\(//\)[^/]' \| \
25607 X$ac_file : 'X\(//\)$' \| \
25608 X$ac_file : 'X\(/\)' \| \
25609 . : '\(.\)' 2>/dev/null ||
25610echo X$ac_file |
25611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25613 /^X\(\/\/\)$/{ s//\1/; q; }
25614 /^X\(\/\).*/{ s//\1/; q; }
25615 s/.*/./; q'`/stamp-h$_am_stamp_count
25616done
25617_ACEOF
25618cat >>$CONFIG_STATUS <<\_ACEOF
25619
25620#
25621# CONFIG_COMMANDS section.
25622#
25623for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25624 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25625 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25626 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25627$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25628 X"$ac_dest" : 'X\(//\)[^/]' \| \
25629 X"$ac_dest" : 'X\(//\)$' \| \
25630 X"$ac_dest" : 'X\(/\)' \| \
25631 . : '\(.\)' 2>/dev/null ||
25632echo X"$ac_dest" |
25633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25634 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25635 /^X\(\/\/\)$/{ s//\1/; q; }
25636 /^X\(\/\).*/{ s//\1/; q; }
25637 s/.*/./; q'`
25638 { if $as_mkdir_p; then
25639 mkdir -p "$ac_dir"
25640 else
25641 as_dir="$ac_dir"
25642 as_dirs=
25643 while test ! -d "$as_dir"; do
25644 as_dirs="$as_dir $as_dirs"
25645 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25646$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25647 X"$as_dir" : 'X\(//\)[^/]' \| \
25648 X"$as_dir" : 'X\(//\)$' \| \
25649 X"$as_dir" : 'X\(/\)' \| \
25650 . : '\(.\)' 2>/dev/null ||
25651echo X"$as_dir" |
25652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25653 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25654 /^X\(\/\/\)$/{ s//\1/; q; }
25655 /^X\(\/\).*/{ s//\1/; q; }
25656 s/.*/./; q'`
25657 done
25658 test ! -n "$as_dirs" || mkdir $as_dirs
25659 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25660echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25661 { (exit 1); exit 1; }; }; }
25662
25663 ac_builddir=.
25664
25665if test "$ac_dir" != .; then
25666 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25667 # A "../" for each directory in $ac_dir_suffix.
25668 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25669else
25670 ac_dir_suffix= ac_top_builddir=
25671fi
25672
25673case $srcdir in
25674 .) # No --srcdir option. We are building in place.
25675 ac_srcdir=.
25676 if test -z "$ac_top_builddir"; then
25677 ac_top_srcdir=.
25678 else
25679 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25680 fi ;;
25681 [\\/]* | ?:[\\/]* ) # Absolute path.
25682 ac_srcdir=$srcdir$ac_dir_suffix;
25683 ac_top_srcdir=$srcdir ;;
25684 *) # Relative path.
25685 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25686 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25687esac
25688
25689# Do not use `cd foo && pwd` to compute absolute paths, because
25690# the directories may not exist.
25691case `pwd` in
25692.) ac_abs_builddir="$ac_dir";;
25693*)
25694 case "$ac_dir" in
25695 .) ac_abs_builddir=`pwd`;;
25696 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25697 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25698 esac;;
25699esac
25700case $ac_abs_builddir in
25701.) ac_abs_top_builddir=${ac_top_builddir}.;;
25702*)
25703 case ${ac_top_builddir}. in
25704 .) ac_abs_top_builddir=$ac_abs_builddir;;
25705 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25706 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25707 esac;;
25708esac
25709case $ac_abs_builddir in
25710.) ac_abs_srcdir=$ac_srcdir;;
25711*)
25712 case $ac_srcdir in
25713 .) ac_abs_srcdir=$ac_abs_builddir;;
25714 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25715 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25716 esac;;
25717esac
25718case $ac_abs_builddir in
25719.) ac_abs_top_srcdir=$ac_top_srcdir;;
25720*)
25721 case $ac_top_srcdir in
25722 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25723 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25724 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25725 esac;;
25726esac
25727
25728
25729 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25730echo "$as_me: executing $ac_dest commands" >&6;}
25731 case $ac_dest in
96b8a615
AJ
25732 default-1 )
25733# Only add multilib support code if we just rebuilt the top-level
25734# Makefile.
25735case " $CONFIG_FILES " in
25736 *" Makefile "*)
25737 ac_file=Makefile . ${multi_basedir}/config-ml.in
25738 ;;
25739esac ;;
679c0f9a
TT
25740 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25741 # Strip MF so we end up with the name of the file.
25742 mf=`echo "$mf" | sed -e 's/:.*$//'`
25743 # Check whether this is an Automake generated Makefile or not.
25744 # We used to match only the files named `Makefile.in', but
25745 # some people rename them; so instead we look at the file content.
25746 # Grep'ing the first line is not enough: some people post-process
25747 # each Makefile.in and add a new line on top of each file to say so.
25748 # So let's grep whole file.
25749 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25750 dirpart=`(dirname "$mf") 2>/dev/null ||
25751$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25752 X"$mf" : 'X\(//\)[^/]' \| \
25753 X"$mf" : 'X\(//\)$' \| \
25754 X"$mf" : 'X\(/\)' \| \
25755 . : '\(.\)' 2>/dev/null ||
25756echo X"$mf" |
25757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25759 /^X\(\/\/\)$/{ s//\1/; q; }
25760 /^X\(\/\).*/{ s//\1/; q; }
25761 s/.*/./; q'`
25762 else
25763 continue
25764 fi
25765 # Extract the definition of DEPDIR, am__include, and am__quote
25766 # from the Makefile without running `make'.
25767 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25768 test -z "$DEPDIR" && continue
25769 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25770 test -z "am__include" && continue
25771 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25772 # When using ansi2knr, U may be empty or an underscore; expand it
25773 U=`sed -n 's/^U = //p' < "$mf"`
25774 # Find all dependency output files, they are included files with
25775 # $(DEPDIR) in their names. We invoke sed twice because it is the
25776 # simplest approach to changing $(DEPDIR) to its actual value in the
25777 # expansion.
25778 for file in `sed -n "
25779 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25780 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25781 # Make sure the directory exists.
25782 test -f "$dirpart/$file" && continue
25783 fdir=`(dirname "$file") 2>/dev/null ||
25784$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25785 X"$file" : 'X\(//\)[^/]' \| \
25786 X"$file" : 'X\(//\)$' \| \
25787 X"$file" : 'X\(/\)' \| \
25788 . : '\(.\)' 2>/dev/null ||
25789echo X"$file" |
25790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25792 /^X\(\/\/\)$/{ s//\1/; q; }
25793 /^X\(\/\).*/{ s//\1/; q; }
25794 s/.*/./; q'`
25795 { if $as_mkdir_p; then
25796 mkdir -p $dirpart/$fdir
25797 else
25798 as_dir=$dirpart/$fdir
25799 as_dirs=
25800 while test ! -d "$as_dir"; do
25801 as_dirs="$as_dir $as_dirs"
25802 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25803$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25804 X"$as_dir" : 'X\(//\)[^/]' \| \
25805 X"$as_dir" : 'X\(//\)$' \| \
25806 X"$as_dir" : 'X\(/\)' \| \
25807 . : '\(.\)' 2>/dev/null ||
25808echo X"$as_dir" |
25809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25811 /^X\(\/\/\)$/{ s//\1/; q; }
25812 /^X\(\/\).*/{ s//\1/; q; }
25813 s/.*/./; q'`
25814 done
25815 test ! -n "$as_dirs" || mkdir $as_dirs
25816 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25817echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25818 { (exit 1); exit 1; }; }; }
25819
25820 # echo "creating $dirpart/$file"
25821 echo '# dummy' > "$dirpart/$file"
25822 done
25823done
25824 ;;
4c4b3eb0
PB
25825 gstdint.h )
25826if test "$GCC" = yes; then
25827 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25828else
25829 echo "/* generated for $CC */" > tmp-stdint.h
25830fi
25831
25832sed 's/^ *//' >> tmp-stdint.h <<EOF
25833
25834 #ifndef GCC_GENERATED_STDINT_H
25835 #define GCC_GENERATED_STDINT_H 1
25836
25837 #include <sys/types.h>
25838EOF
25839
25840if test "$acx_cv_header_stdint" != stdint.h; then
25841 echo "#include <stddef.h>" >> tmp-stdint.h
25842fi
25843if test "$acx_cv_header_stdint" != stddef.h; then
25844 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25845fi
25846
25847sed 's/^ *//' >> tmp-stdint.h <<EOF
25848 /* glibc uses these symbols as guards to prevent redefinitions. */
25849 #ifdef __int8_t_defined
25850 #define _INT8_T
25851 #define _INT16_T
25852 #define _INT32_T
25853 #endif
25854 #ifdef __uint32_t_defined
25855 #define _UINT32_T
25856 #endif
25857
25858EOF
25859
25860# ----------------- done header, emit basic int types -------------
25861if test "$acx_cv_header_stdint" = stddef.h; then
25862 sed 's/^ *//' >> tmp-stdint.h <<EOF
25863
25864 #ifndef _UINT8_T
25865 #define _UINT8_T
25866 typedef unsigned $acx_cv_type_int8_t uint8_t;
25867 #endif
25868
25869 #ifndef _UINT16_T
25870 #define _UINT16_T
25871 typedef unsigned $acx_cv_type_int16_t uint16_t;
25872 #endif
25873
25874 #ifndef _UINT32_T
25875 #define _UINT32_T
25876 typedef unsigned $acx_cv_type_int32_t uint32_t;
25877 #endif
25878
25879 #ifndef _INT8_T
25880 #define _INT8_T
25881 typedef $acx_cv_type_int8_t int8_t;
25882 #endif
25883
25884 #ifndef _INT16_T
25885 #define _INT16_T
25886 typedef $acx_cv_type_int16_t int16_t;
25887 #endif
25888
25889 #ifndef _INT32_T
25890 #define _INT32_T
25891 typedef $acx_cv_type_int32_t int32_t;
25892 #endif
25893EOF
25894elif test "$ac_cv_type_u_int32_t" = yes; then
25895 sed 's/^ *//' >> tmp-stdint.h <<EOF
25896
25897 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25898 #ifndef _INT8_T
25899 #define _INT8_T
25900 #endif
25901 #ifndef _INT16_T
25902 #define _INT16_T
25903 #endif
25904 #ifndef _INT32_T
25905 #define _INT32_T
25906 #endif
25907
25908 #ifndef _UINT8_T
25909 #define _UINT8_T
25910 typedef u_int8_t uint8_t;
25911 #endif
25912
25913 #ifndef _UINT16_T
25914 #define _UINT16_T
25915 typedef u_int16_t uint16_t;
25916 #endif
25917
25918 #ifndef _UINT32_T
25919 #define _UINT32_T
25920 typedef u_int32_t uint32_t;
25921 #endif
25922EOF
25923else
25924 sed 's/^ *//' >> tmp-stdint.h <<EOF
25925
25926 /* Some systems have guard macros to prevent redefinitions, define them. */
25927 #ifndef _INT8_T
25928 #define _INT8_T
25929 #endif
25930 #ifndef _INT16_T
25931 #define _INT16_T
25932 #endif
25933 #ifndef _INT32_T
25934 #define _INT32_T
25935 #endif
25936 #ifndef _UINT8_T
25937 #define _UINT8_T
25938 #endif
25939 #ifndef _UINT16_T
25940 #define _UINT16_T
25941 #endif
25942 #ifndef _UINT32_T
25943 #define _UINT32_T
25944 #endif
25945EOF
25946fi
25947
25948# ------------- done basic int types, emit int64_t types ------------
25949if test "$ac_cv_type_uint64_t" = yes; then
25950 sed 's/^ *//' >> tmp-stdint.h <<EOF
25951
25952 /* system headers have good uint64_t and int64_t */
25953 #ifndef _INT64_T
25954 #define _INT64_T
25955 #endif
25956 #ifndef _UINT64_T
25957 #define _UINT64_T
25958 #endif
25959EOF
25960elif test "$ac_cv_type_u_int64_t" = yes; then
25961 sed 's/^ *//' >> tmp-stdint.h <<EOF
25962
25963 /* system headers have an u_int64_t (and int64_t) */
25964 #ifndef _INT64_T
25965 #define _INT64_T
25966 #endif
25967 #ifndef _UINT64_T
25968 #define _UINT64_T
25969 typedef u_int64_t uint64_t;
25970 #endif
25971EOF
25972elif test -n "$acx_cv_type_int64_t"; then
25973 sed 's/^ *//' >> tmp-stdint.h <<EOF
25974
25975 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25976 #ifndef _INT64_T
25977 #define _INT64_T
25978 typedef $acx_cv_type_int64_t int64_t;
25979 #endif
25980 #ifndef _UINT64_T
25981 #define _UINT64_T
25982 typedef unsigned $acx_cv_type_int64_t uint64_t;
25983 #endif
25984EOF
25985else
25986 sed 's/^ *//' >> tmp-stdint.h <<EOF
25987
25988 /* some common heuristics for int64_t, using compiler-specific tests */
25989 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25990 #ifndef _INT64_T
25991 #define _INT64_T
25992 typedef long long int64_t;
25993 #endif
25994 #ifndef _UINT64_T
25995 #define _UINT64_T
25996 typedef unsigned long long uint64_t;
25997 #endif
25998
25999 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26000 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26001 does not implement __extension__. But that compiler doesn't define
26002 __GNUC_MINOR__. */
26003 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26004 # define __extension__
26005 # endif
26006
26007 # ifndef _INT64_T
26008 # define _INT64_T
26009 __extension__ typedef long long int64_t;
26010 # endif
26011 # ifndef _UINT64_T
26012 # define _UINT64_T
26013 __extension__ typedef unsigned long long uint64_t;
26014 # endif
26015
26016 #elif !defined __STRICT_ANSI__
26017 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26018
26019 # ifndef _INT64_T
26020 # define _INT64_T
26021 typedef __int64 int64_t;
26022 # endif
26023 # ifndef _UINT64_T
26024 # define _UINT64_T
26025 typedef unsigned __int64 uint64_t;
26026 # endif
26027 # endif /* compiler */
26028
26029 #endif /* ANSI version */
26030EOF
26031fi
26032
26033# ------------- done int64_t types, emit intptr types ------------
26034if test "$ac_cv_type_uintptr_t" != yes; then
26035 sed 's/^ *//' >> tmp-stdint.h <<EOF
26036
26037 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26038 typedef u$acx_cv_type_intptr_t uintptr_t;
26039 typedef $acx_cv_type_intptr_t intptr_t;
26040EOF
26041fi
26042
26043# ------------- done intptr types, emit int_least types ------------
26044if test "$ac_cv_type_int_least32_t" != yes; then
26045 sed 's/^ *//' >> tmp-stdint.h <<EOF
26046
26047 /* Define int_least types */
26048 typedef int8_t int_least8_t;
26049 typedef int16_t int_least16_t;
26050 typedef int32_t int_least32_t;
26051 #ifdef _INT64_T
26052 typedef int64_t int_least64_t;
26053 #endif
26054
26055 typedef uint8_t uint_least8_t;
26056 typedef uint16_t uint_least16_t;
26057 typedef uint32_t uint_least32_t;
26058 #ifdef _UINT64_T
26059 typedef uint64_t uint_least64_t;
26060 #endif
26061EOF
26062fi
26063
26064# ------------- done intptr types, emit int_fast types ------------
26065if test "$ac_cv_type_int_fast32_t" != yes; then
26066 sed 's/^ *//' >> tmp-stdint.h <<EOF
26067
26068 /* Define int_fast types. short is often slow */
26069 typedef int8_t int_fast8_t;
26070 typedef int int_fast16_t;
26071 typedef int32_t int_fast32_t;
26072 #ifdef _INT64_T
26073 typedef int64_t int_fast64_t;
26074 #endif
26075
26076 typedef uint8_t uint_fast8_t;
26077 typedef unsigned int uint_fast16_t;
26078 typedef uint32_t uint_fast32_t;
26079 #ifdef _UINT64_T
26080 typedef uint64_t uint_fast64_t;
26081 #endif
26082EOF
26083fi
26084
26085if test "$ac_cv_type_uintmax_t" != yes; then
26086 sed 's/^ *//' >> tmp-stdint.h <<EOF
26087
26088 /* Define intmax based on what we found */
26089 #ifdef _INT64_T
26090 typedef int64_t intmax_t;
26091 #else
26092 typedef long intmax_t;
26093 #endif
26094 #ifdef _UINT64_T
26095 typedef uint64_t uintmax_t;
26096 #else
26097 typedef unsigned long uintmax_t;
26098 #endif
26099EOF
26100fi
26101
26102sed 's/^ *//' >> tmp-stdint.h <<EOF
26103
26104 #endif /* GCC_GENERATED_STDINT_H */
26105EOF
26106
26107if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
26108 rm -f tmp-stdint.h
26109else
26110 mv -f tmp-stdint.h gstdint.h
26111fi
26112
26113 ;;
6de9cd9a
DN
26114 esac
26115done
26116_ACEOF
26117
26118cat >>$CONFIG_STATUS <<\_ACEOF
26119
26120{ (exit 0); exit 0; }
26121_ACEOF
26122chmod +x $CONFIG_STATUS
26123ac_clean_files=$ac_clean_files_save
26124
26125
26126# configure is writing to config.log, and then calls config.status.
26127# config.status does its own redirection, appending to config.log.
26128# Unfortunately, on DOS this fails, as config.log is still kept open
26129# by configure, so config.status won't be able to write to it; its
26130# output is simply discarded. So we exec the FD to /dev/null,
26131# effectively closing config.log, so it can be properly (re)opened and
26132# appended to by config.status. When coming back to configure, we
26133# need to make the FD available again.
26134if test "$no_create" != yes; then
26135 ac_cs_success=:
26136 ac_config_status_args=
26137 test "$silent" = yes &&
26138 ac_config_status_args="$ac_config_status_args --quiet"
26139 exec 5>/dev/null
26140 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26141 exec 5>>config.log
26142 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26143 # would make configure fail if this is the last instruction.
26144 $ac_cs_success || { (exit 1); exit 1; }
26145fi
26146