PR middle-end/24998
[official-gcc.git] / libgfortran / configure
blob5c7f926b37a560f725190e0314c1e385d81c3c88
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_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-gnu-ld assume the C compiler uses GNU ld default=no
868 --with-pic try to use only PIC/non-PIC objects default=use both
870 Some influential environment variables:
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
877 FC Fortran compiler command
878 FCFLAGS Fortran compiler flags
879 CPP C preprocessor
881 Use these variables to override the choices made by `configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
884 _ACEOF
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
889 ac_popdir=`pwd`
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
892 ac_builddir=.
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
898 else
899 ac_dir_suffix= ac_top_builddir=
902 case $srcdir in
903 .) # No --srcdir option. We are building in place.
904 ac_srcdir=.
905 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=.
907 else
908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909 fi ;;
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
913 *) # Relative path.
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 esac
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
920 case `pwd` in
921 .) ac_abs_builddir="$ac_dir";;
923 case "$ac_dir" in
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 esac;;
928 esac
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 esac;;
937 esac
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
941 case $ac_srcdir in
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 esac;;
946 esac
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 esac;;
955 esac
957 cd $ac_dir
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
960 echo
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
963 echo
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
967 echo
968 $ac_configure --help
969 else
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 cd $ac_popdir
973 done
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
978 cat <<\_ACEOF
979 GNU Fortran Runtime Library configure 0.2
980 generated by GNU Autoconf 2.59
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
985 _ACEOF
986 exit 0
988 exec 5>config.log
989 cat >&5 <<_ACEOF
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
996 $ $0 $@
998 _ACEOF
1000 cat <<_ASUNAME
1001 ## --------- ##
1002 ## Platform. ##
1003 ## --------- ##
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1022 _ASUNAME
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 for as_dir in $PATH
1027 IFS=$as_save_IFS
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1030 done
1032 } >&5
1034 cat >&5 <<_ACEOF
1037 ## ----------- ##
1038 ## Core tests. ##
1039 ## ----------- ##
1041 _ACEOF
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_configure_args=
1050 ac_configure_args0=
1051 ac_configure_args1=
1052 ac_sep=
1053 ac_must_keep_next=false
1054 for ac_pass in 1 2
1056 for ac_arg
1058 case $ac_arg in
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 continue ;;
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065 esac
1066 case $ac_pass in
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1072 else
1073 case $ac_arg in
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 esac
1082 -* ) ac_must_keep_next=true ;;
1083 esac
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1087 ac_sep=" "
1089 esac
1090 done
1091 done
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101 # Save into config.log some information that might help in debugging.
1103 echo
1105 cat <<\_ASBOX
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1109 _ASBOX
1110 echo
1111 # The following way of writing the cache mishandles newlines in values,
1113 (set) 2>&1 |
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 *ac_space=\ *)
1116 sed -n \
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 sed -n \
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 esac;
1126 echo
1128 cat <<\_ASBOX
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1132 _ASBOX
1133 echo
1134 for ac_var in $ac_subst_vars
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1138 done | sort
1139 echo
1141 if test -n "$ac_subst_files"; then
1142 cat <<\_ASBOX
1143 ## ------------- ##
1144 ## Output files. ##
1145 ## ------------- ##
1146 _ASBOX
1147 echo
1148 for ac_var in $ac_subst_files
1150 eval ac_val=$`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1152 done | sort
1153 echo
1156 if test -s confdefs.h; then
1157 cat <<\_ASBOX
1158 ## ----------- ##
1159 ## confdefs.h. ##
1160 ## ----------- ##
1161 _ASBOX
1162 echo
1163 sed "/^$/d" confdefs.h | sort
1164 echo
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1169 } >&5
1170 rm -f core *.core &&
1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172 exit $exit_status
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 done
1177 ac_signal=0
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 echo >confdefs.h
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 _ACEOF
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 _ACEOF
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 _ACEOF
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 _ACEOF
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 _ACEOF
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 else
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's/^/| /' "$ac_site_file" >&5
1225 . "$ac_site_file"
1227 done
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1235 case $cache_file in
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1238 esac
1240 else
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1243 >$cache_file
1246 # Check that the precious variables saved in the cache have kept the same
1247 # value.
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1256 set,)
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1260 ,set)
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1264 ,);;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1274 fi;;
1275 esac
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1278 case $ac_new_val in
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1282 esac
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 esac
1288 done
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1297 ac_ext=c
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 ac_config_headers="$ac_config_headers config.h"
1331 ac_aux_dir=
1332 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333 if test -f $ac_dir/install-sh; then
1334 ac_aux_dir=$ac_dir
1335 ac_install_sh="$ac_aux_dir/install-sh -c"
1336 break
1337 elif test -f $ac_dir/install.sh; then
1338 ac_aux_dir=$ac_dir
1339 ac_install_sh="$ac_aux_dir/install.sh -c"
1340 break
1341 elif test -f $ac_dir/shtool; then
1342 ac_aux_dir=$ac_dir
1343 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 break
1346 done
1347 if test -z "$ac_aux_dir"; then
1348 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350 { (exit 1); exit 1; }; }
1352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1356 # Make sure we can run config.sub.
1357 $ac_config_sub sun4 >/dev/null 2>&1 ||
1358 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1359 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1360 { (exit 1); exit 1; }; }
1362 echo "$as_me:$LINENO: checking build system type" >&5
1363 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1364 if test "${ac_cv_build+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 else
1367 ac_cv_build_alias=$build_alias
1368 test -z "$ac_cv_build_alias" &&
1369 ac_cv_build_alias=`$ac_config_guess`
1370 test -z "$ac_cv_build_alias" &&
1371 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1372 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1373 { (exit 1); exit 1; }; }
1374 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1375 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1376 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1377 { (exit 1); exit 1; }; }
1380 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1381 echo "${ECHO_T}$ac_cv_build" >&6
1382 build=$ac_cv_build
1383 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1388 case ${build_alias} in
1389 "") build_noncanonical=${build} ;;
1390 *) build_noncanonical=${build_alias} ;;
1391 esac
1393 case ${host_alias} in
1394 "") host_noncanonical=${build_noncanonical} ;;
1395 *) host_noncanonical=${host_alias} ;;
1396 esac
1398 case ${target_alias} in
1399 "") target_noncanonical=${host_noncanonical} ;;
1400 *) target_noncanonical=${target_alias} ;;
1401 esac
1403 # Prefix 'build-' so this never conflicts with target_subdir.
1404 build_subdir="build-${build_noncanonical}"
1405 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1406 if ( test $srcdir = . && test -d gcc ) \
1407 || test -d $srcdir/../host-${host_noncanonical}; then
1408 host_subdir="host-${host_noncanonical}"
1409 else
1410 host_subdir=.
1412 # No prefix.
1413 target_subdir=${target_noncanonical}
1416 # -------
1417 # Options
1418 # -------
1420 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1421 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1422 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1423 if test "${enable_version_specific_runtime_libs+set}" = set; then
1424 enableval="$enable_version_specific_runtime_libs"
1425 case "$enableval" in
1426 yes) version_specific_libs=yes ;;
1427 no) version_specific_libs=no ;;
1428 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1429 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1430 { (exit 1); exit 1; }; };;
1431 esac
1432 else
1433 version_specific_libs=no
1435 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1436 echo "${ECHO_T}$version_specific_libs" >&6
1439 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1441 # You will slowly go insane if you do not grok the following fact: when
1442 # building this library, the top-level /target/ becomes the library's /host/.
1444 # configure then causes --target to default to --host, exactly like any
1445 # other package using autoconf. Therefore, 'target' and 'host' will
1446 # always be the same. This makes sense both for native and cross compilers
1447 # just think about it for a little while. :-)
1449 # Also, if this library is being configured as part of a cross compiler, the
1450 # top-level configure script will pass the "real" host as $with_cross_host.
1452 # Do not delete or change the following two lines. For why, see
1453 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1454 echo "$as_me:$LINENO: checking host system type" >&5
1455 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1456 if test "${ac_cv_host+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 else
1459 ac_cv_host_alias=$host_alias
1460 test -z "$ac_cv_host_alias" &&
1461 ac_cv_host_alias=$ac_cv_build_alias
1462 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1463 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1464 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1465 { (exit 1); exit 1; }; }
1468 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1469 echo "${ECHO_T}$ac_cv_host" >&6
1470 host=$ac_cv_host
1471 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1476 echo "$as_me:$LINENO: checking target system type" >&5
1477 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1478 if test "${ac_cv_target+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 else
1481 ac_cv_target_alias=$target_alias
1482 test "x$ac_cv_target_alias" = "x" &&
1483 ac_cv_target_alias=$ac_cv_host_alias
1484 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1485 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1486 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1487 { (exit 1); exit 1; }; }
1490 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1491 echo "${ECHO_T}$ac_cv_target" >&6
1492 target=$ac_cv_target
1493 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1494 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1495 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1498 # The aliases save the names the user supplied, while $host etc.
1499 # will get canonicalized.
1500 test -n "$target_alias" &&
1501 test "$program_prefix$program_suffix$program_transform_name" = \
1502 NONENONEs,x,x, &&
1503 program_prefix=${target_alias}-
1504 target_alias=${target_alias-$host_alias}
1506 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1507 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1508 # 1.8.2: minimum required version
1509 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1510 # of other PACKAGE_* variables will, however, and there's nothing
1511 # we can do about that; they come from AC_INIT).
1512 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1513 # file in the top srcdir, etc, etc), so stop complaining.
1514 # no-dependencies: turns off auto dependency generation (just for now)
1515 # -Wall: turns on all automake warnings...
1516 # -Wno-portability: ...except this one, since GNU make is required.
1517 am__api_version="1.9"
1518 # Find a good install program. We prefer a C program (faster),
1519 # so one script is as good as another. But avoid the broken or
1520 # incompatible versions:
1521 # SysV /etc/install, /usr/sbin/install
1522 # SunOS /usr/etc/install
1523 # IRIX /sbin/install
1524 # AIX /bin/install
1525 # AmigaOS /C/install, which installs bootblocks on floppy discs
1526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1529 # OS/2's system install, which has a completely different semantic
1530 # ./install, which can be erroneously created by make from ./install.sh.
1531 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1533 if test -z "$INSTALL"; then
1534 if test "${ac_cv_path_install+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538 for as_dir in $PATH
1540 IFS=$as_save_IFS
1541 test -z "$as_dir" && as_dir=.
1542 # Account for people who put trailing slashes in PATH elements.
1543 case $as_dir/ in
1544 ./ | .// | /cC/* | \
1545 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1546 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1547 /usr/ucb/* ) ;;
1549 # OSF1 and SCO ODT 3.0 have their own names for install.
1550 # Don't use installbsd from OSF since it installs stuff as root
1551 # by default.
1552 for ac_prog in ginstall scoinst install; do
1553 for ac_exec_ext in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1555 if test $ac_prog = install &&
1556 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1557 # AIX install. It has an incompatible calling convention.
1559 elif test $ac_prog = install &&
1560 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1561 # program-specific install script used by HP pwplus--don't use.
1563 else
1564 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1565 break 3
1568 done
1569 done
1571 esac
1572 done
1576 if test "${ac_cv_path_install+set}" = set; then
1577 INSTALL=$ac_cv_path_install
1578 else
1579 # As a last resort, use the slow shell script. We don't cache a
1580 # path for INSTALL within a source directory, because that will
1581 # break other packages using the cache if that directory is
1582 # removed, or if the path is relative.
1583 INSTALL=$ac_install_sh
1586 echo "$as_me:$LINENO: result: $INSTALL" >&5
1587 echo "${ECHO_T}$INSTALL" >&6
1589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1590 # It thinks the first close brace ends the variable substitution.
1591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1595 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1597 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1598 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1599 # Just in case
1600 sleep 1
1601 echo timestamp > conftest.file
1602 # Do `set' in a subshell so we don't clobber the current shell's
1603 # arguments. Must try -L first in case configure is actually a
1604 # symlink; some systems play weird games with the mod time of symlinks
1605 # (eg FreeBSD returns the mod time of the symlink's containing
1606 # directory).
1607 if (
1608 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1609 if test "$*" = "X"; then
1610 # -L didn't work.
1611 set X `ls -t $srcdir/configure conftest.file`
1613 rm -f conftest.file
1614 if test "$*" != "X $srcdir/configure conftest.file" \
1615 && test "$*" != "X conftest.file $srcdir/configure"; then
1617 # If neither matched, then we have a broken ls. This can happen
1618 # if, for instance, CONFIG_SHELL is bash and it inherits a
1619 # broken ls alias from the environment. This has actually
1620 # happened. Such a system could not be considered "sane".
1621 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1622 alias in your environment" >&5
1623 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1624 alias in your environment" >&2;}
1625 { (exit 1); exit 1; }; }
1628 test "$2" = conftest.file
1630 then
1631 # Ok.
1633 else
1634 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1635 Check your system clock" >&5
1636 echo "$as_me: error: newly created file is older than distributed files!
1637 Check your system clock" >&2;}
1638 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: yes" >&5
1641 echo "${ECHO_T}yes" >&6
1642 test "$program_prefix" != NONE &&
1643 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1644 # Use a double $ so make ignores it.
1645 test "$program_suffix" != NONE &&
1646 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1647 # Double any \ or $. echo might interpret backslashes.
1648 # By default was `s,x,x', remove it if useless.
1649 cat <<\_ACEOF >conftest.sed
1650 s/[\\$]/&&/g;s/;s,x,x,$//
1651 _ACEOF
1652 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1653 rm conftest.sed
1655 # expand $ac_aux_dir to an absolute path
1656 am_aux_dir=`cd $ac_aux_dir && pwd`
1658 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1659 # Use eval to expand $SHELL
1660 if eval "$MISSING --run true"; then
1661 am_missing_run="$MISSING --run "
1662 else
1663 am_missing_run=
1664 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1665 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1668 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1669 # We used to keeping the `.' as first argument, in order to
1670 # allow $(mkdir_p) to be used without argument. As in
1671 # $(mkdir_p) $(somedir)
1672 # where $(somedir) is conditionally defined. However this is wrong
1673 # for two reasons:
1674 # 1. if the package is installed by a user who cannot write `.'
1675 # make install will fail,
1676 # 2. the above comment should most certainly read
1677 # $(mkdir_p) $(DESTDIR)$(somedir)
1678 # so it does not work when $(somedir) is undefined and
1679 # $(DESTDIR) is not.
1680 # To support the latter case, we have to write
1681 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1682 # so the `.' trick is pointless.
1683 mkdir_p='mkdir -p --'
1684 else
1685 # On NextStep and OpenStep, the `mkdir' command does not
1686 # recognize any option. It will interpret all options as
1687 # directories to create, and then abort because `.' already
1688 # exists.
1689 for d in ./-p ./--version;
1691 test -d $d && rmdir $d
1692 done
1693 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1694 if test -f "$ac_aux_dir/mkinstalldirs"; then
1695 mkdir_p='$(mkinstalldirs)'
1696 else
1697 mkdir_p='$(install_sh) -d'
1701 for ac_prog in gawk mawk nawk awk
1703 # Extract the first word of "$ac_prog", so it can be a program name with args.
1704 set dummy $ac_prog; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_AWK+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710 if test -n "$AWK"; then
1711 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1712 else
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1716 IFS=$as_save_IFS
1717 test -z "$as_dir" && as_dir=.
1718 for ac_exec_ext in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_AWK="$ac_prog"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722 break 2
1724 done
1725 done
1729 AWK=$ac_cv_prog_AWK
1730 if test -n "$AWK"; then
1731 echo "$as_me:$LINENO: result: $AWK" >&5
1732 echo "${ECHO_T}$AWK" >&6
1733 else
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1738 test -n "$AWK" && break
1739 done
1741 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1743 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1744 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 else
1747 cat >conftest.make <<\_ACEOF
1748 all:
1749 @echo 'ac_maketemp="$(MAKE)"'
1750 _ACEOF
1751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1752 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1753 if test -n "$ac_maketemp"; then
1754 eval ac_cv_prog_make_${ac_make}_set=yes
1755 else
1756 eval ac_cv_prog_make_${ac_make}_set=no
1758 rm -f conftest.make
1760 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1761 echo "$as_me:$LINENO: result: yes" >&5
1762 echo "${ECHO_T}yes" >&6
1763 SET_MAKE=
1764 else
1765 echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1767 SET_MAKE="MAKE=${MAKE-make}"
1770 rm -rf .tst 2>/dev/null
1771 mkdir .tst 2>/dev/null
1772 if test -d .tst; then
1773 am__leading_dot=.
1774 else
1775 am__leading_dot=_
1777 rmdir .tst 2>/dev/null
1779 # test to see if srcdir already configured
1780 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1781 test -f $srcdir/config.status; then
1782 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1783 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1784 { (exit 1); exit 1; }; }
1787 # test whether we have cygpath
1788 if test -z "$CYGPATH_W"; then
1789 if (cygpath --version) >/dev/null 2>/dev/null; then
1790 CYGPATH_W='cygpath -w'
1791 else
1792 CYGPATH_W=echo
1797 # Define the identity of the package.
1798 PACKAGE='libgfortran'
1799 VERSION='0.2'
1802 # Some tools Automake needs.
1804 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1807 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1810 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1813 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1816 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1818 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1820 # Installed binaries are usually stripped using `strip' when the user
1821 # run `make install-strip'. However `strip' might not be the right
1822 # tool to use in cross-compilation environments, therefore Automake
1823 # will honor the `STRIP' environment variable to overrule this program.
1824 if test "$cross_compiling" != no; then
1825 if test -n "$ac_tool_prefix"; then
1826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1827 set dummy ${ac_tool_prefix}strip; ac_word=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_STRIP+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 else
1833 if test -n "$STRIP"; then
1834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1835 else
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 for as_dir in $PATH
1839 IFS=$as_save_IFS
1840 test -z "$as_dir" && as_dir=.
1841 for ac_exec_ext in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845 break 2
1847 done
1848 done
1852 STRIP=$ac_cv_prog_STRIP
1853 if test -n "$STRIP"; then
1854 echo "$as_me:$LINENO: result: $STRIP" >&5
1855 echo "${ECHO_T}$STRIP" >&6
1856 else
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1862 if test -z "$ac_cv_prog_STRIP"; then
1863 ac_ct_STRIP=$STRIP
1864 # Extract the first word of "strip", so it can be a program name with args.
1865 set dummy strip; ac_word=$2
1866 echo "$as_me:$LINENO: checking for $ac_word" >&5
1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 else
1871 if test -n "$ac_ct_STRIP"; then
1872 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1873 else
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 for as_dir in $PATH
1877 IFS=$as_save_IFS
1878 test -z "$as_dir" && as_dir=.
1879 for ac_exec_ext in '' $ac_executable_extensions; do
1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881 ac_cv_prog_ac_ct_STRIP="strip"
1882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 break 2
1885 done
1886 done
1888 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1891 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1892 if test -n "$ac_ct_STRIP"; then
1893 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1894 echo "${ECHO_T}$ac_ct_STRIP" >&6
1895 else
1896 echo "$as_me:$LINENO: result: no" >&5
1897 echo "${ECHO_T}no" >&6
1900 STRIP=$ac_ct_STRIP
1901 else
1902 STRIP="$ac_cv_prog_STRIP"
1906 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1908 # We need awk for the "check" target. The system "awk" is bad on
1909 # some platforms.
1910 # Always define AMTAR for backward compatibility.
1912 AMTAR=${AMTAR-"${am_missing_run}tar"}
1914 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1921 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1922 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1923 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1924 if test "${enable_maintainer_mode+set}" = set; then
1925 enableval="$enable_maintainer_mode"
1926 USE_MAINTAINER_MODE=$enableval
1927 else
1928 USE_MAINTAINER_MODE=no
1930 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1931 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1934 if test $USE_MAINTAINER_MODE = yes; then
1935 MAINTAINER_MODE_TRUE=
1936 MAINTAINER_MODE_FALSE='#'
1937 else
1938 MAINTAINER_MODE_TRUE='#'
1939 MAINTAINER_MODE_FALSE=
1942 MAINT=$MAINTAINER_MODE_TRUE
1945 # Default to --enable-multilib
1946 # Check whether --enable-multilib or --disable-multilib was given.
1947 if test "${enable_multilib+set}" = set; then
1948 enableval="$enable_multilib"
1949 case "$enableval" in
1950 yes) multilib=yes ;;
1951 no) multilib=no ;;
1952 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1953 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1954 { (exit 1); exit 1; }; } ;;
1955 esac
1956 else
1957 multilib=yes
1960 # We may get other options which we leave undocumented:
1961 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1962 # See config-ml.in if you want the gory details.
1964 if test "$srcdir" = "."; then
1965 if test "$with_target_subdir" != "."; then
1966 multi_basedir="$srcdir/$with_multisrctop../.."
1967 else
1968 multi_basedir="$srcdir/$with_multisrctop.."
1970 else
1971 multi_basedir="$srcdir/.."
1975 ac_config_commands="$ac_config_commands default-1"
1978 # Handy for debugging:
1979 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1981 # Are we being configured with some form of cross compiler?
1982 # NB: We don't actually need to know this just now, but when, say, a test
1983 # suite is included, we'll have to know.
1984 if test "$build" != "$host"; then
1985 LIBGFOR_IS_NATIVE=false
1987 else
1988 LIBGFOR_IS_NATIVE=true
1991 # Calculate toolexeclibdir
1992 # Also toolexecdir, though it's only used in toolexeclibdir
1993 case ${version_specific_libs} in
1994 yes)
1995 # Need the gcc compiler version to know where to install libraries
1996 # and header files if --enable-version-specific-runtime-libs option
1997 # is selected.
1998 toolexecdir='$(libdir)/gcc/$(target_alias)'
1999 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2002 if test -n "$with_cross_host" &&
2003 test x"$with_cross_host" != x"no"; then
2004 # Install a library built with a cross compiler in tooldir, not libdir.
2005 toolexecdir='$(exec_prefix)/$(target_alias)'
2006 toolexeclibdir='$(toolexecdir)/lib'
2007 else
2008 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2009 toolexeclibdir='$(libdir)'
2011 multi_os_directory=`$CC -print-multi-os-directory`
2012 case $multi_os_directory in
2013 .) ;; # Avoid trailing /.
2014 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2015 esac
2017 esac
2021 # Check the compiler.
2022 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2023 # We must force CC to /not/ be precious variables; otherwise
2024 # the wrong, non-multilib-adjusted value will be used in multilibs.
2025 # As a side effect, we have to subst CFLAGS ourselves.
2029 ac_ext=c
2030 ac_cpp='$CPP $CPPFLAGS'
2031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 else
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC="$CC" # Let the user override the test.
2044 else
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 for as_dir in $PATH
2048 IFS=$as_save_IFS
2049 test -z "$as_dir" && as_dir=.
2050 for ac_exec_ext in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 break 2
2056 done
2057 done
2061 CC=$ac_cv_prog_CC
2062 if test -n "$CC"; then
2063 echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2065 else
2066 echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2071 if test -z "$ac_cv_prog_CC"; then
2072 ac_ct_CC=$CC
2073 # Extract the first word of "gcc", so it can be a program name with args.
2074 set dummy gcc; ac_word=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 else
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 else
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 for as_dir in $PATH
2086 IFS=$as_save_IFS
2087 test -z "$as_dir" && as_dir=.
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC="gcc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 break 2
2094 done
2095 done
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2103 else
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2108 CC=$ac_ct_CC
2109 else
2110 CC="$ac_cv_prog_CC"
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}cc; ac_word=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 else
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC="$CC" # Let the user override the test.
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH
2128 IFS=$as_save_IFS
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_CC="${ac_tool_prefix}cc"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 break 2
2136 done
2137 done
2141 CC=$ac_cv_prog_CC
2142 if test -n "$CC"; then
2143 echo "$as_me:$LINENO: result: $CC" >&5
2144 echo "${ECHO_T}$CC" >&6
2145 else
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2151 if test -z "$ac_cv_prog_CC"; then
2152 ac_ct_CC=$CC
2153 # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 else
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2162 else
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2166 IFS=$as_save_IFS
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_CC="cc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 break 2
2174 done
2175 done
2179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 echo "${ECHO_T}$ac_ct_CC" >&6
2183 else
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2188 CC=$ac_ct_CC
2189 else
2190 CC="$ac_cv_prog_CC"
2194 if test -z "$CC"; then
2195 # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc; ac_word=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 else
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2204 else
2205 ac_prog_rejected=no
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2209 IFS=$as_save_IFS
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2214 ac_prog_rejected=yes
2215 continue
2217 ac_cv_prog_CC="cc"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2221 done
2222 done
2224 if test $ac_prog_rejected = yes; then
2225 # We found a bogon in the path, so make sure we never use it.
2226 set dummy $ac_cv_prog_CC
2227 shift
2228 if test $# != 0; then
2229 # We chose a different compiler from the bogus one.
2230 # However, it has the same basename, so the bogon will be chosen
2231 # first if we set CC to just the basename; use the full file name.
2232 shift
2233 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2238 CC=$ac_cv_prog_CC
2239 if test -n "$CC"; then
2240 echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2242 else
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2248 if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2250 for ac_prog in cl
2252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2261 else
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 for as_dir in $PATH
2265 IFS=$as_save_IFS
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 break 2
2273 done
2274 done
2278 CC=$ac_cv_prog_CC
2279 if test -n "$CC"; then
2280 echo "$as_me:$LINENO: result: $CC" >&5
2281 echo "${ECHO_T}$CC" >&6
2282 else
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$CC" && break
2288 done
2290 if test -z "$CC"; then
2291 ac_ct_CC=$CC
2292 for ac_prog in cl
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy $ac_prog; ac_word=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 else
2301 if test -n "$ac_ct_CC"; then
2302 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2303 else
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 for as_dir in $PATH
2307 IFS=$as_save_IFS
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_ac_ct_CC="$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 break 2
2315 done
2316 done
2320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323 echo "${ECHO_T}$ac_ct_CC" >&6
2324 else
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2329 test -n "$ac_ct_CC" && break
2330 done
2332 CC=$ac_ct_CC
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346 "checking for C compiler version" >&5
2347 ac_compiler=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349 (eval $ac_compiler --version </dev/null >&5) 2>&5
2350 ac_status=$?
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354 (eval $ac_compiler -v </dev/null >&5) 2>&5
2355 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359 (eval $ac_compiler -V </dev/null >&5) 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2364 cat >conftest.$ac_ext <<_ACEOF
2365 /* confdefs.h. */
2366 _ACEOF
2367 cat confdefs.h >>conftest.$ac_ext
2368 cat >>conftest.$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2372 main ()
2376 return 0;
2378 _ACEOF
2379 # FIXME: Cleanup?
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381 (eval $ac_link) 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; then
2385 gcc_no_link=no
2386 else
2387 gcc_no_link=yes
2390 if test x$gcc_no_link = xyes; then
2391 # Setting cross_compile will disable run tests; it will
2392 # also disable AC_CHECK_FILE but that's generally
2393 # correct if we can't link.
2394 cross_compiling=yes
2395 EXEEXT=
2396 else
2397 cat >conftest.$ac_ext <<_ACEOF
2398 /* confdefs.h. */
2399 _ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2405 main ()
2409 return 0;
2411 _ACEOF
2412 ac_clean_files_save=$ac_clean_files
2413 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2414 # Try to create an executable without -o first, disregard a.out.
2415 # It will help us diagnose broken compilers, and finding out an intuition
2416 # of exeext.
2417 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2418 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2419 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2420 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2421 (eval $ac_link_default) 2>&5
2422 ac_status=$?
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; then
2425 # Find the output, starting from the most likely. This scheme is
2426 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2427 # resort.
2429 # Be careful to initialize this variable, since it used to be cached.
2430 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2431 ac_cv_exeext=
2432 # b.out is created by i960 compilers.
2433 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2435 test -f "$ac_file" || continue
2436 case $ac_file in
2437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2439 conftest.$ac_ext )
2440 # This is the source file.
2442 [ab].out )
2443 # We found the default executable, but exeext='' is most
2444 # certainly right.
2445 break;;
2446 *.* )
2447 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448 # FIXME: I believe we export ac_cv_exeext for Libtool,
2449 # but it would be cool to find out if it's true. Does anybody
2450 # maintain Libtool? --akim.
2451 export ac_cv_exeext
2452 break;;
2454 break;;
2455 esac
2456 done
2457 else
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2461 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&2;}
2465 { (exit 77); exit 77; }; }
2468 ac_exeext=$ac_cv_exeext
2469 echo "$as_me:$LINENO: result: $ac_file" >&5
2470 echo "${ECHO_T}$ac_file" >&6
2472 # Check the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try='./$ac_file'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 (eval $ac_try) 2>&5
2482 ac_status=$?
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2485 cross_compiling=no
2486 else
2487 if test "$cross_compiling" = maybe; then
2488 cross_compiling=yes
2489 else
2490 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2500 echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6
2503 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 # Check the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2509 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6
2512 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515 (eval $ac_link) 2>&5
2516 ac_status=$?
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; then
2519 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2520 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2521 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 # `rm'.
2523 for ac_file in conftest.exe conftest conftest.*; do
2524 test -f "$ac_file" || continue
2525 case $ac_file in
2526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2527 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528 export ac_cv_exeext
2529 break;;
2530 * ) break;;
2531 esac
2532 done
2533 else
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 rm -f conftest$ac_cv_exeext
2542 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6
2545 rm -f conftest.$ac_ext
2546 EXEEXT=$ac_cv_exeext
2547 ac_exeext=$EXEEXT
2549 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2550 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2551 if test "${ac_cv_objext+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 else
2554 cat >conftest.$ac_ext <<_ACEOF
2555 /* confdefs.h. */
2556 _ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2562 main ()
2566 return 0;
2568 _ACEOF
2569 rm -f conftest.o conftest.obj
2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571 (eval $ac_compile) 2>&5
2572 ac_status=$?
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2576 case $ac_file in
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2578 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2579 break;;
2580 esac
2581 done
2582 else
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2586 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2589 See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }
2593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2595 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2596 echo "${ECHO_T}$ac_cv_objext" >&6
2597 OBJEXT=$ac_cv_objext
2598 ac_objext=$OBJEXT
2599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604 cat >conftest.$ac_ext <<_ACEOF
2605 /* confdefs.h. */
2606 _ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2612 main ()
2614 #ifndef __GNUC__
2615 choke me
2616 #endif
2619 return 0;
2621 _ACEOF
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2625 ac_status=$?
2626 grep -v '^ *+' conftest.er1 >conftest.err
2627 rm -f conftest.er1
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try='test -z "$ac_c_werror_flag"
2632 || test ! -s conftest.err'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634 (eval $ac_try) 2>&5
2635 ac_status=$?
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; } &&
2638 { ac_try='test -s conftest.$ac_objext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 (eval $ac_try) 2>&5
2641 ac_status=$?
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2644 ac_compiler_gnu=yes
2645 else
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2649 ac_compiler_gnu=no
2651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2655 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2656 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2657 GCC=`test $ac_compiler_gnu = yes && echo yes`
2658 ac_test_CFLAGS=${CFLAGS+set}
2659 ac_save_CFLAGS=$CFLAGS
2660 CFLAGS="-g"
2661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2663 if test "${ac_cv_prog_cc_g+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 else
2666 cat >conftest.$ac_ext <<_ACEOF
2667 /* confdefs.h. */
2668 _ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2674 main ()
2678 return 0;
2680 _ACEOF
2681 rm -f conftest.$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2684 ac_status=$?
2685 grep -v '^ *+' conftest.er1 >conftest.err
2686 rm -f conftest.er1
2687 cat conftest.err >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try='test -z "$ac_c_werror_flag"
2691 || test ! -s conftest.err'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 (eval $ac_try) 2>&5
2694 ac_status=$?
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; } &&
2697 { ac_try='test -s conftest.$ac_objext'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 (eval $ac_try) 2>&5
2700 ac_status=$?
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; }; then
2703 ac_cv_prog_cc_g=yes
2704 else
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 ac_cv_prog_cc_g=no
2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2714 if test "$ac_test_CFLAGS" = set; then
2715 CFLAGS=$ac_save_CFLAGS
2716 elif test $ac_cv_prog_cc_g = yes; then
2717 if test "$GCC" = yes; then
2718 CFLAGS="-g -O2"
2719 else
2720 CFLAGS="-g"
2722 else
2723 if test "$GCC" = yes; then
2724 CFLAGS="-O2"
2725 else
2726 CFLAGS=
2729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 else
2734 ac_cv_prog_cc_stdc=no
2735 ac_save_CC=$CC
2736 cat >conftest.$ac_ext <<_ACEOF
2737 /* confdefs.h. */
2738 _ACEOF
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2742 #include <stdarg.h>
2743 #include <stdio.h>
2744 #include <sys/types.h>
2745 #include <sys/stat.h>
2746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2747 struct buf { int x; };
2748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2749 static char *e (p, i)
2750 char **p;
2751 int i;
2753 return p[i];
2755 static char *f (char * (*g) (char **, int), char **p, ...)
2757 char *s;
2758 va_list v;
2759 va_start (v,p);
2760 s = g (p, va_arg (v,int));
2761 va_end (v);
2762 return s;
2765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2766 function prototypes and stuff, but not '\xHH' hex character constants.
2767 These don't provoke an error unfortunately, instead are silently treated
2768 as 'x'. The following induces an error, until -std1 is added to get
2769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2770 array size at least. It's necessary to write '\x00'==0 to get something
2771 that's true only with -std1. */
2772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2774 int test (int i, double x);
2775 struct s1 {int (*f) (int a);};
2776 struct s2 {int (*f) (double a);};
2777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2778 int argc;
2779 char **argv;
2781 main ()
2783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2785 return 0;
2787 _ACEOF
2788 # Don't try gcc -ansi; that turns off useful extensions and
2789 # breaks some systems' header files.
2790 # AIX -qlanglvl=ansi
2791 # Ultrix and OSF/1 -std1
2792 # HP-UX 10.20 and later -Ae
2793 # HP-UX older versions -Aa -D_HPUX_SOURCE
2794 # SVR4 -Xc -D__EXTENSIONS__
2795 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2797 CC="$ac_save_CC $ac_arg"
2798 rm -f conftest.$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 (eval $ac_compile) 2>conftest.er1
2801 ac_status=$?
2802 grep -v '^ *+' conftest.er1 >conftest.err
2803 rm -f conftest.er1
2804 cat conftest.err >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } &&
2807 { ac_try='test -z "$ac_c_werror_flag"
2808 || test ! -s conftest.err'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 (eval $ac_try) 2>&5
2811 ac_status=$?
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; } &&
2814 { ac_try='test -s conftest.$ac_objext'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 (eval $ac_try) 2>&5
2817 ac_status=$?
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2820 ac_cv_prog_cc_stdc=$ac_arg
2821 break
2822 else
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2827 rm -f conftest.err conftest.$ac_objext
2828 done
2829 rm -f conftest.$ac_ext conftest.$ac_objext
2830 CC=$ac_save_CC
2834 case "x$ac_cv_prog_cc_stdc" in
2835 x|xno)
2836 echo "$as_me:$LINENO: result: none needed" >&5
2837 echo "${ECHO_T}none needed" >&6 ;;
2839 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2841 CC="$CC $ac_cv_prog_cc_stdc" ;;
2842 esac
2844 # Some people use a C++ compiler to compile C. Since we use `exit',
2845 # in C++ we need to declare it. In case someone uses the same compiler
2846 # for both compiling C and C++ we need to have the C++ compiler decide
2847 # the declaration of exit, since it's the most demanding environment.
2848 cat >conftest.$ac_ext <<_ACEOF
2849 #ifndef __cplusplus
2850 choke me
2851 #endif
2852 _ACEOF
2853 rm -f conftest.$ac_objext
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>conftest.er1
2856 ac_status=$?
2857 grep -v '^ *+' conftest.er1 >conftest.err
2858 rm -f conftest.er1
2859 cat conftest.err >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } &&
2862 { ac_try='test -z "$ac_c_werror_flag"
2863 || test ! -s conftest.err'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865 (eval $ac_try) 2>&5
2866 ac_status=$?
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; } &&
2869 { ac_try='test -s conftest.$ac_objext'
2870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 (eval $ac_try) 2>&5
2872 ac_status=$?
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; }; then
2875 for ac_declaration in \
2876 '' \
2877 'extern "C" void std::exit (int) throw (); using std::exit;' \
2878 'extern "C" void std::exit (int); using std::exit;' \
2879 'extern "C" void exit (int) throw ();' \
2880 'extern "C" void exit (int);' \
2881 'void exit (int);'
2883 cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h. */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2889 $ac_declaration
2890 #include <stdlib.h>
2892 main ()
2894 exit (42);
2896 return 0;
2898 _ACEOF
2899 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>conftest.er1
2902 ac_status=$?
2903 grep -v '^ *+' conftest.er1 >conftest.err
2904 rm -f conftest.er1
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try='test -z "$ac_c_werror_flag"
2909 || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 (eval $ac_try) 2>&5
2912 ac_status=$?
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try='test -s conftest.$ac_objext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 (eval $ac_try) 2>&5
2918 ac_status=$?
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 continue
2928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2929 cat >conftest.$ac_ext <<_ACEOF
2930 /* confdefs.h. */
2931 _ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2935 $ac_declaration
2937 main ()
2939 exit (42);
2941 return 0;
2943 _ACEOF
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>conftest.er1
2947 ac_status=$?
2948 grep -v '^ *+' conftest.er1 >conftest.err
2949 rm -f conftest.er1
2950 cat conftest.err >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try='test -z "$ac_c_werror_flag"
2954 || test ! -s conftest.err'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 (eval $ac_try) 2>&5
2957 ac_status=$?
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; } &&
2960 { ac_try='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962 (eval $ac_try) 2>&5
2963 ac_status=$?
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2966 break
2967 else
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2973 done
2974 rm -f conftest*
2975 if test -n "$ac_declaration"; then
2976 echo '#ifdef __cplusplus' >>confdefs.h
2977 echo $ac_declaration >>confdefs.h
2978 echo '#endif' >>confdefs.h
2981 else
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2987 ac_ext=c
2988 ac_cpp='$CPP $CPPFLAGS'
2989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
2996 if test "x$GCC" = "xyes"; then
2997 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
2998 ## We like to use C99 routines when available. This makes sure that
2999 ## __STDC_VERSION__ is set such that libc includes make them available.
3000 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3005 # Find other programs we need.
3006 if test -n "$ac_tool_prefix"; then
3007 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3008 set dummy ${ac_tool_prefix}as; ac_word=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_AS+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 else
3014 if test -n "$AS"; then
3015 ac_cv_prog_AS="$AS" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3020 IFS=$as_save_IFS
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_AS="${ac_tool_prefix}as"
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 break 2
3028 done
3029 done
3033 AS=$ac_cv_prog_AS
3034 if test -n "$AS"; then
3035 echo "$as_me:$LINENO: result: $AS" >&5
3036 echo "${ECHO_T}$AS" >&6
3037 else
3038 echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3043 if test -z "$ac_cv_prog_AS"; then
3044 ac_ct_AS=$AS
3045 # Extract the first word of "as", so it can be a program name with args.
3046 set dummy as; ac_word=$2
3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3049 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 else
3052 if test -n "$ac_ct_AS"; then
3053 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3054 else
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 for as_dir in $PATH
3058 IFS=$as_save_IFS
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_prog_ac_ct_AS="as"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 break 2
3066 done
3067 done
3071 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3072 if test -n "$ac_ct_AS"; then
3073 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3074 echo "${ECHO_T}$ac_ct_AS" >&6
3075 else
3076 echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3080 AS=$ac_ct_AS
3081 else
3082 AS="$ac_cv_prog_AS"
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3087 set dummy ${ac_tool_prefix}ar; ac_word=$2
3088 echo "$as_me:$LINENO: checking for $ac_word" >&5
3089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3090 if test "${ac_cv_prog_AR+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 else
3093 if test -n "$AR"; then
3094 ac_cv_prog_AR="$AR" # Let the user override the test.
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_AR="${ac_tool_prefix}ar"
3104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 break 2
3107 done
3108 done
3112 AR=$ac_cv_prog_AR
3113 if test -n "$AR"; then
3114 echo "$as_me:$LINENO: result: $AR" >&5
3115 echo "${ECHO_T}$AR" >&6
3116 else
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3122 if test -z "$ac_cv_prog_AR"; then
3123 ac_ct_AR=$AR
3124 # Extract the first word of "ar", so it can be a program name with args.
3125 set dummy ar; ac_word=$2
3126 echo "$as_me:$LINENO: checking for $ac_word" >&5
3127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3128 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3129 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 else
3131 if test -n "$ac_ct_AR"; then
3132 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3133 else
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 for as_dir in $PATH
3137 IFS=$as_save_IFS
3138 test -z "$as_dir" && as_dir=.
3139 for ac_exec_ext in '' $ac_executable_extensions; do
3140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_ac_ct_AR="ar"
3142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 break 2
3145 done
3146 done
3150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3151 if test -n "$ac_ct_AR"; then
3152 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3153 echo "${ECHO_T}$ac_ct_AR" >&6
3154 else
3155 echo "$as_me:$LINENO: result: no" >&5
3156 echo "${ECHO_T}no" >&6
3159 AR=$ac_ct_AR
3160 else
3161 AR="$ac_cv_prog_AR"
3164 if test -n "$ac_tool_prefix"; then
3165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3167 echo "$as_me:$LINENO: checking for $ac_word" >&5
3168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3169 if test "${ac_cv_prog_RANLIB+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 else
3172 if test -n "$RANLIB"; then
3173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3174 else
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3178 IFS=$as_save_IFS
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 break 2
3186 done
3187 done
3191 RANLIB=$ac_cv_prog_RANLIB
3192 if test -n "$RANLIB"; then
3193 echo "$as_me:$LINENO: result: $RANLIB" >&5
3194 echo "${ECHO_T}$RANLIB" >&6
3195 else
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3201 if test -z "$ac_cv_prog_RANLIB"; then
3202 ac_ct_RANLIB=$RANLIB
3203 # Extract the first word of "ranlib", so it can be a program name with args.
3204 set dummy ranlib; ac_word=$2
3205 echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3207 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210 if test -n "$ac_ct_RANLIB"; then
3211 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3212 else
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 for as_dir in $PATH
3216 IFS=$as_save_IFS
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220 ac_cv_prog_ac_ct_RANLIB="ranlib"
3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 break 2
3224 done
3225 done
3227 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3230 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3231 if test -n "$ac_ct_RANLIB"; then
3232 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3233 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3234 else
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3239 RANLIB=$ac_ct_RANLIB
3240 else
3241 RANLIB="$ac_cv_prog_RANLIB"
3244 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3245 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3246 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3247 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 else
3250 cat >conftest.make <<\_ACEOF
3251 all:
3252 @echo 'ac_maketemp="$(MAKE)"'
3253 _ACEOF
3254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3255 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3256 if test -n "$ac_maketemp"; then
3257 eval ac_cv_prog_make_${ac_make}_set=yes
3258 else
3259 eval ac_cv_prog_make_${ac_make}_set=no
3261 rm -f conftest.make
3263 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3264 echo "$as_me:$LINENO: result: yes" >&5
3265 echo "${ECHO_T}yes" >&6
3266 SET_MAKE=
3267 else
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270 SET_MAKE="MAKE=${MAKE-make}"
3273 # Find a good install program. We prefer a C program (faster),
3274 # so one script is as good as another. But avoid the broken or
3275 # incompatible versions:
3276 # SysV /etc/install, /usr/sbin/install
3277 # SunOS /usr/etc/install
3278 # IRIX /sbin/install
3279 # AIX /bin/install
3280 # AmigaOS /C/install, which installs bootblocks on floppy discs
3281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3284 # OS/2's system install, which has a completely different semantic
3285 # ./install, which can be erroneously created by make from ./install.sh.
3286 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3287 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3288 if test -z "$INSTALL"; then
3289 if test "${ac_cv_path_install+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 for as_dir in $PATH
3295 IFS=$as_save_IFS
3296 test -z "$as_dir" && as_dir=.
3297 # Account for people who put trailing slashes in PATH elements.
3298 case $as_dir/ in
3299 ./ | .// | /cC/* | \
3300 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3301 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3302 /usr/ucb/* ) ;;
3304 # OSF1 and SCO ODT 3.0 have their own names for install.
3305 # Don't use installbsd from OSF since it installs stuff as root
3306 # by default.
3307 for ac_prog in ginstall scoinst install; do
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3310 if test $ac_prog = install &&
3311 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3312 # AIX install. It has an incompatible calling convention.
3314 elif test $ac_prog = install &&
3315 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3316 # program-specific install script used by HP pwplus--don't use.
3318 else
3319 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3320 break 3
3323 done
3324 done
3326 esac
3327 done
3331 if test "${ac_cv_path_install+set}" = set; then
3332 INSTALL=$ac_cv_path_install
3333 else
3334 # As a last resort, use the slow shell script. We don't cache a
3335 # path for INSTALL within a source directory, because that will
3336 # break other packages using the cache if that directory is
3337 # removed, or if the path is relative.
3338 INSTALL=$ac_install_sh
3341 echo "$as_me:$LINENO: result: $INSTALL" >&5
3342 echo "${ECHO_T}$INSTALL" >&6
3344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3345 # It thinks the first close brace ends the variable substitution.
3346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3353 # Configure libtool
3354 #AC_MSG_NOTICE([====== Starting libtool configuration])
3356 # Check whether --enable-shared or --disable-shared was given.
3357 if test "${enable_shared+set}" = set; then
3358 enableval="$enable_shared"
3359 p=${PACKAGE-default}
3360 case $enableval in
3361 yes) enable_shared=yes ;;
3362 no) enable_shared=no ;;
3364 enable_shared=no
3365 # Look at the argument we got. We use all the common list separators.
3366 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3367 for pkg in $enableval; do
3368 if test "X$pkg" = "X$p"; then
3369 enable_shared=yes
3371 done
3372 IFS="$ac_save_ifs"
3374 esac
3375 else
3376 enable_shared=yes
3378 # Check whether --enable-static or --disable-static was given.
3379 if test "${enable_static+set}" = set; then
3380 enableval="$enable_static"
3381 p=${PACKAGE-default}
3382 case $enableval in
3383 yes) enable_static=yes ;;
3384 no) enable_static=no ;;
3386 enable_static=no
3387 # Look at the argument we got. We use all the common list separators.
3388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3389 for pkg in $enableval; do
3390 if test "X$pkg" = "X$p"; then
3391 enable_static=yes
3393 done
3394 IFS="$ac_save_ifs"
3396 esac
3397 else
3398 enable_static=yes
3400 # Check whether --enable-fast-install or --disable-fast-install was given.
3401 if test "${enable_fast_install+set}" = set; then
3402 enableval="$enable_fast_install"
3403 p=${PACKAGE-default}
3404 case $enableval in
3405 yes) enable_fast_install=yes ;;
3406 no) enable_fast_install=no ;;
3408 enable_fast_install=no
3409 # Look at the argument we got. We use all the common list separators.
3410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3411 for pkg in $enableval; do
3412 if test "X$pkg" = "X$p"; then
3413 enable_fast_install=yes
3415 done
3416 IFS="$ac_save_ifs"
3418 esac
3419 else
3420 enable_fast_install=yes
3423 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3424 if test "${with_gnu_ld+set}" = set; then
3425 withval="$with_gnu_ld"
3426 test "$withval" = no || with_gnu_ld=yes
3427 else
3428 with_gnu_ld=no
3430 ac_prog=ld
3431 if test "$GCC" = yes; then
3432 # Check if gcc -print-prog-name=ld gives a path.
3433 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3434 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3435 case $host in
3436 *-*-mingw*)
3437 # gcc leaves a trailing carriage return which upsets mingw
3438 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3440 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3441 esac
3442 case $ac_prog in
3443 # Accept absolute paths.
3444 [\\/]* | [A-Za-z]:[\\/]*)
3445 re_direlt='/[^/][^/]*/\.\./'
3446 # Canonicalize the path of ld
3447 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3448 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3449 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3450 done
3451 test -z "$LD" && LD="$ac_prog"
3454 # If it fails, then pretend we aren't using GCC.
3455 ac_prog=ld
3458 # If it is relative, then search for the first ld in PATH.
3459 with_gnu_ld=unknown
3461 esac
3462 elif test "$with_gnu_ld" = yes; then
3463 echo "$as_me:$LINENO: checking for GNU ld" >&5
3464 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3465 else
3466 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3467 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3469 if test "${lt_cv_path_LD+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 else
3472 if test -z "$LD"; then
3473 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3474 for ac_dir in $PATH; do
3475 test -z "$ac_dir" && ac_dir=.
3476 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3477 lt_cv_path_LD="$ac_dir/$ac_prog"
3478 # Check to see if the program is GNU ld. I'd rather use --version,
3479 # but apparently some GNU ld's only accept -v.
3480 # Break only if it was the GNU/non-GNU ld that we prefer.
3481 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3482 test "$with_gnu_ld" != no && break
3483 else
3484 test "$with_gnu_ld" != yes && break
3487 done
3488 IFS="$ac_save_ifs"
3489 else
3490 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3494 LD="$lt_cv_path_LD"
3495 if test -n "$LD"; then
3496 echo "$as_me:$LINENO: result: $LD" >&5
3497 echo "${ECHO_T}$LD" >&6
3498 else
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3502 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3503 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3504 { (exit 1); exit 1; }; }
3505 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3506 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3507 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 else
3510 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3511 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3512 lt_cv_prog_gnu_ld=yes
3513 else
3514 lt_cv_prog_gnu_ld=no
3517 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3518 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3519 with_gnu_ld=$lt_cv_prog_gnu_ld
3522 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3523 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3524 if test "${lt_cv_ld_reload_flag+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 else
3527 lt_cv_ld_reload_flag='-r'
3529 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3530 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3531 reload_flag=$lt_cv_ld_reload_flag
3532 test -n "$reload_flag" && reload_flag=" $reload_flag"
3534 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3535 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3536 if test "${lt_cv_path_NM+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 else
3539 if test -n "$NM"; then
3540 # Let the user override the test.
3541 lt_cv_path_NM="$NM"
3542 else
3543 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3544 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3545 test -z "$ac_dir" && ac_dir=.
3546 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3547 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3548 # Check to see if the nm accepts a BSD-compat flag.
3549 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3550 # nm: unknown option "B" ignored
3551 # Tru64's nm complains that /dev/null is an invalid object file
3552 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3553 lt_cv_path_NM="$tmp_nm -B"
3554 break
3555 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3556 lt_cv_path_NM="$tmp_nm -p"
3557 break
3558 else
3559 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3560 continue # so that we can try to find one that supports BSD flags
3563 done
3564 IFS="$ac_save_ifs"
3565 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3569 NM="$lt_cv_path_NM"
3570 echo "$as_me:$LINENO: result: $NM" >&5
3571 echo "${ECHO_T}$NM" >&6
3573 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3574 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3575 LN_S=$as_ln_s
3576 if test "$LN_S" = "ln -s"; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3579 else
3580 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3581 echo "${ECHO_T}no, using $LN_S" >&6
3584 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3585 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3586 if test "${lt_cv_deplibs_check_method+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3588 else
3589 lt_cv_file_magic_cmd='$MAGIC_CMD'
3590 lt_cv_file_magic_test_file=
3591 lt_cv_deplibs_check_method='unknown'
3592 # Need to set the preceding variable on all platforms that support
3593 # interlibrary dependencies.
3594 # 'none' -- dependencies not supported.
3595 # `unknown' -- same as none, but documents that we really don't know.
3596 # 'pass_all' -- all dependencies passed with no checks.
3597 # 'test_compile' -- check by making test program.
3598 # 'file_magic [regex]' -- check by looking for files in library path
3599 # which responds to the $file_magic_cmd with a given egrep regex.
3600 # If you have `file' or equivalent on your system and you're not sure
3601 # whether `pass_all' will *always* work, you probably want this one.
3603 case $host_os in
3604 aix*)
3605 lt_cv_deplibs_check_method=pass_all
3608 beos*)
3609 lt_cv_deplibs_check_method=pass_all
3612 bsdi4*)
3613 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3614 lt_cv_file_magic_cmd='/usr/bin/file -L'
3615 lt_cv_file_magic_test_file=/shlib/libc.so
3618 cygwin* | mingw* |pw32*)
3619 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3620 lt_cv_file_magic_cmd='$OBJDUMP -f'
3623 darwin* | rhapsody*)
3624 # this will be overwritten by pass_all, but leave it in just in case
3625 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3626 lt_cv_file_magic_cmd='/usr/bin/file -L'
3627 case "$host_os" in
3628 rhapsody* | darwin1.012)
3629 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3631 *) # Darwin 1.3 on
3632 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3634 esac
3635 lt_cv_deplibs_check_method=pass_all
3638 freebsd* | kfreebsd*-gnu)
3639 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3640 case $host_cpu in
3641 i*86 )
3642 # Not sure whether the presence of OpenBSD here was a mistake.
3643 # Let's accept both of them until this is cleared up.
3644 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3645 lt_cv_file_magic_cmd=/usr/bin/file
3646 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3648 esac
3649 else
3650 lt_cv_deplibs_check_method=pass_all
3654 gnu*)
3655 lt_cv_deplibs_check_method=pass_all
3658 hpux10.20*|hpux11*)
3659 case $host_cpu in
3660 hppa*)
3661 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3662 lt_cv_file_magic_cmd=/usr/bin/file
3663 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3665 ia64*)
3666 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3667 lt_cv_file_magic_cmd=/usr/bin/file
3668 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3670 esac
3673 irix5* | irix6*)
3674 case $host_os in
3675 irix5*)
3676 # this will be overridden with pass_all, but let us keep it just in case
3677 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3680 case $LD in
3681 *-32|*"-32 ") libmagic=32-bit;;
3682 *-n32|*"-n32 ") libmagic=N32;;
3683 *-64|*"-64 ") libmagic=64-bit;;
3684 *) libmagic=never-match;;
3685 esac
3686 # this will be overridden with pass_all, but let us keep it just in case
3687 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3689 esac
3690 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3691 lt_cv_deplibs_check_method=pass_all
3694 # This must be Linux ELF.
3695 linux-gnu*)
3696 lt_cv_deplibs_check_method=pass_all
3699 netbsd* | knetbsd*-gnu)
3700 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3701 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3702 else
3703 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3707 newsos6)
3708 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3709 lt_cv_file_magic_cmd=/usr/bin/file
3710 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3713 osf3* | osf4* | osf5*)
3714 # this will be overridden with pass_all, but let us keep it just in case
3715 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3716 lt_cv_file_magic_test_file=/shlib/libc.so
3717 lt_cv_deplibs_check_method=pass_all
3720 sco3.2v5*)
3721 lt_cv_deplibs_check_method=pass_all
3724 solaris*)
3725 lt_cv_deplibs_check_method=pass_all
3726 lt_cv_file_magic_test_file=/lib/libc.so
3729 sysv5uw[78]* | sysv4*uw2*)
3730 lt_cv_deplibs_check_method=pass_all
3733 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3734 case $host_vendor in
3735 ncr)
3736 lt_cv_deplibs_check_method=pass_all
3738 motorola)
3739 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3740 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3742 esac
3744 esac
3747 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3748 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3749 file_magic_cmd=$lt_cv_file_magic_cmd
3750 deplibs_check_method=$lt_cv_deplibs_check_method
3756 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3758 # find the maximum length of command line arguments
3759 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3760 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3761 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 else
3765 teststring="ABCD"
3767 case $build_os in
3768 msdosdjgpp*)
3769 # On DJGPP, this test can blow up pretty badly due to problems in libc
3770 # (any single argument exceeding 2000 bytes causes a buffer overrun
3771 # during glob expansion). Even if it were fixed, the result of this
3772 # check would be larger than it should be.
3773 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3776 cygwin* | mingw*)
3777 # On Win9x/ME, this test blows up -- it succeeds, but takes
3778 # about 5 minutes as the teststring grows exponentially.
3779 # Worse, since 9x/ME are not pre-emptively multitasking,
3780 # you end up with a "frozen" computer, even though with patience
3781 # the test eventually succeeds (with a max line length of 256k).
3782 # Instead, let's just punt: use the minimum linelength reported by
3783 # all of the supported platforms: 8192 (on NT/2K/XP).
3784 lt_cv_sys_max_cmd_len=8192;
3787 amigaos*)
3788 # On AmigaOS with pdksh, this test takes hours, literally.
3789 # So we just punt and use a minimum line length of 8192.
3790 lt_cv_sys_max_cmd_len=8192;
3793 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3794 # This has been around since 386BSD, at least. Likely further.
3795 if test -x /sbin/sysctl; then
3796 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3797 elif test -x /usr/sbin/sysctl; then
3798 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3799 else
3800 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3802 # And add a safety zone
3803 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3804 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3806 esac
3810 if test -n "$lt_cv_sys_max_cmd_len" ; then
3811 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3812 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3813 else
3814 echo "$as_me:$LINENO: result: none" >&5
3815 echo "${ECHO_T}none" >&6
3819 # Only perform the check for file, if the check method requires it
3820 case $deplibs_check_method in
3821 file_magic*)
3822 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3823 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3824 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3825 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828 case $MAGIC_CMD in
3830 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3832 ?:/*)
3833 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3836 ac_save_MAGIC_CMD="$MAGIC_CMD"
3837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3838 ac_dummy="/usr/bin:$PATH"
3839 for ac_dir in $ac_dummy; do
3840 test -z "$ac_dir" && ac_dir=.
3841 if test -f $ac_dir/${ac_tool_prefix}file; then
3842 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3843 if test -n "$file_magic_test_file"; then
3844 case $deplibs_check_method in
3845 "file_magic "*)
3846 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3847 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3848 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3849 egrep "$file_magic_regex" > /dev/null; then
3851 else
3852 cat <<EOF 1>&2
3854 *** Warning: the command libtool uses to detect shared libraries,
3855 *** $file_magic_cmd, produces output that libtool cannot recognize.
3856 *** The result is that libtool may fail to recognize shared libraries
3857 *** as such. This will affect the creation of libtool libraries that
3858 *** depend on shared libraries, but programs linked with such libtool
3859 *** libraries will work regardless of this problem. Nevertheless, you
3860 *** may want to report the problem to your system manager and/or to
3861 *** bug-libtool@gnu.org
3864 fi ;;
3865 esac
3867 break
3869 done
3870 IFS="$ac_save_ifs"
3871 MAGIC_CMD="$ac_save_MAGIC_CMD"
3873 esac
3876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3877 if test -n "$MAGIC_CMD"; then
3878 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3879 echo "${ECHO_T}$MAGIC_CMD" >&6
3880 else
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3885 if test -z "$lt_cv_path_MAGIC_CMD"; then
3886 if test -n "$ac_tool_prefix"; then
3887 echo "$as_me:$LINENO: checking for file" >&5
3888 echo $ECHO_N "checking for file... $ECHO_C" >&6
3889 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3891 else
3892 case $MAGIC_CMD in
3894 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3896 ?:/*)
3897 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3900 ac_save_MAGIC_CMD="$MAGIC_CMD"
3901 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3902 ac_dummy="/usr/bin:$PATH"
3903 for ac_dir in $ac_dummy; do
3904 test -z "$ac_dir" && ac_dir=.
3905 if test -f $ac_dir/file; then
3906 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3907 if test -n "$file_magic_test_file"; then
3908 case $deplibs_check_method in
3909 "file_magic "*)
3910 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3911 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3912 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3913 egrep "$file_magic_regex" > /dev/null; then
3915 else
3916 cat <<EOF 1>&2
3918 *** Warning: the command libtool uses to detect shared libraries,
3919 *** $file_magic_cmd, produces output that libtool cannot recognize.
3920 *** The result is that libtool may fail to recognize shared libraries
3921 *** as such. This will affect the creation of libtool libraries that
3922 *** depend on shared libraries, but programs linked with such libtool
3923 *** libraries will work regardless of this problem. Nevertheless, you
3924 *** may want to report the problem to your system manager and/or to
3925 *** bug-libtool@gnu.org
3928 fi ;;
3929 esac
3931 break
3933 done
3934 IFS="$ac_save_ifs"
3935 MAGIC_CMD="$ac_save_MAGIC_CMD"
3937 esac
3940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3941 if test -n "$MAGIC_CMD"; then
3942 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3943 echo "${ECHO_T}$MAGIC_CMD" >&6
3944 else
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3949 else
3950 MAGIC_CMD=:
3956 esac
3958 if test -n "$ac_tool_prefix"; then
3959 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3960 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3961 echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3963 if test "${ac_cv_prog_RANLIB+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 else
3966 if test -n "$RANLIB"; then
3967 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3985 RANLIB=$ac_cv_prog_RANLIB
3986 if test -n "$RANLIB"; then
3987 echo "$as_me:$LINENO: result: $RANLIB" >&5
3988 echo "${ECHO_T}$RANLIB" >&6
3989 else
3990 echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3995 if test -z "$ac_cv_prog_RANLIB"; then
3996 ac_ct_RANLIB=$RANLIB
3997 # Extract the first word of "ranlib", so it can be a program name with args.
3998 set dummy ranlib; ac_word=$2
3999 echo "$as_me:$LINENO: checking for $ac_word" >&5
4000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4001 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 else
4004 if test -n "$ac_ct_RANLIB"; then
4005 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4006 else
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008 for as_dir in $PATH
4010 IFS=$as_save_IFS
4011 test -z "$as_dir" && as_dir=.
4012 for ac_exec_ext in '' $ac_executable_extensions; do
4013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014 ac_cv_prog_ac_ct_RANLIB="ranlib"
4015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 break 2
4018 done
4019 done
4021 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4024 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4025 if test -n "$ac_ct_RANLIB"; then
4026 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4027 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4028 else
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4033 RANLIB=$ac_ct_RANLIB
4034 else
4035 RANLIB="$ac_cv_prog_RANLIB"
4038 if test -n "$ac_tool_prefix"; then
4039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4040 set dummy ${ac_tool_prefix}strip; ac_word=$2
4041 echo "$as_me:$LINENO: checking for $ac_word" >&5
4042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4043 if test "${ac_cv_prog_STRIP+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 else
4046 if test -n "$STRIP"; then
4047 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4048 else
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4050 for as_dir in $PATH
4052 IFS=$as_save_IFS
4053 test -z "$as_dir" && as_dir=.
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 break 2
4060 done
4061 done
4065 STRIP=$ac_cv_prog_STRIP
4066 if test -n "$STRIP"; then
4067 echo "$as_me:$LINENO: result: $STRIP" >&5
4068 echo "${ECHO_T}$STRIP" >&6
4069 else
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4075 if test -z "$ac_cv_prog_STRIP"; then
4076 ac_ct_STRIP=$STRIP
4077 # Extract the first word of "strip", so it can be a program name with args.
4078 set dummy strip; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 else
4084 if test -n "$ac_ct_STRIP"; then
4085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4086 else
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4090 IFS=$as_save_IFS
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_ac_ct_STRIP="strip"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 break 2
4098 done
4099 done
4101 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4105 if test -n "$ac_ct_STRIP"; then
4106 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4107 echo "${ECHO_T}$ac_ct_STRIP" >&6
4108 else
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4113 STRIP=$ac_ct_STRIP
4114 else
4115 STRIP="$ac_cv_prog_STRIP"
4119 # Check for any special flags to pass to ltconfig.
4120 libtool_flags="--cache-file=$cache_file"
4121 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4122 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4123 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4124 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4125 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4128 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4129 if test "${enable_libtool_lock+set}" = set; then
4130 enableval="$enable_libtool_lock"
4133 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4134 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4137 # Check whether --with-pic or --without-pic was given.
4138 if test "${with_pic+set}" = set; then
4139 withval="$with_pic"
4140 pic_mode="$withval"
4141 else
4142 pic_mode=default
4144 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4145 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4147 # Some flags need to be propagated to the compiler or linker for good
4148 # libtool support.
4149 case $host in
4150 *-*-irix6*)
4151 # Find out which ABI we are using.
4152 echo '#line 4152 "configure"' > conftest.$ac_ext
4153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4154 (eval $ac_compile) 2>&5
4155 ac_status=$?
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; then
4158 if test "$lt_cv_prog_gnu_ld" = yes; then
4159 case `/usr/bin/file conftest.$ac_objext` in
4160 *32-bit*)
4161 LD="${LD-ld} -melf32bsmip"
4163 *N32*)
4164 LD="${LD-ld} -melf32bmipn32"
4166 *64-bit*)
4167 LD="${LD-ld} -melf64bmip"
4169 esac
4170 else
4171 case `/usr/bin/file conftest.$ac_objext` in
4172 *32-bit*)
4173 LD="${LD-ld} -32"
4175 *N32*)
4176 LD="${LD-ld} -n32"
4178 *64-bit*)
4179 LD="${LD-ld} -64"
4181 esac
4184 rm -rf conftest*
4187 ia64-*-hpux*)
4188 # Find out which ABI we are using.
4189 echo 'int i;' > conftest.$ac_ext
4190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4191 (eval $ac_compile) 2>&5
4192 ac_status=$?
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; then
4195 case "`/usr/bin/file conftest.o`" in
4196 *ELF-32*)
4197 HPUX_IA64_MODE="32"
4199 *ELF-64*)
4200 HPUX_IA64_MODE="64"
4202 esac
4204 rm -rf conftest*
4207 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4208 # Find out which ABI we are using.
4209 echo 'int i;' > conftest.$ac_ext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>&5
4212 ac_status=$?
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; then
4215 case "`/usr/bin/file conftest.o`" in
4216 *32-bit*)
4217 case $host in
4218 x86_64-*linux*)
4219 LD="${LD-ld} -m elf_i386"
4221 ppc64-*linux*|powerpc64-*linux*)
4222 LD="${LD-ld} -m elf32ppclinux"
4224 s390x-*linux*)
4225 LD="${LD-ld} -m elf_s390"
4227 sparc64-*linux*)
4228 LD="${LD-ld} -m elf32_sparc"
4230 esac
4232 *64-bit*)
4233 case $host in
4234 x86_64-*linux*)
4235 LD="${LD-ld} -m elf_x86_64"
4237 ppc*-*linux*|powerpc*-*linux*)
4238 LD="${LD-ld} -m elf64ppc"
4240 s390*-*linux*)
4241 LD="${LD-ld} -m elf64_s390"
4243 sparc*-*linux*)
4244 LD="${LD-ld} -m elf64_sparc"
4246 esac
4248 esac
4250 rm -rf conftest*
4253 *-*-sco3.2v5*)
4254 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4255 SAVE_CFLAGS="$CFLAGS"
4256 CFLAGS="$CFLAGS -belf"
4257 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4258 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4259 if test "${lt_cv_cc_needs_belf+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 else
4264 ac_ext=c
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4270 if test x$gcc_no_link = xyes; then
4271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4273 { (exit 1); exit 1; }; }
4275 cat >conftest.$ac_ext <<_ACEOF
4276 /* confdefs.h. */
4277 _ACEOF
4278 cat confdefs.h >>conftest.$ac_ext
4279 cat >>conftest.$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4283 main ()
4287 return 0;
4289 _ACEOF
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4292 (eval $ac_link) 2>conftest.er1
4293 ac_status=$?
4294 grep -v '^ *+' conftest.er1 >conftest.err
4295 rm -f conftest.er1
4296 cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try='test -z "$ac_c_werror_flag"
4300 || test ! -s conftest.err'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302 (eval $ac_try) 2>&5
4303 ac_status=$?
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; } &&
4306 { ac_try='test -s conftest$ac_exeext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 (eval $ac_try) 2>&5
4309 ac_status=$?
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then
4312 lt_cv_cc_needs_belf=yes
4313 else
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4317 lt_cv_cc_needs_belf=no
4319 rm -f conftest.err conftest.$ac_objext \
4320 conftest$ac_exeext conftest.$ac_ext
4321 ac_ext=c
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4329 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4330 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4331 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4332 CFLAGS="$SAVE_CFLAGS"
4337 esac
4340 # Save cache, so that ltconfig can load it
4341 cat >confcache <<\_ACEOF
4342 # This file is a shell script that caches the results of configure
4343 # tests run on this system so they can be shared between configure
4344 # scripts and configure runs, see configure's option --config-cache.
4345 # It is not useful on other systems. If it contains results you don't
4346 # want to keep, you may remove or edit it.
4348 # config.status only pays attention to the cache file if you give it
4349 # the --recheck option to rerun configure.
4351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4353 # following values.
4355 _ACEOF
4357 # The following way of writing the cache mishandles newlines in values,
4358 # but we know of no workaround that is simple, portable, and efficient.
4359 # So, don't put newlines in cache variables' values.
4360 # Ultrix sh set writes to stderr and can't be redirected directly,
4361 # and sets the high bit in the cache file unless we assign to the vars.
4363 (set) 2>&1 |
4364 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4365 *ac_space=\ *)
4366 # `set' does not quote correctly, so add quotes (double-quote
4367 # substitution turns \\\\ into \\, and sed turns \\ into \).
4368 sed -n \
4369 "s/'/'\\\\''/g;
4370 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4373 # `set' quotes correctly as required by POSIX, so do not add quotes.
4374 sed -n \
4375 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4377 esac;
4379 sed '
4380 t clear
4381 : clear
4382 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4383 t end
4384 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4385 : end' >>confcache
4386 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4387 if test -w $cache_file; then
4388 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4389 cat confcache >$cache_file
4390 else
4391 echo "not updating unwritable cache $cache_file"
4394 rm -f confcache
4396 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4397 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4398 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4399 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4400 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4401 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4402 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4403 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4404 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4405 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4406 echo "$as_me: error: libtool configure failed" >&2;}
4407 { (exit 1); exit 1; }; }
4409 # Reload cache, that may have been modified by ltconfig
4410 if test -r "$cache_file"; then
4411 # Some versions of bash will fail to source /dev/null (special
4412 # files actually), so we avoid doing that.
4413 if test -f "$cache_file"; then
4414 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4415 echo "$as_me: loading cache $cache_file" >&6;}
4416 case $cache_file in
4417 [\\/]* | ?:[\\/]* ) . $cache_file;;
4418 *) . ./$cache_file;;
4419 esac
4421 else
4422 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4423 echo "$as_me: creating cache $cache_file" >&6;}
4424 >$cache_file
4428 # This can be used to rebuild libtool when needed
4429 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4431 # Always use our own libtool.
4432 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4434 # Redirect the config.log output again, so that the ltconfig log is not
4435 # clobbered by the next message.
4436 exec 5>>./config.log
4445 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4447 # We need gfortran to compile parts of the library
4448 #AC_PROG_FC(gfortran)
4449 FC="$GFORTRAN"
4450 ac_ext=${FC_SRCEXT-f}
4451 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4452 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4454 if test -n "$ac_tool_prefix"; then
4455 for ac_prog in gfortran
4457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4459 echo "$as_me:$LINENO: checking for $ac_word" >&5
4460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4461 if test "${ac_cv_prog_FC+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else
4464 if test -n "$FC"; then
4465 ac_cv_prog_FC="$FC" # Let the user override the test.
4466 else
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH
4470 IFS=$as_save_IFS
4471 test -z "$as_dir" && as_dir=.
4472 for ac_exec_ext in '' $ac_executable_extensions; do
4473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4474 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4476 break 2
4478 done
4479 done
4483 FC=$ac_cv_prog_FC
4484 if test -n "$FC"; then
4485 echo "$as_me:$LINENO: result: $FC" >&5
4486 echo "${ECHO_T}$FC" >&6
4487 else
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4492 test -n "$FC" && break
4493 done
4495 if test -z "$FC"; then
4496 ac_ct_FC=$FC
4497 for ac_prog in gfortran
4499 # Extract the first word of "$ac_prog", so it can be a program name with args.
4500 set dummy $ac_prog; ac_word=$2
4501 echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4503 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 else
4506 if test -n "$ac_ct_FC"; then
4507 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4508 else
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 for as_dir in $PATH
4512 IFS=$as_save_IFS
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516 ac_cv_prog_ac_ct_FC="$ac_prog"
4517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 break 2
4520 done
4521 done
4525 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4526 if test -n "$ac_ct_FC"; then
4527 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4528 echo "${ECHO_T}$ac_ct_FC" >&6
4529 else
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4534 test -n "$ac_ct_FC" && break
4535 done
4537 FC=$ac_ct_FC
4541 # Provide some information about the compiler.
4542 echo "$as_me:4542:" \
4543 "checking for Fortran compiler version" >&5
4544 ac_compiler=`set X $ac_compile; echo $2`
4545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4546 (eval $ac_compiler --version </dev/null >&5) 2>&5
4547 ac_status=$?
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }
4550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4551 (eval $ac_compiler -v </dev/null >&5) 2>&5
4552 ac_status=$?
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }
4555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4556 (eval $ac_compiler -V </dev/null >&5) 2>&5
4557 ac_status=$?
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }
4560 rm -f a.out
4562 # If we don't use `.F' as extension, the preprocessor is not run on the
4563 # input file. (Note that this only needs to work for GNU compilers.)
4564 ac_save_ext=$ac_ext
4565 ac_ext=F
4566 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4567 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4568 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571 cat >conftest.$ac_ext <<_ACEOF
4572 program main
4573 #ifndef __GNUC__
4574 choke me
4575 #endif
4578 _ACEOF
4579 rm -f conftest.$ac_objext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4581 (eval $ac_compile) 2>conftest.er1
4582 ac_status=$?
4583 grep -v '^ *+' conftest.er1 >conftest.err
4584 rm -f conftest.er1
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } &&
4588 { ac_try='test -z "$ac_fc_werror_flag"
4589 || test ! -s conftest.err'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 (eval $ac_try) 2>&5
4592 ac_status=$?
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; } &&
4595 { ac_try='test -s conftest.$ac_objext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 (eval $ac_try) 2>&5
4598 ac_status=$?
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4601 ac_compiler_gnu=yes
4602 else
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 ac_compiler_gnu=no
4608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4609 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4612 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4613 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4614 ac_ext=$ac_save_ext
4615 ac_test_FFLAGS=${FCFLAGS+set}
4616 ac_save_FFLAGS=$FCFLAGS
4617 FCFLAGS=
4618 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4619 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4620 if test "${ac_cv_prog_fc_g+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623 FCFLAGS=-g
4624 cat >conftest.$ac_ext <<_ACEOF
4625 program main
4628 _ACEOF
4629 rm -f conftest.$ac_objext
4630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4631 (eval $ac_compile) 2>conftest.er1
4632 ac_status=$?
4633 grep -v '^ *+' conftest.er1 >conftest.err
4634 rm -f conftest.er1
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } &&
4638 { ac_try='test -z "$ac_fc_werror_flag"
4639 || test ! -s conftest.err'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 (eval $ac_try) 2>&5
4642 ac_status=$?
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; } &&
4645 { ac_try='test -s conftest.$ac_objext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 (eval $ac_try) 2>&5
4648 ac_status=$?
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4651 ac_cv_prog_fc_g=yes
4652 else
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.$ac_ext >&5
4656 ac_cv_prog_fc_g=no
4658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4661 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4662 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4663 if test "$ac_test_FFLAGS" = set; then
4664 FCFLAGS=$ac_save_FFLAGS
4665 elif test $ac_cv_prog_fc_g = yes; then
4666 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4667 FCFLAGS="-g -O2"
4668 else
4669 FCFLAGS="-g"
4671 else
4672 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4673 FCFLAGS="-O2"
4674 else
4675 FCFLAGS=
4679 ac_ext=c
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4686 # extra LD Flags which are required for targets
4687 case "${host}" in
4688 *-darwin*)
4689 # Darwin needs -single_module when linking libgfortran
4690 extra_ldflags_libgfortran=-Wl,-single_module
4692 esac
4695 # Check whether --enable-largefile or --disable-largefile was given.
4696 if test "${enable_largefile+set}" = set; then
4697 enableval="$enable_largefile"
4700 if test "$enable_largefile" != no; then
4702 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4703 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4704 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 else
4707 ac_cv_sys_largefile_CC=no
4708 if test "$GCC" != yes; then
4709 ac_save_CC=$CC
4710 while :; do
4711 # IRIX 6.2 and later do not support large files by default,
4712 # so use the C compiler's -n32 option if that helps.
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 #include <sys/types.h>
4720 /* Check that off_t can represent 2**63 - 1 correctly.
4721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4722 since some C++ compilers masquerading as C compilers
4723 incorrectly reject 9223372036854775807. */
4724 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4726 && LARGE_OFF_T % 2147483647 == 1)
4727 ? 1 : -1];
4729 main ()
4733 return 0;
4735 _ACEOF
4736 rm -f conftest.$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>conftest.er1
4739 ac_status=$?
4740 grep -v '^ *+' conftest.er1 >conftest.err
4741 rm -f conftest.er1
4742 cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try='test -z "$ac_c_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 (eval $ac_try) 2>&5
4749 ac_status=$?
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 (eval $ac_try) 2>&5
4755 ac_status=$?
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4758 break
4759 else
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.$ac_ext >&5
4764 rm -f conftest.err conftest.$ac_objext
4765 CC="$CC -n32"
4766 rm -f conftest.$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>conftest.er1
4769 ac_status=$?
4770 grep -v '^ *+' conftest.er1 >conftest.err
4771 rm -f conftest.er1
4772 cat conftest.err >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } &&
4775 { ac_try='test -z "$ac_c_werror_flag"
4776 || test ! -s conftest.err'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 (eval $ac_try) 2>&5
4779 ac_status=$?
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; } &&
4782 { ac_try='test -s conftest.$ac_objext'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 (eval $ac_try) 2>&5
4785 ac_status=$?
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; }; then
4788 ac_cv_sys_largefile_CC=' -n32'; break
4789 else
4790 echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.$ac_ext >&5
4794 rm -f conftest.err conftest.$ac_objext
4795 break
4796 done
4797 CC=$ac_save_CC
4798 rm -f conftest.$ac_ext
4801 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4802 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4803 if test "$ac_cv_sys_largefile_CC" != no; then
4804 CC=$CC$ac_cv_sys_largefile_CC
4807 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4808 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4809 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 else
4812 while :; do
4813 ac_cv_sys_file_offset_bits=no
4814 cat >conftest.$ac_ext <<_ACEOF
4815 /* confdefs.h. */
4816 _ACEOF
4817 cat confdefs.h >>conftest.$ac_ext
4818 cat >>conftest.$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 #include <sys/types.h>
4821 /* Check that off_t can represent 2**63 - 1 correctly.
4822 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4823 since some C++ compilers masquerading as C compilers
4824 incorrectly reject 9223372036854775807. */
4825 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4826 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4827 && LARGE_OFF_T % 2147483647 == 1)
4828 ? 1 : -1];
4830 main ()
4834 return 0;
4836 _ACEOF
4837 rm -f conftest.$ac_objext
4838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4839 (eval $ac_compile) 2>conftest.er1
4840 ac_status=$?
4841 grep -v '^ *+' conftest.er1 >conftest.err
4842 rm -f conftest.er1
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } &&
4846 { ac_try='test -z "$ac_c_werror_flag"
4847 || test ! -s conftest.err'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 (eval $ac_try) 2>&5
4850 ac_status=$?
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try='test -s conftest.$ac_objext'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 (eval $ac_try) 2>&5
4856 ac_status=$?
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4859 break
4860 else
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4866 cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h. */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 #define _FILE_OFFSET_BITS 64
4873 #include <sys/types.h>
4874 /* Check that off_t can represent 2**63 - 1 correctly.
4875 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4876 since some C++ compilers masquerading as C compilers
4877 incorrectly reject 9223372036854775807. */
4878 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4879 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4880 && LARGE_OFF_T % 2147483647 == 1)
4881 ? 1 : -1];
4883 main ()
4887 return 0;
4889 _ACEOF
4890 rm -f conftest.$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>conftest.er1
4893 ac_status=$?
4894 grep -v '^ *+' conftest.er1 >conftest.err
4895 rm -f conftest.er1
4896 cat conftest.err >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 (eval $ac_try) 2>&5
4903 ac_status=$?
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 (eval $ac_try) 2>&5
4909 ac_status=$?
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_cv_sys_file_offset_bits=64; break
4913 else
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.$ac_ext >&5
4918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4919 break
4920 done
4922 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4923 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4924 if test "$ac_cv_sys_file_offset_bits" != no; then
4926 cat >>confdefs.h <<_ACEOF
4927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4928 _ACEOF
4931 rm -f conftest*
4932 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4933 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4934 if test "${ac_cv_sys_large_files+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 else
4937 while :; do
4938 ac_cv_sys_large_files=no
4939 cat >conftest.$ac_ext <<_ACEOF
4940 /* confdefs.h. */
4941 _ACEOF
4942 cat confdefs.h >>conftest.$ac_ext
4943 cat >>conftest.$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4945 #include <sys/types.h>
4946 /* Check that off_t can represent 2**63 - 1 correctly.
4947 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4948 since some C++ compilers masquerading as C compilers
4949 incorrectly reject 9223372036854775807. */
4950 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4952 && LARGE_OFF_T % 2147483647 == 1)
4953 ? 1 : -1];
4955 main ()
4959 return 0;
4961 _ACEOF
4962 rm -f conftest.$ac_objext
4963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4964 (eval $ac_compile) 2>conftest.er1
4965 ac_status=$?
4966 grep -v '^ *+' conftest.er1 >conftest.err
4967 rm -f conftest.er1
4968 cat conftest.err >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } &&
4971 { ac_try='test -z "$ac_c_werror_flag"
4972 || test ! -s conftest.err'
4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 (eval $ac_try) 2>&5
4975 ac_status=$?
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; } &&
4978 { ac_try='test -s conftest.$ac_objext'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980 (eval $ac_try) 2>&5
4981 ac_status=$?
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; }; then
4984 break
4985 else
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4991 cat >conftest.$ac_ext <<_ACEOF
4992 /* confdefs.h. */
4993 _ACEOF
4994 cat confdefs.h >>conftest.$ac_ext
4995 cat >>conftest.$ac_ext <<_ACEOF
4996 /* end confdefs.h. */
4997 #define _LARGE_FILES 1
4998 #include <sys/types.h>
4999 /* Check that off_t can represent 2**63 - 1 correctly.
5000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5001 since some C++ compilers masquerading as C compilers
5002 incorrectly reject 9223372036854775807. */
5003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5005 && LARGE_OFF_T % 2147483647 == 1)
5006 ? 1 : -1];
5008 main ()
5012 return 0;
5014 _ACEOF
5015 rm -f conftest.$ac_objext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017 (eval $ac_compile) 2>conftest.er1
5018 ac_status=$?
5019 grep -v '^ *+' conftest.er1 >conftest.err
5020 rm -f conftest.er1
5021 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } &&
5024 { ac_try='test -z "$ac_c_werror_flag"
5025 || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 (eval $ac_try) 2>&5
5028 ac_status=$?
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try='test -s conftest.$ac_objext'
5032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 (eval $ac_try) 2>&5
5034 ac_status=$?
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; }; then
5037 ac_cv_sys_large_files=1; break
5038 else
5039 echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.$ac_ext >&5
5043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5044 break
5045 done
5047 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5048 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5049 if test "$ac_cv_sys_large_files" != no; then
5051 cat >>confdefs.h <<_ACEOF
5052 #define _LARGE_FILES $ac_cv_sys_large_files
5053 _ACEOF
5056 rm -f conftest*
5059 if test x$gcc_no_link = xyes; then
5060 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5061 ac_cv_func_mmap_fixed_mapped=no
5064 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5065 ac_ext=c
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5072 # On Suns, sometimes $CPP names a directory.
5073 if test -n "$CPP" && test -d "$CPP"; then
5074 CPP=
5076 if test -z "$CPP"; then
5077 if test "${ac_cv_prog_CPP+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 else
5080 # Double quotes because CPP needs to be expanded
5081 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5083 ac_preproc_ok=false
5084 for ac_c_preproc_warn_flag in '' yes
5086 # Use a header file that comes with gcc, so configuring glibc
5087 # with a fresh cross-compiler works.
5088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5089 # <limits.h> exists even on freestanding compilers.
5090 # On the NeXT, cc -E runs the code through the compiler's parser,
5091 # not just through cpp. "Syntax error" is here to catch this case.
5092 cat >conftest.$ac_ext <<_ACEOF
5093 /* confdefs.h. */
5094 _ACEOF
5095 cat confdefs.h >>conftest.$ac_ext
5096 cat >>conftest.$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5098 #ifdef __STDC__
5099 # include <limits.h>
5100 #else
5101 # include <assert.h>
5102 #endif
5103 Syntax error
5104 _ACEOF
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 ac_status=$?
5108 grep -v '^ *+' conftest.er1 >conftest.err
5109 rm -f conftest.er1
5110 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev/null; then
5113 if test -s conftest.err; then
5114 ac_cpp_err=$ac_c_preproc_warn_flag
5115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5116 else
5117 ac_cpp_err=
5119 else
5120 ac_cpp_err=yes
5122 if test -z "$ac_cpp_err"; then
5124 else
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 # Broken: fails on valid input.
5129 continue
5131 rm -f conftest.err conftest.$ac_ext
5133 # OK, works on sane cases. Now check whether non-existent headers
5134 # can be detected and how.
5135 cat >conftest.$ac_ext <<_ACEOF
5136 /* confdefs.h. */
5137 _ACEOF
5138 cat confdefs.h >>conftest.$ac_ext
5139 cat >>conftest.$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5141 #include <ac_nonexistent.h>
5142 _ACEOF
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5145 ac_status=$?
5146 grep -v '^ *+' conftest.er1 >conftest.err
5147 rm -f conftest.er1
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } >/dev/null; then
5151 if test -s conftest.err; then
5152 ac_cpp_err=$ac_c_preproc_warn_flag
5153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5154 else
5155 ac_cpp_err=
5157 else
5158 ac_cpp_err=yes
5160 if test -z "$ac_cpp_err"; then
5161 # Broken: success on invalid input.
5162 continue
5163 else
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.$ac_ext >&5
5167 # Passes both tests.
5168 ac_preproc_ok=:
5169 break
5171 rm -f conftest.err conftest.$ac_ext
5173 done
5174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5175 rm -f conftest.err conftest.$ac_ext
5176 if $ac_preproc_ok; then
5177 break
5180 done
5181 ac_cv_prog_CPP=$CPP
5184 CPP=$ac_cv_prog_CPP
5185 else
5186 ac_cv_prog_CPP=$CPP
5188 echo "$as_me:$LINENO: result: $CPP" >&5
5189 echo "${ECHO_T}$CPP" >&6
5190 ac_preproc_ok=false
5191 for ac_c_preproc_warn_flag in '' yes
5193 # Use a header file that comes with gcc, so configuring glibc
5194 # with a fresh cross-compiler works.
5195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196 # <limits.h> exists even on freestanding compilers.
5197 # On the NeXT, cc -E runs the code through the compiler's parser,
5198 # not just through cpp. "Syntax error" is here to catch this case.
5199 cat >conftest.$ac_ext <<_ACEOF
5200 /* confdefs.h. */
5201 _ACEOF
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5205 #ifdef __STDC__
5206 # include <limits.h>
5207 #else
5208 # include <assert.h>
5209 #endif
5210 Syntax error
5211 _ACEOF
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214 ac_status=$?
5215 grep -v '^ *+' conftest.er1 >conftest.err
5216 rm -f conftest.er1
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null; then
5220 if test -s conftest.err; then
5221 ac_cpp_err=$ac_c_preproc_warn_flag
5222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5223 else
5224 ac_cpp_err=
5226 else
5227 ac_cpp_err=yes
5229 if test -z "$ac_cpp_err"; then
5231 else
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 # Broken: fails on valid input.
5236 continue
5238 rm -f conftest.err conftest.$ac_ext
5240 # OK, works on sane cases. Now check whether non-existent headers
5241 # can be detected and how.
5242 cat >conftest.$ac_ext <<_ACEOF
5243 /* confdefs.h. */
5244 _ACEOF
5245 cat confdefs.h >>conftest.$ac_ext
5246 cat >>conftest.$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5248 #include <ac_nonexistent.h>
5249 _ACEOF
5250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5252 ac_status=$?
5253 grep -v '^ *+' conftest.er1 >conftest.err
5254 rm -f conftest.er1
5255 cat conftest.err >&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } >/dev/null; then
5258 if test -s conftest.err; then
5259 ac_cpp_err=$ac_c_preproc_warn_flag
5260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5261 else
5262 ac_cpp_err=
5264 else
5265 ac_cpp_err=yes
5267 if test -z "$ac_cpp_err"; then
5268 # Broken: success on invalid input.
5269 continue
5270 else
5271 echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5274 # Passes both tests.
5275 ac_preproc_ok=:
5276 break
5278 rm -f conftest.err conftest.$ac_ext
5280 done
5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5282 rm -f conftest.err conftest.$ac_ext
5283 if $ac_preproc_ok; then
5285 else
5286 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5287 See \`config.log' for more details." >&5
5288 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5289 See \`config.log' for more details." >&2;}
5290 { (exit 1); exit 1; }; }
5293 ac_ext=c
5294 ac_cpp='$CPP $CPPFLAGS'
5295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5300 echo "$as_me:$LINENO: checking for egrep" >&5
5301 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5302 if test "${ac_cv_prog_egrep+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 else
5305 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5306 then ac_cv_prog_egrep='grep -E'
5307 else ac_cv_prog_egrep='egrep'
5310 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5311 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5312 EGREP=$ac_cv_prog_egrep
5315 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5316 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5317 if test "${ac_cv_header_stdc+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 else
5320 cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h. */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 #include <stdlib.h>
5327 #include <stdarg.h>
5328 #include <string.h>
5329 #include <float.h>
5332 main ()
5336 return 0;
5338 _ACEOF
5339 rm -f conftest.$ac_objext
5340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5341 (eval $ac_compile) 2>conftest.er1
5342 ac_status=$?
5343 grep -v '^ *+' conftest.er1 >conftest.err
5344 rm -f conftest.er1
5345 cat conftest.err >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); } &&
5348 { ac_try='test -z "$ac_c_werror_flag"
5349 || test ! -s conftest.err'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351 (eval $ac_try) 2>&5
5352 ac_status=$?
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; } &&
5355 { ac_try='test -s conftest.$ac_objext'
5356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 (eval $ac_try) 2>&5
5358 ac_status=$?
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); }; }; then
5361 ac_cv_header_stdc=yes
5362 else
5363 echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.$ac_ext >&5
5366 ac_cv_header_stdc=no
5368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5370 if test $ac_cv_header_stdc = yes; then
5371 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5372 cat >conftest.$ac_ext <<_ACEOF
5373 /* confdefs.h. */
5374 _ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5378 #include <string.h>
5380 _ACEOF
5381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5382 $EGREP "memchr" >/dev/null 2>&1; then
5384 else
5385 ac_cv_header_stdc=no
5387 rm -f conftest*
5391 if test $ac_cv_header_stdc = yes; then
5392 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5393 cat >conftest.$ac_ext <<_ACEOF
5394 /* confdefs.h. */
5395 _ACEOF
5396 cat confdefs.h >>conftest.$ac_ext
5397 cat >>conftest.$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5399 #include <stdlib.h>
5401 _ACEOF
5402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5403 $EGREP "free" >/dev/null 2>&1; then
5405 else
5406 ac_cv_header_stdc=no
5408 rm -f conftest*
5412 if test $ac_cv_header_stdc = yes; then
5413 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5414 if test "$cross_compiling" = yes; then
5416 else
5417 cat >conftest.$ac_ext <<_ACEOF
5418 /* confdefs.h. */
5419 _ACEOF
5420 cat confdefs.h >>conftest.$ac_ext
5421 cat >>conftest.$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5423 #include <ctype.h>
5424 #if ((' ' & 0x0FF) == 0x020)
5425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5427 #else
5428 # define ISLOWER(c) \
5429 (('a' <= (c) && (c) <= 'i') \
5430 || ('j' <= (c) && (c) <= 'r') \
5431 || ('s' <= (c) && (c) <= 'z'))
5432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5433 #endif
5435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5437 main ()
5439 int i;
5440 for (i = 0; i < 256; i++)
5441 if (XOR (islower (i), ISLOWER (i))
5442 || toupper (i) != TOUPPER (i))
5443 exit(2);
5444 exit (0);
5446 _ACEOF
5447 rm -f conftest$ac_exeext
5448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5449 (eval $ac_link) 2>&5
5450 ac_status=$?
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5454 (eval $ac_try) 2>&5
5455 ac_status=$?
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; }; then
5459 else
5460 echo "$as_me: program exited with status $ac_status" >&5
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.$ac_ext >&5
5464 ( exit $ac_status )
5465 ac_cv_header_stdc=no
5467 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5471 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5472 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5473 if test $ac_cv_header_stdc = yes; then
5475 cat >>confdefs.h <<\_ACEOF
5476 #define STDC_HEADERS 1
5477 _ACEOF
5481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5491 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5492 inttypes.h stdint.h unistd.h
5494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5495 echo "$as_me:$LINENO: checking for $ac_header" >&5
5496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500 cat >conftest.$ac_ext <<_ACEOF
5501 /* confdefs.h. */
5502 _ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 $ac_includes_default
5508 #include <$ac_header>
5509 _ACEOF
5510 rm -f conftest.$ac_objext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512 (eval $ac_compile) 2>conftest.er1
5513 ac_status=$?
5514 grep -v '^ *+' conftest.er1 >conftest.err
5515 rm -f conftest.er1
5516 cat conftest.err >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } &&
5519 { ac_try='test -z "$ac_c_werror_flag"
5520 || test ! -s conftest.err'
5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522 (eval $ac_try) 2>&5
5523 ac_status=$?
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; } &&
5526 { ac_try='test -s conftest.$ac_objext'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 (eval $ac_try) 2>&5
5529 ac_status=$?
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 eval "$as_ac_Header=yes"
5533 else
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5537 eval "$as_ac_Header=no"
5539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5544 cat >>confdefs.h <<_ACEOF
5545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5546 _ACEOF
5550 done
5555 for ac_header in stdlib.h unistd.h
5557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5559 echo "$as_me:$LINENO: checking for $ac_header" >&5
5560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5566 else
5567 # Is the header compilable?
5568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5570 cat >conftest.$ac_ext <<_ACEOF
5571 /* confdefs.h. */
5572 _ACEOF
5573 cat confdefs.h >>conftest.$ac_ext
5574 cat >>conftest.$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5576 $ac_includes_default
5577 #include <$ac_header>
5578 _ACEOF
5579 rm -f conftest.$ac_objext
5580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5581 (eval $ac_compile) 2>conftest.er1
5582 ac_status=$?
5583 grep -v '^ *+' conftest.er1 >conftest.err
5584 rm -f conftest.er1
5585 cat conftest.err >&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } &&
5588 { ac_try='test -z "$ac_c_werror_flag"
5589 || test ! -s conftest.err'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5591 (eval $ac_try) 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest.$ac_objext'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5597 (eval $ac_try) 2>&5
5598 ac_status=$?
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_header_compiler=yes
5602 else
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5606 ac_header_compiler=no
5608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5610 echo "${ECHO_T}$ac_header_compiler" >&6
5612 # Is the header present?
5613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5615 cat >conftest.$ac_ext <<_ACEOF
5616 /* confdefs.h. */
5617 _ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5621 #include <$ac_header>
5622 _ACEOF
5623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5625 ac_status=$?
5626 grep -v '^ *+' conftest.er1 >conftest.err
5627 rm -f conftest.er1
5628 cat conftest.err >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } >/dev/null; then
5631 if test -s conftest.err; then
5632 ac_cpp_err=$ac_c_preproc_warn_flag
5633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5634 else
5635 ac_cpp_err=
5637 else
5638 ac_cpp_err=yes
5640 if test -z "$ac_cpp_err"; then
5641 ac_header_preproc=yes
5642 else
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5646 ac_header_preproc=no
5648 rm -f conftest.err conftest.$ac_ext
5649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5650 echo "${ECHO_T}$ac_header_preproc" >&6
5652 # So? What about this header?
5653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5654 yes:no: )
5655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5659 ac_header_preproc=yes
5661 no:yes:* )
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5675 cat <<\_ASBOX
5676 ## ------------------------------------------------------ ##
5677 ## Report this to the GNU Fortran Runtime Library lists. ##
5678 ## ------------------------------------------------------ ##
5679 _ASBOX
5681 sed "s/^/$as_me: WARNING: /" >&2
5683 esac
5684 echo "$as_me:$LINENO: checking for $ac_header" >&5
5685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5687 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 else
5689 eval "$as_ac_Header=\$ac_header_preproc"
5691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5696 cat >>confdefs.h <<_ACEOF
5697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5698 _ACEOF
5702 done
5705 for ac_func in getpagesize
5707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5708 echo "$as_me:$LINENO: checking for $ac_func" >&5
5709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_var+set}\" = set"; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 else
5713 if test x$gcc_no_link = xyes; then
5714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5716 { (exit 1); exit 1; }; }
5718 cat >conftest.$ac_ext <<_ACEOF
5719 /* confdefs.h. */
5720 _ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5726 #define $ac_func innocuous_$ac_func
5728 /* System header to define __stub macros and hopefully few prototypes,
5729 which can conflict with char $ac_func (); below.
5730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5731 <limits.h> exists even on freestanding compilers. */
5733 #ifdef __STDC__
5734 # include <limits.h>
5735 #else
5736 # include <assert.h>
5737 #endif
5739 #undef $ac_func
5741 /* Override any gcc2 internal prototype to avoid an error. */
5742 #ifdef __cplusplus
5743 extern "C"
5745 #endif
5746 /* We use char because int might match the return type of a gcc2
5747 builtin and then its argument prototype would still apply. */
5748 char $ac_func ();
5749 /* The GNU C library defines this for functions which it implements
5750 to always fail with ENOSYS. Some functions are actually named
5751 something starting with __ and the normal name is an alias. */
5752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5753 choke me
5754 #else
5755 char (*f) () = $ac_func;
5756 #endif
5757 #ifdef __cplusplus
5759 #endif
5762 main ()
5764 return f != $ac_func;
5766 return 0;
5768 _ACEOF
5769 rm -f conftest.$ac_objext conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771 (eval $ac_link) 2>conftest.er1
5772 ac_status=$?
5773 grep -v '^ *+' conftest.er1 >conftest.err
5774 rm -f conftest.er1
5775 cat conftest.err >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } &&
5778 { ac_try='test -z "$ac_c_werror_flag"
5779 || test ! -s conftest.err'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 (eval $ac_try) 2>&5
5782 ac_status=$?
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; } &&
5785 { ac_try='test -s conftest$ac_exeext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 (eval $ac_try) 2>&5
5788 ac_status=$?
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5791 eval "$as_ac_var=yes"
5792 else
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 eval "$as_ac_var=no"
5798 rm -f conftest.err conftest.$ac_objext \
5799 conftest$ac_exeext conftest.$ac_ext
5801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5803 if test `eval echo '${'$as_ac_var'}'` = yes; then
5804 cat >>confdefs.h <<_ACEOF
5805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5806 _ACEOF
5809 done
5811 echo "$as_me:$LINENO: checking for working mmap" >&5
5812 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5813 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5815 else
5816 if test "$cross_compiling" = yes; then
5817 ac_cv_func_mmap_fixed_mapped=no
5818 else
5819 cat >conftest.$ac_ext <<_ACEOF
5820 /* confdefs.h. */
5821 _ACEOF
5822 cat confdefs.h >>conftest.$ac_ext
5823 cat >>conftest.$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 $ac_includes_default
5826 /* malloc might have been renamed as rpl_malloc. */
5827 #undef malloc
5829 /* Thanks to Mike Haertel and Jim Avera for this test.
5830 Here is a matrix of mmap possibilities:
5831 mmap private not fixed
5832 mmap private fixed at somewhere currently unmapped
5833 mmap private fixed at somewhere already mapped
5834 mmap shared not fixed
5835 mmap shared fixed at somewhere currently unmapped
5836 mmap shared fixed at somewhere already mapped
5837 For private mappings, we should verify that changes cannot be read()
5838 back from the file, nor mmap's back from the file at a different
5839 address. (There have been systems where private was not correctly
5840 implemented like the infamous i386 svr4.0, and systems where the
5841 VM page cache was not coherent with the file system buffer cache
5842 like early versions of FreeBSD and possibly contemporary NetBSD.)
5843 For shared mappings, we should conversely verify that changes get
5844 propagated back to all the places they're supposed to be.
5846 Grep wants private fixed already mapped.
5847 The main things grep needs to know about mmap are:
5848 * does it exist and is it safe to write into the mmap'd area
5849 * how to use it (BSD variants) */
5851 #include <fcntl.h>
5852 #include <sys/mman.h>
5854 #if !STDC_HEADERS && !HAVE_STDLIB_H
5855 char *malloc ();
5856 #endif
5858 /* This mess was copied from the GNU getpagesize.h. */
5859 #if !HAVE_GETPAGESIZE
5860 /* Assume that all systems that can run configure have sys/param.h. */
5861 # if !HAVE_SYS_PARAM_H
5862 # define HAVE_SYS_PARAM_H 1
5863 # endif
5865 # ifdef _SC_PAGESIZE
5866 # define getpagesize() sysconf(_SC_PAGESIZE)
5867 # else /* no _SC_PAGESIZE */
5868 # if HAVE_SYS_PARAM_H
5869 # include <sys/param.h>
5870 # ifdef EXEC_PAGESIZE
5871 # define getpagesize() EXEC_PAGESIZE
5872 # else /* no EXEC_PAGESIZE */
5873 # ifdef NBPG
5874 # define getpagesize() NBPG * CLSIZE
5875 # ifndef CLSIZE
5876 # define CLSIZE 1
5877 # endif /* no CLSIZE */
5878 # else /* no NBPG */
5879 # ifdef NBPC
5880 # define getpagesize() NBPC
5881 # else /* no NBPC */
5882 # ifdef PAGESIZE
5883 # define getpagesize() PAGESIZE
5884 # endif /* PAGESIZE */
5885 # endif /* no NBPC */
5886 # endif /* no NBPG */
5887 # endif /* no EXEC_PAGESIZE */
5888 # else /* no HAVE_SYS_PARAM_H */
5889 # define getpagesize() 8192 /* punt totally */
5890 # endif /* no HAVE_SYS_PARAM_H */
5891 # endif /* no _SC_PAGESIZE */
5893 #endif /* no HAVE_GETPAGESIZE */
5896 main ()
5898 char *data, *data2, *data3;
5899 int i, pagesize;
5900 int fd;
5902 pagesize = getpagesize ();
5904 /* First, make a file with some known garbage in it. */
5905 data = (char *) malloc (pagesize);
5906 if (!data)
5907 exit (1);
5908 for (i = 0; i < pagesize; ++i)
5909 *(data + i) = rand ();
5910 umask (0);
5911 fd = creat ("conftest.mmap", 0600);
5912 if (fd < 0)
5913 exit (1);
5914 if (write (fd, data, pagesize) != pagesize)
5915 exit (1);
5916 close (fd);
5918 /* Next, try to mmap the file at a fixed address which already has
5919 something else allocated at it. If we can, also make sure that
5920 we see the same garbage. */
5921 fd = open ("conftest.mmap", O_RDWR);
5922 if (fd < 0)
5923 exit (1);
5924 data2 = (char *) malloc (2 * pagesize);
5925 if (!data2)
5926 exit (1);
5927 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5928 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5929 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5930 exit (1);
5931 for (i = 0; i < pagesize; ++i)
5932 if (*(data + i) != *(data2 + i))
5933 exit (1);
5935 /* Finally, make sure that changes to the mapped area do not
5936 percolate back to the file as seen by read(). (This is a bug on
5937 some variants of i386 svr4.0.) */
5938 for (i = 0; i < pagesize; ++i)
5939 *(data2 + i) = *(data2 + i) + 1;
5940 data3 = (char *) malloc (pagesize);
5941 if (!data3)
5942 exit (1);
5943 if (read (fd, data3, pagesize) != pagesize)
5944 exit (1);
5945 for (i = 0; i < pagesize; ++i)
5946 if (*(data + i) != *(data3 + i))
5947 exit (1);
5948 close (fd);
5949 exit (0);
5951 _ACEOF
5952 rm -f conftest$ac_exeext
5953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5954 (eval $ac_link) 2>&5
5955 ac_status=$?
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5959 (eval $ac_try) 2>&5
5960 ac_status=$?
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; }; then
5963 ac_cv_func_mmap_fixed_mapped=yes
5964 else
5965 echo "$as_me: program exited with status $ac_status" >&5
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.$ac_ext >&5
5969 ( exit $ac_status )
5970 ac_cv_func_mmap_fixed_mapped=no
5972 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5975 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5976 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5977 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5979 cat >>confdefs.h <<\_ACEOF
5980 #define HAVE_MMAP 1
5981 _ACEOF
5984 rm -f conftest.mmap
5987 echo "$as_me:$LINENO: checking for off_t" >&5
5988 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5989 if test "${ac_cv_type_off_t+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 else
5992 cat >conftest.$ac_ext <<_ACEOF
5993 /* confdefs.h. */
5994 _ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5998 $ac_includes_default
6000 main ()
6002 if ((off_t *) 0)
6003 return 0;
6004 if (sizeof (off_t))
6005 return 0;
6007 return 0;
6009 _ACEOF
6010 rm -f conftest.$ac_objext
6011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6012 (eval $ac_compile) 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); } &&
6019 { ac_try='test -z "$ac_c_werror_flag"
6020 || test ! -s conftest.err'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 (eval $ac_try) 2>&5
6023 ac_status=$?
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; } &&
6026 { ac_try='test -s conftest.$ac_objext'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028 (eval $ac_try) 2>&5
6029 ac_status=$?
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6032 ac_cv_type_off_t=yes
6033 else
6034 echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.$ac_ext >&5
6037 ac_cv_type_off_t=no
6039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6041 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6042 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6043 if test $ac_cv_type_off_t = yes; then
6045 else
6047 cat >>confdefs.h <<_ACEOF
6048 #define off_t long
6049 _ACEOF
6054 # check header files
6055 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6056 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6057 if test "${ac_cv_header_stdc+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 else
6060 cat >conftest.$ac_ext <<_ACEOF
6061 /* confdefs.h. */
6062 _ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6066 #include <stdlib.h>
6067 #include <stdarg.h>
6068 #include <string.h>
6069 #include <float.h>
6072 main ()
6076 return 0;
6078 _ACEOF
6079 rm -f conftest.$ac_objext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6081 (eval $ac_compile) 2>conftest.er1
6082 ac_status=$?
6083 grep -v '^ *+' conftest.er1 >conftest.err
6084 rm -f conftest.er1
6085 cat conftest.err >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } &&
6088 { ac_try='test -z "$ac_c_werror_flag"
6089 || test ! -s conftest.err'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091 (eval $ac_try) 2>&5
6092 ac_status=$?
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; } &&
6095 { ac_try='test -s conftest.$ac_objext'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 (eval $ac_try) 2>&5
6098 ac_status=$?
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; }; then
6101 ac_cv_header_stdc=yes
6102 else
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.$ac_ext >&5
6106 ac_cv_header_stdc=no
6108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6110 if test $ac_cv_header_stdc = yes; then
6111 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6112 cat >conftest.$ac_ext <<_ACEOF
6113 /* confdefs.h. */
6114 _ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6118 #include <string.h>
6120 _ACEOF
6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122 $EGREP "memchr" >/dev/null 2>&1; then
6124 else
6125 ac_cv_header_stdc=no
6127 rm -f conftest*
6131 if test $ac_cv_header_stdc = yes; then
6132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6133 cat >conftest.$ac_ext <<_ACEOF
6134 /* confdefs.h. */
6135 _ACEOF
6136 cat confdefs.h >>conftest.$ac_ext
6137 cat >>conftest.$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6139 #include <stdlib.h>
6141 _ACEOF
6142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6143 $EGREP "free" >/dev/null 2>&1; then
6145 else
6146 ac_cv_header_stdc=no
6148 rm -f conftest*
6152 if test $ac_cv_header_stdc = yes; then
6153 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6154 if test "$cross_compiling" = yes; then
6156 else
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 <ctype.h>
6164 #if ((' ' & 0x0FF) == 0x020)
6165 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6166 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6167 #else
6168 # define ISLOWER(c) \
6169 (('a' <= (c) && (c) <= 'i') \
6170 || ('j' <= (c) && (c) <= 'r') \
6171 || ('s' <= (c) && (c) <= 'z'))
6172 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6173 #endif
6175 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6177 main ()
6179 int i;
6180 for (i = 0; i < 256; i++)
6181 if (XOR (islower (i), ISLOWER (i))
6182 || toupper (i) != TOUPPER (i))
6183 exit(2);
6184 exit (0);
6186 _ACEOF
6187 rm -f conftest$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>&5
6190 ac_status=$?
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 (eval $ac_try) 2>&5
6195 ac_status=$?
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then
6199 else
6200 echo "$as_me: program exited with status $ac_status" >&5
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6204 ( exit $ac_status )
6205 ac_cv_header_stdc=no
6207 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6211 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6212 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6213 if test $ac_cv_header_stdc = yes; then
6215 cat >>confdefs.h <<\_ACEOF
6216 #define STDC_HEADERS 1
6217 _ACEOF
6228 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6232 echo "$as_me:$LINENO: checking for $ac_header" >&5
6233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6239 else
6240 # Is the header compilable?
6241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6243 cat >conftest.$ac_ext <<_ACEOF
6244 /* confdefs.h. */
6245 _ACEOF
6246 cat confdefs.h >>conftest.$ac_ext
6247 cat >>conftest.$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 $ac_includes_default
6250 #include <$ac_header>
6251 _ACEOF
6252 rm -f conftest.$ac_objext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254 (eval $ac_compile) 2>conftest.er1
6255 ac_status=$?
6256 grep -v '^ *+' conftest.er1 >conftest.err
6257 rm -f conftest.er1
6258 cat conftest.err >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); } &&
6261 { ac_try='test -z "$ac_c_werror_flag"
6262 || test ! -s conftest.err'
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6264 (eval $ac_try) 2>&5
6265 ac_status=$?
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; } &&
6268 { ac_try='test -s conftest.$ac_objext'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 (eval $ac_try) 2>&5
6271 ac_status=$?
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6274 ac_header_compiler=yes
6275 else
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6279 ac_header_compiler=no
6281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6283 echo "${ECHO_T}$ac_header_compiler" >&6
6285 # Is the header present?
6286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6288 cat >conftest.$ac_ext <<_ACEOF
6289 /* confdefs.h. */
6290 _ACEOF
6291 cat confdefs.h >>conftest.$ac_ext
6292 cat >>conftest.$ac_ext <<_ACEOF
6293 /* end confdefs.h. */
6294 #include <$ac_header>
6295 _ACEOF
6296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6298 ac_status=$?
6299 grep -v '^ *+' conftest.er1 >conftest.err
6300 rm -f conftest.er1
6301 cat conftest.err >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); } >/dev/null; then
6304 if test -s conftest.err; then
6305 ac_cpp_err=$ac_c_preproc_warn_flag
6306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6307 else
6308 ac_cpp_err=
6310 else
6311 ac_cpp_err=yes
6313 if test -z "$ac_cpp_err"; then
6314 ac_header_preproc=yes
6315 else
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.$ac_ext >&5
6319 ac_header_preproc=no
6321 rm -f conftest.err conftest.$ac_ext
6322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6323 echo "${ECHO_T}$ac_header_preproc" >&6
6325 # So? What about this header?
6326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6327 yes:no: )
6328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6332 ac_header_preproc=yes
6334 no:yes:* )
6335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6348 cat <<\_ASBOX
6349 ## ------------------------------------------------------ ##
6350 ## Report this to the GNU Fortran Runtime Library lists. ##
6351 ## ------------------------------------------------------ ##
6352 _ASBOX
6354 sed "s/^/$as_me: WARNING: /" >&2
6356 esac
6357 echo "$as_me:$LINENO: checking for $ac_header" >&5
6358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362 eval "$as_ac_Header=\$ac_header_preproc"
6364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6369 cat >>confdefs.h <<_ACEOF
6370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6371 _ACEOF
6375 done
6382 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6386 echo "$as_me:$LINENO: checking for $ac_header" >&5
6387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6393 else
6394 # Is the header compilable?
6395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6403 $ac_includes_default
6404 #include <$ac_header>
6405 _ACEOF
6406 rm -f conftest.$ac_objext
6407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6408 (eval $ac_compile) 2>conftest.er1
6409 ac_status=$?
6410 grep -v '^ *+' conftest.er1 >conftest.err
6411 rm -f conftest.er1
6412 cat conftest.err >&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } &&
6415 { ac_try='test -z "$ac_c_werror_flag"
6416 || test ! -s conftest.err'
6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418 (eval $ac_try) 2>&5
6419 ac_status=$?
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; } &&
6422 { ac_try='test -s conftest.$ac_objext'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424 (eval $ac_try) 2>&5
6425 ac_status=$?
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6428 ac_header_compiler=yes
6429 else
6430 echo "$as_me: failed program was:" >&5
6431 sed 's/^/| /' conftest.$ac_ext >&5
6433 ac_header_compiler=no
6435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6437 echo "${ECHO_T}$ac_header_compiler" >&6
6439 # Is the header present?
6440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6442 cat >conftest.$ac_ext <<_ACEOF
6443 /* confdefs.h. */
6444 _ACEOF
6445 cat confdefs.h >>conftest.$ac_ext
6446 cat >>conftest.$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6448 #include <$ac_header>
6449 _ACEOF
6450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6452 ac_status=$?
6453 grep -v '^ *+' conftest.er1 >conftest.err
6454 rm -f conftest.er1
6455 cat conftest.err >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } >/dev/null; then
6458 if test -s conftest.err; then
6459 ac_cpp_err=$ac_c_preproc_warn_flag
6460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6461 else
6462 ac_cpp_err=
6464 else
6465 ac_cpp_err=yes
6467 if test -z "$ac_cpp_err"; then
6468 ac_header_preproc=yes
6469 else
6470 echo "$as_me: failed program was:" >&5
6471 sed 's/^/| /' conftest.$ac_ext >&5
6473 ac_header_preproc=no
6475 rm -f conftest.err conftest.$ac_ext
6476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6477 echo "${ECHO_T}$ac_header_preproc" >&6
6479 # So? What about this header?
6480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6481 yes:no: )
6482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6486 ac_header_preproc=yes
6488 no:yes:* )
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6502 cat <<\_ASBOX
6503 ## ------------------------------------------------------ ##
6504 ## Report this to the GNU Fortran Runtime Library lists. ##
6505 ## ------------------------------------------------------ ##
6506 _ASBOX
6508 sed "s/^/$as_me: WARNING: /" >&2
6510 esac
6511 echo "$as_me:$LINENO: checking for $ac_header" >&5
6512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6514 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 else
6516 eval "$as_ac_Header=\$ac_header_preproc"
6518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6523 cat >>confdefs.h <<_ACEOF
6524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6525 _ACEOF
6529 done
6536 for ac_header in sys/mman.h sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6540 echo "$as_me:$LINENO: checking for $ac_header" >&5
6541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6547 else
6548 # Is the header compilable?
6549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6551 cat >conftest.$ac_ext <<_ACEOF
6552 /* confdefs.h. */
6553 _ACEOF
6554 cat confdefs.h >>conftest.$ac_ext
6555 cat >>conftest.$ac_ext <<_ACEOF
6556 /* end confdefs.h. */
6557 $ac_includes_default
6558 #include <$ac_header>
6559 _ACEOF
6560 rm -f conftest.$ac_objext
6561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6562 (eval $ac_compile) 2>conftest.er1
6563 ac_status=$?
6564 grep -v '^ *+' conftest.er1 >conftest.err
6565 rm -f conftest.er1
6566 cat conftest.err >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } &&
6569 { ac_try='test -z "$ac_c_werror_flag"
6570 || test ! -s conftest.err'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6572 (eval $ac_try) 2>&5
6573 ac_status=$?
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; } &&
6576 { ac_try='test -s conftest.$ac_objext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578 (eval $ac_try) 2>&5
6579 ac_status=$?
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6582 ac_header_compiler=yes
6583 else
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.$ac_ext >&5
6587 ac_header_compiler=no
6589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6591 echo "${ECHO_T}$ac_header_compiler" >&6
6593 # Is the header present?
6594 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6596 cat >conftest.$ac_ext <<_ACEOF
6597 /* confdefs.h. */
6598 _ACEOF
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 #include <$ac_header>
6603 _ACEOF
6604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6605 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6606 ac_status=$?
6607 grep -v '^ *+' conftest.er1 >conftest.err
6608 rm -f conftest.er1
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } >/dev/null; then
6612 if test -s conftest.err; then
6613 ac_cpp_err=$ac_c_preproc_warn_flag
6614 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6615 else
6616 ac_cpp_err=
6618 else
6619 ac_cpp_err=yes
6621 if test -z "$ac_cpp_err"; then
6622 ac_header_preproc=yes
6623 else
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_header_preproc=no
6629 rm -f conftest.err conftest.$ac_ext
6630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6631 echo "${ECHO_T}$ac_header_preproc" >&6
6633 # So? What about this header?
6634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6635 yes:no: )
6636 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6640 ac_header_preproc=yes
6642 no:yes:* )
6643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6647 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6649 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6650 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6653 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6656 cat <<\_ASBOX
6657 ## ------------------------------------------------------ ##
6658 ## Report this to the GNU Fortran Runtime Library lists. ##
6659 ## ------------------------------------------------------ ##
6660 _ASBOX
6662 sed "s/^/$as_me: WARNING: /" >&2
6664 esac
6665 echo "$as_me:$LINENO: checking for $ac_header" >&5
6666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6669 else
6670 eval "$as_ac_Header=\$ac_header_preproc"
6672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6677 cat >>confdefs.h <<_ACEOF
6678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6679 _ACEOF
6683 done
6688 for ac_header in fenv.h fptrap.h float.h
6690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6692 echo "$as_me:$LINENO: checking for $ac_header" >&5
6693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6699 else
6700 # Is the header compilable?
6701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6703 cat >conftest.$ac_ext <<_ACEOF
6704 /* confdefs.h. */
6705 _ACEOF
6706 cat confdefs.h >>conftest.$ac_ext
6707 cat >>conftest.$ac_ext <<_ACEOF
6708 /* end confdefs.h. */
6709 $ac_includes_default
6710 #include <$ac_header>
6711 _ACEOF
6712 rm -f conftest.$ac_objext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6714 (eval $ac_compile) 2>conftest.er1
6715 ac_status=$?
6716 grep -v '^ *+' conftest.er1 >conftest.err
6717 rm -f conftest.er1
6718 cat conftest.err >&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try='test -z "$ac_c_werror_flag"
6722 || test ! -s conftest.err'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6724 (eval $ac_try) 2>&5
6725 ac_status=$?
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; } &&
6728 { ac_try='test -s conftest.$ac_objext'
6729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6730 (eval $ac_try) 2>&5
6731 ac_status=$?
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; }; then
6734 ac_header_compiler=yes
6735 else
6736 echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.$ac_ext >&5
6739 ac_header_compiler=no
6741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6743 echo "${ECHO_T}$ac_header_compiler" >&6
6745 # Is the header present?
6746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6748 cat >conftest.$ac_ext <<_ACEOF
6749 /* confdefs.h. */
6750 _ACEOF
6751 cat confdefs.h >>conftest.$ac_ext
6752 cat >>conftest.$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6754 #include <$ac_header>
6755 _ACEOF
6756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6758 ac_status=$?
6759 grep -v '^ *+' conftest.er1 >conftest.err
6760 rm -f conftest.er1
6761 cat conftest.err >&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); } >/dev/null; then
6764 if test -s conftest.err; then
6765 ac_cpp_err=$ac_c_preproc_warn_flag
6766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6767 else
6768 ac_cpp_err=
6770 else
6771 ac_cpp_err=yes
6773 if test -z "$ac_cpp_err"; then
6774 ac_header_preproc=yes
6775 else
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.$ac_ext >&5
6779 ac_header_preproc=no
6781 rm -f conftest.err conftest.$ac_ext
6782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6783 echo "${ECHO_T}$ac_header_preproc" >&6
6785 # So? What about this header?
6786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6787 yes:no: )
6788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6792 ac_header_preproc=yes
6794 no:yes:* )
6795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6808 cat <<\_ASBOX
6809 ## ------------------------------------------------------ ##
6810 ## Report this to the GNU Fortran Runtime Library lists. ##
6811 ## ------------------------------------------------------ ##
6812 _ASBOX
6814 sed "s/^/$as_me: WARNING: /" >&2
6816 esac
6817 echo "$as_me:$LINENO: checking for $ac_header" >&5
6818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 else
6822 eval "$as_ac_Header=\$ac_header_preproc"
6824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829 cat >>confdefs.h <<_ACEOF
6830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 _ACEOF
6835 done
6837 if test "${ac_cv_header_complex_h+set}" = set; then
6838 echo "$as_me:$LINENO: checking for complex.h" >&5
6839 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6840 if test "${ac_cv_header_complex_h+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6844 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6845 else
6846 # Is the header compilable?
6847 echo "$as_me:$LINENO: checking complex.h usability" >&5
6848 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6849 cat >conftest.$ac_ext <<_ACEOF
6850 /* confdefs.h. */
6851 _ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6855 $ac_includes_default
6856 #include <complex.h>
6857 _ACEOF
6858 rm -f conftest.$ac_objext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6860 (eval $ac_compile) 2>conftest.er1
6861 ac_status=$?
6862 grep -v '^ *+' conftest.er1 >conftest.err
6863 rm -f conftest.er1
6864 cat conftest.err >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try='test -z "$ac_c_werror_flag"
6868 || test ! -s conftest.err'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 (eval $ac_try) 2>&5
6871 ac_status=$?
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; } &&
6874 { ac_try='test -s conftest.$ac_objext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 (eval $ac_try) 2>&5
6877 ac_status=$?
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_header_compiler=yes
6881 else
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6885 ac_header_compiler=no
6887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6889 echo "${ECHO_T}$ac_header_compiler" >&6
6891 # Is the header present?
6892 echo "$as_me:$LINENO: checking complex.h presence" >&5
6893 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6894 cat >conftest.$ac_ext <<_ACEOF
6895 /* confdefs.h. */
6896 _ACEOF
6897 cat confdefs.h >>conftest.$ac_ext
6898 cat >>conftest.$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6900 #include <complex.h>
6901 _ACEOF
6902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6904 ac_status=$?
6905 grep -v '^ *+' conftest.er1 >conftest.err
6906 rm -f conftest.er1
6907 cat conftest.err >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } >/dev/null; then
6910 if test -s conftest.err; then
6911 ac_cpp_err=$ac_c_preproc_warn_flag
6912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6913 else
6914 ac_cpp_err=
6916 else
6917 ac_cpp_err=yes
6919 if test -z "$ac_cpp_err"; then
6920 ac_header_preproc=yes
6921 else
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6925 ac_header_preproc=no
6927 rm -f conftest.err conftest.$ac_ext
6928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6929 echo "${ECHO_T}$ac_header_preproc" >&6
6931 # So? What about this header?
6932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6933 yes:no: )
6934 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6935 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6937 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6938 ac_header_preproc=yes
6940 no:yes:* )
6941 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6942 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6943 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6944 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6945 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6946 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6947 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6948 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6949 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6950 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6951 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6952 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6954 cat <<\_ASBOX
6955 ## ------------------------------------------------------ ##
6956 ## Report this to the GNU Fortran Runtime Library lists. ##
6957 ## ------------------------------------------------------ ##
6958 _ASBOX
6960 sed "s/^/$as_me: WARNING: /" >&2
6962 esac
6963 echo "$as_me:$LINENO: checking for complex.h" >&5
6964 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6965 if test "${ac_cv_header_complex_h+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 else
6968 ac_cv_header_complex_h=$ac_header_preproc
6970 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6971 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6974 if test $ac_cv_header_complex_h = yes; then
6976 cat >>confdefs.h <<\_ACEOF
6977 #define HAVE_COMPLEX_H 1
6978 _ACEOF
6985 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6987 acx_cv_header_stdint=stddef.h
6988 acx_cv_header_stdint_kind="(already complete)"
6989 for i in stdint.h $inttype_headers; do
6990 unset ac_cv_type_uintptr_t
6991 unset ac_cv_type_uintmax_t
6992 unset ac_cv_type_int_least32_t
6993 unset ac_cv_type_int_fast32_t
6994 unset ac_cv_type_uint64_t
6995 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6996 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6997 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6998 if test "${ac_cv_type_uintmax_t+set}" = set; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7000 else
7001 cat >conftest.$ac_ext <<_ACEOF
7002 /* confdefs.h. */
7003 _ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 #include <sys/types.h>
7008 #include <$i>
7011 main ()
7013 if ((uintmax_t *) 0)
7014 return 0;
7015 if (sizeof (uintmax_t))
7016 return 0;
7018 return 0;
7020 _ACEOF
7021 rm -f conftest.$ac_objext
7022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7023 (eval $ac_compile) 2>conftest.er1
7024 ac_status=$?
7025 grep -v '^ *+' conftest.er1 >conftest.err
7026 rm -f conftest.er1
7027 cat conftest.err >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } &&
7030 { ac_try='test -z "$ac_c_werror_flag"
7031 || test ! -s conftest.err'
7032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 (eval $ac_try) 2>&5
7034 ac_status=$?
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); }; } &&
7037 { ac_try='test -s conftest.$ac_objext'
7038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 (eval $ac_try) 2>&5
7040 ac_status=$?
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; }; then
7043 ac_cv_type_uintmax_t=yes
7044 else
7045 echo "$as_me: failed program was:" >&5
7046 sed 's/^/| /' conftest.$ac_ext >&5
7048 ac_cv_type_uintmax_t=no
7050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7052 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
7053 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
7054 if test $ac_cv_type_uintmax_t = yes; then
7055 acx_cv_header_stdint=$i
7056 else
7057 continue
7060 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7061 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7062 if test "${ac_cv_type_uintptr_t+set}" = set; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 else
7065 cat >conftest.$ac_ext <<_ACEOF
7066 /* confdefs.h. */
7067 _ACEOF
7068 cat confdefs.h >>conftest.$ac_ext
7069 cat >>conftest.$ac_ext <<_ACEOF
7070 /* end confdefs.h. */
7071 #include <sys/types.h>
7072 #include <$i>
7075 main ()
7077 if ((uintptr_t *) 0)
7078 return 0;
7079 if (sizeof (uintptr_t))
7080 return 0;
7082 return 0;
7084 _ACEOF
7085 rm -f conftest.$ac_objext
7086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7087 (eval $ac_compile) 2>conftest.er1
7088 ac_status=$?
7089 grep -v '^ *+' conftest.er1 >conftest.err
7090 rm -f conftest.er1
7091 cat conftest.err >&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); } &&
7094 { ac_try='test -z "$ac_c_werror_flag"
7095 || test ! -s conftest.err'
7096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097 (eval $ac_try) 2>&5
7098 ac_status=$?
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); }; } &&
7101 { ac_try='test -s conftest.$ac_objext'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7103 (eval $ac_try) 2>&5
7104 ac_status=$?
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then
7107 ac_cv_type_uintptr_t=yes
7108 else
7109 echo "$as_me: failed program was:" >&5
7110 sed 's/^/| /' conftest.$ac_ext >&5
7112 ac_cv_type_uintptr_t=no
7114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7116 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7117 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7118 if test $ac_cv_type_uintptr_t = yes; then
7120 else
7121 acx_cv_header_stdint_kind="(mostly complete)"
7124 echo "$as_me:$LINENO: checking for int_least32_t" >&5
7125 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
7126 if test "${ac_cv_type_int_least32_t+set}" = set; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 else
7129 cat >conftest.$ac_ext <<_ACEOF
7130 /* confdefs.h. */
7131 _ACEOF
7132 cat confdefs.h >>conftest.$ac_ext
7133 cat >>conftest.$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7135 #include <sys/types.h>
7136 #include <$i>
7139 main ()
7141 if ((int_least32_t *) 0)
7142 return 0;
7143 if (sizeof (int_least32_t))
7144 return 0;
7146 return 0;
7148 _ACEOF
7149 rm -f conftest.$ac_objext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7151 (eval $ac_compile) 2>conftest.er1
7152 ac_status=$?
7153 grep -v '^ *+' conftest.er1 >conftest.err
7154 rm -f conftest.er1
7155 cat conftest.err >&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try='test -z "$ac_c_werror_flag"
7159 || test ! -s conftest.err'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 (eval $ac_try) 2>&5
7162 ac_status=$?
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; } &&
7165 { ac_try='test -s conftest.$ac_objext'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 (eval $ac_try) 2>&5
7168 ac_status=$?
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then
7171 ac_cv_type_int_least32_t=yes
7172 else
7173 echo "$as_me: failed program was:" >&5
7174 sed 's/^/| /' conftest.$ac_ext >&5
7176 ac_cv_type_int_least32_t=no
7178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7180 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
7181 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
7182 if test $ac_cv_type_int_least32_t = yes; then
7184 else
7185 acx_cv_header_stdint_kind="(mostly complete)"
7188 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
7189 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
7190 if test "${ac_cv_type_int_fast32_t+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 else
7193 cat >conftest.$ac_ext <<_ACEOF
7194 /* confdefs.h. */
7195 _ACEOF
7196 cat confdefs.h >>conftest.$ac_ext
7197 cat >>conftest.$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7199 #include <sys/types.h>
7200 #include <$i>
7203 main ()
7205 if ((int_fast32_t *) 0)
7206 return 0;
7207 if (sizeof (int_fast32_t))
7208 return 0;
7210 return 0;
7212 _ACEOF
7213 rm -f conftest.$ac_objext
7214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7215 (eval $ac_compile) 2>conftest.er1
7216 ac_status=$?
7217 grep -v '^ *+' conftest.er1 >conftest.err
7218 rm -f conftest.er1
7219 cat conftest.err >&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try='test -z "$ac_c_werror_flag"
7223 || test ! -s conftest.err'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7225 (eval $ac_try) 2>&5
7226 ac_status=$?
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; } &&
7229 { ac_try='test -s conftest.$ac_objext'
7230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7231 (eval $ac_try) 2>&5
7232 ac_status=$?
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); }; }; then
7235 ac_cv_type_int_fast32_t=yes
7236 else
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.$ac_ext >&5
7240 ac_cv_type_int_fast32_t=no
7242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7244 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7245 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7246 if test $ac_cv_type_int_fast32_t = yes; then
7248 else
7249 acx_cv_header_stdint_kind="(mostly complete)"
7252 echo "$as_me:$LINENO: checking for uint64_t" >&5
7253 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7254 if test "${ac_cv_type_uint64_t+set}" = set; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7256 else
7257 cat >conftest.$ac_ext <<_ACEOF
7258 /* confdefs.h. */
7259 _ACEOF
7260 cat confdefs.h >>conftest.$ac_ext
7261 cat >>conftest.$ac_ext <<_ACEOF
7262 /* end confdefs.h. */
7263 #include <sys/types.h>
7264 #include <$i>
7267 main ()
7269 if ((uint64_t *) 0)
7270 return 0;
7271 if (sizeof (uint64_t))
7272 return 0;
7274 return 0;
7276 _ACEOF
7277 rm -f conftest.$ac_objext
7278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7279 (eval $ac_compile) 2>conftest.er1
7280 ac_status=$?
7281 grep -v '^ *+' conftest.er1 >conftest.err
7282 rm -f conftest.er1
7283 cat conftest.err >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); } &&
7286 { ac_try='test -z "$ac_c_werror_flag"
7287 || test ! -s conftest.err'
7288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289 (eval $ac_try) 2>&5
7290 ac_status=$?
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); }; } &&
7293 { ac_try='test -s conftest.$ac_objext'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7295 (eval $ac_try) 2>&5
7296 ac_status=$?
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; }; then
7299 ac_cv_type_uint64_t=yes
7300 else
7301 echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.$ac_ext >&5
7304 ac_cv_type_uint64_t=no
7306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7308 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7309 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7310 if test $ac_cv_type_uint64_t = yes; then
7312 else
7313 acx_cv_header_stdint_kind="(lacks uint64_t)"
7316 break
7317 done
7318 if test "$acx_cv_header_stdint" = stddef.h; then
7319 acx_cv_header_stdint_kind="(lacks uintptr_t)"
7320 for i in stdint.h $inttype_headers; do
7321 unset ac_cv_type_uint32_t
7322 unset ac_cv_type_uint64_t
7323 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7324 echo "$as_me:$LINENO: checking for uint32_t" >&5
7325 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7326 if test "${ac_cv_type_uint32_t+set}" = set; then
7327 echo $ECHO_N "(cached) $ECHO_C" >&6
7328 else
7329 cat >conftest.$ac_ext <<_ACEOF
7330 /* confdefs.h. */
7331 _ACEOF
7332 cat confdefs.h >>conftest.$ac_ext
7333 cat >>conftest.$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7335 #include <sys/types.h>
7336 #include <$i>
7339 main ()
7341 if ((uint32_t *) 0)
7342 return 0;
7343 if (sizeof (uint32_t))
7344 return 0;
7346 return 0;
7348 _ACEOF
7349 rm -f conftest.$ac_objext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7351 (eval $ac_compile) 2>conftest.er1
7352 ac_status=$?
7353 grep -v '^ *+' conftest.er1 >conftest.err
7354 rm -f conftest.er1
7355 cat conftest.err >&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } &&
7358 { ac_try='test -z "$ac_c_werror_flag"
7359 || test ! -s conftest.err'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 (eval $ac_try) 2>&5
7362 ac_status=$?
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; } &&
7365 { ac_try='test -s conftest.$ac_objext'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 (eval $ac_try) 2>&5
7368 ac_status=$?
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7371 ac_cv_type_uint32_t=yes
7372 else
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7376 ac_cv_type_uint32_t=no
7378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7380 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7381 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7382 if test $ac_cv_type_uint32_t = yes; then
7383 acx_cv_header_stdint=$i
7384 else
7385 continue
7388 echo "$as_me:$LINENO: checking for uint64_t" >&5
7389 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7390 if test "${ac_cv_type_uint64_t+set}" = set; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 else
7393 cat >conftest.$ac_ext <<_ACEOF
7394 /* confdefs.h. */
7395 _ACEOF
7396 cat confdefs.h >>conftest.$ac_ext
7397 cat >>conftest.$ac_ext <<_ACEOF
7398 /* end confdefs.h. */
7399 #include <sys/types.h>
7400 #include <$i>
7403 main ()
7405 if ((uint64_t *) 0)
7406 return 0;
7407 if (sizeof (uint64_t))
7408 return 0;
7410 return 0;
7412 _ACEOF
7413 rm -f conftest.$ac_objext
7414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7415 (eval $ac_compile) 2>conftest.er1
7416 ac_status=$?
7417 grep -v '^ *+' conftest.er1 >conftest.err
7418 rm -f conftest.er1
7419 cat conftest.err >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } &&
7422 { ac_try='test -z "$ac_c_werror_flag"
7423 || test ! -s conftest.err'
7424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425 (eval $ac_try) 2>&5
7426 ac_status=$?
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; } &&
7429 { ac_try='test -s conftest.$ac_objext'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7431 (eval $ac_try) 2>&5
7432 ac_status=$?
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; }; then
7435 ac_cv_type_uint64_t=yes
7436 else
7437 echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.$ac_ext >&5
7440 ac_cv_type_uint64_t=no
7442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7444 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7445 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7446 if test $ac_cv_type_uint64_t = yes; then
7448 else
7449 acx_cv_header_stdint_kind="(lacks uintptr_t and uint64_t)"
7452 break
7453 done
7455 if test "$acx_cv_header_stdint" = stddef.h; then
7456 acx_cv_header_stdint_kind="(u_intXX_t style)"
7457 for i in sys/types.h $inttype_headers; do
7458 unset ac_cv_type_u_int32_t
7459 unset ac_cv_type_u_int64_t
7460 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7461 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7462 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7463 if test "${ac_cv_type_u_int32_t+set}" = set; then
7464 echo $ECHO_N "(cached) $ECHO_C" >&6
7465 else
7466 cat >conftest.$ac_ext <<_ACEOF
7467 /* confdefs.h. */
7468 _ACEOF
7469 cat confdefs.h >>conftest.$ac_ext
7470 cat >>conftest.$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7472 #include <sys/types.h>
7473 #include <$i>
7476 main ()
7478 if ((u_int32_t *) 0)
7479 return 0;
7480 if (sizeof (u_int32_t))
7481 return 0;
7483 return 0;
7485 _ACEOF
7486 rm -f conftest.$ac_objext
7487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7488 (eval $ac_compile) 2>conftest.er1
7489 ac_status=$?
7490 grep -v '^ *+' conftest.er1 >conftest.err
7491 rm -f conftest.er1
7492 cat conftest.err >&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); } &&
7495 { ac_try='test -z "$ac_c_werror_flag"
7496 || test ! -s conftest.err'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498 (eval $ac_try) 2>&5
7499 ac_status=$?
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; } &&
7502 { ac_try='test -s conftest.$ac_objext'
7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 (eval $ac_try) 2>&5
7505 ac_status=$?
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); }; }; then
7508 ac_cv_type_u_int32_t=yes
7509 else
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.$ac_ext >&5
7513 ac_cv_type_u_int32_t=no
7515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7517 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7518 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7519 if test $ac_cv_type_u_int32_t = yes; then
7520 acx_cv_header_stdint=$i
7521 else
7522 continue
7525 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7526 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7527 if test "${ac_cv_type_u_int64_t+set}" = set; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7529 else
7530 cat >conftest.$ac_ext <<_ACEOF
7531 /* confdefs.h. */
7532 _ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7536 #include <sys/types.h>
7537 #include <$i>
7540 main ()
7542 if ((u_int64_t *) 0)
7543 return 0;
7544 if (sizeof (u_int64_t))
7545 return 0;
7547 return 0;
7549 _ACEOF
7550 rm -f conftest.$ac_objext
7551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7552 (eval $ac_compile) 2>conftest.er1
7553 ac_status=$?
7554 grep -v '^ *+' conftest.er1 >conftest.err
7555 rm -f conftest.er1
7556 cat conftest.err >&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } &&
7559 { ac_try='test -z "$ac_c_werror_flag"
7560 || test ! -s conftest.err'
7561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 (eval $ac_try) 2>&5
7563 ac_status=$?
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); }; } &&
7566 { ac_try='test -s conftest.$ac_objext'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 (eval $ac_try) 2>&5
7569 ac_status=$?
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; }; then
7572 ac_cv_type_u_int64_t=yes
7573 else
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7577 ac_cv_type_u_int64_t=no
7579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7581 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7582 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7583 if test $ac_cv_type_u_int64_t = yes; then
7585 else
7586 acx_cv_header_stdint_kind="(u_intXX_t style, lacks u_int64_t)"
7589 break
7590 done
7592 if test "$acx_cv_header_stdint" = stddef.h; then
7593 acx_cv_header_stdint_kind="(using manual detection)"
7596 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7597 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7598 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7599 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7600 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7602 # ----------------- Summarize what we found so far
7604 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7605 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7607 case `$as_basename gstdint.h ||
7608 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7609 Xgstdint.h : 'X\(//\)$' \| \
7610 Xgstdint.h : 'X\(/\)$' \| \
7611 . : '\(.\)' 2>/dev/null ||
7612 echo X/gstdint.h |
7613 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7614 /^X\/\(\/\/\)$/{ s//\1/; q; }
7615 /^X\/\(\/\).*/{ s//\1/; q; }
7616 s/.*/./; q'` in
7617 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7618 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7619 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7620 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7621 *) ;;
7622 esac
7624 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7625 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7627 # ----------------- done included file, check C basic types --------
7629 # Lacking an uintptr_t? Test size of void *
7630 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7631 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7632 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7633 if test "${ac_cv_type_void_p+set}" = set; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 else
7636 cat >conftest.$ac_ext <<_ACEOF
7637 /* confdefs.h. */
7638 _ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7642 $ac_includes_default
7644 main ()
7646 if ((void * *) 0)
7647 return 0;
7648 if (sizeof (void *))
7649 return 0;
7651 return 0;
7653 _ACEOF
7654 rm -f conftest.$ac_objext
7655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7656 (eval $ac_compile) 2>conftest.er1
7657 ac_status=$?
7658 grep -v '^ *+' conftest.er1 >conftest.err
7659 rm -f conftest.er1
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } &&
7663 { ac_try='test -z "$ac_c_werror_flag"
7664 || test ! -s conftest.err'
7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 (eval $ac_try) 2>&5
7667 ac_status=$?
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; } &&
7670 { ac_try='test -s conftest.$ac_objext'
7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 (eval $ac_try) 2>&5
7673 ac_status=$?
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); }; }; then
7676 ac_cv_type_void_p=yes
7677 else
7678 echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.$ac_ext >&5
7681 ac_cv_type_void_p=no
7683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7685 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7686 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7688 echo "$as_me:$LINENO: checking size of void *" >&5
7689 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7690 if test "${ac_cv_sizeof_void_p+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 else
7693 if test "$ac_cv_type_void_p" = yes; then
7694 # The cast to unsigned long works around a bug in the HP C Compiler
7695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7697 # This bug is HP SR number 8606223364.
7698 if test "$cross_compiling" = yes; then
7699 # Depending upon the size, compute the lo and hi bounds.
7700 cat >conftest.$ac_ext <<_ACEOF
7701 /* confdefs.h. */
7702 _ACEOF
7703 cat confdefs.h >>conftest.$ac_ext
7704 cat >>conftest.$ac_ext <<_ACEOF
7705 /* end confdefs.h. */
7706 $ac_includes_default
7708 main ()
7710 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7711 test_array [0] = 0
7714 return 0;
7716 _ACEOF
7717 rm -f conftest.$ac_objext
7718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7719 (eval $ac_compile) 2>conftest.er1
7720 ac_status=$?
7721 grep -v '^ *+' conftest.er1 >conftest.err
7722 rm -f conftest.er1
7723 cat conftest.err >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } &&
7726 { ac_try='test -z "$ac_c_werror_flag"
7727 || test ! -s conftest.err'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7729 (eval $ac_try) 2>&5
7730 ac_status=$?
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; } &&
7733 { ac_try='test -s conftest.$ac_objext'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 (eval $ac_try) 2>&5
7736 ac_status=$?
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; }; then
7739 ac_lo=0 ac_mid=0
7740 while :; do
7741 cat >conftest.$ac_ext <<_ACEOF
7742 /* confdefs.h. */
7743 _ACEOF
7744 cat confdefs.h >>conftest.$ac_ext
7745 cat >>conftest.$ac_ext <<_ACEOF
7746 /* end confdefs.h. */
7747 $ac_includes_default
7749 main ()
7751 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7752 test_array [0] = 0
7755 return 0;
7757 _ACEOF
7758 rm -f conftest.$ac_objext
7759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7760 (eval $ac_compile) 2>conftest.er1
7761 ac_status=$?
7762 grep -v '^ *+' conftest.er1 >conftest.err
7763 rm -f conftest.er1
7764 cat conftest.err >&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } &&
7767 { ac_try='test -z "$ac_c_werror_flag"
7768 || test ! -s conftest.err'
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7770 (eval $ac_try) 2>&5
7771 ac_status=$?
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); }; } &&
7774 { ac_try='test -s conftest.$ac_objext'
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7776 (eval $ac_try) 2>&5
7777 ac_status=$?
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); }; }; then
7780 ac_hi=$ac_mid; break
7781 else
7782 echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.$ac_ext >&5
7785 ac_lo=`expr $ac_mid + 1`
7786 if test $ac_lo -le $ac_mid; then
7787 ac_lo= ac_hi=
7788 break
7790 ac_mid=`expr 2 '*' $ac_mid + 1`
7792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7793 done
7794 else
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 cat >conftest.$ac_ext <<_ACEOF
7799 /* confdefs.h. */
7800 _ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7804 $ac_includes_default
7806 main ()
7808 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7809 test_array [0] = 0
7812 return 0;
7814 _ACEOF
7815 rm -f conftest.$ac_objext
7816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7817 (eval $ac_compile) 2>conftest.er1
7818 ac_status=$?
7819 grep -v '^ *+' conftest.er1 >conftest.err
7820 rm -f conftest.er1
7821 cat conftest.err >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try='test -z "$ac_c_werror_flag"
7825 || test ! -s conftest.err'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7827 (eval $ac_try) 2>&5
7828 ac_status=$?
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try='test -s conftest.$ac_objext'
7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 (eval $ac_try) 2>&5
7834 ac_status=$?
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then
7837 ac_hi=-1 ac_mid=-1
7838 while :; do
7839 cat >conftest.$ac_ext <<_ACEOF
7840 /* confdefs.h. */
7841 _ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7845 $ac_includes_default
7847 main ()
7849 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7850 test_array [0] = 0
7853 return 0;
7855 _ACEOF
7856 rm -f conftest.$ac_objext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858 (eval $ac_compile) 2>conftest.er1
7859 ac_status=$?
7860 grep -v '^ *+' conftest.er1 >conftest.err
7861 rm -f conftest.er1
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try='test -z "$ac_c_werror_flag"
7866 || test ! -s conftest.err'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7868 (eval $ac_try) 2>&5
7869 ac_status=$?
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7874 (eval $ac_try) 2>&5
7875 ac_status=$?
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7878 ac_lo=$ac_mid; break
7879 else
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 ac_hi=`expr '(' $ac_mid ')' - 1`
7884 if test $ac_mid -le $ac_hi; then
7885 ac_lo= ac_hi=
7886 break
7888 ac_mid=`expr 2 '*' $ac_mid`
7890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7891 done
7892 else
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7896 ac_lo= ac_hi=
7898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7901 # Binary search between lo and hi bounds.
7902 while test "x$ac_lo" != "x$ac_hi"; do
7903 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7904 cat >conftest.$ac_ext <<_ACEOF
7905 /* confdefs.h. */
7906 _ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7910 $ac_includes_default
7912 main ()
7914 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7915 test_array [0] = 0
7918 return 0;
7920 _ACEOF
7921 rm -f conftest.$ac_objext
7922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7923 (eval $ac_compile) 2>conftest.er1
7924 ac_status=$?
7925 grep -v '^ *+' conftest.er1 >conftest.err
7926 rm -f conftest.er1
7927 cat conftest.err >&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); } &&
7930 { ac_try='test -z "$ac_c_werror_flag"
7931 || test ! -s conftest.err'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 (eval $ac_try) 2>&5
7934 ac_status=$?
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; } &&
7937 { ac_try='test -s conftest.$ac_objext'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 (eval $ac_try) 2>&5
7940 ac_status=$?
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; }; then
7943 ac_hi=$ac_mid
7944 else
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7948 ac_lo=`expr '(' $ac_mid ')' + 1`
7950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7951 done
7952 case $ac_lo in
7953 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7954 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7955 See \`config.log' for more details." >&5
7956 echo "$as_me: error: cannot compute sizeof (void *), 77
7957 See \`config.log' for more details." >&2;}
7958 { (exit 1); exit 1; }; } ;;
7959 esac
7960 else
7961 if test "$cross_compiling" = yes; then
7962 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7963 See \`config.log' for more details." >&5
7964 echo "$as_me: error: cannot run test program while cross compiling
7965 See \`config.log' for more details." >&2;}
7966 { (exit 1); exit 1; }; }
7967 else
7968 cat >conftest.$ac_ext <<_ACEOF
7969 /* confdefs.h. */
7970 _ACEOF
7971 cat confdefs.h >>conftest.$ac_ext
7972 cat >>conftest.$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7974 $ac_includes_default
7975 long longval () { return (long) (sizeof (void *)); }
7976 unsigned long ulongval () { return (long) (sizeof (void *)); }
7977 #include <stdio.h>
7978 #include <stdlib.h>
7980 main ()
7983 FILE *f = fopen ("conftest.val", "w");
7984 if (! f)
7985 exit (1);
7986 if (((long) (sizeof (void *))) < 0)
7988 long i = longval ();
7989 if (i != ((long) (sizeof (void *))))
7990 exit (1);
7991 fprintf (f, "%ld\n", i);
7993 else
7995 unsigned long i = ulongval ();
7996 if (i != ((long) (sizeof (void *))))
7997 exit (1);
7998 fprintf (f, "%lu\n", i);
8000 exit (ferror (f) || fclose (f) != 0);
8003 return 0;
8005 _ACEOF
8006 rm -f conftest$ac_exeext
8007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8008 (eval $ac_link) 2>&5
8009 ac_status=$?
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013 (eval $ac_try) 2>&5
8014 ac_status=$?
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8017 ac_cv_sizeof_void_p=`cat conftest.val`
8018 else
8019 echo "$as_me: program exited with status $ac_status" >&5
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8023 ( exit $ac_status )
8024 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
8025 See \`config.log' for more details." >&5
8026 echo "$as_me: error: cannot compute sizeof (void *), 77
8027 See \`config.log' for more details." >&2;}
8028 { (exit 1); exit 1; }; }
8030 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8033 rm -f conftest.val
8034 else
8035 ac_cv_sizeof_void_p=0
8038 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8039 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8040 cat >>confdefs.h <<_ACEOF
8041 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8042 _ACEOF
8045 esac
8047 # Lacking an uint64_t? Test size of long
8048 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
8049 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
8050 echo $ECHO_N "checking for long... $ECHO_C" >&6
8051 if test "${ac_cv_type_long+set}" = set; then
8052 echo $ECHO_N "(cached) $ECHO_C" >&6
8053 else
8054 cat >conftest.$ac_ext <<_ACEOF
8055 /* confdefs.h. */
8056 _ACEOF
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8060 $ac_includes_default
8062 main ()
8064 if ((long *) 0)
8065 return 0;
8066 if (sizeof (long))
8067 return 0;
8069 return 0;
8071 _ACEOF
8072 rm -f conftest.$ac_objext
8073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8074 (eval $ac_compile) 2>conftest.er1
8075 ac_status=$?
8076 grep -v '^ *+' conftest.er1 >conftest.err
8077 rm -f conftest.er1
8078 cat conftest.err >&5
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); } &&
8081 { ac_try='test -z "$ac_c_werror_flag"
8082 || test ! -s conftest.err'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8084 (eval $ac_try) 2>&5
8085 ac_status=$?
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; } &&
8088 { ac_try='test -s conftest.$ac_objext'
8089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090 (eval $ac_try) 2>&5
8091 ac_status=$?
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); }; }; then
8094 ac_cv_type_long=yes
8095 else
8096 echo "$as_me: failed program was:" >&5
8097 sed 's/^/| /' conftest.$ac_ext >&5
8099 ac_cv_type_long=no
8101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8103 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8104 echo "${ECHO_T}$ac_cv_type_long" >&6
8106 echo "$as_me:$LINENO: checking size of long" >&5
8107 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8108 if test "${ac_cv_sizeof_long+set}" = set; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8110 else
8111 if test "$ac_cv_type_long" = yes; then
8112 # The cast to unsigned long works around a bug in the HP C Compiler
8113 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8115 # This bug is HP SR number 8606223364.
8116 if test "$cross_compiling" = yes; then
8117 # Depending upon the size, compute the lo and hi bounds.
8118 cat >conftest.$ac_ext <<_ACEOF
8119 /* confdefs.h. */
8120 _ACEOF
8121 cat confdefs.h >>conftest.$ac_ext
8122 cat >>conftest.$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8124 $ac_includes_default
8126 main ()
8128 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8129 test_array [0] = 0
8132 return 0;
8134 _ACEOF
8135 rm -f conftest.$ac_objext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8137 (eval $ac_compile) 2>conftest.er1
8138 ac_status=$?
8139 grep -v '^ *+' conftest.er1 >conftest.err
8140 rm -f conftest.er1
8141 cat conftest.err >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } &&
8144 { ac_try='test -z "$ac_c_werror_flag"
8145 || test ! -s conftest.err'
8146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 (eval $ac_try) 2>&5
8148 ac_status=$?
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); }; } &&
8151 { ac_try='test -s conftest.$ac_objext'
8152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153 (eval $ac_try) 2>&5
8154 ac_status=$?
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); }; }; then
8157 ac_lo=0 ac_mid=0
8158 while :; do
8159 cat >conftest.$ac_ext <<_ACEOF
8160 /* confdefs.h. */
8161 _ACEOF
8162 cat confdefs.h >>conftest.$ac_ext
8163 cat >>conftest.$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8165 $ac_includes_default
8167 main ()
8169 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8170 test_array [0] = 0
8173 return 0;
8175 _ACEOF
8176 rm -f conftest.$ac_objext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8178 (eval $ac_compile) 2>conftest.er1
8179 ac_status=$?
8180 grep -v '^ *+' conftest.er1 >conftest.err
8181 rm -f conftest.er1
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try='test -z "$ac_c_werror_flag"
8186 || test ! -s conftest.err'
8187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 (eval $ac_try) 2>&5
8189 ac_status=$?
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); }; } &&
8192 { ac_try='test -s conftest.$ac_objext'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194 (eval $ac_try) 2>&5
8195 ac_status=$?
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; }; then
8198 ac_hi=$ac_mid; break
8199 else
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8203 ac_lo=`expr $ac_mid + 1`
8204 if test $ac_lo -le $ac_mid; then
8205 ac_lo= ac_hi=
8206 break
8208 ac_mid=`expr 2 '*' $ac_mid + 1`
8210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8211 done
8212 else
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5
8216 cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h. */
8218 _ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 $ac_includes_default
8224 main ()
8226 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8227 test_array [0] = 0
8230 return 0;
8232 _ACEOF
8233 rm -f conftest.$ac_objext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8235 (eval $ac_compile) 2>conftest.er1
8236 ac_status=$?
8237 grep -v '^ *+' conftest.er1 >conftest.err
8238 rm -f conftest.er1
8239 cat conftest.err >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try='test -s conftest.$ac_objext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 (eval $ac_try) 2>&5
8252 ac_status=$?
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_hi=-1 ac_mid=-1
8256 while :; do
8257 cat >conftest.$ac_ext <<_ACEOF
8258 /* confdefs.h. */
8259 _ACEOF
8260 cat confdefs.h >>conftest.$ac_ext
8261 cat >>conftest.$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 $ac_includes_default
8265 main ()
8267 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8268 test_array [0] = 0
8271 return 0;
8273 _ACEOF
8274 rm -f conftest.$ac_objext
8275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8276 (eval $ac_compile) 2>conftest.er1
8277 ac_status=$?
8278 grep -v '^ *+' conftest.er1 >conftest.err
8279 rm -f conftest.er1
8280 cat conftest.err >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } &&
8283 { ac_try='test -z "$ac_c_werror_flag"
8284 || test ! -s conftest.err'
8285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8286 (eval $ac_try) 2>&5
8287 ac_status=$?
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); }; } &&
8290 { ac_try='test -s conftest.$ac_objext'
8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292 (eval $ac_try) 2>&5
8293 ac_status=$?
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; }; then
8296 ac_lo=$ac_mid; break
8297 else
8298 echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.$ac_ext >&5
8301 ac_hi=`expr '(' $ac_mid ')' - 1`
8302 if test $ac_mid -le $ac_hi; then
8303 ac_lo= ac_hi=
8304 break
8306 ac_mid=`expr 2 '*' $ac_mid`
8308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8309 done
8310 else
8311 echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.$ac_ext >&5
8314 ac_lo= ac_hi=
8316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8319 # Binary search between lo and hi bounds.
8320 while test "x$ac_lo" != "x$ac_hi"; do
8321 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8322 cat >conftest.$ac_ext <<_ACEOF
8323 /* confdefs.h. */
8324 _ACEOF
8325 cat confdefs.h >>conftest.$ac_ext
8326 cat >>conftest.$ac_ext <<_ACEOF
8327 /* end confdefs.h. */
8328 $ac_includes_default
8330 main ()
8332 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8333 test_array [0] = 0
8336 return 0;
8338 _ACEOF
8339 rm -f conftest.$ac_objext
8340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8341 (eval $ac_compile) 2>conftest.er1
8342 ac_status=$?
8343 grep -v '^ *+' conftest.er1 >conftest.err
8344 rm -f conftest.er1
8345 cat conftest.err >&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } &&
8348 { ac_try='test -z "$ac_c_werror_flag"
8349 || test ! -s conftest.err'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 (eval $ac_try) 2>&5
8352 ac_status=$?
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; } &&
8355 { ac_try='test -s conftest.$ac_objext'
8356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357 (eval $ac_try) 2>&5
8358 ac_status=$?
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); }; }; then
8361 ac_hi=$ac_mid
8362 else
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.$ac_ext >&5
8366 ac_lo=`expr '(' $ac_mid ')' + 1`
8368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8369 done
8370 case $ac_lo in
8371 ?*) ac_cv_sizeof_long=$ac_lo;;
8372 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8373 See \`config.log' for more details." >&5
8374 echo "$as_me: error: cannot compute sizeof (long), 77
8375 See \`config.log' for more details." >&2;}
8376 { (exit 1); exit 1; }; } ;;
8377 esac
8378 else
8379 if test "$cross_compiling" = yes; then
8380 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8381 See \`config.log' for more details." >&5
8382 echo "$as_me: error: cannot run test program while cross compiling
8383 See \`config.log' for more details." >&2;}
8384 { (exit 1); exit 1; }; }
8385 else
8386 cat >conftest.$ac_ext <<_ACEOF
8387 /* confdefs.h. */
8388 _ACEOF
8389 cat confdefs.h >>conftest.$ac_ext
8390 cat >>conftest.$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8392 $ac_includes_default
8393 long longval () { return (long) (sizeof (long)); }
8394 unsigned long ulongval () { return (long) (sizeof (long)); }
8395 #include <stdio.h>
8396 #include <stdlib.h>
8398 main ()
8401 FILE *f = fopen ("conftest.val", "w");
8402 if (! f)
8403 exit (1);
8404 if (((long) (sizeof (long))) < 0)
8406 long i = longval ();
8407 if (i != ((long) (sizeof (long))))
8408 exit (1);
8409 fprintf (f, "%ld\n", i);
8411 else
8413 unsigned long i = ulongval ();
8414 if (i != ((long) (sizeof (long))))
8415 exit (1);
8416 fprintf (f, "%lu\n", i);
8418 exit (ferror (f) || fclose (f) != 0);
8421 return 0;
8423 _ACEOF
8424 rm -f conftest$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426 (eval $ac_link) 2>&5
8427 ac_status=$?
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 (eval $ac_try) 2>&5
8432 ac_status=$?
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; }; then
8435 ac_cv_sizeof_long=`cat conftest.val`
8436 else
8437 echo "$as_me: program exited with status $ac_status" >&5
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8441 ( exit $ac_status )
8442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8443 See \`config.log' for more details." >&5
8444 echo "$as_me: error: cannot compute sizeof (long), 77
8445 See \`config.log' for more details." >&2;}
8446 { (exit 1); exit 1; }; }
8448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8451 rm -f conftest.val
8452 else
8453 ac_cv_sizeof_long=0
8456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8457 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8458 cat >>confdefs.h <<_ACEOF
8459 #define SIZEOF_LONG $ac_cv_sizeof_long
8460 _ACEOF
8463 esac
8465 if test $acx_cv_header_stdint = stddef.h; then
8466 # Lacking a good header? Test size of everything and deduce all types.
8467 echo "$as_me:$LINENO: checking for int" >&5
8468 echo $ECHO_N "checking for int... $ECHO_C" >&6
8469 if test "${ac_cv_type_int+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 else
8472 cat >conftest.$ac_ext <<_ACEOF
8473 /* confdefs.h. */
8474 _ACEOF
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 $ac_includes_default
8480 main ()
8482 if ((int *) 0)
8483 return 0;
8484 if (sizeof (int))
8485 return 0;
8487 return 0;
8489 _ACEOF
8490 rm -f conftest.$ac_objext
8491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8492 (eval $ac_compile) 2>conftest.er1
8493 ac_status=$?
8494 grep -v '^ *+' conftest.er1 >conftest.err
8495 rm -f conftest.er1
8496 cat conftest.err >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } &&
8499 { ac_try='test -z "$ac_c_werror_flag"
8500 || test ! -s conftest.err'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 (eval $ac_try) 2>&5
8503 ac_status=$?
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; } &&
8506 { ac_try='test -s conftest.$ac_objext'
8507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 (eval $ac_try) 2>&5
8509 ac_status=$?
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); }; }; then
8512 ac_cv_type_int=yes
8513 else
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_type_int=no
8519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8521 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8522 echo "${ECHO_T}$ac_cv_type_int" >&6
8524 echo "$as_me:$LINENO: checking size of int" >&5
8525 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8526 if test "${ac_cv_sizeof_int+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 else
8529 if test "$ac_cv_type_int" = yes; then
8530 # The cast to unsigned long works around a bug in the HP C Compiler
8531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8533 # This bug is HP SR number 8606223364.
8534 if test "$cross_compiling" = yes; then
8535 # Depending upon the size, compute the lo and hi bounds.
8536 cat >conftest.$ac_ext <<_ACEOF
8537 /* confdefs.h. */
8538 _ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8542 $ac_includes_default
8544 main ()
8546 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8547 test_array [0] = 0
8550 return 0;
8552 _ACEOF
8553 rm -f conftest.$ac_objext
8554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8555 (eval $ac_compile) 2>conftest.er1
8556 ac_status=$?
8557 grep -v '^ *+' conftest.er1 >conftest.err
8558 rm -f conftest.er1
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } &&
8562 { ac_try='test -z "$ac_c_werror_flag"
8563 || test ! -s conftest.err'
8564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8565 (eval $ac_try) 2>&5
8566 ac_status=$?
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); }; } &&
8569 { ac_try='test -s conftest.$ac_objext'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571 (eval $ac_try) 2>&5
8572 ac_status=$?
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; }; then
8575 ac_lo=0 ac_mid=0
8576 while :; do
8577 cat >conftest.$ac_ext <<_ACEOF
8578 /* confdefs.h. */
8579 _ACEOF
8580 cat confdefs.h >>conftest.$ac_ext
8581 cat >>conftest.$ac_ext <<_ACEOF
8582 /* end confdefs.h. */
8583 $ac_includes_default
8585 main ()
8587 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8588 test_array [0] = 0
8591 return 0;
8593 _ACEOF
8594 rm -f conftest.$ac_objext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8596 (eval $ac_compile) 2>conftest.er1
8597 ac_status=$?
8598 grep -v '^ *+' conftest.er1 >conftest.err
8599 rm -f conftest.er1
8600 cat conftest.err >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try='test -z "$ac_c_werror_flag"
8604 || test ! -s conftest.err'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606 (eval $ac_try) 2>&5
8607 ac_status=$?
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; } &&
8610 { ac_try='test -s conftest.$ac_objext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 (eval $ac_try) 2>&5
8613 ac_status=$?
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8616 ac_hi=$ac_mid; break
8617 else
8618 echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.$ac_ext >&5
8621 ac_lo=`expr $ac_mid + 1`
8622 if test $ac_lo -le $ac_mid; then
8623 ac_lo= ac_hi=
8624 break
8626 ac_mid=`expr 2 '*' $ac_mid + 1`
8628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8629 done
8630 else
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 cat >conftest.$ac_ext <<_ACEOF
8635 /* confdefs.h. */
8636 _ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 $ac_includes_default
8642 main ()
8644 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8645 test_array [0] = 0
8648 return 0;
8650 _ACEOF
8651 rm -f conftest.$ac_objext
8652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8653 (eval $ac_compile) 2>conftest.er1
8654 ac_status=$?
8655 grep -v '^ *+' conftest.er1 >conftest.err
8656 rm -f conftest.er1
8657 cat conftest.err >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } &&
8660 { ac_try='test -z "$ac_c_werror_flag"
8661 || test ! -s conftest.err'
8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8663 (eval $ac_try) 2>&5
8664 ac_status=$?
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); }; } &&
8667 { ac_try='test -s conftest.$ac_objext'
8668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 (eval $ac_try) 2>&5
8670 ac_status=$?
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); }; }; then
8673 ac_hi=-1 ac_mid=-1
8674 while :; do
8675 cat >conftest.$ac_ext <<_ACEOF
8676 /* confdefs.h. */
8677 _ACEOF
8678 cat confdefs.h >>conftest.$ac_ext
8679 cat >>conftest.$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8681 $ac_includes_default
8683 main ()
8685 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8686 test_array [0] = 0
8689 return 0;
8691 _ACEOF
8692 rm -f conftest.$ac_objext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8694 (eval $ac_compile) 2>conftest.er1
8695 ac_status=$?
8696 grep -v '^ *+' conftest.er1 >conftest.err
8697 rm -f conftest.er1
8698 cat conftest.err >&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try='test -z "$ac_c_werror_flag"
8702 || test ! -s conftest.err'
8703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 (eval $ac_try) 2>&5
8705 ac_status=$?
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); }; } &&
8708 { ac_try='test -s conftest.$ac_objext'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 (eval $ac_try) 2>&5
8711 ac_status=$?
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; }; then
8714 ac_lo=$ac_mid; break
8715 else
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.$ac_ext >&5
8719 ac_hi=`expr '(' $ac_mid ')' - 1`
8720 if test $ac_mid -le $ac_hi; then
8721 ac_lo= ac_hi=
8722 break
8724 ac_mid=`expr 2 '*' $ac_mid`
8726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8727 done
8728 else
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 ac_lo= ac_hi=
8734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8737 # Binary search between lo and hi bounds.
8738 while test "x$ac_lo" != "x$ac_hi"; do
8739 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8740 cat >conftest.$ac_ext <<_ACEOF
8741 /* confdefs.h. */
8742 _ACEOF
8743 cat confdefs.h >>conftest.$ac_ext
8744 cat >>conftest.$ac_ext <<_ACEOF
8745 /* end confdefs.h. */
8746 $ac_includes_default
8748 main ()
8750 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8751 test_array [0] = 0
8754 return 0;
8756 _ACEOF
8757 rm -f conftest.$ac_objext
8758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8759 (eval $ac_compile) 2>conftest.er1
8760 ac_status=$?
8761 grep -v '^ *+' conftest.er1 >conftest.err
8762 rm -f conftest.er1
8763 cat conftest.err >&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } &&
8766 { ac_try='test -z "$ac_c_werror_flag"
8767 || test ! -s conftest.err'
8768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769 (eval $ac_try) 2>&5
8770 ac_status=$?
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); }; } &&
8773 { ac_try='test -s conftest.$ac_objext'
8774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775 (eval $ac_try) 2>&5
8776 ac_status=$?
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); }; }; then
8779 ac_hi=$ac_mid
8780 else
8781 echo "$as_me: failed program was:" >&5
8782 sed 's/^/| /' conftest.$ac_ext >&5
8784 ac_lo=`expr '(' $ac_mid ')' + 1`
8786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8787 done
8788 case $ac_lo in
8789 ?*) ac_cv_sizeof_int=$ac_lo;;
8790 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8791 See \`config.log' for more details." >&5
8792 echo "$as_me: error: cannot compute sizeof (int), 77
8793 See \`config.log' for more details." >&2;}
8794 { (exit 1); exit 1; }; } ;;
8795 esac
8796 else
8797 if test "$cross_compiling" = yes; then
8798 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8799 See \`config.log' for more details." >&5
8800 echo "$as_me: error: cannot run test program while cross compiling
8801 See \`config.log' for more details." >&2;}
8802 { (exit 1); exit 1; }; }
8803 else
8804 cat >conftest.$ac_ext <<_ACEOF
8805 /* confdefs.h. */
8806 _ACEOF
8807 cat confdefs.h >>conftest.$ac_ext
8808 cat >>conftest.$ac_ext <<_ACEOF
8809 /* end confdefs.h. */
8810 $ac_includes_default
8811 long longval () { return (long) (sizeof (int)); }
8812 unsigned long ulongval () { return (long) (sizeof (int)); }
8813 #include <stdio.h>
8814 #include <stdlib.h>
8816 main ()
8819 FILE *f = fopen ("conftest.val", "w");
8820 if (! f)
8821 exit (1);
8822 if (((long) (sizeof (int))) < 0)
8824 long i = longval ();
8825 if (i != ((long) (sizeof (int))))
8826 exit (1);
8827 fprintf (f, "%ld\n", i);
8829 else
8831 unsigned long i = ulongval ();
8832 if (i != ((long) (sizeof (int))))
8833 exit (1);
8834 fprintf (f, "%lu\n", i);
8836 exit (ferror (f) || fclose (f) != 0);
8839 return 0;
8841 _ACEOF
8842 rm -f conftest$ac_exeext
8843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8844 (eval $ac_link) 2>&5
8845 ac_status=$?
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8849 (eval $ac_try) 2>&5
8850 ac_status=$?
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; }; then
8853 ac_cv_sizeof_int=`cat conftest.val`
8854 else
8855 echo "$as_me: program exited with status $ac_status" >&5
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.$ac_ext >&5
8859 ( exit $ac_status )
8860 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8861 See \`config.log' for more details." >&5
8862 echo "$as_me: error: cannot compute sizeof (int), 77
8863 See \`config.log' for more details." >&2;}
8864 { (exit 1); exit 1; }; }
8866 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8869 rm -f conftest.val
8870 else
8871 ac_cv_sizeof_int=0
8874 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8875 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8876 cat >>confdefs.h <<_ACEOF
8877 #define SIZEOF_INT $ac_cv_sizeof_int
8878 _ACEOF
8881 echo "$as_me:$LINENO: checking for short" >&5
8882 echo $ECHO_N "checking for short... $ECHO_C" >&6
8883 if test "${ac_cv_type_short+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8885 else
8886 cat >conftest.$ac_ext <<_ACEOF
8887 /* confdefs.h. */
8888 _ACEOF
8889 cat confdefs.h >>conftest.$ac_ext
8890 cat >>conftest.$ac_ext <<_ACEOF
8891 /* end confdefs.h. */
8892 $ac_includes_default
8894 main ()
8896 if ((short *) 0)
8897 return 0;
8898 if (sizeof (short))
8899 return 0;
8901 return 0;
8903 _ACEOF
8904 rm -f conftest.$ac_objext
8905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8906 (eval $ac_compile) 2>conftest.er1
8907 ac_status=$?
8908 grep -v '^ *+' conftest.er1 >conftest.err
8909 rm -f conftest.er1
8910 cat conftest.err >&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); } &&
8913 { ac_try='test -z "$ac_c_werror_flag"
8914 || test ! -s conftest.err'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 (eval $ac_try) 2>&5
8917 ac_status=$?
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; } &&
8920 { ac_try='test -s conftest.$ac_objext'
8921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 (eval $ac_try) 2>&5
8923 ac_status=$?
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; }; then
8926 ac_cv_type_short=yes
8927 else
8928 echo "$as_me: failed program was:" >&5
8929 sed 's/^/| /' conftest.$ac_ext >&5
8931 ac_cv_type_short=no
8933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8935 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8936 echo "${ECHO_T}$ac_cv_type_short" >&6
8938 echo "$as_me:$LINENO: checking size of short" >&5
8939 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8940 if test "${ac_cv_sizeof_short+set}" = set; then
8941 echo $ECHO_N "(cached) $ECHO_C" >&6
8942 else
8943 if test "$ac_cv_type_short" = yes; then
8944 # The cast to unsigned long works around a bug in the HP C Compiler
8945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8947 # This bug is HP SR number 8606223364.
8948 if test "$cross_compiling" = yes; then
8949 # Depending upon the size, compute the lo and hi bounds.
8950 cat >conftest.$ac_ext <<_ACEOF
8951 /* confdefs.h. */
8952 _ACEOF
8953 cat confdefs.h >>conftest.$ac_ext
8954 cat >>conftest.$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8956 $ac_includes_default
8958 main ()
8960 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8961 test_array [0] = 0
8964 return 0;
8966 _ACEOF
8967 rm -f conftest.$ac_objext
8968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8969 (eval $ac_compile) 2>conftest.er1
8970 ac_status=$?
8971 grep -v '^ *+' conftest.er1 >conftest.err
8972 rm -f conftest.er1
8973 cat conftest.err >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } &&
8976 { ac_try='test -z "$ac_c_werror_flag"
8977 || test ! -s conftest.err'
8978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 (eval $ac_try) 2>&5
8980 ac_status=$?
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try='test -s conftest.$ac_objext'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 (eval $ac_try) 2>&5
8986 ac_status=$?
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; }; then
8989 ac_lo=0 ac_mid=0
8990 while :; do
8991 cat >conftest.$ac_ext <<_ACEOF
8992 /* confdefs.h. */
8993 _ACEOF
8994 cat confdefs.h >>conftest.$ac_ext
8995 cat >>conftest.$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8997 $ac_includes_default
8999 main ()
9001 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9002 test_array [0] = 0
9005 return 0;
9007 _ACEOF
9008 rm -f conftest.$ac_objext
9009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9010 (eval $ac_compile) 2>conftest.er1
9011 ac_status=$?
9012 grep -v '^ *+' conftest.er1 >conftest.err
9013 rm -f conftest.er1
9014 cat conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } &&
9017 { ac_try='test -z "$ac_c_werror_flag"
9018 || test ! -s conftest.err'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 (eval $ac_try) 2>&5
9021 ac_status=$?
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; } &&
9024 { ac_try='test -s conftest.$ac_objext'
9025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 (eval $ac_try) 2>&5
9027 ac_status=$?
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }; }; then
9030 ac_hi=$ac_mid; break
9031 else
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 ac_lo=`expr $ac_mid + 1`
9036 if test $ac_lo -le $ac_mid; then
9037 ac_lo= ac_hi=
9038 break
9040 ac_mid=`expr 2 '*' $ac_mid + 1`
9042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9043 done
9044 else
9045 echo "$as_me: failed program was:" >&5
9046 sed 's/^/| /' conftest.$ac_ext >&5
9048 cat >conftest.$ac_ext <<_ACEOF
9049 /* confdefs.h. */
9050 _ACEOF
9051 cat confdefs.h >>conftest.$ac_ext
9052 cat >>conftest.$ac_ext <<_ACEOF
9053 /* end confdefs.h. */
9054 $ac_includes_default
9056 main ()
9058 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
9059 test_array [0] = 0
9062 return 0;
9064 _ACEOF
9065 rm -f conftest.$ac_objext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9067 (eval $ac_compile) 2>conftest.er1
9068 ac_status=$?
9069 grep -v '^ *+' conftest.er1 >conftest.err
9070 rm -f conftest.er1
9071 cat conftest.err >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try='test -z "$ac_c_werror_flag"
9075 || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5
9078 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } &&
9081 { ac_try='test -s conftest.$ac_objext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5
9084 ac_status=$?
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9087 ac_hi=-1 ac_mid=-1
9088 while :; do
9089 cat >conftest.$ac_ext <<_ACEOF
9090 /* confdefs.h. */
9091 _ACEOF
9092 cat confdefs.h >>conftest.$ac_ext
9093 cat >>conftest.$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 $ac_includes_default
9097 main ()
9099 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
9100 test_array [0] = 0
9103 return 0;
9105 _ACEOF
9106 rm -f conftest.$ac_objext
9107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9108 (eval $ac_compile) 2>conftest.er1
9109 ac_status=$?
9110 grep -v '^ *+' conftest.er1 >conftest.err
9111 rm -f conftest.er1
9112 cat conftest.err >&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } &&
9115 { ac_try='test -z "$ac_c_werror_flag"
9116 || test ! -s conftest.err'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9118 (eval $ac_try) 2>&5
9119 ac_status=$?
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; } &&
9122 { ac_try='test -s conftest.$ac_objext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 (eval $ac_try) 2>&5
9125 ac_status=$?
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then
9128 ac_lo=$ac_mid; break
9129 else
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.$ac_ext >&5
9133 ac_hi=`expr '(' $ac_mid ')' - 1`
9134 if test $ac_mid -le $ac_hi; then
9135 ac_lo= ac_hi=
9136 break
9138 ac_mid=`expr 2 '*' $ac_mid`
9140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9141 done
9142 else
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 ac_lo= ac_hi=
9148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9151 # Binary search between lo and hi bounds.
9152 while test "x$ac_lo" != "x$ac_hi"; do
9153 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9154 cat >conftest.$ac_ext <<_ACEOF
9155 /* confdefs.h. */
9156 _ACEOF
9157 cat confdefs.h >>conftest.$ac_ext
9158 cat >>conftest.$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9160 $ac_includes_default
9162 main ()
9164 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9165 test_array [0] = 0
9168 return 0;
9170 _ACEOF
9171 rm -f conftest.$ac_objext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9173 (eval $ac_compile) 2>conftest.er1
9174 ac_status=$?
9175 grep -v '^ *+' conftest.er1 >conftest.err
9176 rm -f conftest.er1
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try='test -z "$ac_c_werror_flag"
9181 || test ! -s conftest.err'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 (eval $ac_try) 2>&5
9184 ac_status=$?
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; } &&
9187 { ac_try='test -s conftest.$ac_objext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9189 (eval $ac_try) 2>&5
9190 ac_status=$?
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9193 ac_hi=$ac_mid
9194 else
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.$ac_ext >&5
9198 ac_lo=`expr '(' $ac_mid ')' + 1`
9200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9201 done
9202 case $ac_lo in
9203 ?*) ac_cv_sizeof_short=$ac_lo;;
9204 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9205 See \`config.log' for more details." >&5
9206 echo "$as_me: error: cannot compute sizeof (short), 77
9207 See \`config.log' for more details." >&2;}
9208 { (exit 1); exit 1; }; } ;;
9209 esac
9210 else
9211 if test "$cross_compiling" = yes; then
9212 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9213 See \`config.log' for more details." >&5
9214 echo "$as_me: error: cannot run test program while cross compiling
9215 See \`config.log' for more details." >&2;}
9216 { (exit 1); exit 1; }; }
9217 else
9218 cat >conftest.$ac_ext <<_ACEOF
9219 /* confdefs.h. */
9220 _ACEOF
9221 cat confdefs.h >>conftest.$ac_ext
9222 cat >>conftest.$ac_ext <<_ACEOF
9223 /* end confdefs.h. */
9224 $ac_includes_default
9225 long longval () { return (long) (sizeof (short)); }
9226 unsigned long ulongval () { return (long) (sizeof (short)); }
9227 #include <stdio.h>
9228 #include <stdlib.h>
9230 main ()
9233 FILE *f = fopen ("conftest.val", "w");
9234 if (! f)
9235 exit (1);
9236 if (((long) (sizeof (short))) < 0)
9238 long i = longval ();
9239 if (i != ((long) (sizeof (short))))
9240 exit (1);
9241 fprintf (f, "%ld\n", i);
9243 else
9245 unsigned long i = ulongval ();
9246 if (i != ((long) (sizeof (short))))
9247 exit (1);
9248 fprintf (f, "%lu\n", i);
9250 exit (ferror (f) || fclose (f) != 0);
9253 return 0;
9255 _ACEOF
9256 rm -f conftest$ac_exeext
9257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9258 (eval $ac_link) 2>&5
9259 ac_status=$?
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9263 (eval $ac_try) 2>&5
9264 ac_status=$?
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); }; }; then
9267 ac_cv_sizeof_short=`cat conftest.val`
9268 else
9269 echo "$as_me: program exited with status $ac_status" >&5
9270 echo "$as_me: failed program was:" >&5
9271 sed 's/^/| /' conftest.$ac_ext >&5
9273 ( exit $ac_status )
9274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9275 See \`config.log' for more details." >&5
9276 echo "$as_me: error: cannot compute sizeof (short), 77
9277 See \`config.log' for more details." >&2;}
9278 { (exit 1); exit 1; }; }
9280 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9283 rm -f conftest.val
9284 else
9285 ac_cv_sizeof_short=0
9288 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9289 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9290 cat >>confdefs.h <<_ACEOF
9291 #define SIZEOF_SHORT $ac_cv_sizeof_short
9292 _ACEOF
9295 echo "$as_me:$LINENO: checking for char" >&5
9296 echo $ECHO_N "checking for char... $ECHO_C" >&6
9297 if test "${ac_cv_type_char+set}" = set; then
9298 echo $ECHO_N "(cached) $ECHO_C" >&6
9299 else
9300 cat >conftest.$ac_ext <<_ACEOF
9301 /* confdefs.h. */
9302 _ACEOF
9303 cat confdefs.h >>conftest.$ac_ext
9304 cat >>conftest.$ac_ext <<_ACEOF
9305 /* end confdefs.h. */
9306 $ac_includes_default
9308 main ()
9310 if ((char *) 0)
9311 return 0;
9312 if (sizeof (char))
9313 return 0;
9315 return 0;
9317 _ACEOF
9318 rm -f conftest.$ac_objext
9319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9320 (eval $ac_compile) 2>conftest.er1
9321 ac_status=$?
9322 grep -v '^ *+' conftest.er1 >conftest.err
9323 rm -f conftest.er1
9324 cat conftest.err >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } &&
9327 { ac_try='test -z "$ac_c_werror_flag"
9328 || test ! -s conftest.err'
9329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330 (eval $ac_try) 2>&5
9331 ac_status=$?
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; } &&
9334 { ac_try='test -s conftest.$ac_objext'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 (eval $ac_try) 2>&5
9337 ac_status=$?
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9340 ac_cv_type_char=yes
9341 else
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.$ac_ext >&5
9345 ac_cv_type_char=no
9347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9349 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9350 echo "${ECHO_T}$ac_cv_type_char" >&6
9352 echo "$as_me:$LINENO: checking size of char" >&5
9353 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9354 if test "${ac_cv_sizeof_char+set}" = set; then
9355 echo $ECHO_N "(cached) $ECHO_C" >&6
9356 else
9357 if test "$ac_cv_type_char" = yes; then
9358 # The cast to unsigned long works around a bug in the HP C Compiler
9359 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9360 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9361 # This bug is HP SR number 8606223364.
9362 if test "$cross_compiling" = yes; then
9363 # Depending upon the size, compute the lo and hi bounds.
9364 cat >conftest.$ac_ext <<_ACEOF
9365 /* confdefs.h. */
9366 _ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9370 $ac_includes_default
9372 main ()
9374 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9375 test_array [0] = 0
9378 return 0;
9380 _ACEOF
9381 rm -f conftest.$ac_objext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9383 (eval $ac_compile) 2>conftest.er1
9384 ac_status=$?
9385 grep -v '^ *+' conftest.er1 >conftest.err
9386 rm -f conftest.er1
9387 cat conftest.err >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9393 (eval $ac_try) 2>&5
9394 ac_status=$?
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try='test -s conftest.$ac_objext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 (eval $ac_try) 2>&5
9400 ac_status=$?
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_lo=0 ac_mid=0
9404 while :; do
9405 cat >conftest.$ac_ext <<_ACEOF
9406 /* confdefs.h. */
9407 _ACEOF
9408 cat confdefs.h >>conftest.$ac_ext
9409 cat >>conftest.$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9411 $ac_includes_default
9413 main ()
9415 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9416 test_array [0] = 0
9419 return 0;
9421 _ACEOF
9422 rm -f conftest.$ac_objext
9423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9424 (eval $ac_compile) 2>conftest.er1
9425 ac_status=$?
9426 grep -v '^ *+' conftest.er1 >conftest.err
9427 rm -f conftest.er1
9428 cat conftest.err >&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); } &&
9431 { ac_try='test -z "$ac_c_werror_flag"
9432 || test ! -s conftest.err'
9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9434 (eval $ac_try) 2>&5
9435 ac_status=$?
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); }; } &&
9438 { ac_try='test -s conftest.$ac_objext'
9439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440 (eval $ac_try) 2>&5
9441 ac_status=$?
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); }; }; then
9444 ac_hi=$ac_mid; break
9445 else
9446 echo "$as_me: failed program was:" >&5
9447 sed 's/^/| /' conftest.$ac_ext >&5
9449 ac_lo=`expr $ac_mid + 1`
9450 if test $ac_lo -le $ac_mid; then
9451 ac_lo= ac_hi=
9452 break
9454 ac_mid=`expr 2 '*' $ac_mid + 1`
9456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9457 done
9458 else
9459 echo "$as_me: failed program was:" >&5
9460 sed 's/^/| /' conftest.$ac_ext >&5
9462 cat >conftest.$ac_ext <<_ACEOF
9463 /* confdefs.h. */
9464 _ACEOF
9465 cat confdefs.h >>conftest.$ac_ext
9466 cat >>conftest.$ac_ext <<_ACEOF
9467 /* end confdefs.h. */
9468 $ac_includes_default
9470 main ()
9472 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9473 test_array [0] = 0
9476 return 0;
9478 _ACEOF
9479 rm -f conftest.$ac_objext
9480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9481 (eval $ac_compile) 2>conftest.er1
9482 ac_status=$?
9483 grep -v '^ *+' conftest.er1 >conftest.err
9484 rm -f conftest.er1
9485 cat conftest.err >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); } &&
9488 { ac_try='test -z "$ac_c_werror_flag"
9489 || test ! -s conftest.err'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9491 (eval $ac_try) 2>&5
9492 ac_status=$?
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; } &&
9495 { ac_try='test -s conftest.$ac_objext'
9496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 (eval $ac_try) 2>&5
9498 ac_status=$?
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; }; then
9501 ac_hi=-1 ac_mid=-1
9502 while :; do
9503 cat >conftest.$ac_ext <<_ACEOF
9504 /* confdefs.h. */
9505 _ACEOF
9506 cat confdefs.h >>conftest.$ac_ext
9507 cat >>conftest.$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9509 $ac_includes_default
9511 main ()
9513 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9514 test_array [0] = 0
9517 return 0;
9519 _ACEOF
9520 rm -f conftest.$ac_objext
9521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9522 (eval $ac_compile) 2>conftest.er1
9523 ac_status=$?
9524 grep -v '^ *+' conftest.er1 >conftest.err
9525 rm -f conftest.er1
9526 cat conftest.err >&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } &&
9529 { ac_try='test -z "$ac_c_werror_flag"
9530 || test ! -s conftest.err'
9531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9532 (eval $ac_try) 2>&5
9533 ac_status=$?
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); }; } &&
9536 { ac_try='test -s conftest.$ac_objext'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 (eval $ac_try) 2>&5
9539 ac_status=$?
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; }; then
9542 ac_lo=$ac_mid; break
9543 else
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.$ac_ext >&5
9547 ac_hi=`expr '(' $ac_mid ')' - 1`
9548 if test $ac_mid -le $ac_hi; then
9549 ac_lo= ac_hi=
9550 break
9552 ac_mid=`expr 2 '*' $ac_mid`
9554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9555 done
9556 else
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.$ac_ext >&5
9560 ac_lo= ac_hi=
9562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9565 # Binary search between lo and hi bounds.
9566 while test "x$ac_lo" != "x$ac_hi"; do
9567 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9568 cat >conftest.$ac_ext <<_ACEOF
9569 /* confdefs.h. */
9570 _ACEOF
9571 cat confdefs.h >>conftest.$ac_ext
9572 cat >>conftest.$ac_ext <<_ACEOF
9573 /* end confdefs.h. */
9574 $ac_includes_default
9576 main ()
9578 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9579 test_array [0] = 0
9582 return 0;
9584 _ACEOF
9585 rm -f conftest.$ac_objext
9586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9587 (eval $ac_compile) 2>conftest.er1
9588 ac_status=$?
9589 grep -v '^ *+' conftest.er1 >conftest.err
9590 rm -f conftest.er1
9591 cat conftest.err >&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); } &&
9594 { ac_try='test -z "$ac_c_werror_flag"
9595 || test ! -s conftest.err'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 (eval $ac_try) 2>&5
9598 ac_status=$?
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; } &&
9601 { ac_try='test -s conftest.$ac_objext'
9602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 (eval $ac_try) 2>&5
9604 ac_status=$?
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); }; }; then
9607 ac_hi=$ac_mid
9608 else
9609 echo "$as_me: failed program was:" >&5
9610 sed 's/^/| /' conftest.$ac_ext >&5
9612 ac_lo=`expr '(' $ac_mid ')' + 1`
9614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9615 done
9616 case $ac_lo in
9617 ?*) ac_cv_sizeof_char=$ac_lo;;
9618 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9619 See \`config.log' for more details." >&5
9620 echo "$as_me: error: cannot compute sizeof (char), 77
9621 See \`config.log' for more details." >&2;}
9622 { (exit 1); exit 1; }; } ;;
9623 esac
9624 else
9625 if test "$cross_compiling" = yes; then
9626 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9627 See \`config.log' for more details." >&5
9628 echo "$as_me: error: cannot run test program while cross compiling
9629 See \`config.log' for more details." >&2;}
9630 { (exit 1); exit 1; }; }
9631 else
9632 cat >conftest.$ac_ext <<_ACEOF
9633 /* confdefs.h. */
9634 _ACEOF
9635 cat confdefs.h >>conftest.$ac_ext
9636 cat >>conftest.$ac_ext <<_ACEOF
9637 /* end confdefs.h. */
9638 $ac_includes_default
9639 long longval () { return (long) (sizeof (char)); }
9640 unsigned long ulongval () { return (long) (sizeof (char)); }
9641 #include <stdio.h>
9642 #include <stdlib.h>
9644 main ()
9647 FILE *f = fopen ("conftest.val", "w");
9648 if (! f)
9649 exit (1);
9650 if (((long) (sizeof (char))) < 0)
9652 long i = longval ();
9653 if (i != ((long) (sizeof (char))))
9654 exit (1);
9655 fprintf (f, "%ld\n", i);
9657 else
9659 unsigned long i = ulongval ();
9660 if (i != ((long) (sizeof (char))))
9661 exit (1);
9662 fprintf (f, "%lu\n", i);
9664 exit (ferror (f) || fclose (f) != 0);
9667 return 0;
9669 _ACEOF
9670 rm -f conftest$ac_exeext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9672 (eval $ac_link) 2>&5
9673 ac_status=$?
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 (eval $ac_try) 2>&5
9678 ac_status=$?
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); }; }; then
9681 ac_cv_sizeof_char=`cat conftest.val`
9682 else
9683 echo "$as_me: program exited with status $ac_status" >&5
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9687 ( exit $ac_status )
9688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9689 See \`config.log' for more details." >&5
9690 echo "$as_me: error: cannot compute sizeof (char), 77
9691 See \`config.log' for more details." >&2;}
9692 { (exit 1); exit 1; }; }
9694 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9697 rm -f conftest.val
9698 else
9699 ac_cv_sizeof_char=0
9702 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9703 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9704 cat >>confdefs.h <<_ACEOF
9705 #define SIZEOF_CHAR $ac_cv_sizeof_char
9706 _ACEOF
9710 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9711 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9712 case "$ac_cv_sizeof_char" in
9713 1) acx_cv_type_int8_t=char ;;
9714 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9715 echo "$as_me: error: no 8-bit type" >&2;}
9716 { (exit please report a bug); exit please report a bug; }; }
9717 esac
9718 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9719 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9721 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9722 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9723 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9724 2:*) acx_cv_type_int16_t=int ;;
9725 *:2) acx_cv_type_int16_t=short ;;
9726 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9727 echo "$as_me: error: no 16-bit type" >&2;}
9728 { (exit please report a bug); exit please report a bug; }; }
9729 esac
9730 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9731 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9733 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9734 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9735 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9736 4:*) acx_cv_type_int32_t=int ;;
9737 *:4) acx_cv_type_int32_t=long ;;
9738 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9739 echo "$as_me: error: no 32-bit type" >&2;}
9740 { (exit please report a bug); exit please report a bug; }; }
9741 esac
9742 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9743 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9746 # These tests are here to make the output prettier
9748 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9749 case "$ac_cv_sizeof_long" in
9750 8) acx_cv_type_int64_t=long ;;
9751 esac
9752 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9753 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9754 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9755 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9758 # Now we can use the above types
9760 if test "$ac_cv_type_uintptr_t" != yes; then
9761 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9762 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9763 case $ac_cv_sizeof_void_p in
9764 2) acx_cv_type_intptr_t=int16_t ;;
9765 4) acx_cv_type_intptr_t=int32_t ;;
9766 8) acx_cv_type_intptr_t=int64_t ;;
9767 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9768 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9769 { (exit please report a bug); exit please report a bug; }; }
9770 esac
9771 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9772 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9775 # ----------------- done all checks, emit header -------------
9776 ac_config_commands="$ac_config_commands gstdint.h"
9781 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9782 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9783 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9785 else
9786 cat >conftest.$ac_ext <<_ACEOF
9787 /* confdefs.h. */
9788 _ACEOF
9789 cat confdefs.h >>conftest.$ac_ext
9790 cat >>conftest.$ac_ext <<_ACEOF
9791 /* end confdefs.h. */
9792 $ac_includes_default
9794 main ()
9796 static struct stat ac_aggr;
9797 if (ac_aggr.st_blksize)
9798 return 0;
9800 return 0;
9802 _ACEOF
9803 rm -f conftest.$ac_objext
9804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9805 (eval $ac_compile) 2>conftest.er1
9806 ac_status=$?
9807 grep -v '^ *+' conftest.er1 >conftest.err
9808 rm -f conftest.er1
9809 cat conftest.err >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); } &&
9812 { ac_try='test -z "$ac_c_werror_flag"
9813 || test ! -s conftest.err'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 (eval $ac_try) 2>&5
9816 ac_status=$?
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; } &&
9819 { ac_try='test -s conftest.$ac_objext'
9820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 (eval $ac_try) 2>&5
9822 ac_status=$?
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; }; then
9825 ac_cv_member_struct_stat_st_blksize=yes
9826 else
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5
9830 cat >conftest.$ac_ext <<_ACEOF
9831 /* confdefs.h. */
9832 _ACEOF
9833 cat confdefs.h >>conftest.$ac_ext
9834 cat >>conftest.$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9836 $ac_includes_default
9838 main ()
9840 static struct stat ac_aggr;
9841 if (sizeof ac_aggr.st_blksize)
9842 return 0;
9844 return 0;
9846 _ACEOF
9847 rm -f conftest.$ac_objext
9848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9849 (eval $ac_compile) 2>conftest.er1
9850 ac_status=$?
9851 grep -v '^ *+' conftest.er1 >conftest.err
9852 rm -f conftest.er1
9853 cat conftest.err >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } &&
9856 { ac_try='test -z "$ac_c_werror_flag"
9857 || test ! -s conftest.err'
9858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9859 (eval $ac_try) 2>&5
9860 ac_status=$?
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; } &&
9863 { ac_try='test -s conftest.$ac_objext'
9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865 (eval $ac_try) 2>&5
9866 ac_status=$?
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
9869 ac_cv_member_struct_stat_st_blksize=yes
9870 else
9871 echo "$as_me: failed program was:" >&5
9872 sed 's/^/| /' conftest.$ac_ext >&5
9874 ac_cv_member_struct_stat_st_blksize=no
9876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9880 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9881 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9882 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9884 cat >>confdefs.h <<_ACEOF
9885 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9886 _ACEOF
9891 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9892 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9893 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 else
9896 cat >conftest.$ac_ext <<_ACEOF
9897 /* confdefs.h. */
9898 _ACEOF
9899 cat confdefs.h >>conftest.$ac_ext
9900 cat >>conftest.$ac_ext <<_ACEOF
9901 /* end confdefs.h. */
9902 $ac_includes_default
9904 main ()
9906 static struct stat ac_aggr;
9907 if (ac_aggr.st_blocks)
9908 return 0;
9910 return 0;
9912 _ACEOF
9913 rm -f conftest.$ac_objext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_member_struct_stat_st_blocks=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 cat >conftest.$ac_ext <<_ACEOF
9941 /* confdefs.h. */
9942 _ACEOF
9943 cat confdefs.h >>conftest.$ac_ext
9944 cat >>conftest.$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9946 $ac_includes_default
9948 main ()
9950 static struct stat ac_aggr;
9951 if (sizeof ac_aggr.st_blocks)
9952 return 0;
9954 return 0;
9956 _ACEOF
9957 rm -f conftest.$ac_objext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9959 (eval $ac_compile) 2>conftest.er1
9960 ac_status=$?
9961 grep -v '^ *+' conftest.er1 >conftest.err
9962 rm -f conftest.er1
9963 cat conftest.err >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try='test -z "$ac_c_werror_flag"
9967 || test ! -s conftest.err'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 (eval $ac_try) 2>&5
9970 ac_status=$?
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; } &&
9973 { ac_try='test -s conftest.$ac_objext'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 (eval $ac_try) 2>&5
9976 ac_status=$?
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; }; then
9979 ac_cv_member_struct_stat_st_blocks=yes
9980 else
9981 echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.$ac_ext >&5
9984 ac_cv_member_struct_stat_st_blocks=no
9986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9990 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9991 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9992 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9994 cat >>confdefs.h <<_ACEOF
9995 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9996 _ACEOF
10001 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
10002 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
10003 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
10004 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 else
10006 cat >conftest.$ac_ext <<_ACEOF
10007 /* confdefs.h. */
10008 _ACEOF
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10012 $ac_includes_default
10014 main ()
10016 static struct stat ac_aggr;
10017 if (ac_aggr.st_rdev)
10018 return 0;
10020 return 0;
10022 _ACEOF
10023 rm -f conftest.$ac_objext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10025 (eval $ac_compile) 2>conftest.er1
10026 ac_status=$?
10027 grep -v '^ *+' conftest.er1 >conftest.err
10028 rm -f conftest.er1
10029 cat conftest.err >&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } &&
10032 { ac_try='test -z "$ac_c_werror_flag"
10033 || test ! -s conftest.err'
10034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10035 (eval $ac_try) 2>&5
10036 ac_status=$?
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); }; } &&
10039 { ac_try='test -s conftest.$ac_objext'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10042 ac_status=$?
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; }; then
10045 ac_cv_member_struct_stat_st_rdev=yes
10046 else
10047 echo "$as_me: failed program was:" >&5
10048 sed 's/^/| /' conftest.$ac_ext >&5
10050 cat >conftest.$ac_ext <<_ACEOF
10051 /* confdefs.h. */
10052 _ACEOF
10053 cat confdefs.h >>conftest.$ac_ext
10054 cat >>conftest.$ac_ext <<_ACEOF
10055 /* end confdefs.h. */
10056 $ac_includes_default
10058 main ()
10060 static struct stat ac_aggr;
10061 if (sizeof ac_aggr.st_rdev)
10062 return 0;
10064 return 0;
10066 _ACEOF
10067 rm -f conftest.$ac_objext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10069 (eval $ac_compile) 2>conftest.er1
10070 ac_status=$?
10071 grep -v '^ *+' conftest.er1 >conftest.err
10072 rm -f conftest.er1
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag"
10077 || test ! -s conftest.err'
10078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5
10080 ac_status=$?
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; } &&
10083 { ac_try='test -s conftest.$ac_objext'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10086 ac_status=$?
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; }; then
10089 ac_cv_member_struct_stat_st_rdev=yes
10090 else
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10094 ac_cv_member_struct_stat_st_rdev=no
10096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10100 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
10101 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
10102 if test $ac_cv_member_struct_stat_st_rdev = yes; then
10104 cat >>confdefs.h <<_ACEOF
10105 #define HAVE_STRUCT_STAT_ST_RDEV 1
10106 _ACEOF
10112 # Check for library functions.
10121 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
10123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10124 echo "$as_me:$LINENO: checking for $ac_func" >&5
10125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10126 if eval "test \"\${$as_ac_var+set}\" = set"; then
10127 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 else
10129 if test x$gcc_no_link = xyes; then
10130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10132 { (exit 1); exit 1; }; }
10134 cat >conftest.$ac_ext <<_ACEOF
10135 /* confdefs.h. */
10136 _ACEOF
10137 cat confdefs.h >>conftest.$ac_ext
10138 cat >>conftest.$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10142 #define $ac_func innocuous_$ac_func
10144 /* System header to define __stub macros and hopefully few prototypes,
10145 which can conflict with char $ac_func (); below.
10146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10147 <limits.h> exists even on freestanding compilers. */
10149 #ifdef __STDC__
10150 # include <limits.h>
10151 #else
10152 # include <assert.h>
10153 #endif
10155 #undef $ac_func
10157 /* Override any gcc2 internal prototype to avoid an error. */
10158 #ifdef __cplusplus
10159 extern "C"
10161 #endif
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10164 char $ac_func ();
10165 /* The GNU C library defines this for functions which it implements
10166 to always fail with ENOSYS. Some functions are actually named
10167 something starting with __ and the normal name is an alias. */
10168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10169 choke me
10170 #else
10171 char (*f) () = $ac_func;
10172 #endif
10173 #ifdef __cplusplus
10175 #endif
10178 main ()
10180 return f != $ac_func;
10182 return 0;
10184 _ACEOF
10185 rm -f conftest.$ac_objext conftest$ac_exeext
10186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10187 (eval $ac_link) 2>conftest.er1
10188 ac_status=$?
10189 grep -v '^ *+' conftest.er1 >conftest.err
10190 rm -f conftest.er1
10191 cat conftest.err >&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } &&
10194 { ac_try='test -z "$ac_c_werror_flag"
10195 || test ! -s conftest.err'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10198 ac_status=$?
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; } &&
10201 { ac_try='test -s conftest$ac_exeext'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10204 ac_status=$?
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then
10207 eval "$as_ac_var=yes"
10208 else
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.$ac_ext >&5
10212 eval "$as_ac_var=no"
10214 rm -f conftest.err conftest.$ac_objext \
10215 conftest$ac_exeext conftest.$ac_ext
10217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10219 if test `eval echo '${'$as_ac_var'}'` = yes; then
10220 cat >>confdefs.h <<_ACEOF
10221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10222 _ACEOF
10225 done
10235 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
10237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10238 echo "$as_me:$LINENO: checking for $ac_func" >&5
10239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10240 if eval "test \"\${$as_ac_var+set}\" = set"; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 else
10243 if test x$gcc_no_link = xyes; then
10244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10246 { (exit 1); exit 1; }; }
10248 cat >conftest.$ac_ext <<_ACEOF
10249 /* confdefs.h. */
10250 _ACEOF
10251 cat confdefs.h >>conftest.$ac_ext
10252 cat >>conftest.$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10256 #define $ac_func innocuous_$ac_func
10258 /* System header to define __stub macros and hopefully few prototypes,
10259 which can conflict with char $ac_func (); below.
10260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10261 <limits.h> exists even on freestanding compilers. */
10263 #ifdef __STDC__
10264 # include <limits.h>
10265 #else
10266 # include <assert.h>
10267 #endif
10269 #undef $ac_func
10271 /* Override any gcc2 internal prototype to avoid an error. */
10272 #ifdef __cplusplus
10273 extern "C"
10275 #endif
10276 /* We use char because int might match the return type of a gcc2
10277 builtin and then its argument prototype would still apply. */
10278 char $ac_func ();
10279 /* The GNU C library defines this for functions which it implements
10280 to always fail with ENOSYS. Some functions are actually named
10281 something starting with __ and the normal name is an alias. */
10282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10283 choke me
10284 #else
10285 char (*f) () = $ac_func;
10286 #endif
10287 #ifdef __cplusplus
10289 #endif
10292 main ()
10294 return f != $ac_func;
10296 return 0;
10298 _ACEOF
10299 rm -f conftest.$ac_objext conftest$ac_exeext
10300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10301 (eval $ac_link) 2>conftest.er1
10302 ac_status=$?
10303 grep -v '^ *+' conftest.er1 >conftest.err
10304 rm -f conftest.er1
10305 cat conftest.err >&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } &&
10308 { ac_try='test -z "$ac_c_werror_flag"
10309 || test ! -s conftest.err'
10310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311 (eval $ac_try) 2>&5
10312 ac_status=$?
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); }; } &&
10315 { ac_try='test -s conftest$ac_exeext'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10318 ac_status=$?
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 eval "$as_ac_var=yes"
10322 else
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.$ac_ext >&5
10326 eval "$as_ac_var=no"
10328 rm -f conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10333 if test `eval echo '${'$as_ac_var'}'` = yes; then
10334 cat >>confdefs.h <<_ACEOF
10335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10336 _ACEOF
10339 done
10347 for ac_func in sleep time ttyname signal alarm ctime
10349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10350 echo "$as_me:$LINENO: checking for $ac_func" >&5
10351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10352 if eval "test \"\${$as_ac_var+set}\" = set"; then
10353 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 else
10355 if test x$gcc_no_link = xyes; then
10356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10358 { (exit 1); exit 1; }; }
10360 cat >conftest.$ac_ext <<_ACEOF
10361 /* confdefs.h. */
10362 _ACEOF
10363 cat confdefs.h >>conftest.$ac_ext
10364 cat >>conftest.$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10368 #define $ac_func innocuous_$ac_func
10370 /* System header to define __stub macros and hopefully few prototypes,
10371 which can conflict with char $ac_func (); below.
10372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10373 <limits.h> exists even on freestanding compilers. */
10375 #ifdef __STDC__
10376 # include <limits.h>
10377 #else
10378 # include <assert.h>
10379 #endif
10381 #undef $ac_func
10383 /* Override any gcc2 internal prototype to avoid an error. */
10384 #ifdef __cplusplus
10385 extern "C"
10387 #endif
10388 /* We use char because int might match the return type of a gcc2
10389 builtin and then its argument prototype would still apply. */
10390 char $ac_func ();
10391 /* The GNU C library defines this for functions which it implements
10392 to always fail with ENOSYS. Some functions are actually named
10393 something starting with __ and the normal name is an alias. */
10394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10395 choke me
10396 #else
10397 char (*f) () = $ac_func;
10398 #endif
10399 #ifdef __cplusplus
10401 #endif
10404 main ()
10406 return f != $ac_func;
10408 return 0;
10410 _ACEOF
10411 rm -f conftest.$ac_objext conftest$ac_exeext
10412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10413 (eval $ac_link) 2>conftest.er1
10414 ac_status=$?
10415 grep -v '^ *+' conftest.er1 >conftest.err
10416 rm -f conftest.er1
10417 cat conftest.err >&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); } &&
10420 { ac_try='test -z "$ac_c_werror_flag"
10421 || test ! -s conftest.err'
10422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423 (eval $ac_try) 2>&5
10424 ac_status=$?
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); }; } &&
10427 { ac_try='test -s conftest$ac_exeext'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10430 ac_status=$?
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 eval "$as_ac_var=yes"
10434 else
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.$ac_ext >&5
10438 eval "$as_ac_var=no"
10440 rm -f conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10445 if test `eval echo '${'$as_ac_var'}'` = yes; then
10446 cat >>confdefs.h <<_ACEOF
10447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10448 _ACEOF
10451 done
10454 # Check libc for getgid, getpid, getuid
10455 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10456 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10457 if test "${ac_cv_lib_c_getgid+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 else
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lc $LIBS"
10462 if test x$gcc_no_link = xyes; then
10463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10465 { (exit 1); exit 1; }; }
10467 cat >conftest.$ac_ext <<_ACEOF
10468 /* confdefs.h. */
10469 _ACEOF
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10474 /* Override any gcc2 internal prototype to avoid an error. */
10475 #ifdef __cplusplus
10476 extern "C"
10477 #endif
10478 /* We use char because int might match the return type of a gcc2
10479 builtin and then its argument prototype would still apply. */
10480 char getgid ();
10482 main ()
10484 getgid ();
10486 return 0;
10488 _ACEOF
10489 rm -f conftest.$ac_objext conftest$ac_exeext
10490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10491 (eval $ac_link) 2>conftest.er1
10492 ac_status=$?
10493 grep -v '^ *+' conftest.er1 >conftest.err
10494 rm -f conftest.er1
10495 cat conftest.err >&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try='test -z "$ac_c_werror_flag"
10499 || test ! -s conftest.err'
10500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501 (eval $ac_try) 2>&5
10502 ac_status=$?
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; } &&
10505 { ac_try='test -s conftest$ac_exeext'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10508 ac_status=$?
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; }; then
10511 ac_cv_lib_c_getgid=yes
10512 else
10513 echo "$as_me: failed program was:" >&5
10514 sed 's/^/| /' conftest.$ac_ext >&5
10516 ac_cv_lib_c_getgid=no
10518 rm -f conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_lib_save_LIBS
10522 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10523 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10524 if test $ac_cv_lib_c_getgid = yes; then
10526 cat >>confdefs.h <<\_ACEOF
10527 #define HAVE_GETGID 1
10528 _ACEOF
10532 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10533 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10534 if test "${ac_cv_lib_c_getpid+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10536 else
10537 ac_check_lib_save_LIBS=$LIBS
10538 LIBS="-lc $LIBS"
10539 if test x$gcc_no_link = xyes; then
10540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10542 { (exit 1); exit 1; }; }
10544 cat >conftest.$ac_ext <<_ACEOF
10545 /* confdefs.h. */
10546 _ACEOF
10547 cat confdefs.h >>conftest.$ac_ext
10548 cat >>conftest.$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10551 /* Override any gcc2 internal prototype to avoid an error. */
10552 #ifdef __cplusplus
10553 extern "C"
10554 #endif
10555 /* We use char because int might match the return type of a gcc2
10556 builtin and then its argument prototype would still apply. */
10557 char getpid ();
10559 main ()
10561 getpid ();
10563 return 0;
10565 _ACEOF
10566 rm -f conftest.$ac_objext conftest$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>conftest.er1
10569 ac_status=$?
10570 grep -v '^ *+' conftest.er1 >conftest.err
10571 rm -f conftest.er1
10572 cat conftest.err >&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try='test -z "$ac_c_werror_flag"
10576 || test ! -s conftest.err'
10577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578 (eval $ac_try) 2>&5
10579 ac_status=$?
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); }; } &&
10582 { ac_try='test -s conftest$ac_exeext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10585 ac_status=$?
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 ac_cv_lib_c_getpid=yes
10589 else
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.$ac_ext >&5
10593 ac_cv_lib_c_getpid=no
10595 rm -f conftest.err conftest.$ac_objext \
10596 conftest$ac_exeext conftest.$ac_ext
10597 LIBS=$ac_check_lib_save_LIBS
10599 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10600 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10601 if test $ac_cv_lib_c_getpid = yes; then
10603 cat >>confdefs.h <<\_ACEOF
10604 #define HAVE_GETPID 1
10605 _ACEOF
10609 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10610 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10611 if test "${ac_cv_lib_c_getuid+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10613 else
10614 ac_check_lib_save_LIBS=$LIBS
10615 LIBS="-lc $LIBS"
10616 if test x$gcc_no_link = xyes; then
10617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10619 { (exit 1); exit 1; }; }
10621 cat >conftest.$ac_ext <<_ACEOF
10622 /* confdefs.h. */
10623 _ACEOF
10624 cat confdefs.h >>conftest.$ac_ext
10625 cat >>conftest.$ac_ext <<_ACEOF
10626 /* end confdefs.h. */
10628 /* Override any gcc2 internal prototype to avoid an error. */
10629 #ifdef __cplusplus
10630 extern "C"
10631 #endif
10632 /* We use char because int might match the return type of a gcc2
10633 builtin and then its argument prototype would still apply. */
10634 char getuid ();
10636 main ()
10638 getuid ();
10640 return 0;
10642 _ACEOF
10643 rm -f conftest.$ac_objext conftest$ac_exeext
10644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10645 (eval $ac_link) 2>conftest.er1
10646 ac_status=$?
10647 grep -v '^ *+' conftest.er1 >conftest.err
10648 rm -f conftest.er1
10649 cat conftest.err >&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try='test -z "$ac_c_werror_flag"
10653 || test ! -s conftest.err'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10656 ac_status=$?
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; } &&
10659 { ac_try='test -s conftest$ac_exeext'
10660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661 (eval $ac_try) 2>&5
10662 ac_status=$?
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); }; }; then
10665 ac_cv_lib_c_getuid=yes
10666 else
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.$ac_ext >&5
10670 ac_cv_lib_c_getuid=no
10672 rm -f conftest.err conftest.$ac_objext \
10673 conftest$ac_exeext conftest.$ac_ext
10674 LIBS=$ac_check_lib_save_LIBS
10676 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10677 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10678 if test $ac_cv_lib_c_getuid = yes; then
10680 cat >>confdefs.h <<\_ACEOF
10681 #define HAVE_GETUID 1
10682 _ACEOF
10687 # Check for C99 (and other IEEE) math functions
10688 # ??? This list seems awful long. Is there a better way to test for these?
10689 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10690 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10691 if test "${ac_cv_lib_m_acosf+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 else
10694 ac_check_lib_save_LIBS=$LIBS
10695 LIBS="-lm $LIBS"
10696 if test x$gcc_no_link = xyes; then
10697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10699 { (exit 1); exit 1; }; }
10701 cat >conftest.$ac_ext <<_ACEOF
10702 /* confdefs.h. */
10703 _ACEOF
10704 cat confdefs.h >>conftest.$ac_ext
10705 cat >>conftest.$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10708 /* Override any gcc2 internal prototype to avoid an error. */
10709 #ifdef __cplusplus
10710 extern "C"
10711 #endif
10712 /* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10714 char acosf ();
10716 main ()
10718 acosf ();
10720 return 0;
10722 _ACEOF
10723 rm -f conftest.$ac_objext conftest$ac_exeext
10724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10725 (eval $ac_link) 2>conftest.er1
10726 ac_status=$?
10727 grep -v '^ *+' conftest.er1 >conftest.err
10728 rm -f conftest.er1
10729 cat conftest.err >&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } &&
10732 { ac_try='test -z "$ac_c_werror_flag"
10733 || test ! -s conftest.err'
10734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10735 (eval $ac_try) 2>&5
10736 ac_status=$?
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); }; } &&
10739 { ac_try='test -s conftest$ac_exeext'
10740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10741 (eval $ac_try) 2>&5
10742 ac_status=$?
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); }; }; then
10745 ac_cv_lib_m_acosf=yes
10746 else
10747 echo "$as_me: failed program was:" >&5
10748 sed 's/^/| /' conftest.$ac_ext >&5
10750 ac_cv_lib_m_acosf=no
10752 rm -f conftest.err conftest.$ac_objext \
10753 conftest$ac_exeext conftest.$ac_ext
10754 LIBS=$ac_check_lib_save_LIBS
10756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10757 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10758 if test $ac_cv_lib_m_acosf = yes; then
10760 cat >>confdefs.h <<\_ACEOF
10761 #define HAVE_ACOSF 1
10762 _ACEOF
10766 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10767 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10768 if test "${ac_cv_lib_m_acos+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10770 else
10771 ac_check_lib_save_LIBS=$LIBS
10772 LIBS="-lm $LIBS"
10773 if test x$gcc_no_link = xyes; then
10774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10776 { (exit 1); exit 1; }; }
10778 cat >conftest.$ac_ext <<_ACEOF
10779 /* confdefs.h. */
10780 _ACEOF
10781 cat confdefs.h >>conftest.$ac_ext
10782 cat >>conftest.$ac_ext <<_ACEOF
10783 /* end confdefs.h. */
10785 /* Override any gcc2 internal prototype to avoid an error. */
10786 #ifdef __cplusplus
10787 extern "C"
10788 #endif
10789 /* We use char because int might match the return type of a gcc2
10790 builtin and then its argument prototype would still apply. */
10791 char acos ();
10793 main ()
10795 acos ();
10797 return 0;
10799 _ACEOF
10800 rm -f conftest.$ac_objext conftest$ac_exeext
10801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10802 (eval $ac_link) 2>conftest.er1
10803 ac_status=$?
10804 grep -v '^ *+' conftest.er1 >conftest.err
10805 rm -f conftest.er1
10806 cat conftest.err >&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } &&
10809 { ac_try='test -z "$ac_c_werror_flag"
10810 || test ! -s conftest.err'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10813 ac_status=$?
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; } &&
10816 { ac_try='test -s conftest$ac_exeext'
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818 (eval $ac_try) 2>&5
10819 ac_status=$?
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 ac_cv_lib_m_acos=yes
10823 else
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.$ac_ext >&5
10827 ac_cv_lib_m_acos=no
10829 rm -f conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_lib_save_LIBS
10833 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10834 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10835 if test $ac_cv_lib_m_acos = yes; then
10837 cat >>confdefs.h <<\_ACEOF
10838 #define HAVE_ACOS 1
10839 _ACEOF
10843 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10844 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10845 if test "${ac_cv_lib_m_acosl+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10847 else
10848 ac_check_lib_save_LIBS=$LIBS
10849 LIBS="-lm $LIBS"
10850 if test x$gcc_no_link = xyes; then
10851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10853 { (exit 1); exit 1; }; }
10855 cat >conftest.$ac_ext <<_ACEOF
10856 /* confdefs.h. */
10857 _ACEOF
10858 cat confdefs.h >>conftest.$ac_ext
10859 cat >>conftest.$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10862 /* Override any gcc2 internal prototype to avoid an error. */
10863 #ifdef __cplusplus
10864 extern "C"
10865 #endif
10866 /* We use char because int might match the return type of a gcc2
10867 builtin and then its argument prototype would still apply. */
10868 char acosl ();
10870 main ()
10872 acosl ();
10874 return 0;
10876 _ACEOF
10877 rm -f conftest.$ac_objext conftest$ac_exeext
10878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10879 (eval $ac_link) 2>conftest.er1
10880 ac_status=$?
10881 grep -v '^ *+' conftest.er1 >conftest.err
10882 rm -f conftest.er1
10883 cat conftest.err >&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); } &&
10886 { ac_try='test -z "$ac_c_werror_flag"
10887 || test ! -s conftest.err'
10888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10889 (eval $ac_try) 2>&5
10890 ac_status=$?
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); }; } &&
10893 { ac_try='test -s conftest$ac_exeext'
10894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895 (eval $ac_try) 2>&5
10896 ac_status=$?
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); }; }; then
10899 ac_cv_lib_m_acosl=yes
10900 else
10901 echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.$ac_ext >&5
10904 ac_cv_lib_m_acosl=no
10906 rm -f conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_lib_save_LIBS
10910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10911 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10912 if test $ac_cv_lib_m_acosl = yes; then
10914 cat >>confdefs.h <<\_ACEOF
10915 #define HAVE_ACOSL 1
10916 _ACEOF
10920 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10921 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10922 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10924 else
10925 ac_check_lib_save_LIBS=$LIBS
10926 LIBS="-lm $LIBS"
10927 if test x$gcc_no_link = xyes; then
10928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10930 { (exit 1); exit 1; }; }
10932 cat >conftest.$ac_ext <<_ACEOF
10933 /* confdefs.h. */
10934 _ACEOF
10935 cat confdefs.h >>conftest.$ac_ext
10936 cat >>conftest.$ac_ext <<_ACEOF
10937 /* end confdefs.h. */
10939 /* Override any gcc2 internal prototype to avoid an error. */
10940 #ifdef __cplusplus
10941 extern "C"
10942 #endif
10943 /* We use char because int might match the return type of a gcc2
10944 builtin and then its argument prototype would still apply. */
10945 char acoshf ();
10947 main ()
10949 acoshf ();
10951 return 0;
10953 _ACEOF
10954 rm -f conftest.$ac_objext conftest$ac_exeext
10955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10956 (eval $ac_link) 2>conftest.er1
10957 ac_status=$?
10958 grep -v '^ *+' conftest.er1 >conftest.err
10959 rm -f conftest.er1
10960 cat conftest.err >&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try='test -z "$ac_c_werror_flag"
10964 || test ! -s conftest.err'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10967 ac_status=$?
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try='test -s conftest$ac_exeext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10973 ac_status=$?
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 ac_cv_lib_m_acoshf=yes
10977 else
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.$ac_ext >&5
10981 ac_cv_lib_m_acoshf=no
10983 rm -f conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10988 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10989 if test $ac_cv_lib_m_acoshf = yes; then
10991 cat >>confdefs.h <<\_ACEOF
10992 #define HAVE_ACOSHF 1
10993 _ACEOF
10997 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10998 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10999 if test "${ac_cv_lib_m_acosh+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002 ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-lm $LIBS"
11004 if test x$gcc_no_link = xyes; then
11005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11007 { (exit 1); exit 1; }; }
11009 cat >conftest.$ac_ext <<_ACEOF
11010 /* confdefs.h. */
11011 _ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11016 /* Override any gcc2 internal prototype to avoid an error. */
11017 #ifdef __cplusplus
11018 extern "C"
11019 #endif
11020 /* We use char because int might match the return type of a gcc2
11021 builtin and then its argument prototype would still apply. */
11022 char acosh ();
11024 main ()
11026 acosh ();
11028 return 0;
11030 _ACEOF
11031 rm -f conftest.$ac_objext conftest$ac_exeext
11032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11033 (eval $ac_link) 2>conftest.er1
11034 ac_status=$?
11035 grep -v '^ *+' conftest.er1 >conftest.err
11036 rm -f conftest.er1
11037 cat conftest.err >&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); } &&
11040 { ac_try='test -z "$ac_c_werror_flag"
11041 || test ! -s conftest.err'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11044 ac_status=$?
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; } &&
11047 { ac_try='test -s conftest$ac_exeext'
11048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11049 (eval $ac_try) 2>&5
11050 ac_status=$?
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }; }; then
11053 ac_cv_lib_m_acosh=yes
11054 else
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11058 ac_cv_lib_m_acosh=no
11060 rm -f conftest.err conftest.$ac_objext \
11061 conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_check_lib_save_LIBS
11064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11065 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11066 if test $ac_cv_lib_m_acosh = yes; then
11068 cat >>confdefs.h <<\_ACEOF
11069 #define HAVE_ACOSH 1
11070 _ACEOF
11074 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11075 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11076 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 else
11079 ac_check_lib_save_LIBS=$LIBS
11080 LIBS="-lm $LIBS"
11081 if test x$gcc_no_link = xyes; then
11082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11084 { (exit 1); exit 1; }; }
11086 cat >conftest.$ac_ext <<_ACEOF
11087 /* confdefs.h. */
11088 _ACEOF
11089 cat confdefs.h >>conftest.$ac_ext
11090 cat >>conftest.$ac_ext <<_ACEOF
11091 /* end confdefs.h. */
11093 /* Override any gcc2 internal prototype to avoid an error. */
11094 #ifdef __cplusplus
11095 extern "C"
11096 #endif
11097 /* We use char because int might match the return type of a gcc2
11098 builtin and then its argument prototype would still apply. */
11099 char acoshl ();
11101 main ()
11103 acoshl ();
11105 return 0;
11107 _ACEOF
11108 rm -f conftest.$ac_objext conftest$ac_exeext
11109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11110 (eval $ac_link) 2>conftest.er1
11111 ac_status=$?
11112 grep -v '^ *+' conftest.er1 >conftest.err
11113 rm -f conftest.er1
11114 cat conftest.err >&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); } &&
11117 { ac_try='test -z "$ac_c_werror_flag"
11118 || test ! -s conftest.err'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 (eval $ac_try) 2>&5
11121 ac_status=$?
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; } &&
11124 { ac_try='test -s conftest$ac_exeext'
11125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11126 (eval $ac_try) 2>&5
11127 ac_status=$?
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); }; }; then
11130 ac_cv_lib_m_acoshl=yes
11131 else
11132 echo "$as_me: failed program was:" >&5
11133 sed 's/^/| /' conftest.$ac_ext >&5
11135 ac_cv_lib_m_acoshl=no
11137 rm -f conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11142 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11143 if test $ac_cv_lib_m_acoshl = yes; then
11145 cat >>confdefs.h <<\_ACEOF
11146 #define HAVE_ACOSHL 1
11147 _ACEOF
11151 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11152 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11153 if test "${ac_cv_lib_m_asinf+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 else
11156 ac_check_lib_save_LIBS=$LIBS
11157 LIBS="-lm $LIBS"
11158 if test x$gcc_no_link = xyes; then
11159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11161 { (exit 1); exit 1; }; }
11163 cat >conftest.$ac_ext <<_ACEOF
11164 /* confdefs.h. */
11165 _ACEOF
11166 cat confdefs.h >>conftest.$ac_ext
11167 cat >>conftest.$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11170 /* Override any gcc2 internal prototype to avoid an error. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 /* We use char because int might match the return type of a gcc2
11175 builtin and then its argument prototype would still apply. */
11176 char asinf ();
11178 main ()
11180 asinf ();
11182 return 0;
11184 _ACEOF
11185 rm -f conftest.$ac_objext conftest$ac_exeext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11187 (eval $ac_link) 2>conftest.er1
11188 ac_status=$?
11189 grep -v '^ *+' conftest.er1 >conftest.err
11190 rm -f conftest.er1
11191 cat conftest.err >&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try='test -z "$ac_c_werror_flag"
11195 || test ! -s conftest.err'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11198 ac_status=$?
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; } &&
11201 { ac_try='test -s conftest$ac_exeext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11204 ac_status=$?
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11207 ac_cv_lib_m_asinf=yes
11208 else
11209 echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.$ac_ext >&5
11212 ac_cv_lib_m_asinf=no
11214 rm -f conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11219 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11220 if test $ac_cv_lib_m_asinf = yes; then
11222 cat >>confdefs.h <<\_ACEOF
11223 #define HAVE_ASINF 1
11224 _ACEOF
11228 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11229 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11230 if test "${ac_cv_lib_m_asin+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lm $LIBS"
11235 if test x$gcc_no_link = xyes; then
11236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11238 { (exit 1); exit 1; }; }
11240 cat >conftest.$ac_ext <<_ACEOF
11241 /* confdefs.h. */
11242 _ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11247 /* Override any gcc2 internal prototype to avoid an error. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 /* We use char because int might match the return type of a gcc2
11252 builtin and then its argument prototype would still apply. */
11253 char asin ();
11255 main ()
11257 asin ();
11259 return 0;
11261 _ACEOF
11262 rm -f conftest.$ac_objext conftest$ac_exeext
11263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11264 (eval $ac_link) 2>conftest.er1
11265 ac_status=$?
11266 grep -v '^ *+' conftest.er1 >conftest.err
11267 rm -f conftest.er1
11268 cat conftest.err >&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); } &&
11271 { ac_try='test -z "$ac_c_werror_flag"
11272 || test ! -s conftest.err'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11275 ac_status=$?
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; } &&
11278 { ac_try='test -s conftest$ac_exeext'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; }; then
11284 ac_cv_lib_m_asin=yes
11285 else
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.$ac_ext >&5
11289 ac_cv_lib_m_asin=no
11291 rm -f conftest.err conftest.$ac_objext \
11292 conftest$ac_exeext conftest.$ac_ext
11293 LIBS=$ac_check_lib_save_LIBS
11295 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11296 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11297 if test $ac_cv_lib_m_asin = yes; then
11299 cat >>confdefs.h <<\_ACEOF
11300 #define HAVE_ASIN 1
11301 _ACEOF
11305 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11306 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11307 if test "${ac_cv_lib_m_asinl+set}" = set; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11309 else
11310 ac_check_lib_save_LIBS=$LIBS
11311 LIBS="-lm $LIBS"
11312 if test x$gcc_no_link = xyes; then
11313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11315 { (exit 1); exit 1; }; }
11317 cat >conftest.$ac_ext <<_ACEOF
11318 /* confdefs.h. */
11319 _ACEOF
11320 cat confdefs.h >>conftest.$ac_ext
11321 cat >>conftest.$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11324 /* Override any gcc2 internal prototype to avoid an error. */
11325 #ifdef __cplusplus
11326 extern "C"
11327 #endif
11328 /* We use char because int might match the return type of a gcc2
11329 builtin and then its argument prototype would still apply. */
11330 char asinl ();
11332 main ()
11334 asinl ();
11336 return 0;
11338 _ACEOF
11339 rm -f conftest.$ac_objext conftest$ac_exeext
11340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11341 (eval $ac_link) 2>conftest.er1
11342 ac_status=$?
11343 grep -v '^ *+' conftest.er1 >conftest.err
11344 rm -f conftest.er1
11345 cat conftest.err >&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); } &&
11348 { ac_try='test -z "$ac_c_werror_flag"
11349 || test ! -s conftest.err'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11352 ac_status=$?
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try='test -s conftest$ac_exeext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 ac_cv_lib_m_asinl=yes
11362 else
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11366 ac_cv_lib_m_asinl=no
11368 rm -f conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11372 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11373 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11374 if test $ac_cv_lib_m_asinl = yes; then
11376 cat >>confdefs.h <<\_ACEOF
11377 #define HAVE_ASINL 1
11378 _ACEOF
11382 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11383 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11384 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11385 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 else
11387 ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-lm $LIBS"
11389 if test x$gcc_no_link = xyes; then
11390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11392 { (exit 1); exit 1; }; }
11394 cat >conftest.$ac_ext <<_ACEOF
11395 /* confdefs.h. */
11396 _ACEOF
11397 cat confdefs.h >>conftest.$ac_ext
11398 cat >>conftest.$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11401 /* Override any gcc2 internal prototype to avoid an error. */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 /* We use char because int might match the return type of a gcc2
11406 builtin and then its argument prototype would still apply. */
11407 char asinhf ();
11409 main ()
11411 asinhf ();
11413 return 0;
11415 _ACEOF
11416 rm -f conftest.$ac_objext conftest$ac_exeext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11418 (eval $ac_link) 2>conftest.er1
11419 ac_status=$?
11420 grep -v '^ *+' conftest.er1 >conftest.err
11421 rm -f conftest.er1
11422 cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } &&
11425 { ac_try='test -z "$ac_c_werror_flag"
11426 || test ! -s conftest.err'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11429 ac_status=$?
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; } &&
11432 { ac_try='test -s conftest$ac_exeext'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11435 ac_status=$?
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; }; then
11438 ac_cv_lib_m_asinhf=yes
11439 else
11440 echo "$as_me: failed program was:" >&5
11441 sed 's/^/| /' conftest.$ac_ext >&5
11443 ac_cv_lib_m_asinhf=no
11445 rm -f conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11447 LIBS=$ac_check_lib_save_LIBS
11449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11450 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11451 if test $ac_cv_lib_m_asinhf = yes; then
11453 cat >>confdefs.h <<\_ACEOF
11454 #define HAVE_ASINHF 1
11455 _ACEOF
11459 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11460 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11461 if test "${ac_cv_lib_m_asinh+set}" = set; then
11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 else
11464 ac_check_lib_save_LIBS=$LIBS
11465 LIBS="-lm $LIBS"
11466 if test x$gcc_no_link = xyes; then
11467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11469 { (exit 1); exit 1; }; }
11471 cat >conftest.$ac_ext <<_ACEOF
11472 /* confdefs.h. */
11473 _ACEOF
11474 cat confdefs.h >>conftest.$ac_ext
11475 cat >>conftest.$ac_ext <<_ACEOF
11476 /* end confdefs.h. */
11478 /* Override any gcc2 internal prototype to avoid an error. */
11479 #ifdef __cplusplus
11480 extern "C"
11481 #endif
11482 /* We use char because int might match the return type of a gcc2
11483 builtin and then its argument prototype would still apply. */
11484 char asinh ();
11486 main ()
11488 asinh ();
11490 return 0;
11492 _ACEOF
11493 rm -f conftest.$ac_objext conftest$ac_exeext
11494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11495 (eval $ac_link) 2>conftest.er1
11496 ac_status=$?
11497 grep -v '^ *+' conftest.er1 >conftest.err
11498 rm -f conftest.er1
11499 cat conftest.err >&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } &&
11502 { ac_try='test -z "$ac_c_werror_flag"
11503 || test ! -s conftest.err'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11506 ac_status=$?
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; } &&
11509 { ac_try='test -s conftest$ac_exeext'
11510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5
11512 ac_status=$?
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); }; }; then
11515 ac_cv_lib_m_asinh=yes
11516 else
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11520 ac_cv_lib_m_asinh=no
11522 rm -f conftest.err conftest.$ac_objext \
11523 conftest$ac_exeext conftest.$ac_ext
11524 LIBS=$ac_check_lib_save_LIBS
11526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11527 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11528 if test $ac_cv_lib_m_asinh = yes; then
11530 cat >>confdefs.h <<\_ACEOF
11531 #define HAVE_ASINH 1
11532 _ACEOF
11536 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11537 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11538 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 else
11541 ac_check_lib_save_LIBS=$LIBS
11542 LIBS="-lm $LIBS"
11543 if test x$gcc_no_link = xyes; then
11544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11546 { (exit 1); exit 1; }; }
11548 cat >conftest.$ac_ext <<_ACEOF
11549 /* confdefs.h. */
11550 _ACEOF
11551 cat confdefs.h >>conftest.$ac_ext
11552 cat >>conftest.$ac_ext <<_ACEOF
11553 /* end confdefs.h. */
11555 /* Override any gcc2 internal prototype to avoid an error. */
11556 #ifdef __cplusplus
11557 extern "C"
11558 #endif
11559 /* We use char because int might match the return type of a gcc2
11560 builtin and then its argument prototype would still apply. */
11561 char asinhl ();
11563 main ()
11565 asinhl ();
11567 return 0;
11569 _ACEOF
11570 rm -f conftest.$ac_objext conftest$ac_exeext
11571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11572 (eval $ac_link) 2>conftest.er1
11573 ac_status=$?
11574 grep -v '^ *+' conftest.er1 >conftest.err
11575 rm -f conftest.er1
11576 cat conftest.err >&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); } &&
11579 { ac_try='test -z "$ac_c_werror_flag"
11580 || test ! -s conftest.err'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11583 ac_status=$?
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try='test -s conftest$ac_exeext'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11589 ac_status=$?
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; }; then
11592 ac_cv_lib_m_asinhl=yes
11593 else
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.$ac_ext >&5
11597 ac_cv_lib_m_asinhl=no
11599 rm -f conftest.err conftest.$ac_objext \
11600 conftest$ac_exeext conftest.$ac_ext
11601 LIBS=$ac_check_lib_save_LIBS
11603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11604 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11605 if test $ac_cv_lib_m_asinhl = yes; then
11607 cat >>confdefs.h <<\_ACEOF
11608 #define HAVE_ASINHL 1
11609 _ACEOF
11613 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11614 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11615 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 else
11618 ac_check_lib_save_LIBS=$LIBS
11619 LIBS="-lm $LIBS"
11620 if test x$gcc_no_link = xyes; then
11621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11623 { (exit 1); exit 1; }; }
11625 cat >conftest.$ac_ext <<_ACEOF
11626 /* confdefs.h. */
11627 _ACEOF
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11632 /* Override any gcc2 internal prototype to avoid an error. */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 /* We use char because int might match the return type of a gcc2
11637 builtin and then its argument prototype would still apply. */
11638 char atan2f ();
11640 main ()
11642 atan2f ();
11644 return 0;
11646 _ACEOF
11647 rm -f conftest.$ac_objext conftest$ac_exeext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11649 (eval $ac_link) 2>conftest.er1
11650 ac_status=$?
11651 grep -v '^ *+' conftest.er1 >conftest.err
11652 rm -f conftest.er1
11653 cat conftest.err >&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } &&
11656 { ac_try='test -z "$ac_c_werror_flag"
11657 || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try='test -s conftest$ac_exeext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11666 ac_status=$?
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 ac_cv_lib_m_atan2f=yes
11670 else
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11674 ac_cv_lib_m_atan2f=no
11676 rm -f conftest.err conftest.$ac_objext \
11677 conftest$ac_exeext conftest.$ac_ext
11678 LIBS=$ac_check_lib_save_LIBS
11680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11681 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11682 if test $ac_cv_lib_m_atan2f = yes; then
11684 cat >>confdefs.h <<\_ACEOF
11685 #define HAVE_ATAN2F 1
11686 _ACEOF
11690 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11691 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11692 if test "${ac_cv_lib_m_atan2+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 else
11695 ac_check_lib_save_LIBS=$LIBS
11696 LIBS="-lm $LIBS"
11697 if test x$gcc_no_link = xyes; then
11698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11700 { (exit 1); exit 1; }; }
11702 cat >conftest.$ac_ext <<_ACEOF
11703 /* confdefs.h. */
11704 _ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11709 /* Override any gcc2 internal prototype to avoid an error. */
11710 #ifdef __cplusplus
11711 extern "C"
11712 #endif
11713 /* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11715 char atan2 ();
11717 main ()
11719 atan2 ();
11721 return 0;
11723 _ACEOF
11724 rm -f conftest.$ac_objext conftest$ac_exeext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11726 (eval $ac_link) 2>conftest.er1
11727 ac_status=$?
11728 grep -v '^ *+' conftest.er1 >conftest.err
11729 rm -f conftest.er1
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try='test -z "$ac_c_werror_flag"
11734 || test ! -s conftest.err'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11737 ac_status=$?
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; } &&
11740 { ac_try='test -s conftest$ac_exeext'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11743 ac_status=$?
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; }; then
11746 ac_cv_lib_m_atan2=yes
11747 else
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.$ac_ext >&5
11751 ac_cv_lib_m_atan2=no
11753 rm -f conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_lib_save_LIBS
11757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11758 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11759 if test $ac_cv_lib_m_atan2 = yes; then
11761 cat >>confdefs.h <<\_ACEOF
11762 #define HAVE_ATAN2 1
11763 _ACEOF
11767 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11768 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11769 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 else
11772 ac_check_lib_save_LIBS=$LIBS
11773 LIBS="-lm $LIBS"
11774 if test x$gcc_no_link = xyes; then
11775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11777 { (exit 1); exit 1; }; }
11779 cat >conftest.$ac_ext <<_ACEOF
11780 /* confdefs.h. */
11781 _ACEOF
11782 cat confdefs.h >>conftest.$ac_ext
11783 cat >>conftest.$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11786 /* Override any gcc2 internal prototype to avoid an error. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 /* We use char because int might match the return type of a gcc2
11791 builtin and then its argument prototype would still apply. */
11792 char atan2l ();
11794 main ()
11796 atan2l ();
11798 return 0;
11800 _ACEOF
11801 rm -f conftest.$ac_objext conftest$ac_exeext
11802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11803 (eval $ac_link) 2>conftest.er1
11804 ac_status=$?
11805 grep -v '^ *+' conftest.er1 >conftest.err
11806 rm -f conftest.er1
11807 cat conftest.err >&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } &&
11810 { ac_try='test -z "$ac_c_werror_flag"
11811 || test ! -s conftest.err'
11812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11813 (eval $ac_try) 2>&5
11814 ac_status=$?
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); }; } &&
11817 { ac_try='test -s conftest$ac_exeext'
11818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11819 (eval $ac_try) 2>&5
11820 ac_status=$?
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }; }; then
11823 ac_cv_lib_m_atan2l=yes
11824 else
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.$ac_ext >&5
11828 ac_cv_lib_m_atan2l=no
11830 rm -f conftest.err conftest.$ac_objext \
11831 conftest$ac_exeext conftest.$ac_ext
11832 LIBS=$ac_check_lib_save_LIBS
11834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11835 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11836 if test $ac_cv_lib_m_atan2l = yes; then
11838 cat >>confdefs.h <<\_ACEOF
11839 #define HAVE_ATAN2L 1
11840 _ACEOF
11844 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11845 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11846 if test "${ac_cv_lib_m_atanf+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 else
11849 ac_check_lib_save_LIBS=$LIBS
11850 LIBS="-lm $LIBS"
11851 if test x$gcc_no_link = xyes; then
11852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11854 { (exit 1); exit 1; }; }
11856 cat >conftest.$ac_ext <<_ACEOF
11857 /* confdefs.h. */
11858 _ACEOF
11859 cat confdefs.h >>conftest.$ac_ext
11860 cat >>conftest.$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11863 /* Override any gcc2 internal prototype to avoid an error. */
11864 #ifdef __cplusplus
11865 extern "C"
11866 #endif
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11869 char atanf ();
11871 main ()
11873 atanf ();
11875 return 0;
11877 _ACEOF
11878 rm -f conftest.$ac_objext conftest$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>conftest.er1
11881 ac_status=$?
11882 grep -v '^ *+' conftest.er1 >conftest.err
11883 rm -f conftest.er1
11884 cat conftest.err >&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try='test -z "$ac_c_werror_flag"
11888 || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11891 ac_status=$?
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try='test -s conftest$ac_exeext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11897 ac_status=$?
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_lib_m_atanf=yes
11901 else
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.$ac_ext >&5
11905 ac_cv_lib_m_atanf=no
11907 rm -f conftest.err conftest.$ac_objext \
11908 conftest$ac_exeext conftest.$ac_ext
11909 LIBS=$ac_check_lib_save_LIBS
11911 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11912 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11913 if test $ac_cv_lib_m_atanf = yes; then
11915 cat >>confdefs.h <<\_ACEOF
11916 #define HAVE_ATANF 1
11917 _ACEOF
11921 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11922 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11923 if test "${ac_cv_lib_m_atan+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else
11926 ac_check_lib_save_LIBS=$LIBS
11927 LIBS="-lm $LIBS"
11928 if test x$gcc_no_link = xyes; then
11929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11931 { (exit 1); exit 1; }; }
11933 cat >conftest.$ac_ext <<_ACEOF
11934 /* confdefs.h. */
11935 _ACEOF
11936 cat confdefs.h >>conftest.$ac_ext
11937 cat >>conftest.$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11940 /* Override any gcc2 internal prototype to avoid an error. */
11941 #ifdef __cplusplus
11942 extern "C"
11943 #endif
11944 /* We use char because int might match the return type of a gcc2
11945 builtin and then its argument prototype would still apply. */
11946 char atan ();
11948 main ()
11950 atan ();
11952 return 0;
11954 _ACEOF
11955 rm -f conftest.$ac_objext conftest$ac_exeext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11957 (eval $ac_link) 2>conftest.er1
11958 ac_status=$?
11959 grep -v '^ *+' conftest.er1 >conftest.err
11960 rm -f conftest.er1
11961 cat conftest.err >&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } &&
11964 { ac_try='test -z "$ac_c_werror_flag"
11965 || test ! -s conftest.err'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try='test -s conftest$ac_exeext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11974 ac_status=$?
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 ac_cv_lib_m_atan=yes
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11982 ac_cv_lib_m_atan=no
11984 rm -f conftest.err conftest.$ac_objext \
11985 conftest$ac_exeext conftest.$ac_ext
11986 LIBS=$ac_check_lib_save_LIBS
11988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11989 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11990 if test $ac_cv_lib_m_atan = yes; then
11992 cat >>confdefs.h <<\_ACEOF
11993 #define HAVE_ATAN 1
11994 _ACEOF
11998 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11999 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
12000 if test "${ac_cv_lib_m_atanl+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12002 else
12003 ac_check_lib_save_LIBS=$LIBS
12004 LIBS="-lm $LIBS"
12005 if test x$gcc_no_link = xyes; then
12006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12008 { (exit 1); exit 1; }; }
12010 cat >conftest.$ac_ext <<_ACEOF
12011 /* confdefs.h. */
12012 _ACEOF
12013 cat confdefs.h >>conftest.$ac_ext
12014 cat >>conftest.$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12017 /* Override any gcc2 internal prototype to avoid an error. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 /* We use char because int might match the return type of a gcc2
12022 builtin and then its argument prototype would still apply. */
12023 char atanl ();
12025 main ()
12027 atanl ();
12029 return 0;
12031 _ACEOF
12032 rm -f conftest.$ac_objext conftest$ac_exeext
12033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12034 (eval $ac_link) 2>conftest.er1
12035 ac_status=$?
12036 grep -v '^ *+' conftest.er1 >conftest.err
12037 rm -f conftest.er1
12038 cat conftest.err >&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } &&
12041 { ac_try='test -z "$ac_c_werror_flag"
12042 || test ! -s conftest.err'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12045 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; } &&
12048 { ac_try='test -s conftest$ac_exeext'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5
12051 ac_status=$?
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; }; then
12054 ac_cv_lib_m_atanl=yes
12055 else
12056 echo "$as_me: failed program was:" >&5
12057 sed 's/^/| /' conftest.$ac_ext >&5
12059 ac_cv_lib_m_atanl=no
12061 rm -f conftest.err conftest.$ac_objext \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_lib_save_LIBS
12065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12066 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12067 if test $ac_cv_lib_m_atanl = yes; then
12069 cat >>confdefs.h <<\_ACEOF
12070 #define HAVE_ATANL 1
12071 _ACEOF
12075 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12076 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12077 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12079 else
12080 ac_check_lib_save_LIBS=$LIBS
12081 LIBS="-lm $LIBS"
12082 if test x$gcc_no_link = xyes; then
12083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12085 { (exit 1); exit 1; }; }
12087 cat >conftest.$ac_ext <<_ACEOF
12088 /* confdefs.h. */
12089 _ACEOF
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 /* Override any gcc2 internal prototype to avoid an error. */
12095 #ifdef __cplusplus
12096 extern "C"
12097 #endif
12098 /* We use char because int might match the return type of a gcc2
12099 builtin and then its argument prototype would still apply. */
12100 char atanhf ();
12102 main ()
12104 atanhf ();
12106 return 0;
12108 _ACEOF
12109 rm -f conftest.$ac_objext conftest$ac_exeext
12110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12111 (eval $ac_link) 2>conftest.er1
12112 ac_status=$?
12113 grep -v '^ *+' conftest.er1 >conftest.err
12114 rm -f conftest.er1
12115 cat conftest.err >&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try='test -z "$ac_c_werror_flag"
12119 || test ! -s conftest.err'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12122 ac_status=$?
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; } &&
12125 { ac_try='test -s conftest$ac_exeext'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12128 ac_status=$?
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; }; then
12131 ac_cv_lib_m_atanhf=yes
12132 else
12133 echo "$as_me: failed program was:" >&5
12134 sed 's/^/| /' conftest.$ac_ext >&5
12136 ac_cv_lib_m_atanhf=no
12138 rm -f conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12143 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12144 if test $ac_cv_lib_m_atanhf = yes; then
12146 cat >>confdefs.h <<\_ACEOF
12147 #define HAVE_ATANHF 1
12148 _ACEOF
12152 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12153 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12154 if test "${ac_cv_lib_m_atanh+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 else
12157 ac_check_lib_save_LIBS=$LIBS
12158 LIBS="-lm $LIBS"
12159 if test x$gcc_no_link = xyes; then
12160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12162 { (exit 1); exit 1; }; }
12164 cat >conftest.$ac_ext <<_ACEOF
12165 /* confdefs.h. */
12166 _ACEOF
12167 cat confdefs.h >>conftest.$ac_ext
12168 cat >>conftest.$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12171 /* Override any gcc2 internal prototype to avoid an error. */
12172 #ifdef __cplusplus
12173 extern "C"
12174 #endif
12175 /* We use char because int might match the return type of a gcc2
12176 builtin and then its argument prototype would still apply. */
12177 char atanh ();
12179 main ()
12181 atanh ();
12183 return 0;
12185 _ACEOF
12186 rm -f conftest.$ac_objext conftest$ac_exeext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12188 (eval $ac_link) 2>conftest.er1
12189 ac_status=$?
12190 grep -v '^ *+' conftest.er1 >conftest.err
12191 rm -f conftest.er1
12192 cat conftest.err >&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try='test -z "$ac_c_werror_flag"
12196 || test ! -s conftest.err'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12199 ac_status=$?
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; } &&
12202 { ac_try='test -s conftest$ac_exeext'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12205 ac_status=$?
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 ac_cv_lib_m_atanh=yes
12209 else
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.$ac_ext >&5
12213 ac_cv_lib_m_atanh=no
12215 rm -f conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 LIBS=$ac_check_lib_save_LIBS
12219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12220 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12221 if test $ac_cv_lib_m_atanh = yes; then
12223 cat >>confdefs.h <<\_ACEOF
12224 #define HAVE_ATANH 1
12225 _ACEOF
12229 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12230 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12231 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 else
12234 ac_check_lib_save_LIBS=$LIBS
12235 LIBS="-lm $LIBS"
12236 if test x$gcc_no_link = xyes; then
12237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12239 { (exit 1); exit 1; }; }
12241 cat >conftest.$ac_ext <<_ACEOF
12242 /* confdefs.h. */
12243 _ACEOF
12244 cat confdefs.h >>conftest.$ac_ext
12245 cat >>conftest.$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12248 /* Override any gcc2 internal prototype to avoid an error. */
12249 #ifdef __cplusplus
12250 extern "C"
12251 #endif
12252 /* We use char because int might match the return type of a gcc2
12253 builtin and then its argument prototype would still apply. */
12254 char atanhl ();
12256 main ()
12258 atanhl ();
12260 return 0;
12262 _ACEOF
12263 rm -f conftest.$ac_objext conftest$ac_exeext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12265 (eval $ac_link) 2>conftest.er1
12266 ac_status=$?
12267 grep -v '^ *+' conftest.er1 >conftest.err
12268 rm -f conftest.er1
12269 cat conftest.err >&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try='test -z "$ac_c_werror_flag"
12273 || test ! -s conftest.err'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12276 ac_status=$?
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; } &&
12279 { ac_try='test -s conftest$ac_exeext'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12282 ac_status=$?
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; }; then
12285 ac_cv_lib_m_atanhl=yes
12286 else
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12290 ac_cv_lib_m_atanhl=no
12292 rm -f conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_lib_save_LIBS
12296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12297 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12298 if test $ac_cv_lib_m_atanhl = yes; then
12300 cat >>confdefs.h <<\_ACEOF
12301 #define HAVE_ATANHL 1
12302 _ACEOF
12306 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12307 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12308 if test "${ac_cv_lib_m_cargf+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 else
12311 ac_check_lib_save_LIBS=$LIBS
12312 LIBS="-lm $LIBS"
12313 if test x$gcc_no_link = xyes; then
12314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12316 { (exit 1); exit 1; }; }
12318 cat >conftest.$ac_ext <<_ACEOF
12319 /* confdefs.h. */
12320 _ACEOF
12321 cat confdefs.h >>conftest.$ac_ext
12322 cat >>conftest.$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12325 /* Override any gcc2 internal prototype to avoid an error. */
12326 #ifdef __cplusplus
12327 extern "C"
12328 #endif
12329 /* We use char because int might match the return type of a gcc2
12330 builtin and then its argument prototype would still apply. */
12331 char cargf ();
12333 main ()
12335 cargf ();
12337 return 0;
12339 _ACEOF
12340 rm -f conftest.$ac_objext conftest$ac_exeext
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12342 (eval $ac_link) 2>conftest.er1
12343 ac_status=$?
12344 grep -v '^ *+' conftest.er1 >conftest.err
12345 rm -f conftest.er1
12346 cat conftest.err >&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } &&
12349 { ac_try='test -z "$ac_c_werror_flag"
12350 || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12353 ac_status=$?
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try='test -s conftest$ac_exeext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12359 ac_status=$?
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 ac_cv_lib_m_cargf=yes
12363 else
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.$ac_ext >&5
12367 ac_cv_lib_m_cargf=no
12369 rm -f conftest.err conftest.$ac_objext \
12370 conftest$ac_exeext conftest.$ac_ext
12371 LIBS=$ac_check_lib_save_LIBS
12373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12374 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12375 if test $ac_cv_lib_m_cargf = yes; then
12377 cat >>confdefs.h <<\_ACEOF
12378 #define HAVE_CARGF 1
12379 _ACEOF
12383 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12384 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12385 if test "${ac_cv_lib_m_carg+set}" = set; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12387 else
12388 ac_check_lib_save_LIBS=$LIBS
12389 LIBS="-lm $LIBS"
12390 if test x$gcc_no_link = xyes; then
12391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12393 { (exit 1); exit 1; }; }
12395 cat >conftest.$ac_ext <<_ACEOF
12396 /* confdefs.h. */
12397 _ACEOF
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12402 /* Override any gcc2 internal prototype to avoid an error. */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 /* We use char because int might match the return type of a gcc2
12407 builtin and then its argument prototype would still apply. */
12408 char carg ();
12410 main ()
12412 carg ();
12414 return 0;
12416 _ACEOF
12417 rm -f conftest.$ac_objext conftest$ac_exeext
12418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12419 (eval $ac_link) 2>conftest.er1
12420 ac_status=$?
12421 grep -v '^ *+' conftest.er1 >conftest.err
12422 rm -f conftest.er1
12423 cat conftest.err >&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try='test -z "$ac_c_werror_flag"
12427 || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12430 ac_status=$?
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; } &&
12433 { ac_try='test -s conftest$ac_exeext'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12436 ac_status=$?
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 ac_cv_lib_m_carg=yes
12440 else
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.$ac_ext >&5
12444 ac_cv_lib_m_carg=no
12446 rm -f conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_lib_save_LIBS
12450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12451 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12452 if test $ac_cv_lib_m_carg = yes; then
12454 cat >>confdefs.h <<\_ACEOF
12455 #define HAVE_CARG 1
12456 _ACEOF
12460 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12461 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12462 if test "${ac_cv_lib_m_cargl+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 else
12465 ac_check_lib_save_LIBS=$LIBS
12466 LIBS="-lm $LIBS"
12467 if test x$gcc_no_link = xyes; then
12468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12470 { (exit 1); exit 1; }; }
12472 cat >conftest.$ac_ext <<_ACEOF
12473 /* confdefs.h. */
12474 _ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12479 /* Override any gcc2 internal prototype to avoid an error. */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 /* We use char because int might match the return type of a gcc2
12484 builtin and then its argument prototype would still apply. */
12485 char cargl ();
12487 main ()
12489 cargl ();
12491 return 0;
12493 _ACEOF
12494 rm -f conftest.$ac_objext conftest$ac_exeext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12496 (eval $ac_link) 2>conftest.er1
12497 ac_status=$?
12498 grep -v '^ *+' conftest.er1 >conftest.err
12499 rm -f conftest.er1
12500 cat conftest.err >&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try='test -z "$ac_c_werror_flag"
12504 || test ! -s conftest.err'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12507 ac_status=$?
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; } &&
12510 { ac_try='test -s conftest$ac_exeext'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; }; then
12516 ac_cv_lib_m_cargl=yes
12517 else
12518 echo "$as_me: failed program was:" >&5
12519 sed 's/^/| /' conftest.$ac_ext >&5
12521 ac_cv_lib_m_cargl=no
12523 rm -f conftest.err conftest.$ac_objext \
12524 conftest$ac_exeext conftest.$ac_ext
12525 LIBS=$ac_check_lib_save_LIBS
12527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12528 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12529 if test $ac_cv_lib_m_cargl = yes; then
12531 cat >>confdefs.h <<\_ACEOF
12532 #define HAVE_CARGL 1
12533 _ACEOF
12537 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12538 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12539 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 else
12542 ac_check_lib_save_LIBS=$LIBS
12543 LIBS="-lm $LIBS"
12544 if test x$gcc_no_link = xyes; then
12545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12547 { (exit 1); exit 1; }; }
12549 cat >conftest.$ac_ext <<_ACEOF
12550 /* confdefs.h. */
12551 _ACEOF
12552 cat confdefs.h >>conftest.$ac_ext
12553 cat >>conftest.$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12556 /* Override any gcc2 internal prototype to avoid an error. */
12557 #ifdef __cplusplus
12558 extern "C"
12559 #endif
12560 /* We use char because int might match the return type of a gcc2
12561 builtin and then its argument prototype would still apply. */
12562 char ceilf ();
12564 main ()
12566 ceilf ();
12568 return 0;
12570 _ACEOF
12571 rm -f conftest.$ac_objext conftest$ac_exeext
12572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12573 (eval $ac_link) 2>conftest.er1
12574 ac_status=$?
12575 grep -v '^ *+' conftest.er1 >conftest.err
12576 rm -f conftest.er1
12577 cat conftest.err >&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } &&
12580 { ac_try='test -z "$ac_c_werror_flag"
12581 || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try='test -s conftest$ac_exeext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12590 ac_status=$?
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_cv_lib_m_ceilf=yes
12594 else
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12598 ac_cv_lib_m_ceilf=no
12600 rm -f conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_lib_save_LIBS
12604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12605 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12606 if test $ac_cv_lib_m_ceilf = yes; then
12608 cat >>confdefs.h <<\_ACEOF
12609 #define HAVE_CEILF 1
12610 _ACEOF
12614 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12615 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12616 if test "${ac_cv_lib_m_ceil+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 else
12619 ac_check_lib_save_LIBS=$LIBS
12620 LIBS="-lm $LIBS"
12621 if test x$gcc_no_link = xyes; then
12622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12624 { (exit 1); exit 1; }; }
12626 cat >conftest.$ac_ext <<_ACEOF
12627 /* confdefs.h. */
12628 _ACEOF
12629 cat confdefs.h >>conftest.$ac_ext
12630 cat >>conftest.$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12633 /* Override any gcc2 internal prototype to avoid an error. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 /* We use char because int might match the return type of a gcc2
12638 builtin and then its argument prototype would still apply. */
12639 char ceil ();
12641 main ()
12643 ceil ();
12645 return 0;
12647 _ACEOF
12648 rm -f conftest.$ac_objext conftest$ac_exeext
12649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12650 (eval $ac_link) 2>conftest.er1
12651 ac_status=$?
12652 grep -v '^ *+' conftest.er1 >conftest.err
12653 rm -f conftest.er1
12654 cat conftest.err >&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } &&
12657 { ac_try='test -z "$ac_c_werror_flag"
12658 || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12667 ac_status=$?
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_lib_m_ceil=yes
12671 else
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12675 ac_cv_lib_m_ceil=no
12677 rm -f conftest.err conftest.$ac_objext \
12678 conftest$ac_exeext conftest.$ac_ext
12679 LIBS=$ac_check_lib_save_LIBS
12681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12682 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12683 if test $ac_cv_lib_m_ceil = yes; then
12685 cat >>confdefs.h <<\_ACEOF
12686 #define HAVE_CEIL 1
12687 _ACEOF
12691 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12692 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12693 if test "${ac_cv_lib_m_ceill+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 else
12696 ac_check_lib_save_LIBS=$LIBS
12697 LIBS="-lm $LIBS"
12698 if test x$gcc_no_link = xyes; then
12699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12701 { (exit 1); exit 1; }; }
12703 cat >conftest.$ac_ext <<_ACEOF
12704 /* confdefs.h. */
12705 _ACEOF
12706 cat confdefs.h >>conftest.$ac_ext
12707 cat >>conftest.$ac_ext <<_ACEOF
12708 /* end confdefs.h. */
12710 /* Override any gcc2 internal prototype to avoid an error. */
12711 #ifdef __cplusplus
12712 extern "C"
12713 #endif
12714 /* We use char because int might match the return type of a gcc2
12715 builtin and then its argument prototype would still apply. */
12716 char ceill ();
12718 main ()
12720 ceill ();
12722 return 0;
12724 _ACEOF
12725 rm -f conftest.$ac_objext conftest$ac_exeext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12727 (eval $ac_link) 2>conftest.er1
12728 ac_status=$?
12729 grep -v '^ *+' conftest.er1 >conftest.err
12730 rm -f conftest.er1
12731 cat conftest.err >&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } &&
12734 { ac_try='test -z "$ac_c_werror_flag"
12735 || test ! -s conftest.err'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12738 ac_status=$?
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; } &&
12741 { ac_try='test -s conftest$ac_exeext'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12744 ac_status=$?
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 ac_cv_lib_m_ceill=yes
12748 else
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.$ac_ext >&5
12752 ac_cv_lib_m_ceill=no
12754 rm -f conftest.err conftest.$ac_objext \
12755 conftest$ac_exeext conftest.$ac_ext
12756 LIBS=$ac_check_lib_save_LIBS
12758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12759 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12760 if test $ac_cv_lib_m_ceill = yes; then
12762 cat >>confdefs.h <<\_ACEOF
12763 #define HAVE_CEILL 1
12764 _ACEOF
12768 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12769 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12770 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12771 echo $ECHO_N "(cached) $ECHO_C" >&6
12772 else
12773 ac_check_lib_save_LIBS=$LIBS
12774 LIBS="-lm $LIBS"
12775 if test x$gcc_no_link = xyes; then
12776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12778 { (exit 1); exit 1; }; }
12780 cat >conftest.$ac_ext <<_ACEOF
12781 /* confdefs.h. */
12782 _ACEOF
12783 cat confdefs.h >>conftest.$ac_ext
12784 cat >>conftest.$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12787 /* Override any gcc2 internal prototype to avoid an error. */
12788 #ifdef __cplusplus
12789 extern "C"
12790 #endif
12791 /* We use char because int might match the return type of a gcc2
12792 builtin and then its argument prototype would still apply. */
12793 char copysignf ();
12795 main ()
12797 copysignf ();
12799 return 0;
12801 _ACEOF
12802 rm -f conftest.$ac_objext conftest$ac_exeext
12803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12804 (eval $ac_link) 2>conftest.er1
12805 ac_status=$?
12806 grep -v '^ *+' conftest.er1 >conftest.err
12807 rm -f conftest.er1
12808 cat conftest.err >&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } &&
12811 { ac_try='test -z "$ac_c_werror_flag"
12812 || test ! -s conftest.err'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12815 ac_status=$?
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; } &&
12818 { ac_try='test -s conftest$ac_exeext'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12821 ac_status=$?
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; }; then
12824 ac_cv_lib_m_copysignf=yes
12825 else
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.$ac_ext >&5
12829 ac_cv_lib_m_copysignf=no
12831 rm -f conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12836 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12837 if test $ac_cv_lib_m_copysignf = yes; then
12839 cat >>confdefs.h <<\_ACEOF
12840 #define HAVE_COPYSIGNF 1
12841 _ACEOF
12845 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12846 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12847 if test "${ac_cv_lib_m_copysign+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 else
12850 ac_check_lib_save_LIBS=$LIBS
12851 LIBS="-lm $LIBS"
12852 if test x$gcc_no_link = xyes; then
12853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12855 { (exit 1); exit 1; }; }
12857 cat >conftest.$ac_ext <<_ACEOF
12858 /* confdefs.h. */
12859 _ACEOF
12860 cat confdefs.h >>conftest.$ac_ext
12861 cat >>conftest.$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12864 /* Override any gcc2 internal prototype to avoid an error. */
12865 #ifdef __cplusplus
12866 extern "C"
12867 #endif
12868 /* We use char because int might match the return type of a gcc2
12869 builtin and then its argument prototype would still apply. */
12870 char copysign ();
12872 main ()
12874 copysign ();
12876 return 0;
12878 _ACEOF
12879 rm -f conftest.$ac_objext conftest$ac_exeext
12880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12881 (eval $ac_link) 2>conftest.er1
12882 ac_status=$?
12883 grep -v '^ *+' conftest.er1 >conftest.err
12884 rm -f conftest.er1
12885 cat conftest.err >&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } &&
12888 { ac_try='test -z "$ac_c_werror_flag"
12889 || test ! -s conftest.err'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12892 ac_status=$?
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; } &&
12895 { ac_try='test -s conftest$ac_exeext'
12896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897 (eval $ac_try) 2>&5
12898 ac_status=$?
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; }; then
12901 ac_cv_lib_m_copysign=yes
12902 else
12903 echo "$as_me: failed program was:" >&5
12904 sed 's/^/| /' conftest.$ac_ext >&5
12906 ac_cv_lib_m_copysign=no
12908 rm -f conftest.err conftest.$ac_objext \
12909 conftest$ac_exeext conftest.$ac_ext
12910 LIBS=$ac_check_lib_save_LIBS
12912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12913 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12914 if test $ac_cv_lib_m_copysign = yes; then
12916 cat >>confdefs.h <<\_ACEOF
12917 #define HAVE_COPYSIGN 1
12918 _ACEOF
12922 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12923 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12924 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12926 else
12927 ac_check_lib_save_LIBS=$LIBS
12928 LIBS="-lm $LIBS"
12929 if test x$gcc_no_link = xyes; then
12930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12932 { (exit 1); exit 1; }; }
12934 cat >conftest.$ac_ext <<_ACEOF
12935 /* confdefs.h. */
12936 _ACEOF
12937 cat confdefs.h >>conftest.$ac_ext
12938 cat >>conftest.$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12941 /* Override any gcc2 internal prototype to avoid an error. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 /* We use char because int might match the return type of a gcc2
12946 builtin and then its argument prototype would still apply. */
12947 char copysignl ();
12949 main ()
12951 copysignl ();
12953 return 0;
12955 _ACEOF
12956 rm -f conftest.$ac_objext conftest$ac_exeext
12957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12958 (eval $ac_link) 2>conftest.er1
12959 ac_status=$?
12960 grep -v '^ *+' conftest.er1 >conftest.err
12961 rm -f conftest.er1
12962 cat conftest.err >&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } &&
12965 { ac_try='test -z "$ac_c_werror_flag"
12966 || test ! -s conftest.err'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12969 ac_status=$?
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; } &&
12972 { ac_try='test -s conftest$ac_exeext'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12975 ac_status=$?
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 ac_cv_lib_m_copysignl=yes
12979 else
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 ac_cv_lib_m_copysignl=no
12985 rm -f conftest.err conftest.$ac_objext \
12986 conftest$ac_exeext conftest.$ac_ext
12987 LIBS=$ac_check_lib_save_LIBS
12989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12990 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12991 if test $ac_cv_lib_m_copysignl = yes; then
12993 cat >>confdefs.h <<\_ACEOF
12994 #define HAVE_COPYSIGNL 1
12995 _ACEOF
12999 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
13000 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
13001 if test "${ac_cv_lib_m_cosf+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 else
13004 ac_check_lib_save_LIBS=$LIBS
13005 LIBS="-lm $LIBS"
13006 if test x$gcc_no_link = xyes; then
13007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13009 { (exit 1); exit 1; }; }
13011 cat >conftest.$ac_ext <<_ACEOF
13012 /* confdefs.h. */
13013 _ACEOF
13014 cat confdefs.h >>conftest.$ac_ext
13015 cat >>conftest.$ac_ext <<_ACEOF
13016 /* end confdefs.h. */
13018 /* Override any gcc2 internal prototype to avoid an error. */
13019 #ifdef __cplusplus
13020 extern "C"
13021 #endif
13022 /* We use char because int might match the return type of a gcc2
13023 builtin and then its argument prototype would still apply. */
13024 char cosf ();
13026 main ()
13028 cosf ();
13030 return 0;
13032 _ACEOF
13033 rm -f conftest.$ac_objext conftest$ac_exeext
13034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13035 (eval $ac_link) 2>conftest.er1
13036 ac_status=$?
13037 grep -v '^ *+' conftest.er1 >conftest.err
13038 rm -f conftest.er1
13039 cat conftest.err >&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); } &&
13042 { ac_try='test -z "$ac_c_werror_flag"
13043 || test ! -s conftest.err'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; } &&
13049 { ac_try='test -s conftest$ac_exeext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13052 ac_status=$?
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 ac_cv_lib_m_cosf=yes
13056 else
13057 echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.$ac_ext >&5
13060 ac_cv_lib_m_cosf=no
13062 rm -f conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13067 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13068 if test $ac_cv_lib_m_cosf = yes; then
13070 cat >>confdefs.h <<\_ACEOF
13071 #define HAVE_COSF 1
13072 _ACEOF
13076 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13077 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13078 if test "${ac_cv_lib_m_cos+set}" = set; then
13079 echo $ECHO_N "(cached) $ECHO_C" >&6
13080 else
13081 ac_check_lib_save_LIBS=$LIBS
13082 LIBS="-lm $LIBS"
13083 if test x$gcc_no_link = xyes; then
13084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13086 { (exit 1); exit 1; }; }
13088 cat >conftest.$ac_ext <<_ACEOF
13089 /* confdefs.h. */
13090 _ACEOF
13091 cat confdefs.h >>conftest.$ac_ext
13092 cat >>conftest.$ac_ext <<_ACEOF
13093 /* end confdefs.h. */
13095 /* Override any gcc2 internal prototype to avoid an error. */
13096 #ifdef __cplusplus
13097 extern "C"
13098 #endif
13099 /* We use char because int might match the return type of a gcc2
13100 builtin and then its argument prototype would still apply. */
13101 char cos ();
13103 main ()
13105 cos ();
13107 return 0;
13109 _ACEOF
13110 rm -f conftest.$ac_objext conftest$ac_exeext
13111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13112 (eval $ac_link) 2>conftest.er1
13113 ac_status=$?
13114 grep -v '^ *+' conftest.er1 >conftest.err
13115 rm -f conftest.er1
13116 cat conftest.err >&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); } &&
13119 { ac_try='test -z "$ac_c_werror_flag"
13120 || test ! -s conftest.err'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13123 ac_status=$?
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; } &&
13126 { ac_try='test -s conftest$ac_exeext'
13127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13128 (eval $ac_try) 2>&5
13129 ac_status=$?
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; }; then
13132 ac_cv_lib_m_cos=yes
13133 else
13134 echo "$as_me: failed program was:" >&5
13135 sed 's/^/| /' conftest.$ac_ext >&5
13137 ac_cv_lib_m_cos=no
13139 rm -f conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141 LIBS=$ac_check_lib_save_LIBS
13143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13144 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13145 if test $ac_cv_lib_m_cos = yes; then
13147 cat >>confdefs.h <<\_ACEOF
13148 #define HAVE_COS 1
13149 _ACEOF
13153 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13154 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13155 if test "${ac_cv_lib_m_cosl+set}" = set; then
13156 echo $ECHO_N "(cached) $ECHO_C" >&6
13157 else
13158 ac_check_lib_save_LIBS=$LIBS
13159 LIBS="-lm $LIBS"
13160 if test x$gcc_no_link = xyes; then
13161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13163 { (exit 1); exit 1; }; }
13165 cat >conftest.$ac_ext <<_ACEOF
13166 /* confdefs.h. */
13167 _ACEOF
13168 cat confdefs.h >>conftest.$ac_ext
13169 cat >>conftest.$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13172 /* Override any gcc2 internal prototype to avoid an error. */
13173 #ifdef __cplusplus
13174 extern "C"
13175 #endif
13176 /* We use char because int might match the return type of a gcc2
13177 builtin and then its argument prototype would still apply. */
13178 char cosl ();
13180 main ()
13182 cosl ();
13184 return 0;
13186 _ACEOF
13187 rm -f conftest.$ac_objext conftest$ac_exeext
13188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13189 (eval $ac_link) 2>conftest.er1
13190 ac_status=$?
13191 grep -v '^ *+' conftest.er1 >conftest.err
13192 rm -f conftest.er1
13193 cat conftest.err >&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); } &&
13196 { ac_try='test -z "$ac_c_werror_flag"
13197 || test ! -s conftest.err'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13200 ac_status=$?
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; } &&
13203 { ac_try='test -s conftest$ac_exeext'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13206 ac_status=$?
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; }; then
13209 ac_cv_lib_m_cosl=yes
13210 else
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.$ac_ext >&5
13214 ac_cv_lib_m_cosl=no
13216 rm -f conftest.err conftest.$ac_objext \
13217 conftest$ac_exeext conftest.$ac_ext
13218 LIBS=$ac_check_lib_save_LIBS
13220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13221 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13222 if test $ac_cv_lib_m_cosl = yes; then
13224 cat >>confdefs.h <<\_ACEOF
13225 #define HAVE_COSL 1
13226 _ACEOF
13230 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13231 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13232 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13233 echo $ECHO_N "(cached) $ECHO_C" >&6
13234 else
13235 ac_check_lib_save_LIBS=$LIBS
13236 LIBS="-lm $LIBS"
13237 if test x$gcc_no_link = xyes; then
13238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13240 { (exit 1); exit 1; }; }
13242 cat >conftest.$ac_ext <<_ACEOF
13243 /* confdefs.h. */
13244 _ACEOF
13245 cat confdefs.h >>conftest.$ac_ext
13246 cat >>conftest.$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13249 /* Override any gcc2 internal prototype to avoid an error. */
13250 #ifdef __cplusplus
13251 extern "C"
13252 #endif
13253 /* We use char because int might match the return type of a gcc2
13254 builtin and then its argument prototype would still apply. */
13255 char ccosf ();
13257 main ()
13259 ccosf ();
13261 return 0;
13263 _ACEOF
13264 rm -f conftest.$ac_objext conftest$ac_exeext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13266 (eval $ac_link) 2>conftest.er1
13267 ac_status=$?
13268 grep -v '^ *+' conftest.er1 >conftest.err
13269 rm -f conftest.er1
13270 cat conftest.err >&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try='test -z "$ac_c_werror_flag"
13274 || test ! -s conftest.err'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13277 ac_status=$?
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; } &&
13280 { ac_try='test -s conftest$ac_exeext'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13283 ac_status=$?
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; }; then
13286 ac_cv_lib_m_ccosf=yes
13287 else
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.$ac_ext >&5
13291 ac_cv_lib_m_ccosf=no
13293 rm -f conftest.err conftest.$ac_objext \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_lib_save_LIBS
13297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13298 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13299 if test $ac_cv_lib_m_ccosf = yes; then
13301 cat >>confdefs.h <<\_ACEOF
13302 #define HAVE_CCOSF 1
13303 _ACEOF
13307 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13308 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13309 if test "${ac_cv_lib_m_ccos+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 else
13312 ac_check_lib_save_LIBS=$LIBS
13313 LIBS="-lm $LIBS"
13314 if test x$gcc_no_link = xyes; then
13315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13317 { (exit 1); exit 1; }; }
13319 cat >conftest.$ac_ext <<_ACEOF
13320 /* confdefs.h. */
13321 _ACEOF
13322 cat confdefs.h >>conftest.$ac_ext
13323 cat >>conftest.$ac_ext <<_ACEOF
13324 /* end confdefs.h. */
13326 /* Override any gcc2 internal prototype to avoid an error. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 /* We use char because int might match the return type of a gcc2
13331 builtin and then its argument prototype would still apply. */
13332 char ccos ();
13334 main ()
13336 ccos ();
13338 return 0;
13340 _ACEOF
13341 rm -f conftest.$ac_objext conftest$ac_exeext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13343 (eval $ac_link) 2>conftest.er1
13344 ac_status=$?
13345 grep -v '^ *+' conftest.er1 >conftest.err
13346 rm -f conftest.er1
13347 cat conftest.err >&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try='test -z "$ac_c_werror_flag"
13351 || test ! -s conftest.err'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13354 ac_status=$?
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; } &&
13357 { ac_try='test -s conftest$ac_exeext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13360 ac_status=$?
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13363 ac_cv_lib_m_ccos=yes
13364 else
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.$ac_ext >&5
13368 ac_cv_lib_m_ccos=no
13370 rm -f conftest.err conftest.$ac_objext \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13375 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13376 if test $ac_cv_lib_m_ccos = yes; then
13378 cat >>confdefs.h <<\_ACEOF
13379 #define HAVE_CCOS 1
13380 _ACEOF
13384 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13385 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13386 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 else
13389 ac_check_lib_save_LIBS=$LIBS
13390 LIBS="-lm $LIBS"
13391 if test x$gcc_no_link = xyes; then
13392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13394 { (exit 1); exit 1; }; }
13396 cat >conftest.$ac_ext <<_ACEOF
13397 /* confdefs.h. */
13398 _ACEOF
13399 cat confdefs.h >>conftest.$ac_ext
13400 cat >>conftest.$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13403 /* Override any gcc2 internal prototype to avoid an error. */
13404 #ifdef __cplusplus
13405 extern "C"
13406 #endif
13407 /* We use char because int might match the return type of a gcc2
13408 builtin and then its argument prototype would still apply. */
13409 char ccosl ();
13411 main ()
13413 ccosl ();
13415 return 0;
13417 _ACEOF
13418 rm -f conftest.$ac_objext conftest$ac_exeext
13419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13420 (eval $ac_link) 2>conftest.er1
13421 ac_status=$?
13422 grep -v '^ *+' conftest.er1 >conftest.err
13423 rm -f conftest.er1
13424 cat conftest.err >&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); } &&
13427 { ac_try='test -z "$ac_c_werror_flag"
13428 || test ! -s conftest.err'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13431 ac_status=$?
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; } &&
13434 { ac_try='test -s conftest$ac_exeext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13437 ac_status=$?
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13440 ac_cv_lib_m_ccosl=yes
13441 else
13442 echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.$ac_ext >&5
13445 ac_cv_lib_m_ccosl=no
13447 rm -f conftest.err conftest.$ac_objext \
13448 conftest$ac_exeext conftest.$ac_ext
13449 LIBS=$ac_check_lib_save_LIBS
13451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13452 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13453 if test $ac_cv_lib_m_ccosl = yes; then
13455 cat >>confdefs.h <<\_ACEOF
13456 #define HAVE_CCOSL 1
13457 _ACEOF
13461 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13462 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13463 if test "${ac_cv_lib_m_coshf+set}" = set; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 else
13466 ac_check_lib_save_LIBS=$LIBS
13467 LIBS="-lm $LIBS"
13468 if test x$gcc_no_link = xyes; then
13469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13471 { (exit 1); exit 1; }; }
13473 cat >conftest.$ac_ext <<_ACEOF
13474 /* confdefs.h. */
13475 _ACEOF
13476 cat confdefs.h >>conftest.$ac_ext
13477 cat >>conftest.$ac_ext <<_ACEOF
13478 /* end confdefs.h. */
13480 /* Override any gcc2 internal prototype to avoid an error. */
13481 #ifdef __cplusplus
13482 extern "C"
13483 #endif
13484 /* We use char because int might match the return type of a gcc2
13485 builtin and then its argument prototype would still apply. */
13486 char coshf ();
13488 main ()
13490 coshf ();
13492 return 0;
13494 _ACEOF
13495 rm -f conftest.$ac_objext conftest$ac_exeext
13496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13497 (eval $ac_link) 2>conftest.er1
13498 ac_status=$?
13499 grep -v '^ *+' conftest.er1 >conftest.err
13500 rm -f conftest.er1
13501 cat conftest.err >&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } &&
13504 { ac_try='test -z "$ac_c_werror_flag"
13505 || test ! -s conftest.err'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; } &&
13511 { ac_try='test -s conftest$ac_exeext'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13514 ac_status=$?
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; }; then
13517 ac_cv_lib_m_coshf=yes
13518 else
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.$ac_ext >&5
13522 ac_cv_lib_m_coshf=no
13524 rm -f conftest.err conftest.$ac_objext \
13525 conftest$ac_exeext conftest.$ac_ext
13526 LIBS=$ac_check_lib_save_LIBS
13528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13529 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13530 if test $ac_cv_lib_m_coshf = yes; then
13532 cat >>confdefs.h <<\_ACEOF
13533 #define HAVE_COSHF 1
13534 _ACEOF
13538 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13539 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13540 if test "${ac_cv_lib_m_cosh+set}" = set; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13542 else
13543 ac_check_lib_save_LIBS=$LIBS
13544 LIBS="-lm $LIBS"
13545 if test x$gcc_no_link = xyes; then
13546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13548 { (exit 1); exit 1; }; }
13550 cat >conftest.$ac_ext <<_ACEOF
13551 /* confdefs.h. */
13552 _ACEOF
13553 cat confdefs.h >>conftest.$ac_ext
13554 cat >>conftest.$ac_ext <<_ACEOF
13555 /* end confdefs.h. */
13557 /* Override any gcc2 internal prototype to avoid an error. */
13558 #ifdef __cplusplus
13559 extern "C"
13560 #endif
13561 /* We use char because int might match the return type of a gcc2
13562 builtin and then its argument prototype would still apply. */
13563 char cosh ();
13565 main ()
13567 cosh ();
13569 return 0;
13571 _ACEOF
13572 rm -f conftest.$ac_objext conftest$ac_exeext
13573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13574 (eval $ac_link) 2>conftest.er1
13575 ac_status=$?
13576 grep -v '^ *+' conftest.er1 >conftest.err
13577 rm -f conftest.er1
13578 cat conftest.err >&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); } &&
13581 { ac_try='test -z "$ac_c_werror_flag"
13582 || test ! -s conftest.err'
13583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13584 (eval $ac_try) 2>&5
13585 ac_status=$?
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); }; } &&
13588 { ac_try='test -s conftest$ac_exeext'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13591 ac_status=$?
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; }; then
13594 ac_cv_lib_m_cosh=yes
13595 else
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.$ac_ext >&5
13599 ac_cv_lib_m_cosh=no
13601 rm -f conftest.err conftest.$ac_objext \
13602 conftest$ac_exeext conftest.$ac_ext
13603 LIBS=$ac_check_lib_save_LIBS
13605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13606 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13607 if test $ac_cv_lib_m_cosh = yes; then
13609 cat >>confdefs.h <<\_ACEOF
13610 #define HAVE_COSH 1
13611 _ACEOF
13615 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13616 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13617 if test "${ac_cv_lib_m_coshl+set}" = set; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 else
13620 ac_check_lib_save_LIBS=$LIBS
13621 LIBS="-lm $LIBS"
13622 if test x$gcc_no_link = xyes; then
13623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13625 { (exit 1); exit 1; }; }
13627 cat >conftest.$ac_ext <<_ACEOF
13628 /* confdefs.h. */
13629 _ACEOF
13630 cat confdefs.h >>conftest.$ac_ext
13631 cat >>conftest.$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13634 /* Override any gcc2 internal prototype to avoid an error. */
13635 #ifdef __cplusplus
13636 extern "C"
13637 #endif
13638 /* We use char because int might match the return type of a gcc2
13639 builtin and then its argument prototype would still apply. */
13640 char coshl ();
13642 main ()
13644 coshl ();
13646 return 0;
13648 _ACEOF
13649 rm -f conftest.$ac_objext conftest$ac_exeext
13650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13651 (eval $ac_link) 2>conftest.er1
13652 ac_status=$?
13653 grep -v '^ *+' conftest.er1 >conftest.err
13654 rm -f conftest.er1
13655 cat conftest.err >&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); } &&
13658 { ac_try='test -z "$ac_c_werror_flag"
13659 || test ! -s conftest.err'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; } &&
13665 { ac_try='test -s conftest$ac_exeext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13668 ac_status=$?
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 ac_cv_lib_m_coshl=yes
13672 else
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.$ac_ext >&5
13676 ac_cv_lib_m_coshl=no
13678 rm -f conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 LIBS=$ac_check_lib_save_LIBS
13682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13683 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13684 if test $ac_cv_lib_m_coshl = yes; then
13686 cat >>confdefs.h <<\_ACEOF
13687 #define HAVE_COSHL 1
13688 _ACEOF
13692 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13693 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13694 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 else
13697 ac_check_lib_save_LIBS=$LIBS
13698 LIBS="-lm $LIBS"
13699 if test x$gcc_no_link = xyes; then
13700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13702 { (exit 1); exit 1; }; }
13704 cat >conftest.$ac_ext <<_ACEOF
13705 /* confdefs.h. */
13706 _ACEOF
13707 cat confdefs.h >>conftest.$ac_ext
13708 cat >>conftest.$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13711 /* Override any gcc2 internal prototype to avoid an error. */
13712 #ifdef __cplusplus
13713 extern "C"
13714 #endif
13715 /* We use char because int might match the return type of a gcc2
13716 builtin and then its argument prototype would still apply. */
13717 char ccoshf ();
13719 main ()
13721 ccoshf ();
13723 return 0;
13725 _ACEOF
13726 rm -f conftest.$ac_objext conftest$ac_exeext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13728 (eval $ac_link) 2>conftest.er1
13729 ac_status=$?
13730 grep -v '^ *+' conftest.er1 >conftest.err
13731 rm -f conftest.er1
13732 cat conftest.err >&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } &&
13735 { ac_try='test -z "$ac_c_werror_flag"
13736 || test ! -s conftest.err'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13739 ac_status=$?
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; } &&
13742 { ac_try='test -s conftest$ac_exeext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_cv_lib_m_ccoshf=yes
13749 else
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.$ac_ext >&5
13753 ac_cv_lib_m_ccoshf=no
13755 rm -f conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 LIBS=$ac_check_lib_save_LIBS
13759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13760 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13761 if test $ac_cv_lib_m_ccoshf = yes; then
13763 cat >>confdefs.h <<\_ACEOF
13764 #define HAVE_CCOSHF 1
13765 _ACEOF
13769 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13770 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13771 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 else
13774 ac_check_lib_save_LIBS=$LIBS
13775 LIBS="-lm $LIBS"
13776 if test x$gcc_no_link = xyes; then
13777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13779 { (exit 1); exit 1; }; }
13781 cat >conftest.$ac_ext <<_ACEOF
13782 /* confdefs.h. */
13783 _ACEOF
13784 cat confdefs.h >>conftest.$ac_ext
13785 cat >>conftest.$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13788 /* Override any gcc2 internal prototype to avoid an error. */
13789 #ifdef __cplusplus
13790 extern "C"
13791 #endif
13792 /* We use char because int might match the return type of a gcc2
13793 builtin and then its argument prototype would still apply. */
13794 char ccosh ();
13796 main ()
13798 ccosh ();
13800 return 0;
13802 _ACEOF
13803 rm -f conftest.$ac_objext conftest$ac_exeext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13805 (eval $ac_link) 2>conftest.er1
13806 ac_status=$?
13807 grep -v '^ *+' conftest.er1 >conftest.err
13808 rm -f conftest.er1
13809 cat conftest.err >&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try='test -z "$ac_c_werror_flag"
13813 || test ! -s conftest.err'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13816 ac_status=$?
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; } &&
13819 { ac_try='test -s conftest$ac_exeext'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13822 ac_status=$?
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; }; then
13825 ac_cv_lib_m_ccosh=yes
13826 else
13827 echo "$as_me: failed program was:" >&5
13828 sed 's/^/| /' conftest.$ac_ext >&5
13830 ac_cv_lib_m_ccosh=no
13832 rm -f conftest.err conftest.$ac_objext \
13833 conftest$ac_exeext conftest.$ac_ext
13834 LIBS=$ac_check_lib_save_LIBS
13836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13837 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13838 if test $ac_cv_lib_m_ccosh = yes; then
13840 cat >>confdefs.h <<\_ACEOF
13841 #define HAVE_CCOSH 1
13842 _ACEOF
13846 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13847 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13848 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 else
13851 ac_check_lib_save_LIBS=$LIBS
13852 LIBS="-lm $LIBS"
13853 if test x$gcc_no_link = xyes; then
13854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13856 { (exit 1); exit 1; }; }
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13865 /* Override any gcc2 internal prototype to avoid an error. */
13866 #ifdef __cplusplus
13867 extern "C"
13868 #endif
13869 /* We use char because int might match the return type of a gcc2
13870 builtin and then its argument prototype would still apply. */
13871 char ccoshl ();
13873 main ()
13875 ccoshl ();
13877 return 0;
13879 _ACEOF
13880 rm -f conftest.$ac_objext conftest$ac_exeext
13881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13882 (eval $ac_link) 2>conftest.er1
13883 ac_status=$?
13884 grep -v '^ *+' conftest.er1 >conftest.err
13885 rm -f conftest.er1
13886 cat conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); } &&
13889 { ac_try='test -z "$ac_c_werror_flag"
13890 || test ! -s conftest.err'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; } &&
13896 { ac_try='test -s conftest$ac_exeext'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13899 ac_status=$?
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; }; then
13902 ac_cv_lib_m_ccoshl=yes
13903 else
13904 echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.$ac_ext >&5
13907 ac_cv_lib_m_ccoshl=no
13909 rm -f conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 LIBS=$ac_check_lib_save_LIBS
13913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13914 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13915 if test $ac_cv_lib_m_ccoshl = yes; then
13917 cat >>confdefs.h <<\_ACEOF
13918 #define HAVE_CCOSHL 1
13919 _ACEOF
13923 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13924 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13925 if test "${ac_cv_lib_m_expf+set}" = set; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13927 else
13928 ac_check_lib_save_LIBS=$LIBS
13929 LIBS="-lm $LIBS"
13930 if test x$gcc_no_link = xyes; then
13931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13933 { (exit 1); exit 1; }; }
13935 cat >conftest.$ac_ext <<_ACEOF
13936 /* confdefs.h. */
13937 _ACEOF
13938 cat confdefs.h >>conftest.$ac_ext
13939 cat >>conftest.$ac_ext <<_ACEOF
13940 /* end confdefs.h. */
13942 /* Override any gcc2 internal prototype to avoid an error. */
13943 #ifdef __cplusplus
13944 extern "C"
13945 #endif
13946 /* We use char because int might match the return type of a gcc2
13947 builtin and then its argument prototype would still apply. */
13948 char expf ();
13950 main ()
13952 expf ();
13954 return 0;
13956 _ACEOF
13957 rm -f conftest.$ac_objext conftest$ac_exeext
13958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13959 (eval $ac_link) 2>conftest.er1
13960 ac_status=$?
13961 grep -v '^ *+' conftest.er1 >conftest.err
13962 rm -f conftest.er1
13963 cat conftest.err >&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); } &&
13966 { ac_try='test -z "$ac_c_werror_flag"
13967 || test ! -s conftest.err'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13970 ac_status=$?
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; } &&
13973 { ac_try='test -s conftest$ac_exeext'
13974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13975 (eval $ac_try) 2>&5
13976 ac_status=$?
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }; }; then
13979 ac_cv_lib_m_expf=yes
13980 else
13981 echo "$as_me: failed program was:" >&5
13982 sed 's/^/| /' conftest.$ac_ext >&5
13984 ac_cv_lib_m_expf=no
13986 rm -f conftest.err conftest.$ac_objext \
13987 conftest$ac_exeext conftest.$ac_ext
13988 LIBS=$ac_check_lib_save_LIBS
13990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13991 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13992 if test $ac_cv_lib_m_expf = yes; then
13994 cat >>confdefs.h <<\_ACEOF
13995 #define HAVE_EXPF 1
13996 _ACEOF
14000 echo "$as_me:$LINENO: checking for exp in -lm" >&5
14001 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
14002 if test "${ac_cv_lib_m_exp+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 else
14005 ac_check_lib_save_LIBS=$LIBS
14006 LIBS="-lm $LIBS"
14007 if test x$gcc_no_link = xyes; then
14008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14010 { (exit 1); exit 1; }; }
14012 cat >conftest.$ac_ext <<_ACEOF
14013 /* confdefs.h. */
14014 _ACEOF
14015 cat confdefs.h >>conftest.$ac_ext
14016 cat >>conftest.$ac_ext <<_ACEOF
14017 /* end confdefs.h. */
14019 /* Override any gcc2 internal prototype to avoid an error. */
14020 #ifdef __cplusplus
14021 extern "C"
14022 #endif
14023 /* We use char because int might match the return type of a gcc2
14024 builtin and then its argument prototype would still apply. */
14025 char exp ();
14027 main ()
14029 exp ();
14031 return 0;
14033 _ACEOF
14034 rm -f conftest.$ac_objext conftest$ac_exeext
14035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14036 (eval $ac_link) 2>conftest.er1
14037 ac_status=$?
14038 grep -v '^ *+' conftest.er1 >conftest.err
14039 rm -f conftest.er1
14040 cat conftest.err >&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); } &&
14043 { ac_try='test -z "$ac_c_werror_flag"
14044 || test ! -s conftest.err'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; } &&
14050 { ac_try='test -s conftest$ac_exeext'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14053 ac_status=$?
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; }; then
14056 ac_cv_lib_m_exp=yes
14057 else
14058 echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.$ac_ext >&5
14061 ac_cv_lib_m_exp=no
14063 rm -f conftest.err conftest.$ac_objext \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_lib_save_LIBS
14067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14068 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14069 if test $ac_cv_lib_m_exp = yes; then
14071 cat >>confdefs.h <<\_ACEOF
14072 #define HAVE_EXP 1
14073 _ACEOF
14077 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14078 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14079 if test "${ac_cv_lib_m_expl+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 else
14082 ac_check_lib_save_LIBS=$LIBS
14083 LIBS="-lm $LIBS"
14084 if test x$gcc_no_link = xyes; then
14085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14087 { (exit 1); exit 1; }; }
14089 cat >conftest.$ac_ext <<_ACEOF
14090 /* confdefs.h. */
14091 _ACEOF
14092 cat confdefs.h >>conftest.$ac_ext
14093 cat >>conftest.$ac_ext <<_ACEOF
14094 /* end confdefs.h. */
14096 /* Override any gcc2 internal prototype to avoid an error. */
14097 #ifdef __cplusplus
14098 extern "C"
14099 #endif
14100 /* We use char because int might match the return type of a gcc2
14101 builtin and then its argument prototype would still apply. */
14102 char expl ();
14104 main ()
14106 expl ();
14108 return 0;
14110 _ACEOF
14111 rm -f conftest.$ac_objext conftest$ac_exeext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14113 (eval $ac_link) 2>conftest.er1
14114 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try='test -z "$ac_c_werror_flag"
14121 || test ! -s conftest.err'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; } &&
14127 { ac_try='test -s conftest$ac_exeext'
14128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14129 (eval $ac_try) 2>&5
14130 ac_status=$?
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); }; }; then
14133 ac_cv_lib_m_expl=yes
14134 else
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.$ac_ext >&5
14138 ac_cv_lib_m_expl=no
14140 rm -f conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 LIBS=$ac_check_lib_save_LIBS
14144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14145 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14146 if test $ac_cv_lib_m_expl = yes; then
14148 cat >>confdefs.h <<\_ACEOF
14149 #define HAVE_EXPL 1
14150 _ACEOF
14154 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14155 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14156 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 else
14159 ac_check_lib_save_LIBS=$LIBS
14160 LIBS="-lm $LIBS"
14161 if test x$gcc_no_link = xyes; then
14162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14164 { (exit 1); exit 1; }; }
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14173 /* Override any gcc2 internal prototype to avoid an error. */
14174 #ifdef __cplusplus
14175 extern "C"
14176 #endif
14177 /* We use char because int might match the return type of a gcc2
14178 builtin and then its argument prototype would still apply. */
14179 char cexpf ();
14181 main ()
14183 cexpf ();
14185 return 0;
14187 _ACEOF
14188 rm -f conftest.$ac_objext conftest$ac_exeext
14189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14190 (eval $ac_link) 2>conftest.er1
14191 ac_status=$?
14192 grep -v '^ *+' conftest.er1 >conftest.err
14193 rm -f conftest.er1
14194 cat conftest.err >&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } &&
14197 { ac_try='test -z "$ac_c_werror_flag"
14198 || test ! -s conftest.err'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; } &&
14204 { ac_try='test -s conftest$ac_exeext'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14207 ac_status=$?
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; }; then
14210 ac_cv_lib_m_cexpf=yes
14211 else
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.$ac_ext >&5
14215 ac_cv_lib_m_cexpf=no
14217 rm -f conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_lib_save_LIBS
14221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14222 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14223 if test $ac_cv_lib_m_cexpf = yes; then
14225 cat >>confdefs.h <<\_ACEOF
14226 #define HAVE_CEXPF 1
14227 _ACEOF
14231 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14232 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14233 if test "${ac_cv_lib_m_cexp+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 else
14236 ac_check_lib_save_LIBS=$LIBS
14237 LIBS="-lm $LIBS"
14238 if test x$gcc_no_link = xyes; then
14239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14241 { (exit 1); exit 1; }; }
14243 cat >conftest.$ac_ext <<_ACEOF
14244 /* confdefs.h. */
14245 _ACEOF
14246 cat confdefs.h >>conftest.$ac_ext
14247 cat >>conftest.$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14250 /* Override any gcc2 internal prototype to avoid an error. */
14251 #ifdef __cplusplus
14252 extern "C"
14253 #endif
14254 /* We use char because int might match the return type of a gcc2
14255 builtin and then its argument prototype would still apply. */
14256 char cexp ();
14258 main ()
14260 cexp ();
14262 return 0;
14264 _ACEOF
14265 rm -f conftest.$ac_objext conftest$ac_exeext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14267 (eval $ac_link) 2>conftest.er1
14268 ac_status=$?
14269 grep -v '^ *+' conftest.er1 >conftest.err
14270 rm -f conftest.er1
14271 cat conftest.err >&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try='test -z "$ac_c_werror_flag"
14275 || test ! -s conftest.err'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; } &&
14281 { ac_try='test -s conftest$ac_exeext'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14284 ac_status=$?
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 ac_cv_lib_m_cexp=yes
14288 else
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.$ac_ext >&5
14292 ac_cv_lib_m_cexp=no
14294 rm -f conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 LIBS=$ac_check_lib_save_LIBS
14298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14299 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14300 if test $ac_cv_lib_m_cexp = yes; then
14302 cat >>confdefs.h <<\_ACEOF
14303 #define HAVE_CEXP 1
14304 _ACEOF
14308 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14309 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14310 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 else
14313 ac_check_lib_save_LIBS=$LIBS
14314 LIBS="-lm $LIBS"
14315 if test x$gcc_no_link = xyes; then
14316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14318 { (exit 1); exit 1; }; }
14320 cat >conftest.$ac_ext <<_ACEOF
14321 /* confdefs.h. */
14322 _ACEOF
14323 cat confdefs.h >>conftest.$ac_ext
14324 cat >>conftest.$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14327 /* Override any gcc2 internal prototype to avoid an error. */
14328 #ifdef __cplusplus
14329 extern "C"
14330 #endif
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14333 char cexpl ();
14335 main ()
14337 cexpl ();
14339 return 0;
14341 _ACEOF
14342 rm -f conftest.$ac_objext conftest$ac_exeext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14344 (eval $ac_link) 2>conftest.er1
14345 ac_status=$?
14346 grep -v '^ *+' conftest.er1 >conftest.err
14347 rm -f conftest.er1
14348 cat conftest.err >&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } &&
14351 { ac_try='test -z "$ac_c_werror_flag"
14352 || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try='test -s conftest$ac_exeext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14361 ac_status=$?
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_lib_m_cexpl=yes
14365 else
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14369 ac_cv_lib_m_cexpl=no
14371 rm -f conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 LIBS=$ac_check_lib_save_LIBS
14375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14376 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14377 if test $ac_cv_lib_m_cexpl = yes; then
14379 cat >>confdefs.h <<\_ACEOF
14380 #define HAVE_CEXPL 1
14381 _ACEOF
14385 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14386 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14387 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14388 echo $ECHO_N "(cached) $ECHO_C" >&6
14389 else
14390 ac_check_lib_save_LIBS=$LIBS
14391 LIBS="-lm $LIBS"
14392 if test x$gcc_no_link = xyes; then
14393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14395 { (exit 1); exit 1; }; }
14397 cat >conftest.$ac_ext <<_ACEOF
14398 /* confdefs.h. */
14399 _ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14404 /* Override any gcc2 internal prototype to avoid an error. */
14405 #ifdef __cplusplus
14406 extern "C"
14407 #endif
14408 /* We use char because int might match the return type of a gcc2
14409 builtin and then its argument prototype would still apply. */
14410 char fabsf ();
14412 main ()
14414 fabsf ();
14416 return 0;
14418 _ACEOF
14419 rm -f conftest.$ac_objext conftest$ac_exeext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14421 (eval $ac_link) 2>conftest.er1
14422 ac_status=$?
14423 grep -v '^ *+' conftest.er1 >conftest.err
14424 rm -f conftest.er1
14425 cat conftest.err >&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try='test -z "$ac_c_werror_flag"
14429 || test ! -s conftest.err'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; } &&
14435 { ac_try='test -s conftest$ac_exeext'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14438 ac_status=$?
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14441 ac_cv_lib_m_fabsf=yes
14442 else
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.$ac_ext >&5
14446 ac_cv_lib_m_fabsf=no
14448 rm -f conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 LIBS=$ac_check_lib_save_LIBS
14452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14453 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14454 if test $ac_cv_lib_m_fabsf = yes; then
14456 cat >>confdefs.h <<\_ACEOF
14457 #define HAVE_FABSF 1
14458 _ACEOF
14462 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14463 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14464 if test "${ac_cv_lib_m_fabs+set}" = set; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 else
14467 ac_check_lib_save_LIBS=$LIBS
14468 LIBS="-lm $LIBS"
14469 if test x$gcc_no_link = xyes; then
14470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14472 { (exit 1); exit 1; }; }
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14481 /* Override any gcc2 internal prototype to avoid an error. */
14482 #ifdef __cplusplus
14483 extern "C"
14484 #endif
14485 /* We use char because int might match the return type of a gcc2
14486 builtin and then its argument prototype would still apply. */
14487 char fabs ();
14489 main ()
14491 fabs ();
14493 return 0;
14495 _ACEOF
14496 rm -f conftest.$ac_objext conftest$ac_exeext
14497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14498 (eval $ac_link) 2>conftest.er1
14499 ac_status=$?
14500 grep -v '^ *+' conftest.er1 >conftest.err
14501 rm -f conftest.er1
14502 cat conftest.err >&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -z "$ac_c_werror_flag"
14506 || test ! -s conftest.err'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; } &&
14512 { ac_try='test -s conftest$ac_exeext'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; }; then
14518 ac_cv_lib_m_fabs=yes
14519 else
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.$ac_ext >&5
14523 ac_cv_lib_m_fabs=no
14525 rm -f conftest.err conftest.$ac_objext \
14526 conftest$ac_exeext conftest.$ac_ext
14527 LIBS=$ac_check_lib_save_LIBS
14529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14530 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14531 if test $ac_cv_lib_m_fabs = yes; then
14533 cat >>confdefs.h <<\_ACEOF
14534 #define HAVE_FABS 1
14535 _ACEOF
14539 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14540 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14541 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544 ac_check_lib_save_LIBS=$LIBS
14545 LIBS="-lm $LIBS"
14546 if test x$gcc_no_link = xyes; then
14547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14549 { (exit 1); exit 1; }; }
14551 cat >conftest.$ac_ext <<_ACEOF
14552 /* confdefs.h. */
14553 _ACEOF
14554 cat confdefs.h >>conftest.$ac_ext
14555 cat >>conftest.$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14558 /* Override any gcc2 internal prototype to avoid an error. */
14559 #ifdef __cplusplus
14560 extern "C"
14561 #endif
14562 /* We use char because int might match the return type of a gcc2
14563 builtin and then its argument prototype would still apply. */
14564 char fabsl ();
14566 main ()
14568 fabsl ();
14570 return 0;
14572 _ACEOF
14573 rm -f conftest.$ac_objext conftest$ac_exeext
14574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14575 (eval $ac_link) 2>conftest.er1
14576 ac_status=$?
14577 grep -v '^ *+' conftest.er1 >conftest.err
14578 rm -f conftest.er1
14579 cat conftest.err >&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } &&
14582 { ac_try='test -z "$ac_c_werror_flag"
14583 || test ! -s conftest.err'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14586 ac_status=$?
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; } &&
14589 { ac_try='test -s conftest$ac_exeext'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; }; then
14595 ac_cv_lib_m_fabsl=yes
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14600 ac_cv_lib_m_fabsl=no
14602 rm -f conftest.err conftest.$ac_objext \
14603 conftest$ac_exeext conftest.$ac_ext
14604 LIBS=$ac_check_lib_save_LIBS
14606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14607 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14608 if test $ac_cv_lib_m_fabsl = yes; then
14610 cat >>confdefs.h <<\_ACEOF
14611 #define HAVE_FABSL 1
14612 _ACEOF
14616 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14617 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14618 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14620 else
14621 ac_check_lib_save_LIBS=$LIBS
14622 LIBS="-lm $LIBS"
14623 if test x$gcc_no_link = xyes; then
14624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14626 { (exit 1); exit 1; }; }
14628 cat >conftest.$ac_ext <<_ACEOF
14629 /* confdefs.h. */
14630 _ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14635 /* Override any gcc2 internal prototype to avoid an error. */
14636 #ifdef __cplusplus
14637 extern "C"
14638 #endif
14639 /* We use char because int might match the return type of a gcc2
14640 builtin and then its argument prototype would still apply. */
14641 char cabsf ();
14643 main ()
14645 cabsf ();
14647 return 0;
14649 _ACEOF
14650 rm -f conftest.$ac_objext conftest$ac_exeext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14652 (eval $ac_link) 2>conftest.er1
14653 ac_status=$?
14654 grep -v '^ *+' conftest.er1 >conftest.err
14655 rm -f conftest.er1
14656 cat conftest.err >&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try='test -z "$ac_c_werror_flag"
14660 || test ! -s conftest.err'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14663 ac_status=$?
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; } &&
14666 { ac_try='test -s conftest$ac_exeext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 ac_cv_lib_m_cabsf=yes
14673 else
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.$ac_ext >&5
14677 ac_cv_lib_m_cabsf=no
14679 rm -f conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14681 LIBS=$ac_check_lib_save_LIBS
14683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14684 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14685 if test $ac_cv_lib_m_cabsf = yes; then
14687 cat >>confdefs.h <<\_ACEOF
14688 #define HAVE_CABSF 1
14689 _ACEOF
14693 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14694 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14695 if test "${ac_cv_lib_m_cabs+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 else
14698 ac_check_lib_save_LIBS=$LIBS
14699 LIBS="-lm $LIBS"
14700 if test x$gcc_no_link = xyes; then
14701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14703 { (exit 1); exit 1; }; }
14705 cat >conftest.$ac_ext <<_ACEOF
14706 /* confdefs.h. */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14712 /* Override any gcc2 internal prototype to avoid an error. */
14713 #ifdef __cplusplus
14714 extern "C"
14715 #endif
14716 /* We use char because int might match the return type of a gcc2
14717 builtin and then its argument prototype would still apply. */
14718 char cabs ();
14720 main ()
14722 cabs ();
14724 return 0;
14726 _ACEOF
14727 rm -f conftest.$ac_objext conftest$ac_exeext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14729 (eval $ac_link) 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_c_werror_flag"
14737 || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_cv_lib_m_cabs=yes
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 ac_cv_lib_m_cabs=no
14756 rm -f conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 LIBS=$ac_check_lib_save_LIBS
14760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14761 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14762 if test $ac_cv_lib_m_cabs = yes; then
14764 cat >>confdefs.h <<\_ACEOF
14765 #define HAVE_CABS 1
14766 _ACEOF
14770 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14771 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14772 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 ac_check_lib_save_LIBS=$LIBS
14776 LIBS="-lm $LIBS"
14777 if test x$gcc_no_link = xyes; then
14778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14780 { (exit 1); exit 1; }; }
14782 cat >conftest.$ac_ext <<_ACEOF
14783 /* confdefs.h. */
14784 _ACEOF
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14789 /* Override any gcc2 internal prototype to avoid an error. */
14790 #ifdef __cplusplus
14791 extern "C"
14792 #endif
14793 /* We use char because int might match the return type of a gcc2
14794 builtin and then its argument prototype would still apply. */
14795 char cabsl ();
14797 main ()
14799 cabsl ();
14801 return 0;
14803 _ACEOF
14804 rm -f conftest.$ac_objext conftest$ac_exeext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14806 (eval $ac_link) 2>conftest.er1
14807 ac_status=$?
14808 grep -v '^ *+' conftest.er1 >conftest.err
14809 rm -f conftest.er1
14810 cat conftest.err >&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try='test -z "$ac_c_werror_flag"
14814 || test ! -s conftest.err'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; } &&
14820 { ac_try='test -s conftest$ac_exeext'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14823 ac_status=$?
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; }; then
14826 ac_cv_lib_m_cabsl=yes
14827 else
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.$ac_ext >&5
14831 ac_cv_lib_m_cabsl=no
14833 rm -f conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 LIBS=$ac_check_lib_save_LIBS
14837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14838 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14839 if test $ac_cv_lib_m_cabsl = yes; then
14841 cat >>confdefs.h <<\_ACEOF
14842 #define HAVE_CABSL 1
14843 _ACEOF
14847 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14848 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14849 if test "${ac_cv_lib_m_floorf+set}" = set; then
14850 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 else
14852 ac_check_lib_save_LIBS=$LIBS
14853 LIBS="-lm $LIBS"
14854 if test x$gcc_no_link = xyes; then
14855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14857 { (exit 1); exit 1; }; }
14859 cat >conftest.$ac_ext <<_ACEOF
14860 /* confdefs.h. */
14861 _ACEOF
14862 cat confdefs.h >>conftest.$ac_ext
14863 cat >>conftest.$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14866 /* Override any gcc2 internal prototype to avoid an error. */
14867 #ifdef __cplusplus
14868 extern "C"
14869 #endif
14870 /* We use char because int might match the return type of a gcc2
14871 builtin and then its argument prototype would still apply. */
14872 char floorf ();
14874 main ()
14876 floorf ();
14878 return 0;
14880 _ACEOF
14881 rm -f conftest.$ac_objext conftest$ac_exeext
14882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14883 (eval $ac_link) 2>conftest.er1
14884 ac_status=$?
14885 grep -v '^ *+' conftest.er1 >conftest.err
14886 rm -f conftest.er1
14887 cat conftest.err >&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } &&
14890 { ac_try='test -z "$ac_c_werror_flag"
14891 || test ! -s conftest.err'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; } &&
14897 { ac_try='test -s conftest$ac_exeext'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14900 ac_status=$?
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; }; then
14903 ac_cv_lib_m_floorf=yes
14904 else
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14908 ac_cv_lib_m_floorf=no
14910 rm -f conftest.err conftest.$ac_objext \
14911 conftest$ac_exeext conftest.$ac_ext
14912 LIBS=$ac_check_lib_save_LIBS
14914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14915 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14916 if test $ac_cv_lib_m_floorf = yes; then
14918 cat >>confdefs.h <<\_ACEOF
14919 #define HAVE_FLOORF 1
14920 _ACEOF
14924 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14925 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14926 if test "${ac_cv_lib_m_floor+set}" = set; then
14927 echo $ECHO_N "(cached) $ECHO_C" >&6
14928 else
14929 ac_check_lib_save_LIBS=$LIBS
14930 LIBS="-lm $LIBS"
14931 if test x$gcc_no_link = xyes; then
14932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14934 { (exit 1); exit 1; }; }
14936 cat >conftest.$ac_ext <<_ACEOF
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14943 /* Override any gcc2 internal prototype to avoid an error. */
14944 #ifdef __cplusplus
14945 extern "C"
14946 #endif
14947 /* We use char because int might match the return type of a gcc2
14948 builtin and then its argument prototype would still apply. */
14949 char floor ();
14951 main ()
14953 floor ();
14955 return 0;
14957 _ACEOF
14958 rm -f conftest.$ac_objext conftest$ac_exeext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14960 (eval $ac_link) 2>conftest.er1
14961 ac_status=$?
14962 grep -v '^ *+' conftest.er1 >conftest.err
14963 rm -f conftest.er1
14964 cat conftest.err >&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -z "$ac_c_werror_flag"
14968 || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try='test -s conftest$ac_exeext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_cv_lib_m_floor=yes
14981 else
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14985 ac_cv_lib_m_floor=no
14987 rm -f conftest.err conftest.$ac_objext \
14988 conftest$ac_exeext conftest.$ac_ext
14989 LIBS=$ac_check_lib_save_LIBS
14991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14992 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14993 if test $ac_cv_lib_m_floor = yes; then
14995 cat >>confdefs.h <<\_ACEOF
14996 #define HAVE_FLOOR 1
14997 _ACEOF
15001 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
15002 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
15003 if test "${ac_cv_lib_m_floorl+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 ac_check_lib_save_LIBS=$LIBS
15007 LIBS="-lm $LIBS"
15008 if test x$gcc_no_link = xyes; then
15009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15011 { (exit 1); exit 1; }; }
15013 cat >conftest.$ac_ext <<_ACEOF
15014 /* confdefs.h. */
15015 _ACEOF
15016 cat confdefs.h >>conftest.$ac_ext
15017 cat >>conftest.$ac_ext <<_ACEOF
15018 /* end confdefs.h. */
15020 /* Override any gcc2 internal prototype to avoid an error. */
15021 #ifdef __cplusplus
15022 extern "C"
15023 #endif
15024 /* We use char because int might match the return type of a gcc2
15025 builtin and then its argument prototype would still apply. */
15026 char floorl ();
15028 main ()
15030 floorl ();
15032 return 0;
15034 _ACEOF
15035 rm -f conftest.$ac_objext conftest$ac_exeext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15037 (eval $ac_link) 2>conftest.er1
15038 ac_status=$?
15039 grep -v '^ *+' conftest.er1 >conftest.err
15040 rm -f conftest.er1
15041 cat conftest.err >&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try='test -z "$ac_c_werror_flag"
15045 || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try='test -s conftest$ac_exeext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15054 ac_status=$?
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 ac_cv_lib_m_floorl=yes
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15062 ac_cv_lib_m_floorl=no
15064 rm -f conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 LIBS=$ac_check_lib_save_LIBS
15068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15069 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15070 if test $ac_cv_lib_m_floorl = yes; then
15072 cat >>confdefs.h <<\_ACEOF
15073 #define HAVE_FLOORL 1
15074 _ACEOF
15078 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15079 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15080 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 ac_check_lib_save_LIBS=$LIBS
15084 LIBS="-lm $LIBS"
15085 if test x$gcc_no_link = xyes; then
15086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15088 { (exit 1); exit 1; }; }
15090 cat >conftest.$ac_ext <<_ACEOF
15091 /* confdefs.h. */
15092 _ACEOF
15093 cat confdefs.h >>conftest.$ac_ext
15094 cat >>conftest.$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15097 /* Override any gcc2 internal prototype to avoid an error. */
15098 #ifdef __cplusplus
15099 extern "C"
15100 #endif
15101 /* We use char because int might match the return type of a gcc2
15102 builtin and then its argument prototype would still apply. */
15103 char frexpf ();
15105 main ()
15107 frexpf ();
15109 return 0;
15111 _ACEOF
15112 rm -f conftest.$ac_objext conftest$ac_exeext
15113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15114 (eval $ac_link) 2>conftest.er1
15115 ac_status=$?
15116 grep -v '^ *+' conftest.er1 >conftest.err
15117 rm -f conftest.er1
15118 cat conftest.err >&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); } &&
15121 { ac_try='test -z "$ac_c_werror_flag"
15122 || test ! -s conftest.err'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15125 ac_status=$?
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; } &&
15128 { ac_try='test -s conftest$ac_exeext'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15131 ac_status=$?
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; }; then
15134 ac_cv_lib_m_frexpf=yes
15135 else
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.$ac_ext >&5
15139 ac_cv_lib_m_frexpf=no
15141 rm -f conftest.err conftest.$ac_objext \
15142 conftest$ac_exeext conftest.$ac_ext
15143 LIBS=$ac_check_lib_save_LIBS
15145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15146 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15147 if test $ac_cv_lib_m_frexpf = yes; then
15149 cat >>confdefs.h <<\_ACEOF
15150 #define HAVE_FREXPF 1
15151 _ACEOF
15155 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15156 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15157 if test "${ac_cv_lib_m_frexp+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 else
15160 ac_check_lib_save_LIBS=$LIBS
15161 LIBS="-lm $LIBS"
15162 if test x$gcc_no_link = xyes; then
15163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15165 { (exit 1); exit 1; }; }
15167 cat >conftest.$ac_ext <<_ACEOF
15168 /* confdefs.h. */
15169 _ACEOF
15170 cat confdefs.h >>conftest.$ac_ext
15171 cat >>conftest.$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any gcc2 internal prototype to avoid an error. */
15175 #ifdef __cplusplus
15176 extern "C"
15177 #endif
15178 /* We use char because int might match the return type of a gcc2
15179 builtin and then its argument prototype would still apply. */
15180 char frexp ();
15182 main ()
15184 frexp ();
15186 return 0;
15188 _ACEOF
15189 rm -f conftest.$ac_objext conftest$ac_exeext
15190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15191 (eval $ac_link) 2>conftest.er1
15192 ac_status=$?
15193 grep -v '^ *+' conftest.er1 >conftest.err
15194 rm -f conftest.er1
15195 cat conftest.err >&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); } &&
15198 { ac_try='test -z "$ac_c_werror_flag"
15199 || test ! -s conftest.err'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; } &&
15205 { ac_try='test -s conftest$ac_exeext'
15206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207 (eval $ac_try) 2>&5
15208 ac_status=$?
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); }; }; then
15211 ac_cv_lib_m_frexp=yes
15212 else
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15216 ac_cv_lib_m_frexp=no
15218 rm -f conftest.err conftest.$ac_objext \
15219 conftest$ac_exeext conftest.$ac_ext
15220 LIBS=$ac_check_lib_save_LIBS
15222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15223 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15224 if test $ac_cv_lib_m_frexp = yes; then
15226 cat >>confdefs.h <<\_ACEOF
15227 #define HAVE_FREXP 1
15228 _ACEOF
15232 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15233 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15234 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 else
15237 ac_check_lib_save_LIBS=$LIBS
15238 LIBS="-lm $LIBS"
15239 if test x$gcc_no_link = xyes; then
15240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15242 { (exit 1); exit 1; }; }
15244 cat >conftest.$ac_ext <<_ACEOF
15245 /* confdefs.h. */
15246 _ACEOF
15247 cat confdefs.h >>conftest.$ac_ext
15248 cat >>conftest.$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15251 /* Override any gcc2 internal prototype to avoid an error. */
15252 #ifdef __cplusplus
15253 extern "C"
15254 #endif
15255 /* We use char because int might match the return type of a gcc2
15256 builtin and then its argument prototype would still apply. */
15257 char frexpl ();
15259 main ()
15261 frexpl ();
15263 return 0;
15265 _ACEOF
15266 rm -f conftest.$ac_objext conftest$ac_exeext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15268 (eval $ac_link) 2>conftest.er1
15269 ac_status=$?
15270 grep -v '^ *+' conftest.er1 >conftest.err
15271 rm -f conftest.er1
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } &&
15275 { ac_try='test -z "$ac_c_werror_flag"
15276 || test ! -s conftest.err'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15279 ac_status=$?
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; } &&
15282 { ac_try='test -s conftest$ac_exeext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15285 ac_status=$?
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15288 ac_cv_lib_m_frexpl=yes
15289 else
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15293 ac_cv_lib_m_frexpl=no
15295 rm -f conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext conftest.$ac_ext
15297 LIBS=$ac_check_lib_save_LIBS
15299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15300 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15301 if test $ac_cv_lib_m_frexpl = yes; then
15303 cat >>confdefs.h <<\_ACEOF
15304 #define HAVE_FREXPL 1
15305 _ACEOF
15309 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15310 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15311 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 else
15314 ac_check_lib_save_LIBS=$LIBS
15315 LIBS="-lm $LIBS"
15316 if test x$gcc_no_link = xyes; then
15317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15319 { (exit 1); exit 1; }; }
15321 cat >conftest.$ac_ext <<_ACEOF
15322 /* confdefs.h. */
15323 _ACEOF
15324 cat confdefs.h >>conftest.$ac_ext
15325 cat >>conftest.$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15328 /* Override any gcc2 internal prototype to avoid an error. */
15329 #ifdef __cplusplus
15330 extern "C"
15331 #endif
15332 /* We use char because int might match the return type of a gcc2
15333 builtin and then its argument prototype would still apply. */
15334 char hypotf ();
15336 main ()
15338 hypotf ();
15340 return 0;
15342 _ACEOF
15343 rm -f conftest.$ac_objext conftest$ac_exeext
15344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15345 (eval $ac_link) 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try='test -z "$ac_c_werror_flag"
15353 || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15356 ac_status=$?
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try='test -s conftest$ac_exeext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15362 ac_status=$?
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 ac_cv_lib_m_hypotf=yes
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15370 ac_cv_lib_m_hypotf=no
15372 rm -f conftest.err conftest.$ac_objext \
15373 conftest$ac_exeext conftest.$ac_ext
15374 LIBS=$ac_check_lib_save_LIBS
15376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15377 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15378 if test $ac_cv_lib_m_hypotf = yes; then
15380 cat >>confdefs.h <<\_ACEOF
15381 #define HAVE_HYPOTF 1
15382 _ACEOF
15386 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15387 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15388 if test "${ac_cv_lib_m_hypot+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15390 else
15391 ac_check_lib_save_LIBS=$LIBS
15392 LIBS="-lm $LIBS"
15393 if test x$gcc_no_link = xyes; then
15394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15396 { (exit 1); exit 1; }; }
15398 cat >conftest.$ac_ext <<_ACEOF
15399 /* confdefs.h. */
15400 _ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15405 /* Override any gcc2 internal prototype to avoid an error. */
15406 #ifdef __cplusplus
15407 extern "C"
15408 #endif
15409 /* We use char because int might match the return type of a gcc2
15410 builtin and then its argument prototype would still apply. */
15411 char hypot ();
15413 main ()
15415 hypot ();
15417 return 0;
15419 _ACEOF
15420 rm -f conftest.$ac_objext conftest$ac_exeext
15421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15422 (eval $ac_link) 2>conftest.er1
15423 ac_status=$?
15424 grep -v '^ *+' conftest.er1 >conftest.err
15425 rm -f conftest.er1
15426 cat conftest.err >&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } &&
15429 { ac_try='test -z "$ac_c_werror_flag"
15430 || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15433 ac_status=$?
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try='test -s conftest$ac_exeext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15439 ac_status=$?
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_cv_lib_m_hypot=yes
15443 else
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.$ac_ext >&5
15447 ac_cv_lib_m_hypot=no
15449 rm -f conftest.err conftest.$ac_objext \
15450 conftest$ac_exeext conftest.$ac_ext
15451 LIBS=$ac_check_lib_save_LIBS
15453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15454 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15455 if test $ac_cv_lib_m_hypot = yes; then
15457 cat >>confdefs.h <<\_ACEOF
15458 #define HAVE_HYPOT 1
15459 _ACEOF
15463 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15464 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15465 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 else
15468 ac_check_lib_save_LIBS=$LIBS
15469 LIBS="-lm $LIBS"
15470 if test x$gcc_no_link = xyes; then
15471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15473 { (exit 1); exit 1; }; }
15475 cat >conftest.$ac_ext <<_ACEOF
15476 /* confdefs.h. */
15477 _ACEOF
15478 cat confdefs.h >>conftest.$ac_ext
15479 cat >>conftest.$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15482 /* Override any gcc2 internal prototype to avoid an error. */
15483 #ifdef __cplusplus
15484 extern "C"
15485 #endif
15486 /* We use char because int might match the return type of a gcc2
15487 builtin and then its argument prototype would still apply. */
15488 char hypotl ();
15490 main ()
15492 hypotl ();
15494 return 0;
15496 _ACEOF
15497 rm -f conftest.$ac_objext conftest$ac_exeext
15498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15499 (eval $ac_link) 2>conftest.er1
15500 ac_status=$?
15501 grep -v '^ *+' conftest.er1 >conftest.err
15502 rm -f conftest.er1
15503 cat conftest.err >&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } &&
15506 { ac_try='test -z "$ac_c_werror_flag"
15507 || test ! -s conftest.err'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15510 ac_status=$?
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; } &&
15513 { ac_try='test -s conftest$ac_exeext'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15516 ac_status=$?
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; }; then
15519 ac_cv_lib_m_hypotl=yes
15520 else
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.$ac_ext >&5
15524 ac_cv_lib_m_hypotl=no
15526 rm -f conftest.err conftest.$ac_objext \
15527 conftest$ac_exeext conftest.$ac_ext
15528 LIBS=$ac_check_lib_save_LIBS
15530 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15531 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15532 if test $ac_cv_lib_m_hypotl = yes; then
15534 cat >>confdefs.h <<\_ACEOF
15535 #define HAVE_HYPOTL 1
15536 _ACEOF
15540 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15541 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15542 if test "${ac_cv_lib_m_logf+set}" = set; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 else
15545 ac_check_lib_save_LIBS=$LIBS
15546 LIBS="-lm $LIBS"
15547 if test x$gcc_no_link = xyes; then
15548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15550 { (exit 1); exit 1; }; }
15552 cat >conftest.$ac_ext <<_ACEOF
15553 /* confdefs.h. */
15554 _ACEOF
15555 cat confdefs.h >>conftest.$ac_ext
15556 cat >>conftest.$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15559 /* Override any gcc2 internal prototype to avoid an error. */
15560 #ifdef __cplusplus
15561 extern "C"
15562 #endif
15563 /* We use char because int might match the return type of a gcc2
15564 builtin and then its argument prototype would still apply. */
15565 char logf ();
15567 main ()
15569 logf ();
15571 return 0;
15573 _ACEOF
15574 rm -f conftest.$ac_objext conftest$ac_exeext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15576 (eval $ac_link) 2>conftest.er1
15577 ac_status=$?
15578 grep -v '^ *+' conftest.er1 >conftest.err
15579 rm -f conftest.er1
15580 cat conftest.err >&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } &&
15583 { ac_try='test -z "$ac_c_werror_flag"
15584 || test ! -s conftest.err'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; } &&
15590 { ac_try='test -s conftest$ac_exeext'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15593 ac_status=$?
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 ac_cv_lib_m_logf=yes
15597 else
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.$ac_ext >&5
15601 ac_cv_lib_m_logf=no
15603 rm -f conftest.err conftest.$ac_objext \
15604 conftest$ac_exeext conftest.$ac_ext
15605 LIBS=$ac_check_lib_save_LIBS
15607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15608 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15609 if test $ac_cv_lib_m_logf = yes; then
15611 cat >>confdefs.h <<\_ACEOF
15612 #define HAVE_LOGF 1
15613 _ACEOF
15617 echo "$as_me:$LINENO: checking for log in -lm" >&5
15618 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15619 if test "${ac_cv_lib_m_log+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 else
15622 ac_check_lib_save_LIBS=$LIBS
15623 LIBS="-lm $LIBS"
15624 if test x$gcc_no_link = xyes; then
15625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15627 { (exit 1); exit 1; }; }
15629 cat >conftest.$ac_ext <<_ACEOF
15630 /* confdefs.h. */
15631 _ACEOF
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15636 /* Override any gcc2 internal prototype to avoid an error. */
15637 #ifdef __cplusplus
15638 extern "C"
15639 #endif
15640 /* We use char because int might match the return type of a gcc2
15641 builtin and then its argument prototype would still apply. */
15642 char log ();
15644 main ()
15646 log ();
15648 return 0;
15650 _ACEOF
15651 rm -f conftest.$ac_objext conftest$ac_exeext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15653 (eval $ac_link) 2>conftest.er1
15654 ac_status=$?
15655 grep -v '^ *+' conftest.er1 >conftest.err
15656 rm -f conftest.er1
15657 cat conftest.err >&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try='test -z "$ac_c_werror_flag"
15661 || test ! -s conftest.err'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; } &&
15667 { ac_try='test -s conftest$ac_exeext'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15670 ac_status=$?
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; }; then
15673 ac_cv_lib_m_log=yes
15674 else
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15678 ac_cv_lib_m_log=no
15680 rm -f conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext conftest.$ac_ext
15682 LIBS=$ac_check_lib_save_LIBS
15684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15685 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15686 if test $ac_cv_lib_m_log = yes; then
15688 cat >>confdefs.h <<\_ACEOF
15689 #define HAVE_LOG 1
15690 _ACEOF
15694 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15695 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15696 if test "${ac_cv_lib_m_logl+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699 ac_check_lib_save_LIBS=$LIBS
15700 LIBS="-lm $LIBS"
15701 if test x$gcc_no_link = xyes; then
15702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15704 { (exit 1); exit 1; }; }
15706 cat >conftest.$ac_ext <<_ACEOF
15707 /* confdefs.h. */
15708 _ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15713 /* Override any gcc2 internal prototype to avoid an error. */
15714 #ifdef __cplusplus
15715 extern "C"
15716 #endif
15717 /* We use char because int might match the return type of a gcc2
15718 builtin and then its argument prototype would still apply. */
15719 char logl ();
15721 main ()
15723 logl ();
15725 return 0;
15727 _ACEOF
15728 rm -f conftest.$ac_objext conftest$ac_exeext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15730 (eval $ac_link) 2>conftest.er1
15731 ac_status=$?
15732 grep -v '^ *+' conftest.er1 >conftest.err
15733 rm -f conftest.er1
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } &&
15737 { ac_try='test -z "$ac_c_werror_flag"
15738 || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try='test -s conftest$ac_exeext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 ac_cv_lib_m_logl=yes
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15755 ac_cv_lib_m_logl=no
15757 rm -f conftest.err conftest.$ac_objext \
15758 conftest$ac_exeext conftest.$ac_ext
15759 LIBS=$ac_check_lib_save_LIBS
15761 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
15762 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
15763 if test $ac_cv_lib_m_logl = yes; then
15765 cat >>confdefs.h <<\_ACEOF
15766 #define HAVE_LOGL 1
15767 _ACEOF
15771 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
15772 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
15773 if test "${ac_cv_lib_m_clogf+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 ac_check_lib_save_LIBS=$LIBS
15777 LIBS="-lm $LIBS"
15778 if test x$gcc_no_link = xyes; then
15779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15781 { (exit 1); exit 1; }; }
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h. */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15790 /* Override any gcc2 internal prototype to avoid an error. */
15791 #ifdef __cplusplus
15792 extern "C"
15793 #endif
15794 /* We use char because int might match the return type of a gcc2
15795 builtin and then its argument prototype would still apply. */
15796 char clogf ();
15798 main ()
15800 clogf ();
15802 return 0;
15804 _ACEOF
15805 rm -f conftest.$ac_objext conftest$ac_exeext
15806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15807 (eval $ac_link) 2>conftest.er1
15808 ac_status=$?
15809 grep -v '^ *+' conftest.er1 >conftest.err
15810 rm -f conftest.er1
15811 cat conftest.err >&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try='test -z "$ac_c_werror_flag"
15815 || test ! -s conftest.err'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15818 ac_status=$?
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; } &&
15821 { ac_try='test -s conftest$ac_exeext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_cv_lib_m_clogf=yes
15828 else
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.$ac_ext >&5
15832 ac_cv_lib_m_clogf=no
15834 rm -f conftest.err conftest.$ac_objext \
15835 conftest$ac_exeext conftest.$ac_ext
15836 LIBS=$ac_check_lib_save_LIBS
15838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
15839 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
15840 if test $ac_cv_lib_m_clogf = yes; then
15842 cat >>confdefs.h <<\_ACEOF
15843 #define HAVE_CLOGF 1
15844 _ACEOF
15848 echo "$as_me:$LINENO: checking for clog in -lm" >&5
15849 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
15850 if test "${ac_cv_lib_m_clog+set}" = set; then
15851 echo $ECHO_N "(cached) $ECHO_C" >&6
15852 else
15853 ac_check_lib_save_LIBS=$LIBS
15854 LIBS="-lm $LIBS"
15855 if test x$gcc_no_link = xyes; then
15856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15858 { (exit 1); exit 1; }; }
15860 cat >conftest.$ac_ext <<_ACEOF
15861 /* confdefs.h. */
15862 _ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15867 /* Override any gcc2 internal prototype to avoid an error. */
15868 #ifdef __cplusplus
15869 extern "C"
15870 #endif
15871 /* We use char because int might match the return type of a gcc2
15872 builtin and then its argument prototype would still apply. */
15873 char clog ();
15875 main ()
15877 clog ();
15879 return 0;
15881 _ACEOF
15882 rm -f conftest.$ac_objext conftest$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884 (eval $ac_link) 2>conftest.er1
15885 ac_status=$?
15886 grep -v '^ *+' conftest.er1 >conftest.err
15887 rm -f conftest.er1
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try='test -z "$ac_c_werror_flag"
15892 || test ! -s conftest.err'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; } &&
15898 { ac_try='test -s conftest$ac_exeext'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 ac_cv_lib_m_clog=yes
15905 else
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15909 ac_cv_lib_m_clog=no
15911 rm -f conftest.err conftest.$ac_objext \
15912 conftest$ac_exeext conftest.$ac_ext
15913 LIBS=$ac_check_lib_save_LIBS
15915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
15916 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
15917 if test $ac_cv_lib_m_clog = yes; then
15919 cat >>confdefs.h <<\_ACEOF
15920 #define HAVE_CLOG 1
15921 _ACEOF
15925 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
15926 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
15927 if test "${ac_cv_lib_m_clogl+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930 ac_check_lib_save_LIBS=$LIBS
15931 LIBS="-lm $LIBS"
15932 if test x$gcc_no_link = xyes; then
15933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15935 { (exit 1); exit 1; }; }
15937 cat >conftest.$ac_ext <<_ACEOF
15938 /* confdefs.h. */
15939 _ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15944 /* Override any gcc2 internal prototype to avoid an error. */
15945 #ifdef __cplusplus
15946 extern "C"
15947 #endif
15948 /* We use char because int might match the return type of a gcc2
15949 builtin and then its argument prototype would still apply. */
15950 char clogl ();
15952 main ()
15954 clogl ();
15956 return 0;
15958 _ACEOF
15959 rm -f conftest.$ac_objext conftest$ac_exeext
15960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15961 (eval $ac_link) 2>conftest.er1
15962 ac_status=$?
15963 grep -v '^ *+' conftest.er1 >conftest.err
15964 rm -f conftest.er1
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try='test -z "$ac_c_werror_flag"
15969 || test ! -s conftest.err'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; } &&
15975 { ac_try='test -s conftest$ac_exeext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15978 ac_status=$?
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 ac_cv_lib_m_clogl=yes
15982 else
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15986 ac_cv_lib_m_clogl=no
15988 rm -f conftest.err conftest.$ac_objext \
15989 conftest$ac_exeext conftest.$ac_ext
15990 LIBS=$ac_check_lib_save_LIBS
15992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
15993 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
15994 if test $ac_cv_lib_m_clogl = yes; then
15996 cat >>confdefs.h <<\_ACEOF
15997 #define HAVE_CLOGL 1
15998 _ACEOF
16002 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16003 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16004 if test "${ac_cv_lib_m_log10f+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 else
16007 ac_check_lib_save_LIBS=$LIBS
16008 LIBS="-lm $LIBS"
16009 if test x$gcc_no_link = xyes; then
16010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16012 { (exit 1); exit 1; }; }
16014 cat >conftest.$ac_ext <<_ACEOF
16015 /* confdefs.h. */
16016 _ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16021 /* Override any gcc2 internal prototype to avoid an error. */
16022 #ifdef __cplusplus
16023 extern "C"
16024 #endif
16025 /* We use char because int might match the return type of a gcc2
16026 builtin and then its argument prototype would still apply. */
16027 char log10f ();
16029 main ()
16031 log10f ();
16033 return 0;
16035 _ACEOF
16036 rm -f conftest.$ac_objext conftest$ac_exeext
16037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16038 (eval $ac_link) 2>conftest.er1
16039 ac_status=$?
16040 grep -v '^ *+' conftest.er1 >conftest.err
16041 rm -f conftest.er1
16042 cat conftest.err >&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); } &&
16045 { ac_try='test -z "$ac_c_werror_flag"
16046 || test ! -s conftest.err'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; } &&
16052 { ac_try='test -s conftest$ac_exeext'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16055 ac_status=$?
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; }; then
16058 ac_cv_lib_m_log10f=yes
16059 else
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.$ac_ext >&5
16063 ac_cv_lib_m_log10f=no
16065 rm -f conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext conftest.$ac_ext
16067 LIBS=$ac_check_lib_save_LIBS
16069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16070 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16071 if test $ac_cv_lib_m_log10f = yes; then
16073 cat >>confdefs.h <<\_ACEOF
16074 #define HAVE_LOG10F 1
16075 _ACEOF
16079 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16080 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16081 if test "${ac_cv_lib_m_log10+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 else
16084 ac_check_lib_save_LIBS=$LIBS
16085 LIBS="-lm $LIBS"
16086 if test x$gcc_no_link = xyes; then
16087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16089 { (exit 1); exit 1; }; }
16091 cat >conftest.$ac_ext <<_ACEOF
16092 /* confdefs.h. */
16093 _ACEOF
16094 cat confdefs.h >>conftest.$ac_ext
16095 cat >>conftest.$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16098 /* Override any gcc2 internal prototype to avoid an error. */
16099 #ifdef __cplusplus
16100 extern "C"
16101 #endif
16102 /* We use char because int might match the return type of a gcc2
16103 builtin and then its argument prototype would still apply. */
16104 char log10 ();
16106 main ()
16108 log10 ();
16110 return 0;
16112 _ACEOF
16113 rm -f conftest.$ac_objext conftest$ac_exeext
16114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16115 (eval $ac_link) 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try='test -z "$ac_c_werror_flag"
16123 || test ! -s conftest.err'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16126 ac_status=$?
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; } &&
16129 { ac_try='test -s conftest$ac_exeext'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16132 ac_status=$?
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; }; then
16135 ac_cv_lib_m_log10=yes
16136 else
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.$ac_ext >&5
16140 ac_cv_lib_m_log10=no
16142 rm -f conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext conftest.$ac_ext
16144 LIBS=$ac_check_lib_save_LIBS
16146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16147 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16148 if test $ac_cv_lib_m_log10 = yes; then
16150 cat >>confdefs.h <<\_ACEOF
16151 #define HAVE_LOG10 1
16152 _ACEOF
16156 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16157 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16158 if test "${ac_cv_lib_m_log10l+set}" = set; then
16159 echo $ECHO_N "(cached) $ECHO_C" >&6
16160 else
16161 ac_check_lib_save_LIBS=$LIBS
16162 LIBS="-lm $LIBS"
16163 if test x$gcc_no_link = xyes; then
16164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16166 { (exit 1); exit 1; }; }
16168 cat >conftest.$ac_ext <<_ACEOF
16169 /* confdefs.h. */
16170 _ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16175 /* Override any gcc2 internal prototype to avoid an error. */
16176 #ifdef __cplusplus
16177 extern "C"
16178 #endif
16179 /* We use char because int might match the return type of a gcc2
16180 builtin and then its argument prototype would still apply. */
16181 char log10l ();
16183 main ()
16185 log10l ();
16187 return 0;
16189 _ACEOF
16190 rm -f conftest.$ac_objext conftest$ac_exeext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192 (eval $ac_link) 2>conftest.er1
16193 ac_status=$?
16194 grep -v '^ *+' conftest.er1 >conftest.err
16195 rm -f conftest.er1
16196 cat conftest.err >&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try='test -z "$ac_c_werror_flag"
16200 || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest$ac_exeext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16209 ac_status=$?
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_cv_lib_m_log10l=yes
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16217 ac_cv_lib_m_log10l=no
16219 rm -f conftest.err conftest.$ac_objext \
16220 conftest$ac_exeext conftest.$ac_ext
16221 LIBS=$ac_check_lib_save_LIBS
16223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
16224 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
16225 if test $ac_cv_lib_m_log10l = yes; then
16227 cat >>confdefs.h <<\_ACEOF
16228 #define HAVE_LOG10L 1
16229 _ACEOF
16233 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
16234 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
16235 if test "${ac_cv_lib_m_clog10f+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 else
16238 ac_check_lib_save_LIBS=$LIBS
16239 LIBS="-lm $LIBS"
16240 if test x$gcc_no_link = xyes; then
16241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16243 { (exit 1); exit 1; }; }
16245 cat >conftest.$ac_ext <<_ACEOF
16246 /* confdefs.h. */
16247 _ACEOF
16248 cat confdefs.h >>conftest.$ac_ext
16249 cat >>conftest.$ac_ext <<_ACEOF
16250 /* end confdefs.h. */
16252 /* Override any gcc2 internal prototype to avoid an error. */
16253 #ifdef __cplusplus
16254 extern "C"
16255 #endif
16256 /* We use char because int might match the return type of a gcc2
16257 builtin and then its argument prototype would still apply. */
16258 char clog10f ();
16260 main ()
16262 clog10f ();
16264 return 0;
16266 _ACEOF
16267 rm -f conftest.$ac_objext conftest$ac_exeext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16269 (eval $ac_link) 2>conftest.er1
16270 ac_status=$?
16271 grep -v '^ *+' conftest.er1 >conftest.err
16272 rm -f conftest.er1
16273 cat conftest.err >&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } &&
16276 { ac_try='test -z "$ac_c_werror_flag"
16277 || test ! -s conftest.err'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16280 ac_status=$?
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; } &&
16283 { ac_try='test -s conftest$ac_exeext'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16286 ac_status=$?
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; }; then
16289 ac_cv_lib_m_clog10f=yes
16290 else
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.$ac_ext >&5
16294 ac_cv_lib_m_clog10f=no
16296 rm -f conftest.err conftest.$ac_objext \
16297 conftest$ac_exeext conftest.$ac_ext
16298 LIBS=$ac_check_lib_save_LIBS
16300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
16301 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
16302 if test $ac_cv_lib_m_clog10f = yes; then
16304 cat >>confdefs.h <<\_ACEOF
16305 #define HAVE_CLOG10F 1
16306 _ACEOF
16310 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16311 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16312 if test "${ac_cv_lib_m_clog10+set}" = set; then
16313 echo $ECHO_N "(cached) $ECHO_C" >&6
16314 else
16315 ac_check_lib_save_LIBS=$LIBS
16316 LIBS="-lm $LIBS"
16317 if test x$gcc_no_link = xyes; then
16318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16320 { (exit 1); exit 1; }; }
16322 cat >conftest.$ac_ext <<_ACEOF
16323 /* confdefs.h. */
16324 _ACEOF
16325 cat confdefs.h >>conftest.$ac_ext
16326 cat >>conftest.$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16329 /* Override any gcc2 internal prototype to avoid an error. */
16330 #ifdef __cplusplus
16331 extern "C"
16332 #endif
16333 /* We use char because int might match the return type of a gcc2
16334 builtin and then its argument prototype would still apply. */
16335 char clog10 ();
16337 main ()
16339 clog10 ();
16341 return 0;
16343 _ACEOF
16344 rm -f conftest.$ac_objext conftest$ac_exeext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16346 (eval $ac_link) 2>conftest.er1
16347 ac_status=$?
16348 grep -v '^ *+' conftest.er1 >conftest.err
16349 rm -f conftest.er1
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } &&
16353 { ac_try='test -z "$ac_c_werror_flag"
16354 || test ! -s conftest.err'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; } &&
16360 { ac_try='test -s conftest$ac_exeext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16363 ac_status=$?
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_cv_lib_m_clog10=yes
16367 else
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16371 ac_cv_lib_m_clog10=no
16373 rm -f conftest.err conftest.$ac_objext \
16374 conftest$ac_exeext conftest.$ac_ext
16375 LIBS=$ac_check_lib_save_LIBS
16377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16378 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16379 if test $ac_cv_lib_m_clog10 = yes; then
16381 cat >>confdefs.h <<\_ACEOF
16382 #define HAVE_CLOG10 1
16383 _ACEOF
16387 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16388 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16389 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6
16391 else
16392 ac_check_lib_save_LIBS=$LIBS
16393 LIBS="-lm $LIBS"
16394 if test x$gcc_no_link = xyes; then
16395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16397 { (exit 1); exit 1; }; }
16399 cat >conftest.$ac_ext <<_ACEOF
16400 /* confdefs.h. */
16401 _ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16406 /* Override any gcc2 internal prototype to avoid an error. */
16407 #ifdef __cplusplus
16408 extern "C"
16409 #endif
16410 /* We use char because int might match the return type of a gcc2
16411 builtin and then its argument prototype would still apply. */
16412 char clog10l ();
16414 main ()
16416 clog10l ();
16418 return 0;
16420 _ACEOF
16421 rm -f conftest.$ac_objext conftest$ac_exeext
16422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16423 (eval $ac_link) 2>conftest.er1
16424 ac_status=$?
16425 grep -v '^ *+' conftest.er1 >conftest.err
16426 rm -f conftest.er1
16427 cat conftest.err >&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } &&
16430 { ac_try='test -z "$ac_c_werror_flag"
16431 || test ! -s conftest.err'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16434 ac_status=$?
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; } &&
16437 { ac_try='test -s conftest$ac_exeext'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16440 ac_status=$?
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; }; then
16443 ac_cv_lib_m_clog10l=yes
16444 else
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.$ac_ext >&5
16448 ac_cv_lib_m_clog10l=no
16450 rm -f conftest.err conftest.$ac_objext \
16451 conftest$ac_exeext conftest.$ac_ext
16452 LIBS=$ac_check_lib_save_LIBS
16454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16455 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16456 if test $ac_cv_lib_m_clog10l = yes; then
16458 cat >>confdefs.h <<\_ACEOF
16459 #define HAVE_CLOG10L 1
16460 _ACEOF
16464 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16465 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16466 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 else
16469 ac_check_lib_save_LIBS=$LIBS
16470 LIBS="-lm $LIBS"
16471 if test x$gcc_no_link = xyes; then
16472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16474 { (exit 1); exit 1; }; }
16476 cat >conftest.$ac_ext <<_ACEOF
16477 /* confdefs.h. */
16478 _ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16483 /* Override any gcc2 internal prototype to avoid an error. */
16484 #ifdef __cplusplus
16485 extern "C"
16486 #endif
16487 /* We use char because int might match the return type of a gcc2
16488 builtin and then its argument prototype would still apply. */
16489 char nextafterf ();
16491 main ()
16493 nextafterf ();
16495 return 0;
16497 _ACEOF
16498 rm -f conftest.$ac_objext conftest$ac_exeext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16500 (eval $ac_link) 2>conftest.er1
16501 ac_status=$?
16502 grep -v '^ *+' conftest.er1 >conftest.err
16503 rm -f conftest.er1
16504 cat conftest.err >&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } &&
16507 { ac_try='test -z "$ac_c_werror_flag"
16508 || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try='test -s conftest$ac_exeext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_cv_lib_m_nextafterf=yes
16521 else
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16525 ac_cv_lib_m_nextafterf=no
16527 rm -f conftest.err conftest.$ac_objext \
16528 conftest$ac_exeext conftest.$ac_ext
16529 LIBS=$ac_check_lib_save_LIBS
16531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16532 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16533 if test $ac_cv_lib_m_nextafterf = yes; then
16535 cat >>confdefs.h <<\_ACEOF
16536 #define HAVE_NEXTAFTERF 1
16537 _ACEOF
16541 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16542 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16543 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16544 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 else
16546 ac_check_lib_save_LIBS=$LIBS
16547 LIBS="-lm $LIBS"
16548 if test x$gcc_no_link = xyes; then
16549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16551 { (exit 1); exit 1; }; }
16553 cat >conftest.$ac_ext <<_ACEOF
16554 /* confdefs.h. */
16555 _ACEOF
16556 cat confdefs.h >>conftest.$ac_ext
16557 cat >>conftest.$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16560 /* Override any gcc2 internal prototype to avoid an error. */
16561 #ifdef __cplusplus
16562 extern "C"
16563 #endif
16564 /* We use char because int might match the return type of a gcc2
16565 builtin and then its argument prototype would still apply. */
16566 char nextafter ();
16568 main ()
16570 nextafter ();
16572 return 0;
16574 _ACEOF
16575 rm -f conftest.$ac_objext conftest$ac_exeext
16576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16577 (eval $ac_link) 2>conftest.er1
16578 ac_status=$?
16579 grep -v '^ *+' conftest.er1 >conftest.err
16580 rm -f conftest.er1
16581 cat conftest.err >&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } &&
16584 { ac_try='test -z "$ac_c_werror_flag"
16585 || test ! -s conftest.err'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16588 ac_status=$?
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; } &&
16591 { ac_try='test -s conftest$ac_exeext'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16594 ac_status=$?
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; }; then
16597 ac_cv_lib_m_nextafter=yes
16598 else
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.$ac_ext >&5
16602 ac_cv_lib_m_nextafter=no
16604 rm -f conftest.err conftest.$ac_objext \
16605 conftest$ac_exeext conftest.$ac_ext
16606 LIBS=$ac_check_lib_save_LIBS
16608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
16609 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16610 if test $ac_cv_lib_m_nextafter = yes; then
16612 cat >>confdefs.h <<\_ACEOF
16613 #define HAVE_NEXTAFTER 1
16614 _ACEOF
16618 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16619 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16620 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16622 else
16623 ac_check_lib_save_LIBS=$LIBS
16624 LIBS="-lm $LIBS"
16625 if test x$gcc_no_link = xyes; then
16626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16628 { (exit 1); exit 1; }; }
16630 cat >conftest.$ac_ext <<_ACEOF
16631 /* confdefs.h. */
16632 _ACEOF
16633 cat confdefs.h >>conftest.$ac_ext
16634 cat >>conftest.$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16637 /* Override any gcc2 internal prototype to avoid an error. */
16638 #ifdef __cplusplus
16639 extern "C"
16640 #endif
16641 /* We use char because int might match the return type of a gcc2
16642 builtin and then its argument prototype would still apply. */
16643 char nextafterl ();
16645 main ()
16647 nextafterl ();
16649 return 0;
16651 _ACEOF
16652 rm -f conftest.$ac_objext conftest$ac_exeext
16653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16654 (eval $ac_link) 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try='test -z "$ac_c_werror_flag"
16662 || test ! -s conftest.err'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; } &&
16668 { ac_try='test -s conftest$ac_exeext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 ac_cv_lib_m_nextafterl=yes
16675 else
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16679 ac_cv_lib_m_nextafterl=no
16681 rm -f conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16683 LIBS=$ac_check_lib_save_LIBS
16685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16686 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16687 if test $ac_cv_lib_m_nextafterl = yes; then
16689 cat >>confdefs.h <<\_ACEOF
16690 #define HAVE_NEXTAFTERL 1
16691 _ACEOF
16695 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16696 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16697 if test "${ac_cv_lib_m_powf+set}" = set; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 else
16700 ac_check_lib_save_LIBS=$LIBS
16701 LIBS="-lm $LIBS"
16702 if test x$gcc_no_link = xyes; then
16703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16705 { (exit 1); exit 1; }; }
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16714 /* Override any gcc2 internal prototype to avoid an error. */
16715 #ifdef __cplusplus
16716 extern "C"
16717 #endif
16718 /* We use char because int might match the return type of a gcc2
16719 builtin and then its argument prototype would still apply. */
16720 char powf ();
16722 main ()
16724 powf ();
16726 return 0;
16728 _ACEOF
16729 rm -f conftest.$ac_objext conftest$ac_exeext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16731 (eval $ac_link) 2>conftest.er1
16732 ac_status=$?
16733 grep -v '^ *+' conftest.er1 >conftest.err
16734 rm -f conftest.er1
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try='test -z "$ac_c_werror_flag"
16739 || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16742 ac_status=$?
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try='test -s conftest$ac_exeext'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16748 ac_status=$?
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16751 ac_cv_lib_m_powf=yes
16752 else
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.$ac_ext >&5
16756 ac_cv_lib_m_powf=no
16758 rm -f conftest.err conftest.$ac_objext \
16759 conftest$ac_exeext conftest.$ac_ext
16760 LIBS=$ac_check_lib_save_LIBS
16762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
16763 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
16764 if test $ac_cv_lib_m_powf = yes; then
16766 cat >>confdefs.h <<\_ACEOF
16767 #define HAVE_POWF 1
16768 _ACEOF
16772 echo "$as_me:$LINENO: checking for pow in -lm" >&5
16773 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
16774 if test "${ac_cv_lib_m_pow+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 else
16777 ac_check_lib_save_LIBS=$LIBS
16778 LIBS="-lm $LIBS"
16779 if test x$gcc_no_link = xyes; then
16780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16782 { (exit 1); exit 1; }; }
16784 cat >conftest.$ac_ext <<_ACEOF
16785 /* confdefs.h. */
16786 _ACEOF
16787 cat confdefs.h >>conftest.$ac_ext
16788 cat >>conftest.$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16791 /* Override any gcc2 internal prototype to avoid an error. */
16792 #ifdef __cplusplus
16793 extern "C"
16794 #endif
16795 /* We use char because int might match the return type of a gcc2
16796 builtin and then its argument prototype would still apply. */
16797 char pow ();
16799 main ()
16801 pow ();
16803 return 0;
16805 _ACEOF
16806 rm -f conftest.$ac_objext conftest$ac_exeext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16808 (eval $ac_link) 2>conftest.er1
16809 ac_status=$?
16810 grep -v '^ *+' conftest.er1 >conftest.err
16811 rm -f conftest.er1
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try='test -z "$ac_c_werror_flag"
16816 || test ! -s conftest.err'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16819 ac_status=$?
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; } &&
16822 { ac_try='test -s conftest$ac_exeext'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16825 ac_status=$?
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; }; then
16828 ac_cv_lib_m_pow=yes
16829 else
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16833 ac_cv_lib_m_pow=no
16835 rm -f conftest.err conftest.$ac_objext \
16836 conftest$ac_exeext conftest.$ac_ext
16837 LIBS=$ac_check_lib_save_LIBS
16839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16840 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
16841 if test $ac_cv_lib_m_pow = yes; then
16843 cat >>confdefs.h <<\_ACEOF
16844 #define HAVE_POW 1
16845 _ACEOF
16849 echo "$as_me:$LINENO: checking for powl in -lm" >&5
16850 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
16851 if test "${ac_cv_lib_m_powl+set}" = set; then
16852 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 else
16854 ac_check_lib_save_LIBS=$LIBS
16855 LIBS="-lm $LIBS"
16856 if test x$gcc_no_link = xyes; then
16857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16859 { (exit 1); exit 1; }; }
16861 cat >conftest.$ac_ext <<_ACEOF
16862 /* confdefs.h. */
16863 _ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16868 /* Override any gcc2 internal prototype to avoid an error. */
16869 #ifdef __cplusplus
16870 extern "C"
16871 #endif
16872 /* We use char because int might match the return type of a gcc2
16873 builtin and then its argument prototype would still apply. */
16874 char powl ();
16876 main ()
16878 powl ();
16880 return 0;
16882 _ACEOF
16883 rm -f conftest.$ac_objext conftest$ac_exeext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16885 (eval $ac_link) 2>conftest.er1
16886 ac_status=$?
16887 grep -v '^ *+' conftest.er1 >conftest.err
16888 rm -f conftest.er1
16889 cat conftest.err >&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try='test -z "$ac_c_werror_flag"
16893 || test ! -s conftest.err'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; } &&
16899 { ac_try='test -s conftest$ac_exeext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16902 ac_status=$?
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 ac_cv_lib_m_powl=yes
16906 else
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.$ac_ext >&5
16910 ac_cv_lib_m_powl=no
16912 rm -f conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 LIBS=$ac_check_lib_save_LIBS
16916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
16917 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
16918 if test $ac_cv_lib_m_powl = yes; then
16920 cat >>confdefs.h <<\_ACEOF
16921 #define HAVE_POWL 1
16922 _ACEOF
16926 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
16927 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
16928 if test "${ac_cv_lib_m_cpowf+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 else
16931 ac_check_lib_save_LIBS=$LIBS
16932 LIBS="-lm $LIBS"
16933 if test x$gcc_no_link = xyes; then
16934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16936 { (exit 1); exit 1; }; }
16938 cat >conftest.$ac_ext <<_ACEOF
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16945 /* Override any gcc2 internal prototype to avoid an error. */
16946 #ifdef __cplusplus
16947 extern "C"
16948 #endif
16949 /* We use char because int might match the return type of a gcc2
16950 builtin and then its argument prototype would still apply. */
16951 char cpowf ();
16953 main ()
16955 cpowf ();
16957 return 0;
16959 _ACEOF
16960 rm -f conftest.$ac_objext conftest$ac_exeext
16961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16962 (eval $ac_link) 2>conftest.er1
16963 ac_status=$?
16964 grep -v '^ *+' conftest.er1 >conftest.err
16965 rm -f conftest.er1
16966 cat conftest.err >&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); } &&
16969 { ac_try='test -z "$ac_c_werror_flag"
16970 || test ! -s conftest.err'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16973 ac_status=$?
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; } &&
16976 { ac_try='test -s conftest$ac_exeext'
16977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16978 (eval $ac_try) 2>&5
16979 ac_status=$?
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; }; then
16982 ac_cv_lib_m_cpowf=yes
16983 else
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16987 ac_cv_lib_m_cpowf=no
16989 rm -f conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16991 LIBS=$ac_check_lib_save_LIBS
16993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
16994 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
16995 if test $ac_cv_lib_m_cpowf = yes; then
16997 cat >>confdefs.h <<\_ACEOF
16998 #define HAVE_CPOWF 1
16999 _ACEOF
17003 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17004 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17005 if test "${ac_cv_lib_m_cpow+set}" = set; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 else
17008 ac_check_lib_save_LIBS=$LIBS
17009 LIBS="-lm $LIBS"
17010 if test x$gcc_no_link = xyes; then
17011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17013 { (exit 1); exit 1; }; }
17015 cat >conftest.$ac_ext <<_ACEOF
17016 /* confdefs.h. */
17017 _ACEOF
17018 cat confdefs.h >>conftest.$ac_ext
17019 cat >>conftest.$ac_ext <<_ACEOF
17020 /* end confdefs.h. */
17022 /* Override any gcc2 internal prototype to avoid an error. */
17023 #ifdef __cplusplus
17024 extern "C"
17025 #endif
17026 /* We use char because int might match the return type of a gcc2
17027 builtin and then its argument prototype would still apply. */
17028 char cpow ();
17030 main ()
17032 cpow ();
17034 return 0;
17036 _ACEOF
17037 rm -f conftest.$ac_objext conftest$ac_exeext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17039 (eval $ac_link) 2>conftest.er1
17040 ac_status=$?
17041 grep -v '^ *+' conftest.er1 >conftest.err
17042 rm -f conftest.er1
17043 cat conftest.err >&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try='test -z "$ac_c_werror_flag"
17047 || test ! -s conftest.err'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; } &&
17053 { ac_try='test -s conftest$ac_exeext'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17056 ac_status=$?
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; }; then
17059 ac_cv_lib_m_cpow=yes
17060 else
17061 echo "$as_me: failed program was:" >&5
17062 sed 's/^/| /' conftest.$ac_ext >&5
17064 ac_cv_lib_m_cpow=no
17066 rm -f conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 LIBS=$ac_check_lib_save_LIBS
17070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17071 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17072 if test $ac_cv_lib_m_cpow = yes; then
17074 cat >>confdefs.h <<\_ACEOF
17075 #define HAVE_CPOW 1
17076 _ACEOF
17080 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17081 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17082 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17083 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 else
17085 ac_check_lib_save_LIBS=$LIBS
17086 LIBS="-lm $LIBS"
17087 if test x$gcc_no_link = xyes; then
17088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17090 { (exit 1); exit 1; }; }
17092 cat >conftest.$ac_ext <<_ACEOF
17093 /* confdefs.h. */
17094 _ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17099 /* Override any gcc2 internal prototype to avoid an error. */
17100 #ifdef __cplusplus
17101 extern "C"
17102 #endif
17103 /* We use char because int might match the return type of a gcc2
17104 builtin and then its argument prototype would still apply. */
17105 char cpowl ();
17107 main ()
17109 cpowl ();
17111 return 0;
17113 _ACEOF
17114 rm -f conftest.$ac_objext conftest$ac_exeext
17115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17116 (eval $ac_link) 2>conftest.er1
17117 ac_status=$?
17118 grep -v '^ *+' conftest.er1 >conftest.err
17119 rm -f conftest.er1
17120 cat conftest.err >&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } &&
17123 { ac_try='test -z "$ac_c_werror_flag"
17124 || test ! -s conftest.err'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17127 ac_status=$?
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; } &&
17130 { ac_try='test -s conftest$ac_exeext'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17133 ac_status=$?
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; }; then
17136 ac_cv_lib_m_cpowl=yes
17137 else
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.$ac_ext >&5
17141 ac_cv_lib_m_cpowl=no
17143 rm -f conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17145 LIBS=$ac_check_lib_save_LIBS
17147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17148 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17149 if test $ac_cv_lib_m_cpowl = yes; then
17151 cat >>confdefs.h <<\_ACEOF
17152 #define HAVE_CPOWL 1
17153 _ACEOF
17157 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17158 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17159 if test "${ac_cv_lib_m_roundf+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 else
17162 ac_check_lib_save_LIBS=$LIBS
17163 LIBS="-lm $LIBS"
17164 if test x$gcc_no_link = xyes; then
17165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17167 { (exit 1); exit 1; }; }
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17176 /* Override any gcc2 internal prototype to avoid an error. */
17177 #ifdef __cplusplus
17178 extern "C"
17179 #endif
17180 /* We use char because int might match the return type of a gcc2
17181 builtin and then its argument prototype would still apply. */
17182 char roundf ();
17184 main ()
17186 roundf ();
17188 return 0;
17190 _ACEOF
17191 rm -f conftest.$ac_objext conftest$ac_exeext
17192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17193 (eval $ac_link) 2>conftest.er1
17194 ac_status=$?
17195 grep -v '^ *+' conftest.er1 >conftest.err
17196 rm -f conftest.er1
17197 cat conftest.err >&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } &&
17200 { ac_try='test -z "$ac_c_werror_flag"
17201 || test ! -s conftest.err'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; } &&
17207 { ac_try='test -s conftest$ac_exeext'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17210 ac_status=$?
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; }; then
17213 ac_cv_lib_m_roundf=yes
17214 else
17215 echo "$as_me: failed program was:" >&5
17216 sed 's/^/| /' conftest.$ac_ext >&5
17218 ac_cv_lib_m_roundf=no
17220 rm -f conftest.err conftest.$ac_objext \
17221 conftest$ac_exeext conftest.$ac_ext
17222 LIBS=$ac_check_lib_save_LIBS
17224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
17225 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
17226 if test $ac_cv_lib_m_roundf = yes; then
17228 cat >>confdefs.h <<\_ACEOF
17229 #define HAVE_ROUNDF 1
17230 _ACEOF
17234 echo "$as_me:$LINENO: checking for round in -lm" >&5
17235 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
17236 if test "${ac_cv_lib_m_round+set}" = set; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17238 else
17239 ac_check_lib_save_LIBS=$LIBS
17240 LIBS="-lm $LIBS"
17241 if test x$gcc_no_link = xyes; then
17242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17244 { (exit 1); exit 1; }; }
17246 cat >conftest.$ac_ext <<_ACEOF
17247 /* confdefs.h. */
17248 _ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17253 /* Override any gcc2 internal prototype to avoid an error. */
17254 #ifdef __cplusplus
17255 extern "C"
17256 #endif
17257 /* We use char because int might match the return type of a gcc2
17258 builtin and then its argument prototype would still apply. */
17259 char round ();
17261 main ()
17263 round ();
17265 return 0;
17267 _ACEOF
17268 rm -f conftest.$ac_objext conftest$ac_exeext
17269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17270 (eval $ac_link) 2>conftest.er1
17271 ac_status=$?
17272 grep -v '^ *+' conftest.er1 >conftest.err
17273 rm -f conftest.er1
17274 cat conftest.err >&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } &&
17277 { ac_try='test -z "$ac_c_werror_flag"
17278 || test ! -s conftest.err'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17281 ac_status=$?
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; } &&
17284 { ac_try='test -s conftest$ac_exeext'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17287 ac_status=$?
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; }; then
17290 ac_cv_lib_m_round=yes
17291 else
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.$ac_ext >&5
17295 ac_cv_lib_m_round=no
17297 rm -f conftest.err conftest.$ac_objext \
17298 conftest$ac_exeext conftest.$ac_ext
17299 LIBS=$ac_check_lib_save_LIBS
17301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
17302 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
17303 if test $ac_cv_lib_m_round = yes; then
17305 cat >>confdefs.h <<\_ACEOF
17306 #define HAVE_ROUND 1
17307 _ACEOF
17311 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17312 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17313 if test "${ac_cv_lib_m_roundl+set}" = set; then
17314 echo $ECHO_N "(cached) $ECHO_C" >&6
17315 else
17316 ac_check_lib_save_LIBS=$LIBS
17317 LIBS="-lm $LIBS"
17318 if test x$gcc_no_link = xyes; then
17319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17321 { (exit 1); exit 1; }; }
17323 cat >conftest.$ac_ext <<_ACEOF
17324 /* confdefs.h. */
17325 _ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17330 /* Override any gcc2 internal prototype to avoid an error. */
17331 #ifdef __cplusplus
17332 extern "C"
17333 #endif
17334 /* We use char because int might match the return type of a gcc2
17335 builtin and then its argument prototype would still apply. */
17336 char roundl ();
17338 main ()
17340 roundl ();
17342 return 0;
17344 _ACEOF
17345 rm -f conftest.$ac_objext conftest$ac_exeext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17347 (eval $ac_link) 2>conftest.er1
17348 ac_status=$?
17349 grep -v '^ *+' conftest.er1 >conftest.err
17350 rm -f conftest.er1
17351 cat conftest.err >&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } &&
17354 { ac_try='test -z "$ac_c_werror_flag"
17355 || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try='test -s conftest$ac_exeext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367 ac_cv_lib_m_roundl=yes
17368 else
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.$ac_ext >&5
17372 ac_cv_lib_m_roundl=no
17374 rm -f conftest.err conftest.$ac_objext \
17375 conftest$ac_exeext conftest.$ac_ext
17376 LIBS=$ac_check_lib_save_LIBS
17378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17379 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17380 if test $ac_cv_lib_m_roundl = yes; then
17382 cat >>confdefs.h <<\_ACEOF
17383 #define HAVE_ROUNDL 1
17384 _ACEOF
17388 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17389 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17390 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17391 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 else
17393 ac_check_lib_save_LIBS=$LIBS
17394 LIBS="-lm $LIBS"
17395 if test x$gcc_no_link = xyes; then
17396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17398 { (exit 1); exit 1; }; }
17400 cat >conftest.$ac_ext <<_ACEOF
17401 /* confdefs.h. */
17402 _ACEOF
17403 cat confdefs.h >>conftest.$ac_ext
17404 cat >>conftest.$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17407 /* Override any gcc2 internal prototype to avoid an error. */
17408 #ifdef __cplusplus
17409 extern "C"
17410 #endif
17411 /* We use char because int might match the return type of a gcc2
17412 builtin and then its argument prototype would still apply. */
17413 char scalbnf ();
17415 main ()
17417 scalbnf ();
17419 return 0;
17421 _ACEOF
17422 rm -f conftest.$ac_objext conftest$ac_exeext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17424 (eval $ac_link) 2>conftest.er1
17425 ac_status=$?
17426 grep -v '^ *+' conftest.er1 >conftest.err
17427 rm -f conftest.er1
17428 cat conftest.err >&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try='test -z "$ac_c_werror_flag"
17432 || test ! -s conftest.err'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17435 ac_status=$?
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; } &&
17438 { ac_try='test -s conftest$ac_exeext'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17441 ac_status=$?
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; }; then
17444 ac_cv_lib_m_scalbnf=yes
17445 else
17446 echo "$as_me: failed program was:" >&5
17447 sed 's/^/| /' conftest.$ac_ext >&5
17449 ac_cv_lib_m_scalbnf=no
17451 rm -f conftest.err conftest.$ac_objext \
17452 conftest$ac_exeext conftest.$ac_ext
17453 LIBS=$ac_check_lib_save_LIBS
17455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17456 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17457 if test $ac_cv_lib_m_scalbnf = yes; then
17459 cat >>confdefs.h <<\_ACEOF
17460 #define HAVE_SCALBNF 1
17461 _ACEOF
17465 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17466 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17467 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17468 echo $ECHO_N "(cached) $ECHO_C" >&6
17469 else
17470 ac_check_lib_save_LIBS=$LIBS
17471 LIBS="-lm $LIBS"
17472 if test x$gcc_no_link = xyes; then
17473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17475 { (exit 1); exit 1; }; }
17477 cat >conftest.$ac_ext <<_ACEOF
17478 /* confdefs.h. */
17479 _ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 /* Override any gcc2 internal prototype to avoid an error. */
17485 #ifdef __cplusplus
17486 extern "C"
17487 #endif
17488 /* We use char because int might match the return type of a gcc2
17489 builtin and then its argument prototype would still apply. */
17490 char scalbn ();
17492 main ()
17494 scalbn ();
17496 return 0;
17498 _ACEOF
17499 rm -f conftest.$ac_objext conftest$ac_exeext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17501 (eval $ac_link) 2>conftest.er1
17502 ac_status=$?
17503 grep -v '^ *+' conftest.er1 >conftest.err
17504 rm -f conftest.er1
17505 cat conftest.err >&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try='test -z "$ac_c_werror_flag"
17509 || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try='test -s conftest$ac_exeext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17518 ac_status=$?
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 ac_cv_lib_m_scalbn=yes
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17526 ac_cv_lib_m_scalbn=no
17528 rm -f conftest.err conftest.$ac_objext \
17529 conftest$ac_exeext conftest.$ac_ext
17530 LIBS=$ac_check_lib_save_LIBS
17532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17533 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17534 if test $ac_cv_lib_m_scalbn = yes; then
17536 cat >>confdefs.h <<\_ACEOF
17537 #define HAVE_SCALBN 1
17538 _ACEOF
17542 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17543 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17544 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 else
17547 ac_check_lib_save_LIBS=$LIBS
17548 LIBS="-lm $LIBS"
17549 if test x$gcc_no_link = xyes; then
17550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17552 { (exit 1); exit 1; }; }
17554 cat >conftest.$ac_ext <<_ACEOF
17555 /* confdefs.h. */
17556 _ACEOF
17557 cat confdefs.h >>conftest.$ac_ext
17558 cat >>conftest.$ac_ext <<_ACEOF
17559 /* end confdefs.h. */
17561 /* Override any gcc2 internal prototype to avoid an error. */
17562 #ifdef __cplusplus
17563 extern "C"
17564 #endif
17565 /* We use char because int might match the return type of a gcc2
17566 builtin and then its argument prototype would still apply. */
17567 char scalbnl ();
17569 main ()
17571 scalbnl ();
17573 return 0;
17575 _ACEOF
17576 rm -f conftest.$ac_objext conftest$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>conftest.er1
17579 ac_status=$?
17580 grep -v '^ *+' conftest.er1 >conftest.err
17581 rm -f conftest.er1
17582 cat conftest.err >&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try='test -z "$ac_c_werror_flag"
17586 || test ! -s conftest.err'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; } &&
17592 { ac_try='test -s conftest$ac_exeext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17595 ac_status=$?
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17598 ac_cv_lib_m_scalbnl=yes
17599 else
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17603 ac_cv_lib_m_scalbnl=no
17605 rm -f conftest.err conftest.$ac_objext \
17606 conftest$ac_exeext conftest.$ac_ext
17607 LIBS=$ac_check_lib_save_LIBS
17609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
17610 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
17611 if test $ac_cv_lib_m_scalbnl = yes; then
17613 cat >>confdefs.h <<\_ACEOF
17614 #define HAVE_SCALBNL 1
17615 _ACEOF
17619 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17620 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17621 if test "${ac_cv_lib_m_sinf+set}" = set; then
17622 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17624 ac_check_lib_save_LIBS=$LIBS
17625 LIBS="-lm $LIBS"
17626 if test x$gcc_no_link = xyes; then
17627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17629 { (exit 1); exit 1; }; }
17631 cat >conftest.$ac_ext <<_ACEOF
17632 /* confdefs.h. */
17633 _ACEOF
17634 cat confdefs.h >>conftest.$ac_ext
17635 cat >>conftest.$ac_ext <<_ACEOF
17636 /* end confdefs.h. */
17638 /* Override any gcc2 internal prototype to avoid an error. */
17639 #ifdef __cplusplus
17640 extern "C"
17641 #endif
17642 /* We use char because int might match the return type of a gcc2
17643 builtin and then its argument prototype would still apply. */
17644 char sinf ();
17646 main ()
17648 sinf ();
17650 return 0;
17652 _ACEOF
17653 rm -f conftest.$ac_objext conftest$ac_exeext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17655 (eval $ac_link) 2>conftest.er1
17656 ac_status=$?
17657 grep -v '^ *+' conftest.er1 >conftest.err
17658 rm -f conftest.er1
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try='test -z "$ac_c_werror_flag"
17663 || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try='test -s conftest$ac_exeext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 ac_cv_lib_m_sinf=yes
17676 else
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.$ac_ext >&5
17680 ac_cv_lib_m_sinf=no
17682 rm -f conftest.err conftest.$ac_objext \
17683 conftest$ac_exeext conftest.$ac_ext
17684 LIBS=$ac_check_lib_save_LIBS
17686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17687 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17688 if test $ac_cv_lib_m_sinf = yes; then
17690 cat >>confdefs.h <<\_ACEOF
17691 #define HAVE_SINF 1
17692 _ACEOF
17696 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17697 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17698 if test "${ac_cv_lib_m_sin+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17700 else
17701 ac_check_lib_save_LIBS=$LIBS
17702 LIBS="-lm $LIBS"
17703 if test x$gcc_no_link = xyes; then
17704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17706 { (exit 1); exit 1; }; }
17708 cat >conftest.$ac_ext <<_ACEOF
17709 /* confdefs.h. */
17710 _ACEOF
17711 cat confdefs.h >>conftest.$ac_ext
17712 cat >>conftest.$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17715 /* Override any gcc2 internal prototype to avoid an error. */
17716 #ifdef __cplusplus
17717 extern "C"
17718 #endif
17719 /* We use char because int might match the return type of a gcc2
17720 builtin and then its argument prototype would still apply. */
17721 char sin ();
17723 main ()
17725 sin ();
17727 return 0;
17729 _ACEOF
17730 rm -f conftest.$ac_objext conftest$ac_exeext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17732 (eval $ac_link) 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } &&
17739 { ac_try='test -z "$ac_c_werror_flag"
17740 || test ! -s conftest.err'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17743 ac_status=$?
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; } &&
17746 { ac_try='test -s conftest$ac_exeext'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17749 ac_status=$?
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17752 ac_cv_lib_m_sin=yes
17753 else
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.$ac_ext >&5
17757 ac_cv_lib_m_sin=no
17759 rm -f conftest.err conftest.$ac_objext \
17760 conftest$ac_exeext conftest.$ac_ext
17761 LIBS=$ac_check_lib_save_LIBS
17763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17764 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17765 if test $ac_cv_lib_m_sin = yes; then
17767 cat >>confdefs.h <<\_ACEOF
17768 #define HAVE_SIN 1
17769 _ACEOF
17773 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
17774 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
17775 if test "${ac_cv_lib_m_sinl+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 else
17778 ac_check_lib_save_LIBS=$LIBS
17779 LIBS="-lm $LIBS"
17780 if test x$gcc_no_link = xyes; then
17781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17783 { (exit 1); exit 1; }; }
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17792 /* Override any gcc2 internal prototype to avoid an error. */
17793 #ifdef __cplusplus
17794 extern "C"
17795 #endif
17796 /* We use char because int might match the return type of a gcc2
17797 builtin and then its argument prototype would still apply. */
17798 char sinl ();
17800 main ()
17802 sinl ();
17804 return 0;
17806 _ACEOF
17807 rm -f conftest.$ac_objext conftest$ac_exeext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17809 (eval $ac_link) 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try='test -z "$ac_c_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try='test -s conftest$ac_exeext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_cv_lib_m_sinl=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17834 ac_cv_lib_m_sinl=no
17836 rm -f conftest.err conftest.$ac_objext \
17837 conftest$ac_exeext conftest.$ac_ext
17838 LIBS=$ac_check_lib_save_LIBS
17840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
17841 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
17842 if test $ac_cv_lib_m_sinl = yes; then
17844 cat >>confdefs.h <<\_ACEOF
17845 #define HAVE_SINL 1
17846 _ACEOF
17850 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
17851 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
17852 if test "${ac_cv_lib_m_csinf+set}" = set; then
17853 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 else
17855 ac_check_lib_save_LIBS=$LIBS
17856 LIBS="-lm $LIBS"
17857 if test x$gcc_no_link = xyes; then
17858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17860 { (exit 1); exit 1; }; }
17862 cat >conftest.$ac_ext <<_ACEOF
17863 /* confdefs.h. */
17864 _ACEOF
17865 cat confdefs.h >>conftest.$ac_ext
17866 cat >>conftest.$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17869 /* Override any gcc2 internal prototype to avoid an error. */
17870 #ifdef __cplusplus
17871 extern "C"
17872 #endif
17873 /* We use char because int might match the return type of a gcc2
17874 builtin and then its argument prototype would still apply. */
17875 char csinf ();
17877 main ()
17879 csinf ();
17881 return 0;
17883 _ACEOF
17884 rm -f conftest.$ac_objext conftest$ac_exeext
17885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17886 (eval $ac_link) 2>conftest.er1
17887 ac_status=$?
17888 grep -v '^ *+' conftest.er1 >conftest.err
17889 rm -f conftest.er1
17890 cat conftest.err >&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } &&
17893 { ac_try='test -z "$ac_c_werror_flag"
17894 || test ! -s conftest.err'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17897 ac_status=$?
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try='test -s conftest$ac_exeext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17903 ac_status=$?
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 ac_cv_lib_m_csinf=yes
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17911 ac_cv_lib_m_csinf=no
17913 rm -f conftest.err conftest.$ac_objext \
17914 conftest$ac_exeext conftest.$ac_ext
17915 LIBS=$ac_check_lib_save_LIBS
17917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
17918 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
17919 if test $ac_cv_lib_m_csinf = yes; then
17921 cat >>confdefs.h <<\_ACEOF
17922 #define HAVE_CSINF 1
17923 _ACEOF
17927 echo "$as_me:$LINENO: checking for csin in -lm" >&5
17928 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
17929 if test "${ac_cv_lib_m_csin+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 else
17932 ac_check_lib_save_LIBS=$LIBS
17933 LIBS="-lm $LIBS"
17934 if test x$gcc_no_link = xyes; then
17935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17937 { (exit 1); exit 1; }; }
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17946 /* Override any gcc2 internal prototype to avoid an error. */
17947 #ifdef __cplusplus
17948 extern "C"
17949 #endif
17950 /* We use char because int might match the return type of a gcc2
17951 builtin and then its argument prototype would still apply. */
17952 char csin ();
17954 main ()
17956 csin ();
17958 return 0;
17960 _ACEOF
17961 rm -f conftest.$ac_objext conftest$ac_exeext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17963 (eval $ac_link) 2>conftest.er1
17964 ac_status=$?
17965 grep -v '^ *+' conftest.er1 >conftest.err
17966 rm -f conftest.er1
17967 cat conftest.err >&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } &&
17970 { ac_try='test -z "$ac_c_werror_flag"
17971 || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try='test -s conftest$ac_exeext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17980 ac_status=$?
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 ac_cv_lib_m_csin=yes
17984 else
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17988 ac_cv_lib_m_csin=no
17990 rm -f conftest.err conftest.$ac_objext \
17991 conftest$ac_exeext conftest.$ac_ext
17992 LIBS=$ac_check_lib_save_LIBS
17994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
17995 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
17996 if test $ac_cv_lib_m_csin = yes; then
17998 cat >>confdefs.h <<\_ACEOF
17999 #define HAVE_CSIN 1
18000 _ACEOF
18004 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18005 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18006 if test "${ac_cv_lib_m_csinl+set}" = set; then
18007 echo $ECHO_N "(cached) $ECHO_C" >&6
18008 else
18009 ac_check_lib_save_LIBS=$LIBS
18010 LIBS="-lm $LIBS"
18011 if test x$gcc_no_link = xyes; then
18012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18014 { (exit 1); exit 1; }; }
18016 cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h. */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18023 /* Override any gcc2 internal prototype to avoid an error. */
18024 #ifdef __cplusplus
18025 extern "C"
18026 #endif
18027 /* We use char because int might match the return type of a gcc2
18028 builtin and then its argument prototype would still apply. */
18029 char csinl ();
18031 main ()
18033 csinl ();
18035 return 0;
18037 _ACEOF
18038 rm -f conftest.$ac_objext conftest$ac_exeext
18039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18040 (eval $ac_link) 2>conftest.er1
18041 ac_status=$?
18042 grep -v '^ *+' conftest.er1 >conftest.err
18043 rm -f conftest.er1
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } &&
18047 { ac_try='test -z "$ac_c_werror_flag"
18048 || test ! -s conftest.err'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18051 ac_status=$?
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; } &&
18054 { ac_try='test -s conftest$ac_exeext'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 ac_cv_lib_m_csinl=yes
18061 else
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.$ac_ext >&5
18065 ac_cv_lib_m_csinl=no
18067 rm -f conftest.err conftest.$ac_objext \
18068 conftest$ac_exeext conftest.$ac_ext
18069 LIBS=$ac_check_lib_save_LIBS
18071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18072 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18073 if test $ac_cv_lib_m_csinl = yes; then
18075 cat >>confdefs.h <<\_ACEOF
18076 #define HAVE_CSINL 1
18077 _ACEOF
18081 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18082 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18083 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 else
18086 ac_check_lib_save_LIBS=$LIBS
18087 LIBS="-lm $LIBS"
18088 if test x$gcc_no_link = xyes; then
18089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18091 { (exit 1); exit 1; }; }
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18100 /* Override any gcc2 internal prototype to avoid an error. */
18101 #ifdef __cplusplus
18102 extern "C"
18103 #endif
18104 /* We use char because int might match the return type of a gcc2
18105 builtin and then its argument prototype would still apply. */
18106 char sinhf ();
18108 main ()
18110 sinhf ();
18112 return 0;
18114 _ACEOF
18115 rm -f conftest.$ac_objext conftest$ac_exeext
18116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18117 (eval $ac_link) 2>conftest.er1
18118 ac_status=$?
18119 grep -v '^ *+' conftest.er1 >conftest.err
18120 rm -f conftest.er1
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } &&
18124 { ac_try='test -z "$ac_c_werror_flag"
18125 || test ! -s conftest.err'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18128 ac_status=$?
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; } &&
18131 { ac_try='test -s conftest$ac_exeext'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18134 ac_status=$?
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; }; then
18137 ac_cv_lib_m_sinhf=yes
18138 else
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.$ac_ext >&5
18142 ac_cv_lib_m_sinhf=no
18144 rm -f conftest.err conftest.$ac_objext \
18145 conftest$ac_exeext conftest.$ac_ext
18146 LIBS=$ac_check_lib_save_LIBS
18148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18149 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18150 if test $ac_cv_lib_m_sinhf = yes; then
18152 cat >>confdefs.h <<\_ACEOF
18153 #define HAVE_SINHF 1
18154 _ACEOF
18158 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18159 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18160 if test "${ac_cv_lib_m_sinh+set}" = set; then
18161 echo $ECHO_N "(cached) $ECHO_C" >&6
18162 else
18163 ac_check_lib_save_LIBS=$LIBS
18164 LIBS="-lm $LIBS"
18165 if test x$gcc_no_link = xyes; then
18166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18168 { (exit 1); exit 1; }; }
18170 cat >conftest.$ac_ext <<_ACEOF
18171 /* confdefs.h. */
18172 _ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18177 /* Override any gcc2 internal prototype to avoid an error. */
18178 #ifdef __cplusplus
18179 extern "C"
18180 #endif
18181 /* We use char because int might match the return type of a gcc2
18182 builtin and then its argument prototype would still apply. */
18183 char sinh ();
18185 main ()
18187 sinh ();
18189 return 0;
18191 _ACEOF
18192 rm -f conftest.$ac_objext conftest$ac_exeext
18193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18194 (eval $ac_link) 2>conftest.er1
18195 ac_status=$?
18196 grep -v '^ *+' conftest.er1 >conftest.err
18197 rm -f conftest.er1
18198 cat conftest.err >&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } &&
18201 { ac_try='test -z "$ac_c_werror_flag"
18202 || test ! -s conftest.err'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18205 ac_status=$?
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; } &&
18208 { ac_try='test -s conftest$ac_exeext'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; }; then
18214 ac_cv_lib_m_sinh=yes
18215 else
18216 echo "$as_me: failed program was:" >&5
18217 sed 's/^/| /' conftest.$ac_ext >&5
18219 ac_cv_lib_m_sinh=no
18221 rm -f conftest.err conftest.$ac_objext \
18222 conftest$ac_exeext conftest.$ac_ext
18223 LIBS=$ac_check_lib_save_LIBS
18225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
18226 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
18227 if test $ac_cv_lib_m_sinh = yes; then
18229 cat >>confdefs.h <<\_ACEOF
18230 #define HAVE_SINH 1
18231 _ACEOF
18235 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
18236 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
18237 if test "${ac_cv_lib_m_sinhl+set}" = set; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 else
18240 ac_check_lib_save_LIBS=$LIBS
18241 LIBS="-lm $LIBS"
18242 if test x$gcc_no_link = xyes; then
18243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18245 { (exit 1); exit 1; }; }
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18254 /* Override any gcc2 internal prototype to avoid an error. */
18255 #ifdef __cplusplus
18256 extern "C"
18257 #endif
18258 /* We use char because int might match the return type of a gcc2
18259 builtin and then its argument prototype would still apply. */
18260 char sinhl ();
18262 main ()
18264 sinhl ();
18266 return 0;
18268 _ACEOF
18269 rm -f conftest.$ac_objext conftest$ac_exeext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18271 (eval $ac_link) 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try='test -z "$ac_c_werror_flag"
18279 || test ! -s conftest.err'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18282 ac_status=$?
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; } &&
18285 { ac_try='test -s conftest$ac_exeext'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18288 ac_status=$?
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; }; then
18291 ac_cv_lib_m_sinhl=yes
18292 else
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18296 ac_cv_lib_m_sinhl=no
18298 rm -f conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext conftest.$ac_ext
18300 LIBS=$ac_check_lib_save_LIBS
18302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
18303 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
18304 if test $ac_cv_lib_m_sinhl = yes; then
18306 cat >>confdefs.h <<\_ACEOF
18307 #define HAVE_SINHL 1
18308 _ACEOF
18312 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18313 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18314 if test "${ac_cv_lib_m_csinhf+set}" = set; then
18315 echo $ECHO_N "(cached) $ECHO_C" >&6
18316 else
18317 ac_check_lib_save_LIBS=$LIBS
18318 LIBS="-lm $LIBS"
18319 if test x$gcc_no_link = xyes; then
18320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18322 { (exit 1); exit 1; }; }
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18331 /* Override any gcc2 internal prototype to avoid an error. */
18332 #ifdef __cplusplus
18333 extern "C"
18334 #endif
18335 /* We use char because int might match the return type of a gcc2
18336 builtin and then its argument prototype would still apply. */
18337 char csinhf ();
18339 main ()
18341 csinhf ();
18343 return 0;
18345 _ACEOF
18346 rm -f conftest.$ac_objext conftest$ac_exeext
18347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18348 (eval $ac_link) 2>conftest.er1
18349 ac_status=$?
18350 grep -v '^ *+' conftest.er1 >conftest.err
18351 rm -f conftest.er1
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } &&
18355 { ac_try='test -z "$ac_c_werror_flag"
18356 || test ! -s conftest.err'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18359 ac_status=$?
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; } &&
18362 { ac_try='test -s conftest$ac_exeext'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18365 ac_status=$?
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; }; then
18368 ac_cv_lib_m_csinhf=yes
18369 else
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18373 ac_cv_lib_m_csinhf=no
18375 rm -f conftest.err conftest.$ac_objext \
18376 conftest$ac_exeext conftest.$ac_ext
18377 LIBS=$ac_check_lib_save_LIBS
18379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18380 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18381 if test $ac_cv_lib_m_csinhf = yes; then
18383 cat >>confdefs.h <<\_ACEOF
18384 #define HAVE_CSINHF 1
18385 _ACEOF
18389 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18390 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18391 if test "${ac_cv_lib_m_csinh+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18393 else
18394 ac_check_lib_save_LIBS=$LIBS
18395 LIBS="-lm $LIBS"
18396 if test x$gcc_no_link = xyes; then
18397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18399 { (exit 1); exit 1; }; }
18401 cat >conftest.$ac_ext <<_ACEOF
18402 /* confdefs.h. */
18403 _ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18408 /* Override any gcc2 internal prototype to avoid an error. */
18409 #ifdef __cplusplus
18410 extern "C"
18411 #endif
18412 /* We use char because int might match the return type of a gcc2
18413 builtin and then its argument prototype would still apply. */
18414 char csinh ();
18416 main ()
18418 csinh ();
18420 return 0;
18422 _ACEOF
18423 rm -f conftest.$ac_objext conftest$ac_exeext
18424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18425 (eval $ac_link) 2>conftest.er1
18426 ac_status=$?
18427 grep -v '^ *+' conftest.er1 >conftest.err
18428 rm -f conftest.er1
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } &&
18432 { ac_try='test -z "$ac_c_werror_flag"
18433 || test ! -s conftest.err'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try='test -s conftest$ac_exeext'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18442 ac_status=$?
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; }; then
18445 ac_cv_lib_m_csinh=yes
18446 else
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.$ac_ext >&5
18450 ac_cv_lib_m_csinh=no
18452 rm -f conftest.err conftest.$ac_objext \
18453 conftest$ac_exeext conftest.$ac_ext
18454 LIBS=$ac_check_lib_save_LIBS
18456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18457 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18458 if test $ac_cv_lib_m_csinh = yes; then
18460 cat >>confdefs.h <<\_ACEOF
18461 #define HAVE_CSINH 1
18462 _ACEOF
18466 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18467 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18468 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18469 echo $ECHO_N "(cached) $ECHO_C" >&6
18470 else
18471 ac_check_lib_save_LIBS=$LIBS
18472 LIBS="-lm $LIBS"
18473 if test x$gcc_no_link = xyes; then
18474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18476 { (exit 1); exit 1; }; }
18478 cat >conftest.$ac_ext <<_ACEOF
18479 /* confdefs.h. */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18485 /* Override any gcc2 internal prototype to avoid an error. */
18486 #ifdef __cplusplus
18487 extern "C"
18488 #endif
18489 /* We use char because int might match the return type of a gcc2
18490 builtin and then its argument prototype would still apply. */
18491 char csinhl ();
18493 main ()
18495 csinhl ();
18497 return 0;
18499 _ACEOF
18500 rm -f conftest.$ac_objext conftest$ac_exeext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18502 (eval $ac_link) 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18513 ac_status=$?
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try='test -s conftest$ac_exeext'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18519 ac_status=$?
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_cv_lib_m_csinhl=yes
18523 else
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18527 ac_cv_lib_m_csinhl=no
18529 rm -f conftest.err conftest.$ac_objext \
18530 conftest$ac_exeext conftest.$ac_ext
18531 LIBS=$ac_check_lib_save_LIBS
18533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18534 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18535 if test $ac_cv_lib_m_csinhl = yes; then
18537 cat >>confdefs.h <<\_ACEOF
18538 #define HAVE_CSINHL 1
18539 _ACEOF
18543 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18544 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18545 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18547 else
18548 ac_check_lib_save_LIBS=$LIBS
18549 LIBS="-lm $LIBS"
18550 if test x$gcc_no_link = xyes; then
18551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18553 { (exit 1); exit 1; }; }
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18562 /* Override any gcc2 internal prototype to avoid an error. */
18563 #ifdef __cplusplus
18564 extern "C"
18565 #endif
18566 /* We use char because int might match the return type of a gcc2
18567 builtin and then its argument prototype would still apply. */
18568 char sqrtf ();
18570 main ()
18572 sqrtf ();
18574 return 0;
18576 _ACEOF
18577 rm -f conftest.$ac_objext conftest$ac_exeext
18578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18579 (eval $ac_link) 2>conftest.er1
18580 ac_status=$?
18581 grep -v '^ *+' conftest.er1 >conftest.err
18582 rm -f conftest.er1
18583 cat conftest.err >&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try='test -z "$ac_c_werror_flag"
18587 || test ! -s conftest.err'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; } &&
18593 { ac_try='test -s conftest$ac_exeext'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18599 ac_cv_lib_m_sqrtf=yes
18600 else
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18604 ac_cv_lib_m_sqrtf=no
18606 rm -f conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18608 LIBS=$ac_check_lib_save_LIBS
18610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
18611 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
18612 if test $ac_cv_lib_m_sqrtf = yes; then
18614 cat >>confdefs.h <<\_ACEOF
18615 #define HAVE_SQRTF 1
18616 _ACEOF
18620 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
18621 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
18622 if test "${ac_cv_lib_m_sqrt+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18624 else
18625 ac_check_lib_save_LIBS=$LIBS
18626 LIBS="-lm $LIBS"
18627 if test x$gcc_no_link = xyes; then
18628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18630 { (exit 1); exit 1; }; }
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18639 /* Override any gcc2 internal prototype to avoid an error. */
18640 #ifdef __cplusplus
18641 extern "C"
18642 #endif
18643 /* We use char because int might match the return type of a gcc2
18644 builtin and then its argument prototype would still apply. */
18645 char sqrt ();
18647 main ()
18649 sqrt ();
18651 return 0;
18653 _ACEOF
18654 rm -f conftest.$ac_objext conftest$ac_exeext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18656 (eval $ac_link) 2>conftest.er1
18657 ac_status=$?
18658 grep -v '^ *+' conftest.er1 >conftest.err
18659 rm -f conftest.er1
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try='test -z "$ac_c_werror_flag"
18664 || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try='test -s conftest$ac_exeext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 ac_cv_lib_m_sqrt=yes
18677 else
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18681 ac_cv_lib_m_sqrt=no
18683 rm -f conftest.err conftest.$ac_objext \
18684 conftest$ac_exeext conftest.$ac_ext
18685 LIBS=$ac_check_lib_save_LIBS
18687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18688 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18689 if test $ac_cv_lib_m_sqrt = yes; then
18691 cat >>confdefs.h <<\_ACEOF
18692 #define HAVE_SQRT 1
18693 _ACEOF
18697 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18698 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18699 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18700 echo $ECHO_N "(cached) $ECHO_C" >&6
18701 else
18702 ac_check_lib_save_LIBS=$LIBS
18703 LIBS="-lm $LIBS"
18704 if test x$gcc_no_link = xyes; then
18705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18707 { (exit 1); exit 1; }; }
18709 cat >conftest.$ac_ext <<_ACEOF
18710 /* confdefs.h. */
18711 _ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18716 /* Override any gcc2 internal prototype to avoid an error. */
18717 #ifdef __cplusplus
18718 extern "C"
18719 #endif
18720 /* We use char because int might match the return type of a gcc2
18721 builtin and then its argument prototype would still apply. */
18722 char sqrtl ();
18724 main ()
18726 sqrtl ();
18728 return 0;
18730 _ACEOF
18731 rm -f conftest.$ac_objext conftest$ac_exeext
18732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18733 (eval $ac_link) 2>conftest.er1
18734 ac_status=$?
18735 grep -v '^ *+' conftest.er1 >conftest.err
18736 rm -f conftest.er1
18737 cat conftest.err >&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } &&
18740 { ac_try='test -z "$ac_c_werror_flag"
18741 || test ! -s conftest.err'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; } &&
18747 { ac_try='test -s conftest$ac_exeext'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18750 ac_status=$?
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; }; then
18753 ac_cv_lib_m_sqrtl=yes
18754 else
18755 echo "$as_me: failed program was:" >&5
18756 sed 's/^/| /' conftest.$ac_ext >&5
18758 ac_cv_lib_m_sqrtl=no
18760 rm -f conftest.err conftest.$ac_objext \
18761 conftest$ac_exeext conftest.$ac_ext
18762 LIBS=$ac_check_lib_save_LIBS
18764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
18765 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
18766 if test $ac_cv_lib_m_sqrtl = yes; then
18768 cat >>confdefs.h <<\_ACEOF
18769 #define HAVE_SQRTL 1
18770 _ACEOF
18774 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
18775 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
18776 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 else
18779 ac_check_lib_save_LIBS=$LIBS
18780 LIBS="-lm $LIBS"
18781 if test x$gcc_no_link = xyes; then
18782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18784 { (exit 1); exit 1; }; }
18786 cat >conftest.$ac_ext <<_ACEOF
18787 /* confdefs.h. */
18788 _ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18793 /* Override any gcc2 internal prototype to avoid an error. */
18794 #ifdef __cplusplus
18795 extern "C"
18796 #endif
18797 /* We use char because int might match the return type of a gcc2
18798 builtin and then its argument prototype would still apply. */
18799 char csqrtf ();
18801 main ()
18803 csqrtf ();
18805 return 0;
18807 _ACEOF
18808 rm -f conftest.$ac_objext conftest$ac_exeext
18809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18810 (eval $ac_link) 2>conftest.er1
18811 ac_status=$?
18812 grep -v '^ *+' conftest.er1 >conftest.err
18813 rm -f conftest.er1
18814 cat conftest.err >&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); } &&
18817 { ac_try='test -z "$ac_c_werror_flag"
18818 || test ! -s conftest.err'
18819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820 (eval $ac_try) 2>&5
18821 ac_status=$?
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; } &&
18824 { ac_try='test -s conftest$ac_exeext'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18827 ac_status=$?
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; }; then
18830 ac_cv_lib_m_csqrtf=yes
18831 else
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.$ac_ext >&5
18835 ac_cv_lib_m_csqrtf=no
18837 rm -f conftest.err conftest.$ac_objext \
18838 conftest$ac_exeext conftest.$ac_ext
18839 LIBS=$ac_check_lib_save_LIBS
18841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
18842 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
18843 if test $ac_cv_lib_m_csqrtf = yes; then
18845 cat >>confdefs.h <<\_ACEOF
18846 #define HAVE_CSQRTF 1
18847 _ACEOF
18851 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
18852 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
18853 if test "${ac_cv_lib_m_csqrt+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18855 else
18856 ac_check_lib_save_LIBS=$LIBS
18857 LIBS="-lm $LIBS"
18858 if test x$gcc_no_link = xyes; then
18859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18861 { (exit 1); exit 1; }; }
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18870 /* Override any gcc2 internal prototype to avoid an error. */
18871 #ifdef __cplusplus
18872 extern "C"
18873 #endif
18874 /* We use char because int might match the return type of a gcc2
18875 builtin and then its argument prototype would still apply. */
18876 char csqrt ();
18878 main ()
18880 csqrt ();
18882 return 0;
18884 _ACEOF
18885 rm -f conftest.$ac_objext conftest$ac_exeext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18887 (eval $ac_link) 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try='test -z "$ac_c_werror_flag"
18895 || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try='test -s conftest$ac_exeext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_lib_m_csqrt=yes
18908 else
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18912 ac_cv_lib_m_csqrt=no
18914 rm -f conftest.err conftest.$ac_objext \
18915 conftest$ac_exeext conftest.$ac_ext
18916 LIBS=$ac_check_lib_save_LIBS
18918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
18919 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
18920 if test $ac_cv_lib_m_csqrt = yes; then
18922 cat >>confdefs.h <<\_ACEOF
18923 #define HAVE_CSQRT 1
18924 _ACEOF
18928 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
18929 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
18930 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 else
18933 ac_check_lib_save_LIBS=$LIBS
18934 LIBS="-lm $LIBS"
18935 if test x$gcc_no_link = xyes; then
18936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18938 { (exit 1); exit 1; }; }
18940 cat >conftest.$ac_ext <<_ACEOF
18941 /* confdefs.h. */
18942 _ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18947 /* Override any gcc2 internal prototype to avoid an error. */
18948 #ifdef __cplusplus
18949 extern "C"
18950 #endif
18951 /* We use char because int might match the return type of a gcc2
18952 builtin and then its argument prototype would still apply. */
18953 char csqrtl ();
18955 main ()
18957 csqrtl ();
18959 return 0;
18961 _ACEOF
18962 rm -f conftest.$ac_objext conftest$ac_exeext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18964 (eval $ac_link) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_c_werror_flag"
18972 || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest$ac_exeext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_lib_m_csqrtl=yes
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 ac_cv_lib_m_csqrtl=no
18991 rm -f conftest.err conftest.$ac_objext \
18992 conftest$ac_exeext conftest.$ac_ext
18993 LIBS=$ac_check_lib_save_LIBS
18995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
18996 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
18997 if test $ac_cv_lib_m_csqrtl = yes; then
18999 cat >>confdefs.h <<\_ACEOF
19000 #define HAVE_CSQRTL 1
19001 _ACEOF
19005 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19006 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19007 if test "${ac_cv_lib_m_tanf+set}" = set; then
19008 echo $ECHO_N "(cached) $ECHO_C" >&6
19009 else
19010 ac_check_lib_save_LIBS=$LIBS
19011 LIBS="-lm $LIBS"
19012 if test x$gcc_no_link = xyes; then
19013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19015 { (exit 1); exit 1; }; }
19017 cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h. */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19024 /* Override any gcc2 internal prototype to avoid an error. */
19025 #ifdef __cplusplus
19026 extern "C"
19027 #endif
19028 /* We use char because int might match the return type of a gcc2
19029 builtin and then its argument prototype would still apply. */
19030 char tanf ();
19032 main ()
19034 tanf ();
19036 return 0;
19038 _ACEOF
19039 rm -f conftest.$ac_objext conftest$ac_exeext
19040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19041 (eval $ac_link) 2>conftest.er1
19042 ac_status=$?
19043 grep -v '^ *+' conftest.er1 >conftest.err
19044 rm -f conftest.er1
19045 cat conftest.err >&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try='test -z "$ac_c_werror_flag"
19049 || test ! -s conftest.err'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19052 ac_status=$?
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; } &&
19055 { ac_try='test -s conftest$ac_exeext'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; }; then
19061 ac_cv_lib_m_tanf=yes
19062 else
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.$ac_ext >&5
19066 ac_cv_lib_m_tanf=no
19068 rm -f conftest.err conftest.$ac_objext \
19069 conftest$ac_exeext conftest.$ac_ext
19070 LIBS=$ac_check_lib_save_LIBS
19072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19073 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19074 if test $ac_cv_lib_m_tanf = yes; then
19076 cat >>confdefs.h <<\_ACEOF
19077 #define HAVE_TANF 1
19078 _ACEOF
19082 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19083 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19084 if test "${ac_cv_lib_m_tan+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19086 else
19087 ac_check_lib_save_LIBS=$LIBS
19088 LIBS="-lm $LIBS"
19089 if test x$gcc_no_link = xyes; then
19090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19092 { (exit 1); exit 1; }; }
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19101 /* Override any gcc2 internal prototype to avoid an error. */
19102 #ifdef __cplusplus
19103 extern "C"
19104 #endif
19105 /* We use char because int might match the return type of a gcc2
19106 builtin and then its argument prototype would still apply. */
19107 char tan ();
19109 main ()
19111 tan ();
19113 return 0;
19115 _ACEOF
19116 rm -f conftest.$ac_objext conftest$ac_exeext
19117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19118 (eval $ac_link) 2>conftest.er1
19119 ac_status=$?
19120 grep -v '^ *+' conftest.er1 >conftest.err
19121 rm -f conftest.er1
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } &&
19125 { ac_try='test -z "$ac_c_werror_flag"
19126 || test ! -s conftest.err'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; } &&
19132 { ac_try='test -s conftest$ac_exeext'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; }; then
19138 ac_cv_lib_m_tan=yes
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19143 ac_cv_lib_m_tan=no
19145 rm -f conftest.err conftest.$ac_objext \
19146 conftest$ac_exeext conftest.$ac_ext
19147 LIBS=$ac_check_lib_save_LIBS
19149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19150 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19151 if test $ac_cv_lib_m_tan = yes; then
19153 cat >>confdefs.h <<\_ACEOF
19154 #define HAVE_TAN 1
19155 _ACEOF
19159 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19160 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19161 if test "${ac_cv_lib_m_tanl+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 else
19164 ac_check_lib_save_LIBS=$LIBS
19165 LIBS="-lm $LIBS"
19166 if test x$gcc_no_link = xyes; then
19167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19169 { (exit 1); exit 1; }; }
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19178 /* Override any gcc2 internal prototype to avoid an error. */
19179 #ifdef __cplusplus
19180 extern "C"
19181 #endif
19182 /* We use char because int might match the return type of a gcc2
19183 builtin and then its argument prototype would still apply. */
19184 char tanl ();
19186 main ()
19188 tanl ();
19190 return 0;
19192 _ACEOF
19193 rm -f conftest.$ac_objext conftest$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195 (eval $ac_link) 2>conftest.er1
19196 ac_status=$?
19197 grep -v '^ *+' conftest.er1 >conftest.err
19198 rm -f conftest.er1
19199 cat conftest.err >&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } &&
19202 { ac_try='test -z "$ac_c_werror_flag"
19203 || test ! -s conftest.err'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19206 ac_status=$?
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; } &&
19209 { ac_try='test -s conftest$ac_exeext'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; }; then
19215 ac_cv_lib_m_tanl=yes
19216 else
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19220 ac_cv_lib_m_tanl=no
19222 rm -f conftest.err conftest.$ac_objext \
19223 conftest$ac_exeext conftest.$ac_ext
19224 LIBS=$ac_check_lib_save_LIBS
19226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
19227 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
19228 if test $ac_cv_lib_m_tanl = yes; then
19230 cat >>confdefs.h <<\_ACEOF
19231 #define HAVE_TANL 1
19232 _ACEOF
19236 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
19237 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
19238 if test "${ac_cv_lib_m_ctanf+set}" = set; then
19239 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 else
19241 ac_check_lib_save_LIBS=$LIBS
19242 LIBS="-lm $LIBS"
19243 if test x$gcc_no_link = xyes; then
19244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19246 { (exit 1); exit 1; }; }
19248 cat >conftest.$ac_ext <<_ACEOF
19249 /* confdefs.h. */
19250 _ACEOF
19251 cat confdefs.h >>conftest.$ac_ext
19252 cat >>conftest.$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19255 /* Override any gcc2 internal prototype to avoid an error. */
19256 #ifdef __cplusplus
19257 extern "C"
19258 #endif
19259 /* We use char because int might match the return type of a gcc2
19260 builtin and then its argument prototype would still apply. */
19261 char ctanf ();
19263 main ()
19265 ctanf ();
19267 return 0;
19269 _ACEOF
19270 rm -f conftest.$ac_objext conftest$ac_exeext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19272 (eval $ac_link) 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } &&
19279 { ac_try='test -z "$ac_c_werror_flag"
19280 || test ! -s conftest.err'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; } &&
19286 { ac_try='test -s conftest$ac_exeext'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19289 ac_status=$?
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; }; then
19292 ac_cv_lib_m_ctanf=yes
19293 else
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19297 ac_cv_lib_m_ctanf=no
19299 rm -f conftest.err conftest.$ac_objext \
19300 conftest$ac_exeext conftest.$ac_ext
19301 LIBS=$ac_check_lib_save_LIBS
19303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
19304 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
19305 if test $ac_cv_lib_m_ctanf = yes; then
19307 cat >>confdefs.h <<\_ACEOF
19308 #define HAVE_CTANF 1
19309 _ACEOF
19313 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19314 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19315 if test "${ac_cv_lib_m_ctan+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 else
19318 ac_check_lib_save_LIBS=$LIBS
19319 LIBS="-lm $LIBS"
19320 if test x$gcc_no_link = xyes; then
19321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19323 { (exit 1); exit 1; }; }
19325 cat >conftest.$ac_ext <<_ACEOF
19326 /* confdefs.h. */
19327 _ACEOF
19328 cat confdefs.h >>conftest.$ac_ext
19329 cat >>conftest.$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19332 /* Override any gcc2 internal prototype to avoid an error. */
19333 #ifdef __cplusplus
19334 extern "C"
19335 #endif
19336 /* We use char because int might match the return type of a gcc2
19337 builtin and then its argument prototype would still apply. */
19338 char ctan ();
19340 main ()
19342 ctan ();
19344 return 0;
19346 _ACEOF
19347 rm -f conftest.$ac_objext conftest$ac_exeext
19348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19349 (eval $ac_link) 2>conftest.er1
19350 ac_status=$?
19351 grep -v '^ *+' conftest.er1 >conftest.err
19352 rm -f conftest.er1
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try='test -z "$ac_c_werror_flag"
19357 || test ! -s conftest.err'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19360 ac_status=$?
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try='test -s conftest$ac_exeext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19366 ac_status=$?
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19369 ac_cv_lib_m_ctan=yes
19370 else
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19374 ac_cv_lib_m_ctan=no
19376 rm -f conftest.err conftest.$ac_objext \
19377 conftest$ac_exeext conftest.$ac_ext
19378 LIBS=$ac_check_lib_save_LIBS
19380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19381 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19382 if test $ac_cv_lib_m_ctan = yes; then
19384 cat >>confdefs.h <<\_ACEOF
19385 #define HAVE_CTAN 1
19386 _ACEOF
19390 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19391 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19392 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395 ac_check_lib_save_LIBS=$LIBS
19396 LIBS="-lm $LIBS"
19397 if test x$gcc_no_link = xyes; then
19398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19400 { (exit 1); exit 1; }; }
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19409 /* Override any gcc2 internal prototype to avoid an error. */
19410 #ifdef __cplusplus
19411 extern "C"
19412 #endif
19413 /* We use char because int might match the return type of a gcc2
19414 builtin and then its argument prototype would still apply. */
19415 char ctanl ();
19417 main ()
19419 ctanl ();
19421 return 0;
19423 _ACEOF
19424 rm -f conftest.$ac_objext conftest$ac_exeext
19425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19426 (eval $ac_link) 2>conftest.er1
19427 ac_status=$?
19428 grep -v '^ *+' conftest.er1 >conftest.err
19429 rm -f conftest.er1
19430 cat conftest.err >&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } &&
19433 { ac_try='test -z "$ac_c_werror_flag"
19434 || test ! -s conftest.err'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19437 ac_status=$?
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; } &&
19440 { ac_try='test -s conftest$ac_exeext'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; }; then
19446 ac_cv_lib_m_ctanl=yes
19447 else
19448 echo "$as_me: failed program was:" >&5
19449 sed 's/^/| /' conftest.$ac_ext >&5
19451 ac_cv_lib_m_ctanl=no
19453 rm -f conftest.err conftest.$ac_objext \
19454 conftest$ac_exeext conftest.$ac_ext
19455 LIBS=$ac_check_lib_save_LIBS
19457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19458 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19459 if test $ac_cv_lib_m_ctanl = yes; then
19461 cat >>confdefs.h <<\_ACEOF
19462 #define HAVE_CTANL 1
19463 _ACEOF
19467 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19468 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19469 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 else
19472 ac_check_lib_save_LIBS=$LIBS
19473 LIBS="-lm $LIBS"
19474 if test x$gcc_no_link = xyes; then
19475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19477 { (exit 1); exit 1; }; }
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19486 /* Override any gcc2 internal prototype to avoid an error. */
19487 #ifdef __cplusplus
19488 extern "C"
19489 #endif
19490 /* We use char because int might match the return type of a gcc2
19491 builtin and then its argument prototype would still apply. */
19492 char tanhf ();
19494 main ()
19496 tanhf ();
19498 return 0;
19500 _ACEOF
19501 rm -f conftest.$ac_objext conftest$ac_exeext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19503 (eval $ac_link) 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try='test -z "$ac_c_werror_flag"
19511 || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try='test -s conftest$ac_exeext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19520 ac_status=$?
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_lib_m_tanhf=yes
19524 else
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.$ac_ext >&5
19528 ac_cv_lib_m_tanhf=no
19530 rm -f conftest.err conftest.$ac_objext \
19531 conftest$ac_exeext conftest.$ac_ext
19532 LIBS=$ac_check_lib_save_LIBS
19534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19535 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19536 if test $ac_cv_lib_m_tanhf = yes; then
19538 cat >>confdefs.h <<\_ACEOF
19539 #define HAVE_TANHF 1
19540 _ACEOF
19544 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19545 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19546 if test "${ac_cv_lib_m_tanh+set}" = set; then
19547 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 else
19549 ac_check_lib_save_LIBS=$LIBS
19550 LIBS="-lm $LIBS"
19551 if test x$gcc_no_link = xyes; then
19552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19554 { (exit 1); exit 1; }; }
19556 cat >conftest.$ac_ext <<_ACEOF
19557 /* confdefs.h. */
19558 _ACEOF
19559 cat confdefs.h >>conftest.$ac_ext
19560 cat >>conftest.$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19563 /* Override any gcc2 internal prototype to avoid an error. */
19564 #ifdef __cplusplus
19565 extern "C"
19566 #endif
19567 /* We use char because int might match the return type of a gcc2
19568 builtin and then its argument prototype would still apply. */
19569 char tanh ();
19571 main ()
19573 tanh ();
19575 return 0;
19577 _ACEOF
19578 rm -f conftest.$ac_objext conftest$ac_exeext
19579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19580 (eval $ac_link) 2>conftest.er1
19581 ac_status=$?
19582 grep -v '^ *+' conftest.er1 >conftest.err
19583 rm -f conftest.er1
19584 cat conftest.err >&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); } &&
19587 { ac_try='test -z "$ac_c_werror_flag"
19588 || test ! -s conftest.err'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19591 ac_status=$?
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; } &&
19594 { ac_try='test -s conftest$ac_exeext'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19597 ac_status=$?
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; }; then
19600 ac_cv_lib_m_tanh=yes
19601 else
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.$ac_ext >&5
19605 ac_cv_lib_m_tanh=no
19607 rm -f conftest.err conftest.$ac_objext \
19608 conftest$ac_exeext conftest.$ac_ext
19609 LIBS=$ac_check_lib_save_LIBS
19611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
19612 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
19613 if test $ac_cv_lib_m_tanh = yes; then
19615 cat >>confdefs.h <<\_ACEOF
19616 #define HAVE_TANH 1
19617 _ACEOF
19621 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
19622 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
19623 if test "${ac_cv_lib_m_tanhl+set}" = set; then
19624 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 else
19626 ac_check_lib_save_LIBS=$LIBS
19627 LIBS="-lm $LIBS"
19628 if test x$gcc_no_link = xyes; then
19629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19631 { (exit 1); exit 1; }; }
19633 cat >conftest.$ac_ext <<_ACEOF
19634 /* confdefs.h. */
19635 _ACEOF
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19640 /* Override any gcc2 internal prototype to avoid an error. */
19641 #ifdef __cplusplus
19642 extern "C"
19643 #endif
19644 /* We use char because int might match the return type of a gcc2
19645 builtin and then its argument prototype would still apply. */
19646 char tanhl ();
19648 main ()
19650 tanhl ();
19652 return 0;
19654 _ACEOF
19655 rm -f conftest.$ac_objext conftest$ac_exeext
19656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19657 (eval $ac_link) 2>conftest.er1
19658 ac_status=$?
19659 grep -v '^ *+' conftest.er1 >conftest.err
19660 rm -f conftest.er1
19661 cat conftest.err >&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } &&
19664 { ac_try='test -z "$ac_c_werror_flag"
19665 || test ! -s conftest.err'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; } &&
19671 { ac_try='test -s conftest$ac_exeext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19674 ac_status=$?
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19677 ac_cv_lib_m_tanhl=yes
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19682 ac_cv_lib_m_tanhl=no
19684 rm -f conftest.err conftest.$ac_objext \
19685 conftest$ac_exeext conftest.$ac_ext
19686 LIBS=$ac_check_lib_save_LIBS
19688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19689 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19690 if test $ac_cv_lib_m_tanhl = yes; then
19692 cat >>confdefs.h <<\_ACEOF
19693 #define HAVE_TANHL 1
19694 _ACEOF
19698 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19699 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19700 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 else
19703 ac_check_lib_save_LIBS=$LIBS
19704 LIBS="-lm $LIBS"
19705 if test x$gcc_no_link = xyes; then
19706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19708 { (exit 1); exit 1; }; }
19710 cat >conftest.$ac_ext <<_ACEOF
19711 /* confdefs.h. */
19712 _ACEOF
19713 cat confdefs.h >>conftest.$ac_ext
19714 cat >>conftest.$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19717 /* Override any gcc2 internal prototype to avoid an error. */
19718 #ifdef __cplusplus
19719 extern "C"
19720 #endif
19721 /* We use char because int might match the return type of a gcc2
19722 builtin and then its argument prototype would still apply. */
19723 char ctanhf ();
19725 main ()
19727 ctanhf ();
19729 return 0;
19731 _ACEOF
19732 rm -f conftest.$ac_objext conftest$ac_exeext
19733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19734 (eval $ac_link) 2>conftest.er1
19735 ac_status=$?
19736 grep -v '^ *+' conftest.er1 >conftest.err
19737 rm -f conftest.er1
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } &&
19741 { ac_try='test -z "$ac_c_werror_flag"
19742 || test ! -s conftest.err'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19745 ac_status=$?
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; } &&
19748 { ac_try='test -s conftest$ac_exeext'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19751 ac_status=$?
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; }; then
19754 ac_cv_lib_m_ctanhf=yes
19755 else
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19759 ac_cv_lib_m_ctanhf=no
19761 rm -f conftest.err conftest.$ac_objext \
19762 conftest$ac_exeext conftest.$ac_ext
19763 LIBS=$ac_check_lib_save_LIBS
19765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
19766 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
19767 if test $ac_cv_lib_m_ctanhf = yes; then
19769 cat >>confdefs.h <<\_ACEOF
19770 #define HAVE_CTANHF 1
19771 _ACEOF
19775 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
19776 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
19777 if test "${ac_cv_lib_m_ctanh+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 else
19780 ac_check_lib_save_LIBS=$LIBS
19781 LIBS="-lm $LIBS"
19782 if test x$gcc_no_link = xyes; then
19783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19785 { (exit 1); exit 1; }; }
19787 cat >conftest.$ac_ext <<_ACEOF
19788 /* confdefs.h. */
19789 _ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19794 /* Override any gcc2 internal prototype to avoid an error. */
19795 #ifdef __cplusplus
19796 extern "C"
19797 #endif
19798 /* We use char because int might match the return type of a gcc2
19799 builtin and then its argument prototype would still apply. */
19800 char ctanh ();
19802 main ()
19804 ctanh ();
19806 return 0;
19808 _ACEOF
19809 rm -f conftest.$ac_objext conftest$ac_exeext
19810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19811 (eval $ac_link) 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } &&
19818 { ac_try='test -z "$ac_c_werror_flag"
19819 || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19822 ac_status=$?
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try='test -s conftest$ac_exeext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19828 ac_status=$?
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19831 ac_cv_lib_m_ctanh=yes
19832 else
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19836 ac_cv_lib_m_ctanh=no
19838 rm -f conftest.err conftest.$ac_objext \
19839 conftest$ac_exeext conftest.$ac_ext
19840 LIBS=$ac_check_lib_save_LIBS
19842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
19843 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
19844 if test $ac_cv_lib_m_ctanh = yes; then
19846 cat >>confdefs.h <<\_ACEOF
19847 #define HAVE_CTANH 1
19848 _ACEOF
19852 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
19853 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
19854 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 else
19857 ac_check_lib_save_LIBS=$LIBS
19858 LIBS="-lm $LIBS"
19859 if test x$gcc_no_link = xyes; then
19860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19862 { (exit 1); exit 1; }; }
19864 cat >conftest.$ac_ext <<_ACEOF
19865 /* confdefs.h. */
19866 _ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19871 /* Override any gcc2 internal prototype to avoid an error. */
19872 #ifdef __cplusplus
19873 extern "C"
19874 #endif
19875 /* We use char because int might match the return type of a gcc2
19876 builtin and then its argument prototype would still apply. */
19877 char ctanhl ();
19879 main ()
19881 ctanhl ();
19883 return 0;
19885 _ACEOF
19886 rm -f conftest.$ac_objext conftest$ac_exeext
19887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19888 (eval $ac_link) 2>conftest.er1
19889 ac_status=$?
19890 grep -v '^ *+' conftest.er1 >conftest.err
19891 rm -f conftest.er1
19892 cat conftest.err >&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } &&
19895 { ac_try='test -z "$ac_c_werror_flag"
19896 || test ! -s conftest.err'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; } &&
19902 { ac_try='test -s conftest$ac_exeext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_cv_lib_m_ctanhl=yes
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 ac_cv_lib_m_ctanhl=no
19915 rm -f conftest.err conftest.$ac_objext \
19916 conftest$ac_exeext conftest.$ac_ext
19917 LIBS=$ac_check_lib_save_LIBS
19919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
19920 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
19921 if test $ac_cv_lib_m_ctanhl = yes; then
19923 cat >>confdefs.h <<\_ACEOF
19924 #define HAVE_CTANHL 1
19925 _ACEOF
19929 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
19930 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
19931 if test "${ac_cv_lib_m_truncf+set}" = set; then
19932 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 else
19934 ac_check_lib_save_LIBS=$LIBS
19935 LIBS="-lm $LIBS"
19936 if test x$gcc_no_link = xyes; then
19937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19939 { (exit 1); exit 1; }; }
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19948 /* Override any gcc2 internal prototype to avoid an error. */
19949 #ifdef __cplusplus
19950 extern "C"
19951 #endif
19952 /* We use char because int might match the return type of a gcc2
19953 builtin and then its argument prototype would still apply. */
19954 char truncf ();
19956 main ()
19958 truncf ();
19960 return 0;
19962 _ACEOF
19963 rm -f conftest.$ac_objext conftest$ac_exeext
19964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19965 (eval $ac_link) 2>conftest.er1
19966 ac_status=$?
19967 grep -v '^ *+' conftest.er1 >conftest.err
19968 rm -f conftest.er1
19969 cat conftest.err >&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } &&
19972 { ac_try='test -z "$ac_c_werror_flag"
19973 || test ! -s conftest.err'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; } &&
19979 { ac_try='test -s conftest$ac_exeext'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19982 ac_status=$?
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_lib_m_truncf=yes
19986 else
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.$ac_ext >&5
19990 ac_cv_lib_m_truncf=no
19992 rm -f conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19994 LIBS=$ac_check_lib_save_LIBS
19996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
19997 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
19998 if test $ac_cv_lib_m_truncf = yes; then
20000 cat >>confdefs.h <<\_ACEOF
20001 #define HAVE_TRUNCF 1
20002 _ACEOF
20006 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20007 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20008 if test "${ac_cv_lib_m_trunc+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 else
20011 ac_check_lib_save_LIBS=$LIBS
20012 LIBS="-lm $LIBS"
20013 if test x$gcc_no_link = xyes; then
20014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20016 { (exit 1); exit 1; }; }
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20025 /* Override any gcc2 internal prototype to avoid an error. */
20026 #ifdef __cplusplus
20027 extern "C"
20028 #endif
20029 /* We use char because int might match the return type of a gcc2
20030 builtin and then its argument prototype would still apply. */
20031 char trunc ();
20033 main ()
20035 trunc ();
20037 return 0;
20039 _ACEOF
20040 rm -f conftest.$ac_objext conftest$ac_exeext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20042 (eval $ac_link) 2>conftest.er1
20043 ac_status=$?
20044 grep -v '^ *+' conftest.er1 >conftest.err
20045 rm -f conftest.er1
20046 cat conftest.err >&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try='test -z "$ac_c_werror_flag"
20050 || test ! -s conftest.err'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20053 ac_status=$?
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; } &&
20056 { ac_try='test -s conftest$ac_exeext'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20059 ac_status=$?
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; }; then
20062 ac_cv_lib_m_trunc=yes
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20067 ac_cv_lib_m_trunc=no
20069 rm -f conftest.err conftest.$ac_objext \
20070 conftest$ac_exeext conftest.$ac_ext
20071 LIBS=$ac_check_lib_save_LIBS
20073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20074 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20075 if test $ac_cv_lib_m_trunc = yes; then
20077 cat >>confdefs.h <<\_ACEOF
20078 #define HAVE_TRUNC 1
20079 _ACEOF
20083 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20084 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20085 if test "${ac_cv_lib_m_truncl+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 else
20088 ac_check_lib_save_LIBS=$LIBS
20089 LIBS="-lm $LIBS"
20090 if test x$gcc_no_link = xyes; then
20091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20093 { (exit 1); exit 1; }; }
20095 cat >conftest.$ac_ext <<_ACEOF
20096 /* confdefs.h. */
20097 _ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20102 /* Override any gcc2 internal prototype to avoid an error. */
20103 #ifdef __cplusplus
20104 extern "C"
20105 #endif
20106 /* We use char because int might match the return type of a gcc2
20107 builtin and then its argument prototype would still apply. */
20108 char truncl ();
20110 main ()
20112 truncl ();
20114 return 0;
20116 _ACEOF
20117 rm -f conftest.$ac_objext conftest$ac_exeext
20118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20119 (eval $ac_link) 2>conftest.er1
20120 ac_status=$?
20121 grep -v '^ *+' conftest.er1 >conftest.err
20122 rm -f conftest.er1
20123 cat conftest.err >&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } &&
20126 { ac_try='test -z "$ac_c_werror_flag"
20127 || test ! -s conftest.err'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20130 ac_status=$?
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; } &&
20133 { ac_try='test -s conftest$ac_exeext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20136 ac_status=$?
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 ac_cv_lib_m_truncl=yes
20140 else
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20144 ac_cv_lib_m_truncl=no
20146 rm -f conftest.err conftest.$ac_objext \
20147 conftest$ac_exeext conftest.$ac_ext
20148 LIBS=$ac_check_lib_save_LIBS
20150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20151 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20152 if test $ac_cv_lib_m_truncl = yes; then
20154 cat >>confdefs.h <<\_ACEOF
20155 #define HAVE_TRUNCL 1
20156 _ACEOF
20160 echo "$as_me:$LINENO: checking for erff in -lm" >&5
20161 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20162 if test "${ac_cv_lib_m_erff+set}" = set; then
20163 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 else
20165 ac_check_lib_save_LIBS=$LIBS
20166 LIBS="-lm $LIBS"
20167 if test x$gcc_no_link = xyes; then
20168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20170 { (exit 1); exit 1; }; }
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20179 /* Override any gcc2 internal prototype to avoid an error. */
20180 #ifdef __cplusplus
20181 extern "C"
20182 #endif
20183 /* We use char because int might match the return type of a gcc2
20184 builtin and then its argument prototype would still apply. */
20185 char erff ();
20187 main ()
20189 erff ();
20191 return 0;
20193 _ACEOF
20194 rm -f conftest.$ac_objext conftest$ac_exeext
20195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20196 (eval $ac_link) 2>conftest.er1
20197 ac_status=$?
20198 grep -v '^ *+' conftest.er1 >conftest.err
20199 rm -f conftest.er1
20200 cat conftest.err >&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); } &&
20203 { ac_try='test -z "$ac_c_werror_flag"
20204 || test ! -s conftest.err'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20207 ac_status=$?
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; } &&
20210 { ac_try='test -s conftest$ac_exeext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20213 ac_status=$?
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 ac_cv_lib_m_erff=yes
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20221 ac_cv_lib_m_erff=no
20223 rm -f conftest.err conftest.$ac_objext \
20224 conftest$ac_exeext conftest.$ac_ext
20225 LIBS=$ac_check_lib_save_LIBS
20227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
20228 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
20229 if test $ac_cv_lib_m_erff = yes; then
20231 cat >>confdefs.h <<\_ACEOF
20232 #define HAVE_ERFF 1
20233 _ACEOF
20237 echo "$as_me:$LINENO: checking for erf in -lm" >&5
20238 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
20239 if test "${ac_cv_lib_m_erf+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20242 ac_check_lib_save_LIBS=$LIBS
20243 LIBS="-lm $LIBS"
20244 if test x$gcc_no_link = xyes; then
20245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20247 { (exit 1); exit 1; }; }
20249 cat >conftest.$ac_ext <<_ACEOF
20250 /* confdefs.h. */
20251 _ACEOF
20252 cat confdefs.h >>conftest.$ac_ext
20253 cat >>conftest.$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20256 /* Override any gcc2 internal prototype to avoid an error. */
20257 #ifdef __cplusplus
20258 extern "C"
20259 #endif
20260 /* We use char because int might match the return type of a gcc2
20261 builtin and then its argument prototype would still apply. */
20262 char erf ();
20264 main ()
20266 erf ();
20268 return 0;
20270 _ACEOF
20271 rm -f conftest.$ac_objext conftest$ac_exeext
20272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20273 (eval $ac_link) 2>conftest.er1
20274 ac_status=$?
20275 grep -v '^ *+' conftest.er1 >conftest.err
20276 rm -f conftest.er1
20277 cat conftest.err >&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } &&
20280 { ac_try='test -z "$ac_c_werror_flag"
20281 || test ! -s conftest.err'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20284 ac_status=$?
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; } &&
20287 { ac_try='test -s conftest$ac_exeext'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_cv_lib_m_erf=yes
20294 else
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20298 ac_cv_lib_m_erf=no
20300 rm -f conftest.err conftest.$ac_objext \
20301 conftest$ac_exeext conftest.$ac_ext
20302 LIBS=$ac_check_lib_save_LIBS
20304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
20305 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
20306 if test $ac_cv_lib_m_erf = yes; then
20308 cat >>confdefs.h <<\_ACEOF
20309 #define HAVE_ERF 1
20310 _ACEOF
20314 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20315 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20316 if test "${ac_cv_lib_m_erfl+set}" = set; then
20317 echo $ECHO_N "(cached) $ECHO_C" >&6
20318 else
20319 ac_check_lib_save_LIBS=$LIBS
20320 LIBS="-lm $LIBS"
20321 if test x$gcc_no_link = xyes; then
20322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20324 { (exit 1); exit 1; }; }
20326 cat >conftest.$ac_ext <<_ACEOF
20327 /* confdefs.h. */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20333 /* Override any gcc2 internal prototype to avoid an error. */
20334 #ifdef __cplusplus
20335 extern "C"
20336 #endif
20337 /* We use char because int might match the return type of a gcc2
20338 builtin and then its argument prototype would still apply. */
20339 char erfl ();
20341 main ()
20343 erfl ();
20345 return 0;
20347 _ACEOF
20348 rm -f conftest.$ac_objext conftest$ac_exeext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350 (eval $ac_link) 2>conftest.er1
20351 ac_status=$?
20352 grep -v '^ *+' conftest.er1 >conftest.err
20353 rm -f conftest.er1
20354 cat conftest.err >&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } &&
20357 { ac_try='test -z "$ac_c_werror_flag"
20358 || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try='test -s conftest$ac_exeext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_cv_lib_m_erfl=yes
20371 else
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.$ac_ext >&5
20375 ac_cv_lib_m_erfl=no
20377 rm -f conftest.err conftest.$ac_objext \
20378 conftest$ac_exeext conftest.$ac_ext
20379 LIBS=$ac_check_lib_save_LIBS
20381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20382 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20383 if test $ac_cv_lib_m_erfl = yes; then
20385 cat >>confdefs.h <<\_ACEOF
20386 #define HAVE_ERFL 1
20387 _ACEOF
20391 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20392 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20393 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 else
20396 ac_check_lib_save_LIBS=$LIBS
20397 LIBS="-lm $LIBS"
20398 if test x$gcc_no_link = xyes; then
20399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20401 { (exit 1); exit 1; }; }
20403 cat >conftest.$ac_ext <<_ACEOF
20404 /* confdefs.h. */
20405 _ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 /* Override any gcc2 internal prototype to avoid an error. */
20411 #ifdef __cplusplus
20412 extern "C"
20413 #endif
20414 /* We use char because int might match the return type of a gcc2
20415 builtin and then its argument prototype would still apply. */
20416 char erfcf ();
20418 main ()
20420 erfcf ();
20422 return 0;
20424 _ACEOF
20425 rm -f conftest.$ac_objext conftest$ac_exeext
20426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20427 (eval $ac_link) 2>conftest.er1
20428 ac_status=$?
20429 grep -v '^ *+' conftest.er1 >conftest.err
20430 rm -f conftest.er1
20431 cat conftest.err >&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); } &&
20434 { ac_try='test -z "$ac_c_werror_flag"
20435 || test ! -s conftest.err'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20438 ac_status=$?
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; } &&
20441 { ac_try='test -s conftest$ac_exeext'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20444 ac_status=$?
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; }; then
20447 ac_cv_lib_m_erfcf=yes
20448 else
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.$ac_ext >&5
20452 ac_cv_lib_m_erfcf=no
20454 rm -f conftest.err conftest.$ac_objext \
20455 conftest$ac_exeext conftest.$ac_ext
20456 LIBS=$ac_check_lib_save_LIBS
20458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20459 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20460 if test $ac_cv_lib_m_erfcf = yes; then
20462 cat >>confdefs.h <<\_ACEOF
20463 #define HAVE_ERFCF 1
20464 _ACEOF
20468 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20469 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20470 if test "${ac_cv_lib_m_erfc+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 else
20473 ac_check_lib_save_LIBS=$LIBS
20474 LIBS="-lm $LIBS"
20475 if test x$gcc_no_link = xyes; then
20476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20478 { (exit 1); exit 1; }; }
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20487 /* Override any gcc2 internal prototype to avoid an error. */
20488 #ifdef __cplusplus
20489 extern "C"
20490 #endif
20491 /* We use char because int might match the return type of a gcc2
20492 builtin and then its argument prototype would still apply. */
20493 char erfc ();
20495 main ()
20497 erfc ();
20499 return 0;
20501 _ACEOF
20502 rm -f conftest.$ac_objext conftest$ac_exeext
20503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20504 (eval $ac_link) 2>conftest.er1
20505 ac_status=$?
20506 grep -v '^ *+' conftest.er1 >conftest.err
20507 rm -f conftest.er1
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } &&
20511 { ac_try='test -z "$ac_c_werror_flag"
20512 || test ! -s conftest.err'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20515 ac_status=$?
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; } &&
20518 { ac_try='test -s conftest$ac_exeext'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20521 ac_status=$?
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; }; then
20524 ac_cv_lib_m_erfc=yes
20525 else
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20529 ac_cv_lib_m_erfc=no
20531 rm -f conftest.err conftest.$ac_objext \
20532 conftest$ac_exeext conftest.$ac_ext
20533 LIBS=$ac_check_lib_save_LIBS
20535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20536 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20537 if test $ac_cv_lib_m_erfc = yes; then
20539 cat >>confdefs.h <<\_ACEOF
20540 #define HAVE_ERFC 1
20541 _ACEOF
20545 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20546 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20547 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20548 echo $ECHO_N "(cached) $ECHO_C" >&6
20549 else
20550 ac_check_lib_save_LIBS=$LIBS
20551 LIBS="-lm $LIBS"
20552 if test x$gcc_no_link = xyes; then
20553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20555 { (exit 1); exit 1; }; }
20557 cat >conftest.$ac_ext <<_ACEOF
20558 /* confdefs.h. */
20559 _ACEOF
20560 cat confdefs.h >>conftest.$ac_ext
20561 cat >>conftest.$ac_ext <<_ACEOF
20562 /* end confdefs.h. */
20564 /* Override any gcc2 internal prototype to avoid an error. */
20565 #ifdef __cplusplus
20566 extern "C"
20567 #endif
20568 /* We use char because int might match the return type of a gcc2
20569 builtin and then its argument prototype would still apply. */
20570 char erfcl ();
20572 main ()
20574 erfcl ();
20576 return 0;
20578 _ACEOF
20579 rm -f conftest.$ac_objext conftest$ac_exeext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20581 (eval $ac_link) 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try='test -z "$ac_c_werror_flag"
20589 || test ! -s conftest.err'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20592 ac_status=$?
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try='test -s conftest$ac_exeext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_cv_lib_m_erfcl=yes
20602 else
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20606 ac_cv_lib_m_erfcl=no
20608 rm -f conftest.err conftest.$ac_objext \
20609 conftest$ac_exeext conftest.$ac_ext
20610 LIBS=$ac_check_lib_save_LIBS
20612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
20613 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
20614 if test $ac_cv_lib_m_erfcl = yes; then
20616 cat >>confdefs.h <<\_ACEOF
20617 #define HAVE_ERFCL 1
20618 _ACEOF
20622 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
20623 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
20624 if test "${ac_cv_lib_m_j0f+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20626 else
20627 ac_check_lib_save_LIBS=$LIBS
20628 LIBS="-lm $LIBS"
20629 if test x$gcc_no_link = xyes; then
20630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20632 { (exit 1); exit 1; }; }
20634 cat >conftest.$ac_ext <<_ACEOF
20635 /* confdefs.h. */
20636 _ACEOF
20637 cat confdefs.h >>conftest.$ac_ext
20638 cat >>conftest.$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20641 /* Override any gcc2 internal prototype to avoid an error. */
20642 #ifdef __cplusplus
20643 extern "C"
20644 #endif
20645 /* We use char because int might match the return type of a gcc2
20646 builtin and then its argument prototype would still apply. */
20647 char j0f ();
20649 main ()
20651 j0f ();
20653 return 0;
20655 _ACEOF
20656 rm -f conftest.$ac_objext conftest$ac_exeext
20657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20658 (eval $ac_link) 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try='test -z "$ac_c_werror_flag"
20666 || test ! -s conftest.err'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20669 ac_status=$?
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; } &&
20672 { ac_try='test -s conftest$ac_exeext'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20675 ac_status=$?
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; }; then
20678 ac_cv_lib_m_j0f=yes
20679 else
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.$ac_ext >&5
20683 ac_cv_lib_m_j0f=no
20685 rm -f conftest.err conftest.$ac_objext \
20686 conftest$ac_exeext conftest.$ac_ext
20687 LIBS=$ac_check_lib_save_LIBS
20689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20690 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20691 if test $ac_cv_lib_m_j0f = yes; then
20693 cat >>confdefs.h <<\_ACEOF
20694 #define HAVE_J0F 1
20695 _ACEOF
20699 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20700 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20701 if test "${ac_cv_lib_m_j0+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20703 else
20704 ac_check_lib_save_LIBS=$LIBS
20705 LIBS="-lm $LIBS"
20706 if test x$gcc_no_link = xyes; then
20707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20709 { (exit 1); exit 1; }; }
20711 cat >conftest.$ac_ext <<_ACEOF
20712 /* confdefs.h. */
20713 _ACEOF
20714 cat confdefs.h >>conftest.$ac_ext
20715 cat >>conftest.$ac_ext <<_ACEOF
20716 /* end confdefs.h. */
20718 /* Override any gcc2 internal prototype to avoid an error. */
20719 #ifdef __cplusplus
20720 extern "C"
20721 #endif
20722 /* We use char because int might match the return type of a gcc2
20723 builtin and then its argument prototype would still apply. */
20724 char j0 ();
20726 main ()
20728 j0 ();
20730 return 0;
20732 _ACEOF
20733 rm -f conftest.$ac_objext conftest$ac_exeext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20735 (eval $ac_link) 2>conftest.er1
20736 ac_status=$?
20737 grep -v '^ *+' conftest.er1 >conftest.err
20738 rm -f conftest.er1
20739 cat conftest.err >&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try='test -z "$ac_c_werror_flag"
20743 || test ! -s conftest.err'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20746 ac_status=$?
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } &&
20749 { ac_try='test -s conftest$ac_exeext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20752 ac_status=$?
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_cv_lib_m_j0=yes
20756 else
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20760 ac_cv_lib_m_j0=no
20762 rm -f conftest.err conftest.$ac_objext \
20763 conftest$ac_exeext conftest.$ac_ext
20764 LIBS=$ac_check_lib_save_LIBS
20766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
20767 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
20768 if test $ac_cv_lib_m_j0 = yes; then
20770 cat >>confdefs.h <<\_ACEOF
20771 #define HAVE_J0 1
20772 _ACEOF
20776 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
20777 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
20778 if test "${ac_cv_lib_m_j0l+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20780 else
20781 ac_check_lib_save_LIBS=$LIBS
20782 LIBS="-lm $LIBS"
20783 if test x$gcc_no_link = xyes; then
20784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20786 { (exit 1); exit 1; }; }
20788 cat >conftest.$ac_ext <<_ACEOF
20789 /* confdefs.h. */
20790 _ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20795 /* Override any gcc2 internal prototype to avoid an error. */
20796 #ifdef __cplusplus
20797 extern "C"
20798 #endif
20799 /* We use char because int might match the return type of a gcc2
20800 builtin and then its argument prototype would still apply. */
20801 char j0l ();
20803 main ()
20805 j0l ();
20807 return 0;
20809 _ACEOF
20810 rm -f conftest.$ac_objext conftest$ac_exeext
20811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20812 (eval $ac_link) 2>conftest.er1
20813 ac_status=$?
20814 grep -v '^ *+' conftest.er1 >conftest.err
20815 rm -f conftest.er1
20816 cat conftest.err >&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } &&
20819 { ac_try='test -z "$ac_c_werror_flag"
20820 || test ! -s conftest.err'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; } &&
20826 { ac_try='test -s conftest$ac_exeext'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20829 ac_status=$?
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 ac_cv_lib_m_j0l=yes
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20837 ac_cv_lib_m_j0l=no
20839 rm -f conftest.err conftest.$ac_objext \
20840 conftest$ac_exeext conftest.$ac_ext
20841 LIBS=$ac_check_lib_save_LIBS
20843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
20844 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
20845 if test $ac_cv_lib_m_j0l = yes; then
20847 cat >>confdefs.h <<\_ACEOF
20848 #define HAVE_J0L 1
20849 _ACEOF
20853 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
20854 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
20855 if test "${ac_cv_lib_m_j1f+set}" = set; then
20856 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 else
20858 ac_check_lib_save_LIBS=$LIBS
20859 LIBS="-lm $LIBS"
20860 if test x$gcc_no_link = xyes; then
20861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20863 { (exit 1); exit 1; }; }
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h. */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20872 /* Override any gcc2 internal prototype to avoid an error. */
20873 #ifdef __cplusplus
20874 extern "C"
20875 #endif
20876 /* We use char because int might match the return type of a gcc2
20877 builtin and then its argument prototype would still apply. */
20878 char j1f ();
20880 main ()
20882 j1f ();
20884 return 0;
20886 _ACEOF
20887 rm -f conftest.$ac_objext conftest$ac_exeext
20888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20889 (eval $ac_link) 2>conftest.er1
20890 ac_status=$?
20891 grep -v '^ *+' conftest.er1 >conftest.err
20892 rm -f conftest.er1
20893 cat conftest.err >&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } &&
20896 { ac_try='test -z "$ac_c_werror_flag"
20897 || test ! -s conftest.err'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20900 ac_status=$?
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; } &&
20903 { ac_try='test -s conftest$ac_exeext'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20906 ac_status=$?
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; }; then
20909 ac_cv_lib_m_j1f=yes
20910 else
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20914 ac_cv_lib_m_j1f=no
20916 rm -f conftest.err conftest.$ac_objext \
20917 conftest$ac_exeext conftest.$ac_ext
20918 LIBS=$ac_check_lib_save_LIBS
20920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
20921 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
20922 if test $ac_cv_lib_m_j1f = yes; then
20924 cat >>confdefs.h <<\_ACEOF
20925 #define HAVE_J1F 1
20926 _ACEOF
20930 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
20931 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
20932 if test "${ac_cv_lib_m_j1+set}" = set; then
20933 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 else
20935 ac_check_lib_save_LIBS=$LIBS
20936 LIBS="-lm $LIBS"
20937 if test x$gcc_no_link = xyes; then
20938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20940 { (exit 1); exit 1; }; }
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20949 /* Override any gcc2 internal prototype to avoid an error. */
20950 #ifdef __cplusplus
20951 extern "C"
20952 #endif
20953 /* We use char because int might match the return type of a gcc2
20954 builtin and then its argument prototype would still apply. */
20955 char j1 ();
20957 main ()
20959 j1 ();
20961 return 0;
20963 _ACEOF
20964 rm -f conftest.$ac_objext conftest$ac_exeext
20965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20966 (eval $ac_link) 2>conftest.er1
20967 ac_status=$?
20968 grep -v '^ *+' conftest.er1 >conftest.err
20969 rm -f conftest.er1
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } &&
20973 { ac_try='test -z "$ac_c_werror_flag"
20974 || test ! -s conftest.err'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20977 ac_status=$?
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; } &&
20980 { ac_try='test -s conftest$ac_exeext'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20983 ac_status=$?
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; }; then
20986 ac_cv_lib_m_j1=yes
20987 else
20988 echo "$as_me: failed program was:" >&5
20989 sed 's/^/| /' conftest.$ac_ext >&5
20991 ac_cv_lib_m_j1=no
20993 rm -f conftest.err conftest.$ac_objext \
20994 conftest$ac_exeext conftest.$ac_ext
20995 LIBS=$ac_check_lib_save_LIBS
20997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
20998 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
20999 if test $ac_cv_lib_m_j1 = yes; then
21001 cat >>confdefs.h <<\_ACEOF
21002 #define HAVE_J1 1
21003 _ACEOF
21007 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21008 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21009 if test "${ac_cv_lib_m_j1l+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 else
21012 ac_check_lib_save_LIBS=$LIBS
21013 LIBS="-lm $LIBS"
21014 if test x$gcc_no_link = xyes; then
21015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21017 { (exit 1); exit 1; }; }
21019 cat >conftest.$ac_ext <<_ACEOF
21020 /* confdefs.h. */
21021 _ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21026 /* Override any gcc2 internal prototype to avoid an error. */
21027 #ifdef __cplusplus
21028 extern "C"
21029 #endif
21030 /* We use char because int might match the return type of a gcc2
21031 builtin and then its argument prototype would still apply. */
21032 char j1l ();
21034 main ()
21036 j1l ();
21038 return 0;
21040 _ACEOF
21041 rm -f conftest.$ac_objext conftest$ac_exeext
21042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21043 (eval $ac_link) 2>conftest.er1
21044 ac_status=$?
21045 grep -v '^ *+' conftest.er1 >conftest.err
21046 rm -f conftest.er1
21047 cat conftest.err >&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } &&
21050 { ac_try='test -z "$ac_c_werror_flag"
21051 || test ! -s conftest.err'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21054 ac_status=$?
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; } &&
21057 { ac_try='test -s conftest$ac_exeext'
21058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059 (eval $ac_try) 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_cv_lib_m_j1l=yes
21064 else
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.$ac_ext >&5
21068 ac_cv_lib_m_j1l=no
21070 rm -f conftest.err conftest.$ac_objext \
21071 conftest$ac_exeext conftest.$ac_ext
21072 LIBS=$ac_check_lib_save_LIBS
21074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21075 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21076 if test $ac_cv_lib_m_j1l = yes; then
21078 cat >>confdefs.h <<\_ACEOF
21079 #define HAVE_J1L 1
21080 _ACEOF
21084 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21085 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21086 if test "${ac_cv_lib_m_jnf+set}" = set; then
21087 echo $ECHO_N "(cached) $ECHO_C" >&6
21088 else
21089 ac_check_lib_save_LIBS=$LIBS
21090 LIBS="-lm $LIBS"
21091 if test x$gcc_no_link = xyes; then
21092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21094 { (exit 1); exit 1; }; }
21096 cat >conftest.$ac_ext <<_ACEOF
21097 /* confdefs.h. */
21098 _ACEOF
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21103 /* Override any gcc2 internal prototype to avoid an error. */
21104 #ifdef __cplusplus
21105 extern "C"
21106 #endif
21107 /* We use char because int might match the return type of a gcc2
21108 builtin and then its argument prototype would still apply. */
21109 char jnf ();
21111 main ()
21113 jnf ();
21115 return 0;
21117 _ACEOF
21118 rm -f conftest.$ac_objext conftest$ac_exeext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21120 (eval $ac_link) 2>conftest.er1
21121 ac_status=$?
21122 grep -v '^ *+' conftest.er1 >conftest.err
21123 rm -f conftest.er1
21124 cat conftest.err >&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try='test -z "$ac_c_werror_flag"
21128 || test ! -s conftest.err'
21129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21130 (eval $ac_try) 2>&5
21131 ac_status=$?
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); }; } &&
21134 { ac_try='test -s conftest$ac_exeext'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21137 ac_status=$?
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; }; then
21140 ac_cv_lib_m_jnf=yes
21141 else
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.$ac_ext >&5
21145 ac_cv_lib_m_jnf=no
21147 rm -f conftest.err conftest.$ac_objext \
21148 conftest$ac_exeext conftest.$ac_ext
21149 LIBS=$ac_check_lib_save_LIBS
21151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21152 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21153 if test $ac_cv_lib_m_jnf = yes; then
21155 cat >>confdefs.h <<\_ACEOF
21156 #define HAVE_JNF 1
21157 _ACEOF
21161 echo "$as_me:$LINENO: checking for jn in -lm" >&5
21162 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21163 if test "${ac_cv_lib_m_jn+set}" = set; then
21164 echo $ECHO_N "(cached) $ECHO_C" >&6
21165 else
21166 ac_check_lib_save_LIBS=$LIBS
21167 LIBS="-lm $LIBS"
21168 if test x$gcc_no_link = xyes; then
21169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21171 { (exit 1); exit 1; }; }
21173 cat >conftest.$ac_ext <<_ACEOF
21174 /* confdefs.h. */
21175 _ACEOF
21176 cat confdefs.h >>conftest.$ac_ext
21177 cat >>conftest.$ac_ext <<_ACEOF
21178 /* end confdefs.h. */
21180 /* Override any gcc2 internal prototype to avoid an error. */
21181 #ifdef __cplusplus
21182 extern "C"
21183 #endif
21184 /* We use char because int might match the return type of a gcc2
21185 builtin and then its argument prototype would still apply. */
21186 char jn ();
21188 main ()
21190 jn ();
21192 return 0;
21194 _ACEOF
21195 rm -f conftest.$ac_objext conftest$ac_exeext
21196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21197 (eval $ac_link) 2>conftest.er1
21198 ac_status=$?
21199 grep -v '^ *+' conftest.er1 >conftest.err
21200 rm -f conftest.er1
21201 cat conftest.err >&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try='test -z "$ac_c_werror_flag"
21205 || test ! -s conftest.err'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; } &&
21211 { ac_try='test -s conftest$ac_exeext'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; }; then
21217 ac_cv_lib_m_jn=yes
21218 else
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.$ac_ext >&5
21222 ac_cv_lib_m_jn=no
21224 rm -f conftest.err conftest.$ac_objext \
21225 conftest$ac_exeext conftest.$ac_ext
21226 LIBS=$ac_check_lib_save_LIBS
21228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
21229 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
21230 if test $ac_cv_lib_m_jn = yes; then
21232 cat >>confdefs.h <<\_ACEOF
21233 #define HAVE_JN 1
21234 _ACEOF
21238 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
21239 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
21240 if test "${ac_cv_lib_m_jnl+set}" = set; then
21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 else
21243 ac_check_lib_save_LIBS=$LIBS
21244 LIBS="-lm $LIBS"
21245 if test x$gcc_no_link = xyes; then
21246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21248 { (exit 1); exit 1; }; }
21250 cat >conftest.$ac_ext <<_ACEOF
21251 /* confdefs.h. */
21252 _ACEOF
21253 cat confdefs.h >>conftest.$ac_ext
21254 cat >>conftest.$ac_ext <<_ACEOF
21255 /* end confdefs.h. */
21257 /* Override any gcc2 internal prototype to avoid an error. */
21258 #ifdef __cplusplus
21259 extern "C"
21260 #endif
21261 /* We use char because int might match the return type of a gcc2
21262 builtin and then its argument prototype would still apply. */
21263 char jnl ();
21265 main ()
21267 jnl ();
21269 return 0;
21271 _ACEOF
21272 rm -f conftest.$ac_objext conftest$ac_exeext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21274 (eval $ac_link) 2>conftest.er1
21275 ac_status=$?
21276 grep -v '^ *+' conftest.er1 >conftest.err
21277 rm -f conftest.er1
21278 cat conftest.err >&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } &&
21281 { ac_try='test -z "$ac_c_werror_flag"
21282 || test ! -s conftest.err'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21285 ac_status=$?
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try='test -s conftest$ac_exeext'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21291 ac_status=$?
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 ac_cv_lib_m_jnl=yes
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21299 ac_cv_lib_m_jnl=no
21301 rm -f conftest.err conftest.$ac_objext \
21302 conftest$ac_exeext conftest.$ac_ext
21303 LIBS=$ac_check_lib_save_LIBS
21305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
21306 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21307 if test $ac_cv_lib_m_jnl = yes; then
21309 cat >>confdefs.h <<\_ACEOF
21310 #define HAVE_JNL 1
21311 _ACEOF
21315 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21316 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21317 if test "${ac_cv_lib_m_y0f+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 else
21320 ac_check_lib_save_LIBS=$LIBS
21321 LIBS="-lm $LIBS"
21322 if test x$gcc_no_link = xyes; then
21323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21325 { (exit 1); exit 1; }; }
21327 cat >conftest.$ac_ext <<_ACEOF
21328 /* confdefs.h. */
21329 _ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21334 /* Override any gcc2 internal prototype to avoid an error. */
21335 #ifdef __cplusplus
21336 extern "C"
21337 #endif
21338 /* We use char because int might match the return type of a gcc2
21339 builtin and then its argument prototype would still apply. */
21340 char y0f ();
21342 main ()
21344 y0f ();
21346 return 0;
21348 _ACEOF
21349 rm -f conftest.$ac_objext conftest$ac_exeext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>conftest.er1
21352 ac_status=$?
21353 grep -v '^ *+' conftest.er1 >conftest.err
21354 rm -f conftest.er1
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -z "$ac_c_werror_flag"
21359 || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try='test -s conftest$ac_exeext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21368 ac_status=$?
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 ac_cv_lib_m_y0f=yes
21372 else
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21376 ac_cv_lib_m_y0f=no
21378 rm -f conftest.err conftest.$ac_objext \
21379 conftest$ac_exeext conftest.$ac_ext
21380 LIBS=$ac_check_lib_save_LIBS
21382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21383 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21384 if test $ac_cv_lib_m_y0f = yes; then
21386 cat >>confdefs.h <<\_ACEOF
21387 #define HAVE_Y0F 1
21388 _ACEOF
21392 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21393 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21394 if test "${ac_cv_lib_m_y0+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 else
21397 ac_check_lib_save_LIBS=$LIBS
21398 LIBS="-lm $LIBS"
21399 if test x$gcc_no_link = xyes; then
21400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21402 { (exit 1); exit 1; }; }
21404 cat >conftest.$ac_ext <<_ACEOF
21405 /* confdefs.h. */
21406 _ACEOF
21407 cat confdefs.h >>conftest.$ac_ext
21408 cat >>conftest.$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21411 /* Override any gcc2 internal prototype to avoid an error. */
21412 #ifdef __cplusplus
21413 extern "C"
21414 #endif
21415 /* We use char because int might match the return type of a gcc2
21416 builtin and then its argument prototype would still apply. */
21417 char y0 ();
21419 main ()
21421 y0 ();
21423 return 0;
21425 _ACEOF
21426 rm -f conftest.$ac_objext conftest$ac_exeext
21427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21428 (eval $ac_link) 2>conftest.er1
21429 ac_status=$?
21430 grep -v '^ *+' conftest.er1 >conftest.err
21431 rm -f conftest.er1
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } &&
21435 { ac_try='test -z "$ac_c_werror_flag"
21436 || test ! -s conftest.err'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21439 ac_status=$?
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; } &&
21442 { ac_try='test -s conftest$ac_exeext'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; }; then
21448 ac_cv_lib_m_y0=yes
21449 else
21450 echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.$ac_ext >&5
21453 ac_cv_lib_m_y0=no
21455 rm -f conftest.err conftest.$ac_objext \
21456 conftest$ac_exeext conftest.$ac_ext
21457 LIBS=$ac_check_lib_save_LIBS
21459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21460 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21461 if test $ac_cv_lib_m_y0 = yes; then
21463 cat >>confdefs.h <<\_ACEOF
21464 #define HAVE_Y0 1
21465 _ACEOF
21469 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21470 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21471 if test "${ac_cv_lib_m_y0l+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21474 ac_check_lib_save_LIBS=$LIBS
21475 LIBS="-lm $LIBS"
21476 if test x$gcc_no_link = xyes; then
21477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21479 { (exit 1); exit 1; }; }
21481 cat >conftest.$ac_ext <<_ACEOF
21482 /* confdefs.h. */
21483 _ACEOF
21484 cat confdefs.h >>conftest.$ac_ext
21485 cat >>conftest.$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21488 /* Override any gcc2 internal prototype to avoid an error. */
21489 #ifdef __cplusplus
21490 extern "C"
21491 #endif
21492 /* We use char because int might match the return type of a gcc2
21493 builtin and then its argument prototype would still apply. */
21494 char y0l ();
21496 main ()
21498 y0l ();
21500 return 0;
21502 _ACEOF
21503 rm -f conftest.$ac_objext conftest$ac_exeext
21504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21505 (eval $ac_link) 2>conftest.er1
21506 ac_status=$?
21507 grep -v '^ *+' conftest.er1 >conftest.err
21508 rm -f conftest.er1
21509 cat conftest.err >&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try='test -z "$ac_c_werror_flag"
21513 || test ! -s conftest.err'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; } &&
21519 { ac_try='test -s conftest$ac_exeext'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21522 ac_status=$?
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; }; then
21525 ac_cv_lib_m_y0l=yes
21526 else
21527 echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21530 ac_cv_lib_m_y0l=no
21532 rm -f conftest.err conftest.$ac_objext \
21533 conftest$ac_exeext conftest.$ac_ext
21534 LIBS=$ac_check_lib_save_LIBS
21536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21537 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21538 if test $ac_cv_lib_m_y0l = yes; then
21540 cat >>confdefs.h <<\_ACEOF
21541 #define HAVE_Y0L 1
21542 _ACEOF
21546 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21547 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21548 if test "${ac_cv_lib_m_y1f+set}" = set; then
21549 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 else
21551 ac_check_lib_save_LIBS=$LIBS
21552 LIBS="-lm $LIBS"
21553 if test x$gcc_no_link = xyes; then
21554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21556 { (exit 1); exit 1; }; }
21558 cat >conftest.$ac_ext <<_ACEOF
21559 /* confdefs.h. */
21560 _ACEOF
21561 cat confdefs.h >>conftest.$ac_ext
21562 cat >>conftest.$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21565 /* Override any gcc2 internal prototype to avoid an error. */
21566 #ifdef __cplusplus
21567 extern "C"
21568 #endif
21569 /* We use char because int might match the return type of a gcc2
21570 builtin and then its argument prototype would still apply. */
21571 char y1f ();
21573 main ()
21575 y1f ();
21577 return 0;
21579 _ACEOF
21580 rm -f conftest.$ac_objext conftest$ac_exeext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21582 (eval $ac_link) 2>conftest.er1
21583 ac_status=$?
21584 grep -v '^ *+' conftest.er1 >conftest.err
21585 rm -f conftest.er1
21586 cat conftest.err >&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try='test -z "$ac_c_werror_flag"
21590 || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try='test -s conftest$ac_exeext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21599 ac_status=$?
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_cv_lib_m_y1f=yes
21603 else
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.$ac_ext >&5
21607 ac_cv_lib_m_y1f=no
21609 rm -f conftest.err conftest.$ac_objext \
21610 conftest$ac_exeext conftest.$ac_ext
21611 LIBS=$ac_check_lib_save_LIBS
21613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
21614 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
21615 if test $ac_cv_lib_m_y1f = yes; then
21617 cat >>confdefs.h <<\_ACEOF
21618 #define HAVE_Y1F 1
21619 _ACEOF
21623 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
21624 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
21625 if test "${ac_cv_lib_m_y1+set}" = set; then
21626 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 else
21628 ac_check_lib_save_LIBS=$LIBS
21629 LIBS="-lm $LIBS"
21630 if test x$gcc_no_link = xyes; then
21631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21633 { (exit 1); exit 1; }; }
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21642 /* Override any gcc2 internal prototype to avoid an error. */
21643 #ifdef __cplusplus
21644 extern "C"
21645 #endif
21646 /* We use char because int might match the return type of a gcc2
21647 builtin and then its argument prototype would still apply. */
21648 char y1 ();
21650 main ()
21652 y1 ();
21654 return 0;
21656 _ACEOF
21657 rm -f conftest.$ac_objext conftest$ac_exeext
21658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21659 (eval $ac_link) 2>conftest.er1
21660 ac_status=$?
21661 grep -v '^ *+' conftest.er1 >conftest.err
21662 rm -f conftest.er1
21663 cat conftest.err >&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try='test -z "$ac_c_werror_flag"
21667 || test ! -s conftest.err'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21670 ac_status=$?
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; } &&
21673 { ac_try='test -s conftest$ac_exeext'
21674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21675 (eval $ac_try) 2>&5
21676 ac_status=$?
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); }; }; then
21679 ac_cv_lib_m_y1=yes
21680 else
21681 echo "$as_me: failed program was:" >&5
21682 sed 's/^/| /' conftest.$ac_ext >&5
21684 ac_cv_lib_m_y1=no
21686 rm -f conftest.err conftest.$ac_objext \
21687 conftest$ac_exeext conftest.$ac_ext
21688 LIBS=$ac_check_lib_save_LIBS
21690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21691 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21692 if test $ac_cv_lib_m_y1 = yes; then
21694 cat >>confdefs.h <<\_ACEOF
21695 #define HAVE_Y1 1
21696 _ACEOF
21700 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21701 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21702 if test "${ac_cv_lib_m_y1l+set}" = set; then
21703 echo $ECHO_N "(cached) $ECHO_C" >&6
21704 else
21705 ac_check_lib_save_LIBS=$LIBS
21706 LIBS="-lm $LIBS"
21707 if test x$gcc_no_link = xyes; then
21708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21710 { (exit 1); exit 1; }; }
21712 cat >conftest.$ac_ext <<_ACEOF
21713 /* confdefs.h. */
21714 _ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21719 /* Override any gcc2 internal prototype to avoid an error. */
21720 #ifdef __cplusplus
21721 extern "C"
21722 #endif
21723 /* We use char because int might match the return type of a gcc2
21724 builtin and then its argument prototype would still apply. */
21725 char y1l ();
21727 main ()
21729 y1l ();
21731 return 0;
21733 _ACEOF
21734 rm -f conftest.$ac_objext conftest$ac_exeext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21736 (eval $ac_link) 2>conftest.er1
21737 ac_status=$?
21738 grep -v '^ *+' conftest.er1 >conftest.err
21739 rm -f conftest.er1
21740 cat conftest.err >&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try='test -z "$ac_c_werror_flag"
21744 || test ! -s conftest.err'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21747 ac_status=$?
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; } &&
21750 { ac_try='test -s conftest$ac_exeext'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21753 ac_status=$?
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 ac_cv_lib_m_y1l=yes
21757 else
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21761 ac_cv_lib_m_y1l=no
21763 rm -f conftest.err conftest.$ac_objext \
21764 conftest$ac_exeext conftest.$ac_ext
21765 LIBS=$ac_check_lib_save_LIBS
21767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
21768 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
21769 if test $ac_cv_lib_m_y1l = yes; then
21771 cat >>confdefs.h <<\_ACEOF
21772 #define HAVE_Y1L 1
21773 _ACEOF
21777 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
21778 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
21779 if test "${ac_cv_lib_m_ynf+set}" = set; then
21780 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 else
21782 ac_check_lib_save_LIBS=$LIBS
21783 LIBS="-lm $LIBS"
21784 if test x$gcc_no_link = xyes; then
21785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21787 { (exit 1); exit 1; }; }
21789 cat >conftest.$ac_ext <<_ACEOF
21790 /* confdefs.h. */
21791 _ACEOF
21792 cat confdefs.h >>conftest.$ac_ext
21793 cat >>conftest.$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21796 /* Override any gcc2 internal prototype to avoid an error. */
21797 #ifdef __cplusplus
21798 extern "C"
21799 #endif
21800 /* We use char because int might match the return type of a gcc2
21801 builtin and then its argument prototype would still apply. */
21802 char ynf ();
21804 main ()
21806 ynf ();
21808 return 0;
21810 _ACEOF
21811 rm -f conftest.$ac_objext conftest$ac_exeext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21813 (eval $ac_link) 2>conftest.er1
21814 ac_status=$?
21815 grep -v '^ *+' conftest.er1 >conftest.err
21816 rm -f conftest.er1
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try='test -z "$ac_c_werror_flag"
21821 || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21824 ac_status=$?
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try='test -s conftest$ac_exeext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21830 ac_status=$?
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 ac_cv_lib_m_ynf=yes
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21838 ac_cv_lib_m_ynf=no
21840 rm -f conftest.err conftest.$ac_objext \
21841 conftest$ac_exeext conftest.$ac_ext
21842 LIBS=$ac_check_lib_save_LIBS
21844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
21845 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
21846 if test $ac_cv_lib_m_ynf = yes; then
21848 cat >>confdefs.h <<\_ACEOF
21849 #define HAVE_YNF 1
21850 _ACEOF
21854 echo "$as_me:$LINENO: checking for yn in -lm" >&5
21855 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
21856 if test "${ac_cv_lib_m_yn+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 else
21859 ac_check_lib_save_LIBS=$LIBS
21860 LIBS="-lm $LIBS"
21861 if test x$gcc_no_link = xyes; then
21862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21864 { (exit 1); exit 1; }; }
21866 cat >conftest.$ac_ext <<_ACEOF
21867 /* confdefs.h. */
21868 _ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21873 /* Override any gcc2 internal prototype to avoid an error. */
21874 #ifdef __cplusplus
21875 extern "C"
21876 #endif
21877 /* We use char because int might match the return type of a gcc2
21878 builtin and then its argument prototype would still apply. */
21879 char yn ();
21881 main ()
21883 yn ();
21885 return 0;
21887 _ACEOF
21888 rm -f conftest.$ac_objext conftest$ac_exeext
21889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21890 (eval $ac_link) 2>conftest.er1
21891 ac_status=$?
21892 grep -v '^ *+' conftest.er1 >conftest.err
21893 rm -f conftest.er1
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try='test -z "$ac_c_werror_flag"
21898 || test ! -s conftest.err'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21901 ac_status=$?
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; } &&
21904 { ac_try='test -s conftest$ac_exeext'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21907 ac_status=$?
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; }; then
21910 ac_cv_lib_m_yn=yes
21911 else
21912 echo "$as_me: failed program was:" >&5
21913 sed 's/^/| /' conftest.$ac_ext >&5
21915 ac_cv_lib_m_yn=no
21917 rm -f conftest.err conftest.$ac_objext \
21918 conftest$ac_exeext conftest.$ac_ext
21919 LIBS=$ac_check_lib_save_LIBS
21921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
21922 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
21923 if test $ac_cv_lib_m_yn = yes; then
21925 cat >>confdefs.h <<\_ACEOF
21926 #define HAVE_YN 1
21927 _ACEOF
21931 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
21932 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
21933 if test "${ac_cv_lib_m_ynl+set}" = set; then
21934 echo $ECHO_N "(cached) $ECHO_C" >&6
21935 else
21936 ac_check_lib_save_LIBS=$LIBS
21937 LIBS="-lm $LIBS"
21938 if test x$gcc_no_link = xyes; then
21939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21941 { (exit 1); exit 1; }; }
21943 cat >conftest.$ac_ext <<_ACEOF
21944 /* confdefs.h. */
21945 _ACEOF
21946 cat confdefs.h >>conftest.$ac_ext
21947 cat >>conftest.$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21950 /* Override any gcc2 internal prototype to avoid an error. */
21951 #ifdef __cplusplus
21952 extern "C"
21953 #endif
21954 /* We use char because int might match the return type of a gcc2
21955 builtin and then its argument prototype would still apply. */
21956 char ynl ();
21958 main ()
21960 ynl ();
21962 return 0;
21964 _ACEOF
21965 rm -f conftest.$ac_objext conftest$ac_exeext
21966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21967 (eval $ac_link) 2>conftest.er1
21968 ac_status=$?
21969 grep -v '^ *+' conftest.er1 >conftest.err
21970 rm -f conftest.er1
21971 cat conftest.err >&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } &&
21974 { ac_try='test -z "$ac_c_werror_flag"
21975 || test ! -s conftest.err'
21976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21977 (eval $ac_try) 2>&5
21978 ac_status=$?
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); }; } &&
21981 { ac_try='test -s conftest$ac_exeext'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21984 ac_status=$?
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; }; then
21987 ac_cv_lib_m_ynl=yes
21988 else
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.$ac_ext >&5
21992 ac_cv_lib_m_ynl=no
21994 rm -f conftest.err conftest.$ac_objext \
21995 conftest$ac_exeext conftest.$ac_ext
21996 LIBS=$ac_check_lib_save_LIBS
21998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
21999 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22000 if test $ac_cv_lib_m_ynl = yes; then
22002 cat >>confdefs.h <<\_ACEOF
22003 #define HAVE_YNL 1
22004 _ACEOF
22009 # On AIX, clog is present in libm as __clog
22010 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22011 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22012 if test "${ac_cv_lib_m___clog+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 else
22015 ac_check_lib_save_LIBS=$LIBS
22016 LIBS="-lm $LIBS"
22017 if test x$gcc_no_link = xyes; then
22018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22020 { (exit 1); exit 1; }; }
22022 cat >conftest.$ac_ext <<_ACEOF
22023 /* confdefs.h. */
22024 _ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22029 /* Override any gcc2 internal prototype to avoid an error. */
22030 #ifdef __cplusplus
22031 extern "C"
22032 #endif
22033 /* We use char because int might match the return type of a gcc2
22034 builtin and then its argument prototype would still apply. */
22035 char __clog ();
22037 main ()
22039 __clog ();
22041 return 0;
22043 _ACEOF
22044 rm -f conftest.$ac_objext conftest$ac_exeext
22045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22046 (eval $ac_link) 2>conftest.er1
22047 ac_status=$?
22048 grep -v '^ *+' conftest.er1 >conftest.err
22049 rm -f conftest.er1
22050 cat conftest.err >&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } &&
22053 { ac_try='test -z "$ac_c_werror_flag"
22054 || test ! -s conftest.err'
22055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22056 (eval $ac_try) 2>&5
22057 ac_status=$?
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); }; } &&
22060 { ac_try='test -s conftest$ac_exeext'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22063 ac_status=$?
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; }; then
22066 ac_cv_lib_m___clog=yes
22067 else
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22071 ac_cv_lib_m___clog=no
22073 rm -f conftest.err conftest.$ac_objext \
22074 conftest$ac_exeext conftest.$ac_ext
22075 LIBS=$ac_check_lib_save_LIBS
22077 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22078 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22079 if test $ac_cv_lib_m___clog = yes; then
22081 cat >>confdefs.h <<\_ACEOF
22082 #define HAVE_CLOG 1
22083 _ACEOF
22088 # Check for a isfinite macro that works on long doubles.
22090 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22091 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22092 if test "${have_broken_isfinite+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22094 else
22096 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22097 LIBS="$LIBS -lm"
22098 if test "$cross_compiling" = yes; then
22100 case "${target}" in
22101 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22102 *) have_broken_isfinite=no ;;
22103 esac
22104 else
22105 cat >conftest.$ac_ext <<_ACEOF
22106 /* confdefs.h. */
22107 _ACEOF
22108 cat confdefs.h >>conftest.$ac_ext
22109 cat >>conftest.$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22112 #ifdef HAVE_MATH_H
22113 #include <math.h>
22114 #endif
22115 #include <float.h>
22116 int main ()
22118 #ifdef isfinite
22119 #ifdef LDBL_MAX
22120 if (!isfinite(LDBL_MAX)) return 1;
22121 #endif
22122 #ifdef DBL_MAX
22123 if (!isfinite(DBL_MAX)) return 1;
22124 #endif
22125 #endif
22126 return 0;
22128 _ACEOF
22129 rm -f conftest$ac_exeext
22130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22131 (eval $ac_link) 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 have_broken_isfinite=no
22141 else
22142 echo "$as_me: program exited with status $ac_status" >&5
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22146 ( exit $ac_status )
22147 have_broken_isfinite=yes
22149 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22151 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
22153 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22154 echo "${ECHO_T}$have_broken_isfinite" >&6
22155 if test x"$have_broken_isfinite" = xyes; then
22157 cat >>confdefs.h <<\_ACEOF
22158 #define HAVE_BROKEN_ISFINITE 1
22159 _ACEOF
22163 # Check for a isnan macro that works on long doubles.
22165 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22166 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22167 if test "${have_broken_isnan+set}" = set; then
22168 echo $ECHO_N "(cached) $ECHO_C" >&6
22169 else
22171 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
22172 LIBS="$LIBS -lm"
22173 if test "$cross_compiling" = yes; then
22175 case "${target}" in
22176 hppa*-*-hpux*) have_broken_isnan=yes ;;
22177 *) have_broken_isnan=no ;;
22178 esac
22179 else
22180 cat >conftest.$ac_ext <<_ACEOF
22181 /* confdefs.h. */
22182 _ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22187 #ifdef HAVE_MATH_H
22188 #include <math.h>
22189 #endif
22190 #include <float.h>
22191 int main ()
22193 #ifdef isnan
22194 #ifdef LDBL_MAX
22196 long double x;
22197 x = __builtin_nanl ("");
22198 if (!isnan(x)) return 1;
22199 if (isnan(LDBL_MAX)) return 1;
22200 #ifdef NAN
22201 x = (long double) NAN;
22202 if (!isnan(x)) return 1;
22203 #endif
22205 #endif
22206 #ifdef DBL_MAX
22208 double y;
22209 y = __builtin_nan ("");
22210 if (!isnan(y)) return 1;
22211 if (isnan(DBL_MAX)) return 1;
22212 #ifdef NAN
22213 y = (double) NAN;
22214 if (!isnan(y)) return 1;
22215 #endif
22217 #endif
22218 #endif
22219 return 0;
22221 _ACEOF
22222 rm -f conftest$ac_exeext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22224 (eval $ac_link) 2>&5
22225 ac_status=$?
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 have_broken_isnan=no
22234 else
22235 echo "$as_me: program exited with status $ac_status" >&5
22236 echo "$as_me: failed program was:" >&5
22237 sed 's/^/| /' conftest.$ac_ext >&5
22239 ( exit $ac_status )
22240 have_broken_isnan=yes
22242 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22244 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
22246 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
22247 echo "${ECHO_T}$have_broken_isnan" >&6
22248 if test x"$have_broken_isnan" = xyes; then
22250 cat >>confdefs.h <<\_ACEOF
22251 #define HAVE_BROKEN_ISNAN 1
22252 _ACEOF
22256 # Check for a fpclassify macro that works on long doubles.
22258 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
22259 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
22260 if test "${have_broken_fpclassify+set}" = set; then
22261 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 else
22264 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
22265 LIBS="$LIBS -lm"
22266 if test "$cross_compiling" = yes; then
22268 case "${target}" in
22269 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
22270 *) have_broken_fpclassify=no ;;
22271 esac
22272 else
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22280 #ifdef HAVE_MATH_H
22281 #include <math.h>
22282 #endif
22283 #include <float.h>
22284 int main ()
22286 #ifdef fpclassify
22287 #ifdef LDBL_MAX
22288 if (fpclassify(LDBL_MAX) == FP_NAN
22289 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
22290 #endif
22291 #ifdef DBL_MAX
22292 if (fpclassify(DBL_MAX) == FP_NAN
22293 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
22294 #endif
22295 #endif
22296 return 0;
22298 _ACEOF
22299 rm -f conftest$ac_exeext
22300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22301 (eval $ac_link) 2>&5
22302 ac_status=$?
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22307 ac_status=$?
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; }; then
22310 have_broken_fpclassify=no
22311 else
22312 echo "$as_me: program exited with status $ac_status" >&5
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.$ac_ext >&5
22316 ( exit $ac_status )
22317 have_broken_fpclassify=yes
22319 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22321 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
22323 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22324 echo "${ECHO_T}$have_broken_fpclassify" >&6
22325 if test x"$have_broken_fpclassify" = xyes; then
22327 cat >>confdefs.h <<\_ACEOF
22328 #define HAVE_BROKEN_FPCLASSIFY 1
22329 _ACEOF
22333 # Check whether the system has a working stat()
22335 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22336 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22337 if test "${have_working_stat+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 else
22341 if test "$cross_compiling" = yes; then
22343 case "${target}" in
22344 *mingw*) have_working_stat=no ;;
22345 *) have_working_stat=yes;;
22346 esac
22347 else
22348 cat >conftest.$ac_ext <<_ACEOF
22349 /* confdefs.h. */
22350 _ACEOF
22351 cat confdefs.h >>conftest.$ac_ext
22352 cat >>conftest.$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22355 #include <stdio.h>
22356 #include <sys/types.h>
22357 #include <sys/stat.h>
22358 #include <unistd.h>
22360 int main ()
22362 FILE *f, *g;
22363 struct stat st1, st2;
22365 f = fopen ("foo", "w");
22366 g = fopen ("bar", "w");
22367 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22368 return 1;
22369 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22370 return 1;
22371 fclose(f);
22372 fclose(g);
22373 return 0;
22375 _ACEOF
22376 rm -f conftest$ac_exeext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22378 (eval $ac_link) 2>&5
22379 ac_status=$?
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22383 (eval $ac_try) 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; }; then
22387 have_working_stat=yes
22388 else
22389 echo "$as_me: program exited with status $ac_status" >&5
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22393 ( exit $ac_status )
22394 have_working_stat=no
22396 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22399 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22400 echo "${ECHO_T}$have_working_stat" >&6
22401 if test x"$have_working_stat" = xyes; then
22403 cat >>confdefs.h <<\_ACEOF
22404 #define HAVE_WORKING_STAT 1
22405 _ACEOF
22409 # Fallback in case isfinite is not available.
22410 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22411 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22412 if test "${ac_cv_lib_m_finite+set}" = set; then
22413 echo $ECHO_N "(cached) $ECHO_C" >&6
22414 else
22415 ac_check_lib_save_LIBS=$LIBS
22416 LIBS="-lm $LIBS"
22417 if test x$gcc_no_link = xyes; then
22418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22420 { (exit 1); exit 1; }; }
22422 cat >conftest.$ac_ext <<_ACEOF
22423 /* confdefs.h. */
22424 _ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22429 /* Override any gcc2 internal prototype to avoid an error. */
22430 #ifdef __cplusplus
22431 extern "C"
22432 #endif
22433 /* We use char because int might match the return type of a gcc2
22434 builtin and then its argument prototype would still apply. */
22435 char finite ();
22437 main ()
22439 finite ();
22441 return 0;
22443 _ACEOF
22444 rm -f conftest.$ac_objext conftest$ac_exeext
22445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22446 (eval $ac_link) 2>conftest.er1
22447 ac_status=$?
22448 grep -v '^ *+' conftest.er1 >conftest.err
22449 rm -f conftest.er1
22450 cat conftest.err >&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } &&
22453 { ac_try='test -z "$ac_c_werror_flag"
22454 || test ! -s conftest.err'
22455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22456 (eval $ac_try) 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; } &&
22460 { ac_try='test -s conftest$ac_exeext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_lib_m_finite=yes
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22471 ac_cv_lib_m_finite=no
22473 rm -f conftest.err conftest.$ac_objext \
22474 conftest$ac_exeext conftest.$ac_ext
22475 LIBS=$ac_check_lib_save_LIBS
22477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22478 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22479 if test $ac_cv_lib_m_finite = yes; then
22481 cat >>confdefs.h <<\_ACEOF
22482 #define HAVE_FINITE 1
22483 _ACEOF
22488 # Check for GNU libc feenableexcept
22489 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22490 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22491 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22493 else
22494 ac_check_lib_save_LIBS=$LIBS
22495 LIBS="-lm $LIBS"
22496 if test x$gcc_no_link = xyes; then
22497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22499 { (exit 1); exit 1; }; }
22501 cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h. */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22508 /* Override any gcc2 internal prototype to avoid an error. */
22509 #ifdef __cplusplus
22510 extern "C"
22511 #endif
22512 /* We use char because int might match the return type of a gcc2
22513 builtin and then its argument prototype would still apply. */
22514 char feenableexcept ();
22516 main ()
22518 feenableexcept ();
22520 return 0;
22522 _ACEOF
22523 rm -f conftest.$ac_objext conftest$ac_exeext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22525 (eval $ac_link) 2>conftest.er1
22526 ac_status=$?
22527 grep -v '^ *+' conftest.er1 >conftest.err
22528 rm -f conftest.er1
22529 cat conftest.err >&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try='test -z "$ac_c_werror_flag"
22533 || test ! -s conftest.err'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; } &&
22539 { ac_try='test -s conftest$ac_exeext'
22540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541 (eval $ac_try) 2>&5
22542 ac_status=$?
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; }; then
22545 ac_cv_lib_m_feenableexcept=yes
22546 else
22547 echo "$as_me: failed program was:" >&5
22548 sed 's/^/| /' conftest.$ac_ext >&5
22550 ac_cv_lib_m_feenableexcept=no
22552 rm -f conftest.err conftest.$ac_objext \
22553 conftest$ac_exeext conftest.$ac_ext
22554 LIBS=$ac_check_lib_save_LIBS
22556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22557 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22558 if test $ac_cv_lib_m_feenableexcept = yes; then
22559 have_feenableexcept=yes
22560 cat >>confdefs.h <<\_ACEOF
22561 #define HAVE_FEENABLEEXCEPT 1
22562 _ACEOF
22567 # Check for SysV fpsetmask
22569 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22570 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22571 if test "${have_fpsetmask+set}" = set; then
22572 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 else
22575 if test x$gcc_no_link = xyes; then
22576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22578 { (exit 1); exit 1; }; }
22580 cat >conftest.$ac_ext <<_ACEOF
22581 /* confdefs.h. */
22582 _ACEOF
22583 cat confdefs.h >>conftest.$ac_ext
22584 cat >>conftest.$ac_ext <<_ACEOF
22585 /* end confdefs.h. */
22587 #if HAVE_FLOATINGPOINT_H
22588 # include <floatingpoint.h>
22589 #endif /* HAVE_FLOATINGPOINT_H */
22590 #if HAVE_IEEEFP_H
22591 # include <ieeefp.h>
22592 #endif /* HAVE_IEEEFP_H */
22594 main ()
22596 fpsetmask(0);
22598 return 0;
22600 _ACEOF
22601 rm -f conftest.$ac_objext conftest$ac_exeext
22602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22603 (eval $ac_link) 2>conftest.er1
22604 ac_status=$?
22605 grep -v '^ *+' conftest.er1 >conftest.err
22606 rm -f conftest.er1
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } &&
22610 { ac_try='test -z "$ac_c_werror_flag"
22611 || test ! -s conftest.err'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22614 ac_status=$?
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; } &&
22617 { ac_try='test -s conftest$ac_exeext'
22618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619 (eval $ac_try) 2>&5
22620 ac_status=$?
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); }; }; then
22623 eval "have_fpsetmask=yes"
22624 else
22625 echo "$as_me: failed program was:" >&5
22626 sed 's/^/| /' conftest.$ac_ext >&5
22628 eval "have_fpsetmask=no"
22630 rm -f conftest.err conftest.$ac_objext \
22631 conftest$ac_exeext conftest.$ac_ext
22634 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
22635 echo "${ECHO_T}$have_fpsetmask" >&6
22636 if test x"$have_fpsetmask" = xyes; then
22638 cat >>confdefs.h <<\_ACEOF
22639 #define HAVE_FPSETMASK 1
22640 _ACEOF
22645 # Check for AIX fp_trap and fp_enable
22646 echo "$as_me:$LINENO: checking for fp_trap" >&5
22647 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
22648 if test "${ac_cv_func_fp_trap+set}" = set; then
22649 echo $ECHO_N "(cached) $ECHO_C" >&6
22650 else
22651 if test x$gcc_no_link = xyes; then
22652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22654 { (exit 1); exit 1; }; }
22656 cat >conftest.$ac_ext <<_ACEOF
22657 /* confdefs.h. */
22658 _ACEOF
22659 cat confdefs.h >>conftest.$ac_ext
22660 cat >>conftest.$ac_ext <<_ACEOF
22661 /* end confdefs.h. */
22662 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
22663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22664 #define fp_trap innocuous_fp_trap
22666 /* System header to define __stub macros and hopefully few prototypes,
22667 which can conflict with char fp_trap (); below.
22668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22669 <limits.h> exists even on freestanding compilers. */
22671 #ifdef __STDC__
22672 # include <limits.h>
22673 #else
22674 # include <assert.h>
22675 #endif
22677 #undef fp_trap
22679 /* Override any gcc2 internal prototype to avoid an error. */
22680 #ifdef __cplusplus
22681 extern "C"
22683 #endif
22684 /* We use char because int might match the return type of a gcc2
22685 builtin and then its argument prototype would still apply. */
22686 char fp_trap ();
22687 /* The GNU C library defines this for functions which it implements
22688 to always fail with ENOSYS. Some functions are actually named
22689 something starting with __ and the normal name is an alias. */
22690 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22691 choke me
22692 #else
22693 char (*f) () = fp_trap;
22694 #endif
22695 #ifdef __cplusplus
22697 #endif
22700 main ()
22702 return f != fp_trap;
22704 return 0;
22706 _ACEOF
22707 rm -f conftest.$ac_objext conftest$ac_exeext
22708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22709 (eval $ac_link) 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try='test -z "$ac_c_werror_flag"
22717 || test ! -s conftest.err'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22720 ac_status=$?
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; } &&
22723 { ac_try='test -s conftest$ac_exeext'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22726 ac_status=$?
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; }; then
22729 ac_cv_func_fp_trap=yes
22730 else
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.$ac_ext >&5
22734 ac_cv_func_fp_trap=no
22736 rm -f conftest.err conftest.$ac_objext \
22737 conftest$ac_exeext conftest.$ac_ext
22739 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
22740 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
22741 if test $ac_cv_func_fp_trap = yes; then
22742 have_fp_trap=yes
22743 cat >>confdefs.h <<\_ACEOF
22744 #define HAVE_FP_TRAP 1
22745 _ACEOF
22749 echo "$as_me:$LINENO: checking for fp_enable" >&5
22750 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
22751 if test "${ac_cv_func_fp_enable+set}" = set; then
22752 echo $ECHO_N "(cached) $ECHO_C" >&6
22753 else
22754 if test x$gcc_no_link = xyes; then
22755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22757 { (exit 1); exit 1; }; }
22759 cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h. */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
22766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22767 #define fp_enable innocuous_fp_enable
22769 /* System header to define __stub macros and hopefully few prototypes,
22770 which can conflict with char fp_enable (); below.
22771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22772 <limits.h> exists even on freestanding compilers. */
22774 #ifdef __STDC__
22775 # include <limits.h>
22776 #else
22777 # include <assert.h>
22778 #endif
22780 #undef fp_enable
22782 /* Override any gcc2 internal prototype to avoid an error. */
22783 #ifdef __cplusplus
22784 extern "C"
22786 #endif
22787 /* We use char because int might match the return type of a gcc2
22788 builtin and then its argument prototype would still apply. */
22789 char fp_enable ();
22790 /* The GNU C library defines this for functions which it implements
22791 to always fail with ENOSYS. Some functions are actually named
22792 something starting with __ and the normal name is an alias. */
22793 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
22794 choke me
22795 #else
22796 char (*f) () = fp_enable;
22797 #endif
22798 #ifdef __cplusplus
22800 #endif
22803 main ()
22805 return f != fp_enable;
22807 return 0;
22809 _ACEOF
22810 rm -f conftest.$ac_objext conftest$ac_exeext
22811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22812 (eval $ac_link) 2>conftest.er1
22813 ac_status=$?
22814 grep -v '^ *+' conftest.er1 >conftest.err
22815 rm -f conftest.er1
22816 cat conftest.err >&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); } &&
22819 { ac_try='test -z "$ac_c_werror_flag"
22820 || test ! -s conftest.err'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22823 ac_status=$?
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; } &&
22826 { ac_try='test -s conftest$ac_exeext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22829 ac_status=$?
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_cv_func_fp_enable=yes
22833 else
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.$ac_ext >&5
22837 ac_cv_func_fp_enable=no
22839 rm -f conftest.err conftest.$ac_objext \
22840 conftest$ac_exeext conftest.$ac_ext
22842 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
22843 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
22844 if test $ac_cv_func_fp_enable = yes; then
22845 have_fp_enable=yes
22846 cat >>confdefs.h <<\_ACEOF
22847 #define HAVE_FP_ENABLE 1
22848 _ACEOF
22853 # Runs configure.host to set up necessary host-dependent shell variables.
22854 # We then display a message about it, and propagate them through the
22855 # build chain.
22856 . ${srcdir}/configure.host
22857 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
22858 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
22859 FPU_HOST_HEADER=config/${fpu_host}.h
22862 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
22863 # for struct timezone, as you might think. We also need to check how
22864 # to call gettimeofday if we have it.
22865 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22866 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22867 if test "${ac_cv_header_time+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 else
22870 cat >conftest.$ac_ext <<_ACEOF
22871 /* confdefs.h. */
22872 _ACEOF
22873 cat confdefs.h >>conftest.$ac_ext
22874 cat >>conftest.$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 #include <sys/types.h>
22877 #include <sys/time.h>
22878 #include <time.h>
22881 main ()
22883 if ((struct tm *) 0)
22884 return 0;
22886 return 0;
22888 _ACEOF
22889 rm -f conftest.$ac_objext
22890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22891 (eval $ac_compile) 2>conftest.er1
22892 ac_status=$?
22893 grep -v '^ *+' conftest.er1 >conftest.err
22894 rm -f conftest.er1
22895 cat conftest.err >&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } &&
22898 { ac_try='test -z "$ac_c_werror_flag"
22899 || test ! -s conftest.err'
22900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901 (eval $ac_try) 2>&5
22902 ac_status=$?
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; } &&
22905 { ac_try='test -s conftest.$ac_objext'
22906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907 (eval $ac_try) 2>&5
22908 ac_status=$?
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; }; then
22911 ac_cv_header_time=yes
22912 else
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22916 ac_cv_header_time=no
22918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22920 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22921 echo "${ECHO_T}$ac_cv_header_time" >&6
22922 if test $ac_cv_header_time = yes; then
22924 cat >>confdefs.h <<\_ACEOF
22925 #define TIME_WITH_SYS_TIME 1
22926 _ACEOF
22932 for ac_func in gettimeofday
22934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22935 echo "$as_me:$LINENO: checking for $ac_func" >&5
22936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22937 if eval "test \"\${$as_ac_var+set}\" = set"; then
22938 echo $ECHO_N "(cached) $ECHO_C" >&6
22939 else
22940 if test x$gcc_no_link = xyes; then
22941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22943 { (exit 1); exit 1; }; }
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22953 #define $ac_func innocuous_$ac_func
22955 /* System header to define __stub macros and hopefully few prototypes,
22956 which can conflict with char $ac_func (); below.
22957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22958 <limits.h> exists even on freestanding compilers. */
22960 #ifdef __STDC__
22961 # include <limits.h>
22962 #else
22963 # include <assert.h>
22964 #endif
22966 #undef $ac_func
22968 /* Override any gcc2 internal prototype to avoid an error. */
22969 #ifdef __cplusplus
22970 extern "C"
22972 #endif
22973 /* We use char because int might match the return type of a gcc2
22974 builtin and then its argument prototype would still apply. */
22975 char $ac_func ();
22976 /* The GNU C library defines this for functions which it implements
22977 to always fail with ENOSYS. Some functions are actually named
22978 something starting with __ and the normal name is an alias. */
22979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22980 choke me
22981 #else
22982 char (*f) () = $ac_func;
22983 #endif
22984 #ifdef __cplusplus
22986 #endif
22989 main ()
22991 return f != $ac_func;
22993 return 0;
22995 _ACEOF
22996 rm -f conftest.$ac_objext conftest$ac_exeext
22997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22998 (eval $ac_link) 2>conftest.er1
22999 ac_status=$?
23000 grep -v '^ *+' conftest.er1 >conftest.err
23001 rm -f conftest.er1
23002 cat conftest.err >&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); } &&
23005 { ac_try='test -z "$ac_c_werror_flag"
23006 || test ! -s conftest.err'
23007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23008 (eval $ac_try) 2>&5
23009 ac_status=$?
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); }; } &&
23012 { ac_try='test -s conftest$ac_exeext'
23013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014 (eval $ac_try) 2>&5
23015 ac_status=$?
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); }; }; then
23018 eval "$as_ac_var=yes"
23019 else
23020 echo "$as_me: failed program was:" >&5
23021 sed 's/^/| /' conftest.$ac_ext >&5
23023 eval "$as_ac_var=no"
23025 rm -f conftest.err conftest.$ac_objext \
23026 conftest$ac_exeext conftest.$ac_ext
23028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23030 if test `eval echo '${'$as_ac_var'}'` = yes; then
23031 cat >>confdefs.h <<_ACEOF
23032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23033 _ACEOF
23036 done
23038 if test "$ac_cv_func_gettimeofday" = yes; then
23039 echo "$as_me:$LINENO: checking for struct timezone" >&5
23040 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
23041 if test "${gfor_cv_struct_timezone+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 else
23044 cat >conftest.$ac_ext <<_ACEOF
23045 /* confdefs.h. */
23046 _ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 #include <sys/time.h>
23052 main ()
23054 struct timezone tz;
23056 return 0;
23058 _ACEOF
23059 rm -f conftest.$ac_objext
23060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23061 (eval $ac_compile) 2>conftest.er1
23062 ac_status=$?
23063 grep -v '^ *+' conftest.er1 >conftest.err
23064 rm -f conftest.er1
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -z "$ac_c_werror_flag"
23069 || test ! -s conftest.err'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23072 ac_status=$?
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; } &&
23075 { ac_try='test -s conftest.$ac_objext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23078 ac_status=$?
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 gfor_cv_struct_timezone=yes
23082 else
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23086 gfor_cv_struct_timezone=no
23088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23090 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
23091 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
23092 if test $gfor_cv_struct_timezone = yes; then
23093 if test "$cross_compiling" = yes; then
23094 gfor_have_struct_timezone=yes
23095 else
23096 cat >conftest.$ac_ext <<_ACEOF
23097 /* confdefs.h. */
23098 _ACEOF
23099 cat confdefs.h >>conftest.$ac_ext
23100 cat >>conftest.$ac_ext <<_ACEOF
23101 /* end confdefs.h. */
23103 #ifdef TIME_WITH_SYS_TIME
23104 #include <sys/time.h>
23105 #include <time.h>
23106 #else
23107 #ifdef HAVE_SYS_TIME_H
23108 #include <sys/time.h>
23109 #else
23110 #include <time.h>
23111 #endif
23112 #endif
23113 main ()
23115 struct timeval time;
23116 struct timezone dummy;
23117 if (gettimeofday (&time, &dummy))
23118 exit (1);
23119 else
23120 exit (0);
23122 _ACEOF
23123 rm -f conftest$ac_exeext
23124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23125 (eval $ac_link) 2>&5
23126 ac_status=$?
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23130 (eval $ac_try) 2>&5
23131 ac_status=$?
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); }; }; then
23134 gfor_have_struct_timezone=yes
23135 else
23136 echo "$as_me: program exited with status $ac_status" >&5
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.$ac_ext >&5
23140 ( exit $ac_status )
23141 gfor_have_struct_timezone=no
23143 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23145 if test $gfor_have_struct_timezone = yes; then
23147 cat >>confdefs.h <<\_ACEOF
23148 #define HAVE_TIMEZONE 1
23149 _ACEOF
23154 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23155 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
23156 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23158 else
23159 if test x$gcc_no_link = xyes; then
23160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23162 { (exit 1); exit 1; }; }
23164 cat >conftest.$ac_ext <<_ACEOF
23165 /* confdefs.h. */
23166 _ACEOF
23167 cat confdefs.h >>conftest.$ac_ext
23168 cat >>conftest.$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23171 #ifdef TIME_WITH_SYS_TIME
23172 #include <sys/time.h>
23173 #include <time.h>
23174 #else
23175 #ifdef HAVE_SYS_TIME_H
23176 #include <sys/time.h>
23177 #else
23178 #include <time.h>
23179 #endif
23180 #endif
23183 main ()
23186 struct timeval time;
23187 #ifdef HAVE_TIMEZONE
23188 struct timezone dummy;
23189 #define DUMMY &dummy
23190 #else
23191 #define DUMMY NULL
23192 #endif
23193 gettimeofday (&time, DUMMY);
23195 return 0;
23197 _ACEOF
23198 rm -f conftest.$ac_objext conftest$ac_exeext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23200 (eval $ac_link) 2>conftest.er1
23201 ac_status=$?
23202 grep -v '^ *+' conftest.er1 >conftest.err
23203 rm -f conftest.er1
23204 cat conftest.err >&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try='test -z "$ac_c_werror_flag"
23208 || test ! -s conftest.err'
23209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23210 (eval $ac_try) 2>&5
23211 ac_status=$?
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); }; } &&
23214 { ac_try='test -s conftest$ac_exeext'
23215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23216 (eval $ac_try) 2>&5
23217 ac_status=$?
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); }; }; then
23220 emacs_cv_gettimeofday_two_arguments=yes
23221 else
23222 echo "$as_me: failed program was:" >&5
23223 sed 's/^/| /' conftest.$ac_ext >&5
23225 emacs_cv_gettimeofday_two_arguments=no
23227 rm -f conftest.err conftest.$ac_objext \
23228 conftest$ac_exeext conftest.$ac_ext
23230 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23231 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
23232 if test $emacs_cv_gettimeofday_two_arguments = no; then
23234 cat >>confdefs.h <<\_ACEOF
23235 #define GETTIMEOFDAY_ONE_ARGUMENT 1
23236 _ACEOF
23241 # Attempt to assert that the target is of common type in case we don't
23242 # have C99 integer types at all.
23244 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23245 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23246 if test "${target_ilp32+set}" = set; then
23247 echo $ECHO_N "(cached) $ECHO_C" >&6
23248 else
23250 save_CFLAGS="$CFLAGS"
23251 CFLAGS="-O2"
23252 if test x$gcc_no_link = xyes; then
23253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23255 { (exit 1); exit 1; }; }
23257 cat >conftest.$ac_ext <<_ACEOF
23258 /* confdefs.h. */
23259 _ACEOF
23260 cat confdefs.h >>conftest.$ac_ext
23261 cat >>conftest.$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23265 main ()
23268 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23270 else
23271 undefined_function ();
23274 return 0;
23276 _ACEOF
23277 rm -f conftest.$ac_objext conftest$ac_exeext
23278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23279 (eval $ac_link) 2>conftest.er1
23280 ac_status=$?
23281 grep -v '^ *+' conftest.er1 >conftest.err
23282 rm -f conftest.er1
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } &&
23286 { ac_try='test -z "$ac_c_werror_flag"
23287 || test ! -s conftest.err'
23288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289 (eval $ac_try) 2>&5
23290 ac_status=$?
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; } &&
23293 { ac_try='test -s conftest$ac_exeext'
23294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23295 (eval $ac_try) 2>&5
23296 ac_status=$?
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); }; }; then
23299 target_ilp32=yes
23300 else
23301 echo "$as_me: failed program was:" >&5
23302 sed 's/^/| /' conftest.$ac_ext >&5
23304 target_ilp32=no
23306 rm -f conftest.err conftest.$ac_objext \
23307 conftest$ac_exeext conftest.$ac_ext
23308 CFLAGS="$save_CFLAGS"
23310 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23311 echo "${ECHO_T}$target_ilp32" >&6
23312 if test $target_ilp32 = yes; then
23314 cat >>confdefs.h <<\_ACEOF
23315 #define TARGET_ILP32 1
23316 _ACEOF
23321 # Check out attribute support.
23323 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23324 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23325 if test "${have_attribute_visibility+set}" = set; then
23326 echo $ECHO_N "(cached) $ECHO_C" >&6
23327 else
23329 save_CFLAGS="$CFLAGS"
23330 CFLAGS="$CFLAGS -Werror"
23331 cat >conftest.$ac_ext <<_ACEOF
23332 /* confdefs.h. */
23333 _ACEOF
23334 cat confdefs.h >>conftest.$ac_ext
23335 cat >>conftest.$ac_ext <<_ACEOF
23336 /* end confdefs.h. */
23337 void __attribute__((visibility("hidden"))) foo(void) { }
23339 main ()
23343 return 0;
23345 _ACEOF
23346 rm -f conftest.$ac_objext
23347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23348 (eval $ac_compile) 2>conftest.er1
23349 ac_status=$?
23350 grep -v '^ *+' conftest.er1 >conftest.err
23351 rm -f conftest.er1
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try='test -z "$ac_c_werror_flag"
23356 || test ! -s conftest.err'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; } &&
23362 { ac_try='test -s conftest.$ac_objext'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23365 ac_status=$?
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; }; then
23368 have_attribute_visibility=yes
23369 else
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.$ac_ext >&5
23373 have_attribute_visibility=no
23375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23376 CFLAGS="$save_CFLAGS"
23378 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23379 echo "${ECHO_T}$have_attribute_visibility" >&6
23380 if test $have_attribute_visibility = yes; then
23382 cat >>confdefs.h <<\_ACEOF
23383 #define HAVE_ATTRIBUTE_VISIBILITY 1
23384 _ACEOF
23388 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23389 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23390 if test "${have_attribute_dllexport+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23394 save_CFLAGS="$CFLAGS"
23395 CFLAGS="$CFLAGS -Werror"
23396 cat >conftest.$ac_ext <<_ACEOF
23397 /* confdefs.h. */
23398 _ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 void __attribute__((dllexport)) foo(void) { }
23404 main ()
23408 return 0;
23410 _ACEOF
23411 rm -f conftest.$ac_objext
23412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23413 (eval $ac_compile) 2>conftest.er1
23414 ac_status=$?
23415 grep -v '^ *+' conftest.er1 >conftest.err
23416 rm -f conftest.er1
23417 cat conftest.err >&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } &&
23420 { ac_try='test -z "$ac_c_werror_flag"
23421 || test ! -s conftest.err'
23422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23423 (eval $ac_try) 2>&5
23424 ac_status=$?
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; } &&
23427 { ac_try='test -s conftest.$ac_objext'
23428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23429 (eval $ac_try) 2>&5
23430 ac_status=$?
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); }; }; then
23433 have_attribute_dllexport=yes
23434 else
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.$ac_ext >&5
23438 have_attribute_dllexport=no
23440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23441 CFLAGS="$save_CFLAGS"
23443 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23444 echo "${ECHO_T}$have_attribute_dllexport" >&6
23445 if test $have_attribute_dllexport = yes; then
23447 cat >>confdefs.h <<\_ACEOF
23448 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23449 _ACEOF
23453 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23454 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23455 if test "${have_attribute_alias+set}" = set; then
23456 echo $ECHO_N "(cached) $ECHO_C" >&6
23457 else
23459 if test x$gcc_no_link = xyes; then
23460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23462 { (exit 1); exit 1; }; }
23464 cat >conftest.$ac_ext <<_ACEOF
23465 /* confdefs.h. */
23466 _ACEOF
23467 cat confdefs.h >>conftest.$ac_ext
23468 cat >>conftest.$ac_ext <<_ACEOF
23469 /* end confdefs.h. */
23471 #define ULP STR1(__USER_LABEL_PREFIX__)
23472 #define STR1(x) STR2(x)
23473 #define STR2(x) #x
23474 void foo(void) { }
23475 extern void bar(void) __attribute__((alias(ULP "foo")));
23477 main ()
23479 bar();
23481 return 0;
23483 _ACEOF
23484 rm -f conftest.$ac_objext conftest$ac_exeext
23485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23486 (eval $ac_link) 2>conftest.er1
23487 ac_status=$?
23488 grep -v '^ *+' conftest.er1 >conftest.err
23489 rm -f conftest.er1
23490 cat conftest.err >&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } &&
23493 { ac_try='test -z "$ac_c_werror_flag"
23494 || test ! -s conftest.err'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; } &&
23500 { ac_try='test -s conftest$ac_exeext'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23503 ac_status=$?
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; }; then
23506 have_attribute_alias=yes
23507 else
23508 echo "$as_me: failed program was:" >&5
23509 sed 's/^/| /' conftest.$ac_ext >&5
23511 have_attribute_alias=no
23513 rm -f conftest.err conftest.$ac_objext \
23514 conftest$ac_exeext conftest.$ac_ext
23516 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23517 echo "${ECHO_T}$have_attribute_alias" >&6
23518 if test $have_attribute_alias = yes; then
23520 cat >>confdefs.h <<\_ACEOF
23521 #define HAVE_ATTRIBUTE_ALIAS 1
23522 _ACEOF
23526 # Check out sync builtins support.
23528 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23529 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23530 if test "${have_sync_fetch_and_add+set}" = set; then
23531 echo $ECHO_N "(cached) $ECHO_C" >&6
23532 else
23534 if test x$gcc_no_link = xyes; then
23535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23537 { (exit 1); exit 1; }; }
23539 cat >conftest.$ac_ext <<_ACEOF
23540 /* confdefs.h. */
23541 _ACEOF
23542 cat confdefs.h >>conftest.$ac_ext
23543 cat >>conftest.$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23545 int foovar = 0;
23547 main ()
23550 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23551 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23553 return 0;
23555 _ACEOF
23556 rm -f conftest.$ac_objext conftest$ac_exeext
23557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23558 (eval $ac_link) 2>conftest.er1
23559 ac_status=$?
23560 grep -v '^ *+' conftest.er1 >conftest.err
23561 rm -f conftest.er1
23562 cat conftest.err >&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); } &&
23565 { ac_try='test -z "$ac_c_werror_flag"
23566 || test ! -s conftest.err'
23567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23568 (eval $ac_try) 2>&5
23569 ac_status=$?
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); }; } &&
23572 { ac_try='test -s conftest$ac_exeext'
23573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23574 (eval $ac_try) 2>&5
23575 ac_status=$?
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); }; }; then
23578 have_sync_fetch_and_add=yes
23579 else
23580 echo "$as_me: failed program was:" >&5
23581 sed 's/^/| /' conftest.$ac_ext >&5
23583 have_sync_fetch_and_add=no
23585 rm -f conftest.err conftest.$ac_objext \
23586 conftest$ac_exeext conftest.$ac_ext
23588 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23589 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23590 if test $have_sync_fetch_and_add = yes; then
23592 cat >>confdefs.h <<\_ACEOF
23593 #define HAVE_SYNC_FETCH_AND_ADD 1
23594 _ACEOF
23598 # Check out thread support.
23600 echo "$as_me:$LINENO: checking configured target thread model" >&5
23601 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23602 if test "${target_thread_file+set}" = set; then
23603 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 else
23606 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23608 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23609 echo "${ECHO_T}$target_thread_file" >&6
23611 if test $target_thread_file != single; then
23613 cat >>confdefs.h <<\_ACEOF
23614 #define HAVE_GTHR_DEFAULT 1
23615 _ACEOF
23619 # Check out #pragma weak.
23621 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23622 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23623 if test "${have_pragma_weak+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23625 else
23627 gfor_save_CFLAGS="$CFLAGS"
23628 CFLAGS="$CFLAGS -Wunknown-pragmas"
23629 cat >conftest.$ac_ext <<_ACEOF
23630 /* confdefs.h. */
23631 _ACEOF
23632 cat confdefs.h >>conftest.$ac_ext
23633 cat >>conftest.$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23635 void foo (void);
23636 #pragma weak foo
23638 main ()
23640 if (foo) foo ();
23642 return 0;
23644 _ACEOF
23645 rm -f conftest.$ac_objext
23646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23647 (eval $ac_compile) 2>conftest.er1
23648 ac_status=$?
23649 grep -v '^ *+' conftest.er1 >conftest.err
23650 rm -f conftest.er1
23651 cat conftest.err >&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } &&
23654 { ac_try='test -z "$ac_c_werror_flag"
23655 || test ! -s conftest.err'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23658 ac_status=$?
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; } &&
23661 { ac_try='test -s conftest.$ac_objext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23664 ac_status=$?
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23667 have_pragma_weak=yes
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23672 have_pragma_weak=no
23674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23676 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23677 echo "${ECHO_T}$have_pragma_weak" >&6
23678 if test $have_pragma_weak = yes; then
23680 cat >>confdefs.h <<\_ACEOF
23681 #define SUPPORTS_WEAK 1
23682 _ACEOF
23685 case "$host" in
23686 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23688 cat >>confdefs.h <<\_ACEOF
23689 #define GTHREAD_USE_WEAK 0
23690 _ACEOF
23693 esac
23695 # Various other checks on target
23697 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23698 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23699 if test "${have_unlink_open_file+set}" = set; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23701 else
23703 if test "$cross_compiling" = yes; then
23705 case "${target}" in
23706 *mingw*) have_unlink_open_file=no ;;
23707 *) have_unlink_open_file=yes;;
23708 esac
23709 else
23710 cat >conftest.$ac_ext <<_ACEOF
23711 /* confdefs.h. */
23712 _ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23717 #include <errno.h>
23718 #include <fcntl.h>
23719 #include <unistd.h>
23720 #include <sys/stat.h>
23722 int main ()
23724 int fd;
23726 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23727 if (fd <= 0)
23728 return 0;
23729 if (unlink ("testfile") == -1)
23730 return 1;
23731 write (fd, "This is a test\n", 15);
23732 close (fd);
23734 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23735 return 0;
23736 else
23737 return 1;
23739 _ACEOF
23740 rm -f conftest$ac_exeext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23742 (eval $ac_link) 2>&5
23743 ac_status=$?
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23748 ac_status=$?
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; }; then
23751 have_unlink_open_file=yes
23752 else
23753 echo "$as_me: program exited with status $ac_status" >&5
23754 echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.$ac_ext >&5
23757 ( exit $ac_status )
23758 have_unlink_open_file=no
23760 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23763 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23764 echo "${ECHO_T}$have_unlink_open_file" >&6
23765 if test x"$have_unlink_open_file" = xyes; then
23767 cat >>confdefs.h <<\_ACEOF
23768 #define HAVE_UNLINK_OPEN_FILE 1
23769 _ACEOF
23773 # Check whether line terminator is LF or CRLF
23775 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23776 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23777 if test "${have_crlf+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 else
23781 if test "$cross_compiling" = yes; then
23783 case "${target}" in
23784 *mingw*) have_crlf=yes ;;
23785 *) have_crlf=no;;
23786 esac
23787 else
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h. */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23795 /* This test program should exit with status 0 if system uses a CRLF as
23796 line terminator, and status 1 otherwise.
23797 Since it is used to check for mingw systems, and should return 0 in any
23798 other case, in case of a failure we will not use CRLF. */
23799 #include <sys/stat.h>
23800 #include <stdlib.h>
23801 #include <fcntl.h>
23802 #include <stdio.h>
23804 int main ()
23806 #ifndef O_BINARY
23807 exit(1);
23808 #else
23809 int fd, bytes;
23810 char buff[5];
23812 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23813 if (fd < 0)
23814 exit(1);
23815 if (write (fd, "\n", 1) < 0)
23816 perror ("write");
23818 close (fd);
23820 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23821 exit(1);
23822 bytes = read (fd, buff, 5);
23823 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23824 exit(0);
23825 else
23826 exit(1);
23827 #endif
23829 _ACEOF
23830 rm -f conftest$ac_exeext
23831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23832 (eval $ac_link) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; }; then
23841 have_crlf=yes
23842 else
23843 echo "$as_me: program exited with status $ac_status" >&5
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23847 ( exit $ac_status )
23848 have_crlf=no
23850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23853 echo "$as_me:$LINENO: result: $have_crlf" >&5
23854 echo "${ECHO_T}$have_crlf" >&6
23855 if test x"$have_crlf" = xyes; then
23857 cat >>confdefs.h <<\_ACEOF
23858 #define HAVE_CRLF 1
23859 _ACEOF
23863 cat >confcache <<\_ACEOF
23864 # This file is a shell script that caches the results of configure
23865 # tests run on this system so they can be shared between configure
23866 # scripts and configure runs, see configure's option --config-cache.
23867 # It is not useful on other systems. If it contains results you don't
23868 # want to keep, you may remove or edit it.
23870 # config.status only pays attention to the cache file if you give it
23871 # the --recheck option to rerun configure.
23873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23875 # following values.
23877 _ACEOF
23879 # The following way of writing the cache mishandles newlines in values,
23880 # but we know of no workaround that is simple, portable, and efficient.
23881 # So, don't put newlines in cache variables' values.
23882 # Ultrix sh set writes to stderr and can't be redirected directly,
23883 # and sets the high bit in the cache file unless we assign to the vars.
23885 (set) 2>&1 |
23886 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23887 *ac_space=\ *)
23888 # `set' does not quote correctly, so add quotes (double-quote
23889 # substitution turns \\\\ into \\, and sed turns \\ into \).
23890 sed -n \
23891 "s/'/'\\\\''/g;
23892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23895 # `set' quotes correctly as required by POSIX, so do not add quotes.
23896 sed -n \
23897 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23899 esac;
23901 sed '
23902 t clear
23903 : clear
23904 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23905 t end
23906 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23907 : end' >>confcache
23908 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23909 if test -w $cache_file; then
23910 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23911 cat confcache >$cache_file
23912 else
23913 echo "not updating unwritable cache $cache_file"
23916 rm -f confcache
23918 if test ${multilib} = yes; then
23919 multilib_arg="--enable-multilib"
23920 else
23921 multilib_arg=
23924 # Write our Makefile.
23925 ac_config_files="$ac_config_files Makefile"
23927 cat >confcache <<\_ACEOF
23928 # This file is a shell script that caches the results of configure
23929 # tests run on this system so they can be shared between configure
23930 # scripts and configure runs, see configure's option --config-cache.
23931 # It is not useful on other systems. If it contains results you don't
23932 # want to keep, you may remove or edit it.
23934 # config.status only pays attention to the cache file if you give it
23935 # the --recheck option to rerun configure.
23937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23939 # following values.
23941 _ACEOF
23943 # The following way of writing the cache mishandles newlines in values,
23944 # but we know of no workaround that is simple, portable, and efficient.
23945 # So, don't put newlines in cache variables' values.
23946 # Ultrix sh set writes to stderr and can't be redirected directly,
23947 # and sets the high bit in the cache file unless we assign to the vars.
23949 (set) 2>&1 |
23950 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23951 *ac_space=\ *)
23952 # `set' does not quote correctly, so add quotes (double-quote
23953 # substitution turns \\\\ into \\, and sed turns \\ into \).
23954 sed -n \
23955 "s/'/'\\\\''/g;
23956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23959 # `set' quotes correctly as required by POSIX, so do not add quotes.
23960 sed -n \
23961 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23963 esac;
23965 sed '
23966 t clear
23967 : clear
23968 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23969 t end
23970 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23971 : end' >>confcache
23972 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23973 if test -w $cache_file; then
23974 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23975 cat confcache >$cache_file
23976 else
23977 echo "not updating unwritable cache $cache_file"
23980 rm -f confcache
23982 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23983 # Let make expand exec_prefix.
23984 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23986 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23987 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23988 # trailing colons and then remove the whole line if VPATH becomes empty
23989 # (actually we leave an empty line to preserve line numbers).
23990 if test "x$srcdir" = x.; then
23991 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23992 s/:*\$(srcdir):*/:/;
23993 s/:*\${srcdir}:*/:/;
23994 s/:*@srcdir@:*/:/;
23995 s/^\([^=]*=[ ]*\):*/\1/;
23996 s/:*$//;
23997 s/^[^=]*=[ ]*$//;
24001 DEFS=-DHAVE_CONFIG_H
24003 ac_libobjs=
24004 ac_ltlibobjs=
24005 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24006 # 1. Remove the extension, and $U if already installed.
24007 ac_i=`echo "$ac_i" |
24008 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24009 # 2. Add them.
24010 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24011 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24012 done
24013 LIBOBJS=$ac_libobjs
24015 LTLIBOBJS=$ac_ltlibobjs
24018 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24019 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24020 Usually this means the macro was only invoked conditionally." >&5
24021 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24022 Usually this means the macro was only invoked conditionally." >&2;}
24023 { (exit 1); exit 1; }; }
24026 : ${CONFIG_STATUS=./config.status}
24027 ac_clean_files_save=$ac_clean_files
24028 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24029 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24030 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24031 cat >$CONFIG_STATUS <<_ACEOF
24032 #! $SHELL
24033 # Generated by $as_me.
24034 # Run this file to recreate the current configuration.
24035 # Compiler output produced by configure, useful for debugging
24036 # configure, is in config.log if it exists.
24038 debug=false
24039 ac_cs_recheck=false
24040 ac_cs_silent=false
24041 SHELL=\${CONFIG_SHELL-$SHELL}
24042 _ACEOF
24044 cat >>$CONFIG_STATUS <<\_ACEOF
24045 ## --------------------- ##
24046 ## M4sh Initialization. ##
24047 ## --------------------- ##
24049 # Be Bourne compatible
24050 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24051 emulate sh
24052 NULLCMD=:
24053 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24054 # is contrary to our usage. Disable this feature.
24055 alias -g '${1+"$@"}'='"$@"'
24056 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24057 set -o posix
24059 DUALCASE=1; export DUALCASE # for MKS sh
24061 # Support unset when possible.
24062 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24063 as_unset=unset
24064 else
24065 as_unset=false
24069 # Work around bugs in pre-3.0 UWIN ksh.
24070 $as_unset ENV MAIL MAILPATH
24071 PS1='$ '
24072 PS2='> '
24073 PS4='+ '
24075 # NLS nuisances.
24076 for as_var in \
24077 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24078 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24079 LC_TELEPHONE LC_TIME
24081 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24082 eval $as_var=C; export $as_var
24083 else
24084 $as_unset $as_var
24086 done
24088 # Required to use basename.
24089 if expr a : '\(a\)' >/dev/null 2>&1; then
24090 as_expr=expr
24091 else
24092 as_expr=false
24095 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24096 as_basename=basename
24097 else
24098 as_basename=false
24102 # Name of the executable.
24103 as_me=`$as_basename "$0" ||
24104 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24105 X"$0" : 'X\(//\)$' \| \
24106 X"$0" : 'X\(/\)$' \| \
24107 . : '\(.\)' 2>/dev/null ||
24108 echo X/"$0" |
24109 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24110 /^X\/\(\/\/\)$/{ s//\1/; q; }
24111 /^X\/\(\/\).*/{ s//\1/; q; }
24112 s/.*/./; q'`
24115 # PATH needs CR, and LINENO needs CR and PATH.
24116 # Avoid depending upon Character Ranges.
24117 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24118 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24119 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24120 as_cr_digits='0123456789'
24121 as_cr_alnum=$as_cr_Letters$as_cr_digits
24123 # The user is always right.
24124 if test "${PATH_SEPARATOR+set}" != set; then
24125 echo "#! /bin/sh" >conf$$.sh
24126 echo "exit 0" >>conf$$.sh
24127 chmod +x conf$$.sh
24128 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24129 PATH_SEPARATOR=';'
24130 else
24131 PATH_SEPARATOR=:
24133 rm -f conf$$.sh
24137 as_lineno_1=$LINENO
24138 as_lineno_2=$LINENO
24139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24140 test "x$as_lineno_1" != "x$as_lineno_2" &&
24141 test "x$as_lineno_3" = "x$as_lineno_2" || {
24142 # Find who we are. Look in the path if we contain no path at all
24143 # relative or not.
24144 case $0 in
24145 *[\\/]* ) as_myself=$0 ;;
24146 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24147 for as_dir in $PATH
24149 IFS=$as_save_IFS
24150 test -z "$as_dir" && as_dir=.
24151 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24152 done
24155 esac
24156 # We did not find ourselves, most probably we were run as `sh COMMAND'
24157 # in which case we are not to be found in the path.
24158 if test "x$as_myself" = x; then
24159 as_myself=$0
24161 if test ! -f "$as_myself"; then
24162 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24163 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24164 { (exit 1); exit 1; }; }
24166 case $CONFIG_SHELL in
24168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24169 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24171 IFS=$as_save_IFS
24172 test -z "$as_dir" && as_dir=.
24173 for as_base in sh bash ksh sh5; do
24174 case $as_dir in
24176 if ("$as_dir/$as_base" -c '
24177 as_lineno_1=$LINENO
24178 as_lineno_2=$LINENO
24179 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24180 test "x$as_lineno_1" != "x$as_lineno_2" &&
24181 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24182 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24183 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24184 CONFIG_SHELL=$as_dir/$as_base
24185 export CONFIG_SHELL
24186 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24187 fi;;
24188 esac
24189 done
24190 done
24192 esac
24194 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24195 # uniformly replaced by the line number. The first 'sed' inserts a
24196 # line-number line before each line; the second 'sed' does the real
24197 # work. The second script uses 'N' to pair each line-number line
24198 # with the numbered line, and appends trailing '-' during
24199 # substitution so that $LINENO is not a special case at line end.
24200 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24201 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24202 sed '=' <$as_myself |
24203 sed '
24205 s,$,-,
24206 : loop
24207 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24208 t loop
24209 s,-$,,
24210 s,^['$as_cr_digits']*\n,,
24211 ' >$as_me.lineno &&
24212 chmod +x $as_me.lineno ||
24213 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24214 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24215 { (exit 1); exit 1; }; }
24217 # Don't try to exec as it changes $[0], causing all sort of problems
24218 # (the dirname of $[0] is not the place where we might find the
24219 # original and so on. Autoconf is especially sensible to this).
24220 . ./$as_me.lineno
24221 # Exit status is that of the last command.
24222 exit
24226 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24227 *c*,-n*) ECHO_N= ECHO_C='
24228 ' ECHO_T=' ' ;;
24229 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24230 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24231 esac
24233 if expr a : '\(a\)' >/dev/null 2>&1; then
24234 as_expr=expr
24235 else
24236 as_expr=false
24239 rm -f conf$$ conf$$.exe conf$$.file
24240 echo >conf$$.file
24241 if ln -s conf$$.file conf$$ 2>/dev/null; then
24242 # We could just check for DJGPP; but this test a) works b) is more generic
24243 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24244 if test -f conf$$.exe; then
24245 # Don't use ln at all; we don't have any links
24246 as_ln_s='cp -p'
24247 else
24248 as_ln_s='ln -s'
24250 elif ln conf$$.file conf$$ 2>/dev/null; then
24251 as_ln_s=ln
24252 else
24253 as_ln_s='cp -p'
24255 rm -f conf$$ conf$$.exe conf$$.file
24257 if mkdir -p . 2>/dev/null; then
24258 as_mkdir_p=:
24259 else
24260 test -d ./-p && rmdir ./-p
24261 as_mkdir_p=false
24264 as_executable_p="test -f"
24266 # Sed expression to map a string onto a valid CPP name.
24267 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24269 # Sed expression to map a string onto a valid variable name.
24270 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24273 # IFS
24274 # We need space, tab and new line, in precisely that order.
24275 as_nl='
24277 IFS=" $as_nl"
24279 # CDPATH.
24280 $as_unset CDPATH
24282 exec 6>&1
24284 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24285 # report actual input values of CONFIG_FILES etc. instead of their
24286 # values after options handling. Logging --version etc. is OK.
24287 exec 5>>config.log
24289 echo
24290 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24291 ## Running $as_me. ##
24292 _ASBOX
24293 } >&5
24294 cat >&5 <<_CSEOF
24296 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
24297 generated by GNU Autoconf 2.59. Invocation command line was
24299 CONFIG_FILES = $CONFIG_FILES
24300 CONFIG_HEADERS = $CONFIG_HEADERS
24301 CONFIG_LINKS = $CONFIG_LINKS
24302 CONFIG_COMMANDS = $CONFIG_COMMANDS
24303 $ $0 $@
24305 _CSEOF
24306 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24307 echo >&5
24308 _ACEOF
24310 # Files that config.status was made for.
24311 if test -n "$ac_config_files"; then
24312 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24315 if test -n "$ac_config_headers"; then
24316 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24319 if test -n "$ac_config_links"; then
24320 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24323 if test -n "$ac_config_commands"; then
24324 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24327 cat >>$CONFIG_STATUS <<\_ACEOF
24329 ac_cs_usage="\
24330 \`$as_me' instantiates files from templates according to the
24331 current configuration.
24333 Usage: $0 [OPTIONS] [FILE]...
24335 -h, --help print this help, then exit
24336 -V, --version print version number, then exit
24337 -q, --quiet do not print progress messages
24338 -d, --debug don't remove temporary files
24339 --recheck update $as_me by reconfiguring in the same conditions
24340 --file=FILE[:TEMPLATE]
24341 instantiate the configuration file FILE
24342 --header=FILE[:TEMPLATE]
24343 instantiate the configuration header FILE
24345 Configuration files:
24346 $config_files
24348 Configuration headers:
24349 $config_headers
24351 Configuration commands:
24352 $config_commands
24354 Report bugs to <bug-autoconf@gnu.org>."
24355 _ACEOF
24357 cat >>$CONFIG_STATUS <<_ACEOF
24358 ac_cs_version="\\
24359 GNU Fortran Runtime Library config.status 0.2
24360 configured by $0, generated by GNU Autoconf 2.59,
24361 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24363 Copyright (C) 2003 Free Software Foundation, Inc.
24364 This config.status script is free software; the Free Software Foundation
24365 gives unlimited permission to copy, distribute and modify it."
24366 srcdir=$srcdir
24367 INSTALL="$INSTALL"
24368 _ACEOF
24370 cat >>$CONFIG_STATUS <<\_ACEOF
24371 # If no file are specified by the user, then we need to provide default
24372 # value. By we need to know if files were specified by the user.
24373 ac_need_defaults=:
24374 while test $# != 0
24376 case $1 in
24377 --*=*)
24378 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24379 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24380 ac_shift=:
24383 ac_option=$1
24384 ac_optarg=$2
24385 ac_shift=shift
24387 *) # This is not an option, so the user has probably given explicit
24388 # arguments.
24389 ac_option=$1
24390 ac_need_defaults=false;;
24391 esac
24393 case $ac_option in
24394 # Handling of the options.
24395 _ACEOF
24396 cat >>$CONFIG_STATUS <<\_ACEOF
24397 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24398 ac_cs_recheck=: ;;
24399 --version | --vers* | -V )
24400 echo "$ac_cs_version"; exit 0 ;;
24401 --he | --h)
24402 # Conflict between --help and --header
24403 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24404 Try \`$0 --help' for more information." >&5
24405 echo "$as_me: error: ambiguous option: $1
24406 Try \`$0 --help' for more information." >&2;}
24407 { (exit 1); exit 1; }; };;
24408 --help | --hel | -h )
24409 echo "$ac_cs_usage"; exit 0 ;;
24410 --debug | --d* | -d )
24411 debug=: ;;
24412 --file | --fil | --fi | --f )
24413 $ac_shift
24414 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24415 ac_need_defaults=false;;
24416 --header | --heade | --head | --hea )
24417 $ac_shift
24418 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24419 ac_need_defaults=false;;
24420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24421 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24422 ac_cs_silent=: ;;
24424 # This is an error.
24425 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24426 Try \`$0 --help' for more information." >&5
24427 echo "$as_me: error: unrecognized option: $1
24428 Try \`$0 --help' for more information." >&2;}
24429 { (exit 1); exit 1; }; } ;;
24431 *) ac_config_targets="$ac_config_targets $1" ;;
24433 esac
24434 shift
24435 done
24437 ac_configure_extra_args=
24439 if $ac_cs_silent; then
24440 exec 6>/dev/null
24441 ac_configure_extra_args="$ac_configure_extra_args --silent"
24444 _ACEOF
24445 cat >>$CONFIG_STATUS <<_ACEOF
24446 if \$ac_cs_recheck; then
24447 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24448 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24451 _ACEOF
24453 cat >>$CONFIG_STATUS <<_ACEOF
24455 # INIT-COMMANDS section.
24459 srcdir="$srcdir"
24460 host="$host"
24461 target="$target"
24462 with_multisubdir="$with_multisubdir"
24463 with_multisrctop="$with_multisrctop"
24464 with_target_subdir="$with_target_subdir"
24465 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24466 multi_basedir="$multi_basedir"
24467 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24468 CC="$CC"
24470 GCC="$GCC"
24471 CC="$CC"
24472 acx_cv_header_stdint="$acx_cv_header_stdint"
24473 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24474 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24475 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24476 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24477 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24478 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24479 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24480 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24481 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24482 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24483 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24484 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24485 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24488 _ACEOF
24492 cat >>$CONFIG_STATUS <<\_ACEOF
24493 for ac_config_target in $ac_config_targets
24495 case "$ac_config_target" in
24496 # Handling of arguments.
24497 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24498 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24499 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24500 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24501 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24502 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24503 { (exit 1); exit 1; }; };;
24504 esac
24505 done
24507 # If the user did not use the arguments to specify the items to instantiate,
24508 # then the envvar interface is used. Set only those that are not.
24509 # We use the long form for the default assignment because of an extremely
24510 # bizarre bug on SunOS 4.1.3.
24511 if $ac_need_defaults; then
24512 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24513 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24514 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24517 # Have a temporary directory for convenience. Make it in the build tree
24518 # simply because there is no reason to put it here, and in addition,
24519 # creating and moving files from /tmp can sometimes cause problems.
24520 # Create a temporary directory, and hook for its removal unless debugging.
24521 $debug ||
24523 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24524 trap '{ (exit 1); exit 1; }' 1 2 13 15
24527 # Create a (secure) tmp directory for tmp files.
24530 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24531 test -n "$tmp" && test -d "$tmp"
24532 } ||
24534 tmp=./confstat$$-$RANDOM
24535 (umask 077 && mkdir $tmp)
24536 } ||
24538 echo "$me: cannot create a temporary directory in ." >&2
24539 { (exit 1); exit 1; }
24542 _ACEOF
24544 cat >>$CONFIG_STATUS <<_ACEOF
24547 # CONFIG_FILES section.
24550 # No need to generate the scripts if there are no CONFIG_FILES.
24551 # This happens for instance when ./config.status config.h
24552 if test -n "\$CONFIG_FILES"; then
24553 # Protect against being on the right side of a sed subst in config.status.
24554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24556 s,@SHELL@,$SHELL,;t t
24557 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24558 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24559 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24560 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24561 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24562 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24563 s,@exec_prefix@,$exec_prefix,;t t
24564 s,@prefix@,$prefix,;t t
24565 s,@program_transform_name@,$program_transform_name,;t t
24566 s,@bindir@,$bindir,;t t
24567 s,@sbindir@,$sbindir,;t t
24568 s,@libexecdir@,$libexecdir,;t t
24569 s,@datadir@,$datadir,;t t
24570 s,@sysconfdir@,$sysconfdir,;t t
24571 s,@sharedstatedir@,$sharedstatedir,;t t
24572 s,@localstatedir@,$localstatedir,;t t
24573 s,@libdir@,$libdir,;t t
24574 s,@includedir@,$includedir,;t t
24575 s,@oldincludedir@,$oldincludedir,;t t
24576 s,@infodir@,$infodir,;t t
24577 s,@mandir@,$mandir,;t t
24578 s,@build_alias@,$build_alias,;t t
24579 s,@host_alias@,$host_alias,;t t
24580 s,@target_alias@,$target_alias,;t t
24581 s,@DEFS@,$DEFS,;t t
24582 s,@ECHO_C@,$ECHO_C,;t t
24583 s,@ECHO_N@,$ECHO_N,;t t
24584 s,@ECHO_T@,$ECHO_T,;t t
24585 s,@LIBS@,$LIBS,;t t
24586 s,@build@,$build,;t t
24587 s,@build_cpu@,$build_cpu,;t t
24588 s,@build_vendor@,$build_vendor,;t t
24589 s,@build_os@,$build_os,;t t
24590 s,@build_subdir@,$build_subdir,;t t
24591 s,@host_subdir@,$host_subdir,;t t
24592 s,@target_subdir@,$target_subdir,;t t
24593 s,@host@,$host,;t t
24594 s,@host_cpu@,$host_cpu,;t t
24595 s,@host_vendor@,$host_vendor,;t t
24596 s,@host_os@,$host_os,;t t
24597 s,@target@,$target,;t t
24598 s,@target_cpu@,$target_cpu,;t t
24599 s,@target_vendor@,$target_vendor,;t t
24600 s,@target_os@,$target_os,;t t
24601 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24602 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24603 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24604 s,@CYGPATH_W@,$CYGPATH_W,;t t
24605 s,@PACKAGE@,$PACKAGE,;t t
24606 s,@VERSION@,$VERSION,;t t
24607 s,@ACLOCAL@,$ACLOCAL,;t t
24608 s,@AUTOCONF@,$AUTOCONF,;t t
24609 s,@AUTOMAKE@,$AUTOMAKE,;t t
24610 s,@AUTOHEADER@,$AUTOHEADER,;t t
24611 s,@MAKEINFO@,$MAKEINFO,;t t
24612 s,@install_sh@,$install_sh,;t t
24613 s,@STRIP@,$STRIP,;t t
24614 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24615 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24616 s,@mkdir_p@,$mkdir_p,;t t
24617 s,@AWK@,$AWK,;t t
24618 s,@SET_MAKE@,$SET_MAKE,;t t
24619 s,@am__leading_dot@,$am__leading_dot,;t t
24620 s,@AMTAR@,$AMTAR,;t t
24621 s,@am__tar@,$am__tar,;t t
24622 s,@am__untar@,$am__untar,;t t
24623 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24624 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24625 s,@MAINT@,$MAINT,;t t
24626 s,@multi_basedir@,$multi_basedir,;t t
24627 s,@toolexecdir@,$toolexecdir,;t t
24628 s,@toolexeclibdir@,$toolexeclibdir,;t t
24629 s,@CC@,$CC,;t t
24630 s,@ac_ct_CC@,$ac_ct_CC,;t t
24631 s,@EXEEXT@,$EXEEXT,;t t
24632 s,@OBJEXT@,$OBJEXT,;t t
24633 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24634 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24635 s,@AS@,$AS,;t t
24636 s,@ac_ct_AS@,$ac_ct_AS,;t t
24637 s,@AR@,$AR,;t t
24638 s,@ac_ct_AR@,$ac_ct_AR,;t t
24639 s,@RANLIB@,$RANLIB,;t t
24640 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24641 s,@LN_S@,$LN_S,;t t
24642 s,@LIBTOOL@,$LIBTOOL,;t t
24643 s,@enable_shared@,$enable_shared,;t t
24644 s,@enable_static@,$enable_static,;t t
24645 s,@FC@,$FC,;t t
24646 s,@FCFLAGS@,$FCFLAGS,;t t
24647 s,@LDFLAGS@,$LDFLAGS,;t t
24648 s,@ac_ct_FC@,$ac_ct_FC,;t t
24649 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24650 s,@CPP@,$CPP,;t t
24651 s,@CPPFLAGS@,$CPPFLAGS,;t t
24652 s,@EGREP@,$EGREP,;t t
24653 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24654 s,@LIBOBJS@,$LIBOBJS,;t t
24655 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24656 CEOF
24658 _ACEOF
24660 cat >>$CONFIG_STATUS <<\_ACEOF
24661 # Split the substitutions into bite-sized pieces for seds with
24662 # small command number limits, like on Digital OSF/1 and HP-UX.
24663 ac_max_sed_lines=48
24664 ac_sed_frag=1 # Number of current file.
24665 ac_beg=1 # First line for current file.
24666 ac_end=$ac_max_sed_lines # Line after last line for current file.
24667 ac_more_lines=:
24668 ac_sed_cmds=
24669 while $ac_more_lines; do
24670 if test $ac_beg -gt 1; then
24671 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24672 else
24673 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24675 if test ! -s $tmp/subs.frag; then
24676 ac_more_lines=false
24677 else
24678 # The purpose of the label and of the branching condition is to
24679 # speed up the sed processing (if there are no `@' at all, there
24680 # is no need to browse any of the substitutions).
24681 # These are the two extra sed commands mentioned above.
24682 (echo ':t
24683 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24684 if test -z "$ac_sed_cmds"; then
24685 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24686 else
24687 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24689 ac_sed_frag=`expr $ac_sed_frag + 1`
24690 ac_beg=$ac_end
24691 ac_end=`expr $ac_end + $ac_max_sed_lines`
24693 done
24694 if test -z "$ac_sed_cmds"; then
24695 ac_sed_cmds=cat
24697 fi # test -n "$CONFIG_FILES"
24699 _ACEOF
24700 cat >>$CONFIG_STATUS <<\_ACEOF
24701 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24703 case $ac_file in
24704 - | *:- | *:-:* ) # input from stdin
24705 cat >$tmp/stdin
24706 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24707 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24708 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24709 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24710 * ) ac_file_in=$ac_file.in ;;
24711 esac
24713 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24714 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24716 X"$ac_file" : 'X\(//\)[^/]' \| \
24717 X"$ac_file" : 'X\(//\)$' \| \
24718 X"$ac_file" : 'X\(/\)' \| \
24719 . : '\(.\)' 2>/dev/null ||
24720 echo X"$ac_file" |
24721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24723 /^X\(\/\/\)$/{ s//\1/; q; }
24724 /^X\(\/\).*/{ s//\1/; q; }
24725 s/.*/./; q'`
24726 { if $as_mkdir_p; then
24727 mkdir -p "$ac_dir"
24728 else
24729 as_dir="$ac_dir"
24730 as_dirs=
24731 while test ! -d "$as_dir"; do
24732 as_dirs="$as_dir $as_dirs"
24733 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24735 X"$as_dir" : 'X\(//\)[^/]' \| \
24736 X"$as_dir" : 'X\(//\)$' \| \
24737 X"$as_dir" : 'X\(/\)' \| \
24738 . : '\(.\)' 2>/dev/null ||
24739 echo X"$as_dir" |
24740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24741 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24742 /^X\(\/\/\)$/{ s//\1/; q; }
24743 /^X\(\/\).*/{ s//\1/; q; }
24744 s/.*/./; q'`
24745 done
24746 test ! -n "$as_dirs" || mkdir $as_dirs
24747 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24748 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24749 { (exit 1); exit 1; }; }; }
24751 ac_builddir=.
24753 if test "$ac_dir" != .; then
24754 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24755 # A "../" for each directory in $ac_dir_suffix.
24756 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24757 else
24758 ac_dir_suffix= ac_top_builddir=
24761 case $srcdir in
24762 .) # No --srcdir option. We are building in place.
24763 ac_srcdir=.
24764 if test -z "$ac_top_builddir"; then
24765 ac_top_srcdir=.
24766 else
24767 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24768 fi ;;
24769 [\\/]* | ?:[\\/]* ) # Absolute path.
24770 ac_srcdir=$srcdir$ac_dir_suffix;
24771 ac_top_srcdir=$srcdir ;;
24772 *) # Relative path.
24773 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24774 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24775 esac
24777 # Do not use `cd foo && pwd` to compute absolute paths, because
24778 # the directories may not exist.
24779 case `pwd` in
24780 .) ac_abs_builddir="$ac_dir";;
24782 case "$ac_dir" in
24783 .) ac_abs_builddir=`pwd`;;
24784 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24785 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24786 esac;;
24787 esac
24788 case $ac_abs_builddir in
24789 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24791 case ${ac_top_builddir}. in
24792 .) ac_abs_top_builddir=$ac_abs_builddir;;
24793 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24794 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24795 esac;;
24796 esac
24797 case $ac_abs_builddir in
24798 .) ac_abs_srcdir=$ac_srcdir;;
24800 case $ac_srcdir in
24801 .) ac_abs_srcdir=$ac_abs_builddir;;
24802 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24803 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24804 esac;;
24805 esac
24806 case $ac_abs_builddir in
24807 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24809 case $ac_top_srcdir in
24810 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24811 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24812 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24813 esac;;
24814 esac
24817 case $INSTALL in
24818 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24819 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24820 esac
24822 if test x"$ac_file" != x-; then
24823 { echo "$as_me:$LINENO: creating $ac_file" >&5
24824 echo "$as_me: creating $ac_file" >&6;}
24825 rm -f "$ac_file"
24827 # Let's still pretend it is `configure' which instantiates (i.e., don't
24828 # use $as_me), people would be surprised to read:
24829 # /* config.h. Generated by config.status. */
24830 if test x"$ac_file" = x-; then
24831 configure_input=
24832 else
24833 configure_input="$ac_file. "
24835 configure_input=$configure_input"Generated from `echo $ac_file_in |
24836 sed 's,.*/,,'` by configure."
24838 # First look for the input files in the build tree, otherwise in the
24839 # src tree.
24840 ac_file_inputs=`IFS=:
24841 for f in $ac_file_in; do
24842 case $f in
24843 -) echo $tmp/stdin ;;
24844 [\\/$]*)
24845 # Absolute (can't be DOS-style, as IFS=:)
24846 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24847 echo "$as_me: error: cannot find input file: $f" >&2;}
24848 { (exit 1); exit 1; }; }
24849 echo "$f";;
24850 *) # Relative
24851 if test -f "$f"; then
24852 # Build tree
24853 echo "$f"
24854 elif test -f "$srcdir/$f"; then
24855 # Source tree
24856 echo "$srcdir/$f"
24857 else
24858 # /dev/null tree
24859 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24860 echo "$as_me: error: cannot find input file: $f" >&2;}
24861 { (exit 1); exit 1; }; }
24862 fi;;
24863 esac
24864 done` || { (exit 1); exit 1; }
24865 _ACEOF
24866 cat >>$CONFIG_STATUS <<_ACEOF
24867 sed "$ac_vpsub
24868 $extrasub
24869 _ACEOF
24870 cat >>$CONFIG_STATUS <<\_ACEOF
24872 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24873 s,@configure_input@,$configure_input,;t t
24874 s,@srcdir@,$ac_srcdir,;t t
24875 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24876 s,@top_srcdir@,$ac_top_srcdir,;t t
24877 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24878 s,@builddir@,$ac_builddir,;t t
24879 s,@abs_builddir@,$ac_abs_builddir,;t t
24880 s,@top_builddir@,$ac_top_builddir,;t t
24881 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24882 s,@INSTALL@,$ac_INSTALL,;t t
24883 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24884 rm -f $tmp/stdin
24885 if test x"$ac_file" != x-; then
24886 mv $tmp/out $ac_file
24887 else
24888 cat $tmp/out
24889 rm -f $tmp/out
24892 done
24893 _ACEOF
24894 cat >>$CONFIG_STATUS <<\_ACEOF
24897 # CONFIG_HEADER section.
24900 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24901 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24903 # ac_d sets the value in "#define NAME VALUE" lines.
24904 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24905 ac_dB='[ ].*$,\1#\2'
24906 ac_dC=' '
24907 ac_dD=',;t'
24908 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24909 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24910 ac_uB='$,\1#\2define\3'
24911 ac_uC=' '
24912 ac_uD=',;t'
24914 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24916 case $ac_file in
24917 - | *:- | *:-:* ) # input from stdin
24918 cat >$tmp/stdin
24919 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24920 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24921 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24922 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24923 * ) ac_file_in=$ac_file.in ;;
24924 esac
24926 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24927 echo "$as_me: creating $ac_file" >&6;}
24929 # First look for the input files in the build tree, otherwise in the
24930 # src tree.
24931 ac_file_inputs=`IFS=:
24932 for f in $ac_file_in; do
24933 case $f in
24934 -) echo $tmp/stdin ;;
24935 [\\/$]*)
24936 # Absolute (can't be DOS-style, as IFS=:)
24937 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24938 echo "$as_me: error: cannot find input file: $f" >&2;}
24939 { (exit 1); exit 1; }; }
24940 # Do quote $f, to prevent DOS paths from being IFS'd.
24941 echo "$f";;
24942 *) # Relative
24943 if test -f "$f"; then
24944 # Build tree
24945 echo "$f"
24946 elif test -f "$srcdir/$f"; then
24947 # Source tree
24948 echo "$srcdir/$f"
24949 else
24950 # /dev/null tree
24951 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24952 echo "$as_me: error: cannot find input file: $f" >&2;}
24953 { (exit 1); exit 1; }; }
24954 fi;;
24955 esac
24956 done` || { (exit 1); exit 1; }
24957 # Remove the trailing spaces.
24958 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24960 _ACEOF
24962 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24963 # `conftest.undefs', that substitutes the proper values into
24964 # config.h.in to produce config.h. The first handles `#define'
24965 # templates, and the second `#undef' templates.
24966 # And first: Protect against being on the right side of a sed subst in
24967 # config.status. Protect against being in an unquoted here document
24968 # in config.status.
24969 rm -f conftest.defines conftest.undefs
24970 # Using a here document instead of a string reduces the quoting nightmare.
24971 # Putting comments in sed scripts is not portable.
24973 # `end' is used to avoid that the second main sed command (meant for
24974 # 0-ary CPP macros) applies to n-ary macro definitions.
24975 # See the Autoconf documentation for `clear'.
24976 cat >confdef2sed.sed <<\_ACEOF
24977 s/[\\&,]/\\&/g
24978 s,[\\$`],\\&,g
24979 t clear
24980 : clear
24981 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24982 t end
24983 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24984 : end
24985 _ACEOF
24986 # If some macros were called several times there might be several times
24987 # the same #defines, which is useless. Nevertheless, we may not want to
24988 # sort them, since we want the *last* AC-DEFINE to be honored.
24989 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24990 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24991 rm -f confdef2sed.sed
24993 # This sed command replaces #undef with comments. This is necessary, for
24994 # example, in the case of _POSIX_SOURCE, which is predefined and required
24995 # on some systems where configure will not decide to define it.
24996 cat >>conftest.undefs <<\_ACEOF
24997 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24998 _ACEOF
25000 # Break up conftest.defines because some shells have a limit on the size
25001 # of here documents, and old seds have small limits too (100 cmds).
25002 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25003 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25004 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25005 echo ' :' >>$CONFIG_STATUS
25006 rm -f conftest.tail
25007 while grep . conftest.defines >/dev/null
25009 # Write a limited-size here document to $tmp/defines.sed.
25010 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25011 # Speed up: don't consider the non `#define' lines.
25012 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25013 # Work around the forget-to-reset-the-flag bug.
25014 echo 't clr' >>$CONFIG_STATUS
25015 echo ': clr' >>$CONFIG_STATUS
25016 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25017 echo 'CEOF
25018 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25019 rm -f $tmp/in
25020 mv $tmp/out $tmp/in
25021 ' >>$CONFIG_STATUS
25022 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25023 rm -f conftest.defines
25024 mv conftest.tail conftest.defines
25025 done
25026 rm -f conftest.defines
25027 echo ' fi # grep' >>$CONFIG_STATUS
25028 echo >>$CONFIG_STATUS
25030 # Break up conftest.undefs because some shells have a limit on the size
25031 # of here documents, and old seds have small limits too (100 cmds).
25032 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25033 rm -f conftest.tail
25034 while grep . conftest.undefs >/dev/null
25036 # Write a limited-size here document to $tmp/undefs.sed.
25037 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25038 # Speed up: don't consider the non `#undef'
25039 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25040 # Work around the forget-to-reset-the-flag bug.
25041 echo 't clr' >>$CONFIG_STATUS
25042 echo ': clr' >>$CONFIG_STATUS
25043 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25044 echo 'CEOF
25045 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25046 rm -f $tmp/in
25047 mv $tmp/out $tmp/in
25048 ' >>$CONFIG_STATUS
25049 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25050 rm -f conftest.undefs
25051 mv conftest.tail conftest.undefs
25052 done
25053 rm -f conftest.undefs
25055 cat >>$CONFIG_STATUS <<\_ACEOF
25056 # Let's still pretend it is `configure' which instantiates (i.e., don't
25057 # use $as_me), people would be surprised to read:
25058 # /* config.h. Generated by config.status. */
25059 if test x"$ac_file" = x-; then
25060 echo "/* Generated by configure. */" >$tmp/config.h
25061 else
25062 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25064 cat $tmp/in >>$tmp/config.h
25065 rm -f $tmp/in
25066 if test x"$ac_file" != x-; then
25067 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25068 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25069 echo "$as_me: $ac_file is unchanged" >&6;}
25070 else
25071 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25073 X"$ac_file" : 'X\(//\)[^/]' \| \
25074 X"$ac_file" : 'X\(//\)$' \| \
25075 X"$ac_file" : 'X\(/\)' \| \
25076 . : '\(.\)' 2>/dev/null ||
25077 echo X"$ac_file" |
25078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25080 /^X\(\/\/\)$/{ s//\1/; q; }
25081 /^X\(\/\).*/{ s//\1/; q; }
25082 s/.*/./; q'`
25083 { if $as_mkdir_p; then
25084 mkdir -p "$ac_dir"
25085 else
25086 as_dir="$ac_dir"
25087 as_dirs=
25088 while test ! -d "$as_dir"; do
25089 as_dirs="$as_dir $as_dirs"
25090 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25092 X"$as_dir" : 'X\(//\)[^/]' \| \
25093 X"$as_dir" : 'X\(//\)$' \| \
25094 X"$as_dir" : 'X\(/\)' \| \
25095 . : '\(.\)' 2>/dev/null ||
25096 echo X"$as_dir" |
25097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25099 /^X\(\/\/\)$/{ s//\1/; q; }
25100 /^X\(\/\).*/{ s//\1/; q; }
25101 s/.*/./; q'`
25102 done
25103 test ! -n "$as_dirs" || mkdir $as_dirs
25104 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25105 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25106 { (exit 1); exit 1; }; }; }
25108 rm -f $ac_file
25109 mv $tmp/config.h $ac_file
25111 else
25112 cat $tmp/config.h
25113 rm -f $tmp/config.h
25115 # Compute $ac_file's index in $config_headers.
25116 _am_stamp_count=1
25117 for _am_header in $config_headers :; do
25118 case $_am_header in
25119 $ac_file | $ac_file:* )
25120 break ;;
25122 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25123 esac
25124 done
25125 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25126 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25127 X$ac_file : 'X\(//\)[^/]' \| \
25128 X$ac_file : 'X\(//\)$' \| \
25129 X$ac_file : 'X\(/\)' \| \
25130 . : '\(.\)' 2>/dev/null ||
25131 echo X$ac_file |
25132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25134 /^X\(\/\/\)$/{ s//\1/; q; }
25135 /^X\(\/\).*/{ s//\1/; q; }
25136 s/.*/./; q'`/stamp-h$_am_stamp_count
25137 done
25138 _ACEOF
25139 cat >>$CONFIG_STATUS <<\_ACEOF
25142 # CONFIG_COMMANDS section.
25144 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25145 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25146 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25147 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25148 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25149 X"$ac_dest" : 'X\(//\)[^/]' \| \
25150 X"$ac_dest" : 'X\(//\)$' \| \
25151 X"$ac_dest" : 'X\(/\)' \| \
25152 . : '\(.\)' 2>/dev/null ||
25153 echo X"$ac_dest" |
25154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25156 /^X\(\/\/\)$/{ s//\1/; q; }
25157 /^X\(\/\).*/{ s//\1/; q; }
25158 s/.*/./; q'`
25159 { if $as_mkdir_p; then
25160 mkdir -p "$ac_dir"
25161 else
25162 as_dir="$ac_dir"
25163 as_dirs=
25164 while test ! -d "$as_dir"; do
25165 as_dirs="$as_dir $as_dirs"
25166 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25168 X"$as_dir" : 'X\(//\)[^/]' \| \
25169 X"$as_dir" : 'X\(//\)$' \| \
25170 X"$as_dir" : 'X\(/\)' \| \
25171 . : '\(.\)' 2>/dev/null ||
25172 echo X"$as_dir" |
25173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25174 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25175 /^X\(\/\/\)$/{ s//\1/; q; }
25176 /^X\(\/\).*/{ s//\1/; q; }
25177 s/.*/./; q'`
25178 done
25179 test ! -n "$as_dirs" || mkdir $as_dirs
25180 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25181 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25182 { (exit 1); exit 1; }; }; }
25184 ac_builddir=.
25186 if test "$ac_dir" != .; then
25187 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25188 # A "../" for each directory in $ac_dir_suffix.
25189 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25190 else
25191 ac_dir_suffix= ac_top_builddir=
25194 case $srcdir in
25195 .) # No --srcdir option. We are building in place.
25196 ac_srcdir=.
25197 if test -z "$ac_top_builddir"; then
25198 ac_top_srcdir=.
25199 else
25200 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25201 fi ;;
25202 [\\/]* | ?:[\\/]* ) # Absolute path.
25203 ac_srcdir=$srcdir$ac_dir_suffix;
25204 ac_top_srcdir=$srcdir ;;
25205 *) # Relative path.
25206 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25207 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25208 esac
25210 # Do not use `cd foo && pwd` to compute absolute paths, because
25211 # the directories may not exist.
25212 case `pwd` in
25213 .) ac_abs_builddir="$ac_dir";;
25215 case "$ac_dir" in
25216 .) ac_abs_builddir=`pwd`;;
25217 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25218 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25219 esac;;
25220 esac
25221 case $ac_abs_builddir in
25222 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25224 case ${ac_top_builddir}. in
25225 .) ac_abs_top_builddir=$ac_abs_builddir;;
25226 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25227 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25228 esac;;
25229 esac
25230 case $ac_abs_builddir in
25231 .) ac_abs_srcdir=$ac_srcdir;;
25233 case $ac_srcdir in
25234 .) ac_abs_srcdir=$ac_abs_builddir;;
25235 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25236 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25237 esac;;
25238 esac
25239 case $ac_abs_builddir in
25240 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25242 case $ac_top_srcdir in
25243 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25244 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25245 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25246 esac;;
25247 esac
25250 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25251 echo "$as_me: executing $ac_dest commands" >&6;}
25252 case $ac_dest in
25253 default-1 )
25254 # Only add multilib support code if we just rebuilt the top-level
25255 # Makefile.
25256 case " $CONFIG_FILES " in
25257 *" Makefile "*)
25258 ac_file=Makefile . ${multi_basedir}/config-ml.in
25260 esac ;;
25261 gstdint.h )
25262 if test "$GCC" = yes; then
25263 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25264 else
25265 echo "/* generated for $CC */" > tmp-stdint.h
25268 sed 's/^ *//' >> tmp-stdint.h <<EOF
25270 #ifndef GCC_GENERATED_STDINT_H
25271 #define GCC_GENERATED_STDINT_H 1
25273 #include <sys/types.h>
25276 if test "$acx_cv_header_stdint" != stdint.h; then
25277 echo "#include <stddef.h>" >> tmp-stdint.h
25279 if test "$acx_cv_header_stdint" != stddef.h; then
25280 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25283 sed 's/^ *//' >> tmp-stdint.h <<EOF
25284 /* glibc uses these symbols as guards to prevent redefinitions. */
25285 #ifdef __int8_t_defined
25286 #define _INT8_T
25287 #define _INT16_T
25288 #define _INT32_T
25289 #endif
25290 #ifdef __uint32_t_defined
25291 #define _UINT32_T
25292 #endif
25296 # ----------------- done header, emit basic int types -------------
25297 if test "$acx_cv_header_stdint" = stddef.h; then
25298 sed 's/^ *//' >> tmp-stdint.h <<EOF
25300 #ifndef _UINT8_T
25301 #define _UINT8_T
25302 typedef unsigned $acx_cv_type_int8_t uint8_t;
25303 #endif
25305 #ifndef _UINT16_T
25306 #define _UINT16_T
25307 typedef unsigned $acx_cv_type_int16_t uint16_t;
25308 #endif
25310 #ifndef _UINT32_T
25311 #define _UINT32_T
25312 typedef unsigned $acx_cv_type_int32_t uint32_t;
25313 #endif
25315 #ifndef _INT8_T
25316 #define _INT8_T
25317 typedef $acx_cv_type_int8_t int8_t;
25318 #endif
25320 #ifndef _INT16_T
25321 #define _INT16_T
25322 typedef $acx_cv_type_int16_t int16_t;
25323 #endif
25325 #ifndef _INT32_T
25326 #define _INT32_T
25327 typedef $acx_cv_type_int32_t int32_t;
25328 #endif
25330 elif test "$ac_cv_type_u_int32_t" = yes; then
25331 sed 's/^ *//' >> tmp-stdint.h <<EOF
25333 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25334 #ifndef _INT8_T
25335 #define _INT8_T
25336 #endif
25337 #ifndef _INT16_T
25338 #define _INT16_T
25339 #endif
25340 #ifndef _INT32_T
25341 #define _INT32_T
25342 #endif
25344 #ifndef _UINT8_T
25345 #define _UINT8_T
25346 typedef u_int8_t uint8_t;
25347 #endif
25349 #ifndef _UINT16_T
25350 #define _UINT16_T
25351 typedef u_int16_t uint16_t;
25352 #endif
25354 #ifndef _UINT32_T
25355 #define _UINT32_T
25356 typedef u_int32_t uint32_t;
25357 #endif
25359 else
25360 sed 's/^ *//' >> tmp-stdint.h <<EOF
25362 /* Some systems have guard macros to prevent redefinitions, define them. */
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
25372 #ifndef _UINT8_T
25373 #define _UINT8_T
25374 #endif
25375 #ifndef _UINT16_T
25376 #define _UINT16_T
25377 #endif
25378 #ifndef _UINT32_T
25379 #define _UINT32_T
25380 #endif
25384 # ------------- done basic int types, emit int64_t types ------------
25385 if test "$ac_cv_type_uint64_t" = yes; then
25386 sed 's/^ *//' >> tmp-stdint.h <<EOF
25388 /* system headers have good uint64_t and int64_t */
25389 #ifndef _INT64_T
25390 #define _INT64_T
25391 #endif
25392 #ifndef _UINT64_T
25393 #define _UINT64_T
25394 #endif
25396 elif test "$ac_cv_type_u_int64_t" = yes; then
25397 sed 's/^ *//' >> tmp-stdint.h <<EOF
25399 /* system headers have an u_int64_t (and int64_t) */
25400 #ifndef _INT64_T
25401 #define _INT64_T
25402 #endif
25403 #ifndef _UINT64_T
25404 #define _UINT64_T
25405 typedef u_int64_t uint64_t;
25406 #endif
25408 elif test -n "$acx_cv_type_int64_t"; then
25409 sed 's/^ *//' >> tmp-stdint.h <<EOF
25411 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25412 #ifndef _INT64_T
25413 #define _INT64_T
25414 typedef $acx_cv_type_int64_t int64_t;
25415 #endif
25416 #ifndef _UINT64_T
25417 #define _UINT64_T
25418 typedef unsigned $acx_cv_type_int64_t uint64_t;
25419 #endif
25421 else
25422 sed 's/^ *//' >> tmp-stdint.h <<EOF
25424 /* some common heuristics for int64_t, using compiler-specific tests */
25425 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25426 #ifndef _INT64_T
25427 #define _INT64_T
25428 typedef long long int64_t;
25429 #endif
25430 #ifndef _UINT64_T
25431 #define _UINT64_T
25432 typedef unsigned long long uint64_t;
25433 #endif
25435 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25436 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25437 does not implement __extension__. But that compiler doesn't define
25438 __GNUC_MINOR__. */
25439 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25440 # define __extension__
25441 # endif
25443 # ifndef _INT64_T
25444 # define _INT64_T
25445 __extension__ typedef long long int64_t;
25446 # endif
25447 # ifndef _UINT64_T
25448 # define _UINT64_T
25449 __extension__ typedef unsigned long long uint64_t;
25450 # endif
25452 #elif !defined __STRICT_ANSI__
25453 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25455 # ifndef _INT64_T
25456 # define _INT64_T
25457 typedef __int64 int64_t;
25458 # endif
25459 # ifndef _UINT64_T
25460 # define _UINT64_T
25461 typedef unsigned __int64 uint64_t;
25462 # endif
25463 # endif /* compiler */
25465 #endif /* ANSI version */
25469 # ------------- done int64_t types, emit intptr types ------------
25470 if test "$ac_cv_type_uintptr_t" != yes; then
25471 sed 's/^ *//' >> tmp-stdint.h <<EOF
25473 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25474 typedef u$acx_cv_type_intptr_t uintptr_t;
25475 typedef $acx_cv_type_intptr_t intptr_t;
25479 # ------------- done intptr types, emit int_least types ------------
25480 if test "$ac_cv_type_int_least32_t" != yes; then
25481 sed 's/^ *//' >> tmp-stdint.h <<EOF
25483 /* Define int_least types */
25484 typedef int8_t int_least8_t;
25485 typedef int16_t int_least16_t;
25486 typedef int32_t int_least32_t;
25487 #ifdef _INT64_T
25488 typedef int64_t int_least64_t;
25489 #endif
25491 typedef uint8_t uint_least8_t;
25492 typedef uint16_t uint_least16_t;
25493 typedef uint32_t uint_least32_t;
25494 #ifdef _UINT64_T
25495 typedef uint64_t uint_least64_t;
25496 #endif
25500 # ------------- done intptr types, emit int_fast types ------------
25501 if test "$ac_cv_type_int_fast32_t" != yes; then
25502 sed 's/^ *//' >> tmp-stdint.h <<EOF
25504 /* Define int_fast types. short is often slow */
25505 typedef int8_t int_fast8_t;
25506 typedef int int_fast16_t;
25507 typedef int32_t int_fast32_t;
25508 #ifdef _INT64_T
25509 typedef int64_t int_fast64_t;
25510 #endif
25512 typedef uint8_t uint_fast8_t;
25513 typedef unsigned int uint_fast16_t;
25514 typedef uint32_t uint_fast32_t;
25515 #ifdef _UINT64_T
25516 typedef uint64_t uint_fast64_t;
25517 #endif
25521 if test "$ac_cv_type_uintmax_t" != yes; then
25522 sed 's/^ *//' >> tmp-stdint.h <<EOF
25524 /* Define intmax based on what we found */
25525 #ifdef _INT64_T
25526 typedef int64_t intmax_t;
25527 #else
25528 typedef long intmax_t;
25529 #endif
25530 #ifdef _UINT64_T
25531 typedef uint64_t uintmax_t;
25532 #else
25533 typedef unsigned long uintmax_t;
25534 #endif
25538 sed 's/^ *//' >> tmp-stdint.h <<EOF
25540 #endif /* GCC_GENERATED_STDINT_H */
25543 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
25544 rm -f tmp-stdint.h
25545 else
25546 mv -f tmp-stdint.h gstdint.h
25550 esac
25551 done
25552 _ACEOF
25554 cat >>$CONFIG_STATUS <<\_ACEOF
25556 { (exit 0); exit 0; }
25557 _ACEOF
25558 chmod +x $CONFIG_STATUS
25559 ac_clean_files=$ac_clean_files_save
25562 # configure is writing to config.log, and then calls config.status.
25563 # config.status does its own redirection, appending to config.log.
25564 # Unfortunately, on DOS this fails, as config.log is still kept open
25565 # by configure, so config.status won't be able to write to it; its
25566 # output is simply discarded. So we exec the FD to /dev/null,
25567 # effectively closing config.log, so it can be properly (re)opened and
25568 # appended to by config.status. When coming back to configure, we
25569 # need to make the FD available again.
25570 if test "$no_create" != yes; then
25571 ac_cs_success=:
25572 ac_config_status_args=
25573 test "$silent" = yes &&
25574 ac_config_status_args="$ac_config_status_args --quiet"
25575 exec 5>/dev/null
25576 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25577 exec 5>>config.log
25578 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25579 # would make configure fail if this is the last instruction.
25580 $ac_cs_success || { (exit 1); exit 1; }