Mark ChangeLog
[official-gcc.git] / libgfortran / configure
blob8fa8fff7b2648dc947f331d02554ce2f9cdf4729
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for 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
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
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
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
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
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
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
152 done
154 esac
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 '
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; }; }
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
187 case `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= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
274 # Factoring default headers for most tests.
275 ac_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"
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT 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'
312 ac_subst_files=''
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
352 ac_prev=
353 for ac_option
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
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
366 case $ac_option in
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
385 --config-cache | -C)
386 cache_file=config.cache ;;
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 ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
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'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
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 ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
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 ;;
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
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 ;;
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 ;;
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
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'" ;;
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" ;;
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
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 ;;
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}
648 esac
649 done
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
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
666 done
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
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
678 done
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.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo 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=..
724 else
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
789 Configuration:
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 \`..']
800 _ACEOF
802 cat <<_ACEOF
803 Installation 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]
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829 _ACEOF
831 cat <<\_ACEOF
833 Program 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
838 System types:
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
842 _ACEOF
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848 esac
849 cat <<\_ACEOF
851 Optional Features:
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
864 Optional Packages:
865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
867 --with-build-libsubdir=DIR Directory where to find libraries for build system
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
880 CPP C preprocessor
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
885 _ACEOF
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
890 ac_popdir=`pwd`
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
893 ac_builddir=.
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 else
900 ac_dir_suffix= ac_top_builddir=
903 case $srcdir in
904 .) # No --srcdir option. We are building in place.
905 ac_srcdir=.
906 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=.
908 else
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910 fi ;;
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
914 *) # Relative path.
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 esac
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
921 case `pwd` in
922 .) ac_abs_builddir="$ac_dir";;
924 case "$ac_dir" in
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 esac;;
938 esac
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
942 case $ac_srcdir in
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 esac;;
947 esac
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 esac;;
956 esac
958 cd $ac_dir
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
961 echo
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
964 echo
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
968 echo
969 $ac_configure --help
970 else
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 cd $ac_popdir
974 done
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
979 cat <<\_ACEOF
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987 exit 0
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
997 $ $0 $@
999 _ACEOF
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1023 _ASUNAME
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1028 IFS=$as_save_IFS
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1031 done
1033 } >&5
1035 cat >&5 <<_ACEOF
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1042 _ACEOF
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1057 for ac_arg
1059 case $ac_arg in
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 continue ;;
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066 esac
1067 case $ac_pass in
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1073 else
1074 case $ac_arg in
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 esac
1083 -* ) ac_must_keep_next=true ;;
1084 esac
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1088 ac_sep=" "
1090 esac
1091 done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1104 echo
1106 cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111 echo
1112 # The following way of writing the cache mishandles newlines in values,
1114 (set) 2>&1 |
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 *ac_space=\ *)
1117 sed -n \
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 sed -n \
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 esac;
1127 echo
1129 cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134 echo
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1139 done | sort
1140 echo
1142 if test -n "$ac_subst_files"; then
1143 cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148 echo
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1153 done | sort
1154 echo
1157 if test -s confdefs.h; then
1158 cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163 echo
1164 sed "/^$/d" confdefs.h | sort
1165 echo
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1170 } >&5
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173 exit $exit_status
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 else
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1226 . "$ac_site_file"
1228 done
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236 case $cache_file in
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1239 esac
1241 else
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244 >$cache_file
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1257 set,)
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1261 ,set)
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1265 ,);;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1275 fi;;
1276 esac
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1279 case $ac_new_val in
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1283 esac
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 esac
1289 done
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1332 ac_aux_dir=
1333 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334 if test -f $ac_dir/install-sh; then
1335 ac_aux_dir=$ac_dir
1336 ac_install_sh="$ac_aux_dir/install-sh -c"
1337 break
1338 elif test -f $ac_dir/install.sh; then
1339 ac_aux_dir=$ac_dir
1340 ac_install_sh="$ac_aux_dir/install.sh -c"
1341 break
1342 elif test -f $ac_dir/shtool; then
1343 ac_aux_dir=$ac_dir
1344 ac_install_sh="$ac_aux_dir/shtool install -c"
1345 break
1347 done
1348 if test -z "$ac_aux_dir"; then
1349 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351 { (exit 1); exit 1; }; }
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 else
1368 ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370 ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374 { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1383 build=$ac_cv_build
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1389 case ${build_alias} in
1390 "") build_noncanonical=${build} ;;
1391 *) build_noncanonical=${build_alias} ;;
1392 esac
1394 case ${host_alias} in
1395 "") host_noncanonical=${build_noncanonical} ;;
1396 *) host_noncanonical=${host_alias} ;;
1397 esac
1399 case ${target_alias} in
1400 "") target_noncanonical=${host_noncanonical} ;;
1401 *) target_noncanonical=${target_alias} ;;
1402 esac
1405 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1406 # have matching libraries, they should use host libraries: Makefile.tpl
1407 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1408 # However, they still use the build modules, because the corresponding
1409 # host modules (e.g. bison) are only built for the host when bootstrap
1410 # finishes. So:
1411 # - build_subdir is where we find build modules, and never changes.
1412 # - build_libsubdir is where we find build libraries, and can be overridden.
1414 # Prefix 'build-' so this never conflicts with target_subdir.
1415 build_subdir="build-${build_noncanonical}"
1417 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1418 if test "${with_build_libsubdir+set}" = set; then
1419 withval="$with_build_libsubdir"
1420 build_libsubdir="$withval"
1421 else
1422 build_libsubdir="$build_subdir"
1424 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1425 if ( test $srcdir = . && test -d gcc ) \
1426 || test -d $srcdir/../host-${host_noncanonical}; then
1427 host_subdir="host-${host_noncanonical}"
1428 else
1429 host_subdir=.
1431 # No prefix.
1432 target_subdir=${target_noncanonical}
1435 # -------
1436 # Options
1437 # -------
1439 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1440 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1441 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1442 if test "${enable_version_specific_runtime_libs+set}" = set; then
1443 enableval="$enable_version_specific_runtime_libs"
1444 case "$enableval" in
1445 yes) version_specific_libs=yes ;;
1446 no) version_specific_libs=no ;;
1447 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1448 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1449 { (exit 1); exit 1; }; };;
1450 esac
1451 else
1452 version_specific_libs=no
1454 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1455 echo "${ECHO_T}$version_specific_libs" >&6
1458 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1460 # You will slowly go insane if you do not grok the following fact: when
1461 # building this library, the top-level /target/ becomes the library's /host/.
1463 # configure then causes --target to default to --host, exactly like any
1464 # other package using autoconf. Therefore, 'target' and 'host' will
1465 # always be the same. This makes sense both for native and cross compilers
1466 # just think about it for a little while. :-)
1468 # Also, if this library is being configured as part of a cross compiler, the
1469 # top-level configure script will pass the "real" host as $with_cross_host.
1471 # Do not delete or change the following two lines. For why, see
1472 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1473 echo "$as_me:$LINENO: checking host system type" >&5
1474 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1475 if test "${ac_cv_host+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 ac_cv_host_alias=$host_alias
1479 test -z "$ac_cv_host_alias" &&
1480 ac_cv_host_alias=$ac_cv_build_alias
1481 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1482 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1483 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1484 { (exit 1); exit 1; }; }
1487 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1488 echo "${ECHO_T}$ac_cv_host" >&6
1489 host=$ac_cv_host
1490 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1491 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1492 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1495 echo "$as_me:$LINENO: checking target system type" >&5
1496 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1497 if test "${ac_cv_target+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 else
1500 ac_cv_target_alias=$target_alias
1501 test "x$ac_cv_target_alias" = "x" &&
1502 ac_cv_target_alias=$ac_cv_host_alias
1503 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1504 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1505 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1506 { (exit 1); exit 1; }; }
1509 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1510 echo "${ECHO_T}$ac_cv_target" >&6
1511 target=$ac_cv_target
1512 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1513 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1514 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1517 # The aliases save the names the user supplied, while $host etc.
1518 # will get canonicalized.
1519 test -n "$target_alias" &&
1520 test "$program_prefix$program_suffix$program_transform_name" = \
1521 NONENONEs,x,x, &&
1522 program_prefix=${target_alias}-
1523 target_alias=${target_alias-$host_alias}
1525 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1526 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1527 # 1.8.2: minimum required version
1528 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1529 # of other PACKAGE_* variables will, however, and there's nothing
1530 # we can do about that; they come from AC_INIT).
1531 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1532 # file in the top srcdir, etc, etc), so stop complaining.
1533 # no-dependencies: turns off auto dependency generation (just for now)
1534 # -Wall: turns on all automake warnings...
1535 # -Wno-portability: ...except this one, since GNU make is required.
1536 am__api_version="1.9"
1537 # Find a good install program. We prefer a C program (faster),
1538 # so one script is as good as another. But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1543 # AIX /bin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1559 IFS=$as_save_IFS
1560 test -z "$as_dir" && as_dir=.
1561 # Account for people who put trailing slashes in PATH elements.
1562 case $as_dir/ in
1563 ./ | .// | /cC/* | \
1564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1566 /usr/ucb/* ) ;;
1568 # OSF1 and SCO ODT 3.0 have their own names for install.
1569 # Don't use installbsd from OSF since it installs stuff as root
1570 # by default.
1571 for ac_prog in ginstall scoinst install; do
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574 if test $ac_prog = install &&
1575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1576 # AIX install. It has an incompatible calling convention.
1578 elif test $ac_prog = install &&
1579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1580 # program-specific install script used by HP pwplus--don't use.
1582 else
1583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1584 break 3
1587 done
1588 done
1590 esac
1591 done
1595 if test "${ac_cv_path_install+set}" = set; then
1596 INSTALL=$ac_cv_path_install
1597 else
1598 # As a last resort, use the slow shell script. We don't cache a
1599 # path for INSTALL within a source directory, because that will
1600 # break other packages using the cache if that directory is
1601 # removed, or if the path is relative.
1602 INSTALL=$ac_install_sh
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1618 # Just in case
1619 sleep 1
1620 echo timestamp > conftest.file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments. Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1625 # directory).
1626 if (
1627 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628 if test "$*" = "X"; then
1629 # -L didn't work.
1630 set X `ls -t $srcdir/configure conftest.file`
1632 rm -f conftest.file
1633 if test "$*" != "X $srcdir/configure conftest.file" \
1634 && test "$*" != "X conftest.file $srcdir/configure"; then
1636 # If neither matched, then we have a broken ls. This can happen
1637 # if, for instance, CONFIG_SHELL is bash and it inherits a
1638 # broken ls alias from the environment. This has actually
1639 # happened. Such a system could not be considered "sane".
1640 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1643 alias in your environment" >&2;}
1644 { (exit 1); exit 1; }; }
1647 test "$2" = conftest.file
1649 then
1650 # Ok.
1652 else
1653 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE &&
1662 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE &&
1665 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $. echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF >conftest.sed
1669 s/[\\$]/&&/g;s/;s,x,x,$//
1670 _ACEOF
1671 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1672 rm conftest.sed
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir=`cd $ac_aux_dir && pwd`
1677 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680 am_missing_run="$MISSING --run "
1681 else
1682 am_missing_run=
1683 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1687 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1688 # We used to keeping the `.' as first argument, in order to
1689 # allow $(mkdir_p) to be used without argument. As in
1690 # $(mkdir_p) $(somedir)
1691 # where $(somedir) is conditionally defined. However this is wrong
1692 # for two reasons:
1693 # 1. if the package is installed by a user who cannot write `.'
1694 # make install will fail,
1695 # 2. the above comment should most certainly read
1696 # $(mkdir_p) $(DESTDIR)$(somedir)
1697 # so it does not work when $(somedir) is undefined and
1698 # $(DESTDIR) is not.
1699 # To support the latter case, we have to write
1700 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701 # so the `.' trick is pointless.
1702 mkdir_p='mkdir -p --'
1703 else
1704 # On NextStep and OpenStep, the `mkdir' command does not
1705 # recognize any option. It will interpret all options as
1706 # directories to create, and then abort because `.' already
1707 # exists.
1708 for d in ./-p ./--version;
1710 test -d $d && rmdir $d
1711 done
1712 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713 if test -f "$ac_aux_dir/mkinstalldirs"; then
1714 mkdir_p='$(mkinstalldirs)'
1715 else
1716 mkdir_p='$(install_sh) -d'
1720 for ac_prog in gawk mawk nawk awk
1722 # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy $ac_prog; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 if test -n "$AWK"; then
1730 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1731 else
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 for as_dir in $PATH
1735 IFS=$as_save_IFS
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_AWK="$ac_prog"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 break 2
1743 done
1744 done
1748 AWK=$ac_cv_prog_AWK
1749 if test -n "$AWK"; then
1750 echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1752 else
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1757 test -n "$AWK" && break
1758 done
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766 cat >conftest.make <<\_ACEOF
1767 all:
1768 @echo 'ac_maketemp="$(MAKE)"'
1769 _ACEOF
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773 eval ac_cv_prog_make_${ac_make}_set=yes
1774 else
1775 eval ac_cv_prog_make_${ac_make}_set=no
1777 rm -f conftest.make
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780 echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1782 SET_MAKE=
1783 else
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786 SET_MAKE="MAKE=${MAKE-make}"
1789 rm -rf .tst 2>/dev/null
1790 mkdir .tst 2>/dev/null
1791 if test -d .tst; then
1792 am__leading_dot=.
1793 else
1794 am__leading_dot=_
1796 rmdir .tst 2>/dev/null
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800 test -f $srcdir/config.status; then
1801 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803 { (exit 1); exit 1; }; }
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808 if (cygpath --version) >/dev/null 2>/dev/null; then
1809 CYGPATH_W='cygpath -w'
1810 else
1811 CYGPATH_W=echo
1816 # Define the identity of the package.
1817 PACKAGE='libgfortran'
1818 VERSION='0.2'
1821 # Some tools Automake needs.
1823 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1826 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1829 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1832 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1835 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'. However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852 if test -n "$STRIP"; then
1853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1858 IFS=$as_save_IFS
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 break 2
1866 done
1867 done
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873 echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1881 if test -z "$ac_cv_prog_STRIP"; then
1882 ac_ct_STRIP=$STRIP
1883 # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890 if test -n "$ac_ct_STRIP"; then
1891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1896 IFS=$as_save_IFS
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_ac_ct_STRIP="strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 break 2
1904 done
1905 done
1907 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1919 STRIP=$ac_ct_STRIP
1920 else
1921 STRIP="$ac_cv_prog_STRIP"
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927 # We need awk for the "check" target. The system "awk" is bad on
1928 # some platforms.
1929 # Always define AMTAR for backward compatibility.
1931 AMTAR=${AMTAR-"${am_missing_run}tar"}
1933 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1940 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1941 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1942 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1943 if test "${enable_maintainer_mode+set}" = set; then
1944 enableval="$enable_maintainer_mode"
1945 USE_MAINTAINER_MODE=$enableval
1946 else
1947 USE_MAINTAINER_MODE=no
1949 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1950 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1953 if test $USE_MAINTAINER_MODE = yes; then
1954 MAINTAINER_MODE_TRUE=
1955 MAINTAINER_MODE_FALSE='#'
1956 else
1957 MAINTAINER_MODE_TRUE='#'
1958 MAINTAINER_MODE_FALSE=
1961 MAINT=$MAINTAINER_MODE_TRUE
1964 # Default to --enable-multilib
1965 # Check whether --enable-multilib or --disable-multilib was given.
1966 if test "${enable_multilib+set}" = set; then
1967 enableval="$enable_multilib"
1968 case "$enableval" in
1969 yes) multilib=yes ;;
1970 no) multilib=no ;;
1971 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1972 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1973 { (exit 1); exit 1; }; } ;;
1974 esac
1975 else
1976 multilib=yes
1979 # We may get other options which we leave undocumented:
1980 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1981 # See config-ml.in if you want the gory details.
1983 if test "$srcdir" = "."; then
1984 if test "$with_target_subdir" != "."; then
1985 multi_basedir="$srcdir/$with_multisrctop../.."
1986 else
1987 multi_basedir="$srcdir/$with_multisrctop.."
1989 else
1990 multi_basedir="$srcdir/.."
1994 # Even if the default multilib is not a cross compilation,
1995 # it may be that some of the other multilibs are.
1996 if test $cross_compiling = no && test $multilib = yes \
1997 && test "x${with_multisubdir}" != x ; then
1998 cross_compiling=maybe
2001 ac_config_commands="$ac_config_commands default-1"
2004 # Handy for debugging:
2005 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2007 # Are we being configured with some form of cross compiler?
2008 # NB: We don't actually need to know this just now, but when, say, a test
2009 # suite is included, we'll have to know.
2010 if test "$build" != "$host"; then
2011 LIBGFOR_IS_NATIVE=false
2013 else
2014 LIBGFOR_IS_NATIVE=true
2017 # Calculate toolexeclibdir
2018 # Also toolexecdir, though it's only used in toolexeclibdir
2019 case ${version_specific_libs} in
2020 yes)
2021 # Need the gcc compiler version to know where to install libraries
2022 # and header files if --enable-version-specific-runtime-libs option
2023 # is selected.
2024 toolexecdir='$(libdir)/gcc/$(target_alias)'
2025 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2028 if test -n "$with_cross_host" &&
2029 test x"$with_cross_host" != x"no"; then
2030 # Install a library built with a cross compiler in tooldir, not libdir.
2031 toolexecdir='$(exec_prefix)/$(target_alias)'
2032 toolexeclibdir='$(toolexecdir)/lib'
2033 else
2034 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2035 toolexeclibdir='$(libdir)'
2037 multi_os_directory=`$CC -print-multi-os-directory`
2038 case $multi_os_directory in
2039 .) ;; # Avoid trailing /.
2040 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2041 esac
2043 esac
2047 # Check the compiler.
2048 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2049 # We must force CC to /not/ be precious variables; otherwise
2050 # the wrong, non-multilib-adjusted value will be used in multilibs.
2051 # As a side effect, we have to subst CFLAGS ourselves.
2055 ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 if test -n "$ac_tool_prefix"; then
2061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$CC"; then
2069 ac_cv_prog_CC="$CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089 echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2097 if test -z "$ac_cv_prog_CC"; then
2098 ac_ct_CC=$CC
2099 # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106 if test -n "$ac_ct_CC"; then
2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2112 IFS=$as_save_IFS
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116 ac_cv_prog_ac_ct_CC="gcc"
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 break 2
2120 done
2121 done
2125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126 if test -n "$ac_ct_CC"; then
2127 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128 echo "${ECHO_T}$ac_ct_CC" >&6
2129 else
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2134 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169 echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2177 if test -z "$ac_cv_prog_CC"; then
2178 ac_ct_CC=$CC
2179 # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 if test -n "$ac_ct_CC"; then
2187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2192 IFS=$as_save_IFS
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_ac_ct_CC="cc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 break 2
2200 done
2201 done
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2209 else
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2214 CC=$ac_ct_CC
2215 else
2216 CC="$ac_cv_prog_CC"
2220 if test -z "$CC"; then
2221 # Extract the first word of "cc", so it can be a program name with args.
2222 set dummy cc; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 ac_prog_rejected=no
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2235 IFS=$as_save_IFS
2236 test -z "$as_dir" && as_dir=.
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2239 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2240 ac_prog_rejected=yes
2241 continue
2243 ac_cv_prog_CC="cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2250 if test $ac_prog_rejected = yes; then
2251 # We found a bogon in the path, so make sure we never use it.
2252 set dummy $ac_cv_prog_CC
2253 shift
2254 if test $# != 0; then
2255 # We chose a different compiler from the bogus one.
2256 # However, it has the same basename, so the bogon will be chosen
2257 # first if we set CC to just the basename; use the full file name.
2258 shift
2259 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2264 CC=$ac_cv_prog_CC
2265 if test -n "$CC"; then
2266 echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6
2268 else
2269 echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2274 if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then
2276 for ac_prog in cl
2278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306 echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309 echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2313 test -n "$CC" && break
2314 done
2316 if test -z "$CC"; then
2317 ac_ct_CC=$CC
2318 for ac_prog in cl
2320 # Extract the first word of "$ac_prog", so it can be a program name with args.
2321 set dummy $ac_prog; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327 if test -n "$ac_ct_CC"; then
2328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2333 IFS=$as_save_IFS
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_ac_ct_CC="$ac_prog"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2
2341 done
2342 done
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6
2350 else
2351 echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2355 test -n "$ac_ct_CC" && break
2356 done
2358 CC=$ac_ct_CC
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&2;}
2368 { (exit 1); exit 1; }; }
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO:" \
2372 "checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2375 (eval $ac_compiler --version </dev/null >&5) 2>&5
2376 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2380 (eval $ac_compiler -v </dev/null >&5) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2385 (eval $ac_compiler -V </dev/null >&5) 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h. */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2398 main ()
2402 return 0;
2404 _ACEOF
2405 # FIXME: Cleanup?
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407 (eval $ac_link) 2>&5
2408 ac_status=$?
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; then
2411 gcc_no_link=no
2412 else
2413 gcc_no_link=yes
2416 if test x$gcc_no_link = xyes; then
2417 # Setting cross_compile will disable run tests; it will
2418 # also disable AC_CHECK_FILE but that's generally
2419 # correct if we can't link.
2420 cross_compiling=yes
2421 EXEEXT=
2422 else
2423 cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h. */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2431 main ()
2435 return 0;
2437 _ACEOF
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2442 # of exeext.
2443 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2444 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2447 (eval $ac_link_default) 2>&5
2448 ac_status=$?
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; then
2451 # Find the output, starting from the most likely. This scheme is
2452 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # resort.
2455 # Be careful to initialize this variable, since it used to be cached.
2456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457 ac_cv_exeext=
2458 # b.out is created by i960 compilers.
2459 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2461 test -f "$ac_file" || continue
2462 case $ac_file in
2463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2465 conftest.$ac_ext )
2466 # This is the source file.
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 # FIXME: I believe we export ac_cv_exeext for Libtool,
2475 # but it would be cool to find out if it's true. Does anybody
2476 # maintain Libtool? --akim.
2477 export ac_cv_exeext
2478 break;;
2480 break;;
2481 esac
2482 done
2483 else
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2487 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&2;}
2491 { (exit 77); exit 77; }; }
2494 ac_exeext=$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6
2498 # Check the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2501 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2503 # If not cross compiling, check that we can run a simple program.
2504 if test "$cross_compiling" != yes; then
2505 if { ac_try='./$ac_file'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 (eval $ac_try) 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2511 cross_compiling=no
2512 else
2513 if test "$cross_compiling" = maybe; then
2514 cross_compiling=yes
2515 else
2516 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6
2538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2541 (eval $ac_link) 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550 test -f "$ac_file" || continue
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2553 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 export ac_cv_exeext
2555 break;;
2556 * ) break;;
2557 esac
2558 done
2559 else
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest$ac_cv_exeext
2568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2588 main ()
2592 return 0;
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; then
2601 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2602 case $ac_file in
2603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2604 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605 break;;
2606 esac
2607 done
2608 else
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6
2623 OBJEXT=$ac_cv_objext
2624 ac_objext=$OBJEXT
2625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2638 main ()
2640 #ifndef __GNUC__
2641 choke me
2642 #endif
2645 return 0;
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>conftest.er1
2651 ac_status=$?
2652 grep -v '^ *+' conftest.er1 >conftest.err
2653 rm -f conftest.er1
2654 cat conftest.err >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try='test -z "$ac_c_werror_flag"
2658 || test ! -s conftest.err'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 (eval $ac_try) 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; } &&
2664 { ac_try='test -s conftest.$ac_objext'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_compiler_gnu=no
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 CFLAGS="-g"
2687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h. */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2700 main ()
2704 return 0;
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>conftest.er1
2710 ac_status=$?
2711 grep -v '^ *+' conftest.er1 >conftest.err
2712 rm -f conftest.er1
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag"
2717 || test ! -s conftest.err'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 (eval $ac_try) 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; } &&
2723 { ac_try='test -s conftest.$ac_objext'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 (eval $ac_try) 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2729 ac_cv_prog_cc_g=yes
2730 else
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 ac_cv_prog_cc_g=no
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2740 if test "$ac_test_CFLAGS" = set; then
2741 CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743 if test "$GCC" = yes; then
2744 CFLAGS="-g -O2"
2745 else
2746 CFLAGS="-g"
2748 else
2749 if test "$GCC" = yes; then
2750 CFLAGS="-O2"
2751 else
2752 CFLAGS=
2755 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else
2760 ac_cv_prog_cc_stdc=no
2761 ac_save_CC=$CC
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h. */
2764 _ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776 char **p;
2777 int i;
2779 return p[i];
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2783 char *s;
2784 va_list v;
2785 va_start (v,p);
2786 s = g (p, va_arg (v,int));
2787 va_end (v);
2788 return s;
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2792 function prototypes and stuff, but not '\xHH' hex character constants.
2793 These don't provoke an error unfortunately, instead are silently treated
2794 as 'x'. The following induces an error, until -std1 is added to get
2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2796 array size at least. It's necessary to write '\x00'==0 to get something
2797 that's true only with -std1. */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2807 main ()
2809 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2811 return 0;
2813 _ACEOF
2814 # Don't try gcc -ansi; that turns off useful extensions and
2815 # breaks some systems' header files.
2816 # AIX -qlanglvl=ansi
2817 # Ultrix and OSF/1 -std1
2818 # HP-UX 10.20 and later -Ae
2819 # HP-UX older versions -Aa -D_HPUX_SOURCE
2820 # SVR4 -Xc -D__EXTENSIONS__
2821 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2823 CC="$ac_save_CC $ac_arg"
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2827 ac_status=$?
2828 grep -v '^ *+' conftest.er1 >conftest.err
2829 rm -f conftest.er1
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag"
2834 || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 (eval $ac_try) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2846 ac_cv_prog_cc_stdc=$ac_arg
2847 break
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2853 rm -f conftest.err conftest.$ac_objext
2854 done
2855 rm -f conftest.$ac_ext conftest.$ac_objext
2856 CC=$ac_save_CC
2860 case "x$ac_cv_prog_cc_stdc" in
2861 x|xno)
2862 echo "$as_me:$LINENO: result: none needed" >&5
2863 echo "${ECHO_T}none needed" >&6 ;;
2865 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2866 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2867 CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 esac
2870 # Some people use a C++ compiler to compile C. Since we use `exit',
2871 # in C++ we need to declare it. In case someone uses the same compiler
2872 # for both compiling C and C++ we need to have the C++ compiler decide
2873 # the declaration of exit, since it's the most demanding environment.
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #ifndef __cplusplus
2876 choke me
2877 #endif
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$?
2883 grep -v '^ *+' conftest.er1 >conftest.err
2884 rm -f conftest.er1
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 (eval $ac_try) 2>&5
2892 ac_status=$?
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 (eval $ac_try) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 for ac_declaration in \
2902 '' \
2903 'extern "C" void std::exit (int) throw (); using std::exit;' \
2904 'extern "C" void std::exit (int); using std::exit;' \
2905 'extern "C" void exit (int) throw ();' \
2906 'extern "C" void exit (int);' \
2907 'void exit (int);'
2909 cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h. */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2915 $ac_declaration
2916 #include <stdlib.h>
2918 main ()
2920 exit (42);
2922 return 0;
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2928 ac_status=$?
2929 grep -v '^ *+' conftest.er1 >conftest.err
2930 rm -f conftest.er1
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 (eval $ac_try) 2>&5
2944 ac_status=$?
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2948 else
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 continue
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h. */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2961 $ac_declaration
2963 main ()
2965 exit (42);
2967 return 0;
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2973 ac_status=$?
2974 grep -v '^ *+' conftest.er1 >conftest.err
2975 rm -f conftest.er1
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 (eval $ac_try) 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 (eval $ac_try) 2>&5
2989 ac_status=$?
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 break
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 done
3000 rm -f conftest*
3001 if test -n "$ac_declaration"; then
3002 echo '#ifdef __cplusplus' >>confdefs.h
3003 echo $ac_declaration >>confdefs.h
3004 echo '#endif' >>confdefs.h
3007 else
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3021 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3022 if test "x$GCC" = "xyes"; then
3023 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3024 ## We like to use C99 routines when available. This makes sure that
3025 ## __STDC_VERSION__ is set such that libc includes make them available.
3026 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3027 ## Compile the following tests with the same system header contents
3028 ## that we'll encounter when compiling our own source files.
3029 CFLAGS="-std=gnu99 $CFLAGS"
3034 # Find other programs we need.
3035 if test -n "$ac_tool_prefix"; then
3036 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3037 set dummy ${ac_tool_prefix}as; ac_word=$2
3038 echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3040 if test "${ac_cv_prog_AS+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 else
3043 if test -n "$AS"; then
3044 ac_cv_prog_AS="$AS" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_AS="${ac_tool_prefix}as"
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 break 2
3057 done
3058 done
3062 AS=$ac_cv_prog_AS
3063 if test -n "$AS"; then
3064 echo "$as_me:$LINENO: result: $AS" >&5
3065 echo "${ECHO_T}$AS" >&6
3066 else
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3072 if test -z "$ac_cv_prog_AS"; then
3073 ac_ct_AS=$AS
3074 # Extract the first word of "as", so it can be a program name with args.
3075 set dummy as; ac_word=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 else
3081 if test -n "$ac_ct_AS"; then
3082 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3083 else
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3087 IFS=$as_save_IFS
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_ac_ct_AS="as"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 break 2
3095 done
3096 done
3100 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3101 if test -n "$ac_ct_AS"; then
3102 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3103 echo "${ECHO_T}$ac_ct_AS" >&6
3104 else
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3109 AS=$ac_ct_AS
3110 else
3111 AS="$ac_cv_prog_AS"
3114 if test -n "$ac_tool_prefix"; then
3115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3116 set dummy ${ac_tool_prefix}ar; ac_word=$2
3117 echo "$as_me:$LINENO: checking for $ac_word" >&5
3118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3119 if test "${ac_cv_prog_AR+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 else
3122 if test -n "$AR"; then
3123 ac_cv_prog_AR="$AR" # Let the user override the test.
3124 else
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 for as_dir in $PATH
3128 IFS=$as_save_IFS
3129 test -z "$as_dir" && as_dir=.
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_AR="${ac_tool_prefix}ar"
3133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 break 2
3136 done
3137 done
3141 AR=$ac_cv_prog_AR
3142 if test -n "$AR"; then
3143 echo "$as_me:$LINENO: result: $AR" >&5
3144 echo "${ECHO_T}$AR" >&6
3145 else
3146 echo "$as_me:$LINENO: result: no" >&5
3147 echo "${ECHO_T}no" >&6
3151 if test -z "$ac_cv_prog_AR"; then
3152 ac_ct_AR=$AR
3153 # Extract the first word of "ar", so it can be a program name with args.
3154 set dummy ar; ac_word=$2
3155 echo "$as_me:$LINENO: checking for $ac_word" >&5
3156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3157 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160 if test -n "$ac_ct_AR"; then
3161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3162 else
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3166 IFS=$as_save_IFS
3167 test -z "$as_dir" && as_dir=.
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170 ac_cv_prog_ac_ct_AR="ar"
3171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 break 2
3174 done
3175 done
3179 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3180 if test -n "$ac_ct_AR"; then
3181 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3182 echo "${ECHO_T}$ac_ct_AR" >&6
3183 else
3184 echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6
3188 AR=$ac_ct_AR
3189 else
3190 AR="$ac_cv_prog_AR"
3193 if test -n "$ac_tool_prefix"; then
3194 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3195 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3196 echo "$as_me:$LINENO: checking for $ac_word" >&5
3197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3198 if test "${ac_cv_prog_RANLIB+set}" = set; then
3199 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 else
3201 if test -n "$RANLIB"; then
3202 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3203 else
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3207 IFS=$as_save_IFS
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3211 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 break 2
3215 done
3216 done
3220 RANLIB=$ac_cv_prog_RANLIB
3221 if test -n "$RANLIB"; then
3222 echo "$as_me:$LINENO: result: $RANLIB" >&5
3223 echo "${ECHO_T}$RANLIB" >&6
3224 else
3225 echo "$as_me:$LINENO: result: no" >&5
3226 echo "${ECHO_T}no" >&6
3230 if test -z "$ac_cv_prog_RANLIB"; then
3231 ac_ct_RANLIB=$RANLIB
3232 # Extract the first word of "ranlib", so it can be a program name with args.
3233 set dummy ranlib; ac_word=$2
3234 echo "$as_me:$LINENO: checking for $ac_word" >&5
3235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3236 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 else
3239 if test -n "$ac_ct_RANLIB"; then
3240 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3241 else
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3245 IFS=$as_save_IFS
3246 test -z "$as_dir" && as_dir=.
3247 for ac_exec_ext in '' $ac_executable_extensions; do
3248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3249 ac_cv_prog_ac_ct_RANLIB="ranlib"
3250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 break 2
3253 done
3254 done
3256 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3259 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3260 if test -n "$ac_ct_RANLIB"; then
3261 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3262 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3263 else
3264 echo "$as_me:$LINENO: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3268 RANLIB=$ac_ct_RANLIB
3269 else
3270 RANLIB="$ac_cv_prog_RANLIB"
3273 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3274 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3275 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3276 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 else
3279 cat >conftest.make <<\_ACEOF
3280 all:
3281 @echo 'ac_maketemp="$(MAKE)"'
3282 _ACEOF
3283 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3284 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3285 if test -n "$ac_maketemp"; then
3286 eval ac_cv_prog_make_${ac_make}_set=yes
3287 else
3288 eval ac_cv_prog_make_${ac_make}_set=no
3290 rm -f conftest.make
3292 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3293 echo "$as_me:$LINENO: result: yes" >&5
3294 echo "${ECHO_T}yes" >&6
3295 SET_MAKE=
3296 else
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 SET_MAKE="MAKE=${MAKE-make}"
3302 # Find a good install program. We prefer a C program (faster),
3303 # so one script is as good as another. But avoid the broken or
3304 # incompatible versions:
3305 # SysV /etc/install, /usr/sbin/install
3306 # SunOS /usr/etc/install
3307 # IRIX /sbin/install
3308 # AIX /bin/install
3309 # AmigaOS /C/install, which installs bootblocks on floppy discs
3310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3313 # OS/2's system install, which has a completely different semantic
3314 # ./install, which can be erroneously created by make from ./install.sh.
3315 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3316 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3317 if test -z "$INSTALL"; then
3318 if test "${ac_cv_path_install+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 else
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH
3324 IFS=$as_save_IFS
3325 test -z "$as_dir" && as_dir=.
3326 # Account for people who put trailing slashes in PATH elements.
3327 case $as_dir/ in
3328 ./ | .// | /cC/* | \
3329 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3330 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3331 /usr/ucb/* ) ;;
3333 # OSF1 and SCO ODT 3.0 have their own names for install.
3334 # Don't use installbsd from OSF since it installs stuff as root
3335 # by default.
3336 for ac_prog in ginstall scoinst install; do
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3339 if test $ac_prog = install &&
3340 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3341 # AIX install. It has an incompatible calling convention.
3343 elif test $ac_prog = install &&
3344 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3345 # program-specific install script used by HP pwplus--don't use.
3347 else
3348 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3349 break 3
3352 done
3353 done
3355 esac
3356 done
3360 if test "${ac_cv_path_install+set}" = set; then
3361 INSTALL=$ac_cv_path_install
3362 else
3363 # As a last resort, use the slow shell script. We don't cache a
3364 # path for INSTALL within a source directory, because that will
3365 # break other packages using the cache if that directory is
3366 # removed, or if the path is relative.
3367 INSTALL=$ac_install_sh
3370 echo "$as_me:$LINENO: result: $INSTALL" >&5
3371 echo "${ECHO_T}$INSTALL" >&6
3373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3374 # It thinks the first close brace ends the variable substitution.
3375 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3377 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3379 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3382 # Configure libtool
3383 #AC_MSG_NOTICE([====== Starting libtool configuration])
3385 # Check whether --enable-shared or --disable-shared was given.
3386 if test "${enable_shared+set}" = set; then
3387 enableval="$enable_shared"
3388 p=${PACKAGE-default}
3389 case $enableval in
3390 yes) enable_shared=yes ;;
3391 no) enable_shared=no ;;
3393 enable_shared=no
3394 # Look at the argument we got. We use all the common list separators.
3395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3396 for pkg in $enableval; do
3397 if test "X$pkg" = "X$p"; then
3398 enable_shared=yes
3400 done
3401 IFS="$ac_save_ifs"
3403 esac
3404 else
3405 enable_shared=yes
3407 # Check whether --enable-static or --disable-static was given.
3408 if test "${enable_static+set}" = set; then
3409 enableval="$enable_static"
3410 p=${PACKAGE-default}
3411 case $enableval in
3412 yes) enable_static=yes ;;
3413 no) enable_static=no ;;
3415 enable_static=no
3416 # Look at the argument we got. We use all the common list separators.
3417 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3418 for pkg in $enableval; do
3419 if test "X$pkg" = "X$p"; then
3420 enable_static=yes
3422 done
3423 IFS="$ac_save_ifs"
3425 esac
3426 else
3427 enable_static=yes
3429 # Check whether --enable-fast-install or --disable-fast-install was given.
3430 if test "${enable_fast_install+set}" = set; then
3431 enableval="$enable_fast_install"
3432 p=${PACKAGE-default}
3433 case $enableval in
3434 yes) enable_fast_install=yes ;;
3435 no) enable_fast_install=no ;;
3437 enable_fast_install=no
3438 # Look at the argument we got. We use all the common list separators.
3439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3440 for pkg in $enableval; do
3441 if test "X$pkg" = "X$p"; then
3442 enable_fast_install=yes
3444 done
3445 IFS="$ac_save_ifs"
3447 esac
3448 else
3449 enable_fast_install=yes
3452 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3453 if test "${with_gnu_ld+set}" = set; then
3454 withval="$with_gnu_ld"
3455 test "$withval" = no || with_gnu_ld=yes
3456 else
3457 with_gnu_ld=no
3459 ac_prog=ld
3460 if test "$GCC" = yes; then
3461 # Check if gcc -print-prog-name=ld gives a path.
3462 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3463 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3464 case $host in
3465 *-*-mingw*)
3466 # gcc leaves a trailing carriage return which upsets mingw
3467 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3469 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3470 esac
3471 case $ac_prog in
3472 # Accept absolute paths.
3473 [\\/]* | [A-Za-z]:[\\/]*)
3474 re_direlt='/[^/][^/]*/\.\./'
3475 # Canonicalize the path of ld
3476 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3477 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3478 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3479 done
3480 test -z "$LD" && LD="$ac_prog"
3483 # If it fails, then pretend we aren't using GCC.
3484 ac_prog=ld
3487 # If it is relative, then search for the first ld in PATH.
3488 with_gnu_ld=unknown
3490 esac
3491 elif test "$with_gnu_ld" = yes; then
3492 echo "$as_me:$LINENO: checking for GNU ld" >&5
3493 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3494 else
3495 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3496 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3498 if test "${lt_cv_path_LD+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 else
3501 if test -z "$LD"; then
3502 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3503 for ac_dir in $PATH; do
3504 test -z "$ac_dir" && ac_dir=.
3505 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3506 lt_cv_path_LD="$ac_dir/$ac_prog"
3507 # Check to see if the program is GNU ld. I'd rather use --version,
3508 # but apparently some GNU ld's only accept -v.
3509 # Break only if it was the GNU/non-GNU ld that we prefer.
3510 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3511 test "$with_gnu_ld" != no && break
3512 else
3513 test "$with_gnu_ld" != yes && break
3516 done
3517 IFS="$ac_save_ifs"
3518 else
3519 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3523 LD="$lt_cv_path_LD"
3524 if test -n "$LD"; then
3525 echo "$as_me:$LINENO: result: $LD" >&5
3526 echo "${ECHO_T}$LD" >&6
3527 else
3528 echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6
3531 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3532 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3533 { (exit 1); exit 1; }; }
3534 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3535 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3536 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 else
3539 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3540 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3541 lt_cv_prog_gnu_ld=yes
3542 else
3543 lt_cv_prog_gnu_ld=no
3546 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3547 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3548 with_gnu_ld=$lt_cv_prog_gnu_ld
3551 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3552 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3553 if test "${lt_cv_ld_reload_flag+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 else
3556 lt_cv_ld_reload_flag='-r'
3558 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3559 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3560 reload_flag=$lt_cv_ld_reload_flag
3561 test -n "$reload_flag" && reload_flag=" $reload_flag"
3563 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3564 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3565 if test "${lt_cv_path_NM+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 else
3568 if test -n "$NM"; then
3569 # Let the user override the test.
3570 lt_cv_path_NM="$NM"
3571 else
3572 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3573 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3574 test -z "$ac_dir" && ac_dir=.
3575 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3576 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3577 # Check to see if the nm accepts a BSD-compat flag.
3578 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3579 # nm: unknown option "B" ignored
3580 # Tru64's nm complains that /dev/null is an invalid object file
3581 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3582 lt_cv_path_NM="$tmp_nm -B"
3583 break
3584 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3585 lt_cv_path_NM="$tmp_nm -p"
3586 break
3587 else
3588 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3589 continue # so that we can try to find one that supports BSD flags
3592 done
3593 IFS="$ac_save_ifs"
3594 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3598 NM="$lt_cv_path_NM"
3599 echo "$as_me:$LINENO: result: $NM" >&5
3600 echo "${ECHO_T}$NM" >&6
3602 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3603 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3604 LN_S=$as_ln_s
3605 if test "$LN_S" = "ln -s"; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3608 else
3609 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3610 echo "${ECHO_T}no, using $LN_S" >&6
3613 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3614 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3615 if test "${lt_cv_deplibs_check_method+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 else
3618 lt_cv_file_magic_cmd='$MAGIC_CMD'
3619 lt_cv_file_magic_test_file=
3620 lt_cv_deplibs_check_method='unknown'
3621 # Need to set the preceding variable on all platforms that support
3622 # interlibrary dependencies.
3623 # 'none' -- dependencies not supported.
3624 # `unknown' -- same as none, but documents that we really don't know.
3625 # 'pass_all' -- all dependencies passed with no checks.
3626 # 'test_compile' -- check by making test program.
3627 # 'file_magic [regex]' -- check by looking for files in library path
3628 # which responds to the $file_magic_cmd with a given egrep regex.
3629 # If you have `file' or equivalent on your system and you're not sure
3630 # whether `pass_all' will *always* work, you probably want this one.
3632 case $host_os in
3633 aix*)
3634 lt_cv_deplibs_check_method=pass_all
3637 beos*)
3638 lt_cv_deplibs_check_method=pass_all
3641 bsdi4*)
3642 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3643 lt_cv_file_magic_cmd='/usr/bin/file -L'
3644 lt_cv_file_magic_test_file=/shlib/libc.so
3647 cygwin* | mingw* |pw32*)
3648 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3649 lt_cv_file_magic_cmd='$OBJDUMP -f'
3652 darwin* | rhapsody*)
3653 # this will be overwritten by pass_all, but leave it in just in case
3654 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3655 lt_cv_file_magic_cmd='/usr/bin/file -L'
3656 case "$host_os" in
3657 rhapsody* | darwin1.012)
3658 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3660 *) # Darwin 1.3 on
3661 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3663 esac
3664 lt_cv_deplibs_check_method=pass_all
3667 freebsd* | kfreebsd*-gnu)
3668 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3669 case $host_cpu in
3670 i*86 )
3671 # Not sure whether the presence of OpenBSD here was a mistake.
3672 # Let's accept both of them until this is cleared up.
3673 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3674 lt_cv_file_magic_cmd=/usr/bin/file
3675 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3677 esac
3678 else
3679 lt_cv_deplibs_check_method=pass_all
3683 gnu*)
3684 lt_cv_deplibs_check_method=pass_all
3687 hpux10.20*|hpux11*)
3688 case $host_cpu in
3689 hppa*)
3690 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3691 lt_cv_file_magic_cmd=/usr/bin/file
3692 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3694 ia64*)
3695 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3696 lt_cv_file_magic_cmd=/usr/bin/file
3697 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3699 esac
3702 irix5* | irix6*)
3703 case $host_os in
3704 irix5*)
3705 # this will be overridden with pass_all, but let us keep it just in case
3706 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3709 case $LD in
3710 *-32|*"-32 ") libmagic=32-bit;;
3711 *-n32|*"-n32 ") libmagic=N32;;
3712 *-64|*"-64 ") libmagic=64-bit;;
3713 *) libmagic=never-match;;
3714 esac
3715 # this will be overridden with pass_all, but let us keep it just in case
3716 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3718 esac
3719 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3720 lt_cv_deplibs_check_method=pass_all
3723 # This must be Linux ELF.
3724 linux-gnu*)
3725 lt_cv_deplibs_check_method=pass_all
3728 netbsd* | knetbsd*-gnu)
3729 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3730 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3731 else
3732 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3736 newsos6)
3737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3738 lt_cv_file_magic_cmd=/usr/bin/file
3739 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3742 osf3* | osf4* | osf5*)
3743 # this will be overridden with pass_all, but let us keep it just in case
3744 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3745 lt_cv_file_magic_test_file=/shlib/libc.so
3746 lt_cv_deplibs_check_method=pass_all
3749 sco3.2v5*)
3750 lt_cv_deplibs_check_method=pass_all
3753 solaris*)
3754 lt_cv_deplibs_check_method=pass_all
3755 lt_cv_file_magic_test_file=/lib/libc.so
3758 sysv5uw[78]* | sysv4*uw2*)
3759 lt_cv_deplibs_check_method=pass_all
3762 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3763 case $host_vendor in
3764 ncr)
3765 lt_cv_deplibs_check_method=pass_all
3767 motorola)
3768 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]'
3769 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3771 esac
3773 esac
3776 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3777 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3778 file_magic_cmd=$lt_cv_file_magic_cmd
3779 deplibs_check_method=$lt_cv_deplibs_check_method
3785 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3787 # find the maximum length of command line arguments
3788 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3789 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3790 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 else
3794 teststring="ABCD"
3796 case $build_os in
3797 msdosdjgpp*)
3798 # On DJGPP, this test can blow up pretty badly due to problems in libc
3799 # (any single argument exceeding 2000 bytes causes a buffer overrun
3800 # during glob expansion). Even if it were fixed, the result of this
3801 # check would be larger than it should be.
3802 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3805 cygwin* | mingw*)
3806 # On Win9x/ME, this test blows up -- it succeeds, but takes
3807 # about 5 minutes as the teststring grows exponentially.
3808 # Worse, since 9x/ME are not pre-emptively multitasking,
3809 # you end up with a "frozen" computer, even though with patience
3810 # the test eventually succeeds (with a max line length of 256k).
3811 # Instead, let's just punt: use the minimum linelength reported by
3812 # all of the supported platforms: 8192 (on NT/2K/XP).
3813 lt_cv_sys_max_cmd_len=8192;
3816 amigaos*)
3817 # On AmigaOS with pdksh, this test takes hours, literally.
3818 # So we just punt and use a minimum line length of 8192.
3819 lt_cv_sys_max_cmd_len=8192;
3822 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3823 # This has been around since 386BSD, at least. Likely further.
3824 if test -x /sbin/sysctl; then
3825 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3826 elif test -x /usr/sbin/sysctl; then
3827 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3828 else
3829 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3831 # And add a safety zone
3832 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3833 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3835 esac
3839 if test -n "$lt_cv_sys_max_cmd_len" ; then
3840 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3841 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3842 else
3843 echo "$as_me:$LINENO: result: none" >&5
3844 echo "${ECHO_T}none" >&6
3848 # Only perform the check for file, if the check method requires it
3849 case $deplibs_check_method in
3850 file_magic*)
3851 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3852 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3853 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3854 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 else
3857 case $MAGIC_CMD in
3859 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3861 ?:/*)
3862 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3865 ac_save_MAGIC_CMD="$MAGIC_CMD"
3866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3867 ac_dummy="/usr/bin:$PATH"
3868 for ac_dir in $ac_dummy; do
3869 test -z "$ac_dir" && ac_dir=.
3870 if test -f $ac_dir/${ac_tool_prefix}file; then
3871 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3872 if test -n "$file_magic_test_file"; then
3873 case $deplibs_check_method in
3874 "file_magic "*)
3875 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3877 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3878 egrep "$file_magic_regex" > /dev/null; then
3880 else
3881 cat <<EOF 1>&2
3883 *** Warning: the command libtool uses to detect shared libraries,
3884 *** $file_magic_cmd, produces output that libtool cannot recognize.
3885 *** The result is that libtool may fail to recognize shared libraries
3886 *** as such. This will affect the creation of libtool libraries that
3887 *** depend on shared libraries, but programs linked with such libtool
3888 *** libraries will work regardless of this problem. Nevertheless, you
3889 *** may want to report the problem to your system manager and/or to
3890 *** bug-libtool@gnu.org
3893 fi ;;
3894 esac
3896 break
3898 done
3899 IFS="$ac_save_ifs"
3900 MAGIC_CMD="$ac_save_MAGIC_CMD"
3902 esac
3905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3906 if test -n "$MAGIC_CMD"; then
3907 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3908 echo "${ECHO_T}$MAGIC_CMD" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3914 if test -z "$lt_cv_path_MAGIC_CMD"; then
3915 if test -n "$ac_tool_prefix"; then
3916 echo "$as_me:$LINENO: checking for file" >&5
3917 echo $ECHO_N "checking for file... $ECHO_C" >&6
3918 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 else
3921 case $MAGIC_CMD in
3923 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3925 ?:/*)
3926 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3929 ac_save_MAGIC_CMD="$MAGIC_CMD"
3930 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3931 ac_dummy="/usr/bin:$PATH"
3932 for ac_dir in $ac_dummy; do
3933 test -z "$ac_dir" && ac_dir=.
3934 if test -f $ac_dir/file; then
3935 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3936 if test -n "$file_magic_test_file"; then
3937 case $deplibs_check_method in
3938 "file_magic "*)
3939 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3941 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3942 egrep "$file_magic_regex" > /dev/null; then
3944 else
3945 cat <<EOF 1>&2
3947 *** Warning: the command libtool uses to detect shared libraries,
3948 *** $file_magic_cmd, produces output that libtool cannot recognize.
3949 *** The result is that libtool may fail to recognize shared libraries
3950 *** as such. This will affect the creation of libtool libraries that
3951 *** depend on shared libraries, but programs linked with such libtool
3952 *** libraries will work regardless of this problem. Nevertheless, you
3953 *** may want to report the problem to your system manager and/or to
3954 *** bug-libtool@gnu.org
3957 fi ;;
3958 esac
3960 break
3962 done
3963 IFS="$ac_save_ifs"
3964 MAGIC_CMD="$ac_save_MAGIC_CMD"
3966 esac
3969 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3970 if test -n "$MAGIC_CMD"; then
3971 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3972 echo "${ECHO_T}$MAGIC_CMD" >&6
3973 else
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3978 else
3979 MAGIC_CMD=:
3985 esac
3987 if test -n "$ac_tool_prefix"; then
3988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3989 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3990 echo "$as_me:$LINENO: checking for $ac_word" >&5
3991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3992 if test "${ac_cv_prog_RANLIB+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 else
3995 if test -n "$RANLIB"; then
3996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3997 else
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 break 2
4009 done
4010 done
4014 RANLIB=$ac_cv_prog_RANLIB
4015 if test -n "$RANLIB"; then
4016 echo "$as_me:$LINENO: result: $RANLIB" >&5
4017 echo "${ECHO_T}$RANLIB" >&6
4018 else
4019 echo "$as_me:$LINENO: result: no" >&5
4020 echo "${ECHO_T}no" >&6
4024 if test -z "$ac_cv_prog_RANLIB"; then
4025 ac_ct_RANLIB=$RANLIB
4026 # Extract the first word of "ranlib", so it can be a program name with args.
4027 set dummy ranlib; ac_word=$2
4028 echo "$as_me:$LINENO: checking for $ac_word" >&5
4029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4030 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4032 else
4033 if test -n "$ac_ct_RANLIB"; then
4034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4035 else
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $PATH
4039 IFS=$as_save_IFS
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_ac_ct_RANLIB="ranlib"
4044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 break 2
4047 done
4048 done
4050 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4054 if test -n "$ac_ct_RANLIB"; then
4055 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4056 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4062 RANLIB=$ac_ct_RANLIB
4063 else
4064 RANLIB="$ac_cv_prog_RANLIB"
4067 if test -n "$ac_tool_prefix"; then
4068 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4069 set dummy ${ac_tool_prefix}strip; ac_word=$2
4070 echo "$as_me:$LINENO: checking for $ac_word" >&5
4071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4072 if test "${ac_cv_prog_STRIP+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 else
4075 if test -n "$STRIP"; then
4076 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4077 else
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 break 2
4089 done
4090 done
4094 STRIP=$ac_cv_prog_STRIP
4095 if test -n "$STRIP"; then
4096 echo "$as_me:$LINENO: result: $STRIP" >&5
4097 echo "${ECHO_T}$STRIP" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4104 if test -z "$ac_cv_prog_STRIP"; then
4105 ac_ct_STRIP=$STRIP
4106 # Extract the first word of "strip", so it can be a program name with args.
4107 set dummy strip; ac_word=$2
4108 echo "$as_me:$LINENO: checking for $ac_word" >&5
4109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4110 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 else
4113 if test -n "$ac_ct_STRIP"; then
4114 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4115 else
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 for as_dir in $PATH
4119 IFS=$as_save_IFS
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_ac_ct_STRIP="strip"
4124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 break 2
4127 done
4128 done
4130 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4133 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4134 if test -n "$ac_ct_STRIP"; then
4135 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4136 echo "${ECHO_T}$ac_ct_STRIP" >&6
4137 else
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4142 STRIP=$ac_ct_STRIP
4143 else
4144 STRIP="$ac_cv_prog_STRIP"
4148 # Check for any special flags to pass to ltconfig.
4149 libtool_flags="--cache-file=$cache_file"
4150 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4151 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4152 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4153 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4154 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4157 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4158 if test "${enable_libtool_lock+set}" = set; then
4159 enableval="$enable_libtool_lock"
4162 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4163 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4166 # Check whether --with-pic or --without-pic was given.
4167 if test "${with_pic+set}" = set; then
4168 withval="$with_pic"
4169 pic_mode="$withval"
4170 else
4171 pic_mode=default
4173 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4174 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4176 # Some flags need to be propagated to the compiler or linker for good
4177 # libtool support.
4178 case $host in
4179 *-*-irix6*)
4180 # Find out which ABI we are using.
4181 echo '#line 4181 "configure"' > conftest.$ac_ext
4182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4183 (eval $ac_compile) 2>&5
4184 ac_status=$?
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; then
4187 if test "$lt_cv_prog_gnu_ld" = yes; then
4188 case `/usr/bin/file conftest.$ac_objext` in
4189 *32-bit*)
4190 LD="${LD-ld} -melf32bsmip"
4192 *N32*)
4193 LD="${LD-ld} -melf32bmipn32"
4195 *64-bit*)
4196 LD="${LD-ld} -melf64bmip"
4198 esac
4199 else
4200 case `/usr/bin/file conftest.$ac_objext` in
4201 *32-bit*)
4202 LD="${LD-ld} -32"
4204 *N32*)
4205 LD="${LD-ld} -n32"
4207 *64-bit*)
4208 LD="${LD-ld} -64"
4210 esac
4213 rm -rf conftest*
4216 ia64-*-hpux*)
4217 # Find out which ABI we are using.
4218 echo 'int i;' > conftest.$ac_ext
4219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4220 (eval $ac_compile) 2>&5
4221 ac_status=$?
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; then
4224 case "`/usr/bin/file conftest.o`" in
4225 *ELF-32*)
4226 HPUX_IA64_MODE="32"
4228 *ELF-64*)
4229 HPUX_IA64_MODE="64"
4231 esac
4233 rm -rf conftest*
4236 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4237 # Find out which ABI we are using.
4238 echo 'int i;' > conftest.$ac_ext
4239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4240 (eval $ac_compile) 2>&5
4241 ac_status=$?
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; then
4244 case "`/usr/bin/file conftest.o`" in
4245 *32-bit*)
4246 case $host in
4247 x86_64-*linux*)
4248 LD="${LD-ld} -m elf_i386"
4250 ppc64-*linux*|powerpc64-*linux*)
4251 LD="${LD-ld} -m elf32ppclinux"
4253 s390x-*linux*)
4254 LD="${LD-ld} -m elf_s390"
4256 sparc64-*linux*)
4257 LD="${LD-ld} -m elf32_sparc"
4259 esac
4261 *64-bit*)
4262 case $host in
4263 x86_64-*linux*)
4264 LD="${LD-ld} -m elf_x86_64"
4266 ppc*-*linux*|powerpc*-*linux*)
4267 LD="${LD-ld} -m elf64ppc"
4269 s390*-*linux*)
4270 LD="${LD-ld} -m elf64_s390"
4272 sparc*-*linux*)
4273 LD="${LD-ld} -m elf64_sparc"
4275 esac
4277 esac
4279 rm -rf conftest*
4282 *-*-sco3.2v5*)
4283 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4284 SAVE_CFLAGS="$CFLAGS"
4285 CFLAGS="$CFLAGS -belf"
4286 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4287 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4288 if test "${lt_cv_cc_needs_belf+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 else
4293 ac_ext=c
4294 ac_cpp='$CPP $CPPFLAGS'
4295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299 if test x$gcc_no_link = xyes; then
4300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4302 { (exit 1); exit 1; }; }
4304 cat >conftest.$ac_ext <<_ACEOF
4305 /* confdefs.h. */
4306 _ACEOF
4307 cat confdefs.h >>conftest.$ac_ext
4308 cat >>conftest.$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4312 main ()
4316 return 0;
4318 _ACEOF
4319 rm -f conftest.$ac_objext conftest$ac_exeext
4320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4321 (eval $ac_link) 2>conftest.er1
4322 ac_status=$?
4323 grep -v '^ *+' conftest.er1 >conftest.err
4324 rm -f conftest.er1
4325 cat conftest.err >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } &&
4328 { ac_try='test -z "$ac_c_werror_flag"
4329 || test ! -s conftest.err'
4330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 (eval $ac_try) 2>&5
4332 ac_status=$?
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; } &&
4335 { ac_try='test -s conftest$ac_exeext'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 (eval $ac_try) 2>&5
4338 ac_status=$?
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; }; then
4341 lt_cv_cc_needs_belf=yes
4342 else
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.$ac_ext >&5
4346 lt_cv_cc_needs_belf=no
4348 rm -f conftest.err conftest.$ac_objext \
4349 conftest$ac_exeext conftest.$ac_ext
4350 ac_ext=c
4351 ac_cpp='$CPP $CPPFLAGS'
4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4358 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4359 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4360 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4361 CFLAGS="$SAVE_CFLAGS"
4366 esac
4369 # Save cache, so that ltconfig can load it
4370 cat >confcache <<\_ACEOF
4371 # This file is a shell script that caches the results of configure
4372 # tests run on this system so they can be shared between configure
4373 # scripts and configure runs, see configure's option --config-cache.
4374 # It is not useful on other systems. If it contains results you don't
4375 # want to keep, you may remove or edit it.
4377 # config.status only pays attention to the cache file if you give it
4378 # the --recheck option to rerun configure.
4380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4382 # following values.
4384 _ACEOF
4386 # The following way of writing the cache mishandles newlines in values,
4387 # but we know of no workaround that is simple, portable, and efficient.
4388 # So, don't put newlines in cache variables' values.
4389 # Ultrix sh set writes to stderr and can't be redirected directly,
4390 # and sets the high bit in the cache file unless we assign to the vars.
4392 (set) 2>&1 |
4393 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4394 *ac_space=\ *)
4395 # `set' does not quote correctly, so add quotes (double-quote
4396 # substitution turns \\\\ into \\, and sed turns \\ into \).
4397 sed -n \
4398 "s/'/'\\\\''/g;
4399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4402 # `set' quotes correctly as required by POSIX, so do not add quotes.
4403 sed -n \
4404 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4406 esac;
4408 sed '
4409 t clear
4410 : clear
4411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4412 t end
4413 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4414 : end' >>confcache
4415 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4416 if test -w $cache_file; then
4417 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4418 cat confcache >$cache_file
4419 else
4420 echo "not updating unwritable cache $cache_file"
4423 rm -f confcache
4425 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4426 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4427 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4428 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4429 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4430 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4431 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4432 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4433 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4434 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4435 echo "$as_me: error: libtool configure failed" >&2;}
4436 { (exit 1); exit 1; }; }
4438 # Reload cache, that may have been modified by ltconfig
4439 if test -r "$cache_file"; then
4440 # Some versions of bash will fail to source /dev/null (special
4441 # files actually), so we avoid doing that.
4442 if test -f "$cache_file"; then
4443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4444 echo "$as_me: loading cache $cache_file" >&6;}
4445 case $cache_file in
4446 [\\/]* | ?:[\\/]* ) . $cache_file;;
4447 *) . ./$cache_file;;
4448 esac
4450 else
4451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4452 echo "$as_me: creating cache $cache_file" >&6;}
4453 >$cache_file
4457 # This can be used to rebuild libtool when needed
4458 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4460 # Always use our own libtool.
4461 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4463 # Redirect the config.log output again, so that the ltconfig log is not
4464 # clobbered by the next message.
4465 exec 5>>./config.log
4474 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4476 # We need gfortran to compile parts of the library
4477 #AC_PROG_FC(gfortran)
4478 FC="$GFORTRAN"
4479 ac_ext=${FC_SRCEXT-f}
4480 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4481 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4482 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4483 if test -n "$ac_tool_prefix"; then
4484 for ac_prog in gfortran
4486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4488 echo "$as_me:$LINENO: checking for $ac_word" >&5
4489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4490 if test "${ac_cv_prog_FC+set}" = set; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 else
4493 if test -n "$FC"; then
4494 ac_cv_prog_FC="$FC" # Let the user override the test.
4495 else
4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 for as_dir in $PATH
4499 IFS=$as_save_IFS
4500 test -z "$as_dir" && as_dir=.
4501 for ac_exec_ext in '' $ac_executable_extensions; do
4502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4503 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 break 2
4507 done
4508 done
4512 FC=$ac_cv_prog_FC
4513 if test -n "$FC"; then
4514 echo "$as_me:$LINENO: result: $FC" >&5
4515 echo "${ECHO_T}$FC" >&6
4516 else
4517 echo "$as_me:$LINENO: result: no" >&5
4518 echo "${ECHO_T}no" >&6
4521 test -n "$FC" && break
4522 done
4524 if test -z "$FC"; then
4525 ac_ct_FC=$FC
4526 for ac_prog in gfortran
4528 # Extract the first word of "$ac_prog", so it can be a program name with args.
4529 set dummy $ac_prog; ac_word=$2
4530 echo "$as_me:$LINENO: checking for $ac_word" >&5
4531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4532 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 else
4535 if test -n "$ac_ct_FC"; then
4536 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4545 ac_cv_prog_ac_ct_FC="$ac_prog"
4546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4549 done
4550 done
4554 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4555 if test -n "$ac_ct_FC"; then
4556 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4557 echo "${ECHO_T}$ac_ct_FC" >&6
4558 else
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4563 test -n "$ac_ct_FC" && break
4564 done
4566 FC=$ac_ct_FC
4570 # Provide some information about the compiler.
4571 echo "$as_me:4571:" \
4572 "checking for Fortran compiler version" >&5
4573 ac_compiler=`set X $ac_compile; echo $2`
4574 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4575 (eval $ac_compiler --version </dev/null >&5) 2>&5
4576 ac_status=$?
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }
4579 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4580 (eval $ac_compiler -v </dev/null >&5) 2>&5
4581 ac_status=$?
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }
4584 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4585 (eval $ac_compiler -V </dev/null >&5) 2>&5
4586 ac_status=$?
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }
4589 rm -f a.out
4591 # If we don't use `.F' as extension, the preprocessor is not run on the
4592 # input file. (Note that this only needs to work for GNU compilers.)
4593 ac_save_ext=$ac_ext
4594 ac_ext=F
4595 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4596 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4597 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 else
4600 cat >conftest.$ac_ext <<_ACEOF
4601 program main
4602 #ifndef __GNUC__
4603 choke me
4604 #endif
4607 _ACEOF
4608 rm -f conftest.$ac_objext
4609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4610 (eval $ac_compile) 2>conftest.er1
4611 ac_status=$?
4612 grep -v '^ *+' conftest.er1 >conftest.err
4613 rm -f conftest.er1
4614 cat conftest.err >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); } &&
4617 { ac_try='test -z "$ac_fc_werror_flag"
4618 || test ! -s conftest.err'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 (eval $ac_try) 2>&5
4621 ac_status=$?
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; } &&
4624 { ac_try='test -s conftest.$ac_objext'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4626 (eval $ac_try) 2>&5
4627 ac_status=$?
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; }; then
4630 ac_compiler_gnu=yes
4631 else
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.$ac_ext >&5
4635 ac_compiler_gnu=no
4637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4638 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4641 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4642 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4643 ac_ext=$ac_save_ext
4644 ac_test_FFLAGS=${FCFLAGS+set}
4645 ac_save_FFLAGS=$FCFLAGS
4646 FCFLAGS=
4647 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4648 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4649 if test "${ac_cv_prog_fc_g+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 else
4652 FCFLAGS=-g
4653 cat >conftest.$ac_ext <<_ACEOF
4654 program main
4657 _ACEOF
4658 rm -f conftest.$ac_objext
4659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4660 (eval $ac_compile) 2>conftest.er1
4661 ac_status=$?
4662 grep -v '^ *+' conftest.er1 >conftest.err
4663 rm -f conftest.er1
4664 cat conftest.err >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try='test -z "$ac_fc_werror_flag"
4668 || test ! -s conftest.err'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 (eval $ac_try) 2>&5
4671 ac_status=$?
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; } &&
4674 { ac_try='test -s conftest.$ac_objext'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 (eval $ac_try) 2>&5
4677 ac_status=$?
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; }; then
4680 ac_cv_prog_fc_g=yes
4681 else
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 ac_cv_prog_fc_g=no
4687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4690 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4691 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4692 if test "$ac_test_FFLAGS" = set; then
4693 FCFLAGS=$ac_save_FFLAGS
4694 elif test $ac_cv_prog_fc_g = yes; then
4695 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4696 FCFLAGS="-g -O2"
4697 else
4698 FCFLAGS="-g"
4700 else
4701 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4702 FCFLAGS="-O2"
4703 else
4704 FCFLAGS=
4708 ac_ext=c
4709 ac_cpp='$CPP $CPPFLAGS'
4710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4715 # extra LD Flags which are required for targets
4716 case "${host}" in
4717 *-darwin*)
4718 # Darwin needs -single_module when linking libgfortran
4719 extra_ldflags_libgfortran=-Wl,-single_module
4721 esac
4724 # We need a working compiler at that point, otherwise give a clear
4725 # error message and bail out.
4728 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
4729 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
4730 ac_ext=${FC_SRCEXT-f}
4731 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4732 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4735 cat >conftest.$ac_ext <<_ACEOF
4737 program foo
4738 real, parameter :: bar = sin (12.34 / 2.5)
4739 end program foo
4740 _ACEOF
4741 rm -f conftest.$ac_objext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4743 (eval $ac_compile) 2>conftest.er1
4744 ac_status=$?
4745 grep -v '^ *+' conftest.er1 >conftest.err
4746 rm -f conftest.er1
4747 cat conftest.err >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } &&
4750 { ac_try='test -z "$ac_fc_werror_flag"
4751 || test ! -s conftest.err'
4752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 (eval $ac_try) 2>&5
4754 ac_status=$?
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; } &&
4757 { ac_try='test -s conftest.$ac_objext'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 (eval $ac_try) 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; }; then
4763 echo "$as_me:$LINENO: result: yes" >&5
4764 echo "${ECHO_T}yes" >&6
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6
4771 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; the most common reason for that is that you might have linked it to shared GMP and/or MPFR libraries, and not set LD_LIBRARY_PATH accordingly. If you suspect any other reason, please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
4772 echo "$as_me: error: GNU Fortran is not working; the most common reason for that is that you might have linked it to shared GMP and/or MPFR libraries, and not set LD_LIBRARY_PATH accordingly. If you suspect any other reason, please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
4773 { (exit 1); exit 1; }; }
4776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4777 ac_ext=c
4778 ac_cpp='$CPP $CPPFLAGS'
4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785 # Check whether --enable-largefile or --disable-largefile was given.
4786 if test "${enable_largefile+set}" = set; then
4787 enableval="$enable_largefile"
4790 if test "$enable_largefile" != no; then
4792 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4793 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4794 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4795 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 else
4797 ac_cv_sys_largefile_CC=no
4798 if test "$GCC" != yes; then
4799 ac_save_CC=$CC
4800 while :; do
4801 # IRIX 6.2 and later do not support large files by default,
4802 # so use the C compiler's -n32 option if that helps.
4803 cat >conftest.$ac_ext <<_ACEOF
4804 /* confdefs.h. */
4805 _ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 #include <sys/types.h>
4810 /* Check that off_t can represent 2**63 - 1 correctly.
4811 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4812 since some C++ compilers masquerading as C compilers
4813 incorrectly reject 9223372036854775807. */
4814 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4815 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4816 && LARGE_OFF_T % 2147483647 == 1)
4817 ? 1 : -1];
4819 main ()
4823 return 0;
4825 _ACEOF
4826 rm -f conftest.$ac_objext
4827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 (eval $ac_compile) 2>conftest.er1
4829 ac_status=$?
4830 grep -v '^ *+' conftest.er1 >conftest.err
4831 rm -f conftest.er1
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } &&
4835 { ac_try='test -z "$ac_c_werror_flag"
4836 || test ! -s conftest.err'
4837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 (eval $ac_try) 2>&5
4839 ac_status=$?
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }; } &&
4842 { ac_try='test -s conftest.$ac_objext'
4843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 (eval $ac_try) 2>&5
4845 ac_status=$?
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; }; then
4848 break
4849 else
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.$ac_ext >&5
4854 rm -f conftest.err conftest.$ac_objext
4855 CC="$CC -n32"
4856 rm -f conftest.$ac_objext
4857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4858 (eval $ac_compile) 2>conftest.er1
4859 ac_status=$?
4860 grep -v '^ *+' conftest.er1 >conftest.err
4861 rm -f conftest.er1
4862 cat conftest.err >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } &&
4865 { ac_try='test -z "$ac_c_werror_flag"
4866 || test ! -s conftest.err'
4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4868 (eval $ac_try) 2>&5
4869 ac_status=$?
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; } &&
4872 { ac_try='test -s conftest.$ac_objext'
4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4874 (eval $ac_try) 2>&5
4875 ac_status=$?
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; }; then
4878 ac_cv_sys_largefile_CC=' -n32'; break
4879 else
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.$ac_ext >&5
4884 rm -f conftest.err conftest.$ac_objext
4885 break
4886 done
4887 CC=$ac_save_CC
4888 rm -f conftest.$ac_ext
4891 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4892 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4893 if test "$ac_cv_sys_largefile_CC" != no; then
4894 CC=$CC$ac_cv_sys_largefile_CC
4897 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4898 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4899 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 else
4902 while :; do
4903 ac_cv_sys_file_offset_bits=no
4904 cat >conftest.$ac_ext <<_ACEOF
4905 /* confdefs.h. */
4906 _ACEOF
4907 cat confdefs.h >>conftest.$ac_ext
4908 cat >>conftest.$ac_ext <<_ACEOF
4909 /* end confdefs.h. */
4910 #include <sys/types.h>
4911 /* Check that off_t can represent 2**63 - 1 correctly.
4912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4913 since some C++ compilers masquerading as C compilers
4914 incorrectly reject 9223372036854775807. */
4915 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4917 && LARGE_OFF_T % 2147483647 == 1)
4918 ? 1 : -1];
4920 main ()
4924 return 0;
4926 _ACEOF
4927 rm -f conftest.$ac_objext
4928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4929 (eval $ac_compile) 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } &&
4936 { ac_try='test -z "$ac_c_werror_flag"
4937 || test ! -s conftest.err'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4939 (eval $ac_try) 2>&5
4940 ac_status=$?
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; } &&
4943 { ac_try='test -s conftest.$ac_objext'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 (eval $ac_try) 2>&5
4946 ac_status=$?
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then
4949 break
4950 else
4951 echo "$as_me: failed program was:" >&5
4952 sed 's/^/| /' conftest.$ac_ext >&5
4955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4956 cat >conftest.$ac_ext <<_ACEOF
4957 /* confdefs.h. */
4958 _ACEOF
4959 cat confdefs.h >>conftest.$ac_ext
4960 cat >>conftest.$ac_ext <<_ACEOF
4961 /* end confdefs.h. */
4962 #define _FILE_OFFSET_BITS 64
4963 #include <sys/types.h>
4964 /* Check that off_t can represent 2**63 - 1 correctly.
4965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4966 since some C++ compilers masquerading as C compilers
4967 incorrectly reject 9223372036854775807. */
4968 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4970 && LARGE_OFF_T % 2147483647 == 1)
4971 ? 1 : -1];
4973 main ()
4977 return 0;
4979 _ACEOF
4980 rm -f conftest.$ac_objext
4981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4982 (eval $ac_compile) 2>conftest.er1
4983 ac_status=$?
4984 grep -v '^ *+' conftest.er1 >conftest.err
4985 rm -f conftest.er1
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } &&
4989 { ac_try='test -z "$ac_c_werror_flag"
4990 || test ! -s conftest.err'
4991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4992 (eval $ac_try) 2>&5
4993 ac_status=$?
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; } &&
4996 { ac_try='test -s conftest.$ac_objext'
4997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998 (eval $ac_try) 2>&5
4999 ac_status=$?
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); }; }; then
5002 ac_cv_sys_file_offset_bits=64; break
5003 else
5004 echo "$as_me: failed program was:" >&5
5005 sed 's/^/| /' conftest.$ac_ext >&5
5008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5009 break
5010 done
5012 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5013 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5014 if test "$ac_cv_sys_file_offset_bits" != no; then
5016 cat >>confdefs.h <<_ACEOF
5017 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5018 _ACEOF
5021 rm -f conftest*
5022 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5023 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5024 if test "${ac_cv_sys_large_files+set}" = set; then
5025 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 else
5027 while :; do
5028 ac_cv_sys_large_files=no
5029 cat >conftest.$ac_ext <<_ACEOF
5030 /* confdefs.h. */
5031 _ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5035 #include <sys/types.h>
5036 /* Check that off_t can represent 2**63 - 1 correctly.
5037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5038 since some C++ compilers masquerading as C compilers
5039 incorrectly reject 9223372036854775807. */
5040 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5042 && LARGE_OFF_T % 2147483647 == 1)
5043 ? 1 : -1];
5045 main ()
5049 return 0;
5051 _ACEOF
5052 rm -f conftest.$ac_objext
5053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5054 (eval $ac_compile) 2>conftest.er1
5055 ac_status=$?
5056 grep -v '^ *+' conftest.er1 >conftest.err
5057 rm -f conftest.er1
5058 cat conftest.err >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } &&
5061 { ac_try='test -z "$ac_c_werror_flag"
5062 || test ! -s conftest.err'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5064 (eval $ac_try) 2>&5
5065 ac_status=$?
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; } &&
5068 { ac_try='test -s conftest.$ac_objext'
5069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070 (eval $ac_try) 2>&5
5071 ac_status=$?
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); }; }; then
5074 break
5075 else
5076 echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.$ac_ext >&5
5080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5081 cat >conftest.$ac_ext <<_ACEOF
5082 /* confdefs.h. */
5083 _ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5087 #define _LARGE_FILES 1
5088 #include <sys/types.h>
5089 /* Check that off_t can represent 2**63 - 1 correctly.
5090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5091 since some C++ compilers masquerading as C compilers
5092 incorrectly reject 9223372036854775807. */
5093 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5095 && LARGE_OFF_T % 2147483647 == 1)
5096 ? 1 : -1];
5098 main ()
5102 return 0;
5104 _ACEOF
5105 rm -f conftest.$ac_objext
5106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5107 (eval $ac_compile) 2>conftest.er1
5108 ac_status=$?
5109 grep -v '^ *+' conftest.er1 >conftest.err
5110 rm -f conftest.er1
5111 cat conftest.err >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); } &&
5114 { ac_try='test -z "$ac_c_werror_flag"
5115 || test ! -s conftest.err'
5116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117 (eval $ac_try) 2>&5
5118 ac_status=$?
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); }; } &&
5121 { ac_try='test -s conftest.$ac_objext'
5122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5123 (eval $ac_try) 2>&5
5124 ac_status=$?
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); }; }; then
5127 ac_cv_sys_large_files=1; break
5128 else
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.$ac_ext >&5
5133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5134 break
5135 done
5137 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5138 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5139 if test "$ac_cv_sys_large_files" != no; then
5141 cat >>confdefs.h <<_ACEOF
5142 #define _LARGE_FILES $ac_cv_sys_large_files
5143 _ACEOF
5146 rm -f conftest*
5149 ac_ext=c
5150 ac_cpp='$CPP $CPPFLAGS'
5151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5154 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5155 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5156 # On Suns, sometimes $CPP names a directory.
5157 if test -n "$CPP" && test -d "$CPP"; then
5158 CPP=
5160 if test -z "$CPP"; then
5161 if test "${ac_cv_prog_CPP+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 else
5164 # Double quotes because CPP needs to be expanded
5165 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5167 ac_preproc_ok=false
5168 for ac_c_preproc_warn_flag in '' yes
5170 # Use a header file that comes with gcc, so configuring glibc
5171 # with a fresh cross-compiler works.
5172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5173 # <limits.h> exists even on freestanding compilers.
5174 # On the NeXT, cc -E runs the code through the compiler's parser,
5175 # not just through cpp. "Syntax error" is here to catch this case.
5176 cat >conftest.$ac_ext <<_ACEOF
5177 /* confdefs.h. */
5178 _ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5182 #ifdef __STDC__
5183 # include <limits.h>
5184 #else
5185 # include <assert.h>
5186 #endif
5187 Syntax error
5188 _ACEOF
5189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5191 ac_status=$?
5192 grep -v '^ *+' conftest.er1 >conftest.err
5193 rm -f conftest.er1
5194 cat conftest.err >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } >/dev/null; then
5197 if test -s conftest.err; then
5198 ac_cpp_err=$ac_c_preproc_warn_flag
5199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5200 else
5201 ac_cpp_err=
5203 else
5204 ac_cpp_err=yes
5206 if test -z "$ac_cpp_err"; then
5208 else
5209 echo "$as_me: failed program was:" >&5
5210 sed 's/^/| /' conftest.$ac_ext >&5
5212 # Broken: fails on valid input.
5213 continue
5215 rm -f conftest.err conftest.$ac_ext
5217 # OK, works on sane cases. Now check whether non-existent headers
5218 # can be detected and how.
5219 cat >conftest.$ac_ext <<_ACEOF
5220 /* confdefs.h. */
5221 _ACEOF
5222 cat confdefs.h >>conftest.$ac_ext
5223 cat >>conftest.$ac_ext <<_ACEOF
5224 /* end confdefs.h. */
5225 #include <ac_nonexistent.h>
5226 _ACEOF
5227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5229 ac_status=$?
5230 grep -v '^ *+' conftest.er1 >conftest.err
5231 rm -f conftest.er1
5232 cat conftest.err >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } >/dev/null; then
5235 if test -s conftest.err; then
5236 ac_cpp_err=$ac_c_preproc_warn_flag
5237 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5238 else
5239 ac_cpp_err=
5241 else
5242 ac_cpp_err=yes
5244 if test -z "$ac_cpp_err"; then
5245 # Broken: success on invalid input.
5246 continue
5247 else
5248 echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5251 # Passes both tests.
5252 ac_preproc_ok=:
5253 break
5255 rm -f conftest.err conftest.$ac_ext
5257 done
5258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5259 rm -f conftest.err conftest.$ac_ext
5260 if $ac_preproc_ok; then
5261 break
5264 done
5265 ac_cv_prog_CPP=$CPP
5268 CPP=$ac_cv_prog_CPP
5269 else
5270 ac_cv_prog_CPP=$CPP
5272 echo "$as_me:$LINENO: result: $CPP" >&5
5273 echo "${ECHO_T}$CPP" >&6
5274 ac_preproc_ok=false
5275 for ac_c_preproc_warn_flag in '' yes
5277 # Use a header file that comes with gcc, so configuring glibc
5278 # with a fresh cross-compiler works.
5279 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5280 # <limits.h> exists even on freestanding compilers.
5281 # On the NeXT, cc -E runs the code through the compiler's parser,
5282 # not just through cpp. "Syntax error" is here to catch this case.
5283 cat >conftest.$ac_ext <<_ACEOF
5284 /* confdefs.h. */
5285 _ACEOF
5286 cat confdefs.h >>conftest.$ac_ext
5287 cat >>conftest.$ac_ext <<_ACEOF
5288 /* end confdefs.h. */
5289 #ifdef __STDC__
5290 # include <limits.h>
5291 #else
5292 # include <assert.h>
5293 #endif
5294 Syntax error
5295 _ACEOF
5296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5298 ac_status=$?
5299 grep -v '^ *+' conftest.er1 >conftest.err
5300 rm -f conftest.er1
5301 cat conftest.err >&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); } >/dev/null; then
5304 if test -s conftest.err; then
5305 ac_cpp_err=$ac_c_preproc_warn_flag
5306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5307 else
5308 ac_cpp_err=
5310 else
5311 ac_cpp_err=yes
5313 if test -z "$ac_cpp_err"; then
5315 else
5316 echo "$as_me: failed program was:" >&5
5317 sed 's/^/| /' conftest.$ac_ext >&5
5319 # Broken: fails on valid input.
5320 continue
5322 rm -f conftest.err conftest.$ac_ext
5324 # OK, works on sane cases. Now check whether non-existent headers
5325 # can be detected and how.
5326 cat >conftest.$ac_ext <<_ACEOF
5327 /* confdefs.h. */
5328 _ACEOF
5329 cat confdefs.h >>conftest.$ac_ext
5330 cat >>conftest.$ac_ext <<_ACEOF
5331 /* end confdefs.h. */
5332 #include <ac_nonexistent.h>
5333 _ACEOF
5334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5336 ac_status=$?
5337 grep -v '^ *+' conftest.er1 >conftest.err
5338 rm -f conftest.er1
5339 cat conftest.err >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } >/dev/null; then
5342 if test -s conftest.err; then
5343 ac_cpp_err=$ac_c_preproc_warn_flag
5344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5345 else
5346 ac_cpp_err=
5348 else
5349 ac_cpp_err=yes
5351 if test -z "$ac_cpp_err"; then
5352 # Broken: success on invalid input.
5353 continue
5354 else
5355 echo "$as_me: failed program was:" >&5
5356 sed 's/^/| /' conftest.$ac_ext >&5
5358 # Passes both tests.
5359 ac_preproc_ok=:
5360 break
5362 rm -f conftest.err conftest.$ac_ext
5364 done
5365 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5366 rm -f conftest.err conftest.$ac_ext
5367 if $ac_preproc_ok; then
5369 else
5370 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5371 See \`config.log' for more details." >&5
5372 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5373 See \`config.log' for more details." >&2;}
5374 { (exit 1); exit 1; }; }
5377 ac_ext=c
5378 ac_cpp='$CPP $CPPFLAGS'
5379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5384 echo "$as_me:$LINENO: checking for egrep" >&5
5385 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5386 if test "${ac_cv_prog_egrep+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 else
5389 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5390 then ac_cv_prog_egrep='grep -E'
5391 else ac_cv_prog_egrep='egrep'
5394 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5395 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5396 EGREP=$ac_cv_prog_egrep
5399 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5400 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5401 if test "${ac_cv_header_stdc+set}" = set; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5403 else
5404 cat >conftest.$ac_ext <<_ACEOF
5405 /* confdefs.h. */
5406 _ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5410 #include <stdlib.h>
5411 #include <stdarg.h>
5412 #include <string.h>
5413 #include <float.h>
5416 main ()
5420 return 0;
5422 _ACEOF
5423 rm -f conftest.$ac_objext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5425 (eval $ac_compile) 2>conftest.er1
5426 ac_status=$?
5427 grep -v '^ *+' conftest.er1 >conftest.err
5428 rm -f conftest.er1
5429 cat conftest.err >&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } &&
5432 { ac_try='test -z "$ac_c_werror_flag"
5433 || test ! -s conftest.err'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5435 (eval $ac_try) 2>&5
5436 ac_status=$?
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; } &&
5439 { ac_try='test -s conftest.$ac_objext'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5441 (eval $ac_try) 2>&5
5442 ac_status=$?
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5445 ac_cv_header_stdc=yes
5446 else
5447 echo "$as_me: failed program was:" >&5
5448 sed 's/^/| /' conftest.$ac_ext >&5
5450 ac_cv_header_stdc=no
5452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5454 if test $ac_cv_header_stdc = yes; then
5455 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5456 cat >conftest.$ac_ext <<_ACEOF
5457 /* confdefs.h. */
5458 _ACEOF
5459 cat confdefs.h >>conftest.$ac_ext
5460 cat >>conftest.$ac_ext <<_ACEOF
5461 /* end confdefs.h. */
5462 #include <string.h>
5464 _ACEOF
5465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5466 $EGREP "memchr" >/dev/null 2>&1; then
5468 else
5469 ac_cv_header_stdc=no
5471 rm -f conftest*
5475 if test $ac_cv_header_stdc = yes; then
5476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5477 cat >conftest.$ac_ext <<_ACEOF
5478 /* confdefs.h. */
5479 _ACEOF
5480 cat confdefs.h >>conftest.$ac_ext
5481 cat >>conftest.$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5483 #include <stdlib.h>
5485 _ACEOF
5486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5487 $EGREP "free" >/dev/null 2>&1; then
5489 else
5490 ac_cv_header_stdc=no
5492 rm -f conftest*
5496 if test $ac_cv_header_stdc = yes; then
5497 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5498 if test "$cross_compiling" = yes; then
5500 else
5501 cat >conftest.$ac_ext <<_ACEOF
5502 /* confdefs.h. */
5503 _ACEOF
5504 cat confdefs.h >>conftest.$ac_ext
5505 cat >>conftest.$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 #include <ctype.h>
5508 #if ((' ' & 0x0FF) == 0x020)
5509 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5510 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5511 #else
5512 # define ISLOWER(c) \
5513 (('a' <= (c) && (c) <= 'i') \
5514 || ('j' <= (c) && (c) <= 'r') \
5515 || ('s' <= (c) && (c) <= 'z'))
5516 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5517 #endif
5519 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5521 main ()
5523 int i;
5524 for (i = 0; i < 256; i++)
5525 if (XOR (islower (i), ISLOWER (i))
5526 || toupper (i) != TOUPPER (i))
5527 exit(2);
5528 exit (0);
5530 _ACEOF
5531 rm -f conftest$ac_exeext
5532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5533 (eval $ac_link) 2>&5
5534 ac_status=$?
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538 (eval $ac_try) 2>&5
5539 ac_status=$?
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; }; then
5543 else
5544 echo "$as_me: program exited with status $ac_status" >&5
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.$ac_ext >&5
5548 ( exit $ac_status )
5549 ac_cv_header_stdc=no
5551 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5555 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5556 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5557 if test $ac_cv_header_stdc = yes; then
5559 cat >>confdefs.h <<\_ACEOF
5560 #define STDC_HEADERS 1
5561 _ACEOF
5565 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5575 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5576 inttypes.h stdint.h unistd.h
5578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5579 echo "$as_me:$LINENO: checking for $ac_header" >&5
5580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5583 else
5584 cat >conftest.$ac_ext <<_ACEOF
5585 /* confdefs.h. */
5586 _ACEOF
5587 cat confdefs.h >>conftest.$ac_ext
5588 cat >>conftest.$ac_ext <<_ACEOF
5589 /* end confdefs.h. */
5590 $ac_includes_default
5592 #include <$ac_header>
5593 _ACEOF
5594 rm -f conftest.$ac_objext
5595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5596 (eval $ac_compile) 2>conftest.er1
5597 ac_status=$?
5598 grep -v '^ *+' conftest.er1 >conftest.err
5599 rm -f conftest.er1
5600 cat conftest.err >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } &&
5603 { ac_try='test -z "$ac_c_werror_flag"
5604 || test ! -s conftest.err'
5605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 (eval $ac_try) 2>&5
5607 ac_status=$?
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; } &&
5610 { ac_try='test -s conftest.$ac_objext'
5611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 (eval $ac_try) 2>&5
5613 ac_status=$?
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; }; then
5616 eval "$as_ac_Header=yes"
5617 else
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5621 eval "$as_ac_Header=no"
5623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5628 cat >>confdefs.h <<_ACEOF
5629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5630 _ACEOF
5634 done
5637 echo "$as_me:$LINENO: checking for off_t" >&5
5638 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5639 if test "${ac_cv_type_off_t+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642 cat >conftest.$ac_ext <<_ACEOF
5643 /* confdefs.h. */
5644 _ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5648 $ac_includes_default
5650 main ()
5652 if ((off_t *) 0)
5653 return 0;
5654 if (sizeof (off_t))
5655 return 0;
5657 return 0;
5659 _ACEOF
5660 rm -f conftest.$ac_objext
5661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5662 (eval $ac_compile) 2>conftest.er1
5663 ac_status=$?
5664 grep -v '^ *+' conftest.er1 >conftest.err
5665 rm -f conftest.er1
5666 cat conftest.err >&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } &&
5669 { ac_try='test -z "$ac_c_werror_flag"
5670 || test ! -s conftest.err'
5671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5672 (eval $ac_try) 2>&5
5673 ac_status=$?
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); }; } &&
5676 { ac_try='test -s conftest.$ac_objext'
5677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5678 (eval $ac_try) 2>&5
5679 ac_status=$?
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); }; }; then
5682 ac_cv_type_off_t=yes
5683 else
5684 echo "$as_me: failed program was:" >&5
5685 sed 's/^/| /' conftest.$ac_ext >&5
5687 ac_cv_type_off_t=no
5689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5691 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5692 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5693 if test $ac_cv_type_off_t = yes; then
5695 else
5697 cat >>confdefs.h <<_ACEOF
5698 #define off_t long
5699 _ACEOF
5704 # check header files
5705 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5707 if test "${ac_cv_header_stdc+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 cat >conftest.$ac_ext <<_ACEOF
5711 /* confdefs.h. */
5712 _ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5716 #include <stdlib.h>
5717 #include <stdarg.h>
5718 #include <string.h>
5719 #include <float.h>
5722 main ()
5726 return 0;
5728 _ACEOF
5729 rm -f conftest.$ac_objext
5730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5731 (eval $ac_compile) 2>conftest.er1
5732 ac_status=$?
5733 grep -v '^ *+' conftest.er1 >conftest.err
5734 rm -f conftest.er1
5735 cat conftest.err >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } &&
5738 { ac_try='test -z "$ac_c_werror_flag"
5739 || test ! -s conftest.err'
5740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 (eval $ac_try) 2>&5
5742 ac_status=$?
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; } &&
5745 { ac_try='test -s conftest.$ac_objext'
5746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 (eval $ac_try) 2>&5
5748 ac_status=$?
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); }; }; then
5751 ac_cv_header_stdc=yes
5752 else
5753 echo "$as_me: failed program was:" >&5
5754 sed 's/^/| /' conftest.$ac_ext >&5
5756 ac_cv_header_stdc=no
5758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5760 if test $ac_cv_header_stdc = yes; then
5761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5762 cat >conftest.$ac_ext <<_ACEOF
5763 /* confdefs.h. */
5764 _ACEOF
5765 cat confdefs.h >>conftest.$ac_ext
5766 cat >>conftest.$ac_ext <<_ACEOF
5767 /* end confdefs.h. */
5768 #include <string.h>
5770 _ACEOF
5771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5772 $EGREP "memchr" >/dev/null 2>&1; then
5774 else
5775 ac_cv_header_stdc=no
5777 rm -f conftest*
5781 if test $ac_cv_header_stdc = yes; then
5782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5783 cat >conftest.$ac_ext <<_ACEOF
5784 /* confdefs.h. */
5785 _ACEOF
5786 cat confdefs.h >>conftest.$ac_ext
5787 cat >>conftest.$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5789 #include <stdlib.h>
5791 _ACEOF
5792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5793 $EGREP "free" >/dev/null 2>&1; then
5795 else
5796 ac_cv_header_stdc=no
5798 rm -f conftest*
5802 if test $ac_cv_header_stdc = yes; then
5803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5804 if test "$cross_compiling" = yes; then
5806 else
5807 cat >conftest.$ac_ext <<_ACEOF
5808 /* confdefs.h. */
5809 _ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5813 #include <ctype.h>
5814 #if ((' ' & 0x0FF) == 0x020)
5815 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5816 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5817 #else
5818 # define ISLOWER(c) \
5819 (('a' <= (c) && (c) <= 'i') \
5820 || ('j' <= (c) && (c) <= 'r') \
5821 || ('s' <= (c) && (c) <= 'z'))
5822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5823 #endif
5825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5827 main ()
5829 int i;
5830 for (i = 0; i < 256; i++)
5831 if (XOR (islower (i), ISLOWER (i))
5832 || toupper (i) != TOUPPER (i))
5833 exit(2);
5834 exit (0);
5836 _ACEOF
5837 rm -f conftest$ac_exeext
5838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5839 (eval $ac_link) 2>&5
5840 ac_status=$?
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5844 (eval $ac_try) 2>&5
5845 ac_status=$?
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5849 else
5850 echo "$as_me: program exited with status $ac_status" >&5
5851 echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5854 ( exit $ac_status )
5855 ac_cv_header_stdc=no
5857 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5861 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5862 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5863 if test $ac_cv_header_stdc = yes; then
5865 cat >>confdefs.h <<\_ACEOF
5866 #define STDC_HEADERS 1
5867 _ACEOF
5871 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5872 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5873 if test "${ac_cv_header_time+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 else
5876 cat >conftest.$ac_ext <<_ACEOF
5877 /* confdefs.h. */
5878 _ACEOF
5879 cat confdefs.h >>conftest.$ac_ext
5880 cat >>conftest.$ac_ext <<_ACEOF
5881 /* end confdefs.h. */
5882 #include <sys/types.h>
5883 #include <sys/time.h>
5884 #include <time.h>
5887 main ()
5889 if ((struct tm *) 0)
5890 return 0;
5892 return 0;
5894 _ACEOF
5895 rm -f conftest.$ac_objext
5896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5897 (eval $ac_compile) 2>conftest.er1
5898 ac_status=$?
5899 grep -v '^ *+' conftest.er1 >conftest.err
5900 rm -f conftest.er1
5901 cat conftest.err >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try='test -z "$ac_c_werror_flag"
5905 || test ! -s conftest.err'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5907 (eval $ac_try) 2>&5
5908 ac_status=$?
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; } &&
5911 { ac_try='test -s conftest.$ac_objext'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5913 (eval $ac_try) 2>&5
5914 ac_status=$?
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; }; then
5917 ac_cv_header_time=yes
5918 else
5919 echo "$as_me: failed program was:" >&5
5920 sed 's/^/| /' conftest.$ac_ext >&5
5922 ac_cv_header_time=no
5924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5926 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5927 echo "${ECHO_T}$ac_cv_header_time" >&6
5928 if test $ac_cv_header_time = yes; then
5930 cat >>confdefs.h <<\_ACEOF
5931 #define TIME_WITH_SYS_TIME 1
5932 _ACEOF
5943 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5947 echo "$as_me:$LINENO: checking for $ac_header" >&5
5948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5954 else
5955 # Is the header compilable?
5956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 $ac_includes_default
5965 #include <$ac_header>
5966 _ACEOF
5967 rm -f conftest.$ac_objext
5968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5969 (eval $ac_compile) 2>conftest.er1
5970 ac_status=$?
5971 grep -v '^ *+' conftest.er1 >conftest.err
5972 rm -f conftest.er1
5973 cat conftest.err >&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } &&
5976 { ac_try='test -z "$ac_c_werror_flag"
5977 || test ! -s conftest.err'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5979 (eval $ac_try) 2>&5
5980 ac_status=$?
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; } &&
5983 { ac_try='test -s conftest.$ac_objext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5985 (eval $ac_try) 2>&5
5986 ac_status=$?
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 ac_header_compiler=yes
5990 else
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.$ac_ext >&5
5994 ac_header_compiler=no
5996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5998 echo "${ECHO_T}$ac_header_compiler" >&6
6000 # Is the header present?
6001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6003 cat >conftest.$ac_ext <<_ACEOF
6004 /* confdefs.h. */
6005 _ACEOF
6006 cat confdefs.h >>conftest.$ac_ext
6007 cat >>conftest.$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6009 #include <$ac_header>
6010 _ACEOF
6011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6013 ac_status=$?
6014 grep -v '^ *+' conftest.er1 >conftest.err
6015 rm -f conftest.er1
6016 cat conftest.err >&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } >/dev/null; then
6019 if test -s conftest.err; then
6020 ac_cpp_err=$ac_c_preproc_warn_flag
6021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6022 else
6023 ac_cpp_err=
6025 else
6026 ac_cpp_err=yes
6028 if test -z "$ac_cpp_err"; then
6029 ac_header_preproc=yes
6030 else
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 ac_header_preproc=no
6036 rm -f conftest.err conftest.$ac_ext
6037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6038 echo "${ECHO_T}$ac_header_preproc" >&6
6040 # So? What about this header?
6041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6042 yes:no: )
6043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6047 ac_header_preproc=yes
6049 no:yes:* )
6050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6063 cat <<\_ASBOX
6064 ## ------------------------------------------------------ ##
6065 ## Report this to the GNU Fortran Runtime Library lists. ##
6066 ## ------------------------------------------------------ ##
6067 _ASBOX
6069 sed "s/^/$as_me: WARNING: /" >&2
6071 esac
6072 echo "$as_me:$LINENO: checking for $ac_header" >&5
6073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 else
6077 eval "$as_ac_Header=\$ac_header_preproc"
6079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6084 cat >>confdefs.h <<_ACEOF
6085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6086 _ACEOF
6090 done
6097 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6101 echo "$as_me:$LINENO: checking for $ac_header" >&5
6102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6108 else
6109 # Is the header compilable?
6110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6112 cat >conftest.$ac_ext <<_ACEOF
6113 /* confdefs.h. */
6114 _ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6118 $ac_includes_default
6119 #include <$ac_header>
6120 _ACEOF
6121 rm -f conftest.$ac_objext
6122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6123 (eval $ac_compile) 2>conftest.er1
6124 ac_status=$?
6125 grep -v '^ *+' conftest.er1 >conftest.err
6126 rm -f conftest.er1
6127 cat conftest.err >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } &&
6130 { ac_try='test -z "$ac_c_werror_flag"
6131 || test ! -s conftest.err'
6132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6133 (eval $ac_try) 2>&5
6134 ac_status=$?
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); }; } &&
6137 { ac_try='test -s conftest.$ac_objext'
6138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 (eval $ac_try) 2>&5
6140 ac_status=$?
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }; }; then
6143 ac_header_compiler=yes
6144 else
6145 echo "$as_me: failed program was:" >&5
6146 sed 's/^/| /' conftest.$ac_ext >&5
6148 ac_header_compiler=no
6150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6152 echo "${ECHO_T}$ac_header_compiler" >&6
6154 # Is the header present?
6155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6157 cat >conftest.$ac_ext <<_ACEOF
6158 /* confdefs.h. */
6159 _ACEOF
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 #include <$ac_header>
6164 _ACEOF
6165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6167 ac_status=$?
6168 grep -v '^ *+' conftest.er1 >conftest.err
6169 rm -f conftest.er1
6170 cat conftest.err >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); } >/dev/null; then
6173 if test -s conftest.err; then
6174 ac_cpp_err=$ac_c_preproc_warn_flag
6175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6176 else
6177 ac_cpp_err=
6179 else
6180 ac_cpp_err=yes
6182 if test -z "$ac_cpp_err"; then
6183 ac_header_preproc=yes
6184 else
6185 echo "$as_me: failed program was:" >&5
6186 sed 's/^/| /' conftest.$ac_ext >&5
6188 ac_header_preproc=no
6190 rm -f conftest.err conftest.$ac_ext
6191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6192 echo "${ECHO_T}$ac_header_preproc" >&6
6194 # So? What about this header?
6195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6196 yes:no: )
6197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6201 ac_header_preproc=yes
6203 no:yes:* )
6204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6217 cat <<\_ASBOX
6218 ## ------------------------------------------------------ ##
6219 ## Report this to the GNU Fortran Runtime Library lists. ##
6220 ## ------------------------------------------------------ ##
6221 _ASBOX
6223 sed "s/^/$as_me: WARNING: /" >&2
6225 esac
6226 echo "$as_me:$LINENO: checking for $ac_header" >&5
6227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 else
6231 eval "$as_ac_Header=\$ac_header_preproc"
6233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6238 cat >>confdefs.h <<_ACEOF
6239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6240 _ACEOF
6244 done
6251 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6255 echo "$as_me:$LINENO: checking for $ac_header" >&5
6256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6262 else
6263 # Is the header compilable?
6264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6266 cat >conftest.$ac_ext <<_ACEOF
6267 /* confdefs.h. */
6268 _ACEOF
6269 cat confdefs.h >>conftest.$ac_ext
6270 cat >>conftest.$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 $ac_includes_default
6273 #include <$ac_header>
6274 _ACEOF
6275 rm -f conftest.$ac_objext
6276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6277 (eval $ac_compile) 2>conftest.er1
6278 ac_status=$?
6279 grep -v '^ *+' conftest.er1 >conftest.err
6280 rm -f conftest.er1
6281 cat conftest.err >&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try='test -z "$ac_c_werror_flag"
6285 || test ! -s conftest.err'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6287 (eval $ac_try) 2>&5
6288 ac_status=$?
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; } &&
6291 { ac_try='test -s conftest.$ac_objext'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 (eval $ac_try) 2>&5
6294 ac_status=$?
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 ac_header_compiler=yes
6298 else
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6302 ac_header_compiler=no
6304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6306 echo "${ECHO_T}$ac_header_compiler" >&6
6308 # Is the header present?
6309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6311 cat >conftest.$ac_ext <<_ACEOF
6312 /* confdefs.h. */
6313 _ACEOF
6314 cat confdefs.h >>conftest.$ac_ext
6315 cat >>conftest.$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6317 #include <$ac_header>
6318 _ACEOF
6319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6321 ac_status=$?
6322 grep -v '^ *+' conftest.er1 >conftest.err
6323 rm -f conftest.er1
6324 cat conftest.err >&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } >/dev/null; then
6327 if test -s conftest.err; then
6328 ac_cpp_err=$ac_c_preproc_warn_flag
6329 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6330 else
6331 ac_cpp_err=
6333 else
6334 ac_cpp_err=yes
6336 if test -z "$ac_cpp_err"; then
6337 ac_header_preproc=yes
6338 else
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.$ac_ext >&5
6342 ac_header_preproc=no
6344 rm -f conftest.err conftest.$ac_ext
6345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6346 echo "${ECHO_T}$ac_header_preproc" >&6
6348 # So? What about this header?
6349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6350 yes:no: )
6351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6355 ac_header_preproc=yes
6357 no:yes:* )
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6371 cat <<\_ASBOX
6372 ## ------------------------------------------------------ ##
6373 ## Report this to the GNU Fortran Runtime Library lists. ##
6374 ## ------------------------------------------------------ ##
6375 _ASBOX
6377 sed "s/^/$as_me: WARNING: /" >&2
6379 esac
6380 echo "$as_me:$LINENO: checking for $ac_header" >&5
6381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6384 else
6385 eval "$as_ac_Header=\$ac_header_preproc"
6387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6392 cat >>confdefs.h <<_ACEOF
6393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6394 _ACEOF
6398 done
6403 for ac_header in fenv.h fptrap.h float.h
6405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6407 echo "$as_me:$LINENO: checking for $ac_header" >&5
6408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6414 else
6415 # Is the header compilable?
6416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6418 cat >conftest.$ac_ext <<_ACEOF
6419 /* confdefs.h. */
6420 _ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6424 $ac_includes_default
6425 #include <$ac_header>
6426 _ACEOF
6427 rm -f conftest.$ac_objext
6428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6429 (eval $ac_compile) 2>conftest.er1
6430 ac_status=$?
6431 grep -v '^ *+' conftest.er1 >conftest.err
6432 rm -f conftest.er1
6433 cat conftest.err >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try='test -z "$ac_c_werror_flag"
6437 || test ! -s conftest.err'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439 (eval $ac_try) 2>&5
6440 ac_status=$?
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; } &&
6443 { ac_try='test -s conftest.$ac_objext'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6445 (eval $ac_try) 2>&5
6446 ac_status=$?
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; }; then
6449 ac_header_compiler=yes
6450 else
6451 echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.$ac_ext >&5
6454 ac_header_compiler=no
6456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6458 echo "${ECHO_T}$ac_header_compiler" >&6
6460 # Is the header present?
6461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6463 cat >conftest.$ac_ext <<_ACEOF
6464 /* confdefs.h. */
6465 _ACEOF
6466 cat confdefs.h >>conftest.$ac_ext
6467 cat >>conftest.$ac_ext <<_ACEOF
6468 /* end confdefs.h. */
6469 #include <$ac_header>
6470 _ACEOF
6471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6473 ac_status=$?
6474 grep -v '^ *+' conftest.er1 >conftest.err
6475 rm -f conftest.er1
6476 cat conftest.err >&5
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); } >/dev/null; then
6479 if test -s conftest.err; then
6480 ac_cpp_err=$ac_c_preproc_warn_flag
6481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6482 else
6483 ac_cpp_err=
6485 else
6486 ac_cpp_err=yes
6488 if test -z "$ac_cpp_err"; then
6489 ac_header_preproc=yes
6490 else
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.$ac_ext >&5
6494 ac_header_preproc=no
6496 rm -f conftest.err conftest.$ac_ext
6497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6498 echo "${ECHO_T}$ac_header_preproc" >&6
6500 # So? What about this header?
6501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6502 yes:no: )
6503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6504 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6506 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6507 ac_header_preproc=yes
6509 no:yes:* )
6510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6515 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6517 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6521 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6523 cat <<\_ASBOX
6524 ## ------------------------------------------------------ ##
6525 ## Report this to the GNU Fortran Runtime Library lists. ##
6526 ## ------------------------------------------------------ ##
6527 _ASBOX
6529 sed "s/^/$as_me: WARNING: /" >&2
6531 esac
6532 echo "$as_me:$LINENO: checking for $ac_header" >&5
6533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6536 else
6537 eval "$as_ac_Header=\$ac_header_preproc"
6539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6544 cat >>confdefs.h <<_ACEOF
6545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6546 _ACEOF
6550 done
6552 if test "${ac_cv_header_complex_h+set}" = set; then
6553 echo "$as_me:$LINENO: checking for complex.h" >&5
6554 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6555 if test "${ac_cv_header_complex_h+set}" = set; then
6556 echo $ECHO_N "(cached) $ECHO_C" >&6
6558 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6559 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6560 else
6561 # Is the header compilable?
6562 echo "$as_me:$LINENO: checking complex.h usability" >&5
6563 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6564 cat >conftest.$ac_ext <<_ACEOF
6565 /* confdefs.h. */
6566 _ACEOF
6567 cat confdefs.h >>conftest.$ac_ext
6568 cat >>conftest.$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6570 $ac_includes_default
6571 #include <complex.h>
6572 _ACEOF
6573 rm -f conftest.$ac_objext
6574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6575 (eval $ac_compile) 2>conftest.er1
6576 ac_status=$?
6577 grep -v '^ *+' conftest.er1 >conftest.err
6578 rm -f conftest.er1
6579 cat conftest.err >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); } &&
6582 { ac_try='test -z "$ac_c_werror_flag"
6583 || test ! -s conftest.err'
6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585 (eval $ac_try) 2>&5
6586 ac_status=$?
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; } &&
6589 { ac_try='test -s conftest.$ac_objext'
6590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591 (eval $ac_try) 2>&5
6592 ac_status=$?
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); }; }; then
6595 ac_header_compiler=yes
6596 else
6597 echo "$as_me: failed program was:" >&5
6598 sed 's/^/| /' conftest.$ac_ext >&5
6600 ac_header_compiler=no
6602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6604 echo "${ECHO_T}$ac_header_compiler" >&6
6606 # Is the header present?
6607 echo "$as_me:$LINENO: checking complex.h presence" >&5
6608 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
6614 /* end confdefs.h. */
6615 #include <complex.h>
6616 _ACEOF
6617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6619 ac_status=$?
6620 grep -v '^ *+' conftest.er1 >conftest.err
6621 rm -f conftest.er1
6622 cat conftest.err >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } >/dev/null; then
6625 if test -s conftest.err; then
6626 ac_cpp_err=$ac_c_preproc_warn_flag
6627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6628 else
6629 ac_cpp_err=
6631 else
6632 ac_cpp_err=yes
6634 if test -z "$ac_cpp_err"; then
6635 ac_header_preproc=yes
6636 else
6637 echo "$as_me: failed program was:" >&5
6638 sed 's/^/| /' conftest.$ac_ext >&5
6640 ac_header_preproc=no
6642 rm -f conftest.err conftest.$ac_ext
6643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6644 echo "${ECHO_T}$ac_header_preproc" >&6
6646 # So? What about this header?
6647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6648 yes:no: )
6649 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6650 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6651 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6652 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6653 ac_header_preproc=yes
6655 no:yes:* )
6656 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6657 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6658 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6659 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6660 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6661 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6662 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6663 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6664 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6665 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6666 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6667 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6669 cat <<\_ASBOX
6670 ## ------------------------------------------------------ ##
6671 ## Report this to the GNU Fortran Runtime Library lists. ##
6672 ## ------------------------------------------------------ ##
6673 _ASBOX
6675 sed "s/^/$as_me: WARNING: /" >&2
6677 esac
6678 echo "$as_me:$LINENO: checking for complex.h" >&5
6679 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6680 if test "${ac_cv_header_complex_h+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 else
6683 ac_cv_header_complex_h=$ac_header_preproc
6685 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6686 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6689 if test $ac_cv_header_complex_h = yes; then
6691 cat >>confdefs.h <<\_ACEOF
6692 #define HAVE_COMPLEX_H 1
6693 _ACEOF
6700 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6702 acx_cv_header_stdint=stddef.h
6703 acx_cv_header_stdint_kind="(already complete)"
6704 for i in stdint.h $inttype_headers; do
6705 unset ac_cv_type_uintptr_t
6706 unset ac_cv_type_uintmax_t
6707 unset ac_cv_type_int_least32_t
6708 unset ac_cv_type_int_fast32_t
6709 unset ac_cv_type_uint64_t
6710 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6711 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6712 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6713 if test "${ac_cv_type_uintmax_t+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 else
6716 cat >conftest.$ac_ext <<_ACEOF
6717 /* confdefs.h. */
6718 _ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6722 #include <sys/types.h>
6723 #include <$i>
6726 main ()
6728 if ((uintmax_t *) 0)
6729 return 0;
6730 if (sizeof (uintmax_t))
6731 return 0;
6733 return 0;
6735 _ACEOF
6736 rm -f conftest.$ac_objext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6738 (eval $ac_compile) 2>conftest.er1
6739 ac_status=$?
6740 grep -v '^ *+' conftest.er1 >conftest.err
6741 rm -f conftest.er1
6742 cat conftest.err >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } &&
6745 { ac_try='test -z "$ac_c_werror_flag"
6746 || test ! -s conftest.err'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 (eval $ac_try) 2>&5
6749 ac_status=$?
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; } &&
6752 { ac_try='test -s conftest.$ac_objext'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 (eval $ac_try) 2>&5
6755 ac_status=$?
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; }; then
6758 ac_cv_type_uintmax_t=yes
6759 else
6760 echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.$ac_ext >&5
6763 ac_cv_type_uintmax_t=no
6765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6767 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6768 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6769 if test $ac_cv_type_uintmax_t = yes; then
6770 acx_cv_header_stdint=$i
6771 else
6772 continue
6775 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6776 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6777 if test "${ac_cv_type_uintptr_t+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6779 else
6780 cat >conftest.$ac_ext <<_ACEOF
6781 /* confdefs.h. */
6782 _ACEOF
6783 cat confdefs.h >>conftest.$ac_ext
6784 cat >>conftest.$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6786 #include <sys/types.h>
6787 #include <$i>
6790 main ()
6792 if ((uintptr_t *) 0)
6793 return 0;
6794 if (sizeof (uintptr_t))
6795 return 0;
6797 return 0;
6799 _ACEOF
6800 rm -f conftest.$ac_objext
6801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6802 (eval $ac_compile) 2>conftest.er1
6803 ac_status=$?
6804 grep -v '^ *+' conftest.er1 >conftest.err
6805 rm -f conftest.er1
6806 cat conftest.err >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } &&
6809 { ac_try='test -z "$ac_c_werror_flag"
6810 || test ! -s conftest.err'
6811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 (eval $ac_try) 2>&5
6813 ac_status=$?
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); }; } &&
6816 { ac_try='test -s conftest.$ac_objext'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 (eval $ac_try) 2>&5
6819 ac_status=$?
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; }; then
6822 ac_cv_type_uintptr_t=yes
6823 else
6824 echo "$as_me: failed program was:" >&5
6825 sed 's/^/| /' conftest.$ac_ext >&5
6827 ac_cv_type_uintptr_t=no
6829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6831 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6832 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6833 if test $ac_cv_type_uintptr_t = yes; then
6835 else
6836 acx_cv_header_stdint_kind="(mostly complete)"
6839 echo "$as_me:$LINENO: checking for int_least32_t" >&5
6840 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6841 if test "${ac_cv_type_int_least32_t+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844 cat >conftest.$ac_ext <<_ACEOF
6845 /* confdefs.h. */
6846 _ACEOF
6847 cat confdefs.h >>conftest.$ac_ext
6848 cat >>conftest.$ac_ext <<_ACEOF
6849 /* end confdefs.h. */
6850 #include <sys/types.h>
6851 #include <$i>
6854 main ()
6856 if ((int_least32_t *) 0)
6857 return 0;
6858 if (sizeof (int_least32_t))
6859 return 0;
6861 return 0;
6863 _ACEOF
6864 rm -f conftest.$ac_objext
6865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6866 (eval $ac_compile) 2>conftest.er1
6867 ac_status=$?
6868 grep -v '^ *+' conftest.er1 >conftest.err
6869 rm -f conftest.er1
6870 cat conftest.err >&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); } &&
6873 { ac_try='test -z "$ac_c_werror_flag"
6874 || test ! -s conftest.err'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 (eval $ac_try) 2>&5
6877 ac_status=$?
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; } &&
6880 { ac_try='test -s conftest.$ac_objext'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 (eval $ac_try) 2>&5
6883 ac_status=$?
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; }; then
6886 ac_cv_type_int_least32_t=yes
6887 else
6888 echo "$as_me: failed program was:" >&5
6889 sed 's/^/| /' conftest.$ac_ext >&5
6891 ac_cv_type_int_least32_t=no
6893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6895 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6896 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6897 if test $ac_cv_type_int_least32_t = yes; then
6899 else
6900 acx_cv_header_stdint_kind="(mostly complete)"
6903 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6904 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6905 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6906 echo $ECHO_N "(cached) $ECHO_C" >&6
6907 else
6908 cat >conftest.$ac_ext <<_ACEOF
6909 /* confdefs.h. */
6910 _ACEOF
6911 cat confdefs.h >>conftest.$ac_ext
6912 cat >>conftest.$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6914 #include <sys/types.h>
6915 #include <$i>
6918 main ()
6920 if ((int_fast32_t *) 0)
6921 return 0;
6922 if (sizeof (int_fast32_t))
6923 return 0;
6925 return 0;
6927 _ACEOF
6928 rm -f conftest.$ac_objext
6929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6930 (eval $ac_compile) 2>conftest.er1
6931 ac_status=$?
6932 grep -v '^ *+' conftest.er1 >conftest.err
6933 rm -f conftest.er1
6934 cat conftest.err >&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); } &&
6937 { ac_try='test -z "$ac_c_werror_flag"
6938 || test ! -s conftest.err'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 (eval $ac_try) 2>&5
6941 ac_status=$?
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; } &&
6944 { ac_try='test -s conftest.$ac_objext'
6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 (eval $ac_try) 2>&5
6947 ac_status=$?
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); }; }; then
6950 ac_cv_type_int_fast32_t=yes
6951 else
6952 echo "$as_me: failed program was:" >&5
6953 sed 's/^/| /' conftest.$ac_ext >&5
6955 ac_cv_type_int_fast32_t=no
6957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6959 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
6960 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
6961 if test $ac_cv_type_int_fast32_t = yes; then
6963 else
6964 acx_cv_header_stdint_kind="(mostly complete)"
6967 echo "$as_me:$LINENO: checking for uint64_t" >&5
6968 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6969 if test "${ac_cv_type_uint64_t+set}" = set; then
6970 echo $ECHO_N "(cached) $ECHO_C" >&6
6971 else
6972 cat >conftest.$ac_ext <<_ACEOF
6973 /* confdefs.h. */
6974 _ACEOF
6975 cat confdefs.h >>conftest.$ac_ext
6976 cat >>conftest.$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6978 #include <sys/types.h>
6979 #include <$i>
6982 main ()
6984 if ((uint64_t *) 0)
6985 return 0;
6986 if (sizeof (uint64_t))
6987 return 0;
6989 return 0;
6991 _ACEOF
6992 rm -f conftest.$ac_objext
6993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6994 (eval $ac_compile) 2>conftest.er1
6995 ac_status=$?
6996 grep -v '^ *+' conftest.er1 >conftest.err
6997 rm -f conftest.er1
6998 cat conftest.err >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); } &&
7001 { ac_try='test -z "$ac_c_werror_flag"
7002 || test ! -s conftest.err'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 (eval $ac_try) 2>&5
7005 ac_status=$?
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; } &&
7008 { ac_try='test -s conftest.$ac_objext'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7010 (eval $ac_try) 2>&5
7011 ac_status=$?
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; }; then
7014 ac_cv_type_uint64_t=yes
7015 else
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.$ac_ext >&5
7019 ac_cv_type_uint64_t=no
7021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7023 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7024 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7025 if test $ac_cv_type_uint64_t = yes; then
7027 else
7028 acx_cv_header_stdint_kind="(lacks uint64_t)"
7031 break
7032 done
7033 if test "$acx_cv_header_stdint" = stddef.h; then
7034 acx_cv_header_stdint_kind="(lacks uintmax_t)"
7035 for i in stdint.h $inttype_headers; do
7036 unset ac_cv_type_uintptr_t
7037 unset ac_cv_type_uint32_t
7038 unset ac_cv_type_uint64_t
7039 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7040 echo "$as_me:$LINENO: checking for uint32_t" >&5
7041 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7042 if test "${ac_cv_type_uint32_t+set}" = set; then
7043 echo $ECHO_N "(cached) $ECHO_C" >&6
7044 else
7045 cat >conftest.$ac_ext <<_ACEOF
7046 /* confdefs.h. */
7047 _ACEOF
7048 cat confdefs.h >>conftest.$ac_ext
7049 cat >>conftest.$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7051 #include <sys/types.h>
7052 #include <$i>
7055 main ()
7057 if ((uint32_t *) 0)
7058 return 0;
7059 if (sizeof (uint32_t))
7060 return 0;
7062 return 0;
7064 _ACEOF
7065 rm -f conftest.$ac_objext
7066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7067 (eval $ac_compile) 2>conftest.er1
7068 ac_status=$?
7069 grep -v '^ *+' conftest.er1 >conftest.err
7070 rm -f conftest.er1
7071 cat conftest.err >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } &&
7074 { ac_try='test -z "$ac_c_werror_flag"
7075 || test ! -s conftest.err'
7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7077 (eval $ac_try) 2>&5
7078 ac_status=$?
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); }; } &&
7081 { ac_try='test -s conftest.$ac_objext'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083 (eval $ac_try) 2>&5
7084 ac_status=$?
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; }; then
7087 ac_cv_type_uint32_t=yes
7088 else
7089 echo "$as_me: failed program was:" >&5
7090 sed 's/^/| /' conftest.$ac_ext >&5
7092 ac_cv_type_uint32_t=no
7094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7096 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7097 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7098 if test $ac_cv_type_uint32_t = yes; then
7099 acx_cv_header_stdint=$i
7100 else
7101 continue
7104 echo "$as_me:$LINENO: checking for uint64_t" >&5
7105 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7106 if test "${ac_cv_type_uint64_t+set}" = set; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 else
7109 cat >conftest.$ac_ext <<_ACEOF
7110 /* confdefs.h. */
7111 _ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 #include <sys/types.h>
7116 #include <$i>
7119 main ()
7121 if ((uint64_t *) 0)
7122 return 0;
7123 if (sizeof (uint64_t))
7124 return 0;
7126 return 0;
7128 _ACEOF
7129 rm -f conftest.$ac_objext
7130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7131 (eval $ac_compile) 2>conftest.er1
7132 ac_status=$?
7133 grep -v '^ *+' conftest.er1 >conftest.err
7134 rm -f conftest.er1
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } &&
7138 { ac_try='test -z "$ac_c_werror_flag"
7139 || test ! -s conftest.err'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 (eval $ac_try) 2>&5
7142 ac_status=$?
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; } &&
7145 { ac_try='test -s conftest.$ac_objext'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147 (eval $ac_try) 2>&5
7148 ac_status=$?
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; }; then
7151 ac_cv_type_uint64_t=yes
7152 else
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.$ac_ext >&5
7156 ac_cv_type_uint64_t=no
7158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7160 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7161 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7163 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7164 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7165 if test "${ac_cv_type_uintptr_t+set}" = set; then
7166 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 else
7168 cat >conftest.$ac_ext <<_ACEOF
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #include <sys/types.h>
7175 #include <$i>
7178 main ()
7180 if ((uintptr_t *) 0)
7181 return 0;
7182 if (sizeof (uintptr_t))
7183 return 0;
7185 return 0;
7187 _ACEOF
7188 rm -f conftest.$ac_objext
7189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7190 (eval $ac_compile) 2>conftest.er1
7191 ac_status=$?
7192 grep -v '^ *+' conftest.er1 >conftest.err
7193 rm -f conftest.er1
7194 cat conftest.err >&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } &&
7197 { ac_try='test -z "$ac_c_werror_flag"
7198 || test ! -s conftest.err'
7199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 (eval $ac_try) 2>&5
7201 ac_status=$?
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); }; } &&
7204 { ac_try='test -s conftest.$ac_objext'
7205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 (eval $ac_try) 2>&5
7207 ac_status=$?
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); }; }; then
7210 ac_cv_type_uintptr_t=yes
7211 else
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.$ac_ext >&5
7215 ac_cv_type_uintptr_t=no
7217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7219 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7220 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7222 break
7223 done
7225 if test "$acx_cv_header_stdint" = stddef.h; then
7226 acx_cv_header_stdint_kind="(u_intXX_t style)"
7227 for i in sys/types.h $inttype_headers; do
7228 unset ac_cv_type_u_int32_t
7229 unset ac_cv_type_u_int64_t
7230 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7231 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7232 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7233 if test "${ac_cv_type_u_int32_t+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7235 else
7236 cat >conftest.$ac_ext <<_ACEOF
7237 /* confdefs.h. */
7238 _ACEOF
7239 cat confdefs.h >>conftest.$ac_ext
7240 cat >>conftest.$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7242 #include <sys/types.h>
7243 #include <$i>
7246 main ()
7248 if ((u_int32_t *) 0)
7249 return 0;
7250 if (sizeof (u_int32_t))
7251 return 0;
7253 return 0;
7255 _ACEOF
7256 rm -f conftest.$ac_objext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7258 (eval $ac_compile) 2>conftest.er1
7259 ac_status=$?
7260 grep -v '^ *+' conftest.er1 >conftest.err
7261 rm -f conftest.er1
7262 cat conftest.err >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } &&
7265 { ac_try='test -z "$ac_c_werror_flag"
7266 || test ! -s conftest.err'
7267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 (eval $ac_try) 2>&5
7269 ac_status=$?
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); }; } &&
7272 { ac_try='test -s conftest.$ac_objext'
7273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7274 (eval $ac_try) 2>&5
7275 ac_status=$?
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; }; then
7278 ac_cv_type_u_int32_t=yes
7279 else
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.$ac_ext >&5
7283 ac_cv_type_u_int32_t=no
7285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7288 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7289 if test $ac_cv_type_u_int32_t = yes; then
7290 acx_cv_header_stdint=$i
7291 else
7292 continue
7295 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7296 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7297 if test "${ac_cv_type_u_int64_t+set}" = set; then
7298 echo $ECHO_N "(cached) $ECHO_C" >&6
7299 else
7300 cat >conftest.$ac_ext <<_ACEOF
7301 /* confdefs.h. */
7302 _ACEOF
7303 cat confdefs.h >>conftest.$ac_ext
7304 cat >>conftest.$ac_ext <<_ACEOF
7305 /* end confdefs.h. */
7306 #include <sys/types.h>
7307 #include <$i>
7310 main ()
7312 if ((u_int64_t *) 0)
7313 return 0;
7314 if (sizeof (u_int64_t))
7315 return 0;
7317 return 0;
7319 _ACEOF
7320 rm -f conftest.$ac_objext
7321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7322 (eval $ac_compile) 2>conftest.er1
7323 ac_status=$?
7324 grep -v '^ *+' conftest.er1 >conftest.err
7325 rm -f conftest.er1
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } &&
7329 { ac_try='test -z "$ac_c_werror_flag"
7330 || test ! -s conftest.err'
7331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 (eval $ac_try) 2>&5
7333 ac_status=$?
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); }; } &&
7336 { ac_try='test -s conftest.$ac_objext'
7337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 (eval $ac_try) 2>&5
7339 ac_status=$?
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; }; then
7342 ac_cv_type_u_int64_t=yes
7343 else
7344 echo "$as_me: failed program was:" >&5
7345 sed 's/^/| /' conftest.$ac_ext >&5
7347 ac_cv_type_u_int64_t=no
7349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7351 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7352 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7354 break
7355 done
7357 if test "$acx_cv_header_stdint" = stddef.h; then
7358 acx_cv_header_stdint_kind="(using manual detection)"
7361 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7362 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7363 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7364 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7365 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7367 # ----------------- Summarize what we found so far
7369 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7370 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7372 case `$as_basename gstdint.h ||
7373 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7374 Xgstdint.h : 'X\(//\)$' \| \
7375 Xgstdint.h : 'X\(/\)$' \| \
7376 . : '\(.\)' 2>/dev/null ||
7377 echo X/gstdint.h |
7378 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7379 /^X\/\(\/\/\)$/{ s//\1/; q; }
7380 /^X\/\(\/\).*/{ s//\1/; q; }
7381 s/.*/./; q'` in
7382 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7383 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7384 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7385 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7386 *) ;;
7387 esac
7389 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7390 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7392 # ----------------- done included file, check C basic types --------
7394 # Lacking an uintptr_t? Test size of void *
7395 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7396 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7397 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7398 if test "${ac_cv_type_void_p+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 else
7401 cat >conftest.$ac_ext <<_ACEOF
7402 /* confdefs.h. */
7403 _ACEOF
7404 cat confdefs.h >>conftest.$ac_ext
7405 cat >>conftest.$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7407 $ac_includes_default
7409 main ()
7411 if ((void * *) 0)
7412 return 0;
7413 if (sizeof (void *))
7414 return 0;
7416 return 0;
7418 _ACEOF
7419 rm -f conftest.$ac_objext
7420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7421 (eval $ac_compile) 2>conftest.er1
7422 ac_status=$?
7423 grep -v '^ *+' conftest.er1 >conftest.err
7424 rm -f conftest.er1
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } &&
7428 { ac_try='test -z "$ac_c_werror_flag"
7429 || test ! -s conftest.err'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7431 (eval $ac_try) 2>&5
7432 ac_status=$?
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; } &&
7435 { ac_try='test -s conftest.$ac_objext'
7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7437 (eval $ac_try) 2>&5
7438 ac_status=$?
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; }; then
7441 ac_cv_type_void_p=yes
7442 else
7443 echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.$ac_ext >&5
7446 ac_cv_type_void_p=no
7448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7450 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7451 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7453 echo "$as_me:$LINENO: checking size of void *" >&5
7454 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7455 if test "${ac_cv_sizeof_void_p+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7457 else
7458 if test "$ac_cv_type_void_p" = yes; then
7459 # The cast to unsigned long works around a bug in the HP C Compiler
7460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7462 # This bug is HP SR number 8606223364.
7463 if test "$cross_compiling" = yes; then
7464 # Depending upon the size, compute the lo and hi bounds.
7465 cat >conftest.$ac_ext <<_ACEOF
7466 /* confdefs.h. */
7467 _ACEOF
7468 cat confdefs.h >>conftest.$ac_ext
7469 cat >>conftest.$ac_ext <<_ACEOF
7470 /* end confdefs.h. */
7471 $ac_includes_default
7473 main ()
7475 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7476 test_array [0] = 0
7479 return 0;
7481 _ACEOF
7482 rm -f conftest.$ac_objext
7483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7484 (eval $ac_compile) 2>conftest.er1
7485 ac_status=$?
7486 grep -v '^ *+' conftest.er1 >conftest.err
7487 rm -f conftest.er1
7488 cat conftest.err >&5
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); } &&
7491 { ac_try='test -z "$ac_c_werror_flag"
7492 || test ! -s conftest.err'
7493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7494 (eval $ac_try) 2>&5
7495 ac_status=$?
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); }; } &&
7498 { ac_try='test -s conftest.$ac_objext'
7499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 (eval $ac_try) 2>&5
7501 ac_status=$?
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); }; }; then
7504 ac_lo=0 ac_mid=0
7505 while :; do
7506 cat >conftest.$ac_ext <<_ACEOF
7507 /* confdefs.h. */
7508 _ACEOF
7509 cat confdefs.h >>conftest.$ac_ext
7510 cat >>conftest.$ac_ext <<_ACEOF
7511 /* end confdefs.h. */
7512 $ac_includes_default
7514 main ()
7516 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7517 test_array [0] = 0
7520 return 0;
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_c_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 (eval $ac_try) 2>&5
7536 ac_status=$?
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 (eval $ac_try) 2>&5
7542 ac_status=$?
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545 ac_hi=$ac_mid; break
7546 else
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.$ac_ext >&5
7550 ac_lo=`expr $ac_mid + 1`
7551 if test $ac_lo -le $ac_mid; then
7552 ac_lo= ac_hi=
7553 break
7555 ac_mid=`expr 2 '*' $ac_mid + 1`
7557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7558 done
7559 else
7560 echo "$as_me: failed program was:" >&5
7561 sed 's/^/| /' conftest.$ac_ext >&5
7563 cat >conftest.$ac_ext <<_ACEOF
7564 /* confdefs.h. */
7565 _ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7569 $ac_includes_default
7571 main ()
7573 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7574 test_array [0] = 0
7577 return 0;
7579 _ACEOF
7580 rm -f conftest.$ac_objext
7581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7582 (eval $ac_compile) 2>conftest.er1
7583 ac_status=$?
7584 grep -v '^ *+' conftest.er1 >conftest.err
7585 rm -f conftest.er1
7586 cat conftest.err >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } &&
7589 { ac_try='test -z "$ac_c_werror_flag"
7590 || test ! -s conftest.err'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 (eval $ac_try) 2>&5
7593 ac_status=$?
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; } &&
7596 { ac_try='test -s conftest.$ac_objext'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 (eval $ac_try) 2>&5
7599 ac_status=$?
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; }; then
7602 ac_hi=-1 ac_mid=-1
7603 while :; do
7604 cat >conftest.$ac_ext <<_ACEOF
7605 /* confdefs.h. */
7606 _ACEOF
7607 cat confdefs.h >>conftest.$ac_ext
7608 cat >>conftest.$ac_ext <<_ACEOF
7609 /* end confdefs.h. */
7610 $ac_includes_default
7612 main ()
7614 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7615 test_array [0] = 0
7618 return 0;
7620 _ACEOF
7621 rm -f conftest.$ac_objext
7622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7623 (eval $ac_compile) 2>conftest.er1
7624 ac_status=$?
7625 grep -v '^ *+' conftest.er1 >conftest.err
7626 rm -f conftest.er1
7627 cat conftest.err >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } &&
7630 { ac_try='test -z "$ac_c_werror_flag"
7631 || test ! -s conftest.err'
7632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7633 (eval $ac_try) 2>&5
7634 ac_status=$?
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); }; } &&
7637 { ac_try='test -s conftest.$ac_objext'
7638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639 (eval $ac_try) 2>&5
7640 ac_status=$?
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); }; }; then
7643 ac_lo=$ac_mid; break
7644 else
7645 echo "$as_me: failed program was:" >&5
7646 sed 's/^/| /' conftest.$ac_ext >&5
7648 ac_hi=`expr '(' $ac_mid ')' - 1`
7649 if test $ac_mid -le $ac_hi; then
7650 ac_lo= ac_hi=
7651 break
7653 ac_mid=`expr 2 '*' $ac_mid`
7655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7656 done
7657 else
7658 echo "$as_me: failed program was:" >&5
7659 sed 's/^/| /' conftest.$ac_ext >&5
7661 ac_lo= ac_hi=
7663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7666 # Binary search between lo and hi bounds.
7667 while test "x$ac_lo" != "x$ac_hi"; do
7668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7669 cat >conftest.$ac_ext <<_ACEOF
7670 /* confdefs.h. */
7671 _ACEOF
7672 cat confdefs.h >>conftest.$ac_ext
7673 cat >>conftest.$ac_ext <<_ACEOF
7674 /* end confdefs.h. */
7675 $ac_includes_default
7677 main ()
7679 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7680 test_array [0] = 0
7683 return 0;
7685 _ACEOF
7686 rm -f conftest.$ac_objext
7687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7688 (eval $ac_compile) 2>conftest.er1
7689 ac_status=$?
7690 grep -v '^ *+' conftest.er1 >conftest.err
7691 rm -f conftest.er1
7692 cat conftest.err >&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } &&
7695 { ac_try='test -z "$ac_c_werror_flag"
7696 || test ! -s conftest.err'
7697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 (eval $ac_try) 2>&5
7699 ac_status=$?
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); }; } &&
7702 { ac_try='test -s conftest.$ac_objext'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 (eval $ac_try) 2>&5
7705 ac_status=$?
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); }; }; then
7708 ac_hi=$ac_mid
7709 else
7710 echo "$as_me: failed program was:" >&5
7711 sed 's/^/| /' conftest.$ac_ext >&5
7713 ac_lo=`expr '(' $ac_mid ')' + 1`
7715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7716 done
7717 case $ac_lo in
7718 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7720 See \`config.log' for more details." >&5
7721 echo "$as_me: error: cannot compute sizeof (void *), 77
7722 See \`config.log' for more details." >&2;}
7723 { (exit 1); exit 1; }; } ;;
7724 esac
7725 else
7726 if test "$cross_compiling" = yes; then
7727 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7728 See \`config.log' for more details." >&5
7729 echo "$as_me: error: cannot run test program while cross compiling
7730 See \`config.log' for more details." >&2;}
7731 { (exit 1); exit 1; }; }
7732 else
7733 cat >conftest.$ac_ext <<_ACEOF
7734 /* confdefs.h. */
7735 _ACEOF
7736 cat confdefs.h >>conftest.$ac_ext
7737 cat >>conftest.$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7739 $ac_includes_default
7740 long longval () { return (long) (sizeof (void *)); }
7741 unsigned long ulongval () { return (long) (sizeof (void *)); }
7742 #include <stdio.h>
7743 #include <stdlib.h>
7745 main ()
7748 FILE *f = fopen ("conftest.val", "w");
7749 if (! f)
7750 exit (1);
7751 if (((long) (sizeof (void *))) < 0)
7753 long i = longval ();
7754 if (i != ((long) (sizeof (void *))))
7755 exit (1);
7756 fprintf (f, "%ld\n", i);
7758 else
7760 unsigned long i = ulongval ();
7761 if (i != ((long) (sizeof (void *))))
7762 exit (1);
7763 fprintf (f, "%lu\n", i);
7765 exit (ferror (f) || fclose (f) != 0);
7768 return 0;
7770 _ACEOF
7771 rm -f conftest$ac_exeext
7772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7773 (eval $ac_link) 2>&5
7774 ac_status=$?
7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 (eval $ac_try) 2>&5
7779 ac_status=$?
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); }; }; then
7782 ac_cv_sizeof_void_p=`cat conftest.val`
7783 else
7784 echo "$as_me: program exited with status $ac_status" >&5
7785 echo "$as_me: failed program was:" >&5
7786 sed 's/^/| /' conftest.$ac_ext >&5
7788 ( exit $ac_status )
7789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7790 See \`config.log' for more details." >&5
7791 echo "$as_me: error: cannot compute sizeof (void *), 77
7792 See \`config.log' for more details." >&2;}
7793 { (exit 1); exit 1; }; }
7795 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7798 rm -f conftest.val
7799 else
7800 ac_cv_sizeof_void_p=0
7803 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7804 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7805 cat >>confdefs.h <<_ACEOF
7806 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7807 _ACEOF
7810 esac
7812 # Lacking an uint64_t? Test size of long
7813 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7814 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7815 echo $ECHO_N "checking for long... $ECHO_C" >&6
7816 if test "${ac_cv_type_long+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 else
7819 cat >conftest.$ac_ext <<_ACEOF
7820 /* confdefs.h. */
7821 _ACEOF
7822 cat confdefs.h >>conftest.$ac_ext
7823 cat >>conftest.$ac_ext <<_ACEOF
7824 /* end confdefs.h. */
7825 $ac_includes_default
7827 main ()
7829 if ((long *) 0)
7830 return 0;
7831 if (sizeof (long))
7832 return 0;
7834 return 0;
7836 _ACEOF
7837 rm -f conftest.$ac_objext
7838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7839 (eval $ac_compile) 2>conftest.er1
7840 ac_status=$?
7841 grep -v '^ *+' conftest.er1 >conftest.err
7842 rm -f conftest.er1
7843 cat conftest.err >&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); } &&
7846 { ac_try='test -z "$ac_c_werror_flag"
7847 || test ! -s conftest.err'
7848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7849 (eval $ac_try) 2>&5
7850 ac_status=$?
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); }; } &&
7853 { ac_try='test -s conftest.$ac_objext'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 (eval $ac_try) 2>&5
7856 ac_status=$?
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; }; then
7859 ac_cv_type_long=yes
7860 else
7861 echo "$as_me: failed program was:" >&5
7862 sed 's/^/| /' conftest.$ac_ext >&5
7864 ac_cv_type_long=no
7866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7868 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7869 echo "${ECHO_T}$ac_cv_type_long" >&6
7871 echo "$as_me:$LINENO: checking size of long" >&5
7872 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7873 if test "${ac_cv_sizeof_long+set}" = set; then
7874 echo $ECHO_N "(cached) $ECHO_C" >&6
7875 else
7876 if test "$ac_cv_type_long" = yes; then
7877 # The cast to unsigned long works around a bug in the HP C Compiler
7878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7880 # This bug is HP SR number 8606223364.
7881 if test "$cross_compiling" = yes; then
7882 # Depending upon the size, compute the lo and hi bounds.
7883 cat >conftest.$ac_ext <<_ACEOF
7884 /* confdefs.h. */
7885 _ACEOF
7886 cat confdefs.h >>conftest.$ac_ext
7887 cat >>conftest.$ac_ext <<_ACEOF
7888 /* end confdefs.h. */
7889 $ac_includes_default
7891 main ()
7893 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7894 test_array [0] = 0
7897 return 0;
7899 _ACEOF
7900 rm -f conftest.$ac_objext
7901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7902 (eval $ac_compile) 2>conftest.er1
7903 ac_status=$?
7904 grep -v '^ *+' conftest.er1 >conftest.err
7905 rm -f conftest.er1
7906 cat conftest.err >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); } &&
7909 { ac_try='test -z "$ac_c_werror_flag"
7910 || test ! -s conftest.err'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7912 (eval $ac_try) 2>&5
7913 ac_status=$?
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest.$ac_objext'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7918 (eval $ac_try) 2>&5
7919 ac_status=$?
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; }; then
7922 ac_lo=0 ac_mid=0
7923 while :; do
7924 cat >conftest.$ac_ext <<_ACEOF
7925 /* confdefs.h. */
7926 _ACEOF
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7930 $ac_includes_default
7932 main ()
7934 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7935 test_array [0] = 0
7938 return 0;
7940 _ACEOF
7941 rm -f conftest.$ac_objext
7942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7943 (eval $ac_compile) 2>conftest.er1
7944 ac_status=$?
7945 grep -v '^ *+' conftest.er1 >conftest.err
7946 rm -f conftest.er1
7947 cat conftest.err >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } &&
7950 { ac_try='test -z "$ac_c_werror_flag"
7951 || test ! -s conftest.err'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 (eval $ac_try) 2>&5
7954 ac_status=$?
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; } &&
7957 { ac_try='test -s conftest.$ac_objext'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 (eval $ac_try) 2>&5
7960 ac_status=$?
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; }; then
7963 ac_hi=$ac_mid; break
7964 else
7965 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7968 ac_lo=`expr $ac_mid + 1`
7969 if test $ac_lo -le $ac_mid; then
7970 ac_lo= ac_hi=
7971 break
7973 ac_mid=`expr 2 '*' $ac_mid + 1`
7975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7976 done
7977 else
7978 echo "$as_me: failed program was:" >&5
7979 sed 's/^/| /' conftest.$ac_ext >&5
7981 cat >conftest.$ac_ext <<_ACEOF
7982 /* confdefs.h. */
7983 _ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7987 $ac_includes_default
7989 main ()
7991 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7992 test_array [0] = 0
7995 return 0;
7997 _ACEOF
7998 rm -f conftest.$ac_objext
7999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8000 (eval $ac_compile) 2>conftest.er1
8001 ac_status=$?
8002 grep -v '^ *+' conftest.er1 >conftest.err
8003 rm -f conftest.er1
8004 cat conftest.err >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } &&
8007 { ac_try='test -z "$ac_c_werror_flag"
8008 || test ! -s conftest.err'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8010 (eval $ac_try) 2>&5
8011 ac_status=$?
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; } &&
8014 { ac_try='test -s conftest.$ac_objext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 (eval $ac_try) 2>&5
8017 ac_status=$?
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8020 ac_hi=-1 ac_mid=-1
8021 while :; do
8022 cat >conftest.$ac_ext <<_ACEOF
8023 /* confdefs.h. */
8024 _ACEOF
8025 cat confdefs.h >>conftest.$ac_ext
8026 cat >>conftest.$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8028 $ac_includes_default
8030 main ()
8032 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8033 test_array [0] = 0
8036 return 0;
8038 _ACEOF
8039 rm -f conftest.$ac_objext
8040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8041 (eval $ac_compile) 2>conftest.er1
8042 ac_status=$?
8043 grep -v '^ *+' conftest.er1 >conftest.err
8044 rm -f conftest.er1
8045 cat conftest.err >&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); } &&
8048 { ac_try='test -z "$ac_c_werror_flag"
8049 || test ! -s conftest.err'
8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 (eval $ac_try) 2>&5
8052 ac_status=$?
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try='test -s conftest.$ac_objext'
8056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 (eval $ac_try) 2>&5
8058 ac_status=$?
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
8061 ac_lo=$ac_mid; break
8062 else
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.$ac_ext >&5
8066 ac_hi=`expr '(' $ac_mid ')' - 1`
8067 if test $ac_mid -le $ac_hi; then
8068 ac_lo= ac_hi=
8069 break
8071 ac_mid=`expr 2 '*' $ac_mid`
8073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8074 done
8075 else
8076 echo "$as_me: failed program was:" >&5
8077 sed 's/^/| /' conftest.$ac_ext >&5
8079 ac_lo= ac_hi=
8081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8084 # Binary search between lo and hi bounds.
8085 while test "x$ac_lo" != "x$ac_hi"; do
8086 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8087 cat >conftest.$ac_ext <<_ACEOF
8088 /* confdefs.h. */
8089 _ACEOF
8090 cat confdefs.h >>conftest.$ac_ext
8091 cat >>conftest.$ac_ext <<_ACEOF
8092 /* end confdefs.h. */
8093 $ac_includes_default
8095 main ()
8097 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8098 test_array [0] = 0
8101 return 0;
8103 _ACEOF
8104 rm -f conftest.$ac_objext
8105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8106 (eval $ac_compile) 2>conftest.er1
8107 ac_status=$?
8108 grep -v '^ *+' conftest.er1 >conftest.err
8109 rm -f conftest.er1
8110 cat conftest.err >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } &&
8113 { ac_try='test -z "$ac_c_werror_flag"
8114 || test ! -s conftest.err'
8115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116 (eval $ac_try) 2>&5
8117 ac_status=$?
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); }; } &&
8120 { ac_try='test -s conftest.$ac_objext'
8121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 (eval $ac_try) 2>&5
8123 ac_status=$?
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); }; }; then
8126 ac_hi=$ac_mid
8127 else
8128 echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.$ac_ext >&5
8131 ac_lo=`expr '(' $ac_mid ')' + 1`
8133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8134 done
8135 case $ac_lo in
8136 ?*) ac_cv_sizeof_long=$ac_lo;;
8137 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8138 See \`config.log' for more details." >&5
8139 echo "$as_me: error: cannot compute sizeof (long), 77
8140 See \`config.log' for more details." >&2;}
8141 { (exit 1); exit 1; }; } ;;
8142 esac
8143 else
8144 if test "$cross_compiling" = yes; then
8145 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8146 See \`config.log' for more details." >&5
8147 echo "$as_me: error: cannot run test program while cross compiling
8148 See \`config.log' for more details." >&2;}
8149 { (exit 1); exit 1; }; }
8150 else
8151 cat >conftest.$ac_ext <<_ACEOF
8152 /* confdefs.h. */
8153 _ACEOF
8154 cat confdefs.h >>conftest.$ac_ext
8155 cat >>conftest.$ac_ext <<_ACEOF
8156 /* end confdefs.h. */
8157 $ac_includes_default
8158 long longval () { return (long) (sizeof (long)); }
8159 unsigned long ulongval () { return (long) (sizeof (long)); }
8160 #include <stdio.h>
8161 #include <stdlib.h>
8163 main ()
8166 FILE *f = fopen ("conftest.val", "w");
8167 if (! f)
8168 exit (1);
8169 if (((long) (sizeof (long))) < 0)
8171 long i = longval ();
8172 if (i != ((long) (sizeof (long))))
8173 exit (1);
8174 fprintf (f, "%ld\n", i);
8176 else
8178 unsigned long i = ulongval ();
8179 if (i != ((long) (sizeof (long))))
8180 exit (1);
8181 fprintf (f, "%lu\n", i);
8183 exit (ferror (f) || fclose (f) != 0);
8186 return 0;
8188 _ACEOF
8189 rm -f conftest$ac_exeext
8190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8191 (eval $ac_link) 2>&5
8192 ac_status=$?
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 (eval $ac_try) 2>&5
8197 ac_status=$?
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; }; then
8200 ac_cv_sizeof_long=`cat conftest.val`
8201 else
8202 echo "$as_me: program exited with status $ac_status" >&5
8203 echo "$as_me: failed program was:" >&5
8204 sed 's/^/| /' conftest.$ac_ext >&5
8206 ( exit $ac_status )
8207 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8208 See \`config.log' for more details." >&5
8209 echo "$as_me: error: cannot compute sizeof (long), 77
8210 See \`config.log' for more details." >&2;}
8211 { (exit 1); exit 1; }; }
8213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8216 rm -f conftest.val
8217 else
8218 ac_cv_sizeof_long=0
8221 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8222 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8223 cat >>confdefs.h <<_ACEOF
8224 #define SIZEOF_LONG $ac_cv_sizeof_long
8225 _ACEOF
8228 esac
8230 if test $acx_cv_header_stdint = stddef.h; then
8231 # Lacking a good header? Test size of everything and deduce all types.
8232 echo "$as_me:$LINENO: checking for int" >&5
8233 echo $ECHO_N "checking for int... $ECHO_C" >&6
8234 if test "${ac_cv_type_int+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 else
8237 cat >conftest.$ac_ext <<_ACEOF
8238 /* confdefs.h. */
8239 _ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8243 $ac_includes_default
8245 main ()
8247 if ((int *) 0)
8248 return 0;
8249 if (sizeof (int))
8250 return 0;
8252 return 0;
8254 _ACEOF
8255 rm -f conftest.$ac_objext
8256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8257 (eval $ac_compile) 2>conftest.er1
8258 ac_status=$?
8259 grep -v '^ *+' conftest.er1 >conftest.err
8260 rm -f conftest.er1
8261 cat conftest.err >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); } &&
8264 { ac_try='test -z "$ac_c_werror_flag"
8265 || test ! -s conftest.err'
8266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8267 (eval $ac_try) 2>&5
8268 ac_status=$?
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); }; } &&
8271 { ac_try='test -s conftest.$ac_objext'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273 (eval $ac_try) 2>&5
8274 ac_status=$?
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; }; then
8277 ac_cv_type_int=yes
8278 else
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.$ac_ext >&5
8282 ac_cv_type_int=no
8284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8286 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8287 echo "${ECHO_T}$ac_cv_type_int" >&6
8289 echo "$as_me:$LINENO: checking size of int" >&5
8290 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8291 if test "${ac_cv_sizeof_int+set}" = set; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8293 else
8294 if test "$ac_cv_type_int" = yes; then
8295 # The cast to unsigned long works around a bug in the HP C Compiler
8296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8298 # This bug is HP SR number 8606223364.
8299 if test "$cross_compiling" = yes; then
8300 # Depending upon the size, compute the lo and hi bounds.
8301 cat >conftest.$ac_ext <<_ACEOF
8302 /* confdefs.h. */
8303 _ACEOF
8304 cat confdefs.h >>conftest.$ac_ext
8305 cat >>conftest.$ac_ext <<_ACEOF
8306 /* end confdefs.h. */
8307 $ac_includes_default
8309 main ()
8311 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8312 test_array [0] = 0
8315 return 0;
8317 _ACEOF
8318 rm -f conftest.$ac_objext
8319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8320 (eval $ac_compile) 2>conftest.er1
8321 ac_status=$?
8322 grep -v '^ *+' conftest.er1 >conftest.err
8323 rm -f conftest.er1
8324 cat conftest.err >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } &&
8327 { ac_try='test -z "$ac_c_werror_flag"
8328 || test ! -s conftest.err'
8329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8330 (eval $ac_try) 2>&5
8331 ac_status=$?
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; } &&
8334 { ac_try='test -s conftest.$ac_objext'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8336 (eval $ac_try) 2>&5
8337 ac_status=$?
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; }; then
8340 ac_lo=0 ac_mid=0
8341 while :; do
8342 cat >conftest.$ac_ext <<_ACEOF
8343 /* confdefs.h. */
8344 _ACEOF
8345 cat confdefs.h >>conftest.$ac_ext
8346 cat >>conftest.$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8348 $ac_includes_default
8350 main ()
8352 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8353 test_array [0] = 0
8356 return 0;
8358 _ACEOF
8359 rm -f conftest.$ac_objext
8360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8361 (eval $ac_compile) 2>conftest.er1
8362 ac_status=$?
8363 grep -v '^ *+' conftest.er1 >conftest.err
8364 rm -f conftest.er1
8365 cat conftest.err >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } &&
8368 { ac_try='test -z "$ac_c_werror_flag"
8369 || test ! -s conftest.err'
8370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 (eval $ac_try) 2>&5
8372 ac_status=$?
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); }; } &&
8375 { ac_try='test -s conftest.$ac_objext'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8377 (eval $ac_try) 2>&5
8378 ac_status=$?
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; }; then
8381 ac_hi=$ac_mid; break
8382 else
8383 echo "$as_me: failed program was:" >&5
8384 sed 's/^/| /' conftest.$ac_ext >&5
8386 ac_lo=`expr $ac_mid + 1`
8387 if test $ac_lo -le $ac_mid; then
8388 ac_lo= ac_hi=
8389 break
8391 ac_mid=`expr 2 '*' $ac_mid + 1`
8393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8394 done
8395 else
8396 echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.$ac_ext >&5
8399 cat >conftest.$ac_ext <<_ACEOF
8400 /* confdefs.h. */
8401 _ACEOF
8402 cat confdefs.h >>conftest.$ac_ext
8403 cat >>conftest.$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8405 $ac_includes_default
8407 main ()
8409 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8410 test_array [0] = 0
8413 return 0;
8415 _ACEOF
8416 rm -f conftest.$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>conftest.er1
8419 ac_status=$?
8420 grep -v '^ *+' conftest.er1 >conftest.err
8421 rm -f conftest.er1
8422 cat conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try='test -z "$ac_c_werror_flag"
8426 || test ! -s conftest.err'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 (eval $ac_try) 2>&5
8429 ac_status=$?
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; } &&
8432 { ac_try='test -s conftest.$ac_objext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 (eval $ac_try) 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 ac_hi=-1 ac_mid=-1
8439 while :; do
8440 cat >conftest.$ac_ext <<_ACEOF
8441 /* confdefs.h. */
8442 _ACEOF
8443 cat confdefs.h >>conftest.$ac_ext
8444 cat >>conftest.$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8446 $ac_includes_default
8448 main ()
8450 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8451 test_array [0] = 0
8454 return 0;
8456 _ACEOF
8457 rm -f conftest.$ac_objext
8458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8459 (eval $ac_compile) 2>conftest.er1
8460 ac_status=$?
8461 grep -v '^ *+' conftest.er1 >conftest.err
8462 rm -f conftest.er1
8463 cat conftest.err >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } &&
8466 { ac_try='test -z "$ac_c_werror_flag"
8467 || test ! -s conftest.err'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 (eval $ac_try) 2>&5
8470 ac_status=$?
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; } &&
8473 { ac_try='test -s conftest.$ac_objext'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 (eval $ac_try) 2>&5
8476 ac_status=$?
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; }; then
8479 ac_lo=$ac_mid; break
8480 else
8481 echo "$as_me: failed program was:" >&5
8482 sed 's/^/| /' conftest.$ac_ext >&5
8484 ac_hi=`expr '(' $ac_mid ')' - 1`
8485 if test $ac_mid -le $ac_hi; then
8486 ac_lo= ac_hi=
8487 break
8489 ac_mid=`expr 2 '*' $ac_mid`
8491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8492 done
8493 else
8494 echo "$as_me: failed program was:" >&5
8495 sed 's/^/| /' conftest.$ac_ext >&5
8497 ac_lo= ac_hi=
8499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8502 # Binary search between lo and hi bounds.
8503 while test "x$ac_lo" != "x$ac_hi"; do
8504 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8505 cat >conftest.$ac_ext <<_ACEOF
8506 /* confdefs.h. */
8507 _ACEOF
8508 cat confdefs.h >>conftest.$ac_ext
8509 cat >>conftest.$ac_ext <<_ACEOF
8510 /* end confdefs.h. */
8511 $ac_includes_default
8513 main ()
8515 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8516 test_array [0] = 0
8519 return 0;
8521 _ACEOF
8522 rm -f conftest.$ac_objext
8523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8524 (eval $ac_compile) 2>conftest.er1
8525 ac_status=$?
8526 grep -v '^ *+' conftest.er1 >conftest.err
8527 rm -f conftest.er1
8528 cat conftest.err >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } &&
8531 { ac_try='test -z "$ac_c_werror_flag"
8532 || test ! -s conftest.err'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534 (eval $ac_try) 2>&5
8535 ac_status=$?
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; } &&
8538 { ac_try='test -s conftest.$ac_objext'
8539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 (eval $ac_try) 2>&5
8541 ac_status=$?
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); }; }; then
8544 ac_hi=$ac_mid
8545 else
8546 echo "$as_me: failed program was:" >&5
8547 sed 's/^/| /' conftest.$ac_ext >&5
8549 ac_lo=`expr '(' $ac_mid ')' + 1`
8551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8552 done
8553 case $ac_lo in
8554 ?*) ac_cv_sizeof_int=$ac_lo;;
8555 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8556 See \`config.log' for more details." >&5
8557 echo "$as_me: error: cannot compute sizeof (int), 77
8558 See \`config.log' for more details." >&2;}
8559 { (exit 1); exit 1; }; } ;;
8560 esac
8561 else
8562 if test "$cross_compiling" = yes; then
8563 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8564 See \`config.log' for more details." >&5
8565 echo "$as_me: error: cannot run test program while cross compiling
8566 See \`config.log' for more details." >&2;}
8567 { (exit 1); exit 1; }; }
8568 else
8569 cat >conftest.$ac_ext <<_ACEOF
8570 /* confdefs.h. */
8571 _ACEOF
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8575 $ac_includes_default
8576 long longval () { return (long) (sizeof (int)); }
8577 unsigned long ulongval () { return (long) (sizeof (int)); }
8578 #include <stdio.h>
8579 #include <stdlib.h>
8581 main ()
8584 FILE *f = fopen ("conftest.val", "w");
8585 if (! f)
8586 exit (1);
8587 if (((long) (sizeof (int))) < 0)
8589 long i = longval ();
8590 if (i != ((long) (sizeof (int))))
8591 exit (1);
8592 fprintf (f, "%ld\n", i);
8594 else
8596 unsigned long i = ulongval ();
8597 if (i != ((long) (sizeof (int))))
8598 exit (1);
8599 fprintf (f, "%lu\n", i);
8601 exit (ferror (f) || fclose (f) != 0);
8604 return 0;
8606 _ACEOF
8607 rm -f conftest$ac_exeext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>&5
8610 ac_status=$?
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 (eval $ac_try) 2>&5
8615 ac_status=$?
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8618 ac_cv_sizeof_int=`cat conftest.val`
8619 else
8620 echo "$as_me: program exited with status $ac_status" >&5
8621 echo "$as_me: failed program was:" >&5
8622 sed 's/^/| /' conftest.$ac_ext >&5
8624 ( exit $ac_status )
8625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8626 See \`config.log' for more details." >&5
8627 echo "$as_me: error: cannot compute sizeof (int), 77
8628 See \`config.log' for more details." >&2;}
8629 { (exit 1); exit 1; }; }
8631 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8634 rm -f conftest.val
8635 else
8636 ac_cv_sizeof_int=0
8639 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8640 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8641 cat >>confdefs.h <<_ACEOF
8642 #define SIZEOF_INT $ac_cv_sizeof_int
8643 _ACEOF
8646 echo "$as_me:$LINENO: checking for short" >&5
8647 echo $ECHO_N "checking for short... $ECHO_C" >&6
8648 if test "${ac_cv_type_short+set}" = set; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 else
8651 cat >conftest.$ac_ext <<_ACEOF
8652 /* confdefs.h. */
8653 _ACEOF
8654 cat confdefs.h >>conftest.$ac_ext
8655 cat >>conftest.$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8657 $ac_includes_default
8659 main ()
8661 if ((short *) 0)
8662 return 0;
8663 if (sizeof (short))
8664 return 0;
8666 return 0;
8668 _ACEOF
8669 rm -f conftest.$ac_objext
8670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8671 (eval $ac_compile) 2>conftest.er1
8672 ac_status=$?
8673 grep -v '^ *+' conftest.er1 >conftest.err
8674 rm -f conftest.er1
8675 cat conftest.err >&5
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); } &&
8678 { ac_try='test -z "$ac_c_werror_flag"
8679 || test ! -s conftest.err'
8680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 (eval $ac_try) 2>&5
8682 ac_status=$?
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); }; } &&
8685 { ac_try='test -s conftest.$ac_objext'
8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687 (eval $ac_try) 2>&5
8688 ac_status=$?
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); }; }; then
8691 ac_cv_type_short=yes
8692 else
8693 echo "$as_me: failed program was:" >&5
8694 sed 's/^/| /' conftest.$ac_ext >&5
8696 ac_cv_type_short=no
8698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8700 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8701 echo "${ECHO_T}$ac_cv_type_short" >&6
8703 echo "$as_me:$LINENO: checking size of short" >&5
8704 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8705 if test "${ac_cv_sizeof_short+set}" = set; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 else
8708 if test "$ac_cv_type_short" = yes; then
8709 # The cast to unsigned long works around a bug in the HP C Compiler
8710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8712 # This bug is HP SR number 8606223364.
8713 if test "$cross_compiling" = yes; then
8714 # Depending upon the size, compute the lo and hi bounds.
8715 cat >conftest.$ac_ext <<_ACEOF
8716 /* confdefs.h. */
8717 _ACEOF
8718 cat confdefs.h >>conftest.$ac_ext
8719 cat >>conftest.$ac_ext <<_ACEOF
8720 /* end confdefs.h. */
8721 $ac_includes_default
8723 main ()
8725 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8726 test_array [0] = 0
8729 return 0;
8731 _ACEOF
8732 rm -f conftest.$ac_objext
8733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8734 (eval $ac_compile) 2>conftest.er1
8735 ac_status=$?
8736 grep -v '^ *+' conftest.er1 >conftest.err
8737 rm -f conftest.er1
8738 cat conftest.err >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } &&
8741 { ac_try='test -z "$ac_c_werror_flag"
8742 || test ! -s conftest.err'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 (eval $ac_try) 2>&5
8745 ac_status=$?
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; } &&
8748 { ac_try='test -s conftest.$ac_objext'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 (eval $ac_try) 2>&5
8751 ac_status=$?
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; }; then
8754 ac_lo=0 ac_mid=0
8755 while :; do
8756 cat >conftest.$ac_ext <<_ACEOF
8757 /* confdefs.h. */
8758 _ACEOF
8759 cat confdefs.h >>conftest.$ac_ext
8760 cat >>conftest.$ac_ext <<_ACEOF
8761 /* end confdefs.h. */
8762 $ac_includes_default
8764 main ()
8766 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8767 test_array [0] = 0
8770 return 0;
8772 _ACEOF
8773 rm -f conftest.$ac_objext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8775 (eval $ac_compile) 2>conftest.er1
8776 ac_status=$?
8777 grep -v '^ *+' conftest.er1 >conftest.err
8778 rm -f conftest.er1
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } &&
8782 { ac_try='test -z "$ac_c_werror_flag"
8783 || test ! -s conftest.err'
8784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 (eval $ac_try) 2>&5
8786 ac_status=$?
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); }; } &&
8789 { ac_try='test -s conftest.$ac_objext'
8790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791 (eval $ac_try) 2>&5
8792 ac_status=$?
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); }; }; then
8795 ac_hi=$ac_mid; break
8796 else
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8800 ac_lo=`expr $ac_mid + 1`
8801 if test $ac_lo -le $ac_mid; then
8802 ac_lo= ac_hi=
8803 break
8805 ac_mid=`expr 2 '*' $ac_mid + 1`
8807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8808 done
8809 else
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.$ac_ext >&5
8813 cat >conftest.$ac_ext <<_ACEOF
8814 /* confdefs.h. */
8815 _ACEOF
8816 cat confdefs.h >>conftest.$ac_ext
8817 cat >>conftest.$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8819 $ac_includes_default
8821 main ()
8823 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8824 test_array [0] = 0
8827 return 0;
8829 _ACEOF
8830 rm -f conftest.$ac_objext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8832 (eval $ac_compile) 2>conftest.er1
8833 ac_status=$?
8834 grep -v '^ *+' conftest.er1 >conftest.err
8835 rm -f conftest.er1
8836 cat conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } &&
8839 { ac_try='test -z "$ac_c_werror_flag"
8840 || test ! -s conftest.err'
8841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8842 (eval $ac_try) 2>&5
8843 ac_status=$?
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); }; } &&
8846 { ac_try='test -s conftest.$ac_objext'
8847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8848 (eval $ac_try) 2>&5
8849 ac_status=$?
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); }; }; then
8852 ac_hi=-1 ac_mid=-1
8853 while :; do
8854 cat >conftest.$ac_ext <<_ACEOF
8855 /* confdefs.h. */
8856 _ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8860 $ac_includes_default
8862 main ()
8864 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8865 test_array [0] = 0
8868 return 0;
8870 _ACEOF
8871 rm -f conftest.$ac_objext
8872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8873 (eval $ac_compile) 2>conftest.er1
8874 ac_status=$?
8875 grep -v '^ *+' conftest.er1 >conftest.err
8876 rm -f conftest.er1
8877 cat conftest.err >&5
8878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879 (exit $ac_status); } &&
8880 { ac_try='test -z "$ac_c_werror_flag"
8881 || test ! -s conftest.err'
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883 (eval $ac_try) 2>&5
8884 ac_status=$?
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); }; } &&
8887 { ac_try='test -s conftest.$ac_objext'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 (eval $ac_try) 2>&5
8890 ac_status=$?
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; }; then
8893 ac_lo=$ac_mid; break
8894 else
8895 echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.$ac_ext >&5
8898 ac_hi=`expr '(' $ac_mid ')' - 1`
8899 if test $ac_mid -le $ac_hi; then
8900 ac_lo= ac_hi=
8901 break
8903 ac_mid=`expr 2 '*' $ac_mid`
8905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8906 done
8907 else
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.$ac_ext >&5
8911 ac_lo= ac_hi=
8913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8916 # Binary search between lo and hi bounds.
8917 while test "x$ac_lo" != "x$ac_hi"; do
8918 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8919 cat >conftest.$ac_ext <<_ACEOF
8920 /* confdefs.h. */
8921 _ACEOF
8922 cat confdefs.h >>conftest.$ac_ext
8923 cat >>conftest.$ac_ext <<_ACEOF
8924 /* end confdefs.h. */
8925 $ac_includes_default
8927 main ()
8929 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8930 test_array [0] = 0
8933 return 0;
8935 _ACEOF
8936 rm -f conftest.$ac_objext
8937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8938 (eval $ac_compile) 2>conftest.er1
8939 ac_status=$?
8940 grep -v '^ *+' conftest.er1 >conftest.err
8941 rm -f conftest.er1
8942 cat conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); } &&
8945 { ac_try='test -z "$ac_c_werror_flag"
8946 || test ! -s conftest.err'
8947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8948 (eval $ac_try) 2>&5
8949 ac_status=$?
8950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951 (exit $ac_status); }; } &&
8952 { ac_try='test -s conftest.$ac_objext'
8953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8954 (eval $ac_try) 2>&5
8955 ac_status=$?
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); }; }; then
8958 ac_hi=$ac_mid
8959 else
8960 echo "$as_me: failed program was:" >&5
8961 sed 's/^/| /' conftest.$ac_ext >&5
8963 ac_lo=`expr '(' $ac_mid ')' + 1`
8965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8966 done
8967 case $ac_lo in
8968 ?*) ac_cv_sizeof_short=$ac_lo;;
8969 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8970 See \`config.log' for more details." >&5
8971 echo "$as_me: error: cannot compute sizeof (short), 77
8972 See \`config.log' for more details." >&2;}
8973 { (exit 1); exit 1; }; } ;;
8974 esac
8975 else
8976 if test "$cross_compiling" = yes; then
8977 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8978 See \`config.log' for more details." >&5
8979 echo "$as_me: error: cannot run test program while cross compiling
8980 See \`config.log' for more details." >&2;}
8981 { (exit 1); exit 1; }; }
8982 else
8983 cat >conftest.$ac_ext <<_ACEOF
8984 /* confdefs.h. */
8985 _ACEOF
8986 cat confdefs.h >>conftest.$ac_ext
8987 cat >>conftest.$ac_ext <<_ACEOF
8988 /* end confdefs.h. */
8989 $ac_includes_default
8990 long longval () { return (long) (sizeof (short)); }
8991 unsigned long ulongval () { return (long) (sizeof (short)); }
8992 #include <stdio.h>
8993 #include <stdlib.h>
8995 main ()
8998 FILE *f = fopen ("conftest.val", "w");
8999 if (! f)
9000 exit (1);
9001 if (((long) (sizeof (short))) < 0)
9003 long i = longval ();
9004 if (i != ((long) (sizeof (short))))
9005 exit (1);
9006 fprintf (f, "%ld\n", i);
9008 else
9010 unsigned long i = ulongval ();
9011 if (i != ((long) (sizeof (short))))
9012 exit (1);
9013 fprintf (f, "%lu\n", i);
9015 exit (ferror (f) || fclose (f) != 0);
9018 return 0;
9020 _ACEOF
9021 rm -f conftest$ac_exeext
9022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9023 (eval $ac_link) 2>&5
9024 ac_status=$?
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9028 (eval $ac_try) 2>&5
9029 ac_status=$?
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); }; }; then
9032 ac_cv_sizeof_short=`cat conftest.val`
9033 else
9034 echo "$as_me: program exited with status $ac_status" >&5
9035 echo "$as_me: failed program was:" >&5
9036 sed 's/^/| /' conftest.$ac_ext >&5
9038 ( exit $ac_status )
9039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9040 See \`config.log' for more details." >&5
9041 echo "$as_me: error: cannot compute sizeof (short), 77
9042 See \`config.log' for more details." >&2;}
9043 { (exit 1); exit 1; }; }
9045 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9048 rm -f conftest.val
9049 else
9050 ac_cv_sizeof_short=0
9053 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9054 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9055 cat >>confdefs.h <<_ACEOF
9056 #define SIZEOF_SHORT $ac_cv_sizeof_short
9057 _ACEOF
9060 echo "$as_me:$LINENO: checking for char" >&5
9061 echo $ECHO_N "checking for char... $ECHO_C" >&6
9062 if test "${ac_cv_type_char+set}" = set; then
9063 echo $ECHO_N "(cached) $ECHO_C" >&6
9064 else
9065 cat >conftest.$ac_ext <<_ACEOF
9066 /* confdefs.h. */
9067 _ACEOF
9068 cat confdefs.h >>conftest.$ac_ext
9069 cat >>conftest.$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9071 $ac_includes_default
9073 main ()
9075 if ((char *) 0)
9076 return 0;
9077 if (sizeof (char))
9078 return 0;
9080 return 0;
9082 _ACEOF
9083 rm -f conftest.$ac_objext
9084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9085 (eval $ac_compile) 2>conftest.er1
9086 ac_status=$?
9087 grep -v '^ *+' conftest.er1 >conftest.err
9088 rm -f conftest.er1
9089 cat conftest.err >&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); } &&
9092 { ac_try='test -z "$ac_c_werror_flag"
9093 || test ! -s conftest.err'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 (eval $ac_try) 2>&5
9096 ac_status=$?
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try='test -s conftest.$ac_objext'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 (eval $ac_try) 2>&5
9102 ac_status=$?
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; }; then
9105 ac_cv_type_char=yes
9106 else
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.$ac_ext >&5
9110 ac_cv_type_char=no
9112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9114 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9115 echo "${ECHO_T}$ac_cv_type_char" >&6
9117 echo "$as_me:$LINENO: checking size of char" >&5
9118 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9119 if test "${ac_cv_sizeof_char+set}" = set; then
9120 echo $ECHO_N "(cached) $ECHO_C" >&6
9121 else
9122 if test "$ac_cv_type_char" = yes; then
9123 # The cast to unsigned long works around a bug in the HP C Compiler
9124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9126 # This bug is HP SR number 8606223364.
9127 if test "$cross_compiling" = yes; then
9128 # Depending upon the size, compute the lo and hi bounds.
9129 cat >conftest.$ac_ext <<_ACEOF
9130 /* confdefs.h. */
9131 _ACEOF
9132 cat confdefs.h >>conftest.$ac_ext
9133 cat >>conftest.$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9135 $ac_includes_default
9137 main ()
9139 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9140 test_array [0] = 0
9143 return 0;
9145 _ACEOF
9146 rm -f conftest.$ac_objext
9147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9148 (eval $ac_compile) 2>conftest.er1
9149 ac_status=$?
9150 grep -v '^ *+' conftest.er1 >conftest.err
9151 rm -f conftest.er1
9152 cat conftest.err >&5
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); } &&
9155 { ac_try='test -z "$ac_c_werror_flag"
9156 || test ! -s conftest.err'
9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 (eval $ac_try) 2>&5
9159 ac_status=$?
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; } &&
9162 { ac_try='test -s conftest.$ac_objext'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 (eval $ac_try) 2>&5
9165 ac_status=$?
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; }; then
9168 ac_lo=0 ac_mid=0
9169 while :; do
9170 cat >conftest.$ac_ext <<_ACEOF
9171 /* confdefs.h. */
9172 _ACEOF
9173 cat confdefs.h >>conftest.$ac_ext
9174 cat >>conftest.$ac_ext <<_ACEOF
9175 /* end confdefs.h. */
9176 $ac_includes_default
9178 main ()
9180 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9181 test_array [0] = 0
9184 return 0;
9186 _ACEOF
9187 rm -f conftest.$ac_objext
9188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9189 (eval $ac_compile) 2>conftest.er1
9190 ac_status=$?
9191 grep -v '^ *+' conftest.er1 >conftest.err
9192 rm -f conftest.er1
9193 cat conftest.err >&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); } &&
9196 { ac_try='test -z "$ac_c_werror_flag"
9197 || test ! -s conftest.err'
9198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 (eval $ac_try) 2>&5
9200 ac_status=$?
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); }; } &&
9203 { ac_try='test -s conftest.$ac_objext'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 (eval $ac_try) 2>&5
9206 ac_status=$?
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; }; then
9209 ac_hi=$ac_mid; break
9210 else
9211 echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.$ac_ext >&5
9214 ac_lo=`expr $ac_mid + 1`
9215 if test $ac_lo -le $ac_mid; then
9216 ac_lo= ac_hi=
9217 break
9219 ac_mid=`expr 2 '*' $ac_mid + 1`
9221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9222 done
9223 else
9224 echo "$as_me: failed program was:" >&5
9225 sed 's/^/| /' conftest.$ac_ext >&5
9227 cat >conftest.$ac_ext <<_ACEOF
9228 /* confdefs.h. */
9229 _ACEOF
9230 cat confdefs.h >>conftest.$ac_ext
9231 cat >>conftest.$ac_ext <<_ACEOF
9232 /* end confdefs.h. */
9233 $ac_includes_default
9235 main ()
9237 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9238 test_array [0] = 0
9241 return 0;
9243 _ACEOF
9244 rm -f conftest.$ac_objext
9245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9246 (eval $ac_compile) 2>conftest.er1
9247 ac_status=$?
9248 grep -v '^ *+' conftest.er1 >conftest.err
9249 rm -f conftest.er1
9250 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try='test -z "$ac_c_werror_flag"
9254 || test ! -s conftest.err'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 (eval $ac_try) 2>&5
9257 ac_status=$?
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; } &&
9260 { ac_try='test -s conftest.$ac_objext'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 (eval $ac_try) 2>&5
9263 ac_status=$?
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; }; then
9266 ac_hi=-1 ac_mid=-1
9267 while :; do
9268 cat >conftest.$ac_ext <<_ACEOF
9269 /* confdefs.h. */
9270 _ACEOF
9271 cat confdefs.h >>conftest.$ac_ext
9272 cat >>conftest.$ac_ext <<_ACEOF
9273 /* end confdefs.h. */
9274 $ac_includes_default
9276 main ()
9278 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9279 test_array [0] = 0
9282 return 0;
9284 _ACEOF
9285 rm -f conftest.$ac_objext
9286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9287 (eval $ac_compile) 2>conftest.er1
9288 ac_status=$?
9289 grep -v '^ *+' conftest.er1 >conftest.err
9290 rm -f conftest.er1
9291 cat conftest.err >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); } &&
9294 { ac_try='test -z "$ac_c_werror_flag"
9295 || test ! -s conftest.err'
9296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9297 (eval $ac_try) 2>&5
9298 ac_status=$?
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); }; } &&
9301 { ac_try='test -s conftest.$ac_objext'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9303 (eval $ac_try) 2>&5
9304 ac_status=$?
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; }; then
9307 ac_lo=$ac_mid; break
9308 else
9309 echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.$ac_ext >&5
9312 ac_hi=`expr '(' $ac_mid ')' - 1`
9313 if test $ac_mid -le $ac_hi; then
9314 ac_lo= ac_hi=
9315 break
9317 ac_mid=`expr 2 '*' $ac_mid`
9319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9320 done
9321 else
9322 echo "$as_me: failed program was:" >&5
9323 sed 's/^/| /' conftest.$ac_ext >&5
9325 ac_lo= ac_hi=
9327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9330 # Binary search between lo and hi bounds.
9331 while test "x$ac_lo" != "x$ac_hi"; do
9332 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h. */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9339 $ac_includes_default
9341 main ()
9343 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9344 test_array [0] = 0
9347 return 0;
9349 _ACEOF
9350 rm -f conftest.$ac_objext
9351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9352 (eval $ac_compile) 2>conftest.er1
9353 ac_status=$?
9354 grep -v '^ *+' conftest.er1 >conftest.err
9355 rm -f conftest.er1
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } &&
9359 { ac_try='test -z "$ac_c_werror_flag"
9360 || test ! -s conftest.err'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9362 (eval $ac_try) 2>&5
9363 ac_status=$?
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; } &&
9366 { ac_try='test -s conftest.$ac_objext'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 (eval $ac_try) 2>&5
9369 ac_status=$?
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; }; then
9372 ac_hi=$ac_mid
9373 else
9374 echo "$as_me: failed program was:" >&5
9375 sed 's/^/| /' conftest.$ac_ext >&5
9377 ac_lo=`expr '(' $ac_mid ')' + 1`
9379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9380 done
9381 case $ac_lo in
9382 ?*) ac_cv_sizeof_char=$ac_lo;;
9383 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9384 See \`config.log' for more details." >&5
9385 echo "$as_me: error: cannot compute sizeof (char), 77
9386 See \`config.log' for more details." >&2;}
9387 { (exit 1); exit 1; }; } ;;
9388 esac
9389 else
9390 if test "$cross_compiling" = yes; then
9391 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9392 See \`config.log' for more details." >&5
9393 echo "$as_me: error: cannot run test program while cross compiling
9394 See \`config.log' for more details." >&2;}
9395 { (exit 1); exit 1; }; }
9396 else
9397 cat >conftest.$ac_ext <<_ACEOF
9398 /* confdefs.h. */
9399 _ACEOF
9400 cat confdefs.h >>conftest.$ac_ext
9401 cat >>conftest.$ac_ext <<_ACEOF
9402 /* end confdefs.h. */
9403 $ac_includes_default
9404 long longval () { return (long) (sizeof (char)); }
9405 unsigned long ulongval () { return (long) (sizeof (char)); }
9406 #include <stdio.h>
9407 #include <stdlib.h>
9409 main ()
9412 FILE *f = fopen ("conftest.val", "w");
9413 if (! f)
9414 exit (1);
9415 if (((long) (sizeof (char))) < 0)
9417 long i = longval ();
9418 if (i != ((long) (sizeof (char))))
9419 exit (1);
9420 fprintf (f, "%ld\n", i);
9422 else
9424 unsigned long i = ulongval ();
9425 if (i != ((long) (sizeof (char))))
9426 exit (1);
9427 fprintf (f, "%lu\n", i);
9429 exit (ferror (f) || fclose (f) != 0);
9432 return 0;
9434 _ACEOF
9435 rm -f conftest$ac_exeext
9436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9437 (eval $ac_link) 2>&5
9438 ac_status=$?
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442 (eval $ac_try) 2>&5
9443 ac_status=$?
9444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445 (exit $ac_status); }; }; then
9446 ac_cv_sizeof_char=`cat conftest.val`
9447 else
9448 echo "$as_me: program exited with status $ac_status" >&5
9449 echo "$as_me: failed program was:" >&5
9450 sed 's/^/| /' conftest.$ac_ext >&5
9452 ( exit $ac_status )
9453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9454 See \`config.log' for more details." >&5
9455 echo "$as_me: error: cannot compute sizeof (char), 77
9456 See \`config.log' for more details." >&2;}
9457 { (exit 1); exit 1; }; }
9459 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9462 rm -f conftest.val
9463 else
9464 ac_cv_sizeof_char=0
9467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9468 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9469 cat >>confdefs.h <<_ACEOF
9470 #define SIZEOF_CHAR $ac_cv_sizeof_char
9471 _ACEOF
9475 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9476 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9477 case "$ac_cv_sizeof_char" in
9478 1) acx_cv_type_int8_t=char ;;
9479 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9480 echo "$as_me: error: no 8-bit type" >&2;}
9481 { (exit please report a bug); exit please report a bug; }; }
9482 esac
9483 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9484 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9486 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9487 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9488 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9489 2:*) acx_cv_type_int16_t=int ;;
9490 *:2) acx_cv_type_int16_t=short ;;
9491 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9492 echo "$as_me: error: no 16-bit type" >&2;}
9493 { (exit please report a bug); exit please report a bug; }; }
9494 esac
9495 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9496 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9498 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9499 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9500 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9501 4:*) acx_cv_type_int32_t=int ;;
9502 *:4) acx_cv_type_int32_t=long ;;
9503 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9504 echo "$as_me: error: no 32-bit type" >&2;}
9505 { (exit please report a bug); exit please report a bug; }; }
9506 esac
9507 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9508 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9511 # These tests are here to make the output prettier
9513 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9514 case "$ac_cv_sizeof_long" in
9515 8) acx_cv_type_int64_t=long ;;
9516 esac
9517 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9518 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9519 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9520 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9523 # Now we can use the above types
9525 if test "$ac_cv_type_uintptr_t" != yes; then
9526 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9527 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9528 case $ac_cv_sizeof_void_p in
9529 2) acx_cv_type_intptr_t=int16_t ;;
9530 4) acx_cv_type_intptr_t=int32_t ;;
9531 8) acx_cv_type_intptr_t=int64_t ;;
9532 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9533 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9534 { (exit please report a bug); exit please report a bug; }; }
9535 esac
9536 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9537 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9540 # ----------------- done all checks, emit header -------------
9541 ac_config_commands="$ac_config_commands gstdint.h"
9546 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9547 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9548 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9549 echo $ECHO_N "(cached) $ECHO_C" >&6
9550 else
9551 cat >conftest.$ac_ext <<_ACEOF
9552 /* confdefs.h. */
9553 _ACEOF
9554 cat confdefs.h >>conftest.$ac_ext
9555 cat >>conftest.$ac_ext <<_ACEOF
9556 /* end confdefs.h. */
9557 $ac_includes_default
9559 main ()
9561 static struct stat ac_aggr;
9562 if (ac_aggr.st_blksize)
9563 return 0;
9565 return 0;
9567 _ACEOF
9568 rm -f conftest.$ac_objext
9569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9570 (eval $ac_compile) 2>conftest.er1
9571 ac_status=$?
9572 grep -v '^ *+' conftest.er1 >conftest.err
9573 rm -f conftest.er1
9574 cat conftest.err >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); } &&
9577 { ac_try='test -z "$ac_c_werror_flag"
9578 || test ! -s conftest.err'
9579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9580 (eval $ac_try) 2>&5
9581 ac_status=$?
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); }; } &&
9584 { ac_try='test -s conftest.$ac_objext'
9585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9586 (eval $ac_try) 2>&5
9587 ac_status=$?
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); }; }; then
9590 ac_cv_member_struct_stat_st_blksize=yes
9591 else
9592 echo "$as_me: failed program was:" >&5
9593 sed 's/^/| /' conftest.$ac_ext >&5
9595 cat >conftest.$ac_ext <<_ACEOF
9596 /* confdefs.h. */
9597 _ACEOF
9598 cat confdefs.h >>conftest.$ac_ext
9599 cat >>conftest.$ac_ext <<_ACEOF
9600 /* end confdefs.h. */
9601 $ac_includes_default
9603 main ()
9605 static struct stat ac_aggr;
9606 if (sizeof ac_aggr.st_blksize)
9607 return 0;
9609 return 0;
9611 _ACEOF
9612 rm -f conftest.$ac_objext
9613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9614 (eval $ac_compile) 2>conftest.er1
9615 ac_status=$?
9616 grep -v '^ *+' conftest.er1 >conftest.err
9617 rm -f conftest.er1
9618 cat conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } &&
9621 { ac_try='test -z "$ac_c_werror_flag"
9622 || test ! -s conftest.err'
9623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9624 (eval $ac_try) 2>&5
9625 ac_status=$?
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); }; } &&
9628 { ac_try='test -s conftest.$ac_objext'
9629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9630 (eval $ac_try) 2>&5
9631 ac_status=$?
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); }; }; then
9634 ac_cv_member_struct_stat_st_blksize=yes
9635 else
9636 echo "$as_me: failed program was:" >&5
9637 sed 's/^/| /' conftest.$ac_ext >&5
9639 ac_cv_member_struct_stat_st_blksize=no
9641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9645 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9646 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9647 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9649 cat >>confdefs.h <<_ACEOF
9650 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9651 _ACEOF
9656 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9657 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9658 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9660 else
9661 cat >conftest.$ac_ext <<_ACEOF
9662 /* confdefs.h. */
9663 _ACEOF
9664 cat confdefs.h >>conftest.$ac_ext
9665 cat >>conftest.$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9667 $ac_includes_default
9669 main ()
9671 static struct stat ac_aggr;
9672 if (ac_aggr.st_blocks)
9673 return 0;
9675 return 0;
9677 _ACEOF
9678 rm -f conftest.$ac_objext
9679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9680 (eval $ac_compile) 2>conftest.er1
9681 ac_status=$?
9682 grep -v '^ *+' conftest.er1 >conftest.err
9683 rm -f conftest.er1
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } &&
9687 { ac_try='test -z "$ac_c_werror_flag"
9688 || test ! -s conftest.err'
9689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 (eval $ac_try) 2>&5
9691 ac_status=$?
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; } &&
9694 { ac_try='test -s conftest.$ac_objext'
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 (eval $ac_try) 2>&5
9697 ac_status=$?
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); }; }; then
9700 ac_cv_member_struct_stat_st_blocks=yes
9701 else
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 cat >conftest.$ac_ext <<_ACEOF
9706 /* confdefs.h. */
9707 _ACEOF
9708 cat confdefs.h >>conftest.$ac_ext
9709 cat >>conftest.$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9711 $ac_includes_default
9713 main ()
9715 static struct stat ac_aggr;
9716 if (sizeof ac_aggr.st_blocks)
9717 return 0;
9719 return 0;
9721 _ACEOF
9722 rm -f conftest.$ac_objext
9723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9724 (eval $ac_compile) 2>conftest.er1
9725 ac_status=$?
9726 grep -v '^ *+' conftest.er1 >conftest.err
9727 rm -f conftest.er1
9728 cat conftest.err >&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 (exit $ac_status); } &&
9731 { ac_try='test -z "$ac_c_werror_flag"
9732 || test ! -s conftest.err'
9733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9734 (eval $ac_try) 2>&5
9735 ac_status=$?
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); }; } &&
9738 { ac_try='test -s conftest.$ac_objext'
9739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9740 (eval $ac_try) 2>&5
9741 ac_status=$?
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); }; }; then
9744 ac_cv_member_struct_stat_st_blocks=yes
9745 else
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9749 ac_cv_member_struct_stat_st_blocks=no
9751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9755 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9756 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9757 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9759 cat >>confdefs.h <<_ACEOF
9760 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9761 _ACEOF
9766 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9767 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9768 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9769 echo $ECHO_N "(cached) $ECHO_C" >&6
9770 else
9771 cat >conftest.$ac_ext <<_ACEOF
9772 /* confdefs.h. */
9773 _ACEOF
9774 cat confdefs.h >>conftest.$ac_ext
9775 cat >>conftest.$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9777 $ac_includes_default
9779 main ()
9781 static struct stat ac_aggr;
9782 if (ac_aggr.st_rdev)
9783 return 0;
9785 return 0;
9787 _ACEOF
9788 rm -f conftest.$ac_objext
9789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9790 (eval $ac_compile) 2>conftest.er1
9791 ac_status=$?
9792 grep -v '^ *+' conftest.er1 >conftest.err
9793 rm -f conftest.er1
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try='test -z "$ac_c_werror_flag"
9798 || test ! -s conftest.err'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 (eval $ac_try) 2>&5
9801 ac_status=$?
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; } &&
9804 { ac_try='test -s conftest.$ac_objext'
9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9806 (eval $ac_try) 2>&5
9807 ac_status=$?
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); }; }; then
9810 ac_cv_member_struct_stat_st_rdev=yes
9811 else
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9815 cat >conftest.$ac_ext <<_ACEOF
9816 /* confdefs.h. */
9817 _ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9821 $ac_includes_default
9823 main ()
9825 static struct stat ac_aggr;
9826 if (sizeof ac_aggr.st_rdev)
9827 return 0;
9829 return 0;
9831 _ACEOF
9832 rm -f conftest.$ac_objext
9833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9834 (eval $ac_compile) 2>conftest.er1
9835 ac_status=$?
9836 grep -v '^ *+' conftest.er1 >conftest.err
9837 rm -f conftest.er1
9838 cat conftest.err >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } &&
9841 { ac_try='test -z "$ac_c_werror_flag"
9842 || test ! -s conftest.err'
9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9844 (eval $ac_try) 2>&5
9845 ac_status=$?
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); }; } &&
9848 { ac_try='test -s conftest.$ac_objext'
9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 (eval $ac_try) 2>&5
9851 ac_status=$?
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; }; then
9854 ac_cv_member_struct_stat_st_rdev=yes
9855 else
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.$ac_ext >&5
9859 ac_cv_member_struct_stat_st_rdev=no
9861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9865 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9866 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9867 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9869 cat >>confdefs.h <<_ACEOF
9870 #define HAVE_STRUCT_STAT_ST_RDEV 1
9871 _ACEOF
9877 # Check for library functions.
9886 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9889 echo "$as_me:$LINENO: checking for $ac_func" >&5
9890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9891 if eval "test \"\${$as_ac_var+set}\" = set"; then
9892 echo $ECHO_N "(cached) $ECHO_C" >&6
9893 else
9894 if test x$gcc_no_link = xyes; then
9895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9897 { (exit 1); exit 1; }; }
9899 cat >conftest.$ac_ext <<_ACEOF
9900 /* confdefs.h. */
9901 _ACEOF
9902 cat confdefs.h >>conftest.$ac_ext
9903 cat >>conftest.$ac_ext <<_ACEOF
9904 /* end confdefs.h. */
9905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9907 #define $ac_func innocuous_$ac_func
9909 /* System header to define __stub macros and hopefully few prototypes,
9910 which can conflict with char $ac_func (); below.
9911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9912 <limits.h> exists even on freestanding compilers. */
9914 #ifdef __STDC__
9915 # include <limits.h>
9916 #else
9917 # include <assert.h>
9918 #endif
9920 #undef $ac_func
9922 /* Override any gcc2 internal prototype to avoid an error. */
9923 #ifdef __cplusplus
9924 extern "C"
9926 #endif
9927 /* We use char because int might match the return type of a gcc2
9928 builtin and then its argument prototype would still apply. */
9929 char $ac_func ();
9930 /* The GNU C library defines this for functions which it implements
9931 to always fail with ENOSYS. Some functions are actually named
9932 something starting with __ and the normal name is an alias. */
9933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9934 choke me
9935 #else
9936 char (*f) () = $ac_func;
9937 #endif
9938 #ifdef __cplusplus
9940 #endif
9943 main ()
9945 return f != $ac_func;
9947 return 0;
9949 _ACEOF
9950 rm -f conftest.$ac_objext conftest$ac_exeext
9951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9952 (eval $ac_link) 2>conftest.er1
9953 ac_status=$?
9954 grep -v '^ *+' conftest.er1 >conftest.err
9955 rm -f conftest.er1
9956 cat conftest.err >&5
9957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9958 (exit $ac_status); } &&
9959 { ac_try='test -z "$ac_c_werror_flag"
9960 || test ! -s conftest.err'
9961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962 (eval $ac_try) 2>&5
9963 ac_status=$?
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; } &&
9966 { ac_try='test -s conftest$ac_exeext'
9967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9968 (eval $ac_try) 2>&5
9969 ac_status=$?
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }; }; then
9972 eval "$as_ac_var=yes"
9973 else
9974 echo "$as_me: failed program was:" >&5
9975 sed 's/^/| /' conftest.$ac_ext >&5
9977 eval "$as_ac_var=no"
9979 rm -f conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9984 if test `eval echo '${'$as_ac_var'}'` = yes; then
9985 cat >>confdefs.h <<_ACEOF
9986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9987 _ACEOF
9990 done
10000 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
10002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10003 echo "$as_me:$LINENO: checking for $ac_func" >&5
10004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10005 if eval "test \"\${$as_ac_var+set}\" = set"; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 else
10008 if test x$gcc_no_link = xyes; then
10009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10011 { (exit 1); exit 1; }; }
10013 cat >conftest.$ac_ext <<_ACEOF
10014 /* confdefs.h. */
10015 _ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10021 #define $ac_func innocuous_$ac_func
10023 /* System header to define __stub macros and hopefully few prototypes,
10024 which can conflict with char $ac_func (); below.
10025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10026 <limits.h> exists even on freestanding compilers. */
10028 #ifdef __STDC__
10029 # include <limits.h>
10030 #else
10031 # include <assert.h>
10032 #endif
10034 #undef $ac_func
10036 /* Override any gcc2 internal prototype to avoid an error. */
10037 #ifdef __cplusplus
10038 extern "C"
10040 #endif
10041 /* We use char because int might match the return type of a gcc2
10042 builtin and then its argument prototype would still apply. */
10043 char $ac_func ();
10044 /* The GNU C library defines this for functions which it implements
10045 to always fail with ENOSYS. Some functions are actually named
10046 something starting with __ and the normal name is an alias. */
10047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10048 choke me
10049 #else
10050 char (*f) () = $ac_func;
10051 #endif
10052 #ifdef __cplusplus
10054 #endif
10057 main ()
10059 return f != $ac_func;
10061 return 0;
10063 _ACEOF
10064 rm -f conftest.$ac_objext conftest$ac_exeext
10065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10066 (eval $ac_link) 2>conftest.er1
10067 ac_status=$?
10068 grep -v '^ *+' conftest.er1 >conftest.err
10069 rm -f conftest.er1
10070 cat conftest.err >&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); } &&
10073 { ac_try='test -z "$ac_c_werror_flag"
10074 || test ! -s conftest.err'
10075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10076 (eval $ac_try) 2>&5
10077 ac_status=$?
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); }; } &&
10080 { ac_try='test -s conftest$ac_exeext'
10081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5
10083 ac_status=$?
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; }; then
10086 eval "$as_ac_var=yes"
10087 else
10088 echo "$as_me: failed program was:" >&5
10089 sed 's/^/| /' conftest.$ac_ext >&5
10091 eval "$as_ac_var=no"
10093 rm -f conftest.err conftest.$ac_objext \
10094 conftest$ac_exeext conftest.$ac_ext
10096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10098 if test `eval echo '${'$as_ac_var'}'` = yes; then
10099 cat >>confdefs.h <<_ACEOF
10100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10101 _ACEOF
10104 done
10116 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
10118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10119 echo "$as_me:$LINENO: checking for $ac_func" >&5
10120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10121 if eval "test \"\${$as_ac_var+set}\" = set"; then
10122 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 else
10124 if test x$gcc_no_link = xyes; then
10125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10127 { (exit 1); exit 1; }; }
10129 cat >conftest.$ac_ext <<_ACEOF
10130 /* confdefs.h. */
10131 _ACEOF
10132 cat confdefs.h >>conftest.$ac_ext
10133 cat >>conftest.$ac_ext <<_ACEOF
10134 /* end confdefs.h. */
10135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10137 #define $ac_func innocuous_$ac_func
10139 /* System header to define __stub macros and hopefully few prototypes,
10140 which can conflict with char $ac_func (); below.
10141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10142 <limits.h> exists even on freestanding compilers. */
10144 #ifdef __STDC__
10145 # include <limits.h>
10146 #else
10147 # include <assert.h>
10148 #endif
10150 #undef $ac_func
10152 /* Override any gcc2 internal prototype to avoid an error. */
10153 #ifdef __cplusplus
10154 extern "C"
10156 #endif
10157 /* We use char because int might match the return type of a gcc2
10158 builtin and then its argument prototype would still apply. */
10159 char $ac_func ();
10160 /* The GNU C library defines this for functions which it implements
10161 to always fail with ENOSYS. Some functions are actually named
10162 something starting with __ and the normal name is an alias. */
10163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10164 choke me
10165 #else
10166 char (*f) () = $ac_func;
10167 #endif
10168 #ifdef __cplusplus
10170 #endif
10173 main ()
10175 return f != $ac_func;
10177 return 0;
10179 _ACEOF
10180 rm -f conftest.$ac_objext conftest$ac_exeext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10182 (eval $ac_link) 2>conftest.er1
10183 ac_status=$?
10184 grep -v '^ *+' conftest.er1 >conftest.err
10185 rm -f conftest.er1
10186 cat conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try='test -z "$ac_c_werror_flag"
10190 || test ! -s conftest.err'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10193 ac_status=$?
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; } &&
10196 { ac_try='test -s conftest$ac_exeext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 eval "$as_ac_var=yes"
10203 else
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10207 eval "$as_ac_var=no"
10209 rm -f conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10214 if test `eval echo '${'$as_ac_var'}'` = yes; then
10215 cat >>confdefs.h <<_ACEOF
10216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10217 _ACEOF
10220 done
10228 for ac_func in wait setmode gettimeofday stat fstat lstat
10230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10231 echo "$as_me:$LINENO: checking for $ac_func" >&5
10232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10233 if eval "test \"\${$as_ac_var+set}\" = set"; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 else
10236 if test x$gcc_no_link = xyes; then
10237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10239 { (exit 1); exit 1; }; }
10241 cat >conftest.$ac_ext <<_ACEOF
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10249 #define $ac_func innocuous_$ac_func
10251 /* System header to define __stub macros and hopefully few prototypes,
10252 which can conflict with char $ac_func (); below.
10253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10254 <limits.h> exists even on freestanding compilers. */
10256 #ifdef __STDC__
10257 # include <limits.h>
10258 #else
10259 # include <assert.h>
10260 #endif
10262 #undef $ac_func
10264 /* Override any gcc2 internal prototype to avoid an error. */
10265 #ifdef __cplusplus
10266 extern "C"
10268 #endif
10269 /* We use char because int might match the return type of a gcc2
10270 builtin and then its argument prototype would still apply. */
10271 char $ac_func ();
10272 /* The GNU C library defines this for functions which it implements
10273 to always fail with ENOSYS. Some functions are actually named
10274 something starting with __ and the normal name is an alias. */
10275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10276 choke me
10277 #else
10278 char (*f) () = $ac_func;
10279 #endif
10280 #ifdef __cplusplus
10282 #endif
10285 main ()
10287 return f != $ac_func;
10289 return 0;
10291 _ACEOF
10292 rm -f conftest.$ac_objext conftest$ac_exeext
10293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10294 (eval $ac_link) 2>conftest.er1
10295 ac_status=$?
10296 grep -v '^ *+' conftest.er1 >conftest.err
10297 rm -f conftest.er1
10298 cat conftest.err >&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } &&
10301 { ac_try='test -z "$ac_c_werror_flag"
10302 || test ! -s conftest.err'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10305 ac_status=$?
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; } &&
10308 { ac_try='test -s conftest$ac_exeext'
10309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10310 (eval $ac_try) 2>&5
10311 ac_status=$?
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); }; }; then
10314 eval "$as_ac_var=yes"
10315 else
10316 echo "$as_me: failed program was:" >&5
10317 sed 's/^/| /' conftest.$ac_ext >&5
10319 eval "$as_ac_var=no"
10321 rm -f conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10326 if test `eval echo '${'$as_ac_var'}'` = yes; then
10327 cat >>confdefs.h <<_ACEOF
10328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10329 _ACEOF
10332 done
10335 # Check for types
10336 echo "$as_me:$LINENO: checking for intptr_t" >&5
10337 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10338 if test "${ac_cv_type_intptr_t+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 else
10341 cat >conftest.$ac_ext <<_ACEOF
10342 /* confdefs.h. */
10343 _ACEOF
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 $ac_includes_default
10349 main ()
10351 if ((intptr_t *) 0)
10352 return 0;
10353 if (sizeof (intptr_t))
10354 return 0;
10356 return 0;
10358 _ACEOF
10359 rm -f conftest.$ac_objext
10360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10361 (eval $ac_compile) 2>conftest.er1
10362 ac_status=$?
10363 grep -v '^ *+' conftest.er1 >conftest.err
10364 rm -f conftest.er1
10365 cat conftest.err >&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); } &&
10368 { ac_try='test -z "$ac_c_werror_flag"
10369 || test ! -s conftest.err'
10370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 (eval $ac_try) 2>&5
10372 ac_status=$?
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; } &&
10375 { ac_try='test -s conftest.$ac_objext'
10376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 (eval $ac_try) 2>&5
10378 ac_status=$?
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; }; then
10381 ac_cv_type_intptr_t=yes
10382 else
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.$ac_ext >&5
10386 ac_cv_type_intptr_t=no
10388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10390 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10391 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10392 if test $ac_cv_type_intptr_t = yes; then
10394 cat >>confdefs.h <<_ACEOF
10395 #define HAVE_INTPTR_T 1
10396 _ACEOF
10402 # Check libc for getgid, getpid, getuid
10403 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10404 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10405 if test "${ac_cv_lib_c_getgid+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 else
10408 ac_check_lib_save_LIBS=$LIBS
10409 LIBS="-lc $LIBS"
10410 if test x$gcc_no_link = xyes; then
10411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10413 { (exit 1); exit 1; }; }
10415 cat >conftest.$ac_ext <<_ACEOF
10416 /* confdefs.h. */
10417 _ACEOF
10418 cat confdefs.h >>conftest.$ac_ext
10419 cat >>conftest.$ac_ext <<_ACEOF
10420 /* end confdefs.h. */
10422 /* Override any gcc2 internal prototype to avoid an error. */
10423 #ifdef __cplusplus
10424 extern "C"
10425 #endif
10426 /* We use char because int might match the return type of a gcc2
10427 builtin and then its argument prototype would still apply. */
10428 char getgid ();
10430 main ()
10432 getgid ();
10434 return 0;
10436 _ACEOF
10437 rm -f conftest.$ac_objext conftest$ac_exeext
10438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10439 (eval $ac_link) 2>conftest.er1
10440 ac_status=$?
10441 grep -v '^ *+' conftest.er1 >conftest.err
10442 rm -f conftest.er1
10443 cat conftest.err >&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); } &&
10446 { ac_try='test -z "$ac_c_werror_flag"
10447 || test ! -s conftest.err'
10448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10449 (eval $ac_try) 2>&5
10450 ac_status=$?
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; } &&
10453 { ac_try='test -s conftest$ac_exeext'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10456 ac_status=$?
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; }; then
10459 ac_cv_lib_c_getgid=yes
10460 else
10461 echo "$as_me: failed program was:" >&5
10462 sed 's/^/| /' conftest.$ac_ext >&5
10464 ac_cv_lib_c_getgid=no
10466 rm -f conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 LIBS=$ac_check_lib_save_LIBS
10470 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10471 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10472 if test $ac_cv_lib_c_getgid = yes; then
10474 cat >>confdefs.h <<\_ACEOF
10475 #define HAVE_GETGID 1
10476 _ACEOF
10480 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10481 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10482 if test "${ac_cv_lib_c_getpid+set}" = set; then
10483 echo $ECHO_N "(cached) $ECHO_C" >&6
10484 else
10485 ac_check_lib_save_LIBS=$LIBS
10486 LIBS="-lc $LIBS"
10487 if test x$gcc_no_link = xyes; then
10488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10490 { (exit 1); exit 1; }; }
10492 cat >conftest.$ac_ext <<_ACEOF
10493 /* confdefs.h. */
10494 _ACEOF
10495 cat confdefs.h >>conftest.$ac_ext
10496 cat >>conftest.$ac_ext <<_ACEOF
10497 /* end confdefs.h. */
10499 /* Override any gcc2 internal prototype to avoid an error. */
10500 #ifdef __cplusplus
10501 extern "C"
10502 #endif
10503 /* We use char because int might match the return type of a gcc2
10504 builtin and then its argument prototype would still apply. */
10505 char getpid ();
10507 main ()
10509 getpid ();
10511 return 0;
10513 _ACEOF
10514 rm -f conftest.$ac_objext conftest$ac_exeext
10515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10516 (eval $ac_link) 2>conftest.er1
10517 ac_status=$?
10518 grep -v '^ *+' conftest.er1 >conftest.err
10519 rm -f conftest.er1
10520 cat conftest.err >&5
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); } &&
10523 { ac_try='test -z "$ac_c_werror_flag"
10524 || test ! -s conftest.err'
10525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526 (eval $ac_try) 2>&5
10527 ac_status=$?
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; } &&
10530 { ac_try='test -s conftest$ac_exeext'
10531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532 (eval $ac_try) 2>&5
10533 ac_status=$?
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); }; }; then
10536 ac_cv_lib_c_getpid=yes
10537 else
10538 echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.$ac_ext >&5
10541 ac_cv_lib_c_getpid=no
10543 rm -f conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_lib_save_LIBS
10547 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10548 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10549 if test $ac_cv_lib_c_getpid = yes; then
10551 cat >>confdefs.h <<\_ACEOF
10552 #define HAVE_GETPID 1
10553 _ACEOF
10557 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10558 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10559 if test "${ac_cv_lib_c_getuid+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6
10561 else
10562 ac_check_lib_save_LIBS=$LIBS
10563 LIBS="-lc $LIBS"
10564 if test x$gcc_no_link = xyes; then
10565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10567 { (exit 1); exit 1; }; }
10569 cat >conftest.$ac_ext <<_ACEOF
10570 /* confdefs.h. */
10571 _ACEOF
10572 cat confdefs.h >>conftest.$ac_ext
10573 cat >>conftest.$ac_ext <<_ACEOF
10574 /* end confdefs.h. */
10576 /* Override any gcc2 internal prototype to avoid an error. */
10577 #ifdef __cplusplus
10578 extern "C"
10579 #endif
10580 /* We use char because int might match the return type of a gcc2
10581 builtin and then its argument prototype would still apply. */
10582 char getuid ();
10584 main ()
10586 getuid ();
10588 return 0;
10590 _ACEOF
10591 rm -f conftest.$ac_objext conftest$ac_exeext
10592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10593 (eval $ac_link) 2>conftest.er1
10594 ac_status=$?
10595 grep -v '^ *+' conftest.er1 >conftest.err
10596 rm -f conftest.er1
10597 cat conftest.err >&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } &&
10600 { ac_try='test -z "$ac_c_werror_flag"
10601 || test ! -s conftest.err'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10604 ac_status=$?
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; } &&
10607 { ac_try='test -s conftest$ac_exeext'
10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10609 (eval $ac_try) 2>&5
10610 ac_status=$?
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); }; }; then
10613 ac_cv_lib_c_getuid=yes
10614 else
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.$ac_ext >&5
10618 ac_cv_lib_c_getuid=no
10620 rm -f conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
10622 LIBS=$ac_check_lib_save_LIBS
10624 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10625 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10626 if test $ac_cv_lib_c_getuid = yes; then
10628 cat >>confdefs.h <<\_ACEOF
10629 #define HAVE_GETUID 1
10630 _ACEOF
10635 # Check for C99 (and other IEEE) math functions
10636 # ??? This list seems awful long. Is there a better way to test for these?
10637 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10638 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10639 if test "${ac_cv_lib_m_acosf+set}" = set; then
10640 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 else
10642 ac_check_lib_save_LIBS=$LIBS
10643 LIBS="-lm $LIBS"
10644 if test x$gcc_no_link = xyes; then
10645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10647 { (exit 1); exit 1; }; }
10649 cat >conftest.$ac_ext <<_ACEOF
10650 /* confdefs.h. */
10651 _ACEOF
10652 cat confdefs.h >>conftest.$ac_ext
10653 cat >>conftest.$ac_ext <<_ACEOF
10654 /* end confdefs.h. */
10656 /* Override any gcc2 internal prototype to avoid an error. */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 /* We use char because int might match the return type of a gcc2
10661 builtin and then its argument prototype would still apply. */
10662 char acosf ();
10664 main ()
10666 acosf ();
10668 return 0;
10670 _ACEOF
10671 rm -f conftest.$ac_objext conftest$ac_exeext
10672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10673 (eval $ac_link) 2>conftest.er1
10674 ac_status=$?
10675 grep -v '^ *+' conftest.er1 >conftest.err
10676 rm -f conftest.er1
10677 cat conftest.err >&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } &&
10680 { ac_try='test -z "$ac_c_werror_flag"
10681 || test ! -s conftest.err'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5
10684 ac_status=$?
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; } &&
10687 { ac_try='test -s conftest$ac_exeext'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10690 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then
10693 ac_cv_lib_m_acosf=yes
10694 else
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10698 ac_cv_lib_m_acosf=no
10700 rm -f conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10705 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10706 if test $ac_cv_lib_m_acosf = yes; then
10708 cat >>confdefs.h <<\_ACEOF
10709 #define HAVE_ACOSF 1
10710 _ACEOF
10714 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10715 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10716 if test "${ac_cv_lib_m_acos+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719 ac_check_lib_save_LIBS=$LIBS
10720 LIBS="-lm $LIBS"
10721 if test x$gcc_no_link = xyes; then
10722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10724 { (exit 1); exit 1; }; }
10726 cat >conftest.$ac_ext <<_ACEOF
10727 /* confdefs.h. */
10728 _ACEOF
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10733 /* Override any gcc2 internal prototype to avoid an error. */
10734 #ifdef __cplusplus
10735 extern "C"
10736 #endif
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10739 char acos ();
10741 main ()
10743 acos ();
10745 return 0;
10747 _ACEOF
10748 rm -f conftest.$ac_objext conftest$ac_exeext
10749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10750 (eval $ac_link) 2>conftest.er1
10751 ac_status=$?
10752 grep -v '^ *+' conftest.er1 >conftest.err
10753 rm -f conftest.er1
10754 cat conftest.err >&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try='test -z "$ac_c_werror_flag"
10758 || test ! -s conftest.err'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10761 ac_status=$?
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; } &&
10764 { ac_try='test -s conftest$ac_exeext'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10767 ac_status=$?
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; }; then
10770 ac_cv_lib_m_acos=yes
10771 else
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10775 ac_cv_lib_m_acos=no
10777 rm -f conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_lib_save_LIBS
10781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10782 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10783 if test $ac_cv_lib_m_acos = yes; then
10785 cat >>confdefs.h <<\_ACEOF
10786 #define HAVE_ACOS 1
10787 _ACEOF
10791 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10792 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10793 if test "${ac_cv_lib_m_acosl+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 else
10796 ac_check_lib_save_LIBS=$LIBS
10797 LIBS="-lm $LIBS"
10798 if test x$gcc_no_link = xyes; then
10799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10801 { (exit 1); exit 1; }; }
10803 cat >conftest.$ac_ext <<_ACEOF
10804 /* confdefs.h. */
10805 _ACEOF
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10810 /* Override any gcc2 internal prototype to avoid an error. */
10811 #ifdef __cplusplus
10812 extern "C"
10813 #endif
10814 /* We use char because int might match the return type of a gcc2
10815 builtin and then its argument prototype would still apply. */
10816 char acosl ();
10818 main ()
10820 acosl ();
10822 return 0;
10824 _ACEOF
10825 rm -f conftest.$ac_objext conftest$ac_exeext
10826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10827 (eval $ac_link) 2>conftest.er1
10828 ac_status=$?
10829 grep -v '^ *+' conftest.er1 >conftest.err
10830 rm -f conftest.er1
10831 cat conftest.err >&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } &&
10834 { ac_try='test -z "$ac_c_werror_flag"
10835 || test ! -s conftest.err'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10838 ac_status=$?
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; } &&
10841 { ac_try='test -s conftest$ac_exeext'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10844 ac_status=$?
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; }; then
10847 ac_cv_lib_m_acosl=yes
10848 else
10849 echo "$as_me: failed program was:" >&5
10850 sed 's/^/| /' conftest.$ac_ext >&5
10852 ac_cv_lib_m_acosl=no
10854 rm -f conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10859 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10860 if test $ac_cv_lib_m_acosl = yes; then
10862 cat >>confdefs.h <<\_ACEOF
10863 #define HAVE_ACOSL 1
10864 _ACEOF
10868 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10869 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10870 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lm $LIBS"
10875 if test x$gcc_no_link = xyes; then
10876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10878 { (exit 1); exit 1; }; }
10880 cat >conftest.$ac_ext <<_ACEOF
10881 /* confdefs.h. */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10887 /* Override any gcc2 internal prototype to avoid an error. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 /* We use char because int might match the return type of a gcc2
10892 builtin and then its argument prototype would still apply. */
10893 char acoshf ();
10895 main ()
10897 acoshf ();
10899 return 0;
10901 _ACEOF
10902 rm -f conftest.$ac_objext conftest$ac_exeext
10903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 (eval $ac_link) 2>conftest.er1
10905 ac_status=$?
10906 grep -v '^ *+' conftest.er1 >conftest.err
10907 rm -f conftest.er1
10908 cat conftest.err >&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); } &&
10911 { ac_try='test -z "$ac_c_werror_flag"
10912 || test ! -s conftest.err'
10913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10914 (eval $ac_try) 2>&5
10915 ac_status=$?
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); }; } &&
10918 { ac_try='test -s conftest$ac_exeext'
10919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 (eval $ac_try) 2>&5
10921 ac_status=$?
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }; }; then
10924 ac_cv_lib_m_acoshf=yes
10925 else
10926 echo "$as_me: failed program was:" >&5
10927 sed 's/^/| /' conftest.$ac_ext >&5
10929 ac_cv_lib_m_acoshf=no
10931 rm -f conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LIBS=$ac_check_lib_save_LIBS
10935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10936 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10937 if test $ac_cv_lib_m_acoshf = yes; then
10939 cat >>confdefs.h <<\_ACEOF
10940 #define HAVE_ACOSHF 1
10941 _ACEOF
10945 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10946 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10947 if test "${ac_cv_lib_m_acosh+set}" = set; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 else
10950 ac_check_lib_save_LIBS=$LIBS
10951 LIBS="-lm $LIBS"
10952 if test x$gcc_no_link = xyes; then
10953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10955 { (exit 1); exit 1; }; }
10957 cat >conftest.$ac_ext <<_ACEOF
10958 /* confdefs.h. */
10959 _ACEOF
10960 cat confdefs.h >>conftest.$ac_ext
10961 cat >>conftest.$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10964 /* Override any gcc2 internal prototype to avoid an error. */
10965 #ifdef __cplusplus
10966 extern "C"
10967 #endif
10968 /* We use char because int might match the return type of a gcc2
10969 builtin and then its argument prototype would still apply. */
10970 char acosh ();
10972 main ()
10974 acosh ();
10976 return 0;
10978 _ACEOF
10979 rm -f conftest.$ac_objext conftest$ac_exeext
10980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10981 (eval $ac_link) 2>conftest.er1
10982 ac_status=$?
10983 grep -v '^ *+' conftest.er1 >conftest.err
10984 rm -f conftest.er1
10985 cat conftest.err >&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } &&
10988 { ac_try='test -z "$ac_c_werror_flag"
10989 || test ! -s conftest.err'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10992 ac_status=$?
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; } &&
10995 { ac_try='test -s conftest$ac_exeext'
10996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10997 (eval $ac_try) 2>&5
10998 ac_status=$?
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); }; }; then
11001 ac_cv_lib_m_acosh=yes
11002 else
11003 echo "$as_me: failed program was:" >&5
11004 sed 's/^/| /' conftest.$ac_ext >&5
11006 ac_cv_lib_m_acosh=no
11008 rm -f conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_lib_save_LIBS
11012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11013 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11014 if test $ac_cv_lib_m_acosh = yes; then
11016 cat >>confdefs.h <<\_ACEOF
11017 #define HAVE_ACOSH 1
11018 _ACEOF
11022 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11023 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11024 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lm $LIBS"
11029 if test x$gcc_no_link = xyes; then
11030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11032 { (exit 1); exit 1; }; }
11034 cat >conftest.$ac_ext <<_ACEOF
11035 /* confdefs.h. */
11036 _ACEOF
11037 cat confdefs.h >>conftest.$ac_ext
11038 cat >>conftest.$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11041 /* Override any gcc2 internal prototype to avoid an error. */
11042 #ifdef __cplusplus
11043 extern "C"
11044 #endif
11045 /* We use char because int might match the return type of a gcc2
11046 builtin and then its argument prototype would still apply. */
11047 char acoshl ();
11049 main ()
11051 acoshl ();
11053 return 0;
11055 _ACEOF
11056 rm -f conftest.$ac_objext conftest$ac_exeext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11058 (eval $ac_link) 2>conftest.er1
11059 ac_status=$?
11060 grep -v '^ *+' conftest.er1 >conftest.err
11061 rm -f conftest.er1
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try='test -z "$ac_c_werror_flag"
11066 || test ! -s conftest.err'
11067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11068 (eval $ac_try) 2>&5
11069 ac_status=$?
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }; } &&
11072 { ac_try='test -s conftest$ac_exeext'
11073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074 (eval $ac_try) 2>&5
11075 ac_status=$?
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; }; then
11078 ac_cv_lib_m_acoshl=yes
11079 else
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.$ac_ext >&5
11083 ac_cv_lib_m_acoshl=no
11085 rm -f conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11090 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11091 if test $ac_cv_lib_m_acoshl = yes; then
11093 cat >>confdefs.h <<\_ACEOF
11094 #define HAVE_ACOSHL 1
11095 _ACEOF
11099 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11100 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11101 if test "${ac_cv_lib_m_asinf+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 else
11104 ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-lm $LIBS"
11106 if test x$gcc_no_link = xyes; then
11107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11109 { (exit 1); exit 1; }; }
11111 cat >conftest.$ac_ext <<_ACEOF
11112 /* confdefs.h. */
11113 _ACEOF
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11118 /* Override any gcc2 internal prototype to avoid an error. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 /* We use char because int might match the return type of a gcc2
11123 builtin and then its argument prototype would still apply. */
11124 char asinf ();
11126 main ()
11128 asinf ();
11130 return 0;
11132 _ACEOF
11133 rm -f conftest.$ac_objext conftest$ac_exeext
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135 (eval $ac_link) 2>conftest.er1
11136 ac_status=$?
11137 grep -v '^ *+' conftest.er1 >conftest.err
11138 rm -f conftest.er1
11139 cat conftest.err >&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } &&
11142 { ac_try='test -z "$ac_c_werror_flag"
11143 || test ! -s conftest.err'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11146 ac_status=$?
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; } &&
11149 { ac_try='test -s conftest$ac_exeext'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11152 ac_status=$?
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; }; then
11155 ac_cv_lib_m_asinf=yes
11156 else
11157 echo "$as_me: failed program was:" >&5
11158 sed 's/^/| /' conftest.$ac_ext >&5
11160 ac_cv_lib_m_asinf=no
11162 rm -f conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11167 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11168 if test $ac_cv_lib_m_asinf = yes; then
11170 cat >>confdefs.h <<\_ACEOF
11171 #define HAVE_ASINF 1
11172 _ACEOF
11176 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11177 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11178 if test "${ac_cv_lib_m_asin+set}" = set; then
11179 echo $ECHO_N "(cached) $ECHO_C" >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lm $LIBS"
11183 if test x$gcc_no_link = xyes; then
11184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11186 { (exit 1); exit 1; }; }
11188 cat >conftest.$ac_ext <<_ACEOF
11189 /* confdefs.h. */
11190 _ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11195 /* Override any gcc2 internal prototype to avoid an error. */
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11201 char asin ();
11203 main ()
11205 asin ();
11207 return 0;
11209 _ACEOF
11210 rm -f conftest.$ac_objext conftest$ac_exeext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11212 (eval $ac_link) 2>conftest.er1
11213 ac_status=$?
11214 grep -v '^ *+' conftest.er1 >conftest.err
11215 rm -f conftest.er1
11216 cat conftest.err >&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try='test -z "$ac_c_werror_flag"
11220 || test ! -s conftest.err'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try='test -s conftest$ac_exeext'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11229 ac_status=$?
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then
11232 ac_cv_lib_m_asin=yes
11233 else
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11237 ac_cv_lib_m_asin=no
11239 rm -f conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11244 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11245 if test $ac_cv_lib_m_asin = yes; then
11247 cat >>confdefs.h <<\_ACEOF
11248 #define HAVE_ASIN 1
11249 _ACEOF
11253 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11254 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11255 if test "${ac_cv_lib_m_asinl+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 else
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lm $LIBS"
11260 if test x$gcc_no_link = xyes; then
11261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11263 { (exit 1); exit 1; }; }
11265 cat >conftest.$ac_ext <<_ACEOF
11266 /* confdefs.h. */
11267 _ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11272 /* Override any gcc2 internal prototype to avoid an error. */
11273 #ifdef __cplusplus
11274 extern "C"
11275 #endif
11276 /* We use char because int might match the return type of a gcc2
11277 builtin and then its argument prototype would still apply. */
11278 char asinl ();
11280 main ()
11282 asinl ();
11284 return 0;
11286 _ACEOF
11287 rm -f conftest.$ac_objext conftest$ac_exeext
11288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11289 (eval $ac_link) 2>conftest.er1
11290 ac_status=$?
11291 grep -v '^ *+' conftest.er1 >conftest.err
11292 rm -f conftest.er1
11293 cat conftest.err >&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } &&
11296 { ac_try='test -z "$ac_c_werror_flag"
11297 || test ! -s conftest.err'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11300 ac_status=$?
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; } &&
11303 { ac_try='test -s conftest$ac_exeext'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; }; then
11309 ac_cv_lib_m_asinl=yes
11310 else
11311 echo "$as_me: failed program was:" >&5
11312 sed 's/^/| /' conftest.$ac_ext >&5
11314 ac_cv_lib_m_asinl=no
11316 rm -f conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_lib_save_LIBS
11320 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11321 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11322 if test $ac_cv_lib_m_asinl = yes; then
11324 cat >>confdefs.h <<\_ACEOF
11325 #define HAVE_ASINL 1
11326 _ACEOF
11330 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11331 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11332 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 ac_check_lib_save_LIBS=$LIBS
11336 LIBS="-lm $LIBS"
11337 if test x$gcc_no_link = xyes; then
11338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11340 { (exit 1); exit 1; }; }
11342 cat >conftest.$ac_ext <<_ACEOF
11343 /* confdefs.h. */
11344 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11349 /* Override any gcc2 internal prototype to avoid an error. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 /* We use char because int might match the return type of a gcc2
11354 builtin and then its argument prototype would still apply. */
11355 char asinhf ();
11357 main ()
11359 asinhf ();
11361 return 0;
11363 _ACEOF
11364 rm -f conftest.$ac_objext conftest$ac_exeext
11365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11366 (eval $ac_link) 2>conftest.er1
11367 ac_status=$?
11368 grep -v '^ *+' conftest.er1 >conftest.err
11369 rm -f conftest.er1
11370 cat conftest.err >&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } &&
11373 { ac_try='test -z "$ac_c_werror_flag"
11374 || test ! -s conftest.err'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11377 ac_status=$?
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; } &&
11380 { ac_try='test -s conftest$ac_exeext'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11383 ac_status=$?
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; }; then
11386 ac_cv_lib_m_asinhf=yes
11387 else
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.$ac_ext >&5
11391 ac_cv_lib_m_asinhf=no
11393 rm -f conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11398 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11399 if test $ac_cv_lib_m_asinhf = yes; then
11401 cat >>confdefs.h <<\_ACEOF
11402 #define HAVE_ASINHF 1
11403 _ACEOF
11407 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11408 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11409 if test "${ac_cv_lib_m_asinh+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412 ac_check_lib_save_LIBS=$LIBS
11413 LIBS="-lm $LIBS"
11414 if test x$gcc_no_link = xyes; then
11415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11417 { (exit 1); exit 1; }; }
11419 cat >conftest.$ac_ext <<_ACEOF
11420 /* confdefs.h. */
11421 _ACEOF
11422 cat confdefs.h >>conftest.$ac_ext
11423 cat >>conftest.$ac_ext <<_ACEOF
11424 /* end confdefs.h. */
11426 /* Override any gcc2 internal prototype to avoid an error. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 /* We use char because int might match the return type of a gcc2
11431 builtin and then its argument prototype would still apply. */
11432 char asinh ();
11434 main ()
11436 asinh ();
11438 return 0;
11440 _ACEOF
11441 rm -f conftest.$ac_objext conftest$ac_exeext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11443 (eval $ac_link) 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11454 ac_status=$?
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try='test -s conftest$ac_exeext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11460 ac_status=$?
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 ac_cv_lib_m_asinh=yes
11464 else
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.$ac_ext >&5
11468 ac_cv_lib_m_asinh=no
11470 rm -f conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11475 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11476 if test $ac_cv_lib_m_asinh = yes; then
11478 cat >>confdefs.h <<\_ACEOF
11479 #define HAVE_ASINH 1
11480 _ACEOF
11484 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11485 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11486 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11488 else
11489 ac_check_lib_save_LIBS=$LIBS
11490 LIBS="-lm $LIBS"
11491 if test x$gcc_no_link = xyes; then
11492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11494 { (exit 1); exit 1; }; }
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h. */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11503 /* Override any gcc2 internal prototype to avoid an error. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 /* We use char because int might match the return type of a gcc2
11508 builtin and then its argument prototype would still apply. */
11509 char asinhl ();
11511 main ()
11513 asinhl ();
11515 return 0;
11517 _ACEOF
11518 rm -f conftest.$ac_objext conftest$ac_exeext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11520 (eval $ac_link) 2>conftest.er1
11521 ac_status=$?
11522 grep -v '^ *+' conftest.er1 >conftest.err
11523 rm -f conftest.er1
11524 cat conftest.err >&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 { ac_try='test -z "$ac_c_werror_flag"
11528 || test ! -s conftest.err'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11531 ac_status=$?
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; } &&
11534 { ac_try='test -s conftest$ac_exeext'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11537 ac_status=$?
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; }; then
11540 ac_cv_lib_m_asinhl=yes
11541 else
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.$ac_ext >&5
11545 ac_cv_lib_m_asinhl=no
11547 rm -f conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_lib_save_LIBS
11551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11552 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11553 if test $ac_cv_lib_m_asinhl = yes; then
11555 cat >>confdefs.h <<\_ACEOF
11556 #define HAVE_ASINHL 1
11557 _ACEOF
11561 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11562 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11563 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11566 ac_check_lib_save_LIBS=$LIBS
11567 LIBS="-lm $LIBS"
11568 if test x$gcc_no_link = xyes; then
11569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11571 { (exit 1); exit 1; }; }
11573 cat >conftest.$ac_ext <<_ACEOF
11574 /* confdefs.h. */
11575 _ACEOF
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11580 /* Override any gcc2 internal prototype to avoid an error. */
11581 #ifdef __cplusplus
11582 extern "C"
11583 #endif
11584 /* We use char because int might match the return type of a gcc2
11585 builtin and then its argument prototype would still apply. */
11586 char atan2f ();
11588 main ()
11590 atan2f ();
11592 return 0;
11594 _ACEOF
11595 rm -f conftest.$ac_objext conftest$ac_exeext
11596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11597 (eval $ac_link) 2>conftest.er1
11598 ac_status=$?
11599 grep -v '^ *+' conftest.er1 >conftest.err
11600 rm -f conftest.er1
11601 cat conftest.err >&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } &&
11604 { ac_try='test -z "$ac_c_werror_flag"
11605 || test ! -s conftest.err'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11608 ac_status=$?
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; } &&
11611 { ac_try='test -s conftest$ac_exeext'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11614 ac_status=$?
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; }; then
11617 ac_cv_lib_m_atan2f=yes
11618 else
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.$ac_ext >&5
11622 ac_cv_lib_m_atan2f=no
11624 rm -f conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11629 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11630 if test $ac_cv_lib_m_atan2f = yes; then
11632 cat >>confdefs.h <<\_ACEOF
11633 #define HAVE_ATAN2F 1
11634 _ACEOF
11638 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11639 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11640 if test "${ac_cv_lib_m_atan2+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11642 else
11643 ac_check_lib_save_LIBS=$LIBS
11644 LIBS="-lm $LIBS"
11645 if test x$gcc_no_link = xyes; then
11646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11648 { (exit 1); exit 1; }; }
11650 cat >conftest.$ac_ext <<_ACEOF
11651 /* confdefs.h. */
11652 _ACEOF
11653 cat confdefs.h >>conftest.$ac_ext
11654 cat >>conftest.$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11657 /* Override any gcc2 internal prototype to avoid an error. */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 /* We use char because int might match the return type of a gcc2
11662 builtin and then its argument prototype would still apply. */
11663 char atan2 ();
11665 main ()
11667 atan2 ();
11669 return 0;
11671 _ACEOF
11672 rm -f conftest.$ac_objext conftest$ac_exeext
11673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11674 (eval $ac_link) 2>conftest.er1
11675 ac_status=$?
11676 grep -v '^ *+' conftest.er1 >conftest.err
11677 rm -f conftest.er1
11678 cat conftest.err >&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } &&
11681 { ac_try='test -z "$ac_c_werror_flag"
11682 || test ! -s conftest.err'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; } &&
11688 { ac_try='test -s conftest$ac_exeext'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11691 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then
11694 ac_cv_lib_m_atan2=yes
11695 else
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11699 ac_cv_lib_m_atan2=no
11701 rm -f conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11706 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11707 if test $ac_cv_lib_m_atan2 = yes; then
11709 cat >>confdefs.h <<\_ACEOF
11710 #define HAVE_ATAN2 1
11711 _ACEOF
11715 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11716 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11717 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 else
11720 ac_check_lib_save_LIBS=$LIBS
11721 LIBS="-lm $LIBS"
11722 if test x$gcc_no_link = xyes; then
11723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11725 { (exit 1); exit 1; }; }
11727 cat >conftest.$ac_ext <<_ACEOF
11728 /* confdefs.h. */
11729 _ACEOF
11730 cat confdefs.h >>conftest.$ac_ext
11731 cat >>conftest.$ac_ext <<_ACEOF
11732 /* end confdefs.h. */
11734 /* Override any gcc2 internal prototype to avoid an error. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11740 char atan2l ();
11742 main ()
11744 atan2l ();
11746 return 0;
11748 _ACEOF
11749 rm -f conftest.$ac_objext conftest$ac_exeext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11751 (eval $ac_link) 2>conftest.er1
11752 ac_status=$?
11753 grep -v '^ *+' conftest.er1 >conftest.err
11754 rm -f conftest.er1
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try='test -z "$ac_c_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest$ac_exeext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_lib_m_atan2l=yes
11772 else
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11776 ac_cv_lib_m_atan2l=no
11778 rm -f conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11783 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11784 if test $ac_cv_lib_m_atan2l = yes; then
11786 cat >>confdefs.h <<\_ACEOF
11787 #define HAVE_ATAN2L 1
11788 _ACEOF
11792 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11793 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11794 if test "${ac_cv_lib_m_atanf+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 else
11797 ac_check_lib_save_LIBS=$LIBS
11798 LIBS="-lm $LIBS"
11799 if test x$gcc_no_link = xyes; then
11800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11802 { (exit 1); exit 1; }; }
11804 cat >conftest.$ac_ext <<_ACEOF
11805 /* confdefs.h. */
11806 _ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11811 /* Override any gcc2 internal prototype to avoid an error. */
11812 #ifdef __cplusplus
11813 extern "C"
11814 #endif
11815 /* We use char because int might match the return type of a gcc2
11816 builtin and then its argument prototype would still apply. */
11817 char atanf ();
11819 main ()
11821 atanf ();
11823 return 0;
11825 _ACEOF
11826 rm -f conftest.$ac_objext conftest$ac_exeext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828 (eval $ac_link) 2>conftest.er1
11829 ac_status=$?
11830 grep -v '^ *+' conftest.er1 >conftest.err
11831 rm -f conftest.er1
11832 cat conftest.err >&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try='test -z "$ac_c_werror_flag"
11836 || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try='test -s conftest$ac_exeext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11845 ac_status=$?
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 ac_cv_lib_m_atanf=yes
11849 else
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11853 ac_cv_lib_m_atanf=no
11855 rm -f conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11860 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11861 if test $ac_cv_lib_m_atanf = yes; then
11863 cat >>confdefs.h <<\_ACEOF
11864 #define HAVE_ATANF 1
11865 _ACEOF
11869 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11870 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11871 if test "${ac_cv_lib_m_atan+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lm $LIBS"
11876 if test x$gcc_no_link = xyes; then
11877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11879 { (exit 1); exit 1; }; }
11881 cat >conftest.$ac_ext <<_ACEOF
11882 /* confdefs.h. */
11883 _ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11888 /* Override any gcc2 internal prototype to avoid an error. */
11889 #ifdef __cplusplus
11890 extern "C"
11891 #endif
11892 /* We use char because int might match the return type of a gcc2
11893 builtin and then its argument prototype would still apply. */
11894 char atan ();
11896 main ()
11898 atan ();
11900 return 0;
11902 _ACEOF
11903 rm -f conftest.$ac_objext conftest$ac_exeext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905 (eval $ac_link) 2>conftest.er1
11906 ac_status=$?
11907 grep -v '^ *+' conftest.er1 >conftest.err
11908 rm -f conftest.er1
11909 cat conftest.err >&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try='test -z "$ac_c_werror_flag"
11913 || test ! -s conftest.err'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11916 ac_status=$?
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; } &&
11919 { ac_try='test -s conftest$ac_exeext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11922 ac_status=$?
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11925 ac_cv_lib_m_atan=yes
11926 else
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11930 ac_cv_lib_m_atan=no
11932 rm -f conftest.err conftest.$ac_objext \
11933 conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_lib_save_LIBS
11936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11937 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11938 if test $ac_cv_lib_m_atan = yes; then
11940 cat >>confdefs.h <<\_ACEOF
11941 #define HAVE_ATAN 1
11942 _ACEOF
11946 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11947 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11948 if test "${ac_cv_lib_m_atanl+set}" = set; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 else
11951 ac_check_lib_save_LIBS=$LIBS
11952 LIBS="-lm $LIBS"
11953 if test x$gcc_no_link = xyes; then
11954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11956 { (exit 1); exit 1; }; }
11958 cat >conftest.$ac_ext <<_ACEOF
11959 /* confdefs.h. */
11960 _ACEOF
11961 cat confdefs.h >>conftest.$ac_ext
11962 cat >>conftest.$ac_ext <<_ACEOF
11963 /* end confdefs.h. */
11965 /* Override any gcc2 internal prototype to avoid an error. */
11966 #ifdef __cplusplus
11967 extern "C"
11968 #endif
11969 /* We use char because int might match the return type of a gcc2
11970 builtin and then its argument prototype would still apply. */
11971 char atanl ();
11973 main ()
11975 atanl ();
11977 return 0;
11979 _ACEOF
11980 rm -f conftest.$ac_objext conftest$ac_exeext
11981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11982 (eval $ac_link) 2>conftest.er1
11983 ac_status=$?
11984 grep -v '^ *+' conftest.er1 >conftest.err
11985 rm -f conftest.er1
11986 cat conftest.err >&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); } &&
11989 { ac_try='test -z "$ac_c_werror_flag"
11990 || test ! -s conftest.err'
11991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 (eval $ac_try) 2>&5
11993 ac_status=$?
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; } &&
11996 { ac_try='test -s conftest$ac_exeext'
11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
11999 ac_status=$?
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; }; then
12002 ac_cv_lib_m_atanl=yes
12003 else
12004 echo "$as_me: failed program was:" >&5
12005 sed 's/^/| /' conftest.$ac_ext >&5
12007 ac_cv_lib_m_atanl=no
12009 rm -f conftest.err conftest.$ac_objext \
12010 conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_lib_save_LIBS
12013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12014 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12015 if test $ac_cv_lib_m_atanl = yes; then
12017 cat >>confdefs.h <<\_ACEOF
12018 #define HAVE_ATANL 1
12019 _ACEOF
12023 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12024 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12025 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12026 echo $ECHO_N "(cached) $ECHO_C" >&6
12027 else
12028 ac_check_lib_save_LIBS=$LIBS
12029 LIBS="-lm $LIBS"
12030 if test x$gcc_no_link = xyes; then
12031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12033 { (exit 1); exit 1; }; }
12035 cat >conftest.$ac_ext <<_ACEOF
12036 /* confdefs.h. */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12042 /* Override any gcc2 internal prototype to avoid an error. */
12043 #ifdef __cplusplus
12044 extern "C"
12045 #endif
12046 /* We use char because int might match the return type of a gcc2
12047 builtin and then its argument prototype would still apply. */
12048 char atanhf ();
12050 main ()
12052 atanhf ();
12054 return 0;
12056 _ACEOF
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>conftest.er1
12060 ac_status=$?
12061 grep -v '^ *+' conftest.er1 >conftest.err
12062 rm -f conftest.er1
12063 cat conftest.err >&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try='test -z "$ac_c_werror_flag"
12067 || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try='test -s conftest$ac_exeext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 ac_cv_lib_m_atanhf=yes
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 ac_cv_lib_m_atanhf=no
12086 rm -f conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_lib_save_LIBS
12090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12091 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12092 if test $ac_cv_lib_m_atanhf = yes; then
12094 cat >>confdefs.h <<\_ACEOF
12095 #define HAVE_ATANHF 1
12096 _ACEOF
12100 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12101 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12102 if test "${ac_cv_lib_m_atanh+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-lm $LIBS"
12107 if test x$gcc_no_link = xyes; then
12108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12110 { (exit 1); exit 1; }; }
12112 cat >conftest.$ac_ext <<_ACEOF
12113 /* confdefs.h. */
12114 _ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12119 /* Override any gcc2 internal prototype to avoid an error. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 /* We use char because int might match the return type of a gcc2
12124 builtin and then its argument prototype would still apply. */
12125 char atanh ();
12127 main ()
12129 atanh ();
12131 return 0;
12133 _ACEOF
12134 rm -f conftest.$ac_objext conftest$ac_exeext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12136 (eval $ac_link) 2>conftest.er1
12137 ac_status=$?
12138 grep -v '^ *+' conftest.er1 >conftest.err
12139 rm -f conftest.er1
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } &&
12143 { ac_try='test -z "$ac_c_werror_flag"
12144 || test ! -s conftest.err'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12147 ac_status=$?
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; } &&
12150 { ac_try='test -s conftest$ac_exeext'
12151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152 (eval $ac_try) 2>&5
12153 ac_status=$?
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); }; }; then
12156 ac_cv_lib_m_atanh=yes
12157 else
12158 echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.$ac_ext >&5
12161 ac_cv_lib_m_atanh=no
12163 rm -f conftest.err conftest.$ac_objext \
12164 conftest$ac_exeext conftest.$ac_ext
12165 LIBS=$ac_check_lib_save_LIBS
12167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12168 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12169 if test $ac_cv_lib_m_atanh = yes; then
12171 cat >>confdefs.h <<\_ACEOF
12172 #define HAVE_ATANH 1
12173 _ACEOF
12177 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12178 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12179 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12181 else
12182 ac_check_lib_save_LIBS=$LIBS
12183 LIBS="-lm $LIBS"
12184 if test x$gcc_no_link = xyes; then
12185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12187 { (exit 1); exit 1; }; }
12189 cat >conftest.$ac_ext <<_ACEOF
12190 /* confdefs.h. */
12191 _ACEOF
12192 cat confdefs.h >>conftest.$ac_ext
12193 cat >>conftest.$ac_ext <<_ACEOF
12194 /* end confdefs.h. */
12196 /* Override any gcc2 internal prototype to avoid an error. */
12197 #ifdef __cplusplus
12198 extern "C"
12199 #endif
12200 /* We use char because int might match the return type of a gcc2
12201 builtin and then its argument prototype would still apply. */
12202 char atanhl ();
12204 main ()
12206 atanhl ();
12208 return 0;
12210 _ACEOF
12211 rm -f conftest.$ac_objext conftest$ac_exeext
12212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12213 (eval $ac_link) 2>conftest.er1
12214 ac_status=$?
12215 grep -v '^ *+' conftest.er1 >conftest.err
12216 rm -f conftest.er1
12217 cat conftest.err >&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } &&
12220 { ac_try='test -z "$ac_c_werror_flag"
12221 || test ! -s conftest.err'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; } &&
12227 { ac_try='test -s conftest$ac_exeext'
12228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12229 (eval $ac_try) 2>&5
12230 ac_status=$?
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); }; }; then
12233 ac_cv_lib_m_atanhl=yes
12234 else
12235 echo "$as_me: failed program was:" >&5
12236 sed 's/^/| /' conftest.$ac_ext >&5
12238 ac_cv_lib_m_atanhl=no
12240 rm -f conftest.err conftest.$ac_objext \
12241 conftest$ac_exeext conftest.$ac_ext
12242 LIBS=$ac_check_lib_save_LIBS
12244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12245 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12246 if test $ac_cv_lib_m_atanhl = yes; then
12248 cat >>confdefs.h <<\_ACEOF
12249 #define HAVE_ATANHL 1
12250 _ACEOF
12254 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12255 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12256 if test "${ac_cv_lib_m_cargf+set}" = set; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12258 else
12259 ac_check_lib_save_LIBS=$LIBS
12260 LIBS="-lm $LIBS"
12261 if test x$gcc_no_link = xyes; then
12262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12264 { (exit 1); exit 1; }; }
12266 cat >conftest.$ac_ext <<_ACEOF
12267 /* confdefs.h. */
12268 _ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12273 /* Override any gcc2 internal prototype to avoid an error. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 /* We use char because int might match the return type of a gcc2
12278 builtin and then its argument prototype would still apply. */
12279 char cargf ();
12281 main ()
12283 cargf ();
12285 return 0;
12287 _ACEOF
12288 rm -f conftest.$ac_objext conftest$ac_exeext
12289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290 (eval $ac_link) 2>conftest.er1
12291 ac_status=$?
12292 grep -v '^ *+' conftest.er1 >conftest.err
12293 rm -f conftest.er1
12294 cat conftest.err >&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } &&
12297 { ac_try='test -z "$ac_c_werror_flag"
12298 || test ! -s conftest.err'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12301 ac_status=$?
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; } &&
12304 { ac_try='test -s conftest$ac_exeext'
12305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306 (eval $ac_try) 2>&5
12307 ac_status=$?
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); }; }; then
12310 ac_cv_lib_m_cargf=yes
12311 else
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.$ac_ext >&5
12315 ac_cv_lib_m_cargf=no
12317 rm -f conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 LIBS=$ac_check_lib_save_LIBS
12321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12322 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12323 if test $ac_cv_lib_m_cargf = yes; then
12325 cat >>confdefs.h <<\_ACEOF
12326 #define HAVE_CARGF 1
12327 _ACEOF
12331 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12332 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12333 if test "${ac_cv_lib_m_carg+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12335 else
12336 ac_check_lib_save_LIBS=$LIBS
12337 LIBS="-lm $LIBS"
12338 if test x$gcc_no_link = xyes; then
12339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12341 { (exit 1); exit 1; }; }
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12350 /* Override any gcc2 internal prototype to avoid an error. */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 /* We use char because int might match the return type of a gcc2
12355 builtin and then its argument prototype would still apply. */
12356 char carg ();
12358 main ()
12360 carg ();
12362 return 0;
12364 _ACEOF
12365 rm -f conftest.$ac_objext conftest$ac_exeext
12366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12367 (eval $ac_link) 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try='test -z "$ac_c_werror_flag"
12375 || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12378 ac_status=$?
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try='test -s conftest$ac_exeext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_cv_lib_m_carg=yes
12388 else
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.$ac_ext >&5
12392 ac_cv_lib_m_carg=no
12394 rm -f conftest.err conftest.$ac_objext \
12395 conftest$ac_exeext conftest.$ac_ext
12396 LIBS=$ac_check_lib_save_LIBS
12398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12399 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12400 if test $ac_cv_lib_m_carg = yes; then
12402 cat >>confdefs.h <<\_ACEOF
12403 #define HAVE_CARG 1
12404 _ACEOF
12408 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12409 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12410 if test "${ac_cv_lib_m_cargl+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 else
12413 ac_check_lib_save_LIBS=$LIBS
12414 LIBS="-lm $LIBS"
12415 if test x$gcc_no_link = xyes; then
12416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12418 { (exit 1); exit 1; }; }
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h. */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12427 /* Override any gcc2 internal prototype to avoid an error. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 /* We use char because int might match the return type of a gcc2
12432 builtin and then its argument prototype would still apply. */
12433 char cargl ();
12435 main ()
12437 cargl ();
12439 return 0;
12441 _ACEOF
12442 rm -f conftest.$ac_objext conftest$ac_exeext
12443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12444 (eval $ac_link) 2>conftest.er1
12445 ac_status=$?
12446 grep -v '^ *+' conftest.er1 >conftest.err
12447 rm -f conftest.er1
12448 cat conftest.err >&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); } &&
12451 { ac_try='test -z "$ac_c_werror_flag"
12452 || test ! -s conftest.err'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12455 ac_status=$?
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; } &&
12458 { ac_try='test -s conftest$ac_exeext'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12461 ac_status=$?
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12464 ac_cv_lib_m_cargl=yes
12465 else
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.$ac_ext >&5
12469 ac_cv_lib_m_cargl=no
12471 rm -f conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_lib_save_LIBS
12475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12476 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12477 if test $ac_cv_lib_m_cargl = yes; then
12479 cat >>confdefs.h <<\_ACEOF
12480 #define HAVE_CARGL 1
12481 _ACEOF
12485 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12486 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12487 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 else
12490 ac_check_lib_save_LIBS=$LIBS
12491 LIBS="-lm $LIBS"
12492 if test x$gcc_no_link = xyes; then
12493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12495 { (exit 1); exit 1; }; }
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h. */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12504 /* Override any gcc2 internal prototype to avoid an error. */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 /* We use char because int might match the return type of a gcc2
12509 builtin and then its argument prototype would still apply. */
12510 char ceilf ();
12512 main ()
12514 ceilf ();
12516 return 0;
12518 _ACEOF
12519 rm -f conftest.$ac_objext conftest$ac_exeext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12521 (eval $ac_link) 2>conftest.er1
12522 ac_status=$?
12523 grep -v '^ *+' conftest.er1 >conftest.err
12524 rm -f conftest.er1
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -z "$ac_c_werror_flag"
12529 || test ! -s conftest.err'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12532 ac_status=$?
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; } &&
12535 { ac_try='test -s conftest$ac_exeext'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; }; then
12541 ac_cv_lib_m_ceilf=yes
12542 else
12543 echo "$as_me: failed program was:" >&5
12544 sed 's/^/| /' conftest.$ac_ext >&5
12546 ac_cv_lib_m_ceilf=no
12548 rm -f conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_lib_save_LIBS
12552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12553 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12554 if test $ac_cv_lib_m_ceilf = yes; then
12556 cat >>confdefs.h <<\_ACEOF
12557 #define HAVE_CEILF 1
12558 _ACEOF
12562 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12563 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12564 if test "${ac_cv_lib_m_ceil+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 else
12567 ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-lm $LIBS"
12569 if test x$gcc_no_link = xyes; then
12570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12572 { (exit 1); exit 1; }; }
12574 cat >conftest.$ac_ext <<_ACEOF
12575 /* confdefs.h. */
12576 _ACEOF
12577 cat confdefs.h >>conftest.$ac_ext
12578 cat >>conftest.$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12581 /* Override any gcc2 internal prototype to avoid an error. */
12582 #ifdef __cplusplus
12583 extern "C"
12584 #endif
12585 /* We use char because int might match the return type of a gcc2
12586 builtin and then its argument prototype would still apply. */
12587 char ceil ();
12589 main ()
12591 ceil ();
12593 return 0;
12595 _ACEOF
12596 rm -f conftest.$ac_objext conftest$ac_exeext
12597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12598 (eval $ac_link) 2>conftest.er1
12599 ac_status=$?
12600 grep -v '^ *+' conftest.er1 >conftest.err
12601 rm -f conftest.er1
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } &&
12605 { ac_try='test -z "$ac_c_werror_flag"
12606 || test ! -s conftest.err'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12609 ac_status=$?
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; } &&
12612 { ac_try='test -s conftest$ac_exeext'
12613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614 (eval $ac_try) 2>&5
12615 ac_status=$?
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; }; then
12618 ac_cv_lib_m_ceil=yes
12619 else
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.$ac_ext >&5
12623 ac_cv_lib_m_ceil=no
12625 rm -f conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12630 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12631 if test $ac_cv_lib_m_ceil = yes; then
12633 cat >>confdefs.h <<\_ACEOF
12634 #define HAVE_CEIL 1
12635 _ACEOF
12639 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12640 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12641 if test "${ac_cv_lib_m_ceill+set}" = set; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 else
12644 ac_check_lib_save_LIBS=$LIBS
12645 LIBS="-lm $LIBS"
12646 if test x$gcc_no_link = xyes; then
12647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12649 { (exit 1); exit 1; }; }
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12658 /* Override any gcc2 internal prototype to avoid an error. */
12659 #ifdef __cplusplus
12660 extern "C"
12661 #endif
12662 /* We use char because int might match the return type of a gcc2
12663 builtin and then its argument prototype would still apply. */
12664 char ceill ();
12666 main ()
12668 ceill ();
12670 return 0;
12672 _ACEOF
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675 (eval $ac_link) 2>conftest.er1
12676 ac_status=$?
12677 grep -v '^ *+' conftest.er1 >conftest.err
12678 rm -f conftest.er1
12679 cat conftest.err >&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } &&
12682 { ac_try='test -z "$ac_c_werror_flag"
12683 || test ! -s conftest.err'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12686 ac_status=$?
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; } &&
12689 { ac_try='test -s conftest$ac_exeext'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12692 ac_status=$?
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; }; then
12695 ac_cv_lib_m_ceill=yes
12696 else
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12700 ac_cv_lib_m_ceill=no
12702 rm -f conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_lib_save_LIBS
12706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12707 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12708 if test $ac_cv_lib_m_ceill = yes; then
12710 cat >>confdefs.h <<\_ACEOF
12711 #define HAVE_CEILL 1
12712 _ACEOF
12716 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12717 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12718 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 else
12721 ac_check_lib_save_LIBS=$LIBS
12722 LIBS="-lm $LIBS"
12723 if test x$gcc_no_link = xyes; then
12724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12726 { (exit 1); exit 1; }; }
12728 cat >conftest.$ac_ext <<_ACEOF
12729 /* confdefs.h. */
12730 _ACEOF
12731 cat confdefs.h >>conftest.$ac_ext
12732 cat >>conftest.$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12735 /* Override any gcc2 internal prototype to avoid an error. */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 /* We use char because int might match the return type of a gcc2
12740 builtin and then its argument prototype would still apply. */
12741 char copysignf ();
12743 main ()
12745 copysignf ();
12747 return 0;
12749 _ACEOF
12750 rm -f conftest.$ac_objext conftest$ac_exeext
12751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12752 (eval $ac_link) 2>conftest.er1
12753 ac_status=$?
12754 grep -v '^ *+' conftest.er1 >conftest.err
12755 rm -f conftest.er1
12756 cat conftest.err >&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); } &&
12759 { ac_try='test -z "$ac_c_werror_flag"
12760 || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12763 ac_status=$?
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } &&
12766 { ac_try='test -s conftest$ac_exeext'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12769 ac_status=$?
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; }; then
12772 ac_cv_lib_m_copysignf=yes
12773 else
12774 echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.$ac_ext >&5
12777 ac_cv_lib_m_copysignf=no
12779 rm -f conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_lib_save_LIBS
12783 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12784 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12785 if test $ac_cv_lib_m_copysignf = yes; then
12787 cat >>confdefs.h <<\_ACEOF
12788 #define HAVE_COPYSIGNF 1
12789 _ACEOF
12793 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12794 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12795 if test "${ac_cv_lib_m_copysign+set}" = set; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 else
12798 ac_check_lib_save_LIBS=$LIBS
12799 LIBS="-lm $LIBS"
12800 if test x$gcc_no_link = xyes; then
12801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12803 { (exit 1); exit 1; }; }
12805 cat >conftest.$ac_ext <<_ACEOF
12806 /* confdefs.h. */
12807 _ACEOF
12808 cat confdefs.h >>conftest.$ac_ext
12809 cat >>conftest.$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12812 /* Override any gcc2 internal prototype to avoid an error. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 /* We use char because int might match the return type of a gcc2
12817 builtin and then its argument prototype would still apply. */
12818 char copysign ();
12820 main ()
12822 copysign ();
12824 return 0;
12826 _ACEOF
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12829 (eval $ac_link) 2>conftest.er1
12830 ac_status=$?
12831 grep -v '^ *+' conftest.er1 >conftest.err
12832 rm -f conftest.er1
12833 cat conftest.err >&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } &&
12836 { ac_try='test -z "$ac_c_werror_flag"
12837 || test ! -s conftest.err'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try='test -s conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12846 ac_status=$?
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 ac_cv_lib_m_copysign=yes
12850 else
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12854 ac_cv_lib_m_copysign=no
12856 rm -f conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12861 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12862 if test $ac_cv_lib_m_copysign = yes; then
12864 cat >>confdefs.h <<\_ACEOF
12865 #define HAVE_COPYSIGN 1
12866 _ACEOF
12870 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12871 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12872 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 else
12875 ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lm $LIBS"
12877 if test x$gcc_no_link = xyes; then
12878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12880 { (exit 1); exit 1; }; }
12882 cat >conftest.$ac_ext <<_ACEOF
12883 /* confdefs.h. */
12884 _ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12889 /* Override any gcc2 internal prototype to avoid an error. */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 /* We use char because int might match the return type of a gcc2
12894 builtin and then its argument prototype would still apply. */
12895 char copysignl ();
12897 main ()
12899 copysignl ();
12901 return 0;
12903 _ACEOF
12904 rm -f conftest.$ac_objext conftest$ac_exeext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12906 (eval $ac_link) 2>conftest.er1
12907 ac_status=$?
12908 grep -v '^ *+' conftest.er1 >conftest.err
12909 rm -f conftest.er1
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_c_werror_flag"
12914 || test ! -s conftest.err'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12917 ac_status=$?
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; } &&
12920 { ac_try='test -s conftest$ac_exeext'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12923 ac_status=$?
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; }; then
12926 ac_cv_lib_m_copysignl=yes
12927 else
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12931 ac_cv_lib_m_copysignl=no
12933 rm -f conftest.err conftest.$ac_objext \
12934 conftest$ac_exeext conftest.$ac_ext
12935 LIBS=$ac_check_lib_save_LIBS
12937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12938 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12939 if test $ac_cv_lib_m_copysignl = yes; then
12941 cat >>confdefs.h <<\_ACEOF
12942 #define HAVE_COPYSIGNL 1
12943 _ACEOF
12947 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12948 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12949 if test "${ac_cv_lib_m_cosf+set}" = set; then
12950 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 else
12952 ac_check_lib_save_LIBS=$LIBS
12953 LIBS="-lm $LIBS"
12954 if test x$gcc_no_link = xyes; then
12955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12957 { (exit 1); exit 1; }; }
12959 cat >conftest.$ac_ext <<_ACEOF
12960 /* confdefs.h. */
12961 _ACEOF
12962 cat confdefs.h >>conftest.$ac_ext
12963 cat >>conftest.$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12966 /* Override any gcc2 internal prototype to avoid an error. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 /* We use char because int might match the return type of a gcc2
12971 builtin and then its argument prototype would still apply. */
12972 char cosf ();
12974 main ()
12976 cosf ();
12978 return 0;
12980 _ACEOF
12981 rm -f conftest.$ac_objext conftest$ac_exeext
12982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12983 (eval $ac_link) 2>conftest.er1
12984 ac_status=$?
12985 grep -v '^ *+' conftest.er1 >conftest.err
12986 rm -f conftest.er1
12987 cat conftest.err >&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } &&
12990 { ac_try='test -z "$ac_c_werror_flag"
12991 || test ! -s conftest.err'
12992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993 (eval $ac_try) 2>&5
12994 ac_status=$?
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; } &&
12997 { ac_try='test -s conftest$ac_exeext'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13000 ac_status=$?
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; }; then
13003 ac_cv_lib_m_cosf=yes
13004 else
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.$ac_ext >&5
13008 ac_cv_lib_m_cosf=no
13010 rm -f conftest.err conftest.$ac_objext \
13011 conftest$ac_exeext conftest.$ac_ext
13012 LIBS=$ac_check_lib_save_LIBS
13014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13015 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13016 if test $ac_cv_lib_m_cosf = yes; then
13018 cat >>confdefs.h <<\_ACEOF
13019 #define HAVE_COSF 1
13020 _ACEOF
13024 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13025 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13026 if test "${ac_cv_lib_m_cos+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 else
13029 ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-lm $LIBS"
13031 if test x$gcc_no_link = xyes; then
13032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13034 { (exit 1); exit 1; }; }
13036 cat >conftest.$ac_ext <<_ACEOF
13037 /* confdefs.h. */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13043 /* Override any gcc2 internal prototype to avoid an error. */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 /* We use char because int might match the return type of a gcc2
13048 builtin and then its argument prototype would still apply. */
13049 char cos ();
13051 main ()
13053 cos ();
13055 return 0;
13057 _ACEOF
13058 rm -f conftest.$ac_objext conftest$ac_exeext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13060 (eval $ac_link) 2>conftest.er1
13061 ac_status=$?
13062 grep -v '^ *+' conftest.er1 >conftest.err
13063 rm -f conftest.er1
13064 cat conftest.err >&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); } &&
13067 { ac_try='test -z "$ac_c_werror_flag"
13068 || test ! -s conftest.err'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13071 ac_status=$?
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; } &&
13074 { ac_try='test -s conftest$ac_exeext'
13075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076 (eval $ac_try) 2>&5
13077 ac_status=$?
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; }; then
13080 ac_cv_lib_m_cos=yes
13081 else
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13085 ac_cv_lib_m_cos=no
13087 rm -f conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13092 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13093 if test $ac_cv_lib_m_cos = yes; then
13095 cat >>confdefs.h <<\_ACEOF
13096 #define HAVE_COS 1
13097 _ACEOF
13101 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13102 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13103 if test "${ac_cv_lib_m_cosl+set}" = set; then
13104 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-lm $LIBS"
13108 if test x$gcc_no_link = xyes; then
13109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13111 { (exit 1); exit 1; }; }
13113 cat >conftest.$ac_ext <<_ACEOF
13114 /* confdefs.h. */
13115 _ACEOF
13116 cat confdefs.h >>conftest.$ac_ext
13117 cat >>conftest.$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13120 /* Override any gcc2 internal prototype to avoid an error. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 /* We use char because int might match the return type of a gcc2
13125 builtin and then its argument prototype would still apply. */
13126 char cosl ();
13128 main ()
13130 cosl ();
13132 return 0;
13134 _ACEOF
13135 rm -f conftest.$ac_objext conftest$ac_exeext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137 (eval $ac_link) 2>conftest.er1
13138 ac_status=$?
13139 grep -v '^ *+' conftest.er1 >conftest.err
13140 rm -f conftest.er1
13141 cat conftest.err >&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try='test -z "$ac_c_werror_flag"
13145 || test ! -s conftest.err'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13148 ac_status=$?
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; } &&
13151 { ac_try='test -s conftest$ac_exeext'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13154 ac_status=$?
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; }; then
13157 ac_cv_lib_m_cosl=yes
13158 else
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13162 ac_cv_lib_m_cosl=no
13164 rm -f conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13166 LIBS=$ac_check_lib_save_LIBS
13168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13169 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13170 if test $ac_cv_lib_m_cosl = yes; then
13172 cat >>confdefs.h <<\_ACEOF
13173 #define HAVE_COSL 1
13174 _ACEOF
13178 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13179 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13180 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 else
13183 ac_check_lib_save_LIBS=$LIBS
13184 LIBS="-lm $LIBS"
13185 if test x$gcc_no_link = xyes; then
13186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13188 { (exit 1); exit 1; }; }
13190 cat >conftest.$ac_ext <<_ACEOF
13191 /* confdefs.h. */
13192 _ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13197 /* Override any gcc2 internal prototype to avoid an error. */
13198 #ifdef __cplusplus
13199 extern "C"
13200 #endif
13201 /* We use char because int might match the return type of a gcc2
13202 builtin and then its argument prototype would still apply. */
13203 char ccosf ();
13205 main ()
13207 ccosf ();
13209 return 0;
13211 _ACEOF
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13214 (eval $ac_link) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag"
13222 || test ! -s conftest.err'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest$ac_exeext'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13231 ac_status=$?
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 ac_cv_lib_m_ccosf=yes
13235 else
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13239 ac_cv_lib_m_ccosf=no
13241 rm -f conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_lib_save_LIBS
13245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13246 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13247 if test $ac_cv_lib_m_ccosf = yes; then
13249 cat >>confdefs.h <<\_ACEOF
13250 #define HAVE_CCOSF 1
13251 _ACEOF
13255 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13256 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13257 if test "${ac_cv_lib_m_ccos+set}" = set; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 else
13260 ac_check_lib_save_LIBS=$LIBS
13261 LIBS="-lm $LIBS"
13262 if test x$gcc_no_link = xyes; then
13263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13265 { (exit 1); exit 1; }; }
13267 cat >conftest.$ac_ext <<_ACEOF
13268 /* confdefs.h. */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13274 /* Override any gcc2 internal prototype to avoid an error. */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 /* We use char because int might match the return type of a gcc2
13279 builtin and then its argument prototype would still apply. */
13280 char ccos ();
13282 main ()
13284 ccos ();
13286 return 0;
13288 _ACEOF
13289 rm -f conftest.$ac_objext conftest$ac_exeext
13290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13291 (eval $ac_link) 2>conftest.er1
13292 ac_status=$?
13293 grep -v '^ *+' conftest.er1 >conftest.err
13294 rm -f conftest.er1
13295 cat conftest.err >&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } &&
13298 { ac_try='test -z "$ac_c_werror_flag"
13299 || test ! -s conftest.err'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; } &&
13305 { ac_try='test -s conftest$ac_exeext'
13306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307 (eval $ac_try) 2>&5
13308 ac_status=$?
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; }; then
13311 ac_cv_lib_m_ccos=yes
13312 else
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13316 ac_cv_lib_m_ccos=no
13318 rm -f conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13323 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13324 if test $ac_cv_lib_m_ccos = yes; then
13326 cat >>confdefs.h <<\_ACEOF
13327 #define HAVE_CCOS 1
13328 _ACEOF
13332 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13333 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13334 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 else
13337 ac_check_lib_save_LIBS=$LIBS
13338 LIBS="-lm $LIBS"
13339 if test x$gcc_no_link = xyes; then
13340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13342 { (exit 1); exit 1; }; }
13344 cat >conftest.$ac_ext <<_ACEOF
13345 /* confdefs.h. */
13346 _ACEOF
13347 cat confdefs.h >>conftest.$ac_ext
13348 cat >>conftest.$ac_ext <<_ACEOF
13349 /* end confdefs.h. */
13351 /* Override any gcc2 internal prototype to avoid an error. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 /* We use char because int might match the return type of a gcc2
13356 builtin and then its argument prototype would still apply. */
13357 char ccosl ();
13359 main ()
13361 ccosl ();
13363 return 0;
13365 _ACEOF
13366 rm -f conftest.$ac_objext conftest$ac_exeext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13368 (eval $ac_link) 2>conftest.er1
13369 ac_status=$?
13370 grep -v '^ *+' conftest.er1 >conftest.err
13371 rm -f conftest.er1
13372 cat conftest.err >&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } &&
13375 { ac_try='test -z "$ac_c_werror_flag"
13376 || test ! -s conftest.err'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13379 ac_status=$?
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; } &&
13382 { ac_try='test -s conftest$ac_exeext'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13385 ac_status=$?
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; }; then
13388 ac_cv_lib_m_ccosl=yes
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13393 ac_cv_lib_m_ccosl=no
13395 rm -f conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13400 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13401 if test $ac_cv_lib_m_ccosl = yes; then
13403 cat >>confdefs.h <<\_ACEOF
13404 #define HAVE_CCOSL 1
13405 _ACEOF
13409 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13410 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13411 if test "${ac_cv_lib_m_coshf+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-lm $LIBS"
13416 if test x$gcc_no_link = xyes; then
13417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13419 { (exit 1); exit 1; }; }
13421 cat >conftest.$ac_ext <<_ACEOF
13422 /* confdefs.h. */
13423 _ACEOF
13424 cat confdefs.h >>conftest.$ac_ext
13425 cat >>conftest.$ac_ext <<_ACEOF
13426 /* end confdefs.h. */
13428 /* Override any gcc2 internal prototype to avoid an error. */
13429 #ifdef __cplusplus
13430 extern "C"
13431 #endif
13432 /* We use char because int might match the return type of a gcc2
13433 builtin and then its argument prototype would still apply. */
13434 char coshf ();
13436 main ()
13438 coshf ();
13440 return 0;
13442 _ACEOF
13443 rm -f conftest.$ac_objext conftest$ac_exeext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13445 (eval $ac_link) 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } &&
13452 { ac_try='test -z "$ac_c_werror_flag"
13453 || test ! -s conftest.err'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13456 ac_status=$?
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; } &&
13459 { ac_try='test -s conftest$ac_exeext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13462 ac_status=$?
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13465 ac_cv_lib_m_coshf=yes
13466 else
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13470 ac_cv_lib_m_coshf=no
13472 rm -f conftest.err conftest.$ac_objext \
13473 conftest$ac_exeext conftest.$ac_ext
13474 LIBS=$ac_check_lib_save_LIBS
13476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13477 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13478 if test $ac_cv_lib_m_coshf = yes; then
13480 cat >>confdefs.h <<\_ACEOF
13481 #define HAVE_COSHF 1
13482 _ACEOF
13486 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13487 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13488 if test "${ac_cv_lib_m_cosh+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 else
13491 ac_check_lib_save_LIBS=$LIBS
13492 LIBS="-lm $LIBS"
13493 if test x$gcc_no_link = xyes; then
13494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13496 { (exit 1); exit 1; }; }
13498 cat >conftest.$ac_ext <<_ACEOF
13499 /* confdefs.h. */
13500 _ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13505 /* Override any gcc2 internal prototype to avoid an error. */
13506 #ifdef __cplusplus
13507 extern "C"
13508 #endif
13509 /* We use char because int might match the return type of a gcc2
13510 builtin and then its argument prototype would still apply. */
13511 char cosh ();
13513 main ()
13515 cosh ();
13517 return 0;
13519 _ACEOF
13520 rm -f conftest.$ac_objext conftest$ac_exeext
13521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13522 (eval $ac_link) 2>conftest.er1
13523 ac_status=$?
13524 grep -v '^ *+' conftest.er1 >conftest.err
13525 rm -f conftest.er1
13526 cat conftest.err >&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } &&
13529 { ac_try='test -z "$ac_c_werror_flag"
13530 || test ! -s conftest.err'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13533 ac_status=$?
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; } &&
13536 { ac_try='test -s conftest$ac_exeext'
13537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538 (eval $ac_try) 2>&5
13539 ac_status=$?
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); }; }; then
13542 ac_cv_lib_m_cosh=yes
13543 else
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13547 ac_cv_lib_m_cosh=no
13549 rm -f conftest.err conftest.$ac_objext \
13550 conftest$ac_exeext conftest.$ac_ext
13551 LIBS=$ac_check_lib_save_LIBS
13553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13554 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13555 if test $ac_cv_lib_m_cosh = yes; then
13557 cat >>confdefs.h <<\_ACEOF
13558 #define HAVE_COSH 1
13559 _ACEOF
13563 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13564 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13565 if test "${ac_cv_lib_m_coshl+set}" = set; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 else
13568 ac_check_lib_save_LIBS=$LIBS
13569 LIBS="-lm $LIBS"
13570 if test x$gcc_no_link = xyes; then
13571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13573 { (exit 1); exit 1; }; }
13575 cat >conftest.$ac_ext <<_ACEOF
13576 /* confdefs.h. */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13582 /* Override any gcc2 internal prototype to avoid an error. */
13583 #ifdef __cplusplus
13584 extern "C"
13585 #endif
13586 /* We use char because int might match the return type of a gcc2
13587 builtin and then its argument prototype would still apply. */
13588 char coshl ();
13590 main ()
13592 coshl ();
13594 return 0;
13596 _ACEOF
13597 rm -f conftest.$ac_objext conftest$ac_exeext
13598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13599 (eval $ac_link) 2>conftest.er1
13600 ac_status=$?
13601 grep -v '^ *+' conftest.er1 >conftest.err
13602 rm -f conftest.er1
13603 cat conftest.err >&5
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); } &&
13606 { ac_try='test -z "$ac_c_werror_flag"
13607 || test ! -s conftest.err'
13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609 (eval $ac_try) 2>&5
13610 ac_status=$?
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; } &&
13613 { ac_try='test -s conftest$ac_exeext'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13616 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; }; then
13619 ac_cv_lib_m_coshl=yes
13620 else
13621 echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.$ac_ext >&5
13624 ac_cv_lib_m_coshl=no
13626 rm -f conftest.err conftest.$ac_objext \
13627 conftest$ac_exeext conftest.$ac_ext
13628 LIBS=$ac_check_lib_save_LIBS
13630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13631 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13632 if test $ac_cv_lib_m_coshl = yes; then
13634 cat >>confdefs.h <<\_ACEOF
13635 #define HAVE_COSHL 1
13636 _ACEOF
13640 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13641 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13642 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645 ac_check_lib_save_LIBS=$LIBS
13646 LIBS="-lm $LIBS"
13647 if test x$gcc_no_link = xyes; then
13648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13650 { (exit 1); exit 1; }; }
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13659 /* Override any gcc2 internal prototype to avoid an error. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 /* We use char because int might match the return type of a gcc2
13664 builtin and then its argument prototype would still apply. */
13665 char ccoshf ();
13667 main ()
13669 ccoshf ();
13671 return 0;
13673 _ACEOF
13674 rm -f conftest.$ac_objext conftest$ac_exeext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13676 (eval $ac_link) 2>conftest.er1
13677 ac_status=$?
13678 grep -v '^ *+' conftest.er1 >conftest.err
13679 rm -f conftest.er1
13680 cat conftest.err >&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); } &&
13683 { ac_try='test -z "$ac_c_werror_flag"
13684 || test ! -s conftest.err'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13687 ac_status=$?
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; } &&
13690 { ac_try='test -s conftest$ac_exeext'
13691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692 (eval $ac_try) 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; }; then
13696 ac_cv_lib_m_ccoshf=yes
13697 else
13698 echo "$as_me: failed program was:" >&5
13699 sed 's/^/| /' conftest.$ac_ext >&5
13701 ac_cv_lib_m_ccoshf=no
13703 rm -f conftest.err conftest.$ac_objext \
13704 conftest$ac_exeext conftest.$ac_ext
13705 LIBS=$ac_check_lib_save_LIBS
13707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13708 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13709 if test $ac_cv_lib_m_ccoshf = yes; then
13711 cat >>confdefs.h <<\_ACEOF
13712 #define HAVE_CCOSHF 1
13713 _ACEOF
13717 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13718 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13719 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13720 echo $ECHO_N "(cached) $ECHO_C" >&6
13721 else
13722 ac_check_lib_save_LIBS=$LIBS
13723 LIBS="-lm $LIBS"
13724 if test x$gcc_no_link = xyes; then
13725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13727 { (exit 1); exit 1; }; }
13729 cat >conftest.$ac_ext <<_ACEOF
13730 /* confdefs.h. */
13731 _ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13736 /* Override any gcc2 internal prototype to avoid an error. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 /* We use char because int might match the return type of a gcc2
13741 builtin and then its argument prototype would still apply. */
13742 char ccosh ();
13744 main ()
13746 ccosh ();
13748 return 0;
13750 _ACEOF
13751 rm -f conftest.$ac_objext conftest$ac_exeext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13753 (eval $ac_link) 2>conftest.er1
13754 ac_status=$?
13755 grep -v '^ *+' conftest.er1 >conftest.err
13756 rm -f conftest.er1
13757 cat conftest.err >&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try='test -z "$ac_c_werror_flag"
13761 || test ! -s conftest.err'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13764 ac_status=$?
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; } &&
13767 { ac_try='test -s conftest$ac_exeext'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; }; then
13773 ac_cv_lib_m_ccosh=yes
13774 else
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13778 ac_cv_lib_m_ccosh=no
13780 rm -f conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 LIBS=$ac_check_lib_save_LIBS
13784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13785 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13786 if test $ac_cv_lib_m_ccosh = yes; then
13788 cat >>confdefs.h <<\_ACEOF
13789 #define HAVE_CCOSH 1
13790 _ACEOF
13794 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13795 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13796 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13797 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 else
13799 ac_check_lib_save_LIBS=$LIBS
13800 LIBS="-lm $LIBS"
13801 if test x$gcc_no_link = xyes; then
13802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13804 { (exit 1); exit 1; }; }
13806 cat >conftest.$ac_ext <<_ACEOF
13807 /* confdefs.h. */
13808 _ACEOF
13809 cat confdefs.h >>conftest.$ac_ext
13810 cat >>conftest.$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13813 /* Override any gcc2 internal prototype to avoid an error. */
13814 #ifdef __cplusplus
13815 extern "C"
13816 #endif
13817 /* We use char because int might match the return type of a gcc2
13818 builtin and then its argument prototype would still apply. */
13819 char ccoshl ();
13821 main ()
13823 ccoshl ();
13825 return 0;
13827 _ACEOF
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13830 (eval $ac_link) 2>conftest.er1
13831 ac_status=$?
13832 grep -v '^ *+' conftest.er1 >conftest.err
13833 rm -f conftest.er1
13834 cat conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -z "$ac_c_werror_flag"
13838 || test ! -s conftest.err'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13841 ac_status=$?
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; } &&
13844 { ac_try='test -s conftest$ac_exeext'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; }; then
13850 ac_cv_lib_m_ccoshl=yes
13851 else
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13855 ac_cv_lib_m_ccoshl=no
13857 rm -f conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_lib_save_LIBS
13861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13862 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13863 if test $ac_cv_lib_m_ccoshl = yes; then
13865 cat >>confdefs.h <<\_ACEOF
13866 #define HAVE_CCOSHL 1
13867 _ACEOF
13871 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13872 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13873 if test "${ac_cv_lib_m_expf+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 else
13876 ac_check_lib_save_LIBS=$LIBS
13877 LIBS="-lm $LIBS"
13878 if test x$gcc_no_link = xyes; then
13879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13881 { (exit 1); exit 1; }; }
13883 cat >conftest.$ac_ext <<_ACEOF
13884 /* confdefs.h. */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13890 /* Override any gcc2 internal prototype to avoid an error. */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 /* We use char because int might match the return type of a gcc2
13895 builtin and then its argument prototype would still apply. */
13896 char expf ();
13898 main ()
13900 expf ();
13902 return 0;
13904 _ACEOF
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13907 (eval $ac_link) 2>conftest.er1
13908 ac_status=$?
13909 grep -v '^ *+' conftest.er1 >conftest.err
13910 rm -f conftest.er1
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try='test -z "$ac_c_werror_flag"
13915 || test ! -s conftest.err'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; } &&
13921 { ac_try='test -s conftest$ac_exeext'
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923 (eval $ac_try) 2>&5
13924 ac_status=$?
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; }; then
13927 ac_cv_lib_m_expf=yes
13928 else
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13932 ac_cv_lib_m_expf=no
13934 rm -f conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 LIBS=$ac_check_lib_save_LIBS
13938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13939 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13940 if test $ac_cv_lib_m_expf = yes; then
13942 cat >>confdefs.h <<\_ACEOF
13943 #define HAVE_EXPF 1
13944 _ACEOF
13948 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13949 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13950 if test "${ac_cv_lib_m_exp+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 else
13953 ac_check_lib_save_LIBS=$LIBS
13954 LIBS="-lm $LIBS"
13955 if test x$gcc_no_link = xyes; then
13956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13958 { (exit 1); exit 1; }; }
13960 cat >conftest.$ac_ext <<_ACEOF
13961 /* confdefs.h. */
13962 _ACEOF
13963 cat confdefs.h >>conftest.$ac_ext
13964 cat >>conftest.$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13967 /* Override any gcc2 internal prototype to avoid an error. */
13968 #ifdef __cplusplus
13969 extern "C"
13970 #endif
13971 /* We use char because int might match the return type of a gcc2
13972 builtin and then its argument prototype would still apply. */
13973 char exp ();
13975 main ()
13977 exp ();
13979 return 0;
13981 _ACEOF
13982 rm -f conftest.$ac_objext conftest$ac_exeext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13984 (eval $ac_link) 2>conftest.er1
13985 ac_status=$?
13986 grep -v '^ *+' conftest.er1 >conftest.err
13987 rm -f conftest.er1
13988 cat conftest.err >&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try='test -z "$ac_c_werror_flag"
13992 || test ! -s conftest.err'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13995 ac_status=$?
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; } &&
13998 { ac_try='test -s conftest$ac_exeext'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14001 ac_status=$?
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; }; then
14004 ac_cv_lib_m_exp=yes
14005 else
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14009 ac_cv_lib_m_exp=no
14011 rm -f conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_lib_save_LIBS
14015 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14016 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14017 if test $ac_cv_lib_m_exp = yes; then
14019 cat >>confdefs.h <<\_ACEOF
14020 #define HAVE_EXP 1
14021 _ACEOF
14025 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14026 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14027 if test "${ac_cv_lib_m_expl+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 else
14030 ac_check_lib_save_LIBS=$LIBS
14031 LIBS="-lm $LIBS"
14032 if test x$gcc_no_link = xyes; then
14033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14035 { (exit 1); exit 1; }; }
14037 cat >conftest.$ac_ext <<_ACEOF
14038 /* confdefs.h. */
14039 _ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14044 /* Override any gcc2 internal prototype to avoid an error. */
14045 #ifdef __cplusplus
14046 extern "C"
14047 #endif
14048 /* We use char because int might match the return type of a gcc2
14049 builtin and then its argument prototype would still apply. */
14050 char expl ();
14052 main ()
14054 expl ();
14056 return 0;
14058 _ACEOF
14059 rm -f conftest.$ac_objext conftest$ac_exeext
14060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14061 (eval $ac_link) 2>conftest.er1
14062 ac_status=$?
14063 grep -v '^ *+' conftest.er1 >conftest.err
14064 rm -f conftest.er1
14065 cat conftest.err >&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); } &&
14068 { ac_try='test -z "$ac_c_werror_flag"
14069 || test ! -s conftest.err'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14072 ac_status=$?
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; } &&
14075 { ac_try='test -s conftest$ac_exeext'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14078 ac_status=$?
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; }; then
14081 ac_cv_lib_m_expl=yes
14082 else
14083 echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.$ac_ext >&5
14086 ac_cv_lib_m_expl=no
14088 rm -f conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14093 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14094 if test $ac_cv_lib_m_expl = yes; then
14096 cat >>confdefs.h <<\_ACEOF
14097 #define HAVE_EXPL 1
14098 _ACEOF
14102 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14103 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14104 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14105 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 else
14107 ac_check_lib_save_LIBS=$LIBS
14108 LIBS="-lm $LIBS"
14109 if test x$gcc_no_link = xyes; then
14110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14112 { (exit 1); exit 1; }; }
14114 cat >conftest.$ac_ext <<_ACEOF
14115 /* confdefs.h. */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14121 /* Override any gcc2 internal prototype to avoid an error. */
14122 #ifdef __cplusplus
14123 extern "C"
14124 #endif
14125 /* We use char because int might match the return type of a gcc2
14126 builtin and then its argument prototype would still apply. */
14127 char cexpf ();
14129 main ()
14131 cexpf ();
14133 return 0;
14135 _ACEOF
14136 rm -f conftest.$ac_objext conftest$ac_exeext
14137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14138 (eval $ac_link) 2>conftest.er1
14139 ac_status=$?
14140 grep -v '^ *+' conftest.er1 >conftest.err
14141 rm -f conftest.er1
14142 cat conftest.err >&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } &&
14145 { ac_try='test -z "$ac_c_werror_flag"
14146 || test ! -s conftest.err'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; } &&
14152 { ac_try='test -s conftest$ac_exeext'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14155 ac_status=$?
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; }; then
14158 ac_cv_lib_m_cexpf=yes
14159 else
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.$ac_ext >&5
14163 ac_cv_lib_m_cexpf=no
14165 rm -f conftest.err conftest.$ac_objext \
14166 conftest$ac_exeext conftest.$ac_ext
14167 LIBS=$ac_check_lib_save_LIBS
14169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14170 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14171 if test $ac_cv_lib_m_cexpf = yes; then
14173 cat >>confdefs.h <<\_ACEOF
14174 #define HAVE_CEXPF 1
14175 _ACEOF
14179 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14180 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14181 if test "${ac_cv_lib_m_cexp+set}" = set; then
14182 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 else
14184 ac_check_lib_save_LIBS=$LIBS
14185 LIBS="-lm $LIBS"
14186 if test x$gcc_no_link = xyes; then
14187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14189 { (exit 1); exit 1; }; }
14191 cat >conftest.$ac_ext <<_ACEOF
14192 /* confdefs.h. */
14193 _ACEOF
14194 cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14198 /* Override any gcc2 internal prototype to avoid an error. */
14199 #ifdef __cplusplus
14200 extern "C"
14201 #endif
14202 /* We use char because int might match the return type of a gcc2
14203 builtin and then its argument prototype would still apply. */
14204 char cexp ();
14206 main ()
14208 cexp ();
14210 return 0;
14212 _ACEOF
14213 rm -f conftest.$ac_objext conftest$ac_exeext
14214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14215 (eval $ac_link) 2>conftest.er1
14216 ac_status=$?
14217 grep -v '^ *+' conftest.er1 >conftest.err
14218 rm -f conftest.er1
14219 cat conftest.err >&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); } &&
14222 { ac_try='test -z "$ac_c_werror_flag"
14223 || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14226 ac_status=$?
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try='test -s conftest$ac_exeext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 ac_cv_lib_m_cexp=yes
14236 else
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.$ac_ext >&5
14240 ac_cv_lib_m_cexp=no
14242 rm -f conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14247 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14248 if test $ac_cv_lib_m_cexp = yes; then
14250 cat >>confdefs.h <<\_ACEOF
14251 #define HAVE_CEXP 1
14252 _ACEOF
14256 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14257 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14258 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 else
14261 ac_check_lib_save_LIBS=$LIBS
14262 LIBS="-lm $LIBS"
14263 if test x$gcc_no_link = xyes; then
14264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14266 { (exit 1); exit 1; }; }
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14275 /* Override any gcc2 internal prototype to avoid an error. */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 /* We use char because int might match the return type of a gcc2
14280 builtin and then its argument prototype would still apply. */
14281 char cexpl ();
14283 main ()
14285 cexpl ();
14287 return 0;
14289 _ACEOF
14290 rm -f conftest.$ac_objext conftest$ac_exeext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14292 (eval $ac_link) 2>conftest.er1
14293 ac_status=$?
14294 grep -v '^ *+' conftest.er1 >conftest.err
14295 rm -f conftest.er1
14296 cat conftest.err >&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } &&
14299 { ac_try='test -z "$ac_c_werror_flag"
14300 || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14303 ac_status=$?
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try='test -s conftest$ac_exeext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_lib_m_cexpl=yes
14313 else
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14317 ac_cv_lib_m_cexpl=no
14319 rm -f conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext conftest.$ac_ext
14321 LIBS=$ac_check_lib_save_LIBS
14323 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14324 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14325 if test $ac_cv_lib_m_cexpl = yes; then
14327 cat >>confdefs.h <<\_ACEOF
14328 #define HAVE_CEXPL 1
14329 _ACEOF
14333 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14334 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14335 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338 ac_check_lib_save_LIBS=$LIBS
14339 LIBS="-lm $LIBS"
14340 if test x$gcc_no_link = xyes; then
14341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14343 { (exit 1); exit 1; }; }
14345 cat >conftest.$ac_ext <<_ACEOF
14346 /* confdefs.h. */
14347 _ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14352 /* Override any gcc2 internal prototype to avoid an error. */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14358 char fabsf ();
14360 main ()
14362 fabsf ();
14364 return 0;
14366 _ACEOF
14367 rm -f conftest.$ac_objext conftest$ac_exeext
14368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14369 (eval $ac_link) 2>conftest.er1
14370 ac_status=$?
14371 grep -v '^ *+' conftest.er1 >conftest.err
14372 rm -f conftest.er1
14373 cat conftest.err >&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); } &&
14376 { ac_try='test -z "$ac_c_werror_flag"
14377 || test ! -s conftest.err'
14378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14379 (eval $ac_try) 2>&5
14380 ac_status=$?
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); }; } &&
14383 { ac_try='test -s conftest$ac_exeext'
14384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385 (eval $ac_try) 2>&5
14386 ac_status=$?
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; }; then
14389 ac_cv_lib_m_fabsf=yes
14390 else
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.$ac_ext >&5
14394 ac_cv_lib_m_fabsf=no
14396 rm -f conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14401 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14402 if test $ac_cv_lib_m_fabsf = yes; then
14404 cat >>confdefs.h <<\_ACEOF
14405 #define HAVE_FABSF 1
14406 _ACEOF
14410 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14411 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14412 if test "${ac_cv_lib_m_fabs+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14414 else
14415 ac_check_lib_save_LIBS=$LIBS
14416 LIBS="-lm $LIBS"
14417 if test x$gcc_no_link = xyes; then
14418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14420 { (exit 1); exit 1; }; }
14422 cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h. */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14429 /* Override any gcc2 internal prototype to avoid an error. */
14430 #ifdef __cplusplus
14431 extern "C"
14432 #endif
14433 /* We use char because int might match the return type of a gcc2
14434 builtin and then its argument prototype would still apply. */
14435 char fabs ();
14437 main ()
14439 fabs ();
14441 return 0;
14443 _ACEOF
14444 rm -f conftest.$ac_objext conftest$ac_exeext
14445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446 (eval $ac_link) 2>conftest.er1
14447 ac_status=$?
14448 grep -v '^ *+' conftest.er1 >conftest.err
14449 rm -f conftest.er1
14450 cat conftest.err >&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); } &&
14453 { ac_try='test -z "$ac_c_werror_flag"
14454 || test ! -s conftest.err'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14457 ac_status=$?
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; } &&
14460 { ac_try='test -s conftest$ac_exeext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14466 ac_cv_lib_m_fabs=yes
14467 else
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.$ac_ext >&5
14471 ac_cv_lib_m_fabs=no
14473 rm -f conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_lib_save_LIBS
14477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14478 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14479 if test $ac_cv_lib_m_fabs = yes; then
14481 cat >>confdefs.h <<\_ACEOF
14482 #define HAVE_FABS 1
14483 _ACEOF
14487 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14488 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14489 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14491 else
14492 ac_check_lib_save_LIBS=$LIBS
14493 LIBS="-lm $LIBS"
14494 if test x$gcc_no_link = xyes; then
14495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14497 { (exit 1); exit 1; }; }
14499 cat >conftest.$ac_ext <<_ACEOF
14500 /* confdefs.h. */
14501 _ACEOF
14502 cat confdefs.h >>conftest.$ac_ext
14503 cat >>conftest.$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14506 /* Override any gcc2 internal prototype to avoid an error. */
14507 #ifdef __cplusplus
14508 extern "C"
14509 #endif
14510 /* We use char because int might match the return type of a gcc2
14511 builtin and then its argument prototype would still apply. */
14512 char fabsl ();
14514 main ()
14516 fabsl ();
14518 return 0;
14520 _ACEOF
14521 rm -f conftest.$ac_objext conftest$ac_exeext
14522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14523 (eval $ac_link) 2>conftest.er1
14524 ac_status=$?
14525 grep -v '^ *+' conftest.er1 >conftest.err
14526 rm -f conftest.er1
14527 cat conftest.err >&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } &&
14530 { ac_try='test -z "$ac_c_werror_flag"
14531 || test ! -s conftest.err'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; } &&
14537 { ac_try='test -s conftest$ac_exeext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14540 ac_status=$?
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_cv_lib_m_fabsl=yes
14544 else
14545 echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.$ac_ext >&5
14548 ac_cv_lib_m_fabsl=no
14550 rm -f conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 LIBS=$ac_check_lib_save_LIBS
14554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14555 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14556 if test $ac_cv_lib_m_fabsl = yes; then
14558 cat >>confdefs.h <<\_ACEOF
14559 #define HAVE_FABSL 1
14560 _ACEOF
14564 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14565 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14566 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569 ac_check_lib_save_LIBS=$LIBS
14570 LIBS="-lm $LIBS"
14571 if test x$gcc_no_link = xyes; then
14572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14574 { (exit 1); exit 1; }; }
14576 cat >conftest.$ac_ext <<_ACEOF
14577 /* confdefs.h. */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14583 /* Override any gcc2 internal prototype to avoid an error. */
14584 #ifdef __cplusplus
14585 extern "C"
14586 #endif
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14589 char cabsf ();
14591 main ()
14593 cabsf ();
14595 return 0;
14597 _ACEOF
14598 rm -f conftest.$ac_objext conftest$ac_exeext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14600 (eval $ac_link) 2>conftest.er1
14601 ac_status=$?
14602 grep -v '^ *+' conftest.er1 >conftest.err
14603 rm -f conftest.er1
14604 cat conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } &&
14607 { ac_try='test -z "$ac_c_werror_flag"
14608 || test ! -s conftest.err'
14609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610 (eval $ac_try) 2>&5
14611 ac_status=$?
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; } &&
14614 { ac_try='test -s conftest$ac_exeext'
14615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616 (eval $ac_try) 2>&5
14617 ac_status=$?
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); }; }; then
14620 ac_cv_lib_m_cabsf=yes
14621 else
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14625 ac_cv_lib_m_cabsf=no
14627 rm -f conftest.err conftest.$ac_objext \
14628 conftest$ac_exeext conftest.$ac_ext
14629 LIBS=$ac_check_lib_save_LIBS
14631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14632 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14633 if test $ac_cv_lib_m_cabsf = yes; then
14635 cat >>confdefs.h <<\_ACEOF
14636 #define HAVE_CABSF 1
14637 _ACEOF
14641 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14642 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14643 if test "${ac_cv_lib_m_cabs+set}" = set; then
14644 echo $ECHO_N "(cached) $ECHO_C" >&6
14645 else
14646 ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-lm $LIBS"
14648 if test x$gcc_no_link = xyes; then
14649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14651 { (exit 1); exit 1; }; }
14653 cat >conftest.$ac_ext <<_ACEOF
14654 /* confdefs.h. */
14655 _ACEOF
14656 cat confdefs.h >>conftest.$ac_ext
14657 cat >>conftest.$ac_ext <<_ACEOF
14658 /* end confdefs.h. */
14660 /* Override any gcc2 internal prototype to avoid an error. */
14661 #ifdef __cplusplus
14662 extern "C"
14663 #endif
14664 /* We use char because int might match the return type of a gcc2
14665 builtin and then its argument prototype would still apply. */
14666 char cabs ();
14668 main ()
14670 cabs ();
14672 return 0;
14674 _ACEOF
14675 rm -f conftest.$ac_objext conftest$ac_exeext
14676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14677 (eval $ac_link) 2>conftest.er1
14678 ac_status=$?
14679 grep -v '^ *+' conftest.er1 >conftest.err
14680 rm -f conftest.er1
14681 cat conftest.err >&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } &&
14684 { ac_try='test -z "$ac_c_werror_flag"
14685 || test ! -s conftest.err'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14688 ac_status=$?
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; } &&
14691 { ac_try='test -s conftest$ac_exeext'
14692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693 (eval $ac_try) 2>&5
14694 ac_status=$?
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); }; }; then
14697 ac_cv_lib_m_cabs=yes
14698 else
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14702 ac_cv_lib_m_cabs=no
14704 rm -f conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14706 LIBS=$ac_check_lib_save_LIBS
14708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14709 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14710 if test $ac_cv_lib_m_cabs = yes; then
14712 cat >>confdefs.h <<\_ACEOF
14713 #define HAVE_CABS 1
14714 _ACEOF
14718 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14719 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14720 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14722 else
14723 ac_check_lib_save_LIBS=$LIBS
14724 LIBS="-lm $LIBS"
14725 if test x$gcc_no_link = xyes; then
14726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14728 { (exit 1); exit 1; }; }
14730 cat >conftest.$ac_ext <<_ACEOF
14731 /* confdefs.h. */
14732 _ACEOF
14733 cat confdefs.h >>conftest.$ac_ext
14734 cat >>conftest.$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14737 /* Override any gcc2 internal prototype to avoid an error. */
14738 #ifdef __cplusplus
14739 extern "C"
14740 #endif
14741 /* We use char because int might match the return type of a gcc2
14742 builtin and then its argument prototype would still apply. */
14743 char cabsl ();
14745 main ()
14747 cabsl ();
14749 return 0;
14751 _ACEOF
14752 rm -f conftest.$ac_objext conftest$ac_exeext
14753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14754 (eval $ac_link) 2>conftest.er1
14755 ac_status=$?
14756 grep -v '^ *+' conftest.er1 >conftest.err
14757 rm -f conftest.er1
14758 cat conftest.err >&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try='test -z "$ac_c_werror_flag"
14762 || test ! -s conftest.err'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; } &&
14768 { ac_try='test -s conftest$ac_exeext'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14771 ac_status=$?
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; }; then
14774 ac_cv_lib_m_cabsl=yes
14775 else
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.$ac_ext >&5
14779 ac_cv_lib_m_cabsl=no
14781 rm -f conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_lib_save_LIBS
14785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14786 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14787 if test $ac_cv_lib_m_cabsl = yes; then
14789 cat >>confdefs.h <<\_ACEOF
14790 #define HAVE_CABSL 1
14791 _ACEOF
14795 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14796 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14797 if test "${ac_cv_lib_m_floorf+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14799 else
14800 ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-lm $LIBS"
14802 if test x$gcc_no_link = xyes; then
14803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14805 { (exit 1); exit 1; }; }
14807 cat >conftest.$ac_ext <<_ACEOF
14808 /* confdefs.h. */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14814 /* Override any gcc2 internal prototype to avoid an error. */
14815 #ifdef __cplusplus
14816 extern "C"
14817 #endif
14818 /* We use char because int might match the return type of a gcc2
14819 builtin and then its argument prototype would still apply. */
14820 char floorf ();
14822 main ()
14824 floorf ();
14826 return 0;
14828 _ACEOF
14829 rm -f conftest.$ac_objext conftest$ac_exeext
14830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14831 (eval $ac_link) 2>conftest.er1
14832 ac_status=$?
14833 grep -v '^ *+' conftest.er1 >conftest.err
14834 rm -f conftest.er1
14835 cat conftest.err >&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); } &&
14838 { ac_try='test -z "$ac_c_werror_flag"
14839 || test ! -s conftest.err'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14842 ac_status=$?
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; } &&
14845 { ac_try='test -s conftest$ac_exeext'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14848 ac_status=$?
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; }; then
14851 ac_cv_lib_m_floorf=yes
14852 else
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.$ac_ext >&5
14856 ac_cv_lib_m_floorf=no
14858 rm -f conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 LIBS=$ac_check_lib_save_LIBS
14862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14863 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14864 if test $ac_cv_lib_m_floorf = yes; then
14866 cat >>confdefs.h <<\_ACEOF
14867 #define HAVE_FLOORF 1
14868 _ACEOF
14872 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14873 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14874 if test "${ac_cv_lib_m_floor+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 else
14877 ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-lm $LIBS"
14879 if test x$gcc_no_link = xyes; then
14880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14882 { (exit 1); exit 1; }; }
14884 cat >conftest.$ac_ext <<_ACEOF
14885 /* confdefs.h. */
14886 _ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14891 /* Override any gcc2 internal prototype to avoid an error. */
14892 #ifdef __cplusplus
14893 extern "C"
14894 #endif
14895 /* We use char because int might match the return type of a gcc2
14896 builtin and then its argument prototype would still apply. */
14897 char floor ();
14899 main ()
14901 floor ();
14903 return 0;
14905 _ACEOF
14906 rm -f conftest.$ac_objext conftest$ac_exeext
14907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14908 (eval $ac_link) 2>conftest.er1
14909 ac_status=$?
14910 grep -v '^ *+' conftest.er1 >conftest.err
14911 rm -f conftest.er1
14912 cat conftest.err >&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); } &&
14915 { ac_try='test -z "$ac_c_werror_flag"
14916 || test ! -s conftest.err'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14919 ac_status=$?
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; } &&
14922 { ac_try='test -s conftest$ac_exeext'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; }; then
14928 ac_cv_lib_m_floor=yes
14929 else
14930 echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.$ac_ext >&5
14933 ac_cv_lib_m_floor=no
14935 rm -f conftest.err conftest.$ac_objext \
14936 conftest$ac_exeext conftest.$ac_ext
14937 LIBS=$ac_check_lib_save_LIBS
14939 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14940 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14941 if test $ac_cv_lib_m_floor = yes; then
14943 cat >>confdefs.h <<\_ACEOF
14944 #define HAVE_FLOOR 1
14945 _ACEOF
14949 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14950 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14951 if test "${ac_cv_lib_m_floorl+set}" = set; then
14952 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 else
14954 ac_check_lib_save_LIBS=$LIBS
14955 LIBS="-lm $LIBS"
14956 if test x$gcc_no_link = xyes; then
14957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14959 { (exit 1); exit 1; }; }
14961 cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h. */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h. */
14968 /* Override any gcc2 internal prototype to avoid an error. */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 /* We use char because int might match the return type of a gcc2
14973 builtin and then its argument prototype would still apply. */
14974 char floorl ();
14976 main ()
14978 floorl ();
14980 return 0;
14982 _ACEOF
14983 rm -f conftest.$ac_objext conftest$ac_exeext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14985 (eval $ac_link) 2>conftest.er1
14986 ac_status=$?
14987 grep -v '^ *+' conftest.er1 >conftest.err
14988 rm -f conftest.er1
14989 cat conftest.err >&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); } &&
14992 { ac_try='test -z "$ac_c_werror_flag"
14993 || test ! -s conftest.err'
14994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 (eval $ac_try) 2>&5
14996 ac_status=$?
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; } &&
14999 { ac_try='test -s conftest$ac_exeext'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15002 ac_status=$?
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; }; then
15005 ac_cv_lib_m_floorl=yes
15006 else
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.$ac_ext >&5
15010 ac_cv_lib_m_floorl=no
15012 rm -f conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15014 LIBS=$ac_check_lib_save_LIBS
15016 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15017 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15018 if test $ac_cv_lib_m_floorl = yes; then
15020 cat >>confdefs.h <<\_ACEOF
15021 #define HAVE_FLOORL 1
15022 _ACEOF
15026 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
15027 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
15028 if test "${ac_cv_lib_m_fmodf+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 else
15031 ac_check_lib_save_LIBS=$LIBS
15032 LIBS="-lm $LIBS"
15033 if test x$gcc_no_link = xyes; then
15034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15036 { (exit 1); exit 1; }; }
15038 cat >conftest.$ac_ext <<_ACEOF
15039 /* confdefs.h. */
15040 _ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15045 /* Override any gcc2 internal prototype to avoid an error. */
15046 #ifdef __cplusplus
15047 extern "C"
15048 #endif
15049 /* We use char because int might match the return type of a gcc2
15050 builtin and then its argument prototype would still apply. */
15051 char fmodf ();
15053 main ()
15055 fmodf ();
15057 return 0;
15059 _ACEOF
15060 rm -f conftest.$ac_objext conftest$ac_exeext
15061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15062 (eval $ac_link) 2>conftest.er1
15063 ac_status=$?
15064 grep -v '^ *+' conftest.er1 >conftest.err
15065 rm -f conftest.er1
15066 cat conftest.err >&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); } &&
15069 { ac_try='test -z "$ac_c_werror_flag"
15070 || test ! -s conftest.err'
15071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072 (eval $ac_try) 2>&5
15073 ac_status=$?
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; } &&
15076 { ac_try='test -s conftest$ac_exeext'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15079 ac_status=$?
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; }; then
15082 ac_cv_lib_m_fmodf=yes
15083 else
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15087 ac_cv_lib_m_fmodf=no
15089 rm -f conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15091 LIBS=$ac_check_lib_save_LIBS
15093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
15094 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
15095 if test $ac_cv_lib_m_fmodf = yes; then
15097 cat >>confdefs.h <<\_ACEOF
15098 #define HAVE_FMODF 1
15099 _ACEOF
15103 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
15104 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
15105 if test "${ac_cv_lib_m_fmod+set}" = set; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 else
15108 ac_check_lib_save_LIBS=$LIBS
15109 LIBS="-lm $LIBS"
15110 if test x$gcc_no_link = xyes; then
15111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15113 { (exit 1); exit 1; }; }
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h. */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15122 /* Override any gcc2 internal prototype to avoid an error. */
15123 #ifdef __cplusplus
15124 extern "C"
15125 #endif
15126 /* We use char because int might match the return type of a gcc2
15127 builtin and then its argument prototype would still apply. */
15128 char fmod ();
15130 main ()
15132 fmod ();
15134 return 0;
15136 _ACEOF
15137 rm -f conftest.$ac_objext conftest$ac_exeext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15139 (eval $ac_link) 2>conftest.er1
15140 ac_status=$?
15141 grep -v '^ *+' conftest.er1 >conftest.err
15142 rm -f conftest.er1
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try='test -z "$ac_c_werror_flag"
15147 || test ! -s conftest.err'
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149 (eval $ac_try) 2>&5
15150 ac_status=$?
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; } &&
15153 { ac_try='test -s conftest$ac_exeext'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15156 ac_status=$?
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 ac_cv_lib_m_fmod=yes
15160 else
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15164 ac_cv_lib_m_fmod=no
15166 rm -f conftest.err conftest.$ac_objext \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_check_lib_save_LIBS
15170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15171 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15172 if test $ac_cv_lib_m_fmod = yes; then
15174 cat >>confdefs.h <<\_ACEOF
15175 #define HAVE_FMOD 1
15176 _ACEOF
15180 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15181 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15182 if test "${ac_cv_lib_m_fmodl+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185 ac_check_lib_save_LIBS=$LIBS
15186 LIBS="-lm $LIBS"
15187 if test x$gcc_no_link = xyes; then
15188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15190 { (exit 1); exit 1; }; }
15192 cat >conftest.$ac_ext <<_ACEOF
15193 /* confdefs.h. */
15194 _ACEOF
15195 cat confdefs.h >>conftest.$ac_ext
15196 cat >>conftest.$ac_ext <<_ACEOF
15197 /* end confdefs.h. */
15199 /* Override any gcc2 internal prototype to avoid an error. */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 /* We use char because int might match the return type of a gcc2
15204 builtin and then its argument prototype would still apply. */
15205 char fmodl ();
15207 main ()
15209 fmodl ();
15211 return 0;
15213 _ACEOF
15214 rm -f conftest.$ac_objext conftest$ac_exeext
15215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15216 (eval $ac_link) 2>conftest.er1
15217 ac_status=$?
15218 grep -v '^ *+' conftest.er1 >conftest.err
15219 rm -f conftest.er1
15220 cat conftest.err >&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } &&
15223 { ac_try='test -z "$ac_c_werror_flag"
15224 || test ! -s conftest.err'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15227 ac_status=$?
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; } &&
15230 { ac_try='test -s conftest$ac_exeext'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15233 ac_status=$?
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; }; then
15236 ac_cv_lib_m_fmodl=yes
15237 else
15238 echo "$as_me: failed program was:" >&5
15239 sed 's/^/| /' conftest.$ac_ext >&5
15241 ac_cv_lib_m_fmodl=no
15243 rm -f conftest.err conftest.$ac_objext \
15244 conftest$ac_exeext conftest.$ac_ext
15245 LIBS=$ac_check_lib_save_LIBS
15247 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15248 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15249 if test $ac_cv_lib_m_fmodl = yes; then
15251 cat >>confdefs.h <<\_ACEOF
15252 #define HAVE_FMODL 1
15253 _ACEOF
15257 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15258 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15259 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 ac_check_lib_save_LIBS=$LIBS
15263 LIBS="-lm $LIBS"
15264 if test x$gcc_no_link = xyes; then
15265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15267 { (exit 1); exit 1; }; }
15269 cat >conftest.$ac_ext <<_ACEOF
15270 /* confdefs.h. */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15276 /* Override any gcc2 internal prototype to avoid an error. */
15277 #ifdef __cplusplus
15278 extern "C"
15279 #endif
15280 /* We use char because int might match the return type of a gcc2
15281 builtin and then its argument prototype would still apply. */
15282 char frexpf ();
15284 main ()
15286 frexpf ();
15288 return 0;
15290 _ACEOF
15291 rm -f conftest.$ac_objext conftest$ac_exeext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293 (eval $ac_link) 2>conftest.er1
15294 ac_status=$?
15295 grep -v '^ *+' conftest.er1 >conftest.err
15296 rm -f conftest.er1
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -z "$ac_c_werror_flag"
15301 || test ! -s conftest.err'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15304 ac_status=$?
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; } &&
15307 { ac_try='test -s conftest$ac_exeext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15313 ac_cv_lib_m_frexpf=yes
15314 else
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15318 ac_cv_lib_m_frexpf=no
15320 rm -f conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_check_lib_save_LIBS
15324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15325 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15326 if test $ac_cv_lib_m_frexpf = yes; then
15328 cat >>confdefs.h <<\_ACEOF
15329 #define HAVE_FREXPF 1
15330 _ACEOF
15334 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15335 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15336 if test "${ac_cv_lib_m_frexp+set}" = set; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 else
15339 ac_check_lib_save_LIBS=$LIBS
15340 LIBS="-lm $LIBS"
15341 if test x$gcc_no_link = xyes; then
15342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15344 { (exit 1); exit 1; }; }
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15353 /* Override any gcc2 internal prototype to avoid an error. */
15354 #ifdef __cplusplus
15355 extern "C"
15356 #endif
15357 /* We use char because int might match the return type of a gcc2
15358 builtin and then its argument prototype would still apply. */
15359 char frexp ();
15361 main ()
15363 frexp ();
15365 return 0;
15367 _ACEOF
15368 rm -f conftest.$ac_objext conftest$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370 (eval $ac_link) 2>conftest.er1
15371 ac_status=$?
15372 grep -v '^ *+' conftest.er1 >conftest.err
15373 rm -f conftest.er1
15374 cat conftest.err >&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try='test -z "$ac_c_werror_flag"
15378 || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_lib_m_frexp=yes
15391 else
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15395 ac_cv_lib_m_frexp=no
15397 rm -f conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_lib_save_LIBS
15401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15402 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15403 if test $ac_cv_lib_m_frexp = yes; then
15405 cat >>confdefs.h <<\_ACEOF
15406 #define HAVE_FREXP 1
15407 _ACEOF
15411 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15412 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15413 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 else
15416 ac_check_lib_save_LIBS=$LIBS
15417 LIBS="-lm $LIBS"
15418 if test x$gcc_no_link = xyes; then
15419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15421 { (exit 1); exit 1; }; }
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15430 /* Override any gcc2 internal prototype to avoid an error. */
15431 #ifdef __cplusplus
15432 extern "C"
15433 #endif
15434 /* We use char because int might match the return type of a gcc2
15435 builtin and then its argument prototype would still apply. */
15436 char frexpl ();
15438 main ()
15440 frexpl ();
15442 return 0;
15444 _ACEOF
15445 rm -f conftest.$ac_objext conftest$ac_exeext
15446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15447 (eval $ac_link) 2>conftest.er1
15448 ac_status=$?
15449 grep -v '^ *+' conftest.er1 >conftest.err
15450 rm -f conftest.er1
15451 cat conftest.err >&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } &&
15454 { ac_try='test -z "$ac_c_werror_flag"
15455 || test ! -s conftest.err'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; } &&
15461 { ac_try='test -s conftest$ac_exeext'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15464 ac_status=$?
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; }; then
15467 ac_cv_lib_m_frexpl=yes
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15472 ac_cv_lib_m_frexpl=no
15474 rm -f conftest.err conftest.$ac_objext \
15475 conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_lib_save_LIBS
15478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15479 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15480 if test $ac_cv_lib_m_frexpl = yes; then
15482 cat >>confdefs.h <<\_ACEOF
15483 #define HAVE_FREXPL 1
15484 _ACEOF
15488 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15489 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15490 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493 ac_check_lib_save_LIBS=$LIBS
15494 LIBS="-lm $LIBS"
15495 if test x$gcc_no_link = xyes; then
15496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15498 { (exit 1); exit 1; }; }
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h. */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15507 /* Override any gcc2 internal prototype to avoid an error. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 /* We use char because int might match the return type of a gcc2
15512 builtin and then its argument prototype would still apply. */
15513 char hypotf ();
15515 main ()
15517 hypotf ();
15519 return 0;
15521 _ACEOF
15522 rm -f conftest.$ac_objext conftest$ac_exeext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15524 (eval $ac_link) 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -z "$ac_c_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15541 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_cv_lib_m_hypotf=yes
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15549 ac_cv_lib_m_hypotf=no
15551 rm -f conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_lib_save_LIBS
15555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15556 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15557 if test $ac_cv_lib_m_hypotf = yes; then
15559 cat >>confdefs.h <<\_ACEOF
15560 #define HAVE_HYPOTF 1
15561 _ACEOF
15565 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15566 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15567 if test "${ac_cv_lib_m_hypot+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 else
15570 ac_check_lib_save_LIBS=$LIBS
15571 LIBS="-lm $LIBS"
15572 if test x$gcc_no_link = xyes; then
15573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15575 { (exit 1); exit 1; }; }
15577 cat >conftest.$ac_ext <<_ACEOF
15578 /* confdefs.h. */
15579 _ACEOF
15580 cat confdefs.h >>conftest.$ac_ext
15581 cat >>conftest.$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15584 /* Override any gcc2 internal prototype to avoid an error. */
15585 #ifdef __cplusplus
15586 extern "C"
15587 #endif
15588 /* We use char because int might match the return type of a gcc2
15589 builtin and then its argument prototype would still apply. */
15590 char hypot ();
15592 main ()
15594 hypot ();
15596 return 0;
15598 _ACEOF
15599 rm -f conftest.$ac_objext conftest$ac_exeext
15600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15601 (eval $ac_link) 2>conftest.er1
15602 ac_status=$?
15603 grep -v '^ *+' conftest.er1 >conftest.err
15604 rm -f conftest.er1
15605 cat conftest.err >&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } &&
15608 { ac_try='test -z "$ac_c_werror_flag"
15609 || test ! -s conftest.err'
15610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15611 (eval $ac_try) 2>&5
15612 ac_status=$?
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); }; } &&
15615 { ac_try='test -s conftest$ac_exeext'
15616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15617 (eval $ac_try) 2>&5
15618 ac_status=$?
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; }; then
15621 ac_cv_lib_m_hypot=yes
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15626 ac_cv_lib_m_hypot=no
15628 rm -f conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_lib_save_LIBS
15632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15633 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15634 if test $ac_cv_lib_m_hypot = yes; then
15636 cat >>confdefs.h <<\_ACEOF
15637 #define HAVE_HYPOT 1
15638 _ACEOF
15642 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15643 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15644 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647 ac_check_lib_save_LIBS=$LIBS
15648 LIBS="-lm $LIBS"
15649 if test x$gcc_no_link = xyes; then
15650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15652 { (exit 1); exit 1; }; }
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15661 /* Override any gcc2 internal prototype to avoid an error. */
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 /* We use char because int might match the return type of a gcc2
15666 builtin and then its argument prototype would still apply. */
15667 char hypotl ();
15669 main ()
15671 hypotl ();
15673 return 0;
15675 _ACEOF
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678 (eval $ac_link) 2>conftest.er1
15679 ac_status=$?
15680 grep -v '^ *+' conftest.er1 >conftest.err
15681 rm -f conftest.er1
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try='test -s conftest$ac_exeext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_cv_lib_m_hypotl=yes
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15703 ac_cv_lib_m_hypotl=no
15705 rm -f conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_lib_save_LIBS
15709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15710 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15711 if test $ac_cv_lib_m_hypotl = yes; then
15713 cat >>confdefs.h <<\_ACEOF
15714 #define HAVE_HYPOTL 1
15715 _ACEOF
15719 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
15720 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
15721 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 else
15724 ac_check_lib_save_LIBS=$LIBS
15725 LIBS="-lm $LIBS"
15726 if test x$gcc_no_link = xyes; then
15727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15729 { (exit 1); exit 1; }; }
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15738 /* Override any gcc2 internal prototype to avoid an error. */
15739 #ifdef __cplusplus
15740 extern "C"
15741 #endif
15742 /* We use char because int might match the return type of a gcc2
15743 builtin and then its argument prototype would still apply. */
15744 char ldexpf ();
15746 main ()
15748 ldexpf ();
15750 return 0;
15752 _ACEOF
15753 rm -f conftest.$ac_objext conftest$ac_exeext
15754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15755 (eval $ac_link) 2>conftest.er1
15756 ac_status=$?
15757 grep -v '^ *+' conftest.er1 >conftest.err
15758 rm -f conftest.er1
15759 cat conftest.err >&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } &&
15762 { ac_try='test -z "$ac_c_werror_flag"
15763 || test ! -s conftest.err'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15766 ac_status=$?
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; } &&
15769 { ac_try='test -s conftest$ac_exeext'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; }; then
15775 ac_cv_lib_m_ldexpf=yes
15776 else
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15780 ac_cv_lib_m_ldexpf=no
15782 rm -f conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_lib_save_LIBS
15786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
15787 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
15788 if test $ac_cv_lib_m_ldexpf = yes; then
15790 cat >>confdefs.h <<\_ACEOF
15791 #define HAVE_LDEXPF 1
15792 _ACEOF
15796 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
15797 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
15798 if test "${ac_cv_lib_m_ldexp+set}" = set; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801 ac_check_lib_save_LIBS=$LIBS
15802 LIBS="-lm $LIBS"
15803 if test x$gcc_no_link = xyes; then
15804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15806 { (exit 1); exit 1; }; }
15808 cat >conftest.$ac_ext <<_ACEOF
15809 /* confdefs.h. */
15810 _ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15815 /* Override any gcc2 internal prototype to avoid an error. */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 /* We use char because int might match the return type of a gcc2
15820 builtin and then its argument prototype would still apply. */
15821 char ldexp ();
15823 main ()
15825 ldexp ();
15827 return 0;
15829 _ACEOF
15830 rm -f conftest.$ac_objext conftest$ac_exeext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15832 (eval $ac_link) 2>conftest.er1
15833 ac_status=$?
15834 grep -v '^ *+' conftest.er1 >conftest.err
15835 rm -f conftest.er1
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try='test -z "$ac_c_werror_flag"
15840 || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try='test -s conftest$ac_exeext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15849 ac_status=$?
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_cv_lib_m_ldexp=yes
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15857 ac_cv_lib_m_ldexp=no
15859 rm -f conftest.err conftest.$ac_objext \
15860 conftest$ac_exeext conftest.$ac_ext
15861 LIBS=$ac_check_lib_save_LIBS
15863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
15864 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
15865 if test $ac_cv_lib_m_ldexp = yes; then
15867 cat >>confdefs.h <<\_ACEOF
15868 #define HAVE_LDEXP 1
15869 _ACEOF
15873 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
15874 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
15875 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 else
15878 ac_check_lib_save_LIBS=$LIBS
15879 LIBS="-lm $LIBS"
15880 if test x$gcc_no_link = xyes; then
15881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15883 { (exit 1); exit 1; }; }
15885 cat >conftest.$ac_ext <<_ACEOF
15886 /* confdefs.h. */
15887 _ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15892 /* Override any gcc2 internal prototype to avoid an error. */
15893 #ifdef __cplusplus
15894 extern "C"
15895 #endif
15896 /* We use char because int might match the return type of a gcc2
15897 builtin and then its argument prototype would still apply. */
15898 char ldexpl ();
15900 main ()
15902 ldexpl ();
15904 return 0;
15906 _ACEOF
15907 rm -f conftest.$ac_objext conftest$ac_exeext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15909 (eval $ac_link) 2>conftest.er1
15910 ac_status=$?
15911 grep -v '^ *+' conftest.er1 >conftest.err
15912 rm -f conftest.er1
15913 cat conftest.err >&5
15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 (exit $ac_status); } &&
15916 { ac_try='test -z "$ac_c_werror_flag"
15917 || test ! -s conftest.err'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15920 ac_status=$?
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; } &&
15923 { ac_try='test -s conftest$ac_exeext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15926 ac_status=$?
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15929 ac_cv_lib_m_ldexpl=yes
15930 else
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15934 ac_cv_lib_m_ldexpl=no
15936 rm -f conftest.err conftest.$ac_objext \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_lib_save_LIBS
15940 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
15941 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
15942 if test $ac_cv_lib_m_ldexpl = yes; then
15944 cat >>confdefs.h <<\_ACEOF
15945 #define HAVE_LDEXPL 1
15946 _ACEOF
15950 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15951 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15952 if test "${ac_cv_lib_m_logf+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955 ac_check_lib_save_LIBS=$LIBS
15956 LIBS="-lm $LIBS"
15957 if test x$gcc_no_link = xyes; then
15958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15960 { (exit 1); exit 1; }; }
15962 cat >conftest.$ac_ext <<_ACEOF
15963 /* confdefs.h. */
15964 _ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15969 /* Override any gcc2 internal prototype to avoid an error. */
15970 #ifdef __cplusplus
15971 extern "C"
15972 #endif
15973 /* We use char because int might match the return type of a gcc2
15974 builtin and then its argument prototype would still apply. */
15975 char logf ();
15977 main ()
15979 logf ();
15981 return 0;
15983 _ACEOF
15984 rm -f conftest.$ac_objext conftest$ac_exeext
15985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15986 (eval $ac_link) 2>conftest.er1
15987 ac_status=$?
15988 grep -v '^ *+' conftest.er1 >conftest.err
15989 rm -f conftest.er1
15990 cat conftest.err >&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } &&
15993 { ac_try='test -z "$ac_c_werror_flag"
15994 || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15997 ac_status=$?
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try='test -s conftest$ac_exeext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16003 ac_status=$?
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16006 ac_cv_lib_m_logf=yes
16007 else
16008 echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.$ac_ext >&5
16011 ac_cv_lib_m_logf=no
16013 rm -f conftest.err conftest.$ac_objext \
16014 conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_lib_save_LIBS
16017 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
16018 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
16019 if test $ac_cv_lib_m_logf = yes; then
16021 cat >>confdefs.h <<\_ACEOF
16022 #define HAVE_LOGF 1
16023 _ACEOF
16027 echo "$as_me:$LINENO: checking for log in -lm" >&5
16028 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
16029 if test "${ac_cv_lib_m_log+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032 ac_check_lib_save_LIBS=$LIBS
16033 LIBS="-lm $LIBS"
16034 if test x$gcc_no_link = xyes; then
16035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16037 { (exit 1); exit 1; }; }
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16046 /* Override any gcc2 internal prototype to avoid an error. */
16047 #ifdef __cplusplus
16048 extern "C"
16049 #endif
16050 /* We use char because int might match the return type of a gcc2
16051 builtin and then its argument prototype would still apply. */
16052 char log ();
16054 main ()
16056 log ();
16058 return 0;
16060 _ACEOF
16061 rm -f conftest.$ac_objext conftest$ac_exeext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16063 (eval $ac_link) 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try='test -z "$ac_c_werror_flag"
16071 || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try='test -s conftest$ac_exeext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_cv_lib_m_log=yes
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16088 ac_cv_lib_m_log=no
16090 rm -f conftest.err conftest.$ac_objext \
16091 conftest$ac_exeext conftest.$ac_ext
16092 LIBS=$ac_check_lib_save_LIBS
16094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
16095 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
16096 if test $ac_cv_lib_m_log = yes; then
16098 cat >>confdefs.h <<\_ACEOF
16099 #define HAVE_LOG 1
16100 _ACEOF
16104 echo "$as_me:$LINENO: checking for logl in -lm" >&5
16105 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
16106 if test "${ac_cv_lib_m_logl+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109 ac_check_lib_save_LIBS=$LIBS
16110 LIBS="-lm $LIBS"
16111 if test x$gcc_no_link = xyes; then
16112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16114 { (exit 1); exit 1; }; }
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16123 /* Override any gcc2 internal prototype to avoid an error. */
16124 #ifdef __cplusplus
16125 extern "C"
16126 #endif
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16129 char logl ();
16131 main ()
16133 logl ();
16135 return 0;
16137 _ACEOF
16138 rm -f conftest.$ac_objext conftest$ac_exeext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16140 (eval $ac_link) 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try='test -z "$ac_c_werror_flag"
16148 || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16151 ac_status=$?
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try='test -s conftest$ac_exeext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_lib_m_logl=yes
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16165 ac_cv_lib_m_logl=no
16167 rm -f conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16169 LIBS=$ac_check_lib_save_LIBS
16171 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16172 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16173 if test $ac_cv_lib_m_logl = yes; then
16175 cat >>confdefs.h <<\_ACEOF
16176 #define HAVE_LOGL 1
16177 _ACEOF
16181 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16182 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16183 if test "${ac_cv_lib_m_clogf+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 else
16186 ac_check_lib_save_LIBS=$LIBS
16187 LIBS="-lm $LIBS"
16188 if test x$gcc_no_link = xyes; then
16189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16191 { (exit 1); exit 1; }; }
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h. */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16200 /* Override any gcc2 internal prototype to avoid an error. */
16201 #ifdef __cplusplus
16202 extern "C"
16203 #endif
16204 /* We use char because int might match the return type of a gcc2
16205 builtin and then its argument prototype would still apply. */
16206 char clogf ();
16208 main ()
16210 clogf ();
16212 return 0;
16214 _ACEOF
16215 rm -f conftest.$ac_objext conftest$ac_exeext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16217 (eval $ac_link) 2>conftest.er1
16218 ac_status=$?
16219 grep -v '^ *+' conftest.er1 >conftest.err
16220 rm -f conftest.er1
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } &&
16224 { ac_try='test -z "$ac_c_werror_flag"
16225 || test ! -s conftest.err'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try='test -s conftest$ac_exeext'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16234 ac_status=$?
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; }; then
16237 ac_cv_lib_m_clogf=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16242 ac_cv_lib_m_clogf=no
16244 rm -f conftest.err conftest.$ac_objext \
16245 conftest$ac_exeext conftest.$ac_ext
16246 LIBS=$ac_check_lib_save_LIBS
16248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16249 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16250 if test $ac_cv_lib_m_clogf = yes; then
16252 cat >>confdefs.h <<\_ACEOF
16253 #define HAVE_CLOGF 1
16254 _ACEOF
16258 echo "$as_me:$LINENO: checking for clog in -lm" >&5
16259 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16260 if test "${ac_cv_lib_m_clog+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 else
16263 ac_check_lib_save_LIBS=$LIBS
16264 LIBS="-lm $LIBS"
16265 if test x$gcc_no_link = xyes; then
16266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16268 { (exit 1); exit 1; }; }
16270 cat >conftest.$ac_ext <<_ACEOF
16271 /* confdefs.h. */
16272 _ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16277 /* Override any gcc2 internal prototype to avoid an error. */
16278 #ifdef __cplusplus
16279 extern "C"
16280 #endif
16281 /* We use char because int might match the return type of a gcc2
16282 builtin and then its argument prototype would still apply. */
16283 char clog ();
16285 main ()
16287 clog ();
16289 return 0;
16291 _ACEOF
16292 rm -f conftest.$ac_objext conftest$ac_exeext
16293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16294 (eval $ac_link) 2>conftest.er1
16295 ac_status=$?
16296 grep -v '^ *+' conftest.er1 >conftest.err
16297 rm -f conftest.er1
16298 cat conftest.err >&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } &&
16301 { ac_try='test -z "$ac_c_werror_flag"
16302 || test ! -s conftest.err'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16305 ac_status=$?
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; } &&
16308 { ac_try='test -s conftest$ac_exeext'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16314 ac_cv_lib_m_clog=yes
16315 else
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16319 ac_cv_lib_m_clog=no
16321 rm -f conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_lib_save_LIBS
16325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16326 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16327 if test $ac_cv_lib_m_clog = yes; then
16329 cat >>confdefs.h <<\_ACEOF
16330 #define HAVE_CLOG 1
16331 _ACEOF
16335 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16336 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16337 if test "${ac_cv_lib_m_clogl+set}" = set; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16340 ac_check_lib_save_LIBS=$LIBS
16341 LIBS="-lm $LIBS"
16342 if test x$gcc_no_link = xyes; then
16343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16345 { (exit 1); exit 1; }; }
16347 cat >conftest.$ac_ext <<_ACEOF
16348 /* confdefs.h. */
16349 _ACEOF
16350 cat confdefs.h >>conftest.$ac_ext
16351 cat >>conftest.$ac_ext <<_ACEOF
16352 /* end confdefs.h. */
16354 /* Override any gcc2 internal prototype to avoid an error. */
16355 #ifdef __cplusplus
16356 extern "C"
16357 #endif
16358 /* We use char because int might match the return type of a gcc2
16359 builtin and then its argument prototype would still apply. */
16360 char clogl ();
16362 main ()
16364 clogl ();
16366 return 0;
16368 _ACEOF
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16371 (eval $ac_link) 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try='test -z "$ac_c_werror_flag"
16379 || test ! -s conftest.err'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16382 ac_status=$?
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } &&
16385 { ac_try='test -s conftest$ac_exeext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16388 ac_status=$?
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_cv_lib_m_clogl=yes
16392 else
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.$ac_ext >&5
16396 ac_cv_lib_m_clogl=no
16398 rm -f conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_lib_save_LIBS
16402 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16403 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16404 if test $ac_cv_lib_m_clogl = yes; then
16406 cat >>confdefs.h <<\_ACEOF
16407 #define HAVE_CLOGL 1
16408 _ACEOF
16412 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16413 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16414 if test "${ac_cv_lib_m_log10f+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417 ac_check_lib_save_LIBS=$LIBS
16418 LIBS="-lm $LIBS"
16419 if test x$gcc_no_link = xyes; then
16420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16422 { (exit 1); exit 1; }; }
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h. */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16431 /* Override any gcc2 internal prototype to avoid an error. */
16432 #ifdef __cplusplus
16433 extern "C"
16434 #endif
16435 /* We use char because int might match the return type of a gcc2
16436 builtin and then its argument prototype would still apply. */
16437 char log10f ();
16439 main ()
16441 log10f ();
16443 return 0;
16445 _ACEOF
16446 rm -f conftest.$ac_objext conftest$ac_exeext
16447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16448 (eval $ac_link) 2>conftest.er1
16449 ac_status=$?
16450 grep -v '^ *+' conftest.er1 >conftest.err
16451 rm -f conftest.er1
16452 cat conftest.err >&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } &&
16455 { ac_try='test -z "$ac_c_werror_flag"
16456 || test ! -s conftest.err'
16457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16458 (eval $ac_try) 2>&5
16459 ac_status=$?
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; } &&
16462 { ac_try='test -s conftest$ac_exeext'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16465 ac_status=$?
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16468 ac_cv_lib_m_log10f=yes
16469 else
16470 echo "$as_me: failed program was:" >&5
16471 sed 's/^/| /' conftest.$ac_ext >&5
16473 ac_cv_lib_m_log10f=no
16475 rm -f conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16477 LIBS=$ac_check_lib_save_LIBS
16479 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16480 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16481 if test $ac_cv_lib_m_log10f = yes; then
16483 cat >>confdefs.h <<\_ACEOF
16484 #define HAVE_LOG10F 1
16485 _ACEOF
16489 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16490 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16491 if test "${ac_cv_lib_m_log10+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16494 ac_check_lib_save_LIBS=$LIBS
16495 LIBS="-lm $LIBS"
16496 if test x$gcc_no_link = xyes; then
16497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16499 { (exit 1); exit 1; }; }
16501 cat >conftest.$ac_ext <<_ACEOF
16502 /* confdefs.h. */
16503 _ACEOF
16504 cat confdefs.h >>conftest.$ac_ext
16505 cat >>conftest.$ac_ext <<_ACEOF
16506 /* end confdefs.h. */
16508 /* Override any gcc2 internal prototype to avoid an error. */
16509 #ifdef __cplusplus
16510 extern "C"
16511 #endif
16512 /* We use char because int might match the return type of a gcc2
16513 builtin and then its argument prototype would still apply. */
16514 char log10 ();
16516 main ()
16518 log10 ();
16520 return 0;
16522 _ACEOF
16523 rm -f conftest.$ac_objext conftest$ac_exeext
16524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16525 (eval $ac_link) 2>conftest.er1
16526 ac_status=$?
16527 grep -v '^ *+' conftest.er1 >conftest.err
16528 rm -f conftest.er1
16529 cat conftest.err >&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } &&
16532 { ac_try='test -z "$ac_c_werror_flag"
16533 || test ! -s conftest.err'
16534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16535 (eval $ac_try) 2>&5
16536 ac_status=$?
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; } &&
16539 { ac_try='test -s conftest$ac_exeext'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16542 ac_status=$?
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; }; then
16545 ac_cv_lib_m_log10=yes
16546 else
16547 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.$ac_ext >&5
16550 ac_cv_lib_m_log10=no
16552 rm -f conftest.err conftest.$ac_objext \
16553 conftest$ac_exeext conftest.$ac_ext
16554 LIBS=$ac_check_lib_save_LIBS
16556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16557 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16558 if test $ac_cv_lib_m_log10 = yes; then
16560 cat >>confdefs.h <<\_ACEOF
16561 #define HAVE_LOG10 1
16562 _ACEOF
16566 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16567 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16568 if test "${ac_cv_lib_m_log10l+set}" = set; then
16569 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 else
16571 ac_check_lib_save_LIBS=$LIBS
16572 LIBS="-lm $LIBS"
16573 if test x$gcc_no_link = xyes; then
16574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16576 { (exit 1); exit 1; }; }
16578 cat >conftest.$ac_ext <<_ACEOF
16579 /* confdefs.h. */
16580 _ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16585 /* Override any gcc2 internal prototype to avoid an error. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 /* We use char because int might match the return type of a gcc2
16590 builtin and then its argument prototype would still apply. */
16591 char log10l ();
16593 main ()
16595 log10l ();
16597 return 0;
16599 _ACEOF
16600 rm -f conftest.$ac_objext conftest$ac_exeext
16601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16602 (eval $ac_link) 2>conftest.er1
16603 ac_status=$?
16604 grep -v '^ *+' conftest.er1 >conftest.err
16605 rm -f conftest.er1
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try='test -z "$ac_c_werror_flag"
16610 || test ! -s conftest.err'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; } &&
16616 { ac_try='test -s conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_cv_lib_m_log10l=yes
16623 else
16624 echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.$ac_ext >&5
16627 ac_cv_lib_m_log10l=no
16629 rm -f conftest.err conftest.$ac_objext \
16630 conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_check_lib_save_LIBS
16633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
16634 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
16635 if test $ac_cv_lib_m_log10l = yes; then
16637 cat >>confdefs.h <<\_ACEOF
16638 #define HAVE_LOG10L 1
16639 _ACEOF
16643 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
16644 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
16645 if test "${ac_cv_lib_m_clog10f+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648 ac_check_lib_save_LIBS=$LIBS
16649 LIBS="-lm $LIBS"
16650 if test x$gcc_no_link = xyes; then
16651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16653 { (exit 1); exit 1; }; }
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h. */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16662 /* Override any gcc2 internal prototype to avoid an error. */
16663 #ifdef __cplusplus
16664 extern "C"
16665 #endif
16666 /* We use char because int might match the return type of a gcc2
16667 builtin and then its argument prototype would still apply. */
16668 char clog10f ();
16670 main ()
16672 clog10f ();
16674 return 0;
16676 _ACEOF
16677 rm -f conftest.$ac_objext conftest$ac_exeext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16679 (eval $ac_link) 2>conftest.er1
16680 ac_status=$?
16681 grep -v '^ *+' conftest.er1 >conftest.err
16682 rm -f conftest.er1
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try='test -z "$ac_c_werror_flag"
16687 || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16690 ac_status=$?
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try='test -s conftest$ac_exeext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16696 ac_status=$?
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16699 ac_cv_lib_m_clog10f=yes
16700 else
16701 echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.$ac_ext >&5
16704 ac_cv_lib_m_clog10f=no
16706 rm -f conftest.err conftest.$ac_objext \
16707 conftest$ac_exeext conftest.$ac_ext
16708 LIBS=$ac_check_lib_save_LIBS
16710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
16711 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
16712 if test $ac_cv_lib_m_clog10f = yes; then
16714 cat >>confdefs.h <<\_ACEOF
16715 #define HAVE_CLOG10F 1
16716 _ACEOF
16720 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16721 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16722 if test "${ac_cv_lib_m_clog10+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16725 ac_check_lib_save_LIBS=$LIBS
16726 LIBS="-lm $LIBS"
16727 if test x$gcc_no_link = xyes; then
16728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16730 { (exit 1); exit 1; }; }
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h. */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16739 /* Override any gcc2 internal prototype to avoid an error. */
16740 #ifdef __cplusplus
16741 extern "C"
16742 #endif
16743 /* We use char because int might match the return type of a gcc2
16744 builtin and then its argument prototype would still apply. */
16745 char clog10 ();
16747 main ()
16749 clog10 ();
16751 return 0;
16753 _ACEOF
16754 rm -f conftest.$ac_objext conftest$ac_exeext
16755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16756 (eval $ac_link) 2>conftest.er1
16757 ac_status=$?
16758 grep -v '^ *+' conftest.er1 >conftest.err
16759 rm -f conftest.er1
16760 cat conftest.err >&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); } &&
16763 { ac_try='test -z "$ac_c_werror_flag"
16764 || test ! -s conftest.err'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16767 ac_status=$?
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; } &&
16770 { ac_try='test -s conftest$ac_exeext'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; }; then
16776 ac_cv_lib_m_clog10=yes
16777 else
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16781 ac_cv_lib_m_clog10=no
16783 rm -f conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16785 LIBS=$ac_check_lib_save_LIBS
16787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16788 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16789 if test $ac_cv_lib_m_clog10 = yes; then
16791 cat >>confdefs.h <<\_ACEOF
16792 #define HAVE_CLOG10 1
16793 _ACEOF
16797 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16798 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16799 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802 ac_check_lib_save_LIBS=$LIBS
16803 LIBS="-lm $LIBS"
16804 if test x$gcc_no_link = xyes; then
16805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16807 { (exit 1); exit 1; }; }
16809 cat >conftest.$ac_ext <<_ACEOF
16810 /* confdefs.h. */
16811 _ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16816 /* Override any gcc2 internal prototype to avoid an error. */
16817 #ifdef __cplusplus
16818 extern "C"
16819 #endif
16820 /* We use char because int might match the return type of a gcc2
16821 builtin and then its argument prototype would still apply. */
16822 char clog10l ();
16824 main ()
16826 clog10l ();
16828 return 0;
16830 _ACEOF
16831 rm -f conftest.$ac_objext conftest$ac_exeext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16833 (eval $ac_link) 2>conftest.er1
16834 ac_status=$?
16835 grep -v '^ *+' conftest.er1 >conftest.err
16836 rm -f conftest.er1
16837 cat conftest.err >&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } &&
16840 { ac_try='test -z "$ac_c_werror_flag"
16841 || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest$ac_exeext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_cv_lib_m_clog10l=yes
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16858 ac_cv_lib_m_clog10l=no
16860 rm -f conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16862 LIBS=$ac_check_lib_save_LIBS
16864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16865 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16866 if test $ac_cv_lib_m_clog10l = yes; then
16868 cat >>confdefs.h <<\_ACEOF
16869 #define HAVE_CLOG10L 1
16870 _ACEOF
16874 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16875 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16876 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 else
16879 ac_check_lib_save_LIBS=$LIBS
16880 LIBS="-lm $LIBS"
16881 if test x$gcc_no_link = xyes; then
16882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16884 { (exit 1); exit 1; }; }
16886 cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h. */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16893 /* Override any gcc2 internal prototype to avoid an error. */
16894 #ifdef __cplusplus
16895 extern "C"
16896 #endif
16897 /* We use char because int might match the return type of a gcc2
16898 builtin and then its argument prototype would still apply. */
16899 char nextafterf ();
16901 main ()
16903 nextafterf ();
16905 return 0;
16907 _ACEOF
16908 rm -f conftest.$ac_objext conftest$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910 (eval $ac_link) 2>conftest.er1
16911 ac_status=$?
16912 grep -v '^ *+' conftest.er1 >conftest.err
16913 rm -f conftest.er1
16914 cat conftest.err >&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
16917 { ac_try='test -z "$ac_c_werror_flag"
16918 || test ! -s conftest.err'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16921 ac_status=$?
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; } &&
16924 { ac_try='test -s conftest$ac_exeext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_cv_lib_m_nextafterf=yes
16931 else
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16935 ac_cv_lib_m_nextafterf=no
16937 rm -f conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 LIBS=$ac_check_lib_save_LIBS
16941 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16942 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16943 if test $ac_cv_lib_m_nextafterf = yes; then
16945 cat >>confdefs.h <<\_ACEOF
16946 #define HAVE_NEXTAFTERF 1
16947 _ACEOF
16951 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16952 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16953 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 ac_check_lib_save_LIBS=$LIBS
16957 LIBS="-lm $LIBS"
16958 if test x$gcc_no_link = xyes; then
16959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16961 { (exit 1); exit 1; }; }
16963 cat >conftest.$ac_ext <<_ACEOF
16964 /* confdefs.h. */
16965 _ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16970 /* Override any gcc2 internal prototype to avoid an error. */
16971 #ifdef __cplusplus
16972 extern "C"
16973 #endif
16974 /* We use char because int might match the return type of a gcc2
16975 builtin and then its argument prototype would still apply. */
16976 char nextafter ();
16978 main ()
16980 nextafter ();
16982 return 0;
16984 _ACEOF
16985 rm -f conftest.$ac_objext conftest$ac_exeext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987 (eval $ac_link) 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } &&
16994 { ac_try='test -z "$ac_c_werror_flag"
16995 || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16998 ac_status=$?
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try='test -s conftest$ac_exeext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_lib_m_nextafter=yes
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 ac_cv_lib_m_nextafter=no
17014 rm -f conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17016 LIBS=$ac_check_lib_save_LIBS
17018 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
17019 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
17020 if test $ac_cv_lib_m_nextafter = yes; then
17022 cat >>confdefs.h <<\_ACEOF
17023 #define HAVE_NEXTAFTER 1
17024 _ACEOF
17028 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
17029 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
17030 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 else
17033 ac_check_lib_save_LIBS=$LIBS
17034 LIBS="-lm $LIBS"
17035 if test x$gcc_no_link = xyes; then
17036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17038 { (exit 1); exit 1; }; }
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17047 /* Override any gcc2 internal prototype to avoid an error. */
17048 #ifdef __cplusplus
17049 extern "C"
17050 #endif
17051 /* We use char because int might match the return type of a gcc2
17052 builtin and then its argument prototype would still apply. */
17053 char nextafterl ();
17055 main ()
17057 nextafterl ();
17059 return 0;
17061 _ACEOF
17062 rm -f conftest.$ac_objext conftest$ac_exeext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17064 (eval $ac_link) 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } &&
17071 { ac_try='test -z "$ac_c_werror_flag"
17072 || test ! -s conftest.err'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try='test -s conftest$ac_exeext'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17081 ac_status=$?
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; }; then
17084 ac_cv_lib_m_nextafterl=yes
17085 else
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17089 ac_cv_lib_m_nextafterl=no
17091 rm -f conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 LIBS=$ac_check_lib_save_LIBS
17095 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
17096 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
17097 if test $ac_cv_lib_m_nextafterl = yes; then
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_NEXTAFTERL 1
17101 _ACEOF
17105 echo "$as_me:$LINENO: checking for powf in -lm" >&5
17106 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
17107 if test "${ac_cv_lib_m_powf+set}" = set; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110 ac_check_lib_save_LIBS=$LIBS
17111 LIBS="-lm $LIBS"
17112 if test x$gcc_no_link = xyes; then
17113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17115 { (exit 1); exit 1; }; }
17117 cat >conftest.$ac_ext <<_ACEOF
17118 /* confdefs.h. */
17119 _ACEOF
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17124 /* Override any gcc2 internal prototype to avoid an error. */
17125 #ifdef __cplusplus
17126 extern "C"
17127 #endif
17128 /* We use char because int might match the return type of a gcc2
17129 builtin and then its argument prototype would still apply. */
17130 char powf ();
17132 main ()
17134 powf ();
17136 return 0;
17138 _ACEOF
17139 rm -f conftest.$ac_objext conftest$ac_exeext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17141 (eval $ac_link) 2>conftest.er1
17142 ac_status=$?
17143 grep -v '^ *+' conftest.er1 >conftest.err
17144 rm -f conftest.er1
17145 cat conftest.err >&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try='test -z "$ac_c_werror_flag"
17149 || test ! -s conftest.err'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17152 ac_status=$?
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; } &&
17155 { ac_try='test -s conftest$ac_exeext'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; }; then
17161 ac_cv_lib_m_powf=yes
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 ac_cv_lib_m_powf=no
17168 rm -f conftest.err conftest.$ac_objext \
17169 conftest$ac_exeext conftest.$ac_ext
17170 LIBS=$ac_check_lib_save_LIBS
17172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17173 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17174 if test $ac_cv_lib_m_powf = yes; then
17176 cat >>confdefs.h <<\_ACEOF
17177 #define HAVE_POWF 1
17178 _ACEOF
17182 echo "$as_me:$LINENO: checking for pow in -lm" >&5
17183 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17184 if test "${ac_cv_lib_m_pow+set}" = set; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 else
17187 ac_check_lib_save_LIBS=$LIBS
17188 LIBS="-lm $LIBS"
17189 if test x$gcc_no_link = xyes; then
17190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17192 { (exit 1); exit 1; }; }
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h. */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17201 /* Override any gcc2 internal prototype to avoid an error. */
17202 #ifdef __cplusplus
17203 extern "C"
17204 #endif
17205 /* We use char because int might match the return type of a gcc2
17206 builtin and then its argument prototype would still apply. */
17207 char pow ();
17209 main ()
17211 pow ();
17213 return 0;
17215 _ACEOF
17216 rm -f conftest.$ac_objext conftest$ac_exeext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17218 (eval $ac_link) 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try='test -z "$ac_c_werror_flag"
17226 || test ! -s conftest.err'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17229 ac_status=$?
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; } &&
17232 { ac_try='test -s conftest$ac_exeext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17235 ac_status=$?
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_cv_lib_m_pow=yes
17239 else
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17243 ac_cv_lib_m_pow=no
17245 rm -f conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 LIBS=$ac_check_lib_save_LIBS
17249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17250 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17251 if test $ac_cv_lib_m_pow = yes; then
17253 cat >>confdefs.h <<\_ACEOF
17254 #define HAVE_POW 1
17255 _ACEOF
17259 echo "$as_me:$LINENO: checking for powl in -lm" >&5
17260 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17261 if test "${ac_cv_lib_m_powl+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 else
17264 ac_check_lib_save_LIBS=$LIBS
17265 LIBS="-lm $LIBS"
17266 if test x$gcc_no_link = xyes; then
17267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17269 { (exit 1); exit 1; }; }
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17278 /* Override any gcc2 internal prototype to avoid an error. */
17279 #ifdef __cplusplus
17280 extern "C"
17281 #endif
17282 /* We use char because int might match the return type of a gcc2
17283 builtin and then its argument prototype would still apply. */
17284 char powl ();
17286 main ()
17288 powl ();
17290 return 0;
17292 _ACEOF
17293 rm -f conftest.$ac_objext conftest$ac_exeext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17295 (eval $ac_link) 2>conftest.er1
17296 ac_status=$?
17297 grep -v '^ *+' conftest.er1 >conftest.err
17298 rm -f conftest.er1
17299 cat conftest.err >&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try='test -z "$ac_c_werror_flag"
17303 || test ! -s conftest.err'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } &&
17309 { ac_try='test -s conftest$ac_exeext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17315 ac_cv_lib_m_powl=yes
17316 else
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17320 ac_cv_lib_m_powl=no
17322 rm -f conftest.err conftest.$ac_objext \
17323 conftest$ac_exeext conftest.$ac_ext
17324 LIBS=$ac_check_lib_save_LIBS
17326 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17327 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17328 if test $ac_cv_lib_m_powl = yes; then
17330 cat >>confdefs.h <<\_ACEOF
17331 #define HAVE_POWL 1
17332 _ACEOF
17336 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17337 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17338 if test "${ac_cv_lib_m_cpowf+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17341 ac_check_lib_save_LIBS=$LIBS
17342 LIBS="-lm $LIBS"
17343 if test x$gcc_no_link = xyes; then
17344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17346 { (exit 1); exit 1; }; }
17348 cat >conftest.$ac_ext <<_ACEOF
17349 /* confdefs.h. */
17350 _ACEOF
17351 cat confdefs.h >>conftest.$ac_ext
17352 cat >>conftest.$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17355 /* Override any gcc2 internal prototype to avoid an error. */
17356 #ifdef __cplusplus
17357 extern "C"
17358 #endif
17359 /* We use char because int might match the return type of a gcc2
17360 builtin and then its argument prototype would still apply. */
17361 char cpowf ();
17363 main ()
17365 cpowf ();
17367 return 0;
17369 _ACEOF
17370 rm -f conftest.$ac_objext conftest$ac_exeext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17372 (eval $ac_link) 2>conftest.er1
17373 ac_status=$?
17374 grep -v '^ *+' conftest.er1 >conftest.err
17375 rm -f conftest.er1
17376 cat conftest.err >&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); } &&
17379 { ac_try='test -z "$ac_c_werror_flag"
17380 || test ! -s conftest.err'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; } &&
17386 { ac_try='test -s conftest$ac_exeext'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17389 ac_status=$?
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 ac_cv_lib_m_cpowf=yes
17393 else
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17397 ac_cv_lib_m_cpowf=no
17399 rm -f conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 LIBS=$ac_check_lib_save_LIBS
17403 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17404 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17405 if test $ac_cv_lib_m_cpowf = yes; then
17407 cat >>confdefs.h <<\_ACEOF
17408 #define HAVE_CPOWF 1
17409 _ACEOF
17413 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17414 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17415 if test "${ac_cv_lib_m_cpow+set}" = set; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 else
17418 ac_check_lib_save_LIBS=$LIBS
17419 LIBS="-lm $LIBS"
17420 if test x$gcc_no_link = xyes; then
17421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17423 { (exit 1); exit 1; }; }
17425 cat >conftest.$ac_ext <<_ACEOF
17426 /* confdefs.h. */
17427 _ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17432 /* Override any gcc2 internal prototype to avoid an error. */
17433 #ifdef __cplusplus
17434 extern "C"
17435 #endif
17436 /* We use char because int might match the return type of a gcc2
17437 builtin and then its argument prototype would still apply. */
17438 char cpow ();
17440 main ()
17442 cpow ();
17444 return 0;
17446 _ACEOF
17447 rm -f conftest.$ac_objext conftest$ac_exeext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17449 (eval $ac_link) 2>conftest.er1
17450 ac_status=$?
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_c_werror_flag"
17457 || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest$ac_exeext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_cv_lib_m_cpow=yes
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17474 ac_cv_lib_m_cpow=no
17476 rm -f conftest.err conftest.$ac_objext \
17477 conftest$ac_exeext conftest.$ac_ext
17478 LIBS=$ac_check_lib_save_LIBS
17480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17481 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17482 if test $ac_cv_lib_m_cpow = yes; then
17484 cat >>confdefs.h <<\_ACEOF
17485 #define HAVE_CPOW 1
17486 _ACEOF
17490 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17491 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17492 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 else
17495 ac_check_lib_save_LIBS=$LIBS
17496 LIBS="-lm $LIBS"
17497 if test x$gcc_no_link = xyes; then
17498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17500 { (exit 1); exit 1; }; }
17502 cat >conftest.$ac_ext <<_ACEOF
17503 /* confdefs.h. */
17504 _ACEOF
17505 cat confdefs.h >>conftest.$ac_ext
17506 cat >>conftest.$ac_ext <<_ACEOF
17507 /* end confdefs.h. */
17509 /* Override any gcc2 internal prototype to avoid an error. */
17510 #ifdef __cplusplus
17511 extern "C"
17512 #endif
17513 /* We use char because int might match the return type of a gcc2
17514 builtin and then its argument prototype would still apply. */
17515 char cpowl ();
17517 main ()
17519 cpowl ();
17521 return 0;
17523 _ACEOF
17524 rm -f conftest.$ac_objext conftest$ac_exeext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17526 (eval $ac_link) 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try='test -z "$ac_c_werror_flag"
17534 || test ! -s conftest.err'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; } &&
17540 { ac_try='test -s conftest$ac_exeext'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; }; then
17546 ac_cv_lib_m_cpowl=yes
17547 else
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17551 ac_cv_lib_m_cpowl=no
17553 rm -f conftest.err conftest.$ac_objext \
17554 conftest$ac_exeext conftest.$ac_ext
17555 LIBS=$ac_check_lib_save_LIBS
17557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17558 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17559 if test $ac_cv_lib_m_cpowl = yes; then
17561 cat >>confdefs.h <<\_ACEOF
17562 #define HAVE_CPOWL 1
17563 _ACEOF
17567 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17568 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17569 if test "${ac_cv_lib_m_roundf+set}" = set; then
17570 echo $ECHO_N "(cached) $ECHO_C" >&6
17571 else
17572 ac_check_lib_save_LIBS=$LIBS
17573 LIBS="-lm $LIBS"
17574 if test x$gcc_no_link = xyes; then
17575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17577 { (exit 1); exit 1; }; }
17579 cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h. */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17586 /* Override any gcc2 internal prototype to avoid an error. */
17587 #ifdef __cplusplus
17588 extern "C"
17589 #endif
17590 /* We use char because int might match the return type of a gcc2
17591 builtin and then its argument prototype would still apply. */
17592 char roundf ();
17594 main ()
17596 roundf ();
17598 return 0;
17600 _ACEOF
17601 rm -f conftest.$ac_objext conftest$ac_exeext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17603 (eval $ac_link) 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_c_werror_flag"
17611 || test ! -s conftest.err'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; } &&
17617 { ac_try='test -s conftest$ac_exeext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17620 ac_status=$?
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 ac_cv_lib_m_roundf=yes
17624 else
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17628 ac_cv_lib_m_roundf=no
17630 rm -f conftest.err conftest.$ac_objext \
17631 conftest$ac_exeext conftest.$ac_ext
17632 LIBS=$ac_check_lib_save_LIBS
17634 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
17635 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
17636 if test $ac_cv_lib_m_roundf = yes; then
17638 cat >>confdefs.h <<\_ACEOF
17639 #define HAVE_ROUNDF 1
17640 _ACEOF
17644 echo "$as_me:$LINENO: checking for round in -lm" >&5
17645 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
17646 if test "${ac_cv_lib_m_round+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 ac_check_lib_save_LIBS=$LIBS
17650 LIBS="-lm $LIBS"
17651 if test x$gcc_no_link = xyes; then
17652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17654 { (exit 1); exit 1; }; }
17656 cat >conftest.$ac_ext <<_ACEOF
17657 /* confdefs.h. */
17658 _ACEOF
17659 cat confdefs.h >>conftest.$ac_ext
17660 cat >>conftest.$ac_ext <<_ACEOF
17661 /* end confdefs.h. */
17663 /* Override any gcc2 internal prototype to avoid an error. */
17664 #ifdef __cplusplus
17665 extern "C"
17666 #endif
17667 /* We use char because int might match the return type of a gcc2
17668 builtin and then its argument prototype would still apply. */
17669 char round ();
17671 main ()
17673 round ();
17675 return 0;
17677 _ACEOF
17678 rm -f conftest.$ac_objext conftest$ac_exeext
17679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17680 (eval $ac_link) 2>conftest.er1
17681 ac_status=$?
17682 grep -v '^ *+' conftest.er1 >conftest.err
17683 rm -f conftest.er1
17684 cat conftest.err >&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try='test -z "$ac_c_werror_flag"
17688 || test ! -s conftest.err'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; } &&
17694 { ac_try='test -s conftest$ac_exeext'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17697 ac_status=$?
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; }; then
17700 ac_cv_lib_m_round=yes
17701 else
17702 echo "$as_me: failed program was:" >&5
17703 sed 's/^/| /' conftest.$ac_ext >&5
17705 ac_cv_lib_m_round=no
17707 rm -f conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_check_lib_save_LIBS
17711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
17712 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
17713 if test $ac_cv_lib_m_round = yes; then
17715 cat >>confdefs.h <<\_ACEOF
17716 #define HAVE_ROUND 1
17717 _ACEOF
17721 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17722 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17723 if test "${ac_cv_lib_m_roundl+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 else
17726 ac_check_lib_save_LIBS=$LIBS
17727 LIBS="-lm $LIBS"
17728 if test x$gcc_no_link = xyes; then
17729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17731 { (exit 1); exit 1; }; }
17733 cat >conftest.$ac_ext <<_ACEOF
17734 /* confdefs.h. */
17735 _ACEOF
17736 cat confdefs.h >>conftest.$ac_ext
17737 cat >>conftest.$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17740 /* Override any gcc2 internal prototype to avoid an error. */
17741 #ifdef __cplusplus
17742 extern "C"
17743 #endif
17744 /* We use char because int might match the return type of a gcc2
17745 builtin and then its argument prototype would still apply. */
17746 char roundl ();
17748 main ()
17750 roundl ();
17752 return 0;
17754 _ACEOF
17755 rm -f conftest.$ac_objext conftest$ac_exeext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17757 (eval $ac_link) 2>conftest.er1
17758 ac_status=$?
17759 grep -v '^ *+' conftest.er1 >conftest.err
17760 rm -f conftest.er1
17761 cat conftest.err >&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try='test -z "$ac_c_werror_flag"
17765 || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17768 ac_status=$?
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try='test -s conftest$ac_exeext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17774 ac_status=$?
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17777 ac_cv_lib_m_roundl=yes
17778 else
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17782 ac_cv_lib_m_roundl=no
17784 rm -f conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 LIBS=$ac_check_lib_save_LIBS
17788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17789 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17790 if test $ac_cv_lib_m_roundl = yes; then
17792 cat >>confdefs.h <<\_ACEOF
17793 #define HAVE_ROUNDL 1
17794 _ACEOF
17798 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17799 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17800 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 else
17803 ac_check_lib_save_LIBS=$LIBS
17804 LIBS="-lm $LIBS"
17805 if test x$gcc_no_link = xyes; then
17806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17808 { (exit 1); exit 1; }; }
17810 cat >conftest.$ac_ext <<_ACEOF
17811 /* confdefs.h. */
17812 _ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17817 /* Override any gcc2 internal prototype to avoid an error. */
17818 #ifdef __cplusplus
17819 extern "C"
17820 #endif
17821 /* We use char because int might match the return type of a gcc2
17822 builtin and then its argument prototype would still apply. */
17823 char scalbnf ();
17825 main ()
17827 scalbnf ();
17829 return 0;
17831 _ACEOF
17832 rm -f conftest.$ac_objext conftest$ac_exeext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17834 (eval $ac_link) 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try='test -z "$ac_c_werror_flag"
17842 || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17845 ac_status=$?
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try='test -s conftest$ac_exeext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17851 ac_status=$?
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 ac_cv_lib_m_scalbnf=yes
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 ac_cv_lib_m_scalbnf=no
17861 rm -f conftest.err conftest.$ac_objext \
17862 conftest$ac_exeext conftest.$ac_ext
17863 LIBS=$ac_check_lib_save_LIBS
17865 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17866 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17867 if test $ac_cv_lib_m_scalbnf = yes; then
17869 cat >>confdefs.h <<\_ACEOF
17870 #define HAVE_SCALBNF 1
17871 _ACEOF
17875 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17876 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17877 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 else
17880 ac_check_lib_save_LIBS=$LIBS
17881 LIBS="-lm $LIBS"
17882 if test x$gcc_no_link = xyes; then
17883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17885 { (exit 1); exit 1; }; }
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17894 /* Override any gcc2 internal prototype to avoid an error. */
17895 #ifdef __cplusplus
17896 extern "C"
17897 #endif
17898 /* We use char because int might match the return type of a gcc2
17899 builtin and then its argument prototype would still apply. */
17900 char scalbn ();
17902 main ()
17904 scalbn ();
17906 return 0;
17908 _ACEOF
17909 rm -f conftest.$ac_objext conftest$ac_exeext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17911 (eval $ac_link) 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } &&
17918 { ac_try='test -z "$ac_c_werror_flag"
17919 || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17922 ac_status=$?
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try='test -s conftest$ac_exeext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17928 ac_status=$?
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17931 ac_cv_lib_m_scalbn=yes
17932 else
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17936 ac_cv_lib_m_scalbn=no
17938 rm -f conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext conftest.$ac_ext
17940 LIBS=$ac_check_lib_save_LIBS
17942 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17943 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17944 if test $ac_cv_lib_m_scalbn = yes; then
17946 cat >>confdefs.h <<\_ACEOF
17947 #define HAVE_SCALBN 1
17948 _ACEOF
17952 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17953 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17954 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957 ac_check_lib_save_LIBS=$LIBS
17958 LIBS="-lm $LIBS"
17959 if test x$gcc_no_link = xyes; then
17960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17962 { (exit 1); exit 1; }; }
17964 cat >conftest.$ac_ext <<_ACEOF
17965 /* confdefs.h. */
17966 _ACEOF
17967 cat confdefs.h >>conftest.$ac_ext
17968 cat >>conftest.$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17971 /* Override any gcc2 internal prototype to avoid an error. */
17972 #ifdef __cplusplus
17973 extern "C"
17974 #endif
17975 /* We use char because int might match the return type of a gcc2
17976 builtin and then its argument prototype would still apply. */
17977 char scalbnl ();
17979 main ()
17981 scalbnl ();
17983 return 0;
17985 _ACEOF
17986 rm -f conftest.$ac_objext conftest$ac_exeext
17987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17988 (eval $ac_link) 2>conftest.er1
17989 ac_status=$?
17990 grep -v '^ *+' conftest.er1 >conftest.err
17991 rm -f conftest.er1
17992 cat conftest.err >&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } &&
17995 { ac_try='test -z "$ac_c_werror_flag"
17996 || test ! -s conftest.err'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; } &&
18002 { ac_try='test -s conftest$ac_exeext'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18005 ac_status=$?
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; }; then
18008 ac_cv_lib_m_scalbnl=yes
18009 else
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18013 ac_cv_lib_m_scalbnl=no
18015 rm -f conftest.err conftest.$ac_objext \
18016 conftest$ac_exeext conftest.$ac_ext
18017 LIBS=$ac_check_lib_save_LIBS
18019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
18020 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
18021 if test $ac_cv_lib_m_scalbnl = yes; then
18023 cat >>confdefs.h <<\_ACEOF
18024 #define HAVE_SCALBNL 1
18025 _ACEOF
18029 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
18030 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
18031 if test "${ac_cv_lib_m_sinf+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034 ac_check_lib_save_LIBS=$LIBS
18035 LIBS="-lm $LIBS"
18036 if test x$gcc_no_link = xyes; then
18037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18039 { (exit 1); exit 1; }; }
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h. */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18048 /* Override any gcc2 internal prototype to avoid an error. */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 /* We use char because int might match the return type of a gcc2
18053 builtin and then its argument prototype would still apply. */
18054 char sinf ();
18056 main ()
18058 sinf ();
18060 return 0;
18062 _ACEOF
18063 rm -f conftest.$ac_objext conftest$ac_exeext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18065 (eval $ac_link) 2>conftest.er1
18066 ac_status=$?
18067 grep -v '^ *+' conftest.er1 >conftest.err
18068 rm -f conftest.er1
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -z "$ac_c_werror_flag"
18073 || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try='test -s conftest$ac_exeext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 ac_cv_lib_m_sinf=yes
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18090 ac_cv_lib_m_sinf=no
18092 rm -f conftest.err conftest.$ac_objext \
18093 conftest$ac_exeext conftest.$ac_ext
18094 LIBS=$ac_check_lib_save_LIBS
18096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
18097 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
18098 if test $ac_cv_lib_m_sinf = yes; then
18100 cat >>confdefs.h <<\_ACEOF
18101 #define HAVE_SINF 1
18102 _ACEOF
18106 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18107 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18108 if test "${ac_cv_lib_m_sin+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 else
18111 ac_check_lib_save_LIBS=$LIBS
18112 LIBS="-lm $LIBS"
18113 if test x$gcc_no_link = xyes; then
18114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18116 { (exit 1); exit 1; }; }
18118 cat >conftest.$ac_ext <<_ACEOF
18119 /* confdefs.h. */
18120 _ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18125 /* Override any gcc2 internal prototype to avoid an error. */
18126 #ifdef __cplusplus
18127 extern "C"
18128 #endif
18129 /* We use char because int might match the return type of a gcc2
18130 builtin and then its argument prototype would still apply. */
18131 char sin ();
18133 main ()
18135 sin ();
18137 return 0;
18139 _ACEOF
18140 rm -f conftest.$ac_objext conftest$ac_exeext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18142 (eval $ac_link) 2>conftest.er1
18143 ac_status=$?
18144 grep -v '^ *+' conftest.er1 >conftest.err
18145 rm -f conftest.er1
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } &&
18149 { ac_try='test -z "$ac_c_werror_flag"
18150 || test ! -s conftest.err'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18153 ac_status=$?
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; } &&
18156 { ac_try='test -s conftest$ac_exeext'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 ac_cv_lib_m_sin=yes
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18167 ac_cv_lib_m_sin=no
18169 rm -f conftest.err conftest.$ac_objext \
18170 conftest$ac_exeext conftest.$ac_ext
18171 LIBS=$ac_check_lib_save_LIBS
18173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18174 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18175 if test $ac_cv_lib_m_sin = yes; then
18177 cat >>confdefs.h <<\_ACEOF
18178 #define HAVE_SIN 1
18179 _ACEOF
18183 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18184 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18185 if test "${ac_cv_lib_m_sinl+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18187 else
18188 ac_check_lib_save_LIBS=$LIBS
18189 LIBS="-lm $LIBS"
18190 if test x$gcc_no_link = xyes; then
18191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18193 { (exit 1); exit 1; }; }
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18202 /* Override any gcc2 internal prototype to avoid an error. */
18203 #ifdef __cplusplus
18204 extern "C"
18205 #endif
18206 /* We use char because int might match the return type of a gcc2
18207 builtin and then its argument prototype would still apply. */
18208 char sinl ();
18210 main ()
18212 sinl ();
18214 return 0;
18216 _ACEOF
18217 rm -f conftest.$ac_objext conftest$ac_exeext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18219 (eval $ac_link) 2>conftest.er1
18220 ac_status=$?
18221 grep -v '^ *+' conftest.er1 >conftest.err
18222 rm -f conftest.er1
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } &&
18226 { ac_try='test -z "$ac_c_werror_flag"
18227 || test ! -s conftest.err'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18230 ac_status=$?
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; } &&
18233 { ac_try='test -s conftest$ac_exeext'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18236 ac_status=$?
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; }; then
18239 ac_cv_lib_m_sinl=yes
18240 else
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18244 ac_cv_lib_m_sinl=no
18246 rm -f conftest.err conftest.$ac_objext \
18247 conftest$ac_exeext conftest.$ac_ext
18248 LIBS=$ac_check_lib_save_LIBS
18250 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18251 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18252 if test $ac_cv_lib_m_sinl = yes; then
18254 cat >>confdefs.h <<\_ACEOF
18255 #define HAVE_SINL 1
18256 _ACEOF
18260 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18261 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18262 if test "${ac_cv_lib_m_csinf+set}" = set; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265 ac_check_lib_save_LIBS=$LIBS
18266 LIBS="-lm $LIBS"
18267 if test x$gcc_no_link = xyes; then
18268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18270 { (exit 1); exit 1; }; }
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18279 /* Override any gcc2 internal prototype to avoid an error. */
18280 #ifdef __cplusplus
18281 extern "C"
18282 #endif
18283 /* We use char because int might match the return type of a gcc2
18284 builtin and then its argument prototype would still apply. */
18285 char csinf ();
18287 main ()
18289 csinf ();
18291 return 0;
18293 _ACEOF
18294 rm -f conftest.$ac_objext conftest$ac_exeext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296 (eval $ac_link) 2>conftest.er1
18297 ac_status=$?
18298 grep -v '^ *+' conftest.er1 >conftest.err
18299 rm -f conftest.er1
18300 cat conftest.err >&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try='test -z "$ac_c_werror_flag"
18304 || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18307 ac_status=$?
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; } &&
18310 { ac_try='test -s conftest$ac_exeext'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18316 ac_cv_lib_m_csinf=yes
18317 else
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18321 ac_cv_lib_m_csinf=no
18323 rm -f conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18325 LIBS=$ac_check_lib_save_LIBS
18327 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18328 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18329 if test $ac_cv_lib_m_csinf = yes; then
18331 cat >>confdefs.h <<\_ACEOF
18332 #define HAVE_CSINF 1
18333 _ACEOF
18337 echo "$as_me:$LINENO: checking for csin in -lm" >&5
18338 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18339 if test "${ac_cv_lib_m_csin+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 else
18342 ac_check_lib_save_LIBS=$LIBS
18343 LIBS="-lm $LIBS"
18344 if test x$gcc_no_link = xyes; then
18345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18347 { (exit 1); exit 1; }; }
18349 cat >conftest.$ac_ext <<_ACEOF
18350 /* confdefs.h. */
18351 _ACEOF
18352 cat confdefs.h >>conftest.$ac_ext
18353 cat >>conftest.$ac_ext <<_ACEOF
18354 /* end confdefs.h. */
18356 /* Override any gcc2 internal prototype to avoid an error. */
18357 #ifdef __cplusplus
18358 extern "C"
18359 #endif
18360 /* We use char because int might match the return type of a gcc2
18361 builtin and then its argument prototype would still apply. */
18362 char csin ();
18364 main ()
18366 csin ();
18368 return 0;
18370 _ACEOF
18371 rm -f conftest.$ac_objext conftest$ac_exeext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18373 (eval $ac_link) 2>conftest.er1
18374 ac_status=$?
18375 grep -v '^ *+' conftest.er1 >conftest.err
18376 rm -f conftest.er1
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try='test -z "$ac_c_werror_flag"
18381 || test ! -s conftest.err'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18384 ac_status=$?
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try='test -s conftest$ac_exeext'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18390 ac_status=$?
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18393 ac_cv_lib_m_csin=yes
18394 else
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18398 ac_cv_lib_m_csin=no
18400 rm -f conftest.err conftest.$ac_objext \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18405 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18406 if test $ac_cv_lib_m_csin = yes; then
18408 cat >>confdefs.h <<\_ACEOF
18409 #define HAVE_CSIN 1
18410 _ACEOF
18414 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18415 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18416 if test "${ac_cv_lib_m_csinl+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18418 else
18419 ac_check_lib_save_LIBS=$LIBS
18420 LIBS="-lm $LIBS"
18421 if test x$gcc_no_link = xyes; then
18422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18424 { (exit 1); exit 1; }; }
18426 cat >conftest.$ac_ext <<_ACEOF
18427 /* confdefs.h. */
18428 _ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18433 /* Override any gcc2 internal prototype to avoid an error. */
18434 #ifdef __cplusplus
18435 extern "C"
18436 #endif
18437 /* We use char because int might match the return type of a gcc2
18438 builtin and then its argument prototype would still apply. */
18439 char csinl ();
18441 main ()
18443 csinl ();
18445 return 0;
18447 _ACEOF
18448 rm -f conftest.$ac_objext conftest$ac_exeext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18450 (eval $ac_link) 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try='test -z "$ac_c_werror_flag"
18458 || test ! -s conftest.err'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; } &&
18464 { ac_try='test -s conftest$ac_exeext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 ac_cv_lib_m_csinl=yes
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18475 ac_cv_lib_m_csinl=no
18477 rm -f conftest.err conftest.$ac_objext \
18478 conftest$ac_exeext conftest.$ac_ext
18479 LIBS=$ac_check_lib_save_LIBS
18481 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18482 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18483 if test $ac_cv_lib_m_csinl = yes; then
18485 cat >>confdefs.h <<\_ACEOF
18486 #define HAVE_CSINL 1
18487 _ACEOF
18491 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18492 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18493 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 else
18496 ac_check_lib_save_LIBS=$LIBS
18497 LIBS="-lm $LIBS"
18498 if test x$gcc_no_link = xyes; then
18499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18501 { (exit 1); exit 1; }; }
18503 cat >conftest.$ac_ext <<_ACEOF
18504 /* confdefs.h. */
18505 _ACEOF
18506 cat confdefs.h >>conftest.$ac_ext
18507 cat >>conftest.$ac_ext <<_ACEOF
18508 /* end confdefs.h. */
18510 /* Override any gcc2 internal prototype to avoid an error. */
18511 #ifdef __cplusplus
18512 extern "C"
18513 #endif
18514 /* We use char because int might match the return type of a gcc2
18515 builtin and then its argument prototype would still apply. */
18516 char sinhf ();
18518 main ()
18520 sinhf ();
18522 return 0;
18524 _ACEOF
18525 rm -f conftest.$ac_objext conftest$ac_exeext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18527 (eval $ac_link) 2>conftest.er1
18528 ac_status=$?
18529 grep -v '^ *+' conftest.er1 >conftest.err
18530 rm -f conftest.er1
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18538 ac_status=$?
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; } &&
18541 { ac_try='test -s conftest$ac_exeext'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18544 ac_status=$?
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_cv_lib_m_sinhf=yes
18548 else
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18552 ac_cv_lib_m_sinhf=no
18554 rm -f conftest.err conftest.$ac_objext \
18555 conftest$ac_exeext conftest.$ac_ext
18556 LIBS=$ac_check_lib_save_LIBS
18558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18559 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18560 if test $ac_cv_lib_m_sinhf = yes; then
18562 cat >>confdefs.h <<\_ACEOF
18563 #define HAVE_SINHF 1
18564 _ACEOF
18568 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18569 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18570 if test "${ac_cv_lib_m_sinh+set}" = set; then
18571 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 else
18573 ac_check_lib_save_LIBS=$LIBS
18574 LIBS="-lm $LIBS"
18575 if test x$gcc_no_link = xyes; then
18576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18578 { (exit 1); exit 1; }; }
18580 cat >conftest.$ac_ext <<_ACEOF
18581 /* confdefs.h. */
18582 _ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18587 /* Override any gcc2 internal prototype to avoid an error. */
18588 #ifdef __cplusplus
18589 extern "C"
18590 #endif
18591 /* We use char because int might match the return type of a gcc2
18592 builtin and then its argument prototype would still apply. */
18593 char sinh ();
18595 main ()
18597 sinh ();
18599 return 0;
18601 _ACEOF
18602 rm -f conftest.$ac_objext conftest$ac_exeext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18604 (eval $ac_link) 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try='test -z "$ac_c_werror_flag"
18612 || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try='test -s conftest$ac_exeext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18621 ac_status=$?
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 ac_cv_lib_m_sinh=yes
18625 else
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18629 ac_cv_lib_m_sinh=no
18631 rm -f conftest.err conftest.$ac_objext \
18632 conftest$ac_exeext conftest.$ac_ext
18633 LIBS=$ac_check_lib_save_LIBS
18635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
18636 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
18637 if test $ac_cv_lib_m_sinh = yes; then
18639 cat >>confdefs.h <<\_ACEOF
18640 #define HAVE_SINH 1
18641 _ACEOF
18645 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
18646 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
18647 if test "${ac_cv_lib_m_sinhl+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 else
18650 ac_check_lib_save_LIBS=$LIBS
18651 LIBS="-lm $LIBS"
18652 if test x$gcc_no_link = xyes; then
18653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18655 { (exit 1); exit 1; }; }
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h. */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18664 /* Override any gcc2 internal prototype to avoid an error. */
18665 #ifdef __cplusplus
18666 extern "C"
18667 #endif
18668 /* We use char because int might match the return type of a gcc2
18669 builtin and then its argument prototype would still apply. */
18670 char sinhl ();
18672 main ()
18674 sinhl ();
18676 return 0;
18678 _ACEOF
18679 rm -f conftest.$ac_objext conftest$ac_exeext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18681 (eval $ac_link) 2>conftest.er1
18682 ac_status=$?
18683 grep -v '^ *+' conftest.er1 >conftest.err
18684 rm -f conftest.er1
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try='test -z "$ac_c_werror_flag"
18689 || test ! -s conftest.err'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18692 ac_status=$?
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try='test -s conftest$ac_exeext'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18698 ac_status=$?
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
18701 ac_cv_lib_m_sinhl=yes
18702 else
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18706 ac_cv_lib_m_sinhl=no
18708 rm -f conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18710 LIBS=$ac_check_lib_save_LIBS
18712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
18713 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
18714 if test $ac_cv_lib_m_sinhl = yes; then
18716 cat >>confdefs.h <<\_ACEOF
18717 #define HAVE_SINHL 1
18718 _ACEOF
18722 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18723 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18724 if test "${ac_cv_lib_m_csinhf+set}" = set; then
18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18726 else
18727 ac_check_lib_save_LIBS=$LIBS
18728 LIBS="-lm $LIBS"
18729 if test x$gcc_no_link = xyes; then
18730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18732 { (exit 1); exit 1; }; }
18734 cat >conftest.$ac_ext <<_ACEOF
18735 /* confdefs.h. */
18736 _ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18741 /* Override any gcc2 internal prototype to avoid an error. */
18742 #ifdef __cplusplus
18743 extern "C"
18744 #endif
18745 /* We use char because int might match the return type of a gcc2
18746 builtin and then its argument prototype would still apply. */
18747 char csinhf ();
18749 main ()
18751 csinhf ();
18753 return 0;
18755 _ACEOF
18756 rm -f conftest.$ac_objext conftest$ac_exeext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18758 (eval $ac_link) 2>conftest.er1
18759 ac_status=$?
18760 grep -v '^ *+' conftest.er1 >conftest.err
18761 rm -f conftest.er1
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try='test -z "$ac_c_werror_flag"
18766 || test ! -s conftest.err'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18769 ac_status=$?
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; } &&
18772 { ac_try='test -s conftest$ac_exeext'
18773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774 (eval $ac_try) 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; }; then
18778 ac_cv_lib_m_csinhf=yes
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 ac_cv_lib_m_csinhf=no
18785 rm -f conftest.err conftest.$ac_objext \
18786 conftest$ac_exeext conftest.$ac_ext
18787 LIBS=$ac_check_lib_save_LIBS
18789 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18790 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18791 if test $ac_cv_lib_m_csinhf = yes; then
18793 cat >>confdefs.h <<\_ACEOF
18794 #define HAVE_CSINHF 1
18795 _ACEOF
18799 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18800 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18801 if test "${ac_cv_lib_m_csinh+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 else
18804 ac_check_lib_save_LIBS=$LIBS
18805 LIBS="-lm $LIBS"
18806 if test x$gcc_no_link = xyes; then
18807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18809 { (exit 1); exit 1; }; }
18811 cat >conftest.$ac_ext <<_ACEOF
18812 /* confdefs.h. */
18813 _ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18818 /* Override any gcc2 internal prototype to avoid an error. */
18819 #ifdef __cplusplus
18820 extern "C"
18821 #endif
18822 /* We use char because int might match the return type of a gcc2
18823 builtin and then its argument prototype would still apply. */
18824 char csinh ();
18826 main ()
18828 csinh ();
18830 return 0;
18832 _ACEOF
18833 rm -f conftest.$ac_objext conftest$ac_exeext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18835 (eval $ac_link) 2>conftest.er1
18836 ac_status=$?
18837 grep -v '^ *+' conftest.er1 >conftest.err
18838 rm -f conftest.er1
18839 cat conftest.err >&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try='test -z "$ac_c_werror_flag"
18843 || test ! -s conftest.err'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18846 ac_status=$?
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; } &&
18849 { ac_try='test -s conftest$ac_exeext'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18852 ac_status=$?
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; }; then
18855 ac_cv_lib_m_csinh=yes
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 ac_cv_lib_m_csinh=no
18862 rm -f conftest.err conftest.$ac_objext \
18863 conftest$ac_exeext conftest.$ac_ext
18864 LIBS=$ac_check_lib_save_LIBS
18866 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18867 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18868 if test $ac_cv_lib_m_csinh = yes; then
18870 cat >>confdefs.h <<\_ACEOF
18871 #define HAVE_CSINH 1
18872 _ACEOF
18876 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18877 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18878 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881 ac_check_lib_save_LIBS=$LIBS
18882 LIBS="-lm $LIBS"
18883 if test x$gcc_no_link = xyes; then
18884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18886 { (exit 1); exit 1; }; }
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h. */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18895 /* Override any gcc2 internal prototype to avoid an error. */
18896 #ifdef __cplusplus
18897 extern "C"
18898 #endif
18899 /* We use char because int might match the return type of a gcc2
18900 builtin and then its argument prototype would still apply. */
18901 char csinhl ();
18903 main ()
18905 csinhl ();
18907 return 0;
18909 _ACEOF
18910 rm -f conftest.$ac_objext conftest$ac_exeext
18911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18912 (eval $ac_link) 2>conftest.er1
18913 ac_status=$?
18914 grep -v '^ *+' conftest.er1 >conftest.err
18915 rm -f conftest.er1
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } &&
18919 { ac_try='test -z "$ac_c_werror_flag"
18920 || test ! -s conftest.err'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18923 ac_status=$?
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; } &&
18926 { ac_try='test -s conftest$ac_exeext'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; }; then
18932 ac_cv_lib_m_csinhl=yes
18933 else
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 ac_cv_lib_m_csinhl=no
18939 rm -f conftest.err conftest.$ac_objext \
18940 conftest$ac_exeext conftest.$ac_ext
18941 LIBS=$ac_check_lib_save_LIBS
18943 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18944 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18945 if test $ac_cv_lib_m_csinhl = yes; then
18947 cat >>confdefs.h <<\_ACEOF
18948 #define HAVE_CSINHL 1
18949 _ACEOF
18953 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18954 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18955 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958 ac_check_lib_save_LIBS=$LIBS
18959 LIBS="-lm $LIBS"
18960 if test x$gcc_no_link = xyes; then
18961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18963 { (exit 1); exit 1; }; }
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18972 /* Override any gcc2 internal prototype to avoid an error. */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 /* We use char because int might match the return type of a gcc2
18977 builtin and then its argument prototype would still apply. */
18978 char sqrtf ();
18980 main ()
18982 sqrtf ();
18984 return 0;
18986 _ACEOF
18987 rm -f conftest.$ac_objext conftest$ac_exeext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18989 (eval $ac_link) 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try='test -z "$ac_c_werror_flag"
18997 || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try='test -s conftest$ac_exeext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 ac_cv_lib_m_sqrtf=yes
19010 else
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19014 ac_cv_lib_m_sqrtf=no
19016 rm -f conftest.err conftest.$ac_objext \
19017 conftest$ac_exeext conftest.$ac_ext
19018 LIBS=$ac_check_lib_save_LIBS
19020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
19021 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
19022 if test $ac_cv_lib_m_sqrtf = yes; then
19024 cat >>confdefs.h <<\_ACEOF
19025 #define HAVE_SQRTF 1
19026 _ACEOF
19030 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
19031 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
19032 if test "${ac_cv_lib_m_sqrt+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 ac_check_lib_save_LIBS=$LIBS
19036 LIBS="-lm $LIBS"
19037 if test x$gcc_no_link = xyes; then
19038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19040 { (exit 1); exit 1; }; }
19042 cat >conftest.$ac_ext <<_ACEOF
19043 /* confdefs.h. */
19044 _ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19049 /* Override any gcc2 internal prototype to avoid an error. */
19050 #ifdef __cplusplus
19051 extern "C"
19052 #endif
19053 /* We use char because int might match the return type of a gcc2
19054 builtin and then its argument prototype would still apply. */
19055 char sqrt ();
19057 main ()
19059 sqrt ();
19061 return 0;
19063 _ACEOF
19064 rm -f conftest.$ac_objext conftest$ac_exeext
19065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19066 (eval $ac_link) 2>conftest.er1
19067 ac_status=$?
19068 grep -v '^ *+' conftest.er1 >conftest.err
19069 rm -f conftest.er1
19070 cat conftest.err >&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } &&
19073 { ac_try='test -z "$ac_c_werror_flag"
19074 || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19077 ac_status=$?
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try='test -s conftest$ac_exeext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19083 ac_status=$?
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_cv_lib_m_sqrt=yes
19087 else
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19091 ac_cv_lib_m_sqrt=no
19093 rm -f conftest.err conftest.$ac_objext \
19094 conftest$ac_exeext conftest.$ac_ext
19095 LIBS=$ac_check_lib_save_LIBS
19097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
19098 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
19099 if test $ac_cv_lib_m_sqrt = yes; then
19101 cat >>confdefs.h <<\_ACEOF
19102 #define HAVE_SQRT 1
19103 _ACEOF
19107 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
19108 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
19109 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19111 else
19112 ac_check_lib_save_LIBS=$LIBS
19113 LIBS="-lm $LIBS"
19114 if test x$gcc_no_link = xyes; then
19115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19117 { (exit 1); exit 1; }; }
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19126 /* Override any gcc2 internal prototype to avoid an error. */
19127 #ifdef __cplusplus
19128 extern "C"
19129 #endif
19130 /* We use char because int might match the return type of a gcc2
19131 builtin and then its argument prototype would still apply. */
19132 char sqrtl ();
19134 main ()
19136 sqrtl ();
19138 return 0;
19140 _ACEOF
19141 rm -f conftest.$ac_objext conftest$ac_exeext
19142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19143 (eval $ac_link) 2>conftest.er1
19144 ac_status=$?
19145 grep -v '^ *+' conftest.er1 >conftest.err
19146 rm -f conftest.er1
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try='test -z "$ac_c_werror_flag"
19151 || test ! -s conftest.err'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; } &&
19157 { ac_try='test -s conftest$ac_exeext'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19160 ac_status=$?
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 ac_cv_lib_m_sqrtl=yes
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19168 ac_cv_lib_m_sqrtl=no
19170 rm -f conftest.err conftest.$ac_objext \
19171 conftest$ac_exeext conftest.$ac_ext
19172 LIBS=$ac_check_lib_save_LIBS
19174 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19175 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19176 if test $ac_cv_lib_m_sqrtl = yes; then
19178 cat >>confdefs.h <<\_ACEOF
19179 #define HAVE_SQRTL 1
19180 _ACEOF
19184 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19185 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19186 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 else
19189 ac_check_lib_save_LIBS=$LIBS
19190 LIBS="-lm $LIBS"
19191 if test x$gcc_no_link = xyes; then
19192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19194 { (exit 1); exit 1; }; }
19196 cat >conftest.$ac_ext <<_ACEOF
19197 /* confdefs.h. */
19198 _ACEOF
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19203 /* Override any gcc2 internal prototype to avoid an error. */
19204 #ifdef __cplusplus
19205 extern "C"
19206 #endif
19207 /* We use char because int might match the return type of a gcc2
19208 builtin and then its argument prototype would still apply. */
19209 char csqrtf ();
19211 main ()
19213 csqrtf ();
19215 return 0;
19217 _ACEOF
19218 rm -f conftest.$ac_objext conftest$ac_exeext
19219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19220 (eval $ac_link) 2>conftest.er1
19221 ac_status=$?
19222 grep -v '^ *+' conftest.er1 >conftest.err
19223 rm -f conftest.er1
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } &&
19227 { ac_try='test -z "$ac_c_werror_flag"
19228 || test ! -s conftest.err'
19229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230 (eval $ac_try) 2>&5
19231 ac_status=$?
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; } &&
19234 { ac_try='test -s conftest$ac_exeext'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19237 ac_status=$?
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; }; then
19240 ac_cv_lib_m_csqrtf=yes
19241 else
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5
19245 ac_cv_lib_m_csqrtf=no
19247 rm -f conftest.err conftest.$ac_objext \
19248 conftest$ac_exeext conftest.$ac_ext
19249 LIBS=$ac_check_lib_save_LIBS
19251 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19252 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19253 if test $ac_cv_lib_m_csqrtf = yes; then
19255 cat >>confdefs.h <<\_ACEOF
19256 #define HAVE_CSQRTF 1
19257 _ACEOF
19261 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19262 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19263 if test "${ac_cv_lib_m_csqrt+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 else
19266 ac_check_lib_save_LIBS=$LIBS
19267 LIBS="-lm $LIBS"
19268 if test x$gcc_no_link = xyes; then
19269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19271 { (exit 1); exit 1; }; }
19273 cat >conftest.$ac_ext <<_ACEOF
19274 /* confdefs.h. */
19275 _ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19280 /* Override any gcc2 internal prototype to avoid an error. */
19281 #ifdef __cplusplus
19282 extern "C"
19283 #endif
19284 /* We use char because int might match the return type of a gcc2
19285 builtin and then its argument prototype would still apply. */
19286 char csqrt ();
19288 main ()
19290 csqrt ();
19292 return 0;
19294 _ACEOF
19295 rm -f conftest.$ac_objext conftest$ac_exeext
19296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19297 (eval $ac_link) 2>conftest.er1
19298 ac_status=$?
19299 grep -v '^ *+' conftest.er1 >conftest.err
19300 rm -f conftest.er1
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); } &&
19304 { ac_try='test -z "$ac_c_werror_flag"
19305 || test ! -s conftest.err'
19306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19307 (eval $ac_try) 2>&5
19308 ac_status=$?
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); }; } &&
19311 { ac_try='test -s conftest$ac_exeext'
19312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19313 (eval $ac_try) 2>&5
19314 ac_status=$?
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); }; }; then
19317 ac_cv_lib_m_csqrt=yes
19318 else
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.$ac_ext >&5
19322 ac_cv_lib_m_csqrt=no
19324 rm -f conftest.err conftest.$ac_objext \
19325 conftest$ac_exeext conftest.$ac_ext
19326 LIBS=$ac_check_lib_save_LIBS
19328 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19329 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19330 if test $ac_cv_lib_m_csqrt = yes; then
19332 cat >>confdefs.h <<\_ACEOF
19333 #define HAVE_CSQRT 1
19334 _ACEOF
19338 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19339 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19340 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19341 echo $ECHO_N "(cached) $ECHO_C" >&6
19342 else
19343 ac_check_lib_save_LIBS=$LIBS
19344 LIBS="-lm $LIBS"
19345 if test x$gcc_no_link = xyes; then
19346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19348 { (exit 1); exit 1; }; }
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19357 /* Override any gcc2 internal prototype to avoid an error. */
19358 #ifdef __cplusplus
19359 extern "C"
19360 #endif
19361 /* We use char because int might match the return type of a gcc2
19362 builtin and then its argument prototype would still apply. */
19363 char csqrtl ();
19365 main ()
19367 csqrtl ();
19369 return 0;
19371 _ACEOF
19372 rm -f conftest.$ac_objext conftest$ac_exeext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19374 (eval $ac_link) 2>conftest.er1
19375 ac_status=$?
19376 grep -v '^ *+' conftest.er1 >conftest.err
19377 rm -f conftest.er1
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } &&
19381 { ac_try='test -z "$ac_c_werror_flag"
19382 || test ! -s conftest.err'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; } &&
19388 { ac_try='test -s conftest$ac_exeext'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; }; then
19394 ac_cv_lib_m_csqrtl=yes
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 ac_cv_lib_m_csqrtl=no
19401 rm -f conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext conftest.$ac_ext
19403 LIBS=$ac_check_lib_save_LIBS
19405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19406 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19407 if test $ac_cv_lib_m_csqrtl = yes; then
19409 cat >>confdefs.h <<\_ACEOF
19410 #define HAVE_CSQRTL 1
19411 _ACEOF
19415 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19416 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19417 if test "${ac_cv_lib_m_tanf+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19419 else
19420 ac_check_lib_save_LIBS=$LIBS
19421 LIBS="-lm $LIBS"
19422 if test x$gcc_no_link = xyes; then
19423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19425 { (exit 1); exit 1; }; }
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19434 /* Override any gcc2 internal prototype to avoid an error. */
19435 #ifdef __cplusplus
19436 extern "C"
19437 #endif
19438 /* We use char because int might match the return type of a gcc2
19439 builtin and then its argument prototype would still apply. */
19440 char tanf ();
19442 main ()
19444 tanf ();
19446 return 0;
19448 _ACEOF
19449 rm -f conftest.$ac_objext conftest$ac_exeext
19450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19451 (eval $ac_link) 2>conftest.er1
19452 ac_status=$?
19453 grep -v '^ *+' conftest.er1 >conftest.err
19454 rm -f conftest.er1
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try='test -z "$ac_c_werror_flag"
19459 || test ! -s conftest.err'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; } &&
19465 { ac_try='test -s conftest$ac_exeext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19468 ac_status=$?
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 ac_cv_lib_m_tanf=yes
19472 else
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 ac_cv_lib_m_tanf=no
19478 rm -f conftest.err conftest.$ac_objext \
19479 conftest$ac_exeext conftest.$ac_ext
19480 LIBS=$ac_check_lib_save_LIBS
19482 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19483 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19484 if test $ac_cv_lib_m_tanf = yes; then
19486 cat >>confdefs.h <<\_ACEOF
19487 #define HAVE_TANF 1
19488 _ACEOF
19492 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19493 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19494 if test "${ac_cv_lib_m_tan+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 else
19497 ac_check_lib_save_LIBS=$LIBS
19498 LIBS="-lm $LIBS"
19499 if test x$gcc_no_link = xyes; then
19500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19502 { (exit 1); exit 1; }; }
19504 cat >conftest.$ac_ext <<_ACEOF
19505 /* confdefs.h. */
19506 _ACEOF
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19511 /* Override any gcc2 internal prototype to avoid an error. */
19512 #ifdef __cplusplus
19513 extern "C"
19514 #endif
19515 /* We use char because int might match the return type of a gcc2
19516 builtin and then its argument prototype would still apply. */
19517 char tan ();
19519 main ()
19521 tan ();
19523 return 0;
19525 _ACEOF
19526 rm -f conftest.$ac_objext conftest$ac_exeext
19527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19528 (eval $ac_link) 2>conftest.er1
19529 ac_status=$?
19530 grep -v '^ *+' conftest.er1 >conftest.err
19531 rm -f conftest.er1
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } &&
19535 { ac_try='test -z "$ac_c_werror_flag"
19536 || test ! -s conftest.err'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19539 ac_status=$?
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; } &&
19542 { ac_try='test -s conftest$ac_exeext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19545 ac_status=$?
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19548 ac_cv_lib_m_tan=yes
19549 else
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19553 ac_cv_lib_m_tan=no
19555 rm -f conftest.err conftest.$ac_objext \
19556 conftest$ac_exeext conftest.$ac_ext
19557 LIBS=$ac_check_lib_save_LIBS
19559 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19560 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19561 if test $ac_cv_lib_m_tan = yes; then
19563 cat >>confdefs.h <<\_ACEOF
19564 #define HAVE_TAN 1
19565 _ACEOF
19569 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19570 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19571 if test "${ac_cv_lib_m_tanl+set}" = set; then
19572 echo $ECHO_N "(cached) $ECHO_C" >&6
19573 else
19574 ac_check_lib_save_LIBS=$LIBS
19575 LIBS="-lm $LIBS"
19576 if test x$gcc_no_link = xyes; then
19577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19579 { (exit 1); exit 1; }; }
19581 cat >conftest.$ac_ext <<_ACEOF
19582 /* confdefs.h. */
19583 _ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19588 /* Override any gcc2 internal prototype to avoid an error. */
19589 #ifdef __cplusplus
19590 extern "C"
19591 #endif
19592 /* We use char because int might match the return type of a gcc2
19593 builtin and then its argument prototype would still apply. */
19594 char tanl ();
19596 main ()
19598 tanl ();
19600 return 0;
19602 _ACEOF
19603 rm -f conftest.$ac_objext conftest$ac_exeext
19604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19605 (eval $ac_link) 2>conftest.er1
19606 ac_status=$?
19607 grep -v '^ *+' conftest.er1 >conftest.err
19608 rm -f conftest.er1
19609 cat conftest.err >&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); } &&
19612 { ac_try='test -z "$ac_c_werror_flag"
19613 || test ! -s conftest.err'
19614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19615 (eval $ac_try) 2>&5
19616 ac_status=$?
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); }; } &&
19619 { ac_try='test -s conftest$ac_exeext'
19620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19621 (eval $ac_try) 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; }; then
19625 ac_cv_lib_m_tanl=yes
19626 else
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19630 ac_cv_lib_m_tanl=no
19632 rm -f conftest.err conftest.$ac_objext \
19633 conftest$ac_exeext conftest.$ac_ext
19634 LIBS=$ac_check_lib_save_LIBS
19636 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
19637 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
19638 if test $ac_cv_lib_m_tanl = yes; then
19640 cat >>confdefs.h <<\_ACEOF
19641 #define HAVE_TANL 1
19642 _ACEOF
19646 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
19647 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
19648 if test "${ac_cv_lib_m_ctanf+set}" = set; then
19649 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 else
19651 ac_check_lib_save_LIBS=$LIBS
19652 LIBS="-lm $LIBS"
19653 if test x$gcc_no_link = xyes; then
19654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19656 { (exit 1); exit 1; }; }
19658 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */
19660 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19665 /* Override any gcc2 internal prototype to avoid an error. */
19666 #ifdef __cplusplus
19667 extern "C"
19668 #endif
19669 /* We use char because int might match the return type of a gcc2
19670 builtin and then its argument prototype would still apply. */
19671 char ctanf ();
19673 main ()
19675 ctanf ();
19677 return 0;
19679 _ACEOF
19680 rm -f conftest.$ac_objext conftest$ac_exeext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19682 (eval $ac_link) 2>conftest.er1
19683 ac_status=$?
19684 grep -v '^ *+' conftest.er1 >conftest.err
19685 rm -f conftest.er1
19686 cat conftest.err >&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } &&
19689 { ac_try='test -z "$ac_c_werror_flag"
19690 || test ! -s conftest.err'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; } &&
19696 { ac_try='test -s conftest$ac_exeext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19699 ac_status=$?
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_cv_lib_m_ctanf=yes
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 ac_cv_lib_m_ctanf=no
19709 rm -f conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext conftest.$ac_ext
19711 LIBS=$ac_check_lib_save_LIBS
19713 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
19714 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
19715 if test $ac_cv_lib_m_ctanf = yes; then
19717 cat >>confdefs.h <<\_ACEOF
19718 #define HAVE_CTANF 1
19719 _ACEOF
19723 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19724 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19725 if test "${ac_cv_lib_m_ctan+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 ac_check_lib_save_LIBS=$LIBS
19729 LIBS="-lm $LIBS"
19730 if test x$gcc_no_link = xyes; then
19731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19733 { (exit 1); exit 1; }; }
19735 cat >conftest.$ac_ext <<_ACEOF
19736 /* confdefs.h. */
19737 _ACEOF
19738 cat confdefs.h >>conftest.$ac_ext
19739 cat >>conftest.$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19742 /* Override any gcc2 internal prototype to avoid an error. */
19743 #ifdef __cplusplus
19744 extern "C"
19745 #endif
19746 /* We use char because int might match the return type of a gcc2
19747 builtin and then its argument prototype would still apply. */
19748 char ctan ();
19750 main ()
19752 ctan ();
19754 return 0;
19756 _ACEOF
19757 rm -f conftest.$ac_objext conftest$ac_exeext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19759 (eval $ac_link) 2>conftest.er1
19760 ac_status=$?
19761 grep -v '^ *+' conftest.er1 >conftest.err
19762 rm -f conftest.er1
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } &&
19766 { ac_try='test -z "$ac_c_werror_flag"
19767 || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try='test -s conftest$ac_exeext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19776 ac_status=$?
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19779 ac_cv_lib_m_ctan=yes
19780 else
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.$ac_ext >&5
19784 ac_cv_lib_m_ctan=no
19786 rm -f conftest.err conftest.$ac_objext \
19787 conftest$ac_exeext conftest.$ac_ext
19788 LIBS=$ac_check_lib_save_LIBS
19790 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19791 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19792 if test $ac_cv_lib_m_ctan = yes; then
19794 cat >>confdefs.h <<\_ACEOF
19795 #define HAVE_CTAN 1
19796 _ACEOF
19800 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19801 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19802 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19804 else
19805 ac_check_lib_save_LIBS=$LIBS
19806 LIBS="-lm $LIBS"
19807 if test x$gcc_no_link = xyes; then
19808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19810 { (exit 1); exit 1; }; }
19812 cat >conftest.$ac_ext <<_ACEOF
19813 /* confdefs.h. */
19814 _ACEOF
19815 cat confdefs.h >>conftest.$ac_ext
19816 cat >>conftest.$ac_ext <<_ACEOF
19817 /* end confdefs.h. */
19819 /* Override any gcc2 internal prototype to avoid an error. */
19820 #ifdef __cplusplus
19821 extern "C"
19822 #endif
19823 /* We use char because int might match the return type of a gcc2
19824 builtin and then its argument prototype would still apply. */
19825 char ctanl ();
19827 main ()
19829 ctanl ();
19831 return 0;
19833 _ACEOF
19834 rm -f conftest.$ac_objext conftest$ac_exeext
19835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19836 (eval $ac_link) 2>conftest.er1
19837 ac_status=$?
19838 grep -v '^ *+' conftest.er1 >conftest.err
19839 rm -f conftest.er1
19840 cat conftest.err >&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); } &&
19843 { ac_try='test -z "$ac_c_werror_flag"
19844 || test ! -s conftest.err'
19845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846 (eval $ac_try) 2>&5
19847 ac_status=$?
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; } &&
19850 { ac_try='test -s conftest$ac_exeext'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19853 ac_status=$?
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19856 ac_cv_lib_m_ctanl=yes
19857 else
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.$ac_ext >&5
19861 ac_cv_lib_m_ctanl=no
19863 rm -f conftest.err conftest.$ac_objext \
19864 conftest$ac_exeext conftest.$ac_ext
19865 LIBS=$ac_check_lib_save_LIBS
19867 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19868 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19869 if test $ac_cv_lib_m_ctanl = yes; then
19871 cat >>confdefs.h <<\_ACEOF
19872 #define HAVE_CTANL 1
19873 _ACEOF
19877 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19878 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19879 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19881 else
19882 ac_check_lib_save_LIBS=$LIBS
19883 LIBS="-lm $LIBS"
19884 if test x$gcc_no_link = xyes; then
19885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19887 { (exit 1); exit 1; }; }
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19896 /* Override any gcc2 internal prototype to avoid an error. */
19897 #ifdef __cplusplus
19898 extern "C"
19899 #endif
19900 /* We use char because int might match the return type of a gcc2
19901 builtin and then its argument prototype would still apply. */
19902 char tanhf ();
19904 main ()
19906 tanhf ();
19908 return 0;
19910 _ACEOF
19911 rm -f conftest.$ac_objext conftest$ac_exeext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19913 (eval $ac_link) 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -z "$ac_c_werror_flag"
19921 || test ! -s conftest.err'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19924 ac_status=$?
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try='test -s conftest$ac_exeext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_cv_lib_m_tanhf=yes
19934 else
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19938 ac_cv_lib_m_tanhf=no
19940 rm -f conftest.err conftest.$ac_objext \
19941 conftest$ac_exeext conftest.$ac_ext
19942 LIBS=$ac_check_lib_save_LIBS
19944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19945 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19946 if test $ac_cv_lib_m_tanhf = yes; then
19948 cat >>confdefs.h <<\_ACEOF
19949 #define HAVE_TANHF 1
19950 _ACEOF
19954 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19955 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19956 if test "${ac_cv_lib_m_tanh+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 else
19959 ac_check_lib_save_LIBS=$LIBS
19960 LIBS="-lm $LIBS"
19961 if test x$gcc_no_link = xyes; then
19962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19964 { (exit 1); exit 1; }; }
19966 cat >conftest.$ac_ext <<_ACEOF
19967 /* confdefs.h. */
19968 _ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19973 /* Override any gcc2 internal prototype to avoid an error. */
19974 #ifdef __cplusplus
19975 extern "C"
19976 #endif
19977 /* We use char because int might match the return type of a gcc2
19978 builtin and then its argument prototype would still apply. */
19979 char tanh ();
19981 main ()
19983 tanh ();
19985 return 0;
19987 _ACEOF
19988 rm -f conftest.$ac_objext conftest$ac_exeext
19989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19990 (eval $ac_link) 2>conftest.er1
19991 ac_status=$?
19992 grep -v '^ *+' conftest.er1 >conftest.err
19993 rm -f conftest.er1
19994 cat conftest.err >&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } &&
19997 { ac_try='test -z "$ac_c_werror_flag"
19998 || test ! -s conftest.err'
19999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000 (eval $ac_try) 2>&5
20001 ac_status=$?
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); }; } &&
20004 { ac_try='test -s conftest$ac_exeext'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20007 ac_status=$?
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; }; then
20010 ac_cv_lib_m_tanh=yes
20011 else
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20015 ac_cv_lib_m_tanh=no
20017 rm -f conftest.err conftest.$ac_objext \
20018 conftest$ac_exeext conftest.$ac_ext
20019 LIBS=$ac_check_lib_save_LIBS
20021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
20022 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
20023 if test $ac_cv_lib_m_tanh = yes; then
20025 cat >>confdefs.h <<\_ACEOF
20026 #define HAVE_TANH 1
20027 _ACEOF
20031 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
20032 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
20033 if test "${ac_cv_lib_m_tanhl+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 else
20036 ac_check_lib_save_LIBS=$LIBS
20037 LIBS="-lm $LIBS"
20038 if test x$gcc_no_link = xyes; then
20039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20041 { (exit 1); exit 1; }; }
20043 cat >conftest.$ac_ext <<_ACEOF
20044 /* confdefs.h. */
20045 _ACEOF
20046 cat confdefs.h >>conftest.$ac_ext
20047 cat >>conftest.$ac_ext <<_ACEOF
20048 /* end confdefs.h. */
20050 /* Override any gcc2 internal prototype to avoid an error. */
20051 #ifdef __cplusplus
20052 extern "C"
20053 #endif
20054 /* We use char because int might match the return type of a gcc2
20055 builtin and then its argument prototype would still apply. */
20056 char tanhl ();
20058 main ()
20060 tanhl ();
20062 return 0;
20064 _ACEOF
20065 rm -f conftest.$ac_objext conftest$ac_exeext
20066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20067 (eval $ac_link) 2>conftest.er1
20068 ac_status=$?
20069 grep -v '^ *+' conftest.er1 >conftest.err
20070 rm -f conftest.er1
20071 cat conftest.err >&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); } &&
20074 { ac_try='test -z "$ac_c_werror_flag"
20075 || test ! -s conftest.err'
20076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20077 (eval $ac_try) 2>&5
20078 ac_status=$?
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; } &&
20081 { ac_try='test -s conftest$ac_exeext'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20084 ac_status=$?
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; }; then
20087 ac_cv_lib_m_tanhl=yes
20088 else
20089 echo "$as_me: failed program was:" >&5
20090 sed 's/^/| /' conftest.$ac_ext >&5
20092 ac_cv_lib_m_tanhl=no
20094 rm -f conftest.err conftest.$ac_objext \
20095 conftest$ac_exeext conftest.$ac_ext
20096 LIBS=$ac_check_lib_save_LIBS
20098 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
20099 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
20100 if test $ac_cv_lib_m_tanhl = yes; then
20102 cat >>confdefs.h <<\_ACEOF
20103 #define HAVE_TANHL 1
20104 _ACEOF
20108 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
20109 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
20110 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 ac_check_lib_save_LIBS=$LIBS
20114 LIBS="-lm $LIBS"
20115 if test x$gcc_no_link = xyes; then
20116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20118 { (exit 1); exit 1; }; }
20120 cat >conftest.$ac_ext <<_ACEOF
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20127 /* Override any gcc2 internal prototype to avoid an error. */
20128 #ifdef __cplusplus
20129 extern "C"
20130 #endif
20131 /* We use char because int might match the return type of a gcc2
20132 builtin and then its argument prototype would still apply. */
20133 char ctanhf ();
20135 main ()
20137 ctanhf ();
20139 return 0;
20141 _ACEOF
20142 rm -f conftest.$ac_objext conftest$ac_exeext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20144 (eval $ac_link) 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_c_werror_flag"
20152 || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try='test -s conftest$ac_exeext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_lib_m_ctanhf=yes
20165 else
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20169 ac_cv_lib_m_ctanhf=no
20171 rm -f conftest.err conftest.$ac_objext \
20172 conftest$ac_exeext conftest.$ac_ext
20173 LIBS=$ac_check_lib_save_LIBS
20175 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20176 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20177 if test $ac_cv_lib_m_ctanhf = yes; then
20179 cat >>confdefs.h <<\_ACEOF
20180 #define HAVE_CTANHF 1
20181 _ACEOF
20185 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20186 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20187 if test "${ac_cv_lib_m_ctanh+set}" = set; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20189 else
20190 ac_check_lib_save_LIBS=$LIBS
20191 LIBS="-lm $LIBS"
20192 if test x$gcc_no_link = xyes; then
20193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20195 { (exit 1); exit 1; }; }
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20204 /* Override any gcc2 internal prototype to avoid an error. */
20205 #ifdef __cplusplus
20206 extern "C"
20207 #endif
20208 /* We use char because int might match the return type of a gcc2
20209 builtin and then its argument prototype would still apply. */
20210 char ctanh ();
20212 main ()
20214 ctanh ();
20216 return 0;
20218 _ACEOF
20219 rm -f conftest.$ac_objext conftest$ac_exeext
20220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20221 (eval $ac_link) 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } &&
20228 { ac_try='test -z "$ac_c_werror_flag"
20229 || test ! -s conftest.err'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try='test -s conftest$ac_exeext'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20238 ac_status=$?
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; }; then
20241 ac_cv_lib_m_ctanh=yes
20242 else
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5
20246 ac_cv_lib_m_ctanh=no
20248 rm -f conftest.err conftest.$ac_objext \
20249 conftest$ac_exeext conftest.$ac_ext
20250 LIBS=$ac_check_lib_save_LIBS
20252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20253 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20254 if test $ac_cv_lib_m_ctanh = yes; then
20256 cat >>confdefs.h <<\_ACEOF
20257 #define HAVE_CTANH 1
20258 _ACEOF
20262 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20263 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20264 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 else
20267 ac_check_lib_save_LIBS=$LIBS
20268 LIBS="-lm $LIBS"
20269 if test x$gcc_no_link = xyes; then
20270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20272 { (exit 1); exit 1; }; }
20274 cat >conftest.$ac_ext <<_ACEOF
20275 /* confdefs.h. */
20276 _ACEOF
20277 cat confdefs.h >>conftest.$ac_ext
20278 cat >>conftest.$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20281 /* Override any gcc2 internal prototype to avoid an error. */
20282 #ifdef __cplusplus
20283 extern "C"
20284 #endif
20285 /* We use char because int might match the return type of a gcc2
20286 builtin and then its argument prototype would still apply. */
20287 char ctanhl ();
20289 main ()
20291 ctanhl ();
20293 return 0;
20295 _ACEOF
20296 rm -f conftest.$ac_objext conftest$ac_exeext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20298 (eval $ac_link) 2>conftest.er1
20299 ac_status=$?
20300 grep -v '^ *+' conftest.er1 >conftest.err
20301 rm -f conftest.er1
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try='test -z "$ac_c_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try='test -s conftest$ac_exeext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 ac_cv_lib_m_ctanhl=yes
20319 else
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.$ac_ext >&5
20323 ac_cv_lib_m_ctanhl=no
20325 rm -f conftest.err conftest.$ac_objext \
20326 conftest$ac_exeext conftest.$ac_ext
20327 LIBS=$ac_check_lib_save_LIBS
20329 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20330 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20331 if test $ac_cv_lib_m_ctanhl = yes; then
20333 cat >>confdefs.h <<\_ACEOF
20334 #define HAVE_CTANHL 1
20335 _ACEOF
20339 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20340 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20341 if test "${ac_cv_lib_m_truncf+set}" = set; then
20342 echo $ECHO_N "(cached) $ECHO_C" >&6
20343 else
20344 ac_check_lib_save_LIBS=$LIBS
20345 LIBS="-lm $LIBS"
20346 if test x$gcc_no_link = xyes; then
20347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20349 { (exit 1); exit 1; }; }
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h. */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20358 /* Override any gcc2 internal prototype to avoid an error. */
20359 #ifdef __cplusplus
20360 extern "C"
20361 #endif
20362 /* We use char because int might match the return type of a gcc2
20363 builtin and then its argument prototype would still apply. */
20364 char truncf ();
20366 main ()
20368 truncf ();
20370 return 0;
20372 _ACEOF
20373 rm -f conftest.$ac_objext conftest$ac_exeext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20375 (eval $ac_link) 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } &&
20382 { ac_try='test -z "$ac_c_werror_flag"
20383 || test ! -s conftest.err'
20384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385 (eval $ac_try) 2>&5
20386 ac_status=$?
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); }; } &&
20389 { ac_try='test -s conftest$ac_exeext'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20392 ac_status=$?
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; }; then
20395 ac_cv_lib_m_truncf=yes
20396 else
20397 echo "$as_me: failed program was:" >&5
20398 sed 's/^/| /' conftest.$ac_ext >&5
20400 ac_cv_lib_m_truncf=no
20402 rm -f conftest.err conftest.$ac_objext \
20403 conftest$ac_exeext conftest.$ac_ext
20404 LIBS=$ac_check_lib_save_LIBS
20406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20407 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20408 if test $ac_cv_lib_m_truncf = yes; then
20410 cat >>confdefs.h <<\_ACEOF
20411 #define HAVE_TRUNCF 1
20412 _ACEOF
20416 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20417 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20418 if test "${ac_cv_lib_m_trunc+set}" = set; then
20419 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 else
20421 ac_check_lib_save_LIBS=$LIBS
20422 LIBS="-lm $LIBS"
20423 if test x$gcc_no_link = xyes; then
20424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20426 { (exit 1); exit 1; }; }
20428 cat >conftest.$ac_ext <<_ACEOF
20429 /* confdefs.h. */
20430 _ACEOF
20431 cat confdefs.h >>conftest.$ac_ext
20432 cat >>conftest.$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20435 /* Override any gcc2 internal prototype to avoid an error. */
20436 #ifdef __cplusplus
20437 extern "C"
20438 #endif
20439 /* We use char because int might match the return type of a gcc2
20440 builtin and then its argument prototype would still apply. */
20441 char trunc ();
20443 main ()
20445 trunc ();
20447 return 0;
20449 _ACEOF
20450 rm -f conftest.$ac_objext conftest$ac_exeext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20452 (eval $ac_link) 2>conftest.er1
20453 ac_status=$?
20454 grep -v '^ *+' conftest.er1 >conftest.err
20455 rm -f conftest.er1
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try='test -z "$ac_c_werror_flag"
20460 || test ! -s conftest.err'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; } &&
20466 { ac_try='test -s conftest$ac_exeext'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; }; then
20472 ac_cv_lib_m_trunc=yes
20473 else
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20477 ac_cv_lib_m_trunc=no
20479 rm -f conftest.err conftest.$ac_objext \
20480 conftest$ac_exeext conftest.$ac_ext
20481 LIBS=$ac_check_lib_save_LIBS
20483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20484 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20485 if test $ac_cv_lib_m_trunc = yes; then
20487 cat >>confdefs.h <<\_ACEOF
20488 #define HAVE_TRUNC 1
20489 _ACEOF
20493 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20494 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20495 if test "${ac_cv_lib_m_truncl+set}" = set; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 else
20498 ac_check_lib_save_LIBS=$LIBS
20499 LIBS="-lm $LIBS"
20500 if test x$gcc_no_link = xyes; then
20501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20503 { (exit 1); exit 1; }; }
20505 cat >conftest.$ac_ext <<_ACEOF
20506 /* confdefs.h. */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20512 /* Override any gcc2 internal prototype to avoid an error. */
20513 #ifdef __cplusplus
20514 extern "C"
20515 #endif
20516 /* We use char because int might match the return type of a gcc2
20517 builtin and then its argument prototype would still apply. */
20518 char truncl ();
20520 main ()
20522 truncl ();
20524 return 0;
20526 _ACEOF
20527 rm -f conftest.$ac_objext conftest$ac_exeext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20529 (eval $ac_link) 2>conftest.er1
20530 ac_status=$?
20531 grep -v '^ *+' conftest.er1 >conftest.err
20532 rm -f conftest.er1
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try='test -z "$ac_c_werror_flag"
20537 || test ! -s conftest.err'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; } &&
20543 { ac_try='test -s conftest$ac_exeext'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20546 ac_status=$?
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_cv_lib_m_truncl=yes
20550 else
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20554 ac_cv_lib_m_truncl=no
20556 rm -f conftest.err conftest.$ac_objext \
20557 conftest$ac_exeext conftest.$ac_ext
20558 LIBS=$ac_check_lib_save_LIBS
20560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20561 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20562 if test $ac_cv_lib_m_truncl = yes; then
20564 cat >>confdefs.h <<\_ACEOF
20565 #define HAVE_TRUNCL 1
20566 _ACEOF
20570 echo "$as_me:$LINENO: checking for erff in -lm" >&5
20571 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20572 if test "${ac_cv_lib_m_erff+set}" = set; then
20573 echo $ECHO_N "(cached) $ECHO_C" >&6
20574 else
20575 ac_check_lib_save_LIBS=$LIBS
20576 LIBS="-lm $LIBS"
20577 if test x$gcc_no_link = xyes; then
20578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20580 { (exit 1); exit 1; }; }
20582 cat >conftest.$ac_ext <<_ACEOF
20583 /* confdefs.h. */
20584 _ACEOF
20585 cat confdefs.h >>conftest.$ac_ext
20586 cat >>conftest.$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20589 /* Override any gcc2 internal prototype to avoid an error. */
20590 #ifdef __cplusplus
20591 extern "C"
20592 #endif
20593 /* We use char because int might match the return type of a gcc2
20594 builtin and then its argument prototype would still apply. */
20595 char erff ();
20597 main ()
20599 erff ();
20601 return 0;
20603 _ACEOF
20604 rm -f conftest.$ac_objext conftest$ac_exeext
20605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20606 (eval $ac_link) 2>conftest.er1
20607 ac_status=$?
20608 grep -v '^ *+' conftest.er1 >conftest.err
20609 rm -f conftest.er1
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } &&
20613 { ac_try='test -z "$ac_c_werror_flag"
20614 || test ! -s conftest.err'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20617 ac_status=$?
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; } &&
20620 { ac_try='test -s conftest$ac_exeext'
20621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622 (eval $ac_try) 2>&5
20623 ac_status=$?
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); }; }; then
20626 ac_cv_lib_m_erff=yes
20627 else
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20631 ac_cv_lib_m_erff=no
20633 rm -f conftest.err conftest.$ac_objext \
20634 conftest$ac_exeext conftest.$ac_ext
20635 LIBS=$ac_check_lib_save_LIBS
20637 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
20638 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
20639 if test $ac_cv_lib_m_erff = yes; then
20641 cat >>confdefs.h <<\_ACEOF
20642 #define HAVE_ERFF 1
20643 _ACEOF
20647 echo "$as_me:$LINENO: checking for erf in -lm" >&5
20648 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
20649 if test "${ac_cv_lib_m_erf+set}" = set; then
20650 echo $ECHO_N "(cached) $ECHO_C" >&6
20651 else
20652 ac_check_lib_save_LIBS=$LIBS
20653 LIBS="-lm $LIBS"
20654 if test x$gcc_no_link = xyes; then
20655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20657 { (exit 1); exit 1; }; }
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20666 /* Override any gcc2 internal prototype to avoid an error. */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 /* We use char because int might match the return type of a gcc2
20671 builtin and then its argument prototype would still apply. */
20672 char erf ();
20674 main ()
20676 erf ();
20678 return 0;
20680 _ACEOF
20681 rm -f conftest.$ac_objext conftest$ac_exeext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20683 (eval $ac_link) 2>conftest.er1
20684 ac_status=$?
20685 grep -v '^ *+' conftest.er1 >conftest.err
20686 rm -f conftest.er1
20687 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
20690 { ac_try='test -z "$ac_c_werror_flag"
20691 || test ! -s conftest.err'
20692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20693 (eval $ac_try) 2>&5
20694 ac_status=$?
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; } &&
20697 { ac_try='test -s conftest$ac_exeext'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20700 ac_status=$?
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; }; then
20703 ac_cv_lib_m_erf=yes
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20708 ac_cv_lib_m_erf=no
20710 rm -f conftest.err conftest.$ac_objext \
20711 conftest$ac_exeext conftest.$ac_ext
20712 LIBS=$ac_check_lib_save_LIBS
20714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
20715 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
20716 if test $ac_cv_lib_m_erf = yes; then
20718 cat >>confdefs.h <<\_ACEOF
20719 #define HAVE_ERF 1
20720 _ACEOF
20724 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20725 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20726 if test "${ac_cv_lib_m_erfl+set}" = set; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20728 else
20729 ac_check_lib_save_LIBS=$LIBS
20730 LIBS="-lm $LIBS"
20731 if test x$gcc_no_link = xyes; then
20732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20734 { (exit 1); exit 1; }; }
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20743 /* Override any gcc2 internal prototype to avoid an error. */
20744 #ifdef __cplusplus
20745 extern "C"
20746 #endif
20747 /* We use char because int might match the return type of a gcc2
20748 builtin and then its argument prototype would still apply. */
20749 char erfl ();
20751 main ()
20753 erfl ();
20755 return 0;
20757 _ACEOF
20758 rm -f conftest.$ac_objext conftest$ac_exeext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20760 (eval $ac_link) 2>conftest.er1
20761 ac_status=$?
20762 grep -v '^ *+' conftest.er1 >conftest.err
20763 rm -f conftest.er1
20764 cat conftest.err >&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } &&
20767 { ac_try='test -z "$ac_c_werror_flag"
20768 || test ! -s conftest.err'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20771 ac_status=$?
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; } &&
20774 { ac_try='test -s conftest$ac_exeext'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20777 ac_status=$?
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 ac_cv_lib_m_erfl=yes
20781 else
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20785 ac_cv_lib_m_erfl=no
20787 rm -f conftest.err conftest.$ac_objext \
20788 conftest$ac_exeext conftest.$ac_ext
20789 LIBS=$ac_check_lib_save_LIBS
20791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20792 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20793 if test $ac_cv_lib_m_erfl = yes; then
20795 cat >>confdefs.h <<\_ACEOF
20796 #define HAVE_ERFL 1
20797 _ACEOF
20801 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20802 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20803 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20804 echo $ECHO_N "(cached) $ECHO_C" >&6
20805 else
20806 ac_check_lib_save_LIBS=$LIBS
20807 LIBS="-lm $LIBS"
20808 if test x$gcc_no_link = xyes; then
20809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20811 { (exit 1); exit 1; }; }
20813 cat >conftest.$ac_ext <<_ACEOF
20814 /* confdefs.h. */
20815 _ACEOF
20816 cat confdefs.h >>conftest.$ac_ext
20817 cat >>conftest.$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20820 /* Override any gcc2 internal prototype to avoid an error. */
20821 #ifdef __cplusplus
20822 extern "C"
20823 #endif
20824 /* We use char because int might match the return type of a gcc2
20825 builtin and then its argument prototype would still apply. */
20826 char erfcf ();
20828 main ()
20830 erfcf ();
20832 return 0;
20834 _ACEOF
20835 rm -f conftest.$ac_objext conftest$ac_exeext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20837 (eval $ac_link) 2>conftest.er1
20838 ac_status=$?
20839 grep -v '^ *+' conftest.er1 >conftest.err
20840 rm -f conftest.er1
20841 cat conftest.err >&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try='test -z "$ac_c_werror_flag"
20845 || test ! -s conftest.err'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20848 ac_status=$?
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; } &&
20851 { ac_try='test -s conftest$ac_exeext'
20852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853 (eval $ac_try) 2>&5
20854 ac_status=$?
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); }; }; then
20857 ac_cv_lib_m_erfcf=yes
20858 else
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20862 ac_cv_lib_m_erfcf=no
20864 rm -f conftest.err conftest.$ac_objext \
20865 conftest$ac_exeext conftest.$ac_ext
20866 LIBS=$ac_check_lib_save_LIBS
20868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20869 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20870 if test $ac_cv_lib_m_erfcf = yes; then
20872 cat >>confdefs.h <<\_ACEOF
20873 #define HAVE_ERFCF 1
20874 _ACEOF
20878 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20879 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20880 if test "${ac_cv_lib_m_erfc+set}" = set; then
20881 echo $ECHO_N "(cached) $ECHO_C" >&6
20882 else
20883 ac_check_lib_save_LIBS=$LIBS
20884 LIBS="-lm $LIBS"
20885 if test x$gcc_no_link = xyes; then
20886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20888 { (exit 1); exit 1; }; }
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20897 /* Override any gcc2 internal prototype to avoid an error. */
20898 #ifdef __cplusplus
20899 extern "C"
20900 #endif
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20903 char erfc ();
20905 main ()
20907 erfc ();
20909 return 0;
20911 _ACEOF
20912 rm -f conftest.$ac_objext conftest$ac_exeext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20914 (eval $ac_link) 2>conftest.er1
20915 ac_status=$?
20916 grep -v '^ *+' conftest.er1 >conftest.err
20917 rm -f conftest.er1
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } &&
20921 { ac_try='test -z "$ac_c_werror_flag"
20922 || test ! -s conftest.err'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20925 ac_status=$?
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; } &&
20928 { ac_try='test -s conftest$ac_exeext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20931 ac_status=$?
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 ac_cv_lib_m_erfc=yes
20935 else
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20939 ac_cv_lib_m_erfc=no
20941 rm -f conftest.err conftest.$ac_objext \
20942 conftest$ac_exeext conftest.$ac_ext
20943 LIBS=$ac_check_lib_save_LIBS
20945 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20946 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20947 if test $ac_cv_lib_m_erfc = yes; then
20949 cat >>confdefs.h <<\_ACEOF
20950 #define HAVE_ERFC 1
20951 _ACEOF
20955 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20956 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20957 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20959 else
20960 ac_check_lib_save_LIBS=$LIBS
20961 LIBS="-lm $LIBS"
20962 if test x$gcc_no_link = xyes; then
20963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20965 { (exit 1); exit 1; }; }
20967 cat >conftest.$ac_ext <<_ACEOF
20968 /* confdefs.h. */
20969 _ACEOF
20970 cat confdefs.h >>conftest.$ac_ext
20971 cat >>conftest.$ac_ext <<_ACEOF
20972 /* end confdefs.h. */
20974 /* Override any gcc2 internal prototype to avoid an error. */
20975 #ifdef __cplusplus
20976 extern "C"
20977 #endif
20978 /* We use char because int might match the return type of a gcc2
20979 builtin and then its argument prototype would still apply. */
20980 char erfcl ();
20982 main ()
20984 erfcl ();
20986 return 0;
20988 _ACEOF
20989 rm -f conftest.$ac_objext conftest$ac_exeext
20990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20991 (eval $ac_link) 2>conftest.er1
20992 ac_status=$?
20993 grep -v '^ *+' conftest.er1 >conftest.err
20994 rm -f conftest.er1
20995 cat conftest.err >&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } &&
20998 { ac_try='test -z "$ac_c_werror_flag"
20999 || test ! -s conftest.err'
21000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21001 (eval $ac_try) 2>&5
21002 ac_status=$?
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; } &&
21005 { ac_try='test -s conftest$ac_exeext'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21008 ac_status=$?
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; }; then
21011 ac_cv_lib_m_erfcl=yes
21012 else
21013 echo "$as_me: failed program was:" >&5
21014 sed 's/^/| /' conftest.$ac_ext >&5
21016 ac_cv_lib_m_erfcl=no
21018 rm -f conftest.err conftest.$ac_objext \
21019 conftest$ac_exeext conftest.$ac_ext
21020 LIBS=$ac_check_lib_save_LIBS
21022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
21023 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
21024 if test $ac_cv_lib_m_erfcl = yes; then
21026 cat >>confdefs.h <<\_ACEOF
21027 #define HAVE_ERFCL 1
21028 _ACEOF
21032 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
21033 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
21034 if test "${ac_cv_lib_m_j0f+set}" = set; then
21035 echo $ECHO_N "(cached) $ECHO_C" >&6
21036 else
21037 ac_check_lib_save_LIBS=$LIBS
21038 LIBS="-lm $LIBS"
21039 if test x$gcc_no_link = xyes; then
21040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21042 { (exit 1); exit 1; }; }
21044 cat >conftest.$ac_ext <<_ACEOF
21045 /* confdefs.h. */
21046 _ACEOF
21047 cat confdefs.h >>conftest.$ac_ext
21048 cat >>conftest.$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21051 /* Override any gcc2 internal prototype to avoid an error. */
21052 #ifdef __cplusplus
21053 extern "C"
21054 #endif
21055 /* We use char because int might match the return type of a gcc2
21056 builtin and then its argument prototype would still apply. */
21057 char j0f ();
21059 main ()
21061 j0f ();
21063 return 0;
21065 _ACEOF
21066 rm -f conftest.$ac_objext conftest$ac_exeext
21067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21068 (eval $ac_link) 2>conftest.er1
21069 ac_status=$?
21070 grep -v '^ *+' conftest.er1 >conftest.err
21071 rm -f conftest.er1
21072 cat conftest.err >&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); } &&
21075 { ac_try='test -z "$ac_c_werror_flag"
21076 || test ! -s conftest.err'
21077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21078 (eval $ac_try) 2>&5
21079 ac_status=$?
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); }; } &&
21082 { ac_try='test -s conftest$ac_exeext'
21083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21084 (eval $ac_try) 2>&5
21085 ac_status=$?
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); }; }; then
21088 ac_cv_lib_m_j0f=yes
21089 else
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21093 ac_cv_lib_m_j0f=no
21095 rm -f conftest.err conftest.$ac_objext \
21096 conftest$ac_exeext conftest.$ac_ext
21097 LIBS=$ac_check_lib_save_LIBS
21099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
21100 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
21101 if test $ac_cv_lib_m_j0f = yes; then
21103 cat >>confdefs.h <<\_ACEOF
21104 #define HAVE_J0F 1
21105 _ACEOF
21109 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
21110 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
21111 if test "${ac_cv_lib_m_j0+set}" = set; then
21112 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 else
21114 ac_check_lib_save_LIBS=$LIBS
21115 LIBS="-lm $LIBS"
21116 if test x$gcc_no_link = xyes; then
21117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21119 { (exit 1); exit 1; }; }
21121 cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h. */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21128 /* Override any gcc2 internal prototype to avoid an error. */
21129 #ifdef __cplusplus
21130 extern "C"
21131 #endif
21132 /* We use char because int might match the return type of a gcc2
21133 builtin and then its argument prototype would still apply. */
21134 char j0 ();
21136 main ()
21138 j0 ();
21140 return 0;
21142 _ACEOF
21143 rm -f conftest.$ac_objext conftest$ac_exeext
21144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21145 (eval $ac_link) 2>conftest.er1
21146 ac_status=$?
21147 grep -v '^ *+' conftest.er1 >conftest.err
21148 rm -f conftest.er1
21149 cat conftest.err >&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); } &&
21152 { ac_try='test -z "$ac_c_werror_flag"
21153 || test ! -s conftest.err'
21154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155 (eval $ac_try) 2>&5
21156 ac_status=$?
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); }; } &&
21159 { ac_try='test -s conftest$ac_exeext'
21160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161 (eval $ac_try) 2>&5
21162 ac_status=$?
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; }; then
21165 ac_cv_lib_m_j0=yes
21166 else
21167 echo "$as_me: failed program was:" >&5
21168 sed 's/^/| /' conftest.$ac_ext >&5
21170 ac_cv_lib_m_j0=no
21172 rm -f conftest.err conftest.$ac_objext \
21173 conftest$ac_exeext conftest.$ac_ext
21174 LIBS=$ac_check_lib_save_LIBS
21176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21177 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21178 if test $ac_cv_lib_m_j0 = yes; then
21180 cat >>confdefs.h <<\_ACEOF
21181 #define HAVE_J0 1
21182 _ACEOF
21186 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21187 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21188 if test "${ac_cv_lib_m_j0l+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21190 else
21191 ac_check_lib_save_LIBS=$LIBS
21192 LIBS="-lm $LIBS"
21193 if test x$gcc_no_link = xyes; then
21194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21196 { (exit 1); exit 1; }; }
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21205 /* Override any gcc2 internal prototype to avoid an error. */
21206 #ifdef __cplusplus
21207 extern "C"
21208 #endif
21209 /* We use char because int might match the return type of a gcc2
21210 builtin and then its argument prototype would still apply. */
21211 char j0l ();
21213 main ()
21215 j0l ();
21217 return 0;
21219 _ACEOF
21220 rm -f conftest.$ac_objext conftest$ac_exeext
21221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21222 (eval $ac_link) 2>conftest.er1
21223 ac_status=$?
21224 grep -v '^ *+' conftest.er1 >conftest.err
21225 rm -f conftest.er1
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } &&
21229 { ac_try='test -z "$ac_c_werror_flag"
21230 || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest$ac_exeext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21242 ac_cv_lib_m_j0l=yes
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21247 ac_cv_lib_m_j0l=no
21249 rm -f conftest.err conftest.$ac_objext \
21250 conftest$ac_exeext conftest.$ac_ext
21251 LIBS=$ac_check_lib_save_LIBS
21253 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21254 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21255 if test $ac_cv_lib_m_j0l = yes; then
21257 cat >>confdefs.h <<\_ACEOF
21258 #define HAVE_J0L 1
21259 _ACEOF
21263 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21264 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21265 if test "${ac_cv_lib_m_j1f+set}" = set; then
21266 echo $ECHO_N "(cached) $ECHO_C" >&6
21267 else
21268 ac_check_lib_save_LIBS=$LIBS
21269 LIBS="-lm $LIBS"
21270 if test x$gcc_no_link = xyes; then
21271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21273 { (exit 1); exit 1; }; }
21275 cat >conftest.$ac_ext <<_ACEOF
21276 /* confdefs.h. */
21277 _ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21282 /* Override any gcc2 internal prototype to avoid an error. */
21283 #ifdef __cplusplus
21284 extern "C"
21285 #endif
21286 /* We use char because int might match the return type of a gcc2
21287 builtin and then its argument prototype would still apply. */
21288 char j1f ();
21290 main ()
21292 j1f ();
21294 return 0;
21296 _ACEOF
21297 rm -f conftest.$ac_objext conftest$ac_exeext
21298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21299 (eval $ac_link) 2>conftest.er1
21300 ac_status=$?
21301 grep -v '^ *+' conftest.er1 >conftest.err
21302 rm -f conftest.er1
21303 cat conftest.err >&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } &&
21306 { ac_try='test -z "$ac_c_werror_flag"
21307 || test ! -s conftest.err'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; } &&
21313 { ac_try='test -s conftest$ac_exeext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21316 ac_status=$?
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_cv_lib_m_j1f=yes
21320 else
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21324 ac_cv_lib_m_j1f=no
21326 rm -f conftest.err conftest.$ac_objext \
21327 conftest$ac_exeext conftest.$ac_ext
21328 LIBS=$ac_check_lib_save_LIBS
21330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21331 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21332 if test $ac_cv_lib_m_j1f = yes; then
21334 cat >>confdefs.h <<\_ACEOF
21335 #define HAVE_J1F 1
21336 _ACEOF
21340 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21341 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21342 if test "${ac_cv_lib_m_j1+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21344 else
21345 ac_check_lib_save_LIBS=$LIBS
21346 LIBS="-lm $LIBS"
21347 if test x$gcc_no_link = xyes; then
21348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21350 { (exit 1); exit 1; }; }
21352 cat >conftest.$ac_ext <<_ACEOF
21353 /* confdefs.h. */
21354 _ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21359 /* Override any gcc2 internal prototype to avoid an error. */
21360 #ifdef __cplusplus
21361 extern "C"
21362 #endif
21363 /* We use char because int might match the return type of a gcc2
21364 builtin and then its argument prototype would still apply. */
21365 char j1 ();
21367 main ()
21369 j1 ();
21371 return 0;
21373 _ACEOF
21374 rm -f conftest.$ac_objext conftest$ac_exeext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21376 (eval $ac_link) 2>conftest.er1
21377 ac_status=$?
21378 grep -v '^ *+' conftest.er1 >conftest.err
21379 rm -f conftest.er1
21380 cat conftest.err >&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try='test -z "$ac_c_werror_flag"
21384 || test ! -s conftest.err'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21387 ac_status=$?
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; } &&
21390 { ac_try='test -s conftest$ac_exeext'
21391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21392 (eval $ac_try) 2>&5
21393 ac_status=$?
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); }; }; then
21396 ac_cv_lib_m_j1=yes
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21401 ac_cv_lib_m_j1=no
21403 rm -f conftest.err conftest.$ac_objext \
21404 conftest$ac_exeext conftest.$ac_ext
21405 LIBS=$ac_check_lib_save_LIBS
21407 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21408 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21409 if test $ac_cv_lib_m_j1 = yes; then
21411 cat >>confdefs.h <<\_ACEOF
21412 #define HAVE_J1 1
21413 _ACEOF
21417 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21418 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21419 if test "${ac_cv_lib_m_j1l+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 else
21422 ac_check_lib_save_LIBS=$LIBS
21423 LIBS="-lm $LIBS"
21424 if test x$gcc_no_link = xyes; then
21425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21427 { (exit 1); exit 1; }; }
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21436 /* Override any gcc2 internal prototype to avoid an error. */
21437 #ifdef __cplusplus
21438 extern "C"
21439 #endif
21440 /* We use char because int might match the return type of a gcc2
21441 builtin and then its argument prototype would still apply. */
21442 char j1l ();
21444 main ()
21446 j1l ();
21448 return 0;
21450 _ACEOF
21451 rm -f conftest.$ac_objext conftest$ac_exeext
21452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21453 (eval $ac_link) 2>conftest.er1
21454 ac_status=$?
21455 grep -v '^ *+' conftest.er1 >conftest.err
21456 rm -f conftest.er1
21457 cat conftest.err >&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } &&
21460 { ac_try='test -z "$ac_c_werror_flag"
21461 || test ! -s conftest.err'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; } &&
21467 { ac_try='test -s conftest$ac_exeext'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21470 ac_status=$?
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21473 ac_cv_lib_m_j1l=yes
21474 else
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21478 ac_cv_lib_m_j1l=no
21480 rm -f conftest.err conftest.$ac_objext \
21481 conftest$ac_exeext conftest.$ac_ext
21482 LIBS=$ac_check_lib_save_LIBS
21484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21485 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21486 if test $ac_cv_lib_m_j1l = yes; then
21488 cat >>confdefs.h <<\_ACEOF
21489 #define HAVE_J1L 1
21490 _ACEOF
21494 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21495 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21496 if test "${ac_cv_lib_m_jnf+set}" = set; then
21497 echo $ECHO_N "(cached) $ECHO_C" >&6
21498 else
21499 ac_check_lib_save_LIBS=$LIBS
21500 LIBS="-lm $LIBS"
21501 if test x$gcc_no_link = xyes; then
21502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21504 { (exit 1); exit 1; }; }
21506 cat >conftest.$ac_ext <<_ACEOF
21507 /* confdefs.h. */
21508 _ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21513 /* Override any gcc2 internal prototype to avoid an error. */
21514 #ifdef __cplusplus
21515 extern "C"
21516 #endif
21517 /* We use char because int might match the return type of a gcc2
21518 builtin and then its argument prototype would still apply. */
21519 char jnf ();
21521 main ()
21523 jnf ();
21525 return 0;
21527 _ACEOF
21528 rm -f conftest.$ac_objext conftest$ac_exeext
21529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21530 (eval $ac_link) 2>conftest.er1
21531 ac_status=$?
21532 grep -v '^ *+' conftest.er1 >conftest.err
21533 rm -f conftest.er1
21534 cat conftest.err >&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } &&
21537 { ac_try='test -z "$ac_c_werror_flag"
21538 || test ! -s conftest.err'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; } &&
21544 { ac_try='test -s conftest$ac_exeext'
21545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21546 (eval $ac_try) 2>&5
21547 ac_status=$?
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); }; }; then
21550 ac_cv_lib_m_jnf=yes
21551 else
21552 echo "$as_me: failed program was:" >&5
21553 sed 's/^/| /' conftest.$ac_ext >&5
21555 ac_cv_lib_m_jnf=no
21557 rm -f conftest.err conftest.$ac_objext \
21558 conftest$ac_exeext conftest.$ac_ext
21559 LIBS=$ac_check_lib_save_LIBS
21561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21562 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21563 if test $ac_cv_lib_m_jnf = yes; then
21565 cat >>confdefs.h <<\_ACEOF
21566 #define HAVE_JNF 1
21567 _ACEOF
21571 echo "$as_me:$LINENO: checking for jn in -lm" >&5
21572 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21573 if test "${ac_cv_lib_m_jn+set}" = set; then
21574 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 else
21576 ac_check_lib_save_LIBS=$LIBS
21577 LIBS="-lm $LIBS"
21578 if test x$gcc_no_link = xyes; then
21579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21581 { (exit 1); exit 1; }; }
21583 cat >conftest.$ac_ext <<_ACEOF
21584 /* confdefs.h. */
21585 _ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21590 /* Override any gcc2 internal prototype to avoid an error. */
21591 #ifdef __cplusplus
21592 extern "C"
21593 #endif
21594 /* We use char because int might match the return type of a gcc2
21595 builtin and then its argument prototype would still apply. */
21596 char jn ();
21598 main ()
21600 jn ();
21602 return 0;
21604 _ACEOF
21605 rm -f conftest.$ac_objext conftest$ac_exeext
21606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21607 (eval $ac_link) 2>conftest.er1
21608 ac_status=$?
21609 grep -v '^ *+' conftest.er1 >conftest.err
21610 rm -f conftest.er1
21611 cat conftest.err >&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } &&
21614 { ac_try='test -z "$ac_c_werror_flag"
21615 || test ! -s conftest.err'
21616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21617 (eval $ac_try) 2>&5
21618 ac_status=$?
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); }; } &&
21621 { ac_try='test -s conftest$ac_exeext'
21622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 (eval $ac_try) 2>&5
21624 ac_status=$?
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); }; }; then
21627 ac_cv_lib_m_jn=yes
21628 else
21629 echo "$as_me: failed program was:" >&5
21630 sed 's/^/| /' conftest.$ac_ext >&5
21632 ac_cv_lib_m_jn=no
21634 rm -f conftest.err conftest.$ac_objext \
21635 conftest$ac_exeext conftest.$ac_ext
21636 LIBS=$ac_check_lib_save_LIBS
21638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
21639 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
21640 if test $ac_cv_lib_m_jn = yes; then
21642 cat >>confdefs.h <<\_ACEOF
21643 #define HAVE_JN 1
21644 _ACEOF
21648 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
21649 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
21650 if test "${ac_cv_lib_m_jnl+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 else
21653 ac_check_lib_save_LIBS=$LIBS
21654 LIBS="-lm $LIBS"
21655 if test x$gcc_no_link = xyes; then
21656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21658 { (exit 1); exit 1; }; }
21660 cat >conftest.$ac_ext <<_ACEOF
21661 /* confdefs.h. */
21662 _ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21667 /* Override any gcc2 internal prototype to avoid an error. */
21668 #ifdef __cplusplus
21669 extern "C"
21670 #endif
21671 /* We use char because int might match the return type of a gcc2
21672 builtin and then its argument prototype would still apply. */
21673 char jnl ();
21675 main ()
21677 jnl ();
21679 return 0;
21681 _ACEOF
21682 rm -f conftest.$ac_objext conftest$ac_exeext
21683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21684 (eval $ac_link) 2>conftest.er1
21685 ac_status=$?
21686 grep -v '^ *+' conftest.er1 >conftest.err
21687 rm -f conftest.er1
21688 cat conftest.err >&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try='test -z "$ac_c_werror_flag"
21692 || test ! -s conftest.err'
21693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21694 (eval $ac_try) 2>&5
21695 ac_status=$?
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; } &&
21698 { ac_try='test -s conftest$ac_exeext'
21699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21700 (eval $ac_try) 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_lib_m_jnl=yes
21705 else
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21709 ac_cv_lib_m_jnl=no
21711 rm -f conftest.err conftest.$ac_objext \
21712 conftest$ac_exeext conftest.$ac_ext
21713 LIBS=$ac_check_lib_save_LIBS
21715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
21716 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21717 if test $ac_cv_lib_m_jnl = yes; then
21719 cat >>confdefs.h <<\_ACEOF
21720 #define HAVE_JNL 1
21721 _ACEOF
21725 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21726 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21727 if test "${ac_cv_lib_m_y0f+set}" = set; then
21728 echo $ECHO_N "(cached) $ECHO_C" >&6
21729 else
21730 ac_check_lib_save_LIBS=$LIBS
21731 LIBS="-lm $LIBS"
21732 if test x$gcc_no_link = xyes; then
21733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21735 { (exit 1); exit 1; }; }
21737 cat >conftest.$ac_ext <<_ACEOF
21738 /* confdefs.h. */
21739 _ACEOF
21740 cat confdefs.h >>conftest.$ac_ext
21741 cat >>conftest.$ac_ext <<_ACEOF
21742 /* end confdefs.h. */
21744 /* Override any gcc2 internal prototype to avoid an error. */
21745 #ifdef __cplusplus
21746 extern "C"
21747 #endif
21748 /* We use char because int might match the return type of a gcc2
21749 builtin and then its argument prototype would still apply. */
21750 char y0f ();
21752 main ()
21754 y0f ();
21756 return 0;
21758 _ACEOF
21759 rm -f conftest.$ac_objext conftest$ac_exeext
21760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21761 (eval $ac_link) 2>conftest.er1
21762 ac_status=$?
21763 grep -v '^ *+' conftest.er1 >conftest.err
21764 rm -f conftest.er1
21765 cat conftest.err >&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); } &&
21768 { ac_try='test -z "$ac_c_werror_flag"
21769 || test ! -s conftest.err'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; } &&
21775 { ac_try='test -s conftest$ac_exeext'
21776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21777 (eval $ac_try) 2>&5
21778 ac_status=$?
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); }; }; then
21781 ac_cv_lib_m_y0f=yes
21782 else
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21786 ac_cv_lib_m_y0f=no
21788 rm -f conftest.err conftest.$ac_objext \
21789 conftest$ac_exeext conftest.$ac_ext
21790 LIBS=$ac_check_lib_save_LIBS
21792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21793 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21794 if test $ac_cv_lib_m_y0f = yes; then
21796 cat >>confdefs.h <<\_ACEOF
21797 #define HAVE_Y0F 1
21798 _ACEOF
21802 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21803 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21804 if test "${ac_cv_lib_m_y0+set}" = set; then
21805 echo $ECHO_N "(cached) $ECHO_C" >&6
21806 else
21807 ac_check_lib_save_LIBS=$LIBS
21808 LIBS="-lm $LIBS"
21809 if test x$gcc_no_link = xyes; then
21810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21812 { (exit 1); exit 1; }; }
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21821 /* Override any gcc2 internal prototype to avoid an error. */
21822 #ifdef __cplusplus
21823 extern "C"
21824 #endif
21825 /* We use char because int might match the return type of a gcc2
21826 builtin and then its argument prototype would still apply. */
21827 char y0 ();
21829 main ()
21831 y0 ();
21833 return 0;
21835 _ACEOF
21836 rm -f conftest.$ac_objext conftest$ac_exeext
21837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21838 (eval $ac_link) 2>conftest.er1
21839 ac_status=$?
21840 grep -v '^ *+' conftest.er1 >conftest.err
21841 rm -f conftest.er1
21842 cat conftest.err >&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } &&
21845 { ac_try='test -z "$ac_c_werror_flag"
21846 || test ! -s conftest.err'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21849 ac_status=$?
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; } &&
21852 { ac_try='test -s conftest$ac_exeext'
21853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21854 (eval $ac_try) 2>&5
21855 ac_status=$?
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; }; then
21858 ac_cv_lib_m_y0=yes
21859 else
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21863 ac_cv_lib_m_y0=no
21865 rm -f conftest.err conftest.$ac_objext \
21866 conftest$ac_exeext conftest.$ac_ext
21867 LIBS=$ac_check_lib_save_LIBS
21869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21870 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21871 if test $ac_cv_lib_m_y0 = yes; then
21873 cat >>confdefs.h <<\_ACEOF
21874 #define HAVE_Y0 1
21875 _ACEOF
21879 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21880 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21881 if test "${ac_cv_lib_m_y0l+set}" = set; then
21882 echo $ECHO_N "(cached) $ECHO_C" >&6
21883 else
21884 ac_check_lib_save_LIBS=$LIBS
21885 LIBS="-lm $LIBS"
21886 if test x$gcc_no_link = xyes; then
21887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21889 { (exit 1); exit 1; }; }
21891 cat >conftest.$ac_ext <<_ACEOF
21892 /* confdefs.h. */
21893 _ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h. */
21898 /* Override any gcc2 internal prototype to avoid an error. */
21899 #ifdef __cplusplus
21900 extern "C"
21901 #endif
21902 /* We use char because int might match the return type of a gcc2
21903 builtin and then its argument prototype would still apply. */
21904 char y0l ();
21906 main ()
21908 y0l ();
21910 return 0;
21912 _ACEOF
21913 rm -f conftest.$ac_objext conftest$ac_exeext
21914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21915 (eval $ac_link) 2>conftest.er1
21916 ac_status=$?
21917 grep -v '^ *+' conftest.er1 >conftest.err
21918 rm -f conftest.er1
21919 cat conftest.err >&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } &&
21922 { ac_try='test -z "$ac_c_werror_flag"
21923 || test ! -s conftest.err'
21924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 (eval $ac_try) 2>&5
21926 ac_status=$?
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; } &&
21929 { ac_try='test -s conftest$ac_exeext'
21930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21931 (eval $ac_try) 2>&5
21932 ac_status=$?
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); }; }; then
21935 ac_cv_lib_m_y0l=yes
21936 else
21937 echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.$ac_ext >&5
21940 ac_cv_lib_m_y0l=no
21942 rm -f conftest.err conftest.$ac_objext \
21943 conftest$ac_exeext conftest.$ac_ext
21944 LIBS=$ac_check_lib_save_LIBS
21946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21947 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21948 if test $ac_cv_lib_m_y0l = yes; then
21950 cat >>confdefs.h <<\_ACEOF
21951 #define HAVE_Y0L 1
21952 _ACEOF
21956 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21957 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21958 if test "${ac_cv_lib_m_y1f+set}" = set; then
21959 echo $ECHO_N "(cached) $ECHO_C" >&6
21960 else
21961 ac_check_lib_save_LIBS=$LIBS
21962 LIBS="-lm $LIBS"
21963 if test x$gcc_no_link = xyes; then
21964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21966 { (exit 1); exit 1; }; }
21968 cat >conftest.$ac_ext <<_ACEOF
21969 /* confdefs.h. */
21970 _ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21975 /* Override any gcc2 internal prototype to avoid an error. */
21976 #ifdef __cplusplus
21977 extern "C"
21978 #endif
21979 /* We use char because int might match the return type of a gcc2
21980 builtin and then its argument prototype would still apply. */
21981 char y1f ();
21983 main ()
21985 y1f ();
21987 return 0;
21989 _ACEOF
21990 rm -f conftest.$ac_objext conftest$ac_exeext
21991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21992 (eval $ac_link) 2>conftest.er1
21993 ac_status=$?
21994 grep -v '^ *+' conftest.er1 >conftest.err
21995 rm -f conftest.er1
21996 cat conftest.err >&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } &&
21999 { ac_try='test -z "$ac_c_werror_flag"
22000 || test ! -s conftest.err'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22003 ac_status=$?
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; } &&
22006 { ac_try='test -s conftest$ac_exeext'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22009 ac_status=$?
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; }; then
22012 ac_cv_lib_m_y1f=yes
22013 else
22014 echo "$as_me: failed program was:" >&5
22015 sed 's/^/| /' conftest.$ac_ext >&5
22017 ac_cv_lib_m_y1f=no
22019 rm -f conftest.err conftest.$ac_objext \
22020 conftest$ac_exeext conftest.$ac_ext
22021 LIBS=$ac_check_lib_save_LIBS
22023 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
22024 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
22025 if test $ac_cv_lib_m_y1f = yes; then
22027 cat >>confdefs.h <<\_ACEOF
22028 #define HAVE_Y1F 1
22029 _ACEOF
22033 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
22034 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
22035 if test "${ac_cv_lib_m_y1+set}" = set; then
22036 echo $ECHO_N "(cached) $ECHO_C" >&6
22037 else
22038 ac_check_lib_save_LIBS=$LIBS
22039 LIBS="-lm $LIBS"
22040 if test x$gcc_no_link = xyes; then
22041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22043 { (exit 1); exit 1; }; }
22045 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */
22047 _ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22052 /* Override any gcc2 internal prototype to avoid an error. */
22053 #ifdef __cplusplus
22054 extern "C"
22055 #endif
22056 /* We use char because int might match the return type of a gcc2
22057 builtin and then its argument prototype would still apply. */
22058 char y1 ();
22060 main ()
22062 y1 ();
22064 return 0;
22066 _ACEOF
22067 rm -f conftest.$ac_objext conftest$ac_exeext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22069 (eval $ac_link) 2>conftest.er1
22070 ac_status=$?
22071 grep -v '^ *+' conftest.er1 >conftest.err
22072 rm -f conftest.er1
22073 cat conftest.err >&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try='test -z "$ac_c_werror_flag"
22077 || test ! -s conftest.err'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22080 ac_status=$?
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; } &&
22083 { ac_try='test -s conftest$ac_exeext'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22086 ac_status=$?
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22089 ac_cv_lib_m_y1=yes
22090 else
22091 echo "$as_me: failed program was:" >&5
22092 sed 's/^/| /' conftest.$ac_ext >&5
22094 ac_cv_lib_m_y1=no
22096 rm -f conftest.err conftest.$ac_objext \
22097 conftest$ac_exeext conftest.$ac_ext
22098 LIBS=$ac_check_lib_save_LIBS
22100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
22101 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
22102 if test $ac_cv_lib_m_y1 = yes; then
22104 cat >>confdefs.h <<\_ACEOF
22105 #define HAVE_Y1 1
22106 _ACEOF
22110 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
22111 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
22112 if test "${ac_cv_lib_m_y1l+set}" = set; then
22113 echo $ECHO_N "(cached) $ECHO_C" >&6
22114 else
22115 ac_check_lib_save_LIBS=$LIBS
22116 LIBS="-lm $LIBS"
22117 if test x$gcc_no_link = xyes; then
22118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22120 { (exit 1); exit 1; }; }
22122 cat >conftest.$ac_ext <<_ACEOF
22123 /* confdefs.h. */
22124 _ACEOF
22125 cat confdefs.h >>conftest.$ac_ext
22126 cat >>conftest.$ac_ext <<_ACEOF
22127 /* end confdefs.h. */
22129 /* Override any gcc2 internal prototype to avoid an error. */
22130 #ifdef __cplusplus
22131 extern "C"
22132 #endif
22133 /* We use char because int might match the return type of a gcc2
22134 builtin and then its argument prototype would still apply. */
22135 char y1l ();
22137 main ()
22139 y1l ();
22141 return 0;
22143 _ACEOF
22144 rm -f conftest.$ac_objext conftest$ac_exeext
22145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22146 (eval $ac_link) 2>conftest.er1
22147 ac_status=$?
22148 grep -v '^ *+' conftest.er1 >conftest.err
22149 rm -f conftest.er1
22150 cat conftest.err >&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); } &&
22153 { ac_try='test -z "$ac_c_werror_flag"
22154 || test ! -s conftest.err'
22155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156 (eval $ac_try) 2>&5
22157 ac_status=$?
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); }; } &&
22160 { ac_try='test -s conftest$ac_exeext'
22161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22162 (eval $ac_try) 2>&5
22163 ac_status=$?
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; }; then
22166 ac_cv_lib_m_y1l=yes
22167 else
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.$ac_ext >&5
22171 ac_cv_lib_m_y1l=no
22173 rm -f conftest.err conftest.$ac_objext \
22174 conftest$ac_exeext conftest.$ac_ext
22175 LIBS=$ac_check_lib_save_LIBS
22177 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22178 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22179 if test $ac_cv_lib_m_y1l = yes; then
22181 cat >>confdefs.h <<\_ACEOF
22182 #define HAVE_Y1L 1
22183 _ACEOF
22187 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22188 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22189 if test "${ac_cv_lib_m_ynf+set}" = set; then
22190 echo $ECHO_N "(cached) $ECHO_C" >&6
22191 else
22192 ac_check_lib_save_LIBS=$LIBS
22193 LIBS="-lm $LIBS"
22194 if test x$gcc_no_link = xyes; then
22195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22197 { (exit 1); exit 1; }; }
22199 cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h. */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22206 /* Override any gcc2 internal prototype to avoid an error. */
22207 #ifdef __cplusplus
22208 extern "C"
22209 #endif
22210 /* We use char because int might match the return type of a gcc2
22211 builtin and then its argument prototype would still apply. */
22212 char ynf ();
22214 main ()
22216 ynf ();
22218 return 0;
22220 _ACEOF
22221 rm -f conftest.$ac_objext conftest$ac_exeext
22222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22223 (eval $ac_link) 2>conftest.er1
22224 ac_status=$?
22225 grep -v '^ *+' conftest.er1 >conftest.err
22226 rm -f conftest.er1
22227 cat conftest.err >&5
22228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229 (exit $ac_status); } &&
22230 { ac_try='test -z "$ac_c_werror_flag"
22231 || test ! -s conftest.err'
22232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233 (eval $ac_try) 2>&5
22234 ac_status=$?
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); }; } &&
22237 { ac_try='test -s conftest$ac_exeext'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; }; then
22243 ac_cv_lib_m_ynf=yes
22244 else
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.$ac_ext >&5
22248 ac_cv_lib_m_ynf=no
22250 rm -f conftest.err conftest.$ac_objext \
22251 conftest$ac_exeext conftest.$ac_ext
22252 LIBS=$ac_check_lib_save_LIBS
22254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22255 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22256 if test $ac_cv_lib_m_ynf = yes; then
22258 cat >>confdefs.h <<\_ACEOF
22259 #define HAVE_YNF 1
22260 _ACEOF
22264 echo "$as_me:$LINENO: checking for yn in -lm" >&5
22265 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22266 if test "${ac_cv_lib_m_yn+set}" = set; then
22267 echo $ECHO_N "(cached) $ECHO_C" >&6
22268 else
22269 ac_check_lib_save_LIBS=$LIBS
22270 LIBS="-lm $LIBS"
22271 if test x$gcc_no_link = xyes; then
22272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22274 { (exit 1); exit 1; }; }
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22283 /* Override any gcc2 internal prototype to avoid an error. */
22284 #ifdef __cplusplus
22285 extern "C"
22286 #endif
22287 /* We use char because int might match the return type of a gcc2
22288 builtin and then its argument prototype would still apply. */
22289 char yn ();
22291 main ()
22293 yn ();
22295 return 0;
22297 _ACEOF
22298 rm -f conftest.$ac_objext conftest$ac_exeext
22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22300 (eval $ac_link) 2>conftest.er1
22301 ac_status=$?
22302 grep -v '^ *+' conftest.er1 >conftest.err
22303 rm -f conftest.er1
22304 cat conftest.err >&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } &&
22307 { ac_try='test -z "$ac_c_werror_flag"
22308 || test ! -s conftest.err'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22311 ac_status=$?
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; } &&
22314 { ac_try='test -s conftest$ac_exeext'
22315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316 (eval $ac_try) 2>&5
22317 ac_status=$?
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; }; then
22320 ac_cv_lib_m_yn=yes
22321 else
22322 echo "$as_me: failed program was:" >&5
22323 sed 's/^/| /' conftest.$ac_ext >&5
22325 ac_cv_lib_m_yn=no
22327 rm -f conftest.err conftest.$ac_objext \
22328 conftest$ac_exeext conftest.$ac_ext
22329 LIBS=$ac_check_lib_save_LIBS
22331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22332 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22333 if test $ac_cv_lib_m_yn = yes; then
22335 cat >>confdefs.h <<\_ACEOF
22336 #define HAVE_YN 1
22337 _ACEOF
22341 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22342 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22343 if test "${ac_cv_lib_m_ynl+set}" = set; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 else
22346 ac_check_lib_save_LIBS=$LIBS
22347 LIBS="-lm $LIBS"
22348 if test x$gcc_no_link = xyes; then
22349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22351 { (exit 1); exit 1; }; }
22353 cat >conftest.$ac_ext <<_ACEOF
22354 /* confdefs.h. */
22355 _ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22360 /* Override any gcc2 internal prototype to avoid an error. */
22361 #ifdef __cplusplus
22362 extern "C"
22363 #endif
22364 /* We use char because int might match the return type of a gcc2
22365 builtin and then its argument prototype would still apply. */
22366 char ynl ();
22368 main ()
22370 ynl ();
22372 return 0;
22374 _ACEOF
22375 rm -f conftest.$ac_objext conftest$ac_exeext
22376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22377 (eval $ac_link) 2>conftest.er1
22378 ac_status=$?
22379 grep -v '^ *+' conftest.er1 >conftest.err
22380 rm -f conftest.er1
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } &&
22384 { ac_try='test -z "$ac_c_werror_flag"
22385 || test ! -s conftest.err'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22388 ac_status=$?
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; } &&
22391 { ac_try='test -s conftest$ac_exeext'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 ac_cv_lib_m_ynl=yes
22398 else
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 ac_cv_lib_m_ynl=no
22404 rm -f conftest.err conftest.$ac_objext \
22405 conftest$ac_exeext conftest.$ac_ext
22406 LIBS=$ac_check_lib_save_LIBS
22408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22409 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22410 if test $ac_cv_lib_m_ynl = yes; then
22412 cat >>confdefs.h <<\_ACEOF
22413 #define HAVE_YNL 1
22414 _ACEOF
22419 # On AIX, clog is present in libm as __clog
22420 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22421 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22422 if test "${ac_cv_lib_m___clog+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22424 else
22425 ac_check_lib_save_LIBS=$LIBS
22426 LIBS="-lm $LIBS"
22427 if test x$gcc_no_link = xyes; then
22428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22430 { (exit 1); exit 1; }; }
22432 cat >conftest.$ac_ext <<_ACEOF
22433 /* confdefs.h. */
22434 _ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22439 /* Override any gcc2 internal prototype to avoid an error. */
22440 #ifdef __cplusplus
22441 extern "C"
22442 #endif
22443 /* We use char because int might match the return type of a gcc2
22444 builtin and then its argument prototype would still apply. */
22445 char __clog ();
22447 main ()
22449 __clog ();
22451 return 0;
22453 _ACEOF
22454 rm -f conftest.$ac_objext conftest$ac_exeext
22455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22456 (eval $ac_link) 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } &&
22463 { ac_try='test -z "$ac_c_werror_flag"
22464 || test ! -s conftest.err'
22465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22466 (eval $ac_try) 2>&5
22467 ac_status=$?
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); }; } &&
22470 { ac_try='test -s conftest$ac_exeext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22476 ac_cv_lib_m___clog=yes
22477 else
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.$ac_ext >&5
22481 ac_cv_lib_m___clog=no
22483 rm -f conftest.err conftest.$ac_objext \
22484 conftest$ac_exeext conftest.$ac_ext
22485 LIBS=$ac_check_lib_save_LIBS
22487 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22488 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22489 if test $ac_cv_lib_m___clog = yes; then
22491 cat >>confdefs.h <<\_ACEOF
22492 #define HAVE_CLOG 1
22493 _ACEOF
22498 # Check for a isfinite macro that works on long doubles.
22500 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22501 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22502 if test "${have_broken_isfinite+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22504 else
22506 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22507 LIBS="$LIBS -lm"
22508 if test "$cross_compiling" = yes; then
22510 case "${target}" in
22511 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22512 *) have_broken_isfinite=no ;;
22513 esac
22514 else
22515 cat >conftest.$ac_ext <<_ACEOF
22516 /* confdefs.h. */
22517 _ACEOF
22518 cat confdefs.h >>conftest.$ac_ext
22519 cat >>conftest.$ac_ext <<_ACEOF
22520 /* end confdefs.h. */
22522 #ifdef HAVE_MATH_H
22523 #include <math.h>
22524 #endif
22525 #include <float.h>
22526 int main ()
22528 #ifdef isfinite
22529 #ifdef LDBL_MAX
22530 if (!isfinite(LDBL_MAX)) return 1;
22531 #endif
22532 #ifdef DBL_MAX
22533 if (!isfinite(DBL_MAX)) return 1;
22534 #endif
22535 #endif
22536 return 0;
22538 _ACEOF
22539 rm -f conftest$ac_exeext
22540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22541 (eval $ac_link) 2>&5
22542 ac_status=$?
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22546 (eval $ac_try) 2>&5
22547 ac_status=$?
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); }; }; then
22550 have_broken_isfinite=no
22551 else
22552 echo "$as_me: program exited with status $ac_status" >&5
22553 echo "$as_me: failed program was:" >&5
22554 sed 's/^/| /' conftest.$ac_ext >&5
22556 ( exit $ac_status )
22557 have_broken_isfinite=yes
22559 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22561 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
22563 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22564 echo "${ECHO_T}$have_broken_isfinite" >&6
22565 if test x"$have_broken_isfinite" = xyes; then
22567 cat >>confdefs.h <<\_ACEOF
22568 #define HAVE_BROKEN_ISFINITE 1
22569 _ACEOF
22573 # Check for a isnan macro that works on long doubles.
22575 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22576 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22577 if test "${have_broken_isnan+set}" = set; then
22578 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 else
22581 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
22582 LIBS="$LIBS -lm"
22583 if test "$cross_compiling" = yes; then
22585 case "${target}" in
22586 hppa*-*-hpux*) have_broken_isnan=yes ;;
22587 *) have_broken_isnan=no ;;
22588 esac
22589 else
22590 cat >conftest.$ac_ext <<_ACEOF
22591 /* confdefs.h. */
22592 _ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22597 #ifdef HAVE_MATH_H
22598 #include <math.h>
22599 #endif
22600 #include <float.h>
22601 int main ()
22603 #ifdef isnan
22604 #ifdef LDBL_MAX
22606 long double x;
22607 x = __builtin_nanl ("");
22608 if (!isnan(x)) return 1;
22609 if (isnan(LDBL_MAX)) return 1;
22610 #ifdef NAN
22611 x = (long double) NAN;
22612 if (!isnan(x)) return 1;
22613 #endif
22615 #endif
22616 #ifdef DBL_MAX
22618 double y;
22619 y = __builtin_nan ("");
22620 if (!isnan(y)) return 1;
22621 if (isnan(DBL_MAX)) return 1;
22622 #ifdef NAN
22623 y = (double) NAN;
22624 if (!isnan(y)) return 1;
22625 #endif
22627 #endif
22628 #endif
22629 return 0;
22631 _ACEOF
22632 rm -f conftest$ac_exeext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22634 (eval $ac_link) 2>&5
22635 ac_status=$?
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22640 ac_status=$?
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; }; then
22643 have_broken_isnan=no
22644 else
22645 echo "$as_me: program exited with status $ac_status" >&5
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.$ac_ext >&5
22649 ( exit $ac_status )
22650 have_broken_isnan=yes
22652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22654 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
22656 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
22657 echo "${ECHO_T}$have_broken_isnan" >&6
22658 if test x"$have_broken_isnan" = xyes; then
22660 cat >>confdefs.h <<\_ACEOF
22661 #define HAVE_BROKEN_ISNAN 1
22662 _ACEOF
22666 # Check for a fpclassify macro that works on long doubles.
22668 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
22669 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
22670 if test "${have_broken_fpclassify+set}" = set; then
22671 echo $ECHO_N "(cached) $ECHO_C" >&6
22672 else
22674 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
22675 LIBS="$LIBS -lm"
22676 if test "$cross_compiling" = yes; then
22678 case "${target}" in
22679 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
22680 *) have_broken_fpclassify=no ;;
22681 esac
22682 else
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22690 #ifdef HAVE_MATH_H
22691 #include <math.h>
22692 #endif
22693 #include <float.h>
22694 int main ()
22696 #ifdef fpclassify
22697 #ifdef LDBL_MAX
22698 if (fpclassify(LDBL_MAX) == FP_NAN
22699 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
22700 #endif
22701 #ifdef DBL_MAX
22702 if (fpclassify(DBL_MAX) == FP_NAN
22703 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
22704 #endif
22705 #endif
22706 return 0;
22708 _ACEOF
22709 rm -f conftest$ac_exeext
22710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22711 (eval $ac_link) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22716 (eval $ac_try) 2>&5
22717 ac_status=$?
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 have_broken_fpclassify=no
22721 else
22722 echo "$as_me: program exited with status $ac_status" >&5
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22726 ( exit $ac_status )
22727 have_broken_fpclassify=yes
22729 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22731 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
22733 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22734 echo "${ECHO_T}$have_broken_fpclassify" >&6
22735 if test x"$have_broken_fpclassify" = xyes; then
22737 cat >>confdefs.h <<\_ACEOF
22738 #define HAVE_BROKEN_FPCLASSIFY 1
22739 _ACEOF
22743 # Check whether the system has a working stat()
22745 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22746 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22747 if test "${have_working_stat+set}" = set; then
22748 echo $ECHO_N "(cached) $ECHO_C" >&6
22749 else
22751 if test "$cross_compiling" = yes; then
22753 case "${target}" in
22754 *mingw*) have_working_stat=no ;;
22755 *) have_working_stat=yes;;
22756 esac
22757 else
22758 cat >conftest.$ac_ext <<_ACEOF
22759 /* confdefs.h. */
22760 _ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22765 #include <stdio.h>
22766 #include <sys/types.h>
22767 #include <sys/stat.h>
22768 #include <unistd.h>
22770 int main ()
22772 FILE *f, *g;
22773 struct stat st1, st2;
22775 f = fopen ("foo", "w");
22776 g = fopen ("bar", "w");
22777 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22778 return 1;
22779 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22780 return 1;
22781 fclose(f);
22782 fclose(g);
22783 return 0;
22785 _ACEOF
22786 rm -f conftest$ac_exeext
22787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22788 (eval $ac_link) 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; }; then
22797 have_working_stat=yes
22798 else
22799 echo "$as_me: program exited with status $ac_status" >&5
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.$ac_ext >&5
22803 ( exit $ac_status )
22804 have_working_stat=no
22806 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22809 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22810 echo "${ECHO_T}$have_working_stat" >&6
22811 if test x"$have_working_stat" = xyes; then
22813 cat >>confdefs.h <<\_ACEOF
22814 #define HAVE_WORKING_STAT 1
22815 _ACEOF
22819 # Fallback in case isfinite is not available.
22820 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22821 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22822 if test "${ac_cv_lib_m_finite+set}" = set; then
22823 echo $ECHO_N "(cached) $ECHO_C" >&6
22824 else
22825 ac_check_lib_save_LIBS=$LIBS
22826 LIBS="-lm $LIBS"
22827 if test x$gcc_no_link = xyes; then
22828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22830 { (exit 1); exit 1; }; }
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22839 /* Override any gcc2 internal prototype to avoid an error. */
22840 #ifdef __cplusplus
22841 extern "C"
22842 #endif
22843 /* We use char because int might match the return type of a gcc2
22844 builtin and then its argument prototype would still apply. */
22845 char finite ();
22847 main ()
22849 finite ();
22851 return 0;
22853 _ACEOF
22854 rm -f conftest.$ac_objext conftest$ac_exeext
22855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22856 (eval $ac_link) 2>conftest.er1
22857 ac_status=$?
22858 grep -v '^ *+' conftest.er1 >conftest.err
22859 rm -f conftest.er1
22860 cat conftest.err >&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); } &&
22863 { ac_try='test -z "$ac_c_werror_flag"
22864 || test ! -s conftest.err'
22865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22866 (eval $ac_try) 2>&5
22867 ac_status=$?
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; } &&
22870 { ac_try='test -s conftest$ac_exeext'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; }; then
22876 ac_cv_lib_m_finite=yes
22877 else
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22881 ac_cv_lib_m_finite=no
22883 rm -f conftest.err conftest.$ac_objext \
22884 conftest$ac_exeext conftest.$ac_ext
22885 LIBS=$ac_check_lib_save_LIBS
22887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22888 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22889 if test $ac_cv_lib_m_finite = yes; then
22891 cat >>confdefs.h <<\_ACEOF
22892 #define HAVE_FINITE 1
22893 _ACEOF
22898 # Check for GNU libc feenableexcept
22899 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22900 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22901 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22902 echo $ECHO_N "(cached) $ECHO_C" >&6
22903 else
22904 ac_check_lib_save_LIBS=$LIBS
22905 LIBS="-lm $LIBS"
22906 if test x$gcc_no_link = xyes; then
22907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22909 { (exit 1); exit 1; }; }
22911 cat >conftest.$ac_ext <<_ACEOF
22912 /* confdefs.h. */
22913 _ACEOF
22914 cat confdefs.h >>conftest.$ac_ext
22915 cat >>conftest.$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22918 /* Override any gcc2 internal prototype to avoid an error. */
22919 #ifdef __cplusplus
22920 extern "C"
22921 #endif
22922 /* We use char because int might match the return type of a gcc2
22923 builtin and then its argument prototype would still apply. */
22924 char feenableexcept ();
22926 main ()
22928 feenableexcept ();
22930 return 0;
22932 _ACEOF
22933 rm -f conftest.$ac_objext conftest$ac_exeext
22934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22935 (eval $ac_link) 2>conftest.er1
22936 ac_status=$?
22937 grep -v '^ *+' conftest.er1 >conftest.err
22938 rm -f conftest.er1
22939 cat conftest.err >&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); } &&
22942 { ac_try='test -z "$ac_c_werror_flag"
22943 || test ! -s conftest.err'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; } &&
22949 { ac_try='test -s conftest$ac_exeext'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 ac_cv_lib_m_feenableexcept=yes
22956 else
22957 echo "$as_me: failed program was:" >&5
22958 sed 's/^/| /' conftest.$ac_ext >&5
22960 ac_cv_lib_m_feenableexcept=no
22962 rm -f conftest.err conftest.$ac_objext \
22963 conftest$ac_exeext conftest.$ac_ext
22964 LIBS=$ac_check_lib_save_LIBS
22966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22967 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22968 if test $ac_cv_lib_m_feenableexcept = yes; then
22969 have_feenableexcept=yes
22970 cat >>confdefs.h <<\_ACEOF
22971 #define HAVE_FEENABLEEXCEPT 1
22972 _ACEOF
22977 # Check for SysV fpsetmask
22979 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22980 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22981 if test "${have_fpsetmask+set}" = set; then
22982 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 else
22985 if test x$gcc_no_link = xyes; then
22986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22988 { (exit 1); exit 1; }; }
22990 cat >conftest.$ac_ext <<_ACEOF
22991 /* confdefs.h. */
22992 _ACEOF
22993 cat confdefs.h >>conftest.$ac_ext
22994 cat >>conftest.$ac_ext <<_ACEOF
22995 /* end confdefs.h. */
22997 #if HAVE_FLOATINGPOINT_H
22998 # include <floatingpoint.h>
22999 #endif /* HAVE_FLOATINGPOINT_H */
23000 #if HAVE_IEEEFP_H
23001 # include <ieeefp.h>
23002 #endif /* HAVE_IEEEFP_H */
23004 main ()
23006 fpsetmask(0);
23008 return 0;
23010 _ACEOF
23011 rm -f conftest.$ac_objext conftest$ac_exeext
23012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23013 (eval $ac_link) 2>conftest.er1
23014 ac_status=$?
23015 grep -v '^ *+' conftest.er1 >conftest.err
23016 rm -f conftest.er1
23017 cat conftest.err >&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } &&
23020 { ac_try='test -z "$ac_c_werror_flag"
23021 || test ! -s conftest.err'
23022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23023 (eval $ac_try) 2>&5
23024 ac_status=$?
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); }; } &&
23027 { ac_try='test -s conftest$ac_exeext'
23028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23029 (eval $ac_try) 2>&5
23030 ac_status=$?
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; }; then
23033 eval "have_fpsetmask=yes"
23034 else
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.$ac_ext >&5
23038 eval "have_fpsetmask=no"
23040 rm -f conftest.err conftest.$ac_objext \
23041 conftest$ac_exeext conftest.$ac_ext
23044 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
23045 echo "${ECHO_T}$have_fpsetmask" >&6
23046 if test x"$have_fpsetmask" = xyes; then
23048 cat >>confdefs.h <<\_ACEOF
23049 #define HAVE_FPSETMASK 1
23050 _ACEOF
23055 # Check for AIX fp_trap and fp_enable
23056 echo "$as_me:$LINENO: checking for fp_trap" >&5
23057 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
23058 if test "${ac_cv_func_fp_trap+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 else
23061 if test x$gcc_no_link = xyes; then
23062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23064 { (exit 1); exit 1; }; }
23066 cat >conftest.$ac_ext <<_ACEOF
23067 /* confdefs.h. */
23068 _ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23072 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
23073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23074 #define fp_trap innocuous_fp_trap
23076 /* System header to define __stub macros and hopefully few prototypes,
23077 which can conflict with char fp_trap (); below.
23078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23079 <limits.h> exists even on freestanding compilers. */
23081 #ifdef __STDC__
23082 # include <limits.h>
23083 #else
23084 # include <assert.h>
23085 #endif
23087 #undef fp_trap
23089 /* Override any gcc2 internal prototype to avoid an error. */
23090 #ifdef __cplusplus
23091 extern "C"
23093 #endif
23094 /* We use char because int might match the return type of a gcc2
23095 builtin and then its argument prototype would still apply. */
23096 char fp_trap ();
23097 /* The GNU C library defines this for functions which it implements
23098 to always fail with ENOSYS. Some functions are actually named
23099 something starting with __ and the normal name is an alias. */
23100 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
23101 choke me
23102 #else
23103 char (*f) () = fp_trap;
23104 #endif
23105 #ifdef __cplusplus
23107 #endif
23110 main ()
23112 return f != fp_trap;
23114 return 0;
23116 _ACEOF
23117 rm -f conftest.$ac_objext conftest$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>conftest.er1
23120 ac_status=$?
23121 grep -v '^ *+' conftest.er1 >conftest.err
23122 rm -f conftest.er1
23123 cat conftest.err >&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try='test -z "$ac_c_werror_flag"
23127 || test ! -s conftest.err'
23128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23129 (eval $ac_try) 2>&5
23130 ac_status=$?
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); }; } &&
23133 { ac_try='test -s conftest$ac_exeext'
23134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135 (eval $ac_try) 2>&5
23136 ac_status=$?
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; }; then
23139 ac_cv_func_fp_trap=yes
23140 else
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23144 ac_cv_func_fp_trap=no
23146 rm -f conftest.err conftest.$ac_objext \
23147 conftest$ac_exeext conftest.$ac_ext
23149 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23150 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23151 if test $ac_cv_func_fp_trap = yes; then
23152 have_fp_trap=yes
23153 cat >>confdefs.h <<\_ACEOF
23154 #define HAVE_FP_TRAP 1
23155 _ACEOF
23159 echo "$as_me:$LINENO: checking for fp_enable" >&5
23160 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23161 if test "${ac_cv_func_fp_enable+set}" = set; then
23162 echo $ECHO_N "(cached) $ECHO_C" >&6
23163 else
23164 if test x$gcc_no_link = xyes; then
23165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23167 { (exit 1); exit 1; }; }
23169 cat >conftest.$ac_ext <<_ACEOF
23170 /* confdefs.h. */
23171 _ACEOF
23172 cat confdefs.h >>conftest.$ac_ext
23173 cat >>conftest.$ac_ext <<_ACEOF
23174 /* end confdefs.h. */
23175 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23177 #define fp_enable innocuous_fp_enable
23179 /* System header to define __stub macros and hopefully few prototypes,
23180 which can conflict with char fp_enable (); below.
23181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23182 <limits.h> exists even on freestanding compilers. */
23184 #ifdef __STDC__
23185 # include <limits.h>
23186 #else
23187 # include <assert.h>
23188 #endif
23190 #undef fp_enable
23192 /* Override any gcc2 internal prototype to avoid an error. */
23193 #ifdef __cplusplus
23194 extern "C"
23196 #endif
23197 /* We use char because int might match the return type of a gcc2
23198 builtin and then its argument prototype would still apply. */
23199 char fp_enable ();
23200 /* The GNU C library defines this for functions which it implements
23201 to always fail with ENOSYS. Some functions are actually named
23202 something starting with __ and the normal name is an alias. */
23203 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23204 choke me
23205 #else
23206 char (*f) () = fp_enable;
23207 #endif
23208 #ifdef __cplusplus
23210 #endif
23213 main ()
23215 return f != fp_enable;
23217 return 0;
23219 _ACEOF
23220 rm -f conftest.$ac_objext conftest$ac_exeext
23221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23222 (eval $ac_link) 2>conftest.er1
23223 ac_status=$?
23224 grep -v '^ *+' conftest.er1 >conftest.err
23225 rm -f conftest.er1
23226 cat conftest.err >&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } &&
23229 { ac_try='test -z "$ac_c_werror_flag"
23230 || test ! -s conftest.err'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; } &&
23236 { ac_try='test -s conftest$ac_exeext'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23239 ac_status=$?
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; }; then
23242 ac_cv_func_fp_enable=yes
23243 else
23244 echo "$as_me: failed program was:" >&5
23245 sed 's/^/| /' conftest.$ac_ext >&5
23247 ac_cv_func_fp_enable=no
23249 rm -f conftest.err conftest.$ac_objext \
23250 conftest$ac_exeext conftest.$ac_ext
23252 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23253 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23254 if test $ac_cv_func_fp_enable = yes; then
23255 have_fp_enable=yes
23256 cat >>confdefs.h <<\_ACEOF
23257 #define HAVE_FP_ENABLE 1
23258 _ACEOF
23263 # Runs configure.host to set up necessary host-dependent shell variables.
23264 # We then display a message about it, and propagate them through the
23265 # build chain.
23266 . ${srcdir}/configure.host
23267 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23268 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23269 FPU_HOST_HEADER=config/${fpu_host}.h
23272 # Attempt to assert that the target is of common type in case we don't
23273 # have C99 integer types at all.
23275 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23276 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23277 if test "${target_ilp32+set}" = set; then
23278 echo $ECHO_N "(cached) $ECHO_C" >&6
23279 else
23281 save_CFLAGS="$CFLAGS"
23282 CFLAGS="-O2"
23283 if test x$gcc_no_link = xyes; then
23284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23286 { (exit 1); exit 1; }; }
23288 cat >conftest.$ac_ext <<_ACEOF
23289 /* confdefs.h. */
23290 _ACEOF
23291 cat confdefs.h >>conftest.$ac_ext
23292 cat >>conftest.$ac_ext <<_ACEOF
23293 /* end confdefs.h. */
23296 main ()
23299 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23301 else
23302 undefined_function ();
23305 return 0;
23307 _ACEOF
23308 rm -f conftest.$ac_objext conftest$ac_exeext
23309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23310 (eval $ac_link) 2>conftest.er1
23311 ac_status=$?
23312 grep -v '^ *+' conftest.er1 >conftest.err
23313 rm -f conftest.er1
23314 cat conftest.err >&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); } &&
23317 { ac_try='test -z "$ac_c_werror_flag"
23318 || test ! -s conftest.err'
23319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23320 (eval $ac_try) 2>&5
23321 ac_status=$?
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); }; } &&
23324 { ac_try='test -s conftest$ac_exeext'
23325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23326 (eval $ac_try) 2>&5
23327 ac_status=$?
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); }; }; then
23330 target_ilp32=yes
23331 else
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23335 target_ilp32=no
23337 rm -f conftest.err conftest.$ac_objext \
23338 conftest$ac_exeext conftest.$ac_ext
23339 CFLAGS="$save_CFLAGS"
23341 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23342 echo "${ECHO_T}$target_ilp32" >&6
23343 if test $target_ilp32 = yes; then
23345 cat >>confdefs.h <<\_ACEOF
23346 #define TARGET_ILP32 1
23347 _ACEOF
23352 # Check out attribute support.
23354 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23355 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23356 if test "${have_attribute_visibility+set}" = set; then
23357 echo $ECHO_N "(cached) $ECHO_C" >&6
23358 else
23360 save_CFLAGS="$CFLAGS"
23361 CFLAGS="$CFLAGS -Werror"
23362 cat >conftest.$ac_ext <<_ACEOF
23363 /* confdefs.h. */
23364 _ACEOF
23365 cat confdefs.h >>conftest.$ac_ext
23366 cat >>conftest.$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23368 void __attribute__((visibility("hidden"))) foo(void) { }
23370 main ()
23374 return 0;
23376 _ACEOF
23377 rm -f conftest.$ac_objext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23379 (eval $ac_compile) 2>conftest.er1
23380 ac_status=$?
23381 grep -v '^ *+' conftest.er1 >conftest.err
23382 rm -f conftest.er1
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try='test -z "$ac_c_werror_flag"
23387 || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23390 ac_status=$?
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try='test -s conftest.$ac_objext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23396 ac_status=$?
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23399 have_attribute_visibility=yes
23400 else
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23404 have_attribute_visibility=no
23406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23407 CFLAGS="$save_CFLAGS"
23409 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23410 echo "${ECHO_T}$have_attribute_visibility" >&6
23411 if test $have_attribute_visibility = yes; then
23413 cat >>confdefs.h <<\_ACEOF
23414 #define HAVE_ATTRIBUTE_VISIBILITY 1
23415 _ACEOF
23419 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23420 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23421 if test "${have_attribute_dllexport+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23423 else
23425 save_CFLAGS="$CFLAGS"
23426 CFLAGS="$CFLAGS -Werror"
23427 cat >conftest.$ac_ext <<_ACEOF
23428 /* confdefs.h. */
23429 _ACEOF
23430 cat confdefs.h >>conftest.$ac_ext
23431 cat >>conftest.$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23433 void __attribute__((dllexport)) foo(void) { }
23435 main ()
23439 return 0;
23441 _ACEOF
23442 rm -f conftest.$ac_objext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23444 (eval $ac_compile) 2>conftest.er1
23445 ac_status=$?
23446 grep -v '^ *+' conftest.er1 >conftest.err
23447 rm -f conftest.er1
23448 cat conftest.err >&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try='test -z "$ac_c_werror_flag"
23452 || test ! -s conftest.err'
23453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454 (eval $ac_try) 2>&5
23455 ac_status=$?
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); }; } &&
23458 { ac_try='test -s conftest.$ac_objext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23461 ac_status=$?
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23464 have_attribute_dllexport=yes
23465 else
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.$ac_ext >&5
23469 have_attribute_dllexport=no
23471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23472 CFLAGS="$save_CFLAGS"
23474 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23475 echo "${ECHO_T}$have_attribute_dllexport" >&6
23476 if test $have_attribute_dllexport = yes; then
23478 cat >>confdefs.h <<\_ACEOF
23479 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23480 _ACEOF
23484 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23485 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23486 if test "${have_attribute_alias+set}" = set; then
23487 echo $ECHO_N "(cached) $ECHO_C" >&6
23488 else
23490 if test x$gcc_no_link = xyes; then
23491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23493 { (exit 1); exit 1; }; }
23495 cat >conftest.$ac_ext <<_ACEOF
23496 /* confdefs.h. */
23497 _ACEOF
23498 cat confdefs.h >>conftest.$ac_ext
23499 cat >>conftest.$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23502 void foo(void) { }
23503 extern void bar(void) __attribute__((alias("foo")));
23505 main ()
23507 bar();
23509 return 0;
23511 _ACEOF
23512 rm -f conftest.$ac_objext conftest$ac_exeext
23513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23514 (eval $ac_link) 2>conftest.er1
23515 ac_status=$?
23516 grep -v '^ *+' conftest.er1 >conftest.err
23517 rm -f conftest.er1
23518 cat conftest.err >&5
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); } &&
23521 { ac_try='test -z "$ac_c_werror_flag"
23522 || test ! -s conftest.err'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 have_attribute_alias=yes
23535 else
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23539 have_attribute_alias=no
23541 rm -f conftest.err conftest.$ac_objext \
23542 conftest$ac_exeext conftest.$ac_ext
23544 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23545 echo "${ECHO_T}$have_attribute_alias" >&6
23546 if test $have_attribute_alias = yes; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define HAVE_ATTRIBUTE_ALIAS 1
23550 _ACEOF
23554 # Check out sync builtins support.
23556 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23557 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23558 if test "${have_sync_fetch_and_add+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23560 else
23562 if test x$gcc_no_link = xyes; then
23563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23565 { (exit 1); exit 1; }; }
23567 cat >conftest.$ac_ext <<_ACEOF
23568 /* confdefs.h. */
23569 _ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573 int foovar = 0;
23575 main ()
23578 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23579 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23581 return 0;
23583 _ACEOF
23584 rm -f conftest.$ac_objext conftest$ac_exeext
23585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23586 (eval $ac_link) 2>conftest.er1
23587 ac_status=$?
23588 grep -v '^ *+' conftest.er1 >conftest.err
23589 rm -f conftest.er1
23590 cat conftest.err >&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } &&
23593 { ac_try='test -z "$ac_c_werror_flag"
23594 || test ! -s conftest.err'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23597 ac_status=$?
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; } &&
23600 { ac_try='test -s conftest$ac_exeext'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23603 ac_status=$?
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 have_sync_fetch_and_add=yes
23607 else
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.$ac_ext >&5
23611 have_sync_fetch_and_add=no
23613 rm -f conftest.err conftest.$ac_objext \
23614 conftest$ac_exeext conftest.$ac_ext
23616 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23617 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23618 if test $have_sync_fetch_and_add = yes; then
23620 cat >>confdefs.h <<\_ACEOF
23621 #define HAVE_SYNC_FETCH_AND_ADD 1
23622 _ACEOF
23626 # Check out thread support.
23628 echo "$as_me:$LINENO: checking configured target thread model" >&5
23629 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23630 if test "${target_thread_file+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23634 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23636 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23637 echo "${ECHO_T}$target_thread_file" >&6
23639 if test $target_thread_file != single; then
23641 cat >>confdefs.h <<\_ACEOF
23642 #define HAVE_GTHR_DEFAULT 1
23643 _ACEOF
23647 # Check out #pragma weak.
23649 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23650 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23651 if test "${have_pragma_weak+set}" = set; then
23652 echo $ECHO_N "(cached) $ECHO_C" >&6
23653 else
23655 gfor_save_CFLAGS="$CFLAGS"
23656 CFLAGS="$CFLAGS -Wunknown-pragmas"
23657 cat >conftest.$ac_ext <<_ACEOF
23658 /* confdefs.h. */
23659 _ACEOF
23660 cat confdefs.h >>conftest.$ac_ext
23661 cat >>conftest.$ac_ext <<_ACEOF
23662 /* end confdefs.h. */
23663 void foo (void);
23664 #pragma weak foo
23666 main ()
23668 if (foo) foo ();
23670 return 0;
23672 _ACEOF
23673 rm -f conftest.$ac_objext
23674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23675 (eval $ac_compile) 2>conftest.er1
23676 ac_status=$?
23677 grep -v '^ *+' conftest.er1 >conftest.err
23678 rm -f conftest.er1
23679 cat conftest.err >&5
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); } &&
23682 { ac_try='test -z "$ac_c_werror_flag"
23683 || test ! -s conftest.err'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; } &&
23689 { ac_try='test -s conftest.$ac_objext'
23690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23691 (eval $ac_try) 2>&5
23692 ac_status=$?
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); }; }; then
23695 have_pragma_weak=yes
23696 else
23697 echo "$as_me: failed program was:" >&5
23698 sed 's/^/| /' conftest.$ac_ext >&5
23700 have_pragma_weak=no
23702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23704 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23705 echo "${ECHO_T}$have_pragma_weak" >&6
23706 if test $have_pragma_weak = yes; then
23708 cat >>confdefs.h <<\_ACEOF
23709 #define SUPPORTS_WEAK 1
23710 _ACEOF
23713 case "$host" in
23714 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23716 cat >>confdefs.h <<\_ACEOF
23717 #define GTHREAD_USE_WEAK 0
23718 _ACEOF
23721 esac
23723 # Various other checks on target
23725 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23726 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23727 if test "${have_unlink_open_file+set}" = set; then
23728 echo $ECHO_N "(cached) $ECHO_C" >&6
23729 else
23731 if test "$cross_compiling" = yes; then
23733 case "${target}" in
23734 *mingw*) have_unlink_open_file=no ;;
23735 *) have_unlink_open_file=yes;;
23736 esac
23737 else
23738 cat >conftest.$ac_ext <<_ACEOF
23739 /* confdefs.h. */
23740 _ACEOF
23741 cat confdefs.h >>conftest.$ac_ext
23742 cat >>conftest.$ac_ext <<_ACEOF
23743 /* end confdefs.h. */
23745 #include <errno.h>
23746 #include <fcntl.h>
23747 #include <unistd.h>
23748 #include <sys/stat.h>
23750 int main ()
23752 int fd;
23754 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23755 if (fd <= 0)
23756 return 0;
23757 if (unlink ("testfile") == -1)
23758 return 1;
23759 write (fd, "This is a test\n", 15);
23760 close (fd);
23762 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23763 return 0;
23764 else
23765 return 1;
23767 _ACEOF
23768 rm -f conftest$ac_exeext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23770 (eval $ac_link) 2>&5
23771 ac_status=$?
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 have_unlink_open_file=yes
23780 else
23781 echo "$as_me: program exited with status $ac_status" >&5
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23785 ( exit $ac_status )
23786 have_unlink_open_file=no
23788 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23791 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23792 echo "${ECHO_T}$have_unlink_open_file" >&6
23793 if test x"$have_unlink_open_file" = xyes; then
23795 cat >>confdefs.h <<\_ACEOF
23796 #define HAVE_UNLINK_OPEN_FILE 1
23797 _ACEOF
23801 # Check whether line terminator is LF or CRLF
23803 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23804 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23805 if test "${have_crlf+set}" = set; then
23806 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 else
23809 if test "$cross_compiling" = yes; then
23811 case "${target}" in
23812 *mingw*) have_crlf=yes ;;
23813 *) have_crlf=no;;
23814 esac
23815 else
23816 cat >conftest.$ac_ext <<_ACEOF
23817 /* confdefs.h. */
23818 _ACEOF
23819 cat confdefs.h >>conftest.$ac_ext
23820 cat >>conftest.$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23823 /* This test program should exit with status 0 if system uses a CRLF as
23824 line terminator, and status 1 otherwise.
23825 Since it is used to check for mingw systems, and should return 0 in any
23826 other case, in case of a failure we will not use CRLF. */
23827 #include <sys/stat.h>
23828 #include <stdlib.h>
23829 #include <fcntl.h>
23830 #include <stdio.h>
23832 int main ()
23834 #ifndef O_BINARY
23835 exit(1);
23836 #else
23837 int fd, bytes;
23838 char buff[5];
23840 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23841 if (fd < 0)
23842 exit(1);
23843 if (write (fd, "\n", 1) < 0)
23844 perror ("write");
23846 close (fd);
23848 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23849 exit(1);
23850 bytes = read (fd, buff, 5);
23851 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23852 exit(0);
23853 else
23854 exit(1);
23855 #endif
23857 _ACEOF
23858 rm -f conftest$ac_exeext
23859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23860 (eval $ac_link) 2>&5
23861 ac_status=$?
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; }; then
23869 have_crlf=yes
23870 else
23871 echo "$as_me: program exited with status $ac_status" >&5
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.$ac_ext >&5
23875 ( exit $ac_status )
23876 have_crlf=no
23878 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23881 echo "$as_me:$LINENO: result: $have_crlf" >&5
23882 echo "${ECHO_T}$have_crlf" >&6
23883 if test x"$have_crlf" = xyes; then
23885 cat >>confdefs.h <<\_ACEOF
23886 #define HAVE_CRLF 1
23887 _ACEOF
23891 cat >confcache <<\_ACEOF
23892 # This file is a shell script that caches the results of configure
23893 # tests run on this system so they can be shared between configure
23894 # scripts and configure runs, see configure's option --config-cache.
23895 # It is not useful on other systems. If it contains results you don't
23896 # want to keep, you may remove or edit it.
23898 # config.status only pays attention to the cache file if you give it
23899 # the --recheck option to rerun configure.
23901 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23902 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23903 # following values.
23905 _ACEOF
23907 # The following way of writing the cache mishandles newlines in values,
23908 # but we know of no workaround that is simple, portable, and efficient.
23909 # So, don't put newlines in cache variables' values.
23910 # Ultrix sh set writes to stderr and can't be redirected directly,
23911 # and sets the high bit in the cache file unless we assign to the vars.
23913 (set) 2>&1 |
23914 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23915 *ac_space=\ *)
23916 # `set' does not quote correctly, so add quotes (double-quote
23917 # substitution turns \\\\ into \\, and sed turns \\ into \).
23918 sed -n \
23919 "s/'/'\\\\''/g;
23920 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23923 # `set' quotes correctly as required by POSIX, so do not add quotes.
23924 sed -n \
23925 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23927 esac;
23929 sed '
23930 t clear
23931 : clear
23932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23933 t end
23934 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23935 : end' >>confcache
23936 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23937 if test -w $cache_file; then
23938 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23939 cat confcache >$cache_file
23940 else
23941 echo "not updating unwritable cache $cache_file"
23944 rm -f confcache
23946 if test ${multilib} = yes; then
23947 multilib_arg="--enable-multilib"
23948 else
23949 multilib_arg=
23952 # Write our Makefile.
23953 ac_config_files="$ac_config_files Makefile"
23955 cat >confcache <<\_ACEOF
23956 # This file is a shell script that caches the results of configure
23957 # tests run on this system so they can be shared between configure
23958 # scripts and configure runs, see configure's option --config-cache.
23959 # It is not useful on other systems. If it contains results you don't
23960 # want to keep, you may remove or edit it.
23962 # config.status only pays attention to the cache file if you give it
23963 # the --recheck option to rerun configure.
23965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23967 # following values.
23969 _ACEOF
23971 # The following way of writing the cache mishandles newlines in values,
23972 # but we know of no workaround that is simple, portable, and efficient.
23973 # So, don't put newlines in cache variables' values.
23974 # Ultrix sh set writes to stderr and can't be redirected directly,
23975 # and sets the high bit in the cache file unless we assign to the vars.
23977 (set) 2>&1 |
23978 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23979 *ac_space=\ *)
23980 # `set' does not quote correctly, so add quotes (double-quote
23981 # substitution turns \\\\ into \\, and sed turns \\ into \).
23982 sed -n \
23983 "s/'/'\\\\''/g;
23984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23987 # `set' quotes correctly as required by POSIX, so do not add quotes.
23988 sed -n \
23989 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23991 esac;
23993 sed '
23994 t clear
23995 : clear
23996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23997 t end
23998 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23999 : end' >>confcache
24000 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24001 if test -w $cache_file; then
24002 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24003 cat confcache >$cache_file
24004 else
24005 echo "not updating unwritable cache $cache_file"
24008 rm -f confcache
24010 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24011 # Let make expand exec_prefix.
24012 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24014 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24015 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24016 # trailing colons and then remove the whole line if VPATH becomes empty
24017 # (actually we leave an empty line to preserve line numbers).
24018 if test "x$srcdir" = x.; then
24019 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24020 s/:*\$(srcdir):*/:/;
24021 s/:*\${srcdir}:*/:/;
24022 s/:*@srcdir@:*/:/;
24023 s/^\([^=]*=[ ]*\):*/\1/;
24024 s/:*$//;
24025 s/^[^=]*=[ ]*$//;
24029 DEFS=-DHAVE_CONFIG_H
24031 ac_libobjs=
24032 ac_ltlibobjs=
24033 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24034 # 1. Remove the extension, and $U if already installed.
24035 ac_i=`echo "$ac_i" |
24036 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24037 # 2. Add them.
24038 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24039 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24040 done
24041 LIBOBJS=$ac_libobjs
24043 LTLIBOBJS=$ac_ltlibobjs
24046 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24047 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24048 Usually this means the macro was only invoked conditionally." >&5
24049 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24050 Usually this means the macro was only invoked conditionally." >&2;}
24051 { (exit 1); exit 1; }; }
24054 : ${CONFIG_STATUS=./config.status}
24055 ac_clean_files_save=$ac_clean_files
24056 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24057 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24058 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24059 cat >$CONFIG_STATUS <<_ACEOF
24060 #! $SHELL
24061 # Generated by $as_me.
24062 # Run this file to recreate the current configuration.
24063 # Compiler output produced by configure, useful for debugging
24064 # configure, is in config.log if it exists.
24066 debug=false
24067 ac_cs_recheck=false
24068 ac_cs_silent=false
24069 SHELL=\${CONFIG_SHELL-$SHELL}
24070 _ACEOF
24072 cat >>$CONFIG_STATUS <<\_ACEOF
24073 ## --------------------- ##
24074 ## M4sh Initialization. ##
24075 ## --------------------- ##
24077 # Be Bourne compatible
24078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24079 emulate sh
24080 NULLCMD=:
24081 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24082 # is contrary to our usage. Disable this feature.
24083 alias -g '${1+"$@"}'='"$@"'
24084 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24085 set -o posix
24087 DUALCASE=1; export DUALCASE # for MKS sh
24089 # Support unset when possible.
24090 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24091 as_unset=unset
24092 else
24093 as_unset=false
24097 # Work around bugs in pre-3.0 UWIN ksh.
24098 $as_unset ENV MAIL MAILPATH
24099 PS1='$ '
24100 PS2='> '
24101 PS4='+ '
24103 # NLS nuisances.
24104 for as_var in \
24105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24107 LC_TELEPHONE LC_TIME
24109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24110 eval $as_var=C; export $as_var
24111 else
24112 $as_unset $as_var
24114 done
24116 # Required to use basename.
24117 if expr a : '\(a\)' >/dev/null 2>&1; then
24118 as_expr=expr
24119 else
24120 as_expr=false
24123 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24124 as_basename=basename
24125 else
24126 as_basename=false
24130 # Name of the executable.
24131 as_me=`$as_basename "$0" ||
24132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24133 X"$0" : 'X\(//\)$' \| \
24134 X"$0" : 'X\(/\)$' \| \
24135 . : '\(.\)' 2>/dev/null ||
24136 echo X/"$0" |
24137 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24138 /^X\/\(\/\/\)$/{ s//\1/; q; }
24139 /^X\/\(\/\).*/{ s//\1/; q; }
24140 s/.*/./; q'`
24143 # PATH needs CR, and LINENO needs CR and PATH.
24144 # Avoid depending upon Character Ranges.
24145 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24146 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24147 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24148 as_cr_digits='0123456789'
24149 as_cr_alnum=$as_cr_Letters$as_cr_digits
24151 # The user is always right.
24152 if test "${PATH_SEPARATOR+set}" != set; then
24153 echo "#! /bin/sh" >conf$$.sh
24154 echo "exit 0" >>conf$$.sh
24155 chmod +x conf$$.sh
24156 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24157 PATH_SEPARATOR=';'
24158 else
24159 PATH_SEPARATOR=:
24161 rm -f conf$$.sh
24165 as_lineno_1=$LINENO
24166 as_lineno_2=$LINENO
24167 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24168 test "x$as_lineno_1" != "x$as_lineno_2" &&
24169 test "x$as_lineno_3" = "x$as_lineno_2" || {
24170 # Find who we are. Look in the path if we contain no path at all
24171 # relative or not.
24172 case $0 in
24173 *[\\/]* ) as_myself=$0 ;;
24174 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24175 for as_dir in $PATH
24177 IFS=$as_save_IFS
24178 test -z "$as_dir" && as_dir=.
24179 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24180 done
24183 esac
24184 # We did not find ourselves, most probably we were run as `sh COMMAND'
24185 # in which case we are not to be found in the path.
24186 if test "x$as_myself" = x; then
24187 as_myself=$0
24189 if test ! -f "$as_myself"; then
24190 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24191 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24192 { (exit 1); exit 1; }; }
24194 case $CONFIG_SHELL in
24196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24199 IFS=$as_save_IFS
24200 test -z "$as_dir" && as_dir=.
24201 for as_base in sh bash ksh sh5; do
24202 case $as_dir in
24204 if ("$as_dir/$as_base" -c '
24205 as_lineno_1=$LINENO
24206 as_lineno_2=$LINENO
24207 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24208 test "x$as_lineno_1" != "x$as_lineno_2" &&
24209 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24210 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24211 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24212 CONFIG_SHELL=$as_dir/$as_base
24213 export CONFIG_SHELL
24214 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24215 fi;;
24216 esac
24217 done
24218 done
24220 esac
24222 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24223 # uniformly replaced by the line number. The first 'sed' inserts a
24224 # line-number line before each line; the second 'sed' does the real
24225 # work. The second script uses 'N' to pair each line-number line
24226 # with the numbered line, and appends trailing '-' during
24227 # substitution so that $LINENO is not a special case at line end.
24228 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24229 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24230 sed '=' <$as_myself |
24231 sed '
24233 s,$,-,
24234 : loop
24235 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24236 t loop
24237 s,-$,,
24238 s,^['$as_cr_digits']*\n,,
24239 ' >$as_me.lineno &&
24240 chmod +x $as_me.lineno ||
24241 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24242 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24243 { (exit 1); exit 1; }; }
24245 # Don't try to exec as it changes $[0], causing all sort of problems
24246 # (the dirname of $[0] is not the place where we might find the
24247 # original and so on. Autoconf is especially sensible to this).
24248 . ./$as_me.lineno
24249 # Exit status is that of the last command.
24250 exit
24254 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24255 *c*,-n*) ECHO_N= ECHO_C='
24256 ' ECHO_T=' ' ;;
24257 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24258 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24259 esac
24261 if expr a : '\(a\)' >/dev/null 2>&1; then
24262 as_expr=expr
24263 else
24264 as_expr=false
24267 rm -f conf$$ conf$$.exe conf$$.file
24268 echo >conf$$.file
24269 if ln -s conf$$.file conf$$ 2>/dev/null; then
24270 # We could just check for DJGPP; but this test a) works b) is more generic
24271 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24272 if test -f conf$$.exe; then
24273 # Don't use ln at all; we don't have any links
24274 as_ln_s='cp -p'
24275 else
24276 as_ln_s='ln -s'
24278 elif ln conf$$.file conf$$ 2>/dev/null; then
24279 as_ln_s=ln
24280 else
24281 as_ln_s='cp -p'
24283 rm -f conf$$ conf$$.exe conf$$.file
24285 if mkdir -p . 2>/dev/null; then
24286 as_mkdir_p=:
24287 else
24288 test -d ./-p && rmdir ./-p
24289 as_mkdir_p=false
24292 as_executable_p="test -f"
24294 # Sed expression to map a string onto a valid CPP name.
24295 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24297 # Sed expression to map a string onto a valid variable name.
24298 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24301 # IFS
24302 # We need space, tab and new line, in precisely that order.
24303 as_nl='
24305 IFS=" $as_nl"
24307 # CDPATH.
24308 $as_unset CDPATH
24310 exec 6>&1
24312 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24313 # report actual input values of CONFIG_FILES etc. instead of their
24314 # values after options handling. Logging --version etc. is OK.
24315 exec 5>>config.log
24317 echo
24318 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24319 ## Running $as_me. ##
24320 _ASBOX
24321 } >&5
24322 cat >&5 <<_CSEOF
24324 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
24325 generated by GNU Autoconf 2.59. Invocation command line was
24327 CONFIG_FILES = $CONFIG_FILES
24328 CONFIG_HEADERS = $CONFIG_HEADERS
24329 CONFIG_LINKS = $CONFIG_LINKS
24330 CONFIG_COMMANDS = $CONFIG_COMMANDS
24331 $ $0 $@
24333 _CSEOF
24334 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24335 echo >&5
24336 _ACEOF
24338 # Files that config.status was made for.
24339 if test -n "$ac_config_files"; then
24340 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24343 if test -n "$ac_config_headers"; then
24344 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24347 if test -n "$ac_config_links"; then
24348 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24351 if test -n "$ac_config_commands"; then
24352 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24355 cat >>$CONFIG_STATUS <<\_ACEOF
24357 ac_cs_usage="\
24358 \`$as_me' instantiates files from templates according to the
24359 current configuration.
24361 Usage: $0 [OPTIONS] [FILE]...
24363 -h, --help print this help, then exit
24364 -V, --version print version number, then exit
24365 -q, --quiet do not print progress messages
24366 -d, --debug don't remove temporary files
24367 --recheck update $as_me by reconfiguring in the same conditions
24368 --file=FILE[:TEMPLATE]
24369 instantiate the configuration file FILE
24370 --header=FILE[:TEMPLATE]
24371 instantiate the configuration header FILE
24373 Configuration files:
24374 $config_files
24376 Configuration headers:
24377 $config_headers
24379 Configuration commands:
24380 $config_commands
24382 Report bugs to <bug-autoconf@gnu.org>."
24383 _ACEOF
24385 cat >>$CONFIG_STATUS <<_ACEOF
24386 ac_cs_version="\\
24387 GNU Fortran Runtime Library config.status 0.2
24388 configured by $0, generated by GNU Autoconf 2.59,
24389 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24391 Copyright (C) 2003 Free Software Foundation, Inc.
24392 This config.status script is free software; the Free Software Foundation
24393 gives unlimited permission to copy, distribute and modify it."
24394 srcdir=$srcdir
24395 INSTALL="$INSTALL"
24396 _ACEOF
24398 cat >>$CONFIG_STATUS <<\_ACEOF
24399 # If no file are specified by the user, then we need to provide default
24400 # value. By we need to know if files were specified by the user.
24401 ac_need_defaults=:
24402 while test $# != 0
24404 case $1 in
24405 --*=*)
24406 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24407 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24408 ac_shift=:
24411 ac_option=$1
24412 ac_optarg=$2
24413 ac_shift=shift
24415 *) # This is not an option, so the user has probably given explicit
24416 # arguments.
24417 ac_option=$1
24418 ac_need_defaults=false;;
24419 esac
24421 case $ac_option in
24422 # Handling of the options.
24423 _ACEOF
24424 cat >>$CONFIG_STATUS <<\_ACEOF
24425 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24426 ac_cs_recheck=: ;;
24427 --version | --vers* | -V )
24428 echo "$ac_cs_version"; exit 0 ;;
24429 --he | --h)
24430 # Conflict between --help and --header
24431 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24432 Try \`$0 --help' for more information." >&5
24433 echo "$as_me: error: ambiguous option: $1
24434 Try \`$0 --help' for more information." >&2;}
24435 { (exit 1); exit 1; }; };;
24436 --help | --hel | -h )
24437 echo "$ac_cs_usage"; exit 0 ;;
24438 --debug | --d* | -d )
24439 debug=: ;;
24440 --file | --fil | --fi | --f )
24441 $ac_shift
24442 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24443 ac_need_defaults=false;;
24444 --header | --heade | --head | --hea )
24445 $ac_shift
24446 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24447 ac_need_defaults=false;;
24448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24449 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24450 ac_cs_silent=: ;;
24452 # This is an error.
24453 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24454 Try \`$0 --help' for more information." >&5
24455 echo "$as_me: error: unrecognized option: $1
24456 Try \`$0 --help' for more information." >&2;}
24457 { (exit 1); exit 1; }; } ;;
24459 *) ac_config_targets="$ac_config_targets $1" ;;
24461 esac
24462 shift
24463 done
24465 ac_configure_extra_args=
24467 if $ac_cs_silent; then
24468 exec 6>/dev/null
24469 ac_configure_extra_args="$ac_configure_extra_args --silent"
24472 _ACEOF
24473 cat >>$CONFIG_STATUS <<_ACEOF
24474 if \$ac_cs_recheck; then
24475 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24476 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24479 _ACEOF
24481 cat >>$CONFIG_STATUS <<_ACEOF
24483 # INIT-COMMANDS section.
24487 srcdir="$srcdir"
24488 host="$host"
24489 target="$target"
24490 with_multisubdir="$with_multisubdir"
24491 with_multisrctop="$with_multisrctop"
24492 with_target_subdir="$with_target_subdir"
24493 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24494 multi_basedir="$multi_basedir"
24495 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24496 CC="$CC"
24498 GCC="$GCC"
24499 CC="$CC"
24500 acx_cv_header_stdint="$acx_cv_header_stdint"
24501 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24502 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24503 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24504 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24505 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24506 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24507 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24508 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24509 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24510 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24511 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24512 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24513 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24516 _ACEOF
24520 cat >>$CONFIG_STATUS <<\_ACEOF
24521 for ac_config_target in $ac_config_targets
24523 case "$ac_config_target" in
24524 # Handling of arguments.
24525 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24526 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24527 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24528 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24529 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24530 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24531 { (exit 1); exit 1; }; };;
24532 esac
24533 done
24535 # If the user did not use the arguments to specify the items to instantiate,
24536 # then the envvar interface is used. Set only those that are not.
24537 # We use the long form for the default assignment because of an extremely
24538 # bizarre bug on SunOS 4.1.3.
24539 if $ac_need_defaults; then
24540 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24541 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24542 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24545 # Have a temporary directory for convenience. Make it in the build tree
24546 # simply because there is no reason to put it here, and in addition,
24547 # creating and moving files from /tmp can sometimes cause problems.
24548 # Create a temporary directory, and hook for its removal unless debugging.
24549 $debug ||
24551 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24552 trap '{ (exit 1); exit 1; }' 1 2 13 15
24555 # Create a (secure) tmp directory for tmp files.
24558 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24559 test -n "$tmp" && test -d "$tmp"
24560 } ||
24562 tmp=./confstat$$-$RANDOM
24563 (umask 077 && mkdir $tmp)
24564 } ||
24566 echo "$me: cannot create a temporary directory in ." >&2
24567 { (exit 1); exit 1; }
24570 _ACEOF
24572 cat >>$CONFIG_STATUS <<_ACEOF
24575 # CONFIG_FILES section.
24578 # No need to generate the scripts if there are no CONFIG_FILES.
24579 # This happens for instance when ./config.status config.h
24580 if test -n "\$CONFIG_FILES"; then
24581 # Protect against being on the right side of a sed subst in config.status.
24582 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24583 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24584 s,@SHELL@,$SHELL,;t t
24585 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24586 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24587 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24588 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24589 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24590 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24591 s,@exec_prefix@,$exec_prefix,;t t
24592 s,@prefix@,$prefix,;t t
24593 s,@program_transform_name@,$program_transform_name,;t t
24594 s,@bindir@,$bindir,;t t
24595 s,@sbindir@,$sbindir,;t t
24596 s,@libexecdir@,$libexecdir,;t t
24597 s,@datadir@,$datadir,;t t
24598 s,@sysconfdir@,$sysconfdir,;t t
24599 s,@sharedstatedir@,$sharedstatedir,;t t
24600 s,@localstatedir@,$localstatedir,;t t
24601 s,@libdir@,$libdir,;t t
24602 s,@includedir@,$includedir,;t t
24603 s,@oldincludedir@,$oldincludedir,;t t
24604 s,@infodir@,$infodir,;t t
24605 s,@mandir@,$mandir,;t t
24606 s,@build_alias@,$build_alias,;t t
24607 s,@host_alias@,$host_alias,;t t
24608 s,@target_alias@,$target_alias,;t t
24609 s,@DEFS@,$DEFS,;t t
24610 s,@ECHO_C@,$ECHO_C,;t t
24611 s,@ECHO_N@,$ECHO_N,;t t
24612 s,@ECHO_T@,$ECHO_T,;t t
24613 s,@LIBS@,$LIBS,;t t
24614 s,@build@,$build,;t t
24615 s,@build_cpu@,$build_cpu,;t t
24616 s,@build_vendor@,$build_vendor,;t t
24617 s,@build_os@,$build_os,;t t
24618 s,@build_libsubdir@,$build_libsubdir,;t t
24619 s,@build_subdir@,$build_subdir,;t t
24620 s,@host_subdir@,$host_subdir,;t t
24621 s,@target_subdir@,$target_subdir,;t t
24622 s,@host@,$host,;t t
24623 s,@host_cpu@,$host_cpu,;t t
24624 s,@host_vendor@,$host_vendor,;t t
24625 s,@host_os@,$host_os,;t t
24626 s,@target@,$target,;t t
24627 s,@target_cpu@,$target_cpu,;t t
24628 s,@target_vendor@,$target_vendor,;t t
24629 s,@target_os@,$target_os,;t t
24630 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24631 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24632 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24633 s,@CYGPATH_W@,$CYGPATH_W,;t t
24634 s,@PACKAGE@,$PACKAGE,;t t
24635 s,@VERSION@,$VERSION,;t t
24636 s,@ACLOCAL@,$ACLOCAL,;t t
24637 s,@AUTOCONF@,$AUTOCONF,;t t
24638 s,@AUTOMAKE@,$AUTOMAKE,;t t
24639 s,@AUTOHEADER@,$AUTOHEADER,;t t
24640 s,@MAKEINFO@,$MAKEINFO,;t t
24641 s,@install_sh@,$install_sh,;t t
24642 s,@STRIP@,$STRIP,;t t
24643 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24644 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24645 s,@mkdir_p@,$mkdir_p,;t t
24646 s,@AWK@,$AWK,;t t
24647 s,@SET_MAKE@,$SET_MAKE,;t t
24648 s,@am__leading_dot@,$am__leading_dot,;t t
24649 s,@AMTAR@,$AMTAR,;t t
24650 s,@am__tar@,$am__tar,;t t
24651 s,@am__untar@,$am__untar,;t t
24652 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24653 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24654 s,@MAINT@,$MAINT,;t t
24655 s,@multi_basedir@,$multi_basedir,;t t
24656 s,@toolexecdir@,$toolexecdir,;t t
24657 s,@toolexeclibdir@,$toolexeclibdir,;t t
24658 s,@CC@,$CC,;t t
24659 s,@ac_ct_CC@,$ac_ct_CC,;t t
24660 s,@EXEEXT@,$EXEEXT,;t t
24661 s,@OBJEXT@,$OBJEXT,;t t
24662 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24663 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24664 s,@AS@,$AS,;t t
24665 s,@ac_ct_AS@,$ac_ct_AS,;t t
24666 s,@AR@,$AR,;t t
24667 s,@ac_ct_AR@,$ac_ct_AR,;t t
24668 s,@RANLIB@,$RANLIB,;t t
24669 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24670 s,@LN_S@,$LN_S,;t t
24671 s,@LIBTOOL@,$LIBTOOL,;t t
24672 s,@enable_shared@,$enable_shared,;t t
24673 s,@enable_static@,$enable_static,;t t
24674 s,@FC@,$FC,;t t
24675 s,@FCFLAGS@,$FCFLAGS,;t t
24676 s,@LDFLAGS@,$LDFLAGS,;t t
24677 s,@ac_ct_FC@,$ac_ct_FC,;t t
24678 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24679 s,@CPP@,$CPP,;t t
24680 s,@CPPFLAGS@,$CPPFLAGS,;t t
24681 s,@EGREP@,$EGREP,;t t
24682 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24683 s,@LIBOBJS@,$LIBOBJS,;t t
24684 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24685 CEOF
24687 _ACEOF
24689 cat >>$CONFIG_STATUS <<\_ACEOF
24690 # Split the substitutions into bite-sized pieces for seds with
24691 # small command number limits, like on Digital OSF/1 and HP-UX.
24692 ac_max_sed_lines=48
24693 ac_sed_frag=1 # Number of current file.
24694 ac_beg=1 # First line for current file.
24695 ac_end=$ac_max_sed_lines # Line after last line for current file.
24696 ac_more_lines=:
24697 ac_sed_cmds=
24698 while $ac_more_lines; do
24699 if test $ac_beg -gt 1; then
24700 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24701 else
24702 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24704 if test ! -s $tmp/subs.frag; then
24705 ac_more_lines=false
24706 else
24707 # The purpose of the label and of the branching condition is to
24708 # speed up the sed processing (if there are no `@' at all, there
24709 # is no need to browse any of the substitutions).
24710 # These are the two extra sed commands mentioned above.
24711 (echo ':t
24712 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24713 if test -z "$ac_sed_cmds"; then
24714 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24715 else
24716 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24718 ac_sed_frag=`expr $ac_sed_frag + 1`
24719 ac_beg=$ac_end
24720 ac_end=`expr $ac_end + $ac_max_sed_lines`
24722 done
24723 if test -z "$ac_sed_cmds"; then
24724 ac_sed_cmds=cat
24726 fi # test -n "$CONFIG_FILES"
24728 _ACEOF
24729 cat >>$CONFIG_STATUS <<\_ACEOF
24730 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24731 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24732 case $ac_file in
24733 - | *:- | *:-:* ) # input from stdin
24734 cat >$tmp/stdin
24735 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24736 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24737 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24738 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24739 * ) ac_file_in=$ac_file.in ;;
24740 esac
24742 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24743 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24745 X"$ac_file" : 'X\(//\)[^/]' \| \
24746 X"$ac_file" : 'X\(//\)$' \| \
24747 X"$ac_file" : 'X\(/\)' \| \
24748 . : '\(.\)' 2>/dev/null ||
24749 echo X"$ac_file" |
24750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24752 /^X\(\/\/\)$/{ s//\1/; q; }
24753 /^X\(\/\).*/{ s//\1/; q; }
24754 s/.*/./; q'`
24755 { if $as_mkdir_p; then
24756 mkdir -p "$ac_dir"
24757 else
24758 as_dir="$ac_dir"
24759 as_dirs=
24760 while test ! -d "$as_dir"; do
24761 as_dirs="$as_dir $as_dirs"
24762 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24764 X"$as_dir" : 'X\(//\)[^/]' \| \
24765 X"$as_dir" : 'X\(//\)$' \| \
24766 X"$as_dir" : 'X\(/\)' \| \
24767 . : '\(.\)' 2>/dev/null ||
24768 echo X"$as_dir" |
24769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24771 /^X\(\/\/\)$/{ s//\1/; q; }
24772 /^X\(\/\).*/{ s//\1/; q; }
24773 s/.*/./; q'`
24774 done
24775 test ! -n "$as_dirs" || mkdir $as_dirs
24776 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24777 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24778 { (exit 1); exit 1; }; }; }
24780 ac_builddir=.
24782 if test "$ac_dir" != .; then
24783 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24784 # A "../" for each directory in $ac_dir_suffix.
24785 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24786 else
24787 ac_dir_suffix= ac_top_builddir=
24790 case $srcdir in
24791 .) # No --srcdir option. We are building in place.
24792 ac_srcdir=.
24793 if test -z "$ac_top_builddir"; then
24794 ac_top_srcdir=.
24795 else
24796 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24797 fi ;;
24798 [\\/]* | ?:[\\/]* ) # Absolute path.
24799 ac_srcdir=$srcdir$ac_dir_suffix;
24800 ac_top_srcdir=$srcdir ;;
24801 *) # Relative path.
24802 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24803 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24804 esac
24806 # Do not use `cd foo && pwd` to compute absolute paths, because
24807 # the directories may not exist.
24808 case `pwd` in
24809 .) ac_abs_builddir="$ac_dir";;
24811 case "$ac_dir" in
24812 .) ac_abs_builddir=`pwd`;;
24813 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24814 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24815 esac;;
24816 esac
24817 case $ac_abs_builddir in
24818 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24820 case ${ac_top_builddir}. in
24821 .) ac_abs_top_builddir=$ac_abs_builddir;;
24822 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24823 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24824 esac;;
24825 esac
24826 case $ac_abs_builddir in
24827 .) ac_abs_srcdir=$ac_srcdir;;
24829 case $ac_srcdir in
24830 .) ac_abs_srcdir=$ac_abs_builddir;;
24831 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24832 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24833 esac;;
24834 esac
24835 case $ac_abs_builddir in
24836 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24838 case $ac_top_srcdir in
24839 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24840 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24841 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24842 esac;;
24843 esac
24846 case $INSTALL in
24847 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24848 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24849 esac
24851 if test x"$ac_file" != x-; then
24852 { echo "$as_me:$LINENO: creating $ac_file" >&5
24853 echo "$as_me: creating $ac_file" >&6;}
24854 rm -f "$ac_file"
24856 # Let's still pretend it is `configure' which instantiates (i.e., don't
24857 # use $as_me), people would be surprised to read:
24858 # /* config.h. Generated by config.status. */
24859 if test x"$ac_file" = x-; then
24860 configure_input=
24861 else
24862 configure_input="$ac_file. "
24864 configure_input=$configure_input"Generated from `echo $ac_file_in |
24865 sed 's,.*/,,'` by configure."
24867 # First look for the input files in the build tree, otherwise in the
24868 # src tree.
24869 ac_file_inputs=`IFS=:
24870 for f in $ac_file_in; do
24871 case $f in
24872 -) echo $tmp/stdin ;;
24873 [\\/$]*)
24874 # Absolute (can't be DOS-style, as IFS=:)
24875 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24876 echo "$as_me: error: cannot find input file: $f" >&2;}
24877 { (exit 1); exit 1; }; }
24878 echo "$f";;
24879 *) # Relative
24880 if test -f "$f"; then
24881 # Build tree
24882 echo "$f"
24883 elif test -f "$srcdir/$f"; then
24884 # Source tree
24885 echo "$srcdir/$f"
24886 else
24887 # /dev/null tree
24888 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24889 echo "$as_me: error: cannot find input file: $f" >&2;}
24890 { (exit 1); exit 1; }; }
24891 fi;;
24892 esac
24893 done` || { (exit 1); exit 1; }
24894 _ACEOF
24895 cat >>$CONFIG_STATUS <<_ACEOF
24896 sed "$ac_vpsub
24897 $extrasub
24898 _ACEOF
24899 cat >>$CONFIG_STATUS <<\_ACEOF
24901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24902 s,@configure_input@,$configure_input,;t t
24903 s,@srcdir@,$ac_srcdir,;t t
24904 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24905 s,@top_srcdir@,$ac_top_srcdir,;t t
24906 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24907 s,@builddir@,$ac_builddir,;t t
24908 s,@abs_builddir@,$ac_abs_builddir,;t t
24909 s,@top_builddir@,$ac_top_builddir,;t t
24910 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24911 s,@INSTALL@,$ac_INSTALL,;t t
24912 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24913 rm -f $tmp/stdin
24914 if test x"$ac_file" != x-; then
24915 mv $tmp/out $ac_file
24916 else
24917 cat $tmp/out
24918 rm -f $tmp/out
24921 done
24922 _ACEOF
24923 cat >>$CONFIG_STATUS <<\_ACEOF
24926 # CONFIG_HEADER section.
24929 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24930 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24932 # ac_d sets the value in "#define NAME VALUE" lines.
24933 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24934 ac_dB='[ ].*$,\1#\2'
24935 ac_dC=' '
24936 ac_dD=',;t'
24937 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24938 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24939 ac_uB='$,\1#\2define\3'
24940 ac_uC=' '
24941 ac_uD=',;t'
24943 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24944 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24945 case $ac_file in
24946 - | *:- | *:-:* ) # input from stdin
24947 cat >$tmp/stdin
24948 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24949 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24950 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24951 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24952 * ) ac_file_in=$ac_file.in ;;
24953 esac
24955 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24956 echo "$as_me: creating $ac_file" >&6;}
24958 # First look for the input files in the build tree, otherwise in the
24959 # src tree.
24960 ac_file_inputs=`IFS=:
24961 for f in $ac_file_in; do
24962 case $f in
24963 -) echo $tmp/stdin ;;
24964 [\\/$]*)
24965 # Absolute (can't be DOS-style, as IFS=:)
24966 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24967 echo "$as_me: error: cannot find input file: $f" >&2;}
24968 { (exit 1); exit 1; }; }
24969 # Do quote $f, to prevent DOS paths from being IFS'd.
24970 echo "$f";;
24971 *) # Relative
24972 if test -f "$f"; then
24973 # Build tree
24974 echo "$f"
24975 elif test -f "$srcdir/$f"; then
24976 # Source tree
24977 echo "$srcdir/$f"
24978 else
24979 # /dev/null tree
24980 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24981 echo "$as_me: error: cannot find input file: $f" >&2;}
24982 { (exit 1); exit 1; }; }
24983 fi;;
24984 esac
24985 done` || { (exit 1); exit 1; }
24986 # Remove the trailing spaces.
24987 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24989 _ACEOF
24991 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24992 # `conftest.undefs', that substitutes the proper values into
24993 # config.h.in to produce config.h. The first handles `#define'
24994 # templates, and the second `#undef' templates.
24995 # And first: Protect against being on the right side of a sed subst in
24996 # config.status. Protect against being in an unquoted here document
24997 # in config.status.
24998 rm -f conftest.defines conftest.undefs
24999 # Using a here document instead of a string reduces the quoting nightmare.
25000 # Putting comments in sed scripts is not portable.
25002 # `end' is used to avoid that the second main sed command (meant for
25003 # 0-ary CPP macros) applies to n-ary macro definitions.
25004 # See the Autoconf documentation for `clear'.
25005 cat >confdef2sed.sed <<\_ACEOF
25006 s/[\\&,]/\\&/g
25007 s,[\\$`],\\&,g
25008 t clear
25009 : clear
25010 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25011 t end
25012 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25013 : end
25014 _ACEOF
25015 # If some macros were called several times there might be several times
25016 # the same #defines, which is useless. Nevertheless, we may not want to
25017 # sort them, since we want the *last* AC-DEFINE to be honored.
25018 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25019 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25020 rm -f confdef2sed.sed
25022 # This sed command replaces #undef with comments. This is necessary, for
25023 # example, in the case of _POSIX_SOURCE, which is predefined and required
25024 # on some systems where configure will not decide to define it.
25025 cat >>conftest.undefs <<\_ACEOF
25026 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25027 _ACEOF
25029 # Break up conftest.defines because some shells have a limit on the size
25030 # of here documents, and old seds have small limits too (100 cmds).
25031 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25032 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25033 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25034 echo ' :' >>$CONFIG_STATUS
25035 rm -f conftest.tail
25036 while grep . conftest.defines >/dev/null
25038 # Write a limited-size here document to $tmp/defines.sed.
25039 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25040 # Speed up: don't consider the non `#define' lines.
25041 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25042 # Work around the forget-to-reset-the-flag bug.
25043 echo 't clr' >>$CONFIG_STATUS
25044 echo ': clr' >>$CONFIG_STATUS
25045 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25046 echo 'CEOF
25047 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25048 rm -f $tmp/in
25049 mv $tmp/out $tmp/in
25050 ' >>$CONFIG_STATUS
25051 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25052 rm -f conftest.defines
25053 mv conftest.tail conftest.defines
25054 done
25055 rm -f conftest.defines
25056 echo ' fi # grep' >>$CONFIG_STATUS
25057 echo >>$CONFIG_STATUS
25059 # Break up conftest.undefs because some shells have a limit on the size
25060 # of here documents, and old seds have small limits too (100 cmds).
25061 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25062 rm -f conftest.tail
25063 while grep . conftest.undefs >/dev/null
25065 # Write a limited-size here document to $tmp/undefs.sed.
25066 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25067 # Speed up: don't consider the non `#undef'
25068 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25069 # Work around the forget-to-reset-the-flag bug.
25070 echo 't clr' >>$CONFIG_STATUS
25071 echo ': clr' >>$CONFIG_STATUS
25072 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25073 echo 'CEOF
25074 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25075 rm -f $tmp/in
25076 mv $tmp/out $tmp/in
25077 ' >>$CONFIG_STATUS
25078 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25079 rm -f conftest.undefs
25080 mv conftest.tail conftest.undefs
25081 done
25082 rm -f conftest.undefs
25084 cat >>$CONFIG_STATUS <<\_ACEOF
25085 # Let's still pretend it is `configure' which instantiates (i.e., don't
25086 # use $as_me), people would be surprised to read:
25087 # /* config.h. Generated by config.status. */
25088 if test x"$ac_file" = x-; then
25089 echo "/* Generated by configure. */" >$tmp/config.h
25090 else
25091 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25093 cat $tmp/in >>$tmp/config.h
25094 rm -f $tmp/in
25095 if test x"$ac_file" != x-; then
25096 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25097 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25098 echo "$as_me: $ac_file is unchanged" >&6;}
25099 else
25100 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25102 X"$ac_file" : 'X\(//\)[^/]' \| \
25103 X"$ac_file" : 'X\(//\)$' \| \
25104 X"$ac_file" : 'X\(/\)' \| \
25105 . : '\(.\)' 2>/dev/null ||
25106 echo X"$ac_file" |
25107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25109 /^X\(\/\/\)$/{ s//\1/; q; }
25110 /^X\(\/\).*/{ s//\1/; q; }
25111 s/.*/./; q'`
25112 { if $as_mkdir_p; then
25113 mkdir -p "$ac_dir"
25114 else
25115 as_dir="$ac_dir"
25116 as_dirs=
25117 while test ! -d "$as_dir"; do
25118 as_dirs="$as_dir $as_dirs"
25119 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25121 X"$as_dir" : 'X\(//\)[^/]' \| \
25122 X"$as_dir" : 'X\(//\)$' \| \
25123 X"$as_dir" : 'X\(/\)' \| \
25124 . : '\(.\)' 2>/dev/null ||
25125 echo X"$as_dir" |
25126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25128 /^X\(\/\/\)$/{ s//\1/; q; }
25129 /^X\(\/\).*/{ s//\1/; q; }
25130 s/.*/./; q'`
25131 done
25132 test ! -n "$as_dirs" || mkdir $as_dirs
25133 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25134 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25135 { (exit 1); exit 1; }; }; }
25137 rm -f $ac_file
25138 mv $tmp/config.h $ac_file
25140 else
25141 cat $tmp/config.h
25142 rm -f $tmp/config.h
25144 # Compute $ac_file's index in $config_headers.
25145 _am_stamp_count=1
25146 for _am_header in $config_headers :; do
25147 case $_am_header in
25148 $ac_file | $ac_file:* )
25149 break ;;
25151 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25152 esac
25153 done
25154 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25155 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25156 X$ac_file : 'X\(//\)[^/]' \| \
25157 X$ac_file : 'X\(//\)$' \| \
25158 X$ac_file : 'X\(/\)' \| \
25159 . : '\(.\)' 2>/dev/null ||
25160 echo X$ac_file |
25161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25163 /^X\(\/\/\)$/{ s//\1/; q; }
25164 /^X\(\/\).*/{ s//\1/; q; }
25165 s/.*/./; q'`/stamp-h$_am_stamp_count
25166 done
25167 _ACEOF
25168 cat >>$CONFIG_STATUS <<\_ACEOF
25171 # CONFIG_COMMANDS section.
25173 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25174 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25175 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25176 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25177 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25178 X"$ac_dest" : 'X\(//\)[^/]' \| \
25179 X"$ac_dest" : 'X\(//\)$' \| \
25180 X"$ac_dest" : 'X\(/\)' \| \
25181 . : '\(.\)' 2>/dev/null ||
25182 echo X"$ac_dest" |
25183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25184 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25185 /^X\(\/\/\)$/{ s//\1/; q; }
25186 /^X\(\/\).*/{ s//\1/; q; }
25187 s/.*/./; q'`
25188 { if $as_mkdir_p; then
25189 mkdir -p "$ac_dir"
25190 else
25191 as_dir="$ac_dir"
25192 as_dirs=
25193 while test ! -d "$as_dir"; do
25194 as_dirs="$as_dir $as_dirs"
25195 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25196 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25197 X"$as_dir" : 'X\(//\)[^/]' \| \
25198 X"$as_dir" : 'X\(//\)$' \| \
25199 X"$as_dir" : 'X\(/\)' \| \
25200 . : '\(.\)' 2>/dev/null ||
25201 echo X"$as_dir" |
25202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25204 /^X\(\/\/\)$/{ s//\1/; q; }
25205 /^X\(\/\).*/{ s//\1/; q; }
25206 s/.*/./; q'`
25207 done
25208 test ! -n "$as_dirs" || mkdir $as_dirs
25209 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25210 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25211 { (exit 1); exit 1; }; }; }
25213 ac_builddir=.
25215 if test "$ac_dir" != .; then
25216 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25217 # A "../" for each directory in $ac_dir_suffix.
25218 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25219 else
25220 ac_dir_suffix= ac_top_builddir=
25223 case $srcdir in
25224 .) # No --srcdir option. We are building in place.
25225 ac_srcdir=.
25226 if test -z "$ac_top_builddir"; then
25227 ac_top_srcdir=.
25228 else
25229 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25230 fi ;;
25231 [\\/]* | ?:[\\/]* ) # Absolute path.
25232 ac_srcdir=$srcdir$ac_dir_suffix;
25233 ac_top_srcdir=$srcdir ;;
25234 *) # Relative path.
25235 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25236 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25237 esac
25239 # Do not use `cd foo && pwd` to compute absolute paths, because
25240 # the directories may not exist.
25241 case `pwd` in
25242 .) ac_abs_builddir="$ac_dir";;
25244 case "$ac_dir" in
25245 .) ac_abs_builddir=`pwd`;;
25246 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25247 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25248 esac;;
25249 esac
25250 case $ac_abs_builddir in
25251 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25253 case ${ac_top_builddir}. in
25254 .) ac_abs_top_builddir=$ac_abs_builddir;;
25255 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25256 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25257 esac;;
25258 esac
25259 case $ac_abs_builddir in
25260 .) ac_abs_srcdir=$ac_srcdir;;
25262 case $ac_srcdir in
25263 .) ac_abs_srcdir=$ac_abs_builddir;;
25264 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25265 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25266 esac;;
25267 esac
25268 case $ac_abs_builddir in
25269 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25271 case $ac_top_srcdir in
25272 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25273 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25274 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25275 esac;;
25276 esac
25279 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25280 echo "$as_me: executing $ac_dest commands" >&6;}
25281 case $ac_dest in
25282 default-1 )
25283 # Only add multilib support code if we just rebuilt the top-level
25284 # Makefile.
25285 case " $CONFIG_FILES " in
25286 *" Makefile "*)
25287 ac_file=Makefile . ${multi_basedir}/config-ml.in
25289 esac ;;
25290 gstdint.h )
25291 if test "$GCC" = yes; then
25292 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25293 else
25294 echo "/* generated for $CC */" > tmp-stdint.h
25297 sed 's/^ *//' >> tmp-stdint.h <<EOF
25299 #ifndef GCC_GENERATED_STDINT_H
25300 #define GCC_GENERATED_STDINT_H 1
25302 #include <sys/types.h>
25305 if test "$acx_cv_header_stdint" != stdint.h; then
25306 echo "#include <stddef.h>" >> tmp-stdint.h
25308 if test "$acx_cv_header_stdint" != stddef.h; then
25309 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25312 sed 's/^ *//' >> tmp-stdint.h <<EOF
25313 /* glibc uses these symbols as guards to prevent redefinitions. */
25314 #ifdef __int8_t_defined
25315 #define _INT8_T
25316 #define _INT16_T
25317 #define _INT32_T
25318 #endif
25319 #ifdef __uint32_t_defined
25320 #define _UINT32_T
25321 #endif
25325 # ----------------- done header, emit basic int types -------------
25326 if test "$acx_cv_header_stdint" = stddef.h; then
25327 sed 's/^ *//' >> tmp-stdint.h <<EOF
25329 #ifndef _UINT8_T
25330 #define _UINT8_T
25331 typedef unsigned $acx_cv_type_int8_t uint8_t;
25332 #endif
25334 #ifndef _UINT16_T
25335 #define _UINT16_T
25336 typedef unsigned $acx_cv_type_int16_t uint16_t;
25337 #endif
25339 #ifndef _UINT32_T
25340 #define _UINT32_T
25341 typedef unsigned $acx_cv_type_int32_t uint32_t;
25342 #endif
25344 #ifndef _INT8_T
25345 #define _INT8_T
25346 typedef $acx_cv_type_int8_t int8_t;
25347 #endif
25349 #ifndef _INT16_T
25350 #define _INT16_T
25351 typedef $acx_cv_type_int16_t int16_t;
25352 #endif
25354 #ifndef _INT32_T
25355 #define _INT32_T
25356 typedef $acx_cv_type_int32_t int32_t;
25357 #endif
25359 elif test "$ac_cv_type_u_int32_t" = yes; then
25360 sed 's/^ *//' >> tmp-stdint.h <<EOF
25362 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25363 #ifndef _INT8_T
25364 #define _INT8_T
25365 #endif
25366 #ifndef _INT16_T
25367 #define _INT16_T
25368 #endif
25369 #ifndef _INT32_T
25370 #define _INT32_T
25371 #endif
25373 #ifndef _UINT8_T
25374 #define _UINT8_T
25375 typedef u_int8_t uint8_t;
25376 #endif
25378 #ifndef _UINT16_T
25379 #define _UINT16_T
25380 typedef u_int16_t uint16_t;
25381 #endif
25383 #ifndef _UINT32_T
25384 #define _UINT32_T
25385 typedef u_int32_t uint32_t;
25386 #endif
25388 else
25389 sed 's/^ *//' >> tmp-stdint.h <<EOF
25391 /* Some systems have guard macros to prevent redefinitions, define them. */
25392 #ifndef _INT8_T
25393 #define _INT8_T
25394 #endif
25395 #ifndef _INT16_T
25396 #define _INT16_T
25397 #endif
25398 #ifndef _INT32_T
25399 #define _INT32_T
25400 #endif
25401 #ifndef _UINT8_T
25402 #define _UINT8_T
25403 #endif
25404 #ifndef _UINT16_T
25405 #define _UINT16_T
25406 #endif
25407 #ifndef _UINT32_T
25408 #define _UINT32_T
25409 #endif
25413 # ------------- done basic int types, emit int64_t types ------------
25414 if test "$ac_cv_type_uint64_t" = yes; then
25415 sed 's/^ *//' >> tmp-stdint.h <<EOF
25417 /* system headers have good uint64_t and int64_t */
25418 #ifndef _INT64_T
25419 #define _INT64_T
25420 #endif
25421 #ifndef _UINT64_T
25422 #define _UINT64_T
25423 #endif
25425 elif test "$ac_cv_type_u_int64_t" = yes; then
25426 sed 's/^ *//' >> tmp-stdint.h <<EOF
25428 /* system headers have an u_int64_t (and int64_t) */
25429 #ifndef _INT64_T
25430 #define _INT64_T
25431 #endif
25432 #ifndef _UINT64_T
25433 #define _UINT64_T
25434 typedef u_int64_t uint64_t;
25435 #endif
25437 elif test -n "$acx_cv_type_int64_t"; then
25438 sed 's/^ *//' >> tmp-stdint.h <<EOF
25440 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25441 #ifndef _INT64_T
25442 #define _INT64_T
25443 typedef $acx_cv_type_int64_t int64_t;
25444 #endif
25445 #ifndef _UINT64_T
25446 #define _UINT64_T
25447 typedef unsigned $acx_cv_type_int64_t uint64_t;
25448 #endif
25450 else
25451 sed 's/^ *//' >> tmp-stdint.h <<EOF
25453 /* some common heuristics for int64_t, using compiler-specific tests */
25454 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25455 #ifndef _INT64_T
25456 #define _INT64_T
25457 typedef long long int64_t;
25458 #endif
25459 #ifndef _UINT64_T
25460 #define _UINT64_T
25461 typedef unsigned long long uint64_t;
25462 #endif
25464 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25465 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25466 does not implement __extension__. But that compiler doesn't define
25467 __GNUC_MINOR__. */
25468 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25469 # define __extension__
25470 # endif
25472 # ifndef _INT64_T
25473 # define _INT64_T
25474 __extension__ typedef long long int64_t;
25475 # endif
25476 # ifndef _UINT64_T
25477 # define _UINT64_T
25478 __extension__ typedef unsigned long long uint64_t;
25479 # endif
25481 #elif !defined __STRICT_ANSI__
25482 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25484 # ifndef _INT64_T
25485 # define _INT64_T
25486 typedef __int64 int64_t;
25487 # endif
25488 # ifndef _UINT64_T
25489 # define _UINT64_T
25490 typedef unsigned __int64 uint64_t;
25491 # endif
25492 # endif /* compiler */
25494 #endif /* ANSI version */
25498 # ------------- done int64_t types, emit intptr types ------------
25499 if test "$ac_cv_type_uintptr_t" != yes; then
25500 sed 's/^ *//' >> tmp-stdint.h <<EOF
25502 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25503 typedef u$acx_cv_type_intptr_t uintptr_t;
25504 typedef $acx_cv_type_intptr_t intptr_t;
25508 # ------------- done intptr types, emit int_least types ------------
25509 if test "$ac_cv_type_int_least32_t" != yes; then
25510 sed 's/^ *//' >> tmp-stdint.h <<EOF
25512 /* Define int_least types */
25513 typedef int8_t int_least8_t;
25514 typedef int16_t int_least16_t;
25515 typedef int32_t int_least32_t;
25516 #ifdef _INT64_T
25517 typedef int64_t int_least64_t;
25518 #endif
25520 typedef uint8_t uint_least8_t;
25521 typedef uint16_t uint_least16_t;
25522 typedef uint32_t uint_least32_t;
25523 #ifdef _UINT64_T
25524 typedef uint64_t uint_least64_t;
25525 #endif
25529 # ------------- done intptr types, emit int_fast types ------------
25530 if test "$ac_cv_type_int_fast32_t" != yes; then
25531 sed 's/^ *//' >> tmp-stdint.h <<EOF
25533 /* Define int_fast types. short is often slow */
25534 typedef int8_t int_fast8_t;
25535 typedef int int_fast16_t;
25536 typedef int32_t int_fast32_t;
25537 #ifdef _INT64_T
25538 typedef int64_t int_fast64_t;
25539 #endif
25541 typedef uint8_t uint_fast8_t;
25542 typedef unsigned int uint_fast16_t;
25543 typedef uint32_t uint_fast32_t;
25544 #ifdef _UINT64_T
25545 typedef uint64_t uint_fast64_t;
25546 #endif
25550 if test "$ac_cv_type_uintmax_t" != yes; then
25551 sed 's/^ *//' >> tmp-stdint.h <<EOF
25553 /* Define intmax based on what we found */
25554 #ifdef _INT64_T
25555 typedef int64_t intmax_t;
25556 #else
25557 typedef long intmax_t;
25558 #endif
25559 #ifdef _UINT64_T
25560 typedef uint64_t uintmax_t;
25561 #else
25562 typedef unsigned long uintmax_t;
25563 #endif
25567 sed 's/^ *//' >> tmp-stdint.h <<EOF
25569 #endif /* GCC_GENERATED_STDINT_H */
25572 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
25573 rm -f tmp-stdint.h
25574 else
25575 mv -f tmp-stdint.h gstdint.h
25579 esac
25580 done
25581 _ACEOF
25583 cat >>$CONFIG_STATUS <<\_ACEOF
25585 { (exit 0); exit 0; }
25586 _ACEOF
25587 chmod +x $CONFIG_STATUS
25588 ac_clean_files=$ac_clean_files_save
25591 # configure is writing to config.log, and then calls config.status.
25592 # config.status does its own redirection, appending to config.log.
25593 # Unfortunately, on DOS this fails, as config.log is still kept open
25594 # by configure, so config.status won't be able to write to it; its
25595 # output is simply discarded. So we exec the FD to /dev/null,
25596 # effectively closing config.log, so it can be properly (re)opened and
25597 # appended to by config.status. When coming back to configure, we
25598 # need to make the FD available again.
25599 if test "$no_create" != yes; then
25600 ac_cs_success=:
25601 ac_config_status_args=
25602 test "$silent" = yes &&
25603 ac_config_status_args="$ac_config_status_args --quiet"
25604 exec 5>/dev/null
25605 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25606 exec 5>>config.log
25607 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25608 # would make configure fail if this is the last instruction.
25609 $ac_cs_success || { (exit 1); exit 1; }