PR c++/29733
[official-gcc.git] / libgfortran / configure
blob6b767eb1fd3d60efcf2e240fed195853c710a297
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
352 ac_prev=
353 for ac_option
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
366 case $ac_option in
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
385 --config-cache | -C)
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 esac
649 done
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
724 else
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
789 Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 _ACEOF
802 cat <<_ACEOF
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829 _ACEOF
831 cat <<\_ACEOF
833 Program names:
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
838 System types:
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
842 _ACEOF
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848 esac
849 cat <<\_ACEOF
851 Optional Features:
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
864 Optional Packages:
865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
867 --with-build-libsubdir=DIR Directory where to find libraries for build system
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
880 CPP C preprocessor
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
885 _ACEOF
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
890 ac_popdir=`pwd`
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
893 ac_builddir=.
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 else
900 ac_dir_suffix= ac_top_builddir=
903 case $srcdir in
904 .) # No --srcdir option. We are building in place.
905 ac_srcdir=.
906 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=.
908 else
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910 fi ;;
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
914 *) # Relative path.
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 esac
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
921 case `pwd` in
922 .) ac_abs_builddir="$ac_dir";;
924 case "$ac_dir" in
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 esac;;
938 esac
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
942 case $ac_srcdir in
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 esac;;
947 esac
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 esac;;
956 esac
958 cd $ac_dir
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
961 echo
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
964 echo
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
968 echo
969 $ac_configure --help
970 else
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 cd $ac_popdir
974 done
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
979 cat <<\_ACEOF
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987 exit 0
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
997 $ $0 $@
999 _ACEOF
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1023 _ASUNAME
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1028 IFS=$as_save_IFS
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1031 done
1033 } >&5
1035 cat >&5 <<_ACEOF
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1042 _ACEOF
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1057 for ac_arg
1059 case $ac_arg in
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 continue ;;
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066 esac
1067 case $ac_pass in
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1073 else
1074 case $ac_arg in
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 esac
1083 -* ) ac_must_keep_next=true ;;
1084 esac
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1088 ac_sep=" "
1090 esac
1091 done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1104 echo
1106 cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111 echo
1112 # The following way of writing the cache mishandles newlines in values,
1114 (set) 2>&1 |
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 *ac_space=\ *)
1117 sed -n \
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 sed -n \
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 esac;
1127 echo
1129 cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134 echo
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1139 done | sort
1140 echo
1142 if test -n "$ac_subst_files"; then
1143 cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148 echo
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1153 done | sort
1154 echo
1157 if test -s confdefs.h; then
1158 cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163 echo
1164 sed "/^$/d" confdefs.h | sort
1165 echo
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1170 } >&5
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173 exit $exit_status
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 else
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1226 . "$ac_site_file"
1228 done
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236 case $cache_file in
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1239 esac
1241 else
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244 >$cache_file
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1257 set,)
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1261 ,set)
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1265 ,);;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1275 fi;;
1276 esac
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1279 case $ac_new_val in
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1283 esac
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 esac
1289 done
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1332 ac_aux_dir=
1333 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334 if test -f $ac_dir/install-sh; then
1335 ac_aux_dir=$ac_dir
1336 ac_install_sh="$ac_aux_dir/install-sh -c"
1337 break
1338 elif test -f $ac_dir/install.sh; then
1339 ac_aux_dir=$ac_dir
1340 ac_install_sh="$ac_aux_dir/install.sh -c"
1341 break
1342 elif test -f $ac_dir/shtool; then
1343 ac_aux_dir=$ac_dir
1344 ac_install_sh="$ac_aux_dir/shtool install -c"
1345 break
1347 done
1348 if test -z "$ac_aux_dir"; then
1349 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351 { (exit 1); exit 1; }; }
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 else
1368 ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370 ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374 { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1383 build=$ac_cv_build
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1389 case ${build_alias} in
1390 "") build_noncanonical=${build} ;;
1391 *) build_noncanonical=${build_alias} ;;
1392 esac
1394 case ${host_alias} in
1395 "") host_noncanonical=${build_noncanonical} ;;
1396 *) host_noncanonical=${host_alias} ;;
1397 esac
1399 case ${target_alias} in
1400 "") target_noncanonical=${host_noncanonical} ;;
1401 *) target_noncanonical=${target_alias} ;;
1402 esac
1405 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1406 # have matching libraries, they should use host libraries: Makefile.tpl
1407 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1408 # However, they still use the build modules, because the corresponding
1409 # host modules (e.g. bison) are only built for the host when bootstrap
1410 # finishes. So:
1411 # - build_subdir is where we find build modules, and never changes.
1412 # - build_libsubdir is where we find build libraries, and can be overridden.
1414 # Prefix 'build-' so this never conflicts with target_subdir.
1415 build_subdir="build-${build_noncanonical}"
1417 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1418 if test "${with_build_libsubdir+set}" = set; then
1419 withval="$with_build_libsubdir"
1420 build_libsubdir="$withval"
1421 else
1422 build_libsubdir="$build_subdir"
1424 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1425 if ( test $srcdir = . && test -d gcc ) \
1426 || test -d $srcdir/../host-${host_noncanonical}; then
1427 host_subdir="host-${host_noncanonical}"
1428 else
1429 host_subdir=.
1431 # No prefix.
1432 target_subdir=${target_noncanonical}
1435 # -------
1436 # Options
1437 # -------
1439 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1440 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1441 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1442 if test "${enable_version_specific_runtime_libs+set}" = set; then
1443 enableval="$enable_version_specific_runtime_libs"
1444 case "$enableval" in
1445 yes) version_specific_libs=yes ;;
1446 no) version_specific_libs=no ;;
1447 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1448 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1449 { (exit 1); exit 1; }; };;
1450 esac
1451 else
1452 version_specific_libs=no
1454 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1455 echo "${ECHO_T}$version_specific_libs" >&6
1458 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1460 # You will slowly go insane if you do not grok the following fact: when
1461 # building this library, the top-level /target/ becomes the library's /host/.
1463 # configure then causes --target to default to --host, exactly like any
1464 # other package using autoconf. Therefore, 'target' and 'host' will
1465 # always be the same. This makes sense both for native and cross compilers
1466 # just think about it for a little while. :-)
1468 # Also, if this library is being configured as part of a cross compiler, the
1469 # top-level configure script will pass the "real" host as $with_cross_host.
1471 # Do not delete or change the following two lines. For why, see
1472 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1473 echo "$as_me:$LINENO: checking host system type" >&5
1474 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1475 if test "${ac_cv_host+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 ac_cv_host_alias=$host_alias
1479 test -z "$ac_cv_host_alias" &&
1480 ac_cv_host_alias=$ac_cv_build_alias
1481 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1482 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1483 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1484 { (exit 1); exit 1; }; }
1487 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1488 echo "${ECHO_T}$ac_cv_host" >&6
1489 host=$ac_cv_host
1490 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1491 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1492 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1495 echo "$as_me:$LINENO: checking target system type" >&5
1496 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1497 if test "${ac_cv_target+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 else
1500 ac_cv_target_alias=$target_alias
1501 test "x$ac_cv_target_alias" = "x" &&
1502 ac_cv_target_alias=$ac_cv_host_alias
1503 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1504 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1505 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1506 { (exit 1); exit 1; }; }
1509 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1510 echo "${ECHO_T}$ac_cv_target" >&6
1511 target=$ac_cv_target
1512 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1513 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1514 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1517 # The aliases save the names the user supplied, while $host etc.
1518 # will get canonicalized.
1519 test -n "$target_alias" &&
1520 test "$program_prefix$program_suffix$program_transform_name" = \
1521 NONENONEs,x,x, &&
1522 program_prefix=${target_alias}-
1523 target_alias=${target_alias-$host_alias}
1525 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1526 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1527 # 1.8.2: minimum required version
1528 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1529 # of other PACKAGE_* variables will, however, and there's nothing
1530 # we can do about that; they come from AC_INIT).
1531 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1532 # file in the top srcdir, etc, etc), so stop complaining.
1533 # no-dependencies: turns off auto dependency generation (just for now)
1534 # -Wall: turns on all automake warnings...
1535 # -Wno-portability: ...except this one, since GNU make is required.
1536 am__api_version="1.9"
1537 # Find a good install program. We prefer a C program (faster),
1538 # so one script is as good as another. But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1543 # AIX /bin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1559 IFS=$as_save_IFS
1560 test -z "$as_dir" && as_dir=.
1561 # Account for people who put trailing slashes in PATH elements.
1562 case $as_dir/ in
1563 ./ | .// | /cC/* | \
1564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1566 /usr/ucb/* ) ;;
1568 # OSF1 and SCO ODT 3.0 have their own names for install.
1569 # Don't use installbsd from OSF since it installs stuff as root
1570 # by default.
1571 for ac_prog in ginstall scoinst install; do
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574 if test $ac_prog = install &&
1575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1576 # AIX install. It has an incompatible calling convention.
1578 elif test $ac_prog = install &&
1579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1580 # program-specific install script used by HP pwplus--don't use.
1582 else
1583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1584 break 3
1587 done
1588 done
1590 esac
1591 done
1595 if test "${ac_cv_path_install+set}" = set; then
1596 INSTALL=$ac_cv_path_install
1597 else
1598 # As a last resort, use the slow shell script. We don't cache a
1599 # path for INSTALL within a source directory, because that will
1600 # break other packages using the cache if that directory is
1601 # removed, or if the path is relative.
1602 INSTALL=$ac_install_sh
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1618 # Just in case
1619 sleep 1
1620 echo timestamp > conftest.file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments. Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1625 # directory).
1626 if (
1627 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628 if test "$*" = "X"; then
1629 # -L didn't work.
1630 set X `ls -t $srcdir/configure conftest.file`
1632 rm -f conftest.file
1633 if test "$*" != "X $srcdir/configure conftest.file" \
1634 && test "$*" != "X conftest.file $srcdir/configure"; then
1636 # If neither matched, then we have a broken ls. This can happen
1637 # if, for instance, CONFIG_SHELL is bash and it inherits a
1638 # broken ls alias from the environment. This has actually
1639 # happened. Such a system could not be considered "sane".
1640 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1643 alias in your environment" >&2;}
1644 { (exit 1); exit 1; }; }
1647 test "$2" = conftest.file
1649 then
1650 # Ok.
1652 else
1653 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE &&
1662 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE &&
1665 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $. echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF >conftest.sed
1669 s/[\\$]/&&/g;s/;s,x,x,$//
1670 _ACEOF
1671 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1672 rm conftest.sed
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir=`cd $ac_aux_dir && pwd`
1677 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680 am_missing_run="$MISSING --run "
1681 else
1682 am_missing_run=
1683 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1687 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1688 # We used to keeping the `.' as first argument, in order to
1689 # allow $(mkdir_p) to be used without argument. As in
1690 # $(mkdir_p) $(somedir)
1691 # where $(somedir) is conditionally defined. However this is wrong
1692 # for two reasons:
1693 # 1. if the package is installed by a user who cannot write `.'
1694 # make install will fail,
1695 # 2. the above comment should most certainly read
1696 # $(mkdir_p) $(DESTDIR)$(somedir)
1697 # so it does not work when $(somedir) is undefined and
1698 # $(DESTDIR) is not.
1699 # To support the latter case, we have to write
1700 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701 # so the `.' trick is pointless.
1702 mkdir_p='mkdir -p --'
1703 else
1704 # On NextStep and OpenStep, the `mkdir' command does not
1705 # recognize any option. It will interpret all options as
1706 # directories to create, and then abort because `.' already
1707 # exists.
1708 for d in ./-p ./--version;
1710 test -d $d && rmdir $d
1711 done
1712 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713 if test -f "$ac_aux_dir/mkinstalldirs"; then
1714 mkdir_p='$(mkinstalldirs)'
1715 else
1716 mkdir_p='$(install_sh) -d'
1720 for ac_prog in gawk mawk nawk awk
1722 # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy $ac_prog; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 if test -n "$AWK"; then
1730 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1731 else
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 for as_dir in $PATH
1735 IFS=$as_save_IFS
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_AWK="$ac_prog"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 break 2
1743 done
1744 done
1748 AWK=$ac_cv_prog_AWK
1749 if test -n "$AWK"; then
1750 echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1752 else
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1757 test -n "$AWK" && break
1758 done
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766 cat >conftest.make <<\_ACEOF
1767 all:
1768 @echo 'ac_maketemp="$(MAKE)"'
1769 _ACEOF
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773 eval ac_cv_prog_make_${ac_make}_set=yes
1774 else
1775 eval ac_cv_prog_make_${ac_make}_set=no
1777 rm -f conftest.make
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780 echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1782 SET_MAKE=
1783 else
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786 SET_MAKE="MAKE=${MAKE-make}"
1789 rm -rf .tst 2>/dev/null
1790 mkdir .tst 2>/dev/null
1791 if test -d .tst; then
1792 am__leading_dot=.
1793 else
1794 am__leading_dot=_
1796 rmdir .tst 2>/dev/null
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800 test -f $srcdir/config.status; then
1801 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803 { (exit 1); exit 1; }; }
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808 if (cygpath --version) >/dev/null 2>/dev/null; then
1809 CYGPATH_W='cygpath -w'
1810 else
1811 CYGPATH_W=echo
1816 # Define the identity of the package.
1817 PACKAGE='libgfortran'
1818 VERSION='0.2'
1821 # Some tools Automake needs.
1823 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1826 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1829 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1832 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1835 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'. However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852 if test -n "$STRIP"; then
1853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1858 IFS=$as_save_IFS
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 break 2
1866 done
1867 done
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873 echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1881 if test -z "$ac_cv_prog_STRIP"; then
1882 ac_ct_STRIP=$STRIP
1883 # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890 if test -n "$ac_ct_STRIP"; then
1891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1896 IFS=$as_save_IFS
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_ac_ct_STRIP="strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 break 2
1904 done
1905 done
1907 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1919 STRIP=$ac_ct_STRIP
1920 else
1921 STRIP="$ac_cv_prog_STRIP"
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927 # We need awk for the "check" target. The system "awk" is bad on
1928 # some platforms.
1929 # Always define AMTAR for backward compatibility.
1931 AMTAR=${AMTAR-"${am_missing_run}tar"}
1933 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1940 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1941 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1942 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1943 if test "${enable_maintainer_mode+set}" = set; then
1944 enableval="$enable_maintainer_mode"
1945 USE_MAINTAINER_MODE=$enableval
1946 else
1947 USE_MAINTAINER_MODE=no
1949 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1950 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1953 if test $USE_MAINTAINER_MODE = yes; then
1954 MAINTAINER_MODE_TRUE=
1955 MAINTAINER_MODE_FALSE='#'
1956 else
1957 MAINTAINER_MODE_TRUE='#'
1958 MAINTAINER_MODE_FALSE=
1961 MAINT=$MAINTAINER_MODE_TRUE
1964 # Default to --enable-multilib
1965 # Check whether --enable-multilib or --disable-multilib was given.
1966 if test "${enable_multilib+set}" = set; then
1967 enableval="$enable_multilib"
1968 case "$enableval" in
1969 yes) multilib=yes ;;
1970 no) multilib=no ;;
1971 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1972 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1973 { (exit 1); exit 1; }; } ;;
1974 esac
1975 else
1976 multilib=yes
1979 # We may get other options which we leave undocumented:
1980 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1981 # See config-ml.in if you want the gory details.
1983 if test "$srcdir" = "."; then
1984 if test "$with_target_subdir" != "."; then
1985 multi_basedir="$srcdir/$with_multisrctop../.."
1986 else
1987 multi_basedir="$srcdir/$with_multisrctop.."
1989 else
1990 multi_basedir="$srcdir/.."
1994 ac_config_commands="$ac_config_commands default-1"
1997 # Handy for debugging:
1998 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2000 # Are we being configured with some form of cross compiler?
2001 # NB: We don't actually need to know this just now, but when, say, a test
2002 # suite is included, we'll have to know.
2003 if test "$build" != "$host"; then
2004 LIBGFOR_IS_NATIVE=false
2006 else
2007 LIBGFOR_IS_NATIVE=true
2010 # Calculate toolexeclibdir
2011 # Also toolexecdir, though it's only used in toolexeclibdir
2012 case ${version_specific_libs} in
2013 yes)
2014 # Need the gcc compiler version to know where to install libraries
2015 # and header files if --enable-version-specific-runtime-libs option
2016 # is selected.
2017 toolexecdir='$(libdir)/gcc/$(target_alias)'
2018 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2021 if test -n "$with_cross_host" &&
2022 test x"$with_cross_host" != x"no"; then
2023 # Install a library built with a cross compiler in tooldir, not libdir.
2024 toolexecdir='$(exec_prefix)/$(target_alias)'
2025 toolexeclibdir='$(toolexecdir)/lib'
2026 else
2027 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2028 toolexeclibdir='$(libdir)'
2030 multi_os_directory=`$CC -print-multi-os-directory`
2031 case $multi_os_directory in
2032 .) ;; # Avoid trailing /.
2033 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2034 esac
2036 esac
2040 # Check the compiler.
2041 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2042 # We must force CC to /not/ be precious variables; otherwise
2043 # the wrong, non-multilib-adjusted value will be used in multilibs.
2044 # As a side effect, we have to subst CFLAGS ourselves.
2048 ac_ext=c
2049 ac_cpp='$CPP $CPPFLAGS'
2050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2053 if test -n "$ac_tool_prefix"; then
2054 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2056 echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058 if test "${ac_cv_prog_CC+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 else
2061 if test -n "$CC"; then
2062 ac_cv_prog_CC="$CC" # Let the user override the test.
2063 else
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2067 IFS=$as_save_IFS
2068 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 break 2
2075 done
2076 done
2080 CC=$ac_cv_prog_CC
2081 if test -n "$CC"; then
2082 echo "$as_me:$LINENO: result: $CC" >&5
2083 echo "${ECHO_T}$CC" >&6
2084 else
2085 echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2090 if test -z "$ac_cv_prog_CC"; then
2091 ac_ct_CC=$CC
2092 # Extract the first word of "gcc", so it can be a program name with args.
2093 set dummy gcc; ac_word=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 else
2099 if test -n "$ac_ct_CC"; then
2100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_ac_ct_CC="gcc"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 break 2
2113 done
2114 done
2118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6
2122 else
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2127 CC=$ac_ct_CC
2128 else
2129 CC="$ac_cv_prog_CC"
2132 if test -z "$CC"; then
2133 if test -n "$ac_tool_prefix"; then
2134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2135 set dummy ${ac_tool_prefix}cc; ac_word=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_CC+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 else
2141 if test -n "$CC"; then
2142 ac_cv_prog_CC="$CC" # Let the user override the test.
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2147 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151 ac_cv_prog_CC="${ac_tool_prefix}cc"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 break 2
2155 done
2156 done
2160 CC=$ac_cv_prog_CC
2161 if test -n "$CC"; then
2162 echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6
2164 else
2165 echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6
2170 if test -z "$ac_cv_prog_CC"; then
2171 ac_ct_CC=$CC
2172 # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc; ac_word=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 else
2179 if test -n "$ac_ct_CC"; then
2180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2181 else
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 for as_dir in $PATH
2185 IFS=$as_save_IFS
2186 test -z "$as_dir" && as_dir=.
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 ac_cv_prog_ac_ct_CC="cc"
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 break 2
2193 done
2194 done
2198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2199 if test -n "$ac_ct_CC"; then
2200 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2201 echo "${ECHO_T}$ac_ct_CC" >&6
2202 else
2203 echo "$as_me:$LINENO: result: no" >&5
2204 echo "${ECHO_T}no" >&6
2207 CC=$ac_ct_CC
2208 else
2209 CC="$ac_cv_prog_CC"
2213 if test -z "$CC"; then
2214 # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc; ac_word=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_CC+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 else
2221 if test -n "$CC"; then
2222 ac_cv_prog_CC="$CC" # Let the user override the test.
2223 else
2224 ac_prog_rejected=no
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 for as_dir in $PATH
2228 IFS=$as_save_IFS
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2233 ac_prog_rejected=yes
2234 continue
2236 ac_cv_prog_CC="cc"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 break 2
2240 done
2241 done
2243 if test $ac_prog_rejected = yes; then
2244 # We found a bogon in the path, so make sure we never use it.
2245 set dummy $ac_cv_prog_CC
2246 shift
2247 if test $# != 0; then
2248 # We chose a different compiler from the bogus one.
2249 # However, it has the same basename, so the bogon will be chosen
2250 # first if we set CC to just the basename; use the full file name.
2251 shift
2252 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2257 CC=$ac_cv_prog_CC
2258 if test -n "$CC"; then
2259 echo "$as_me:$LINENO: result: $CC" >&5
2260 echo "${ECHO_T}$CC" >&6
2261 else
2262 echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2267 if test -z "$CC"; then
2268 if test -n "$ac_tool_prefix"; then
2269 for ac_prog in cl
2271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2292 done
2293 done
2297 CC=$ac_cv_prog_CC
2298 if test -n "$CC"; then
2299 echo "$as_me:$LINENO: result: $CC" >&5
2300 echo "${ECHO_T}$CC" >&6
2301 else
2302 echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2306 test -n "$CC" && break
2307 done
2309 if test -z "$CC"; then
2310 ac_ct_CC=$CC
2311 for ac_prog in cl
2313 # Extract the first word of "$ac_prog", so it can be a program name with args.
2314 set dummy $ac_prog; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 else
2320 if test -n "$ac_ct_CC"; then
2321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2322 else
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2326 IFS=$as_save_IFS
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_ac_ct_CC="$ac_prog"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 break 2
2334 done
2335 done
2339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2340 if test -n "$ac_ct_CC"; then
2341 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2342 echo "${ECHO_T}$ac_ct_CC" >&6
2343 else
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2348 test -n "$ac_ct_CC" && break
2349 done
2351 CC=$ac_ct_CC
2357 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2358 See \`config.log' for more details." >&5
2359 echo "$as_me: error: no acceptable C compiler found in \$PATH
2360 See \`config.log' for more details." >&2;}
2361 { (exit 1); exit 1; }; }
2363 # Provide some information about the compiler.
2364 echo "$as_me:$LINENO:" \
2365 "checking for C compiler version" >&5
2366 ac_compiler=`set X $ac_compile; echo $2`
2367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2368 (eval $ac_compiler --version </dev/null >&5) 2>&5
2369 ac_status=$?
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2373 (eval $ac_compiler -v </dev/null >&5) 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2378 (eval $ac_compiler -V </dev/null >&5) 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }
2383 cat >conftest.$ac_ext <<_ACEOF
2384 /* confdefs.h. */
2385 _ACEOF
2386 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2391 main ()
2395 return 0;
2397 _ACEOF
2398 # FIXME: Cleanup?
2399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2400 (eval $ac_link) 2>&5
2401 ac_status=$?
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; then
2404 gcc_no_link=no
2405 else
2406 gcc_no_link=yes
2409 if test x$gcc_no_link = xyes; then
2410 # Setting cross_compile will disable run tests; it will
2411 # also disable AC_CHECK_FILE but that's generally
2412 # correct if we can't link.
2413 cross_compiling=yes
2414 EXEEXT=
2415 else
2416 cat >conftest.$ac_ext <<_ACEOF
2417 /* confdefs.h. */
2418 _ACEOF
2419 cat confdefs.h >>conftest.$ac_ext
2420 cat >>conftest.$ac_ext <<_ACEOF
2421 /* end confdefs.h. */
2424 main ()
2428 return 0;
2430 _ACEOF
2431 ac_clean_files_save=$ac_clean_files
2432 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2433 # Try to create an executable without -o first, disregard a.out.
2434 # It will help us diagnose broken compilers, and finding out an intuition
2435 # of exeext.
2436 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2437 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2438 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2439 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2440 (eval $ac_link_default) 2>&5
2441 ac_status=$?
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; then
2444 # Find the output, starting from the most likely. This scheme is
2445 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2446 # resort.
2448 # Be careful to initialize this variable, since it used to be cached.
2449 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2450 ac_cv_exeext=
2451 # b.out is created by i960 compilers.
2452 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2454 test -f "$ac_file" || continue
2455 case $ac_file in
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2458 conftest.$ac_ext )
2459 # This is the source file.
2461 [ab].out )
2462 # We found the default executable, but exeext='' is most
2463 # certainly right.
2464 break;;
2465 *.* )
2466 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2467 # FIXME: I believe we export ac_cv_exeext for Libtool,
2468 # but it would be cool to find out if it's true. Does anybody
2469 # maintain Libtool? --akim.
2470 export ac_cv_exeext
2471 break;;
2473 break;;
2474 esac
2475 done
2476 else
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484 { (exit 77); exit 77; }; }
2487 ac_exeext=$ac_cv_exeext
2488 echo "$as_me:$LINENO: result: $ac_file" >&5
2489 echo "${ECHO_T}$ac_file" >&6
2491 # Check the compiler produces executables we can run. If not, either
2492 # the compiler is broken, or we cross compile.
2493 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2494 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2495 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2496 # If not cross compiling, check that we can run a simple program.
2497 if test "$cross_compiling" != yes; then
2498 if { ac_try='./$ac_file'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500 (eval $ac_try) 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2528 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6
2531 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2534 (eval $ac_link) 2>&5
2535 ac_status=$?
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; then
2538 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2539 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2540 # work properly (i.e., refer to `conftest.exe'), while it won't with
2541 # `rm'.
2542 for ac_file in conftest.exe conftest conftest.*; do
2543 test -f "$ac_file" || continue
2544 case $ac_file in
2545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2546 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2547 export ac_cv_exeext
2548 break;;
2549 * ) break;;
2550 esac
2551 done
2552 else
2553 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&5
2555 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2556 See \`config.log' for more details." >&2;}
2557 { (exit 1); exit 1; }; }
2560 rm -f conftest$ac_cv_exeext
2561 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2562 echo "${ECHO_T}$ac_cv_exeext" >&6
2564 rm -f conftest.$ac_ext
2565 EXEEXT=$ac_cv_exeext
2566 ac_exeext=$EXEEXT
2568 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2569 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2570 if test "${ac_cv_objext+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 else
2573 cat >conftest.$ac_ext <<_ACEOF
2574 /* confdefs.h. */
2575 _ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2581 main ()
2585 return 0;
2587 _ACEOF
2588 rm -f conftest.o conftest.obj
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; then
2594 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2595 case $ac_file in
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2598 break;;
2599 esac
2600 done
2601 else
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2606 See \`config.log' for more details." >&5
2607 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2608 See \`config.log' for more details." >&2;}
2609 { (exit 1); exit 1; }; }
2612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2614 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2615 echo "${ECHO_T}$ac_cv_objext" >&6
2616 OBJEXT=$ac_cv_objext
2617 ac_objext=$OBJEXT
2618 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2619 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2620 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 else
2623 cat >conftest.$ac_ext <<_ACEOF
2624 /* confdefs.h. */
2625 _ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2631 main ()
2633 #ifndef __GNUC__
2634 choke me
2635 #endif
2638 return 0;
2640 _ACEOF
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2644 ac_status=$?
2645 grep -v '^ *+' conftest.er1 >conftest.err
2646 rm -f conftest.er1
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_c_werror_flag"
2651 || test ! -s conftest.err'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 (eval $ac_try) 2>&5
2654 ac_status=$?
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 (eval $ac_try) 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2663 ac_compiler_gnu=yes
2664 else
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2668 ac_compiler_gnu=no
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2674 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2676 GCC=`test $ac_compiler_gnu = yes && echo yes`
2677 ac_test_CFLAGS=${CFLAGS+set}
2678 ac_save_CFLAGS=$CFLAGS
2679 CFLAGS="-g"
2680 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2681 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2682 if test "${ac_cv_prog_cc_g+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 else
2685 cat >conftest.$ac_ext <<_ACEOF
2686 /* confdefs.h. */
2687 _ACEOF
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2693 main ()
2697 return 0;
2699 _ACEOF
2700 rm -f conftest.$ac_objext
2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2702 (eval $ac_compile) 2>conftest.er1
2703 ac_status=$?
2704 grep -v '^ *+' conftest.er1 >conftest.err
2705 rm -f conftest.er1
2706 cat conftest.err >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } &&
2709 { ac_try='test -z "$ac_c_werror_flag"
2710 || test ! -s conftest.err'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 (eval $ac_try) 2>&5
2713 ac_status=$?
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; } &&
2716 { ac_try='test -s conftest.$ac_objext'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 (eval $ac_try) 2>&5
2719 ac_status=$?
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; }; then
2722 ac_cv_prog_cc_g=yes
2723 else
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2727 ac_cv_prog_cc_g=no
2729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2731 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2732 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2733 if test "$ac_test_CFLAGS" = set; then
2734 CFLAGS=$ac_save_CFLAGS
2735 elif test $ac_cv_prog_cc_g = yes; then
2736 if test "$GCC" = yes; then
2737 CFLAGS="-g -O2"
2738 else
2739 CFLAGS="-g"
2741 else
2742 if test "$GCC" = yes; then
2743 CFLAGS="-O2"
2744 else
2745 CFLAGS=
2748 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2749 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2750 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 else
2753 ac_cv_prog_cc_stdc=no
2754 ac_save_CC=$CC
2755 cat >conftest.$ac_ext <<_ACEOF
2756 /* confdefs.h. */
2757 _ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2761 #include <stdarg.h>
2762 #include <stdio.h>
2763 #include <sys/types.h>
2764 #include <sys/stat.h>
2765 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2766 struct buf { int x; };
2767 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2768 static char *e (p, i)
2769 char **p;
2770 int i;
2772 return p[i];
2774 static char *f (char * (*g) (char **, int), char **p, ...)
2776 char *s;
2777 va_list v;
2778 va_start (v,p);
2779 s = g (p, va_arg (v,int));
2780 va_end (v);
2781 return s;
2784 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2785 function prototypes and stuff, but not '\xHH' hex character constants.
2786 These don't provoke an error unfortunately, instead are silently treated
2787 as 'x'. The following induces an error, until -std1 is added to get
2788 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2789 array size at least. It's necessary to write '\x00'==0 to get something
2790 that's true only with -std1. */
2791 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2793 int test (int i, double x);
2794 struct s1 {int (*f) (int a);};
2795 struct s2 {int (*f) (double a);};
2796 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2797 int argc;
2798 char **argv;
2800 main ()
2802 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2804 return 0;
2806 _ACEOF
2807 # Don't try gcc -ansi; that turns off useful extensions and
2808 # breaks some systems' header files.
2809 # AIX -qlanglvl=ansi
2810 # Ultrix and OSF/1 -std1
2811 # HP-UX 10.20 and later -Ae
2812 # HP-UX older versions -Aa -D_HPUX_SOURCE
2813 # SVR4 -Xc -D__EXTENSIONS__
2814 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2816 CC="$ac_save_CC $ac_arg"
2817 rm -f conftest.$ac_objext
2818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2819 (eval $ac_compile) 2>conftest.er1
2820 ac_status=$?
2821 grep -v '^ *+' conftest.er1 >conftest.err
2822 rm -f conftest.er1
2823 cat conftest.err >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); } &&
2826 { ac_try='test -z "$ac_c_werror_flag"
2827 || test ! -s conftest.err'
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829 (eval $ac_try) 2>&5
2830 ac_status=$?
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; } &&
2833 { ac_try='test -s conftest.$ac_objext'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 (eval $ac_try) 2>&5
2836 ac_status=$?
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; }; then
2839 ac_cv_prog_cc_stdc=$ac_arg
2840 break
2841 else
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2846 rm -f conftest.err conftest.$ac_objext
2847 done
2848 rm -f conftest.$ac_ext conftest.$ac_objext
2849 CC=$ac_save_CC
2853 case "x$ac_cv_prog_cc_stdc" in
2854 x|xno)
2855 echo "$as_me:$LINENO: result: none needed" >&5
2856 echo "${ECHO_T}none needed" >&6 ;;
2858 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2859 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2860 CC="$CC $ac_cv_prog_cc_stdc" ;;
2861 esac
2863 # Some people use a C++ compiler to compile C. Since we use `exit',
2864 # in C++ we need to declare it. In case someone uses the same compiler
2865 # for both compiling C and C++ we need to have the C++ compiler decide
2866 # the declaration of exit, since it's the most demanding environment.
2867 cat >conftest.$ac_ext <<_ACEOF
2868 #ifndef __cplusplus
2869 choke me
2870 #endif
2871 _ACEOF
2872 rm -f conftest.$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2875 ac_status=$?
2876 grep -v '^ *+' conftest.er1 >conftest.err
2877 rm -f conftest.er1
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try='test -z "$ac_c_werror_flag"
2882 || test ! -s conftest.err'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 (eval $ac_try) 2>&5
2885 ac_status=$?
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try='test -s conftest.$ac_objext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890 (eval $ac_try) 2>&5
2891 ac_status=$?
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2894 for ac_declaration in \
2895 '' \
2896 'extern "C" void std::exit (int) throw (); using std::exit;' \
2897 'extern "C" void std::exit (int); using std::exit;' \
2898 'extern "C" void exit (int) throw ();' \
2899 'extern "C" void exit (int);' \
2900 'void exit (int);'
2902 cat >conftest.$ac_ext <<_ACEOF
2903 /* confdefs.h. */
2904 _ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2908 $ac_declaration
2909 #include <stdlib.h>
2911 main ()
2913 exit (42);
2915 return 0;
2917 _ACEOF
2918 rm -f conftest.$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920 (eval $ac_compile) 2>conftest.er1
2921 ac_status=$?
2922 grep -v '^ *+' conftest.er1 >conftest.err
2923 rm -f conftest.er1
2924 cat conftest.err >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try='test -z "$ac_c_werror_flag"
2928 || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930 (eval $ac_try) 2>&5
2931 ac_status=$?
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 (eval $ac_try) 2>&5
2937 ac_status=$?
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2941 else
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2945 continue
2947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2948 cat >conftest.$ac_ext <<_ACEOF
2949 /* confdefs.h. */
2950 _ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2954 $ac_declaration
2956 main ()
2958 exit (42);
2960 return 0;
2962 _ACEOF
2963 rm -f conftest.$ac_objext
2964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2965 (eval $ac_compile) 2>conftest.er1
2966 ac_status=$?
2967 grep -v '^ *+' conftest.er1 >conftest.err
2968 rm -f conftest.er1
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } &&
2972 { ac_try='test -z "$ac_c_werror_flag"
2973 || test ! -s conftest.err'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 (eval $ac_try) 2>&5
2976 ac_status=$?
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; } &&
2979 { ac_try='test -s conftest.$ac_objext'
2980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981 (eval $ac_try) 2>&5
2982 ac_status=$?
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }; }; then
2985 break
2986 else
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2992 done
2993 rm -f conftest*
2994 if test -n "$ac_declaration"; then
2995 echo '#ifdef __cplusplus' >>confdefs.h
2996 echo $ac_declaration >>confdefs.h
2997 echo '#endif' >>confdefs.h
3000 else
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3006 ac_ext=c
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3014 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3015 if test "x$GCC" = "xyes"; then
3016 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3017 ## We like to use C99 routines when available. This makes sure that
3018 ## __STDC_VERSION__ is set such that libc includes make them available.
3019 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3020 ## Compile the following tests with the same system header contents
3021 ## that we'll encounter when compiling our own source files.
3022 CFLAGS="-std=gnu99 $CFLAGS"
3027 # Find other programs we need.
3028 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}as; ac_word=$2
3031 echo "$as_me:$LINENO: checking for $ac_word" >&5
3032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3033 if test "${ac_cv_prog_AS+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 else
3036 if test -n "$AS"; then
3037 ac_cv_prog_AS="$AS" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3042 IFS=$as_save_IFS
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_AS="${ac_tool_prefix}as"
3047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 break 2
3050 done
3051 done
3055 AS=$ac_cv_prog_AS
3056 if test -n "$AS"; then
3057 echo "$as_me:$LINENO: result: $AS" >&5
3058 echo "${ECHO_T}$AS" >&6
3059 else
3060 echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3065 if test -z "$ac_cv_prog_AS"; then
3066 ac_ct_AS=$AS
3067 # Extract the first word of "as", so it can be a program name with args.
3068 set dummy as; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074 if test -n "$ac_ct_AS"; then
3075 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3080 IFS=$as_save_IFS
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_AS="as"
3085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 break 2
3088 done
3089 done
3093 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3094 if test -n "$ac_ct_AS"; then
3095 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3096 echo "${ECHO_T}$ac_ct_AS" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3102 AS=$ac_ct_AS
3103 else
3104 AS="$ac_cv_prog_AS"
3107 if test -n "$ac_tool_prefix"; then
3108 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3109 set dummy ${ac_tool_prefix}ar; ac_word=$2
3110 echo "$as_me:$LINENO: checking for $ac_word" >&5
3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3112 if test "${ac_cv_prog_AR+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 else
3115 if test -n "$AR"; then
3116 ac_cv_prog_AR="$AR" # Let the user override the test.
3117 else
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 for as_dir in $PATH
3121 IFS=$as_save_IFS
3122 test -z "$as_dir" && as_dir=.
3123 for ac_exec_ext in '' $ac_executable_extensions; do
3124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_AR="${ac_tool_prefix}ar"
3126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 break 2
3129 done
3130 done
3134 AR=$ac_cv_prog_AR
3135 if test -n "$AR"; then
3136 echo "$as_me:$LINENO: result: $AR" >&5
3137 echo "${ECHO_T}$AR" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3144 if test -z "$ac_cv_prog_AR"; then
3145 ac_ct_AR=$AR
3146 # Extract the first word of "ar", so it can be a program name with args.
3147 set dummy ar; ac_word=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 else
3153 if test -n "$ac_ct_AR"; then
3154 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3155 else
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3159 IFS=$as_save_IFS
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_ac_ct_AR="ar"
3164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 break 2
3167 done
3168 done
3172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3173 if test -n "$ac_ct_AR"; then
3174 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3175 echo "${ECHO_T}$ac_ct_AR" >&6
3176 else
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3181 AR=$ac_ct_AR
3182 else
3183 AR="$ac_cv_prog_AR"
3186 if test -n "$ac_tool_prefix"; then
3187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_RANLIB+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3193 else
3194 if test -n "$RANLIB"; then
3195 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3200 IFS=$as_save_IFS
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 break 2
3208 done
3209 done
3213 RANLIB=$ac_cv_prog_RANLIB
3214 if test -n "$RANLIB"; then
3215 echo "$as_me:$LINENO: result: $RANLIB" >&5
3216 echo "${ECHO_T}$RANLIB" >&6
3217 else
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3223 if test -z "$ac_cv_prog_RANLIB"; then
3224 ac_ct_RANLIB=$RANLIB
3225 # Extract the first word of "ranlib", so it can be a program name with args.
3226 set dummy ranlib; ac_word=$2
3227 echo "$as_me:$LINENO: checking for $ac_word" >&5
3228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 else
3232 if test -n "$ac_ct_RANLIB"; then
3233 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3234 else
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 for as_dir in $PATH
3238 IFS=$as_save_IFS
3239 test -z "$as_dir" && as_dir=.
3240 for ac_exec_ext in '' $ac_executable_extensions; do
3241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242 ac_cv_prog_ac_ct_RANLIB="ranlib"
3243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 break 2
3246 done
3247 done
3249 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3252 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3253 if test -n "$ac_ct_RANLIB"; then
3254 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3255 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3256 else
3257 echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3261 RANLIB=$ac_ct_RANLIB
3262 else
3263 RANLIB="$ac_cv_prog_RANLIB"
3266 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3267 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3268 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3269 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 else
3272 cat >conftest.make <<\_ACEOF
3273 all:
3274 @echo 'ac_maketemp="$(MAKE)"'
3275 _ACEOF
3276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3277 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3278 if test -n "$ac_maketemp"; then
3279 eval ac_cv_prog_make_${ac_make}_set=yes
3280 else
3281 eval ac_cv_prog_make_${ac_make}_set=no
3283 rm -f conftest.make
3285 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3286 echo "$as_me:$LINENO: result: yes" >&5
3287 echo "${ECHO_T}yes" >&6
3288 SET_MAKE=
3289 else
3290 echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6
3292 SET_MAKE="MAKE=${MAKE-make}"
3295 # Find a good install program. We prefer a C program (faster),
3296 # so one script is as good as another. But avoid the broken or
3297 # incompatible versions:
3298 # SysV /etc/install, /usr/sbin/install
3299 # SunOS /usr/etc/install
3300 # IRIX /sbin/install
3301 # AIX /bin/install
3302 # AmigaOS /C/install, which installs bootblocks on floppy discs
3303 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3306 # OS/2's system install, which has a completely different semantic
3307 # ./install, which can be erroneously created by make from ./install.sh.
3308 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3309 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3310 if test -z "$INSTALL"; then
3311 if test "${ac_cv_path_install+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 else
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 for as_dir in $PATH
3317 IFS=$as_save_IFS
3318 test -z "$as_dir" && as_dir=.
3319 # Account for people who put trailing slashes in PATH elements.
3320 case $as_dir/ in
3321 ./ | .// | /cC/* | \
3322 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3323 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3324 /usr/ucb/* ) ;;
3326 # OSF1 and SCO ODT 3.0 have their own names for install.
3327 # Don't use installbsd from OSF since it installs stuff as root
3328 # by default.
3329 for ac_prog in ginstall scoinst install; do
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3332 if test $ac_prog = install &&
3333 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3334 # AIX install. It has an incompatible calling convention.
3336 elif test $ac_prog = install &&
3337 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3338 # program-specific install script used by HP pwplus--don't use.
3340 else
3341 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3342 break 3
3345 done
3346 done
3348 esac
3349 done
3353 if test "${ac_cv_path_install+set}" = set; then
3354 INSTALL=$ac_cv_path_install
3355 else
3356 # As a last resort, use the slow shell script. We don't cache a
3357 # path for INSTALL within a source directory, because that will
3358 # break other packages using the cache if that directory is
3359 # removed, or if the path is relative.
3360 INSTALL=$ac_install_sh
3363 echo "$as_me:$LINENO: result: $INSTALL" >&5
3364 echo "${ECHO_T}$INSTALL" >&6
3366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3367 # It thinks the first close brace ends the variable substitution.
3368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3372 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3375 # Configure libtool
3376 #AC_MSG_NOTICE([====== Starting libtool configuration])
3378 # Check whether --enable-shared or --disable-shared was given.
3379 if test "${enable_shared+set}" = set; then
3380 enableval="$enable_shared"
3381 p=${PACKAGE-default}
3382 case $enableval in
3383 yes) enable_shared=yes ;;
3384 no) enable_shared=no ;;
3386 enable_shared=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_shared=yes
3393 done
3394 IFS="$ac_save_ifs"
3396 esac
3397 else
3398 enable_shared=yes
3400 # Check whether --enable-static or --disable-static was given.
3401 if test "${enable_static+set}" = set; then
3402 enableval="$enable_static"
3403 p=${PACKAGE-default}
3404 case $enableval in
3405 yes) enable_static=yes ;;
3406 no) enable_static=no ;;
3408 enable_static=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_static=yes
3415 done
3416 IFS="$ac_save_ifs"
3418 esac
3419 else
3420 enable_static=yes
3422 # Check whether --enable-fast-install or --disable-fast-install was given.
3423 if test "${enable_fast_install+set}" = set; then
3424 enableval="$enable_fast_install"
3425 p=${PACKAGE-default}
3426 case $enableval in
3427 yes) enable_fast_install=yes ;;
3428 no) enable_fast_install=no ;;
3430 enable_fast_install=no
3431 # Look at the argument we got. We use all the common list separators.
3432 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3433 for pkg in $enableval; do
3434 if test "X$pkg" = "X$p"; then
3435 enable_fast_install=yes
3437 done
3438 IFS="$ac_save_ifs"
3440 esac
3441 else
3442 enable_fast_install=yes
3445 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3446 if test "${with_gnu_ld+set}" = set; then
3447 withval="$with_gnu_ld"
3448 test "$withval" = no || with_gnu_ld=yes
3449 else
3450 with_gnu_ld=no
3452 ac_prog=ld
3453 if test "$GCC" = yes; then
3454 # Check if gcc -print-prog-name=ld gives a path.
3455 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3456 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3457 case $host in
3458 *-*-mingw*)
3459 # gcc leaves a trailing carriage return which upsets mingw
3460 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3462 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3463 esac
3464 case $ac_prog in
3465 # Accept absolute paths.
3466 [\\/]* | [A-Za-z]:[\\/]*)
3467 re_direlt='/[^/][^/]*/\.\./'
3468 # Canonicalize the path of ld
3469 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3470 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3471 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3472 done
3473 test -z "$LD" && LD="$ac_prog"
3476 # If it fails, then pretend we aren't using GCC.
3477 ac_prog=ld
3480 # If it is relative, then search for the first ld in PATH.
3481 with_gnu_ld=unknown
3483 esac
3484 elif test "$with_gnu_ld" = yes; then
3485 echo "$as_me:$LINENO: checking for GNU ld" >&5
3486 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3487 else
3488 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3489 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3491 if test "${lt_cv_path_LD+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 else
3494 if test -z "$LD"; then
3495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3496 for ac_dir in $PATH; do
3497 test -z "$ac_dir" && ac_dir=.
3498 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3499 lt_cv_path_LD="$ac_dir/$ac_prog"
3500 # Check to see if the program is GNU ld. I'd rather use --version,
3501 # but apparently some GNU ld's only accept -v.
3502 # Break only if it was the GNU/non-GNU ld that we prefer.
3503 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3504 test "$with_gnu_ld" != no && break
3505 else
3506 test "$with_gnu_ld" != yes && break
3509 done
3510 IFS="$ac_save_ifs"
3511 else
3512 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3516 LD="$lt_cv_path_LD"
3517 if test -n "$LD"; then
3518 echo "$as_me:$LINENO: result: $LD" >&5
3519 echo "${ECHO_T}$LD" >&6
3520 else
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3524 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3525 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3526 { (exit 1); exit 1; }; }
3527 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3528 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3529 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 else
3532 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3533 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3534 lt_cv_prog_gnu_ld=yes
3535 else
3536 lt_cv_prog_gnu_ld=no
3539 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3540 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3541 with_gnu_ld=$lt_cv_prog_gnu_ld
3544 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3545 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3546 if test "${lt_cv_ld_reload_flag+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 else
3549 lt_cv_ld_reload_flag='-r'
3551 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3552 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3553 reload_flag=$lt_cv_ld_reload_flag
3554 test -n "$reload_flag" && reload_flag=" $reload_flag"
3556 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3557 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3558 if test "${lt_cv_path_NM+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 else
3561 if test -n "$NM"; then
3562 # Let the user override the test.
3563 lt_cv_path_NM="$NM"
3564 else
3565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3566 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3567 test -z "$ac_dir" && ac_dir=.
3568 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3569 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3570 # Check to see if the nm accepts a BSD-compat flag.
3571 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3572 # nm: unknown option "B" ignored
3573 # Tru64's nm complains that /dev/null is an invalid object file
3574 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3575 lt_cv_path_NM="$tmp_nm -B"
3576 break
3577 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3578 lt_cv_path_NM="$tmp_nm -p"
3579 break
3580 else
3581 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3582 continue # so that we can try to find one that supports BSD flags
3585 done
3586 IFS="$ac_save_ifs"
3587 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3591 NM="$lt_cv_path_NM"
3592 echo "$as_me:$LINENO: result: $NM" >&5
3593 echo "${ECHO_T}$NM" >&6
3595 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3597 LN_S=$as_ln_s
3598 if test "$LN_S" = "ln -s"; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 else
3602 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3603 echo "${ECHO_T}no, using $LN_S" >&6
3606 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3607 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3608 if test "${lt_cv_deplibs_check_method+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 else
3611 lt_cv_file_magic_cmd='$MAGIC_CMD'
3612 lt_cv_file_magic_test_file=
3613 lt_cv_deplibs_check_method='unknown'
3614 # Need to set the preceding variable on all platforms that support
3615 # interlibrary dependencies.
3616 # 'none' -- dependencies not supported.
3617 # `unknown' -- same as none, but documents that we really don't know.
3618 # 'pass_all' -- all dependencies passed with no checks.
3619 # 'test_compile' -- check by making test program.
3620 # 'file_magic [regex]' -- check by looking for files in library path
3621 # which responds to the $file_magic_cmd with a given egrep regex.
3622 # If you have `file' or equivalent on your system and you're not sure
3623 # whether `pass_all' will *always* work, you probably want this one.
3625 case $host_os in
3626 aix*)
3627 lt_cv_deplibs_check_method=pass_all
3630 beos*)
3631 lt_cv_deplibs_check_method=pass_all
3634 bsdi4*)
3635 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3636 lt_cv_file_magic_cmd='/usr/bin/file -L'
3637 lt_cv_file_magic_test_file=/shlib/libc.so
3640 cygwin* | mingw* |pw32*)
3641 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3642 lt_cv_file_magic_cmd='$OBJDUMP -f'
3645 darwin* | rhapsody*)
3646 # this will be overwritten by pass_all, but leave it in just in case
3647 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3648 lt_cv_file_magic_cmd='/usr/bin/file -L'
3649 case "$host_os" in
3650 rhapsody* | darwin1.012)
3651 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3653 *) # Darwin 1.3 on
3654 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3656 esac
3657 lt_cv_deplibs_check_method=pass_all
3660 freebsd* | kfreebsd*-gnu)
3661 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3662 case $host_cpu in
3663 i*86 )
3664 # Not sure whether the presence of OpenBSD here was a mistake.
3665 # Let's accept both of them until this is cleared up.
3666 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3667 lt_cv_file_magic_cmd=/usr/bin/file
3668 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3670 esac
3671 else
3672 lt_cv_deplibs_check_method=pass_all
3676 gnu*)
3677 lt_cv_deplibs_check_method=pass_all
3680 hpux10.20*|hpux11*)
3681 case $host_cpu in
3682 hppa*)
3683 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3684 lt_cv_file_magic_cmd=/usr/bin/file
3685 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3687 ia64*)
3688 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3689 lt_cv_file_magic_cmd=/usr/bin/file
3690 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3692 esac
3695 irix5* | irix6*)
3696 case $host_os in
3697 irix5*)
3698 # this will be overridden with pass_all, but let us keep it just in case
3699 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3702 case $LD in
3703 *-32|*"-32 ") libmagic=32-bit;;
3704 *-n32|*"-n32 ") libmagic=N32;;
3705 *-64|*"-64 ") libmagic=64-bit;;
3706 *) libmagic=never-match;;
3707 esac
3708 # this will be overridden with pass_all, but let us keep it just in case
3709 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3711 esac
3712 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3713 lt_cv_deplibs_check_method=pass_all
3716 # This must be Linux ELF.
3717 linux-gnu*)
3718 lt_cv_deplibs_check_method=pass_all
3721 netbsd* | knetbsd*-gnu)
3722 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3723 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3724 else
3725 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3729 newsos6)
3730 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3731 lt_cv_file_magic_cmd=/usr/bin/file
3732 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3735 osf3* | osf4* | osf5*)
3736 # this will be overridden with pass_all, but let us keep it just in case
3737 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3738 lt_cv_file_magic_test_file=/shlib/libc.so
3739 lt_cv_deplibs_check_method=pass_all
3742 sco3.2v5*)
3743 lt_cv_deplibs_check_method=pass_all
3746 solaris*)
3747 lt_cv_deplibs_check_method=pass_all
3748 lt_cv_file_magic_test_file=/lib/libc.so
3751 sysv5uw[78]* | sysv4*uw2*)
3752 lt_cv_deplibs_check_method=pass_all
3755 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3756 case $host_vendor in
3757 ncr)
3758 lt_cv_deplibs_check_method=pass_all
3760 motorola)
3761 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]'
3762 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3764 esac
3766 esac
3769 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3770 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3771 file_magic_cmd=$lt_cv_file_magic_cmd
3772 deplibs_check_method=$lt_cv_deplibs_check_method
3778 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3780 # find the maximum length of command line arguments
3781 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3782 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3783 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 else
3787 teststring="ABCD"
3789 case $build_os in
3790 msdosdjgpp*)
3791 # On DJGPP, this test can blow up pretty badly due to problems in libc
3792 # (any single argument exceeding 2000 bytes causes a buffer overrun
3793 # during glob expansion). Even if it were fixed, the result of this
3794 # check would be larger than it should be.
3795 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3798 cygwin* | mingw*)
3799 # On Win9x/ME, this test blows up -- it succeeds, but takes
3800 # about 5 minutes as the teststring grows exponentially.
3801 # Worse, since 9x/ME are not pre-emptively multitasking,
3802 # you end up with a "frozen" computer, even though with patience
3803 # the test eventually succeeds (with a max line length of 256k).
3804 # Instead, let's just punt: use the minimum linelength reported by
3805 # all of the supported platforms: 8192 (on NT/2K/XP).
3806 lt_cv_sys_max_cmd_len=8192;
3809 amigaos*)
3810 # On AmigaOS with pdksh, this test takes hours, literally.
3811 # So we just punt and use a minimum line length of 8192.
3812 lt_cv_sys_max_cmd_len=8192;
3815 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3816 # This has been around since 386BSD, at least. Likely further.
3817 if test -x /sbin/sysctl; then
3818 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3819 elif test -x /usr/sbin/sysctl; then
3820 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3821 else
3822 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3824 # And add a safety zone
3825 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3826 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3828 esac
3832 if test -n "$lt_cv_sys_max_cmd_len" ; then
3833 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3834 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3835 else
3836 echo "$as_me:$LINENO: result: none" >&5
3837 echo "${ECHO_T}none" >&6
3841 # Only perform the check for file, if the check method requires it
3842 case $deplibs_check_method in
3843 file_magic*)
3844 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3845 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3846 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3847 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 else
3850 case $MAGIC_CMD in
3852 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3854 ?:/*)
3855 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3858 ac_save_MAGIC_CMD="$MAGIC_CMD"
3859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3860 ac_dummy="/usr/bin:$PATH"
3861 for ac_dir in $ac_dummy; do
3862 test -z "$ac_dir" && ac_dir=.
3863 if test -f $ac_dir/${ac_tool_prefix}file; then
3864 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3865 if test -n "$file_magic_test_file"; then
3866 case $deplibs_check_method in
3867 "file_magic "*)
3868 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3869 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3870 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3871 egrep "$file_magic_regex" > /dev/null; then
3873 else
3874 cat <<EOF 1>&2
3876 *** Warning: the command libtool uses to detect shared libraries,
3877 *** $file_magic_cmd, produces output that libtool cannot recognize.
3878 *** The result is that libtool may fail to recognize shared libraries
3879 *** as such. This will affect the creation of libtool libraries that
3880 *** depend on shared libraries, but programs linked with such libtool
3881 *** libraries will work regardless of this problem. Nevertheless, you
3882 *** may want to report the problem to your system manager and/or to
3883 *** bug-libtool@gnu.org
3886 fi ;;
3887 esac
3889 break
3891 done
3892 IFS="$ac_save_ifs"
3893 MAGIC_CMD="$ac_save_MAGIC_CMD"
3895 esac
3898 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3899 if test -n "$MAGIC_CMD"; then
3900 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3901 echo "${ECHO_T}$MAGIC_CMD" >&6
3902 else
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3907 if test -z "$lt_cv_path_MAGIC_CMD"; then
3908 if test -n "$ac_tool_prefix"; then
3909 echo "$as_me:$LINENO: checking for file" >&5
3910 echo $ECHO_N "checking for file... $ECHO_C" >&6
3911 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 else
3914 case $MAGIC_CMD in
3916 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3918 ?:/*)
3919 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3922 ac_save_MAGIC_CMD="$MAGIC_CMD"
3923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3924 ac_dummy="/usr/bin:$PATH"
3925 for ac_dir in $ac_dummy; do
3926 test -z "$ac_dir" && ac_dir=.
3927 if test -f $ac_dir/file; then
3928 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3929 if test -n "$file_magic_test_file"; then
3930 case $deplibs_check_method in
3931 "file_magic "*)
3932 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3933 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3934 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3935 egrep "$file_magic_regex" > /dev/null; then
3937 else
3938 cat <<EOF 1>&2
3940 *** Warning: the command libtool uses to detect shared libraries,
3941 *** $file_magic_cmd, produces output that libtool cannot recognize.
3942 *** The result is that libtool may fail to recognize shared libraries
3943 *** as such. This will affect the creation of libtool libraries that
3944 *** depend on shared libraries, but programs linked with such libtool
3945 *** libraries will work regardless of this problem. Nevertheless, you
3946 *** may want to report the problem to your system manager and/or to
3947 *** bug-libtool@gnu.org
3950 fi ;;
3951 esac
3953 break
3955 done
3956 IFS="$ac_save_ifs"
3957 MAGIC_CMD="$ac_save_MAGIC_CMD"
3959 esac
3962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3963 if test -n "$MAGIC_CMD"; then
3964 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3965 echo "${ECHO_T}$MAGIC_CMD" >&6
3966 else
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3971 else
3972 MAGIC_CMD=:
3978 esac
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3983 echo "$as_me:$LINENO: checking for $ac_word" >&5
3984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3985 if test "${ac_cv_prog_RANLIB+set}" = set; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 else
3988 if test -n "$RANLIB"; then
3989 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3994 IFS=$as_save_IFS
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4002 done
4003 done
4007 RANLIB=$ac_cv_prog_RANLIB
4008 if test -n "$RANLIB"; then
4009 echo "$as_me:$LINENO: result: $RANLIB" >&5
4010 echo "${ECHO_T}$RANLIB" >&6
4011 else
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4017 if test -z "$ac_cv_prog_RANLIB"; then
4018 ac_ct_RANLIB=$RANLIB
4019 # Extract the first word of "ranlib", so it can be a program name with args.
4020 set dummy ranlib; ac_word=$2
4021 echo "$as_me:$LINENO: checking for $ac_word" >&5
4022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4023 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 else
4026 if test -n "$ac_ct_RANLIB"; then
4027 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4028 else
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 for as_dir in $PATH
4032 IFS=$as_save_IFS
4033 test -z "$as_dir" && as_dir=.
4034 for ac_exec_ext in '' $ac_executable_extensions; do
4035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4036 ac_cv_prog_ac_ct_RANLIB="ranlib"
4037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 break 2
4040 done
4041 done
4043 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4046 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4047 if test -n "$ac_ct_RANLIB"; then
4048 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4049 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4050 else
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4055 RANLIB=$ac_ct_RANLIB
4056 else
4057 RANLIB="$ac_cv_prog_RANLIB"
4060 if test -n "$ac_tool_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4062 set dummy ${ac_tool_prefix}strip; ac_word=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_STRIP+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 else
4068 if test -n "$STRIP"; then
4069 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4074 IFS=$as_save_IFS
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 break 2
4082 done
4083 done
4087 STRIP=$ac_cv_prog_STRIP
4088 if test -n "$STRIP"; then
4089 echo "$as_me:$LINENO: result: $STRIP" >&5
4090 echo "${ECHO_T}$STRIP" >&6
4091 else
4092 echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6
4097 if test -z "$ac_cv_prog_STRIP"; then
4098 ac_ct_STRIP=$STRIP
4099 # Extract the first word of "strip", so it can be a program name with args.
4100 set dummy strip; ac_word=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 else
4106 if test -n "$ac_ct_STRIP"; then
4107 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4108 else
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 for as_dir in $PATH
4112 IFS=$as_save_IFS
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_ac_ct_STRIP="strip"
4117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 break 2
4120 done
4121 done
4123 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4127 if test -n "$ac_ct_STRIP"; then
4128 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4129 echo "${ECHO_T}$ac_ct_STRIP" >&6
4130 else
4131 echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4135 STRIP=$ac_ct_STRIP
4136 else
4137 STRIP="$ac_cv_prog_STRIP"
4141 # Check for any special flags to pass to ltconfig.
4142 libtool_flags="--cache-file=$cache_file"
4143 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4144 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4145 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4146 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4147 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4150 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4151 if test "${enable_libtool_lock+set}" = set; then
4152 enableval="$enable_libtool_lock"
4155 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4156 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4159 # Check whether --with-pic or --without-pic was given.
4160 if test "${with_pic+set}" = set; then
4161 withval="$with_pic"
4162 pic_mode="$withval"
4163 else
4164 pic_mode=default
4166 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4167 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4169 # Some flags need to be propagated to the compiler or linker for good
4170 # libtool support.
4171 case $host in
4172 *-*-irix6*)
4173 # Find out which ABI we are using.
4174 echo '#line 4174 "configure"' > conftest.$ac_ext
4175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176 (eval $ac_compile) 2>&5
4177 ac_status=$?
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; then
4180 if test "$lt_cv_prog_gnu_ld" = yes; then
4181 case `/usr/bin/file conftest.$ac_objext` in
4182 *32-bit*)
4183 LD="${LD-ld} -melf32bsmip"
4185 *N32*)
4186 LD="${LD-ld} -melf32bmipn32"
4188 *64-bit*)
4189 LD="${LD-ld} -melf64bmip"
4191 esac
4192 else
4193 case `/usr/bin/file conftest.$ac_objext` in
4194 *32-bit*)
4195 LD="${LD-ld} -32"
4197 *N32*)
4198 LD="${LD-ld} -n32"
4200 *64-bit*)
4201 LD="${LD-ld} -64"
4203 esac
4206 rm -rf conftest*
4209 ia64-*-hpux*)
4210 # Find out which ABI we are using.
4211 echo 'int i;' > conftest.$ac_ext
4212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4213 (eval $ac_compile) 2>&5
4214 ac_status=$?
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; then
4217 case "`/usr/bin/file conftest.o`" in
4218 *ELF-32*)
4219 HPUX_IA64_MODE="32"
4221 *ELF-64*)
4222 HPUX_IA64_MODE="64"
4224 esac
4226 rm -rf conftest*
4229 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4230 # Find out which ABI we are using.
4231 echo 'int i;' > conftest.$ac_ext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233 (eval $ac_compile) 2>&5
4234 ac_status=$?
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; then
4237 case "`/usr/bin/file conftest.o`" in
4238 *32-bit*)
4239 case $host in
4240 x86_64-*linux*)
4241 LD="${LD-ld} -m elf_i386"
4243 ppc64-*linux*|powerpc64-*linux*)
4244 LD="${LD-ld} -m elf32ppclinux"
4246 s390x-*linux*)
4247 LD="${LD-ld} -m elf_s390"
4249 sparc64-*linux*)
4250 LD="${LD-ld} -m elf32_sparc"
4252 esac
4254 *64-bit*)
4255 case $host in
4256 x86_64-*linux*)
4257 LD="${LD-ld} -m elf_x86_64"
4259 ppc*-*linux*|powerpc*-*linux*)
4260 LD="${LD-ld} -m elf64ppc"
4262 s390*-*linux*)
4263 LD="${LD-ld} -m elf64_s390"
4265 sparc*-*linux*)
4266 LD="${LD-ld} -m elf64_sparc"
4268 esac
4270 esac
4272 rm -rf conftest*
4275 *-*-sco3.2v5*)
4276 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4277 SAVE_CFLAGS="$CFLAGS"
4278 CFLAGS="$CFLAGS -belf"
4279 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4280 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4281 if test "${lt_cv_cc_needs_belf+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 else
4286 ac_ext=c
4287 ac_cpp='$CPP $CPPFLAGS'
4288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4292 if test x$gcc_no_link = xyes; then
4293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4295 { (exit 1); exit 1; }; }
4297 cat >conftest.$ac_ext <<_ACEOF
4298 /* confdefs.h. */
4299 _ACEOF
4300 cat confdefs.h >>conftest.$ac_ext
4301 cat >>conftest.$ac_ext <<_ACEOF
4302 /* end confdefs.h. */
4305 main ()
4309 return 0;
4311 _ACEOF
4312 rm -f conftest.$ac_objext conftest$ac_exeext
4313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4314 (eval $ac_link) 2>conftest.er1
4315 ac_status=$?
4316 grep -v '^ *+' conftest.er1 >conftest.err
4317 rm -f conftest.er1
4318 cat conftest.err >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); } &&
4321 { ac_try='test -z "$ac_c_werror_flag"
4322 || test ! -s conftest.err'
4323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4324 (eval $ac_try) 2>&5
4325 ac_status=$?
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); }; } &&
4328 { ac_try='test -s conftest$ac_exeext'
4329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 (eval $ac_try) 2>&5
4331 ac_status=$?
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; }; then
4334 lt_cv_cc_needs_belf=yes
4335 else
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.$ac_ext >&5
4339 lt_cv_cc_needs_belf=no
4341 rm -f conftest.err conftest.$ac_objext \
4342 conftest$ac_exeext conftest.$ac_ext
4343 ac_ext=c
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4350 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4351 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4352 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4353 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4354 CFLAGS="$SAVE_CFLAGS"
4359 esac
4362 # Save cache, so that ltconfig can load it
4363 cat >confcache <<\_ACEOF
4364 # This file is a shell script that caches the results of configure
4365 # tests run on this system so they can be shared between configure
4366 # scripts and configure runs, see configure's option --config-cache.
4367 # It is not useful on other systems. If it contains results you don't
4368 # want to keep, you may remove or edit it.
4370 # config.status only pays attention to the cache file if you give it
4371 # the --recheck option to rerun configure.
4373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4375 # following values.
4377 _ACEOF
4379 # The following way of writing the cache mishandles newlines in values,
4380 # but we know of no workaround that is simple, portable, and efficient.
4381 # So, don't put newlines in cache variables' values.
4382 # Ultrix sh set writes to stderr and can't be redirected directly,
4383 # and sets the high bit in the cache file unless we assign to the vars.
4385 (set) 2>&1 |
4386 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4387 *ac_space=\ *)
4388 # `set' does not quote correctly, so add quotes (double-quote
4389 # substitution turns \\\\ into \\, and sed turns \\ into \).
4390 sed -n \
4391 "s/'/'\\\\''/g;
4392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4395 # `set' quotes correctly as required by POSIX, so do not add quotes.
4396 sed -n \
4397 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4399 esac;
4401 sed '
4402 t clear
4403 : clear
4404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4405 t end
4406 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4407 : end' >>confcache
4408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4409 if test -w $cache_file; then
4410 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4411 cat confcache >$cache_file
4412 else
4413 echo "not updating unwritable cache $cache_file"
4416 rm -f confcache
4418 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4419 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4420 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4421 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4422 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4423 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4424 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4425 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4426 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4427 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4428 echo "$as_me: error: libtool configure failed" >&2;}
4429 { (exit 1); exit 1; }; }
4431 # Reload cache, that may have been modified by ltconfig
4432 if test -r "$cache_file"; then
4433 # Some versions of bash will fail to source /dev/null (special
4434 # files actually), so we avoid doing that.
4435 if test -f "$cache_file"; then
4436 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4437 echo "$as_me: loading cache $cache_file" >&6;}
4438 case $cache_file in
4439 [\\/]* | ?:[\\/]* ) . $cache_file;;
4440 *) . ./$cache_file;;
4441 esac
4443 else
4444 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4445 echo "$as_me: creating cache $cache_file" >&6;}
4446 >$cache_file
4450 # This can be used to rebuild libtool when needed
4451 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4453 # Always use our own libtool.
4454 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4456 # Redirect the config.log output again, so that the ltconfig log is not
4457 # clobbered by the next message.
4458 exec 5>>./config.log
4467 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4469 # We need gfortran to compile parts of the library
4470 #AC_PROG_FC(gfortran)
4471 FC="$GFORTRAN"
4472 ac_ext=${FC_SRCEXT-f}
4473 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4474 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4475 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4476 if test -n "$ac_tool_prefix"; then
4477 for ac_prog in gfortran
4479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4483 if test "${ac_cv_prog_FC+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 else
4486 if test -n "$FC"; then
4487 ac_cv_prog_FC="$FC" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4500 done
4501 done
4505 FC=$ac_cv_prog_FC
4506 if test -n "$FC"; then
4507 echo "$as_me:$LINENO: result: $FC" >&5
4508 echo "${ECHO_T}$FC" >&6
4509 else
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4514 test -n "$FC" && break
4515 done
4517 if test -z "$FC"; then
4518 ac_ct_FC=$FC
4519 for ac_prog in gfortran
4521 # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 else
4528 if test -n "$ac_ct_FC"; then
4529 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4534 IFS=$as_save_IFS
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_ac_ct_FC="$ac_prog"
4539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 break 2
4542 done
4543 done
4547 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4548 if test -n "$ac_ct_FC"; then
4549 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4550 echo "${ECHO_T}$ac_ct_FC" >&6
4551 else
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4556 test -n "$ac_ct_FC" && break
4557 done
4559 FC=$ac_ct_FC
4563 # Provide some information about the compiler.
4564 echo "$as_me:4564:" \
4565 "checking for Fortran compiler version" >&5
4566 ac_compiler=`set X $ac_compile; echo $2`
4567 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4568 (eval $ac_compiler --version </dev/null >&5) 2>&5
4569 ac_status=$?
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); }
4572 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4573 (eval $ac_compiler -v </dev/null >&5) 2>&5
4574 ac_status=$?
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }
4577 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4578 (eval $ac_compiler -V </dev/null >&5) 2>&5
4579 ac_status=$?
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }
4582 rm -f a.out
4584 # If we don't use `.F' as extension, the preprocessor is not run on the
4585 # input file. (Note that this only needs to work for GNU compilers.)
4586 ac_save_ext=$ac_ext
4587 ac_ext=F
4588 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4589 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4590 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593 cat >conftest.$ac_ext <<_ACEOF
4594 program main
4595 #ifndef __GNUC__
4596 choke me
4597 #endif
4600 _ACEOF
4601 rm -f conftest.$ac_objext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603 (eval $ac_compile) 2>conftest.er1
4604 ac_status=$?
4605 grep -v '^ *+' conftest.er1 >conftest.err
4606 rm -f conftest.er1
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } &&
4610 { ac_try='test -z "$ac_fc_werror_flag"
4611 || test ! -s conftest.err'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613 (eval $ac_try) 2>&5
4614 ac_status=$?
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; } &&
4617 { ac_try='test -s conftest.$ac_objext'
4618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 (eval $ac_try) 2>&5
4620 ac_status=$?
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); }; }; then
4623 ac_compiler_gnu=yes
4624 else
4625 echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4628 ac_compiler_gnu=no
4630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4634 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4635 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4636 ac_ext=$ac_save_ext
4637 ac_test_FFLAGS=${FCFLAGS+set}
4638 ac_save_FFLAGS=$FCFLAGS
4639 FCFLAGS=
4640 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4641 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4642 if test "${ac_cv_prog_fc_g+set}" = set; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 else
4645 FCFLAGS=-g
4646 cat >conftest.$ac_ext <<_ACEOF
4647 program main
4650 _ACEOF
4651 rm -f conftest.$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4654 ac_status=$?
4655 grep -v '^ *+' conftest.er1 >conftest.err
4656 rm -f conftest.er1
4657 cat conftest.err >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try='test -z "$ac_fc_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663 (eval $ac_try) 2>&5
4664 ac_status=$?
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 (eval $ac_try) 2>&5
4670 ac_status=$?
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4673 ac_cv_prog_fc_g=yes
4674 else
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4678 ac_cv_prog_fc_g=no
4680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4684 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4685 if test "$ac_test_FFLAGS" = set; then
4686 FCFLAGS=$ac_save_FFLAGS
4687 elif test $ac_cv_prog_fc_g = yes; then
4688 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4689 FCFLAGS="-g -O2"
4690 else
4691 FCFLAGS="-g"
4693 else
4694 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4695 FCFLAGS="-O2"
4696 else
4697 FCFLAGS=
4701 ac_ext=c
4702 ac_cpp='$CPP $CPPFLAGS'
4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4708 # extra LD Flags which are required for targets
4709 case "${host}" in
4710 *-darwin*)
4711 # Darwin needs -single_module when linking libgfortran
4712 extra_ldflags_libgfortran=-Wl,-single_module
4714 esac
4717 # Check whether --enable-largefile or --disable-largefile was given.
4718 if test "${enable_largefile+set}" = set; then
4719 enableval="$enable_largefile"
4722 if test "$enable_largefile" != no; then
4724 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4725 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4726 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 else
4729 ac_cv_sys_largefile_CC=no
4730 if test "$GCC" != yes; then
4731 ac_save_CC=$CC
4732 while :; do
4733 # IRIX 6.2 and later do not support large files by default,
4734 # so use the C compiler's -n32 option if that helps.
4735 cat >conftest.$ac_ext <<_ACEOF
4736 /* confdefs.h. */
4737 _ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4741 #include <sys/types.h>
4742 /* Check that off_t can represent 2**63 - 1 correctly.
4743 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4744 since some C++ compilers masquerading as C compilers
4745 incorrectly reject 9223372036854775807. */
4746 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4747 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4748 && LARGE_OFF_T % 2147483647 == 1)
4749 ? 1 : -1];
4751 main ()
4755 return 0;
4757 _ACEOF
4758 rm -f conftest.$ac_objext
4759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760 (eval $ac_compile) 2>conftest.er1
4761 ac_status=$?
4762 grep -v '^ *+' conftest.er1 >conftest.err
4763 rm -f conftest.er1
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } &&
4767 { ac_try='test -z "$ac_c_werror_flag"
4768 || test ! -s conftest.err'
4769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 (eval $ac_try) 2>&5
4771 ac_status=$?
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); }; } &&
4774 { ac_try='test -s conftest.$ac_objext'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776 (eval $ac_try) 2>&5
4777 ac_status=$?
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4780 break
4781 else
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4786 rm -f conftest.err conftest.$ac_objext
4787 CC="$CC -n32"
4788 rm -f conftest.$ac_objext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>conftest.er1
4791 ac_status=$?
4792 grep -v '^ *+' conftest.er1 >conftest.err
4793 rm -f conftest.er1
4794 cat conftest.err >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } &&
4797 { ac_try='test -z "$ac_c_werror_flag"
4798 || test ! -s conftest.err'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 (eval $ac_try) 2>&5
4801 ac_status=$?
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; } &&
4804 { ac_try='test -s conftest.$ac_objext'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 (eval $ac_try) 2>&5
4807 ac_status=$?
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; }; then
4810 ac_cv_sys_largefile_CC=' -n32'; break
4811 else
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4816 rm -f conftest.err conftest.$ac_objext
4817 break
4818 done
4819 CC=$ac_save_CC
4820 rm -f conftest.$ac_ext
4823 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4824 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4825 if test "$ac_cv_sys_largefile_CC" != no; then
4826 CC=$CC$ac_cv_sys_largefile_CC
4829 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4830 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4831 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 else
4834 while :; do
4835 ac_cv_sys_file_offset_bits=no
4836 cat >conftest.$ac_ext <<_ACEOF
4837 /* confdefs.h. */
4838 _ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <sys/types.h>
4843 /* Check that off_t can represent 2**63 - 1 correctly.
4844 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4845 since some C++ compilers masquerading as C compilers
4846 incorrectly reject 9223372036854775807. */
4847 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4848 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4849 && LARGE_OFF_T % 2147483647 == 1)
4850 ? 1 : -1];
4852 main ()
4856 return 0;
4858 _ACEOF
4859 rm -f conftest.$ac_objext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861 (eval $ac_compile) 2>conftest.er1
4862 ac_status=$?
4863 grep -v '^ *+' conftest.er1 >conftest.err
4864 rm -f conftest.er1
4865 cat conftest.err >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } &&
4868 { ac_try='test -z "$ac_c_werror_flag"
4869 || test ! -s conftest.err'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4871 (eval $ac_try) 2>&5
4872 ac_status=$?
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; } &&
4875 { ac_try='test -s conftest.$ac_objext'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 (eval $ac_try) 2>&5
4878 ac_status=$?
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; }; then
4881 break
4882 else
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.$ac_ext >&5
4887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888 cat >conftest.$ac_ext <<_ACEOF
4889 /* confdefs.h. */
4890 _ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4894 #define _FILE_OFFSET_BITS 64
4895 #include <sys/types.h>
4896 /* Check that off_t can represent 2**63 - 1 correctly.
4897 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4898 since some C++ compilers masquerading as C compilers
4899 incorrectly reject 9223372036854775807. */
4900 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4901 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4902 && LARGE_OFF_T % 2147483647 == 1)
4903 ? 1 : -1];
4905 main ()
4909 return 0;
4911 _ACEOF
4912 rm -f conftest.$ac_objext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914 (eval $ac_compile) 2>conftest.er1
4915 ac_status=$?
4916 grep -v '^ *+' conftest.er1 >conftest.err
4917 rm -f conftest.er1
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag"
4922 || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 (eval $ac_try) 2>&5
4925 ac_status=$?
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try='test -s conftest.$ac_objext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 (eval $ac_try) 2>&5
4931 ac_status=$?
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4934 ac_cv_sys_file_offset_bits=64; break
4935 else
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4941 break
4942 done
4944 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4945 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4946 if test "$ac_cv_sys_file_offset_bits" != no; then
4948 cat >>confdefs.h <<_ACEOF
4949 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4950 _ACEOF
4953 rm -f conftest*
4954 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4955 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4956 if test "${ac_cv_sys_large_files+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959 while :; do
4960 ac_cv_sys_large_files=no
4961 cat >conftest.$ac_ext <<_ACEOF
4962 /* confdefs.h. */
4963 _ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h. */
4967 #include <sys/types.h>
4968 /* Check that off_t can represent 2**63 - 1 correctly.
4969 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4970 since some C++ compilers masquerading as C compilers
4971 incorrectly reject 9223372036854775807. */
4972 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4973 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4974 && LARGE_OFF_T % 2147483647 == 1)
4975 ? 1 : -1];
4977 main ()
4981 return 0;
4983 _ACEOF
4984 rm -f conftest.$ac_objext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4986 (eval $ac_compile) 2>conftest.er1
4987 ac_status=$?
4988 grep -v '^ *+' conftest.er1 >conftest.err
4989 rm -f conftest.er1
4990 cat conftest.err >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try='test -z "$ac_c_werror_flag"
4994 || test ! -s conftest.err'
4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 (eval $ac_try) 2>&5
4997 ac_status=$?
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; } &&
5000 { ac_try='test -s conftest.$ac_objext'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002 (eval $ac_try) 2>&5
5003 ac_status=$?
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then
5006 break
5007 else
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5013 cat >conftest.$ac_ext <<_ACEOF
5014 /* confdefs.h. */
5015 _ACEOF
5016 cat confdefs.h >>conftest.$ac_ext
5017 cat >>conftest.$ac_ext <<_ACEOF
5018 /* end confdefs.h. */
5019 #define _LARGE_FILES 1
5020 #include <sys/types.h>
5021 /* Check that off_t can represent 2**63 - 1 correctly.
5022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5023 since some C++ compilers masquerading as C compilers
5024 incorrectly reject 9223372036854775807. */
5025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5027 && LARGE_OFF_T % 2147483647 == 1)
5028 ? 1 : -1];
5030 main ()
5034 return 0;
5036 _ACEOF
5037 rm -f conftest.$ac_objext
5038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5039 (eval $ac_compile) 2>conftest.er1
5040 ac_status=$?
5041 grep -v '^ *+' conftest.er1 >conftest.err
5042 rm -f conftest.er1
5043 cat conftest.err >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } &&
5046 { ac_try='test -z "$ac_c_werror_flag"
5047 || test ! -s conftest.err'
5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049 (eval $ac_try) 2>&5
5050 ac_status=$?
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; } &&
5053 { ac_try='test -s conftest.$ac_objext'
5054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055 (eval $ac_try) 2>&5
5056 ac_status=$?
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); }; }; then
5059 ac_cv_sys_large_files=1; break
5060 else
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5066 break
5067 done
5069 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5070 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5071 if test "$ac_cv_sys_large_files" != no; then
5073 cat >>confdefs.h <<_ACEOF
5074 #define _LARGE_FILES $ac_cv_sys_large_files
5075 _ACEOF
5078 rm -f conftest*
5081 ac_ext=c
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5087 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5088 # On Suns, sometimes $CPP names a directory.
5089 if test -n "$CPP" && test -d "$CPP"; then
5090 CPP=
5092 if test -z "$CPP"; then
5093 if test "${ac_cv_prog_CPP+set}" = set; then
5094 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 else
5096 # Double quotes because CPP needs to be expanded
5097 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5099 ac_preproc_ok=false
5100 for ac_c_preproc_warn_flag in '' yes
5102 # Use a header file that comes with gcc, so configuring glibc
5103 # with a fresh cross-compiler works.
5104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105 # <limits.h> exists even on freestanding compilers.
5106 # On the NeXT, cc -E runs the code through the compiler's parser,
5107 # not just through cpp. "Syntax error" is here to catch this case.
5108 cat >conftest.$ac_ext <<_ACEOF
5109 /* confdefs.h. */
5110 _ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 #ifdef __STDC__
5115 # include <limits.h>
5116 #else
5117 # include <assert.h>
5118 #endif
5119 Syntax error
5120 _ACEOF
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5123 ac_status=$?
5124 grep -v '^ *+' conftest.er1 >conftest.err
5125 rm -f conftest.er1
5126 cat conftest.err >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } >/dev/null; then
5129 if test -s conftest.err; then
5130 ac_cpp_err=$ac_c_preproc_warn_flag
5131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5132 else
5133 ac_cpp_err=
5135 else
5136 ac_cpp_err=yes
5138 if test -z "$ac_cpp_err"; then
5140 else
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 # Broken: fails on valid input.
5145 continue
5147 rm -f conftest.err conftest.$ac_ext
5149 # OK, works on sane cases. Now check whether non-existent headers
5150 # can be detected and how.
5151 cat >conftest.$ac_ext <<_ACEOF
5152 /* confdefs.h. */
5153 _ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 #include <ac_nonexistent.h>
5158 _ACEOF
5159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5161 ac_status=$?
5162 grep -v '^ *+' conftest.er1 >conftest.err
5163 rm -f conftest.er1
5164 cat conftest.err >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } >/dev/null; then
5167 if test -s conftest.err; then
5168 ac_cpp_err=$ac_c_preproc_warn_flag
5169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5170 else
5171 ac_cpp_err=
5173 else
5174 ac_cpp_err=yes
5176 if test -z "$ac_cpp_err"; then
5177 # Broken: success on invalid input.
5178 continue
5179 else
5180 echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.$ac_ext >&5
5183 # Passes both tests.
5184 ac_preproc_ok=:
5185 break
5187 rm -f conftest.err conftest.$ac_ext
5189 done
5190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5191 rm -f conftest.err conftest.$ac_ext
5192 if $ac_preproc_ok; then
5193 break
5196 done
5197 ac_cv_prog_CPP=$CPP
5200 CPP=$ac_cv_prog_CPP
5201 else
5202 ac_cv_prog_CPP=$CPP
5204 echo "$as_me:$LINENO: result: $CPP" >&5
5205 echo "${ECHO_T}$CPP" >&6
5206 ac_preproc_ok=false
5207 for ac_c_preproc_warn_flag in '' yes
5209 # Use a header file that comes with gcc, so configuring glibc
5210 # with a fresh cross-compiler works.
5211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5212 # <limits.h> exists even on freestanding compilers.
5213 # On the NeXT, cc -E runs the code through the compiler's parser,
5214 # not just through cpp. "Syntax error" is here to catch this case.
5215 cat >conftest.$ac_ext <<_ACEOF
5216 /* confdefs.h. */
5217 _ACEOF
5218 cat confdefs.h >>conftest.$ac_ext
5219 cat >>conftest.$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5221 #ifdef __STDC__
5222 # include <limits.h>
5223 #else
5224 # include <assert.h>
5225 #endif
5226 Syntax error
5227 _ACEOF
5228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5230 ac_status=$?
5231 grep -v '^ *+' conftest.er1 >conftest.err
5232 rm -f conftest.er1
5233 cat conftest.err >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } >/dev/null; then
5236 if test -s conftest.err; then
5237 ac_cpp_err=$ac_c_preproc_warn_flag
5238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5239 else
5240 ac_cpp_err=
5242 else
5243 ac_cpp_err=yes
5245 if test -z "$ac_cpp_err"; then
5247 else
5248 echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5251 # Broken: fails on valid input.
5252 continue
5254 rm -f conftest.err conftest.$ac_ext
5256 # OK, works on sane cases. Now check whether non-existent headers
5257 # can be detected and how.
5258 cat >conftest.$ac_ext <<_ACEOF
5259 /* confdefs.h. */
5260 _ACEOF
5261 cat confdefs.h >>conftest.$ac_ext
5262 cat >>conftest.$ac_ext <<_ACEOF
5263 /* end confdefs.h. */
5264 #include <ac_nonexistent.h>
5265 _ACEOF
5266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268 ac_status=$?
5269 grep -v '^ *+' conftest.er1 >conftest.err
5270 rm -f conftest.er1
5271 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } >/dev/null; then
5274 if test -s conftest.err; then
5275 ac_cpp_err=$ac_c_preproc_warn_flag
5276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5277 else
5278 ac_cpp_err=
5280 else
5281 ac_cpp_err=yes
5283 if test -z "$ac_cpp_err"; then
5284 # Broken: success on invalid input.
5285 continue
5286 else
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.$ac_ext >&5
5290 # Passes both tests.
5291 ac_preproc_ok=:
5292 break
5294 rm -f conftest.err conftest.$ac_ext
5296 done
5297 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5298 rm -f conftest.err conftest.$ac_ext
5299 if $ac_preproc_ok; then
5301 else
5302 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5303 See \`config.log' for more details." >&5
5304 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5305 See \`config.log' for more details." >&2;}
5306 { (exit 1); exit 1; }; }
5309 ac_ext=c
5310 ac_cpp='$CPP $CPPFLAGS'
5311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5316 echo "$as_me:$LINENO: checking for egrep" >&5
5317 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5318 if test "${ac_cv_prog_egrep+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5322 then ac_cv_prog_egrep='grep -E'
5323 else ac_cv_prog_egrep='egrep'
5326 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5327 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5328 EGREP=$ac_cv_prog_egrep
5331 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5332 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5333 if test "${ac_cv_header_stdc+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 else
5336 cat >conftest.$ac_ext <<_ACEOF
5337 /* confdefs.h. */
5338 _ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5342 #include <stdlib.h>
5343 #include <stdarg.h>
5344 #include <string.h>
5345 #include <float.h>
5348 main ()
5352 return 0;
5354 _ACEOF
5355 rm -f conftest.$ac_objext
5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5357 (eval $ac_compile) 2>conftest.er1
5358 ac_status=$?
5359 grep -v '^ *+' conftest.er1 >conftest.err
5360 rm -f conftest.er1
5361 cat conftest.err >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } &&
5364 { ac_try='test -z "$ac_c_werror_flag"
5365 || test ! -s conftest.err'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5367 (eval $ac_try) 2>&5
5368 ac_status=$?
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; } &&
5371 { ac_try='test -s conftest.$ac_objext'
5372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373 (eval $ac_try) 2>&5
5374 ac_status=$?
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }; }; then
5377 ac_cv_header_stdc=yes
5378 else
5379 echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.$ac_ext >&5
5382 ac_cv_header_stdc=no
5384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5386 if test $ac_cv_header_stdc = yes; then
5387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5388 cat >conftest.$ac_ext <<_ACEOF
5389 /* confdefs.h. */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5394 #include <string.h>
5396 _ACEOF
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398 $EGREP "memchr" >/dev/null 2>&1; then
5400 else
5401 ac_cv_header_stdc=no
5403 rm -f conftest*
5407 if test $ac_cv_header_stdc = yes; then
5408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5409 cat >conftest.$ac_ext <<_ACEOF
5410 /* confdefs.h. */
5411 _ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5415 #include <stdlib.h>
5417 _ACEOF
5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5419 $EGREP "free" >/dev/null 2>&1; then
5421 else
5422 ac_cv_header_stdc=no
5424 rm -f conftest*
5428 if test $ac_cv_header_stdc = yes; then
5429 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5430 if test "$cross_compiling" = yes; then
5432 else
5433 cat >conftest.$ac_ext <<_ACEOF
5434 /* confdefs.h. */
5435 _ACEOF
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h. */
5439 #include <ctype.h>
5440 #if ((' ' & 0x0FF) == 0x020)
5441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5443 #else
5444 # define ISLOWER(c) \
5445 (('a' <= (c) && (c) <= 'i') \
5446 || ('j' <= (c) && (c) <= 'r') \
5447 || ('s' <= (c) && (c) <= 'z'))
5448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5449 #endif
5451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5453 main ()
5455 int i;
5456 for (i = 0; i < 256; i++)
5457 if (XOR (islower (i), ISLOWER (i))
5458 || toupper (i) != TOUPPER (i))
5459 exit(2);
5460 exit (0);
5462 _ACEOF
5463 rm -f conftest$ac_exeext
5464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5465 (eval $ac_link) 2>&5
5466 ac_status=$?
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470 (eval $ac_try) 2>&5
5471 ac_status=$?
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5475 else
5476 echo "$as_me: program exited with status $ac_status" >&5
5477 echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5480 ( exit $ac_status )
5481 ac_cv_header_stdc=no
5483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5488 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5489 if test $ac_cv_header_stdc = yes; then
5491 cat >>confdefs.h <<\_ACEOF
5492 #define STDC_HEADERS 1
5493 _ACEOF
5497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5507 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5508 inttypes.h stdint.h unistd.h
5510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5511 echo "$as_me:$LINENO: checking for $ac_header" >&5
5512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516 cat >conftest.$ac_ext <<_ACEOF
5517 /* confdefs.h. */
5518 _ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5522 $ac_includes_default
5524 #include <$ac_header>
5525 _ACEOF
5526 rm -f conftest.$ac_objext
5527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5528 (eval $ac_compile) 2>conftest.er1
5529 ac_status=$?
5530 grep -v '^ *+' conftest.er1 >conftest.err
5531 rm -f conftest.er1
5532 cat conftest.err >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } &&
5535 { ac_try='test -z "$ac_c_werror_flag"
5536 || test ! -s conftest.err'
5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538 (eval $ac_try) 2>&5
5539 ac_status=$?
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; } &&
5542 { ac_try='test -s conftest.$ac_objext'
5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544 (eval $ac_try) 2>&5
5545 ac_status=$?
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; }; then
5548 eval "$as_ac_Header=yes"
5549 else
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5553 eval "$as_ac_Header=no"
5555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5560 cat >>confdefs.h <<_ACEOF
5561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 _ACEOF
5566 done
5569 echo "$as_me:$LINENO: checking for off_t" >&5
5570 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5571 if test "${ac_cv_type_off_t+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 else
5574 cat >conftest.$ac_ext <<_ACEOF
5575 /* confdefs.h. */
5576 _ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5580 $ac_includes_default
5582 main ()
5584 if ((off_t *) 0)
5585 return 0;
5586 if (sizeof (off_t))
5587 return 0;
5589 return 0;
5591 _ACEOF
5592 rm -f conftest.$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594 (eval $ac_compile) 2>conftest.er1
5595 ac_status=$?
5596 grep -v '^ *+' conftest.er1 >conftest.err
5597 rm -f conftest.er1
5598 cat conftest.err >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try='test -z "$ac_c_werror_flag"
5602 || test ! -s conftest.err'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 (eval $ac_try) 2>&5
5605 ac_status=$?
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; } &&
5608 { ac_try='test -s conftest.$ac_objext'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 (eval $ac_try) 2>&5
5611 ac_status=$?
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; }; then
5614 ac_cv_type_off_t=yes
5615 else
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5619 ac_cv_type_off_t=no
5621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5623 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5624 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5625 if test $ac_cv_type_off_t = yes; then
5627 else
5629 cat >>confdefs.h <<_ACEOF
5630 #define off_t long
5631 _ACEOF
5636 # check header files
5637 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5638 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5639 if test "${ac_cv_header_stdc+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642 cat >conftest.$ac_ext <<_ACEOF
5643 /* confdefs.h. */
5644 _ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5648 #include <stdlib.h>
5649 #include <stdarg.h>
5650 #include <string.h>
5651 #include <float.h>
5654 main ()
5658 return 0;
5660 _ACEOF
5661 rm -f conftest.$ac_objext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5663 (eval $ac_compile) 2>conftest.er1
5664 ac_status=$?
5665 grep -v '^ *+' conftest.er1 >conftest.err
5666 rm -f conftest.er1
5667 cat conftest.err >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } &&
5670 { ac_try='test -z "$ac_c_werror_flag"
5671 || test ! -s conftest.err'
5672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673 (eval $ac_try) 2>&5
5674 ac_status=$?
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); }; } &&
5677 { ac_try='test -s conftest.$ac_objext'
5678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 (eval $ac_try) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; }; then
5683 ac_cv_header_stdc=yes
5684 else
5685 echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.$ac_ext >&5
5688 ac_cv_header_stdc=no
5690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5692 if test $ac_cv_header_stdc = yes; then
5693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5694 cat >conftest.$ac_ext <<_ACEOF
5695 /* confdefs.h. */
5696 _ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5700 #include <string.h>
5702 _ACEOF
5703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5704 $EGREP "memchr" >/dev/null 2>&1; then
5706 else
5707 ac_cv_header_stdc=no
5709 rm -f conftest*
5713 if test $ac_cv_header_stdc = yes; then
5714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5715 cat >conftest.$ac_ext <<_ACEOF
5716 /* confdefs.h. */
5717 _ACEOF
5718 cat confdefs.h >>conftest.$ac_ext
5719 cat >>conftest.$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5721 #include <stdlib.h>
5723 _ACEOF
5724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5725 $EGREP "free" >/dev/null 2>&1; then
5727 else
5728 ac_cv_header_stdc=no
5730 rm -f conftest*
5734 if test $ac_cv_header_stdc = yes; then
5735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5736 if test "$cross_compiling" = yes; then
5738 else
5739 cat >conftest.$ac_ext <<_ACEOF
5740 /* confdefs.h. */
5741 _ACEOF
5742 cat confdefs.h >>conftest.$ac_ext
5743 cat >>conftest.$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5745 #include <ctype.h>
5746 #if ((' ' & 0x0FF) == 0x020)
5747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5749 #else
5750 # define ISLOWER(c) \
5751 (('a' <= (c) && (c) <= 'i') \
5752 || ('j' <= (c) && (c) <= 'r') \
5753 || ('s' <= (c) && (c) <= 'z'))
5754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5755 #endif
5757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5759 main ()
5761 int i;
5762 for (i = 0; i < 256; i++)
5763 if (XOR (islower (i), ISLOWER (i))
5764 || toupper (i) != TOUPPER (i))
5765 exit(2);
5766 exit (0);
5768 _ACEOF
5769 rm -f conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771 (eval $ac_link) 2>&5
5772 ac_status=$?
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776 (eval $ac_try) 2>&5
5777 ac_status=$?
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); }; }; then
5781 else
5782 echo "$as_me: program exited with status $ac_status" >&5
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.$ac_ext >&5
5786 ( exit $ac_status )
5787 ac_cv_header_stdc=no
5789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5794 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5795 if test $ac_cv_header_stdc = yes; then
5797 cat >>confdefs.h <<\_ACEOF
5798 #define STDC_HEADERS 1
5799 _ACEOF
5810 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5814 echo "$as_me:$LINENO: checking for $ac_header" >&5
5815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5821 else
5822 # Is the header compilable?
5823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5825 cat >conftest.$ac_ext <<_ACEOF
5826 /* confdefs.h. */
5827 _ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5831 $ac_includes_default
5832 #include <$ac_header>
5833 _ACEOF
5834 rm -f conftest.$ac_objext
5835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5836 (eval $ac_compile) 2>conftest.er1
5837 ac_status=$?
5838 grep -v '^ *+' conftest.er1 >conftest.err
5839 rm -f conftest.er1
5840 cat conftest.err >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } &&
5843 { ac_try='test -z "$ac_c_werror_flag"
5844 || test ! -s conftest.err'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 (eval $ac_try) 2>&5
5847 ac_status=$?
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; } &&
5850 { ac_try='test -s conftest.$ac_objext'
5851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 (eval $ac_try) 2>&5
5853 ac_status=$?
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; }; then
5856 ac_header_compiler=yes
5857 else
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 ac_header_compiler=no
5863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5865 echo "${ECHO_T}$ac_header_compiler" >&6
5867 # Is the header present?
5868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5870 cat >conftest.$ac_ext <<_ACEOF
5871 /* confdefs.h. */
5872 _ACEOF
5873 cat confdefs.h >>conftest.$ac_ext
5874 cat >>conftest.$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5876 #include <$ac_header>
5877 _ACEOF
5878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5879 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5880 ac_status=$?
5881 grep -v '^ *+' conftest.er1 >conftest.err
5882 rm -f conftest.er1
5883 cat conftest.err >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); } >/dev/null; then
5886 if test -s conftest.err; then
5887 ac_cpp_err=$ac_c_preproc_warn_flag
5888 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5889 else
5890 ac_cpp_err=
5892 else
5893 ac_cpp_err=yes
5895 if test -z "$ac_cpp_err"; then
5896 ac_header_preproc=yes
5897 else
5898 echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.$ac_ext >&5
5901 ac_header_preproc=no
5903 rm -f conftest.err conftest.$ac_ext
5904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5905 echo "${ECHO_T}$ac_header_preproc" >&6
5907 # So? What about this header?
5908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5909 yes:no: )
5910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5914 ac_header_preproc=yes
5916 no:yes:* )
5917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5921 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5923 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5924 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5927 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5930 cat <<\_ASBOX
5931 ## ------------------------------------------------------ ##
5932 ## Report this to the GNU Fortran Runtime Library lists. ##
5933 ## ------------------------------------------------------ ##
5934 _ASBOX
5936 sed "s/^/$as_me: WARNING: /" >&2
5938 esac
5939 echo "$as_me:$LINENO: checking for $ac_header" >&5
5940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5943 else
5944 eval "$as_ac_Header=\$ac_header_preproc"
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5951 cat >>confdefs.h <<_ACEOF
5952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5953 _ACEOF
5957 done
5964 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
5966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968 echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5975 else
5976 # Is the header compilable?
5977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5979 cat >conftest.$ac_ext <<_ACEOF
5980 /* confdefs.h. */
5981 _ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 $ac_includes_default
5986 #include <$ac_header>
5987 _ACEOF
5988 rm -f conftest.$ac_objext
5989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990 (eval $ac_compile) 2>conftest.er1
5991 ac_status=$?
5992 grep -v '^ *+' conftest.er1 >conftest.err
5993 rm -f conftest.er1
5994 cat conftest.err >&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); } &&
5997 { ac_try='test -z "$ac_c_werror_flag"
5998 || test ! -s conftest.err'
5999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 (eval $ac_try) 2>&5
6001 ac_status=$?
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; } &&
6004 { ac_try='test -s conftest.$ac_objext'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 (eval $ac_try) 2>&5
6007 ac_status=$?
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6010 ac_header_compiler=yes
6011 else
6012 echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6015 ac_header_compiler=no
6017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019 echo "${ECHO_T}$ac_header_compiler" >&6
6021 # Is the header present?
6022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6024 cat >conftest.$ac_ext <<_ACEOF
6025 /* confdefs.h. */
6026 _ACEOF
6027 cat confdefs.h >>conftest.$ac_ext
6028 cat >>conftest.$ac_ext <<_ACEOF
6029 /* end confdefs.h. */
6030 #include <$ac_header>
6031 _ACEOF
6032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6034 ac_status=$?
6035 grep -v '^ *+' conftest.er1 >conftest.err
6036 rm -f conftest.er1
6037 cat conftest.err >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } >/dev/null; then
6040 if test -s conftest.err; then
6041 ac_cpp_err=$ac_c_preproc_warn_flag
6042 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6043 else
6044 ac_cpp_err=
6046 else
6047 ac_cpp_err=yes
6049 if test -z "$ac_cpp_err"; then
6050 ac_header_preproc=yes
6051 else
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.$ac_ext >&5
6055 ac_header_preproc=no
6057 rm -f conftest.err conftest.$ac_ext
6058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059 echo "${ECHO_T}$ac_header_preproc" >&6
6061 # So? What about this header?
6062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6063 yes:no: )
6064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068 ac_header_preproc=yes
6070 no:yes:* )
6071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6084 cat <<\_ASBOX
6085 ## ------------------------------------------------------ ##
6086 ## Report this to the GNU Fortran Runtime Library lists. ##
6087 ## ------------------------------------------------------ ##
6088 _ASBOX
6090 sed "s/^/$as_me: WARNING: /" >&2
6092 esac
6093 echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 else
6098 eval "$as_ac_Header=\$ac_header_preproc"
6100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6105 cat >>confdefs.h <<_ACEOF
6106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 _ACEOF
6111 done
6118 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6122 echo "$as_me:$LINENO: checking for $ac_header" >&5
6123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6125 echo $ECHO_N "(cached) $ECHO_C" >&6
6127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6129 else
6130 # Is the header compilable?
6131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
6140 #include <$ac_header>
6141 _ACEOF
6142 rm -f conftest.$ac_objext
6143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6144 (eval $ac_compile) 2>conftest.er1
6145 ac_status=$?
6146 grep -v '^ *+' conftest.er1 >conftest.err
6147 rm -f conftest.er1
6148 cat conftest.err >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); } &&
6151 { ac_try='test -z "$ac_c_werror_flag"
6152 || test ! -s conftest.err'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154 (eval $ac_try) 2>&5
6155 ac_status=$?
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; } &&
6158 { ac_try='test -s conftest.$ac_objext'
6159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160 (eval $ac_try) 2>&5
6161 ac_status=$?
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; }; then
6164 ac_header_compiler=yes
6165 else
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.$ac_ext >&5
6169 ac_header_compiler=no
6171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6173 echo "${ECHO_T}$ac_header_compiler" >&6
6175 # Is the header present?
6176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6178 cat >conftest.$ac_ext <<_ACEOF
6179 /* confdefs.h. */
6180 _ACEOF
6181 cat confdefs.h >>conftest.$ac_ext
6182 cat >>conftest.$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 #include <$ac_header>
6185 _ACEOF
6186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6188 ac_status=$?
6189 grep -v '^ *+' conftest.er1 >conftest.err
6190 rm -f conftest.er1
6191 cat conftest.err >&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } >/dev/null; then
6194 if test -s conftest.err; then
6195 ac_cpp_err=$ac_c_preproc_warn_flag
6196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6197 else
6198 ac_cpp_err=
6200 else
6201 ac_cpp_err=yes
6203 if test -z "$ac_cpp_err"; then
6204 ac_header_preproc=yes
6205 else
6206 echo "$as_me: failed program was:" >&5
6207 sed 's/^/| /' conftest.$ac_ext >&5
6209 ac_header_preproc=no
6211 rm -f conftest.err conftest.$ac_ext
6212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6213 echo "${ECHO_T}$ac_header_preproc" >&6
6215 # So? What about this header?
6216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6217 yes:no: )
6218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6222 ac_header_preproc=yes
6224 no:yes:* )
6225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6229 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6231 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6232 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6238 cat <<\_ASBOX
6239 ## ------------------------------------------------------ ##
6240 ## Report this to the GNU Fortran Runtime Library lists. ##
6241 ## ------------------------------------------------------ ##
6242 _ASBOX
6244 sed "s/^/$as_me: WARNING: /" >&2
6246 esac
6247 echo "$as_me:$LINENO: checking for $ac_header" >&5
6248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 else
6252 eval "$as_ac_Header=\$ac_header_preproc"
6254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6259 cat >>confdefs.h <<_ACEOF
6260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6261 _ACEOF
6265 done
6270 for ac_header in fenv.h fptrap.h float.h
6272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6274 echo "$as_me:$LINENO: checking for $ac_header" >&5
6275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6281 else
6282 # Is the header compilable?
6283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6285 cat >conftest.$ac_ext <<_ACEOF
6286 /* confdefs.h. */
6287 _ACEOF
6288 cat confdefs.h >>conftest.$ac_ext
6289 cat >>conftest.$ac_ext <<_ACEOF
6290 /* end confdefs.h. */
6291 $ac_includes_default
6292 #include <$ac_header>
6293 _ACEOF
6294 rm -f conftest.$ac_objext
6295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6296 (eval $ac_compile) 2>conftest.er1
6297 ac_status=$?
6298 grep -v '^ *+' conftest.er1 >conftest.err
6299 rm -f conftest.er1
6300 cat conftest.err >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); } &&
6303 { ac_try='test -z "$ac_c_werror_flag"
6304 || test ! -s conftest.err'
6305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 (eval $ac_try) 2>&5
6307 ac_status=$?
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); }; } &&
6310 { ac_try='test -s conftest.$ac_objext'
6311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312 (eval $ac_try) 2>&5
6313 ac_status=$?
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); }; }; then
6316 ac_header_compiler=yes
6317 else
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6321 ac_header_compiler=no
6323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6325 echo "${ECHO_T}$ac_header_compiler" >&6
6327 # Is the header present?
6328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6330 cat >conftest.$ac_ext <<_ACEOF
6331 /* confdefs.h. */
6332 _ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6336 #include <$ac_header>
6337 _ACEOF
6338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6340 ac_status=$?
6341 grep -v '^ *+' conftest.er1 >conftest.err
6342 rm -f conftest.er1
6343 cat conftest.err >&5
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); } >/dev/null; then
6346 if test -s conftest.err; then
6347 ac_cpp_err=$ac_c_preproc_warn_flag
6348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6349 else
6350 ac_cpp_err=
6352 else
6353 ac_cpp_err=yes
6355 if test -z "$ac_cpp_err"; then
6356 ac_header_preproc=yes
6357 else
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.$ac_ext >&5
6361 ac_header_preproc=no
6363 rm -f conftest.err conftest.$ac_ext
6364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6365 echo "${ECHO_T}$ac_header_preproc" >&6
6367 # So? What about this header?
6368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6369 yes:no: )
6370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6374 ac_header_preproc=yes
6376 no:yes:* )
6377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6390 cat <<\_ASBOX
6391 ## ------------------------------------------------------ ##
6392 ## Report this to the GNU Fortran Runtime Library lists. ##
6393 ## ------------------------------------------------------ ##
6394 _ASBOX
6396 sed "s/^/$as_me: WARNING: /" >&2
6398 esac
6399 echo "$as_me:$LINENO: checking for $ac_header" >&5
6400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6402 echo $ECHO_N "(cached) $ECHO_C" >&6
6403 else
6404 eval "$as_ac_Header=\$ac_header_preproc"
6406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6411 cat >>confdefs.h <<_ACEOF
6412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6413 _ACEOF
6417 done
6419 if test "${ac_cv_header_complex_h+set}" = set; then
6420 echo "$as_me:$LINENO: checking for complex.h" >&5
6421 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6422 if test "${ac_cv_header_complex_h+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6426 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6427 else
6428 # Is the header compilable?
6429 echo "$as_me:$LINENO: checking complex.h usability" >&5
6430 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6431 cat >conftest.$ac_ext <<_ACEOF
6432 /* confdefs.h. */
6433 _ACEOF
6434 cat confdefs.h >>conftest.$ac_ext
6435 cat >>conftest.$ac_ext <<_ACEOF
6436 /* end confdefs.h. */
6437 $ac_includes_default
6438 #include <complex.h>
6439 _ACEOF
6440 rm -f conftest.$ac_objext
6441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6442 (eval $ac_compile) 2>conftest.er1
6443 ac_status=$?
6444 grep -v '^ *+' conftest.er1 >conftest.err
6445 rm -f conftest.er1
6446 cat conftest.err >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); } &&
6449 { ac_try='test -z "$ac_c_werror_flag"
6450 || test ! -s conftest.err'
6451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 (eval $ac_try) 2>&5
6453 ac_status=$?
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); }; } &&
6456 { ac_try='test -s conftest.$ac_objext'
6457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 (eval $ac_try) 2>&5
6459 ac_status=$?
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); }; }; then
6462 ac_header_compiler=yes
6463 else
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.$ac_ext >&5
6467 ac_header_compiler=no
6469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6471 echo "${ECHO_T}$ac_header_compiler" >&6
6473 # Is the header present?
6474 echo "$as_me:$LINENO: checking complex.h presence" >&5
6475 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h. */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <complex.h>
6483 _ACEOF
6484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6486 ac_status=$?
6487 grep -v '^ *+' conftest.er1 >conftest.err
6488 rm -f conftest.er1
6489 cat conftest.err >&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); } >/dev/null; then
6492 if test -s conftest.err; then
6493 ac_cpp_err=$ac_c_preproc_warn_flag
6494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6495 else
6496 ac_cpp_err=
6498 else
6499 ac_cpp_err=yes
6501 if test -z "$ac_cpp_err"; then
6502 ac_header_preproc=yes
6503 else
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6507 ac_header_preproc=no
6509 rm -f conftest.err conftest.$ac_ext
6510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6511 echo "${ECHO_T}$ac_header_preproc" >&6
6513 # So? What about this header?
6514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6515 yes:no: )
6516 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6517 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6518 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6519 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6520 ac_header_preproc=yes
6522 no:yes:* )
6523 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6524 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6525 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6526 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6527 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6528 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6529 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6530 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6531 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6532 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6533 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6534 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6536 cat <<\_ASBOX
6537 ## ------------------------------------------------------ ##
6538 ## Report this to the GNU Fortran Runtime Library lists. ##
6539 ## ------------------------------------------------------ ##
6540 _ASBOX
6542 sed "s/^/$as_me: WARNING: /" >&2
6544 esac
6545 echo "$as_me:$LINENO: checking for complex.h" >&5
6546 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6547 if test "${ac_cv_header_complex_h+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 else
6550 ac_cv_header_complex_h=$ac_header_preproc
6552 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6553 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6556 if test $ac_cv_header_complex_h = yes; then
6558 cat >>confdefs.h <<\_ACEOF
6559 #define HAVE_COMPLEX_H 1
6560 _ACEOF
6567 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6569 acx_cv_header_stdint=stddef.h
6570 acx_cv_header_stdint_kind="(already complete)"
6571 for i in stdint.h $inttype_headers; do
6572 unset ac_cv_type_uintptr_t
6573 unset ac_cv_type_uintmax_t
6574 unset ac_cv_type_int_least32_t
6575 unset ac_cv_type_int_fast32_t
6576 unset ac_cv_type_uint64_t
6577 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6578 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6579 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6580 if test "${ac_cv_type_uintmax_t+set}" = set; then
6581 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 else
6583 cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h. */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 #include <sys/types.h>
6590 #include <$i>
6593 main ()
6595 if ((uintmax_t *) 0)
6596 return 0;
6597 if (sizeof (uintmax_t))
6598 return 0;
6600 return 0;
6602 _ACEOF
6603 rm -f conftest.$ac_objext
6604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605 (eval $ac_compile) 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); } &&
6612 { ac_try='test -z "$ac_c_werror_flag"
6613 || test ! -s conftest.err'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 (eval $ac_try) 2>&5
6616 ac_status=$?
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; } &&
6619 { ac_try='test -s conftest.$ac_objext'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6621 (eval $ac_try) 2>&5
6622 ac_status=$?
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; }; then
6625 ac_cv_type_uintmax_t=yes
6626 else
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6630 ac_cv_type_uintmax_t=no
6632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6634 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6635 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6636 if test $ac_cv_type_uintmax_t = yes; then
6637 acx_cv_header_stdint=$i
6638 else
6639 continue
6642 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6643 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6644 if test "${ac_cv_type_uintptr_t+set}" = set; then
6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 else
6647 cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h. */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6653 #include <sys/types.h>
6654 #include <$i>
6657 main ()
6659 if ((uintptr_t *) 0)
6660 return 0;
6661 if (sizeof (uintptr_t))
6662 return 0;
6664 return 0;
6666 _ACEOF
6667 rm -f conftest.$ac_objext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6669 (eval $ac_compile) 2>conftest.er1
6670 ac_status=$?
6671 grep -v '^ *+' conftest.er1 >conftest.err
6672 rm -f conftest.er1
6673 cat conftest.err >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } &&
6676 { ac_try='test -z "$ac_c_werror_flag"
6677 || test ! -s conftest.err'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 (eval $ac_try) 2>&5
6680 ac_status=$?
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; } &&
6683 { ac_try='test -s conftest.$ac_objext'
6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685 (eval $ac_try) 2>&5
6686 ac_status=$?
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); }; }; then
6689 ac_cv_type_uintptr_t=yes
6690 else
6691 echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.$ac_ext >&5
6694 ac_cv_type_uintptr_t=no
6696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6698 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6699 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6700 if test $ac_cv_type_uintptr_t = yes; then
6702 else
6703 acx_cv_header_stdint_kind="(mostly complete)"
6706 echo "$as_me:$LINENO: checking for int_least32_t" >&5
6707 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6708 if test "${ac_cv_type_int_least32_t+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 else
6711 cat >conftest.$ac_ext <<_ACEOF
6712 /* confdefs.h. */
6713 _ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6717 #include <sys/types.h>
6718 #include <$i>
6721 main ()
6723 if ((int_least32_t *) 0)
6724 return 0;
6725 if (sizeof (int_least32_t))
6726 return 0;
6728 return 0;
6730 _ACEOF
6731 rm -f conftest.$ac_objext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733 (eval $ac_compile) 2>conftest.er1
6734 ac_status=$?
6735 grep -v '^ *+' conftest.er1 >conftest.err
6736 rm -f conftest.er1
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } &&
6740 { ac_try='test -z "$ac_c_werror_flag"
6741 || test ! -s conftest.err'
6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 (eval $ac_try) 2>&5
6744 ac_status=$?
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); }; } &&
6747 { ac_try='test -s conftest.$ac_objext'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 (eval $ac_try) 2>&5
6750 ac_status=$?
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6753 ac_cv_type_int_least32_t=yes
6754 else
6755 echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.$ac_ext >&5
6758 ac_cv_type_int_least32_t=no
6760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6762 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6763 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6764 if test $ac_cv_type_int_least32_t = yes; then
6766 else
6767 acx_cv_header_stdint_kind="(mostly complete)"
6770 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6771 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6772 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6773 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 else
6775 cat >conftest.$ac_ext <<_ACEOF
6776 /* confdefs.h. */
6777 _ACEOF
6778 cat confdefs.h >>conftest.$ac_ext
6779 cat >>conftest.$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6781 #include <sys/types.h>
6782 #include <$i>
6785 main ()
6787 if ((int_fast32_t *) 0)
6788 return 0;
6789 if (sizeof (int_fast32_t))
6790 return 0;
6792 return 0;
6794 _ACEOF
6795 rm -f conftest.$ac_objext
6796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797 (eval $ac_compile) 2>conftest.er1
6798 ac_status=$?
6799 grep -v '^ *+' conftest.er1 >conftest.err
6800 rm -f conftest.er1
6801 cat conftest.err >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); } &&
6804 { ac_try='test -z "$ac_c_werror_flag"
6805 || test ! -s conftest.err'
6806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 (eval $ac_try) 2>&5
6808 ac_status=$?
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); }; } &&
6811 { ac_try='test -s conftest.$ac_objext'
6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 (eval $ac_try) 2>&5
6814 ac_status=$?
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; }; then
6817 ac_cv_type_int_fast32_t=yes
6818 else
6819 echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.$ac_ext >&5
6822 ac_cv_type_int_fast32_t=no
6824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6826 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
6827 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
6828 if test $ac_cv_type_int_fast32_t = yes; then
6830 else
6831 acx_cv_header_stdint_kind="(mostly complete)"
6834 echo "$as_me:$LINENO: checking for uint64_t" >&5
6835 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6836 if test "${ac_cv_type_uint64_t+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 else
6839 cat >conftest.$ac_ext <<_ACEOF
6840 /* confdefs.h. */
6841 _ACEOF
6842 cat confdefs.h >>conftest.$ac_ext
6843 cat >>conftest.$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6845 #include <sys/types.h>
6846 #include <$i>
6849 main ()
6851 if ((uint64_t *) 0)
6852 return 0;
6853 if (sizeof (uint64_t))
6854 return 0;
6856 return 0;
6858 _ACEOF
6859 rm -f conftest.$ac_objext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6861 (eval $ac_compile) 2>conftest.er1
6862 ac_status=$?
6863 grep -v '^ *+' conftest.er1 >conftest.err
6864 rm -f conftest.er1
6865 cat conftest.err >&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); } &&
6868 { ac_try='test -z "$ac_c_werror_flag"
6869 || test ! -s conftest.err'
6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871 (eval $ac_try) 2>&5
6872 ac_status=$?
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); }; } &&
6875 { ac_try='test -s conftest.$ac_objext'
6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877 (eval $ac_try) 2>&5
6878 ac_status=$?
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; }; then
6881 ac_cv_type_uint64_t=yes
6882 else
6883 echo "$as_me: failed program was:" >&5
6884 sed 's/^/| /' conftest.$ac_ext >&5
6886 ac_cv_type_uint64_t=no
6888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6890 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
6891 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
6892 if test $ac_cv_type_uint64_t = yes; then
6894 else
6895 acx_cv_header_stdint_kind="(lacks uint64_t)"
6898 break
6899 done
6900 if test "$acx_cv_header_stdint" = stddef.h; then
6901 acx_cv_header_stdint_kind="(lacks uintmax_t)"
6902 for i in stdint.h $inttype_headers; do
6903 unset ac_cv_type_uintptr_t
6904 unset ac_cv_type_uint32_t
6905 unset ac_cv_type_uint64_t
6906 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
6907 echo "$as_me:$LINENO: checking for uint32_t" >&5
6908 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6909 if test "${ac_cv_type_uint32_t+set}" = set; then
6910 echo $ECHO_N "(cached) $ECHO_C" >&6
6911 else
6912 cat >conftest.$ac_ext <<_ACEOF
6913 /* confdefs.h. */
6914 _ACEOF
6915 cat confdefs.h >>conftest.$ac_ext
6916 cat >>conftest.$ac_ext <<_ACEOF
6917 /* end confdefs.h. */
6918 #include <sys/types.h>
6919 #include <$i>
6922 main ()
6924 if ((uint32_t *) 0)
6925 return 0;
6926 if (sizeof (uint32_t))
6927 return 0;
6929 return 0;
6931 _ACEOF
6932 rm -f conftest.$ac_objext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 (eval $ac_compile) 2>conftest.er1
6935 ac_status=$?
6936 grep -v '^ *+' conftest.er1 >conftest.err
6937 rm -f conftest.er1
6938 cat conftest.err >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try='test -z "$ac_c_werror_flag"
6942 || test ! -s conftest.err'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 (eval $ac_try) 2>&5
6945 ac_status=$?
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; } &&
6948 { ac_try='test -s conftest.$ac_objext'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 (eval $ac_try) 2>&5
6951 ac_status=$?
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; }; then
6954 ac_cv_type_uint32_t=yes
6955 else
6956 echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.$ac_ext >&5
6959 ac_cv_type_uint32_t=no
6961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6963 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6964 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
6965 if test $ac_cv_type_uint32_t = yes; then
6966 acx_cv_header_stdint=$i
6967 else
6968 continue
6971 echo "$as_me:$LINENO: checking for uint64_t" >&5
6972 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6973 if test "${ac_cv_type_uint64_t+set}" = set; then
6974 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 else
6976 cat >conftest.$ac_ext <<_ACEOF
6977 /* confdefs.h. */
6978 _ACEOF
6979 cat confdefs.h >>conftest.$ac_ext
6980 cat >>conftest.$ac_ext <<_ACEOF
6981 /* end confdefs.h. */
6982 #include <sys/types.h>
6983 #include <$i>
6986 main ()
6988 if ((uint64_t *) 0)
6989 return 0;
6990 if (sizeof (uint64_t))
6991 return 0;
6993 return 0;
6995 _ACEOF
6996 rm -f conftest.$ac_objext
6997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6998 (eval $ac_compile) 2>conftest.er1
6999 ac_status=$?
7000 grep -v '^ *+' conftest.er1 >conftest.err
7001 rm -f conftest.er1
7002 cat conftest.err >&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); } &&
7005 { ac_try='test -z "$ac_c_werror_flag"
7006 || test ! -s conftest.err'
7007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7008 (eval $ac_try) 2>&5
7009 ac_status=$?
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); }; } &&
7012 { ac_try='test -s conftest.$ac_objext'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 (eval $ac_try) 2>&5
7015 ac_status=$?
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; }; then
7018 ac_cv_type_uint64_t=yes
7019 else
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7023 ac_cv_type_uint64_t=no
7025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7027 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7028 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7030 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7031 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7032 if test "${ac_cv_type_uintptr_t+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 else
7035 cat >conftest.$ac_ext <<_ACEOF
7036 /* confdefs.h. */
7037 _ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 #include <sys/types.h>
7042 #include <$i>
7045 main ()
7047 if ((uintptr_t *) 0)
7048 return 0;
7049 if (sizeof (uintptr_t))
7050 return 0;
7052 return 0;
7054 _ACEOF
7055 rm -f conftest.$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057 (eval $ac_compile) 2>conftest.er1
7058 ac_status=$?
7059 grep -v '^ *+' conftest.er1 >conftest.err
7060 rm -f conftest.er1
7061 cat conftest.err >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); } &&
7064 { ac_try='test -z "$ac_c_werror_flag"
7065 || test ! -s conftest.err'
7066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 (eval $ac_try) 2>&5
7068 ac_status=$?
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; } &&
7071 { ac_try='test -s conftest.$ac_objext'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 (eval $ac_try) 2>&5
7074 ac_status=$?
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 ac_cv_type_uintptr_t=yes
7078 else
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7082 ac_cv_type_uintptr_t=no
7084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7086 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7087 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7089 break
7090 done
7092 if test "$acx_cv_header_stdint" = stddef.h; then
7093 acx_cv_header_stdint_kind="(u_intXX_t style)"
7094 for i in sys/types.h $inttype_headers; do
7095 unset ac_cv_type_u_int32_t
7096 unset ac_cv_type_u_int64_t
7097 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7098 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7099 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7100 if test "${ac_cv_type_u_int32_t+set}" = set; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 else
7103 cat >conftest.$ac_ext <<_ACEOF
7104 /* confdefs.h. */
7105 _ACEOF
7106 cat confdefs.h >>conftest.$ac_ext
7107 cat >>conftest.$ac_ext <<_ACEOF
7108 /* end confdefs.h. */
7109 #include <sys/types.h>
7110 #include <$i>
7113 main ()
7115 if ((u_int32_t *) 0)
7116 return 0;
7117 if (sizeof (u_int32_t))
7118 return 0;
7120 return 0;
7122 _ACEOF
7123 rm -f conftest.$ac_objext
7124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7125 (eval $ac_compile) 2>conftest.er1
7126 ac_status=$?
7127 grep -v '^ *+' conftest.er1 >conftest.err
7128 rm -f conftest.er1
7129 cat conftest.err >&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } &&
7132 { ac_try='test -z "$ac_c_werror_flag"
7133 || test ! -s conftest.err'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 (eval $ac_try) 2>&5
7136 ac_status=$?
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; } &&
7139 { ac_try='test -s conftest.$ac_objext'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 (eval $ac_try) 2>&5
7142 ac_status=$?
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; }; then
7145 ac_cv_type_u_int32_t=yes
7146 else
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.$ac_ext >&5
7150 ac_cv_type_u_int32_t=no
7152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7154 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7155 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7156 if test $ac_cv_type_u_int32_t = yes; then
7157 acx_cv_header_stdint=$i
7158 else
7159 continue
7162 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7163 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7164 if test "${ac_cv_type_u_int64_t+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 else
7167 cat >conftest.$ac_ext <<_ACEOF
7168 /* confdefs.h. */
7169 _ACEOF
7170 cat confdefs.h >>conftest.$ac_ext
7171 cat >>conftest.$ac_ext <<_ACEOF
7172 /* end confdefs.h. */
7173 #include <sys/types.h>
7174 #include <$i>
7177 main ()
7179 if ((u_int64_t *) 0)
7180 return 0;
7181 if (sizeof (u_int64_t))
7182 return 0;
7184 return 0;
7186 _ACEOF
7187 rm -f conftest.$ac_objext
7188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7189 (eval $ac_compile) 2>conftest.er1
7190 ac_status=$?
7191 grep -v '^ *+' conftest.er1 >conftest.err
7192 rm -f conftest.er1
7193 cat conftest.err >&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); } &&
7196 { ac_try='test -z "$ac_c_werror_flag"
7197 || test ! -s conftest.err'
7198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 (eval $ac_try) 2>&5
7200 ac_status=$?
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); }; } &&
7203 { ac_try='test -s conftest.$ac_objext'
7204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205 (eval $ac_try) 2>&5
7206 ac_status=$?
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); }; }; then
7209 ac_cv_type_u_int64_t=yes
7210 else
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 ac_cv_type_u_int64_t=no
7216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7218 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7219 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7221 break
7222 done
7224 if test "$acx_cv_header_stdint" = stddef.h; then
7225 acx_cv_header_stdint_kind="(using manual detection)"
7228 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7229 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7230 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7231 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7232 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7234 # ----------------- Summarize what we found so far
7236 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7237 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7239 case `$as_basename gstdint.h ||
7240 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7241 Xgstdint.h : 'X\(//\)$' \| \
7242 Xgstdint.h : 'X\(/\)$' \| \
7243 . : '\(.\)' 2>/dev/null ||
7244 echo X/gstdint.h |
7245 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7246 /^X\/\(\/\/\)$/{ s//\1/; q; }
7247 /^X\/\(\/\).*/{ s//\1/; q; }
7248 s/.*/./; q'` in
7249 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7250 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7251 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7252 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7253 *) ;;
7254 esac
7256 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7257 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7259 # ----------------- done included file, check C basic types --------
7261 # Lacking an uintptr_t? Test size of void *
7262 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7263 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7264 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7265 if test "${ac_cv_type_void_p+set}" = set; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7267 else
7268 cat >conftest.$ac_ext <<_ACEOF
7269 /* confdefs.h. */
7270 _ACEOF
7271 cat confdefs.h >>conftest.$ac_ext
7272 cat >>conftest.$ac_ext <<_ACEOF
7273 /* end confdefs.h. */
7274 $ac_includes_default
7276 main ()
7278 if ((void * *) 0)
7279 return 0;
7280 if (sizeof (void *))
7281 return 0;
7283 return 0;
7285 _ACEOF
7286 rm -f conftest.$ac_objext
7287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7288 (eval $ac_compile) 2>conftest.er1
7289 ac_status=$?
7290 grep -v '^ *+' conftest.er1 >conftest.err
7291 rm -f conftest.er1
7292 cat conftest.err >&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); } &&
7295 { ac_try='test -z "$ac_c_werror_flag"
7296 || test ! -s conftest.err'
7297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 (eval $ac_try) 2>&5
7299 ac_status=$?
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); }; } &&
7302 { ac_try='test -s conftest.$ac_objext'
7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304 (eval $ac_try) 2>&5
7305 ac_status=$?
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); }; }; then
7308 ac_cv_type_void_p=yes
7309 else
7310 echo "$as_me: failed program was:" >&5
7311 sed 's/^/| /' conftest.$ac_ext >&5
7313 ac_cv_type_void_p=no
7315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7317 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7318 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7320 echo "$as_me:$LINENO: checking size of void *" >&5
7321 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7322 if test "${ac_cv_sizeof_void_p+set}" = set; then
7323 echo $ECHO_N "(cached) $ECHO_C" >&6
7324 else
7325 if test "$ac_cv_type_void_p" = yes; then
7326 # The cast to unsigned long works around a bug in the HP C Compiler
7327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7329 # This bug is HP SR number 8606223364.
7330 if test "$cross_compiling" = yes; then
7331 # Depending upon the size, compute the lo and hi bounds.
7332 cat >conftest.$ac_ext <<_ACEOF
7333 /* confdefs.h. */
7334 _ACEOF
7335 cat confdefs.h >>conftest.$ac_ext
7336 cat >>conftest.$ac_ext <<_ACEOF
7337 /* end confdefs.h. */
7338 $ac_includes_default
7340 main ()
7342 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7343 test_array [0] = 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_lo=0 ac_mid=0
7372 while :; do
7373 cat >conftest.$ac_ext <<_ACEOF
7374 /* confdefs.h. */
7375 _ACEOF
7376 cat confdefs.h >>conftest.$ac_ext
7377 cat >>conftest.$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7379 $ac_includes_default
7381 main ()
7383 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7384 test_array [0] = 0
7387 return 0;
7389 _ACEOF
7390 rm -f conftest.$ac_objext
7391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7392 (eval $ac_compile) 2>conftest.er1
7393 ac_status=$?
7394 grep -v '^ *+' conftest.er1 >conftest.err
7395 rm -f conftest.er1
7396 cat conftest.err >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } &&
7399 { ac_try='test -z "$ac_c_werror_flag"
7400 || test ! -s conftest.err'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402 (eval $ac_try) 2>&5
7403 ac_status=$?
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; } &&
7406 { ac_try='test -s conftest.$ac_objext'
7407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 (eval $ac_try) 2>&5
7409 ac_status=$?
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); }; }; then
7412 ac_hi=$ac_mid; break
7413 else
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.$ac_ext >&5
7417 ac_lo=`expr $ac_mid + 1`
7418 if test $ac_lo -le $ac_mid; then
7419 ac_lo= ac_hi=
7420 break
7422 ac_mid=`expr 2 '*' $ac_mid + 1`
7424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7425 done
7426 else
7427 echo "$as_me: failed program was:" >&5
7428 sed 's/^/| /' conftest.$ac_ext >&5
7430 cat >conftest.$ac_ext <<_ACEOF
7431 /* confdefs.h. */
7432 _ACEOF
7433 cat confdefs.h >>conftest.$ac_ext
7434 cat >>conftest.$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 $ac_includes_default
7438 main ()
7440 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7441 test_array [0] = 0
7444 return 0;
7446 _ACEOF
7447 rm -f conftest.$ac_objext
7448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7449 (eval $ac_compile) 2>conftest.er1
7450 ac_status=$?
7451 grep -v '^ *+' conftest.er1 >conftest.err
7452 rm -f conftest.er1
7453 cat conftest.err >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } &&
7456 { ac_try='test -z "$ac_c_werror_flag"
7457 || test ! -s conftest.err'
7458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459 (eval $ac_try) 2>&5
7460 ac_status=$?
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; } &&
7463 { ac_try='test -s conftest.$ac_objext'
7464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7465 (eval $ac_try) 2>&5
7466 ac_status=$?
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); }; }; then
7469 ac_hi=-1 ac_mid=-1
7470 while :; do
7471 cat >conftest.$ac_ext <<_ACEOF
7472 /* confdefs.h. */
7473 _ACEOF
7474 cat confdefs.h >>conftest.$ac_ext
7475 cat >>conftest.$ac_ext <<_ACEOF
7476 /* end confdefs.h. */
7477 $ac_includes_default
7479 main ()
7481 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7482 test_array [0] = 0
7485 return 0;
7487 _ACEOF
7488 rm -f conftest.$ac_objext
7489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7490 (eval $ac_compile) 2>conftest.er1
7491 ac_status=$?
7492 grep -v '^ *+' conftest.er1 >conftest.err
7493 rm -f conftest.er1
7494 cat conftest.err >&5
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); } &&
7497 { ac_try='test -z "$ac_c_werror_flag"
7498 || test ! -s conftest.err'
7499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 (eval $ac_try) 2>&5
7501 ac_status=$?
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); }; } &&
7504 { ac_try='test -s conftest.$ac_objext'
7505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7506 (eval $ac_try) 2>&5
7507 ac_status=$?
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); }; }; then
7510 ac_lo=$ac_mid; break
7511 else
7512 echo "$as_me: failed program was:" >&5
7513 sed 's/^/| /' conftest.$ac_ext >&5
7515 ac_hi=`expr '(' $ac_mid ')' - 1`
7516 if test $ac_mid -le $ac_hi; then
7517 ac_lo= ac_hi=
7518 break
7520 ac_mid=`expr 2 '*' $ac_mid`
7522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7523 done
7524 else
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7528 ac_lo= ac_hi=
7530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7533 # Binary search between lo and hi bounds.
7534 while test "x$ac_lo" != "x$ac_hi"; do
7535 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7536 cat >conftest.$ac_ext <<_ACEOF
7537 /* confdefs.h. */
7538 _ACEOF
7539 cat confdefs.h >>conftest.$ac_ext
7540 cat >>conftest.$ac_ext <<_ACEOF
7541 /* end confdefs.h. */
7542 $ac_includes_default
7544 main ()
7546 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7547 test_array [0] = 0
7550 return 0;
7552 _ACEOF
7553 rm -f conftest.$ac_objext
7554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7555 (eval $ac_compile) 2>conftest.er1
7556 ac_status=$?
7557 grep -v '^ *+' conftest.er1 >conftest.err
7558 rm -f conftest.er1
7559 cat conftest.err >&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); } &&
7562 { ac_try='test -z "$ac_c_werror_flag"
7563 || test ! -s conftest.err'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 (eval $ac_try) 2>&5
7566 ac_status=$?
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; } &&
7569 { ac_try='test -s conftest.$ac_objext'
7570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 (eval $ac_try) 2>&5
7572 ac_status=$?
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); }; }; then
7575 ac_hi=$ac_mid
7576 else
7577 echo "$as_me: failed program was:" >&5
7578 sed 's/^/| /' conftest.$ac_ext >&5
7580 ac_lo=`expr '(' $ac_mid ')' + 1`
7582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7583 done
7584 case $ac_lo in
7585 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7586 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7587 See \`config.log' for more details." >&5
7588 echo "$as_me: error: cannot compute sizeof (void *), 77
7589 See \`config.log' for more details." >&2;}
7590 { (exit 1); exit 1; }; } ;;
7591 esac
7592 else
7593 if test "$cross_compiling" = yes; then
7594 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7595 See \`config.log' for more details." >&5
7596 echo "$as_me: error: cannot run test program while cross compiling
7597 See \`config.log' for more details." >&2;}
7598 { (exit 1); exit 1; }; }
7599 else
7600 cat >conftest.$ac_ext <<_ACEOF
7601 /* confdefs.h. */
7602 _ACEOF
7603 cat confdefs.h >>conftest.$ac_ext
7604 cat >>conftest.$ac_ext <<_ACEOF
7605 /* end confdefs.h. */
7606 $ac_includes_default
7607 long longval () { return (long) (sizeof (void *)); }
7608 unsigned long ulongval () { return (long) (sizeof (void *)); }
7609 #include <stdio.h>
7610 #include <stdlib.h>
7612 main ()
7615 FILE *f = fopen ("conftest.val", "w");
7616 if (! f)
7617 exit (1);
7618 if (((long) (sizeof (void *))) < 0)
7620 long i = longval ();
7621 if (i != ((long) (sizeof (void *))))
7622 exit (1);
7623 fprintf (f, "%ld\n", i);
7625 else
7627 unsigned long i = ulongval ();
7628 if (i != ((long) (sizeof (void *))))
7629 exit (1);
7630 fprintf (f, "%lu\n", i);
7632 exit (ferror (f) || fclose (f) != 0);
7635 return 0;
7637 _ACEOF
7638 rm -f conftest$ac_exeext
7639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7640 (eval $ac_link) 2>&5
7641 ac_status=$?
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 (eval $ac_try) 2>&5
7646 ac_status=$?
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); }; }; then
7649 ac_cv_sizeof_void_p=`cat conftest.val`
7650 else
7651 echo "$as_me: program exited with status $ac_status" >&5
7652 echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.$ac_ext >&5
7655 ( exit $ac_status )
7656 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7657 See \`config.log' for more details." >&5
7658 echo "$as_me: error: cannot compute sizeof (void *), 77
7659 See \`config.log' for more details." >&2;}
7660 { (exit 1); exit 1; }; }
7662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7665 rm -f conftest.val
7666 else
7667 ac_cv_sizeof_void_p=0
7670 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7671 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7672 cat >>confdefs.h <<_ACEOF
7673 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7674 _ACEOF
7677 esac
7679 # Lacking an uint64_t? Test size of long
7680 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7681 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7682 echo $ECHO_N "checking for long... $ECHO_C" >&6
7683 if test "${ac_cv_type_long+set}" = set; then
7684 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 else
7686 cat >conftest.$ac_ext <<_ACEOF
7687 /* confdefs.h. */
7688 _ACEOF
7689 cat confdefs.h >>conftest.$ac_ext
7690 cat >>conftest.$ac_ext <<_ACEOF
7691 /* end confdefs.h. */
7692 $ac_includes_default
7694 main ()
7696 if ((long *) 0)
7697 return 0;
7698 if (sizeof (long))
7699 return 0;
7701 return 0;
7703 _ACEOF
7704 rm -f conftest.$ac_objext
7705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7706 (eval $ac_compile) 2>conftest.er1
7707 ac_status=$?
7708 grep -v '^ *+' conftest.er1 >conftest.err
7709 rm -f conftest.er1
7710 cat conftest.err >&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } &&
7713 { ac_try='test -z "$ac_c_werror_flag"
7714 || test ! -s conftest.err'
7715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7716 (eval $ac_try) 2>&5
7717 ac_status=$?
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; } &&
7720 { ac_try='test -s conftest.$ac_objext'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7722 (eval $ac_try) 2>&5
7723 ac_status=$?
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; }; then
7726 ac_cv_type_long=yes
7727 else
7728 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.$ac_ext >&5
7731 ac_cv_type_long=no
7733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7735 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7736 echo "${ECHO_T}$ac_cv_type_long" >&6
7738 echo "$as_me:$LINENO: checking size of long" >&5
7739 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7740 if test "${ac_cv_sizeof_long+set}" = set; then
7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 else
7743 if test "$ac_cv_type_long" = yes; then
7744 # The cast to unsigned long works around a bug in the HP C Compiler
7745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7747 # This bug is HP SR number 8606223364.
7748 if test "$cross_compiling" = yes; then
7749 # Depending upon the size, compute the lo and hi bounds.
7750 cat >conftest.$ac_ext <<_ACEOF
7751 /* confdefs.h. */
7752 _ACEOF
7753 cat confdefs.h >>conftest.$ac_ext
7754 cat >>conftest.$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7756 $ac_includes_default
7758 main ()
7760 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7761 test_array [0] = 0
7764 return 0;
7766 _ACEOF
7767 rm -f conftest.$ac_objext
7768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7769 (eval $ac_compile) 2>conftest.er1
7770 ac_status=$?
7771 grep -v '^ *+' conftest.er1 >conftest.err
7772 rm -f conftest.er1
7773 cat conftest.err >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } &&
7776 { ac_try='test -z "$ac_c_werror_flag"
7777 || test ! -s conftest.err'
7778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 (eval $ac_try) 2>&5
7780 ac_status=$?
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); }; } &&
7783 { ac_try='test -s conftest.$ac_objext'
7784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 (eval $ac_try) 2>&5
7786 ac_status=$?
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); }; }; then
7789 ac_lo=0 ac_mid=0
7790 while :; do
7791 cat >conftest.$ac_ext <<_ACEOF
7792 /* confdefs.h. */
7793 _ACEOF
7794 cat confdefs.h >>conftest.$ac_ext
7795 cat >>conftest.$ac_ext <<_ACEOF
7796 /* end confdefs.h. */
7797 $ac_includes_default
7799 main ()
7801 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7802 test_array [0] = 0
7805 return 0;
7807 _ACEOF
7808 rm -f conftest.$ac_objext
7809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7810 (eval $ac_compile) 2>conftest.er1
7811 ac_status=$?
7812 grep -v '^ *+' conftest.er1 >conftest.err
7813 rm -f conftest.er1
7814 cat conftest.err >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } &&
7817 { ac_try='test -z "$ac_c_werror_flag"
7818 || test ! -s conftest.err'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7820 (eval $ac_try) 2>&5
7821 ac_status=$?
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; } &&
7824 { ac_try='test -s conftest.$ac_objext'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7826 (eval $ac_try) 2>&5
7827 ac_status=$?
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; }; then
7830 ac_hi=$ac_mid; break
7831 else
7832 echo "$as_me: failed program was:" >&5
7833 sed 's/^/| /' conftest.$ac_ext >&5
7835 ac_lo=`expr $ac_mid + 1`
7836 if test $ac_lo -le $ac_mid; then
7837 ac_lo= ac_hi=
7838 break
7840 ac_mid=`expr 2 '*' $ac_mid + 1`
7842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7843 done
7844 else
7845 echo "$as_me: failed program was:" >&5
7846 sed 's/^/| /' conftest.$ac_ext >&5
7848 cat >conftest.$ac_ext <<_ACEOF
7849 /* confdefs.h. */
7850 _ACEOF
7851 cat confdefs.h >>conftest.$ac_ext
7852 cat >>conftest.$ac_ext <<_ACEOF
7853 /* end confdefs.h. */
7854 $ac_includes_default
7856 main ()
7858 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7859 test_array [0] = 0
7862 return 0;
7864 _ACEOF
7865 rm -f conftest.$ac_objext
7866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7867 (eval $ac_compile) 2>conftest.er1
7868 ac_status=$?
7869 grep -v '^ *+' conftest.er1 >conftest.err
7870 rm -f conftest.er1
7871 cat conftest.err >&5
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873 (exit $ac_status); } &&
7874 { ac_try='test -z "$ac_c_werror_flag"
7875 || test ! -s conftest.err'
7876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7877 (eval $ac_try) 2>&5
7878 ac_status=$?
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); }; } &&
7881 { ac_try='test -s conftest.$ac_objext'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 (eval $ac_try) 2>&5
7884 ac_status=$?
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; }; then
7887 ac_hi=-1 ac_mid=-1
7888 while :; do
7889 cat >conftest.$ac_ext <<_ACEOF
7890 /* confdefs.h. */
7891 _ACEOF
7892 cat confdefs.h >>conftest.$ac_ext
7893 cat >>conftest.$ac_ext <<_ACEOF
7894 /* end confdefs.h. */
7895 $ac_includes_default
7897 main ()
7899 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7900 test_array [0] = 0
7903 return 0;
7905 _ACEOF
7906 rm -f conftest.$ac_objext
7907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7908 (eval $ac_compile) 2>conftest.er1
7909 ac_status=$?
7910 grep -v '^ *+' conftest.er1 >conftest.err
7911 rm -f conftest.er1
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try='test -z "$ac_c_werror_flag"
7916 || test ! -s conftest.err'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7918 (eval $ac_try) 2>&5
7919 ac_status=$?
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; } &&
7922 { ac_try='test -s conftest.$ac_objext'
7923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7924 (eval $ac_try) 2>&5
7925 ac_status=$?
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; }; then
7928 ac_lo=$ac_mid; break
7929 else
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.$ac_ext >&5
7933 ac_hi=`expr '(' $ac_mid ')' - 1`
7934 if test $ac_mid -le $ac_hi; then
7935 ac_lo= ac_hi=
7936 break
7938 ac_mid=`expr 2 '*' $ac_mid`
7940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7941 done
7942 else
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.$ac_ext >&5
7946 ac_lo= ac_hi=
7948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7951 # Binary search between lo and hi bounds.
7952 while test "x$ac_lo" != "x$ac_hi"; do
7953 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7954 cat >conftest.$ac_ext <<_ACEOF
7955 /* confdefs.h. */
7956 _ACEOF
7957 cat confdefs.h >>conftest.$ac_ext
7958 cat >>conftest.$ac_ext <<_ACEOF
7959 /* end confdefs.h. */
7960 $ac_includes_default
7962 main ()
7964 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7965 test_array [0] = 0
7968 return 0;
7970 _ACEOF
7971 rm -f conftest.$ac_objext
7972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7973 (eval $ac_compile) 2>conftest.er1
7974 ac_status=$?
7975 grep -v '^ *+' conftest.er1 >conftest.err
7976 rm -f conftest.er1
7977 cat conftest.err >&5
7978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 (exit $ac_status); } &&
7980 { ac_try='test -z "$ac_c_werror_flag"
7981 || test ! -s conftest.err'
7982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7983 (eval $ac_try) 2>&5
7984 ac_status=$?
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); }; } &&
7987 { ac_try='test -s conftest.$ac_objext'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989 (eval $ac_try) 2>&5
7990 ac_status=$?
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; }; then
7993 ac_hi=$ac_mid
7994 else
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.$ac_ext >&5
7998 ac_lo=`expr '(' $ac_mid ')' + 1`
8000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8001 done
8002 case $ac_lo in
8003 ?*) ac_cv_sizeof_long=$ac_lo;;
8004 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8005 See \`config.log' for more details." >&5
8006 echo "$as_me: error: cannot compute sizeof (long), 77
8007 See \`config.log' for more details." >&2;}
8008 { (exit 1); exit 1; }; } ;;
8009 esac
8010 else
8011 if test "$cross_compiling" = yes; then
8012 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8013 See \`config.log' for more details." >&5
8014 echo "$as_me: error: cannot run test program while cross compiling
8015 See \`config.log' for more details." >&2;}
8016 { (exit 1); exit 1; }; }
8017 else
8018 cat >conftest.$ac_ext <<_ACEOF
8019 /* confdefs.h. */
8020 _ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 $ac_includes_default
8025 long longval () { return (long) (sizeof (long)); }
8026 unsigned long ulongval () { return (long) (sizeof (long)); }
8027 #include <stdio.h>
8028 #include <stdlib.h>
8030 main ()
8033 FILE *f = fopen ("conftest.val", "w");
8034 if (! f)
8035 exit (1);
8036 if (((long) (sizeof (long))) < 0)
8038 long i = longval ();
8039 if (i != ((long) (sizeof (long))))
8040 exit (1);
8041 fprintf (f, "%ld\n", i);
8043 else
8045 unsigned long i = ulongval ();
8046 if (i != ((long) (sizeof (long))))
8047 exit (1);
8048 fprintf (f, "%lu\n", i);
8050 exit (ferror (f) || fclose (f) != 0);
8053 return 0;
8055 _ACEOF
8056 rm -f conftest$ac_exeext
8057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8058 (eval $ac_link) 2>&5
8059 ac_status=$?
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 (eval $ac_try) 2>&5
8064 ac_status=$?
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); }; }; then
8067 ac_cv_sizeof_long=`cat conftest.val`
8068 else
8069 echo "$as_me: program exited with status $ac_status" >&5
8070 echo "$as_me: failed program was:" >&5
8071 sed 's/^/| /' conftest.$ac_ext >&5
8073 ( exit $ac_status )
8074 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8075 See \`config.log' for more details." >&5
8076 echo "$as_me: error: cannot compute sizeof (long), 77
8077 See \`config.log' for more details." >&2;}
8078 { (exit 1); exit 1; }; }
8080 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8083 rm -f conftest.val
8084 else
8085 ac_cv_sizeof_long=0
8088 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8089 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8090 cat >>confdefs.h <<_ACEOF
8091 #define SIZEOF_LONG $ac_cv_sizeof_long
8092 _ACEOF
8095 esac
8097 if test $acx_cv_header_stdint = stddef.h; then
8098 # Lacking a good header? Test size of everything and deduce all types.
8099 echo "$as_me:$LINENO: checking for int" >&5
8100 echo $ECHO_N "checking for int... $ECHO_C" >&6
8101 if test "${ac_cv_type_int+set}" = set; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 else
8104 cat >conftest.$ac_ext <<_ACEOF
8105 /* confdefs.h. */
8106 _ACEOF
8107 cat confdefs.h >>conftest.$ac_ext
8108 cat >>conftest.$ac_ext <<_ACEOF
8109 /* end confdefs.h. */
8110 $ac_includes_default
8112 main ()
8114 if ((int *) 0)
8115 return 0;
8116 if (sizeof (int))
8117 return 0;
8119 return 0;
8121 _ACEOF
8122 rm -f conftest.$ac_objext
8123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8124 (eval $ac_compile) 2>conftest.er1
8125 ac_status=$?
8126 grep -v '^ *+' conftest.er1 >conftest.err
8127 rm -f conftest.er1
8128 cat conftest.err >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } &&
8131 { ac_try='test -z "$ac_c_werror_flag"
8132 || test ! -s conftest.err'
8133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8134 (eval $ac_try) 2>&5
8135 ac_status=$?
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); }; } &&
8138 { ac_try='test -s conftest.$ac_objext'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 (eval $ac_try) 2>&5
8141 ac_status=$?
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 ac_cv_type_int=yes
8145 else
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 ac_cv_type_int=no
8151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8153 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8154 echo "${ECHO_T}$ac_cv_type_int" >&6
8156 echo "$as_me:$LINENO: checking size of int" >&5
8157 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8158 if test "${ac_cv_sizeof_int+set}" = set; then
8159 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 else
8161 if test "$ac_cv_type_int" = yes; then
8162 # The cast to unsigned long works around a bug in the HP C Compiler
8163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8165 # This bug is HP SR number 8606223364.
8166 if test "$cross_compiling" = yes; then
8167 # Depending upon the size, compute the lo and hi bounds.
8168 cat >conftest.$ac_ext <<_ACEOF
8169 /* confdefs.h. */
8170 _ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 $ac_includes_default
8176 main ()
8178 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8179 test_array [0] = 0
8182 return 0;
8184 _ACEOF
8185 rm -f conftest.$ac_objext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8187 (eval $ac_compile) 2>conftest.er1
8188 ac_status=$?
8189 grep -v '^ *+' conftest.er1 >conftest.err
8190 rm -f conftest.er1
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -z "$ac_c_werror_flag"
8195 || test ! -s conftest.err'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 (eval $ac_try) 2>&5
8198 ac_status=$?
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; } &&
8201 { ac_try='test -s conftest.$ac_objext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 (eval $ac_try) 2>&5
8204 ac_status=$?
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8207 ac_lo=0 ac_mid=0
8208 while :; do
8209 cat >conftest.$ac_ext <<_ACEOF
8210 /* confdefs.h. */
8211 _ACEOF
8212 cat confdefs.h >>conftest.$ac_ext
8213 cat >>conftest.$ac_ext <<_ACEOF
8214 /* end confdefs.h. */
8215 $ac_includes_default
8217 main ()
8219 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8220 test_array [0] = 0
8223 return 0;
8225 _ACEOF
8226 rm -f conftest.$ac_objext
8227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8228 (eval $ac_compile) 2>conftest.er1
8229 ac_status=$?
8230 grep -v '^ *+' conftest.er1 >conftest.err
8231 rm -f conftest.er1
8232 cat conftest.err >&5
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); } &&
8235 { ac_try='test -z "$ac_c_werror_flag"
8236 || test ! -s conftest.err'
8237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238 (eval $ac_try) 2>&5
8239 ac_status=$?
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); }; } &&
8242 { ac_try='test -s conftest.$ac_objext'
8243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 (eval $ac_try) 2>&5
8245 ac_status=$?
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); }; }; then
8248 ac_hi=$ac_mid; break
8249 else
8250 echo "$as_me: failed program was:" >&5
8251 sed 's/^/| /' conftest.$ac_ext >&5
8253 ac_lo=`expr $ac_mid + 1`
8254 if test $ac_lo -le $ac_mid; then
8255 ac_lo= ac_hi=
8256 break
8258 ac_mid=`expr 2 '*' $ac_mid + 1`
8260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8261 done
8262 else
8263 echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.$ac_ext >&5
8266 cat >conftest.$ac_ext <<_ACEOF
8267 /* confdefs.h. */
8268 _ACEOF
8269 cat confdefs.h >>conftest.$ac_ext
8270 cat >>conftest.$ac_ext <<_ACEOF
8271 /* end confdefs.h. */
8272 $ac_includes_default
8274 main ()
8276 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8277 test_array [0] = 0
8280 return 0;
8282 _ACEOF
8283 rm -f conftest.$ac_objext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8285 (eval $ac_compile) 2>conftest.er1
8286 ac_status=$?
8287 grep -v '^ *+' conftest.er1 >conftest.err
8288 rm -f conftest.er1
8289 cat conftest.err >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
8292 { ac_try='test -z "$ac_c_werror_flag"
8293 || test ! -s conftest.err'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 (eval $ac_try) 2>&5
8296 ac_status=$?
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try='test -s conftest.$ac_objext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 (eval $ac_try) 2>&5
8302 ac_status=$?
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
8305 ac_hi=-1 ac_mid=-1
8306 while :; do
8307 cat >conftest.$ac_ext <<_ACEOF
8308 /* confdefs.h. */
8309 _ACEOF
8310 cat confdefs.h >>conftest.$ac_ext
8311 cat >>conftest.$ac_ext <<_ACEOF
8312 /* end confdefs.h. */
8313 $ac_includes_default
8315 main ()
8317 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8318 test_array [0] = 0
8321 return 0;
8323 _ACEOF
8324 rm -f conftest.$ac_objext
8325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8326 (eval $ac_compile) 2>conftest.er1
8327 ac_status=$?
8328 grep -v '^ *+' conftest.er1 >conftest.err
8329 rm -f conftest.er1
8330 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } &&
8333 { ac_try='test -z "$ac_c_werror_flag"
8334 || test ! -s conftest.err'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8336 (eval $ac_try) 2>&5
8337 ac_status=$?
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; } &&
8340 { ac_try='test -s conftest.$ac_objext'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342 (eval $ac_try) 2>&5
8343 ac_status=$?
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; }; then
8346 ac_lo=$ac_mid; break
8347 else
8348 echo "$as_me: failed program was:" >&5
8349 sed 's/^/| /' conftest.$ac_ext >&5
8351 ac_hi=`expr '(' $ac_mid ')' - 1`
8352 if test $ac_mid -le $ac_hi; then
8353 ac_lo= ac_hi=
8354 break
8356 ac_mid=`expr 2 '*' $ac_mid`
8358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8359 done
8360 else
8361 echo "$as_me: failed program was:" >&5
8362 sed 's/^/| /' conftest.$ac_ext >&5
8364 ac_lo= ac_hi=
8366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8369 # Binary search between lo and hi bounds.
8370 while test "x$ac_lo" != "x$ac_hi"; do
8371 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8372 cat >conftest.$ac_ext <<_ACEOF
8373 /* confdefs.h. */
8374 _ACEOF
8375 cat confdefs.h >>conftest.$ac_ext
8376 cat >>conftest.$ac_ext <<_ACEOF
8377 /* end confdefs.h. */
8378 $ac_includes_default
8380 main ()
8382 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8383 test_array [0] = 0
8386 return 0;
8388 _ACEOF
8389 rm -f conftest.$ac_objext
8390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8391 (eval $ac_compile) 2>conftest.er1
8392 ac_status=$?
8393 grep -v '^ *+' conftest.er1 >conftest.err
8394 rm -f conftest.er1
8395 cat conftest.err >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); } &&
8398 { ac_try='test -z "$ac_c_werror_flag"
8399 || test ! -s conftest.err'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 (eval $ac_try) 2>&5
8402 ac_status=$?
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; } &&
8405 { ac_try='test -s conftest.$ac_objext'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 (eval $ac_try) 2>&5
8408 ac_status=$?
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 ac_hi=$ac_mid
8412 else
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8416 ac_lo=`expr '(' $ac_mid ')' + 1`
8418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8419 done
8420 case $ac_lo in
8421 ?*) ac_cv_sizeof_int=$ac_lo;;
8422 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8423 See \`config.log' for more details." >&5
8424 echo "$as_me: error: cannot compute sizeof (int), 77
8425 See \`config.log' for more details." >&2;}
8426 { (exit 1); exit 1; }; } ;;
8427 esac
8428 else
8429 if test "$cross_compiling" = yes; then
8430 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8431 See \`config.log' for more details." >&5
8432 echo "$as_me: error: cannot run test program while cross compiling
8433 See \`config.log' for more details." >&2;}
8434 { (exit 1); exit 1; }; }
8435 else
8436 cat >conftest.$ac_ext <<_ACEOF
8437 /* confdefs.h. */
8438 _ACEOF
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 $ac_includes_default
8443 long longval () { return (long) (sizeof (int)); }
8444 unsigned long ulongval () { return (long) (sizeof (int)); }
8445 #include <stdio.h>
8446 #include <stdlib.h>
8448 main ()
8451 FILE *f = fopen ("conftest.val", "w");
8452 if (! f)
8453 exit (1);
8454 if (((long) (sizeof (int))) < 0)
8456 long i = longval ();
8457 if (i != ((long) (sizeof (int))))
8458 exit (1);
8459 fprintf (f, "%ld\n", i);
8461 else
8463 unsigned long i = ulongval ();
8464 if (i != ((long) (sizeof (int))))
8465 exit (1);
8466 fprintf (f, "%lu\n", i);
8468 exit (ferror (f) || fclose (f) != 0);
8471 return 0;
8473 _ACEOF
8474 rm -f conftest$ac_exeext
8475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8476 (eval $ac_link) 2>&5
8477 ac_status=$?
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 (eval $ac_try) 2>&5
8482 ac_status=$?
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); }; }; then
8485 ac_cv_sizeof_int=`cat conftest.val`
8486 else
8487 echo "$as_me: program exited with status $ac_status" >&5
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8491 ( exit $ac_status )
8492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8493 See \`config.log' for more details." >&5
8494 echo "$as_me: error: cannot compute sizeof (int), 77
8495 See \`config.log' for more details." >&2;}
8496 { (exit 1); exit 1; }; }
8498 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8501 rm -f conftest.val
8502 else
8503 ac_cv_sizeof_int=0
8506 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8507 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8508 cat >>confdefs.h <<_ACEOF
8509 #define SIZEOF_INT $ac_cv_sizeof_int
8510 _ACEOF
8513 echo "$as_me:$LINENO: checking for short" >&5
8514 echo $ECHO_N "checking for short... $ECHO_C" >&6
8515 if test "${ac_cv_type_short+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 else
8518 cat >conftest.$ac_ext <<_ACEOF
8519 /* confdefs.h. */
8520 _ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8524 $ac_includes_default
8526 main ()
8528 if ((short *) 0)
8529 return 0;
8530 if (sizeof (short))
8531 return 0;
8533 return 0;
8535 _ACEOF
8536 rm -f conftest.$ac_objext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8538 (eval $ac_compile) 2>conftest.er1
8539 ac_status=$?
8540 grep -v '^ *+' conftest.er1 >conftest.err
8541 rm -f conftest.er1
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } &&
8545 { ac_try='test -z "$ac_c_werror_flag"
8546 || test ! -s conftest.err'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 (eval $ac_try) 2>&5
8549 ac_status=$?
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; } &&
8552 { ac_try='test -s conftest.$ac_objext'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 (eval $ac_try) 2>&5
8555 ac_status=$?
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; }; then
8558 ac_cv_type_short=yes
8559 else
8560 echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.$ac_ext >&5
8563 ac_cv_type_short=no
8565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8567 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8568 echo "${ECHO_T}$ac_cv_type_short" >&6
8570 echo "$as_me:$LINENO: checking size of short" >&5
8571 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8572 if test "${ac_cv_sizeof_short+set}" = set; then
8573 echo $ECHO_N "(cached) $ECHO_C" >&6
8574 else
8575 if test "$ac_cv_type_short" = yes; then
8576 # The cast to unsigned long works around a bug in the HP C Compiler
8577 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8578 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8579 # This bug is HP SR number 8606223364.
8580 if test "$cross_compiling" = yes; then
8581 # Depending upon the size, compute the lo and hi bounds.
8582 cat >conftest.$ac_ext <<_ACEOF
8583 /* confdefs.h. */
8584 _ACEOF
8585 cat confdefs.h >>conftest.$ac_ext
8586 cat >>conftest.$ac_ext <<_ACEOF
8587 /* end confdefs.h. */
8588 $ac_includes_default
8590 main ()
8592 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8593 test_array [0] = 0
8596 return 0;
8598 _ACEOF
8599 rm -f conftest.$ac_objext
8600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8601 (eval $ac_compile) 2>conftest.er1
8602 ac_status=$?
8603 grep -v '^ *+' conftest.er1 >conftest.err
8604 rm -f conftest.er1
8605 cat conftest.err >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try='test -z "$ac_c_werror_flag"
8609 || test ! -s conftest.err'
8610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611 (eval $ac_try) 2>&5
8612 ac_status=$?
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); }; } &&
8615 { ac_try='test -s conftest.$ac_objext'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8617 (eval $ac_try) 2>&5
8618 ac_status=$?
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; }; then
8621 ac_lo=0 ac_mid=0
8622 while :; do
8623 cat >conftest.$ac_ext <<_ACEOF
8624 /* confdefs.h. */
8625 _ACEOF
8626 cat confdefs.h >>conftest.$ac_ext
8627 cat >>conftest.$ac_ext <<_ACEOF
8628 /* end confdefs.h. */
8629 $ac_includes_default
8631 main ()
8633 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8634 test_array [0] = 0
8637 return 0;
8639 _ACEOF
8640 rm -f conftest.$ac_objext
8641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8642 (eval $ac_compile) 2>conftest.er1
8643 ac_status=$?
8644 grep -v '^ *+' conftest.er1 >conftest.err
8645 rm -f conftest.er1
8646 cat conftest.err >&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); } &&
8649 { ac_try='test -z "$ac_c_werror_flag"
8650 || test ! -s conftest.err'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 (eval $ac_try) 2>&5
8653 ac_status=$?
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; } &&
8656 { ac_try='test -s conftest.$ac_objext'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 (eval $ac_try) 2>&5
8659 ac_status=$?
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; }; then
8662 ac_hi=$ac_mid; break
8663 else
8664 echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.$ac_ext >&5
8667 ac_lo=`expr $ac_mid + 1`
8668 if test $ac_lo -le $ac_mid; then
8669 ac_lo= ac_hi=
8670 break
8672 ac_mid=`expr 2 '*' $ac_mid + 1`
8674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8675 done
8676 else
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.$ac_ext >&5
8680 cat >conftest.$ac_ext <<_ACEOF
8681 /* confdefs.h. */
8682 _ACEOF
8683 cat confdefs.h >>conftest.$ac_ext
8684 cat >>conftest.$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8686 $ac_includes_default
8688 main ()
8690 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8691 test_array [0] = 0
8694 return 0;
8696 _ACEOF
8697 rm -f conftest.$ac_objext
8698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8699 (eval $ac_compile) 2>conftest.er1
8700 ac_status=$?
8701 grep -v '^ *+' conftest.er1 >conftest.err
8702 rm -f conftest.er1
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } &&
8706 { ac_try='test -z "$ac_c_werror_flag"
8707 || test ! -s conftest.err'
8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 (eval $ac_try) 2>&5
8710 ac_status=$?
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); }; } &&
8713 { ac_try='test -s conftest.$ac_objext'
8714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 (eval $ac_try) 2>&5
8716 ac_status=$?
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); }; }; then
8719 ac_hi=-1 ac_mid=-1
8720 while :; do
8721 cat >conftest.$ac_ext <<_ACEOF
8722 /* confdefs.h. */
8723 _ACEOF
8724 cat confdefs.h >>conftest.$ac_ext
8725 cat >>conftest.$ac_ext <<_ACEOF
8726 /* end confdefs.h. */
8727 $ac_includes_default
8729 main ()
8731 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8732 test_array [0] = 0
8735 return 0;
8737 _ACEOF
8738 rm -f conftest.$ac_objext
8739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8740 (eval $ac_compile) 2>conftest.er1
8741 ac_status=$?
8742 grep -v '^ *+' conftest.er1 >conftest.err
8743 rm -f conftest.er1
8744 cat conftest.err >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } &&
8747 { ac_try='test -z "$ac_c_werror_flag"
8748 || test ! -s conftest.err'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 (eval $ac_try) 2>&5
8751 ac_status=$?
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; } &&
8754 { ac_try='test -s conftest.$ac_objext'
8755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8756 (eval $ac_try) 2>&5
8757 ac_status=$?
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); }; }; then
8760 ac_lo=$ac_mid; break
8761 else
8762 echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.$ac_ext >&5
8765 ac_hi=`expr '(' $ac_mid ')' - 1`
8766 if test $ac_mid -le $ac_hi; then
8767 ac_lo= ac_hi=
8768 break
8770 ac_mid=`expr 2 '*' $ac_mid`
8772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8773 done
8774 else
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.$ac_ext >&5
8778 ac_lo= ac_hi=
8780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8783 # Binary search between lo and hi bounds.
8784 while test "x$ac_lo" != "x$ac_hi"; do
8785 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8786 cat >conftest.$ac_ext <<_ACEOF
8787 /* confdefs.h. */
8788 _ACEOF
8789 cat confdefs.h >>conftest.$ac_ext
8790 cat >>conftest.$ac_ext <<_ACEOF
8791 /* end confdefs.h. */
8792 $ac_includes_default
8794 main ()
8796 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8797 test_array [0] = 0
8800 return 0;
8802 _ACEOF
8803 rm -f conftest.$ac_objext
8804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8805 (eval $ac_compile) 2>conftest.er1
8806 ac_status=$?
8807 grep -v '^ *+' conftest.er1 >conftest.err
8808 rm -f conftest.er1
8809 cat conftest.err >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } &&
8812 { ac_try='test -z "$ac_c_werror_flag"
8813 || test ! -s conftest.err'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8815 (eval $ac_try) 2>&5
8816 ac_status=$?
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; } &&
8819 { ac_try='test -s conftest.$ac_objext'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8821 (eval $ac_try) 2>&5
8822 ac_status=$?
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; }; then
8825 ac_hi=$ac_mid
8826 else
8827 echo "$as_me: failed program was:" >&5
8828 sed 's/^/| /' conftest.$ac_ext >&5
8830 ac_lo=`expr '(' $ac_mid ')' + 1`
8832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8833 done
8834 case $ac_lo in
8835 ?*) ac_cv_sizeof_short=$ac_lo;;
8836 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8837 See \`config.log' for more details." >&5
8838 echo "$as_me: error: cannot compute sizeof (short), 77
8839 See \`config.log' for more details." >&2;}
8840 { (exit 1); exit 1; }; } ;;
8841 esac
8842 else
8843 if test "$cross_compiling" = yes; then
8844 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8845 See \`config.log' for more details." >&5
8846 echo "$as_me: error: cannot run test program while cross compiling
8847 See \`config.log' for more details." >&2;}
8848 { (exit 1); exit 1; }; }
8849 else
8850 cat >conftest.$ac_ext <<_ACEOF
8851 /* confdefs.h. */
8852 _ACEOF
8853 cat confdefs.h >>conftest.$ac_ext
8854 cat >>conftest.$ac_ext <<_ACEOF
8855 /* end confdefs.h. */
8856 $ac_includes_default
8857 long longval () { return (long) (sizeof (short)); }
8858 unsigned long ulongval () { return (long) (sizeof (short)); }
8859 #include <stdio.h>
8860 #include <stdlib.h>
8862 main ()
8865 FILE *f = fopen ("conftest.val", "w");
8866 if (! f)
8867 exit (1);
8868 if (((long) (sizeof (short))) < 0)
8870 long i = longval ();
8871 if (i != ((long) (sizeof (short))))
8872 exit (1);
8873 fprintf (f, "%ld\n", i);
8875 else
8877 unsigned long i = ulongval ();
8878 if (i != ((long) (sizeof (short))))
8879 exit (1);
8880 fprintf (f, "%lu\n", i);
8882 exit (ferror (f) || fclose (f) != 0);
8885 return 0;
8887 _ACEOF
8888 rm -f conftest$ac_exeext
8889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8890 (eval $ac_link) 2>&5
8891 ac_status=$?
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 (eval $ac_try) 2>&5
8896 ac_status=$?
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; }; then
8899 ac_cv_sizeof_short=`cat conftest.val`
8900 else
8901 echo "$as_me: program exited with status $ac_status" >&5
8902 echo "$as_me: failed program was:" >&5
8903 sed 's/^/| /' conftest.$ac_ext >&5
8905 ( exit $ac_status )
8906 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8907 See \`config.log' for more details." >&5
8908 echo "$as_me: error: cannot compute sizeof (short), 77
8909 See \`config.log' for more details." >&2;}
8910 { (exit 1); exit 1; }; }
8912 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8915 rm -f conftest.val
8916 else
8917 ac_cv_sizeof_short=0
8920 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8921 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8922 cat >>confdefs.h <<_ACEOF
8923 #define SIZEOF_SHORT $ac_cv_sizeof_short
8924 _ACEOF
8927 echo "$as_me:$LINENO: checking for char" >&5
8928 echo $ECHO_N "checking for char... $ECHO_C" >&6
8929 if test "${ac_cv_type_char+set}" = set; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 else
8932 cat >conftest.$ac_ext <<_ACEOF
8933 /* confdefs.h. */
8934 _ACEOF
8935 cat confdefs.h >>conftest.$ac_ext
8936 cat >>conftest.$ac_ext <<_ACEOF
8937 /* end confdefs.h. */
8938 $ac_includes_default
8940 main ()
8942 if ((char *) 0)
8943 return 0;
8944 if (sizeof (char))
8945 return 0;
8947 return 0;
8949 _ACEOF
8950 rm -f conftest.$ac_objext
8951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8952 (eval $ac_compile) 2>conftest.er1
8953 ac_status=$?
8954 grep -v '^ *+' conftest.er1 >conftest.err
8955 rm -f conftest.er1
8956 cat conftest.err >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } &&
8959 { ac_try='test -z "$ac_c_werror_flag"
8960 || test ! -s conftest.err'
8961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8962 (eval $ac_try) 2>&5
8963 ac_status=$?
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); }; } &&
8966 { ac_try='test -s conftest.$ac_objext'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968 (eval $ac_try) 2>&5
8969 ac_status=$?
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then
8972 ac_cv_type_char=yes
8973 else
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.$ac_ext >&5
8977 ac_cv_type_char=no
8979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8981 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
8982 echo "${ECHO_T}$ac_cv_type_char" >&6
8984 echo "$as_me:$LINENO: checking size of char" >&5
8985 echo $ECHO_N "checking size of char... $ECHO_C" >&6
8986 if test "${ac_cv_sizeof_char+set}" = set; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 else
8989 if test "$ac_cv_type_char" = yes; then
8990 # The cast to unsigned long works around a bug in the HP C Compiler
8991 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8992 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8993 # This bug is HP SR number 8606223364.
8994 if test "$cross_compiling" = yes; then
8995 # Depending upon the size, compute the lo and hi bounds.
8996 cat >conftest.$ac_ext <<_ACEOF
8997 /* confdefs.h. */
8998 _ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9002 $ac_includes_default
9004 main ()
9006 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9007 test_array [0] = 0
9010 return 0;
9012 _ACEOF
9013 rm -f conftest.$ac_objext
9014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9015 (eval $ac_compile) 2>conftest.er1
9016 ac_status=$?
9017 grep -v '^ *+' conftest.er1 >conftest.err
9018 rm -f conftest.er1
9019 cat conftest.err >&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); } &&
9022 { ac_try='test -z "$ac_c_werror_flag"
9023 || test ! -s conftest.err'
9024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9025 (eval $ac_try) 2>&5
9026 ac_status=$?
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); }; } &&
9029 { ac_try='test -s conftest.$ac_objext'
9030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 (eval $ac_try) 2>&5
9032 ac_status=$?
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); }; }; then
9035 ac_lo=0 ac_mid=0
9036 while :; do
9037 cat >conftest.$ac_ext <<_ACEOF
9038 /* confdefs.h. */
9039 _ACEOF
9040 cat confdefs.h >>conftest.$ac_ext
9041 cat >>conftest.$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9043 $ac_includes_default
9045 main ()
9047 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9048 test_array [0] = 0
9051 return 0;
9053 _ACEOF
9054 rm -f conftest.$ac_objext
9055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9056 (eval $ac_compile) 2>conftest.er1
9057 ac_status=$?
9058 grep -v '^ *+' conftest.er1 >conftest.err
9059 rm -f conftest.er1
9060 cat conftest.err >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); } &&
9063 { ac_try='test -z "$ac_c_werror_flag"
9064 || test ! -s conftest.err'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 (eval $ac_try) 2>&5
9067 ac_status=$?
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; } &&
9070 { ac_try='test -s conftest.$ac_objext'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072 (eval $ac_try) 2>&5
9073 ac_status=$?
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; }; then
9076 ac_hi=$ac_mid; break
9077 else
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9081 ac_lo=`expr $ac_mid + 1`
9082 if test $ac_lo -le $ac_mid; then
9083 ac_lo= ac_hi=
9084 break
9086 ac_mid=`expr 2 '*' $ac_mid + 1`
9088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9089 done
9090 else
9091 echo "$as_me: failed program was:" >&5
9092 sed 's/^/| /' conftest.$ac_ext >&5
9094 cat >conftest.$ac_ext <<_ACEOF
9095 /* confdefs.h. */
9096 _ACEOF
9097 cat confdefs.h >>conftest.$ac_ext
9098 cat >>conftest.$ac_ext <<_ACEOF
9099 /* end confdefs.h. */
9100 $ac_includes_default
9102 main ()
9104 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9105 test_array [0] = 0
9108 return 0;
9110 _ACEOF
9111 rm -f conftest.$ac_objext
9112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9113 (eval $ac_compile) 2>conftest.er1
9114 ac_status=$?
9115 grep -v '^ *+' conftest.er1 >conftest.err
9116 rm -f conftest.er1
9117 cat conftest.err >&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); } &&
9120 { ac_try='test -z "$ac_c_werror_flag"
9121 || test ! -s conftest.err'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 (eval $ac_try) 2>&5
9124 ac_status=$?
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; } &&
9127 { ac_try='test -s conftest.$ac_objext'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 (eval $ac_try) 2>&5
9130 ac_status=$?
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; }; then
9133 ac_hi=-1 ac_mid=-1
9134 while :; do
9135 cat >conftest.$ac_ext <<_ACEOF
9136 /* confdefs.h. */
9137 _ACEOF
9138 cat confdefs.h >>conftest.$ac_ext
9139 cat >>conftest.$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9141 $ac_includes_default
9143 main ()
9145 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9146 test_array [0] = 0
9149 return 0;
9151 _ACEOF
9152 rm -f conftest.$ac_objext
9153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9154 (eval $ac_compile) 2>conftest.er1
9155 ac_status=$?
9156 grep -v '^ *+' conftest.er1 >conftest.err
9157 rm -f conftest.er1
9158 cat conftest.err >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } &&
9161 { ac_try='test -z "$ac_c_werror_flag"
9162 || test ! -s conftest.err'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 (eval $ac_try) 2>&5
9165 ac_status=$?
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; } &&
9168 { ac_try='test -s conftest.$ac_objext'
9169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 (eval $ac_try) 2>&5
9171 ac_status=$?
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); }; }; then
9174 ac_lo=$ac_mid; break
9175 else
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_hi=`expr '(' $ac_mid ')' - 1`
9180 if test $ac_mid -le $ac_hi; then
9181 ac_lo= ac_hi=
9182 break
9184 ac_mid=`expr 2 '*' $ac_mid`
9186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9187 done
9188 else
9189 echo "$as_me: failed program was:" >&5
9190 sed 's/^/| /' conftest.$ac_ext >&5
9192 ac_lo= ac_hi=
9194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9197 # Binary search between lo and hi bounds.
9198 while test "x$ac_lo" != "x$ac_hi"; do
9199 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9200 cat >conftest.$ac_ext <<_ACEOF
9201 /* confdefs.h. */
9202 _ACEOF
9203 cat confdefs.h >>conftest.$ac_ext
9204 cat >>conftest.$ac_ext <<_ACEOF
9205 /* end confdefs.h. */
9206 $ac_includes_default
9208 main ()
9210 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9211 test_array [0] = 0
9214 return 0;
9216 _ACEOF
9217 rm -f conftest.$ac_objext
9218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9219 (eval $ac_compile) 2>conftest.er1
9220 ac_status=$?
9221 grep -v '^ *+' conftest.er1 >conftest.err
9222 rm -f conftest.er1
9223 cat conftest.err >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); } &&
9226 { ac_try='test -z "$ac_c_werror_flag"
9227 || test ! -s conftest.err'
9228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229 (eval $ac_try) 2>&5
9230 ac_status=$?
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); }; } &&
9233 { ac_try='test -s conftest.$ac_objext'
9234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235 (eval $ac_try) 2>&5
9236 ac_status=$?
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; }; then
9239 ac_hi=$ac_mid
9240 else
9241 echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.$ac_ext >&5
9244 ac_lo=`expr '(' $ac_mid ')' + 1`
9246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9247 done
9248 case $ac_lo in
9249 ?*) ac_cv_sizeof_char=$ac_lo;;
9250 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9251 See \`config.log' for more details." >&5
9252 echo "$as_me: error: cannot compute sizeof (char), 77
9253 See \`config.log' for more details." >&2;}
9254 { (exit 1); exit 1; }; } ;;
9255 esac
9256 else
9257 if test "$cross_compiling" = yes; then
9258 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9259 See \`config.log' for more details." >&5
9260 echo "$as_me: error: cannot run test program while cross compiling
9261 See \`config.log' for more details." >&2;}
9262 { (exit 1); exit 1; }; }
9263 else
9264 cat >conftest.$ac_ext <<_ACEOF
9265 /* confdefs.h. */
9266 _ACEOF
9267 cat confdefs.h >>conftest.$ac_ext
9268 cat >>conftest.$ac_ext <<_ACEOF
9269 /* end confdefs.h. */
9270 $ac_includes_default
9271 long longval () { return (long) (sizeof (char)); }
9272 unsigned long ulongval () { return (long) (sizeof (char)); }
9273 #include <stdio.h>
9274 #include <stdlib.h>
9276 main ()
9279 FILE *f = fopen ("conftest.val", "w");
9280 if (! f)
9281 exit (1);
9282 if (((long) (sizeof (char))) < 0)
9284 long i = longval ();
9285 if (i != ((long) (sizeof (char))))
9286 exit (1);
9287 fprintf (f, "%ld\n", i);
9289 else
9291 unsigned long i = ulongval ();
9292 if (i != ((long) (sizeof (char))))
9293 exit (1);
9294 fprintf (f, "%lu\n", i);
9296 exit (ferror (f) || fclose (f) != 0);
9299 return 0;
9301 _ACEOF
9302 rm -f conftest$ac_exeext
9303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9304 (eval $ac_link) 2>&5
9305 ac_status=$?
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 (eval $ac_try) 2>&5
9310 ac_status=$?
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; }; then
9313 ac_cv_sizeof_char=`cat conftest.val`
9314 else
9315 echo "$as_me: program exited with status $ac_status" >&5
9316 echo "$as_me: failed program was:" >&5
9317 sed 's/^/| /' conftest.$ac_ext >&5
9319 ( exit $ac_status )
9320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9321 See \`config.log' for more details." >&5
9322 echo "$as_me: error: cannot compute sizeof (char), 77
9323 See \`config.log' for more details." >&2;}
9324 { (exit 1); exit 1; }; }
9326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9329 rm -f conftest.val
9330 else
9331 ac_cv_sizeof_char=0
9334 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9335 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9336 cat >>confdefs.h <<_ACEOF
9337 #define SIZEOF_CHAR $ac_cv_sizeof_char
9338 _ACEOF
9342 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9343 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9344 case "$ac_cv_sizeof_char" in
9345 1) acx_cv_type_int8_t=char ;;
9346 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9347 echo "$as_me: error: no 8-bit type" >&2;}
9348 { (exit please report a bug); exit please report a bug; }; }
9349 esac
9350 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9351 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9353 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9354 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9355 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9356 2:*) acx_cv_type_int16_t=int ;;
9357 *:2) acx_cv_type_int16_t=short ;;
9358 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9359 echo "$as_me: error: no 16-bit type" >&2;}
9360 { (exit please report a bug); exit please report a bug; }; }
9361 esac
9362 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9363 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9365 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9366 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9367 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9368 4:*) acx_cv_type_int32_t=int ;;
9369 *:4) acx_cv_type_int32_t=long ;;
9370 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9371 echo "$as_me: error: no 32-bit type" >&2;}
9372 { (exit please report a bug); exit please report a bug; }; }
9373 esac
9374 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9375 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9378 # These tests are here to make the output prettier
9380 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9381 case "$ac_cv_sizeof_long" in
9382 8) acx_cv_type_int64_t=long ;;
9383 esac
9384 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9385 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9386 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9387 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9390 # Now we can use the above types
9392 if test "$ac_cv_type_uintptr_t" != yes; then
9393 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9394 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9395 case $ac_cv_sizeof_void_p in
9396 2) acx_cv_type_intptr_t=int16_t ;;
9397 4) acx_cv_type_intptr_t=int32_t ;;
9398 8) acx_cv_type_intptr_t=int64_t ;;
9399 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9400 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9401 { (exit please report a bug); exit please report a bug; }; }
9402 esac
9403 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9404 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9407 # ----------------- done all checks, emit header -------------
9408 ac_config_commands="$ac_config_commands gstdint.h"
9413 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9414 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9415 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9416 echo $ECHO_N "(cached) $ECHO_C" >&6
9417 else
9418 cat >conftest.$ac_ext <<_ACEOF
9419 /* confdefs.h. */
9420 _ACEOF
9421 cat confdefs.h >>conftest.$ac_ext
9422 cat >>conftest.$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9424 $ac_includes_default
9426 main ()
9428 static struct stat ac_aggr;
9429 if (ac_aggr.st_blksize)
9430 return 0;
9432 return 0;
9434 _ACEOF
9435 rm -f conftest.$ac_objext
9436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9437 (eval $ac_compile) 2>conftest.er1
9438 ac_status=$?
9439 grep -v '^ *+' conftest.er1 >conftest.err
9440 rm -f conftest.er1
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } &&
9444 { ac_try='test -z "$ac_c_werror_flag"
9445 || test ! -s conftest.err'
9446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447 (eval $ac_try) 2>&5
9448 ac_status=$?
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); }; } &&
9451 { ac_try='test -s conftest.$ac_objext'
9452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9453 (eval $ac_try) 2>&5
9454 ac_status=$?
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); }; }; then
9457 ac_cv_member_struct_stat_st_blksize=yes
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 struct stat ac_aggr;
9473 if (sizeof ac_aggr.st_blksize)
9474 return 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_cv_member_struct_stat_st_blksize=yes
9502 else
9503 echo "$as_me: failed program was:" >&5
9504 sed 's/^/| /' conftest.$ac_ext >&5
9506 ac_cv_member_struct_stat_st_blksize=no
9508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9512 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9513 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9514 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9516 cat >>confdefs.h <<_ACEOF
9517 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9518 _ACEOF
9523 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9524 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9525 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9526 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 else
9528 cat >conftest.$ac_ext <<_ACEOF
9529 /* confdefs.h. */
9530 _ACEOF
9531 cat confdefs.h >>conftest.$ac_ext
9532 cat >>conftest.$ac_ext <<_ACEOF
9533 /* end confdefs.h. */
9534 $ac_includes_default
9536 main ()
9538 static struct stat ac_aggr;
9539 if (ac_aggr.st_blocks)
9540 return 0;
9542 return 0;
9544 _ACEOF
9545 rm -f conftest.$ac_objext
9546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9547 (eval $ac_compile) 2>conftest.er1
9548 ac_status=$?
9549 grep -v '^ *+' conftest.er1 >conftest.err
9550 rm -f conftest.er1
9551 cat conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } &&
9554 { ac_try='test -z "$ac_c_werror_flag"
9555 || test ! -s conftest.err'
9556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 (eval $ac_try) 2>&5
9558 ac_status=$?
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); }; } &&
9561 { ac_try='test -s conftest.$ac_objext'
9562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 (eval $ac_try) 2>&5
9564 ac_status=$?
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); }; }; then
9567 ac_cv_member_struct_stat_st_blocks=yes
9568 else
9569 echo "$as_me: failed program was:" >&5
9570 sed 's/^/| /' conftest.$ac_ext >&5
9572 cat >conftest.$ac_ext <<_ACEOF
9573 /* confdefs.h. */
9574 _ACEOF
9575 cat confdefs.h >>conftest.$ac_ext
9576 cat >>conftest.$ac_ext <<_ACEOF
9577 /* end confdefs.h. */
9578 $ac_includes_default
9580 main ()
9582 static struct stat ac_aggr;
9583 if (sizeof ac_aggr.st_blocks)
9584 return 0;
9586 return 0;
9588 _ACEOF
9589 rm -f conftest.$ac_objext
9590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9591 (eval $ac_compile) 2>conftest.er1
9592 ac_status=$?
9593 grep -v '^ *+' conftest.er1 >conftest.err
9594 rm -f conftest.er1
9595 cat conftest.err >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); } &&
9598 { ac_try='test -z "$ac_c_werror_flag"
9599 || test ! -s conftest.err'
9600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9601 (eval $ac_try) 2>&5
9602 ac_status=$?
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); }; } &&
9605 { ac_try='test -s conftest.$ac_objext'
9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 (eval $ac_try) 2>&5
9608 ac_status=$?
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); }; }; then
9611 ac_cv_member_struct_stat_st_blocks=yes
9612 else
9613 echo "$as_me: failed program was:" >&5
9614 sed 's/^/| /' conftest.$ac_ext >&5
9616 ac_cv_member_struct_stat_st_blocks=no
9618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9622 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9623 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9624 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9626 cat >>confdefs.h <<_ACEOF
9627 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9628 _ACEOF
9633 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9634 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9635 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9636 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 else
9638 cat >conftest.$ac_ext <<_ACEOF
9639 /* confdefs.h. */
9640 _ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9644 $ac_includes_default
9646 main ()
9648 static struct stat ac_aggr;
9649 if (ac_aggr.st_rdev)
9650 return 0;
9652 return 0;
9654 _ACEOF
9655 rm -f conftest.$ac_objext
9656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9657 (eval $ac_compile) 2>conftest.er1
9658 ac_status=$?
9659 grep -v '^ *+' conftest.er1 >conftest.err
9660 rm -f conftest.er1
9661 cat conftest.err >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } &&
9664 { ac_try='test -z "$ac_c_werror_flag"
9665 || test ! -s conftest.err'
9666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9667 (eval $ac_try) 2>&5
9668 ac_status=$?
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; } &&
9671 { ac_try='test -s conftest.$ac_objext'
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9673 (eval $ac_try) 2>&5
9674 ac_status=$?
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; }; then
9677 ac_cv_member_struct_stat_st_rdev=yes
9678 else
9679 echo "$as_me: failed program was:" >&5
9680 sed 's/^/| /' conftest.$ac_ext >&5
9682 cat >conftest.$ac_ext <<_ACEOF
9683 /* confdefs.h. */
9684 _ACEOF
9685 cat confdefs.h >>conftest.$ac_ext
9686 cat >>conftest.$ac_ext <<_ACEOF
9687 /* end confdefs.h. */
9688 $ac_includes_default
9690 main ()
9692 static struct stat ac_aggr;
9693 if (sizeof ac_aggr.st_rdev)
9694 return 0;
9696 return 0;
9698 _ACEOF
9699 rm -f conftest.$ac_objext
9700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9701 (eval $ac_compile) 2>conftest.er1
9702 ac_status=$?
9703 grep -v '^ *+' conftest.er1 >conftest.err
9704 rm -f conftest.er1
9705 cat conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } &&
9708 { ac_try='test -z "$ac_c_werror_flag"
9709 || test ! -s conftest.err'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9711 (eval $ac_try) 2>&5
9712 ac_status=$?
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; } &&
9715 { ac_try='test -s conftest.$ac_objext'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 (eval $ac_try) 2>&5
9718 ac_status=$?
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; }; then
9721 ac_cv_member_struct_stat_st_rdev=yes
9722 else
9723 echo "$as_me: failed program was:" >&5
9724 sed 's/^/| /' conftest.$ac_ext >&5
9726 ac_cv_member_struct_stat_st_rdev=no
9728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9732 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9733 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9734 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9736 cat >>confdefs.h <<_ACEOF
9737 #define HAVE_STRUCT_STAT_ST_RDEV 1
9738 _ACEOF
9744 # Check for library functions.
9753 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9756 echo "$as_me:$LINENO: checking for $ac_func" >&5
9757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9758 if eval "test \"\${$as_ac_var+set}\" = set"; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 else
9761 if test x$gcc_no_link = xyes; then
9762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9764 { (exit 1); exit 1; }; }
9766 cat >conftest.$ac_ext <<_ACEOF
9767 /* confdefs.h. */
9768 _ACEOF
9769 cat confdefs.h >>conftest.$ac_ext
9770 cat >>conftest.$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9774 #define $ac_func innocuous_$ac_func
9776 /* System header to define __stub macros and hopefully few prototypes,
9777 which can conflict with char $ac_func (); below.
9778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9779 <limits.h> exists even on freestanding compilers. */
9781 #ifdef __STDC__
9782 # include <limits.h>
9783 #else
9784 # include <assert.h>
9785 #endif
9787 #undef $ac_func
9789 /* Override any gcc2 internal prototype to avoid an error. */
9790 #ifdef __cplusplus
9791 extern "C"
9793 #endif
9794 /* We use char because int might match the return type of a gcc2
9795 builtin and then its argument prototype would still apply. */
9796 char $ac_func ();
9797 /* The GNU C library defines this for functions which it implements
9798 to always fail with ENOSYS. Some functions are actually named
9799 something starting with __ and the normal name is an alias. */
9800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9801 choke me
9802 #else
9803 char (*f) () = $ac_func;
9804 #endif
9805 #ifdef __cplusplus
9807 #endif
9810 main ()
9812 return f != $ac_func;
9814 return 0;
9816 _ACEOF
9817 rm -f conftest.$ac_objext conftest$ac_exeext
9818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9819 (eval $ac_link) 2>conftest.er1
9820 ac_status=$?
9821 grep -v '^ *+' conftest.er1 >conftest.err
9822 rm -f conftest.er1
9823 cat conftest.err >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); } &&
9826 { ac_try='test -z "$ac_c_werror_flag"
9827 || test ! -s conftest.err'
9828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9829 (eval $ac_try) 2>&5
9830 ac_status=$?
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); }; } &&
9833 { ac_try='test -s conftest$ac_exeext'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 (eval $ac_try) 2>&5
9836 ac_status=$?
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; }; then
9839 eval "$as_ac_var=yes"
9840 else
9841 echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9844 eval "$as_ac_var=no"
9846 rm -f conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9851 if test `eval echo '${'$as_ac_var'}'` = yes; then
9852 cat >>confdefs.h <<_ACEOF
9853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9854 _ACEOF
9857 done
9867 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
9869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9870 echo "$as_me:$LINENO: checking for $ac_func" >&5
9871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9872 if eval "test \"\${$as_ac_var+set}\" = set"; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 else
9875 if test x$gcc_no_link = xyes; then
9876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9878 { (exit 1); exit 1; }; }
9880 cat >conftest.$ac_ext <<_ACEOF
9881 /* confdefs.h. */
9882 _ACEOF
9883 cat confdefs.h >>conftest.$ac_ext
9884 cat >>conftest.$ac_ext <<_ACEOF
9885 /* end confdefs.h. */
9886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9888 #define $ac_func innocuous_$ac_func
9890 /* System header to define __stub macros and hopefully few prototypes,
9891 which can conflict with char $ac_func (); below.
9892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9893 <limits.h> exists even on freestanding compilers. */
9895 #ifdef __STDC__
9896 # include <limits.h>
9897 #else
9898 # include <assert.h>
9899 #endif
9901 #undef $ac_func
9903 /* Override any gcc2 internal prototype to avoid an error. */
9904 #ifdef __cplusplus
9905 extern "C"
9907 #endif
9908 /* We use char because int might match the return type of a gcc2
9909 builtin and then its argument prototype would still apply. */
9910 char $ac_func ();
9911 /* The GNU C library defines this for functions which it implements
9912 to always fail with ENOSYS. Some functions are actually named
9913 something starting with __ and the normal name is an alias. */
9914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9915 choke me
9916 #else
9917 char (*f) () = $ac_func;
9918 #endif
9919 #ifdef __cplusplus
9921 #endif
9924 main ()
9926 return f != $ac_func;
9928 return 0;
9930 _ACEOF
9931 rm -f conftest.$ac_objext conftest$ac_exeext
9932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9933 (eval $ac_link) 2>conftest.er1
9934 ac_status=$?
9935 grep -v '^ *+' conftest.er1 >conftest.err
9936 rm -f conftest.er1
9937 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } &&
9940 { ac_try='test -z "$ac_c_werror_flag"
9941 || test ! -s conftest.err'
9942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9943 (eval $ac_try) 2>&5
9944 ac_status=$?
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; } &&
9947 { ac_try='test -s conftest$ac_exeext'
9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 (eval $ac_try) 2>&5
9950 ac_status=$?
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; }; then
9953 eval "$as_ac_var=yes"
9954 else
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9958 eval "$as_ac_var=no"
9960 rm -f conftest.err conftest.$ac_objext \
9961 conftest$ac_exeext conftest.$ac_ext
9963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9965 if test `eval echo '${'$as_ac_var'}'` = yes; then
9966 cat >>confdefs.h <<_ACEOF
9967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9968 _ACEOF
9971 done
9983 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
9985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9986 echo "$as_me:$LINENO: checking for $ac_func" >&5
9987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9988 if eval "test \"\${$as_ac_var+set}\" = set"; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 else
9991 if test x$gcc_no_link = xyes; then
9992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9994 { (exit 1); exit 1; }; }
9996 cat >conftest.$ac_ext <<_ACEOF
9997 /* confdefs.h. */
9998 _ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10004 #define $ac_func innocuous_$ac_func
10006 /* System header to define __stub macros and hopefully few prototypes,
10007 which can conflict with char $ac_func (); below.
10008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10009 <limits.h> exists even on freestanding compilers. */
10011 #ifdef __STDC__
10012 # include <limits.h>
10013 #else
10014 # include <assert.h>
10015 #endif
10017 #undef $ac_func
10019 /* Override any gcc2 internal prototype to avoid an error. */
10020 #ifdef __cplusplus
10021 extern "C"
10023 #endif
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char $ac_func ();
10027 /* The GNU C library defines this for functions which it implements
10028 to always fail with ENOSYS. Some functions are actually named
10029 something starting with __ and the normal name is an alias. */
10030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10031 choke me
10032 #else
10033 char (*f) () = $ac_func;
10034 #endif
10035 #ifdef __cplusplus
10037 #endif
10040 main ()
10042 return f != $ac_func;
10044 return 0;
10046 _ACEOF
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10049 (eval $ac_link) 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag"
10057 || test ! -s conftest.err'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10060 ac_status=$?
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; } &&
10063 { ac_try='test -s conftest$ac_exeext'
10064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5
10066 ac_status=$?
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; }; then
10069 eval "$as_ac_var=yes"
10070 else
10071 echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10074 eval "$as_ac_var=no"
10076 rm -f conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10081 if test `eval echo '${'$as_ac_var'}'` = yes; then
10082 cat >>confdefs.h <<_ACEOF
10083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10084 _ACEOF
10087 done
10091 for ac_func in wait setmode
10093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10094 echo "$as_me:$LINENO: checking for $ac_func" >&5
10095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10096 if eval "test \"\${$as_ac_var+set}\" = set"; then
10097 echo $ECHO_N "(cached) $ECHO_C" >&6
10098 else
10099 if test x$gcc_no_link = xyes; then
10100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10102 { (exit 1); exit 1; }; }
10104 cat >conftest.$ac_ext <<_ACEOF
10105 /* confdefs.h. */
10106 _ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10112 #define $ac_func innocuous_$ac_func
10114 /* System header to define __stub macros and hopefully few prototypes,
10115 which can conflict with char $ac_func (); below.
10116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10117 <limits.h> exists even on freestanding compilers. */
10119 #ifdef __STDC__
10120 # include <limits.h>
10121 #else
10122 # include <assert.h>
10123 #endif
10125 #undef $ac_func
10127 /* Override any gcc2 internal prototype to avoid an error. */
10128 #ifdef __cplusplus
10129 extern "C"
10131 #endif
10132 /* We use char because int might match the return type of a gcc2
10133 builtin and then its argument prototype would still apply. */
10134 char $ac_func ();
10135 /* The GNU C library defines this for functions which it implements
10136 to always fail with ENOSYS. Some functions are actually named
10137 something starting with __ and the normal name is an alias. */
10138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10139 choke me
10140 #else
10141 char (*f) () = $ac_func;
10142 #endif
10143 #ifdef __cplusplus
10145 #endif
10148 main ()
10150 return f != $ac_func;
10152 return 0;
10154 _ACEOF
10155 rm -f conftest.$ac_objext conftest$ac_exeext
10156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10157 (eval $ac_link) 2>conftest.er1
10158 ac_status=$?
10159 grep -v '^ *+' conftest.er1 >conftest.err
10160 rm -f conftest.er1
10161 cat conftest.err >&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 (exit $ac_status); } &&
10164 { ac_try='test -z "$ac_c_werror_flag"
10165 || test ! -s conftest.err'
10166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10167 (eval $ac_try) 2>&5
10168 ac_status=$?
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); }; } &&
10171 { ac_try='test -s conftest$ac_exeext'
10172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10173 (eval $ac_try) 2>&5
10174 ac_status=$?
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); }; }; then
10177 eval "$as_ac_var=yes"
10178 else
10179 echo "$as_me: failed program was:" >&5
10180 sed 's/^/| /' conftest.$ac_ext >&5
10182 eval "$as_ac_var=no"
10184 rm -f conftest.err conftest.$ac_objext \
10185 conftest$ac_exeext conftest.$ac_ext
10187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10189 if test `eval echo '${'$as_ac_var'}'` = yes; then
10190 cat >>confdefs.h <<_ACEOF
10191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10192 _ACEOF
10195 done
10198 # Check for types
10199 echo "$as_me:$LINENO: checking for intptr_t" >&5
10200 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10201 if test "${ac_cv_type_intptr_t+set}" = set; then
10202 echo $ECHO_N "(cached) $ECHO_C" >&6
10203 else
10204 cat >conftest.$ac_ext <<_ACEOF
10205 /* confdefs.h. */
10206 _ACEOF
10207 cat confdefs.h >>conftest.$ac_ext
10208 cat >>conftest.$ac_ext <<_ACEOF
10209 /* end confdefs.h. */
10210 $ac_includes_default
10212 main ()
10214 if ((intptr_t *) 0)
10215 return 0;
10216 if (sizeof (intptr_t))
10217 return 0;
10219 return 0;
10221 _ACEOF
10222 rm -f conftest.$ac_objext
10223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10224 (eval $ac_compile) 2>conftest.er1
10225 ac_status=$?
10226 grep -v '^ *+' conftest.er1 >conftest.err
10227 rm -f conftest.er1
10228 cat conftest.err >&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); } &&
10231 { ac_try='test -z "$ac_c_werror_flag"
10232 || test ! -s conftest.err'
10233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10234 (eval $ac_try) 2>&5
10235 ac_status=$?
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); }; } &&
10238 { ac_try='test -s conftest.$ac_objext'
10239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10240 (eval $ac_try) 2>&5
10241 ac_status=$?
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); }; }; then
10244 ac_cv_type_intptr_t=yes
10245 else
10246 echo "$as_me: failed program was:" >&5
10247 sed 's/^/| /' conftest.$ac_ext >&5
10249 ac_cv_type_intptr_t=no
10251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10253 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10254 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10255 if test $ac_cv_type_intptr_t = yes; then
10257 cat >>confdefs.h <<_ACEOF
10258 #define HAVE_INTPTR_T 1
10259 _ACEOF
10265 # Check libc for getgid, getpid, getuid
10266 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10267 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10268 if test "${ac_cv_lib_c_getgid+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 else
10271 ac_check_lib_save_LIBS=$LIBS
10272 LIBS="-lc $LIBS"
10273 if test x$gcc_no_link = xyes; then
10274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10276 { (exit 1); exit 1; }; }
10278 cat >conftest.$ac_ext <<_ACEOF
10279 /* confdefs.h. */
10280 _ACEOF
10281 cat confdefs.h >>conftest.$ac_ext
10282 cat >>conftest.$ac_ext <<_ACEOF
10283 /* end confdefs.h. */
10285 /* Override any gcc2 internal prototype to avoid an error. */
10286 #ifdef __cplusplus
10287 extern "C"
10288 #endif
10289 /* We use char because int might match the return type of a gcc2
10290 builtin and then its argument prototype would still apply. */
10291 char getgid ();
10293 main ()
10295 getgid ();
10297 return 0;
10299 _ACEOF
10300 rm -f conftest.$ac_objext conftest$ac_exeext
10301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10302 (eval $ac_link) 2>conftest.er1
10303 ac_status=$?
10304 grep -v '^ *+' conftest.er1 >conftest.err
10305 rm -f conftest.er1
10306 cat conftest.err >&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); } &&
10309 { ac_try='test -z "$ac_c_werror_flag"
10310 || test ! -s conftest.err'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10313 ac_status=$?
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; } &&
10316 { ac_try='test -s conftest$ac_exeext'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10318 (eval $ac_try) 2>&5
10319 ac_status=$?
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; }; then
10322 ac_cv_lib_c_getgid=yes
10323 else
10324 echo "$as_me: failed program was:" >&5
10325 sed 's/^/| /' conftest.$ac_ext >&5
10327 ac_cv_lib_c_getgid=no
10329 rm -f conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_lib_save_LIBS
10333 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10334 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10335 if test $ac_cv_lib_c_getgid = yes; then
10337 cat >>confdefs.h <<\_ACEOF
10338 #define HAVE_GETGID 1
10339 _ACEOF
10343 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10344 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10345 if test "${ac_cv_lib_c_getpid+set}" = set; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10347 else
10348 ac_check_lib_save_LIBS=$LIBS
10349 LIBS="-lc $LIBS"
10350 if test x$gcc_no_link = xyes; then
10351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10353 { (exit 1); exit 1; }; }
10355 cat >conftest.$ac_ext <<_ACEOF
10356 /* confdefs.h. */
10357 _ACEOF
10358 cat confdefs.h >>conftest.$ac_ext
10359 cat >>conftest.$ac_ext <<_ACEOF
10360 /* end confdefs.h. */
10362 /* Override any gcc2 internal prototype to avoid an error. */
10363 #ifdef __cplusplus
10364 extern "C"
10365 #endif
10366 /* We use char because int might match the return type of a gcc2
10367 builtin and then its argument prototype would still apply. */
10368 char getpid ();
10370 main ()
10372 getpid ();
10374 return 0;
10376 _ACEOF
10377 rm -f conftest.$ac_objext conftest$ac_exeext
10378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10379 (eval $ac_link) 2>conftest.er1
10380 ac_status=$?
10381 grep -v '^ *+' conftest.er1 >conftest.err
10382 rm -f conftest.er1
10383 cat conftest.err >&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try='test -z "$ac_c_werror_flag"
10387 || test ! -s conftest.err'
10388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 (eval $ac_try) 2>&5
10390 ac_status=$?
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; } &&
10393 { ac_try='test -s conftest$ac_exeext'
10394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395 (eval $ac_try) 2>&5
10396 ac_status=$?
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); }; }; then
10399 ac_cv_lib_c_getpid=yes
10400 else
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10404 ac_cv_lib_c_getpid=no
10406 rm -f conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 LIBS=$ac_check_lib_save_LIBS
10410 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10411 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10412 if test $ac_cv_lib_c_getpid = yes; then
10414 cat >>confdefs.h <<\_ACEOF
10415 #define HAVE_GETPID 1
10416 _ACEOF
10420 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10421 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10422 if test "${ac_cv_lib_c_getuid+set}" = set; then
10423 echo $ECHO_N "(cached) $ECHO_C" >&6
10424 else
10425 ac_check_lib_save_LIBS=$LIBS
10426 LIBS="-lc $LIBS"
10427 if test x$gcc_no_link = xyes; then
10428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10430 { (exit 1); exit 1; }; }
10432 cat >conftest.$ac_ext <<_ACEOF
10433 /* confdefs.h. */
10434 _ACEOF
10435 cat confdefs.h >>conftest.$ac_ext
10436 cat >>conftest.$ac_ext <<_ACEOF
10437 /* end confdefs.h. */
10439 /* Override any gcc2 internal prototype to avoid an error. */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 /* We use char because int might match the return type of a gcc2
10444 builtin and then its argument prototype would still apply. */
10445 char getuid ();
10447 main ()
10449 getuid ();
10451 return 0;
10453 _ACEOF
10454 rm -f conftest.$ac_objext conftest$ac_exeext
10455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10456 (eval $ac_link) 2>conftest.er1
10457 ac_status=$?
10458 grep -v '^ *+' conftest.er1 >conftest.err
10459 rm -f conftest.er1
10460 cat conftest.err >&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try='test -z "$ac_c_werror_flag"
10464 || test ! -s conftest.err'
10465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466 (eval $ac_try) 2>&5
10467 ac_status=$?
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }; } &&
10470 { ac_try='test -s conftest$ac_exeext'
10471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5
10473 ac_status=$?
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }; }; then
10476 ac_cv_lib_c_getuid=yes
10477 else
10478 echo "$as_me: failed program was:" >&5
10479 sed 's/^/| /' conftest.$ac_ext >&5
10481 ac_cv_lib_c_getuid=no
10483 rm -f conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10487 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10488 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10489 if test $ac_cv_lib_c_getuid = yes; then
10491 cat >>confdefs.h <<\_ACEOF
10492 #define HAVE_GETUID 1
10493 _ACEOF
10498 # Check for C99 (and other IEEE) math functions
10499 # ??? This list seems awful long. Is there a better way to test for these?
10500 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10501 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10502 if test "${ac_cv_lib_m_acosf+set}" = set; then
10503 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 else
10505 ac_check_lib_save_LIBS=$LIBS
10506 LIBS="-lm $LIBS"
10507 if test x$gcc_no_link = xyes; then
10508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10510 { (exit 1); exit 1; }; }
10512 cat >conftest.$ac_ext <<_ACEOF
10513 /* confdefs.h. */
10514 _ACEOF
10515 cat confdefs.h >>conftest.$ac_ext
10516 cat >>conftest.$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10519 /* Override any gcc2 internal prototype to avoid an error. */
10520 #ifdef __cplusplus
10521 extern "C"
10522 #endif
10523 /* We use char because int might match the return type of a gcc2
10524 builtin and then its argument prototype would still apply. */
10525 char acosf ();
10527 main ()
10529 acosf ();
10531 return 0;
10533 _ACEOF
10534 rm -f conftest.$ac_objext conftest$ac_exeext
10535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10536 (eval $ac_link) 2>conftest.er1
10537 ac_status=$?
10538 grep -v '^ *+' conftest.er1 >conftest.err
10539 rm -f conftest.er1
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } &&
10543 { ac_try='test -z "$ac_c_werror_flag"
10544 || test ! -s conftest.err'
10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10546 (eval $ac_try) 2>&5
10547 ac_status=$?
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); }; } &&
10550 { ac_try='test -s conftest$ac_exeext'
10551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10552 (eval $ac_try) 2>&5
10553 ac_status=$?
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); }; }; then
10556 ac_cv_lib_m_acosf=yes
10557 else
10558 echo "$as_me: failed program was:" >&5
10559 sed 's/^/| /' conftest.$ac_ext >&5
10561 ac_cv_lib_m_acosf=no
10563 rm -f conftest.err conftest.$ac_objext \
10564 conftest$ac_exeext conftest.$ac_ext
10565 LIBS=$ac_check_lib_save_LIBS
10567 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10568 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10569 if test $ac_cv_lib_m_acosf = yes; then
10571 cat >>confdefs.h <<\_ACEOF
10572 #define HAVE_ACOSF 1
10573 _ACEOF
10577 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10578 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10579 if test "${ac_cv_lib_m_acos+set}" = set; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 else
10582 ac_check_lib_save_LIBS=$LIBS
10583 LIBS="-lm $LIBS"
10584 if test x$gcc_no_link = xyes; then
10585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10587 { (exit 1); exit 1; }; }
10589 cat >conftest.$ac_ext <<_ACEOF
10590 /* confdefs.h. */
10591 _ACEOF
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10596 /* Override any gcc2 internal prototype to avoid an error. */
10597 #ifdef __cplusplus
10598 extern "C"
10599 #endif
10600 /* We use char because int might match the return type of a gcc2
10601 builtin and then its argument prototype would still apply. */
10602 char acos ();
10604 main ()
10606 acos ();
10608 return 0;
10610 _ACEOF
10611 rm -f conftest.$ac_objext conftest$ac_exeext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10613 (eval $ac_link) 2>conftest.er1
10614 ac_status=$?
10615 grep -v '^ *+' conftest.er1 >conftest.err
10616 rm -f conftest.er1
10617 cat conftest.err >&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); } &&
10620 { ac_try='test -z "$ac_c_werror_flag"
10621 || test ! -s conftest.err'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10624 ac_status=$?
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; } &&
10627 { ac_try='test -s conftest$ac_exeext'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10630 ac_status=$?
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 ac_cv_lib_m_acos=yes
10634 else
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.$ac_ext >&5
10638 ac_cv_lib_m_acos=no
10640 rm -f conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LIBS=$ac_check_lib_save_LIBS
10644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10645 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10646 if test $ac_cv_lib_m_acos = yes; then
10648 cat >>confdefs.h <<\_ACEOF
10649 #define HAVE_ACOS 1
10650 _ACEOF
10654 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10655 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10656 if test "${ac_cv_lib_m_acosl+set}" = set; then
10657 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 else
10659 ac_check_lib_save_LIBS=$LIBS
10660 LIBS="-lm $LIBS"
10661 if test x$gcc_no_link = xyes; then
10662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10664 { (exit 1); exit 1; }; }
10666 cat >conftest.$ac_ext <<_ACEOF
10667 /* confdefs.h. */
10668 _ACEOF
10669 cat confdefs.h >>conftest.$ac_ext
10670 cat >>conftest.$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10673 /* Override any gcc2 internal prototype to avoid an error. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 /* We use char because int might match the return type of a gcc2
10678 builtin and then its argument prototype would still apply. */
10679 char acosl ();
10681 main ()
10683 acosl ();
10685 return 0;
10687 _ACEOF
10688 rm -f conftest.$ac_objext conftest$ac_exeext
10689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10690 (eval $ac_link) 2>conftest.er1
10691 ac_status=$?
10692 grep -v '^ *+' conftest.er1 >conftest.err
10693 rm -f conftest.er1
10694 cat conftest.err >&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } &&
10697 { ac_try='test -z "$ac_c_werror_flag"
10698 || test ! -s conftest.err'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10701 ac_status=$?
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; } &&
10704 { ac_try='test -s conftest$ac_exeext'
10705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706 (eval $ac_try) 2>&5
10707 ac_status=$?
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); }; }; then
10710 ac_cv_lib_m_acosl=yes
10711 else
10712 echo "$as_me: failed program was:" >&5
10713 sed 's/^/| /' conftest.$ac_ext >&5
10715 ac_cv_lib_m_acosl=no
10717 rm -f conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10722 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10723 if test $ac_cv_lib_m_acosl = yes; then
10725 cat >>confdefs.h <<\_ACEOF
10726 #define HAVE_ACOSL 1
10727 _ACEOF
10731 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10732 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10733 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 else
10736 ac_check_lib_save_LIBS=$LIBS
10737 LIBS="-lm $LIBS"
10738 if test x$gcc_no_link = xyes; then
10739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10741 { (exit 1); exit 1; }; }
10743 cat >conftest.$ac_ext <<_ACEOF
10744 /* confdefs.h. */
10745 _ACEOF
10746 cat confdefs.h >>conftest.$ac_ext
10747 cat >>conftest.$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10750 /* Override any gcc2 internal prototype to avoid an error. */
10751 #ifdef __cplusplus
10752 extern "C"
10753 #endif
10754 /* We use char because int might match the return type of a gcc2
10755 builtin and then its argument prototype would still apply. */
10756 char acoshf ();
10758 main ()
10760 acoshf ();
10762 return 0;
10764 _ACEOF
10765 rm -f conftest.$ac_objext conftest$ac_exeext
10766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10767 (eval $ac_link) 2>conftest.er1
10768 ac_status=$?
10769 grep -v '^ *+' conftest.er1 >conftest.err
10770 rm -f conftest.er1
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } &&
10774 { ac_try='test -z "$ac_c_werror_flag"
10775 || test ! -s conftest.err'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10778 ac_status=$?
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; } &&
10781 { ac_try='test -s conftest$ac_exeext'
10782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10783 (eval $ac_try) 2>&5
10784 ac_status=$?
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 (exit $ac_status); }; }; then
10787 ac_cv_lib_m_acoshf=yes
10788 else
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10792 ac_cv_lib_m_acoshf=no
10794 rm -f conftest.err conftest.$ac_objext \
10795 conftest$ac_exeext conftest.$ac_ext
10796 LIBS=$ac_check_lib_save_LIBS
10798 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10799 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10800 if test $ac_cv_lib_m_acoshf = yes; then
10802 cat >>confdefs.h <<\_ACEOF
10803 #define HAVE_ACOSHF 1
10804 _ACEOF
10808 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10809 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10810 if test "${ac_cv_lib_m_acosh+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 else
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-lm $LIBS"
10815 if test x$gcc_no_link = xyes; then
10816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10818 { (exit 1); exit 1; }; }
10820 cat >conftest.$ac_ext <<_ACEOF
10821 /* confdefs.h. */
10822 _ACEOF
10823 cat confdefs.h >>conftest.$ac_ext
10824 cat >>conftest.$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10827 /* Override any gcc2 internal prototype to avoid an error. */
10828 #ifdef __cplusplus
10829 extern "C"
10830 #endif
10831 /* We use char because int might match the return type of a gcc2
10832 builtin and then its argument prototype would still apply. */
10833 char acosh ();
10835 main ()
10837 acosh ();
10839 return 0;
10841 _ACEOF
10842 rm -f conftest.$ac_objext conftest$ac_exeext
10843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10844 (eval $ac_link) 2>conftest.er1
10845 ac_status=$?
10846 grep -v '^ *+' conftest.er1 >conftest.err
10847 rm -f conftest.er1
10848 cat conftest.err >&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } &&
10851 { ac_try='test -z "$ac_c_werror_flag"
10852 || test ! -s conftest.err'
10853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5
10855 ac_status=$?
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; } &&
10858 { ac_try='test -s conftest$ac_exeext'
10859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10860 (eval $ac_try) 2>&5
10861 ac_status=$?
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); }; }; then
10864 ac_cv_lib_m_acosh=yes
10865 else
10866 echo "$as_me: failed program was:" >&5
10867 sed 's/^/| /' conftest.$ac_ext >&5
10869 ac_cv_lib_m_acosh=no
10871 rm -f conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LIBS=$ac_check_lib_save_LIBS
10875 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
10876 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
10877 if test $ac_cv_lib_m_acosh = yes; then
10879 cat >>confdefs.h <<\_ACEOF
10880 #define HAVE_ACOSH 1
10881 _ACEOF
10885 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
10886 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
10887 if test "${ac_cv_lib_m_acoshl+set}" = set; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10889 else
10890 ac_check_lib_save_LIBS=$LIBS
10891 LIBS="-lm $LIBS"
10892 if test x$gcc_no_link = xyes; then
10893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10895 { (exit 1); exit 1; }; }
10897 cat >conftest.$ac_ext <<_ACEOF
10898 /* confdefs.h. */
10899 _ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10904 /* Override any gcc2 internal prototype to avoid an error. */
10905 #ifdef __cplusplus
10906 extern "C"
10907 #endif
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10910 char acoshl ();
10912 main ()
10914 acoshl ();
10916 return 0;
10918 _ACEOF
10919 rm -f conftest.$ac_objext conftest$ac_exeext
10920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10921 (eval $ac_link) 2>conftest.er1
10922 ac_status=$?
10923 grep -v '^ *+' conftest.er1 >conftest.err
10924 rm -f conftest.er1
10925 cat conftest.err >&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); } &&
10928 { ac_try='test -z "$ac_c_werror_flag"
10929 || test ! -s conftest.err'
10930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10931 (eval $ac_try) 2>&5
10932 ac_status=$?
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }; } &&
10935 { ac_try='test -s conftest$ac_exeext'
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10937 (eval $ac_try) 2>&5
10938 ac_status=$?
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; }; then
10941 ac_cv_lib_m_acoshl=yes
10942 else
10943 echo "$as_me: failed program was:" >&5
10944 sed 's/^/| /' conftest.$ac_ext >&5
10946 ac_cv_lib_m_acoshl=no
10948 rm -f conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_lib_save_LIBS
10952 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
10953 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
10954 if test $ac_cv_lib_m_acoshl = yes; then
10956 cat >>confdefs.h <<\_ACEOF
10957 #define HAVE_ACOSHL 1
10958 _ACEOF
10962 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
10963 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
10964 if test "${ac_cv_lib_m_asinf+set}" = set; then
10965 echo $ECHO_N "(cached) $ECHO_C" >&6
10966 else
10967 ac_check_lib_save_LIBS=$LIBS
10968 LIBS="-lm $LIBS"
10969 if test x$gcc_no_link = xyes; then
10970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10972 { (exit 1); exit 1; }; }
10974 cat >conftest.$ac_ext <<_ACEOF
10975 /* confdefs.h. */
10976 _ACEOF
10977 cat confdefs.h >>conftest.$ac_ext
10978 cat >>conftest.$ac_ext <<_ACEOF
10979 /* end confdefs.h. */
10981 /* Override any gcc2 internal prototype to avoid an error. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 /* We use char because int might match the return type of a gcc2
10986 builtin and then its argument prototype would still apply. */
10987 char asinf ();
10989 main ()
10991 asinf ();
10993 return 0;
10995 _ACEOF
10996 rm -f conftest.$ac_objext conftest$ac_exeext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10998 (eval $ac_link) 2>conftest.er1
10999 ac_status=$?
11000 grep -v '^ *+' conftest.er1 >conftest.err
11001 rm -f conftest.er1
11002 cat conftest.err >&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try='test -z "$ac_c_werror_flag"
11006 || test ! -s conftest.err'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11009 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; } &&
11012 { ac_try='test -s conftest$ac_exeext'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11015 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then
11018 ac_cv_lib_m_asinf=yes
11019 else
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.$ac_ext >&5
11023 ac_cv_lib_m_asinf=no
11025 rm -f conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_lib_save_LIBS
11029 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11030 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11031 if test $ac_cv_lib_m_asinf = yes; then
11033 cat >>confdefs.h <<\_ACEOF
11034 #define HAVE_ASINF 1
11035 _ACEOF
11039 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11040 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11041 if test "${ac_cv_lib_m_asin+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044 ac_check_lib_save_LIBS=$LIBS
11045 LIBS="-lm $LIBS"
11046 if test x$gcc_no_link = xyes; then
11047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11049 { (exit 1); exit 1; }; }
11051 cat >conftest.$ac_ext <<_ACEOF
11052 /* confdefs.h. */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11058 /* Override any gcc2 internal prototype to avoid an error. */
11059 #ifdef __cplusplus
11060 extern "C"
11061 #endif
11062 /* We use char because int might match the return type of a gcc2
11063 builtin and then its argument prototype would still apply. */
11064 char asin ();
11066 main ()
11068 asin ();
11070 return 0;
11072 _ACEOF
11073 rm -f conftest.$ac_objext conftest$ac_exeext
11074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11075 (eval $ac_link) 2>conftest.er1
11076 ac_status=$?
11077 grep -v '^ *+' conftest.er1 >conftest.err
11078 rm -f conftest.er1
11079 cat conftest.err >&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } &&
11082 { ac_try='test -z "$ac_c_werror_flag"
11083 || test ! -s conftest.err'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11086 ac_status=$?
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; } &&
11089 { ac_try='test -s conftest$ac_exeext'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11092 ac_status=$?
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; }; then
11095 ac_cv_lib_m_asin=yes
11096 else
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11100 ac_cv_lib_m_asin=no
11102 rm -f conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11104 LIBS=$ac_check_lib_save_LIBS
11106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11107 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11108 if test $ac_cv_lib_m_asin = yes; then
11110 cat >>confdefs.h <<\_ACEOF
11111 #define HAVE_ASIN 1
11112 _ACEOF
11116 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11117 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11118 if test "${ac_cv_lib_m_asinl+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 else
11121 ac_check_lib_save_LIBS=$LIBS
11122 LIBS="-lm $LIBS"
11123 if test x$gcc_no_link = xyes; then
11124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11126 { (exit 1); exit 1; }; }
11128 cat >conftest.$ac_ext <<_ACEOF
11129 /* confdefs.h. */
11130 _ACEOF
11131 cat confdefs.h >>conftest.$ac_ext
11132 cat >>conftest.$ac_ext <<_ACEOF
11133 /* end confdefs.h. */
11135 /* Override any gcc2 internal prototype to avoid an error. */
11136 #ifdef __cplusplus
11137 extern "C"
11138 #endif
11139 /* We use char because int might match the return type of a gcc2
11140 builtin and then its argument prototype would still apply. */
11141 char asinl ();
11143 main ()
11145 asinl ();
11147 return 0;
11149 _ACEOF
11150 rm -f conftest.$ac_objext conftest$ac_exeext
11151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11152 (eval $ac_link) 2>conftest.er1
11153 ac_status=$?
11154 grep -v '^ *+' conftest.er1 >conftest.err
11155 rm -f conftest.er1
11156 cat conftest.err >&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); } &&
11159 { ac_try='test -z "$ac_c_werror_flag"
11160 || test ! -s conftest.err'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11163 ac_status=$?
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; } &&
11166 { ac_try='test -s conftest$ac_exeext'
11167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11168 (eval $ac_try) 2>&5
11169 ac_status=$?
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); }; }; then
11172 ac_cv_lib_m_asinl=yes
11173 else
11174 echo "$as_me: failed program was:" >&5
11175 sed 's/^/| /' conftest.$ac_ext >&5
11177 ac_cv_lib_m_asinl=no
11179 rm -f conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11184 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11185 if test $ac_cv_lib_m_asinl = yes; then
11187 cat >>confdefs.h <<\_ACEOF
11188 #define HAVE_ASINL 1
11189 _ACEOF
11193 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11194 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11195 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 else
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lm $LIBS"
11200 if test x$gcc_no_link = xyes; then
11201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11203 { (exit 1); exit 1; }; }
11205 cat >conftest.$ac_ext <<_ACEOF
11206 /* confdefs.h. */
11207 _ACEOF
11208 cat confdefs.h >>conftest.$ac_ext
11209 cat >>conftest.$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11212 /* Override any gcc2 internal prototype to avoid an error. */
11213 #ifdef __cplusplus
11214 extern "C"
11215 #endif
11216 /* We use char because int might match the return type of a gcc2
11217 builtin and then its argument prototype would still apply. */
11218 char asinhf ();
11220 main ()
11222 asinhf ();
11224 return 0;
11226 _ACEOF
11227 rm -f conftest.$ac_objext conftest$ac_exeext
11228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11229 (eval $ac_link) 2>conftest.er1
11230 ac_status=$?
11231 grep -v '^ *+' conftest.er1 >conftest.err
11232 rm -f conftest.er1
11233 cat conftest.err >&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } &&
11236 { ac_try='test -z "$ac_c_werror_flag"
11237 || test ! -s conftest.err'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11240 ac_status=$?
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; } &&
11243 { ac_try='test -s conftest$ac_exeext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11246 ac_status=$?
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11249 ac_cv_lib_m_asinhf=yes
11250 else
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.$ac_ext >&5
11254 ac_cv_lib_m_asinhf=no
11256 rm -f conftest.err conftest.$ac_objext \
11257 conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_lib_save_LIBS
11260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11261 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11262 if test $ac_cv_lib_m_asinhf = yes; then
11264 cat >>confdefs.h <<\_ACEOF
11265 #define HAVE_ASINHF 1
11266 _ACEOF
11270 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11271 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11272 if test "${ac_cv_lib_m_asinh+set}" = set; then
11273 echo $ECHO_N "(cached) $ECHO_C" >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-lm $LIBS"
11277 if test x$gcc_no_link = xyes; then
11278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11280 { (exit 1); exit 1; }; }
11282 cat >conftest.$ac_ext <<_ACEOF
11283 /* confdefs.h. */
11284 _ACEOF
11285 cat confdefs.h >>conftest.$ac_ext
11286 cat >>conftest.$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11289 /* Override any gcc2 internal prototype to avoid an error. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 /* We use char because int might match the return type of a gcc2
11294 builtin and then its argument prototype would still apply. */
11295 char asinh ();
11297 main ()
11299 asinh ();
11301 return 0;
11303 _ACEOF
11304 rm -f conftest.$ac_objext conftest$ac_exeext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306 (eval $ac_link) 2>conftest.er1
11307 ac_status=$?
11308 grep -v '^ *+' conftest.er1 >conftest.err
11309 rm -f conftest.er1
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } &&
11313 { ac_try='test -z "$ac_c_werror_flag"
11314 || test ! -s conftest.err'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11317 ac_status=$?
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; } &&
11320 { ac_try='test -s conftest$ac_exeext'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5
11323 ac_status=$?
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }; }; then
11326 ac_cv_lib_m_asinh=yes
11327 else
11328 echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.$ac_ext >&5
11331 ac_cv_lib_m_asinh=no
11333 rm -f conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_lib_save_LIBS
11337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11338 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11339 if test $ac_cv_lib_m_asinh = yes; then
11341 cat >>confdefs.h <<\_ACEOF
11342 #define HAVE_ASINH 1
11343 _ACEOF
11347 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11348 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11349 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11350 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 else
11352 ac_check_lib_save_LIBS=$LIBS
11353 LIBS="-lm $LIBS"
11354 if test x$gcc_no_link = xyes; then
11355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11357 { (exit 1); exit 1; }; }
11359 cat >conftest.$ac_ext <<_ACEOF
11360 /* confdefs.h. */
11361 _ACEOF
11362 cat confdefs.h >>conftest.$ac_ext
11363 cat >>conftest.$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11366 /* Override any gcc2 internal prototype to avoid an error. */
11367 #ifdef __cplusplus
11368 extern "C"
11369 #endif
11370 /* We use char because int might match the return type of a gcc2
11371 builtin and then its argument prototype would still apply. */
11372 char asinhl ();
11374 main ()
11376 asinhl ();
11378 return 0;
11380 _ACEOF
11381 rm -f conftest.$ac_objext conftest$ac_exeext
11382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11383 (eval $ac_link) 2>conftest.er1
11384 ac_status=$?
11385 grep -v '^ *+' conftest.er1 >conftest.err
11386 rm -f conftest.er1
11387 cat conftest.err >&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } &&
11390 { ac_try='test -z "$ac_c_werror_flag"
11391 || test ! -s conftest.err'
11392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11393 (eval $ac_try) 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }; } &&
11397 { ac_try='test -s conftest$ac_exeext'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11400 ac_status=$?
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; }; then
11403 ac_cv_lib_m_asinhl=yes
11404 else
11405 echo "$as_me: failed program was:" >&5
11406 sed 's/^/| /' conftest.$ac_ext >&5
11408 ac_cv_lib_m_asinhl=no
11410 rm -f conftest.err conftest.$ac_objext \
11411 conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_lib_save_LIBS
11414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11415 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11416 if test $ac_cv_lib_m_asinhl = yes; then
11418 cat >>confdefs.h <<\_ACEOF
11419 #define HAVE_ASINHL 1
11420 _ACEOF
11424 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11425 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11426 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11427 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-lm $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11434 { (exit 1); exit 1; }; }
11436 cat >conftest.$ac_ext <<_ACEOF
11437 /* confdefs.h. */
11438 _ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11443 /* Override any gcc2 internal prototype to avoid an error. */
11444 #ifdef __cplusplus
11445 extern "C"
11446 #endif
11447 /* We use char because int might match the return type of a gcc2
11448 builtin and then its argument prototype would still apply. */
11449 char atan2f ();
11451 main ()
11453 atan2f ();
11455 return 0;
11457 _ACEOF
11458 rm -f conftest.$ac_objext conftest$ac_exeext
11459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11460 (eval $ac_link) 2>conftest.er1
11461 ac_status=$?
11462 grep -v '^ *+' conftest.er1 >conftest.err
11463 rm -f conftest.er1
11464 cat conftest.err >&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); } &&
11467 { ac_try='test -z "$ac_c_werror_flag"
11468 || test ! -s conftest.err'
11469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11470 (eval $ac_try) 2>&5
11471 ac_status=$?
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; } &&
11474 { ac_try='test -s conftest$ac_exeext'
11475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 (eval $ac_try) 2>&5
11477 ac_status=$?
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); }; }; then
11480 ac_cv_lib_m_atan2f=yes
11481 else
11482 echo "$as_me: failed program was:" >&5
11483 sed 's/^/| /' conftest.$ac_ext >&5
11485 ac_cv_lib_m_atan2f=no
11487 rm -f conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_lib_save_LIBS
11491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11492 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11493 if test $ac_cv_lib_m_atan2f = yes; then
11495 cat >>confdefs.h <<\_ACEOF
11496 #define HAVE_ATAN2F 1
11497 _ACEOF
11501 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11502 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11503 if test "${ac_cv_lib_m_atan2+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 else
11506 ac_check_lib_save_LIBS=$LIBS
11507 LIBS="-lm $LIBS"
11508 if test x$gcc_no_link = xyes; then
11509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11511 { (exit 1); exit 1; }; }
11513 cat >conftest.$ac_ext <<_ACEOF
11514 /* confdefs.h. */
11515 _ACEOF
11516 cat confdefs.h >>conftest.$ac_ext
11517 cat >>conftest.$ac_ext <<_ACEOF
11518 /* end confdefs.h. */
11520 /* Override any gcc2 internal prototype to avoid an error. */
11521 #ifdef __cplusplus
11522 extern "C"
11523 #endif
11524 /* We use char because int might match the return type of a gcc2
11525 builtin and then its argument prototype would still apply. */
11526 char atan2 ();
11528 main ()
11530 atan2 ();
11532 return 0;
11534 _ACEOF
11535 rm -f conftest.$ac_objext conftest$ac_exeext
11536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11537 (eval $ac_link) 2>conftest.er1
11538 ac_status=$?
11539 grep -v '^ *+' conftest.er1 >conftest.err
11540 rm -f conftest.er1
11541 cat conftest.err >&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); } &&
11544 { ac_try='test -z "$ac_c_werror_flag"
11545 || test ! -s conftest.err'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11548 ac_status=$?
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; } &&
11551 { ac_try='test -s conftest$ac_exeext'
11552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11553 (eval $ac_try) 2>&5
11554 ac_status=$?
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }; }; then
11557 ac_cv_lib_m_atan2=yes
11558 else
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 ac_cv_lib_m_atan2=no
11564 rm -f conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_lib_save_LIBS
11568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11569 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11570 if test $ac_cv_lib_m_atan2 = yes; then
11572 cat >>confdefs.h <<\_ACEOF
11573 #define HAVE_ATAN2 1
11574 _ACEOF
11578 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11579 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11580 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11582 else
11583 ac_check_lib_save_LIBS=$LIBS
11584 LIBS="-lm $LIBS"
11585 if test x$gcc_no_link = xyes; then
11586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11588 { (exit 1); exit 1; }; }
11590 cat >conftest.$ac_ext <<_ACEOF
11591 /* confdefs.h. */
11592 _ACEOF
11593 cat confdefs.h >>conftest.$ac_ext
11594 cat >>conftest.$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11597 /* Override any gcc2 internal prototype to avoid an error. */
11598 #ifdef __cplusplus
11599 extern "C"
11600 #endif
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11603 char atan2l ();
11605 main ()
11607 atan2l ();
11609 return 0;
11611 _ACEOF
11612 rm -f conftest.$ac_objext conftest$ac_exeext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11614 (eval $ac_link) 2>conftest.er1
11615 ac_status=$?
11616 grep -v '^ *+' conftest.er1 >conftest.err
11617 rm -f conftest.er1
11618 cat conftest.err >&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
11621 { ac_try='test -z "$ac_c_werror_flag"
11622 || test ! -s conftest.err'
11623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11624 (eval $ac_try) 2>&5
11625 ac_status=$?
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); }; } &&
11628 { ac_try='test -s conftest$ac_exeext'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11631 ac_status=$?
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; }; then
11634 ac_cv_lib_m_atan2l=yes
11635 else
11636 echo "$as_me: failed program was:" >&5
11637 sed 's/^/| /' conftest.$ac_ext >&5
11639 ac_cv_lib_m_atan2l=no
11641 rm -f conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11646 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11647 if test $ac_cv_lib_m_atan2l = yes; then
11649 cat >>confdefs.h <<\_ACEOF
11650 #define HAVE_ATAN2L 1
11651 _ACEOF
11655 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11656 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11657 if test "${ac_cv_lib_m_atanf+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 else
11660 ac_check_lib_save_LIBS=$LIBS
11661 LIBS="-lm $LIBS"
11662 if test x$gcc_no_link = xyes; then
11663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11665 { (exit 1); exit 1; }; }
11667 cat >conftest.$ac_ext <<_ACEOF
11668 /* confdefs.h. */
11669 _ACEOF
11670 cat confdefs.h >>conftest.$ac_ext
11671 cat >>conftest.$ac_ext <<_ACEOF
11672 /* end confdefs.h. */
11674 /* Override any gcc2 internal prototype to avoid an error. */
11675 #ifdef __cplusplus
11676 extern "C"
11677 #endif
11678 /* We use char because int might match the return type of a gcc2
11679 builtin and then its argument prototype would still apply. */
11680 char atanf ();
11682 main ()
11684 atanf ();
11686 return 0;
11688 _ACEOF
11689 rm -f conftest.$ac_objext conftest$ac_exeext
11690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11691 (eval $ac_link) 2>conftest.er1
11692 ac_status=$?
11693 grep -v '^ *+' conftest.er1 >conftest.err
11694 rm -f conftest.er1
11695 cat conftest.err >&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } &&
11698 { ac_try='test -z "$ac_c_werror_flag"
11699 || test ! -s conftest.err'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11702 ac_status=$?
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; } &&
11705 { ac_try='test -s conftest$ac_exeext'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11708 ac_status=$?
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; }; then
11711 ac_cv_lib_m_atanf=yes
11712 else
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.$ac_ext >&5
11716 ac_cv_lib_m_atanf=no
11718 rm -f conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_lib_save_LIBS
11722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11723 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11724 if test $ac_cv_lib_m_atanf = yes; then
11726 cat >>confdefs.h <<\_ACEOF
11727 #define HAVE_ATANF 1
11728 _ACEOF
11732 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11733 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11734 if test "${ac_cv_lib_m_atan+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 else
11737 ac_check_lib_save_LIBS=$LIBS
11738 LIBS="-lm $LIBS"
11739 if test x$gcc_no_link = xyes; then
11740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11742 { (exit 1); exit 1; }; }
11744 cat >conftest.$ac_ext <<_ACEOF
11745 /* confdefs.h. */
11746 _ACEOF
11747 cat confdefs.h >>conftest.$ac_ext
11748 cat >>conftest.$ac_ext <<_ACEOF
11749 /* end confdefs.h. */
11751 /* Override any gcc2 internal prototype to avoid an error. */
11752 #ifdef __cplusplus
11753 extern "C"
11754 #endif
11755 /* We use char because int might match the return type of a gcc2
11756 builtin and then its argument prototype would still apply. */
11757 char atan ();
11759 main ()
11761 atan ();
11763 return 0;
11765 _ACEOF
11766 rm -f conftest.$ac_objext conftest$ac_exeext
11767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11768 (eval $ac_link) 2>conftest.er1
11769 ac_status=$?
11770 grep -v '^ *+' conftest.er1 >conftest.err
11771 rm -f conftest.er1
11772 cat conftest.err >&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); } &&
11775 { ac_try='test -z "$ac_c_werror_flag"
11776 || test ! -s conftest.err'
11777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11778 (eval $ac_try) 2>&5
11779 ac_status=$?
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); }; } &&
11782 { ac_try='test -s conftest$ac_exeext'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11785 ac_status=$?
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; }; then
11788 ac_cv_lib_m_atan=yes
11789 else
11790 echo "$as_me: failed program was:" >&5
11791 sed 's/^/| /' conftest.$ac_ext >&5
11793 ac_cv_lib_m_atan=no
11795 rm -f conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11797 LIBS=$ac_check_lib_save_LIBS
11799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11800 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11801 if test $ac_cv_lib_m_atan = yes; then
11803 cat >>confdefs.h <<\_ACEOF
11804 #define HAVE_ATAN 1
11805 _ACEOF
11809 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11810 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11811 if test "${ac_cv_lib_m_atanl+set}" = set; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 else
11814 ac_check_lib_save_LIBS=$LIBS
11815 LIBS="-lm $LIBS"
11816 if test x$gcc_no_link = xyes; then
11817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11819 { (exit 1); exit 1; }; }
11821 cat >conftest.$ac_ext <<_ACEOF
11822 /* confdefs.h. */
11823 _ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11828 /* Override any gcc2 internal prototype to avoid an error. */
11829 #ifdef __cplusplus
11830 extern "C"
11831 #endif
11832 /* We use char because int might match the return type of a gcc2
11833 builtin and then its argument prototype would still apply. */
11834 char atanl ();
11836 main ()
11838 atanl ();
11840 return 0;
11842 _ACEOF
11843 rm -f conftest.$ac_objext conftest$ac_exeext
11844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11845 (eval $ac_link) 2>conftest.er1
11846 ac_status=$?
11847 grep -v '^ *+' conftest.er1 >conftest.err
11848 rm -f conftest.er1
11849 cat conftest.err >&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } &&
11852 { ac_try='test -z "$ac_c_werror_flag"
11853 || test ! -s conftest.err'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11856 ac_status=$?
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; } &&
11859 { ac_try='test -s conftest$ac_exeext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11862 ac_status=$?
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 ac_cv_lib_m_atanl=yes
11866 else
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.$ac_ext >&5
11870 ac_cv_lib_m_atanl=no
11872 rm -f conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_lib_save_LIBS
11876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
11877 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
11878 if test $ac_cv_lib_m_atanl = yes; then
11880 cat >>confdefs.h <<\_ACEOF
11881 #define HAVE_ATANL 1
11882 _ACEOF
11886 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
11887 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
11888 if test "${ac_cv_lib_m_atanhf+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11890 else
11891 ac_check_lib_save_LIBS=$LIBS
11892 LIBS="-lm $LIBS"
11893 if test x$gcc_no_link = xyes; then
11894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11896 { (exit 1); exit 1; }; }
11898 cat >conftest.$ac_ext <<_ACEOF
11899 /* confdefs.h. */
11900 _ACEOF
11901 cat confdefs.h >>conftest.$ac_ext
11902 cat >>conftest.$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11905 /* Override any gcc2 internal prototype to avoid an error. */
11906 #ifdef __cplusplus
11907 extern "C"
11908 #endif
11909 /* We use char because int might match the return type of a gcc2
11910 builtin and then its argument prototype would still apply. */
11911 char atanhf ();
11913 main ()
11915 atanhf ();
11917 return 0;
11919 _ACEOF
11920 rm -f conftest.$ac_objext conftest$ac_exeext
11921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11922 (eval $ac_link) 2>conftest.er1
11923 ac_status=$?
11924 grep -v '^ *+' conftest.er1 >conftest.err
11925 rm -f conftest.er1
11926 cat conftest.err >&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } &&
11929 { ac_try='test -z "$ac_c_werror_flag"
11930 || test ! -s conftest.err'
11931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11932 (eval $ac_try) 2>&5
11933 ac_status=$?
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }; } &&
11936 { ac_try='test -s conftest$ac_exeext'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11939 ac_status=$?
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; }; then
11942 ac_cv_lib_m_atanhf=yes
11943 else
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.$ac_ext >&5
11947 ac_cv_lib_m_atanhf=no
11949 rm -f conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_lib_save_LIBS
11953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
11954 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
11955 if test $ac_cv_lib_m_atanhf = yes; then
11957 cat >>confdefs.h <<\_ACEOF
11958 #define HAVE_ATANHF 1
11959 _ACEOF
11963 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
11964 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
11965 if test "${ac_cv_lib_m_atanh+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 else
11968 ac_check_lib_save_LIBS=$LIBS
11969 LIBS="-lm $LIBS"
11970 if test x$gcc_no_link = xyes; then
11971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11973 { (exit 1); exit 1; }; }
11975 cat >conftest.$ac_ext <<_ACEOF
11976 /* confdefs.h. */
11977 _ACEOF
11978 cat confdefs.h >>conftest.$ac_ext
11979 cat >>conftest.$ac_ext <<_ACEOF
11980 /* end confdefs.h. */
11982 /* Override any gcc2 internal prototype to avoid an error. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 /* We use char because int might match the return type of a gcc2
11987 builtin and then its argument prototype would still apply. */
11988 char atanh ();
11990 main ()
11992 atanh ();
11994 return 0;
11996 _ACEOF
11997 rm -f conftest.$ac_objext conftest$ac_exeext
11998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11999 (eval $ac_link) 2>conftest.er1
12000 ac_status=$?
12001 grep -v '^ *+' conftest.er1 >conftest.err
12002 rm -f conftest.er1
12003 cat conftest.err >&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); } &&
12006 { ac_try='test -z "$ac_c_werror_flag"
12007 || test ! -s conftest.err'
12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009 (eval $ac_try) 2>&5
12010 ac_status=$?
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; } &&
12013 { ac_try='test -s conftest$ac_exeext'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12016 ac_status=$?
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; }; then
12019 ac_cv_lib_m_atanh=yes
12020 else
12021 echo "$as_me: failed program was:" >&5
12022 sed 's/^/| /' conftest.$ac_ext >&5
12024 ac_cv_lib_m_atanh=no
12026 rm -f conftest.err conftest.$ac_objext \
12027 conftest$ac_exeext conftest.$ac_ext
12028 LIBS=$ac_check_lib_save_LIBS
12030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12031 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12032 if test $ac_cv_lib_m_atanh = yes; then
12034 cat >>confdefs.h <<\_ACEOF
12035 #define HAVE_ATANH 1
12036 _ACEOF
12040 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12041 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12042 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12044 else
12045 ac_check_lib_save_LIBS=$LIBS
12046 LIBS="-lm $LIBS"
12047 if test x$gcc_no_link = xyes; then
12048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12050 { (exit 1); exit 1; }; }
12052 cat >conftest.$ac_ext <<_ACEOF
12053 /* confdefs.h. */
12054 _ACEOF
12055 cat confdefs.h >>conftest.$ac_ext
12056 cat >>conftest.$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12059 /* Override any gcc2 internal prototype to avoid an error. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 /* We use char because int might match the return type of a gcc2
12064 builtin and then its argument prototype would still apply. */
12065 char atanhl ();
12067 main ()
12069 atanhl ();
12071 return 0;
12073 _ACEOF
12074 rm -f conftest.$ac_objext conftest$ac_exeext
12075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12076 (eval $ac_link) 2>conftest.er1
12077 ac_status=$?
12078 grep -v '^ *+' conftest.er1 >conftest.err
12079 rm -f conftest.er1
12080 cat conftest.err >&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } &&
12083 { ac_try='test -z "$ac_c_werror_flag"
12084 || test ! -s conftest.err'
12085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12086 (eval $ac_try) 2>&5
12087 ac_status=$?
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; } &&
12090 { ac_try='test -s conftest$ac_exeext'
12091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12092 (eval $ac_try) 2>&5
12093 ac_status=$?
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); }; }; then
12096 ac_cv_lib_m_atanhl=yes
12097 else
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.$ac_ext >&5
12101 ac_cv_lib_m_atanhl=no
12103 rm -f conftest.err conftest.$ac_objext \
12104 conftest$ac_exeext conftest.$ac_ext
12105 LIBS=$ac_check_lib_save_LIBS
12107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12108 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12109 if test $ac_cv_lib_m_atanhl = yes; then
12111 cat >>confdefs.h <<\_ACEOF
12112 #define HAVE_ATANHL 1
12113 _ACEOF
12117 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12118 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12119 if test "${ac_cv_lib_m_cargf+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lm $LIBS"
12124 if test x$gcc_no_link = xyes; then
12125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12127 { (exit 1); exit 1; }; }
12129 cat >conftest.$ac_ext <<_ACEOF
12130 /* confdefs.h. */
12131 _ACEOF
12132 cat confdefs.h >>conftest.$ac_ext
12133 cat >>conftest.$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12136 /* Override any gcc2 internal prototype to avoid an error. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 /* We use char because int might match the return type of a gcc2
12141 builtin and then its argument prototype would still apply. */
12142 char cargf ();
12144 main ()
12146 cargf ();
12148 return 0;
12150 _ACEOF
12151 rm -f conftest.$ac_objext conftest$ac_exeext
12152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12153 (eval $ac_link) 2>conftest.er1
12154 ac_status=$?
12155 grep -v '^ *+' conftest.er1 >conftest.err
12156 rm -f conftest.er1
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_c_werror_flag"
12161 || test ! -s conftest.err'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12164 ac_status=$?
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; } &&
12167 { ac_try='test -s conftest$ac_exeext'
12168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12169 (eval $ac_try) 2>&5
12170 ac_status=$?
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; }; then
12173 ac_cv_lib_m_cargf=yes
12174 else
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12178 ac_cv_lib_m_cargf=no
12180 rm -f conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12185 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12186 if test $ac_cv_lib_m_cargf = yes; then
12188 cat >>confdefs.h <<\_ACEOF
12189 #define HAVE_CARGF 1
12190 _ACEOF
12194 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12195 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12196 if test "${ac_cv_lib_m_carg+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 else
12199 ac_check_lib_save_LIBS=$LIBS
12200 LIBS="-lm $LIBS"
12201 if test x$gcc_no_link = xyes; then
12202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12204 { (exit 1); exit 1; }; }
12206 cat >conftest.$ac_ext <<_ACEOF
12207 /* confdefs.h. */
12208 _ACEOF
12209 cat confdefs.h >>conftest.$ac_ext
12210 cat >>conftest.$ac_ext <<_ACEOF
12211 /* end confdefs.h. */
12213 /* Override any gcc2 internal prototype to avoid an error. */
12214 #ifdef __cplusplus
12215 extern "C"
12216 #endif
12217 /* We use char because int might match the return type of a gcc2
12218 builtin and then its argument prototype would still apply. */
12219 char carg ();
12221 main ()
12223 carg ();
12225 return 0;
12227 _ACEOF
12228 rm -f conftest.$ac_objext conftest$ac_exeext
12229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12230 (eval $ac_link) 2>conftest.er1
12231 ac_status=$?
12232 grep -v '^ *+' conftest.er1 >conftest.err
12233 rm -f conftest.er1
12234 cat conftest.err >&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } &&
12237 { ac_try='test -z "$ac_c_werror_flag"
12238 || test ! -s conftest.err'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12241 ac_status=$?
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } &&
12244 { ac_try='test -s conftest$ac_exeext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12247 ac_status=$?
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 ac_cv_lib_m_carg=yes
12251 else
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.$ac_ext >&5
12255 ac_cv_lib_m_carg=no
12257 rm -f conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259 LIBS=$ac_check_lib_save_LIBS
12261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12262 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12263 if test $ac_cv_lib_m_carg = yes; then
12265 cat >>confdefs.h <<\_ACEOF
12266 #define HAVE_CARG 1
12267 _ACEOF
12271 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12272 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12273 if test "${ac_cv_lib_m_cargl+set}" = set; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 else
12276 ac_check_lib_save_LIBS=$LIBS
12277 LIBS="-lm $LIBS"
12278 if test x$gcc_no_link = xyes; then
12279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12281 { (exit 1); exit 1; }; }
12283 cat >conftest.$ac_ext <<_ACEOF
12284 /* confdefs.h. */
12285 _ACEOF
12286 cat confdefs.h >>conftest.$ac_ext
12287 cat >>conftest.$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12290 /* Override any gcc2 internal prototype to avoid an error. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 /* We use char because int might match the return type of a gcc2
12295 builtin and then its argument prototype would still apply. */
12296 char cargl ();
12298 main ()
12300 cargl ();
12302 return 0;
12304 _ACEOF
12305 rm -f conftest.$ac_objext conftest$ac_exeext
12306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12307 (eval $ac_link) 2>conftest.er1
12308 ac_status=$?
12309 grep -v '^ *+' conftest.er1 >conftest.err
12310 rm -f conftest.er1
12311 cat conftest.err >&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); } &&
12314 { ac_try='test -z "$ac_c_werror_flag"
12315 || test ! -s conftest.err'
12316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12317 (eval $ac_try) 2>&5
12318 ac_status=$?
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); }; } &&
12321 { ac_try='test -s conftest$ac_exeext'
12322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12323 (eval $ac_try) 2>&5
12324 ac_status=$?
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; }; then
12327 ac_cv_lib_m_cargl=yes
12328 else
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.$ac_ext >&5
12332 ac_cv_lib_m_cargl=no
12334 rm -f conftest.err conftest.$ac_objext \
12335 conftest$ac_exeext conftest.$ac_ext
12336 LIBS=$ac_check_lib_save_LIBS
12338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12339 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12340 if test $ac_cv_lib_m_cargl = yes; then
12342 cat >>confdefs.h <<\_ACEOF
12343 #define HAVE_CARGL 1
12344 _ACEOF
12348 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12349 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12350 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12351 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 else
12353 ac_check_lib_save_LIBS=$LIBS
12354 LIBS="-lm $LIBS"
12355 if test x$gcc_no_link = xyes; then
12356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12358 { (exit 1); exit 1; }; }
12360 cat >conftest.$ac_ext <<_ACEOF
12361 /* confdefs.h. */
12362 _ACEOF
12363 cat confdefs.h >>conftest.$ac_ext
12364 cat >>conftest.$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12367 /* Override any gcc2 internal prototype to avoid an error. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 /* We use char because int might match the return type of a gcc2
12372 builtin and then its argument prototype would still apply. */
12373 char ceilf ();
12375 main ()
12377 ceilf ();
12379 return 0;
12381 _ACEOF
12382 rm -f conftest.$ac_objext conftest$ac_exeext
12383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12384 (eval $ac_link) 2>conftest.er1
12385 ac_status=$?
12386 grep -v '^ *+' conftest.er1 >conftest.err
12387 rm -f conftest.er1
12388 cat conftest.err >&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); } &&
12391 { ac_try='test -z "$ac_c_werror_flag"
12392 || test ! -s conftest.err'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12395 ac_status=$?
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; } &&
12398 { ac_try='test -s conftest$ac_exeext'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12401 ac_status=$?
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; }; then
12404 ac_cv_lib_m_ceilf=yes
12405 else
12406 echo "$as_me: failed program was:" >&5
12407 sed 's/^/| /' conftest.$ac_ext >&5
12409 ac_cv_lib_m_ceilf=no
12411 rm -f conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_lib_save_LIBS
12415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12416 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12417 if test $ac_cv_lib_m_ceilf = yes; then
12419 cat >>confdefs.h <<\_ACEOF
12420 #define HAVE_CEILF 1
12421 _ACEOF
12425 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12426 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12427 if test "${ac_cv_lib_m_ceil+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 else
12430 ac_check_lib_save_LIBS=$LIBS
12431 LIBS="-lm $LIBS"
12432 if test x$gcc_no_link = xyes; then
12433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12435 { (exit 1); exit 1; }; }
12437 cat >conftest.$ac_ext <<_ACEOF
12438 /* confdefs.h. */
12439 _ACEOF
12440 cat confdefs.h >>conftest.$ac_ext
12441 cat >>conftest.$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12444 /* Override any gcc2 internal prototype to avoid an error. */
12445 #ifdef __cplusplus
12446 extern "C"
12447 #endif
12448 /* We use char because int might match the return type of a gcc2
12449 builtin and then its argument prototype would still apply. */
12450 char ceil ();
12452 main ()
12454 ceil ();
12456 return 0;
12458 _ACEOF
12459 rm -f conftest.$ac_objext conftest$ac_exeext
12460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12461 (eval $ac_link) 2>conftest.er1
12462 ac_status=$?
12463 grep -v '^ *+' conftest.er1 >conftest.err
12464 rm -f conftest.er1
12465 cat conftest.err >&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); } &&
12468 { ac_try='test -z "$ac_c_werror_flag"
12469 || test ! -s conftest.err'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12472 ac_status=$?
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; } &&
12475 { ac_try='test -s conftest$ac_exeext'
12476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12477 (eval $ac_try) 2>&5
12478 ac_status=$?
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); }; }; then
12481 ac_cv_lib_m_ceil=yes
12482 else
12483 echo "$as_me: failed program was:" >&5
12484 sed 's/^/| /' conftest.$ac_ext >&5
12486 ac_cv_lib_m_ceil=no
12488 rm -f conftest.err conftest.$ac_objext \
12489 conftest$ac_exeext conftest.$ac_ext
12490 LIBS=$ac_check_lib_save_LIBS
12492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12493 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12494 if test $ac_cv_lib_m_ceil = yes; then
12496 cat >>confdefs.h <<\_ACEOF
12497 #define HAVE_CEIL 1
12498 _ACEOF
12502 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12503 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12504 if test "${ac_cv_lib_m_ceill+set}" = set; then
12505 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 else
12507 ac_check_lib_save_LIBS=$LIBS
12508 LIBS="-lm $LIBS"
12509 if test x$gcc_no_link = xyes; then
12510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12512 { (exit 1); exit 1; }; }
12514 cat >conftest.$ac_ext <<_ACEOF
12515 /* confdefs.h. */
12516 _ACEOF
12517 cat confdefs.h >>conftest.$ac_ext
12518 cat >>conftest.$ac_ext <<_ACEOF
12519 /* end confdefs.h. */
12521 /* Override any gcc2 internal prototype to avoid an error. */
12522 #ifdef __cplusplus
12523 extern "C"
12524 #endif
12525 /* We use char because int might match the return type of a gcc2
12526 builtin and then its argument prototype would still apply. */
12527 char ceill ();
12529 main ()
12531 ceill ();
12533 return 0;
12535 _ACEOF
12536 rm -f conftest.$ac_objext conftest$ac_exeext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12538 (eval $ac_link) 2>conftest.er1
12539 ac_status=$?
12540 grep -v '^ *+' conftest.er1 >conftest.err
12541 rm -f conftest.er1
12542 cat conftest.err >&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } &&
12545 { ac_try='test -z "$ac_c_werror_flag"
12546 || test ! -s conftest.err'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try='test -s conftest$ac_exeext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12555 ac_status=$?
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 ac_cv_lib_m_ceill=yes
12559 else
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.$ac_ext >&5
12563 ac_cv_lib_m_ceill=no
12565 rm -f conftest.err conftest.$ac_objext \
12566 conftest$ac_exeext conftest.$ac_ext
12567 LIBS=$ac_check_lib_save_LIBS
12569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12570 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12571 if test $ac_cv_lib_m_ceill = yes; then
12573 cat >>confdefs.h <<\_ACEOF
12574 #define HAVE_CEILL 1
12575 _ACEOF
12579 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12580 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12581 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12582 echo $ECHO_N "(cached) $ECHO_C" >&6
12583 else
12584 ac_check_lib_save_LIBS=$LIBS
12585 LIBS="-lm $LIBS"
12586 if test x$gcc_no_link = xyes; then
12587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12589 { (exit 1); exit 1; }; }
12591 cat >conftest.$ac_ext <<_ACEOF
12592 /* confdefs.h. */
12593 _ACEOF
12594 cat confdefs.h >>conftest.$ac_ext
12595 cat >>conftest.$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12598 /* Override any gcc2 internal prototype to avoid an error. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 /* We use char because int might match the return type of a gcc2
12603 builtin and then its argument prototype would still apply. */
12604 char copysignf ();
12606 main ()
12608 copysignf ();
12610 return 0;
12612 _ACEOF
12613 rm -f conftest.$ac_objext conftest$ac_exeext
12614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12615 (eval $ac_link) 2>conftest.er1
12616 ac_status=$?
12617 grep -v '^ *+' conftest.er1 >conftest.err
12618 rm -f conftest.er1
12619 cat conftest.err >&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } &&
12622 { ac_try='test -z "$ac_c_werror_flag"
12623 || test ! -s conftest.err'
12624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12625 (eval $ac_try) 2>&5
12626 ac_status=$?
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); }; } &&
12629 { ac_try='test -s conftest$ac_exeext'
12630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631 (eval $ac_try) 2>&5
12632 ac_status=$?
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); }; }; then
12635 ac_cv_lib_m_copysignf=yes
12636 else
12637 echo "$as_me: failed program was:" >&5
12638 sed 's/^/| /' conftest.$ac_ext >&5
12640 ac_cv_lib_m_copysignf=no
12642 rm -f conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12644 LIBS=$ac_check_lib_save_LIBS
12646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12647 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12648 if test $ac_cv_lib_m_copysignf = yes; then
12650 cat >>confdefs.h <<\_ACEOF
12651 #define HAVE_COPYSIGNF 1
12652 _ACEOF
12656 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12657 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12658 if test "${ac_cv_lib_m_copysign+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 else
12661 ac_check_lib_save_LIBS=$LIBS
12662 LIBS="-lm $LIBS"
12663 if test x$gcc_no_link = xyes; then
12664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12666 { (exit 1); exit 1; }; }
12668 cat >conftest.$ac_ext <<_ACEOF
12669 /* confdefs.h. */
12670 _ACEOF
12671 cat confdefs.h >>conftest.$ac_ext
12672 cat >>conftest.$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12675 /* Override any gcc2 internal prototype to avoid an error. */
12676 #ifdef __cplusplus
12677 extern "C"
12678 #endif
12679 /* We use char because int might match the return type of a gcc2
12680 builtin and then its argument prototype would still apply. */
12681 char copysign ();
12683 main ()
12685 copysign ();
12687 return 0;
12689 _ACEOF
12690 rm -f conftest.$ac_objext conftest$ac_exeext
12691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12692 (eval $ac_link) 2>conftest.er1
12693 ac_status=$?
12694 grep -v '^ *+' conftest.er1 >conftest.err
12695 rm -f conftest.er1
12696 cat conftest.err >&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); } &&
12699 { ac_try='test -z "$ac_c_werror_flag"
12700 || test ! -s conftest.err'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12703 ac_status=$?
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; } &&
12706 { ac_try='test -s conftest$ac_exeext'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; }; then
12712 ac_cv_lib_m_copysign=yes
12713 else
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12717 ac_cv_lib_m_copysign=no
12719 rm -f conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_lib_save_LIBS
12723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12724 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12725 if test $ac_cv_lib_m_copysign = yes; then
12727 cat >>confdefs.h <<\_ACEOF
12728 #define HAVE_COPYSIGN 1
12729 _ACEOF
12733 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12734 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12735 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 else
12738 ac_check_lib_save_LIBS=$LIBS
12739 LIBS="-lm $LIBS"
12740 if test x$gcc_no_link = xyes; then
12741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12743 { (exit 1); exit 1; }; }
12745 cat >conftest.$ac_ext <<_ACEOF
12746 /* confdefs.h. */
12747 _ACEOF
12748 cat confdefs.h >>conftest.$ac_ext
12749 cat >>conftest.$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12752 /* Override any gcc2 internal prototype to avoid an error. */
12753 #ifdef __cplusplus
12754 extern "C"
12755 #endif
12756 /* We use char because int might match the return type of a gcc2
12757 builtin and then its argument prototype would still apply. */
12758 char copysignl ();
12760 main ()
12762 copysignl ();
12764 return 0;
12766 _ACEOF
12767 rm -f conftest.$ac_objext conftest$ac_exeext
12768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12769 (eval $ac_link) 2>conftest.er1
12770 ac_status=$?
12771 grep -v '^ *+' conftest.er1 >conftest.err
12772 rm -f conftest.er1
12773 cat conftest.err >&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); } &&
12776 { ac_try='test -z "$ac_c_werror_flag"
12777 || test ! -s conftest.err'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12780 ac_status=$?
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; } &&
12783 { ac_try='test -s conftest$ac_exeext'
12784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12785 (eval $ac_try) 2>&5
12786 ac_status=$?
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; }; then
12789 ac_cv_lib_m_copysignl=yes
12790 else
12791 echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.$ac_ext >&5
12794 ac_cv_lib_m_copysignl=no
12796 rm -f conftest.err conftest.$ac_objext \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_lib_save_LIBS
12800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12801 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12802 if test $ac_cv_lib_m_copysignl = yes; then
12804 cat >>confdefs.h <<\_ACEOF
12805 #define HAVE_COPYSIGNL 1
12806 _ACEOF
12810 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12811 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12812 if test "${ac_cv_lib_m_cosf+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12814 else
12815 ac_check_lib_save_LIBS=$LIBS
12816 LIBS="-lm $LIBS"
12817 if test x$gcc_no_link = xyes; then
12818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12820 { (exit 1); exit 1; }; }
12822 cat >conftest.$ac_ext <<_ACEOF
12823 /* confdefs.h. */
12824 _ACEOF
12825 cat confdefs.h >>conftest.$ac_ext
12826 cat >>conftest.$ac_ext <<_ACEOF
12827 /* end confdefs.h. */
12829 /* Override any gcc2 internal prototype to avoid an error. */
12830 #ifdef __cplusplus
12831 extern "C"
12832 #endif
12833 /* We use char because int might match the return type of a gcc2
12834 builtin and then its argument prototype would still apply. */
12835 char cosf ();
12837 main ()
12839 cosf ();
12841 return 0;
12843 _ACEOF
12844 rm -f conftest.$ac_objext conftest$ac_exeext
12845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12846 (eval $ac_link) 2>conftest.er1
12847 ac_status=$?
12848 grep -v '^ *+' conftest.er1 >conftest.err
12849 rm -f conftest.er1
12850 cat conftest.err >&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); } &&
12853 { ac_try='test -z "$ac_c_werror_flag"
12854 || test ! -s conftest.err'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12857 ac_status=$?
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; } &&
12860 { ac_try='test -s conftest$ac_exeext'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12863 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12866 ac_cv_lib_m_cosf=yes
12867 else
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12871 ac_cv_lib_m_cosf=no
12873 rm -f conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
12878 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
12879 if test $ac_cv_lib_m_cosf = yes; then
12881 cat >>confdefs.h <<\_ACEOF
12882 #define HAVE_COSF 1
12883 _ACEOF
12887 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12888 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12889 if test "${ac_cv_lib_m_cos+set}" = set; then
12890 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lm $LIBS"
12894 if test x$gcc_no_link = xyes; then
12895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12897 { (exit 1); exit 1; }; }
12899 cat >conftest.$ac_ext <<_ACEOF
12900 /* confdefs.h. */
12901 _ACEOF
12902 cat confdefs.h >>conftest.$ac_ext
12903 cat >>conftest.$ac_ext <<_ACEOF
12904 /* end confdefs.h. */
12906 /* Override any gcc2 internal prototype to avoid an error. */
12907 #ifdef __cplusplus
12908 extern "C"
12909 #endif
12910 /* We use char because int might match the return type of a gcc2
12911 builtin and then its argument prototype would still apply. */
12912 char cos ();
12914 main ()
12916 cos ();
12918 return 0;
12920 _ACEOF
12921 rm -f conftest.$ac_objext conftest$ac_exeext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12923 (eval $ac_link) 2>conftest.er1
12924 ac_status=$?
12925 grep -v '^ *+' conftest.er1 >conftest.err
12926 rm -f conftest.er1
12927 cat conftest.err >&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } &&
12930 { ac_try='test -z "$ac_c_werror_flag"
12931 || test ! -s conftest.err'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12934 ac_status=$?
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; } &&
12937 { ac_try='test -s conftest$ac_exeext'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; }; then
12943 ac_cv_lib_m_cos=yes
12944 else
12945 echo "$as_me: failed program was:" >&5
12946 sed 's/^/| /' conftest.$ac_ext >&5
12948 ac_cv_lib_m_cos=no
12950 rm -f conftest.err conftest.$ac_objext \
12951 conftest$ac_exeext conftest.$ac_ext
12952 LIBS=$ac_check_lib_save_LIBS
12954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12955 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12956 if test $ac_cv_lib_m_cos = yes; then
12958 cat >>confdefs.h <<\_ACEOF
12959 #define HAVE_COS 1
12960 _ACEOF
12964 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
12965 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
12966 if test "${ac_cv_lib_m_cosl+set}" = set; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 else
12969 ac_check_lib_save_LIBS=$LIBS
12970 LIBS="-lm $LIBS"
12971 if test x$gcc_no_link = xyes; then
12972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12974 { (exit 1); exit 1; }; }
12976 cat >conftest.$ac_ext <<_ACEOF
12977 /* confdefs.h. */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12983 /* Override any gcc2 internal prototype to avoid an error. */
12984 #ifdef __cplusplus
12985 extern "C"
12986 #endif
12987 /* We use char because int might match the return type of a gcc2
12988 builtin and then its argument prototype would still apply. */
12989 char cosl ();
12991 main ()
12993 cosl ();
12995 return 0;
12997 _ACEOF
12998 rm -f conftest.$ac_objext conftest$ac_exeext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13000 (eval $ac_link) 2>conftest.er1
13001 ac_status=$?
13002 grep -v '^ *+' conftest.er1 >conftest.err
13003 rm -f conftest.er1
13004 cat conftest.err >&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try='test -z "$ac_c_werror_flag"
13008 || test ! -s conftest.err'
13009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13010 (eval $ac_try) 2>&5
13011 ac_status=$?
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); }; } &&
13014 { ac_try='test -s conftest$ac_exeext'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; }; then
13020 ac_cv_lib_m_cosl=yes
13021 else
13022 echo "$as_me: failed program was:" >&5
13023 sed 's/^/| /' conftest.$ac_ext >&5
13025 ac_cv_lib_m_cosl=no
13027 rm -f conftest.err conftest.$ac_objext \
13028 conftest$ac_exeext conftest.$ac_ext
13029 LIBS=$ac_check_lib_save_LIBS
13031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13032 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13033 if test $ac_cv_lib_m_cosl = yes; then
13035 cat >>confdefs.h <<\_ACEOF
13036 #define HAVE_COSL 1
13037 _ACEOF
13041 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13042 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13043 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13044 echo $ECHO_N "(cached) $ECHO_C" >&6
13045 else
13046 ac_check_lib_save_LIBS=$LIBS
13047 LIBS="-lm $LIBS"
13048 if test x$gcc_no_link = xyes; then
13049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13051 { (exit 1); exit 1; }; }
13053 cat >conftest.$ac_ext <<_ACEOF
13054 /* confdefs.h. */
13055 _ACEOF
13056 cat confdefs.h >>conftest.$ac_ext
13057 cat >>conftest.$ac_ext <<_ACEOF
13058 /* end confdefs.h. */
13060 /* Override any gcc2 internal prototype to avoid an error. */
13061 #ifdef __cplusplus
13062 extern "C"
13063 #endif
13064 /* We use char because int might match the return type of a gcc2
13065 builtin and then its argument prototype would still apply. */
13066 char ccosf ();
13068 main ()
13070 ccosf ();
13072 return 0;
13074 _ACEOF
13075 rm -f conftest.$ac_objext conftest$ac_exeext
13076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13077 (eval $ac_link) 2>conftest.er1
13078 ac_status=$?
13079 grep -v '^ *+' conftest.er1 >conftest.err
13080 rm -f conftest.er1
13081 cat conftest.err >&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); } &&
13084 { ac_try='test -z "$ac_c_werror_flag"
13085 || test ! -s conftest.err'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13088 ac_status=$?
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; } &&
13091 { ac_try='test -s conftest$ac_exeext'
13092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13093 (eval $ac_try) 2>&5
13094 ac_status=$?
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }; }; then
13097 ac_cv_lib_m_ccosf=yes
13098 else
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.$ac_ext >&5
13102 ac_cv_lib_m_ccosf=no
13104 rm -f conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS=$ac_check_lib_save_LIBS
13108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13109 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13110 if test $ac_cv_lib_m_ccosf = yes; then
13112 cat >>confdefs.h <<\_ACEOF
13113 #define HAVE_CCOSF 1
13114 _ACEOF
13118 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13119 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13120 if test "${ac_cv_lib_m_ccos+set}" = set; then
13121 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 else
13123 ac_check_lib_save_LIBS=$LIBS
13124 LIBS="-lm $LIBS"
13125 if test x$gcc_no_link = xyes; then
13126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13128 { (exit 1); exit 1; }; }
13130 cat >conftest.$ac_ext <<_ACEOF
13131 /* confdefs.h. */
13132 _ACEOF
13133 cat confdefs.h >>conftest.$ac_ext
13134 cat >>conftest.$ac_ext <<_ACEOF
13135 /* end confdefs.h. */
13137 /* Override any gcc2 internal prototype to avoid an error. */
13138 #ifdef __cplusplus
13139 extern "C"
13140 #endif
13141 /* We use char because int might match the return type of a gcc2
13142 builtin and then its argument prototype would still apply. */
13143 char ccos ();
13145 main ()
13147 ccos ();
13149 return 0;
13151 _ACEOF
13152 rm -f conftest.$ac_objext conftest$ac_exeext
13153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13154 (eval $ac_link) 2>conftest.er1
13155 ac_status=$?
13156 grep -v '^ *+' conftest.er1 >conftest.err
13157 rm -f conftest.er1
13158 cat conftest.err >&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); } &&
13161 { ac_try='test -z "$ac_c_werror_flag"
13162 || test ! -s conftest.err'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13165 ac_status=$?
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try='test -s conftest$ac_exeext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 ac_cv_lib_m_ccos=yes
13175 else
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5
13179 ac_cv_lib_m_ccos=no
13181 rm -f conftest.err conftest.$ac_objext \
13182 conftest$ac_exeext conftest.$ac_ext
13183 LIBS=$ac_check_lib_save_LIBS
13185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13186 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13187 if test $ac_cv_lib_m_ccos = yes; then
13189 cat >>confdefs.h <<\_ACEOF
13190 #define HAVE_CCOS 1
13191 _ACEOF
13195 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13196 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13197 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 else
13200 ac_check_lib_save_LIBS=$LIBS
13201 LIBS="-lm $LIBS"
13202 if test x$gcc_no_link = xyes; then
13203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13205 { (exit 1); exit 1; }; }
13207 cat >conftest.$ac_ext <<_ACEOF
13208 /* confdefs.h. */
13209 _ACEOF
13210 cat confdefs.h >>conftest.$ac_ext
13211 cat >>conftest.$ac_ext <<_ACEOF
13212 /* end confdefs.h. */
13214 /* Override any gcc2 internal prototype to avoid an error. */
13215 #ifdef __cplusplus
13216 extern "C"
13217 #endif
13218 /* We use char because int might match the return type of a gcc2
13219 builtin and then its argument prototype would still apply. */
13220 char ccosl ();
13222 main ()
13224 ccosl ();
13226 return 0;
13228 _ACEOF
13229 rm -f conftest.$ac_objext conftest$ac_exeext
13230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13231 (eval $ac_link) 2>conftest.er1
13232 ac_status=$?
13233 grep -v '^ *+' conftest.er1 >conftest.err
13234 rm -f conftest.er1
13235 cat conftest.err >&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } &&
13238 { ac_try='test -z "$ac_c_werror_flag"
13239 || test ! -s conftest.err'
13240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13241 (eval $ac_try) 2>&5
13242 ac_status=$?
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }; } &&
13245 { ac_try='test -s conftest$ac_exeext'
13246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13247 (eval $ac_try) 2>&5
13248 ac_status=$?
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); }; }; then
13251 ac_cv_lib_m_ccosl=yes
13252 else
13253 echo "$as_me: failed program was:" >&5
13254 sed 's/^/| /' conftest.$ac_ext >&5
13256 ac_cv_lib_m_ccosl=no
13258 rm -f conftest.err conftest.$ac_objext \
13259 conftest$ac_exeext conftest.$ac_ext
13260 LIBS=$ac_check_lib_save_LIBS
13262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13263 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13264 if test $ac_cv_lib_m_ccosl = yes; then
13266 cat >>confdefs.h <<\_ACEOF
13267 #define HAVE_CCOSL 1
13268 _ACEOF
13272 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13273 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13274 if test "${ac_cv_lib_m_coshf+set}" = set; then
13275 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 else
13277 ac_check_lib_save_LIBS=$LIBS
13278 LIBS="-lm $LIBS"
13279 if test x$gcc_no_link = xyes; then
13280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13282 { (exit 1); exit 1; }; }
13284 cat >conftest.$ac_ext <<_ACEOF
13285 /* confdefs.h. */
13286 _ACEOF
13287 cat confdefs.h >>conftest.$ac_ext
13288 cat >>conftest.$ac_ext <<_ACEOF
13289 /* end confdefs.h. */
13291 /* Override any gcc2 internal prototype to avoid an error. */
13292 #ifdef __cplusplus
13293 extern "C"
13294 #endif
13295 /* We use char because int might match the return type of a gcc2
13296 builtin and then its argument prototype would still apply. */
13297 char coshf ();
13299 main ()
13301 coshf ();
13303 return 0;
13305 _ACEOF
13306 rm -f conftest.$ac_objext conftest$ac_exeext
13307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13308 (eval $ac_link) 2>conftest.er1
13309 ac_status=$?
13310 grep -v '^ *+' conftest.er1 >conftest.err
13311 rm -f conftest.er1
13312 cat conftest.err >&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } &&
13315 { ac_try='test -z "$ac_c_werror_flag"
13316 || test ! -s conftest.err'
13317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13318 (eval $ac_try) 2>&5
13319 ac_status=$?
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; } &&
13322 { ac_try='test -s conftest$ac_exeext'
13323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13324 (eval $ac_try) 2>&5
13325 ac_status=$?
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); }; }; then
13328 ac_cv_lib_m_coshf=yes
13329 else
13330 echo "$as_me: failed program was:" >&5
13331 sed 's/^/| /' conftest.$ac_ext >&5
13333 ac_cv_lib_m_coshf=no
13335 rm -f conftest.err conftest.$ac_objext \
13336 conftest$ac_exeext conftest.$ac_ext
13337 LIBS=$ac_check_lib_save_LIBS
13339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13340 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13341 if test $ac_cv_lib_m_coshf = yes; then
13343 cat >>confdefs.h <<\_ACEOF
13344 #define HAVE_COSHF 1
13345 _ACEOF
13349 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13350 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13351 if test "${ac_cv_lib_m_cosh+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 else
13354 ac_check_lib_save_LIBS=$LIBS
13355 LIBS="-lm $LIBS"
13356 if test x$gcc_no_link = xyes; then
13357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13359 { (exit 1); exit 1; }; }
13361 cat >conftest.$ac_ext <<_ACEOF
13362 /* confdefs.h. */
13363 _ACEOF
13364 cat confdefs.h >>conftest.$ac_ext
13365 cat >>conftest.$ac_ext <<_ACEOF
13366 /* end confdefs.h. */
13368 /* Override any gcc2 internal prototype to avoid an error. */
13369 #ifdef __cplusplus
13370 extern "C"
13371 #endif
13372 /* We use char because int might match the return type of a gcc2
13373 builtin and then its argument prototype would still apply. */
13374 char cosh ();
13376 main ()
13378 cosh ();
13380 return 0;
13382 _ACEOF
13383 rm -f conftest.$ac_objext conftest$ac_exeext
13384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13385 (eval $ac_link) 2>conftest.er1
13386 ac_status=$?
13387 grep -v '^ *+' conftest.er1 >conftest.err
13388 rm -f conftest.er1
13389 cat conftest.err >&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); } &&
13392 { ac_try='test -z "$ac_c_werror_flag"
13393 || test ! -s conftest.err'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13396 ac_status=$?
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try='test -s conftest$ac_exeext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 ac_cv_lib_m_cosh=yes
13406 else
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 ac_cv_lib_m_cosh=no
13412 rm -f conftest.err conftest.$ac_objext \
13413 conftest$ac_exeext conftest.$ac_ext
13414 LIBS=$ac_check_lib_save_LIBS
13416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13417 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13418 if test $ac_cv_lib_m_cosh = yes; then
13420 cat >>confdefs.h <<\_ACEOF
13421 #define HAVE_COSH 1
13422 _ACEOF
13426 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13427 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13428 if test "${ac_cv_lib_m_coshl+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 else
13431 ac_check_lib_save_LIBS=$LIBS
13432 LIBS="-lm $LIBS"
13433 if test x$gcc_no_link = xyes; then
13434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13436 { (exit 1); exit 1; }; }
13438 cat >conftest.$ac_ext <<_ACEOF
13439 /* confdefs.h. */
13440 _ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13445 /* Override any gcc2 internal prototype to avoid an error. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 /* We use char because int might match the return type of a gcc2
13450 builtin and then its argument prototype would still apply. */
13451 char coshl ();
13453 main ()
13455 coshl ();
13457 return 0;
13459 _ACEOF
13460 rm -f conftest.$ac_objext conftest$ac_exeext
13461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13462 (eval $ac_link) 2>conftest.er1
13463 ac_status=$?
13464 grep -v '^ *+' conftest.er1 >conftest.err
13465 rm -f conftest.er1
13466 cat conftest.err >&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try='test -z "$ac_c_werror_flag"
13470 || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try='test -s conftest$ac_exeext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13479 ac_status=$?
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 ac_cv_lib_m_coshl=yes
13483 else
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13487 ac_cv_lib_m_coshl=no
13489 rm -f conftest.err conftest.$ac_objext \
13490 conftest$ac_exeext conftest.$ac_ext
13491 LIBS=$ac_check_lib_save_LIBS
13493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13494 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13495 if test $ac_cv_lib_m_coshl = yes; then
13497 cat >>confdefs.h <<\_ACEOF
13498 #define HAVE_COSHL 1
13499 _ACEOF
13503 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13504 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13505 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 else
13508 ac_check_lib_save_LIBS=$LIBS
13509 LIBS="-lm $LIBS"
13510 if test x$gcc_no_link = xyes; then
13511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13513 { (exit 1); exit 1; }; }
13515 cat >conftest.$ac_ext <<_ACEOF
13516 /* confdefs.h. */
13517 _ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13522 /* Override any gcc2 internal prototype to avoid an error. */
13523 #ifdef __cplusplus
13524 extern "C"
13525 #endif
13526 /* We use char because int might match the return type of a gcc2
13527 builtin and then its argument prototype would still apply. */
13528 char ccoshf ();
13530 main ()
13532 ccoshf ();
13534 return 0;
13536 _ACEOF
13537 rm -f conftest.$ac_objext conftest$ac_exeext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13539 (eval $ac_link) 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } &&
13546 { ac_try='test -z "$ac_c_werror_flag"
13547 || test ! -s conftest.err'
13548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13549 (eval $ac_try) 2>&5
13550 ac_status=$?
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); }; } &&
13553 { ac_try='test -s conftest$ac_exeext'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13556 ac_status=$?
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; }; then
13559 ac_cv_lib_m_ccoshf=yes
13560 else
13561 echo "$as_me: failed program was:" >&5
13562 sed 's/^/| /' conftest.$ac_ext >&5
13564 ac_cv_lib_m_ccoshf=no
13566 rm -f conftest.err conftest.$ac_objext \
13567 conftest$ac_exeext conftest.$ac_ext
13568 LIBS=$ac_check_lib_save_LIBS
13570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13571 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13572 if test $ac_cv_lib_m_ccoshf = yes; then
13574 cat >>confdefs.h <<\_ACEOF
13575 #define HAVE_CCOSHF 1
13576 _ACEOF
13580 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13581 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13582 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13584 else
13585 ac_check_lib_save_LIBS=$LIBS
13586 LIBS="-lm $LIBS"
13587 if test x$gcc_no_link = xyes; then
13588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13590 { (exit 1); exit 1; }; }
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13599 /* Override any gcc2 internal prototype to avoid an error. */
13600 #ifdef __cplusplus
13601 extern "C"
13602 #endif
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13605 char ccosh ();
13607 main ()
13609 ccosh ();
13611 return 0;
13613 _ACEOF
13614 rm -f conftest.$ac_objext conftest$ac_exeext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13616 (eval $ac_link) 2>conftest.er1
13617 ac_status=$?
13618 grep -v '^ *+' conftest.er1 >conftest.err
13619 rm -f conftest.er1
13620 cat conftest.err >&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try='test -z "$ac_c_werror_flag"
13624 || test ! -s conftest.err'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; } &&
13630 { ac_try='test -s conftest$ac_exeext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13633 ac_status=$?
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 ac_cv_lib_m_ccosh=yes
13637 else
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.$ac_ext >&5
13641 ac_cv_lib_m_ccosh=no
13643 rm -f conftest.err conftest.$ac_objext \
13644 conftest$ac_exeext conftest.$ac_ext
13645 LIBS=$ac_check_lib_save_LIBS
13647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13648 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13649 if test $ac_cv_lib_m_ccosh = yes; then
13651 cat >>confdefs.h <<\_ACEOF
13652 #define HAVE_CCOSH 1
13653 _ACEOF
13657 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13658 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13659 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 else
13662 ac_check_lib_save_LIBS=$LIBS
13663 LIBS="-lm $LIBS"
13664 if test x$gcc_no_link = xyes; then
13665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13667 { (exit 1); exit 1; }; }
13669 cat >conftest.$ac_ext <<_ACEOF
13670 /* confdefs.h. */
13671 _ACEOF
13672 cat confdefs.h >>conftest.$ac_ext
13673 cat >>conftest.$ac_ext <<_ACEOF
13674 /* end confdefs.h. */
13676 /* Override any gcc2 internal prototype to avoid an error. */
13677 #ifdef __cplusplus
13678 extern "C"
13679 #endif
13680 /* We use char because int might match the return type of a gcc2
13681 builtin and then its argument prototype would still apply. */
13682 char ccoshl ();
13684 main ()
13686 ccoshl ();
13688 return 0;
13690 _ACEOF
13691 rm -f conftest.$ac_objext conftest$ac_exeext
13692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13693 (eval $ac_link) 2>conftest.er1
13694 ac_status=$?
13695 grep -v '^ *+' conftest.er1 >conftest.err
13696 rm -f conftest.er1
13697 cat conftest.err >&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } &&
13700 { ac_try='test -z "$ac_c_werror_flag"
13701 || test ! -s conftest.err'
13702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13703 (eval $ac_try) 2>&5
13704 ac_status=$?
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; } &&
13707 { ac_try='test -s conftest$ac_exeext'
13708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13709 (eval $ac_try) 2>&5
13710 ac_status=$?
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; }; then
13713 ac_cv_lib_m_ccoshl=yes
13714 else
13715 echo "$as_me: failed program was:" >&5
13716 sed 's/^/| /' conftest.$ac_ext >&5
13718 ac_cv_lib_m_ccoshl=no
13720 rm -f conftest.err conftest.$ac_objext \
13721 conftest$ac_exeext conftest.$ac_ext
13722 LIBS=$ac_check_lib_save_LIBS
13724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13725 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13726 if test $ac_cv_lib_m_ccoshl = yes; then
13728 cat >>confdefs.h <<\_ACEOF
13729 #define HAVE_CCOSHL 1
13730 _ACEOF
13734 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13735 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13736 if test "${ac_cv_lib_m_expf+set}" = set; then
13737 echo $ECHO_N "(cached) $ECHO_C" >&6
13738 else
13739 ac_check_lib_save_LIBS=$LIBS
13740 LIBS="-lm $LIBS"
13741 if test x$gcc_no_link = xyes; then
13742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13744 { (exit 1); exit 1; }; }
13746 cat >conftest.$ac_ext <<_ACEOF
13747 /* confdefs.h. */
13748 _ACEOF
13749 cat confdefs.h >>conftest.$ac_ext
13750 cat >>conftest.$ac_ext <<_ACEOF
13751 /* end confdefs.h. */
13753 /* Override any gcc2 internal prototype to avoid an error. */
13754 #ifdef __cplusplus
13755 extern "C"
13756 #endif
13757 /* We use char because int might match the return type of a gcc2
13758 builtin and then its argument prototype would still apply. */
13759 char expf ();
13761 main ()
13763 expf ();
13765 return 0;
13767 _ACEOF
13768 rm -f conftest.$ac_objext conftest$ac_exeext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13770 (eval $ac_link) 2>conftest.er1
13771 ac_status=$?
13772 grep -v '^ *+' conftest.er1 >conftest.err
13773 rm -f conftest.er1
13774 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try='test -z "$ac_c_werror_flag"
13778 || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13781 ac_status=$?
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try='test -s conftest$ac_exeext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13787 ac_status=$?
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 ac_cv_lib_m_expf=yes
13791 else
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.$ac_ext >&5
13795 ac_cv_lib_m_expf=no
13797 rm -f conftest.err conftest.$ac_objext \
13798 conftest$ac_exeext conftest.$ac_ext
13799 LIBS=$ac_check_lib_save_LIBS
13801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13802 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13803 if test $ac_cv_lib_m_expf = yes; then
13805 cat >>confdefs.h <<\_ACEOF
13806 #define HAVE_EXPF 1
13807 _ACEOF
13811 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13812 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13813 if test "${ac_cv_lib_m_exp+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 else
13816 ac_check_lib_save_LIBS=$LIBS
13817 LIBS="-lm $LIBS"
13818 if test x$gcc_no_link = xyes; then
13819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13821 { (exit 1); exit 1; }; }
13823 cat >conftest.$ac_ext <<_ACEOF
13824 /* confdefs.h. */
13825 _ACEOF
13826 cat confdefs.h >>conftest.$ac_ext
13827 cat >>conftest.$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13830 /* Override any gcc2 internal prototype to avoid an error. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 /* We use char because int might match the return type of a gcc2
13835 builtin and then its argument prototype would still apply. */
13836 char exp ();
13838 main ()
13840 exp ();
13842 return 0;
13844 _ACEOF
13845 rm -f conftest.$ac_objext conftest$ac_exeext
13846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13847 (eval $ac_link) 2>conftest.er1
13848 ac_status=$?
13849 grep -v '^ *+' conftest.er1 >conftest.err
13850 rm -f conftest.er1
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } &&
13854 { ac_try='test -z "$ac_c_werror_flag"
13855 || test ! -s conftest.err'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13858 ac_status=$?
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; } &&
13861 { ac_try='test -s conftest$ac_exeext'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13864 ac_status=$?
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_cv_lib_m_exp=yes
13868 else
13869 echo "$as_me: failed program was:" >&5
13870 sed 's/^/| /' conftest.$ac_ext >&5
13872 ac_cv_lib_m_exp=no
13874 rm -f conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS=$ac_check_lib_save_LIBS
13878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
13879 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
13880 if test $ac_cv_lib_m_exp = yes; then
13882 cat >>confdefs.h <<\_ACEOF
13883 #define HAVE_EXP 1
13884 _ACEOF
13888 echo "$as_me:$LINENO: checking for expl in -lm" >&5
13889 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
13890 if test "${ac_cv_lib_m_expl+set}" = set; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 else
13893 ac_check_lib_save_LIBS=$LIBS
13894 LIBS="-lm $LIBS"
13895 if test x$gcc_no_link = xyes; then
13896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13898 { (exit 1); exit 1; }; }
13900 cat >conftest.$ac_ext <<_ACEOF
13901 /* confdefs.h. */
13902 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13907 /* Override any gcc2 internal prototype to avoid an error. */
13908 #ifdef __cplusplus
13909 extern "C"
13910 #endif
13911 /* We use char because int might match the return type of a gcc2
13912 builtin and then its argument prototype would still apply. */
13913 char expl ();
13915 main ()
13917 expl ();
13919 return 0;
13921 _ACEOF
13922 rm -f conftest.$ac_objext conftest$ac_exeext
13923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13924 (eval $ac_link) 2>conftest.er1
13925 ac_status=$?
13926 grep -v '^ *+' conftest.er1 >conftest.err
13927 rm -f conftest.er1
13928 cat conftest.err >&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); } &&
13931 { ac_try='test -z "$ac_c_werror_flag"
13932 || test ! -s conftest.err'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13935 ac_status=$?
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; } &&
13938 { ac_try='test -s conftest$ac_exeext'
13939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13940 (eval $ac_try) 2>&5
13941 ac_status=$?
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; }; then
13944 ac_cv_lib_m_expl=yes
13945 else
13946 echo "$as_me: failed program was:" >&5
13947 sed 's/^/| /' conftest.$ac_ext >&5
13949 ac_cv_lib_m_expl=no
13951 rm -f conftest.err conftest.$ac_objext \
13952 conftest$ac_exeext conftest.$ac_ext
13953 LIBS=$ac_check_lib_save_LIBS
13955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
13956 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
13957 if test $ac_cv_lib_m_expl = yes; then
13959 cat >>confdefs.h <<\_ACEOF
13960 #define HAVE_EXPL 1
13961 _ACEOF
13965 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
13966 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
13967 if test "${ac_cv_lib_m_cexpf+set}" = set; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13969 else
13970 ac_check_lib_save_LIBS=$LIBS
13971 LIBS="-lm $LIBS"
13972 if test x$gcc_no_link = xyes; then
13973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13975 { (exit 1); exit 1; }; }
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13984 /* Override any gcc2 internal prototype to avoid an error. */
13985 #ifdef __cplusplus
13986 extern "C"
13987 #endif
13988 /* We use char because int might match the return type of a gcc2
13989 builtin and then its argument prototype would still apply. */
13990 char cexpf ();
13992 main ()
13994 cexpf ();
13996 return 0;
13998 _ACEOF
13999 rm -f conftest.$ac_objext conftest$ac_exeext
14000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14001 (eval $ac_link) 2>conftest.er1
14002 ac_status=$?
14003 grep -v '^ *+' conftest.er1 >conftest.err
14004 rm -f conftest.er1
14005 cat conftest.err >&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } &&
14008 { ac_try='test -z "$ac_c_werror_flag"
14009 || test ! -s conftest.err'
14010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011 (eval $ac_try) 2>&5
14012 ac_status=$?
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; } &&
14015 { ac_try='test -s conftest$ac_exeext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14018 ac_status=$?
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 ac_cv_lib_m_cexpf=yes
14022 else
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14026 ac_cv_lib_m_cexpf=no
14028 rm -f conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14033 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14034 if test $ac_cv_lib_m_cexpf = yes; then
14036 cat >>confdefs.h <<\_ACEOF
14037 #define HAVE_CEXPF 1
14038 _ACEOF
14042 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14043 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14044 if test "${ac_cv_lib_m_cexp+set}" = set; then
14045 echo $ECHO_N "(cached) $ECHO_C" >&6
14046 else
14047 ac_check_lib_save_LIBS=$LIBS
14048 LIBS="-lm $LIBS"
14049 if test x$gcc_no_link = xyes; then
14050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14052 { (exit 1); exit 1; }; }
14054 cat >conftest.$ac_ext <<_ACEOF
14055 /* confdefs.h. */
14056 _ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14061 /* Override any gcc2 internal prototype to avoid an error. */
14062 #ifdef __cplusplus
14063 extern "C"
14064 #endif
14065 /* We use char because int might match the return type of a gcc2
14066 builtin and then its argument prototype would still apply. */
14067 char cexp ();
14069 main ()
14071 cexp ();
14073 return 0;
14075 _ACEOF
14076 rm -f conftest.$ac_objext conftest$ac_exeext
14077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14078 (eval $ac_link) 2>conftest.er1
14079 ac_status=$?
14080 grep -v '^ *+' conftest.er1 >conftest.err
14081 rm -f conftest.er1
14082 cat conftest.err >&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); } &&
14085 { ac_try='test -z "$ac_c_werror_flag"
14086 || test ! -s conftest.err'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14089 ac_status=$?
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; } &&
14092 { ac_try='test -s conftest$ac_exeext'
14093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14094 (eval $ac_try) 2>&5
14095 ac_status=$?
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); }; }; then
14098 ac_cv_lib_m_cexp=yes
14099 else
14100 echo "$as_me: failed program was:" >&5
14101 sed 's/^/| /' conftest.$ac_ext >&5
14103 ac_cv_lib_m_cexp=no
14105 rm -f conftest.err conftest.$ac_objext \
14106 conftest$ac_exeext conftest.$ac_ext
14107 LIBS=$ac_check_lib_save_LIBS
14109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14110 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14111 if test $ac_cv_lib_m_cexp = yes; then
14113 cat >>confdefs.h <<\_ACEOF
14114 #define HAVE_CEXP 1
14115 _ACEOF
14119 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14120 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14121 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 else
14124 ac_check_lib_save_LIBS=$LIBS
14125 LIBS="-lm $LIBS"
14126 if test x$gcc_no_link = xyes; then
14127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14129 { (exit 1); exit 1; }; }
14131 cat >conftest.$ac_ext <<_ACEOF
14132 /* confdefs.h. */
14133 _ACEOF
14134 cat confdefs.h >>conftest.$ac_ext
14135 cat >>conftest.$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14138 /* Override any gcc2 internal prototype to avoid an error. */
14139 #ifdef __cplusplus
14140 extern "C"
14141 #endif
14142 /* We use char because int might match the return type of a gcc2
14143 builtin and then its argument prototype would still apply. */
14144 char cexpl ();
14146 main ()
14148 cexpl ();
14150 return 0;
14152 _ACEOF
14153 rm -f conftest.$ac_objext conftest$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest$ac_exeext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_cv_lib_m_cexpl=yes
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14180 ac_cv_lib_m_cexpl=no
14182 rm -f conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14184 LIBS=$ac_check_lib_save_LIBS
14186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14187 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14188 if test $ac_cv_lib_m_cexpl = yes; then
14190 cat >>confdefs.h <<\_ACEOF
14191 #define HAVE_CEXPL 1
14192 _ACEOF
14196 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14197 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14198 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 else
14201 ac_check_lib_save_LIBS=$LIBS
14202 LIBS="-lm $LIBS"
14203 if test x$gcc_no_link = xyes; then
14204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14206 { (exit 1); exit 1; }; }
14208 cat >conftest.$ac_ext <<_ACEOF
14209 /* confdefs.h. */
14210 _ACEOF
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14215 /* Override any gcc2 internal prototype to avoid an error. */
14216 #ifdef __cplusplus
14217 extern "C"
14218 #endif
14219 /* We use char because int might match the return type of a gcc2
14220 builtin and then its argument prototype would still apply. */
14221 char fabsf ();
14223 main ()
14225 fabsf ();
14227 return 0;
14229 _ACEOF
14230 rm -f conftest.$ac_objext conftest$ac_exeext
14231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14232 (eval $ac_link) 2>conftest.er1
14233 ac_status=$?
14234 grep -v '^ *+' conftest.er1 >conftest.err
14235 rm -f conftest.er1
14236 cat conftest.err >&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } &&
14239 { ac_try='test -z "$ac_c_werror_flag"
14240 || test ! -s conftest.err'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14243 ac_status=$?
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; } &&
14246 { ac_try='test -s conftest$ac_exeext'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14249 ac_status=$?
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; }; then
14252 ac_cv_lib_m_fabsf=yes
14253 else
14254 echo "$as_me: failed program was:" >&5
14255 sed 's/^/| /' conftest.$ac_ext >&5
14257 ac_cv_lib_m_fabsf=no
14259 rm -f conftest.err conftest.$ac_objext \
14260 conftest$ac_exeext conftest.$ac_ext
14261 LIBS=$ac_check_lib_save_LIBS
14263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14264 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14265 if test $ac_cv_lib_m_fabsf = yes; then
14267 cat >>confdefs.h <<\_ACEOF
14268 #define HAVE_FABSF 1
14269 _ACEOF
14273 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14274 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14275 if test "${ac_cv_lib_m_fabs+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 else
14278 ac_check_lib_save_LIBS=$LIBS
14279 LIBS="-lm $LIBS"
14280 if test x$gcc_no_link = xyes; then
14281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14283 { (exit 1); exit 1; }; }
14285 cat >conftest.$ac_ext <<_ACEOF
14286 /* confdefs.h. */
14287 _ACEOF
14288 cat confdefs.h >>conftest.$ac_ext
14289 cat >>conftest.$ac_ext <<_ACEOF
14290 /* end confdefs.h. */
14292 /* Override any gcc2 internal prototype to avoid an error. */
14293 #ifdef __cplusplus
14294 extern "C"
14295 #endif
14296 /* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14298 char fabs ();
14300 main ()
14302 fabs ();
14304 return 0;
14306 _ACEOF
14307 rm -f conftest.$ac_objext conftest$ac_exeext
14308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14309 (eval $ac_link) 2>conftest.er1
14310 ac_status=$?
14311 grep -v '^ *+' conftest.er1 >conftest.err
14312 rm -f conftest.er1
14313 cat conftest.err >&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try='test -z "$ac_c_werror_flag"
14317 || test ! -s conftest.err'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14320 ac_status=$?
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; } &&
14323 { ac_try='test -s conftest$ac_exeext'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; }; then
14329 ac_cv_lib_m_fabs=yes
14330 else
14331 echo "$as_me: failed program was:" >&5
14332 sed 's/^/| /' conftest.$ac_ext >&5
14334 ac_cv_lib_m_fabs=no
14336 rm -f conftest.err conftest.$ac_objext \
14337 conftest$ac_exeext conftest.$ac_ext
14338 LIBS=$ac_check_lib_save_LIBS
14340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14341 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14342 if test $ac_cv_lib_m_fabs = yes; then
14344 cat >>confdefs.h <<\_ACEOF
14345 #define HAVE_FABS 1
14346 _ACEOF
14350 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14351 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14352 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 ac_check_lib_save_LIBS=$LIBS
14356 LIBS="-lm $LIBS"
14357 if test x$gcc_no_link = xyes; then
14358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14360 { (exit 1); exit 1; }; }
14362 cat >conftest.$ac_ext <<_ACEOF
14363 /* confdefs.h. */
14364 _ACEOF
14365 cat confdefs.h >>conftest.$ac_ext
14366 cat >>conftest.$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14369 /* Override any gcc2 internal prototype to avoid an error. */
14370 #ifdef __cplusplus
14371 extern "C"
14372 #endif
14373 /* We use char because int might match the return type of a gcc2
14374 builtin and then its argument prototype would still apply. */
14375 char fabsl ();
14377 main ()
14379 fabsl ();
14381 return 0;
14383 _ACEOF
14384 rm -f conftest.$ac_objext conftest$ac_exeext
14385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14386 (eval $ac_link) 2>conftest.er1
14387 ac_status=$?
14388 grep -v '^ *+' conftest.er1 >conftest.err
14389 rm -f conftest.er1
14390 cat conftest.err >&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } &&
14393 { ac_try='test -z "$ac_c_werror_flag"
14394 || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14397 ac_status=$?
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try='test -s conftest$ac_exeext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 ac_cv_lib_m_fabsl=yes
14407 else
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.$ac_ext >&5
14411 ac_cv_lib_m_fabsl=no
14413 rm -f conftest.err conftest.$ac_objext \
14414 conftest$ac_exeext conftest.$ac_ext
14415 LIBS=$ac_check_lib_save_LIBS
14417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14418 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14419 if test $ac_cv_lib_m_fabsl = yes; then
14421 cat >>confdefs.h <<\_ACEOF
14422 #define HAVE_FABSL 1
14423 _ACEOF
14427 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14428 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14429 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14430 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 else
14432 ac_check_lib_save_LIBS=$LIBS
14433 LIBS="-lm $LIBS"
14434 if test x$gcc_no_link = xyes; then
14435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14437 { (exit 1); exit 1; }; }
14439 cat >conftest.$ac_ext <<_ACEOF
14440 /* confdefs.h. */
14441 _ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14446 /* Override any gcc2 internal prototype to avoid an error. */
14447 #ifdef __cplusplus
14448 extern "C"
14449 #endif
14450 /* We use char because int might match the return type of a gcc2
14451 builtin and then its argument prototype would still apply. */
14452 char cabsf ();
14454 main ()
14456 cabsf ();
14458 return 0;
14460 _ACEOF
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14463 (eval $ac_link) 2>conftest.er1
14464 ac_status=$?
14465 grep -v '^ *+' conftest.er1 >conftest.err
14466 rm -f conftest.er1
14467 cat conftest.err >&5
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try='test -z "$ac_c_werror_flag"
14471 || test ! -s conftest.err'
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473 (eval $ac_try) 2>&5
14474 ac_status=$?
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }; } &&
14477 { ac_try='test -s conftest$ac_exeext'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14480 ac_status=$?
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; }; then
14483 ac_cv_lib_m_cabsf=yes
14484 else
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14488 ac_cv_lib_m_cabsf=no
14490 rm -f conftest.err conftest.$ac_objext \
14491 conftest$ac_exeext conftest.$ac_ext
14492 LIBS=$ac_check_lib_save_LIBS
14494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14495 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14496 if test $ac_cv_lib_m_cabsf = yes; then
14498 cat >>confdefs.h <<\_ACEOF
14499 #define HAVE_CABSF 1
14500 _ACEOF
14504 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14505 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14506 if test "${ac_cv_lib_m_cabs+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 else
14509 ac_check_lib_save_LIBS=$LIBS
14510 LIBS="-lm $LIBS"
14511 if test x$gcc_no_link = xyes; then
14512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14514 { (exit 1); exit 1; }; }
14516 cat >conftest.$ac_ext <<_ACEOF
14517 /* confdefs.h. */
14518 _ACEOF
14519 cat confdefs.h >>conftest.$ac_ext
14520 cat >>conftest.$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14523 /* Override any gcc2 internal prototype to avoid an error. */
14524 #ifdef __cplusplus
14525 extern "C"
14526 #endif
14527 /* We use char because int might match the return type of a gcc2
14528 builtin and then its argument prototype would still apply. */
14529 char cabs ();
14531 main ()
14533 cabs ();
14535 return 0;
14537 _ACEOF
14538 rm -f conftest.$ac_objext conftest$ac_exeext
14539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14540 (eval $ac_link) 2>conftest.er1
14541 ac_status=$?
14542 grep -v '^ *+' conftest.er1 >conftest.err
14543 rm -f conftest.er1
14544 cat conftest.err >&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); } &&
14547 { ac_try='test -z "$ac_c_werror_flag"
14548 || test ! -s conftest.err'
14549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14550 (eval $ac_try) 2>&5
14551 ac_status=$?
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); }; } &&
14554 { ac_try='test -s conftest$ac_exeext'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14557 ac_status=$?
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; }; then
14560 ac_cv_lib_m_cabs=yes
14561 else
14562 echo "$as_me: failed program was:" >&5
14563 sed 's/^/| /' conftest.$ac_ext >&5
14565 ac_cv_lib_m_cabs=no
14567 rm -f conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 LIBS=$ac_check_lib_save_LIBS
14571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14572 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14573 if test $ac_cv_lib_m_cabs = yes; then
14575 cat >>confdefs.h <<\_ACEOF
14576 #define HAVE_CABS 1
14577 _ACEOF
14581 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14582 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14583 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14584 echo $ECHO_N "(cached) $ECHO_C" >&6
14585 else
14586 ac_check_lib_save_LIBS=$LIBS
14587 LIBS="-lm $LIBS"
14588 if test x$gcc_no_link = xyes; then
14589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14591 { (exit 1); exit 1; }; }
14593 cat >conftest.$ac_ext <<_ACEOF
14594 /* confdefs.h. */
14595 _ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14600 /* Override any gcc2 internal prototype to avoid an error. */
14601 #ifdef __cplusplus
14602 extern "C"
14603 #endif
14604 /* We use char because int might match the return type of a gcc2
14605 builtin and then its argument prototype would still apply. */
14606 char cabsl ();
14608 main ()
14610 cabsl ();
14612 return 0;
14614 _ACEOF
14615 rm -f conftest.$ac_objext conftest$ac_exeext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14617 (eval $ac_link) 2>conftest.er1
14618 ac_status=$?
14619 grep -v '^ *+' conftest.er1 >conftest.err
14620 rm -f conftest.er1
14621 cat conftest.err >&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } &&
14624 { ac_try='test -z "$ac_c_werror_flag"
14625 || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try='test -s conftest$ac_exeext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14634 ac_status=$?
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14637 ac_cv_lib_m_cabsl=yes
14638 else
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.$ac_ext >&5
14642 ac_cv_lib_m_cabsl=no
14644 rm -f conftest.err conftest.$ac_objext \
14645 conftest$ac_exeext conftest.$ac_ext
14646 LIBS=$ac_check_lib_save_LIBS
14648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14649 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14650 if test $ac_cv_lib_m_cabsl = yes; then
14652 cat >>confdefs.h <<\_ACEOF
14653 #define HAVE_CABSL 1
14654 _ACEOF
14658 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14659 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14660 if test "${ac_cv_lib_m_floorf+set}" = set; then
14661 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 else
14663 ac_check_lib_save_LIBS=$LIBS
14664 LIBS="-lm $LIBS"
14665 if test x$gcc_no_link = xyes; then
14666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14668 { (exit 1); exit 1; }; }
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14677 /* Override any gcc2 internal prototype to avoid an error. */
14678 #ifdef __cplusplus
14679 extern "C"
14680 #endif
14681 /* We use char because int might match the return type of a gcc2
14682 builtin and then its argument prototype would still apply. */
14683 char floorf ();
14685 main ()
14687 floorf ();
14689 return 0;
14691 _ACEOF
14692 rm -f conftest.$ac_objext conftest$ac_exeext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14694 (eval $ac_link) 2>conftest.er1
14695 ac_status=$?
14696 grep -v '^ *+' conftest.er1 >conftest.err
14697 rm -f conftest.er1
14698 cat conftest.err >&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } &&
14701 { ac_try='test -z "$ac_c_werror_flag"
14702 || test ! -s conftest.err'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; } &&
14708 { ac_try='test -s conftest$ac_exeext'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14711 ac_status=$?
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14714 ac_cv_lib_m_floorf=yes
14715 else
14716 echo "$as_me: failed program was:" >&5
14717 sed 's/^/| /' conftest.$ac_ext >&5
14719 ac_cv_lib_m_floorf=no
14721 rm -f conftest.err conftest.$ac_objext \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_check_lib_save_LIBS
14725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14726 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14727 if test $ac_cv_lib_m_floorf = yes; then
14729 cat >>confdefs.h <<\_ACEOF
14730 #define HAVE_FLOORF 1
14731 _ACEOF
14735 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14736 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14737 if test "${ac_cv_lib_m_floor+set}" = set; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14739 else
14740 ac_check_lib_save_LIBS=$LIBS
14741 LIBS="-lm $LIBS"
14742 if test x$gcc_no_link = xyes; then
14743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14745 { (exit 1); exit 1; }; }
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14754 /* Override any gcc2 internal prototype to avoid an error. */
14755 #ifdef __cplusplus
14756 extern "C"
14757 #endif
14758 /* We use char because int might match the return type of a gcc2
14759 builtin and then its argument prototype would still apply. */
14760 char floor ();
14762 main ()
14764 floor ();
14766 return 0;
14768 _ACEOF
14769 rm -f conftest.$ac_objext conftest$ac_exeext
14770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14771 (eval $ac_link) 2>conftest.er1
14772 ac_status=$?
14773 grep -v '^ *+' conftest.er1 >conftest.err
14774 rm -f conftest.er1
14775 cat conftest.err >&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } &&
14778 { ac_try='test -z "$ac_c_werror_flag"
14779 || test ! -s conftest.err'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14782 ac_status=$?
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; } &&
14785 { ac_try='test -s conftest$ac_exeext'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5
14788 ac_status=$?
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }; }; then
14791 ac_cv_lib_m_floor=yes
14792 else
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.$ac_ext >&5
14796 ac_cv_lib_m_floor=no
14798 rm -f conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14800 LIBS=$ac_check_lib_save_LIBS
14802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14803 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14804 if test $ac_cv_lib_m_floor = yes; then
14806 cat >>confdefs.h <<\_ACEOF
14807 #define HAVE_FLOOR 1
14808 _ACEOF
14812 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14813 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14814 if test "${ac_cv_lib_m_floorl+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14817 ac_check_lib_save_LIBS=$LIBS
14818 LIBS="-lm $LIBS"
14819 if test x$gcc_no_link = xyes; then
14820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14822 { (exit 1); exit 1; }; }
14824 cat >conftest.$ac_ext <<_ACEOF
14825 /* confdefs.h. */
14826 _ACEOF
14827 cat confdefs.h >>conftest.$ac_ext
14828 cat >>conftest.$ac_ext <<_ACEOF
14829 /* end confdefs.h. */
14831 /* Override any gcc2 internal prototype to avoid an error. */
14832 #ifdef __cplusplus
14833 extern "C"
14834 #endif
14835 /* We use char because int might match the return type of a gcc2
14836 builtin and then its argument prototype would still apply. */
14837 char floorl ();
14839 main ()
14841 floorl ();
14843 return 0;
14845 _ACEOF
14846 rm -f conftest.$ac_objext conftest$ac_exeext
14847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14848 (eval $ac_link) 2>conftest.er1
14849 ac_status=$?
14850 grep -v '^ *+' conftest.er1 >conftest.err
14851 rm -f conftest.er1
14852 cat conftest.err >&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try='test -z "$ac_c_werror_flag"
14856 || test ! -s conftest.err'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14859 ac_status=$?
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; } &&
14862 { ac_try='test -s conftest$ac_exeext'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14865 ac_status=$?
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; }; then
14868 ac_cv_lib_m_floorl=yes
14869 else
14870 echo "$as_me: failed program was:" >&5
14871 sed 's/^/| /' conftest.$ac_ext >&5
14873 ac_cv_lib_m_floorl=no
14875 rm -f conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_lib_save_LIBS
14879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
14880 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
14881 if test $ac_cv_lib_m_floorl = yes; then
14883 cat >>confdefs.h <<\_ACEOF
14884 #define HAVE_FLOORL 1
14885 _ACEOF
14889 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
14890 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
14891 if test "${ac_cv_lib_m_frexpf+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 else
14894 ac_check_lib_save_LIBS=$LIBS
14895 LIBS="-lm $LIBS"
14896 if test x$gcc_no_link = xyes; then
14897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14899 { (exit 1); exit 1; }; }
14901 cat >conftest.$ac_ext <<_ACEOF
14902 /* confdefs.h. */
14903 _ACEOF
14904 cat confdefs.h >>conftest.$ac_ext
14905 cat >>conftest.$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14908 /* Override any gcc2 internal prototype to avoid an error. */
14909 #ifdef __cplusplus
14910 extern "C"
14911 #endif
14912 /* We use char because int might match the return type of a gcc2
14913 builtin and then its argument prototype would still apply. */
14914 char frexpf ();
14916 main ()
14918 frexpf ();
14920 return 0;
14922 _ACEOF
14923 rm -f conftest.$ac_objext conftest$ac_exeext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14925 (eval $ac_link) 2>conftest.er1
14926 ac_status=$?
14927 grep -v '^ *+' conftest.er1 >conftest.err
14928 rm -f conftest.er1
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } &&
14932 { ac_try='test -z "$ac_c_werror_flag"
14933 || test ! -s conftest.err'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; } &&
14939 { ac_try='test -s conftest$ac_exeext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14942 ac_status=$?
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_cv_lib_m_frexpf=yes
14946 else
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 ac_cv_lib_m_frexpf=no
14952 rm -f conftest.err conftest.$ac_objext \
14953 conftest$ac_exeext conftest.$ac_ext
14954 LIBS=$ac_check_lib_save_LIBS
14956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
14957 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
14958 if test $ac_cv_lib_m_frexpf = yes; then
14960 cat >>confdefs.h <<\_ACEOF
14961 #define HAVE_FREXPF 1
14962 _ACEOF
14966 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
14967 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
14968 if test "${ac_cv_lib_m_frexp+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 else
14971 ac_check_lib_save_LIBS=$LIBS
14972 LIBS="-lm $LIBS"
14973 if test x$gcc_no_link = xyes; then
14974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14976 { (exit 1); exit 1; }; }
14978 cat >conftest.$ac_ext <<_ACEOF
14979 /* confdefs.h. */
14980 _ACEOF
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14985 /* Override any gcc2 internal prototype to avoid an error. */
14986 #ifdef __cplusplus
14987 extern "C"
14988 #endif
14989 /* We use char because int might match the return type of a gcc2
14990 builtin and then its argument prototype would still apply. */
14991 char frexp ();
14993 main ()
14995 frexp ();
14997 return 0;
14999 _ACEOF
15000 rm -f conftest.$ac_objext conftest$ac_exeext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15002 (eval $ac_link) 2>conftest.er1
15003 ac_status=$?
15004 grep -v '^ *+' conftest.er1 >conftest.err
15005 rm -f conftest.er1
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try='test -z "$ac_c_werror_flag"
15010 || test ! -s conftest.err'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15013 ac_status=$?
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; } &&
15016 { ac_try='test -s conftest$ac_exeext'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15019 ac_status=$?
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; }; then
15022 ac_cv_lib_m_frexp=yes
15023 else
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15027 ac_cv_lib_m_frexp=no
15029 rm -f conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_lib_save_LIBS
15033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15034 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15035 if test $ac_cv_lib_m_frexp = yes; then
15037 cat >>confdefs.h <<\_ACEOF
15038 #define HAVE_FREXP 1
15039 _ACEOF
15043 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15044 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15045 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15046 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 else
15048 ac_check_lib_save_LIBS=$LIBS
15049 LIBS="-lm $LIBS"
15050 if test x$gcc_no_link = xyes; then
15051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15053 { (exit 1); exit 1; }; }
15055 cat >conftest.$ac_ext <<_ACEOF
15056 /* confdefs.h. */
15057 _ACEOF
15058 cat confdefs.h >>conftest.$ac_ext
15059 cat >>conftest.$ac_ext <<_ACEOF
15060 /* end confdefs.h. */
15062 /* Override any gcc2 internal prototype to avoid an error. */
15063 #ifdef __cplusplus
15064 extern "C"
15065 #endif
15066 /* We use char because int might match the return type of a gcc2
15067 builtin and then its argument prototype would still apply. */
15068 char frexpl ();
15070 main ()
15072 frexpl ();
15074 return 0;
15076 _ACEOF
15077 rm -f conftest.$ac_objext conftest$ac_exeext
15078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15079 (eval $ac_link) 2>conftest.er1
15080 ac_status=$?
15081 grep -v '^ *+' conftest.er1 >conftest.err
15082 rm -f conftest.er1
15083 cat conftest.err >&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); } &&
15086 { ac_try='test -z "$ac_c_werror_flag"
15087 || test ! -s conftest.err'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; } &&
15093 { ac_try='test -s conftest$ac_exeext'
15094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095 (eval $ac_try) 2>&5
15096 ac_status=$?
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; }; then
15099 ac_cv_lib_m_frexpl=yes
15100 else
15101 echo "$as_me: failed program was:" >&5
15102 sed 's/^/| /' conftest.$ac_ext >&5
15104 ac_cv_lib_m_frexpl=no
15106 rm -f conftest.err conftest.$ac_objext \
15107 conftest$ac_exeext conftest.$ac_ext
15108 LIBS=$ac_check_lib_save_LIBS
15110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15111 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15112 if test $ac_cv_lib_m_frexpl = yes; then
15114 cat >>confdefs.h <<\_ACEOF
15115 #define HAVE_FREXPL 1
15116 _ACEOF
15120 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15121 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15122 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15123 echo $ECHO_N "(cached) $ECHO_C" >&6
15124 else
15125 ac_check_lib_save_LIBS=$LIBS
15126 LIBS="-lm $LIBS"
15127 if test x$gcc_no_link = xyes; then
15128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15130 { (exit 1); exit 1; }; }
15132 cat >conftest.$ac_ext <<_ACEOF
15133 /* confdefs.h. */
15134 _ACEOF
15135 cat confdefs.h >>conftest.$ac_ext
15136 cat >>conftest.$ac_ext <<_ACEOF
15137 /* end confdefs.h. */
15139 /* Override any gcc2 internal prototype to avoid an error. */
15140 #ifdef __cplusplus
15141 extern "C"
15142 #endif
15143 /* We use char because int might match the return type of a gcc2
15144 builtin and then its argument prototype would still apply. */
15145 char hypotf ();
15147 main ()
15149 hypotf ();
15151 return 0;
15153 _ACEOF
15154 rm -f conftest.$ac_objext conftest$ac_exeext
15155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15156 (eval $ac_link) 2>conftest.er1
15157 ac_status=$?
15158 grep -v '^ *+' conftest.er1 >conftest.err
15159 rm -f conftest.er1
15160 cat conftest.err >&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); } &&
15163 { ac_try='test -z "$ac_c_werror_flag"
15164 || test ! -s conftest.err'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15167 ac_status=$?
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; } &&
15170 { ac_try='test -s conftest$ac_exeext'
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15173 ac_status=$?
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; }; then
15176 ac_cv_lib_m_hypotf=yes
15177 else
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.$ac_ext >&5
15181 ac_cv_lib_m_hypotf=no
15183 rm -f conftest.err conftest.$ac_objext \
15184 conftest$ac_exeext conftest.$ac_ext
15185 LIBS=$ac_check_lib_save_LIBS
15187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15188 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15189 if test $ac_cv_lib_m_hypotf = yes; then
15191 cat >>confdefs.h <<\_ACEOF
15192 #define HAVE_HYPOTF 1
15193 _ACEOF
15197 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15198 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15199 if test "${ac_cv_lib_m_hypot+set}" = set; then
15200 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 else
15202 ac_check_lib_save_LIBS=$LIBS
15203 LIBS="-lm $LIBS"
15204 if test x$gcc_no_link = xyes; then
15205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15207 { (exit 1); exit 1; }; }
15209 cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15216 /* Override any gcc2 internal prototype to avoid an error. */
15217 #ifdef __cplusplus
15218 extern "C"
15219 #endif
15220 /* We use char because int might match the return type of a gcc2
15221 builtin and then its argument prototype would still apply. */
15222 char hypot ();
15224 main ()
15226 hypot ();
15228 return 0;
15230 _ACEOF
15231 rm -f conftest.$ac_objext conftest$ac_exeext
15232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15233 (eval $ac_link) 2>conftest.er1
15234 ac_status=$?
15235 grep -v '^ *+' conftest.er1 >conftest.err
15236 rm -f conftest.er1
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } &&
15240 { ac_try='test -z "$ac_c_werror_flag"
15241 || test ! -s conftest.err'
15242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243 (eval $ac_try) 2>&5
15244 ac_status=$?
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); }; } &&
15247 { ac_try='test -s conftest$ac_exeext'
15248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15249 (eval $ac_try) 2>&5
15250 ac_status=$?
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); }; }; then
15253 ac_cv_lib_m_hypot=yes
15254 else
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15258 ac_cv_lib_m_hypot=no
15260 rm -f conftest.err conftest.$ac_objext \
15261 conftest$ac_exeext conftest.$ac_ext
15262 LIBS=$ac_check_lib_save_LIBS
15264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15265 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15266 if test $ac_cv_lib_m_hypot = yes; then
15268 cat >>confdefs.h <<\_ACEOF
15269 #define HAVE_HYPOT 1
15270 _ACEOF
15274 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15275 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15276 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 else
15279 ac_check_lib_save_LIBS=$LIBS
15280 LIBS="-lm $LIBS"
15281 if test x$gcc_no_link = xyes; then
15282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15284 { (exit 1); exit 1; }; }
15286 cat >conftest.$ac_ext <<_ACEOF
15287 /* confdefs.h. */
15288 _ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15293 /* Override any gcc2 internal prototype to avoid an error. */
15294 #ifdef __cplusplus
15295 extern "C"
15296 #endif
15297 /* We use char because int might match the return type of a gcc2
15298 builtin and then its argument prototype would still apply. */
15299 char hypotl ();
15301 main ()
15303 hypotl ();
15305 return 0;
15307 _ACEOF
15308 rm -f conftest.$ac_objext conftest$ac_exeext
15309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15310 (eval $ac_link) 2>conftest.er1
15311 ac_status=$?
15312 grep -v '^ *+' conftest.er1 >conftest.err
15313 rm -f conftest.er1
15314 cat conftest.err >&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); } &&
15317 { ac_try='test -z "$ac_c_werror_flag"
15318 || test ! -s conftest.err'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15321 ac_status=$?
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; } &&
15324 { ac_try='test -s conftest$ac_exeext'
15325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15326 (eval $ac_try) 2>&5
15327 ac_status=$?
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); }; }; then
15330 ac_cv_lib_m_hypotl=yes
15331 else
15332 echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.$ac_ext >&5
15335 ac_cv_lib_m_hypotl=no
15337 rm -f conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_lib_save_LIBS
15341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15342 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15343 if test $ac_cv_lib_m_hypotl = yes; then
15345 cat >>confdefs.h <<\_ACEOF
15346 #define HAVE_HYPOTL 1
15347 _ACEOF
15351 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
15352 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
15353 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
15354 echo $ECHO_N "(cached) $ECHO_C" >&6
15355 else
15356 ac_check_lib_save_LIBS=$LIBS
15357 LIBS="-lm $LIBS"
15358 if test x$gcc_no_link = xyes; then
15359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15361 { (exit 1); exit 1; }; }
15363 cat >conftest.$ac_ext <<_ACEOF
15364 /* confdefs.h. */
15365 _ACEOF
15366 cat confdefs.h >>conftest.$ac_ext
15367 cat >>conftest.$ac_ext <<_ACEOF
15368 /* end confdefs.h. */
15370 /* Override any gcc2 internal prototype to avoid an error. */
15371 #ifdef __cplusplus
15372 extern "C"
15373 #endif
15374 /* We use char because int might match the return type of a gcc2
15375 builtin and then its argument prototype would still apply. */
15376 char ldexpf ();
15378 main ()
15380 ldexpf ();
15382 return 0;
15384 _ACEOF
15385 rm -f conftest.$ac_objext conftest$ac_exeext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15387 (eval $ac_link) 2>conftest.er1
15388 ac_status=$?
15389 grep -v '^ *+' conftest.er1 >conftest.err
15390 rm -f conftest.er1
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try='test -z "$ac_c_werror_flag"
15395 || test ! -s conftest.err'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; } &&
15401 { ac_try='test -s conftest$ac_exeext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15404 ac_status=$?
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_cv_lib_m_ldexpf=yes
15408 else
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15412 ac_cv_lib_m_ldexpf=no
15414 rm -f conftest.err conftest.$ac_objext \
15415 conftest$ac_exeext conftest.$ac_ext
15416 LIBS=$ac_check_lib_save_LIBS
15418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
15419 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
15420 if test $ac_cv_lib_m_ldexpf = yes; then
15422 cat >>confdefs.h <<\_ACEOF
15423 #define HAVE_LDEXPF 1
15424 _ACEOF
15428 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
15429 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
15430 if test "${ac_cv_lib_m_ldexp+set}" = set; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 else
15433 ac_check_lib_save_LIBS=$LIBS
15434 LIBS="-lm $LIBS"
15435 if test x$gcc_no_link = xyes; then
15436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15438 { (exit 1); exit 1; }; }
15440 cat >conftest.$ac_ext <<_ACEOF
15441 /* confdefs.h. */
15442 _ACEOF
15443 cat confdefs.h >>conftest.$ac_ext
15444 cat >>conftest.$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15447 /* Override any gcc2 internal prototype to avoid an error. */
15448 #ifdef __cplusplus
15449 extern "C"
15450 #endif
15451 /* We use char because int might match the return type of a gcc2
15452 builtin and then its argument prototype would still apply. */
15453 char ldexp ();
15455 main ()
15457 ldexp ();
15459 return 0;
15461 _ACEOF
15462 rm -f conftest.$ac_objext conftest$ac_exeext
15463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15464 (eval $ac_link) 2>conftest.er1
15465 ac_status=$?
15466 grep -v '^ *+' conftest.er1 >conftest.err
15467 rm -f conftest.er1
15468 cat conftest.err >&5
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); } &&
15471 { ac_try='test -z "$ac_c_werror_flag"
15472 || test ! -s conftest.err'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15475 ac_status=$?
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; } &&
15478 { ac_try='test -s conftest$ac_exeext'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15481 ac_status=$?
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; }; then
15484 ac_cv_lib_m_ldexp=yes
15485 else
15486 echo "$as_me: failed program was:" >&5
15487 sed 's/^/| /' conftest.$ac_ext >&5
15489 ac_cv_lib_m_ldexp=no
15491 rm -f conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15493 LIBS=$ac_check_lib_save_LIBS
15495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
15496 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
15497 if test $ac_cv_lib_m_ldexp = yes; then
15499 cat >>confdefs.h <<\_ACEOF
15500 #define HAVE_LDEXP 1
15501 _ACEOF
15505 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
15506 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
15507 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15509 else
15510 ac_check_lib_save_LIBS=$LIBS
15511 LIBS="-lm $LIBS"
15512 if test x$gcc_no_link = xyes; then
15513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15515 { (exit 1); exit 1; }; }
15517 cat >conftest.$ac_ext <<_ACEOF
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15524 /* Override any gcc2 internal prototype to avoid an error. */
15525 #ifdef __cplusplus
15526 extern "C"
15527 #endif
15528 /* We use char because int might match the return type of a gcc2
15529 builtin and then its argument prototype would still apply. */
15530 char ldexpl ();
15532 main ()
15534 ldexpl ();
15536 return 0;
15538 _ACEOF
15539 rm -f conftest.$ac_objext conftest$ac_exeext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15541 (eval $ac_link) 2>conftest.er1
15542 ac_status=$?
15543 grep -v '^ *+' conftest.er1 >conftest.err
15544 rm -f conftest.er1
15545 cat conftest.err >&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try='test -z "$ac_c_werror_flag"
15549 || test ! -s conftest.err'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15552 ac_status=$?
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; } &&
15555 { ac_try='test -s conftest$ac_exeext'
15556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557 (eval $ac_try) 2>&5
15558 ac_status=$?
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; }; then
15561 ac_cv_lib_m_ldexpl=yes
15562 else
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15566 ac_cv_lib_m_ldexpl=no
15568 rm -f conftest.err conftest.$ac_objext \
15569 conftest$ac_exeext conftest.$ac_ext
15570 LIBS=$ac_check_lib_save_LIBS
15572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
15573 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
15574 if test $ac_cv_lib_m_ldexpl = yes; then
15576 cat >>confdefs.h <<\_ACEOF
15577 #define HAVE_LDEXPL 1
15578 _ACEOF
15582 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15583 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15584 if test "${ac_cv_lib_m_logf+set}" = set; then
15585 echo $ECHO_N "(cached) $ECHO_C" >&6
15586 else
15587 ac_check_lib_save_LIBS=$LIBS
15588 LIBS="-lm $LIBS"
15589 if test x$gcc_no_link = xyes; then
15590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15592 { (exit 1); exit 1; }; }
15594 cat >conftest.$ac_ext <<_ACEOF
15595 /* confdefs.h. */
15596 _ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15601 /* Override any gcc2 internal prototype to avoid an error. */
15602 #ifdef __cplusplus
15603 extern "C"
15604 #endif
15605 /* We use char because int might match the return type of a gcc2
15606 builtin and then its argument prototype would still apply. */
15607 char logf ();
15609 main ()
15611 logf ();
15613 return 0;
15615 _ACEOF
15616 rm -f conftest.$ac_objext conftest$ac_exeext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15618 (eval $ac_link) 2>conftest.er1
15619 ac_status=$?
15620 grep -v '^ *+' conftest.er1 >conftest.err
15621 rm -f conftest.er1
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -z "$ac_c_werror_flag"
15626 || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try='test -s conftest$ac_exeext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 ac_cv_lib_m_logf=yes
15639 else
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15643 ac_cv_lib_m_logf=no
15645 rm -f conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_check_lib_save_LIBS
15649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15650 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15651 if test $ac_cv_lib_m_logf = yes; then
15653 cat >>confdefs.h <<\_ACEOF
15654 #define HAVE_LOGF 1
15655 _ACEOF
15659 echo "$as_me:$LINENO: checking for log in -lm" >&5
15660 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15661 if test "${ac_cv_lib_m_log+set}" = set; then
15662 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 else
15664 ac_check_lib_save_LIBS=$LIBS
15665 LIBS="-lm $LIBS"
15666 if test x$gcc_no_link = xyes; then
15667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15669 { (exit 1); exit 1; }; }
15671 cat >conftest.$ac_ext <<_ACEOF
15672 /* confdefs.h. */
15673 _ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15678 /* Override any gcc2 internal prototype to avoid an error. */
15679 #ifdef __cplusplus
15680 extern "C"
15681 #endif
15682 /* We use char because int might match the return type of a gcc2
15683 builtin and then its argument prototype would still apply. */
15684 char log ();
15686 main ()
15688 log ();
15690 return 0;
15692 _ACEOF
15693 rm -f conftest.$ac_objext conftest$ac_exeext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15695 (eval $ac_link) 2>conftest.er1
15696 ac_status=$?
15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -z "$ac_c_werror_flag"
15703 || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try='test -s conftest$ac_exeext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15712 ac_status=$?
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_cv_lib_m_log=yes
15716 else
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15720 ac_cv_lib_m_log=no
15722 rm -f conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_check_lib_save_LIBS
15726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15727 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15728 if test $ac_cv_lib_m_log = yes; then
15730 cat >>confdefs.h <<\_ACEOF
15731 #define HAVE_LOG 1
15732 _ACEOF
15736 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15737 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15738 if test "${ac_cv_lib_m_logl+set}" = set; then
15739 echo $ECHO_N "(cached) $ECHO_C" >&6
15740 else
15741 ac_check_lib_save_LIBS=$LIBS
15742 LIBS="-lm $LIBS"
15743 if test x$gcc_no_link = xyes; then
15744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15746 { (exit 1); exit 1; }; }
15748 cat >conftest.$ac_ext <<_ACEOF
15749 /* confdefs.h. */
15750 _ACEOF
15751 cat confdefs.h >>conftest.$ac_ext
15752 cat >>conftest.$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15755 /* Override any gcc2 internal prototype to avoid an error. */
15756 #ifdef __cplusplus
15757 extern "C"
15758 #endif
15759 /* We use char because int might match the return type of a gcc2
15760 builtin and then its argument prototype would still apply. */
15761 char logl ();
15763 main ()
15765 logl ();
15767 return 0;
15769 _ACEOF
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15772 (eval $ac_link) 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -z "$ac_c_werror_flag"
15780 || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15783 ac_status=$?
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try='test -s conftest$ac_exeext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_cv_lib_m_logl=yes
15793 else
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.$ac_ext >&5
15797 ac_cv_lib_m_logl=no
15799 rm -f conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 LIBS=$ac_check_lib_save_LIBS
15803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
15804 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
15805 if test $ac_cv_lib_m_logl = yes; then
15807 cat >>confdefs.h <<\_ACEOF
15808 #define HAVE_LOGL 1
15809 _ACEOF
15813 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
15814 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
15815 if test "${ac_cv_lib_m_clogf+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15817 else
15818 ac_check_lib_save_LIBS=$LIBS
15819 LIBS="-lm $LIBS"
15820 if test x$gcc_no_link = xyes; then
15821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15823 { (exit 1); exit 1; }; }
15825 cat >conftest.$ac_ext <<_ACEOF
15826 /* confdefs.h. */
15827 _ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15832 /* Override any gcc2 internal prototype to avoid an error. */
15833 #ifdef __cplusplus
15834 extern "C"
15835 #endif
15836 /* We use char because int might match the return type of a gcc2
15837 builtin and then its argument prototype would still apply. */
15838 char clogf ();
15840 main ()
15842 clogf ();
15844 return 0;
15846 _ACEOF
15847 rm -f conftest.$ac_objext conftest$ac_exeext
15848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15849 (eval $ac_link) 2>conftest.er1
15850 ac_status=$?
15851 grep -v '^ *+' conftest.er1 >conftest.err
15852 rm -f conftest.er1
15853 cat conftest.err >&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); } &&
15856 { ac_try='test -z "$ac_c_werror_flag"
15857 || test ! -s conftest.err'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15860 ac_status=$?
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; } &&
15863 { ac_try='test -s conftest$ac_exeext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15866 ac_status=$?
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; }; then
15869 ac_cv_lib_m_clogf=yes
15870 else
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.$ac_ext >&5
15874 ac_cv_lib_m_clogf=no
15876 rm -f conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 LIBS=$ac_check_lib_save_LIBS
15880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
15881 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
15882 if test $ac_cv_lib_m_clogf = yes; then
15884 cat >>confdefs.h <<\_ACEOF
15885 #define HAVE_CLOGF 1
15886 _ACEOF
15890 echo "$as_me:$LINENO: checking for clog in -lm" >&5
15891 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
15892 if test "${ac_cv_lib_m_clog+set}" = set; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15894 else
15895 ac_check_lib_save_LIBS=$LIBS
15896 LIBS="-lm $LIBS"
15897 if test x$gcc_no_link = xyes; then
15898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15900 { (exit 1); exit 1; }; }
15902 cat >conftest.$ac_ext <<_ACEOF
15903 /* confdefs.h. */
15904 _ACEOF
15905 cat confdefs.h >>conftest.$ac_ext
15906 cat >>conftest.$ac_ext <<_ACEOF
15907 /* end confdefs.h. */
15909 /* Override any gcc2 internal prototype to avoid an error. */
15910 #ifdef __cplusplus
15911 extern "C"
15912 #endif
15913 /* We use char because int might match the return type of a gcc2
15914 builtin and then its argument prototype would still apply. */
15915 char clog ();
15917 main ()
15919 clog ();
15921 return 0;
15923 _ACEOF
15924 rm -f conftest.$ac_objext conftest$ac_exeext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15926 (eval $ac_link) 2>conftest.er1
15927 ac_status=$?
15928 grep -v '^ *+' conftest.er1 >conftest.err
15929 rm -f conftest.er1
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try='test -s conftest$ac_exeext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_cv_lib_m_clog=yes
15947 else
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15951 ac_cv_lib_m_clog=no
15953 rm -f conftest.err conftest.$ac_objext \
15954 conftest$ac_exeext conftest.$ac_ext
15955 LIBS=$ac_check_lib_save_LIBS
15957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
15958 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
15959 if test $ac_cv_lib_m_clog = yes; then
15961 cat >>confdefs.h <<\_ACEOF
15962 #define HAVE_CLOG 1
15963 _ACEOF
15967 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
15968 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
15969 if test "${ac_cv_lib_m_clogl+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972 ac_check_lib_save_LIBS=$LIBS
15973 LIBS="-lm $LIBS"
15974 if test x$gcc_no_link = xyes; then
15975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15977 { (exit 1); exit 1; }; }
15979 cat >conftest.$ac_ext <<_ACEOF
15980 /* confdefs.h. */
15981 _ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h. */
15986 /* Override any gcc2 internal prototype to avoid an error. */
15987 #ifdef __cplusplus
15988 extern "C"
15989 #endif
15990 /* We use char because int might match the return type of a gcc2
15991 builtin and then its argument prototype would still apply. */
15992 char clogl ();
15994 main ()
15996 clogl ();
15998 return 0;
16000 _ACEOF
16001 rm -f conftest.$ac_objext conftest$ac_exeext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16003 (eval $ac_link) 2>conftest.er1
16004 ac_status=$?
16005 grep -v '^ *+' conftest.er1 >conftest.err
16006 rm -f conftest.er1
16007 cat conftest.err >&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try='test -z "$ac_c_werror_flag"
16011 || test ! -s conftest.err'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16014 ac_status=$?
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; } &&
16017 { ac_try='test -s conftest$ac_exeext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 ac_cv_lib_m_clogl=yes
16024 else
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.$ac_ext >&5
16028 ac_cv_lib_m_clogl=no
16030 rm -f conftest.err conftest.$ac_objext \
16031 conftest$ac_exeext conftest.$ac_ext
16032 LIBS=$ac_check_lib_save_LIBS
16034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16035 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16036 if test $ac_cv_lib_m_clogl = yes; then
16038 cat >>confdefs.h <<\_ACEOF
16039 #define HAVE_CLOGL 1
16040 _ACEOF
16044 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16045 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16046 if test "${ac_cv_lib_m_log10f+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 else
16049 ac_check_lib_save_LIBS=$LIBS
16050 LIBS="-lm $LIBS"
16051 if test x$gcc_no_link = xyes; then
16052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16054 { (exit 1); exit 1; }; }
16056 cat >conftest.$ac_ext <<_ACEOF
16057 /* confdefs.h. */
16058 _ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16063 /* Override any gcc2 internal prototype to avoid an error. */
16064 #ifdef __cplusplus
16065 extern "C"
16066 #endif
16067 /* We use char because int might match the return type of a gcc2
16068 builtin and then its argument prototype would still apply. */
16069 char log10f ();
16071 main ()
16073 log10f ();
16075 return 0;
16077 _ACEOF
16078 rm -f conftest.$ac_objext conftest$ac_exeext
16079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16080 (eval $ac_link) 2>conftest.er1
16081 ac_status=$?
16082 grep -v '^ *+' conftest.er1 >conftest.err
16083 rm -f conftest.er1
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try='test -z "$ac_c_werror_flag"
16088 || test ! -s conftest.err'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; } &&
16094 { ac_try='test -s conftest$ac_exeext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16097 ac_status=$?
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_cv_lib_m_log10f=yes
16101 else
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16105 ac_cv_lib_m_log10f=no
16107 rm -f conftest.err conftest.$ac_objext \
16108 conftest$ac_exeext conftest.$ac_ext
16109 LIBS=$ac_check_lib_save_LIBS
16111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16112 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16113 if test $ac_cv_lib_m_log10f = yes; then
16115 cat >>confdefs.h <<\_ACEOF
16116 #define HAVE_LOG10F 1
16117 _ACEOF
16121 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16122 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16123 if test "${ac_cv_lib_m_log10+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 else
16126 ac_check_lib_save_LIBS=$LIBS
16127 LIBS="-lm $LIBS"
16128 if test x$gcc_no_link = xyes; then
16129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16131 { (exit 1); exit 1; }; }
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16140 /* Override any gcc2 internal prototype to avoid an error. */
16141 #ifdef __cplusplus
16142 extern "C"
16143 #endif
16144 /* We use char because int might match the return type of a gcc2
16145 builtin and then its argument prototype would still apply. */
16146 char log10 ();
16148 main ()
16150 log10 ();
16152 return 0;
16154 _ACEOF
16155 rm -f conftest.$ac_objext conftest$ac_exeext
16156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16157 (eval $ac_link) 2>conftest.er1
16158 ac_status=$?
16159 grep -v '^ *+' conftest.er1 >conftest.err
16160 rm -f conftest.er1
16161 cat conftest.err >&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } &&
16164 { ac_try='test -z "$ac_c_werror_flag"
16165 || test ! -s conftest.err'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; } &&
16171 { ac_try='test -s conftest$ac_exeext'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16174 ac_status=$?
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; }; then
16177 ac_cv_lib_m_log10=yes
16178 else
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16182 ac_cv_lib_m_log10=no
16184 rm -f conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext conftest.$ac_ext
16186 LIBS=$ac_check_lib_save_LIBS
16188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16189 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16190 if test $ac_cv_lib_m_log10 = yes; then
16192 cat >>confdefs.h <<\_ACEOF
16193 #define HAVE_LOG10 1
16194 _ACEOF
16198 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16199 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16200 if test "${ac_cv_lib_m_log10l+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 else
16203 ac_check_lib_save_LIBS=$LIBS
16204 LIBS="-lm $LIBS"
16205 if test x$gcc_no_link = xyes; then
16206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16208 { (exit 1); exit 1; }; }
16210 cat >conftest.$ac_ext <<_ACEOF
16211 /* confdefs.h. */
16212 _ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16217 /* Override any gcc2 internal prototype to avoid an error. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 /* We use char because int might match the return type of a gcc2
16222 builtin and then its argument prototype would still apply. */
16223 char log10l ();
16225 main ()
16227 log10l ();
16229 return 0;
16231 _ACEOF
16232 rm -f conftest.$ac_objext conftest$ac_exeext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16234 (eval $ac_link) 2>conftest.er1
16235 ac_status=$?
16236 grep -v '^ *+' conftest.er1 >conftest.err
16237 rm -f conftest.er1
16238 cat conftest.err >&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try='test -z "$ac_c_werror_flag"
16242 || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest$ac_exeext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_cv_lib_m_log10l=yes
16255 else
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16259 ac_cv_lib_m_log10l=no
16261 rm -f conftest.err conftest.$ac_objext \
16262 conftest$ac_exeext conftest.$ac_ext
16263 LIBS=$ac_check_lib_save_LIBS
16265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
16266 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
16267 if test $ac_cv_lib_m_log10l = yes; then
16269 cat >>confdefs.h <<\_ACEOF
16270 #define HAVE_LOG10L 1
16271 _ACEOF
16275 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
16276 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
16277 if test "${ac_cv_lib_m_clog10f+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16279 else
16280 ac_check_lib_save_LIBS=$LIBS
16281 LIBS="-lm $LIBS"
16282 if test x$gcc_no_link = xyes; then
16283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16285 { (exit 1); exit 1; }; }
16287 cat >conftest.$ac_ext <<_ACEOF
16288 /* confdefs.h. */
16289 _ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16294 /* Override any gcc2 internal prototype to avoid an error. */
16295 #ifdef __cplusplus
16296 extern "C"
16297 #endif
16298 /* We use char because int might match the return type of a gcc2
16299 builtin and then its argument prototype would still apply. */
16300 char clog10f ();
16302 main ()
16304 clog10f ();
16306 return 0;
16308 _ACEOF
16309 rm -f conftest.$ac_objext conftest$ac_exeext
16310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16311 (eval $ac_link) 2>conftest.er1
16312 ac_status=$?
16313 grep -v '^ *+' conftest.er1 >conftest.err
16314 rm -f conftest.er1
16315 cat conftest.err >&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } &&
16318 { ac_try='test -z "$ac_c_werror_flag"
16319 || test ! -s conftest.err'
16320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16321 (eval $ac_try) 2>&5
16322 ac_status=$?
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; } &&
16325 { ac_try='test -s conftest$ac_exeext'
16326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16327 (eval $ac_try) 2>&5
16328 ac_status=$?
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }; }; then
16331 ac_cv_lib_m_clog10f=yes
16332 else
16333 echo "$as_me: failed program was:" >&5
16334 sed 's/^/| /' conftest.$ac_ext >&5
16336 ac_cv_lib_m_clog10f=no
16338 rm -f conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16340 LIBS=$ac_check_lib_save_LIBS
16342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
16343 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
16344 if test $ac_cv_lib_m_clog10f = yes; then
16346 cat >>confdefs.h <<\_ACEOF
16347 #define HAVE_CLOG10F 1
16348 _ACEOF
16352 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16353 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16354 if test "${ac_cv_lib_m_clog10+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 else
16357 ac_check_lib_save_LIBS=$LIBS
16358 LIBS="-lm $LIBS"
16359 if test x$gcc_no_link = xyes; then
16360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16362 { (exit 1); exit 1; }; }
16364 cat >conftest.$ac_ext <<_ACEOF
16365 /* confdefs.h. */
16366 _ACEOF
16367 cat confdefs.h >>conftest.$ac_ext
16368 cat >>conftest.$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16371 /* Override any gcc2 internal prototype to avoid an error. */
16372 #ifdef __cplusplus
16373 extern "C"
16374 #endif
16375 /* We use char because int might match the return type of a gcc2
16376 builtin and then its argument prototype would still apply. */
16377 char clog10 ();
16379 main ()
16381 clog10 ();
16383 return 0;
16385 _ACEOF
16386 rm -f conftest.$ac_objext conftest$ac_exeext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16388 (eval $ac_link) 2>conftest.er1
16389 ac_status=$?
16390 grep -v '^ *+' conftest.er1 >conftest.err
16391 rm -f conftest.er1
16392 cat conftest.err >&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); } &&
16395 { ac_try='test -z "$ac_c_werror_flag"
16396 || test ! -s conftest.err'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16399 ac_status=$?
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; } &&
16402 { ac_try='test -s conftest$ac_exeext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16405 ac_status=$?
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16408 ac_cv_lib_m_clog10=yes
16409 else
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16413 ac_cv_lib_m_clog10=no
16415 rm -f conftest.err conftest.$ac_objext \
16416 conftest$ac_exeext conftest.$ac_ext
16417 LIBS=$ac_check_lib_save_LIBS
16419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16420 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16421 if test $ac_cv_lib_m_clog10 = yes; then
16423 cat >>confdefs.h <<\_ACEOF
16424 #define HAVE_CLOG10 1
16425 _ACEOF
16429 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16430 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16431 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16434 ac_check_lib_save_LIBS=$LIBS
16435 LIBS="-lm $LIBS"
16436 if test x$gcc_no_link = xyes; then
16437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16439 { (exit 1); exit 1; }; }
16441 cat >conftest.$ac_ext <<_ACEOF
16442 /* confdefs.h. */
16443 _ACEOF
16444 cat confdefs.h >>conftest.$ac_ext
16445 cat >>conftest.$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16448 /* Override any gcc2 internal prototype to avoid an error. */
16449 #ifdef __cplusplus
16450 extern "C"
16451 #endif
16452 /* We use char because int might match the return type of a gcc2
16453 builtin and then its argument prototype would still apply. */
16454 char clog10l ();
16456 main ()
16458 clog10l ();
16460 return 0;
16462 _ACEOF
16463 rm -f conftest.$ac_objext conftest$ac_exeext
16464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16465 (eval $ac_link) 2>conftest.er1
16466 ac_status=$?
16467 grep -v '^ *+' conftest.er1 >conftest.err
16468 rm -f conftest.er1
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try='test -z "$ac_c_werror_flag"
16473 || test ! -s conftest.err'
16474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16475 (eval $ac_try) 2>&5
16476 ac_status=$?
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); }; } &&
16479 { ac_try='test -s conftest$ac_exeext'
16480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16481 (eval $ac_try) 2>&5
16482 ac_status=$?
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; }; then
16485 ac_cv_lib_m_clog10l=yes
16486 else
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.$ac_ext >&5
16490 ac_cv_lib_m_clog10l=no
16492 rm -f conftest.err conftest.$ac_objext \
16493 conftest$ac_exeext conftest.$ac_ext
16494 LIBS=$ac_check_lib_save_LIBS
16496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16497 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16498 if test $ac_cv_lib_m_clog10l = yes; then
16500 cat >>confdefs.h <<\_ACEOF
16501 #define HAVE_CLOG10L 1
16502 _ACEOF
16506 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16507 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16508 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 ac_check_lib_save_LIBS=$LIBS
16512 LIBS="-lm $LIBS"
16513 if test x$gcc_no_link = xyes; then
16514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16516 { (exit 1); exit 1; }; }
16518 cat >conftest.$ac_ext <<_ACEOF
16519 /* confdefs.h. */
16520 _ACEOF
16521 cat confdefs.h >>conftest.$ac_ext
16522 cat >>conftest.$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16525 /* Override any gcc2 internal prototype to avoid an error. */
16526 #ifdef __cplusplus
16527 extern "C"
16528 #endif
16529 /* We use char because int might match the return type of a gcc2
16530 builtin and then its argument prototype would still apply. */
16531 char nextafterf ();
16533 main ()
16535 nextafterf ();
16537 return 0;
16539 _ACEOF
16540 rm -f conftest.$ac_objext conftest$ac_exeext
16541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16542 (eval $ac_link) 2>conftest.er1
16543 ac_status=$?
16544 grep -v '^ *+' conftest.er1 >conftest.err
16545 rm -f conftest.er1
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } &&
16549 { ac_try='test -z "$ac_c_werror_flag"
16550 || test ! -s conftest.err'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; } &&
16556 { ac_try='test -s conftest$ac_exeext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16559 ac_status=$?
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_cv_lib_m_nextafterf=yes
16563 else
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16567 ac_cv_lib_m_nextafterf=no
16569 rm -f conftest.err conftest.$ac_objext \
16570 conftest$ac_exeext conftest.$ac_ext
16571 LIBS=$ac_check_lib_save_LIBS
16573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16574 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16575 if test $ac_cv_lib_m_nextafterf = yes; then
16577 cat >>confdefs.h <<\_ACEOF
16578 #define HAVE_NEXTAFTERF 1
16579 _ACEOF
16583 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16584 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16585 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16586 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 else
16588 ac_check_lib_save_LIBS=$LIBS
16589 LIBS="-lm $LIBS"
16590 if test x$gcc_no_link = xyes; then
16591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16593 { (exit 1); exit 1; }; }
16595 cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h. */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16602 /* Override any gcc2 internal prototype to avoid an error. */
16603 #ifdef __cplusplus
16604 extern "C"
16605 #endif
16606 /* We use char because int might match the return type of a gcc2
16607 builtin and then its argument prototype would still apply. */
16608 char nextafter ();
16610 main ()
16612 nextafter ();
16614 return 0;
16616 _ACEOF
16617 rm -f conftest.$ac_objext conftest$ac_exeext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16619 (eval $ac_link) 2>conftest.er1
16620 ac_status=$?
16621 grep -v '^ *+' conftest.er1 >conftest.err
16622 rm -f conftest.er1
16623 cat conftest.err >&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } &&
16626 { ac_try='test -z "$ac_c_werror_flag"
16627 || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try='test -s conftest$ac_exeext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16636 ac_status=$?
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_cv_lib_m_nextafter=yes
16640 else
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16644 ac_cv_lib_m_nextafter=no
16646 rm -f conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16648 LIBS=$ac_check_lib_save_LIBS
16650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
16651 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16652 if test $ac_cv_lib_m_nextafter = yes; then
16654 cat >>confdefs.h <<\_ACEOF
16655 #define HAVE_NEXTAFTER 1
16656 _ACEOF
16660 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16661 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16662 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 else
16665 ac_check_lib_save_LIBS=$LIBS
16666 LIBS="-lm $LIBS"
16667 if test x$gcc_no_link = xyes; then
16668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16670 { (exit 1); exit 1; }; }
16672 cat >conftest.$ac_ext <<_ACEOF
16673 /* confdefs.h. */
16674 _ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16679 /* Override any gcc2 internal prototype to avoid an error. */
16680 #ifdef __cplusplus
16681 extern "C"
16682 #endif
16683 /* We use char because int might match the return type of a gcc2
16684 builtin and then its argument prototype would still apply. */
16685 char nextafterl ();
16687 main ()
16689 nextafterl ();
16691 return 0;
16693 _ACEOF
16694 rm -f conftest.$ac_objext conftest$ac_exeext
16695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16696 (eval $ac_link) 2>conftest.er1
16697 ac_status=$?
16698 grep -v '^ *+' conftest.er1 >conftest.err
16699 rm -f conftest.er1
16700 cat conftest.err >&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); } &&
16703 { ac_try='test -z "$ac_c_werror_flag"
16704 || test ! -s conftest.err'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16707 ac_status=$?
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; } &&
16710 { ac_try='test -s conftest$ac_exeext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16716 ac_cv_lib_m_nextafterl=yes
16717 else
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16721 ac_cv_lib_m_nextafterl=no
16723 rm -f conftest.err conftest.$ac_objext \
16724 conftest$ac_exeext conftest.$ac_ext
16725 LIBS=$ac_check_lib_save_LIBS
16727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16728 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16729 if test $ac_cv_lib_m_nextafterl = yes; then
16731 cat >>confdefs.h <<\_ACEOF
16732 #define HAVE_NEXTAFTERL 1
16733 _ACEOF
16737 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16738 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16739 if test "${ac_cv_lib_m_powf+set}" = set; then
16740 echo $ECHO_N "(cached) $ECHO_C" >&6
16741 else
16742 ac_check_lib_save_LIBS=$LIBS
16743 LIBS="-lm $LIBS"
16744 if test x$gcc_no_link = xyes; then
16745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16747 { (exit 1); exit 1; }; }
16749 cat >conftest.$ac_ext <<_ACEOF
16750 /* confdefs.h. */
16751 _ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16756 /* Override any gcc2 internal prototype to avoid an error. */
16757 #ifdef __cplusplus
16758 extern "C"
16759 #endif
16760 /* We use char because int might match the return type of a gcc2
16761 builtin and then its argument prototype would still apply. */
16762 char powf ();
16764 main ()
16766 powf ();
16768 return 0;
16770 _ACEOF
16771 rm -f conftest.$ac_objext conftest$ac_exeext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16773 (eval $ac_link) 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try='test -z "$ac_c_werror_flag"
16781 || test ! -s conftest.err'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16784 ac_status=$?
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; } &&
16787 { ac_try='test -s conftest$ac_exeext'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16790 ac_status=$?
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; }; then
16793 ac_cv_lib_m_powf=yes
16794 else
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.$ac_ext >&5
16798 ac_cv_lib_m_powf=no
16800 rm -f conftest.err conftest.$ac_objext \
16801 conftest$ac_exeext conftest.$ac_ext
16802 LIBS=$ac_check_lib_save_LIBS
16804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
16805 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
16806 if test $ac_cv_lib_m_powf = yes; then
16808 cat >>confdefs.h <<\_ACEOF
16809 #define HAVE_POWF 1
16810 _ACEOF
16814 echo "$as_me:$LINENO: checking for pow in -lm" >&5
16815 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
16816 if test "${ac_cv_lib_m_pow+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819 ac_check_lib_save_LIBS=$LIBS
16820 LIBS="-lm $LIBS"
16821 if test x$gcc_no_link = xyes; then
16822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16824 { (exit 1); exit 1; }; }
16826 cat >conftest.$ac_ext <<_ACEOF
16827 /* confdefs.h. */
16828 _ACEOF
16829 cat confdefs.h >>conftest.$ac_ext
16830 cat >>conftest.$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16833 /* Override any gcc2 internal prototype to avoid an error. */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 /* We use char because int might match the return type of a gcc2
16838 builtin and then its argument prototype would still apply. */
16839 char pow ();
16841 main ()
16843 pow ();
16845 return 0;
16847 _ACEOF
16848 rm -f conftest.$ac_objext conftest$ac_exeext
16849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16850 (eval $ac_link) 2>conftest.er1
16851 ac_status=$?
16852 grep -v '^ *+' conftest.er1 >conftest.err
16853 rm -f conftest.er1
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } &&
16857 { ac_try='test -z "$ac_c_werror_flag"
16858 || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try='test -s conftest$ac_exeext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16867 ac_status=$?
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_cv_lib_m_pow=yes
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16875 ac_cv_lib_m_pow=no
16877 rm -f conftest.err conftest.$ac_objext \
16878 conftest$ac_exeext conftest.$ac_ext
16879 LIBS=$ac_check_lib_save_LIBS
16881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16882 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
16883 if test $ac_cv_lib_m_pow = yes; then
16885 cat >>confdefs.h <<\_ACEOF
16886 #define HAVE_POW 1
16887 _ACEOF
16891 echo "$as_me:$LINENO: checking for powl in -lm" >&5
16892 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
16893 if test "${ac_cv_lib_m_powl+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16896 ac_check_lib_save_LIBS=$LIBS
16897 LIBS="-lm $LIBS"
16898 if test x$gcc_no_link = xyes; then
16899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16901 { (exit 1); exit 1; }; }
16903 cat >conftest.$ac_ext <<_ACEOF
16904 /* confdefs.h. */
16905 _ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16910 /* Override any gcc2 internal prototype to avoid an error. */
16911 #ifdef __cplusplus
16912 extern "C"
16913 #endif
16914 /* We use char because int might match the return type of a gcc2
16915 builtin and then its argument prototype would still apply. */
16916 char powl ();
16918 main ()
16920 powl ();
16922 return 0;
16924 _ACEOF
16925 rm -f conftest.$ac_objext conftest$ac_exeext
16926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16927 (eval $ac_link) 2>conftest.er1
16928 ac_status=$?
16929 grep -v '^ *+' conftest.er1 >conftest.err
16930 rm -f conftest.er1
16931 cat conftest.err >&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); } &&
16934 { ac_try='test -z "$ac_c_werror_flag"
16935 || test ! -s conftest.err'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16938 ac_status=$?
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; } &&
16941 { ac_try='test -s conftest$ac_exeext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16944 ac_status=$?
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16947 ac_cv_lib_m_powl=yes
16948 else
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.$ac_ext >&5
16952 ac_cv_lib_m_powl=no
16954 rm -f conftest.err conftest.$ac_objext \
16955 conftest$ac_exeext conftest.$ac_ext
16956 LIBS=$ac_check_lib_save_LIBS
16958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
16959 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
16960 if test $ac_cv_lib_m_powl = yes; then
16962 cat >>confdefs.h <<\_ACEOF
16963 #define HAVE_POWL 1
16964 _ACEOF
16968 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
16969 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
16970 if test "${ac_cv_lib_m_cpowf+set}" = set; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 else
16973 ac_check_lib_save_LIBS=$LIBS
16974 LIBS="-lm $LIBS"
16975 if test x$gcc_no_link = xyes; then
16976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16978 { (exit 1); exit 1; }; }
16980 cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h. */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16987 /* Override any gcc2 internal prototype to avoid an error. */
16988 #ifdef __cplusplus
16989 extern "C"
16990 #endif
16991 /* We use char because int might match the return type of a gcc2
16992 builtin and then its argument prototype would still apply. */
16993 char cpowf ();
16995 main ()
16997 cpowf ();
16999 return 0;
17001 _ACEOF
17002 rm -f conftest.$ac_objext conftest$ac_exeext
17003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17004 (eval $ac_link) 2>conftest.er1
17005 ac_status=$?
17006 grep -v '^ *+' conftest.er1 >conftest.err
17007 rm -f conftest.er1
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } &&
17011 { ac_try='test -z "$ac_c_werror_flag"
17012 || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try='test -s conftest$ac_exeext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17024 ac_cv_lib_m_cpowf=yes
17025 else
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17029 ac_cv_lib_m_cpowf=no
17031 rm -f conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17033 LIBS=$ac_check_lib_save_LIBS
17035 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17036 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17037 if test $ac_cv_lib_m_cpowf = yes; then
17039 cat >>confdefs.h <<\_ACEOF
17040 #define HAVE_CPOWF 1
17041 _ACEOF
17045 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17046 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17047 if test "${ac_cv_lib_m_cpow+set}" = set; then
17048 echo $ECHO_N "(cached) $ECHO_C" >&6
17049 else
17050 ac_check_lib_save_LIBS=$LIBS
17051 LIBS="-lm $LIBS"
17052 if test x$gcc_no_link = xyes; then
17053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17055 { (exit 1); exit 1; }; }
17057 cat >conftest.$ac_ext <<_ACEOF
17058 /* confdefs.h. */
17059 _ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17064 /* Override any gcc2 internal prototype to avoid an error. */
17065 #ifdef __cplusplus
17066 extern "C"
17067 #endif
17068 /* We use char because int might match the return type of a gcc2
17069 builtin and then its argument prototype would still apply. */
17070 char cpow ();
17072 main ()
17074 cpow ();
17076 return 0;
17078 _ACEOF
17079 rm -f conftest.$ac_objext conftest$ac_exeext
17080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17081 (eval $ac_link) 2>conftest.er1
17082 ac_status=$?
17083 grep -v '^ *+' conftest.er1 >conftest.err
17084 rm -f conftest.er1
17085 cat conftest.err >&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); } &&
17088 { ac_try='test -z "$ac_c_werror_flag"
17089 || test ! -s conftest.err'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17092 ac_status=$?
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; } &&
17095 { ac_try='test -s conftest$ac_exeext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 ac_cv_lib_m_cpow=yes
17102 else
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.$ac_ext >&5
17106 ac_cv_lib_m_cpow=no
17108 rm -f conftest.err conftest.$ac_objext \
17109 conftest$ac_exeext conftest.$ac_ext
17110 LIBS=$ac_check_lib_save_LIBS
17112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17113 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17114 if test $ac_cv_lib_m_cpow = yes; then
17116 cat >>confdefs.h <<\_ACEOF
17117 #define HAVE_CPOW 1
17118 _ACEOF
17122 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17123 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17124 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 else
17127 ac_check_lib_save_LIBS=$LIBS
17128 LIBS="-lm $LIBS"
17129 if test x$gcc_no_link = xyes; then
17130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17132 { (exit 1); exit 1; }; }
17134 cat >conftest.$ac_ext <<_ACEOF
17135 /* confdefs.h. */
17136 _ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17141 /* Override any gcc2 internal prototype to avoid an error. */
17142 #ifdef __cplusplus
17143 extern "C"
17144 #endif
17145 /* We use char because int might match the return type of a gcc2
17146 builtin and then its argument prototype would still apply. */
17147 char cpowl ();
17149 main ()
17151 cpowl ();
17153 return 0;
17155 _ACEOF
17156 rm -f conftest.$ac_objext conftest$ac_exeext
17157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17158 (eval $ac_link) 2>conftest.er1
17159 ac_status=$?
17160 grep -v '^ *+' conftest.er1 >conftest.err
17161 rm -f conftest.er1
17162 cat conftest.err >&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } &&
17165 { ac_try='test -z "$ac_c_werror_flag"
17166 || test ! -s conftest.err'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17169 ac_status=$?
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; } &&
17172 { ac_try='test -s conftest$ac_exeext'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17175 ac_status=$?
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; }; then
17178 ac_cv_lib_m_cpowl=yes
17179 else
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17183 ac_cv_lib_m_cpowl=no
17185 rm -f conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 LIBS=$ac_check_lib_save_LIBS
17189 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17190 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17191 if test $ac_cv_lib_m_cpowl = yes; then
17193 cat >>confdefs.h <<\_ACEOF
17194 #define HAVE_CPOWL 1
17195 _ACEOF
17199 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17200 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17201 if test "${ac_cv_lib_m_roundf+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 else
17204 ac_check_lib_save_LIBS=$LIBS
17205 LIBS="-lm $LIBS"
17206 if test x$gcc_no_link = xyes; then
17207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17209 { (exit 1); exit 1; }; }
17211 cat >conftest.$ac_ext <<_ACEOF
17212 /* confdefs.h. */
17213 _ACEOF
17214 cat confdefs.h >>conftest.$ac_ext
17215 cat >>conftest.$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17218 /* Override any gcc2 internal prototype to avoid an error. */
17219 #ifdef __cplusplus
17220 extern "C"
17221 #endif
17222 /* We use char because int might match the return type of a gcc2
17223 builtin and then its argument prototype would still apply. */
17224 char roundf ();
17226 main ()
17228 roundf ();
17230 return 0;
17232 _ACEOF
17233 rm -f conftest.$ac_objext conftest$ac_exeext
17234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17235 (eval $ac_link) 2>conftest.er1
17236 ac_status=$?
17237 grep -v '^ *+' conftest.er1 >conftest.err
17238 rm -f conftest.er1
17239 cat conftest.err >&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } &&
17242 { ac_try='test -z "$ac_c_werror_flag"
17243 || test ! -s conftest.err'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17246 ac_status=$?
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; } &&
17249 { ac_try='test -s conftest$ac_exeext'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17252 ac_status=$?
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; }; then
17255 ac_cv_lib_m_roundf=yes
17256 else
17257 echo "$as_me: failed program was:" >&5
17258 sed 's/^/| /' conftest.$ac_ext >&5
17260 ac_cv_lib_m_roundf=no
17262 rm -f conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17264 LIBS=$ac_check_lib_save_LIBS
17266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
17267 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
17268 if test $ac_cv_lib_m_roundf = yes; then
17270 cat >>confdefs.h <<\_ACEOF
17271 #define HAVE_ROUNDF 1
17272 _ACEOF
17276 echo "$as_me:$LINENO: checking for round in -lm" >&5
17277 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
17278 if test "${ac_cv_lib_m_round+set}" = set; then
17279 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 else
17281 ac_check_lib_save_LIBS=$LIBS
17282 LIBS="-lm $LIBS"
17283 if test x$gcc_no_link = xyes; then
17284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17286 { (exit 1); exit 1; }; }
17288 cat >conftest.$ac_ext <<_ACEOF
17289 /* confdefs.h. */
17290 _ACEOF
17291 cat confdefs.h >>conftest.$ac_ext
17292 cat >>conftest.$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17295 /* Override any gcc2 internal prototype to avoid an error. */
17296 #ifdef __cplusplus
17297 extern "C"
17298 #endif
17299 /* We use char because int might match the return type of a gcc2
17300 builtin and then its argument prototype would still apply. */
17301 char round ();
17303 main ()
17305 round ();
17307 return 0;
17309 _ACEOF
17310 rm -f conftest.$ac_objext conftest$ac_exeext
17311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17312 (eval $ac_link) 2>conftest.er1
17313 ac_status=$?
17314 grep -v '^ *+' conftest.er1 >conftest.err
17315 rm -f conftest.er1
17316 cat conftest.err >&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); } &&
17319 { ac_try='test -z "$ac_c_werror_flag"
17320 || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17323 ac_status=$?
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try='test -s conftest$ac_exeext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17329 ac_status=$?
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17332 ac_cv_lib_m_round=yes
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17337 ac_cv_lib_m_round=no
17339 rm -f conftest.err conftest.$ac_objext \
17340 conftest$ac_exeext conftest.$ac_ext
17341 LIBS=$ac_check_lib_save_LIBS
17343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
17344 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
17345 if test $ac_cv_lib_m_round = yes; then
17347 cat >>confdefs.h <<\_ACEOF
17348 #define HAVE_ROUND 1
17349 _ACEOF
17353 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17354 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17355 if test "${ac_cv_lib_m_roundl+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 else
17358 ac_check_lib_save_LIBS=$LIBS
17359 LIBS="-lm $LIBS"
17360 if test x$gcc_no_link = xyes; then
17361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17363 { (exit 1); exit 1; }; }
17365 cat >conftest.$ac_ext <<_ACEOF
17366 /* confdefs.h. */
17367 _ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17372 /* Override any gcc2 internal prototype to avoid an error. */
17373 #ifdef __cplusplus
17374 extern "C"
17375 #endif
17376 /* We use char because int might match the return type of a gcc2
17377 builtin and then its argument prototype would still apply. */
17378 char roundl ();
17380 main ()
17382 roundl ();
17384 return 0;
17386 _ACEOF
17387 rm -f conftest.$ac_objext conftest$ac_exeext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17389 (eval $ac_link) 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest$ac_exeext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_cv_lib_m_roundl=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 ac_cv_lib_m_roundl=no
17416 rm -f conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 LIBS=$ac_check_lib_save_LIBS
17420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17421 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17422 if test $ac_cv_lib_m_roundl = yes; then
17424 cat >>confdefs.h <<\_ACEOF
17425 #define HAVE_ROUNDL 1
17426 _ACEOF
17430 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17431 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17432 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17435 ac_check_lib_save_LIBS=$LIBS
17436 LIBS="-lm $LIBS"
17437 if test x$gcc_no_link = xyes; then
17438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17440 { (exit 1); exit 1; }; }
17442 cat >conftest.$ac_ext <<_ACEOF
17443 /* confdefs.h. */
17444 _ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17449 /* Override any gcc2 internal prototype to avoid an error. */
17450 #ifdef __cplusplus
17451 extern "C"
17452 #endif
17453 /* We use char because int might match the return type of a gcc2
17454 builtin and then its argument prototype would still apply. */
17455 char scalbnf ();
17457 main ()
17459 scalbnf ();
17461 return 0;
17463 _ACEOF
17464 rm -f conftest.$ac_objext conftest$ac_exeext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17466 (eval $ac_link) 2>conftest.er1
17467 ac_status=$?
17468 grep -v '^ *+' conftest.er1 >conftest.err
17469 rm -f conftest.er1
17470 cat conftest.err >&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try='test -z "$ac_c_werror_flag"
17474 || test ! -s conftest.err'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17477 ac_status=$?
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; } &&
17480 { ac_try='test -s conftest$ac_exeext'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17483 ac_status=$?
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17486 ac_cv_lib_m_scalbnf=yes
17487 else
17488 echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.$ac_ext >&5
17491 ac_cv_lib_m_scalbnf=no
17493 rm -f conftest.err conftest.$ac_objext \
17494 conftest$ac_exeext conftest.$ac_ext
17495 LIBS=$ac_check_lib_save_LIBS
17497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17498 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17499 if test $ac_cv_lib_m_scalbnf = yes; then
17501 cat >>confdefs.h <<\_ACEOF
17502 #define HAVE_SCALBNF 1
17503 _ACEOF
17507 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17508 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17509 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 else
17512 ac_check_lib_save_LIBS=$LIBS
17513 LIBS="-lm $LIBS"
17514 if test x$gcc_no_link = xyes; then
17515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17517 { (exit 1); exit 1; }; }
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17526 /* Override any gcc2 internal prototype to avoid an error. */
17527 #ifdef __cplusplus
17528 extern "C"
17529 #endif
17530 /* We use char because int might match the return type of a gcc2
17531 builtin and then its argument prototype would still apply. */
17532 char scalbn ();
17534 main ()
17536 scalbn ();
17538 return 0;
17540 _ACEOF
17541 rm -f conftest.$ac_objext conftest$ac_exeext
17542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17543 (eval $ac_link) 2>conftest.er1
17544 ac_status=$?
17545 grep -v '^ *+' conftest.er1 >conftest.err
17546 rm -f conftest.er1
17547 cat conftest.err >&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } &&
17550 { ac_try='test -z "$ac_c_werror_flag"
17551 || test ! -s conftest.err'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17554 ac_status=$?
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; } &&
17557 { ac_try='test -s conftest$ac_exeext'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17560 ac_status=$?
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17563 ac_cv_lib_m_scalbn=yes
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17568 ac_cv_lib_m_scalbn=no
17570 rm -f conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 LIBS=$ac_check_lib_save_LIBS
17574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17575 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17576 if test $ac_cv_lib_m_scalbn = yes; then
17578 cat >>confdefs.h <<\_ACEOF
17579 #define HAVE_SCALBN 1
17580 _ACEOF
17584 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17585 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17586 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17587 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 else
17589 ac_check_lib_save_LIBS=$LIBS
17590 LIBS="-lm $LIBS"
17591 if test x$gcc_no_link = xyes; then
17592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17594 { (exit 1); exit 1; }; }
17596 cat >conftest.$ac_ext <<_ACEOF
17597 /* confdefs.h. */
17598 _ACEOF
17599 cat confdefs.h >>conftest.$ac_ext
17600 cat >>conftest.$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17603 /* Override any gcc2 internal prototype to avoid an error. */
17604 #ifdef __cplusplus
17605 extern "C"
17606 #endif
17607 /* We use char because int might match the return type of a gcc2
17608 builtin and then its argument prototype would still apply. */
17609 char scalbnl ();
17611 main ()
17613 scalbnl ();
17615 return 0;
17617 _ACEOF
17618 rm -f conftest.$ac_objext conftest$ac_exeext
17619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17620 (eval $ac_link) 2>conftest.er1
17621 ac_status=$?
17622 grep -v '^ *+' conftest.er1 >conftest.err
17623 rm -f conftest.er1
17624 cat conftest.err >&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); } &&
17627 { ac_try='test -z "$ac_c_werror_flag"
17628 || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest$ac_exeext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 ac_cv_lib_m_scalbnl=yes
17641 else
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.$ac_ext >&5
17645 ac_cv_lib_m_scalbnl=no
17647 rm -f conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17649 LIBS=$ac_check_lib_save_LIBS
17651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
17652 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
17653 if test $ac_cv_lib_m_scalbnl = yes; then
17655 cat >>confdefs.h <<\_ACEOF
17656 #define HAVE_SCALBNL 1
17657 _ACEOF
17661 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17662 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17663 if test "${ac_cv_lib_m_sinf+set}" = set; then
17664 echo $ECHO_N "(cached) $ECHO_C" >&6
17665 else
17666 ac_check_lib_save_LIBS=$LIBS
17667 LIBS="-lm $LIBS"
17668 if test x$gcc_no_link = xyes; then
17669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17671 { (exit 1); exit 1; }; }
17673 cat >conftest.$ac_ext <<_ACEOF
17674 /* confdefs.h. */
17675 _ACEOF
17676 cat confdefs.h >>conftest.$ac_ext
17677 cat >>conftest.$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17680 /* Override any gcc2 internal prototype to avoid an error. */
17681 #ifdef __cplusplus
17682 extern "C"
17683 #endif
17684 /* We use char because int might match the return type of a gcc2
17685 builtin and then its argument prototype would still apply. */
17686 char sinf ();
17688 main ()
17690 sinf ();
17692 return 0;
17694 _ACEOF
17695 rm -f conftest.$ac_objext conftest$ac_exeext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17697 (eval $ac_link) 2>conftest.er1
17698 ac_status=$?
17699 grep -v '^ *+' conftest.er1 >conftest.err
17700 rm -f conftest.er1
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try='test -z "$ac_c_werror_flag"
17705 || test ! -s conftest.err'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; } &&
17711 { ac_try='test -s conftest$ac_exeext'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17714 ac_status=$?
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; }; then
17717 ac_cv_lib_m_sinf=yes
17718 else
17719 echo "$as_me: failed program was:" >&5
17720 sed 's/^/| /' conftest.$ac_ext >&5
17722 ac_cv_lib_m_sinf=no
17724 rm -f conftest.err conftest.$ac_objext \
17725 conftest$ac_exeext conftest.$ac_ext
17726 LIBS=$ac_check_lib_save_LIBS
17728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17729 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17730 if test $ac_cv_lib_m_sinf = yes; then
17732 cat >>confdefs.h <<\_ACEOF
17733 #define HAVE_SINF 1
17734 _ACEOF
17738 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17739 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17740 if test "${ac_cv_lib_m_sin+set}" = set; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17742 else
17743 ac_check_lib_save_LIBS=$LIBS
17744 LIBS="-lm $LIBS"
17745 if test x$gcc_no_link = xyes; then
17746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17748 { (exit 1); exit 1; }; }
17750 cat >conftest.$ac_ext <<_ACEOF
17751 /* confdefs.h. */
17752 _ACEOF
17753 cat confdefs.h >>conftest.$ac_ext
17754 cat >>conftest.$ac_ext <<_ACEOF
17755 /* end confdefs.h. */
17757 /* Override any gcc2 internal prototype to avoid an error. */
17758 #ifdef __cplusplus
17759 extern "C"
17760 #endif
17761 /* We use char because int might match the return type of a gcc2
17762 builtin and then its argument prototype would still apply. */
17763 char sin ();
17765 main ()
17767 sin ();
17769 return 0;
17771 _ACEOF
17772 rm -f conftest.$ac_objext conftest$ac_exeext
17773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17774 (eval $ac_link) 2>conftest.er1
17775 ac_status=$?
17776 grep -v '^ *+' conftest.er1 >conftest.err
17777 rm -f conftest.er1
17778 cat conftest.err >&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -z "$ac_c_werror_flag"
17782 || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try='test -s conftest$ac_exeext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 ac_cv_lib_m_sin=yes
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17799 ac_cv_lib_m_sin=no
17801 rm -f conftest.err conftest.$ac_objext \
17802 conftest$ac_exeext conftest.$ac_ext
17803 LIBS=$ac_check_lib_save_LIBS
17805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17806 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17807 if test $ac_cv_lib_m_sin = yes; then
17809 cat >>confdefs.h <<\_ACEOF
17810 #define HAVE_SIN 1
17811 _ACEOF
17815 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
17816 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
17817 if test "${ac_cv_lib_m_sinl+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 else
17820 ac_check_lib_save_LIBS=$LIBS
17821 LIBS="-lm $LIBS"
17822 if test x$gcc_no_link = xyes; then
17823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17825 { (exit 1); exit 1; }; }
17827 cat >conftest.$ac_ext <<_ACEOF
17828 /* confdefs.h. */
17829 _ACEOF
17830 cat confdefs.h >>conftest.$ac_ext
17831 cat >>conftest.$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17834 /* Override any gcc2 internal prototype to avoid an error. */
17835 #ifdef __cplusplus
17836 extern "C"
17837 #endif
17838 /* We use char because int might match the return type of a gcc2
17839 builtin and then its argument prototype would still apply. */
17840 char sinl ();
17842 main ()
17844 sinl ();
17846 return 0;
17848 _ACEOF
17849 rm -f conftest.$ac_objext conftest$ac_exeext
17850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17851 (eval $ac_link) 2>conftest.er1
17852 ac_status=$?
17853 grep -v '^ *+' conftest.er1 >conftest.err
17854 rm -f conftest.er1
17855 cat conftest.err >&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -z "$ac_c_werror_flag"
17859 || test ! -s conftest.err'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17862 ac_status=$?
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; } &&
17865 { ac_try='test -s conftest$ac_exeext'
17866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17867 (eval $ac_try) 2>&5
17868 ac_status=$?
17869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870 (exit $ac_status); }; }; then
17871 ac_cv_lib_m_sinl=yes
17872 else
17873 echo "$as_me: failed program was:" >&5
17874 sed 's/^/| /' conftest.$ac_ext >&5
17876 ac_cv_lib_m_sinl=no
17878 rm -f conftest.err conftest.$ac_objext \
17879 conftest$ac_exeext conftest.$ac_ext
17880 LIBS=$ac_check_lib_save_LIBS
17882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
17883 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
17884 if test $ac_cv_lib_m_sinl = yes; then
17886 cat >>confdefs.h <<\_ACEOF
17887 #define HAVE_SINL 1
17888 _ACEOF
17892 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
17893 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
17894 if test "${ac_cv_lib_m_csinf+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17896 else
17897 ac_check_lib_save_LIBS=$LIBS
17898 LIBS="-lm $LIBS"
17899 if test x$gcc_no_link = xyes; then
17900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17902 { (exit 1); exit 1; }; }
17904 cat >conftest.$ac_ext <<_ACEOF
17905 /* confdefs.h. */
17906 _ACEOF
17907 cat confdefs.h >>conftest.$ac_ext
17908 cat >>conftest.$ac_ext <<_ACEOF
17909 /* end confdefs.h. */
17911 /* Override any gcc2 internal prototype to avoid an error. */
17912 #ifdef __cplusplus
17913 extern "C"
17914 #endif
17915 /* We use char because int might match the return type of a gcc2
17916 builtin and then its argument prototype would still apply. */
17917 char csinf ();
17919 main ()
17921 csinf ();
17923 return 0;
17925 _ACEOF
17926 rm -f conftest.$ac_objext conftest$ac_exeext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17928 (eval $ac_link) 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_c_werror_flag"
17936 || test ! -s conftest.err'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17939 ac_status=$?
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; } &&
17942 { ac_try='test -s conftest$ac_exeext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17945 ac_status=$?
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 ac_cv_lib_m_csinf=yes
17949 else
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17953 ac_cv_lib_m_csinf=no
17955 rm -f conftest.err conftest.$ac_objext \
17956 conftest$ac_exeext conftest.$ac_ext
17957 LIBS=$ac_check_lib_save_LIBS
17959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
17960 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
17961 if test $ac_cv_lib_m_csinf = yes; then
17963 cat >>confdefs.h <<\_ACEOF
17964 #define HAVE_CSINF 1
17965 _ACEOF
17969 echo "$as_me:$LINENO: checking for csin in -lm" >&5
17970 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
17971 if test "${ac_cv_lib_m_csin+set}" = set; then
17972 echo $ECHO_N "(cached) $ECHO_C" >&6
17973 else
17974 ac_check_lib_save_LIBS=$LIBS
17975 LIBS="-lm $LIBS"
17976 if test x$gcc_no_link = xyes; then
17977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17979 { (exit 1); exit 1; }; }
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17988 /* Override any gcc2 internal prototype to avoid an error. */
17989 #ifdef __cplusplus
17990 extern "C"
17991 #endif
17992 /* We use char because int might match the return type of a gcc2
17993 builtin and then its argument prototype would still apply. */
17994 char csin ();
17996 main ()
17998 csin ();
18000 return 0;
18002 _ACEOF
18003 rm -f conftest.$ac_objext conftest$ac_exeext
18004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18005 (eval $ac_link) 2>conftest.er1
18006 ac_status=$?
18007 grep -v '^ *+' conftest.er1 >conftest.err
18008 rm -f conftest.er1
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } &&
18012 { ac_try='test -z "$ac_c_werror_flag"
18013 || test ! -s conftest.err'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18016 ac_status=$?
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try='test -s conftest$ac_exeext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 ac_cv_lib_m_csin=yes
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 ac_cv_lib_m_csin=no
18032 rm -f conftest.err conftest.$ac_objext \
18033 conftest$ac_exeext conftest.$ac_ext
18034 LIBS=$ac_check_lib_save_LIBS
18036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18037 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18038 if test $ac_cv_lib_m_csin = yes; then
18040 cat >>confdefs.h <<\_ACEOF
18041 #define HAVE_CSIN 1
18042 _ACEOF
18046 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18047 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18048 if test "${ac_cv_lib_m_csinl+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 else
18051 ac_check_lib_save_LIBS=$LIBS
18052 LIBS="-lm $LIBS"
18053 if test x$gcc_no_link = xyes; then
18054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18056 { (exit 1); exit 1; }; }
18058 cat >conftest.$ac_ext <<_ACEOF
18059 /* confdefs.h. */
18060 _ACEOF
18061 cat confdefs.h >>conftest.$ac_ext
18062 cat >>conftest.$ac_ext <<_ACEOF
18063 /* end confdefs.h. */
18065 /* Override any gcc2 internal prototype to avoid an error. */
18066 #ifdef __cplusplus
18067 extern "C"
18068 #endif
18069 /* We use char because int might match the return type of a gcc2
18070 builtin and then its argument prototype would still apply. */
18071 char csinl ();
18073 main ()
18075 csinl ();
18077 return 0;
18079 _ACEOF
18080 rm -f conftest.$ac_objext conftest$ac_exeext
18081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18082 (eval $ac_link) 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try='test -z "$ac_c_werror_flag"
18090 || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try='test -s conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_lib_m_csinl=yes
18103 else
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18107 ac_cv_lib_m_csinl=no
18109 rm -f conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18111 LIBS=$ac_check_lib_save_LIBS
18113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18114 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18115 if test $ac_cv_lib_m_csinl = yes; then
18117 cat >>confdefs.h <<\_ACEOF
18118 #define HAVE_CSINL 1
18119 _ACEOF
18123 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18124 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18125 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18128 ac_check_lib_save_LIBS=$LIBS
18129 LIBS="-lm $LIBS"
18130 if test x$gcc_no_link = xyes; then
18131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18133 { (exit 1); exit 1; }; }
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18142 /* Override any gcc2 internal prototype to avoid an error. */
18143 #ifdef __cplusplus
18144 extern "C"
18145 #endif
18146 /* We use char because int might match the return type of a gcc2
18147 builtin and then its argument prototype would still apply. */
18148 char sinhf ();
18150 main ()
18152 sinhf ();
18154 return 0;
18156 _ACEOF
18157 rm -f conftest.$ac_objext conftest$ac_exeext
18158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18159 (eval $ac_link) 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } &&
18166 { ac_try='test -z "$ac_c_werror_flag"
18167 || test ! -s conftest.err'
18168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18169 (eval $ac_try) 2>&5
18170 ac_status=$?
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); }; } &&
18173 { ac_try='test -s conftest$ac_exeext'
18174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18175 (eval $ac_try) 2>&5
18176 ac_status=$?
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); }; }; then
18179 ac_cv_lib_m_sinhf=yes
18180 else
18181 echo "$as_me: failed program was:" >&5
18182 sed 's/^/| /' conftest.$ac_ext >&5
18184 ac_cv_lib_m_sinhf=no
18186 rm -f conftest.err conftest.$ac_objext \
18187 conftest$ac_exeext conftest.$ac_ext
18188 LIBS=$ac_check_lib_save_LIBS
18190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18191 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18192 if test $ac_cv_lib_m_sinhf = yes; then
18194 cat >>confdefs.h <<\_ACEOF
18195 #define HAVE_SINHF 1
18196 _ACEOF
18200 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18201 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18202 if test "${ac_cv_lib_m_sinh+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 else
18205 ac_check_lib_save_LIBS=$LIBS
18206 LIBS="-lm $LIBS"
18207 if test x$gcc_no_link = xyes; then
18208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18210 { (exit 1); exit 1; }; }
18212 cat >conftest.$ac_ext <<_ACEOF
18213 /* confdefs.h. */
18214 _ACEOF
18215 cat confdefs.h >>conftest.$ac_ext
18216 cat >>conftest.$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18219 /* Override any gcc2 internal prototype to avoid an error. */
18220 #ifdef __cplusplus
18221 extern "C"
18222 #endif
18223 /* We use char because int might match the return type of a gcc2
18224 builtin and then its argument prototype would still apply. */
18225 char sinh ();
18227 main ()
18229 sinh ();
18231 return 0;
18233 _ACEOF
18234 rm -f conftest.$ac_objext conftest$ac_exeext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18236 (eval $ac_link) 2>conftest.er1
18237 ac_status=$?
18238 grep -v '^ *+' conftest.er1 >conftest.err
18239 rm -f conftest.er1
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try='test -z "$ac_c_werror_flag"
18244 || test ! -s conftest.err'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18247 ac_status=$?
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; } &&
18250 { ac_try='test -s conftest$ac_exeext'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18253 ac_status=$?
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; }; then
18256 ac_cv_lib_m_sinh=yes
18257 else
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.$ac_ext >&5
18261 ac_cv_lib_m_sinh=no
18263 rm -f conftest.err conftest.$ac_objext \
18264 conftest$ac_exeext conftest.$ac_ext
18265 LIBS=$ac_check_lib_save_LIBS
18267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
18268 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
18269 if test $ac_cv_lib_m_sinh = yes; then
18271 cat >>confdefs.h <<\_ACEOF
18272 #define HAVE_SINH 1
18273 _ACEOF
18277 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
18278 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
18279 if test "${ac_cv_lib_m_sinhl+set}" = set; then
18280 echo $ECHO_N "(cached) $ECHO_C" >&6
18281 else
18282 ac_check_lib_save_LIBS=$LIBS
18283 LIBS="-lm $LIBS"
18284 if test x$gcc_no_link = xyes; then
18285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18287 { (exit 1); exit 1; }; }
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18296 /* Override any gcc2 internal prototype to avoid an error. */
18297 #ifdef __cplusplus
18298 extern "C"
18299 #endif
18300 /* We use char because int might match the return type of a gcc2
18301 builtin and then its argument prototype would still apply. */
18302 char sinhl ();
18304 main ()
18306 sinhl ();
18308 return 0;
18310 _ACEOF
18311 rm -f conftest.$ac_objext conftest$ac_exeext
18312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18313 (eval $ac_link) 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } &&
18320 { ac_try='test -z "$ac_c_werror_flag"
18321 || test ! -s conftest.err'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; } &&
18327 { ac_try='test -s conftest$ac_exeext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 ac_cv_lib_m_sinhl=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 ac_cv_lib_m_sinhl=no
18340 rm -f conftest.err conftest.$ac_objext \
18341 conftest$ac_exeext conftest.$ac_ext
18342 LIBS=$ac_check_lib_save_LIBS
18344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
18345 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
18346 if test $ac_cv_lib_m_sinhl = yes; then
18348 cat >>confdefs.h <<\_ACEOF
18349 #define HAVE_SINHL 1
18350 _ACEOF
18354 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18355 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18356 if test "${ac_cv_lib_m_csinhf+set}" = set; then
18357 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 else
18359 ac_check_lib_save_LIBS=$LIBS
18360 LIBS="-lm $LIBS"
18361 if test x$gcc_no_link = xyes; then
18362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18364 { (exit 1); exit 1; }; }
18366 cat >conftest.$ac_ext <<_ACEOF
18367 /* confdefs.h. */
18368 _ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18373 /* Override any gcc2 internal prototype to avoid an error. */
18374 #ifdef __cplusplus
18375 extern "C"
18376 #endif
18377 /* We use char because int might match the return type of a gcc2
18378 builtin and then its argument prototype would still apply. */
18379 char csinhf ();
18381 main ()
18383 csinhf ();
18385 return 0;
18387 _ACEOF
18388 rm -f conftest.$ac_objext conftest$ac_exeext
18389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18390 (eval $ac_link) 2>conftest.er1
18391 ac_status=$?
18392 grep -v '^ *+' conftest.er1 >conftest.err
18393 rm -f conftest.er1
18394 cat conftest.err >&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } &&
18397 { ac_try='test -z "$ac_c_werror_flag"
18398 || test ! -s conftest.err'
18399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18400 (eval $ac_try) 2>&5
18401 ac_status=$?
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; } &&
18404 { ac_try='test -s conftest$ac_exeext'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18407 ac_status=$?
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; }; then
18410 ac_cv_lib_m_csinhf=yes
18411 else
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.$ac_ext >&5
18415 ac_cv_lib_m_csinhf=no
18417 rm -f conftest.err conftest.$ac_objext \
18418 conftest$ac_exeext conftest.$ac_ext
18419 LIBS=$ac_check_lib_save_LIBS
18421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18422 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18423 if test $ac_cv_lib_m_csinhf = yes; then
18425 cat >>confdefs.h <<\_ACEOF
18426 #define HAVE_CSINHF 1
18427 _ACEOF
18431 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18432 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18433 if test "${ac_cv_lib_m_csinh+set}" = set; then
18434 echo $ECHO_N "(cached) $ECHO_C" >&6
18435 else
18436 ac_check_lib_save_LIBS=$LIBS
18437 LIBS="-lm $LIBS"
18438 if test x$gcc_no_link = xyes; then
18439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18441 { (exit 1); exit 1; }; }
18443 cat >conftest.$ac_ext <<_ACEOF
18444 /* confdefs.h. */
18445 _ACEOF
18446 cat confdefs.h >>conftest.$ac_ext
18447 cat >>conftest.$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18450 /* Override any gcc2 internal prototype to avoid an error. */
18451 #ifdef __cplusplus
18452 extern "C"
18453 #endif
18454 /* We use char because int might match the return type of a gcc2
18455 builtin and then its argument prototype would still apply. */
18456 char csinh ();
18458 main ()
18460 csinh ();
18462 return 0;
18464 _ACEOF
18465 rm -f conftest.$ac_objext conftest$ac_exeext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18467 (eval $ac_link) 2>conftest.er1
18468 ac_status=$?
18469 grep -v '^ *+' conftest.er1 >conftest.err
18470 rm -f conftest.er1
18471 cat conftest.err >&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try='test -z "$ac_c_werror_flag"
18475 || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try='test -s conftest$ac_exeext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_cv_lib_m_csinh=yes
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18492 ac_cv_lib_m_csinh=no
18494 rm -f conftest.err conftest.$ac_objext \
18495 conftest$ac_exeext conftest.$ac_ext
18496 LIBS=$ac_check_lib_save_LIBS
18498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18499 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18500 if test $ac_cv_lib_m_csinh = yes; then
18502 cat >>confdefs.h <<\_ACEOF
18503 #define HAVE_CSINH 1
18504 _ACEOF
18508 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18509 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18510 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 else
18513 ac_check_lib_save_LIBS=$LIBS
18514 LIBS="-lm $LIBS"
18515 if test x$gcc_no_link = xyes; then
18516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18518 { (exit 1); exit 1; }; }
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18527 /* Override any gcc2 internal prototype to avoid an error. */
18528 #ifdef __cplusplus
18529 extern "C"
18530 #endif
18531 /* We use char because int might match the return type of a gcc2
18532 builtin and then its argument prototype would still apply. */
18533 char csinhl ();
18535 main ()
18537 csinhl ();
18539 return 0;
18541 _ACEOF
18542 rm -f conftest.$ac_objext conftest$ac_exeext
18543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18544 (eval $ac_link) 2>conftest.er1
18545 ac_status=$?
18546 grep -v '^ *+' conftest.er1 >conftest.err
18547 rm -f conftest.er1
18548 cat conftest.err >&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); } &&
18551 { ac_try='test -z "$ac_c_werror_flag"
18552 || test ! -s conftest.err'
18553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 (eval $ac_try) 2>&5
18555 ac_status=$?
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); }; } &&
18558 { ac_try='test -s conftest$ac_exeext'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18561 ac_status=$?
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; }; then
18564 ac_cv_lib_m_csinhl=yes
18565 else
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18569 ac_cv_lib_m_csinhl=no
18571 rm -f conftest.err conftest.$ac_objext \
18572 conftest$ac_exeext conftest.$ac_ext
18573 LIBS=$ac_check_lib_save_LIBS
18575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18576 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18577 if test $ac_cv_lib_m_csinhl = yes; then
18579 cat >>confdefs.h <<\_ACEOF
18580 #define HAVE_CSINHL 1
18581 _ACEOF
18585 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18586 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18587 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18588 echo $ECHO_N "(cached) $ECHO_C" >&6
18589 else
18590 ac_check_lib_save_LIBS=$LIBS
18591 LIBS="-lm $LIBS"
18592 if test x$gcc_no_link = xyes; then
18593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18595 { (exit 1); exit 1; }; }
18597 cat >conftest.$ac_ext <<_ACEOF
18598 /* confdefs.h. */
18599 _ACEOF
18600 cat confdefs.h >>conftest.$ac_ext
18601 cat >>conftest.$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18604 /* Override any gcc2 internal prototype to avoid an error. */
18605 #ifdef __cplusplus
18606 extern "C"
18607 #endif
18608 /* We use char because int might match the return type of a gcc2
18609 builtin and then its argument prototype would still apply. */
18610 char sqrtf ();
18612 main ()
18614 sqrtf ();
18616 return 0;
18618 _ACEOF
18619 rm -f conftest.$ac_objext conftest$ac_exeext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18621 (eval $ac_link) 2>conftest.er1
18622 ac_status=$?
18623 grep -v '^ *+' conftest.er1 >conftest.err
18624 rm -f conftest.er1
18625 cat conftest.err >&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try='test -z "$ac_c_werror_flag"
18629 || test ! -s conftest.err'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18632 ac_status=$?
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; } &&
18635 { ac_try='test -s conftest$ac_exeext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18638 ac_status=$?
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 ac_cv_lib_m_sqrtf=yes
18642 else
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18646 ac_cv_lib_m_sqrtf=no
18648 rm -f conftest.err conftest.$ac_objext \
18649 conftest$ac_exeext conftest.$ac_ext
18650 LIBS=$ac_check_lib_save_LIBS
18652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
18653 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
18654 if test $ac_cv_lib_m_sqrtf = yes; then
18656 cat >>confdefs.h <<\_ACEOF
18657 #define HAVE_SQRTF 1
18658 _ACEOF
18662 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
18663 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
18664 if test "${ac_cv_lib_m_sqrt+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18666 else
18667 ac_check_lib_save_LIBS=$LIBS
18668 LIBS="-lm $LIBS"
18669 if test x$gcc_no_link = xyes; then
18670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18672 { (exit 1); exit 1; }; }
18674 cat >conftest.$ac_ext <<_ACEOF
18675 /* confdefs.h. */
18676 _ACEOF
18677 cat confdefs.h >>conftest.$ac_ext
18678 cat >>conftest.$ac_ext <<_ACEOF
18679 /* end confdefs.h. */
18681 /* Override any gcc2 internal prototype to avoid an error. */
18682 #ifdef __cplusplus
18683 extern "C"
18684 #endif
18685 /* We use char because int might match the return type of a gcc2
18686 builtin and then its argument prototype would still apply. */
18687 char sqrt ();
18689 main ()
18691 sqrt ();
18693 return 0;
18695 _ACEOF
18696 rm -f conftest.$ac_objext conftest$ac_exeext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18698 (eval $ac_link) 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_c_werror_flag"
18706 || test ! -s conftest.err'
18707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708 (eval $ac_try) 2>&5
18709 ac_status=$?
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; } &&
18712 { ac_try='test -s conftest$ac_exeext'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; }; then
18718 ac_cv_lib_m_sqrt=yes
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18723 ac_cv_lib_m_sqrt=no
18725 rm -f conftest.err conftest.$ac_objext \
18726 conftest$ac_exeext conftest.$ac_ext
18727 LIBS=$ac_check_lib_save_LIBS
18729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18730 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18731 if test $ac_cv_lib_m_sqrt = yes; then
18733 cat >>confdefs.h <<\_ACEOF
18734 #define HAVE_SQRT 1
18735 _ACEOF
18739 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18740 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18741 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18742 echo $ECHO_N "(cached) $ECHO_C" >&6
18743 else
18744 ac_check_lib_save_LIBS=$LIBS
18745 LIBS="-lm $LIBS"
18746 if test x$gcc_no_link = xyes; then
18747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18749 { (exit 1); exit 1; }; }
18751 cat >conftest.$ac_ext <<_ACEOF
18752 /* confdefs.h. */
18753 _ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18758 /* Override any gcc2 internal prototype to avoid an error. */
18759 #ifdef __cplusplus
18760 extern "C"
18761 #endif
18762 /* We use char because int might match the return type of a gcc2
18763 builtin and then its argument prototype would still apply. */
18764 char sqrtl ();
18766 main ()
18768 sqrtl ();
18770 return 0;
18772 _ACEOF
18773 rm -f conftest.$ac_objext conftest$ac_exeext
18774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18775 (eval $ac_link) 2>conftest.er1
18776 ac_status=$?
18777 grep -v '^ *+' conftest.er1 >conftest.err
18778 rm -f conftest.er1
18779 cat conftest.err >&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } &&
18782 { ac_try='test -z "$ac_c_werror_flag"
18783 || test ! -s conftest.err'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18786 ac_status=$?
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; } &&
18789 { ac_try='test -s conftest$ac_exeext'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18792 ac_status=$?
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; }; then
18795 ac_cv_lib_m_sqrtl=yes
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18800 ac_cv_lib_m_sqrtl=no
18802 rm -f conftest.err conftest.$ac_objext \
18803 conftest$ac_exeext conftest.$ac_ext
18804 LIBS=$ac_check_lib_save_LIBS
18806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
18807 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
18808 if test $ac_cv_lib_m_sqrtl = yes; then
18810 cat >>confdefs.h <<\_ACEOF
18811 #define HAVE_SQRTL 1
18812 _ACEOF
18816 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
18817 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
18818 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 else
18821 ac_check_lib_save_LIBS=$LIBS
18822 LIBS="-lm $LIBS"
18823 if test x$gcc_no_link = xyes; then
18824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18826 { (exit 1); exit 1; }; }
18828 cat >conftest.$ac_ext <<_ACEOF
18829 /* confdefs.h. */
18830 _ACEOF
18831 cat confdefs.h >>conftest.$ac_ext
18832 cat >>conftest.$ac_ext <<_ACEOF
18833 /* end confdefs.h. */
18835 /* Override any gcc2 internal prototype to avoid an error. */
18836 #ifdef __cplusplus
18837 extern "C"
18838 #endif
18839 /* We use char because int might match the return type of a gcc2
18840 builtin and then its argument prototype would still apply. */
18841 char csqrtf ();
18843 main ()
18845 csqrtf ();
18847 return 0;
18849 _ACEOF
18850 rm -f conftest.$ac_objext conftest$ac_exeext
18851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18852 (eval $ac_link) 2>conftest.er1
18853 ac_status=$?
18854 grep -v '^ *+' conftest.er1 >conftest.err
18855 rm -f conftest.er1
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try='test -z "$ac_c_werror_flag"
18860 || test ! -s conftest.err'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; } &&
18866 { ac_try='test -s conftest$ac_exeext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_cv_lib_m_csqrtf=yes
18873 else
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18877 ac_cv_lib_m_csqrtf=no
18879 rm -f conftest.err conftest.$ac_objext \
18880 conftest$ac_exeext conftest.$ac_ext
18881 LIBS=$ac_check_lib_save_LIBS
18883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
18884 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
18885 if test $ac_cv_lib_m_csqrtf = yes; then
18887 cat >>confdefs.h <<\_ACEOF
18888 #define HAVE_CSQRTF 1
18889 _ACEOF
18893 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
18894 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
18895 if test "${ac_cv_lib_m_csqrt+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 else
18898 ac_check_lib_save_LIBS=$LIBS
18899 LIBS="-lm $LIBS"
18900 if test x$gcc_no_link = xyes; then
18901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18903 { (exit 1); exit 1; }; }
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18912 /* Override any gcc2 internal prototype to avoid an error. */
18913 #ifdef __cplusplus
18914 extern "C"
18915 #endif
18916 /* We use char because int might match the return type of a gcc2
18917 builtin and then its argument prototype would still apply. */
18918 char csqrt ();
18920 main ()
18922 csqrt ();
18924 return 0;
18926 _ACEOF
18927 rm -f conftest.$ac_objext conftest$ac_exeext
18928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18929 (eval $ac_link) 2>conftest.er1
18930 ac_status=$?
18931 grep -v '^ *+' conftest.er1 >conftest.err
18932 rm -f conftest.er1
18933 cat conftest.err >&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); } &&
18936 { ac_try='test -z "$ac_c_werror_flag"
18937 || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try='test -s conftest$ac_exeext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 ac_cv_lib_m_csqrt=yes
18950 else
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5
18954 ac_cv_lib_m_csqrt=no
18956 rm -f conftest.err conftest.$ac_objext \
18957 conftest$ac_exeext conftest.$ac_ext
18958 LIBS=$ac_check_lib_save_LIBS
18960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
18961 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
18962 if test $ac_cv_lib_m_csqrt = yes; then
18964 cat >>confdefs.h <<\_ACEOF
18965 #define HAVE_CSQRT 1
18966 _ACEOF
18970 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
18971 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
18972 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
18973 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 else
18975 ac_check_lib_save_LIBS=$LIBS
18976 LIBS="-lm $LIBS"
18977 if test x$gcc_no_link = xyes; then
18978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18980 { (exit 1); exit 1; }; }
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18989 /* Override any gcc2 internal prototype to avoid an error. */
18990 #ifdef __cplusplus
18991 extern "C"
18992 #endif
18993 /* We use char because int might match the return type of a gcc2
18994 builtin and then its argument prototype would still apply. */
18995 char csqrtl ();
18997 main ()
18999 csqrtl ();
19001 return 0;
19003 _ACEOF
19004 rm -f conftest.$ac_objext conftest$ac_exeext
19005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19006 (eval $ac_link) 2>conftest.er1
19007 ac_status=$?
19008 grep -v '^ *+' conftest.er1 >conftest.err
19009 rm -f conftest.er1
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -z "$ac_c_werror_flag"
19014 || test ! -s conftest.err'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19017 ac_status=$?
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19023 ac_status=$?
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 ac_cv_lib_m_csqrtl=yes
19027 else
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19031 ac_cv_lib_m_csqrtl=no
19033 rm -f conftest.err conftest.$ac_objext \
19034 conftest$ac_exeext conftest.$ac_ext
19035 LIBS=$ac_check_lib_save_LIBS
19037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19038 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19039 if test $ac_cv_lib_m_csqrtl = yes; then
19041 cat >>confdefs.h <<\_ACEOF
19042 #define HAVE_CSQRTL 1
19043 _ACEOF
19047 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19048 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19049 if test "${ac_cv_lib_m_tanf+set}" = set; then
19050 echo $ECHO_N "(cached) $ECHO_C" >&6
19051 else
19052 ac_check_lib_save_LIBS=$LIBS
19053 LIBS="-lm $LIBS"
19054 if test x$gcc_no_link = xyes; then
19055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19057 { (exit 1); exit 1; }; }
19059 cat >conftest.$ac_ext <<_ACEOF
19060 /* confdefs.h. */
19061 _ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19066 /* Override any gcc2 internal prototype to avoid an error. */
19067 #ifdef __cplusplus
19068 extern "C"
19069 #endif
19070 /* We use char because int might match the return type of a gcc2
19071 builtin and then its argument prototype would still apply. */
19072 char tanf ();
19074 main ()
19076 tanf ();
19078 return 0;
19080 _ACEOF
19081 rm -f conftest.$ac_objext conftest$ac_exeext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19083 (eval $ac_link) 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try='test -s conftest$ac_exeext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_cv_lib_m_tanf=yes
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19108 ac_cv_lib_m_tanf=no
19110 rm -f conftest.err conftest.$ac_objext \
19111 conftest$ac_exeext conftest.$ac_ext
19112 LIBS=$ac_check_lib_save_LIBS
19114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19115 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19116 if test $ac_cv_lib_m_tanf = yes; then
19118 cat >>confdefs.h <<\_ACEOF
19119 #define HAVE_TANF 1
19120 _ACEOF
19124 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19125 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19126 if test "${ac_cv_lib_m_tan+set}" = set; then
19127 echo $ECHO_N "(cached) $ECHO_C" >&6
19128 else
19129 ac_check_lib_save_LIBS=$LIBS
19130 LIBS="-lm $LIBS"
19131 if test x$gcc_no_link = xyes; then
19132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19134 { (exit 1); exit 1; }; }
19136 cat >conftest.$ac_ext <<_ACEOF
19137 /* confdefs.h. */
19138 _ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19143 /* Override any gcc2 internal prototype to avoid an error. */
19144 #ifdef __cplusplus
19145 extern "C"
19146 #endif
19147 /* We use char because int might match the return type of a gcc2
19148 builtin and then its argument prototype would still apply. */
19149 char tan ();
19151 main ()
19153 tan ();
19155 return 0;
19157 _ACEOF
19158 rm -f conftest.$ac_objext conftest$ac_exeext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19160 (eval $ac_link) 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try='test -z "$ac_c_werror_flag"
19168 || test ! -s conftest.err'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19171 ac_status=$?
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; } &&
19174 { ac_try='test -s conftest$ac_exeext'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19177 ac_status=$?
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; }; then
19180 ac_cv_lib_m_tan=yes
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 ac_cv_lib_m_tan=no
19187 rm -f conftest.err conftest.$ac_objext \
19188 conftest$ac_exeext conftest.$ac_ext
19189 LIBS=$ac_check_lib_save_LIBS
19191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19192 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19193 if test $ac_cv_lib_m_tan = yes; then
19195 cat >>confdefs.h <<\_ACEOF
19196 #define HAVE_TAN 1
19197 _ACEOF
19201 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19202 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19203 if test "${ac_cv_lib_m_tanl+set}" = set; then
19204 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 else
19206 ac_check_lib_save_LIBS=$LIBS
19207 LIBS="-lm $LIBS"
19208 if test x$gcc_no_link = xyes; then
19209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19211 { (exit 1); exit 1; }; }
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19220 /* Override any gcc2 internal prototype to avoid an error. */
19221 #ifdef __cplusplus
19222 extern "C"
19223 #endif
19224 /* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19226 char tanl ();
19228 main ()
19230 tanl ();
19232 return 0;
19234 _ACEOF
19235 rm -f conftest.$ac_objext conftest$ac_exeext
19236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19237 (eval $ac_link) 2>conftest.er1
19238 ac_status=$?
19239 grep -v '^ *+' conftest.er1 >conftest.err
19240 rm -f conftest.er1
19241 cat conftest.err >&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); } &&
19244 { ac_try='test -z "$ac_c_werror_flag"
19245 || test ! -s conftest.err'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; } &&
19251 { ac_try='test -s conftest$ac_exeext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19254 ac_status=$?
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 ac_cv_lib_m_tanl=yes
19258 else
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19262 ac_cv_lib_m_tanl=no
19264 rm -f conftest.err conftest.$ac_objext \
19265 conftest$ac_exeext conftest.$ac_ext
19266 LIBS=$ac_check_lib_save_LIBS
19268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
19269 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
19270 if test $ac_cv_lib_m_tanl = yes; then
19272 cat >>confdefs.h <<\_ACEOF
19273 #define HAVE_TANL 1
19274 _ACEOF
19278 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
19279 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
19280 if test "${ac_cv_lib_m_ctanf+set}" = set; then
19281 echo $ECHO_N "(cached) $ECHO_C" >&6
19282 else
19283 ac_check_lib_save_LIBS=$LIBS
19284 LIBS="-lm $LIBS"
19285 if test x$gcc_no_link = xyes; then
19286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19288 { (exit 1); exit 1; }; }
19290 cat >conftest.$ac_ext <<_ACEOF
19291 /* confdefs.h. */
19292 _ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19297 /* Override any gcc2 internal prototype to avoid an error. */
19298 #ifdef __cplusplus
19299 extern "C"
19300 #endif
19301 /* We use char because int might match the return type of a gcc2
19302 builtin and then its argument prototype would still apply. */
19303 char ctanf ();
19305 main ()
19307 ctanf ();
19309 return 0;
19311 _ACEOF
19312 rm -f conftest.$ac_objext conftest$ac_exeext
19313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19314 (eval $ac_link) 2>conftest.er1
19315 ac_status=$?
19316 grep -v '^ *+' conftest.er1 >conftest.err
19317 rm -f conftest.er1
19318 cat conftest.err >&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } &&
19321 { ac_try='test -z "$ac_c_werror_flag"
19322 || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try='test -s conftest$ac_exeext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_lib_m_ctanf=yes
19335 else
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 ac_cv_lib_m_ctanf=no
19341 rm -f conftest.err conftest.$ac_objext \
19342 conftest$ac_exeext conftest.$ac_ext
19343 LIBS=$ac_check_lib_save_LIBS
19345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
19346 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
19347 if test $ac_cv_lib_m_ctanf = yes; then
19349 cat >>confdefs.h <<\_ACEOF
19350 #define HAVE_CTANF 1
19351 _ACEOF
19355 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19356 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19357 if test "${ac_cv_lib_m_ctan+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360 ac_check_lib_save_LIBS=$LIBS
19361 LIBS="-lm $LIBS"
19362 if test x$gcc_no_link = xyes; then
19363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19365 { (exit 1); exit 1; }; }
19367 cat >conftest.$ac_ext <<_ACEOF
19368 /* confdefs.h. */
19369 _ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19374 /* Override any gcc2 internal prototype to avoid an error. */
19375 #ifdef __cplusplus
19376 extern "C"
19377 #endif
19378 /* We use char because int might match the return type of a gcc2
19379 builtin and then its argument prototype would still apply. */
19380 char ctan ();
19382 main ()
19384 ctan ();
19386 return 0;
19388 _ACEOF
19389 rm -f conftest.$ac_objext conftest$ac_exeext
19390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19391 (eval $ac_link) 2>conftest.er1
19392 ac_status=$?
19393 grep -v '^ *+' conftest.er1 >conftest.err
19394 rm -f conftest.er1
19395 cat conftest.err >&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } &&
19398 { ac_try='test -z "$ac_c_werror_flag"
19399 || test ! -s conftest.err'
19400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401 (eval $ac_try) 2>&5
19402 ac_status=$?
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; } &&
19405 { ac_try='test -s conftest$ac_exeext'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19408 ac_status=$?
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 ac_cv_lib_m_ctan=yes
19412 else
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19416 ac_cv_lib_m_ctan=no
19418 rm -f conftest.err conftest.$ac_objext \
19419 conftest$ac_exeext conftest.$ac_ext
19420 LIBS=$ac_check_lib_save_LIBS
19422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19423 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19424 if test $ac_cv_lib_m_ctan = yes; then
19426 cat >>confdefs.h <<\_ACEOF
19427 #define HAVE_CTAN 1
19428 _ACEOF
19432 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19433 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19434 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19436 else
19437 ac_check_lib_save_LIBS=$LIBS
19438 LIBS="-lm $LIBS"
19439 if test x$gcc_no_link = xyes; then
19440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19442 { (exit 1); exit 1; }; }
19444 cat >conftest.$ac_ext <<_ACEOF
19445 /* confdefs.h. */
19446 _ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19451 /* Override any gcc2 internal prototype to avoid an error. */
19452 #ifdef __cplusplus
19453 extern "C"
19454 #endif
19455 /* We use char because int might match the return type of a gcc2
19456 builtin and then its argument prototype would still apply. */
19457 char ctanl ();
19459 main ()
19461 ctanl ();
19463 return 0;
19465 _ACEOF
19466 rm -f conftest.$ac_objext conftest$ac_exeext
19467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19468 (eval $ac_link) 2>conftest.er1
19469 ac_status=$?
19470 grep -v '^ *+' conftest.er1 >conftest.err
19471 rm -f conftest.er1
19472 cat conftest.err >&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); } &&
19475 { ac_try='test -z "$ac_c_werror_flag"
19476 || test ! -s conftest.err'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; } &&
19482 { ac_try='test -s conftest$ac_exeext'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19485 ac_status=$?
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; }; then
19488 ac_cv_lib_m_ctanl=yes
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19493 ac_cv_lib_m_ctanl=no
19495 rm -f conftest.err conftest.$ac_objext \
19496 conftest$ac_exeext conftest.$ac_ext
19497 LIBS=$ac_check_lib_save_LIBS
19499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19500 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19501 if test $ac_cv_lib_m_ctanl = yes; then
19503 cat >>confdefs.h <<\_ACEOF
19504 #define HAVE_CTANL 1
19505 _ACEOF
19509 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19510 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19511 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 else
19514 ac_check_lib_save_LIBS=$LIBS
19515 LIBS="-lm $LIBS"
19516 if test x$gcc_no_link = xyes; then
19517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19519 { (exit 1); exit 1; }; }
19521 cat >conftest.$ac_ext <<_ACEOF
19522 /* confdefs.h. */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19528 /* Override any gcc2 internal prototype to avoid an error. */
19529 #ifdef __cplusplus
19530 extern "C"
19531 #endif
19532 /* We use char because int might match the return type of a gcc2
19533 builtin and then its argument prototype would still apply. */
19534 char tanhf ();
19536 main ()
19538 tanhf ();
19540 return 0;
19542 _ACEOF
19543 rm -f conftest.$ac_objext conftest$ac_exeext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19545 (eval $ac_link) 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try='test -z "$ac_c_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try='test -s conftest$ac_exeext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_cv_lib_m_tanhf=yes
19566 else
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19570 ac_cv_lib_m_tanhf=no
19572 rm -f conftest.err conftest.$ac_objext \
19573 conftest$ac_exeext conftest.$ac_ext
19574 LIBS=$ac_check_lib_save_LIBS
19576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19577 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19578 if test $ac_cv_lib_m_tanhf = yes; then
19580 cat >>confdefs.h <<\_ACEOF
19581 #define HAVE_TANHF 1
19582 _ACEOF
19586 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19587 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19588 if test "${ac_cv_lib_m_tanh+set}" = set; then
19589 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 else
19591 ac_check_lib_save_LIBS=$LIBS
19592 LIBS="-lm $LIBS"
19593 if test x$gcc_no_link = xyes; then
19594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19596 { (exit 1); exit 1; }; }
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19605 /* Override any gcc2 internal prototype to avoid an error. */
19606 #ifdef __cplusplus
19607 extern "C"
19608 #endif
19609 /* We use char because int might match the return type of a gcc2
19610 builtin and then its argument prototype would still apply. */
19611 char tanh ();
19613 main ()
19615 tanh ();
19617 return 0;
19619 _ACEOF
19620 rm -f conftest.$ac_objext conftest$ac_exeext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19622 (eval $ac_link) 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try='test -z "$ac_c_werror_flag"
19630 || test ! -s conftest.err'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19633 ac_status=$?
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try='test -s conftest$ac_exeext'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19639 ac_status=$?
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19642 ac_cv_lib_m_tanh=yes
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 ac_cv_lib_m_tanh=no
19649 rm -f conftest.err conftest.$ac_objext \
19650 conftest$ac_exeext conftest.$ac_ext
19651 LIBS=$ac_check_lib_save_LIBS
19653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
19654 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
19655 if test $ac_cv_lib_m_tanh = yes; then
19657 cat >>confdefs.h <<\_ACEOF
19658 #define HAVE_TANH 1
19659 _ACEOF
19663 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
19664 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
19665 if test "${ac_cv_lib_m_tanhl+set}" = set; then
19666 echo $ECHO_N "(cached) $ECHO_C" >&6
19667 else
19668 ac_check_lib_save_LIBS=$LIBS
19669 LIBS="-lm $LIBS"
19670 if test x$gcc_no_link = xyes; then
19671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19673 { (exit 1); exit 1; }; }
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19682 /* Override any gcc2 internal prototype to avoid an error. */
19683 #ifdef __cplusplus
19684 extern "C"
19685 #endif
19686 /* We use char because int might match the return type of a gcc2
19687 builtin and then its argument prototype would still apply. */
19688 char tanhl ();
19690 main ()
19692 tanhl ();
19694 return 0;
19696 _ACEOF
19697 rm -f conftest.$ac_objext conftest$ac_exeext
19698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19699 (eval $ac_link) 2>conftest.er1
19700 ac_status=$?
19701 grep -v '^ *+' conftest.er1 >conftest.err
19702 rm -f conftest.er1
19703 cat conftest.err >&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try='test -z "$ac_c_werror_flag"
19707 || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19710 ac_status=$?
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try='test -s conftest$ac_exeext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 ac_cv_lib_m_tanhl=yes
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19724 ac_cv_lib_m_tanhl=no
19726 rm -f conftest.err conftest.$ac_objext \
19727 conftest$ac_exeext conftest.$ac_ext
19728 LIBS=$ac_check_lib_save_LIBS
19730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19731 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19732 if test $ac_cv_lib_m_tanhl = yes; then
19734 cat >>confdefs.h <<\_ACEOF
19735 #define HAVE_TANHL 1
19736 _ACEOF
19740 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19741 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19742 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 else
19745 ac_check_lib_save_LIBS=$LIBS
19746 LIBS="-lm $LIBS"
19747 if test x$gcc_no_link = xyes; then
19748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19750 { (exit 1); exit 1; }; }
19752 cat >conftest.$ac_ext <<_ACEOF
19753 /* confdefs.h. */
19754 _ACEOF
19755 cat confdefs.h >>conftest.$ac_ext
19756 cat >>conftest.$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19759 /* Override any gcc2 internal prototype to avoid an error. */
19760 #ifdef __cplusplus
19761 extern "C"
19762 #endif
19763 /* We use char because int might match the return type of a gcc2
19764 builtin and then its argument prototype would still apply. */
19765 char ctanhf ();
19767 main ()
19769 ctanhf ();
19771 return 0;
19773 _ACEOF
19774 rm -f conftest.$ac_objext conftest$ac_exeext
19775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19776 (eval $ac_link) 2>conftest.er1
19777 ac_status=$?
19778 grep -v '^ *+' conftest.er1 >conftest.err
19779 rm -f conftest.er1
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } &&
19783 { ac_try='test -z "$ac_c_werror_flag"
19784 || test ! -s conftest.err'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19787 ac_status=$?
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; } &&
19790 { ac_try='test -s conftest$ac_exeext'
19791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19792 (eval $ac_try) 2>&5
19793 ac_status=$?
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); }; }; then
19796 ac_cv_lib_m_ctanhf=yes
19797 else
19798 echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.$ac_ext >&5
19801 ac_cv_lib_m_ctanhf=no
19803 rm -f conftest.err conftest.$ac_objext \
19804 conftest$ac_exeext conftest.$ac_ext
19805 LIBS=$ac_check_lib_save_LIBS
19807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
19808 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
19809 if test $ac_cv_lib_m_ctanhf = yes; then
19811 cat >>confdefs.h <<\_ACEOF
19812 #define HAVE_CTANHF 1
19813 _ACEOF
19817 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
19818 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
19819 if test "${ac_cv_lib_m_ctanh+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 else
19822 ac_check_lib_save_LIBS=$LIBS
19823 LIBS="-lm $LIBS"
19824 if test x$gcc_no_link = xyes; then
19825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19827 { (exit 1); exit 1; }; }
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19836 /* Override any gcc2 internal prototype to avoid an error. */
19837 #ifdef __cplusplus
19838 extern "C"
19839 #endif
19840 /* We use char because int might match the return type of a gcc2
19841 builtin and then its argument prototype would still apply. */
19842 char ctanh ();
19844 main ()
19846 ctanh ();
19848 return 0;
19850 _ACEOF
19851 rm -f conftest.$ac_objext conftest$ac_exeext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19853 (eval $ac_link) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19864 ac_status=$?
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try='test -s conftest$ac_exeext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 ac_cv_lib_m_ctanh=yes
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 ac_cv_lib_m_ctanh=no
19880 rm -f conftest.err conftest.$ac_objext \
19881 conftest$ac_exeext conftest.$ac_ext
19882 LIBS=$ac_check_lib_save_LIBS
19884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
19885 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
19886 if test $ac_cv_lib_m_ctanh = yes; then
19888 cat >>confdefs.h <<\_ACEOF
19889 #define HAVE_CTANH 1
19890 _ACEOF
19894 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
19895 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
19896 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 else
19899 ac_check_lib_save_LIBS=$LIBS
19900 LIBS="-lm $LIBS"
19901 if test x$gcc_no_link = xyes; then
19902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19904 { (exit 1); exit 1; }; }
19906 cat >conftest.$ac_ext <<_ACEOF
19907 /* confdefs.h. */
19908 _ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19913 /* Override any gcc2 internal prototype to avoid an error. */
19914 #ifdef __cplusplus
19915 extern "C"
19916 #endif
19917 /* We use char because int might match the return type of a gcc2
19918 builtin and then its argument prototype would still apply. */
19919 char ctanhl ();
19921 main ()
19923 ctanhl ();
19925 return 0;
19927 _ACEOF
19928 rm -f conftest.$ac_objext conftest$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930 (eval $ac_link) 2>conftest.er1
19931 ac_status=$?
19932 grep -v '^ *+' conftest.er1 >conftest.err
19933 rm -f conftest.er1
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try='test -z "$ac_c_werror_flag"
19938 || test ! -s conftest.err'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; } &&
19944 { ac_try='test -s conftest$ac_exeext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19947 ac_status=$?
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 ac_cv_lib_m_ctanhl=yes
19951 else
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19955 ac_cv_lib_m_ctanhl=no
19957 rm -f conftest.err conftest.$ac_objext \
19958 conftest$ac_exeext conftest.$ac_ext
19959 LIBS=$ac_check_lib_save_LIBS
19961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
19962 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
19963 if test $ac_cv_lib_m_ctanhl = yes; then
19965 cat >>confdefs.h <<\_ACEOF
19966 #define HAVE_CTANHL 1
19967 _ACEOF
19971 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
19972 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
19973 if test "${ac_cv_lib_m_truncf+set}" = set; then
19974 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 else
19976 ac_check_lib_save_LIBS=$LIBS
19977 LIBS="-lm $LIBS"
19978 if test x$gcc_no_link = xyes; then
19979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19981 { (exit 1); exit 1; }; }
19983 cat >conftest.$ac_ext <<_ACEOF
19984 /* confdefs.h. */
19985 _ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19990 /* Override any gcc2 internal prototype to avoid an error. */
19991 #ifdef __cplusplus
19992 extern "C"
19993 #endif
19994 /* We use char because int might match the return type of a gcc2
19995 builtin and then its argument prototype would still apply. */
19996 char truncf ();
19998 main ()
20000 truncf ();
20002 return 0;
20004 _ACEOF
20005 rm -f conftest.$ac_objext conftest$ac_exeext
20006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20007 (eval $ac_link) 2>conftest.er1
20008 ac_status=$?
20009 grep -v '^ *+' conftest.er1 >conftest.err
20010 rm -f conftest.er1
20011 cat conftest.err >&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); } &&
20014 { ac_try='test -z "$ac_c_werror_flag"
20015 || test ! -s conftest.err'
20016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20017 (eval $ac_try) 2>&5
20018 ac_status=$?
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; } &&
20021 { ac_try='test -s conftest$ac_exeext'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20024 ac_status=$?
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; }; then
20027 ac_cv_lib_m_truncf=yes
20028 else
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20032 ac_cv_lib_m_truncf=no
20034 rm -f conftest.err conftest.$ac_objext \
20035 conftest$ac_exeext conftest.$ac_ext
20036 LIBS=$ac_check_lib_save_LIBS
20038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20039 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20040 if test $ac_cv_lib_m_truncf = yes; then
20042 cat >>confdefs.h <<\_ACEOF
20043 #define HAVE_TRUNCF 1
20044 _ACEOF
20048 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20049 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20050 if test "${ac_cv_lib_m_trunc+set}" = set; then
20051 echo $ECHO_N "(cached) $ECHO_C" >&6
20052 else
20053 ac_check_lib_save_LIBS=$LIBS
20054 LIBS="-lm $LIBS"
20055 if test x$gcc_no_link = xyes; then
20056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20058 { (exit 1); exit 1; }; }
20060 cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h. */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20067 /* Override any gcc2 internal prototype to avoid an error. */
20068 #ifdef __cplusplus
20069 extern "C"
20070 #endif
20071 /* We use char because int might match the return type of a gcc2
20072 builtin and then its argument prototype would still apply. */
20073 char trunc ();
20075 main ()
20077 trunc ();
20079 return 0;
20081 _ACEOF
20082 rm -f conftest.$ac_objext conftest$ac_exeext
20083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20084 (eval $ac_link) 2>conftest.er1
20085 ac_status=$?
20086 grep -v '^ *+' conftest.er1 >conftest.err
20087 rm -f conftest.er1
20088 cat conftest.err >&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); } &&
20091 { ac_try='test -z "$ac_c_werror_flag"
20092 || test ! -s conftest.err'
20093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20094 (eval $ac_try) 2>&5
20095 ac_status=$?
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); }; } &&
20098 { ac_try='test -s conftest$ac_exeext'
20099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20100 (eval $ac_try) 2>&5
20101 ac_status=$?
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); }; }; then
20104 ac_cv_lib_m_trunc=yes
20105 else
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.$ac_ext >&5
20109 ac_cv_lib_m_trunc=no
20111 rm -f conftest.err conftest.$ac_objext \
20112 conftest$ac_exeext conftest.$ac_ext
20113 LIBS=$ac_check_lib_save_LIBS
20115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20116 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20117 if test $ac_cv_lib_m_trunc = yes; then
20119 cat >>confdefs.h <<\_ACEOF
20120 #define HAVE_TRUNC 1
20121 _ACEOF
20125 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20126 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20127 if test "${ac_cv_lib_m_truncl+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 else
20130 ac_check_lib_save_LIBS=$LIBS
20131 LIBS="-lm $LIBS"
20132 if test x$gcc_no_link = xyes; then
20133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20135 { (exit 1); exit 1; }; }
20137 cat >conftest.$ac_ext <<_ACEOF
20138 /* confdefs.h. */
20139 _ACEOF
20140 cat confdefs.h >>conftest.$ac_ext
20141 cat >>conftest.$ac_ext <<_ACEOF
20142 /* end confdefs.h. */
20144 /* Override any gcc2 internal prototype to avoid an error. */
20145 #ifdef __cplusplus
20146 extern "C"
20147 #endif
20148 /* We use char because int might match the return type of a gcc2
20149 builtin and then its argument prototype would still apply. */
20150 char truncl ();
20152 main ()
20154 truncl ();
20156 return 0;
20158 _ACEOF
20159 rm -f conftest.$ac_objext conftest$ac_exeext
20160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20161 (eval $ac_link) 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } &&
20168 { ac_try='test -z "$ac_c_werror_flag"
20169 || test ! -s conftest.err'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20172 ac_status=$?
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; } &&
20175 { ac_try='test -s conftest$ac_exeext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20178 ac_status=$?
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 ac_cv_lib_m_truncl=yes
20182 else
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20186 ac_cv_lib_m_truncl=no
20188 rm -f conftest.err conftest.$ac_objext \
20189 conftest$ac_exeext conftest.$ac_ext
20190 LIBS=$ac_check_lib_save_LIBS
20192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20193 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20194 if test $ac_cv_lib_m_truncl = yes; then
20196 cat >>confdefs.h <<\_ACEOF
20197 #define HAVE_TRUNCL 1
20198 _ACEOF
20202 echo "$as_me:$LINENO: checking for erff in -lm" >&5
20203 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20204 if test "${ac_cv_lib_m_erff+set}" = set; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20206 else
20207 ac_check_lib_save_LIBS=$LIBS
20208 LIBS="-lm $LIBS"
20209 if test x$gcc_no_link = xyes; then
20210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20212 { (exit 1); exit 1; }; }
20214 cat >conftest.$ac_ext <<_ACEOF
20215 /* confdefs.h. */
20216 _ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20221 /* Override any gcc2 internal prototype to avoid an error. */
20222 #ifdef __cplusplus
20223 extern "C"
20224 #endif
20225 /* We use char because int might match the return type of a gcc2
20226 builtin and then its argument prototype would still apply. */
20227 char erff ();
20229 main ()
20231 erff ();
20233 return 0;
20235 _ACEOF
20236 rm -f conftest.$ac_objext conftest$ac_exeext
20237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20238 (eval $ac_link) 2>conftest.er1
20239 ac_status=$?
20240 grep -v '^ *+' conftest.er1 >conftest.err
20241 rm -f conftest.er1
20242 cat conftest.err >&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } &&
20245 { ac_try='test -z "$ac_c_werror_flag"
20246 || test ! -s conftest.err'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20249 ac_status=$?
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; } &&
20252 { ac_try='test -s conftest$ac_exeext'
20253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20254 (eval $ac_try) 2>&5
20255 ac_status=$?
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); }; }; then
20258 ac_cv_lib_m_erff=yes
20259 else
20260 echo "$as_me: failed program was:" >&5
20261 sed 's/^/| /' conftest.$ac_ext >&5
20263 ac_cv_lib_m_erff=no
20265 rm -f conftest.err conftest.$ac_objext \
20266 conftest$ac_exeext conftest.$ac_ext
20267 LIBS=$ac_check_lib_save_LIBS
20269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
20270 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
20271 if test $ac_cv_lib_m_erff = yes; then
20273 cat >>confdefs.h <<\_ACEOF
20274 #define HAVE_ERFF 1
20275 _ACEOF
20279 echo "$as_me:$LINENO: checking for erf in -lm" >&5
20280 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
20281 if test "${ac_cv_lib_m_erf+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20283 else
20284 ac_check_lib_save_LIBS=$LIBS
20285 LIBS="-lm $LIBS"
20286 if test x$gcc_no_link = xyes; then
20287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20289 { (exit 1); exit 1; }; }
20291 cat >conftest.$ac_ext <<_ACEOF
20292 /* confdefs.h. */
20293 _ACEOF
20294 cat confdefs.h >>conftest.$ac_ext
20295 cat >>conftest.$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20298 /* Override any gcc2 internal prototype to avoid an error. */
20299 #ifdef __cplusplus
20300 extern "C"
20301 #endif
20302 /* We use char because int might match the return type of a gcc2
20303 builtin and then its argument prototype would still apply. */
20304 char erf ();
20306 main ()
20308 erf ();
20310 return 0;
20312 _ACEOF
20313 rm -f conftest.$ac_objext conftest$ac_exeext
20314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20315 (eval $ac_link) 2>conftest.er1
20316 ac_status=$?
20317 grep -v '^ *+' conftest.er1 >conftest.err
20318 rm -f conftest.er1
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } &&
20322 { ac_try='test -z "$ac_c_werror_flag"
20323 || test ! -s conftest.err'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; } &&
20329 { ac_try='test -s conftest$ac_exeext'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20332 ac_status=$?
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; }; then
20335 ac_cv_lib_m_erf=yes
20336 else
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20340 ac_cv_lib_m_erf=no
20342 rm -f conftest.err conftest.$ac_objext \
20343 conftest$ac_exeext conftest.$ac_ext
20344 LIBS=$ac_check_lib_save_LIBS
20346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
20347 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
20348 if test $ac_cv_lib_m_erf = yes; then
20350 cat >>confdefs.h <<\_ACEOF
20351 #define HAVE_ERF 1
20352 _ACEOF
20356 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20357 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20358 if test "${ac_cv_lib_m_erfl+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 else
20361 ac_check_lib_save_LIBS=$LIBS
20362 LIBS="-lm $LIBS"
20363 if test x$gcc_no_link = xyes; then
20364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20366 { (exit 1); exit 1; }; }
20368 cat >conftest.$ac_ext <<_ACEOF
20369 /* confdefs.h. */
20370 _ACEOF
20371 cat confdefs.h >>conftest.$ac_ext
20372 cat >>conftest.$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20375 /* Override any gcc2 internal prototype to avoid an error. */
20376 #ifdef __cplusplus
20377 extern "C"
20378 #endif
20379 /* We use char because int might match the return type of a gcc2
20380 builtin and then its argument prototype would still apply. */
20381 char erfl ();
20383 main ()
20385 erfl ();
20387 return 0;
20389 _ACEOF
20390 rm -f conftest.$ac_objext conftest$ac_exeext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20392 (eval $ac_link) 2>conftest.er1
20393 ac_status=$?
20394 grep -v '^ *+' conftest.er1 >conftest.err
20395 rm -f conftest.er1
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try='test -z "$ac_c_werror_flag"
20400 || test ! -s conftest.err'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20403 ac_status=$?
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; } &&
20406 { ac_try='test -s conftest$ac_exeext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 ac_cv_lib_m_erfl=yes
20413 else
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20417 ac_cv_lib_m_erfl=no
20419 rm -f conftest.err conftest.$ac_objext \
20420 conftest$ac_exeext conftest.$ac_ext
20421 LIBS=$ac_check_lib_save_LIBS
20423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20424 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20425 if test $ac_cv_lib_m_erfl = yes; then
20427 cat >>confdefs.h <<\_ACEOF
20428 #define HAVE_ERFL 1
20429 _ACEOF
20433 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20434 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20435 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 else
20438 ac_check_lib_save_LIBS=$LIBS
20439 LIBS="-lm $LIBS"
20440 if test x$gcc_no_link = xyes; then
20441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20443 { (exit 1); exit 1; }; }
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h. */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20452 /* Override any gcc2 internal prototype to avoid an error. */
20453 #ifdef __cplusplus
20454 extern "C"
20455 #endif
20456 /* We use char because int might match the return type of a gcc2
20457 builtin and then its argument prototype would still apply. */
20458 char erfcf ();
20460 main ()
20462 erfcf ();
20464 return 0;
20466 _ACEOF
20467 rm -f conftest.$ac_objext conftest$ac_exeext
20468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20469 (eval $ac_link) 2>conftest.er1
20470 ac_status=$?
20471 grep -v '^ *+' conftest.er1 >conftest.err
20472 rm -f conftest.er1
20473 cat conftest.err >&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } &&
20476 { ac_try='test -z "$ac_c_werror_flag"
20477 || test ! -s conftest.err'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20480 ac_status=$?
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; } &&
20483 { ac_try='test -s conftest$ac_exeext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 ac_cv_lib_m_erfcf=yes
20490 else
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20494 ac_cv_lib_m_erfcf=no
20496 rm -f conftest.err conftest.$ac_objext \
20497 conftest$ac_exeext conftest.$ac_ext
20498 LIBS=$ac_check_lib_save_LIBS
20500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20501 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20502 if test $ac_cv_lib_m_erfcf = yes; then
20504 cat >>confdefs.h <<\_ACEOF
20505 #define HAVE_ERFCF 1
20506 _ACEOF
20510 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20511 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20512 if test "${ac_cv_lib_m_erfc+set}" = set; then
20513 echo $ECHO_N "(cached) $ECHO_C" >&6
20514 else
20515 ac_check_lib_save_LIBS=$LIBS
20516 LIBS="-lm $LIBS"
20517 if test x$gcc_no_link = xyes; then
20518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20520 { (exit 1); exit 1; }; }
20522 cat >conftest.$ac_ext <<_ACEOF
20523 /* confdefs.h. */
20524 _ACEOF
20525 cat confdefs.h >>conftest.$ac_ext
20526 cat >>conftest.$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20529 /* Override any gcc2 internal prototype to avoid an error. */
20530 #ifdef __cplusplus
20531 extern "C"
20532 #endif
20533 /* We use char because int might match the return type of a gcc2
20534 builtin and then its argument prototype would still apply. */
20535 char erfc ();
20537 main ()
20539 erfc ();
20541 return 0;
20543 _ACEOF
20544 rm -f conftest.$ac_objext conftest$ac_exeext
20545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20546 (eval $ac_link) 2>conftest.er1
20547 ac_status=$?
20548 grep -v '^ *+' conftest.er1 >conftest.err
20549 rm -f conftest.er1
20550 cat conftest.err >&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); } &&
20553 { ac_try='test -z "$ac_c_werror_flag"
20554 || test ! -s conftest.err'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20557 ac_status=$?
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; } &&
20560 { ac_try='test -s conftest$ac_exeext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20563 ac_status=$?
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 ac_cv_lib_m_erfc=yes
20567 else
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20571 ac_cv_lib_m_erfc=no
20573 rm -f conftest.err conftest.$ac_objext \
20574 conftest$ac_exeext conftest.$ac_ext
20575 LIBS=$ac_check_lib_save_LIBS
20577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20578 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20579 if test $ac_cv_lib_m_erfc = yes; then
20581 cat >>confdefs.h <<\_ACEOF
20582 #define HAVE_ERFC 1
20583 _ACEOF
20587 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20588 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20589 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20590 echo $ECHO_N "(cached) $ECHO_C" >&6
20591 else
20592 ac_check_lib_save_LIBS=$LIBS
20593 LIBS="-lm $LIBS"
20594 if test x$gcc_no_link = xyes; then
20595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20597 { (exit 1); exit 1; }; }
20599 cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h. */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20606 /* Override any gcc2 internal prototype to avoid an error. */
20607 #ifdef __cplusplus
20608 extern "C"
20609 #endif
20610 /* We use char because int might match the return type of a gcc2
20611 builtin and then its argument prototype would still apply. */
20612 char erfcl ();
20614 main ()
20616 erfcl ();
20618 return 0;
20620 _ACEOF
20621 rm -f conftest.$ac_objext conftest$ac_exeext
20622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20623 (eval $ac_link) 2>conftest.er1
20624 ac_status=$?
20625 grep -v '^ *+' conftest.er1 >conftest.err
20626 rm -f conftest.er1
20627 cat conftest.err >&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } &&
20630 { ac_try='test -z "$ac_c_werror_flag"
20631 || test ! -s conftest.err'
20632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633 (eval $ac_try) 2>&5
20634 ac_status=$?
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; } &&
20637 { ac_try='test -s conftest$ac_exeext'
20638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639 (eval $ac_try) 2>&5
20640 ac_status=$?
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); }; }; then
20643 ac_cv_lib_m_erfcl=yes
20644 else
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20648 ac_cv_lib_m_erfcl=no
20650 rm -f conftest.err conftest.$ac_objext \
20651 conftest$ac_exeext conftest.$ac_ext
20652 LIBS=$ac_check_lib_save_LIBS
20654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
20655 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
20656 if test $ac_cv_lib_m_erfcl = yes; then
20658 cat >>confdefs.h <<\_ACEOF
20659 #define HAVE_ERFCL 1
20660 _ACEOF
20664 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
20665 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
20666 if test "${ac_cv_lib_m_j0f+set}" = set; then
20667 echo $ECHO_N "(cached) $ECHO_C" >&6
20668 else
20669 ac_check_lib_save_LIBS=$LIBS
20670 LIBS="-lm $LIBS"
20671 if test x$gcc_no_link = xyes; then
20672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20674 { (exit 1); exit 1; }; }
20676 cat >conftest.$ac_ext <<_ACEOF
20677 /* confdefs.h. */
20678 _ACEOF
20679 cat confdefs.h >>conftest.$ac_ext
20680 cat >>conftest.$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20683 /* Override any gcc2 internal prototype to avoid an error. */
20684 #ifdef __cplusplus
20685 extern "C"
20686 #endif
20687 /* We use char because int might match the return type of a gcc2
20688 builtin and then its argument prototype would still apply. */
20689 char j0f ();
20691 main ()
20693 j0f ();
20695 return 0;
20697 _ACEOF
20698 rm -f conftest.$ac_objext conftest$ac_exeext
20699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20700 (eval $ac_link) 2>conftest.er1
20701 ac_status=$?
20702 grep -v '^ *+' conftest.er1 >conftest.err
20703 rm -f conftest.er1
20704 cat conftest.err >&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } &&
20707 { ac_try='test -z "$ac_c_werror_flag"
20708 || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20711 ac_status=$?
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try='test -s conftest$ac_exeext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20717 ac_status=$?
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 ac_cv_lib_m_j0f=yes
20721 else
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20725 ac_cv_lib_m_j0f=no
20727 rm -f conftest.err conftest.$ac_objext \
20728 conftest$ac_exeext conftest.$ac_ext
20729 LIBS=$ac_check_lib_save_LIBS
20731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20732 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20733 if test $ac_cv_lib_m_j0f = yes; then
20735 cat >>confdefs.h <<\_ACEOF
20736 #define HAVE_J0F 1
20737 _ACEOF
20741 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20742 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20743 if test "${ac_cv_lib_m_j0+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 else
20746 ac_check_lib_save_LIBS=$LIBS
20747 LIBS="-lm $LIBS"
20748 if test x$gcc_no_link = xyes; then
20749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20751 { (exit 1); exit 1; }; }
20753 cat >conftest.$ac_ext <<_ACEOF
20754 /* confdefs.h. */
20755 _ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20760 /* Override any gcc2 internal prototype to avoid an error. */
20761 #ifdef __cplusplus
20762 extern "C"
20763 #endif
20764 /* We use char because int might match the return type of a gcc2
20765 builtin and then its argument prototype would still apply. */
20766 char j0 ();
20768 main ()
20770 j0 ();
20772 return 0;
20774 _ACEOF
20775 rm -f conftest.$ac_objext conftest$ac_exeext
20776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20777 (eval $ac_link) 2>conftest.er1
20778 ac_status=$?
20779 grep -v '^ *+' conftest.er1 >conftest.err
20780 rm -f conftest.er1
20781 cat conftest.err >&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); } &&
20784 { ac_try='test -z "$ac_c_werror_flag"
20785 || test ! -s conftest.err'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20788 ac_status=$?
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; } &&
20791 { ac_try='test -s conftest$ac_exeext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20794 ac_status=$?
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 ac_cv_lib_m_j0=yes
20798 else
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20802 ac_cv_lib_m_j0=no
20804 rm -f conftest.err conftest.$ac_objext \
20805 conftest$ac_exeext conftest.$ac_ext
20806 LIBS=$ac_check_lib_save_LIBS
20808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
20809 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
20810 if test $ac_cv_lib_m_j0 = yes; then
20812 cat >>confdefs.h <<\_ACEOF
20813 #define HAVE_J0 1
20814 _ACEOF
20818 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
20819 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
20820 if test "${ac_cv_lib_m_j0l+set}" = set; then
20821 echo $ECHO_N "(cached) $ECHO_C" >&6
20822 else
20823 ac_check_lib_save_LIBS=$LIBS
20824 LIBS="-lm $LIBS"
20825 if test x$gcc_no_link = xyes; then
20826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20828 { (exit 1); exit 1; }; }
20830 cat >conftest.$ac_ext <<_ACEOF
20831 /* confdefs.h. */
20832 _ACEOF
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h. */
20837 /* Override any gcc2 internal prototype to avoid an error. */
20838 #ifdef __cplusplus
20839 extern "C"
20840 #endif
20841 /* We use char because int might match the return type of a gcc2
20842 builtin and then its argument prototype would still apply. */
20843 char j0l ();
20845 main ()
20847 j0l ();
20849 return 0;
20851 _ACEOF
20852 rm -f conftest.$ac_objext conftest$ac_exeext
20853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20854 (eval $ac_link) 2>conftest.er1
20855 ac_status=$?
20856 grep -v '^ *+' conftest.er1 >conftest.err
20857 rm -f conftest.er1
20858 cat conftest.err >&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } &&
20861 { ac_try='test -z "$ac_c_werror_flag"
20862 || test ! -s conftest.err'
20863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20864 (eval $ac_try) 2>&5
20865 ac_status=$?
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); }; } &&
20868 { ac_try='test -s conftest$ac_exeext'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20871 ac_status=$?
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; }; then
20874 ac_cv_lib_m_j0l=yes
20875 else
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20879 ac_cv_lib_m_j0l=no
20881 rm -f conftest.err conftest.$ac_objext \
20882 conftest$ac_exeext conftest.$ac_ext
20883 LIBS=$ac_check_lib_save_LIBS
20885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
20886 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
20887 if test $ac_cv_lib_m_j0l = yes; then
20889 cat >>confdefs.h <<\_ACEOF
20890 #define HAVE_J0L 1
20891 _ACEOF
20895 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
20896 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
20897 if test "${ac_cv_lib_m_j1f+set}" = set; then
20898 echo $ECHO_N "(cached) $ECHO_C" >&6
20899 else
20900 ac_check_lib_save_LIBS=$LIBS
20901 LIBS="-lm $LIBS"
20902 if test x$gcc_no_link = xyes; then
20903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20905 { (exit 1); exit 1; }; }
20907 cat >conftest.$ac_ext <<_ACEOF
20908 /* confdefs.h. */
20909 _ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20914 /* Override any gcc2 internal prototype to avoid an error. */
20915 #ifdef __cplusplus
20916 extern "C"
20917 #endif
20918 /* We use char because int might match the return type of a gcc2
20919 builtin and then its argument prototype would still apply. */
20920 char j1f ();
20922 main ()
20924 j1f ();
20926 return 0;
20928 _ACEOF
20929 rm -f conftest.$ac_objext conftest$ac_exeext
20930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20931 (eval $ac_link) 2>conftest.er1
20932 ac_status=$?
20933 grep -v '^ *+' conftest.er1 >conftest.err
20934 rm -f conftest.er1
20935 cat conftest.err >&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try='test -z "$ac_c_werror_flag"
20939 || test ! -s conftest.err'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; } &&
20945 { ac_try='test -s conftest$ac_exeext'
20946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20947 (eval $ac_try) 2>&5
20948 ac_status=$?
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); }; }; then
20951 ac_cv_lib_m_j1f=yes
20952 else
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5
20956 ac_cv_lib_m_j1f=no
20958 rm -f conftest.err conftest.$ac_objext \
20959 conftest$ac_exeext conftest.$ac_ext
20960 LIBS=$ac_check_lib_save_LIBS
20962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
20963 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
20964 if test $ac_cv_lib_m_j1f = yes; then
20966 cat >>confdefs.h <<\_ACEOF
20967 #define HAVE_J1F 1
20968 _ACEOF
20972 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
20973 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
20974 if test "${ac_cv_lib_m_j1+set}" = set; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 else
20977 ac_check_lib_save_LIBS=$LIBS
20978 LIBS="-lm $LIBS"
20979 if test x$gcc_no_link = xyes; then
20980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20982 { (exit 1); exit 1; }; }
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20991 /* Override any gcc2 internal prototype to avoid an error. */
20992 #ifdef __cplusplus
20993 extern "C"
20994 #endif
20995 /* We use char because int might match the return type of a gcc2
20996 builtin and then its argument prototype would still apply. */
20997 char j1 ();
20999 main ()
21001 j1 ();
21003 return 0;
21005 _ACEOF
21006 rm -f conftest.$ac_objext conftest$ac_exeext
21007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21008 (eval $ac_link) 2>conftest.er1
21009 ac_status=$?
21010 grep -v '^ *+' conftest.er1 >conftest.err
21011 rm -f conftest.er1
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } &&
21015 { ac_try='test -z "$ac_c_werror_flag"
21016 || test ! -s conftest.err'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21019 ac_status=$?
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; } &&
21022 { ac_try='test -s conftest$ac_exeext'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21025 ac_status=$?
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21028 ac_cv_lib_m_j1=yes
21029 else
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21033 ac_cv_lib_m_j1=no
21035 rm -f conftest.err conftest.$ac_objext \
21036 conftest$ac_exeext conftest.$ac_ext
21037 LIBS=$ac_check_lib_save_LIBS
21039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21040 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21041 if test $ac_cv_lib_m_j1 = yes; then
21043 cat >>confdefs.h <<\_ACEOF
21044 #define HAVE_J1 1
21045 _ACEOF
21049 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21050 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21051 if test "${ac_cv_lib_m_j1l+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 else
21054 ac_check_lib_save_LIBS=$LIBS
21055 LIBS="-lm $LIBS"
21056 if test x$gcc_no_link = xyes; then
21057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21059 { (exit 1); exit 1; }; }
21061 cat >conftest.$ac_ext <<_ACEOF
21062 /* confdefs.h. */
21063 _ACEOF
21064 cat confdefs.h >>conftest.$ac_ext
21065 cat >>conftest.$ac_ext <<_ACEOF
21066 /* end confdefs.h. */
21068 /* Override any gcc2 internal prototype to avoid an error. */
21069 #ifdef __cplusplus
21070 extern "C"
21071 #endif
21072 /* We use char because int might match the return type of a gcc2
21073 builtin and then its argument prototype would still apply. */
21074 char j1l ();
21076 main ()
21078 j1l ();
21080 return 0;
21082 _ACEOF
21083 rm -f conftest.$ac_objext conftest$ac_exeext
21084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21085 (eval $ac_link) 2>conftest.er1
21086 ac_status=$?
21087 grep -v '^ *+' conftest.er1 >conftest.err
21088 rm -f conftest.er1
21089 cat conftest.err >&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); } &&
21092 { ac_try='test -z "$ac_c_werror_flag"
21093 || test ! -s conftest.err'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; } &&
21099 { ac_try='test -s conftest$ac_exeext'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21102 ac_status=$?
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; }; then
21105 ac_cv_lib_m_j1l=yes
21106 else
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21110 ac_cv_lib_m_j1l=no
21112 rm -f conftest.err conftest.$ac_objext \
21113 conftest$ac_exeext conftest.$ac_ext
21114 LIBS=$ac_check_lib_save_LIBS
21116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21117 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21118 if test $ac_cv_lib_m_j1l = yes; then
21120 cat >>confdefs.h <<\_ACEOF
21121 #define HAVE_J1L 1
21122 _ACEOF
21126 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21127 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21128 if test "${ac_cv_lib_m_jnf+set}" = set; then
21129 echo $ECHO_N "(cached) $ECHO_C" >&6
21130 else
21131 ac_check_lib_save_LIBS=$LIBS
21132 LIBS="-lm $LIBS"
21133 if test x$gcc_no_link = xyes; then
21134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21136 { (exit 1); exit 1; }; }
21138 cat >conftest.$ac_ext <<_ACEOF
21139 /* confdefs.h. */
21140 _ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21145 /* Override any gcc2 internal prototype to avoid an error. */
21146 #ifdef __cplusplus
21147 extern "C"
21148 #endif
21149 /* We use char because int might match the return type of a gcc2
21150 builtin and then its argument prototype would still apply. */
21151 char jnf ();
21153 main ()
21155 jnf ();
21157 return 0;
21159 _ACEOF
21160 rm -f conftest.$ac_objext conftest$ac_exeext
21161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21162 (eval $ac_link) 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } &&
21169 { ac_try='test -z "$ac_c_werror_flag"
21170 || test ! -s conftest.err'
21171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172 (eval $ac_try) 2>&5
21173 ac_status=$?
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; } &&
21176 { ac_try='test -s conftest$ac_exeext'
21177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178 (eval $ac_try) 2>&5
21179 ac_status=$?
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; }; then
21182 ac_cv_lib_m_jnf=yes
21183 else
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21187 ac_cv_lib_m_jnf=no
21189 rm -f conftest.err conftest.$ac_objext \
21190 conftest$ac_exeext conftest.$ac_ext
21191 LIBS=$ac_check_lib_save_LIBS
21193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21194 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21195 if test $ac_cv_lib_m_jnf = yes; then
21197 cat >>confdefs.h <<\_ACEOF
21198 #define HAVE_JNF 1
21199 _ACEOF
21203 echo "$as_me:$LINENO: checking for jn in -lm" >&5
21204 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21205 if test "${ac_cv_lib_m_jn+set}" = set; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 else
21208 ac_check_lib_save_LIBS=$LIBS
21209 LIBS="-lm $LIBS"
21210 if test x$gcc_no_link = xyes; then
21211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21213 { (exit 1); exit 1; }; }
21215 cat >conftest.$ac_ext <<_ACEOF
21216 /* confdefs.h. */
21217 _ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21222 /* Override any gcc2 internal prototype to avoid an error. */
21223 #ifdef __cplusplus
21224 extern "C"
21225 #endif
21226 /* We use char because int might match the return type of a gcc2
21227 builtin and then its argument prototype would still apply. */
21228 char jn ();
21230 main ()
21232 jn ();
21234 return 0;
21236 _ACEOF
21237 rm -f conftest.$ac_objext conftest$ac_exeext
21238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21239 (eval $ac_link) 2>conftest.er1
21240 ac_status=$?
21241 grep -v '^ *+' conftest.er1 >conftest.err
21242 rm -f conftest.er1
21243 cat conftest.err >&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } &&
21246 { ac_try='test -z "$ac_c_werror_flag"
21247 || test ! -s conftest.err'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21250 ac_status=$?
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; } &&
21253 { ac_try='test -s conftest$ac_exeext'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21256 ac_status=$?
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; }; then
21259 ac_cv_lib_m_jn=yes
21260 else
21261 echo "$as_me: failed program was:" >&5
21262 sed 's/^/| /' conftest.$ac_ext >&5
21264 ac_cv_lib_m_jn=no
21266 rm -f conftest.err conftest.$ac_objext \
21267 conftest$ac_exeext conftest.$ac_ext
21268 LIBS=$ac_check_lib_save_LIBS
21270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
21271 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
21272 if test $ac_cv_lib_m_jn = yes; then
21274 cat >>confdefs.h <<\_ACEOF
21275 #define HAVE_JN 1
21276 _ACEOF
21280 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
21281 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
21282 if test "${ac_cv_lib_m_jnl+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 else
21285 ac_check_lib_save_LIBS=$LIBS
21286 LIBS="-lm $LIBS"
21287 if test x$gcc_no_link = xyes; then
21288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21290 { (exit 1); exit 1; }; }
21292 cat >conftest.$ac_ext <<_ACEOF
21293 /* confdefs.h. */
21294 _ACEOF
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21299 /* Override any gcc2 internal prototype to avoid an error. */
21300 #ifdef __cplusplus
21301 extern "C"
21302 #endif
21303 /* We use char because int might match the return type of a gcc2
21304 builtin and then its argument prototype would still apply. */
21305 char jnl ();
21307 main ()
21309 jnl ();
21311 return 0;
21313 _ACEOF
21314 rm -f conftest.$ac_objext conftest$ac_exeext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21316 (eval $ac_link) 2>conftest.er1
21317 ac_status=$?
21318 grep -v '^ *+' conftest.er1 >conftest.err
21319 rm -f conftest.er1
21320 cat conftest.err >&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try='test -z "$ac_c_werror_flag"
21324 || test ! -s conftest.err'
21325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326 (eval $ac_try) 2>&5
21327 ac_status=$?
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try='test -s conftest$ac_exeext'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21333 ac_status=$?
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; }; then
21336 ac_cv_lib_m_jnl=yes
21337 else
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21341 ac_cv_lib_m_jnl=no
21343 rm -f conftest.err conftest.$ac_objext \
21344 conftest$ac_exeext conftest.$ac_ext
21345 LIBS=$ac_check_lib_save_LIBS
21347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
21348 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21349 if test $ac_cv_lib_m_jnl = yes; then
21351 cat >>confdefs.h <<\_ACEOF
21352 #define HAVE_JNL 1
21353 _ACEOF
21357 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21358 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21359 if test "${ac_cv_lib_m_y0f+set}" = set; then
21360 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 else
21362 ac_check_lib_save_LIBS=$LIBS
21363 LIBS="-lm $LIBS"
21364 if test x$gcc_no_link = xyes; then
21365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21367 { (exit 1); exit 1; }; }
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21376 /* Override any gcc2 internal prototype to avoid an error. */
21377 #ifdef __cplusplus
21378 extern "C"
21379 #endif
21380 /* We use char because int might match the return type of a gcc2
21381 builtin and then its argument prototype would still apply. */
21382 char y0f ();
21384 main ()
21386 y0f ();
21388 return 0;
21390 _ACEOF
21391 rm -f conftest.$ac_objext conftest$ac_exeext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21393 (eval $ac_link) 2>conftest.er1
21394 ac_status=$?
21395 grep -v '^ *+' conftest.er1 >conftest.err
21396 rm -f conftest.er1
21397 cat conftest.err >&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } &&
21400 { ac_try='test -z "$ac_c_werror_flag"
21401 || test ! -s conftest.err'
21402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403 (eval $ac_try) 2>&5
21404 ac_status=$?
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; } &&
21407 { ac_try='test -s conftest$ac_exeext'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21410 ac_status=$?
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; }; then
21413 ac_cv_lib_m_y0f=yes
21414 else
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21418 ac_cv_lib_m_y0f=no
21420 rm -f conftest.err conftest.$ac_objext \
21421 conftest$ac_exeext conftest.$ac_ext
21422 LIBS=$ac_check_lib_save_LIBS
21424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21425 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21426 if test $ac_cv_lib_m_y0f = yes; then
21428 cat >>confdefs.h <<\_ACEOF
21429 #define HAVE_Y0F 1
21430 _ACEOF
21434 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21435 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21436 if test "${ac_cv_lib_m_y0+set}" = set; then
21437 echo $ECHO_N "(cached) $ECHO_C" >&6
21438 else
21439 ac_check_lib_save_LIBS=$LIBS
21440 LIBS="-lm $LIBS"
21441 if test x$gcc_no_link = xyes; then
21442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21444 { (exit 1); exit 1; }; }
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21453 /* Override any gcc2 internal prototype to avoid an error. */
21454 #ifdef __cplusplus
21455 extern "C"
21456 #endif
21457 /* We use char because int might match the return type of a gcc2
21458 builtin and then its argument prototype would still apply. */
21459 char y0 ();
21461 main ()
21463 y0 ();
21465 return 0;
21467 _ACEOF
21468 rm -f conftest.$ac_objext conftest$ac_exeext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21470 (eval $ac_link) 2>conftest.er1
21471 ac_status=$?
21472 grep -v '^ *+' conftest.er1 >conftest.err
21473 rm -f conftest.er1
21474 cat conftest.err >&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } &&
21477 { ac_try='test -z "$ac_c_werror_flag"
21478 || test ! -s conftest.err'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; } &&
21484 { ac_try='test -s conftest$ac_exeext'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; }; then
21490 ac_cv_lib_m_y0=yes
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21495 ac_cv_lib_m_y0=no
21497 rm -f conftest.err conftest.$ac_objext \
21498 conftest$ac_exeext conftest.$ac_ext
21499 LIBS=$ac_check_lib_save_LIBS
21501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21502 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21503 if test $ac_cv_lib_m_y0 = yes; then
21505 cat >>confdefs.h <<\_ACEOF
21506 #define HAVE_Y0 1
21507 _ACEOF
21511 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21512 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21513 if test "${ac_cv_lib_m_y0l+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21515 else
21516 ac_check_lib_save_LIBS=$LIBS
21517 LIBS="-lm $LIBS"
21518 if test x$gcc_no_link = xyes; then
21519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21521 { (exit 1); exit 1; }; }
21523 cat >conftest.$ac_ext <<_ACEOF
21524 /* confdefs.h. */
21525 _ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21530 /* Override any gcc2 internal prototype to avoid an error. */
21531 #ifdef __cplusplus
21532 extern "C"
21533 #endif
21534 /* We use char because int might match the return type of a gcc2
21535 builtin and then its argument prototype would still apply. */
21536 char y0l ();
21538 main ()
21540 y0l ();
21542 return 0;
21544 _ACEOF
21545 rm -f conftest.$ac_objext conftest$ac_exeext
21546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21547 (eval $ac_link) 2>conftest.er1
21548 ac_status=$?
21549 grep -v '^ *+' conftest.er1 >conftest.err
21550 rm -f conftest.er1
21551 cat conftest.err >&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try='test -z "$ac_c_werror_flag"
21555 || test ! -s conftest.err'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21558 ac_status=$?
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; } &&
21561 { ac_try='test -s conftest$ac_exeext'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21564 ac_status=$?
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; }; then
21567 ac_cv_lib_m_y0l=yes
21568 else
21569 echo "$as_me: failed program was:" >&5
21570 sed 's/^/| /' conftest.$ac_ext >&5
21572 ac_cv_lib_m_y0l=no
21574 rm -f conftest.err conftest.$ac_objext \
21575 conftest$ac_exeext conftest.$ac_ext
21576 LIBS=$ac_check_lib_save_LIBS
21578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21579 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21580 if test $ac_cv_lib_m_y0l = yes; then
21582 cat >>confdefs.h <<\_ACEOF
21583 #define HAVE_Y0L 1
21584 _ACEOF
21588 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21589 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21590 if test "${ac_cv_lib_m_y1f+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21592 else
21593 ac_check_lib_save_LIBS=$LIBS
21594 LIBS="-lm $LIBS"
21595 if test x$gcc_no_link = xyes; then
21596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21598 { (exit 1); exit 1; }; }
21600 cat >conftest.$ac_ext <<_ACEOF
21601 /* confdefs.h. */
21602 _ACEOF
21603 cat confdefs.h >>conftest.$ac_ext
21604 cat >>conftest.$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21607 /* Override any gcc2 internal prototype to avoid an error. */
21608 #ifdef __cplusplus
21609 extern "C"
21610 #endif
21611 /* We use char because int might match the return type of a gcc2
21612 builtin and then its argument prototype would still apply. */
21613 char y1f ();
21615 main ()
21617 y1f ();
21619 return 0;
21621 _ACEOF
21622 rm -f conftest.$ac_objext conftest$ac_exeext
21623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21624 (eval $ac_link) 2>conftest.er1
21625 ac_status=$?
21626 grep -v '^ *+' conftest.er1 >conftest.err
21627 rm -f conftest.er1
21628 cat conftest.err >&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); } &&
21631 { ac_try='test -z "$ac_c_werror_flag"
21632 || test ! -s conftest.err'
21633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634 (eval $ac_try) 2>&5
21635 ac_status=$?
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); }; } &&
21638 { ac_try='test -s conftest$ac_exeext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 ac_cv_lib_m_y1f=yes
21645 else
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21649 ac_cv_lib_m_y1f=no
21651 rm -f conftest.err conftest.$ac_objext \
21652 conftest$ac_exeext conftest.$ac_ext
21653 LIBS=$ac_check_lib_save_LIBS
21655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
21656 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
21657 if test $ac_cv_lib_m_y1f = yes; then
21659 cat >>confdefs.h <<\_ACEOF
21660 #define HAVE_Y1F 1
21661 _ACEOF
21665 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
21666 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
21667 if test "${ac_cv_lib_m_y1+set}" = set; then
21668 echo $ECHO_N "(cached) $ECHO_C" >&6
21669 else
21670 ac_check_lib_save_LIBS=$LIBS
21671 LIBS="-lm $LIBS"
21672 if test x$gcc_no_link = xyes; then
21673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21675 { (exit 1); exit 1; }; }
21677 cat >conftest.$ac_ext <<_ACEOF
21678 /* confdefs.h. */
21679 _ACEOF
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21684 /* Override any gcc2 internal prototype to avoid an error. */
21685 #ifdef __cplusplus
21686 extern "C"
21687 #endif
21688 /* We use char because int might match the return type of a gcc2
21689 builtin and then its argument prototype would still apply. */
21690 char y1 ();
21692 main ()
21694 y1 ();
21696 return 0;
21698 _ACEOF
21699 rm -f conftest.$ac_objext conftest$ac_exeext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21701 (eval $ac_link) 2>conftest.er1
21702 ac_status=$?
21703 grep -v '^ *+' conftest.er1 >conftest.err
21704 rm -f conftest.er1
21705 cat conftest.err >&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try='test -z "$ac_c_werror_flag"
21709 || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21712 ac_status=$?
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try='test -s conftest$ac_exeext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21718 ac_status=$?
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21721 ac_cv_lib_m_y1=yes
21722 else
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21726 ac_cv_lib_m_y1=no
21728 rm -f conftest.err conftest.$ac_objext \
21729 conftest$ac_exeext conftest.$ac_ext
21730 LIBS=$ac_check_lib_save_LIBS
21732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21733 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21734 if test $ac_cv_lib_m_y1 = yes; then
21736 cat >>confdefs.h <<\_ACEOF
21737 #define HAVE_Y1 1
21738 _ACEOF
21742 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21743 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21744 if test "${ac_cv_lib_m_y1l+set}" = set; then
21745 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 else
21747 ac_check_lib_save_LIBS=$LIBS
21748 LIBS="-lm $LIBS"
21749 if test x$gcc_no_link = xyes; then
21750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21752 { (exit 1); exit 1; }; }
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21761 /* Override any gcc2 internal prototype to avoid an error. */
21762 #ifdef __cplusplus
21763 extern "C"
21764 #endif
21765 /* We use char because int might match the return type of a gcc2
21766 builtin and then its argument prototype would still apply. */
21767 char y1l ();
21769 main ()
21771 y1l ();
21773 return 0;
21775 _ACEOF
21776 rm -f conftest.$ac_objext conftest$ac_exeext
21777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21778 (eval $ac_link) 2>conftest.er1
21779 ac_status=$?
21780 grep -v '^ *+' conftest.er1 >conftest.err
21781 rm -f conftest.er1
21782 cat conftest.err >&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); } &&
21785 { ac_try='test -z "$ac_c_werror_flag"
21786 || test ! -s conftest.err'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21789 ac_status=$?
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; } &&
21792 { ac_try='test -s conftest$ac_exeext'
21793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21794 (eval $ac_try) 2>&5
21795 ac_status=$?
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_cv_lib_m_y1l=yes
21799 else
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21803 ac_cv_lib_m_y1l=no
21805 rm -f conftest.err conftest.$ac_objext \
21806 conftest$ac_exeext conftest.$ac_ext
21807 LIBS=$ac_check_lib_save_LIBS
21809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
21810 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
21811 if test $ac_cv_lib_m_y1l = yes; then
21813 cat >>confdefs.h <<\_ACEOF
21814 #define HAVE_Y1L 1
21815 _ACEOF
21819 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
21820 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
21821 if test "${ac_cv_lib_m_ynf+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 else
21824 ac_check_lib_save_LIBS=$LIBS
21825 LIBS="-lm $LIBS"
21826 if test x$gcc_no_link = xyes; then
21827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21829 { (exit 1); exit 1; }; }
21831 cat >conftest.$ac_ext <<_ACEOF
21832 /* confdefs.h. */
21833 _ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21838 /* Override any gcc2 internal prototype to avoid an error. */
21839 #ifdef __cplusplus
21840 extern "C"
21841 #endif
21842 /* We use char because int might match the return type of a gcc2
21843 builtin and then its argument prototype would still apply. */
21844 char ynf ();
21846 main ()
21848 ynf ();
21850 return 0;
21852 _ACEOF
21853 rm -f conftest.$ac_objext conftest$ac_exeext
21854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21855 (eval $ac_link) 2>conftest.er1
21856 ac_status=$?
21857 grep -v '^ *+' conftest.er1 >conftest.err
21858 rm -f conftest.er1
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } &&
21862 { ac_try='test -z "$ac_c_werror_flag"
21863 || test ! -s conftest.err'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; } &&
21869 { ac_try='test -s conftest$ac_exeext'
21870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871 (eval $ac_try) 2>&5
21872 ac_status=$?
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_lib_m_ynf=yes
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21880 ac_cv_lib_m_ynf=no
21882 rm -f conftest.err conftest.$ac_objext \
21883 conftest$ac_exeext conftest.$ac_ext
21884 LIBS=$ac_check_lib_save_LIBS
21886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
21887 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
21888 if test $ac_cv_lib_m_ynf = yes; then
21890 cat >>confdefs.h <<\_ACEOF
21891 #define HAVE_YNF 1
21892 _ACEOF
21896 echo "$as_me:$LINENO: checking for yn in -lm" >&5
21897 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
21898 if test "${ac_cv_lib_m_yn+set}" = set; then
21899 echo $ECHO_N "(cached) $ECHO_C" >&6
21900 else
21901 ac_check_lib_save_LIBS=$LIBS
21902 LIBS="-lm $LIBS"
21903 if test x$gcc_no_link = xyes; then
21904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21906 { (exit 1); exit 1; }; }
21908 cat >conftest.$ac_ext <<_ACEOF
21909 /* confdefs.h. */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21915 /* Override any gcc2 internal prototype to avoid an error. */
21916 #ifdef __cplusplus
21917 extern "C"
21918 #endif
21919 /* We use char because int might match the return type of a gcc2
21920 builtin and then its argument prototype would still apply. */
21921 char yn ();
21923 main ()
21925 yn ();
21927 return 0;
21929 _ACEOF
21930 rm -f conftest.$ac_objext conftest$ac_exeext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21932 (eval $ac_link) 2>conftest.er1
21933 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try='test -z "$ac_c_werror_flag"
21940 || test ! -s conftest.err'
21941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21942 (eval $ac_try) 2>&5
21943 ac_status=$?
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; } &&
21946 { ac_try='test -s conftest$ac_exeext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 ac_cv_lib_m_yn=yes
21953 else
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21957 ac_cv_lib_m_yn=no
21959 rm -f conftest.err conftest.$ac_objext \
21960 conftest$ac_exeext conftest.$ac_ext
21961 LIBS=$ac_check_lib_save_LIBS
21963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
21964 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
21965 if test $ac_cv_lib_m_yn = yes; then
21967 cat >>confdefs.h <<\_ACEOF
21968 #define HAVE_YN 1
21969 _ACEOF
21973 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
21974 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
21975 if test "${ac_cv_lib_m_ynl+set}" = set; then
21976 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 else
21978 ac_check_lib_save_LIBS=$LIBS
21979 LIBS="-lm $LIBS"
21980 if test x$gcc_no_link = xyes; then
21981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21983 { (exit 1); exit 1; }; }
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21992 /* Override any gcc2 internal prototype to avoid an error. */
21993 #ifdef __cplusplus
21994 extern "C"
21995 #endif
21996 /* We use char because int might match the return type of a gcc2
21997 builtin and then its argument prototype would still apply. */
21998 char ynl ();
22000 main ()
22002 ynl ();
22004 return 0;
22006 _ACEOF
22007 rm -f conftest.$ac_objext conftest$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009 (eval $ac_link) 2>conftest.er1
22010 ac_status=$?
22011 grep -v '^ *+' conftest.er1 >conftest.err
22012 rm -f conftest.er1
22013 cat conftest.err >&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } &&
22016 { ac_try='test -z "$ac_c_werror_flag"
22017 || test ! -s conftest.err'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; } &&
22023 { ac_try='test -s conftest$ac_exeext'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22026 ac_status=$?
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; }; then
22029 ac_cv_lib_m_ynl=yes
22030 else
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.$ac_ext >&5
22034 ac_cv_lib_m_ynl=no
22036 rm -f conftest.err conftest.$ac_objext \
22037 conftest$ac_exeext conftest.$ac_ext
22038 LIBS=$ac_check_lib_save_LIBS
22040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22041 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22042 if test $ac_cv_lib_m_ynl = yes; then
22044 cat >>confdefs.h <<\_ACEOF
22045 #define HAVE_YNL 1
22046 _ACEOF
22051 # On AIX, clog is present in libm as __clog
22052 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22053 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22054 if test "${ac_cv_lib_m___clog+set}" = set; then
22055 echo $ECHO_N "(cached) $ECHO_C" >&6
22056 else
22057 ac_check_lib_save_LIBS=$LIBS
22058 LIBS="-lm $LIBS"
22059 if test x$gcc_no_link = xyes; then
22060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22062 { (exit 1); exit 1; }; }
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h. */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22071 /* Override any gcc2 internal prototype to avoid an error. */
22072 #ifdef __cplusplus
22073 extern "C"
22074 #endif
22075 /* We use char because int might match the return type of a gcc2
22076 builtin and then its argument prototype would still apply. */
22077 char __clog ();
22079 main ()
22081 __clog ();
22083 return 0;
22085 _ACEOF
22086 rm -f conftest.$ac_objext conftest$ac_exeext
22087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22088 (eval $ac_link) 2>conftest.er1
22089 ac_status=$?
22090 grep -v '^ *+' conftest.er1 >conftest.err
22091 rm -f conftest.er1
22092 cat conftest.err >&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } &&
22095 { ac_try='test -z "$ac_c_werror_flag"
22096 || test ! -s conftest.err'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22099 ac_status=$?
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; } &&
22102 { ac_try='test -s conftest$ac_exeext'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; }; then
22108 ac_cv_lib_m___clog=yes
22109 else
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.$ac_ext >&5
22113 ac_cv_lib_m___clog=no
22115 rm -f conftest.err conftest.$ac_objext \
22116 conftest$ac_exeext conftest.$ac_ext
22117 LIBS=$ac_check_lib_save_LIBS
22119 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22120 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22121 if test $ac_cv_lib_m___clog = yes; then
22123 cat >>confdefs.h <<\_ACEOF
22124 #define HAVE_CLOG 1
22125 _ACEOF
22130 # Check for a isfinite macro that works on long doubles.
22132 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22133 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22134 if test "${have_broken_isfinite+set}" = set; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22136 else
22138 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22139 LIBS="$LIBS -lm"
22140 if test "$cross_compiling" = yes; then
22142 case "${target}" in
22143 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22144 *) have_broken_isfinite=no ;;
22145 esac
22146 else
22147 cat >conftest.$ac_ext <<_ACEOF
22148 /* confdefs.h. */
22149 _ACEOF
22150 cat confdefs.h >>conftest.$ac_ext
22151 cat >>conftest.$ac_ext <<_ACEOF
22152 /* end confdefs.h. */
22154 #ifdef HAVE_MATH_H
22155 #include <math.h>
22156 #endif
22157 #include <float.h>
22158 int main ()
22160 #ifdef isfinite
22161 #ifdef LDBL_MAX
22162 if (!isfinite(LDBL_MAX)) return 1;
22163 #endif
22164 #ifdef DBL_MAX
22165 if (!isfinite(DBL_MAX)) return 1;
22166 #endif
22167 #endif
22168 return 0;
22170 _ACEOF
22171 rm -f conftest$ac_exeext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22173 (eval $ac_link) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178 (eval $ac_try) 2>&5
22179 ac_status=$?
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; }; then
22182 have_broken_isfinite=no
22183 else
22184 echo "$as_me: program exited with status $ac_status" >&5
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22188 ( exit $ac_status )
22189 have_broken_isfinite=yes
22191 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22193 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
22195 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22196 echo "${ECHO_T}$have_broken_isfinite" >&6
22197 if test x"$have_broken_isfinite" = xyes; then
22199 cat >>confdefs.h <<\_ACEOF
22200 #define HAVE_BROKEN_ISFINITE 1
22201 _ACEOF
22205 # Check for a isnan macro that works on long doubles.
22207 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22208 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22209 if test "${have_broken_isnan+set}" = set; then
22210 echo $ECHO_N "(cached) $ECHO_C" >&6
22211 else
22213 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
22214 LIBS="$LIBS -lm"
22215 if test "$cross_compiling" = yes; then
22217 case "${target}" in
22218 hppa*-*-hpux*) have_broken_isnan=yes ;;
22219 *) have_broken_isnan=no ;;
22220 esac
22221 else
22222 cat >conftest.$ac_ext <<_ACEOF
22223 /* confdefs.h. */
22224 _ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22229 #ifdef HAVE_MATH_H
22230 #include <math.h>
22231 #endif
22232 #include <float.h>
22233 int main ()
22235 #ifdef isnan
22236 #ifdef LDBL_MAX
22238 long double x;
22239 x = __builtin_nanl ("");
22240 if (!isnan(x)) return 1;
22241 if (isnan(LDBL_MAX)) return 1;
22242 #ifdef NAN
22243 x = (long double) NAN;
22244 if (!isnan(x)) return 1;
22245 #endif
22247 #endif
22248 #ifdef DBL_MAX
22250 double y;
22251 y = __builtin_nan ("");
22252 if (!isnan(y)) return 1;
22253 if (isnan(DBL_MAX)) return 1;
22254 #ifdef NAN
22255 y = (double) NAN;
22256 if (!isnan(y)) return 1;
22257 #endif
22259 #endif
22260 #endif
22261 return 0;
22263 _ACEOF
22264 rm -f conftest$ac_exeext
22265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22266 (eval $ac_link) 2>&5
22267 ac_status=$?
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22272 ac_status=$?
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; }; then
22275 have_broken_isnan=no
22276 else
22277 echo "$as_me: program exited with status $ac_status" >&5
22278 echo "$as_me: failed program was:" >&5
22279 sed 's/^/| /' conftest.$ac_ext >&5
22281 ( exit $ac_status )
22282 have_broken_isnan=yes
22284 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22286 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
22288 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
22289 echo "${ECHO_T}$have_broken_isnan" >&6
22290 if test x"$have_broken_isnan" = xyes; then
22292 cat >>confdefs.h <<\_ACEOF
22293 #define HAVE_BROKEN_ISNAN 1
22294 _ACEOF
22298 # Check for a fpclassify macro that works on long doubles.
22300 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
22301 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
22302 if test "${have_broken_fpclassify+set}" = set; then
22303 echo $ECHO_N "(cached) $ECHO_C" >&6
22304 else
22306 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
22307 LIBS="$LIBS -lm"
22308 if test "$cross_compiling" = yes; then
22310 case "${target}" in
22311 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
22312 *) have_broken_fpclassify=no ;;
22313 esac
22314 else
22315 cat >conftest.$ac_ext <<_ACEOF
22316 /* confdefs.h. */
22317 _ACEOF
22318 cat confdefs.h >>conftest.$ac_ext
22319 cat >>conftest.$ac_ext <<_ACEOF
22320 /* end confdefs.h. */
22322 #ifdef HAVE_MATH_H
22323 #include <math.h>
22324 #endif
22325 #include <float.h>
22326 int main ()
22328 #ifdef fpclassify
22329 #ifdef LDBL_MAX
22330 if (fpclassify(LDBL_MAX) == FP_NAN
22331 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
22332 #endif
22333 #ifdef DBL_MAX
22334 if (fpclassify(DBL_MAX) == FP_NAN
22335 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
22336 #endif
22337 #endif
22338 return 0;
22340 _ACEOF
22341 rm -f conftest$ac_exeext
22342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22343 (eval $ac_link) 2>&5
22344 ac_status=$?
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 have_broken_fpclassify=no
22353 else
22354 echo "$as_me: program exited with status $ac_status" >&5
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22358 ( exit $ac_status )
22359 have_broken_fpclassify=yes
22361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22363 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
22365 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22366 echo "${ECHO_T}$have_broken_fpclassify" >&6
22367 if test x"$have_broken_fpclassify" = xyes; then
22369 cat >>confdefs.h <<\_ACEOF
22370 #define HAVE_BROKEN_FPCLASSIFY 1
22371 _ACEOF
22375 # Check whether the system has a working stat()
22377 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22378 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22379 if test "${have_working_stat+set}" = set; then
22380 echo $ECHO_N "(cached) $ECHO_C" >&6
22381 else
22383 if test "$cross_compiling" = yes; then
22385 case "${target}" in
22386 *mingw*) have_working_stat=no ;;
22387 *) have_working_stat=yes;;
22388 esac
22389 else
22390 cat >conftest.$ac_ext <<_ACEOF
22391 /* confdefs.h. */
22392 _ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22397 #include <stdio.h>
22398 #include <sys/types.h>
22399 #include <sys/stat.h>
22400 #include <unistd.h>
22402 int main ()
22404 FILE *f, *g;
22405 struct stat st1, st2;
22407 f = fopen ("foo", "w");
22408 g = fopen ("bar", "w");
22409 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22410 return 1;
22411 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22412 return 1;
22413 fclose(f);
22414 fclose(g);
22415 return 0;
22417 _ACEOF
22418 rm -f conftest$ac_exeext
22419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22420 (eval $ac_link) 2>&5
22421 ac_status=$?
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22426 ac_status=$?
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; }; then
22429 have_working_stat=yes
22430 else
22431 echo "$as_me: program exited with status $ac_status" >&5
22432 echo "$as_me: failed program was:" >&5
22433 sed 's/^/| /' conftest.$ac_ext >&5
22435 ( exit $ac_status )
22436 have_working_stat=no
22438 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22441 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22442 echo "${ECHO_T}$have_working_stat" >&6
22443 if test x"$have_working_stat" = xyes; then
22445 cat >>confdefs.h <<\_ACEOF
22446 #define HAVE_WORKING_STAT 1
22447 _ACEOF
22451 # Fallback in case isfinite is not available.
22452 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22453 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22454 if test "${ac_cv_lib_m_finite+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22456 else
22457 ac_check_lib_save_LIBS=$LIBS
22458 LIBS="-lm $LIBS"
22459 if test x$gcc_no_link = xyes; then
22460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22462 { (exit 1); exit 1; }; }
22464 cat >conftest.$ac_ext <<_ACEOF
22465 /* confdefs.h. */
22466 _ACEOF
22467 cat confdefs.h >>conftest.$ac_ext
22468 cat >>conftest.$ac_ext <<_ACEOF
22469 /* end confdefs.h. */
22471 /* Override any gcc2 internal prototype to avoid an error. */
22472 #ifdef __cplusplus
22473 extern "C"
22474 #endif
22475 /* We use char because int might match the return type of a gcc2
22476 builtin and then its argument prototype would still apply. */
22477 char finite ();
22479 main ()
22481 finite ();
22483 return 0;
22485 _ACEOF
22486 rm -f conftest.$ac_objext conftest$ac_exeext
22487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22488 (eval $ac_link) 2>conftest.er1
22489 ac_status=$?
22490 grep -v '^ *+' conftest.er1 >conftest.err
22491 rm -f conftest.er1
22492 cat conftest.err >&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } &&
22495 { ac_try='test -z "$ac_c_werror_flag"
22496 || test ! -s conftest.err'
22497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22498 (eval $ac_try) 2>&5
22499 ac_status=$?
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); }; } &&
22502 { ac_try='test -s conftest$ac_exeext'
22503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504 (eval $ac_try) 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; }; then
22508 ac_cv_lib_m_finite=yes
22509 else
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22513 ac_cv_lib_m_finite=no
22515 rm -f conftest.err conftest.$ac_objext \
22516 conftest$ac_exeext conftest.$ac_ext
22517 LIBS=$ac_check_lib_save_LIBS
22519 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22520 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22521 if test $ac_cv_lib_m_finite = yes; then
22523 cat >>confdefs.h <<\_ACEOF
22524 #define HAVE_FINITE 1
22525 _ACEOF
22530 # Check for GNU libc feenableexcept
22531 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22532 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22533 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22534 echo $ECHO_N "(cached) $ECHO_C" >&6
22535 else
22536 ac_check_lib_save_LIBS=$LIBS
22537 LIBS="-lm $LIBS"
22538 if test x$gcc_no_link = xyes; then
22539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22541 { (exit 1); exit 1; }; }
22543 cat >conftest.$ac_ext <<_ACEOF
22544 /* confdefs.h. */
22545 _ACEOF
22546 cat confdefs.h >>conftest.$ac_ext
22547 cat >>conftest.$ac_ext <<_ACEOF
22548 /* end confdefs.h. */
22550 /* Override any gcc2 internal prototype to avoid an error. */
22551 #ifdef __cplusplus
22552 extern "C"
22553 #endif
22554 /* We use char because int might match the return type of a gcc2
22555 builtin and then its argument prototype would still apply. */
22556 char feenableexcept ();
22558 main ()
22560 feenableexcept ();
22562 return 0;
22564 _ACEOF
22565 rm -f conftest.$ac_objext conftest$ac_exeext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22567 (eval $ac_link) 2>conftest.er1
22568 ac_status=$?
22569 grep -v '^ *+' conftest.er1 >conftest.err
22570 rm -f conftest.er1
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try='test -z "$ac_c_werror_flag"
22575 || test ! -s conftest.err'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22578 ac_status=$?
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; } &&
22581 { ac_try='test -s conftest$ac_exeext'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; }; then
22587 ac_cv_lib_m_feenableexcept=yes
22588 else
22589 echo "$as_me: failed program was:" >&5
22590 sed 's/^/| /' conftest.$ac_ext >&5
22592 ac_cv_lib_m_feenableexcept=no
22594 rm -f conftest.err conftest.$ac_objext \
22595 conftest$ac_exeext conftest.$ac_ext
22596 LIBS=$ac_check_lib_save_LIBS
22598 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22599 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22600 if test $ac_cv_lib_m_feenableexcept = yes; then
22601 have_feenableexcept=yes
22602 cat >>confdefs.h <<\_ACEOF
22603 #define HAVE_FEENABLEEXCEPT 1
22604 _ACEOF
22609 # Check for SysV fpsetmask
22611 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22612 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22613 if test "${have_fpsetmask+set}" = set; then
22614 echo $ECHO_N "(cached) $ECHO_C" >&6
22615 else
22617 if test x$gcc_no_link = xyes; then
22618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22620 { (exit 1); exit 1; }; }
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22629 #if HAVE_FLOATINGPOINT_H
22630 # include <floatingpoint.h>
22631 #endif /* HAVE_FLOATINGPOINT_H */
22632 #if HAVE_IEEEFP_H
22633 # include <ieeefp.h>
22634 #endif /* HAVE_IEEEFP_H */
22636 main ()
22638 fpsetmask(0);
22640 return 0;
22642 _ACEOF
22643 rm -f conftest.$ac_objext conftest$ac_exeext
22644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22645 (eval $ac_link) 2>conftest.er1
22646 ac_status=$?
22647 grep -v '^ *+' conftest.er1 >conftest.err
22648 rm -f conftest.er1
22649 cat conftest.err >&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); } &&
22652 { ac_try='test -z "$ac_c_werror_flag"
22653 || test ! -s conftest.err'
22654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22655 (eval $ac_try) 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; } &&
22659 { ac_try='test -s conftest$ac_exeext'
22660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22661 (eval $ac_try) 2>&5
22662 ac_status=$?
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); }; }; then
22665 eval "have_fpsetmask=yes"
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22670 eval "have_fpsetmask=no"
22672 rm -f conftest.err conftest.$ac_objext \
22673 conftest$ac_exeext conftest.$ac_ext
22676 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
22677 echo "${ECHO_T}$have_fpsetmask" >&6
22678 if test x"$have_fpsetmask" = xyes; then
22680 cat >>confdefs.h <<\_ACEOF
22681 #define HAVE_FPSETMASK 1
22682 _ACEOF
22687 # Check for AIX fp_trap and fp_enable
22688 echo "$as_me:$LINENO: checking for fp_trap" >&5
22689 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
22690 if test "${ac_cv_func_fp_trap+set}" = set; then
22691 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 else
22693 if test x$gcc_no_link = xyes; then
22694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22696 { (exit 1); exit 1; }; }
22698 cat >conftest.$ac_ext <<_ACEOF
22699 /* confdefs.h. */
22700 _ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
22705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22706 #define fp_trap innocuous_fp_trap
22708 /* System header to define __stub macros and hopefully few prototypes,
22709 which can conflict with char fp_trap (); below.
22710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22711 <limits.h> exists even on freestanding compilers. */
22713 #ifdef __STDC__
22714 # include <limits.h>
22715 #else
22716 # include <assert.h>
22717 #endif
22719 #undef fp_trap
22721 /* Override any gcc2 internal prototype to avoid an error. */
22722 #ifdef __cplusplus
22723 extern "C"
22725 #endif
22726 /* We use char because int might match the return type of a gcc2
22727 builtin and then its argument prototype would still apply. */
22728 char fp_trap ();
22729 /* The GNU C library defines this for functions which it implements
22730 to always fail with ENOSYS. Some functions are actually named
22731 something starting with __ and the normal name is an alias. */
22732 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22733 choke me
22734 #else
22735 char (*f) () = fp_trap;
22736 #endif
22737 #ifdef __cplusplus
22739 #endif
22742 main ()
22744 return f != fp_trap;
22746 return 0;
22748 _ACEOF
22749 rm -f conftest.$ac_objext conftest$ac_exeext
22750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22751 (eval $ac_link) 2>conftest.er1
22752 ac_status=$?
22753 grep -v '^ *+' conftest.er1 >conftest.err
22754 rm -f conftest.er1
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } &&
22758 { ac_try='test -z "$ac_c_werror_flag"
22759 || test ! -s conftest.err'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22762 ac_status=$?
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; } &&
22765 { ac_try='test -s conftest$ac_exeext'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22768 ac_status=$?
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; }; then
22771 ac_cv_func_fp_trap=yes
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22776 ac_cv_func_fp_trap=no
22778 rm -f conftest.err conftest.$ac_objext \
22779 conftest$ac_exeext conftest.$ac_ext
22781 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
22782 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
22783 if test $ac_cv_func_fp_trap = yes; then
22784 have_fp_trap=yes
22785 cat >>confdefs.h <<\_ACEOF
22786 #define HAVE_FP_TRAP 1
22787 _ACEOF
22791 echo "$as_me:$LINENO: checking for fp_enable" >&5
22792 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
22793 if test "${ac_cv_func_fp_enable+set}" = set; then
22794 echo $ECHO_N "(cached) $ECHO_C" >&6
22795 else
22796 if test x$gcc_no_link = xyes; then
22797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22799 { (exit 1); exit 1; }; }
22801 cat >conftest.$ac_ext <<_ACEOF
22802 /* confdefs.h. */
22803 _ACEOF
22804 cat confdefs.h >>conftest.$ac_ext
22805 cat >>conftest.$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22807 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
22808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22809 #define fp_enable innocuous_fp_enable
22811 /* System header to define __stub macros and hopefully few prototypes,
22812 which can conflict with char fp_enable (); below.
22813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22814 <limits.h> exists even on freestanding compilers. */
22816 #ifdef __STDC__
22817 # include <limits.h>
22818 #else
22819 # include <assert.h>
22820 #endif
22822 #undef fp_enable
22824 /* Override any gcc2 internal prototype to avoid an error. */
22825 #ifdef __cplusplus
22826 extern "C"
22828 #endif
22829 /* We use char because int might match the return type of a gcc2
22830 builtin and then its argument prototype would still apply. */
22831 char fp_enable ();
22832 /* The GNU C library defines this for functions which it implements
22833 to always fail with ENOSYS. Some functions are actually named
22834 something starting with __ and the normal name is an alias. */
22835 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
22836 choke me
22837 #else
22838 char (*f) () = fp_enable;
22839 #endif
22840 #ifdef __cplusplus
22842 #endif
22845 main ()
22847 return f != fp_enable;
22849 return 0;
22851 _ACEOF
22852 rm -f conftest.$ac_objext conftest$ac_exeext
22853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22854 (eval $ac_link) 2>conftest.er1
22855 ac_status=$?
22856 grep -v '^ *+' conftest.er1 >conftest.err
22857 rm -f conftest.er1
22858 cat conftest.err >&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } &&
22861 { ac_try='test -z "$ac_c_werror_flag"
22862 || test ! -s conftest.err'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; } &&
22868 { ac_try='test -s conftest$ac_exeext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22874 ac_cv_func_fp_enable=yes
22875 else
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22879 ac_cv_func_fp_enable=no
22881 rm -f conftest.err conftest.$ac_objext \
22882 conftest$ac_exeext conftest.$ac_ext
22884 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
22885 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
22886 if test $ac_cv_func_fp_enable = yes; then
22887 have_fp_enable=yes
22888 cat >>confdefs.h <<\_ACEOF
22889 #define HAVE_FP_ENABLE 1
22890 _ACEOF
22895 # Runs configure.host to set up necessary host-dependent shell variables.
22896 # We then display a message about it, and propagate them through the
22897 # build chain.
22898 . ${srcdir}/configure.host
22899 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
22900 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
22901 FPU_HOST_HEADER=config/${fpu_host}.h
22904 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
22905 # for struct timezone, as you might think. We also need to check how
22906 # to call gettimeofday if we have it.
22907 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22908 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22909 if test "${ac_cv_header_time+set}" = set; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 else
22912 cat >conftest.$ac_ext <<_ACEOF
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 #include <sys/types.h>
22919 #include <sys/time.h>
22920 #include <time.h>
22923 main ()
22925 if ((struct tm *) 0)
22926 return 0;
22928 return 0;
22930 _ACEOF
22931 rm -f conftest.$ac_objext
22932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22933 (eval $ac_compile) 2>conftest.er1
22934 ac_status=$?
22935 grep -v '^ *+' conftest.er1 >conftest.err
22936 rm -f conftest.er1
22937 cat conftest.err >&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } &&
22940 { ac_try='test -z "$ac_c_werror_flag"
22941 || test ! -s conftest.err'
22942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22943 (eval $ac_try) 2>&5
22944 ac_status=$?
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); }; } &&
22947 { ac_try='test -s conftest.$ac_objext'
22948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22949 (eval $ac_try) 2>&5
22950 ac_status=$?
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; }; then
22953 ac_cv_header_time=yes
22954 else
22955 echo "$as_me: failed program was:" >&5
22956 sed 's/^/| /' conftest.$ac_ext >&5
22958 ac_cv_header_time=no
22960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22962 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22963 echo "${ECHO_T}$ac_cv_header_time" >&6
22964 if test $ac_cv_header_time = yes; then
22966 cat >>confdefs.h <<\_ACEOF
22967 #define TIME_WITH_SYS_TIME 1
22968 _ACEOF
22974 for ac_func in gettimeofday
22976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22977 echo "$as_me:$LINENO: checking for $ac_func" >&5
22978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22979 if eval "test \"\${$as_ac_var+set}\" = set"; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22981 else
22982 if test x$gcc_no_link = xyes; then
22983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22985 { (exit 1); exit 1; }; }
22987 cat >conftest.$ac_ext <<_ACEOF
22988 /* confdefs.h. */
22989 _ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22995 #define $ac_func innocuous_$ac_func
22997 /* System header to define __stub macros and hopefully few prototypes,
22998 which can conflict with char $ac_func (); below.
22999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23000 <limits.h> exists even on freestanding compilers. */
23002 #ifdef __STDC__
23003 # include <limits.h>
23004 #else
23005 # include <assert.h>
23006 #endif
23008 #undef $ac_func
23010 /* Override any gcc2 internal prototype to avoid an error. */
23011 #ifdef __cplusplus
23012 extern "C"
23014 #endif
23015 /* We use char because int might match the return type of a gcc2
23016 builtin and then its argument prototype would still apply. */
23017 char $ac_func ();
23018 /* The GNU C library defines this for functions which it implements
23019 to always fail with ENOSYS. Some functions are actually named
23020 something starting with __ and the normal name is an alias. */
23021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23022 choke me
23023 #else
23024 char (*f) () = $ac_func;
23025 #endif
23026 #ifdef __cplusplus
23028 #endif
23031 main ()
23033 return f != $ac_func;
23035 return 0;
23037 _ACEOF
23038 rm -f conftest.$ac_objext conftest$ac_exeext
23039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23040 (eval $ac_link) 2>conftest.er1
23041 ac_status=$?
23042 grep -v '^ *+' conftest.er1 >conftest.err
23043 rm -f conftest.er1
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } &&
23047 { ac_try='test -z "$ac_c_werror_flag"
23048 || test ! -s conftest.err'
23049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23050 (eval $ac_try) 2>&5
23051 ac_status=$?
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }; } &&
23054 { ac_try='test -s conftest$ac_exeext'
23055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23056 (eval $ac_try) 2>&5
23057 ac_status=$?
23058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059 (exit $ac_status); }; }; then
23060 eval "$as_ac_var=yes"
23061 else
23062 echo "$as_me: failed program was:" >&5
23063 sed 's/^/| /' conftest.$ac_ext >&5
23065 eval "$as_ac_var=no"
23067 rm -f conftest.err conftest.$ac_objext \
23068 conftest$ac_exeext conftest.$ac_ext
23070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23072 if test `eval echo '${'$as_ac_var'}'` = yes; then
23073 cat >>confdefs.h <<_ACEOF
23074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23075 _ACEOF
23078 done
23080 if test "$ac_cv_func_gettimeofday" = yes; then
23081 echo "$as_me:$LINENO: checking for struct timezone" >&5
23082 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
23083 if test "${gfor_cv_struct_timezone+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086 cat >conftest.$ac_ext <<_ACEOF
23087 /* confdefs.h. */
23088 _ACEOF
23089 cat confdefs.h >>conftest.$ac_ext
23090 cat >>conftest.$ac_ext <<_ACEOF
23091 /* end confdefs.h. */
23092 #include <sys/time.h>
23094 main ()
23096 struct timezone tz;
23098 return 0;
23100 _ACEOF
23101 rm -f conftest.$ac_objext
23102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23103 (eval $ac_compile) 2>conftest.er1
23104 ac_status=$?
23105 grep -v '^ *+' conftest.er1 >conftest.err
23106 rm -f conftest.er1
23107 cat conftest.err >&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } &&
23110 { ac_try='test -z "$ac_c_werror_flag"
23111 || test ! -s conftest.err'
23112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23113 (eval $ac_try) 2>&5
23114 ac_status=$?
23115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23116 (exit $ac_status); }; } &&
23117 { ac_try='test -s conftest.$ac_objext'
23118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23119 (eval $ac_try) 2>&5
23120 ac_status=$?
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); }; }; then
23123 gfor_cv_struct_timezone=yes
23124 else
23125 echo "$as_me: failed program was:" >&5
23126 sed 's/^/| /' conftest.$ac_ext >&5
23128 gfor_cv_struct_timezone=no
23130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23132 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
23133 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
23134 if test $gfor_cv_struct_timezone = yes; then
23135 if test "$cross_compiling" = yes; then
23136 gfor_have_struct_timezone=yes
23137 else
23138 cat >conftest.$ac_ext <<_ACEOF
23139 /* confdefs.h. */
23140 _ACEOF
23141 cat confdefs.h >>conftest.$ac_ext
23142 cat >>conftest.$ac_ext <<_ACEOF
23143 /* end confdefs.h. */
23145 #ifdef TIME_WITH_SYS_TIME
23146 #include <sys/time.h>
23147 #include <time.h>
23148 #else
23149 #ifdef HAVE_SYS_TIME_H
23150 #include <sys/time.h>
23151 #else
23152 #include <time.h>
23153 #endif
23154 #endif
23155 main ()
23157 struct timeval time;
23158 struct timezone dummy;
23159 if (gettimeofday (&time, &dummy))
23160 exit (1);
23161 else
23162 exit (0);
23164 _ACEOF
23165 rm -f conftest$ac_exeext
23166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23167 (eval $ac_link) 2>&5
23168 ac_status=$?
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23172 (eval $ac_try) 2>&5
23173 ac_status=$?
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); }; }; then
23176 gfor_have_struct_timezone=yes
23177 else
23178 echo "$as_me: program exited with status $ac_status" >&5
23179 echo "$as_me: failed program was:" >&5
23180 sed 's/^/| /' conftest.$ac_ext >&5
23182 ( exit $ac_status )
23183 gfor_have_struct_timezone=no
23185 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23187 if test $gfor_have_struct_timezone = yes; then
23189 cat >>confdefs.h <<\_ACEOF
23190 #define HAVE_TIMEZONE 1
23191 _ACEOF
23196 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23197 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
23198 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23199 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 else
23201 if test x$gcc_no_link = xyes; then
23202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23204 { (exit 1); exit 1; }; }
23206 cat >conftest.$ac_ext <<_ACEOF
23207 /* confdefs.h. */
23208 _ACEOF
23209 cat confdefs.h >>conftest.$ac_ext
23210 cat >>conftest.$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23213 #ifdef TIME_WITH_SYS_TIME
23214 #include <sys/time.h>
23215 #include <time.h>
23216 #else
23217 #ifdef HAVE_SYS_TIME_H
23218 #include <sys/time.h>
23219 #else
23220 #include <time.h>
23221 #endif
23222 #endif
23225 main ()
23228 struct timeval time;
23229 #ifdef HAVE_TIMEZONE
23230 struct timezone dummy;
23231 #define DUMMY &dummy
23232 #else
23233 #define DUMMY NULL
23234 #endif
23235 gettimeofday (&time, DUMMY);
23237 return 0;
23239 _ACEOF
23240 rm -f conftest.$ac_objext conftest$ac_exeext
23241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23242 (eval $ac_link) 2>conftest.er1
23243 ac_status=$?
23244 grep -v '^ *+' conftest.er1 >conftest.err
23245 rm -f conftest.er1
23246 cat conftest.err >&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); } &&
23249 { ac_try='test -z "$ac_c_werror_flag"
23250 || test ! -s conftest.err'
23251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23252 (eval $ac_try) 2>&5
23253 ac_status=$?
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); }; } &&
23256 { ac_try='test -s conftest$ac_exeext'
23257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23258 (eval $ac_try) 2>&5
23259 ac_status=$?
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; }; then
23262 emacs_cv_gettimeofday_two_arguments=yes
23263 else
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23267 emacs_cv_gettimeofday_two_arguments=no
23269 rm -f conftest.err conftest.$ac_objext \
23270 conftest$ac_exeext conftest.$ac_ext
23272 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23273 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
23274 if test $emacs_cv_gettimeofday_two_arguments = no; then
23276 cat >>confdefs.h <<\_ACEOF
23277 #define GETTIMEOFDAY_ONE_ARGUMENT 1
23278 _ACEOF
23283 # Attempt to assert that the target is of common type in case we don't
23284 # have C99 integer types at all.
23286 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23287 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23288 if test "${target_ilp32+set}" = set; then
23289 echo $ECHO_N "(cached) $ECHO_C" >&6
23290 else
23292 save_CFLAGS="$CFLAGS"
23293 CFLAGS="-O2"
23294 if test x$gcc_no_link = xyes; then
23295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23297 { (exit 1); exit 1; }; }
23299 cat >conftest.$ac_ext <<_ACEOF
23300 /* confdefs.h. */
23301 _ACEOF
23302 cat confdefs.h >>conftest.$ac_ext
23303 cat >>conftest.$ac_ext <<_ACEOF
23304 /* end confdefs.h. */
23307 main ()
23310 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23312 else
23313 undefined_function ();
23316 return 0;
23318 _ACEOF
23319 rm -f conftest.$ac_objext conftest$ac_exeext
23320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23321 (eval $ac_link) 2>conftest.er1
23322 ac_status=$?
23323 grep -v '^ *+' conftest.er1 >conftest.err
23324 rm -f conftest.er1
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } &&
23328 { ac_try='test -z "$ac_c_werror_flag"
23329 || test ! -s conftest.err'
23330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331 (eval $ac_try) 2>&5
23332 ac_status=$?
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); }; } &&
23335 { ac_try='test -s conftest$ac_exeext'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 target_ilp32=yes
23342 else
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23346 target_ilp32=no
23348 rm -f conftest.err conftest.$ac_objext \
23349 conftest$ac_exeext conftest.$ac_ext
23350 CFLAGS="$save_CFLAGS"
23352 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23353 echo "${ECHO_T}$target_ilp32" >&6
23354 if test $target_ilp32 = yes; then
23356 cat >>confdefs.h <<\_ACEOF
23357 #define TARGET_ILP32 1
23358 _ACEOF
23363 # Check out attribute support.
23365 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23366 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23367 if test "${have_attribute_visibility+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23369 else
23371 save_CFLAGS="$CFLAGS"
23372 CFLAGS="$CFLAGS -Werror"
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h. */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 void __attribute__((visibility("hidden"))) foo(void) { }
23381 main ()
23385 return 0;
23387 _ACEOF
23388 rm -f conftest.$ac_objext
23389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23390 (eval $ac_compile) 2>conftest.er1
23391 ac_status=$?
23392 grep -v '^ *+' conftest.er1 >conftest.err
23393 rm -f conftest.er1
23394 cat conftest.err >&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); } &&
23397 { ac_try='test -z "$ac_c_werror_flag"
23398 || test ! -s conftest.err'
23399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23400 (eval $ac_try) 2>&5
23401 ac_status=$?
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); }; } &&
23404 { ac_try='test -s conftest.$ac_objext'
23405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23406 (eval $ac_try) 2>&5
23407 ac_status=$?
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); }; }; then
23410 have_attribute_visibility=yes
23411 else
23412 echo "$as_me: failed program was:" >&5
23413 sed 's/^/| /' conftest.$ac_ext >&5
23415 have_attribute_visibility=no
23417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23418 CFLAGS="$save_CFLAGS"
23420 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23421 echo "${ECHO_T}$have_attribute_visibility" >&6
23422 if test $have_attribute_visibility = yes; then
23424 cat >>confdefs.h <<\_ACEOF
23425 #define HAVE_ATTRIBUTE_VISIBILITY 1
23426 _ACEOF
23430 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23431 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23432 if test "${have_attribute_dllexport+set}" = set; then
23433 echo $ECHO_N "(cached) $ECHO_C" >&6
23434 else
23436 save_CFLAGS="$CFLAGS"
23437 CFLAGS="$CFLAGS -Werror"
23438 cat >conftest.$ac_ext <<_ACEOF
23439 /* confdefs.h. */
23440 _ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 void __attribute__((dllexport)) foo(void) { }
23446 main ()
23450 return 0;
23452 _ACEOF
23453 rm -f conftest.$ac_objext
23454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23455 (eval $ac_compile) 2>conftest.er1
23456 ac_status=$?
23457 grep -v '^ *+' conftest.er1 >conftest.err
23458 rm -f conftest.er1
23459 cat conftest.err >&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); } &&
23462 { ac_try='test -z "$ac_c_werror_flag"
23463 || test ! -s conftest.err'
23464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23465 (eval $ac_try) 2>&5
23466 ac_status=$?
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); }; } &&
23469 { ac_try='test -s conftest.$ac_objext'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23472 ac_status=$?
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; }; then
23475 have_attribute_dllexport=yes
23476 else
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.$ac_ext >&5
23480 have_attribute_dllexport=no
23482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23483 CFLAGS="$save_CFLAGS"
23485 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23486 echo "${ECHO_T}$have_attribute_dllexport" >&6
23487 if test $have_attribute_dllexport = yes; then
23489 cat >>confdefs.h <<\_ACEOF
23490 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23491 _ACEOF
23495 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23496 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23497 if test "${have_attribute_alias+set}" = set; then
23498 echo $ECHO_N "(cached) $ECHO_C" >&6
23499 else
23501 if test x$gcc_no_link = xyes; then
23502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23504 { (exit 1); exit 1; }; }
23506 cat >conftest.$ac_ext <<_ACEOF
23507 /* confdefs.h. */
23508 _ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23513 void foo(void) { }
23514 extern void bar(void) __attribute__((alias("foo")));
23516 main ()
23518 bar();
23520 return 0;
23522 _ACEOF
23523 rm -f conftest.$ac_objext conftest$ac_exeext
23524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23525 (eval $ac_link) 2>conftest.er1
23526 ac_status=$?
23527 grep -v '^ *+' conftest.er1 >conftest.err
23528 rm -f conftest.er1
23529 cat conftest.err >&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } &&
23532 { ac_try='test -z "$ac_c_werror_flag"
23533 || test ! -s conftest.err'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; } &&
23539 { ac_try='test -s conftest$ac_exeext'
23540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541 (eval $ac_try) 2>&5
23542 ac_status=$?
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; }; then
23545 have_attribute_alias=yes
23546 else
23547 echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.$ac_ext >&5
23550 have_attribute_alias=no
23552 rm -f conftest.err conftest.$ac_objext \
23553 conftest$ac_exeext conftest.$ac_ext
23555 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23556 echo "${ECHO_T}$have_attribute_alias" >&6
23557 if test $have_attribute_alias = yes; then
23559 cat >>confdefs.h <<\_ACEOF
23560 #define HAVE_ATTRIBUTE_ALIAS 1
23561 _ACEOF
23565 # Check out sync builtins support.
23567 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23568 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23569 if test "${have_sync_fetch_and_add+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 else
23573 if test x$gcc_no_link = xyes; then
23574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23576 { (exit 1); exit 1; }; }
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h. */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 int foovar = 0;
23586 main ()
23589 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23590 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23592 return 0;
23594 _ACEOF
23595 rm -f conftest.$ac_objext conftest$ac_exeext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23597 (eval $ac_link) 2>conftest.er1
23598 ac_status=$?
23599 grep -v '^ *+' conftest.er1 >conftest.err
23600 rm -f conftest.er1
23601 cat conftest.err >&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try='test -z "$ac_c_werror_flag"
23605 || test ! -s conftest.err'
23606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23607 (eval $ac_try) 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); }; } &&
23611 { ac_try='test -s conftest$ac_exeext'
23612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23613 (eval $ac_try) 2>&5
23614 ac_status=$?
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); }; }; then
23617 have_sync_fetch_and_add=yes
23618 else
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.$ac_ext >&5
23622 have_sync_fetch_and_add=no
23624 rm -f conftest.err conftest.$ac_objext \
23625 conftest$ac_exeext conftest.$ac_ext
23627 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23628 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23629 if test $have_sync_fetch_and_add = yes; then
23631 cat >>confdefs.h <<\_ACEOF
23632 #define HAVE_SYNC_FETCH_AND_ADD 1
23633 _ACEOF
23637 # Check out thread support.
23639 echo "$as_me:$LINENO: checking configured target thread model" >&5
23640 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23641 if test "${target_thread_file+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23645 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23647 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23648 echo "${ECHO_T}$target_thread_file" >&6
23650 if test $target_thread_file != single; then
23652 cat >>confdefs.h <<\_ACEOF
23653 #define HAVE_GTHR_DEFAULT 1
23654 _ACEOF
23658 # Check out #pragma weak.
23660 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23661 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23662 if test "${have_pragma_weak+set}" = set; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6
23664 else
23666 gfor_save_CFLAGS="$CFLAGS"
23667 CFLAGS="$CFLAGS -Wunknown-pragmas"
23668 cat >conftest.$ac_ext <<_ACEOF
23669 /* confdefs.h. */
23670 _ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674 void foo (void);
23675 #pragma weak foo
23677 main ()
23679 if (foo) foo ();
23681 return 0;
23683 _ACEOF
23684 rm -f conftest.$ac_objext
23685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23686 (eval $ac_compile) 2>conftest.er1
23687 ac_status=$?
23688 grep -v '^ *+' conftest.er1 >conftest.err
23689 rm -f conftest.er1
23690 cat conftest.err >&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); } &&
23693 { ac_try='test -z "$ac_c_werror_flag"
23694 || test ! -s conftest.err'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23697 ac_status=$?
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; } &&
23700 { ac_try='test -s conftest.$ac_objext'
23701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23702 (eval $ac_try) 2>&5
23703 ac_status=$?
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); }; }; then
23706 have_pragma_weak=yes
23707 else
23708 echo "$as_me: failed program was:" >&5
23709 sed 's/^/| /' conftest.$ac_ext >&5
23711 have_pragma_weak=no
23713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23715 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23716 echo "${ECHO_T}$have_pragma_weak" >&6
23717 if test $have_pragma_weak = yes; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define SUPPORTS_WEAK 1
23721 _ACEOF
23724 case "$host" in
23725 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23727 cat >>confdefs.h <<\_ACEOF
23728 #define GTHREAD_USE_WEAK 0
23729 _ACEOF
23732 esac
23734 # Various other checks on target
23736 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23737 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23738 if test "${have_unlink_open_file+set}" = set; then
23739 echo $ECHO_N "(cached) $ECHO_C" >&6
23740 else
23742 if test "$cross_compiling" = yes; then
23744 case "${target}" in
23745 *mingw*) have_unlink_open_file=no ;;
23746 *) have_unlink_open_file=yes;;
23747 esac
23748 else
23749 cat >conftest.$ac_ext <<_ACEOF
23750 /* confdefs.h. */
23751 _ACEOF
23752 cat confdefs.h >>conftest.$ac_ext
23753 cat >>conftest.$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23756 #include <errno.h>
23757 #include <fcntl.h>
23758 #include <unistd.h>
23759 #include <sys/stat.h>
23761 int main ()
23763 int fd;
23765 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23766 if (fd <= 0)
23767 return 0;
23768 if (unlink ("testfile") == -1)
23769 return 1;
23770 write (fd, "This is a test\n", 15);
23771 close (fd);
23773 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23774 return 0;
23775 else
23776 return 1;
23778 _ACEOF
23779 rm -f conftest$ac_exeext
23780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23781 (eval $ac_link) 2>&5
23782 ac_status=$?
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23787 ac_status=$?
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 have_unlink_open_file=yes
23791 else
23792 echo "$as_me: program exited with status $ac_status" >&5
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23796 ( exit $ac_status )
23797 have_unlink_open_file=no
23799 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23802 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23803 echo "${ECHO_T}$have_unlink_open_file" >&6
23804 if test x"$have_unlink_open_file" = xyes; then
23806 cat >>confdefs.h <<\_ACEOF
23807 #define HAVE_UNLINK_OPEN_FILE 1
23808 _ACEOF
23812 # Check whether line terminator is LF or CRLF
23814 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23815 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23816 if test "${have_crlf+set}" = set; then
23817 echo $ECHO_N "(cached) $ECHO_C" >&6
23818 else
23820 if test "$cross_compiling" = yes; then
23822 case "${target}" in
23823 *mingw*) have_crlf=yes ;;
23824 *) have_crlf=no;;
23825 esac
23826 else
23827 cat >conftest.$ac_ext <<_ACEOF
23828 /* confdefs.h. */
23829 _ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23834 /* This test program should exit with status 0 if system uses a CRLF as
23835 line terminator, and status 1 otherwise.
23836 Since it is used to check for mingw systems, and should return 0 in any
23837 other case, in case of a failure we will not use CRLF. */
23838 #include <sys/stat.h>
23839 #include <stdlib.h>
23840 #include <fcntl.h>
23841 #include <stdio.h>
23843 int main ()
23845 #ifndef O_BINARY
23846 exit(1);
23847 #else
23848 int fd, bytes;
23849 char buff[5];
23851 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23852 if (fd < 0)
23853 exit(1);
23854 if (write (fd, "\n", 1) < 0)
23855 perror ("write");
23857 close (fd);
23859 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23860 exit(1);
23861 bytes = read (fd, buff, 5);
23862 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23863 exit(0);
23864 else
23865 exit(1);
23866 #endif
23868 _ACEOF
23869 rm -f conftest$ac_exeext
23870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23871 (eval $ac_link) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23877 ac_status=$?
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); }; }; then
23880 have_crlf=yes
23881 else
23882 echo "$as_me: program exited with status $ac_status" >&5
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23886 ( exit $ac_status )
23887 have_crlf=no
23889 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23892 echo "$as_me:$LINENO: result: $have_crlf" >&5
23893 echo "${ECHO_T}$have_crlf" >&6
23894 if test x"$have_crlf" = xyes; then
23896 cat >>confdefs.h <<\_ACEOF
23897 #define HAVE_CRLF 1
23898 _ACEOF
23902 cat >confcache <<\_ACEOF
23903 # This file is a shell script that caches the results of configure
23904 # tests run on this system so they can be shared between configure
23905 # scripts and configure runs, see configure's option --config-cache.
23906 # It is not useful on other systems. If it contains results you don't
23907 # want to keep, you may remove or edit it.
23909 # config.status only pays attention to the cache file if you give it
23910 # the --recheck option to rerun configure.
23912 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23913 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23914 # following values.
23916 _ACEOF
23918 # The following way of writing the cache mishandles newlines in values,
23919 # but we know of no workaround that is simple, portable, and efficient.
23920 # So, don't put newlines in cache variables' values.
23921 # Ultrix sh set writes to stderr and can't be redirected directly,
23922 # and sets the high bit in the cache file unless we assign to the vars.
23924 (set) 2>&1 |
23925 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23926 *ac_space=\ *)
23927 # `set' does not quote correctly, so add quotes (double-quote
23928 # substitution turns \\\\ into \\, and sed turns \\ into \).
23929 sed -n \
23930 "s/'/'\\\\''/g;
23931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23934 # `set' quotes correctly as required by POSIX, so do not add quotes.
23935 sed -n \
23936 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23938 esac;
23940 sed '
23941 t clear
23942 : clear
23943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23944 t end
23945 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23946 : end' >>confcache
23947 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23948 if test -w $cache_file; then
23949 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23950 cat confcache >$cache_file
23951 else
23952 echo "not updating unwritable cache $cache_file"
23955 rm -f confcache
23957 if test ${multilib} = yes; then
23958 multilib_arg="--enable-multilib"
23959 else
23960 multilib_arg=
23963 # Write our Makefile.
23964 ac_config_files="$ac_config_files Makefile"
23966 cat >confcache <<\_ACEOF
23967 # This file is a shell script that caches the results of configure
23968 # tests run on this system so they can be shared between configure
23969 # scripts and configure runs, see configure's option --config-cache.
23970 # It is not useful on other systems. If it contains results you don't
23971 # want to keep, you may remove or edit it.
23973 # config.status only pays attention to the cache file if you give it
23974 # the --recheck option to rerun configure.
23976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23978 # following values.
23980 _ACEOF
23982 # The following way of writing the cache mishandles newlines in values,
23983 # but we know of no workaround that is simple, portable, and efficient.
23984 # So, don't put newlines in cache variables' values.
23985 # Ultrix sh set writes to stderr and can't be redirected directly,
23986 # and sets the high bit in the cache file unless we assign to the vars.
23988 (set) 2>&1 |
23989 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23990 *ac_space=\ *)
23991 # `set' does not quote correctly, so add quotes (double-quote
23992 # substitution turns \\\\ into \\, and sed turns \\ into \).
23993 sed -n \
23994 "s/'/'\\\\''/g;
23995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23998 # `set' quotes correctly as required by POSIX, so do not add quotes.
23999 sed -n \
24000 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24002 esac;
24004 sed '
24005 t clear
24006 : clear
24007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24008 t end
24009 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24010 : end' >>confcache
24011 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24012 if test -w $cache_file; then
24013 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24014 cat confcache >$cache_file
24015 else
24016 echo "not updating unwritable cache $cache_file"
24019 rm -f confcache
24021 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24022 # Let make expand exec_prefix.
24023 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24025 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24027 # trailing colons and then remove the whole line if VPATH becomes empty
24028 # (actually we leave an empty line to preserve line numbers).
24029 if test "x$srcdir" = x.; then
24030 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24031 s/:*\$(srcdir):*/:/;
24032 s/:*\${srcdir}:*/:/;
24033 s/:*@srcdir@:*/:/;
24034 s/^\([^=]*=[ ]*\):*/\1/;
24035 s/:*$//;
24036 s/^[^=]*=[ ]*$//;
24040 DEFS=-DHAVE_CONFIG_H
24042 ac_libobjs=
24043 ac_ltlibobjs=
24044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24045 # 1. Remove the extension, and $U if already installed.
24046 ac_i=`echo "$ac_i" |
24047 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24048 # 2. Add them.
24049 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24050 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24051 done
24052 LIBOBJS=$ac_libobjs
24054 LTLIBOBJS=$ac_ltlibobjs
24057 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24058 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24059 Usually this means the macro was only invoked conditionally." >&5
24060 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24061 Usually this means the macro was only invoked conditionally." >&2;}
24062 { (exit 1); exit 1; }; }
24065 : ${CONFIG_STATUS=./config.status}
24066 ac_clean_files_save=$ac_clean_files
24067 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24068 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24069 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24070 cat >$CONFIG_STATUS <<_ACEOF
24071 #! $SHELL
24072 # Generated by $as_me.
24073 # Run this file to recreate the current configuration.
24074 # Compiler output produced by configure, useful for debugging
24075 # configure, is in config.log if it exists.
24077 debug=false
24078 ac_cs_recheck=false
24079 ac_cs_silent=false
24080 SHELL=\${CONFIG_SHELL-$SHELL}
24081 _ACEOF
24083 cat >>$CONFIG_STATUS <<\_ACEOF
24084 ## --------------------- ##
24085 ## M4sh Initialization. ##
24086 ## --------------------- ##
24088 # Be Bourne compatible
24089 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24090 emulate sh
24091 NULLCMD=:
24092 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24093 # is contrary to our usage. Disable this feature.
24094 alias -g '${1+"$@"}'='"$@"'
24095 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24096 set -o posix
24098 DUALCASE=1; export DUALCASE # for MKS sh
24100 # Support unset when possible.
24101 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24102 as_unset=unset
24103 else
24104 as_unset=false
24108 # Work around bugs in pre-3.0 UWIN ksh.
24109 $as_unset ENV MAIL MAILPATH
24110 PS1='$ '
24111 PS2='> '
24112 PS4='+ '
24114 # NLS nuisances.
24115 for as_var in \
24116 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24117 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24118 LC_TELEPHONE LC_TIME
24120 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24121 eval $as_var=C; export $as_var
24122 else
24123 $as_unset $as_var
24125 done
24127 # Required to use basename.
24128 if expr a : '\(a\)' >/dev/null 2>&1; then
24129 as_expr=expr
24130 else
24131 as_expr=false
24134 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24135 as_basename=basename
24136 else
24137 as_basename=false
24141 # Name of the executable.
24142 as_me=`$as_basename "$0" ||
24143 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24144 X"$0" : 'X\(//\)$' \| \
24145 X"$0" : 'X\(/\)$' \| \
24146 . : '\(.\)' 2>/dev/null ||
24147 echo X/"$0" |
24148 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24149 /^X\/\(\/\/\)$/{ s//\1/; q; }
24150 /^X\/\(\/\).*/{ s//\1/; q; }
24151 s/.*/./; q'`
24154 # PATH needs CR, and LINENO needs CR and PATH.
24155 # Avoid depending upon Character Ranges.
24156 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24157 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24158 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24159 as_cr_digits='0123456789'
24160 as_cr_alnum=$as_cr_Letters$as_cr_digits
24162 # The user is always right.
24163 if test "${PATH_SEPARATOR+set}" != set; then
24164 echo "#! /bin/sh" >conf$$.sh
24165 echo "exit 0" >>conf$$.sh
24166 chmod +x conf$$.sh
24167 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24168 PATH_SEPARATOR=';'
24169 else
24170 PATH_SEPARATOR=:
24172 rm -f conf$$.sh
24176 as_lineno_1=$LINENO
24177 as_lineno_2=$LINENO
24178 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24179 test "x$as_lineno_1" != "x$as_lineno_2" &&
24180 test "x$as_lineno_3" = "x$as_lineno_2" || {
24181 # Find who we are. Look in the path if we contain no path at all
24182 # relative or not.
24183 case $0 in
24184 *[\\/]* ) as_myself=$0 ;;
24185 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24186 for as_dir in $PATH
24188 IFS=$as_save_IFS
24189 test -z "$as_dir" && as_dir=.
24190 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24191 done
24194 esac
24195 # We did not find ourselves, most probably we were run as `sh COMMAND'
24196 # in which case we are not to be found in the path.
24197 if test "x$as_myself" = x; then
24198 as_myself=$0
24200 if test ! -f "$as_myself"; then
24201 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24202 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24203 { (exit 1); exit 1; }; }
24205 case $CONFIG_SHELL in
24207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24208 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24210 IFS=$as_save_IFS
24211 test -z "$as_dir" && as_dir=.
24212 for as_base in sh bash ksh sh5; do
24213 case $as_dir in
24215 if ("$as_dir/$as_base" -c '
24216 as_lineno_1=$LINENO
24217 as_lineno_2=$LINENO
24218 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24219 test "x$as_lineno_1" != "x$as_lineno_2" &&
24220 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24221 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24222 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24223 CONFIG_SHELL=$as_dir/$as_base
24224 export CONFIG_SHELL
24225 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24226 fi;;
24227 esac
24228 done
24229 done
24231 esac
24233 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24234 # uniformly replaced by the line number. The first 'sed' inserts a
24235 # line-number line before each line; the second 'sed' does the real
24236 # work. The second script uses 'N' to pair each line-number line
24237 # with the numbered line, and appends trailing '-' during
24238 # substitution so that $LINENO is not a special case at line end.
24239 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24240 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24241 sed '=' <$as_myself |
24242 sed '
24244 s,$,-,
24245 : loop
24246 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24247 t loop
24248 s,-$,,
24249 s,^['$as_cr_digits']*\n,,
24250 ' >$as_me.lineno &&
24251 chmod +x $as_me.lineno ||
24252 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24253 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24254 { (exit 1); exit 1; }; }
24256 # Don't try to exec as it changes $[0], causing all sort of problems
24257 # (the dirname of $[0] is not the place where we might find the
24258 # original and so on. Autoconf is especially sensible to this).
24259 . ./$as_me.lineno
24260 # Exit status is that of the last command.
24261 exit
24265 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24266 *c*,-n*) ECHO_N= ECHO_C='
24267 ' ECHO_T=' ' ;;
24268 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24269 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24270 esac
24272 if expr a : '\(a\)' >/dev/null 2>&1; then
24273 as_expr=expr
24274 else
24275 as_expr=false
24278 rm -f conf$$ conf$$.exe conf$$.file
24279 echo >conf$$.file
24280 if ln -s conf$$.file conf$$ 2>/dev/null; then
24281 # We could just check for DJGPP; but this test a) works b) is more generic
24282 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24283 if test -f conf$$.exe; then
24284 # Don't use ln at all; we don't have any links
24285 as_ln_s='cp -p'
24286 else
24287 as_ln_s='ln -s'
24289 elif ln conf$$.file conf$$ 2>/dev/null; then
24290 as_ln_s=ln
24291 else
24292 as_ln_s='cp -p'
24294 rm -f conf$$ conf$$.exe conf$$.file
24296 if mkdir -p . 2>/dev/null; then
24297 as_mkdir_p=:
24298 else
24299 test -d ./-p && rmdir ./-p
24300 as_mkdir_p=false
24303 as_executable_p="test -f"
24305 # Sed expression to map a string onto a valid CPP name.
24306 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24308 # Sed expression to map a string onto a valid variable name.
24309 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24312 # IFS
24313 # We need space, tab and new line, in precisely that order.
24314 as_nl='
24316 IFS=" $as_nl"
24318 # CDPATH.
24319 $as_unset CDPATH
24321 exec 6>&1
24323 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24324 # report actual input values of CONFIG_FILES etc. instead of their
24325 # values after options handling. Logging --version etc. is OK.
24326 exec 5>>config.log
24328 echo
24329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24330 ## Running $as_me. ##
24331 _ASBOX
24332 } >&5
24333 cat >&5 <<_CSEOF
24335 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
24336 generated by GNU Autoconf 2.59. Invocation command line was
24338 CONFIG_FILES = $CONFIG_FILES
24339 CONFIG_HEADERS = $CONFIG_HEADERS
24340 CONFIG_LINKS = $CONFIG_LINKS
24341 CONFIG_COMMANDS = $CONFIG_COMMANDS
24342 $ $0 $@
24344 _CSEOF
24345 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24346 echo >&5
24347 _ACEOF
24349 # Files that config.status was made for.
24350 if test -n "$ac_config_files"; then
24351 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24354 if test -n "$ac_config_headers"; then
24355 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24358 if test -n "$ac_config_links"; then
24359 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24362 if test -n "$ac_config_commands"; then
24363 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24366 cat >>$CONFIG_STATUS <<\_ACEOF
24368 ac_cs_usage="\
24369 \`$as_me' instantiates files from templates according to the
24370 current configuration.
24372 Usage: $0 [OPTIONS] [FILE]...
24374 -h, --help print this help, then exit
24375 -V, --version print version number, then exit
24376 -q, --quiet do not print progress messages
24377 -d, --debug don't remove temporary files
24378 --recheck update $as_me by reconfiguring in the same conditions
24379 --file=FILE[:TEMPLATE]
24380 instantiate the configuration file FILE
24381 --header=FILE[:TEMPLATE]
24382 instantiate the configuration header FILE
24384 Configuration files:
24385 $config_files
24387 Configuration headers:
24388 $config_headers
24390 Configuration commands:
24391 $config_commands
24393 Report bugs to <bug-autoconf@gnu.org>."
24394 _ACEOF
24396 cat >>$CONFIG_STATUS <<_ACEOF
24397 ac_cs_version="\\
24398 GNU Fortran Runtime Library config.status 0.2
24399 configured by $0, generated by GNU Autoconf 2.59,
24400 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24402 Copyright (C) 2003 Free Software Foundation, Inc.
24403 This config.status script is free software; the Free Software Foundation
24404 gives unlimited permission to copy, distribute and modify it."
24405 srcdir=$srcdir
24406 INSTALL="$INSTALL"
24407 _ACEOF
24409 cat >>$CONFIG_STATUS <<\_ACEOF
24410 # If no file are specified by the user, then we need to provide default
24411 # value. By we need to know if files were specified by the user.
24412 ac_need_defaults=:
24413 while test $# != 0
24415 case $1 in
24416 --*=*)
24417 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24418 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24419 ac_shift=:
24422 ac_option=$1
24423 ac_optarg=$2
24424 ac_shift=shift
24426 *) # This is not an option, so the user has probably given explicit
24427 # arguments.
24428 ac_option=$1
24429 ac_need_defaults=false;;
24430 esac
24432 case $ac_option in
24433 # Handling of the options.
24434 _ACEOF
24435 cat >>$CONFIG_STATUS <<\_ACEOF
24436 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24437 ac_cs_recheck=: ;;
24438 --version | --vers* | -V )
24439 echo "$ac_cs_version"; exit 0 ;;
24440 --he | --h)
24441 # Conflict between --help and --header
24442 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24443 Try \`$0 --help' for more information." >&5
24444 echo "$as_me: error: ambiguous option: $1
24445 Try \`$0 --help' for more information." >&2;}
24446 { (exit 1); exit 1; }; };;
24447 --help | --hel | -h )
24448 echo "$ac_cs_usage"; exit 0 ;;
24449 --debug | --d* | -d )
24450 debug=: ;;
24451 --file | --fil | --fi | --f )
24452 $ac_shift
24453 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24454 ac_need_defaults=false;;
24455 --header | --heade | --head | --hea )
24456 $ac_shift
24457 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24458 ac_need_defaults=false;;
24459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24460 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24461 ac_cs_silent=: ;;
24463 # This is an error.
24464 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24465 Try \`$0 --help' for more information." >&5
24466 echo "$as_me: error: unrecognized option: $1
24467 Try \`$0 --help' for more information." >&2;}
24468 { (exit 1); exit 1; }; } ;;
24470 *) ac_config_targets="$ac_config_targets $1" ;;
24472 esac
24473 shift
24474 done
24476 ac_configure_extra_args=
24478 if $ac_cs_silent; then
24479 exec 6>/dev/null
24480 ac_configure_extra_args="$ac_configure_extra_args --silent"
24483 _ACEOF
24484 cat >>$CONFIG_STATUS <<_ACEOF
24485 if \$ac_cs_recheck; then
24486 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24487 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24490 _ACEOF
24492 cat >>$CONFIG_STATUS <<_ACEOF
24494 # INIT-COMMANDS section.
24498 srcdir="$srcdir"
24499 host="$host"
24500 target="$target"
24501 with_multisubdir="$with_multisubdir"
24502 with_multisrctop="$with_multisrctop"
24503 with_target_subdir="$with_target_subdir"
24504 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24505 multi_basedir="$multi_basedir"
24506 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24507 CC="$CC"
24509 GCC="$GCC"
24510 CC="$CC"
24511 acx_cv_header_stdint="$acx_cv_header_stdint"
24512 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24513 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24514 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24515 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24516 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24517 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24518 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24519 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24520 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24521 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24522 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24523 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24524 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24527 _ACEOF
24531 cat >>$CONFIG_STATUS <<\_ACEOF
24532 for ac_config_target in $ac_config_targets
24534 case "$ac_config_target" in
24535 # Handling of arguments.
24536 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24537 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24538 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24539 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24540 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24541 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24542 { (exit 1); exit 1; }; };;
24543 esac
24544 done
24546 # If the user did not use the arguments to specify the items to instantiate,
24547 # then the envvar interface is used. Set only those that are not.
24548 # We use the long form for the default assignment because of an extremely
24549 # bizarre bug on SunOS 4.1.3.
24550 if $ac_need_defaults; then
24551 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24552 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24553 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24556 # Have a temporary directory for convenience. Make it in the build tree
24557 # simply because there is no reason to put it here, and in addition,
24558 # creating and moving files from /tmp can sometimes cause problems.
24559 # Create a temporary directory, and hook for its removal unless debugging.
24560 $debug ||
24562 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24563 trap '{ (exit 1); exit 1; }' 1 2 13 15
24566 # Create a (secure) tmp directory for tmp files.
24569 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24570 test -n "$tmp" && test -d "$tmp"
24571 } ||
24573 tmp=./confstat$$-$RANDOM
24574 (umask 077 && mkdir $tmp)
24575 } ||
24577 echo "$me: cannot create a temporary directory in ." >&2
24578 { (exit 1); exit 1; }
24581 _ACEOF
24583 cat >>$CONFIG_STATUS <<_ACEOF
24586 # CONFIG_FILES section.
24589 # No need to generate the scripts if there are no CONFIG_FILES.
24590 # This happens for instance when ./config.status config.h
24591 if test -n "\$CONFIG_FILES"; then
24592 # Protect against being on the right side of a sed subst in config.status.
24593 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24594 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24595 s,@SHELL@,$SHELL,;t t
24596 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24597 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24598 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24599 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24600 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24601 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24602 s,@exec_prefix@,$exec_prefix,;t t
24603 s,@prefix@,$prefix,;t t
24604 s,@program_transform_name@,$program_transform_name,;t t
24605 s,@bindir@,$bindir,;t t
24606 s,@sbindir@,$sbindir,;t t
24607 s,@libexecdir@,$libexecdir,;t t
24608 s,@datadir@,$datadir,;t t
24609 s,@sysconfdir@,$sysconfdir,;t t
24610 s,@sharedstatedir@,$sharedstatedir,;t t
24611 s,@localstatedir@,$localstatedir,;t t
24612 s,@libdir@,$libdir,;t t
24613 s,@includedir@,$includedir,;t t
24614 s,@oldincludedir@,$oldincludedir,;t t
24615 s,@infodir@,$infodir,;t t
24616 s,@mandir@,$mandir,;t t
24617 s,@build_alias@,$build_alias,;t t
24618 s,@host_alias@,$host_alias,;t t
24619 s,@target_alias@,$target_alias,;t t
24620 s,@DEFS@,$DEFS,;t t
24621 s,@ECHO_C@,$ECHO_C,;t t
24622 s,@ECHO_N@,$ECHO_N,;t t
24623 s,@ECHO_T@,$ECHO_T,;t t
24624 s,@LIBS@,$LIBS,;t t
24625 s,@build@,$build,;t t
24626 s,@build_cpu@,$build_cpu,;t t
24627 s,@build_vendor@,$build_vendor,;t t
24628 s,@build_os@,$build_os,;t t
24629 s,@build_libsubdir@,$build_libsubdir,;t t
24630 s,@build_subdir@,$build_subdir,;t t
24631 s,@host_subdir@,$host_subdir,;t t
24632 s,@target_subdir@,$target_subdir,;t t
24633 s,@host@,$host,;t t
24634 s,@host_cpu@,$host_cpu,;t t
24635 s,@host_vendor@,$host_vendor,;t t
24636 s,@host_os@,$host_os,;t t
24637 s,@target@,$target,;t t
24638 s,@target_cpu@,$target_cpu,;t t
24639 s,@target_vendor@,$target_vendor,;t t
24640 s,@target_os@,$target_os,;t t
24641 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24642 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24643 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24644 s,@CYGPATH_W@,$CYGPATH_W,;t t
24645 s,@PACKAGE@,$PACKAGE,;t t
24646 s,@VERSION@,$VERSION,;t t
24647 s,@ACLOCAL@,$ACLOCAL,;t t
24648 s,@AUTOCONF@,$AUTOCONF,;t t
24649 s,@AUTOMAKE@,$AUTOMAKE,;t t
24650 s,@AUTOHEADER@,$AUTOHEADER,;t t
24651 s,@MAKEINFO@,$MAKEINFO,;t t
24652 s,@install_sh@,$install_sh,;t t
24653 s,@STRIP@,$STRIP,;t t
24654 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24655 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24656 s,@mkdir_p@,$mkdir_p,;t t
24657 s,@AWK@,$AWK,;t t
24658 s,@SET_MAKE@,$SET_MAKE,;t t
24659 s,@am__leading_dot@,$am__leading_dot,;t t
24660 s,@AMTAR@,$AMTAR,;t t
24661 s,@am__tar@,$am__tar,;t t
24662 s,@am__untar@,$am__untar,;t t
24663 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24664 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24665 s,@MAINT@,$MAINT,;t t
24666 s,@multi_basedir@,$multi_basedir,;t t
24667 s,@toolexecdir@,$toolexecdir,;t t
24668 s,@toolexeclibdir@,$toolexeclibdir,;t t
24669 s,@CC@,$CC,;t t
24670 s,@ac_ct_CC@,$ac_ct_CC,;t t
24671 s,@EXEEXT@,$EXEEXT,;t t
24672 s,@OBJEXT@,$OBJEXT,;t t
24673 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24674 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24675 s,@AS@,$AS,;t t
24676 s,@ac_ct_AS@,$ac_ct_AS,;t t
24677 s,@AR@,$AR,;t t
24678 s,@ac_ct_AR@,$ac_ct_AR,;t t
24679 s,@RANLIB@,$RANLIB,;t t
24680 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24681 s,@LN_S@,$LN_S,;t t
24682 s,@LIBTOOL@,$LIBTOOL,;t t
24683 s,@enable_shared@,$enable_shared,;t t
24684 s,@enable_static@,$enable_static,;t t
24685 s,@FC@,$FC,;t t
24686 s,@FCFLAGS@,$FCFLAGS,;t t
24687 s,@LDFLAGS@,$LDFLAGS,;t t
24688 s,@ac_ct_FC@,$ac_ct_FC,;t t
24689 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24690 s,@CPP@,$CPP,;t t
24691 s,@CPPFLAGS@,$CPPFLAGS,;t t
24692 s,@EGREP@,$EGREP,;t t
24693 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24694 s,@LIBOBJS@,$LIBOBJS,;t t
24695 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24696 CEOF
24698 _ACEOF
24700 cat >>$CONFIG_STATUS <<\_ACEOF
24701 # Split the substitutions into bite-sized pieces for seds with
24702 # small command number limits, like on Digital OSF/1 and HP-UX.
24703 ac_max_sed_lines=48
24704 ac_sed_frag=1 # Number of current file.
24705 ac_beg=1 # First line for current file.
24706 ac_end=$ac_max_sed_lines # Line after last line for current file.
24707 ac_more_lines=:
24708 ac_sed_cmds=
24709 while $ac_more_lines; do
24710 if test $ac_beg -gt 1; then
24711 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24712 else
24713 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24715 if test ! -s $tmp/subs.frag; then
24716 ac_more_lines=false
24717 else
24718 # The purpose of the label and of the branching condition is to
24719 # speed up the sed processing (if there are no `@' at all, there
24720 # is no need to browse any of the substitutions).
24721 # These are the two extra sed commands mentioned above.
24722 (echo ':t
24723 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24724 if test -z "$ac_sed_cmds"; then
24725 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24726 else
24727 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24729 ac_sed_frag=`expr $ac_sed_frag + 1`
24730 ac_beg=$ac_end
24731 ac_end=`expr $ac_end + $ac_max_sed_lines`
24733 done
24734 if test -z "$ac_sed_cmds"; then
24735 ac_sed_cmds=cat
24737 fi # test -n "$CONFIG_FILES"
24739 _ACEOF
24740 cat >>$CONFIG_STATUS <<\_ACEOF
24741 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24742 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24743 case $ac_file in
24744 - | *:- | *:-:* ) # input from stdin
24745 cat >$tmp/stdin
24746 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24747 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24748 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24749 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24750 * ) ac_file_in=$ac_file.in ;;
24751 esac
24753 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24754 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24755 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24756 X"$ac_file" : 'X\(//\)[^/]' \| \
24757 X"$ac_file" : 'X\(//\)$' \| \
24758 X"$ac_file" : 'X\(/\)' \| \
24759 . : '\(.\)' 2>/dev/null ||
24760 echo X"$ac_file" |
24761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24762 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24763 /^X\(\/\/\)$/{ s//\1/; q; }
24764 /^X\(\/\).*/{ s//\1/; q; }
24765 s/.*/./; q'`
24766 { if $as_mkdir_p; then
24767 mkdir -p "$ac_dir"
24768 else
24769 as_dir="$ac_dir"
24770 as_dirs=
24771 while test ! -d "$as_dir"; do
24772 as_dirs="$as_dir $as_dirs"
24773 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24775 X"$as_dir" : 'X\(//\)[^/]' \| \
24776 X"$as_dir" : 'X\(//\)$' \| \
24777 X"$as_dir" : 'X\(/\)' \| \
24778 . : '\(.\)' 2>/dev/null ||
24779 echo X"$as_dir" |
24780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24782 /^X\(\/\/\)$/{ s//\1/; q; }
24783 /^X\(\/\).*/{ s//\1/; q; }
24784 s/.*/./; q'`
24785 done
24786 test ! -n "$as_dirs" || mkdir $as_dirs
24787 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24788 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24789 { (exit 1); exit 1; }; }; }
24791 ac_builddir=.
24793 if test "$ac_dir" != .; then
24794 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24795 # A "../" for each directory in $ac_dir_suffix.
24796 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24797 else
24798 ac_dir_suffix= ac_top_builddir=
24801 case $srcdir in
24802 .) # No --srcdir option. We are building in place.
24803 ac_srcdir=.
24804 if test -z "$ac_top_builddir"; then
24805 ac_top_srcdir=.
24806 else
24807 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24808 fi ;;
24809 [\\/]* | ?:[\\/]* ) # Absolute path.
24810 ac_srcdir=$srcdir$ac_dir_suffix;
24811 ac_top_srcdir=$srcdir ;;
24812 *) # Relative path.
24813 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24814 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24815 esac
24817 # Do not use `cd foo && pwd` to compute absolute paths, because
24818 # the directories may not exist.
24819 case `pwd` in
24820 .) ac_abs_builddir="$ac_dir";;
24822 case "$ac_dir" in
24823 .) ac_abs_builddir=`pwd`;;
24824 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24825 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24826 esac;;
24827 esac
24828 case $ac_abs_builddir in
24829 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24831 case ${ac_top_builddir}. in
24832 .) ac_abs_top_builddir=$ac_abs_builddir;;
24833 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24834 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24835 esac;;
24836 esac
24837 case $ac_abs_builddir in
24838 .) ac_abs_srcdir=$ac_srcdir;;
24840 case $ac_srcdir in
24841 .) ac_abs_srcdir=$ac_abs_builddir;;
24842 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24843 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24844 esac;;
24845 esac
24846 case $ac_abs_builddir in
24847 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24849 case $ac_top_srcdir in
24850 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24851 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24852 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24853 esac;;
24854 esac
24857 case $INSTALL in
24858 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24859 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24860 esac
24862 if test x"$ac_file" != x-; then
24863 { echo "$as_me:$LINENO: creating $ac_file" >&5
24864 echo "$as_me: creating $ac_file" >&6;}
24865 rm -f "$ac_file"
24867 # Let's still pretend it is `configure' which instantiates (i.e., don't
24868 # use $as_me), people would be surprised to read:
24869 # /* config.h. Generated by config.status. */
24870 if test x"$ac_file" = x-; then
24871 configure_input=
24872 else
24873 configure_input="$ac_file. "
24875 configure_input=$configure_input"Generated from `echo $ac_file_in |
24876 sed 's,.*/,,'` by configure."
24878 # First look for the input files in the build tree, otherwise in the
24879 # src tree.
24880 ac_file_inputs=`IFS=:
24881 for f in $ac_file_in; do
24882 case $f in
24883 -) echo $tmp/stdin ;;
24884 [\\/$]*)
24885 # Absolute (can't be DOS-style, as IFS=:)
24886 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24887 echo "$as_me: error: cannot find input file: $f" >&2;}
24888 { (exit 1); exit 1; }; }
24889 echo "$f";;
24890 *) # Relative
24891 if test -f "$f"; then
24892 # Build tree
24893 echo "$f"
24894 elif test -f "$srcdir/$f"; then
24895 # Source tree
24896 echo "$srcdir/$f"
24897 else
24898 # /dev/null tree
24899 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24900 echo "$as_me: error: cannot find input file: $f" >&2;}
24901 { (exit 1); exit 1; }; }
24902 fi;;
24903 esac
24904 done` || { (exit 1); exit 1; }
24905 _ACEOF
24906 cat >>$CONFIG_STATUS <<_ACEOF
24907 sed "$ac_vpsub
24908 $extrasub
24909 _ACEOF
24910 cat >>$CONFIG_STATUS <<\_ACEOF
24912 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24913 s,@configure_input@,$configure_input,;t t
24914 s,@srcdir@,$ac_srcdir,;t t
24915 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24916 s,@top_srcdir@,$ac_top_srcdir,;t t
24917 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24918 s,@builddir@,$ac_builddir,;t t
24919 s,@abs_builddir@,$ac_abs_builddir,;t t
24920 s,@top_builddir@,$ac_top_builddir,;t t
24921 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24922 s,@INSTALL@,$ac_INSTALL,;t t
24923 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24924 rm -f $tmp/stdin
24925 if test x"$ac_file" != x-; then
24926 mv $tmp/out $ac_file
24927 else
24928 cat $tmp/out
24929 rm -f $tmp/out
24932 done
24933 _ACEOF
24934 cat >>$CONFIG_STATUS <<\_ACEOF
24937 # CONFIG_HEADER section.
24940 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24941 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24943 # ac_d sets the value in "#define NAME VALUE" lines.
24944 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24945 ac_dB='[ ].*$,\1#\2'
24946 ac_dC=' '
24947 ac_dD=',;t'
24948 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24949 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24950 ac_uB='$,\1#\2define\3'
24951 ac_uC=' '
24952 ac_uD=',;t'
24954 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24955 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24956 case $ac_file in
24957 - | *:- | *:-:* ) # input from stdin
24958 cat >$tmp/stdin
24959 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24960 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24961 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24962 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24963 * ) ac_file_in=$ac_file.in ;;
24964 esac
24966 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24967 echo "$as_me: creating $ac_file" >&6;}
24969 # First look for the input files in the build tree, otherwise in the
24970 # src tree.
24971 ac_file_inputs=`IFS=:
24972 for f in $ac_file_in; do
24973 case $f in
24974 -) echo $tmp/stdin ;;
24975 [\\/$]*)
24976 # Absolute (can't be DOS-style, as IFS=:)
24977 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24978 echo "$as_me: error: cannot find input file: $f" >&2;}
24979 { (exit 1); exit 1; }; }
24980 # Do quote $f, to prevent DOS paths from being IFS'd.
24981 echo "$f";;
24982 *) # Relative
24983 if test -f "$f"; then
24984 # Build tree
24985 echo "$f"
24986 elif test -f "$srcdir/$f"; then
24987 # Source tree
24988 echo "$srcdir/$f"
24989 else
24990 # /dev/null tree
24991 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24992 echo "$as_me: error: cannot find input file: $f" >&2;}
24993 { (exit 1); exit 1; }; }
24994 fi;;
24995 esac
24996 done` || { (exit 1); exit 1; }
24997 # Remove the trailing spaces.
24998 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25000 _ACEOF
25002 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25003 # `conftest.undefs', that substitutes the proper values into
25004 # config.h.in to produce config.h. The first handles `#define'
25005 # templates, and the second `#undef' templates.
25006 # And first: Protect against being on the right side of a sed subst in
25007 # config.status. Protect against being in an unquoted here document
25008 # in config.status.
25009 rm -f conftest.defines conftest.undefs
25010 # Using a here document instead of a string reduces the quoting nightmare.
25011 # Putting comments in sed scripts is not portable.
25013 # `end' is used to avoid that the second main sed command (meant for
25014 # 0-ary CPP macros) applies to n-ary macro definitions.
25015 # See the Autoconf documentation for `clear'.
25016 cat >confdef2sed.sed <<\_ACEOF
25017 s/[\\&,]/\\&/g
25018 s,[\\$`],\\&,g
25019 t clear
25020 : clear
25021 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25022 t end
25023 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25024 : end
25025 _ACEOF
25026 # If some macros were called several times there might be several times
25027 # the same #defines, which is useless. Nevertheless, we may not want to
25028 # sort them, since we want the *last* AC-DEFINE to be honored.
25029 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25030 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25031 rm -f confdef2sed.sed
25033 # This sed command replaces #undef with comments. This is necessary, for
25034 # example, in the case of _POSIX_SOURCE, which is predefined and required
25035 # on some systems where configure will not decide to define it.
25036 cat >>conftest.undefs <<\_ACEOF
25037 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25038 _ACEOF
25040 # Break up conftest.defines because some shells have a limit on the size
25041 # of here documents, and old seds have small limits too (100 cmds).
25042 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25043 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25044 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25045 echo ' :' >>$CONFIG_STATUS
25046 rm -f conftest.tail
25047 while grep . conftest.defines >/dev/null
25049 # Write a limited-size here document to $tmp/defines.sed.
25050 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25051 # Speed up: don't consider the non `#define' lines.
25052 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25053 # Work around the forget-to-reset-the-flag bug.
25054 echo 't clr' >>$CONFIG_STATUS
25055 echo ': clr' >>$CONFIG_STATUS
25056 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25057 echo 'CEOF
25058 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25059 rm -f $tmp/in
25060 mv $tmp/out $tmp/in
25061 ' >>$CONFIG_STATUS
25062 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25063 rm -f conftest.defines
25064 mv conftest.tail conftest.defines
25065 done
25066 rm -f conftest.defines
25067 echo ' fi # grep' >>$CONFIG_STATUS
25068 echo >>$CONFIG_STATUS
25070 # Break up conftest.undefs because some shells have a limit on the size
25071 # of here documents, and old seds have small limits too (100 cmds).
25072 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25073 rm -f conftest.tail
25074 while grep . conftest.undefs >/dev/null
25076 # Write a limited-size here document to $tmp/undefs.sed.
25077 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25078 # Speed up: don't consider the non `#undef'
25079 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25080 # Work around the forget-to-reset-the-flag bug.
25081 echo 't clr' >>$CONFIG_STATUS
25082 echo ': clr' >>$CONFIG_STATUS
25083 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25084 echo 'CEOF
25085 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25086 rm -f $tmp/in
25087 mv $tmp/out $tmp/in
25088 ' >>$CONFIG_STATUS
25089 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25090 rm -f conftest.undefs
25091 mv conftest.tail conftest.undefs
25092 done
25093 rm -f conftest.undefs
25095 cat >>$CONFIG_STATUS <<\_ACEOF
25096 # Let's still pretend it is `configure' which instantiates (i.e., don't
25097 # use $as_me), people would be surprised to read:
25098 # /* config.h. Generated by config.status. */
25099 if test x"$ac_file" = x-; then
25100 echo "/* Generated by configure. */" >$tmp/config.h
25101 else
25102 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25104 cat $tmp/in >>$tmp/config.h
25105 rm -f $tmp/in
25106 if test x"$ac_file" != x-; then
25107 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25108 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25109 echo "$as_me: $ac_file is unchanged" >&6;}
25110 else
25111 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25112 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25113 X"$ac_file" : 'X\(//\)[^/]' \| \
25114 X"$ac_file" : 'X\(//\)$' \| \
25115 X"$ac_file" : 'X\(/\)' \| \
25116 . : '\(.\)' 2>/dev/null ||
25117 echo X"$ac_file" |
25118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25120 /^X\(\/\/\)$/{ s//\1/; q; }
25121 /^X\(\/\).*/{ s//\1/; q; }
25122 s/.*/./; q'`
25123 { if $as_mkdir_p; then
25124 mkdir -p "$ac_dir"
25125 else
25126 as_dir="$ac_dir"
25127 as_dirs=
25128 while test ! -d "$as_dir"; do
25129 as_dirs="$as_dir $as_dirs"
25130 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25131 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25132 X"$as_dir" : 'X\(//\)[^/]' \| \
25133 X"$as_dir" : 'X\(//\)$' \| \
25134 X"$as_dir" : 'X\(/\)' \| \
25135 . : '\(.\)' 2>/dev/null ||
25136 echo X"$as_dir" |
25137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25139 /^X\(\/\/\)$/{ s//\1/; q; }
25140 /^X\(\/\).*/{ s//\1/; q; }
25141 s/.*/./; q'`
25142 done
25143 test ! -n "$as_dirs" || mkdir $as_dirs
25144 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25145 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25146 { (exit 1); exit 1; }; }; }
25148 rm -f $ac_file
25149 mv $tmp/config.h $ac_file
25151 else
25152 cat $tmp/config.h
25153 rm -f $tmp/config.h
25155 # Compute $ac_file's index in $config_headers.
25156 _am_stamp_count=1
25157 for _am_header in $config_headers :; do
25158 case $_am_header in
25159 $ac_file | $ac_file:* )
25160 break ;;
25162 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25163 esac
25164 done
25165 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25166 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25167 X$ac_file : 'X\(//\)[^/]' \| \
25168 X$ac_file : 'X\(//\)$' \| \
25169 X$ac_file : 'X\(/\)' \| \
25170 . : '\(.\)' 2>/dev/null ||
25171 echo X$ac_file |
25172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25174 /^X\(\/\/\)$/{ s//\1/; q; }
25175 /^X\(\/\).*/{ s//\1/; q; }
25176 s/.*/./; q'`/stamp-h$_am_stamp_count
25177 done
25178 _ACEOF
25179 cat >>$CONFIG_STATUS <<\_ACEOF
25182 # CONFIG_COMMANDS section.
25184 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25185 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25186 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25187 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25188 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25189 X"$ac_dest" : 'X\(//\)[^/]' \| \
25190 X"$ac_dest" : 'X\(//\)$' \| \
25191 X"$ac_dest" : 'X\(/\)' \| \
25192 . : '\(.\)' 2>/dev/null ||
25193 echo X"$ac_dest" |
25194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25195 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25196 /^X\(\/\/\)$/{ s//\1/; q; }
25197 /^X\(\/\).*/{ s//\1/; q; }
25198 s/.*/./; q'`
25199 { if $as_mkdir_p; then
25200 mkdir -p "$ac_dir"
25201 else
25202 as_dir="$ac_dir"
25203 as_dirs=
25204 while test ! -d "$as_dir"; do
25205 as_dirs="$as_dir $as_dirs"
25206 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25207 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25208 X"$as_dir" : 'X\(//\)[^/]' \| \
25209 X"$as_dir" : 'X\(//\)$' \| \
25210 X"$as_dir" : 'X\(/\)' \| \
25211 . : '\(.\)' 2>/dev/null ||
25212 echo X"$as_dir" |
25213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25215 /^X\(\/\/\)$/{ s//\1/; q; }
25216 /^X\(\/\).*/{ s//\1/; q; }
25217 s/.*/./; q'`
25218 done
25219 test ! -n "$as_dirs" || mkdir $as_dirs
25220 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25221 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25222 { (exit 1); exit 1; }; }; }
25224 ac_builddir=.
25226 if test "$ac_dir" != .; then
25227 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25228 # A "../" for each directory in $ac_dir_suffix.
25229 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25230 else
25231 ac_dir_suffix= ac_top_builddir=
25234 case $srcdir in
25235 .) # No --srcdir option. We are building in place.
25236 ac_srcdir=.
25237 if test -z "$ac_top_builddir"; then
25238 ac_top_srcdir=.
25239 else
25240 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25241 fi ;;
25242 [\\/]* | ?:[\\/]* ) # Absolute path.
25243 ac_srcdir=$srcdir$ac_dir_suffix;
25244 ac_top_srcdir=$srcdir ;;
25245 *) # Relative path.
25246 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25247 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25248 esac
25250 # Do not use `cd foo && pwd` to compute absolute paths, because
25251 # the directories may not exist.
25252 case `pwd` in
25253 .) ac_abs_builddir="$ac_dir";;
25255 case "$ac_dir" in
25256 .) ac_abs_builddir=`pwd`;;
25257 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25258 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25259 esac;;
25260 esac
25261 case $ac_abs_builddir in
25262 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25264 case ${ac_top_builddir}. in
25265 .) ac_abs_top_builddir=$ac_abs_builddir;;
25266 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25267 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25268 esac;;
25269 esac
25270 case $ac_abs_builddir in
25271 .) ac_abs_srcdir=$ac_srcdir;;
25273 case $ac_srcdir in
25274 .) ac_abs_srcdir=$ac_abs_builddir;;
25275 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25276 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25277 esac;;
25278 esac
25279 case $ac_abs_builddir in
25280 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25282 case $ac_top_srcdir in
25283 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25284 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25285 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25286 esac;;
25287 esac
25290 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25291 echo "$as_me: executing $ac_dest commands" >&6;}
25292 case $ac_dest in
25293 default-1 )
25294 # Only add multilib support code if we just rebuilt the top-level
25295 # Makefile.
25296 case " $CONFIG_FILES " in
25297 *" Makefile "*)
25298 ac_file=Makefile . ${multi_basedir}/config-ml.in
25300 esac ;;
25301 gstdint.h )
25302 if test "$GCC" = yes; then
25303 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25304 else
25305 echo "/* generated for $CC */" > tmp-stdint.h
25308 sed 's/^ *//' >> tmp-stdint.h <<EOF
25310 #ifndef GCC_GENERATED_STDINT_H
25311 #define GCC_GENERATED_STDINT_H 1
25313 #include <sys/types.h>
25316 if test "$acx_cv_header_stdint" != stdint.h; then
25317 echo "#include <stddef.h>" >> tmp-stdint.h
25319 if test "$acx_cv_header_stdint" != stddef.h; then
25320 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25323 sed 's/^ *//' >> tmp-stdint.h <<EOF
25324 /* glibc uses these symbols as guards to prevent redefinitions. */
25325 #ifdef __int8_t_defined
25326 #define _INT8_T
25327 #define _INT16_T
25328 #define _INT32_T
25329 #endif
25330 #ifdef __uint32_t_defined
25331 #define _UINT32_T
25332 #endif
25336 # ----------------- done header, emit basic int types -------------
25337 if test "$acx_cv_header_stdint" = stddef.h; then
25338 sed 's/^ *//' >> tmp-stdint.h <<EOF
25340 #ifndef _UINT8_T
25341 #define _UINT8_T
25342 typedef unsigned $acx_cv_type_int8_t uint8_t;
25343 #endif
25345 #ifndef _UINT16_T
25346 #define _UINT16_T
25347 typedef unsigned $acx_cv_type_int16_t uint16_t;
25348 #endif
25350 #ifndef _UINT32_T
25351 #define _UINT32_T
25352 typedef unsigned $acx_cv_type_int32_t uint32_t;
25353 #endif
25355 #ifndef _INT8_T
25356 #define _INT8_T
25357 typedef $acx_cv_type_int8_t int8_t;
25358 #endif
25360 #ifndef _INT16_T
25361 #define _INT16_T
25362 typedef $acx_cv_type_int16_t int16_t;
25363 #endif
25365 #ifndef _INT32_T
25366 #define _INT32_T
25367 typedef $acx_cv_type_int32_t int32_t;
25368 #endif
25370 elif test "$ac_cv_type_u_int32_t" = yes; then
25371 sed 's/^ *//' >> tmp-stdint.h <<EOF
25373 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25374 #ifndef _INT8_T
25375 #define _INT8_T
25376 #endif
25377 #ifndef _INT16_T
25378 #define _INT16_T
25379 #endif
25380 #ifndef _INT32_T
25381 #define _INT32_T
25382 #endif
25384 #ifndef _UINT8_T
25385 #define _UINT8_T
25386 typedef u_int8_t uint8_t;
25387 #endif
25389 #ifndef _UINT16_T
25390 #define _UINT16_T
25391 typedef u_int16_t uint16_t;
25392 #endif
25394 #ifndef _UINT32_T
25395 #define _UINT32_T
25396 typedef u_int32_t uint32_t;
25397 #endif
25399 else
25400 sed 's/^ *//' >> tmp-stdint.h <<EOF
25402 /* Some systems have guard macros to prevent redefinitions, define them. */
25403 #ifndef _INT8_T
25404 #define _INT8_T
25405 #endif
25406 #ifndef _INT16_T
25407 #define _INT16_T
25408 #endif
25409 #ifndef _INT32_T
25410 #define _INT32_T
25411 #endif
25412 #ifndef _UINT8_T
25413 #define _UINT8_T
25414 #endif
25415 #ifndef _UINT16_T
25416 #define _UINT16_T
25417 #endif
25418 #ifndef _UINT32_T
25419 #define _UINT32_T
25420 #endif
25424 # ------------- done basic int types, emit int64_t types ------------
25425 if test "$ac_cv_type_uint64_t" = yes; then
25426 sed 's/^ *//' >> tmp-stdint.h <<EOF
25428 /* system headers have good uint64_t and int64_t */
25429 #ifndef _INT64_T
25430 #define _INT64_T
25431 #endif
25432 #ifndef _UINT64_T
25433 #define _UINT64_T
25434 #endif
25436 elif test "$ac_cv_type_u_int64_t" = yes; then
25437 sed 's/^ *//' >> tmp-stdint.h <<EOF
25439 /* system headers have an u_int64_t (and int64_t) */
25440 #ifndef _INT64_T
25441 #define _INT64_T
25442 #endif
25443 #ifndef _UINT64_T
25444 #define _UINT64_T
25445 typedef u_int64_t uint64_t;
25446 #endif
25448 elif test -n "$acx_cv_type_int64_t"; then
25449 sed 's/^ *//' >> tmp-stdint.h <<EOF
25451 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25452 #ifndef _INT64_T
25453 #define _INT64_T
25454 typedef $acx_cv_type_int64_t int64_t;
25455 #endif
25456 #ifndef _UINT64_T
25457 #define _UINT64_T
25458 typedef unsigned $acx_cv_type_int64_t uint64_t;
25459 #endif
25461 else
25462 sed 's/^ *//' >> tmp-stdint.h <<EOF
25464 /* some common heuristics for int64_t, using compiler-specific tests */
25465 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25466 #ifndef _INT64_T
25467 #define _INT64_T
25468 typedef long long int64_t;
25469 #endif
25470 #ifndef _UINT64_T
25471 #define _UINT64_T
25472 typedef unsigned long long uint64_t;
25473 #endif
25475 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25476 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25477 does not implement __extension__. But that compiler doesn't define
25478 __GNUC_MINOR__. */
25479 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25480 # define __extension__
25481 # endif
25483 # ifndef _INT64_T
25484 # define _INT64_T
25485 __extension__ typedef long long int64_t;
25486 # endif
25487 # ifndef _UINT64_T
25488 # define _UINT64_T
25489 __extension__ typedef unsigned long long uint64_t;
25490 # endif
25492 #elif !defined __STRICT_ANSI__
25493 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25495 # ifndef _INT64_T
25496 # define _INT64_T
25497 typedef __int64 int64_t;
25498 # endif
25499 # ifndef _UINT64_T
25500 # define _UINT64_T
25501 typedef unsigned __int64 uint64_t;
25502 # endif
25503 # endif /* compiler */
25505 #endif /* ANSI version */
25509 # ------------- done int64_t types, emit intptr types ------------
25510 if test "$ac_cv_type_uintptr_t" != yes; then
25511 sed 's/^ *//' >> tmp-stdint.h <<EOF
25513 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25514 typedef u$acx_cv_type_intptr_t uintptr_t;
25515 typedef $acx_cv_type_intptr_t intptr_t;
25519 # ------------- done intptr types, emit int_least types ------------
25520 if test "$ac_cv_type_int_least32_t" != yes; then
25521 sed 's/^ *//' >> tmp-stdint.h <<EOF
25523 /* Define int_least types */
25524 typedef int8_t int_least8_t;
25525 typedef int16_t int_least16_t;
25526 typedef int32_t int_least32_t;
25527 #ifdef _INT64_T
25528 typedef int64_t int_least64_t;
25529 #endif
25531 typedef uint8_t uint_least8_t;
25532 typedef uint16_t uint_least16_t;
25533 typedef uint32_t uint_least32_t;
25534 #ifdef _UINT64_T
25535 typedef uint64_t uint_least64_t;
25536 #endif
25540 # ------------- done intptr types, emit int_fast types ------------
25541 if test "$ac_cv_type_int_fast32_t" != yes; then
25542 sed 's/^ *//' >> tmp-stdint.h <<EOF
25544 /* Define int_fast types. short is often slow */
25545 typedef int8_t int_fast8_t;
25546 typedef int int_fast16_t;
25547 typedef int32_t int_fast32_t;
25548 #ifdef _INT64_T
25549 typedef int64_t int_fast64_t;
25550 #endif
25552 typedef uint8_t uint_fast8_t;
25553 typedef unsigned int uint_fast16_t;
25554 typedef uint32_t uint_fast32_t;
25555 #ifdef _UINT64_T
25556 typedef uint64_t uint_fast64_t;
25557 #endif
25561 if test "$ac_cv_type_uintmax_t" != yes; then
25562 sed 's/^ *//' >> tmp-stdint.h <<EOF
25564 /* Define intmax based on what we found */
25565 #ifdef _INT64_T
25566 typedef int64_t intmax_t;
25567 #else
25568 typedef long intmax_t;
25569 #endif
25570 #ifdef _UINT64_T
25571 typedef uint64_t uintmax_t;
25572 #else
25573 typedef unsigned long uintmax_t;
25574 #endif
25578 sed 's/^ *//' >> tmp-stdint.h <<EOF
25580 #endif /* GCC_GENERATED_STDINT_H */
25583 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
25584 rm -f tmp-stdint.h
25585 else
25586 mv -f tmp-stdint.h gstdint.h
25590 esac
25591 done
25592 _ACEOF
25594 cat >>$CONFIG_STATUS <<\_ACEOF
25596 { (exit 0); exit 0; }
25597 _ACEOF
25598 chmod +x $CONFIG_STATUS
25599 ac_clean_files=$ac_clean_files_save
25602 # configure is writing to config.log, and then calls config.status.
25603 # config.status does its own redirection, appending to config.log.
25604 # Unfortunately, on DOS this fails, as config.log is still kept open
25605 # by configure, so config.status won't be able to write to it; its
25606 # output is simply discarded. So we exec the FD to /dev/null,
25607 # effectively closing config.log, so it can be properly (re)opened and
25608 # appended to by config.status. When coming back to configure, we
25609 # need to make the FD available again.
25610 if test "$no_create" != yes; then
25611 ac_cs_success=:
25612 ac_config_status_args=
25613 test "$silent" = yes &&
25614 ac_config_status_args="$ac_config_status_args --quiet"
25615 exec 5>/dev/null
25616 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25617 exec 5>>config.log
25618 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25619 # would make configure fail if this is the last instruction.
25620 $ac_cs_success || { (exit 1); exit 1; }