Add BID decimal support
[official-gcc.git] / libgfortran / configure
blobb7119c1c28a52b549ed4446aa5c41d8a047dcd29
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.3.
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.3'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
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.3 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.3:";;
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 --disable-dependency-tracking speeds up one-time build
859 --enable-dependency-tracking do not reject slow dependency extractors
860 --enable-shared=PKGS build shared libraries default=yes
861 --enable-static=PKGS build static libraries default=yes
862 --enable-fast-install=PKGS optimize for fast installation default=yes
863 --disable-libtool-lock avoid locking (might break parallel builds)
864 --disable-largefile omit support for large files
866 Optional Packages:
867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
869 --with-build-libsubdir=DIR Directory where to find libraries for build system
870 --with-gnu-ld assume the C compiler uses GNU ld default=no
871 --with-pic try to use only PIC/non-PIC objects default=use both
873 Some influential environment variables:
874 CC C compiler command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
877 nonstandard directory <lib dir>
878 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
879 headers in a nonstandard directory <include dir>
880 FC Fortran compiler command
881 FCFLAGS Fortran compiler flags
882 CPP C preprocessor
884 Use these variables to override the choices made by `configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
887 _ACEOF
890 if test "$ac_init_help" = "recursive"; then
891 # If there are subdirs, report their specific --help.
892 ac_popdir=`pwd`
893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
894 test -d $ac_dir || continue
895 ac_builddir=.
897 if test "$ac_dir" != .; then
898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
899 # A "../" for each directory in $ac_dir_suffix.
900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
901 else
902 ac_dir_suffix= ac_top_builddir=
905 case $srcdir in
906 .) # No --srcdir option. We are building in place.
907 ac_srcdir=.
908 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=.
910 else
911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
912 fi ;;
913 [\\/]* | ?:[\\/]* ) # Absolute path.
914 ac_srcdir=$srcdir$ac_dir_suffix;
915 ac_top_srcdir=$srcdir ;;
916 *) # Relative path.
917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 esac
921 # Do not use `cd foo && pwd` to compute absolute paths, because
922 # the directories may not exist.
923 case `pwd` in
924 .) ac_abs_builddir="$ac_dir";;
926 case "$ac_dir" in
927 .) ac_abs_builddir=`pwd`;;
928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
929 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 esac;;
931 esac
932 case $ac_abs_builddir in
933 .) ac_abs_top_builddir=${ac_top_builddir}.;;
935 case ${ac_top_builddir}. in
936 .) ac_abs_top_builddir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 esac;;
940 esac
941 case $ac_abs_builddir in
942 .) ac_abs_srcdir=$ac_srcdir;;
944 case $ac_srcdir in
945 .) ac_abs_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 esac;;
949 esac
950 case $ac_abs_builddir in
951 .) ac_abs_top_srcdir=$ac_top_srcdir;;
953 case $ac_top_srcdir in
954 .) ac_abs_top_srcdir=$ac_abs_builddir;;
955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957 esac;;
958 esac
960 cd $ac_dir
961 # Check for guested configure; otherwise get Cygnus style configure.
962 if test -f $ac_srcdir/configure.gnu; then
963 echo
964 $SHELL $ac_srcdir/configure.gnu --help=recursive
965 elif test -f $ac_srcdir/configure; then
966 echo
967 $SHELL $ac_srcdir/configure --help=recursive
968 elif test -f $ac_srcdir/configure.ac ||
969 test -f $ac_srcdir/configure.in; then
970 echo
971 $ac_configure --help
972 else
973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 cd $ac_popdir
976 done
979 test -n "$ac_init_help" && exit 0
980 if $ac_init_version; then
981 cat <<\_ACEOF
982 GNU Fortran Runtime Library configure 0.3
983 generated by GNU Autoconf 2.59
985 Copyright (C) 2003 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
988 _ACEOF
989 exit 0
991 exec 5>config.log
992 cat >&5 <<_ACEOF
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
997 generated by GNU Autoconf 2.59. Invocation command line was
999 $ $0 $@
1001 _ACEOF
1003 cat <<_ASUNAME
1004 ## --------- ##
1005 ## Platform. ##
1006 ## --------- ##
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 _ASUNAME
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 for as_dir in $PATH
1030 IFS=$as_save_IFS
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1033 done
1035 } >&5
1037 cat >&5 <<_ACEOF
1040 ## ----------- ##
1041 ## Core tests. ##
1042 ## ----------- ##
1044 _ACEOF
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_configure_args=
1053 ac_configure_args0=
1054 ac_configure_args1=
1055 ac_sep=
1056 ac_must_keep_next=false
1057 for ac_pass in 1 2
1059 for ac_arg
1061 case $ac_arg in
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 continue ;;
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 esac
1069 case $ac_pass in
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1075 else
1076 case $ac_arg in
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 esac
1085 -* ) ac_must_keep_next=true ;;
1086 esac
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1090 ac_sep=" "
1092 esac
1093 done
1094 done
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104 # Save into config.log some information that might help in debugging.
1106 echo
1108 cat <<\_ASBOX
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1112 _ASBOX
1113 echo
1114 # The following way of writing the cache mishandles newlines in values,
1116 (set) 2>&1 |
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 *ac_space=\ *)
1119 sed -n \
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 sed -n \
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 esac;
1129 echo
1131 cat <<\_ASBOX
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1135 _ASBOX
1136 echo
1137 for ac_var in $ac_subst_vars
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1141 done | sort
1142 echo
1144 if test -n "$ac_subst_files"; then
1145 cat <<\_ASBOX
1146 ## ------------- ##
1147 ## Output files. ##
1148 ## ------------- ##
1149 _ASBOX
1150 echo
1151 for ac_var in $ac_subst_files
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1155 done | sort
1156 echo
1159 if test -s confdefs.h; then
1160 cat <<\_ASBOX
1161 ## ----------- ##
1162 ## confdefs.h. ##
1163 ## ----------- ##
1164 _ASBOX
1165 echo
1166 sed "/^$/d" confdefs.h | sort
1167 echo
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1172 } >&5
1173 rm -f core *.core &&
1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 exit $exit_status
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 done
1180 ac_signal=0
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 echo >confdefs.h
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 _ACEOF
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 _ACEOF
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 _ACEOF
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 _ACEOF
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 _ACEOF
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 else
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's/^/| /' "$ac_site_file" >&5
1228 . "$ac_site_file"
1230 done
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1238 case $cache_file in
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1241 esac
1243 else
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1246 >$cache_file
1249 # Check that the precious variables saved in the cache have kept the same
1250 # value.
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1259 set,)
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1263 ,set)
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1267 ,);;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1277 fi;;
1278 esac
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1281 case $ac_new_val in
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1285 esac
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 esac
1291 done
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1300 ac_ext=c
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1332 ac_config_headers="$ac_config_headers config.h"
1334 ac_aux_dir=
1335 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1336 if test -f $ac_dir/install-sh; then
1337 ac_aux_dir=$ac_dir
1338 ac_install_sh="$ac_aux_dir/install-sh -c"
1339 break
1340 elif test -f $ac_dir/install.sh; then
1341 ac_aux_dir=$ac_dir
1342 ac_install_sh="$ac_aux_dir/install.sh -c"
1343 break
1344 elif test -f $ac_dir/shtool; then
1345 ac_aux_dir=$ac_dir
1346 ac_install_sh="$ac_aux_dir/shtool install -c"
1347 break
1349 done
1350 if test -z "$ac_aux_dir"; then
1351 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1352 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1353 { (exit 1); exit 1; }; }
1355 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1356 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1357 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1359 # Make sure we can run config.sub.
1360 $ac_config_sub sun4 >/dev/null 2>&1 ||
1361 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1362 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1363 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: checking build system type" >&5
1366 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1367 if test "${ac_cv_build+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1369 else
1370 ac_cv_build_alias=$build_alias
1371 test -z "$ac_cv_build_alias" &&
1372 ac_cv_build_alias=`$ac_config_guess`
1373 test -z "$ac_cv_build_alias" &&
1374 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1375 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1376 { (exit 1); exit 1; }; }
1377 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1378 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1379 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1380 { (exit 1); exit 1; }; }
1383 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1384 echo "${ECHO_T}$ac_cv_build" >&6
1385 build=$ac_cv_build
1386 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1387 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1388 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1391 case ${build_alias} in
1392 "") build_noncanonical=${build} ;;
1393 *) build_noncanonical=${build_alias} ;;
1394 esac
1396 case ${host_alias} in
1397 "") host_noncanonical=${build_noncanonical} ;;
1398 *) host_noncanonical=${host_alias} ;;
1399 esac
1401 case ${target_alias} in
1402 "") target_noncanonical=${host_noncanonical} ;;
1403 *) target_noncanonical=${target_alias} ;;
1404 esac
1407 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1408 # have matching libraries, they should use host libraries: Makefile.tpl
1409 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1410 # However, they still use the build modules, because the corresponding
1411 # host modules (e.g. bison) are only built for the host when bootstrap
1412 # finishes. So:
1413 # - build_subdir is where we find build modules, and never changes.
1414 # - build_libsubdir is where we find build libraries, and can be overridden.
1416 # Prefix 'build-' so this never conflicts with target_subdir.
1417 build_subdir="build-${build_noncanonical}"
1419 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1420 if test "${with_build_libsubdir+set}" = set; then
1421 withval="$with_build_libsubdir"
1422 build_libsubdir="$withval"
1423 else
1424 build_libsubdir="$build_subdir"
1426 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1427 if ( test $srcdir = . && test -d gcc ) \
1428 || test -d $srcdir/../host-${host_noncanonical}; then
1429 host_subdir="host-${host_noncanonical}"
1430 else
1431 host_subdir=.
1433 # No prefix.
1434 target_subdir=${target_noncanonical}
1437 # -------
1438 # Options
1439 # -------
1441 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1442 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1443 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1444 if test "${enable_version_specific_runtime_libs+set}" = set; then
1445 enableval="$enable_version_specific_runtime_libs"
1446 case "$enableval" in
1447 yes) version_specific_libs=yes ;;
1448 no) version_specific_libs=no ;;
1449 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1450 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1451 { (exit 1); exit 1; }; };;
1452 esac
1453 else
1454 version_specific_libs=no
1456 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1457 echo "${ECHO_T}$version_specific_libs" >&6
1460 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1462 # You will slowly go insane if you do not grok the following fact: when
1463 # building this library, the top-level /target/ becomes the library's /host/.
1465 # configure then causes --target to default to --host, exactly like any
1466 # other package using autoconf. Therefore, 'target' and 'host' will
1467 # always be the same. This makes sense both for native and cross compilers
1468 # just think about it for a little while. :-)
1470 # Also, if this library is being configured as part of a cross compiler, the
1471 # top-level configure script will pass the "real" host as $with_cross_host.
1473 # Do not delete or change the following two lines. For why, see
1474 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1475 echo "$as_me:$LINENO: checking host system type" >&5
1476 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1477 if test "${ac_cv_host+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 else
1480 ac_cv_host_alias=$host_alias
1481 test -z "$ac_cv_host_alias" &&
1482 ac_cv_host_alias=$ac_cv_build_alias
1483 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1484 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1485 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1486 { (exit 1); exit 1; }; }
1489 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1490 echo "${ECHO_T}$ac_cv_host" >&6
1491 host=$ac_cv_host
1492 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1493 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1494 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1497 echo "$as_me:$LINENO: checking target system type" >&5
1498 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1499 if test "${ac_cv_target+set}" = set; then
1500 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 else
1502 ac_cv_target_alias=$target_alias
1503 test "x$ac_cv_target_alias" = "x" &&
1504 ac_cv_target_alias=$ac_cv_host_alias
1505 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1506 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1507 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1508 { (exit 1); exit 1; }; }
1511 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1512 echo "${ECHO_T}$ac_cv_target" >&6
1513 target=$ac_cv_target
1514 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1515 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1516 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1519 # The aliases save the names the user supplied, while $host etc.
1520 # will get canonicalized.
1521 test -n "$target_alias" &&
1522 test "$program_prefix$program_suffix$program_transform_name" = \
1523 NONENONEs,x,x, &&
1524 program_prefix=${target_alias}-
1525 target_alias=${target_alias-$host_alias}
1527 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1528 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1529 # 1.9.6: minimum required version
1530 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1531 # of other PACKAGE_* variables will, however, and there's nothing
1532 # we can do about that; they come from AC_INIT).
1533 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1534 # file in the top srcdir, etc, etc), so stop complaining.
1535 # -Wall: turns on all automake warnings...
1536 # -Wno-portability: ...except this one, since GNU make is required.
1537 am__api_version="1.9"
1538 # Find a good install program. We prefer a C program (faster),
1539 # so one script is as good as another. But avoid the broken or
1540 # incompatible versions:
1541 # SysV /etc/install, /usr/sbin/install
1542 # SunOS /usr/etc/install
1543 # IRIX /sbin/install
1544 # AIX /bin/install
1545 # AmigaOS /C/install, which installs bootblocks on floppy discs
1546 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1549 # OS/2's system install, which has a completely different semantic
1550 # ./install, which can be erroneously created by make from ./install.sh.
1551 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1552 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1553 if test -z "$INSTALL"; then
1554 if test "${ac_cv_path_install+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 else
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 for as_dir in $PATH
1560 IFS=$as_save_IFS
1561 test -z "$as_dir" && as_dir=.
1562 # Account for people who put trailing slashes in PATH elements.
1563 case $as_dir/ in
1564 ./ | .// | /cC/* | \
1565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1566 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1567 /usr/ucb/* ) ;;
1569 # OSF1 and SCO ODT 3.0 have their own names for install.
1570 # Don't use installbsd from OSF since it installs stuff as root
1571 # by default.
1572 for ac_prog in ginstall scoinst install; do
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1575 if test $ac_prog = install &&
1576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1577 # AIX install. It has an incompatible calling convention.
1579 elif test $ac_prog = install &&
1580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1581 # program-specific install script used by HP pwplus--don't use.
1583 else
1584 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1585 break 3
1588 done
1589 done
1591 esac
1592 done
1596 if test "${ac_cv_path_install+set}" = set; then
1597 INSTALL=$ac_cv_path_install
1598 else
1599 # As a last resort, use the slow shell script. We don't cache a
1600 # path for INSTALL within a source directory, because that will
1601 # break other packages using the cache if that directory is
1602 # removed, or if the path is relative.
1603 INSTALL=$ac_install_sh
1606 echo "$as_me:$LINENO: result: $INSTALL" >&5
1607 echo "${ECHO_T}$INSTALL" >&6
1609 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1610 # It thinks the first close brace ends the variable substitution.
1611 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1613 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1615 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1617 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1618 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1619 # Just in case
1620 sleep 1
1621 echo timestamp > conftest.file
1622 # Do `set' in a subshell so we don't clobber the current shell's
1623 # arguments. Must try -L first in case configure is actually a
1624 # symlink; some systems play weird games with the mod time of symlinks
1625 # (eg FreeBSD returns the mod time of the symlink's containing
1626 # directory).
1627 if (
1628 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1629 if test "$*" = "X"; then
1630 # -L didn't work.
1631 set X `ls -t $srcdir/configure conftest.file`
1633 rm -f conftest.file
1634 if test "$*" != "X $srcdir/configure conftest.file" \
1635 && test "$*" != "X conftest.file $srcdir/configure"; then
1637 # If neither matched, then we have a broken ls. This can happen
1638 # if, for instance, CONFIG_SHELL is bash and it inherits a
1639 # broken ls alias from the environment. This has actually
1640 # happened. Such a system could not be considered "sane".
1641 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1642 alias in your environment" >&5
1643 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1644 alias in your environment" >&2;}
1645 { (exit 1); exit 1; }; }
1648 test "$2" = conftest.file
1650 then
1651 # Ok.
1653 else
1654 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1655 Check your system clock" >&5
1656 echo "$as_me: error: newly created file is older than distributed files!
1657 Check your system clock" >&2;}
1658 { (exit 1); exit 1; }; }
1660 echo "$as_me:$LINENO: result: yes" >&5
1661 echo "${ECHO_T}yes" >&6
1662 test "$program_prefix" != NONE &&
1663 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1664 # Use a double $ so make ignores it.
1665 test "$program_suffix" != NONE &&
1666 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1667 # Double any \ or $. echo might interpret backslashes.
1668 # By default was `s,x,x', remove it if useless.
1669 cat <<\_ACEOF >conftest.sed
1670 s/[\\$]/&&/g;s/;s,x,x,$//
1671 _ACEOF
1672 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1673 rm conftest.sed
1675 # expand $ac_aux_dir to an absolute path
1676 am_aux_dir=`cd $ac_aux_dir && pwd`
1678 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1679 # Use eval to expand $SHELL
1680 if eval "$MISSING --run true"; then
1681 am_missing_run="$MISSING --run "
1682 else
1683 am_missing_run=
1684 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1685 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1688 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1689 # We used to keeping the `.' as first argument, in order to
1690 # allow $(mkdir_p) to be used without argument. As in
1691 # $(mkdir_p) $(somedir)
1692 # where $(somedir) is conditionally defined. However this is wrong
1693 # for two reasons:
1694 # 1. if the package is installed by a user who cannot write `.'
1695 # make install will fail,
1696 # 2. the above comment should most certainly read
1697 # $(mkdir_p) $(DESTDIR)$(somedir)
1698 # so it does not work when $(somedir) is undefined and
1699 # $(DESTDIR) is not.
1700 # To support the latter case, we have to write
1701 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1702 # so the `.' trick is pointless.
1703 mkdir_p='mkdir -p --'
1704 else
1705 # On NextStep and OpenStep, the `mkdir' command does not
1706 # recognize any option. It will interpret all options as
1707 # directories to create, and then abort because `.' already
1708 # exists.
1709 for d in ./-p ./--version;
1711 test -d $d && rmdir $d
1712 done
1713 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1714 if test -f "$ac_aux_dir/mkinstalldirs"; then
1715 mkdir_p='$(mkinstalldirs)'
1716 else
1717 mkdir_p='$(install_sh) -d'
1721 for ac_prog in gawk mawk nawk awk
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy $ac_prog; ac_word=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_AWK+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 else
1730 if test -n "$AWK"; then
1731 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1732 else
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734 for as_dir in $PATH
1736 IFS=$as_save_IFS
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_AWK="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 break 2
1744 done
1745 done
1749 AWK=$ac_cv_prog_AWK
1750 if test -n "$AWK"; then
1751 echo "$as_me:$LINENO: result: $AWK" >&5
1752 echo "${ECHO_T}$AWK" >&6
1753 else
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$AWK" && break
1759 done
1761 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1763 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1764 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 else
1767 cat >conftest.make <<\_ACEOF
1768 all:
1769 @echo 'ac_maketemp="$(MAKE)"'
1770 _ACEOF
1771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1772 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1773 if test -n "$ac_maketemp"; then
1774 eval ac_cv_prog_make_${ac_make}_set=yes
1775 else
1776 eval ac_cv_prog_make_${ac_make}_set=no
1778 rm -f conftest.make
1780 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1781 echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6
1783 SET_MAKE=
1784 else
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1787 SET_MAKE="MAKE=${MAKE-make}"
1790 rm -rf .tst 2>/dev/null
1791 mkdir .tst 2>/dev/null
1792 if test -d .tst; then
1793 am__leading_dot=.
1794 else
1795 am__leading_dot=_
1797 rmdir .tst 2>/dev/null
1799 # test to see if srcdir already configured
1800 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1801 test -f $srcdir/config.status; then
1802 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1803 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1804 { (exit 1); exit 1; }; }
1807 # test whether we have cygpath
1808 if test -z "$CYGPATH_W"; then
1809 if (cygpath --version) >/dev/null 2>/dev/null; then
1810 CYGPATH_W='cygpath -w'
1811 else
1812 CYGPATH_W=echo
1817 # Define the identity of the package.
1818 PACKAGE='libgfortran'
1819 VERSION='0.3'
1822 # Some tools Automake needs.
1824 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1827 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1830 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1833 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1836 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1838 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'. However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy ${ac_tool_prefix}strip; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 else
1853 if test -n "$STRIP"; then
1854 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1855 else
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 for as_dir in $PATH
1859 IFS=$as_save_IFS
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 break 2
1867 done
1868 done
1872 STRIP=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874 echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1876 else
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1882 if test -z "$ac_cv_prog_STRIP"; then
1883 ac_ct_STRIP=$STRIP
1884 # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy strip; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891 if test -n "$ac_ct_STRIP"; then
1892 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1893 else
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH
1897 IFS=$as_save_IFS
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_STRIP="strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 break 2
1905 done
1906 done
1908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1911 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1915 else
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1920 STRIP=$ac_ct_STRIP
1921 else
1922 STRIP="$ac_cv_prog_STRIP"
1926 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1928 # We need awk for the "check" target. The system "awk" is bad on
1929 # some platforms.
1930 # Always define AMTAR for backward compatibility.
1932 AMTAR=${AMTAR-"${am_missing_run}tar"}
1934 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1941 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1942 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1943 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1944 if test "${enable_maintainer_mode+set}" = set; then
1945 enableval="$enable_maintainer_mode"
1946 USE_MAINTAINER_MODE=$enableval
1947 else
1948 USE_MAINTAINER_MODE=no
1950 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1951 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1954 if test $USE_MAINTAINER_MODE = yes; then
1955 MAINTAINER_MODE_TRUE=
1956 MAINTAINER_MODE_FALSE='#'
1957 else
1958 MAINTAINER_MODE_TRUE='#'
1959 MAINTAINER_MODE_FALSE=
1962 MAINT=$MAINTAINER_MODE_TRUE
1965 # Default to --enable-multilib
1966 # Check whether --enable-multilib or --disable-multilib was given.
1967 if test "${enable_multilib+set}" = set; then
1968 enableval="$enable_multilib"
1969 case "$enableval" in
1970 yes) multilib=yes ;;
1971 no) multilib=no ;;
1972 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1973 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1974 { (exit 1); exit 1; }; } ;;
1975 esac
1976 else
1977 multilib=yes
1980 # We may get other options which we leave undocumented:
1981 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1982 # See config-ml.in if you want the gory details.
1984 if test "$srcdir" = "."; then
1985 if test "$with_target_subdir" != "."; then
1986 multi_basedir="$srcdir/$with_multisrctop../.."
1987 else
1988 multi_basedir="$srcdir/$with_multisrctop.."
1990 else
1991 multi_basedir="$srcdir/.."
1995 # Even if the default multilib is not a cross compilation,
1996 # it may be that some of the other multilibs are.
1997 if test $cross_compiling = no && test $multilib = yes \
1998 && test "x${with_multisubdir}" != x ; then
1999 cross_compiling=maybe
2002 ac_config_commands="$ac_config_commands default-1"
2005 # Handy for debugging:
2006 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2008 # Are we being configured with some form of cross compiler?
2009 # NB: We don't actually need to know this just now, but when, say, a test
2010 # suite is included, we'll have to know.
2011 if test "$build" != "$host"; then
2012 LIBGFOR_IS_NATIVE=false
2014 else
2015 LIBGFOR_IS_NATIVE=true
2018 # Calculate toolexeclibdir
2019 # Also toolexecdir, though it's only used in toolexeclibdir
2020 case ${version_specific_libs} in
2021 yes)
2022 # Need the gcc compiler version to know where to install libraries
2023 # and header files if --enable-version-specific-runtime-libs option
2024 # is selected.
2025 toolexecdir='$(libdir)/gcc/$(target_alias)'
2026 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2029 if test -n "$with_cross_host" &&
2030 test x"$with_cross_host" != x"no"; then
2031 # Install a library built with a cross compiler in tooldir, not libdir.
2032 toolexecdir='$(exec_prefix)/$(target_alias)'
2033 toolexeclibdir='$(toolexecdir)/lib'
2034 else
2035 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2036 toolexeclibdir='$(libdir)'
2038 multi_os_directory=`$CC -print-multi-os-directory`
2039 case $multi_os_directory in
2040 .) ;; # Avoid trailing /.
2041 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2042 esac
2044 esac
2048 # Check the compiler.
2049 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2050 # We must force CC to /not/ be precious variables; otherwise
2051 # the wrong, non-multilib-adjusted value will be used in multilibs.
2052 # As a side effect, we have to subst CFLAGS ourselves.
2056 ac_ext=c
2057 ac_cpp='$CPP $CPPFLAGS'
2058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2061 if test -n "$ac_tool_prefix"; then
2062 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2063 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2064 echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066 if test "${ac_cv_prog_CC+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 else
2069 if test -n "$CC"; then
2070 ac_cv_prog_CC="$CC" # Let the user override the test.
2071 else
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 for as_dir in $PATH
2075 IFS=$as_save_IFS
2076 test -z "$as_dir" && as_dir=.
2077 for ac_exec_ext in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 break 2
2083 done
2084 done
2088 CC=$ac_cv_prog_CC
2089 if test -n "$CC"; then
2090 echo "$as_me:$LINENO: result: $CC" >&5
2091 echo "${ECHO_T}$CC" >&6
2092 else
2093 echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6
2098 if test -z "$ac_cv_prog_CC"; then
2099 ac_ct_CC=$CC
2100 # Extract the first word of "gcc", so it can be a program name with args.
2101 set dummy gcc; ac_word=$2
2102 echo "$as_me:$LINENO: checking for $ac_word" >&5
2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2106 else
2107 if test -n "$ac_ct_CC"; then
2108 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2109 else
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 for as_dir in $PATH
2113 IFS=$as_save_IFS
2114 test -z "$as_dir" && as_dir=.
2115 for ac_exec_ext in '' $ac_executable_extensions; do
2116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2117 ac_cv_prog_ac_ct_CC="gcc"
2118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 break 2
2121 done
2122 done
2126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2127 if test -n "$ac_ct_CC"; then
2128 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2129 echo "${ECHO_T}$ac_ct_CC" >&6
2130 else
2131 echo "$as_me:$LINENO: result: no" >&5
2132 echo "${ECHO_T}no" >&6
2135 CC=$ac_ct_CC
2136 else
2137 CC="$ac_cv_prog_CC"
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2168 CC=$ac_cv_prog_CC
2169 if test -n "$CC"; then
2170 echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6
2172 else
2173 echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6
2178 if test -z "$ac_cv_prog_CC"; then
2179 ac_ct_CC=$CC
2180 # Extract the first word of "cc", so it can be a program name with args.
2181 set dummy cc; ac_word=$2
2182 echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2184 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 else
2187 if test -n "$ac_ct_CC"; then
2188 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2189 else
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 for as_dir in $PATH
2193 IFS=$as_save_IFS
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2197 ac_cv_prog_ac_ct_CC="cc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 break 2
2201 done
2202 done
2206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2207 if test -n "$ac_ct_CC"; then
2208 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2209 echo "${ECHO_T}$ac_ct_CC" >&6
2210 else
2211 echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6
2215 CC=$ac_ct_CC
2216 else
2217 CC="$ac_cv_prog_CC"
2221 if test -z "$CC"; then
2222 # Extract the first word of "cc", so it can be a program name with args.
2223 set dummy cc; ac_word=$2
2224 echo "$as_me:$LINENO: checking for $ac_word" >&5
2225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2226 if test "${ac_cv_prog_CC+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 else
2229 if test -n "$CC"; then
2230 ac_cv_prog_CC="$CC" # Let the user override the test.
2231 else
2232 ac_prog_rejected=no
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH
2236 IFS=$as_save_IFS
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2241 ac_prog_rejected=yes
2242 continue
2244 ac_cv_prog_CC="cc"
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246 break 2
2248 done
2249 done
2251 if test $ac_prog_rejected = yes; then
2252 # We found a bogon in the path, so make sure we never use it.
2253 set dummy $ac_cv_prog_CC
2254 shift
2255 if test $# != 0; then
2256 # We chose a different compiler from the bogus one.
2257 # However, it has the same basename, so the bogon will be chosen
2258 # first if we set CC to just the basename; use the full file name.
2259 shift
2260 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2265 CC=$ac_cv_prog_CC
2266 if test -n "$CC"; then
2267 echo "$as_me:$LINENO: result: $CC" >&5
2268 echo "${ECHO_T}$CC" >&6
2269 else
2270 echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6
2275 if test -z "$CC"; then
2276 if test -n "$ac_tool_prefix"; then
2277 for ac_prog in cl
2279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2281 echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 else
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2288 else
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 for as_dir in $PATH
2292 IFS=$as_save_IFS
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2296 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 break 2
2300 done
2301 done
2305 CC=$ac_cv_prog_CC
2306 if test -n "$CC"; then
2307 echo "$as_me:$LINENO: result: $CC" >&5
2308 echo "${ECHO_T}$CC" >&6
2309 else
2310 echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6
2314 test -n "$CC" && break
2315 done
2317 if test -z "$CC"; then
2318 ac_ct_CC=$CC
2319 for ac_prog in cl
2321 # Extract the first word of "$ac_prog", so it can be a program name with args.
2322 set dummy $ac_prog; ac_word=$2
2323 echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 else
2328 if test -n "$ac_ct_CC"; then
2329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2330 else
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 for as_dir in $PATH
2334 IFS=$as_save_IFS
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_ac_ct_CC="$ac_prog"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 break 2
2342 done
2343 done
2347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2348 if test -n "$ac_ct_CC"; then
2349 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2350 echo "${ECHO_T}$ac_ct_CC" >&6
2351 else
2352 echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2356 test -n "$ac_ct_CC" && break
2357 done
2359 CC=$ac_ct_CC
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO:" \
2373 "checking for C compiler version" >&5
2374 ac_compiler=`set X $ac_compile; echo $2`
2375 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2376 (eval $ac_compiler --version </dev/null >&5) 2>&5
2377 ac_status=$?
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }
2380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2381 (eval $ac_compiler -v </dev/null >&5) 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2386 (eval $ac_compiler -V </dev/null >&5) 2>&5
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }
2391 cat >conftest.$ac_ext <<_ACEOF
2392 /* confdefs.h. */
2393 _ACEOF
2394 cat confdefs.h >>conftest.$ac_ext
2395 cat >>conftest.$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2399 main ()
2403 return 0;
2405 _ACEOF
2406 # FIXME: Cleanup?
2407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2408 (eval $ac_link) 2>&5
2409 ac_status=$?
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; then
2412 gcc_no_link=no
2413 else
2414 gcc_no_link=yes
2417 if test x$gcc_no_link = xyes; then
2418 # Setting cross_compile will disable run tests; it will
2419 # also disable AC_CHECK_FILE but that's generally
2420 # correct if we can't link.
2421 cross_compiling=yes
2422 EXEEXT=
2423 else
2424 cat >conftest.$ac_ext <<_ACEOF
2425 /* confdefs.h. */
2426 _ACEOF
2427 cat confdefs.h >>conftest.$ac_ext
2428 cat >>conftest.$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2432 main ()
2436 return 0;
2438 _ACEOF
2439 ac_clean_files_save=$ac_clean_files
2440 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2441 # Try to create an executable without -o first, disregard a.out.
2442 # It will help us diagnose broken compilers, and finding out an intuition
2443 # of exeext.
2444 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2445 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2446 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2447 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2448 (eval $ac_link_default) 2>&5
2449 ac_status=$?
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; then
2452 # Find the output, starting from the most likely. This scheme is
2453 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2454 # resort.
2456 # Be careful to initialize this variable, since it used to be cached.
2457 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2458 ac_cv_exeext=
2459 # b.out is created by i960 compilers.
2460 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2462 test -f "$ac_file" || continue
2463 case $ac_file in
2464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2466 conftest.$ac_ext )
2467 # This is the source file.
2469 [ab].out )
2470 # We found the default executable, but exeext='' is most
2471 # certainly right.
2472 break;;
2473 *.* )
2474 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 # FIXME: I believe we export ac_cv_exeext for Libtool,
2476 # but it would be cool to find out if it's true. Does anybody
2477 # maintain Libtool? --akim.
2478 export ac_cv_exeext
2479 break;;
2481 break;;
2482 esac
2483 done
2484 else
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2488 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2489 See \`config.log' for more details." >&5
2490 echo "$as_me: error: C compiler cannot create executables
2491 See \`config.log' for more details." >&2;}
2492 { (exit 77); exit 77; }; }
2495 ac_exeext=$ac_cv_exeext
2496 echo "$as_me:$LINENO: result: $ac_file" >&5
2497 echo "${ECHO_T}$ac_file" >&6
2499 # Check the compiler produces executables we can run. If not, either
2500 # the compiler is broken, or we cross compile.
2501 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2502 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2503 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2504 # If not cross compiling, check that we can run a simple program.
2505 if test "$cross_compiling" != yes; then
2506 if { ac_try='./$ac_file'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 (eval $ac_try) 2>&5
2509 ac_status=$?
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; }; then
2512 cross_compiling=no
2513 else
2514 if test "$cross_compiling" = maybe; then
2515 cross_compiling=yes
2516 else
2517 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2518 If you meant to cross compile, use \`--host'.
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: cannot run C compiled programs.
2521 If you meant to cross compile, use \`--host'.
2522 See \`config.log' for more details." >&2;}
2523 { (exit 1); exit 1; }; }
2527 echo "$as_me:$LINENO: result: yes" >&5
2528 echo "${ECHO_T}yes" >&6
2530 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2531 ac_clean_files=$ac_clean_files_save
2532 # Check the compiler produces executables we can run. If not, either
2533 # the compiler is broken, or we cross compile.
2534 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2535 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2536 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2537 echo "${ECHO_T}$cross_compiling" >&6
2539 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2540 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2542 (eval $ac_link) 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2548 # work properly (i.e., refer to `conftest.exe'), while it won't with
2549 # `rm'.
2550 for ac_file in conftest.exe conftest conftest.*; do
2551 test -f "$ac_file" || continue
2552 case $ac_file in
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2555 export ac_cv_exeext
2556 break;;
2557 * ) break;;
2558 esac
2559 done
2560 else
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&5
2563 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2564 See \`config.log' for more details." >&2;}
2565 { (exit 1); exit 1; }; }
2568 rm -f conftest$ac_cv_exeext
2569 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2570 echo "${ECHO_T}$ac_cv_exeext" >&6
2572 rm -f conftest.$ac_ext
2573 EXEEXT=$ac_cv_exeext
2574 ac_exeext=$EXEEXT
2576 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2577 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2578 if test "${ac_cv_objext+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 else
2581 cat >conftest.$ac_ext <<_ACEOF
2582 /* confdefs.h. */
2583 _ACEOF
2584 cat confdefs.h >>conftest.$ac_ext
2585 cat >>conftest.$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2589 main ()
2593 return 0;
2595 _ACEOF
2596 rm -f conftest.o conftest.obj
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2603 case $ac_file in
2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2606 break;;
2607 esac
2608 done
2609 else
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2613 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2614 See \`config.log' for more details." >&5
2615 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }
2620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2622 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2623 echo "${ECHO_T}$ac_cv_objext" >&6
2624 OBJEXT=$ac_cv_objext
2625 ac_objext=$OBJEXT
2626 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2627 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2628 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 else
2631 cat >conftest.$ac_ext <<_ACEOF
2632 /* confdefs.h. */
2633 _ACEOF
2634 cat confdefs.h >>conftest.$ac_ext
2635 cat >>conftest.$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2639 main ()
2641 #ifndef __GNUC__
2642 choke me
2643 #endif
2646 return 0;
2648 _ACEOF
2649 rm -f conftest.$ac_objext
2650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2651 (eval $ac_compile) 2>conftest.er1
2652 ac_status=$?
2653 grep -v '^ *+' conftest.er1 >conftest.err
2654 rm -f conftest.er1
2655 cat conftest.err >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } &&
2658 { ac_try='test -z "$ac_c_werror_flag"
2659 || test ! -s conftest.err'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 (eval $ac_try) 2>&5
2662 ac_status=$?
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; } &&
2665 { ac_try='test -s conftest.$ac_objext'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 (eval $ac_try) 2>&5
2668 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 ac_compiler_gnu=yes
2672 else
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_compiler_gnu=no
2678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 CFLAGS="-g"
2688 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 else
2693 cat >conftest.$ac_ext <<_ACEOF
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 rm -f conftest.$ac_objext
2709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710 (eval $ac_compile) 2>conftest.er1
2711 ac_status=$?
2712 grep -v '^ *+' conftest.er1 >conftest.err
2713 rm -f conftest.er1
2714 cat conftest.err >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } &&
2717 { ac_try='test -z "$ac_c_werror_flag"
2718 || test ! -s conftest.err'
2719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 (eval $ac_try) 2>&5
2721 ac_status=$?
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; } &&
2724 { ac_try='test -s conftest.$ac_objext'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 (eval $ac_try) 2>&5
2727 ac_status=$?
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; }; then
2730 ac_cv_prog_cc_g=yes
2731 else
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2735 ac_cv_prog_cc_g=no
2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2739 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2740 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2741 if test "$ac_test_CFLAGS" = set; then
2742 CFLAGS=$ac_save_CFLAGS
2743 elif test $ac_cv_prog_cc_g = yes; then
2744 if test "$GCC" = yes; then
2745 CFLAGS="-g -O2"
2746 else
2747 CFLAGS="-g"
2749 else
2750 if test "$GCC" = yes; then
2751 CFLAGS="-O2"
2752 else
2753 CFLAGS=
2756 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2757 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2758 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 else
2761 ac_cv_prog_cc_stdc=no
2762 ac_save_CC=$CC
2763 cat >conftest.$ac_ext <<_ACEOF
2764 /* confdefs.h. */
2765 _ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2769 #include <stdarg.h>
2770 #include <stdio.h>
2771 #include <sys/types.h>
2772 #include <sys/stat.h>
2773 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2774 struct buf { int x; };
2775 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2776 static char *e (p, i)
2777 char **p;
2778 int i;
2780 return p[i];
2782 static char *f (char * (*g) (char **, int), char **p, ...)
2784 char *s;
2785 va_list v;
2786 va_start (v,p);
2787 s = g (p, va_arg (v,int));
2788 va_end (v);
2789 return s;
2792 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2793 function prototypes and stuff, but not '\xHH' hex character constants.
2794 These don't provoke an error unfortunately, instead are silently treated
2795 as 'x'. The following induces an error, until -std1 is added to get
2796 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2797 array size at least. It's necessary to write '\x00'==0 to get something
2798 that's true only with -std1. */
2799 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2801 int test (int i, double x);
2802 struct s1 {int (*f) (int a);};
2803 struct s2 {int (*f) (double a);};
2804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2805 int argc;
2806 char **argv;
2808 main ()
2810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2812 return 0;
2814 _ACEOF
2815 # Don't try gcc -ansi; that turns off useful extensions and
2816 # breaks some systems' header files.
2817 # AIX -qlanglvl=ansi
2818 # Ultrix and OSF/1 -std1
2819 # HP-UX 10.20 and later -Ae
2820 # HP-UX older versions -Aa -D_HPUX_SOURCE
2821 # SVR4 -Xc -D__EXTENSIONS__
2822 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2824 CC="$ac_save_CC $ac_arg"
2825 rm -f conftest.$ac_objext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>conftest.er1
2828 ac_status=$?
2829 grep -v '^ *+' conftest.er1 >conftest.err
2830 rm -f conftest.er1
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -z "$ac_c_werror_flag"
2835 || test ! -s conftest.err'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 (eval $ac_try) 2>&5
2838 ac_status=$?
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 (eval $ac_try) 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2847 ac_cv_prog_cc_stdc=$ac_arg
2848 break
2849 else
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2854 rm -f conftest.err conftest.$ac_objext
2855 done
2856 rm -f conftest.$ac_ext conftest.$ac_objext
2857 CC=$ac_save_CC
2861 case "x$ac_cv_prog_cc_stdc" in
2862 x|xno)
2863 echo "$as_me:$LINENO: result: none needed" >&5
2864 echo "${ECHO_T}none needed" >&6 ;;
2866 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2867 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2868 CC="$CC $ac_cv_prog_cc_stdc" ;;
2869 esac
2871 # Some people use a C++ compiler to compile C. Since we use `exit',
2872 # in C++ we need to declare it. In case someone uses the same compiler
2873 # for both compiling C and C++ we need to have the C++ compiler decide
2874 # the declaration of exit, since it's the most demanding environment.
2875 cat >conftest.$ac_ext <<_ACEOF
2876 #ifndef __cplusplus
2877 choke me
2878 #endif
2879 _ACEOF
2880 rm -f conftest.$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 (eval $ac_try) 2>&5
2893 ac_status=$?
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 (eval $ac_try) 2>&5
2899 ac_status=$?
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 for ac_declaration in \
2903 '' \
2904 'extern "C" void std::exit (int) throw (); using std::exit;' \
2905 'extern "C" void std::exit (int); using std::exit;' \
2906 'extern "C" void exit (int) throw ();' \
2907 'extern "C" void exit (int);' \
2908 'void exit (int);'
2910 cat >conftest.$ac_ext <<_ACEOF
2911 /* confdefs.h. */
2912 _ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2916 $ac_declaration
2917 #include <stdlib.h>
2919 main ()
2921 exit (42);
2923 return 0;
2925 _ACEOF
2926 rm -f conftest.$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>conftest.er1
2929 ac_status=$?
2930 grep -v '^ *+' conftest.er1 >conftest.err
2931 rm -f conftest.er1
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try='test -z "$ac_c_werror_flag"
2936 || test ! -s conftest.err'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 (eval $ac_try) 2>&5
2939 ac_status=$?
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 (eval $ac_try) 2>&5
2945 ac_status=$?
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2949 else
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2953 continue
2955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 cat >conftest.$ac_ext <<_ACEOF
2957 /* confdefs.h. */
2958 _ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2962 $ac_declaration
2964 main ()
2966 exit (42);
2968 return 0;
2970 _ACEOF
2971 rm -f conftest.$ac_objext
2972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973 (eval $ac_compile) 2>conftest.er1
2974 ac_status=$?
2975 grep -v '^ *+' conftest.er1 >conftest.err
2976 rm -f conftest.er1
2977 cat conftest.err >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } &&
2980 { ac_try='test -z "$ac_c_werror_flag"
2981 || test ! -s conftest.err'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983 (eval $ac_try) 2>&5
2984 ac_status=$?
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; } &&
2987 { ac_try='test -s conftest.$ac_objext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 (eval $ac_try) 2>&5
2990 ac_status=$?
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2993 break
2994 else
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3000 done
3001 rm -f conftest*
3002 if test -n "$ac_declaration"; then
3003 echo '#ifdef __cplusplus' >>confdefs.h
3004 echo $ac_declaration >>confdefs.h
3005 echo '#endif' >>confdefs.h
3008 else
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3014 ac_ext=c
3015 ac_cpp='$CPP $CPPFLAGS'
3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 DEPDIR="${am__leading_dot}deps"
3021 ac_config_commands="$ac_config_commands depfiles"
3024 am_make=${MAKE-make}
3025 cat > confinc << 'END'
3026 am__doit:
3027 @echo done
3028 .PHONY: am__doit
3030 # If we don't find an include directive, just comment out the code.
3031 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3032 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3033 am__include="#"
3034 am__quote=
3035 _am_result=none
3036 # First try GNU make style include.
3037 echo "include confinc" > confmf
3038 # We grep out `Entering directory' and `Leaving directory'
3039 # messages which can occur if `w' ends up in MAKEFLAGS.
3040 # In particular we don't look at `^make:' because GNU make might
3041 # be invoked under some other name (usually "gmake"), in which
3042 # case it prints its new name instead of `make'.
3043 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3044 am__include=include
3045 am__quote=
3046 _am_result=GNU
3048 # Now try BSD make style include.
3049 if test "$am__include" = "#"; then
3050 echo '.include "confinc"' > confmf
3051 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3052 am__include=.include
3053 am__quote="\""
3054 _am_result=BSD
3059 echo "$as_me:$LINENO: result: $_am_result" >&5
3060 echo "${ECHO_T}$_am_result" >&6
3061 rm -f confinc confmf
3063 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3064 if test "${enable_dependency_tracking+set}" = set; then
3065 enableval="$enable_dependency_tracking"
3068 if test "x$enable_dependency_tracking" != xno; then
3069 am_depcomp="$ac_aux_dir/depcomp"
3070 AMDEPBACKSLASH='\'
3074 if test "x$enable_dependency_tracking" != xno; then
3075 AMDEP_TRUE=
3076 AMDEP_FALSE='#'
3077 else
3078 AMDEP_TRUE='#'
3079 AMDEP_FALSE=
3085 depcc="$CC" am_compiler_list=
3087 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3088 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3089 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3091 else
3092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3093 # We make a subdir and do the tests there. Otherwise we can end up
3094 # making bogus files that we don't know about and never remove. For
3095 # instance it was reported that on HP-UX the gcc test will end up
3096 # making a dummy file named `D' -- because `-MD' means `put the output
3097 # in D'.
3098 mkdir conftest.dir
3099 # Copy depcomp to subdir because otherwise we won't find it if we're
3100 # using a relative directory.
3101 cp "$am_depcomp" conftest.dir
3102 cd conftest.dir
3103 # We will build objects and dependencies in a subdirectory because
3104 # it helps to detect inapplicable dependency modes. For instance
3105 # both Tru64's cc and ICC support -MD to output dependencies as a
3106 # side effect of compilation, but ICC will put the dependencies in
3107 # the current directory while Tru64 will put them in the object
3108 # directory.
3109 mkdir sub
3111 am_cv_CC_dependencies_compiler_type=none
3112 if test "$am_compiler_list" = ""; then
3113 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3115 for depmode in $am_compiler_list; do
3116 # Setup a source with many dependencies, because some compilers
3117 # like to wrap large dependency lists on column 80 (with \), and
3118 # we should not choose a depcomp mode which is confused by this.
3120 # We need to recreate these files for each test, as the compiler may
3121 # overwrite some of them when testing with obscure command lines.
3122 # This happens at least with the AIX C compiler.
3123 : > sub/conftest.c
3124 for i in 1 2 3 4 5 6; do
3125 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3126 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3127 # Solaris 8's {/usr,}/bin/sh.
3128 touch sub/conftst$i.h
3129 done
3130 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3132 case $depmode in
3133 nosideeffect)
3134 # after this tag, mechanisms are not by side-effect, so they'll
3135 # only be used when explicitly requested
3136 if test "x$enable_dependency_tracking" = xyes; then
3137 continue
3138 else
3139 break
3142 none) break ;;
3143 esac
3144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3145 # mode. It turns out that the SunPro C++ compiler does not properly
3146 # handle `-M -o', and we need to detect this.
3147 if depmode=$depmode \
3148 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3149 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3150 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3151 >/dev/null 2>conftest.err &&
3152 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3153 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3155 # icc doesn't choke on unknown options, it will just issue warnings
3156 # or remarks (even with -Werror). So we grep stderr for any message
3157 # that says an option was ignored or not supported.
3158 # When given -MP, icc 7.0 and 7.1 complain thusly:
3159 # icc: Command line warning: ignoring option '-M'; no argument required
3160 # The diagnosis changed in icc 8.0:
3161 # icc: Command line remark: option '-MP' not supported
3162 if (grep 'ignoring option' conftest.err ||
3163 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3164 am_cv_CC_dependencies_compiler_type=$depmode
3165 break
3168 done
3170 cd ..
3171 rm -rf conftest.dir
3172 else
3173 am_cv_CC_dependencies_compiler_type=none
3177 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3178 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3179 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3184 test "x$enable_dependency_tracking" != xno \
3185 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3186 am__fastdepCC_TRUE=
3187 am__fastdepCC_FALSE='#'
3188 else
3189 am__fastdepCC_TRUE='#'
3190 am__fastdepCC_FALSE=
3196 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3197 if test "x$GCC" = "xyes"; then
3198 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3199 ## We like to use C99 routines when available. This makes sure that
3200 ## __STDC_VERSION__ is set such that libc includes make them available.
3201 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3202 ## Compile the following tests with the same system header contents
3203 ## that we'll encounter when compiling our own source files.
3204 CFLAGS="-std=gnu99 $CFLAGS"
3209 # Find other programs we need.
3210 if test -n "$ac_tool_prefix"; then
3211 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3212 set dummy ${ac_tool_prefix}as; ac_word=$2
3213 echo "$as_me:$LINENO: checking for $ac_word" >&5
3214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3215 if test "${ac_cv_prog_AS+set}" = set; then
3216 echo $ECHO_N "(cached) $ECHO_C" >&6
3217 else
3218 if test -n "$AS"; then
3219 ac_cv_prog_AS="$AS" # Let the user override the test.
3220 else
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 for as_dir in $PATH
3224 IFS=$as_save_IFS
3225 test -z "$as_dir" && as_dir=.
3226 for ac_exec_ext in '' $ac_executable_extensions; do
3227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228 ac_cv_prog_AS="${ac_tool_prefix}as"
3229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 break 2
3232 done
3233 done
3237 AS=$ac_cv_prog_AS
3238 if test -n "$AS"; then
3239 echo "$as_me:$LINENO: result: $AS" >&5
3240 echo "${ECHO_T}$AS" >&6
3241 else
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3247 if test -z "$ac_cv_prog_AS"; then
3248 ac_ct_AS=$AS
3249 # Extract the first word of "as", so it can be a program name with args.
3250 set dummy as; ac_word=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 else
3256 if test -n "$ac_ct_AS"; then
3257 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3262 IFS=$as_save_IFS
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_ac_ct_AS="as"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 break 2
3270 done
3271 done
3275 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3276 if test -n "$ac_ct_AS"; then
3277 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3278 echo "${ECHO_T}$ac_ct_AS" >&6
3279 else
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3284 AS=$ac_ct_AS
3285 else
3286 AS="$ac_cv_prog_AS"
3289 if test -n "$ac_tool_prefix"; then
3290 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3291 set dummy ${ac_tool_prefix}ar; ac_word=$2
3292 echo "$as_me:$LINENO: checking for $ac_word" >&5
3293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3294 if test "${ac_cv_prog_AR+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 else
3297 if test -n "$AR"; then
3298 ac_cv_prog_AR="$AR" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3303 IFS=$as_save_IFS
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307 ac_cv_prog_AR="${ac_tool_prefix}ar"
3308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 break 2
3311 done
3312 done
3316 AR=$ac_cv_prog_AR
3317 if test -n "$AR"; then
3318 echo "$as_me:$LINENO: result: $AR" >&5
3319 echo "${ECHO_T}$AR" >&6
3320 else
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3326 if test -z "$ac_cv_prog_AR"; then
3327 ac_ct_AR=$AR
3328 # Extract the first word of "ar", so it can be a program name with args.
3329 set dummy ar; ac_word=$2
3330 echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3332 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 else
3335 if test -n "$ac_ct_AR"; then
3336 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3337 else
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 for as_dir in $PATH
3341 IFS=$as_save_IFS
3342 test -z "$as_dir" && as_dir=.
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3345 ac_cv_prog_ac_ct_AR="ar"
3346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 break 2
3349 done
3350 done
3354 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3355 if test -n "$ac_ct_AR"; then
3356 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3357 echo "${ECHO_T}$ac_ct_AR" >&6
3358 else
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3363 AR=$ac_ct_AR
3364 else
3365 AR="$ac_cv_prog_AR"
3368 if test -n "$ac_tool_prefix"; then
3369 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3370 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3371 echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3373 if test "${ac_cv_prog_RANLIB+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 else
3376 if test -n "$RANLIB"; then
3377 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3378 else
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 for as_dir in $PATH
3382 IFS=$as_save_IFS
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 break 2
3390 done
3391 done
3395 RANLIB=$ac_cv_prog_RANLIB
3396 if test -n "$RANLIB"; then
3397 echo "$as_me:$LINENO: result: $RANLIB" >&5
3398 echo "${ECHO_T}$RANLIB" >&6
3399 else
3400 echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6
3405 if test -z "$ac_cv_prog_RANLIB"; then
3406 ac_ct_RANLIB=$RANLIB
3407 # Extract the first word of "ranlib", so it can be a program name with args.
3408 set dummy ranlib; ac_word=$2
3409 echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 else
3414 if test -n "$ac_ct_RANLIB"; then
3415 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3416 else
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 for as_dir in $PATH
3420 IFS=$as_save_IFS
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_ac_ct_RANLIB="ranlib"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 break 2
3428 done
3429 done
3431 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3435 if test -n "$ac_ct_RANLIB"; then
3436 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3437 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3438 else
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3443 RANLIB=$ac_ct_RANLIB
3444 else
3445 RANLIB="$ac_cv_prog_RANLIB"
3448 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3449 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3450 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3451 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 else
3454 cat >conftest.make <<\_ACEOF
3455 all:
3456 @echo 'ac_maketemp="$(MAKE)"'
3457 _ACEOF
3458 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3459 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3460 if test -n "$ac_maketemp"; then
3461 eval ac_cv_prog_make_${ac_make}_set=yes
3462 else
3463 eval ac_cv_prog_make_${ac_make}_set=no
3465 rm -f conftest.make
3467 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3468 echo "$as_me:$LINENO: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6
3470 SET_MAKE=
3471 else
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 SET_MAKE="MAKE=${MAKE-make}"
3477 # Find a good install program. We prefer a C program (faster),
3478 # so one script is as good as another. But avoid the broken or
3479 # incompatible versions:
3480 # SysV /etc/install, /usr/sbin/install
3481 # SunOS /usr/etc/install
3482 # IRIX /sbin/install
3483 # AIX /bin/install
3484 # AmigaOS /C/install, which installs bootblocks on floppy discs
3485 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3486 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3487 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3488 # OS/2's system install, which has a completely different semantic
3489 # ./install, which can be erroneously created by make from ./install.sh.
3490 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3491 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3492 if test -z "$INSTALL"; then
3493 if test "${ac_cv_path_install+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 else
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 for as_dir in $PATH
3499 IFS=$as_save_IFS
3500 test -z "$as_dir" && as_dir=.
3501 # Account for people who put trailing slashes in PATH elements.
3502 case $as_dir/ in
3503 ./ | .// | /cC/* | \
3504 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3505 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3506 /usr/ucb/* ) ;;
3508 # OSF1 and SCO ODT 3.0 have their own names for install.
3509 # Don't use installbsd from OSF since it installs stuff as root
3510 # by default.
3511 for ac_prog in ginstall scoinst install; do
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3514 if test $ac_prog = install &&
3515 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3516 # AIX install. It has an incompatible calling convention.
3518 elif test $ac_prog = install &&
3519 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3520 # program-specific install script used by HP pwplus--don't use.
3522 else
3523 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3524 break 3
3527 done
3528 done
3530 esac
3531 done
3535 if test "${ac_cv_path_install+set}" = set; then
3536 INSTALL=$ac_cv_path_install
3537 else
3538 # As a last resort, use the slow shell script. We don't cache a
3539 # path for INSTALL within a source directory, because that will
3540 # break other packages using the cache if that directory is
3541 # removed, or if the path is relative.
3542 INSTALL=$ac_install_sh
3545 echo "$as_me:$LINENO: result: $INSTALL" >&5
3546 echo "${ECHO_T}$INSTALL" >&6
3548 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3549 # It thinks the first close brace ends the variable substitution.
3550 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3552 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3554 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3557 # Configure libtool
3558 #AC_MSG_NOTICE([====== Starting libtool configuration])
3560 # Check whether --enable-shared or --disable-shared was given.
3561 if test "${enable_shared+set}" = set; then
3562 enableval="$enable_shared"
3563 p=${PACKAGE-default}
3564 case $enableval in
3565 yes) enable_shared=yes ;;
3566 no) enable_shared=no ;;
3568 enable_shared=no
3569 # Look at the argument we got. We use all the common list separators.
3570 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3571 for pkg in $enableval; do
3572 if test "X$pkg" = "X$p"; then
3573 enable_shared=yes
3575 done
3576 IFS="$ac_save_ifs"
3578 esac
3579 else
3580 enable_shared=yes
3582 # Check whether --enable-static or --disable-static was given.
3583 if test "${enable_static+set}" = set; then
3584 enableval="$enable_static"
3585 p=${PACKAGE-default}
3586 case $enableval in
3587 yes) enable_static=yes ;;
3588 no) enable_static=no ;;
3590 enable_static=no
3591 # Look at the argument we got. We use all the common list separators.
3592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3593 for pkg in $enableval; do
3594 if test "X$pkg" = "X$p"; then
3595 enable_static=yes
3597 done
3598 IFS="$ac_save_ifs"
3600 esac
3601 else
3602 enable_static=yes
3604 # Check whether --enable-fast-install or --disable-fast-install was given.
3605 if test "${enable_fast_install+set}" = set; then
3606 enableval="$enable_fast_install"
3607 p=${PACKAGE-default}
3608 case $enableval in
3609 yes) enable_fast_install=yes ;;
3610 no) enable_fast_install=no ;;
3612 enable_fast_install=no
3613 # Look at the argument we got. We use all the common list separators.
3614 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3615 for pkg in $enableval; do
3616 if test "X$pkg" = "X$p"; then
3617 enable_fast_install=yes
3619 done
3620 IFS="$ac_save_ifs"
3622 esac
3623 else
3624 enable_fast_install=yes
3627 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3628 if test "${with_gnu_ld+set}" = set; then
3629 withval="$with_gnu_ld"
3630 test "$withval" = no || with_gnu_ld=yes
3631 else
3632 with_gnu_ld=no
3634 ac_prog=ld
3635 if test "$GCC" = yes; then
3636 # Check if gcc -print-prog-name=ld gives a path.
3637 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3638 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3639 case $host in
3640 *-*-mingw*)
3641 # gcc leaves a trailing carriage return which upsets mingw
3642 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3644 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3645 esac
3646 case $ac_prog in
3647 # Accept absolute paths.
3648 [\\/]* | [A-Za-z]:[\\/]*)
3649 re_direlt='/[^/][^/]*/\.\./'
3650 # Canonicalize the path of ld
3651 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3652 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3653 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3654 done
3655 test -z "$LD" && LD="$ac_prog"
3658 # If it fails, then pretend we aren't using GCC.
3659 ac_prog=ld
3662 # If it is relative, then search for the first ld in PATH.
3663 with_gnu_ld=unknown
3665 esac
3666 elif test "$with_gnu_ld" = yes; then
3667 echo "$as_me:$LINENO: checking for GNU ld" >&5
3668 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3669 else
3670 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3671 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3673 if test "${lt_cv_path_LD+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 else
3676 if test -z "$LD"; then
3677 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3678 for ac_dir in $PATH; do
3679 test -z "$ac_dir" && ac_dir=.
3680 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3681 lt_cv_path_LD="$ac_dir/$ac_prog"
3682 # Check to see if the program is GNU ld. I'd rather use --version,
3683 # but apparently some GNU ld's only accept -v.
3684 # Break only if it was the GNU/non-GNU ld that we prefer.
3685 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3686 test "$with_gnu_ld" != no && break
3687 else
3688 test "$with_gnu_ld" != yes && break
3691 done
3692 IFS="$ac_save_ifs"
3693 else
3694 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3698 LD="$lt_cv_path_LD"
3699 if test -n "$LD"; then
3700 echo "$as_me:$LINENO: result: $LD" >&5
3701 echo "${ECHO_T}$LD" >&6
3702 else
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3706 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3707 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3708 { (exit 1); exit 1; }; }
3709 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3710 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3711 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 else
3714 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3715 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3716 lt_cv_prog_gnu_ld=yes
3717 else
3718 lt_cv_prog_gnu_ld=no
3721 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3722 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3723 with_gnu_ld=$lt_cv_prog_gnu_ld
3726 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3727 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3728 if test "${lt_cv_ld_reload_flag+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 else
3731 lt_cv_ld_reload_flag='-r'
3733 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3734 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3735 reload_flag=$lt_cv_ld_reload_flag
3736 test -n "$reload_flag" && reload_flag=" $reload_flag"
3738 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3739 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3740 if test "${lt_cv_path_NM+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 else
3743 if test -n "$NM"; then
3744 # Let the user override the test.
3745 lt_cv_path_NM="$NM"
3746 else
3747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3748 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3749 test -z "$ac_dir" && ac_dir=.
3750 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3751 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3752 # Check to see if the nm accepts a BSD-compat flag.
3753 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3754 # nm: unknown option "B" ignored
3755 # Tru64's nm complains that /dev/null is an invalid object file
3756 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3757 lt_cv_path_NM="$tmp_nm -B"
3758 break
3759 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3760 lt_cv_path_NM="$tmp_nm -p"
3761 break
3762 else
3763 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3764 continue # so that we can try to find one that supports BSD flags
3767 done
3768 IFS="$ac_save_ifs"
3769 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3773 NM="$lt_cv_path_NM"
3774 echo "$as_me:$LINENO: result: $NM" >&5
3775 echo "${ECHO_T}$NM" >&6
3777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3779 LN_S=$as_ln_s
3780 if test "$LN_S" = "ln -s"; then
3781 echo "$as_me:$LINENO: result: yes" >&5
3782 echo "${ECHO_T}yes" >&6
3783 else
3784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3785 echo "${ECHO_T}no, using $LN_S" >&6
3788 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3789 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3790 if test "${lt_cv_deplibs_check_method+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 else
3793 lt_cv_file_magic_cmd='$MAGIC_CMD'
3794 lt_cv_file_magic_test_file=
3795 lt_cv_deplibs_check_method='unknown'
3796 # Need to set the preceding variable on all platforms that support
3797 # interlibrary dependencies.
3798 # 'none' -- dependencies not supported.
3799 # `unknown' -- same as none, but documents that we really don't know.
3800 # 'pass_all' -- all dependencies passed with no checks.
3801 # 'test_compile' -- check by making test program.
3802 # 'file_magic [regex]' -- check by looking for files in library path
3803 # which responds to the $file_magic_cmd with a given egrep regex.
3804 # If you have `file' or equivalent on your system and you're not sure
3805 # whether `pass_all' will *always* work, you probably want this one.
3807 case $host_os in
3808 aix*)
3809 lt_cv_deplibs_check_method=pass_all
3812 beos*)
3813 lt_cv_deplibs_check_method=pass_all
3816 bsdi4*)
3817 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3818 lt_cv_file_magic_cmd='/usr/bin/file -L'
3819 lt_cv_file_magic_test_file=/shlib/libc.so
3822 cygwin* | mingw* |pw32*)
3823 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3824 lt_cv_file_magic_cmd='$OBJDUMP -f'
3827 darwin* | rhapsody*)
3828 # this will be overwritten by pass_all, but leave it in just in case
3829 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3830 lt_cv_file_magic_cmd='/usr/bin/file -L'
3831 case "$host_os" in
3832 rhapsody* | darwin1.012)
3833 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3835 *) # Darwin 1.3 on
3836 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3838 esac
3839 lt_cv_deplibs_check_method=pass_all
3842 freebsd* | kfreebsd*-gnu)
3843 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3844 case $host_cpu in
3845 i*86 )
3846 # Not sure whether the presence of OpenBSD here was a mistake.
3847 # Let's accept both of them until this is cleared up.
3848 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3849 lt_cv_file_magic_cmd=/usr/bin/file
3850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3852 esac
3853 else
3854 lt_cv_deplibs_check_method=pass_all
3858 gnu*)
3859 lt_cv_deplibs_check_method=pass_all
3862 hpux10.20*|hpux11*)
3863 case $host_cpu in
3864 hppa*)
3865 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3866 lt_cv_file_magic_cmd=/usr/bin/file
3867 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3869 ia64*)
3870 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3871 lt_cv_file_magic_cmd=/usr/bin/file
3872 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3874 esac
3877 irix5* | irix6*)
3878 case $host_os in
3879 irix5*)
3880 # this will be overridden with pass_all, but let us keep it just in case
3881 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3884 case $LD in
3885 *-32|*"-32 ") libmagic=32-bit;;
3886 *-n32|*"-n32 ") libmagic=N32;;
3887 *-64|*"-64 ") libmagic=64-bit;;
3888 *) libmagic=never-match;;
3889 esac
3890 # this will be overridden with pass_all, but let us keep it just in case
3891 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3893 esac
3894 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3895 lt_cv_deplibs_check_method=pass_all
3898 # This must be Linux ELF.
3899 linux-gnu*)
3900 lt_cv_deplibs_check_method=pass_all
3903 netbsd* | knetbsd*-gnu)
3904 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3905 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3906 else
3907 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3911 newsos6)
3912 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3913 lt_cv_file_magic_cmd=/usr/bin/file
3914 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3917 osf3* | osf4* | osf5*)
3918 # this will be overridden with pass_all, but let us keep it just in case
3919 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3920 lt_cv_file_magic_test_file=/shlib/libc.so
3921 lt_cv_deplibs_check_method=pass_all
3924 sco3.2v5*)
3925 lt_cv_deplibs_check_method=pass_all
3928 solaris*)
3929 lt_cv_deplibs_check_method=pass_all
3930 lt_cv_file_magic_test_file=/lib/libc.so
3933 sysv5uw[78]* | sysv4*uw2*)
3934 lt_cv_deplibs_check_method=pass_all
3937 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3938 case $host_vendor in
3939 ncr)
3940 lt_cv_deplibs_check_method=pass_all
3942 motorola)
3943 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3944 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3946 esac
3948 esac
3951 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3952 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3953 file_magic_cmd=$lt_cv_file_magic_cmd
3954 deplibs_check_method=$lt_cv_deplibs_check_method
3960 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3962 # find the maximum length of command line arguments
3963 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3964 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3965 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 else
3969 teststring="ABCD"
3971 case $build_os in
3972 msdosdjgpp*)
3973 # On DJGPP, this test can blow up pretty badly due to problems in libc
3974 # (any single argument exceeding 2000 bytes causes a buffer overrun
3975 # during glob expansion). Even if it were fixed, the result of this
3976 # check would be larger than it should be.
3977 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3980 cygwin* | mingw*)
3981 # On Win9x/ME, this test blows up -- it succeeds, but takes
3982 # about 5 minutes as the teststring grows exponentially.
3983 # Worse, since 9x/ME are not pre-emptively multitasking,
3984 # you end up with a "frozen" computer, even though with patience
3985 # the test eventually succeeds (with a max line length of 256k).
3986 # Instead, let's just punt: use the minimum linelength reported by
3987 # all of the supported platforms: 8192 (on NT/2K/XP).
3988 lt_cv_sys_max_cmd_len=8192;
3991 amigaos*)
3992 # On AmigaOS with pdksh, this test takes hours, literally.
3993 # So we just punt and use a minimum line length of 8192.
3994 lt_cv_sys_max_cmd_len=8192;
3997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3998 # This has been around since 386BSD, at least. Likely further.
3999 if test -x /sbin/sysctl; then
4000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4001 elif test -x /usr/sbin/sysctl; then
4002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4003 else
4004 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4006 # And add a safety zone
4007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4010 esac
4014 if test -n "$lt_cv_sys_max_cmd_len" ; then
4015 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4016 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4017 else
4018 echo "$as_me:$LINENO: result: none" >&5
4019 echo "${ECHO_T}none" >&6
4023 # Only perform the check for file, if the check method requires it
4024 case $deplibs_check_method in
4025 file_magic*)
4026 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4027 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4028 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4029 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 else
4032 case $MAGIC_CMD in
4034 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4036 ?:/*)
4037 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4040 ac_save_MAGIC_CMD="$MAGIC_CMD"
4041 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4042 ac_dummy="/usr/bin:$PATH"
4043 for ac_dir in $ac_dummy; do
4044 test -z "$ac_dir" && ac_dir=.
4045 if test -f $ac_dir/${ac_tool_prefix}file; then
4046 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4047 if test -n "$file_magic_test_file"; then
4048 case $deplibs_check_method in
4049 "file_magic "*)
4050 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4053 egrep "$file_magic_regex" > /dev/null; then
4055 else
4056 cat <<EOF 1>&2
4058 *** Warning: the command libtool uses to detect shared libraries,
4059 *** $file_magic_cmd, produces output that libtool cannot recognize.
4060 *** The result is that libtool may fail to recognize shared libraries
4061 *** as such. This will affect the creation of libtool libraries that
4062 *** depend on shared libraries, but programs linked with such libtool
4063 *** libraries will work regardless of this problem. Nevertheless, you
4064 *** may want to report the problem to your system manager and/or to
4065 *** bug-libtool@gnu.org
4068 fi ;;
4069 esac
4071 break
4073 done
4074 IFS="$ac_save_ifs"
4075 MAGIC_CMD="$ac_save_MAGIC_CMD"
4077 esac
4080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4081 if test -n "$MAGIC_CMD"; then
4082 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4083 echo "${ECHO_T}$MAGIC_CMD" >&6
4084 else
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4089 if test -z "$lt_cv_path_MAGIC_CMD"; then
4090 if test -n "$ac_tool_prefix"; then
4091 echo "$as_me:$LINENO: checking for file" >&5
4092 echo $ECHO_N "checking for file... $ECHO_C" >&6
4093 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 else
4096 case $MAGIC_CMD in
4098 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4100 ?:/*)
4101 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4104 ac_save_MAGIC_CMD="$MAGIC_CMD"
4105 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4106 ac_dummy="/usr/bin:$PATH"
4107 for ac_dir in $ac_dummy; do
4108 test -z "$ac_dir" && ac_dir=.
4109 if test -f $ac_dir/file; then
4110 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4111 if test -n "$file_magic_test_file"; then
4112 case $deplibs_check_method in
4113 "file_magic "*)
4114 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4115 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4116 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4117 egrep "$file_magic_regex" > /dev/null; then
4119 else
4120 cat <<EOF 1>&2
4122 *** Warning: the command libtool uses to detect shared libraries,
4123 *** $file_magic_cmd, produces output that libtool cannot recognize.
4124 *** The result is that libtool may fail to recognize shared libraries
4125 *** as such. This will affect the creation of libtool libraries that
4126 *** depend on shared libraries, but programs linked with such libtool
4127 *** libraries will work regardless of this problem. Nevertheless, you
4128 *** may want to report the problem to your system manager and/or to
4129 *** bug-libtool@gnu.org
4132 fi ;;
4133 esac
4135 break
4137 done
4138 IFS="$ac_save_ifs"
4139 MAGIC_CMD="$ac_save_MAGIC_CMD"
4141 esac
4144 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4145 if test -n "$MAGIC_CMD"; then
4146 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4147 echo "${ECHO_T}$MAGIC_CMD" >&6
4148 else
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4153 else
4154 MAGIC_CMD=:
4160 esac
4162 if test -n "$ac_tool_prefix"; then
4163 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4164 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4165 echo "$as_me:$LINENO: checking for $ac_word" >&5
4166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4167 if test "${ac_cv_prog_RANLIB+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 else
4170 if test -n "$RANLIB"; then
4171 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4172 else
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174 for as_dir in $PATH
4176 IFS=$as_save_IFS
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 break 2
4184 done
4185 done
4189 RANLIB=$ac_cv_prog_RANLIB
4190 if test -n "$RANLIB"; then
4191 echo "$as_me:$LINENO: result: $RANLIB" >&5
4192 echo "${ECHO_T}$RANLIB" >&6
4193 else
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4199 if test -z "$ac_cv_prog_RANLIB"; then
4200 ac_ct_RANLIB=$RANLIB
4201 # Extract the first word of "ranlib", so it can be a program name with args.
4202 set dummy ranlib; ac_word=$2
4203 echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 else
4208 if test -n "$ac_ct_RANLIB"; then
4209 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4210 else
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH
4214 IFS=$as_save_IFS
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218 ac_cv_prog_ac_ct_RANLIB="ranlib"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 break 2
4222 done
4223 done
4225 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4228 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4229 if test -n "$ac_ct_RANLIB"; then
4230 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4231 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4232 else
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4237 RANLIB=$ac_ct_RANLIB
4238 else
4239 RANLIB="$ac_cv_prog_RANLIB"
4242 if test -n "$ac_tool_prefix"; then
4243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4244 set dummy ${ac_tool_prefix}strip; ac_word=$2
4245 echo "$as_me:$LINENO: checking for $ac_word" >&5
4246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4247 if test "${ac_cv_prog_STRIP+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 else
4250 if test -n "$STRIP"; then
4251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4252 else
4253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 for as_dir in $PATH
4256 IFS=$as_save_IFS
4257 test -z "$as_dir" && as_dir=.
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 break 2
4264 done
4265 done
4269 STRIP=$ac_cv_prog_STRIP
4270 if test -n "$STRIP"; then
4271 echo "$as_me:$LINENO: result: $STRIP" >&5
4272 echo "${ECHO_T}$STRIP" >&6
4273 else
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4279 if test -z "$ac_cv_prog_STRIP"; then
4280 ac_ct_STRIP=$STRIP
4281 # Extract the first word of "strip", so it can be a program name with args.
4282 set dummy strip; ac_word=$2
4283 echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4285 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 else
4288 if test -n "$ac_ct_STRIP"; then
4289 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4294 IFS=$as_save_IFS
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_ac_ct_STRIP="strip"
4299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 break 2
4302 done
4303 done
4305 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4308 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4309 if test -n "$ac_ct_STRIP"; then
4310 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4311 echo "${ECHO_T}$ac_ct_STRIP" >&6
4312 else
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4317 STRIP=$ac_ct_STRIP
4318 else
4319 STRIP="$ac_cv_prog_STRIP"
4323 # Check for any special flags to pass to ltconfig.
4324 libtool_flags="--cache-file=$cache_file"
4325 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4326 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4327 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4328 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4329 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4332 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4333 if test "${enable_libtool_lock+set}" = set; then
4334 enableval="$enable_libtool_lock"
4337 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4338 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4341 # Check whether --with-pic or --without-pic was given.
4342 if test "${with_pic+set}" = set; then
4343 withval="$with_pic"
4344 pic_mode="$withval"
4345 else
4346 pic_mode=default
4348 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4349 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4351 # Some flags need to be propagated to the compiler or linker for good
4352 # libtool support.
4353 case $host in
4354 *-*-irix6*)
4355 # Find out which ABI we are using.
4356 echo '#line 4356 "configure"' > conftest.$ac_ext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>&5
4359 ac_status=$?
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; then
4362 if test "$lt_cv_prog_gnu_ld" = yes; then
4363 case `/usr/bin/file conftest.$ac_objext` in
4364 *32-bit*)
4365 LD="${LD-ld} -melf32bsmip"
4367 *N32*)
4368 LD="${LD-ld} -melf32bmipn32"
4370 *64-bit*)
4371 LD="${LD-ld} -melf64bmip"
4373 esac
4374 else
4375 case `/usr/bin/file conftest.$ac_objext` in
4376 *32-bit*)
4377 LD="${LD-ld} -32"
4379 *N32*)
4380 LD="${LD-ld} -n32"
4382 *64-bit*)
4383 LD="${LD-ld} -64"
4385 esac
4388 rm -rf conftest*
4391 ia64-*-hpux*)
4392 # Find out which ABI we are using.
4393 echo 'int i;' > conftest.$ac_ext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>&5
4396 ac_status=$?
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; then
4399 case "`/usr/bin/file conftest.o`" in
4400 *ELF-32*)
4401 HPUX_IA64_MODE="32"
4403 *ELF-64*)
4404 HPUX_IA64_MODE="64"
4406 esac
4408 rm -rf conftest*
4411 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4412 # Find out which ABI we are using.
4413 echo 'int i;' > conftest.$ac_ext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>&5
4416 ac_status=$?
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; then
4419 case "`/usr/bin/file conftest.o`" in
4420 *32-bit*)
4421 case $host in
4422 x86_64-*linux*)
4423 LD="${LD-ld} -m elf_i386"
4425 ppc64-*linux*|powerpc64-*linux*)
4426 LD="${LD-ld} -m elf32ppclinux"
4428 s390x-*linux*)
4429 LD="${LD-ld} -m elf_s390"
4431 sparc64-*linux*)
4432 LD="${LD-ld} -m elf32_sparc"
4434 esac
4436 *64-bit*)
4437 case $host in
4438 x86_64-*linux*)
4439 LD="${LD-ld} -m elf_x86_64"
4441 ppc*-*linux*|powerpc*-*linux*)
4442 LD="${LD-ld} -m elf64ppc"
4444 s390*-*linux*)
4445 LD="${LD-ld} -m elf64_s390"
4447 sparc*-*linux*)
4448 LD="${LD-ld} -m elf64_sparc"
4450 esac
4452 esac
4454 rm -rf conftest*
4457 *-*-sco3.2v5*)
4458 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4459 SAVE_CFLAGS="$CFLAGS"
4460 CFLAGS="$CFLAGS -belf"
4461 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4462 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4463 if test "${lt_cv_cc_needs_belf+set}" = set; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 else
4468 ac_ext=c
4469 ac_cpp='$CPP $CPPFLAGS'
4470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4474 if test x$gcc_no_link = xyes; then
4475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4477 { (exit 1); exit 1; }; }
4479 cat >conftest.$ac_ext <<_ACEOF
4480 /* confdefs.h. */
4481 _ACEOF
4482 cat confdefs.h >>conftest.$ac_ext
4483 cat >>conftest.$ac_ext <<_ACEOF
4484 /* end confdefs.h. */
4487 main ()
4491 return 0;
4493 _ACEOF
4494 rm -f conftest.$ac_objext conftest$ac_exeext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496 (eval $ac_link) 2>conftest.er1
4497 ac_status=$?
4498 grep -v '^ *+' conftest.er1 >conftest.err
4499 rm -f conftest.er1
4500 cat conftest.err >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } &&
4503 { ac_try='test -z "$ac_c_werror_flag"
4504 || test ! -s conftest.err'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 (eval $ac_try) 2>&5
4507 ac_status=$?
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try='test -s conftest$ac_exeext'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 (eval $ac_try) 2>&5
4513 ac_status=$?
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; }; then
4516 lt_cv_cc_needs_belf=yes
4517 else
4518 echo "$as_me: failed program was:" >&5
4519 sed 's/^/| /' conftest.$ac_ext >&5
4521 lt_cv_cc_needs_belf=no
4523 rm -f conftest.err conftest.$ac_objext \
4524 conftest$ac_exeext conftest.$ac_ext
4525 ac_ext=c
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4532 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4533 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4534 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4535 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4536 CFLAGS="$SAVE_CFLAGS"
4541 esac
4544 # Save cache, so that ltconfig can load it
4545 cat >confcache <<\_ACEOF
4546 # This file is a shell script that caches the results of configure
4547 # tests run on this system so they can be shared between configure
4548 # scripts and configure runs, see configure's option --config-cache.
4549 # It is not useful on other systems. If it contains results you don't
4550 # want to keep, you may remove or edit it.
4552 # config.status only pays attention to the cache file if you give it
4553 # the --recheck option to rerun configure.
4555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4557 # following values.
4559 _ACEOF
4561 # The following way of writing the cache mishandles newlines in values,
4562 # but we know of no workaround that is simple, portable, and efficient.
4563 # So, don't put newlines in cache variables' values.
4564 # Ultrix sh set writes to stderr and can't be redirected directly,
4565 # and sets the high bit in the cache file unless we assign to the vars.
4567 (set) 2>&1 |
4568 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4569 *ac_space=\ *)
4570 # `set' does not quote correctly, so add quotes (double-quote
4571 # substitution turns \\\\ into \\, and sed turns \\ into \).
4572 sed -n \
4573 "s/'/'\\\\''/g;
4574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4577 # `set' quotes correctly as required by POSIX, so do not add quotes.
4578 sed -n \
4579 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4581 esac;
4583 sed '
4584 t clear
4585 : clear
4586 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4587 t end
4588 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4589 : end' >>confcache
4590 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4591 if test -w $cache_file; then
4592 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4593 cat confcache >$cache_file
4594 else
4595 echo "not updating unwritable cache $cache_file"
4598 rm -f confcache
4600 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4601 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4602 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4603 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4604 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4605 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4606 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4607 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4608 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4609 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4610 echo "$as_me: error: libtool configure failed" >&2;}
4611 { (exit 1); exit 1; }; }
4613 # Reload cache, that may have been modified by ltconfig
4614 if test -r "$cache_file"; then
4615 # Some versions of bash will fail to source /dev/null (special
4616 # files actually), so we avoid doing that.
4617 if test -f "$cache_file"; then
4618 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4619 echo "$as_me: loading cache $cache_file" >&6;}
4620 case $cache_file in
4621 [\\/]* | ?:[\\/]* ) . $cache_file;;
4622 *) . ./$cache_file;;
4623 esac
4625 else
4626 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4627 echo "$as_me: creating cache $cache_file" >&6;}
4628 >$cache_file
4632 # This can be used to rebuild libtool when needed
4633 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4635 # Always use our own libtool.
4636 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4638 # Redirect the config.log output again, so that the ltconfig log is not
4639 # clobbered by the next message.
4640 exec 5>>./config.log
4649 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4651 # We need gfortran to compile parts of the library
4652 #AC_PROG_FC(gfortran)
4653 FC="$GFORTRAN"
4654 ac_ext=${FC_SRCEXT-f}
4655 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4656 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4658 if test -n "$ac_tool_prefix"; then
4659 for ac_prog in gfortran
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4663 echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4665 if test "${ac_cv_prog_FC+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 else
4668 if test -n "$FC"; then
4669 ac_cv_prog_FC="$FC" # Let the user override the test.
4670 else
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH
4674 IFS=$as_save_IFS
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 break 2
4682 done
4683 done
4687 FC=$ac_cv_prog_FC
4688 if test -n "$FC"; then
4689 echo "$as_me:$LINENO: result: $FC" >&5
4690 echo "${ECHO_T}$FC" >&6
4691 else
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4696 test -n "$FC" && break
4697 done
4699 if test -z "$FC"; then
4700 ac_ct_FC=$FC
4701 for ac_prog in gfortran
4703 # Extract the first word of "$ac_prog", so it can be a program name with args.
4704 set dummy $ac_prog; ac_word=$2
4705 echo "$as_me:$LINENO: checking for $ac_word" >&5
4706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4707 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 else
4710 if test -n "$ac_ct_FC"; then
4711 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4712 else
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH
4716 IFS=$as_save_IFS
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720 ac_cv_prog_ac_ct_FC="$ac_prog"
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 break 2
4724 done
4725 done
4729 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4730 if test -n "$ac_ct_FC"; then
4731 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4732 echo "${ECHO_T}$ac_ct_FC" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4738 test -n "$ac_ct_FC" && break
4739 done
4741 FC=$ac_ct_FC
4745 # Provide some information about the compiler.
4746 echo "$as_me:4746:" \
4747 "checking for Fortran compiler version" >&5
4748 ac_compiler=`set X $ac_compile; echo $2`
4749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4750 (eval $ac_compiler --version </dev/null >&5) 2>&5
4751 ac_status=$?
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }
4754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4755 (eval $ac_compiler -v </dev/null >&5) 2>&5
4756 ac_status=$?
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }
4759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4760 (eval $ac_compiler -V </dev/null >&5) 2>&5
4761 ac_status=$?
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }
4764 rm -f a.out
4766 # If we don't use `.F' as extension, the preprocessor is not run on the
4767 # input file. (Note that this only needs to work for GNU compilers.)
4768 ac_save_ext=$ac_ext
4769 ac_ext=F
4770 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4771 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4772 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 else
4775 cat >conftest.$ac_ext <<_ACEOF
4776 program main
4777 #ifndef __GNUC__
4778 choke me
4779 #endif
4782 _ACEOF
4783 rm -f conftest.$ac_objext
4784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4785 (eval $ac_compile) 2>conftest.er1
4786 ac_status=$?
4787 grep -v '^ *+' conftest.er1 >conftest.err
4788 rm -f conftest.er1
4789 cat conftest.err >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } &&
4792 { ac_try='test -z "$ac_fc_werror_flag"
4793 || test ! -s conftest.err'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 (eval $ac_try) 2>&5
4796 ac_status=$?
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; } &&
4799 { ac_try='test -s conftest.$ac_objext'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 (eval $ac_try) 2>&5
4802 ac_status=$?
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; }; then
4805 ac_compiler_gnu=yes
4806 else
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.$ac_ext >&5
4810 ac_compiler_gnu=no
4812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4813 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4816 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4817 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4818 ac_ext=$ac_save_ext
4819 ac_test_FFLAGS=${FCFLAGS+set}
4820 ac_save_FFLAGS=$FCFLAGS
4821 FCFLAGS=
4822 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4823 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4824 if test "${ac_cv_prog_fc_g+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4826 else
4827 FCFLAGS=-g
4828 cat >conftest.$ac_ext <<_ACEOF
4829 program main
4832 _ACEOF
4833 rm -f conftest.$ac_objext
4834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>conftest.er1
4836 ac_status=$?
4837 grep -v '^ *+' conftest.er1 >conftest.err
4838 rm -f conftest.er1
4839 cat conftest.err >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try='test -z "$ac_fc_werror_flag"
4843 || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 (eval $ac_try) 2>&5
4846 ac_status=$?
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try='test -s conftest.$ac_objext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 (eval $ac_try) 2>&5
4852 ac_status=$?
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_prog_fc_g=yes
4856 else
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4860 ac_cv_prog_fc_g=no
4862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4865 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4866 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4867 if test "$ac_test_FFLAGS" = set; then
4868 FCFLAGS=$ac_save_FFLAGS
4869 elif test $ac_cv_prog_fc_g = yes; then
4870 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4871 FCFLAGS="-g -O2"
4872 else
4873 FCFLAGS="-g"
4875 else
4876 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4877 FCFLAGS="-O2"
4878 else
4879 FCFLAGS=
4883 ac_ext=c
4884 ac_cpp='$CPP $CPPFLAGS'
4885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4890 # extra LD Flags which are required for targets
4891 case "${host}" in
4892 *-darwin*)
4893 # Darwin needs -single_module when linking libgfortran
4894 extra_ldflags_libgfortran=-Wl,-single_module
4896 esac
4899 # We need a working compiler at that point, otherwise give a clear
4900 # error message and bail out.
4903 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
4904 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
4905 ac_ext=${FC_SRCEXT-f}
4906 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4907 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4910 cat >conftest.$ac_ext <<_ACEOF
4912 program foo
4913 real, parameter :: bar = sin (12.34 / 2.5)
4914 end program foo
4915 _ACEOF
4916 rm -f conftest.$ac_objext
4917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4918 (eval $ac_compile) 2>conftest.er1
4919 ac_status=$?
4920 grep -v '^ *+' conftest.er1 >conftest.err
4921 rm -f conftest.er1
4922 cat conftest.err >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } &&
4925 { ac_try='test -z "$ac_fc_werror_flag"
4926 || test ! -s conftest.err'
4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 (eval $ac_try) 2>&5
4929 ac_status=$?
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; } &&
4932 { ac_try='test -s conftest.$ac_objext'
4933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4934 (eval $ac_try) 2>&5
4935 ac_status=$?
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); }; }; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 echo "$as_me:$LINENO: result: no" >&5
4945 echo "${ECHO_T}no" >&6
4946 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
4947 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
4948 { (exit 1); exit 1; }; }
4951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4952 ac_ext=c
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960 # Check whether --enable-largefile or --disable-largefile was given.
4961 if test "${enable_largefile+set}" = set; then
4962 enableval="$enable_largefile"
4965 if test "$enable_largefile" != no; then
4967 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4968 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4969 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4971 else
4972 ac_cv_sys_largefile_CC=no
4973 if test "$GCC" != yes; then
4974 ac_save_CC=$CC
4975 while :; do
4976 # IRIX 6.2 and later do not support large files by default,
4977 # so use the C compiler's -n32 option if that helps.
4978 cat >conftest.$ac_ext <<_ACEOF
4979 /* confdefs.h. */
4980 _ACEOF
4981 cat confdefs.h >>conftest.$ac_ext
4982 cat >>conftest.$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 #include <sys/types.h>
4985 /* Check that off_t can represent 2**63 - 1 correctly.
4986 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4987 since some C++ compilers masquerading as C compilers
4988 incorrectly reject 9223372036854775807. */
4989 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4990 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4991 && LARGE_OFF_T % 2147483647 == 1)
4992 ? 1 : -1];
4994 main ()
4998 return 0;
5000 _ACEOF
5001 rm -f conftest.$ac_objext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003 (eval $ac_compile) 2>conftest.er1
5004 ac_status=$?
5005 grep -v '^ *+' conftest.er1 >conftest.err
5006 rm -f conftest.er1
5007 cat conftest.err >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try='test -z "$ac_c_werror_flag"
5011 || test ! -s conftest.err'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013 (eval $ac_try) 2>&5
5014 ac_status=$?
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; } &&
5017 { ac_try='test -s conftest.$ac_objext'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 (eval $ac_try) 2>&5
5020 ac_status=$?
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; }; then
5023 break
5024 else
5025 echo "$as_me: failed program was:" >&5
5026 sed 's/^/| /' conftest.$ac_ext >&5
5029 rm -f conftest.err conftest.$ac_objext
5030 CC="$CC -n32"
5031 rm -f conftest.$ac_objext
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>conftest.er1
5034 ac_status=$?
5035 grep -v '^ *+' conftest.er1 >conftest.err
5036 rm -f conftest.er1
5037 cat conftest.err >&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } &&
5040 { ac_try='test -z "$ac_c_werror_flag"
5041 || test ! -s conftest.err'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5043 (eval $ac_try) 2>&5
5044 ac_status=$?
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; } &&
5047 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
5053 ac_cv_sys_largefile_CC=' -n32'; break
5054 else
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.$ac_ext >&5
5059 rm -f conftest.err conftest.$ac_objext
5060 break
5061 done
5062 CC=$ac_save_CC
5063 rm -f conftest.$ac_ext
5066 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5067 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
5068 if test "$ac_cv_sys_largefile_CC" != no; then
5069 CC=$CC$ac_cv_sys_largefile_CC
5072 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5073 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
5074 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 else
5077 while :; do
5078 ac_cv_sys_file_offset_bits=no
5079 cat >conftest.$ac_ext <<_ACEOF
5080 /* confdefs.h. */
5081 _ACEOF
5082 cat confdefs.h >>conftest.$ac_ext
5083 cat >>conftest.$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5085 #include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088 since some C++ compilers masquerading as C compilers
5089 incorrectly reject 9223372036854775807. */
5090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092 && LARGE_OFF_T % 2147483647 == 1)
5093 ? 1 : -1];
5095 main ()
5099 return 0;
5101 _ACEOF
5102 rm -f conftest.$ac_objext
5103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5104 (eval $ac_compile) 2>conftest.er1
5105 ac_status=$?
5106 grep -v '^ *+' conftest.er1 >conftest.err
5107 rm -f conftest.er1
5108 cat conftest.err >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } &&
5111 { ac_try='test -z "$ac_c_werror_flag"
5112 || test ! -s conftest.err'
5113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 (eval $ac_try) 2>&5
5115 ac_status=$?
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); }; } &&
5118 { ac_try='test -s conftest.$ac_objext'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120 (eval $ac_try) 2>&5
5121 ac_status=$?
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 break
5125 else
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5131 cat >conftest.$ac_ext <<_ACEOF
5132 /* confdefs.h. */
5133 _ACEOF
5134 cat confdefs.h >>conftest.$ac_ext
5135 cat >>conftest.$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5137 #define _FILE_OFFSET_BITS 64
5138 #include <sys/types.h>
5139 /* Check that off_t can represent 2**63 - 1 correctly.
5140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5141 since some C++ compilers masquerading as C compilers
5142 incorrectly reject 9223372036854775807. */
5143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5145 && LARGE_OFF_T % 2147483647 == 1)
5146 ? 1 : -1];
5148 main ()
5152 return 0;
5154 _ACEOF
5155 rm -f conftest.$ac_objext
5156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157 (eval $ac_compile) 2>conftest.er1
5158 ac_status=$?
5159 grep -v '^ *+' conftest.er1 >conftest.err
5160 rm -f conftest.er1
5161 cat conftest.err >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); } &&
5164 { ac_try='test -z "$ac_c_werror_flag"
5165 || test ! -s conftest.err'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 (eval $ac_try) 2>&5
5168 ac_status=$?
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; } &&
5171 { ac_try='test -s conftest.$ac_objext'
5172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5173 (eval $ac_try) 2>&5
5174 ac_status=$?
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); }; }; then
5177 ac_cv_sys_file_offset_bits=64; break
5178 else
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5184 break
5185 done
5187 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5188 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5189 if test "$ac_cv_sys_file_offset_bits" != no; then
5191 cat >>confdefs.h <<_ACEOF
5192 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5193 _ACEOF
5196 rm -f conftest*
5197 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5198 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5199 if test "${ac_cv_sys_large_files+set}" = set; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 else
5202 while :; do
5203 ac_cv_sys_large_files=no
5204 cat >conftest.$ac_ext <<_ACEOF
5205 /* confdefs.h. */
5206 _ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <sys/types.h>
5211 /* Check that off_t can represent 2**63 - 1 correctly.
5212 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5213 since some C++ compilers masquerading as C compilers
5214 incorrectly reject 9223372036854775807. */
5215 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5216 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5217 && LARGE_OFF_T % 2147483647 == 1)
5218 ? 1 : -1];
5220 main ()
5224 return 0;
5226 _ACEOF
5227 rm -f conftest.$ac_objext
5228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5229 (eval $ac_compile) 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); } &&
5236 { ac_try='test -z "$ac_c_werror_flag"
5237 || test ! -s conftest.err'
5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 (eval $ac_try) 2>&5
5240 ac_status=$?
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); }; } &&
5243 { ac_try='test -s conftest.$ac_objext'
5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5245 (eval $ac_try) 2>&5
5246 ac_status=$?
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5249 break
5250 else
5251 echo "$as_me: failed program was:" >&5
5252 sed 's/^/| /' conftest.$ac_ext >&5
5255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5256 cat >conftest.$ac_ext <<_ACEOF
5257 /* confdefs.h. */
5258 _ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #define _LARGE_FILES 1
5263 #include <sys/types.h>
5264 /* Check that off_t can represent 2**63 - 1 correctly.
5265 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5266 since some C++ compilers masquerading as C compilers
5267 incorrectly reject 9223372036854775807. */
5268 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5269 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5270 && LARGE_OFF_T % 2147483647 == 1)
5271 ? 1 : -1];
5273 main ()
5277 return 0;
5279 _ACEOF
5280 rm -f conftest.$ac_objext
5281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5282 (eval $ac_compile) 2>conftest.er1
5283 ac_status=$?
5284 grep -v '^ *+' conftest.er1 >conftest.err
5285 rm -f conftest.er1
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try='test -z "$ac_c_werror_flag"
5290 || test ! -s conftest.err'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292 (eval $ac_try) 2>&5
5293 ac_status=$?
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; } &&
5296 { ac_try='test -s conftest.$ac_objext'
5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 (eval $ac_try) 2>&5
5299 ac_status=$?
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_sys_large_files=1; break
5303 else
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5309 break
5310 done
5312 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5313 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5314 if test "$ac_cv_sys_large_files" != no; then
5316 cat >>confdefs.h <<_ACEOF
5317 #define _LARGE_FILES $ac_cv_sys_large_files
5318 _ACEOF
5321 rm -f conftest*
5324 ac_ext=c
5325 ac_cpp='$CPP $CPPFLAGS'
5326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5329 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5330 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5331 # On Suns, sometimes $CPP names a directory.
5332 if test -n "$CPP" && test -d "$CPP"; then
5333 CPP=
5335 if test -z "$CPP"; then
5336 if test "${ac_cv_prog_CPP+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 else
5339 # Double quotes because CPP needs to be expanded
5340 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5342 ac_preproc_ok=false
5343 for ac_c_preproc_warn_flag in '' yes
5345 # Use a header file that comes with gcc, so configuring glibc
5346 # with a fresh cross-compiler works.
5347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5348 # <limits.h> exists even on freestanding compilers.
5349 # On the NeXT, cc -E runs the code through the compiler's parser,
5350 # not just through cpp. "Syntax error" is here to catch this case.
5351 cat >conftest.$ac_ext <<_ACEOF
5352 /* confdefs.h. */
5353 _ACEOF
5354 cat confdefs.h >>conftest.$ac_ext
5355 cat >>conftest.$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5357 #ifdef __STDC__
5358 # include <limits.h>
5359 #else
5360 # include <assert.h>
5361 #endif
5362 Syntax error
5363 _ACEOF
5364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5366 ac_status=$?
5367 grep -v '^ *+' conftest.er1 >conftest.err
5368 rm -f conftest.er1
5369 cat conftest.err >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } >/dev/null; then
5372 if test -s conftest.err; then
5373 ac_cpp_err=$ac_c_preproc_warn_flag
5374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5375 else
5376 ac_cpp_err=
5378 else
5379 ac_cpp_err=yes
5381 if test -z "$ac_cpp_err"; then
5383 else
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.$ac_ext >&5
5387 # Broken: fails on valid input.
5388 continue
5390 rm -f conftest.err conftest.$ac_ext
5392 # OK, works on sane cases. Now check whether non-existent headers
5393 # can be detected and how.
5394 cat >conftest.$ac_ext <<_ACEOF
5395 /* confdefs.h. */
5396 _ACEOF
5397 cat confdefs.h >>conftest.$ac_ext
5398 cat >>conftest.$ac_ext <<_ACEOF
5399 /* end confdefs.h. */
5400 #include <ac_nonexistent.h>
5401 _ACEOF
5402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5404 ac_status=$?
5405 grep -v '^ *+' conftest.er1 >conftest.err
5406 rm -f conftest.er1
5407 cat conftest.err >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); } >/dev/null; then
5410 if test -s conftest.err; then
5411 ac_cpp_err=$ac_c_preproc_warn_flag
5412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5413 else
5414 ac_cpp_err=
5416 else
5417 ac_cpp_err=yes
5419 if test -z "$ac_cpp_err"; then
5420 # Broken: success on invalid input.
5421 continue
5422 else
5423 echo "$as_me: failed program was:" >&5
5424 sed 's/^/| /' conftest.$ac_ext >&5
5426 # Passes both tests.
5427 ac_preproc_ok=:
5428 break
5430 rm -f conftest.err conftest.$ac_ext
5432 done
5433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5434 rm -f conftest.err conftest.$ac_ext
5435 if $ac_preproc_ok; then
5436 break
5439 done
5440 ac_cv_prog_CPP=$CPP
5443 CPP=$ac_cv_prog_CPP
5444 else
5445 ac_cv_prog_CPP=$CPP
5447 echo "$as_me:$LINENO: result: $CPP" >&5
5448 echo "${ECHO_T}$CPP" >&6
5449 ac_preproc_ok=false
5450 for ac_c_preproc_warn_flag in '' yes
5452 # Use a header file that comes with gcc, so configuring glibc
5453 # with a fresh cross-compiler works.
5454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5455 # <limits.h> exists even on freestanding compilers.
5456 # On the NeXT, cc -E runs the code through the compiler's parser,
5457 # not just through cpp. "Syntax error" is here to catch this case.
5458 cat >conftest.$ac_ext <<_ACEOF
5459 /* confdefs.h. */
5460 _ACEOF
5461 cat confdefs.h >>conftest.$ac_ext
5462 cat >>conftest.$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5464 #ifdef __STDC__
5465 # include <limits.h>
5466 #else
5467 # include <assert.h>
5468 #endif
5469 Syntax error
5470 _ACEOF
5471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5473 ac_status=$?
5474 grep -v '^ *+' conftest.er1 >conftest.err
5475 rm -f conftest.er1
5476 cat conftest.err >&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } >/dev/null; then
5479 if test -s conftest.err; then
5480 ac_cpp_err=$ac_c_preproc_warn_flag
5481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5482 else
5483 ac_cpp_err=
5485 else
5486 ac_cpp_err=yes
5488 if test -z "$ac_cpp_err"; then
5490 else
5491 echo "$as_me: failed program was:" >&5
5492 sed 's/^/| /' conftest.$ac_ext >&5
5494 # Broken: fails on valid input.
5495 continue
5497 rm -f conftest.err conftest.$ac_ext
5499 # OK, works on sane cases. Now check whether non-existent headers
5500 # can be detected and how.
5501 cat >conftest.$ac_ext <<_ACEOF
5502 /* confdefs.h. */
5503 _ACEOF
5504 cat confdefs.h >>conftest.$ac_ext
5505 cat >>conftest.$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 #include <ac_nonexistent.h>
5508 _ACEOF
5509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5511 ac_status=$?
5512 grep -v '^ *+' conftest.er1 >conftest.err
5513 rm -f conftest.er1
5514 cat conftest.err >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } >/dev/null; then
5517 if test -s conftest.err; then
5518 ac_cpp_err=$ac_c_preproc_warn_flag
5519 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5520 else
5521 ac_cpp_err=
5523 else
5524 ac_cpp_err=yes
5526 if test -z "$ac_cpp_err"; then
5527 # Broken: success on invalid input.
5528 continue
5529 else
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.$ac_ext >&5
5533 # Passes both tests.
5534 ac_preproc_ok=:
5535 break
5537 rm -f conftest.err conftest.$ac_ext
5539 done
5540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5541 rm -f conftest.err conftest.$ac_ext
5542 if $ac_preproc_ok; then
5544 else
5545 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5546 See \`config.log' for more details." >&5
5547 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5548 See \`config.log' for more details." >&2;}
5549 { (exit 1); exit 1; }; }
5552 ac_ext=c
5553 ac_cpp='$CPP $CPPFLAGS'
5554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5559 echo "$as_me:$LINENO: checking for egrep" >&5
5560 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5561 if test "${ac_cv_prog_egrep+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 else
5564 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5565 then ac_cv_prog_egrep='grep -E'
5566 else ac_cv_prog_egrep='egrep'
5569 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5570 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5571 EGREP=$ac_cv_prog_egrep
5574 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5575 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5576 if test "${ac_cv_header_stdc+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 else
5579 cat >conftest.$ac_ext <<_ACEOF
5580 /* confdefs.h. */
5581 _ACEOF
5582 cat confdefs.h >>conftest.$ac_ext
5583 cat >>conftest.$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5585 #include <stdlib.h>
5586 #include <stdarg.h>
5587 #include <string.h>
5588 #include <float.h>
5591 main ()
5595 return 0;
5597 _ACEOF
5598 rm -f conftest.$ac_objext
5599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5600 (eval $ac_compile) 2>conftest.er1
5601 ac_status=$?
5602 grep -v '^ *+' conftest.er1 >conftest.err
5603 rm -f conftest.er1
5604 cat conftest.err >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } &&
5607 { ac_try='test -z "$ac_c_werror_flag"
5608 || test ! -s conftest.err'
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); }; } &&
5614 { ac_try='test -s conftest.$ac_objext'
5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5616 (eval $ac_try) 2>&5
5617 ac_status=$?
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; }; then
5620 ac_cv_header_stdc=yes
5621 else
5622 echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.$ac_ext >&5
5625 ac_cv_header_stdc=no
5627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5629 if test $ac_cv_header_stdc = yes; then
5630 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5631 cat >conftest.$ac_ext <<_ACEOF
5632 /* confdefs.h. */
5633 _ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637 #include <string.h>
5639 _ACEOF
5640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5641 $EGREP "memchr" >/dev/null 2>&1; then
5643 else
5644 ac_cv_header_stdc=no
5646 rm -f conftest*
5650 if test $ac_cv_header_stdc = yes; then
5651 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5652 cat >conftest.$ac_ext <<_ACEOF
5653 /* confdefs.h. */
5654 _ACEOF
5655 cat confdefs.h >>conftest.$ac_ext
5656 cat >>conftest.$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5658 #include <stdlib.h>
5660 _ACEOF
5661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5662 $EGREP "free" >/dev/null 2>&1; then
5664 else
5665 ac_cv_header_stdc=no
5667 rm -f conftest*
5671 if test $ac_cv_header_stdc = yes; then
5672 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5673 if test "$cross_compiling" = yes; then
5675 else
5676 cat >conftest.$ac_ext <<_ACEOF
5677 /* confdefs.h. */
5678 _ACEOF
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5682 #include <ctype.h>
5683 #if ((' ' & 0x0FF) == 0x020)
5684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5686 #else
5687 # define ISLOWER(c) \
5688 (('a' <= (c) && (c) <= 'i') \
5689 || ('j' <= (c) && (c) <= 'r') \
5690 || ('s' <= (c) && (c) <= 'z'))
5691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5692 #endif
5694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5696 main ()
5698 int i;
5699 for (i = 0; i < 256; i++)
5700 if (XOR (islower (i), ISLOWER (i))
5701 || toupper (i) != TOUPPER (i))
5702 exit(2);
5703 exit (0);
5705 _ACEOF
5706 rm -f conftest$ac_exeext
5707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5708 (eval $ac_link) 2>&5
5709 ac_status=$?
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713 (eval $ac_try) 2>&5
5714 ac_status=$?
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5718 else
5719 echo "$as_me: program exited with status $ac_status" >&5
5720 echo "$as_me: failed program was:" >&5
5721 sed 's/^/| /' conftest.$ac_ext >&5
5723 ( exit $ac_status )
5724 ac_cv_header_stdc=no
5726 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5730 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5731 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5732 if test $ac_cv_header_stdc = yes; then
5734 cat >>confdefs.h <<\_ACEOF
5735 #define STDC_HEADERS 1
5736 _ACEOF
5740 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5750 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5751 inttypes.h stdint.h unistd.h
5753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5754 echo "$as_me:$LINENO: checking for $ac_header" >&5
5755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5757 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 else
5759 cat >conftest.$ac_ext <<_ACEOF
5760 /* confdefs.h. */
5761 _ACEOF
5762 cat confdefs.h >>conftest.$ac_ext
5763 cat >>conftest.$ac_ext <<_ACEOF
5764 /* end confdefs.h. */
5765 $ac_includes_default
5767 #include <$ac_header>
5768 _ACEOF
5769 rm -f conftest.$ac_objext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5771 (eval $ac_compile) 2>conftest.er1
5772 ac_status=$?
5773 grep -v '^ *+' conftest.er1 >conftest.err
5774 rm -f conftest.er1
5775 cat conftest.err >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } &&
5778 { ac_try='test -z "$ac_c_werror_flag"
5779 || test ! -s conftest.err'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 (eval $ac_try) 2>&5
5782 ac_status=$?
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; } &&
5785 { ac_try='test -s conftest.$ac_objext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 (eval $ac_try) 2>&5
5788 ac_status=$?
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5791 eval "$as_ac_Header=yes"
5792 else
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 eval "$as_ac_Header=no"
5798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5803 cat >>confdefs.h <<_ACEOF
5804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5805 _ACEOF
5809 done
5812 echo "$as_me:$LINENO: checking for off_t" >&5
5813 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5814 if test "${ac_cv_type_off_t+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 else
5817 cat >conftest.$ac_ext <<_ACEOF
5818 /* confdefs.h. */
5819 _ACEOF
5820 cat confdefs.h >>conftest.$ac_ext
5821 cat >>conftest.$ac_ext <<_ACEOF
5822 /* end confdefs.h. */
5823 $ac_includes_default
5825 main ()
5827 if ((off_t *) 0)
5828 return 0;
5829 if (sizeof (off_t))
5830 return 0;
5832 return 0;
5834 _ACEOF
5835 rm -f conftest.$ac_objext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5837 (eval $ac_compile) 2>conftest.er1
5838 ac_status=$?
5839 grep -v '^ *+' conftest.er1 >conftest.err
5840 rm -f conftest.er1
5841 cat conftest.err >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } &&
5844 { ac_try='test -z "$ac_c_werror_flag"
5845 || test ! -s conftest.err'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 (eval $ac_try) 2>&5
5848 ac_status=$?
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; } &&
5851 { ac_try='test -s conftest.$ac_objext'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 (eval $ac_try) 2>&5
5854 ac_status=$?
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; }; then
5857 ac_cv_type_off_t=yes
5858 else
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5862 ac_cv_type_off_t=no
5864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5866 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5867 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5868 if test $ac_cv_type_off_t = yes; then
5870 else
5872 cat >>confdefs.h <<_ACEOF
5873 #define off_t long
5874 _ACEOF
5879 # check header files
5880 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5881 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5882 if test "${ac_cv_header_stdc+set}" = set; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 else
5885 cat >conftest.$ac_ext <<_ACEOF
5886 /* confdefs.h. */
5887 _ACEOF
5888 cat confdefs.h >>conftest.$ac_ext
5889 cat >>conftest.$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5891 #include <stdlib.h>
5892 #include <stdarg.h>
5893 #include <string.h>
5894 #include <float.h>
5897 main ()
5901 return 0;
5903 _ACEOF
5904 rm -f conftest.$ac_objext
5905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5906 (eval $ac_compile) 2>conftest.er1
5907 ac_status=$?
5908 grep -v '^ *+' conftest.er1 >conftest.err
5909 rm -f conftest.er1
5910 cat conftest.err >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); } &&
5913 { ac_try='test -z "$ac_c_werror_flag"
5914 || test ! -s conftest.err'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 (eval $ac_try) 2>&5
5917 ac_status=$?
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; } &&
5920 { ac_try='test -s conftest.$ac_objext'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 (eval $ac_try) 2>&5
5923 ac_status=$?
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_cv_header_stdc=yes
5927 else
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.$ac_ext >&5
5931 ac_cv_header_stdc=no
5933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5935 if test $ac_cv_header_stdc = yes; then
5936 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5937 cat >conftest.$ac_ext <<_ACEOF
5938 /* confdefs.h. */
5939 _ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 #include <string.h>
5945 _ACEOF
5946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5947 $EGREP "memchr" >/dev/null 2>&1; then
5949 else
5950 ac_cv_header_stdc=no
5952 rm -f conftest*
5956 if test $ac_cv_header_stdc = yes; then
5957 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #include <stdlib.h>
5966 _ACEOF
5967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5968 $EGREP "free" >/dev/null 2>&1; then
5970 else
5971 ac_cv_header_stdc=no
5973 rm -f conftest*
5977 if test $ac_cv_header_stdc = yes; then
5978 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5979 if test "$cross_compiling" = yes; then
5981 else
5982 cat >conftest.$ac_ext <<_ACEOF
5983 /* confdefs.h. */
5984 _ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5988 #include <ctype.h>
5989 #if ((' ' & 0x0FF) == 0x020)
5990 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5991 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5992 #else
5993 # define ISLOWER(c) \
5994 (('a' <= (c) && (c) <= 'i') \
5995 || ('j' <= (c) && (c) <= 'r') \
5996 || ('s' <= (c) && (c) <= 'z'))
5997 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5998 #endif
6000 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6002 main ()
6004 int i;
6005 for (i = 0; i < 256; i++)
6006 if (XOR (islower (i), ISLOWER (i))
6007 || toupper (i) != TOUPPER (i))
6008 exit(2);
6009 exit (0);
6011 _ACEOF
6012 rm -f conftest$ac_exeext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6014 (eval $ac_link) 2>&5
6015 ac_status=$?
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 (eval $ac_try) 2>&5
6020 ac_status=$?
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6024 else
6025 echo "$as_me: program exited with status $ac_status" >&5
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.$ac_ext >&5
6029 ( exit $ac_status )
6030 ac_cv_header_stdc=no
6032 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6036 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6037 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6038 if test $ac_cv_header_stdc = yes; then
6040 cat >>confdefs.h <<\_ACEOF
6041 #define STDC_HEADERS 1
6042 _ACEOF
6046 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6047 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6048 if test "${ac_cv_header_time+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 cat >conftest.$ac_ext <<_ACEOF
6052 /* confdefs.h. */
6053 _ACEOF
6054 cat confdefs.h >>conftest.$ac_ext
6055 cat >>conftest.$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6057 #include <sys/types.h>
6058 #include <sys/time.h>
6059 #include <time.h>
6062 main ()
6064 if ((struct tm *) 0)
6065 return 0;
6067 return 0;
6069 _ACEOF
6070 rm -f conftest.$ac_objext
6071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6072 (eval $ac_compile) 2>conftest.er1
6073 ac_status=$?
6074 grep -v '^ *+' conftest.er1 >conftest.err
6075 rm -f conftest.er1
6076 cat conftest.err >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } &&
6079 { ac_try='test -z "$ac_c_werror_flag"
6080 || test ! -s conftest.err'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6082 (eval $ac_try) 2>&5
6083 ac_status=$?
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; } &&
6086 { ac_try='test -s conftest.$ac_objext'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088 (eval $ac_try) 2>&5
6089 ac_status=$?
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; }; then
6092 ac_cv_header_time=yes
6093 else
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.$ac_ext >&5
6097 ac_cv_header_time=no
6099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6101 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6102 echo "${ECHO_T}$ac_cv_header_time" >&6
6103 if test $ac_cv_header_time = yes; then
6105 cat >>confdefs.h <<\_ACEOF
6106 #define TIME_WITH_SYS_TIME 1
6107 _ACEOF
6118 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.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
6272 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6276 echo "$as_me:$LINENO: checking for $ac_header" >&5
6277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6283 else
6284 # Is the header compilable?
6285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6287 cat >conftest.$ac_ext <<_ACEOF
6288 /* confdefs.h. */
6289 _ACEOF
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 $ac_includes_default
6294 #include <$ac_header>
6295 _ACEOF
6296 rm -f conftest.$ac_objext
6297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6298 (eval $ac_compile) 2>conftest.er1
6299 ac_status=$?
6300 grep -v '^ *+' conftest.er1 >conftest.err
6301 rm -f conftest.er1
6302 cat conftest.err >&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); } &&
6305 { ac_try='test -z "$ac_c_werror_flag"
6306 || test ! -s conftest.err'
6307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6308 (eval $ac_try) 2>&5
6309 ac_status=$?
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); }; } &&
6312 { ac_try='test -s conftest.$ac_objext'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6314 (eval $ac_try) 2>&5
6315 ac_status=$?
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; }; then
6318 ac_header_compiler=yes
6319 else
6320 echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.$ac_ext >&5
6323 ac_header_compiler=no
6325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6327 echo "${ECHO_T}$ac_header_compiler" >&6
6329 # Is the header present?
6330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6332 cat >conftest.$ac_ext <<_ACEOF
6333 /* confdefs.h. */
6334 _ACEOF
6335 cat confdefs.h >>conftest.$ac_ext
6336 cat >>conftest.$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6338 #include <$ac_header>
6339 _ACEOF
6340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6342 ac_status=$?
6343 grep -v '^ *+' conftest.er1 >conftest.err
6344 rm -f conftest.er1
6345 cat conftest.err >&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); } >/dev/null; then
6348 if test -s conftest.err; then
6349 ac_cpp_err=$ac_c_preproc_warn_flag
6350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6351 else
6352 ac_cpp_err=
6354 else
6355 ac_cpp_err=yes
6357 if test -z "$ac_cpp_err"; then
6358 ac_header_preproc=yes
6359 else
6360 echo "$as_me: failed program was:" >&5
6361 sed 's/^/| /' conftest.$ac_ext >&5
6363 ac_header_preproc=no
6365 rm -f conftest.err conftest.$ac_ext
6366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6367 echo "${ECHO_T}$ac_header_preproc" >&6
6369 # So? What about this header?
6370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6371 yes:no: )
6372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6376 ac_header_preproc=yes
6378 no:yes:* )
6379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6385 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6386 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6392 cat <<\_ASBOX
6393 ## ------------------------------------------------------ ##
6394 ## Report this to the GNU Fortran Runtime Library lists. ##
6395 ## ------------------------------------------------------ ##
6396 _ASBOX
6398 sed "s/^/$as_me: WARNING: /" >&2
6400 esac
6401 echo "$as_me:$LINENO: checking for $ac_header" >&5
6402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6405 else
6406 eval "$as_ac_Header=\$ac_header_preproc"
6408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6413 cat >>confdefs.h <<_ACEOF
6414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6415 _ACEOF
6419 done
6426 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6430 echo "$as_me:$LINENO: checking for $ac_header" >&5
6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6437 else
6438 # Is the header compilable?
6439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6441 cat >conftest.$ac_ext <<_ACEOF
6442 /* confdefs.h. */
6443 _ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h. */
6447 $ac_includes_default
6448 #include <$ac_header>
6449 _ACEOF
6450 rm -f conftest.$ac_objext
6451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6452 (eval $ac_compile) 2>conftest.er1
6453 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try='test -z "$ac_c_werror_flag"
6460 || test ! -s conftest.err'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 (eval $ac_try) 2>&5
6463 ac_status=$?
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; } &&
6466 { ac_try='test -s conftest.$ac_objext'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 (eval $ac_try) 2>&5
6469 ac_status=$?
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6472 ac_header_compiler=yes
6473 else
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_header_compiler=no
6479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6481 echo "${ECHO_T}$ac_header_compiler" >&6
6483 # Is the header present?
6484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6486 cat >conftest.$ac_ext <<_ACEOF
6487 /* confdefs.h. */
6488 _ACEOF
6489 cat confdefs.h >>conftest.$ac_ext
6490 cat >>conftest.$ac_ext <<_ACEOF
6491 /* end confdefs.h. */
6492 #include <$ac_header>
6493 _ACEOF
6494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6496 ac_status=$?
6497 grep -v '^ *+' conftest.er1 >conftest.err
6498 rm -f conftest.er1
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } >/dev/null; then
6502 if test -s conftest.err; then
6503 ac_cpp_err=$ac_c_preproc_warn_flag
6504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6505 else
6506 ac_cpp_err=
6508 else
6509 ac_cpp_err=yes
6511 if test -z "$ac_cpp_err"; then
6512 ac_header_preproc=yes
6513 else
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_header_preproc=no
6519 rm -f conftest.err conftest.$ac_ext
6520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6521 echo "${ECHO_T}$ac_header_preproc" >&6
6523 # So? What about this header?
6524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6525 yes:no: )
6526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6530 ac_header_preproc=yes
6532 no:yes:* )
6533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6546 cat <<\_ASBOX
6547 ## ------------------------------------------------------ ##
6548 ## Report this to the GNU Fortran Runtime Library lists. ##
6549 ## ------------------------------------------------------ ##
6550 _ASBOX
6552 sed "s/^/$as_me: WARNING: /" >&2
6554 esac
6555 echo "$as_me:$LINENO: checking for $ac_header" >&5
6556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6559 else
6560 eval "$as_ac_Header=\$ac_header_preproc"
6562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6567 cat >>confdefs.h <<_ACEOF
6568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6569 _ACEOF
6573 done
6579 for ac_header in fenv.h fptrap.h float.h execinfo.h
6581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6583 echo "$as_me:$LINENO: checking for $ac_header" >&5
6584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6590 else
6591 # Is the header compilable?
6592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6594 cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h. */
6596 _ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6601 #include <$ac_header>
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_header_compiler=yes
6626 else
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6630 ac_header_compiler=no
6632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6634 echo "${ECHO_T}$ac_header_compiler" >&6
6636 # Is the header present?
6637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6639 cat >conftest.$ac_ext <<_ACEOF
6640 /* confdefs.h. */
6641 _ACEOF
6642 cat confdefs.h >>conftest.$ac_ext
6643 cat >>conftest.$ac_ext <<_ACEOF
6644 /* end confdefs.h. */
6645 #include <$ac_header>
6646 _ACEOF
6647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6649 ac_status=$?
6650 grep -v '^ *+' conftest.er1 >conftest.err
6651 rm -f conftest.er1
6652 cat conftest.err >&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } >/dev/null; then
6655 if test -s conftest.err; then
6656 ac_cpp_err=$ac_c_preproc_warn_flag
6657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6658 else
6659 ac_cpp_err=
6661 else
6662 ac_cpp_err=yes
6664 if test -z "$ac_cpp_err"; then
6665 ac_header_preproc=yes
6666 else
6667 echo "$as_me: failed program was:" >&5
6668 sed 's/^/| /' conftest.$ac_ext >&5
6670 ac_header_preproc=no
6672 rm -f conftest.err conftest.$ac_ext
6673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6674 echo "${ECHO_T}$ac_header_preproc" >&6
6676 # So? What about this header?
6677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6678 yes:no: )
6679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6683 ac_header_preproc=yes
6685 no:yes:* )
6686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6699 cat <<\_ASBOX
6700 ## ------------------------------------------------------ ##
6701 ## Report this to the GNU Fortran Runtime Library lists. ##
6702 ## ------------------------------------------------------ ##
6703 _ASBOX
6705 sed "s/^/$as_me: WARNING: /" >&2
6707 esac
6708 echo "$as_me:$LINENO: checking for $ac_header" >&5
6709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6712 else
6713 eval "$as_ac_Header=\$ac_header_preproc"
6715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6720 cat >>confdefs.h <<_ACEOF
6721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6722 _ACEOF
6726 done
6728 if test "${ac_cv_header_complex_h+set}" = set; then
6729 echo "$as_me:$LINENO: checking for complex.h" >&5
6730 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6731 if test "${ac_cv_header_complex_h+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6735 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6736 else
6737 # Is the header compilable?
6738 echo "$as_me:$LINENO: checking complex.h usability" >&5
6739 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6741 /* confdefs.h. */
6742 _ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 $ac_includes_default
6747 #include <complex.h>
6748 _ACEOF
6749 rm -f conftest.$ac_objext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751 (eval $ac_compile) 2>conftest.er1
6752 ac_status=$?
6753 grep -v '^ *+' conftest.er1 >conftest.err
6754 rm -f conftest.er1
6755 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } &&
6758 { ac_try='test -z "$ac_c_werror_flag"
6759 || test ! -s conftest.err'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 (eval $ac_try) 2>&5
6762 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; } &&
6765 { ac_try='test -s conftest.$ac_objext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 (eval $ac_try) 2>&5
6768 ac_status=$?
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then
6771 ac_header_compiler=yes
6772 else
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 ac_header_compiler=no
6778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6780 echo "${ECHO_T}$ac_header_compiler" >&6
6782 # Is the header present?
6783 echo "$as_me:$LINENO: checking complex.h presence" >&5
6784 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6785 cat >conftest.$ac_ext <<_ACEOF
6786 /* confdefs.h. */
6787 _ACEOF
6788 cat confdefs.h >>conftest.$ac_ext
6789 cat >>conftest.$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6791 #include <complex.h>
6792 _ACEOF
6793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6795 ac_status=$?
6796 grep -v '^ *+' conftest.er1 >conftest.err
6797 rm -f conftest.er1
6798 cat conftest.err >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } >/dev/null; then
6801 if test -s conftest.err; then
6802 ac_cpp_err=$ac_c_preproc_warn_flag
6803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6804 else
6805 ac_cpp_err=
6807 else
6808 ac_cpp_err=yes
6810 if test -z "$ac_cpp_err"; then
6811 ac_header_preproc=yes
6812 else
6813 echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.$ac_ext >&5
6816 ac_header_preproc=no
6818 rm -f conftest.err conftest.$ac_ext
6819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6820 echo "${ECHO_T}$ac_header_preproc" >&6
6822 # So? What about this header?
6823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6824 yes:no: )
6825 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6826 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6827 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6828 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6829 ac_header_preproc=yes
6831 no:yes:* )
6832 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6833 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6834 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6835 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6836 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6837 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6839 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6840 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6841 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6842 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6843 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6845 cat <<\_ASBOX
6846 ## ------------------------------------------------------ ##
6847 ## Report this to the GNU Fortran Runtime Library lists. ##
6848 ## ------------------------------------------------------ ##
6849 _ASBOX
6851 sed "s/^/$as_me: WARNING: /" >&2
6853 esac
6854 echo "$as_me:$LINENO: checking for complex.h" >&5
6855 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6856 if test "${ac_cv_header_complex_h+set}" = set; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 else
6859 ac_cv_header_complex_h=$ac_header_preproc
6861 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6862 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6865 if test $ac_cv_header_complex_h = yes; then
6867 cat >>confdefs.h <<\_ACEOF
6868 #define HAVE_COMPLEX_H 1
6869 _ACEOF
6876 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6878 acx_cv_header_stdint=stddef.h
6879 acx_cv_header_stdint_kind="(already complete)"
6880 for i in stdint.h $inttype_headers; do
6881 unset ac_cv_type_uintptr_t
6882 unset ac_cv_type_uintmax_t
6883 unset ac_cv_type_int_least32_t
6884 unset ac_cv_type_int_fast32_t
6885 unset ac_cv_type_uint64_t
6886 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6887 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6888 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6889 if test "${ac_cv_type_uintmax_t+set}" = set; then
6890 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 else
6892 cat >conftest.$ac_ext <<_ACEOF
6893 /* confdefs.h. */
6894 _ACEOF
6895 cat confdefs.h >>conftest.$ac_ext
6896 cat >>conftest.$ac_ext <<_ACEOF
6897 /* end confdefs.h. */
6898 #include <sys/types.h>
6899 #include <$i>
6902 main ()
6904 if ((uintmax_t *) 0)
6905 return 0;
6906 if (sizeof (uintmax_t))
6907 return 0;
6909 return 0;
6911 _ACEOF
6912 rm -f conftest.$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>conftest.er1
6915 ac_status=$?
6916 grep -v '^ *+' conftest.er1 >conftest.err
6917 rm -f conftest.er1
6918 cat conftest.err >&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); } &&
6921 { ac_try='test -z "$ac_c_werror_flag"
6922 || test ! -s conftest.err'
6923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 (eval $ac_try) 2>&5
6925 ac_status=$?
6926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927 (exit $ac_status); }; } &&
6928 { ac_try='test -s conftest.$ac_objext'
6929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6930 (eval $ac_try) 2>&5
6931 ac_status=$?
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); }; }; then
6934 ac_cv_type_uintmax_t=yes
6935 else
6936 echo "$as_me: failed program was:" >&5
6937 sed 's/^/| /' conftest.$ac_ext >&5
6939 ac_cv_type_uintmax_t=no
6941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6943 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6944 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6945 if test $ac_cv_type_uintmax_t = yes; then
6946 acx_cv_header_stdint=$i
6947 else
6948 continue
6951 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6952 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6953 if test "${ac_cv_type_uintptr_t+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 else
6956 cat >conftest.$ac_ext <<_ACEOF
6957 /* confdefs.h. */
6958 _ACEOF
6959 cat confdefs.h >>conftest.$ac_ext
6960 cat >>conftest.$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6962 #include <sys/types.h>
6963 #include <$i>
6966 main ()
6968 if ((uintptr_t *) 0)
6969 return 0;
6970 if (sizeof (uintptr_t))
6971 return 0;
6973 return 0;
6975 _ACEOF
6976 rm -f conftest.$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>conftest.er1
6979 ac_status=$?
6980 grep -v '^ *+' conftest.er1 >conftest.err
6981 rm -f conftest.er1
6982 cat conftest.err >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try='test -z "$ac_c_werror_flag"
6986 || test ! -s conftest.err'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 (eval $ac_try) 2>&5
6989 ac_status=$?
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; } &&
6992 { ac_try='test -s conftest.$ac_objext'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 (eval $ac_try) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; }; then
6998 ac_cv_type_uintptr_t=yes
6999 else
7000 echo "$as_me: failed program was:" >&5
7001 sed 's/^/| /' conftest.$ac_ext >&5
7003 ac_cv_type_uintptr_t=no
7005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7007 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7008 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7009 if test $ac_cv_type_uintptr_t = yes; then
7011 else
7012 acx_cv_header_stdint_kind="(mostly complete)"
7015 echo "$as_me:$LINENO: checking for int_least32_t" >&5
7016 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
7017 if test "${ac_cv_type_int_least32_t+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 else
7020 cat >conftest.$ac_ext <<_ACEOF
7021 /* confdefs.h. */
7022 _ACEOF
7023 cat confdefs.h >>conftest.$ac_ext
7024 cat >>conftest.$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7026 #include <sys/types.h>
7027 #include <$i>
7030 main ()
7032 if ((int_least32_t *) 0)
7033 return 0;
7034 if (sizeof (int_least32_t))
7035 return 0;
7037 return 0;
7039 _ACEOF
7040 rm -f conftest.$ac_objext
7041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7042 (eval $ac_compile) 2>conftest.er1
7043 ac_status=$?
7044 grep -v '^ *+' conftest.er1 >conftest.err
7045 rm -f conftest.er1
7046 cat conftest.err >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try='test -z "$ac_c_werror_flag"
7050 || test ! -s conftest.err'
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 (eval $ac_try) 2>&5
7053 ac_status=$?
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; } &&
7056 { ac_try='test -s conftest.$ac_objext'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 (eval $ac_try) 2>&5
7059 ac_status=$?
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; }; then
7062 ac_cv_type_int_least32_t=yes
7063 else
7064 echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.$ac_ext >&5
7067 ac_cv_type_int_least32_t=no
7069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7071 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
7072 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
7073 if test $ac_cv_type_int_least32_t = yes; then
7075 else
7076 acx_cv_header_stdint_kind="(mostly complete)"
7079 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
7080 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
7081 if test "${ac_cv_type_int_fast32_t+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 else
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <$i>
7094 main ()
7096 if ((int_fast32_t *) 0)
7097 return 0;
7098 if (sizeof (int_fast32_t))
7099 return 0;
7101 return 0;
7103 _ACEOF
7104 rm -f conftest.$ac_objext
7105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7106 (eval $ac_compile) 2>conftest.er1
7107 ac_status=$?
7108 grep -v '^ *+' conftest.er1 >conftest.err
7109 rm -f conftest.er1
7110 cat conftest.err >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); } &&
7113 { ac_try='test -z "$ac_c_werror_flag"
7114 || test ! -s conftest.err'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 (eval $ac_try) 2>&5
7117 ac_status=$?
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; } &&
7120 { ac_try='test -s conftest.$ac_objext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 (eval $ac_try) 2>&5
7123 ac_status=$?
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 ac_cv_type_int_fast32_t=yes
7127 else
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_cv_type_int_fast32_t=no
7133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7135 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7136 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7137 if test $ac_cv_type_int_fast32_t = yes; then
7139 else
7140 acx_cv_header_stdint_kind="(mostly complete)"
7143 echo "$as_me:$LINENO: checking for uint64_t" >&5
7144 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7145 if test "${ac_cv_type_uint64_t+set}" = set; then
7146 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 else
7148 cat >conftest.$ac_ext <<_ACEOF
7149 /* confdefs.h. */
7150 _ACEOF
7151 cat confdefs.h >>conftest.$ac_ext
7152 cat >>conftest.$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7154 #include <sys/types.h>
7155 #include <$i>
7158 main ()
7160 if ((uint64_t *) 0)
7161 return 0;
7162 if (sizeof (uint64_t))
7163 return 0;
7165 return 0;
7167 _ACEOF
7168 rm -f conftest.$ac_objext
7169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7170 (eval $ac_compile) 2>conftest.er1
7171 ac_status=$?
7172 grep -v '^ *+' conftest.er1 >conftest.err
7173 rm -f conftest.er1
7174 cat conftest.err >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } &&
7177 { ac_try='test -z "$ac_c_werror_flag"
7178 || test ! -s conftest.err'
7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7180 (eval $ac_try) 2>&5
7181 ac_status=$?
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; } &&
7184 { ac_try='test -s conftest.$ac_objext'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186 (eval $ac_try) 2>&5
7187 ac_status=$?
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); }; }; then
7190 ac_cv_type_uint64_t=yes
7191 else
7192 echo "$as_me: failed program was:" >&5
7193 sed 's/^/| /' conftest.$ac_ext >&5
7195 ac_cv_type_uint64_t=no
7197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7199 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7200 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7201 if test $ac_cv_type_uint64_t = yes; then
7203 else
7204 acx_cv_header_stdint_kind="(lacks uint64_t)"
7207 break
7208 done
7209 if test "$acx_cv_header_stdint" = stddef.h; then
7210 acx_cv_header_stdint_kind="(lacks uintmax_t)"
7211 for i in stdint.h $inttype_headers; do
7212 unset ac_cv_type_uintptr_t
7213 unset ac_cv_type_uint32_t
7214 unset ac_cv_type_uint64_t
7215 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7216 echo "$as_me:$LINENO: checking for uint32_t" >&5
7217 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7218 if test "${ac_cv_type_uint32_t+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 else
7221 cat >conftest.$ac_ext <<_ACEOF
7222 /* confdefs.h. */
7223 _ACEOF
7224 cat confdefs.h >>conftest.$ac_ext
7225 cat >>conftest.$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7227 #include <sys/types.h>
7228 #include <$i>
7231 main ()
7233 if ((uint32_t *) 0)
7234 return 0;
7235 if (sizeof (uint32_t))
7236 return 0;
7238 return 0;
7240 _ACEOF
7241 rm -f conftest.$ac_objext
7242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7243 (eval $ac_compile) 2>conftest.er1
7244 ac_status=$?
7245 grep -v '^ *+' conftest.er1 >conftest.err
7246 rm -f conftest.er1
7247 cat conftest.err >&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); } &&
7250 { ac_try='test -z "$ac_c_werror_flag"
7251 || test ! -s conftest.err'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7253 (eval $ac_try) 2>&5
7254 ac_status=$?
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; } &&
7257 { ac_try='test -s conftest.$ac_objext'
7258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 (eval $ac_try) 2>&5
7260 ac_status=$?
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }; }; then
7263 ac_cv_type_uint32_t=yes
7264 else
7265 echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.$ac_ext >&5
7268 ac_cv_type_uint32_t=no
7270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7272 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7273 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7274 if test $ac_cv_type_uint32_t = yes; then
7275 acx_cv_header_stdint=$i
7276 else
7277 continue
7280 echo "$as_me:$LINENO: checking for uint64_t" >&5
7281 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7282 if test "${ac_cv_type_uint64_t+set}" = set; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7284 else
7285 cat >conftest.$ac_ext <<_ACEOF
7286 /* confdefs.h. */
7287 _ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7291 #include <sys/types.h>
7292 #include <$i>
7295 main ()
7297 if ((uint64_t *) 0)
7298 return 0;
7299 if (sizeof (uint64_t))
7300 return 0;
7302 return 0;
7304 _ACEOF
7305 rm -f conftest.$ac_objext
7306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7307 (eval $ac_compile) 2>conftest.er1
7308 ac_status=$?
7309 grep -v '^ *+' conftest.er1 >conftest.err
7310 rm -f conftest.er1
7311 cat conftest.err >&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); } &&
7314 { ac_try='test -z "$ac_c_werror_flag"
7315 || test ! -s conftest.err'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317 (eval $ac_try) 2>&5
7318 ac_status=$?
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; } &&
7321 { ac_try='test -s conftest.$ac_objext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7323 (eval $ac_try) 2>&5
7324 ac_status=$?
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_cv_type_uint64_t=yes
7328 else
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.$ac_ext >&5
7332 ac_cv_type_uint64_t=no
7334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7336 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7337 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7339 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7340 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7341 if test "${ac_cv_type_uintptr_t+set}" = set; then
7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7343 else
7344 cat >conftest.$ac_ext <<_ACEOF
7345 /* confdefs.h. */
7346 _ACEOF
7347 cat confdefs.h >>conftest.$ac_ext
7348 cat >>conftest.$ac_ext <<_ACEOF
7349 /* end confdefs.h. */
7350 #include <sys/types.h>
7351 #include <$i>
7354 main ()
7356 if ((uintptr_t *) 0)
7357 return 0;
7358 if (sizeof (uintptr_t))
7359 return 0;
7361 return 0;
7363 _ACEOF
7364 rm -f conftest.$ac_objext
7365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7366 (eval $ac_compile) 2>conftest.er1
7367 ac_status=$?
7368 grep -v '^ *+' conftest.er1 >conftest.err
7369 rm -f conftest.er1
7370 cat conftest.err >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } &&
7373 { ac_try='test -z "$ac_c_werror_flag"
7374 || test ! -s conftest.err'
7375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 (eval $ac_try) 2>&5
7377 ac_status=$?
7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); }; } &&
7380 { ac_try='test -s conftest.$ac_objext'
7381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 (eval $ac_try) 2>&5
7383 ac_status=$?
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); }; }; then
7386 ac_cv_type_uintptr_t=yes
7387 else
7388 echo "$as_me: failed program was:" >&5
7389 sed 's/^/| /' conftest.$ac_ext >&5
7391 ac_cv_type_uintptr_t=no
7393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7395 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7396 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7398 break
7399 done
7401 if test "$acx_cv_header_stdint" = stddef.h; then
7402 acx_cv_header_stdint_kind="(u_intXX_t style)"
7403 for i in sys/types.h $inttype_headers; do
7404 unset ac_cv_type_u_int32_t
7405 unset ac_cv_type_u_int64_t
7406 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7407 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7408 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7409 if test "${ac_cv_type_u_int32_t+set}" = set; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 else
7412 cat >conftest.$ac_ext <<_ACEOF
7413 /* confdefs.h. */
7414 _ACEOF
7415 cat confdefs.h >>conftest.$ac_ext
7416 cat >>conftest.$ac_ext <<_ACEOF
7417 /* end confdefs.h. */
7418 #include <sys/types.h>
7419 #include <$i>
7422 main ()
7424 if ((u_int32_t *) 0)
7425 return 0;
7426 if (sizeof (u_int32_t))
7427 return 0;
7429 return 0;
7431 _ACEOF
7432 rm -f conftest.$ac_objext
7433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7434 (eval $ac_compile) 2>conftest.er1
7435 ac_status=$?
7436 grep -v '^ *+' conftest.er1 >conftest.err
7437 rm -f conftest.er1
7438 cat conftest.err >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); } &&
7441 { ac_try='test -z "$ac_c_werror_flag"
7442 || test ! -s conftest.err'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444 (eval $ac_try) 2>&5
7445 ac_status=$?
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; } &&
7448 { ac_try='test -s conftest.$ac_objext'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7450 (eval $ac_try) 2>&5
7451 ac_status=$?
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 ac_cv_type_u_int32_t=yes
7455 else
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.$ac_ext >&5
7459 ac_cv_type_u_int32_t=no
7461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7463 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7464 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7465 if test $ac_cv_type_u_int32_t = yes; then
7466 acx_cv_header_stdint=$i
7467 else
7468 continue
7471 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7472 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7473 if test "${ac_cv_type_u_int64_t+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 else
7476 cat >conftest.$ac_ext <<_ACEOF
7477 /* confdefs.h. */
7478 _ACEOF
7479 cat confdefs.h >>conftest.$ac_ext
7480 cat >>conftest.$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7482 #include <sys/types.h>
7483 #include <$i>
7486 main ()
7488 if ((u_int64_t *) 0)
7489 return 0;
7490 if (sizeof (u_int64_t))
7491 return 0;
7493 return 0;
7495 _ACEOF
7496 rm -f conftest.$ac_objext
7497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7498 (eval $ac_compile) 2>conftest.er1
7499 ac_status=$?
7500 grep -v '^ *+' conftest.er1 >conftest.err
7501 rm -f conftest.er1
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } &&
7505 { ac_try='test -z "$ac_c_werror_flag"
7506 || test ! -s conftest.err'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7508 (eval $ac_try) 2>&5
7509 ac_status=$?
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; } &&
7512 { ac_try='test -s conftest.$ac_objext'
7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514 (eval $ac_try) 2>&5
7515 ac_status=$?
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); }; }; then
7518 ac_cv_type_u_int64_t=yes
7519 else
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.$ac_ext >&5
7523 ac_cv_type_u_int64_t=no
7525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7527 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7528 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7530 break
7531 done
7533 if test "$acx_cv_header_stdint" = stddef.h; then
7534 acx_cv_header_stdint_kind="(using manual detection)"
7537 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7538 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7539 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7540 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7541 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7543 # ----------------- Summarize what we found so far
7545 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7546 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7548 case `$as_basename gstdint.h ||
7549 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7550 Xgstdint.h : 'X\(//\)$' \| \
7551 Xgstdint.h : 'X\(/\)$' \| \
7552 . : '\(.\)' 2>/dev/null ||
7553 echo X/gstdint.h |
7554 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7555 /^X\/\(\/\/\)$/{ s//\1/; q; }
7556 /^X\/\(\/\).*/{ s//\1/; q; }
7557 s/.*/./; q'` in
7558 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7559 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7560 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7561 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7562 *) ;;
7563 esac
7565 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7566 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7568 # ----------------- done included file, check C basic types --------
7570 # Lacking an uintptr_t? Test size of void *
7571 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7572 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7573 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7574 if test "${ac_cv_type_void_p+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 else
7577 cat >conftest.$ac_ext <<_ACEOF
7578 /* confdefs.h. */
7579 _ACEOF
7580 cat confdefs.h >>conftest.$ac_ext
7581 cat >>conftest.$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 $ac_includes_default
7585 main ()
7587 if ((void * *) 0)
7588 return 0;
7589 if (sizeof (void *))
7590 return 0;
7592 return 0;
7594 _ACEOF
7595 rm -f conftest.$ac_objext
7596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7597 (eval $ac_compile) 2>conftest.er1
7598 ac_status=$?
7599 grep -v '^ *+' conftest.er1 >conftest.err
7600 rm -f conftest.er1
7601 cat conftest.err >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } &&
7604 { ac_try='test -z "$ac_c_werror_flag"
7605 || test ! -s conftest.err'
7606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7607 (eval $ac_try) 2>&5
7608 ac_status=$?
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; } &&
7611 { ac_try='test -s conftest.$ac_objext'
7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7613 (eval $ac_try) 2>&5
7614 ac_status=$?
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; }; then
7617 ac_cv_type_void_p=yes
7618 else
7619 echo "$as_me: failed program was:" >&5
7620 sed 's/^/| /' conftest.$ac_ext >&5
7622 ac_cv_type_void_p=no
7624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7626 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7627 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7629 echo "$as_me:$LINENO: checking size of void *" >&5
7630 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7631 if test "${ac_cv_sizeof_void_p+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 else
7634 if test "$ac_cv_type_void_p" = yes; then
7635 # The cast to unsigned long works around a bug in the HP C Compiler
7636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7638 # This bug is HP SR number 8606223364.
7639 if test "$cross_compiling" = yes; then
7640 # Depending upon the size, compute the lo and hi bounds.
7641 cat >conftest.$ac_ext <<_ACEOF
7642 /* confdefs.h. */
7643 _ACEOF
7644 cat confdefs.h >>conftest.$ac_ext
7645 cat >>conftest.$ac_ext <<_ACEOF
7646 /* end confdefs.h. */
7647 $ac_includes_default
7649 main ()
7651 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7652 test_array [0] = 0
7655 return 0;
7657 _ACEOF
7658 rm -f conftest.$ac_objext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7660 (eval $ac_compile) 2>conftest.er1
7661 ac_status=$?
7662 grep -v '^ *+' conftest.er1 >conftest.err
7663 rm -f conftest.er1
7664 cat conftest.err >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -z "$ac_c_werror_flag"
7668 || test ! -s conftest.err'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 (eval $ac_try) 2>&5
7671 ac_status=$?
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; } &&
7674 { ac_try='test -s conftest.$ac_objext'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 (eval $ac_try) 2>&5
7677 ac_status=$?
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; }; then
7680 ac_lo=0 ac_mid=0
7681 while :; do
7682 cat >conftest.$ac_ext <<_ACEOF
7683 /* confdefs.h. */
7684 _ACEOF
7685 cat confdefs.h >>conftest.$ac_ext
7686 cat >>conftest.$ac_ext <<_ACEOF
7687 /* end confdefs.h. */
7688 $ac_includes_default
7690 main ()
7692 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7693 test_array [0] = 0
7696 return 0;
7698 _ACEOF
7699 rm -f conftest.$ac_objext
7700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7701 (eval $ac_compile) 2>conftest.er1
7702 ac_status=$?
7703 grep -v '^ *+' conftest.er1 >conftest.err
7704 rm -f conftest.er1
7705 cat conftest.err >&5
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); } &&
7708 { ac_try='test -z "$ac_c_werror_flag"
7709 || test ! -s conftest.err'
7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 (eval $ac_try) 2>&5
7712 ac_status=$?
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); }; } &&
7715 { ac_try='test -s conftest.$ac_objext'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 (eval $ac_try) 2>&5
7718 ac_status=$?
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; }; then
7721 ac_hi=$ac_mid; break
7722 else
7723 echo "$as_me: failed program was:" >&5
7724 sed 's/^/| /' conftest.$ac_ext >&5
7726 ac_lo=`expr $ac_mid + 1`
7727 if test $ac_lo -le $ac_mid; then
7728 ac_lo= ac_hi=
7729 break
7731 ac_mid=`expr 2 '*' $ac_mid + 1`
7733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7734 done
7735 else
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 cat >conftest.$ac_ext <<_ACEOF
7740 /* confdefs.h. */
7741 _ACEOF
7742 cat confdefs.h >>conftest.$ac_ext
7743 cat >>conftest.$ac_ext <<_ACEOF
7744 /* end confdefs.h. */
7745 $ac_includes_default
7747 main ()
7749 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7750 test_array [0] = 0
7753 return 0;
7755 _ACEOF
7756 rm -f conftest.$ac_objext
7757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7758 (eval $ac_compile) 2>conftest.er1
7759 ac_status=$?
7760 grep -v '^ *+' conftest.er1 >conftest.err
7761 rm -f conftest.er1
7762 cat conftest.err >&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); } &&
7765 { ac_try='test -z "$ac_c_werror_flag"
7766 || test ! -s conftest.err'
7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768 (eval $ac_try) 2>&5
7769 ac_status=$?
7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771 (exit $ac_status); }; } &&
7772 { ac_try='test -s conftest.$ac_objext'
7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7774 (eval $ac_try) 2>&5
7775 ac_status=$?
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); }; }; then
7778 ac_hi=-1 ac_mid=-1
7779 while :; do
7780 cat >conftest.$ac_ext <<_ACEOF
7781 /* confdefs.h. */
7782 _ACEOF
7783 cat confdefs.h >>conftest.$ac_ext
7784 cat >>conftest.$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 $ac_includes_default
7788 main ()
7790 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7791 test_array [0] = 0
7794 return 0;
7796 _ACEOF
7797 rm -f conftest.$ac_objext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7799 (eval $ac_compile) 2>conftest.er1
7800 ac_status=$?
7801 grep -v '^ *+' conftest.er1 >conftest.err
7802 rm -f conftest.er1
7803 cat conftest.err >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try='test -z "$ac_c_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7809 (eval $ac_try) 2>&5
7810 ac_status=$?
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try='test -s conftest.$ac_objext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815 (eval $ac_try) 2>&5
7816 ac_status=$?
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7819 ac_lo=$ac_mid; break
7820 else
7821 echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_hi=`expr '(' $ac_mid ')' - 1`
7825 if test $ac_mid -le $ac_hi; then
7826 ac_lo= ac_hi=
7827 break
7829 ac_mid=`expr 2 '*' $ac_mid`
7831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7832 done
7833 else
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7837 ac_lo= ac_hi=
7839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7842 # Binary search between lo and hi bounds.
7843 while test "x$ac_lo" != "x$ac_hi"; do
7844 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7845 cat >conftest.$ac_ext <<_ACEOF
7846 /* confdefs.h. */
7847 _ACEOF
7848 cat confdefs.h >>conftest.$ac_ext
7849 cat >>conftest.$ac_ext <<_ACEOF
7850 /* end confdefs.h. */
7851 $ac_includes_default
7853 main ()
7855 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7856 test_array [0] = 0
7859 return 0;
7861 _ACEOF
7862 rm -f conftest.$ac_objext
7863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7864 (eval $ac_compile) 2>conftest.er1
7865 ac_status=$?
7866 grep -v '^ *+' conftest.er1 >conftest.err
7867 rm -f conftest.er1
7868 cat conftest.err >&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); } &&
7871 { ac_try='test -z "$ac_c_werror_flag"
7872 || test ! -s conftest.err'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7874 (eval $ac_try) 2>&5
7875 ac_status=$?
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; } &&
7878 { ac_try='test -s conftest.$ac_objext'
7879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7880 (eval $ac_try) 2>&5
7881 ac_status=$?
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); }; }; then
7884 ac_hi=$ac_mid
7885 else
7886 echo "$as_me: failed program was:" >&5
7887 sed 's/^/| /' conftest.$ac_ext >&5
7889 ac_lo=`expr '(' $ac_mid ')' + 1`
7891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7892 done
7893 case $ac_lo in
7894 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7895 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7896 See \`config.log' for more details." >&5
7897 echo "$as_me: error: cannot compute sizeof (void *), 77
7898 See \`config.log' for more details." >&2;}
7899 { (exit 1); exit 1; }; } ;;
7900 esac
7901 else
7902 if test "$cross_compiling" = yes; then
7903 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7904 See \`config.log' for more details." >&5
7905 echo "$as_me: error: cannot run test program while cross compiling
7906 See \`config.log' for more details." >&2;}
7907 { (exit 1); exit 1; }; }
7908 else
7909 cat >conftest.$ac_ext <<_ACEOF
7910 /* confdefs.h. */
7911 _ACEOF
7912 cat confdefs.h >>conftest.$ac_ext
7913 cat >>conftest.$ac_ext <<_ACEOF
7914 /* end confdefs.h. */
7915 $ac_includes_default
7916 long longval () { return (long) (sizeof (void *)); }
7917 unsigned long ulongval () { return (long) (sizeof (void *)); }
7918 #include <stdio.h>
7919 #include <stdlib.h>
7921 main ()
7924 FILE *f = fopen ("conftest.val", "w");
7925 if (! f)
7926 exit (1);
7927 if (((long) (sizeof (void *))) < 0)
7929 long i = longval ();
7930 if (i != ((long) (sizeof (void *))))
7931 exit (1);
7932 fprintf (f, "%ld\n", i);
7934 else
7936 unsigned long i = ulongval ();
7937 if (i != ((long) (sizeof (void *))))
7938 exit (1);
7939 fprintf (f, "%lu\n", i);
7941 exit (ferror (f) || fclose (f) != 0);
7944 return 0;
7946 _ACEOF
7947 rm -f conftest$ac_exeext
7948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7949 (eval $ac_link) 2>&5
7950 ac_status=$?
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7954 (eval $ac_try) 2>&5
7955 ac_status=$?
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); }; }; then
7958 ac_cv_sizeof_void_p=`cat conftest.val`
7959 else
7960 echo "$as_me: program exited with status $ac_status" >&5
7961 echo "$as_me: failed program was:" >&5
7962 sed 's/^/| /' conftest.$ac_ext >&5
7964 ( exit $ac_status )
7965 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7966 See \`config.log' for more details." >&5
7967 echo "$as_me: error: cannot compute sizeof (void *), 77
7968 See \`config.log' for more details." >&2;}
7969 { (exit 1); exit 1; }; }
7971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7974 rm -f conftest.val
7975 else
7976 ac_cv_sizeof_void_p=0
7979 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7980 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7981 cat >>confdefs.h <<_ACEOF
7982 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7983 _ACEOF
7986 esac
7988 # Lacking an uint64_t? Test size of long
7989 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7990 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7991 echo $ECHO_N "checking for long... $ECHO_C" >&6
7992 if test "${ac_cv_type_long+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 else
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h. */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8001 $ac_includes_default
8003 main ()
8005 if ((long *) 0)
8006 return 0;
8007 if (sizeof (long))
8008 return 0;
8010 return 0;
8012 _ACEOF
8013 rm -f conftest.$ac_objext
8014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8015 (eval $ac_compile) 2>conftest.er1
8016 ac_status=$?
8017 grep -v '^ *+' conftest.er1 >conftest.err
8018 rm -f conftest.er1
8019 cat conftest.err >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } &&
8022 { ac_try='test -z "$ac_c_werror_flag"
8023 || test ! -s conftest.err'
8024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025 (eval $ac_try) 2>&5
8026 ac_status=$?
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }; } &&
8029 { ac_try='test -s conftest.$ac_objext'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8031 (eval $ac_try) 2>&5
8032 ac_status=$?
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; }; then
8035 ac_cv_type_long=yes
8036 else
8037 echo "$as_me: failed program was:" >&5
8038 sed 's/^/| /' conftest.$ac_ext >&5
8040 ac_cv_type_long=no
8042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8044 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8045 echo "${ECHO_T}$ac_cv_type_long" >&6
8047 echo "$as_me:$LINENO: checking size of long" >&5
8048 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8049 if test "${ac_cv_sizeof_long+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 else
8052 if test "$ac_cv_type_long" = yes; then
8053 # The cast to unsigned long works around a bug in the HP C Compiler
8054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8056 # This bug is HP SR number 8606223364.
8057 if test "$cross_compiling" = yes; then
8058 # Depending upon the size, compute the lo and hi bounds.
8059 cat >conftest.$ac_ext <<_ACEOF
8060 /* confdefs.h. */
8061 _ACEOF
8062 cat confdefs.h >>conftest.$ac_ext
8063 cat >>conftest.$ac_ext <<_ACEOF
8064 /* end confdefs.h. */
8065 $ac_includes_default
8067 main ()
8069 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8070 test_array [0] = 0
8073 return 0;
8075 _ACEOF
8076 rm -f conftest.$ac_objext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8078 (eval $ac_compile) 2>conftest.er1
8079 ac_status=$?
8080 grep -v '^ *+' conftest.er1 >conftest.err
8081 rm -f conftest.er1
8082 cat conftest.err >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try='test -z "$ac_c_werror_flag"
8086 || test ! -s conftest.err'
8087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8088 (eval $ac_try) 2>&5
8089 ac_status=$?
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); }; } &&
8092 { ac_try='test -s conftest.$ac_objext'
8093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8094 (eval $ac_try) 2>&5
8095 ac_status=$?
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; }; then
8098 ac_lo=0 ac_mid=0
8099 while :; do
8100 cat >conftest.$ac_ext <<_ACEOF
8101 /* confdefs.h. */
8102 _ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8106 $ac_includes_default
8108 main ()
8110 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8111 test_array [0] = 0
8114 return 0;
8116 _ACEOF
8117 rm -f conftest.$ac_objext
8118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8119 (eval $ac_compile) 2>conftest.er1
8120 ac_status=$?
8121 grep -v '^ *+' conftest.er1 >conftest.err
8122 rm -f conftest.er1
8123 cat conftest.err >&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); } &&
8126 { ac_try='test -z "$ac_c_werror_flag"
8127 || test ! -s conftest.err'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 (eval $ac_try) 2>&5
8130 ac_status=$?
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; } &&
8133 { ac_try='test -s conftest.$ac_objext'
8134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 (eval $ac_try) 2>&5
8136 ac_status=$?
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; }; then
8139 ac_hi=$ac_mid; break
8140 else
8141 echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.$ac_ext >&5
8144 ac_lo=`expr $ac_mid + 1`
8145 if test $ac_lo -le $ac_mid; then
8146 ac_lo= ac_hi=
8147 break
8149 ac_mid=`expr 2 '*' $ac_mid + 1`
8151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8152 done
8153 else
8154 echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8157 cat >conftest.$ac_ext <<_ACEOF
8158 /* confdefs.h. */
8159 _ACEOF
8160 cat confdefs.h >>conftest.$ac_ext
8161 cat >>conftest.$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 $ac_includes_default
8165 main ()
8167 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8168 test_array [0] = 0
8171 return 0;
8173 _ACEOF
8174 rm -f conftest.$ac_objext
8175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8176 (eval $ac_compile) 2>conftest.er1
8177 ac_status=$?
8178 grep -v '^ *+' conftest.er1 >conftest.err
8179 rm -f conftest.er1
8180 cat conftest.err >&5
8181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 (exit $ac_status); } &&
8183 { ac_try='test -z "$ac_c_werror_flag"
8184 || test ! -s conftest.err'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 (eval $ac_try) 2>&5
8187 ac_status=$?
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; } &&
8190 { ac_try='test -s conftest.$ac_objext'
8191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 (eval $ac_try) 2>&5
8193 ac_status=$?
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); }; }; then
8196 ac_hi=-1 ac_mid=-1
8197 while :; do
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8204 $ac_includes_default
8206 main ()
8208 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8209 test_array [0] = 0
8212 return 0;
8214 _ACEOF
8215 rm -f conftest.$ac_objext
8216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8217 (eval $ac_compile) 2>conftest.er1
8218 ac_status=$?
8219 grep -v '^ *+' conftest.er1 >conftest.err
8220 rm -f conftest.er1
8221 cat conftest.err >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); } &&
8224 { ac_try='test -z "$ac_c_werror_flag"
8225 || test ! -s conftest.err'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8227 (eval $ac_try) 2>&5
8228 ac_status=$?
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; } &&
8231 { ac_try='test -s conftest.$ac_objext'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8233 (eval $ac_try) 2>&5
8234 ac_status=$?
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; }; then
8237 ac_lo=$ac_mid; break
8238 else
8239 echo "$as_me: failed program was:" >&5
8240 sed 's/^/| /' conftest.$ac_ext >&5
8242 ac_hi=`expr '(' $ac_mid ')' - 1`
8243 if test $ac_mid -le $ac_hi; then
8244 ac_lo= ac_hi=
8245 break
8247 ac_mid=`expr 2 '*' $ac_mid`
8249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8250 done
8251 else
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8255 ac_lo= ac_hi=
8257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8260 # Binary search between lo and hi bounds.
8261 while test "x$ac_lo" != "x$ac_hi"; do
8262 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8263 cat >conftest.$ac_ext <<_ACEOF
8264 /* confdefs.h. */
8265 _ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 $ac_includes_default
8271 main ()
8273 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8274 test_array [0] = 0
8277 return 0;
8279 _ACEOF
8280 rm -f conftest.$ac_objext
8281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8282 (eval $ac_compile) 2>conftest.er1
8283 ac_status=$?
8284 grep -v '^ *+' conftest.er1 >conftest.err
8285 rm -f conftest.er1
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } &&
8289 { ac_try='test -z "$ac_c_werror_flag"
8290 || test ! -s conftest.err'
8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292 (eval $ac_try) 2>&5
8293 ac_status=$?
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; } &&
8296 { ac_try='test -s conftest.$ac_objext'
8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 (eval $ac_try) 2>&5
8299 ac_status=$?
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; }; then
8302 ac_hi=$ac_mid
8303 else
8304 echo "$as_me: failed program was:" >&5
8305 sed 's/^/| /' conftest.$ac_ext >&5
8307 ac_lo=`expr '(' $ac_mid ')' + 1`
8309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8310 done
8311 case $ac_lo in
8312 ?*) ac_cv_sizeof_long=$ac_lo;;
8313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8314 See \`config.log' for more details." >&5
8315 echo "$as_me: error: cannot compute sizeof (long), 77
8316 See \`config.log' for more details." >&2;}
8317 { (exit 1); exit 1; }; } ;;
8318 esac
8319 else
8320 if test "$cross_compiling" = yes; then
8321 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8322 See \`config.log' for more details." >&5
8323 echo "$as_me: error: cannot run test program while cross compiling
8324 See \`config.log' for more details." >&2;}
8325 { (exit 1); exit 1; }; }
8326 else
8327 cat >conftest.$ac_ext <<_ACEOF
8328 /* confdefs.h. */
8329 _ACEOF
8330 cat confdefs.h >>conftest.$ac_ext
8331 cat >>conftest.$ac_ext <<_ACEOF
8332 /* end confdefs.h. */
8333 $ac_includes_default
8334 long longval () { return (long) (sizeof (long)); }
8335 unsigned long ulongval () { return (long) (sizeof (long)); }
8336 #include <stdio.h>
8337 #include <stdlib.h>
8339 main ()
8342 FILE *f = fopen ("conftest.val", "w");
8343 if (! f)
8344 exit (1);
8345 if (((long) (sizeof (long))) < 0)
8347 long i = longval ();
8348 if (i != ((long) (sizeof (long))))
8349 exit (1);
8350 fprintf (f, "%ld\n", i);
8352 else
8354 unsigned long i = ulongval ();
8355 if (i != ((long) (sizeof (long))))
8356 exit (1);
8357 fprintf (f, "%lu\n", i);
8359 exit (ferror (f) || fclose (f) != 0);
8362 return 0;
8364 _ACEOF
8365 rm -f conftest$ac_exeext
8366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8367 (eval $ac_link) 2>&5
8368 ac_status=$?
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 (eval $ac_try) 2>&5
8373 ac_status=$?
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; }; then
8376 ac_cv_sizeof_long=`cat conftest.val`
8377 else
8378 echo "$as_me: program exited with status $ac_status" >&5
8379 echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.$ac_ext >&5
8382 ( exit $ac_status )
8383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8384 See \`config.log' for more details." >&5
8385 echo "$as_me: error: cannot compute sizeof (long), 77
8386 See \`config.log' for more details." >&2;}
8387 { (exit 1); exit 1; }; }
8389 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8392 rm -f conftest.val
8393 else
8394 ac_cv_sizeof_long=0
8397 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8399 cat >>confdefs.h <<_ACEOF
8400 #define SIZEOF_LONG $ac_cv_sizeof_long
8401 _ACEOF
8404 esac
8406 if test $acx_cv_header_stdint = stddef.h; then
8407 # Lacking a good header? Test size of everything and deduce all types.
8408 echo "$as_me:$LINENO: checking for int" >&5
8409 echo $ECHO_N "checking for int... $ECHO_C" >&6
8410 if test "${ac_cv_type_int+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 else
8413 cat >conftest.$ac_ext <<_ACEOF
8414 /* confdefs.h. */
8415 _ACEOF
8416 cat confdefs.h >>conftest.$ac_ext
8417 cat >>conftest.$ac_ext <<_ACEOF
8418 /* end confdefs.h. */
8419 $ac_includes_default
8421 main ()
8423 if ((int *) 0)
8424 return 0;
8425 if (sizeof (int))
8426 return 0;
8428 return 0;
8430 _ACEOF
8431 rm -f conftest.$ac_objext
8432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8433 (eval $ac_compile) 2>conftest.er1
8434 ac_status=$?
8435 grep -v '^ *+' conftest.er1 >conftest.err
8436 rm -f conftest.er1
8437 cat conftest.err >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); } &&
8440 { ac_try='test -z "$ac_c_werror_flag"
8441 || test ! -s conftest.err'
8442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8443 (eval $ac_try) 2>&5
8444 ac_status=$?
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); }; } &&
8447 { ac_try='test -s conftest.$ac_objext'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8449 (eval $ac_try) 2>&5
8450 ac_status=$?
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; }; then
8453 ac_cv_type_int=yes
8454 else
8455 echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.$ac_ext >&5
8458 ac_cv_type_int=no
8460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8462 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8463 echo "${ECHO_T}$ac_cv_type_int" >&6
8465 echo "$as_me:$LINENO: checking size of int" >&5
8466 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8467 if test "${ac_cv_sizeof_int+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 else
8470 if test "$ac_cv_type_int" = yes; then
8471 # The cast to unsigned long works around a bug in the HP C Compiler
8472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8474 # This bug is HP SR number 8606223364.
8475 if test "$cross_compiling" = yes; then
8476 # Depending upon the size, compute the lo and hi bounds.
8477 cat >conftest.$ac_ext <<_ACEOF
8478 /* confdefs.h. */
8479 _ACEOF
8480 cat confdefs.h >>conftest.$ac_ext
8481 cat >>conftest.$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8483 $ac_includes_default
8485 main ()
8487 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8488 test_array [0] = 0
8491 return 0;
8493 _ACEOF
8494 rm -f conftest.$ac_objext
8495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8496 (eval $ac_compile) 2>conftest.er1
8497 ac_status=$?
8498 grep -v '^ *+' conftest.er1 >conftest.err
8499 rm -f conftest.er1
8500 cat conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } &&
8503 { ac_try='test -z "$ac_c_werror_flag"
8504 || test ! -s conftest.err'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 (eval $ac_try) 2>&5
8507 ac_status=$?
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try='test -s conftest.$ac_objext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 (eval $ac_try) 2>&5
8513 ac_status=$?
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; }; then
8516 ac_lo=0 ac_mid=0
8517 while :; do
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 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8529 test_array [0] = 0
8532 return 0;
8534 _ACEOF
8535 rm -f conftest.$ac_objext
8536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8537 (eval $ac_compile) 2>conftest.er1
8538 ac_status=$?
8539 grep -v '^ *+' conftest.er1 >conftest.err
8540 rm -f conftest.er1
8541 cat conftest.err >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } &&
8544 { ac_try='test -z "$ac_c_werror_flag"
8545 || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547 (eval $ac_try) 2>&5
8548 ac_status=$?
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try='test -s conftest.$ac_objext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553 (eval $ac_try) 2>&5
8554 ac_status=$?
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 ac_hi=$ac_mid; break
8558 else
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.$ac_ext >&5
8562 ac_lo=`expr $ac_mid + 1`
8563 if test $ac_lo -le $ac_mid; then
8564 ac_lo= ac_hi=
8565 break
8567 ac_mid=`expr 2 '*' $ac_mid + 1`
8569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8570 done
8571 else
8572 echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8575 cat >conftest.$ac_ext <<_ACEOF
8576 /* confdefs.h. */
8577 _ACEOF
8578 cat confdefs.h >>conftest.$ac_ext
8579 cat >>conftest.$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8581 $ac_includes_default
8583 main ()
8585 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8586 test_array [0] = 0
8589 return 0;
8591 _ACEOF
8592 rm -f conftest.$ac_objext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8594 (eval $ac_compile) 2>conftest.er1
8595 ac_status=$?
8596 grep -v '^ *+' conftest.er1 >conftest.err
8597 rm -f conftest.er1
8598 cat conftest.err >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); } &&
8601 { ac_try='test -z "$ac_c_werror_flag"
8602 || test ! -s conftest.err'
8603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604 (eval $ac_try) 2>&5
8605 ac_status=$?
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); }; } &&
8608 { ac_try='test -s conftest.$ac_objext'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 (eval $ac_try) 2>&5
8611 ac_status=$?
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; }; then
8614 ac_hi=-1 ac_mid=-1
8615 while :; do
8616 cat >conftest.$ac_ext <<_ACEOF
8617 /* confdefs.h. */
8618 _ACEOF
8619 cat confdefs.h >>conftest.$ac_ext
8620 cat >>conftest.$ac_ext <<_ACEOF
8621 /* end confdefs.h. */
8622 $ac_includes_default
8624 main ()
8626 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8627 test_array [0] = 0
8630 return 0;
8632 _ACEOF
8633 rm -f conftest.$ac_objext
8634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8635 (eval $ac_compile) 2>conftest.er1
8636 ac_status=$?
8637 grep -v '^ *+' conftest.er1 >conftest.err
8638 rm -f conftest.er1
8639 cat conftest.err >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } &&
8642 { ac_try='test -z "$ac_c_werror_flag"
8643 || test ! -s conftest.err'
8644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8645 (eval $ac_try) 2>&5
8646 ac_status=$?
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); }; } &&
8649 { ac_try='test -s conftest.$ac_objext'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8651 (eval $ac_try) 2>&5
8652 ac_status=$?
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; }; then
8655 ac_lo=$ac_mid; break
8656 else
8657 echo "$as_me: failed program was:" >&5
8658 sed 's/^/| /' conftest.$ac_ext >&5
8660 ac_hi=`expr '(' $ac_mid ')' - 1`
8661 if test $ac_mid -le $ac_hi; then
8662 ac_lo= ac_hi=
8663 break
8665 ac_mid=`expr 2 '*' $ac_mid`
8667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8668 done
8669 else
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.$ac_ext >&5
8673 ac_lo= ac_hi=
8675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8678 # Binary search between lo and hi bounds.
8679 while test "x$ac_lo" != "x$ac_hi"; do
8680 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8681 cat >conftest.$ac_ext <<_ACEOF
8682 /* confdefs.h. */
8683 _ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8687 $ac_includes_default
8689 main ()
8691 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8692 test_array [0] = 0
8695 return 0;
8697 _ACEOF
8698 rm -f conftest.$ac_objext
8699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8700 (eval $ac_compile) 2>conftest.er1
8701 ac_status=$?
8702 grep -v '^ *+' conftest.er1 >conftest.err
8703 rm -f conftest.er1
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try='test -z "$ac_c_werror_flag"
8708 || test ! -s conftest.err'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 (eval $ac_try) 2>&5
8711 ac_status=$?
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; } &&
8714 { ac_try='test -s conftest.$ac_objext'
8715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 (eval $ac_try) 2>&5
8717 ac_status=$?
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); }; }; then
8720 ac_hi=$ac_mid
8721 else
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.$ac_ext >&5
8725 ac_lo=`expr '(' $ac_mid ')' + 1`
8727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8728 done
8729 case $ac_lo in
8730 ?*) ac_cv_sizeof_int=$ac_lo;;
8731 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8732 See \`config.log' for more details." >&5
8733 echo "$as_me: error: cannot compute sizeof (int), 77
8734 See \`config.log' for more details." >&2;}
8735 { (exit 1); exit 1; }; } ;;
8736 esac
8737 else
8738 if test "$cross_compiling" = yes; then
8739 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8740 See \`config.log' for more details." >&5
8741 echo "$as_me: error: cannot run test program while cross compiling
8742 See \`config.log' for more details." >&2;}
8743 { (exit 1); exit 1; }; }
8744 else
8745 cat >conftest.$ac_ext <<_ACEOF
8746 /* confdefs.h. */
8747 _ACEOF
8748 cat confdefs.h >>conftest.$ac_ext
8749 cat >>conftest.$ac_ext <<_ACEOF
8750 /* end confdefs.h. */
8751 $ac_includes_default
8752 long longval () { return (long) (sizeof (int)); }
8753 unsigned long ulongval () { return (long) (sizeof (int)); }
8754 #include <stdio.h>
8755 #include <stdlib.h>
8757 main ()
8760 FILE *f = fopen ("conftest.val", "w");
8761 if (! f)
8762 exit (1);
8763 if (((long) (sizeof (int))) < 0)
8765 long i = longval ();
8766 if (i != ((long) (sizeof (int))))
8767 exit (1);
8768 fprintf (f, "%ld\n", i);
8770 else
8772 unsigned long i = ulongval ();
8773 if (i != ((long) (sizeof (int))))
8774 exit (1);
8775 fprintf (f, "%lu\n", i);
8777 exit (ferror (f) || fclose (f) != 0);
8780 return 0;
8782 _ACEOF
8783 rm -f conftest$ac_exeext
8784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8785 (eval $ac_link) 2>&5
8786 ac_status=$?
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8790 (eval $ac_try) 2>&5
8791 ac_status=$?
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_sizeof_int=`cat conftest.val`
8795 else
8796 echo "$as_me: program exited with status $ac_status" >&5
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8800 ( exit $ac_status )
8801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8802 See \`config.log' for more details." >&5
8803 echo "$as_me: error: cannot compute sizeof (int), 77
8804 See \`config.log' for more details." >&2;}
8805 { (exit 1); exit 1; }; }
8807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8810 rm -f conftest.val
8811 else
8812 ac_cv_sizeof_int=0
8815 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8816 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8817 cat >>confdefs.h <<_ACEOF
8818 #define SIZEOF_INT $ac_cv_sizeof_int
8819 _ACEOF
8822 echo "$as_me:$LINENO: checking for short" >&5
8823 echo $ECHO_N "checking for short... $ECHO_C" >&6
8824 if test "${ac_cv_type_short+set}" = set; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8826 else
8827 cat >conftest.$ac_ext <<_ACEOF
8828 /* confdefs.h. */
8829 _ACEOF
8830 cat confdefs.h >>conftest.$ac_ext
8831 cat >>conftest.$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8833 $ac_includes_default
8835 main ()
8837 if ((short *) 0)
8838 return 0;
8839 if (sizeof (short))
8840 return 0;
8842 return 0;
8844 _ACEOF
8845 rm -f conftest.$ac_objext
8846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8847 (eval $ac_compile) 2>conftest.er1
8848 ac_status=$?
8849 grep -v '^ *+' conftest.er1 >conftest.err
8850 rm -f conftest.er1
8851 cat conftest.err >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); } &&
8854 { ac_try='test -z "$ac_c_werror_flag"
8855 || test ! -s conftest.err'
8856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8857 (eval $ac_try) 2>&5
8858 ac_status=$?
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); }; } &&
8861 { ac_try='test -s conftest.$ac_objext'
8862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8863 (eval $ac_try) 2>&5
8864 ac_status=$?
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); }; }; then
8867 ac_cv_type_short=yes
8868 else
8869 echo "$as_me: failed program was:" >&5
8870 sed 's/^/| /' conftest.$ac_ext >&5
8872 ac_cv_type_short=no
8874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8876 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8877 echo "${ECHO_T}$ac_cv_type_short" >&6
8879 echo "$as_me:$LINENO: checking size of short" >&5
8880 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8881 if test "${ac_cv_sizeof_short+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8883 else
8884 if test "$ac_cv_type_short" = yes; then
8885 # The cast to unsigned long works around a bug in the HP C Compiler
8886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8888 # This bug is HP SR number 8606223364.
8889 if test "$cross_compiling" = yes; then
8890 # Depending upon the size, compute the lo and hi bounds.
8891 cat >conftest.$ac_ext <<_ACEOF
8892 /* confdefs.h. */
8893 _ACEOF
8894 cat confdefs.h >>conftest.$ac_ext
8895 cat >>conftest.$ac_ext <<_ACEOF
8896 /* end confdefs.h. */
8897 $ac_includes_default
8899 main ()
8901 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8902 test_array [0] = 0
8905 return 0;
8907 _ACEOF
8908 rm -f conftest.$ac_objext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910 (eval $ac_compile) 2>conftest.er1
8911 ac_status=$?
8912 grep -v '^ *+' conftest.er1 >conftest.err
8913 rm -f conftest.er1
8914 cat conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } &&
8917 { ac_try='test -z "$ac_c_werror_flag"
8918 || test ! -s conftest.err'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8920 (eval $ac_try) 2>&5
8921 ac_status=$?
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try='test -s conftest.$ac_objext'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8926 (eval $ac_try) 2>&5
8927 ac_status=$?
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; }; then
8930 ac_lo=0 ac_mid=0
8931 while :; do
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 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8943 test_array [0] = 0
8946 return 0;
8948 _ACEOF
8949 rm -f conftest.$ac_objext
8950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8951 (eval $ac_compile) 2>conftest.er1
8952 ac_status=$?
8953 grep -v '^ *+' conftest.er1 >conftest.err
8954 rm -f conftest.er1
8955 cat conftest.err >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); } &&
8958 { ac_try='test -z "$ac_c_werror_flag"
8959 || test ! -s conftest.err'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961 (eval $ac_try) 2>&5
8962 ac_status=$?
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; } &&
8965 { ac_try='test -s conftest.$ac_objext'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 (eval $ac_try) 2>&5
8968 ac_status=$?
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; }; then
8971 ac_hi=$ac_mid; break
8972 else
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8976 ac_lo=`expr $ac_mid + 1`
8977 if test $ac_lo -le $ac_mid; then
8978 ac_lo= ac_hi=
8979 break
8981 ac_mid=`expr 2 '*' $ac_mid + 1`
8983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8984 done
8985 else
8986 echo "$as_me: failed program was:" >&5
8987 sed 's/^/| /' conftest.$ac_ext >&5
8989 cat >conftest.$ac_ext <<_ACEOF
8990 /* confdefs.h. */
8991 _ACEOF
8992 cat confdefs.h >>conftest.$ac_ext
8993 cat >>conftest.$ac_ext <<_ACEOF
8994 /* end confdefs.h. */
8995 $ac_includes_default
8997 main ()
8999 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
9000 test_array [0] = 0
9003 return 0;
9005 _ACEOF
9006 rm -f conftest.$ac_objext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>conftest.er1
9009 ac_status=$?
9010 grep -v '^ *+' conftest.er1 >conftest.err
9011 rm -f conftest.er1
9012 cat conftest.err >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } &&
9015 { ac_try='test -z "$ac_c_werror_flag"
9016 || test ! -s conftest.err'
9017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9018 (eval $ac_try) 2>&5
9019 ac_status=$?
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); }; } &&
9022 { ac_try='test -s conftest.$ac_objext'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 (eval $ac_try) 2>&5
9025 ac_status=$?
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }; }; then
9028 ac_hi=-1 ac_mid=-1
9029 while :; do
9030 cat >conftest.$ac_ext <<_ACEOF
9031 /* confdefs.h. */
9032 _ACEOF
9033 cat confdefs.h >>conftest.$ac_ext
9034 cat >>conftest.$ac_ext <<_ACEOF
9035 /* end confdefs.h. */
9036 $ac_includes_default
9038 main ()
9040 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
9041 test_array [0] = 0
9044 return 0;
9046 _ACEOF
9047 rm -f conftest.$ac_objext
9048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9049 (eval $ac_compile) 2>conftest.er1
9050 ac_status=$?
9051 grep -v '^ *+' conftest.er1 >conftest.err
9052 rm -f conftest.er1
9053 cat conftest.err >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); } &&
9056 { ac_try='test -z "$ac_c_werror_flag"
9057 || test ! -s conftest.err'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059 (eval $ac_try) 2>&5
9060 ac_status=$?
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; } &&
9063 { ac_try='test -s conftest.$ac_objext'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065 (eval $ac_try) 2>&5
9066 ac_status=$?
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; }; then
9069 ac_lo=$ac_mid; break
9070 else
9071 echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9074 ac_hi=`expr '(' $ac_mid ')' - 1`
9075 if test $ac_mid -le $ac_hi; then
9076 ac_lo= ac_hi=
9077 break
9079 ac_mid=`expr 2 '*' $ac_mid`
9081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9082 done
9083 else
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_lo= ac_hi=
9089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9092 # Binary search between lo and hi bounds.
9093 while test "x$ac_lo" != "x$ac_hi"; do
9094 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9095 cat >conftest.$ac_ext <<_ACEOF
9096 /* confdefs.h. */
9097 _ACEOF
9098 cat confdefs.h >>conftest.$ac_ext
9099 cat >>conftest.$ac_ext <<_ACEOF
9100 /* end confdefs.h. */
9101 $ac_includes_default
9103 main ()
9105 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9106 test_array [0] = 0
9109 return 0;
9111 _ACEOF
9112 rm -f conftest.$ac_objext
9113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9114 (eval $ac_compile) 2>conftest.er1
9115 ac_status=$?
9116 grep -v '^ *+' conftest.er1 >conftest.err
9117 rm -f conftest.er1
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_c_werror_flag"
9122 || test ! -s conftest.err'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 (eval $ac_try) 2>&5
9125 ac_status=$?
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; } &&
9128 { ac_try='test -s conftest.$ac_objext'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 (eval $ac_try) 2>&5
9131 ac_status=$?
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; }; then
9134 ac_hi=$ac_mid
9135 else
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9139 ac_lo=`expr '(' $ac_mid ')' + 1`
9141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9142 done
9143 case $ac_lo in
9144 ?*) ac_cv_sizeof_short=$ac_lo;;
9145 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9146 See \`config.log' for more details." >&5
9147 echo "$as_me: error: cannot compute sizeof (short), 77
9148 See \`config.log' for more details." >&2;}
9149 { (exit 1); exit 1; }; } ;;
9150 esac
9151 else
9152 if test "$cross_compiling" = yes; then
9153 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9154 See \`config.log' for more details." >&5
9155 echo "$as_me: error: cannot run test program while cross compiling
9156 See \`config.log' for more details." >&2;}
9157 { (exit 1); exit 1; }; }
9158 else
9159 cat >conftest.$ac_ext <<_ACEOF
9160 /* confdefs.h. */
9161 _ACEOF
9162 cat confdefs.h >>conftest.$ac_ext
9163 cat >>conftest.$ac_ext <<_ACEOF
9164 /* end confdefs.h. */
9165 $ac_includes_default
9166 long longval () { return (long) (sizeof (short)); }
9167 unsigned long ulongval () { return (long) (sizeof (short)); }
9168 #include <stdio.h>
9169 #include <stdlib.h>
9171 main ()
9174 FILE *f = fopen ("conftest.val", "w");
9175 if (! f)
9176 exit (1);
9177 if (((long) (sizeof (short))) < 0)
9179 long i = longval ();
9180 if (i != ((long) (sizeof (short))))
9181 exit (1);
9182 fprintf (f, "%ld\n", i);
9184 else
9186 unsigned long i = ulongval ();
9187 if (i != ((long) (sizeof (short))))
9188 exit (1);
9189 fprintf (f, "%lu\n", i);
9191 exit (ferror (f) || fclose (f) != 0);
9194 return 0;
9196 _ACEOF
9197 rm -f conftest$ac_exeext
9198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9199 (eval $ac_link) 2>&5
9200 ac_status=$?
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 (eval $ac_try) 2>&5
9205 ac_status=$?
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; }; then
9208 ac_cv_sizeof_short=`cat conftest.val`
9209 else
9210 echo "$as_me: program exited with status $ac_status" >&5
9211 echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.$ac_ext >&5
9214 ( exit $ac_status )
9215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9216 See \`config.log' for more details." >&5
9217 echo "$as_me: error: cannot compute sizeof (short), 77
9218 See \`config.log' for more details." >&2;}
9219 { (exit 1); exit 1; }; }
9221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9224 rm -f conftest.val
9225 else
9226 ac_cv_sizeof_short=0
9229 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9230 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9231 cat >>confdefs.h <<_ACEOF
9232 #define SIZEOF_SHORT $ac_cv_sizeof_short
9233 _ACEOF
9236 echo "$as_me:$LINENO: checking for char" >&5
9237 echo $ECHO_N "checking for char... $ECHO_C" >&6
9238 if test "${ac_cv_type_char+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9240 else
9241 cat >conftest.$ac_ext <<_ACEOF
9242 /* confdefs.h. */
9243 _ACEOF
9244 cat confdefs.h >>conftest.$ac_ext
9245 cat >>conftest.$ac_ext <<_ACEOF
9246 /* end confdefs.h. */
9247 $ac_includes_default
9249 main ()
9251 if ((char *) 0)
9252 return 0;
9253 if (sizeof (char))
9254 return 0;
9256 return 0;
9258 _ACEOF
9259 rm -f conftest.$ac_objext
9260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9261 (eval $ac_compile) 2>conftest.er1
9262 ac_status=$?
9263 grep -v '^ *+' conftest.er1 >conftest.err
9264 rm -f conftest.er1
9265 cat conftest.err >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); } &&
9268 { ac_try='test -z "$ac_c_werror_flag"
9269 || test ! -s conftest.err'
9270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9271 (eval $ac_try) 2>&5
9272 ac_status=$?
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); }; } &&
9275 { ac_try='test -s conftest.$ac_objext'
9276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9277 (eval $ac_try) 2>&5
9278 ac_status=$?
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); }; }; then
9281 ac_cv_type_char=yes
9282 else
9283 echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.$ac_ext >&5
9286 ac_cv_type_char=no
9288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9290 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9291 echo "${ECHO_T}$ac_cv_type_char" >&6
9293 echo "$as_me:$LINENO: checking size of char" >&5
9294 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9295 if test "${ac_cv_sizeof_char+set}" = set; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9297 else
9298 if test "$ac_cv_type_char" = yes; then
9299 # The cast to unsigned long works around a bug in the HP C Compiler
9300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9302 # This bug is HP SR number 8606223364.
9303 if test "$cross_compiling" = yes; then
9304 # Depending upon the size, compute the lo and hi bounds.
9305 cat >conftest.$ac_ext <<_ACEOF
9306 /* confdefs.h. */
9307 _ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9311 $ac_includes_default
9313 main ()
9315 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9316 test_array [0] = 0
9319 return 0;
9321 _ACEOF
9322 rm -f conftest.$ac_objext
9323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9324 (eval $ac_compile) 2>conftest.er1
9325 ac_status=$?
9326 grep -v '^ *+' conftest.er1 >conftest.err
9327 rm -f conftest.er1
9328 cat conftest.err >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); } &&
9331 { ac_try='test -z "$ac_c_werror_flag"
9332 || test ! -s conftest.err'
9333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 (eval $ac_try) 2>&5
9335 ac_status=$?
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); }; } &&
9338 { ac_try='test -s conftest.$ac_objext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 (eval $ac_try) 2>&5
9341 ac_status=$?
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9344 ac_lo=0 ac_mid=0
9345 while :; do
9346 cat >conftest.$ac_ext <<_ACEOF
9347 /* confdefs.h. */
9348 _ACEOF
9349 cat confdefs.h >>conftest.$ac_ext
9350 cat >>conftest.$ac_ext <<_ACEOF
9351 /* end confdefs.h. */
9352 $ac_includes_default
9354 main ()
9356 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9357 test_array [0] = 0
9360 return 0;
9362 _ACEOF
9363 rm -f conftest.$ac_objext
9364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9365 (eval $ac_compile) 2>conftest.er1
9366 ac_status=$?
9367 grep -v '^ *+' conftest.er1 >conftest.err
9368 rm -f conftest.er1
9369 cat conftest.err >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } &&
9372 { ac_try='test -z "$ac_c_werror_flag"
9373 || test ! -s conftest.err'
9374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9375 (eval $ac_try) 2>&5
9376 ac_status=$?
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); }; } &&
9379 { ac_try='test -s conftest.$ac_objext'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 (eval $ac_try) 2>&5
9382 ac_status=$?
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; }; then
9385 ac_hi=$ac_mid; break
9386 else
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 ac_lo=`expr $ac_mid + 1`
9391 if test $ac_lo -le $ac_mid; then
9392 ac_lo= ac_hi=
9393 break
9395 ac_mid=`expr 2 '*' $ac_mid + 1`
9397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9398 done
9399 else
9400 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.$ac_ext >&5
9403 cat >conftest.$ac_ext <<_ACEOF
9404 /* confdefs.h. */
9405 _ACEOF
9406 cat confdefs.h >>conftest.$ac_ext
9407 cat >>conftest.$ac_ext <<_ACEOF
9408 /* end confdefs.h. */
9409 $ac_includes_default
9411 main ()
9413 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9414 test_array [0] = 0
9417 return 0;
9419 _ACEOF
9420 rm -f conftest.$ac_objext
9421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9422 (eval $ac_compile) 2>conftest.er1
9423 ac_status=$?
9424 grep -v '^ *+' conftest.er1 >conftest.err
9425 rm -f conftest.er1
9426 cat conftest.err >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); } &&
9429 { ac_try='test -z "$ac_c_werror_flag"
9430 || test ! -s conftest.err'
9431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9432 (eval $ac_try) 2>&5
9433 ac_status=$?
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); }; } &&
9436 { ac_try='test -s conftest.$ac_objext'
9437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9438 (eval $ac_try) 2>&5
9439 ac_status=$?
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); }; }; then
9442 ac_hi=-1 ac_mid=-1
9443 while :; do
9444 cat >conftest.$ac_ext <<_ACEOF
9445 /* confdefs.h. */
9446 _ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9450 $ac_includes_default
9452 main ()
9454 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9455 test_array [0] = 0
9458 return 0;
9460 _ACEOF
9461 rm -f conftest.$ac_objext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9463 (eval $ac_compile) 2>conftest.er1
9464 ac_status=$?
9465 grep -v '^ *+' conftest.er1 >conftest.err
9466 rm -f conftest.er1
9467 cat conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try='test -z "$ac_c_werror_flag"
9471 || test ! -s conftest.err'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 (eval $ac_try) 2>&5
9474 ac_status=$?
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } &&
9477 { ac_try='test -s conftest.$ac_objext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 (eval $ac_try) 2>&5
9480 ac_status=$?
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 ac_lo=$ac_mid; break
9484 else
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 ac_hi=`expr '(' $ac_mid ')' - 1`
9489 if test $ac_mid -le $ac_hi; then
9490 ac_lo= ac_hi=
9491 break
9493 ac_mid=`expr 2 '*' $ac_mid`
9495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9496 done
9497 else
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.$ac_ext >&5
9501 ac_lo= ac_hi=
9503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9506 # Binary search between lo and hi bounds.
9507 while test "x$ac_lo" != "x$ac_hi"; do
9508 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9509 cat >conftest.$ac_ext <<_ACEOF
9510 /* confdefs.h. */
9511 _ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9515 $ac_includes_default
9517 main ()
9519 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9520 test_array [0] = 0
9523 return 0;
9525 _ACEOF
9526 rm -f conftest.$ac_objext
9527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9528 (eval $ac_compile) 2>conftest.er1
9529 ac_status=$?
9530 grep -v '^ *+' conftest.er1 >conftest.err
9531 rm -f conftest.er1
9532 cat conftest.err >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } &&
9535 { ac_try='test -z "$ac_c_werror_flag"
9536 || test ! -s conftest.err'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 (eval $ac_try) 2>&5
9539 ac_status=$?
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } &&
9542 { ac_try='test -s conftest.$ac_objext'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544 (eval $ac_try) 2>&5
9545 ac_status=$?
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; }; then
9548 ac_hi=$ac_mid
9549 else
9550 echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.$ac_ext >&5
9553 ac_lo=`expr '(' $ac_mid ')' + 1`
9555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9556 done
9557 case $ac_lo in
9558 ?*) ac_cv_sizeof_char=$ac_lo;;
9559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9560 See \`config.log' for more details." >&5
9561 echo "$as_me: error: cannot compute sizeof (char), 77
9562 See \`config.log' for more details." >&2;}
9563 { (exit 1); exit 1; }; } ;;
9564 esac
9565 else
9566 if test "$cross_compiling" = yes; then
9567 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9568 See \`config.log' for more details." >&5
9569 echo "$as_me: error: cannot run test program while cross compiling
9570 See \`config.log' for more details." >&2;}
9571 { (exit 1); exit 1; }; }
9572 else
9573 cat >conftest.$ac_ext <<_ACEOF
9574 /* confdefs.h. */
9575 _ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9579 $ac_includes_default
9580 long longval () { return (long) (sizeof (char)); }
9581 unsigned long ulongval () { return (long) (sizeof (char)); }
9582 #include <stdio.h>
9583 #include <stdlib.h>
9585 main ()
9588 FILE *f = fopen ("conftest.val", "w");
9589 if (! f)
9590 exit (1);
9591 if (((long) (sizeof (char))) < 0)
9593 long i = longval ();
9594 if (i != ((long) (sizeof (char))))
9595 exit (1);
9596 fprintf (f, "%ld\n", i);
9598 else
9600 unsigned long i = ulongval ();
9601 if (i != ((long) (sizeof (char))))
9602 exit (1);
9603 fprintf (f, "%lu\n", i);
9605 exit (ferror (f) || fclose (f) != 0);
9608 return 0;
9610 _ACEOF
9611 rm -f conftest$ac_exeext
9612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9613 (eval $ac_link) 2>&5
9614 ac_status=$?
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9618 (eval $ac_try) 2>&5
9619 ac_status=$?
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; }; then
9622 ac_cv_sizeof_char=`cat conftest.val`
9623 else
9624 echo "$as_me: program exited with status $ac_status" >&5
9625 echo "$as_me: failed program was:" >&5
9626 sed 's/^/| /' conftest.$ac_ext >&5
9628 ( exit $ac_status )
9629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9630 See \`config.log' for more details." >&5
9631 echo "$as_me: error: cannot compute sizeof (char), 77
9632 See \`config.log' for more details." >&2;}
9633 { (exit 1); exit 1; }; }
9635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9638 rm -f conftest.val
9639 else
9640 ac_cv_sizeof_char=0
9643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9644 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9645 cat >>confdefs.h <<_ACEOF
9646 #define SIZEOF_CHAR $ac_cv_sizeof_char
9647 _ACEOF
9651 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9652 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9653 case "$ac_cv_sizeof_char" in
9654 1) acx_cv_type_int8_t=char ;;
9655 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9656 echo "$as_me: error: no 8-bit type" >&2;}
9657 { (exit please report a bug); exit please report a bug; }; }
9658 esac
9659 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9660 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9662 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9663 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9664 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9665 2:*) acx_cv_type_int16_t=int ;;
9666 *:2) acx_cv_type_int16_t=short ;;
9667 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9668 echo "$as_me: error: no 16-bit type" >&2;}
9669 { (exit please report a bug); exit please report a bug; }; }
9670 esac
9671 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9672 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9674 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9675 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9676 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9677 4:*) acx_cv_type_int32_t=int ;;
9678 *:4) acx_cv_type_int32_t=long ;;
9679 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9680 echo "$as_me: error: no 32-bit type" >&2;}
9681 { (exit please report a bug); exit please report a bug; }; }
9682 esac
9683 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9684 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9687 # These tests are here to make the output prettier
9689 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9690 case "$ac_cv_sizeof_long" in
9691 8) acx_cv_type_int64_t=long ;;
9692 esac
9693 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9694 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9695 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9696 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9699 # Now we can use the above types
9701 if test "$ac_cv_type_uintptr_t" != yes; then
9702 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9703 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9704 case $ac_cv_sizeof_void_p in
9705 2) acx_cv_type_intptr_t=int16_t ;;
9706 4) acx_cv_type_intptr_t=int32_t ;;
9707 8) acx_cv_type_intptr_t=int64_t ;;
9708 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9709 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9710 { (exit please report a bug); exit please report a bug; }; }
9711 esac
9712 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9713 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9716 # ----------------- done all checks, emit header -------------
9717 ac_config_commands="$ac_config_commands gstdint.h"
9722 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9723 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9724 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9726 else
9727 cat >conftest.$ac_ext <<_ACEOF
9728 /* confdefs.h. */
9729 _ACEOF
9730 cat confdefs.h >>conftest.$ac_ext
9731 cat >>conftest.$ac_ext <<_ACEOF
9732 /* end confdefs.h. */
9733 $ac_includes_default
9735 main ()
9737 static struct stat ac_aggr;
9738 if (ac_aggr.st_blksize)
9739 return 0;
9741 return 0;
9743 _ACEOF
9744 rm -f conftest.$ac_objext
9745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9746 (eval $ac_compile) 2>conftest.er1
9747 ac_status=$?
9748 grep -v '^ *+' conftest.er1 >conftest.err
9749 rm -f conftest.er1
9750 cat conftest.err >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } &&
9753 { ac_try='test -z "$ac_c_werror_flag"
9754 || test ! -s conftest.err'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756 (eval $ac_try) 2>&5
9757 ac_status=$?
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; } &&
9760 { ac_try='test -s conftest.$ac_objext'
9761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762 (eval $ac_try) 2>&5
9763 ac_status=$?
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; }; then
9766 ac_cv_member_struct_stat_st_blksize=yes
9767 else
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.$ac_ext >&5
9771 cat >conftest.$ac_ext <<_ACEOF
9772 /* confdefs.h. */
9773 _ACEOF
9774 cat confdefs.h >>conftest.$ac_ext
9775 cat >>conftest.$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9777 $ac_includes_default
9779 main ()
9781 static struct stat ac_aggr;
9782 if (sizeof ac_aggr.st_blksize)
9783 return 0;
9785 return 0;
9787 _ACEOF
9788 rm -f conftest.$ac_objext
9789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9790 (eval $ac_compile) 2>conftest.er1
9791 ac_status=$?
9792 grep -v '^ *+' conftest.er1 >conftest.err
9793 rm -f conftest.er1
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try='test -z "$ac_c_werror_flag"
9798 || test ! -s conftest.err'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 (eval $ac_try) 2>&5
9801 ac_status=$?
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; } &&
9804 { ac_try='test -s conftest.$ac_objext'
9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9806 (eval $ac_try) 2>&5
9807 ac_status=$?
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); }; }; then
9810 ac_cv_member_struct_stat_st_blksize=yes
9811 else
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9815 ac_cv_member_struct_stat_st_blksize=no
9817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9821 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9822 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9823 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9825 cat >>confdefs.h <<_ACEOF
9826 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9827 _ACEOF
9832 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9833 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9834 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9835 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 else
9837 cat >conftest.$ac_ext <<_ACEOF
9838 /* confdefs.h. */
9839 _ACEOF
9840 cat confdefs.h >>conftest.$ac_ext
9841 cat >>conftest.$ac_ext <<_ACEOF
9842 /* end confdefs.h. */
9843 $ac_includes_default
9845 main ()
9847 static struct stat ac_aggr;
9848 if (ac_aggr.st_blocks)
9849 return 0;
9851 return 0;
9853 _ACEOF
9854 rm -f conftest.$ac_objext
9855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9856 (eval $ac_compile) 2>conftest.er1
9857 ac_status=$?
9858 grep -v '^ *+' conftest.er1 >conftest.err
9859 rm -f conftest.er1
9860 cat conftest.err >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } &&
9863 { ac_try='test -z "$ac_c_werror_flag"
9864 || test ! -s conftest.err'
9865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9866 (eval $ac_try) 2>&5
9867 ac_status=$?
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); }; } &&
9870 { ac_try='test -s conftest.$ac_objext'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9872 (eval $ac_try) 2>&5
9873 ac_status=$?
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; }; then
9876 ac_cv_member_struct_stat_st_blocks=yes
9877 else
9878 echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9881 cat >conftest.$ac_ext <<_ACEOF
9882 /* confdefs.h. */
9883 _ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9887 $ac_includes_default
9889 main ()
9891 static struct stat ac_aggr;
9892 if (sizeof ac_aggr.st_blocks)
9893 return 0;
9895 return 0;
9897 _ACEOF
9898 rm -f conftest.$ac_objext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9900 (eval $ac_compile) 2>conftest.er1
9901 ac_status=$?
9902 grep -v '^ *+' conftest.er1 >conftest.err
9903 rm -f conftest.er1
9904 cat conftest.err >&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try='test -z "$ac_c_werror_flag"
9908 || test ! -s conftest.err'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 (eval $ac_try) 2>&5
9911 ac_status=$?
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; } &&
9914 { ac_try='test -s conftest.$ac_objext'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916 (eval $ac_try) 2>&5
9917 ac_status=$?
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 ac_cv_member_struct_stat_st_blocks=yes
9921 else
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.$ac_ext >&5
9925 ac_cv_member_struct_stat_st_blocks=no
9927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9931 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9932 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9933 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9935 cat >>confdefs.h <<_ACEOF
9936 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9937 _ACEOF
9942 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9943 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9944 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 else
9947 cat >conftest.$ac_ext <<_ACEOF
9948 /* confdefs.h. */
9949 _ACEOF
9950 cat confdefs.h >>conftest.$ac_ext
9951 cat >>conftest.$ac_ext <<_ACEOF
9952 /* end confdefs.h. */
9953 $ac_includes_default
9955 main ()
9957 static struct stat ac_aggr;
9958 if (ac_aggr.st_rdev)
9959 return 0;
9961 return 0;
9963 _ACEOF
9964 rm -f conftest.$ac_objext
9965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9966 (eval $ac_compile) 2>conftest.er1
9967 ac_status=$?
9968 grep -v '^ *+' conftest.er1 >conftest.err
9969 rm -f conftest.er1
9970 cat conftest.err >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } &&
9973 { ac_try='test -z "$ac_c_werror_flag"
9974 || test ! -s conftest.err'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 (eval $ac_try) 2>&5
9977 ac_status=$?
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; } &&
9980 { ac_try='test -s conftest.$ac_objext'
9981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9982 (eval $ac_try) 2>&5
9983 ac_status=$?
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; }; then
9986 ac_cv_member_struct_stat_st_rdev=yes
9987 else
9988 echo "$as_me: failed program was:" >&5
9989 sed 's/^/| /' conftest.$ac_ext >&5
9991 cat >conftest.$ac_ext <<_ACEOF
9992 /* confdefs.h. */
9993 _ACEOF
9994 cat confdefs.h >>conftest.$ac_ext
9995 cat >>conftest.$ac_ext <<_ACEOF
9996 /* end confdefs.h. */
9997 $ac_includes_default
9999 main ()
10001 static struct stat ac_aggr;
10002 if (sizeof ac_aggr.st_rdev)
10003 return 0;
10005 return 0;
10007 _ACEOF
10008 rm -f conftest.$ac_objext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10010 (eval $ac_compile) 2>conftest.er1
10011 ac_status=$?
10012 grep -v '^ *+' conftest.er1 >conftest.err
10013 rm -f conftest.er1
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } &&
10017 { ac_try='test -z "$ac_c_werror_flag"
10018 || test ! -s conftest.err'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10021 ac_status=$?
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try='test -s conftest.$ac_objext'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10027 ac_status=$?
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; }; then
10030 ac_cv_member_struct_stat_st_rdev=yes
10031 else
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10035 ac_cv_member_struct_stat_st_rdev=no
10037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10041 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
10042 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
10043 if test $ac_cv_member_struct_stat_st_rdev = yes; then
10045 cat >>confdefs.h <<_ACEOF
10046 #define HAVE_STRUCT_STAT_ST_RDEV 1
10047 _ACEOF
10053 # Check for library functions.
10062 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
10064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10065 echo "$as_me:$LINENO: checking for $ac_func" >&5
10066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10067 if eval "test \"\${$as_ac_var+set}\" = set"; then
10068 echo $ECHO_N "(cached) $ECHO_C" >&6
10069 else
10070 if test x$gcc_no_link = xyes; then
10071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10073 { (exit 1); exit 1; }; }
10075 cat >conftest.$ac_ext <<_ACEOF
10076 /* confdefs.h. */
10077 _ACEOF
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10083 #define $ac_func innocuous_$ac_func
10085 /* System header to define __stub macros and hopefully few prototypes,
10086 which can conflict with char $ac_func (); below.
10087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10088 <limits.h> exists even on freestanding compilers. */
10090 #ifdef __STDC__
10091 # include <limits.h>
10092 #else
10093 # include <assert.h>
10094 #endif
10096 #undef $ac_func
10098 /* Override any gcc2 internal prototype to avoid an error. */
10099 #ifdef __cplusplus
10100 extern "C"
10102 #endif
10103 /* We use char because int might match the return type of a gcc2
10104 builtin and then its argument prototype would still apply. */
10105 char $ac_func ();
10106 /* The GNU C library defines this for functions which it implements
10107 to always fail with ENOSYS. Some functions are actually named
10108 something starting with __ and the normal name is an alias. */
10109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10110 choke me
10111 #else
10112 char (*f) () = $ac_func;
10113 #endif
10114 #ifdef __cplusplus
10116 #endif
10119 main ()
10121 return f != $ac_func;
10123 return 0;
10125 _ACEOF
10126 rm -f conftest.$ac_objext conftest$ac_exeext
10127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10128 (eval $ac_link) 2>conftest.er1
10129 ac_status=$?
10130 grep -v '^ *+' conftest.er1 >conftest.err
10131 rm -f conftest.er1
10132 cat conftest.err >&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); } &&
10135 { ac_try='test -z "$ac_c_werror_flag"
10136 || test ! -s conftest.err'
10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 (eval $ac_try) 2>&5
10139 ac_status=$?
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }; } &&
10142 { ac_try='test -s conftest$ac_exeext'
10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144 (eval $ac_try) 2>&5
10145 ac_status=$?
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; }; then
10148 eval "$as_ac_var=yes"
10149 else
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.$ac_ext >&5
10153 eval "$as_ac_var=no"
10155 rm -f conftest.err conftest.$ac_objext \
10156 conftest$ac_exeext conftest.$ac_ext
10158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10160 if test `eval echo '${'$as_ac_var'}'` = yes; then
10161 cat >>confdefs.h <<_ACEOF
10162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10163 _ACEOF
10166 done
10176 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
10178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10179 echo "$as_me:$LINENO: checking for $ac_func" >&5
10180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 if eval "test \"\${$as_ac_var+set}\" = set"; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 else
10184 if test x$gcc_no_link = xyes; then
10185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10187 { (exit 1); exit 1; }; }
10189 cat >conftest.$ac_ext <<_ACEOF
10190 /* confdefs.h. */
10191 _ACEOF
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10197 #define $ac_func innocuous_$ac_func
10199 /* System header to define __stub macros and hopefully few prototypes,
10200 which can conflict with char $ac_func (); below.
10201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10202 <limits.h> exists even on freestanding compilers. */
10204 #ifdef __STDC__
10205 # include <limits.h>
10206 #else
10207 # include <assert.h>
10208 #endif
10210 #undef $ac_func
10212 /* Override any gcc2 internal prototype to avoid an error. */
10213 #ifdef __cplusplus
10214 extern "C"
10216 #endif
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10219 char $ac_func ();
10220 /* The GNU C library defines this for functions which it implements
10221 to always fail with ENOSYS. Some functions are actually named
10222 something starting with __ and the normal name is an alias. */
10223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10224 choke me
10225 #else
10226 char (*f) () = $ac_func;
10227 #endif
10228 #ifdef __cplusplus
10230 #endif
10233 main ()
10235 return f != $ac_func;
10237 return 0;
10239 _ACEOF
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10242 (eval $ac_link) 2>conftest.er1
10243 ac_status=$?
10244 grep -v '^ *+' conftest.er1 >conftest.err
10245 rm -f conftest.er1
10246 cat conftest.err >&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } &&
10249 { ac_try='test -z "$ac_c_werror_flag"
10250 || test ! -s conftest.err'
10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5
10253 ac_status=$?
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); }; } &&
10256 { ac_try='test -s conftest$ac_exeext'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10259 ac_status=$?
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; }; then
10262 eval "$as_ac_var=yes"
10263 else
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10267 eval "$as_ac_var=no"
10269 rm -f conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10274 if test `eval echo '${'$as_ac_var'}'` = yes; then
10275 cat >>confdefs.h <<_ACEOF
10276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10277 _ACEOF
10280 done
10292 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
10294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10295 echo "$as_me:$LINENO: checking for $ac_func" >&5
10296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10297 if eval "test \"\${$as_ac_var+set}\" = set"; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 else
10300 if test x$gcc_no_link = xyes; then
10301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10303 { (exit 1); exit 1; }; }
10305 cat >conftest.$ac_ext <<_ACEOF
10306 /* confdefs.h. */
10307 _ACEOF
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10313 #define $ac_func innocuous_$ac_func
10315 /* System header to define __stub macros and hopefully few prototypes,
10316 which can conflict with char $ac_func (); below.
10317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10318 <limits.h> exists even on freestanding compilers. */
10320 #ifdef __STDC__
10321 # include <limits.h>
10322 #else
10323 # include <assert.h>
10324 #endif
10326 #undef $ac_func
10328 /* Override any gcc2 internal prototype to avoid an error. */
10329 #ifdef __cplusplus
10330 extern "C"
10332 #endif
10333 /* We use char because int might match the return type of a gcc2
10334 builtin and then its argument prototype would still apply. */
10335 char $ac_func ();
10336 /* The GNU C library defines this for functions which it implements
10337 to always fail with ENOSYS. Some functions are actually named
10338 something starting with __ and the normal name is an alias. */
10339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10340 choke me
10341 #else
10342 char (*f) () = $ac_func;
10343 #endif
10344 #ifdef __cplusplus
10346 #endif
10349 main ()
10351 return f != $ac_func;
10353 return 0;
10355 _ACEOF
10356 rm -f conftest.$ac_objext conftest$ac_exeext
10357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10358 (eval $ac_link) 2>conftest.er1
10359 ac_status=$?
10360 grep -v '^ *+' conftest.er1 >conftest.err
10361 rm -f conftest.er1
10362 cat conftest.err >&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } &&
10365 { ac_try='test -z "$ac_c_werror_flag"
10366 || test ! -s conftest.err'
10367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 (eval $ac_try) 2>&5
10369 ac_status=$?
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }; } &&
10372 { ac_try='test -s conftest$ac_exeext'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10375 ac_status=$?
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; }; then
10378 eval "$as_ac_var=yes"
10379 else
10380 echo "$as_me: failed program was:" >&5
10381 sed 's/^/| /' conftest.$ac_ext >&5
10383 eval "$as_ac_var=no"
10385 rm -f conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10390 if test `eval echo '${'$as_ac_var'}'` = yes; then
10391 cat >>confdefs.h <<_ACEOF
10392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10393 _ACEOF
10396 done
10407 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
10409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10410 echo "$as_me:$LINENO: checking for $ac_func" >&5
10411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10412 if eval "test \"\${$as_ac_var+set}\" = set"; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 else
10415 if test x$gcc_no_link = xyes; then
10416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10418 { (exit 1); exit 1; }; }
10420 cat >conftest.$ac_ext <<_ACEOF
10421 /* confdefs.h. */
10422 _ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10428 #define $ac_func innocuous_$ac_func
10430 /* System header to define __stub macros and hopefully few prototypes,
10431 which can conflict with char $ac_func (); below.
10432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10433 <limits.h> exists even on freestanding compilers. */
10435 #ifdef __STDC__
10436 # include <limits.h>
10437 #else
10438 # include <assert.h>
10439 #endif
10441 #undef $ac_func
10443 /* Override any gcc2 internal prototype to avoid an error. */
10444 #ifdef __cplusplus
10445 extern "C"
10447 #endif
10448 /* We use char because int might match the return type of a gcc2
10449 builtin and then its argument prototype would still apply. */
10450 char $ac_func ();
10451 /* The GNU C library defines this for functions which it implements
10452 to always fail with ENOSYS. Some functions are actually named
10453 something starting with __ and the normal name is an alias. */
10454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10455 choke me
10456 #else
10457 char (*f) () = $ac_func;
10458 #endif
10459 #ifdef __cplusplus
10461 #endif
10464 main ()
10466 return f != $ac_func;
10468 return 0;
10470 _ACEOF
10471 rm -f conftest.$ac_objext conftest$ac_exeext
10472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10473 (eval $ac_link) 2>conftest.er1
10474 ac_status=$?
10475 grep -v '^ *+' conftest.er1 >conftest.err
10476 rm -f conftest.er1
10477 cat conftest.err >&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); } &&
10480 { ac_try='test -z "$ac_c_werror_flag"
10481 || test ! -s conftest.err'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10484 ac_status=$?
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; } &&
10487 { ac_try='test -s conftest$ac_exeext'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10490 ac_status=$?
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; }; then
10493 eval "$as_ac_var=yes"
10494 else
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.$ac_ext >&5
10498 eval "$as_ac_var=no"
10500 rm -f conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10505 if test `eval echo '${'$as_ac_var'}'` = yes; then
10506 cat >>confdefs.h <<_ACEOF
10507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10508 _ACEOF
10511 done
10514 for ac_func in gettimeofday
10516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10517 echo "$as_me:$LINENO: checking for $ac_func" >&5
10518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10519 if eval "test \"\${$as_ac_var+set}\" = set"; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 else
10522 if test x$gcc_no_link = xyes; then
10523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10525 { (exit 1); exit 1; }; }
10527 cat >conftest.$ac_ext <<_ACEOF
10528 /* confdefs.h. */
10529 _ACEOF
10530 cat confdefs.h >>conftest.$ac_ext
10531 cat >>conftest.$ac_ext <<_ACEOF
10532 /* end confdefs.h. */
10533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10535 #define $ac_func innocuous_$ac_func
10537 /* System header to define __stub macros and hopefully few prototypes,
10538 which can conflict with char $ac_func (); below.
10539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10540 <limits.h> exists even on freestanding compilers. */
10542 #ifdef __STDC__
10543 # include <limits.h>
10544 #else
10545 # include <assert.h>
10546 #endif
10548 #undef $ac_func
10550 /* Override any gcc2 internal prototype to avoid an error. */
10551 #ifdef __cplusplus
10552 extern "C"
10554 #endif
10555 /* We use char because int might match the return type of a gcc2
10556 builtin and then its argument prototype would still apply. */
10557 char $ac_func ();
10558 /* The GNU C library defines this for functions which it implements
10559 to always fail with ENOSYS. Some functions are actually named
10560 something starting with __ and the normal name is an alias. */
10561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10562 choke me
10563 #else
10564 char (*f) () = $ac_func;
10565 #endif
10566 #ifdef __cplusplus
10568 #endif
10571 main ()
10573 return f != $ac_func;
10575 return 0;
10577 _ACEOF
10578 rm -f conftest.$ac_objext conftest$ac_exeext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10580 (eval $ac_link) 2>conftest.er1
10581 ac_status=$?
10582 grep -v '^ *+' conftest.er1 >conftest.err
10583 rm -f conftest.er1
10584 cat conftest.err >&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } &&
10587 { ac_try='test -z "$ac_c_werror_flag"
10588 || test ! -s conftest.err'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10591 ac_status=$?
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; } &&
10594 { ac_try='test -s conftest$ac_exeext'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10597 ac_status=$?
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10600 eval "$as_ac_var=yes"
10601 else
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10605 eval "$as_ac_var=no"
10607 rm -f conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10612 if test `eval echo '${'$as_ac_var'}'` = yes; then
10613 cat >>confdefs.h <<_ACEOF
10614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10615 _ACEOF
10618 done
10621 # Check for glibc backtrace functions
10624 for ac_func in backtrace backtrace_symbols
10626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10627 echo "$as_me:$LINENO: checking for $ac_func" >&5
10628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10629 if eval "test \"\${$as_ac_var+set}\" = set"; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 else
10632 if test x$gcc_no_link = xyes; then
10633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10635 { (exit 1); exit 1; }; }
10637 cat >conftest.$ac_ext <<_ACEOF
10638 /* confdefs.h. */
10639 _ACEOF
10640 cat confdefs.h >>conftest.$ac_ext
10641 cat >>conftest.$ac_ext <<_ACEOF
10642 /* end confdefs.h. */
10643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10645 #define $ac_func innocuous_$ac_func
10647 /* System header to define __stub macros and hopefully few prototypes,
10648 which can conflict with char $ac_func (); below.
10649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10650 <limits.h> exists even on freestanding compilers. */
10652 #ifdef __STDC__
10653 # include <limits.h>
10654 #else
10655 # include <assert.h>
10656 #endif
10658 #undef $ac_func
10660 /* Override any gcc2 internal prototype to avoid an error. */
10661 #ifdef __cplusplus
10662 extern "C"
10664 #endif
10665 /* We use char because int might match the return type of a gcc2
10666 builtin and then its argument prototype would still apply. */
10667 char $ac_func ();
10668 /* The GNU C library defines this for functions which it implements
10669 to always fail with ENOSYS. Some functions are actually named
10670 something starting with __ and the normal name is an alias. */
10671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10672 choke me
10673 #else
10674 char (*f) () = $ac_func;
10675 #endif
10676 #ifdef __cplusplus
10678 #endif
10681 main ()
10683 return f != $ac_func;
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 eval "$as_ac_var=yes"
10711 else
10712 echo "$as_me: failed program was:" >&5
10713 sed 's/^/| /' conftest.$ac_ext >&5
10715 eval "$as_ac_var=no"
10717 rm -f conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10722 if test `eval echo '${'$as_ac_var'}'` = yes; then
10723 cat >>confdefs.h <<_ACEOF
10724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10725 _ACEOF
10728 done
10731 # Check for types
10732 echo "$as_me:$LINENO: checking for intptr_t" >&5
10733 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10734 if test "${ac_cv_type_intptr_t+set}" = set; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 else
10737 cat >conftest.$ac_ext <<_ACEOF
10738 /* confdefs.h. */
10739 _ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10743 $ac_includes_default
10745 main ()
10747 if ((intptr_t *) 0)
10748 return 0;
10749 if (sizeof (intptr_t))
10750 return 0;
10752 return 0;
10754 _ACEOF
10755 rm -f conftest.$ac_objext
10756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10757 (eval $ac_compile) 2>conftest.er1
10758 ac_status=$?
10759 grep -v '^ *+' conftest.er1 >conftest.err
10760 rm -f conftest.er1
10761 cat conftest.err >&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); } &&
10764 { ac_try='test -z "$ac_c_werror_flag"
10765 || test ! -s conftest.err'
10766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767 (eval $ac_try) 2>&5
10768 ac_status=$?
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }; } &&
10771 { ac_try='test -s conftest.$ac_objext'
10772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773 (eval $ac_try) 2>&5
10774 ac_status=$?
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; }; then
10777 ac_cv_type_intptr_t=yes
10778 else
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.$ac_ext >&5
10782 ac_cv_type_intptr_t=no
10784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10786 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10787 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10788 if test $ac_cv_type_intptr_t = yes; then
10790 cat >>confdefs.h <<_ACEOF
10791 #define HAVE_INTPTR_T 1
10792 _ACEOF
10798 # Check libc for getgid, getpid, getuid
10799 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10800 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10801 if test "${ac_cv_lib_c_getgid+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10803 else
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-lc $LIBS"
10806 if test x$gcc_no_link = xyes; then
10807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10809 { (exit 1); exit 1; }; }
10811 cat >conftest.$ac_ext <<_ACEOF
10812 /* confdefs.h. */
10813 _ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10818 /* Override any gcc2 internal prototype to avoid an error. */
10819 #ifdef __cplusplus
10820 extern "C"
10821 #endif
10822 /* We use char because int might match the return type of a gcc2
10823 builtin and then its argument prototype would still apply. */
10824 char getgid ();
10826 main ()
10828 getgid ();
10830 return 0;
10832 _ACEOF
10833 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>conftest.er1
10836 ac_status=$?
10837 grep -v '^ *+' conftest.er1 >conftest.err
10838 rm -f conftest.er1
10839 cat conftest.err >&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } &&
10842 { ac_try='test -z "$ac_c_werror_flag"
10843 || test ! -s conftest.err'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10846 ac_status=$?
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; } &&
10849 { ac_try='test -s conftest$ac_exeext'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10852 ac_status=$?
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; }; then
10855 ac_cv_lib_c_getgid=yes
10856 else
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10860 ac_cv_lib_c_getgid=no
10862 rm -f conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_lib_save_LIBS
10866 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10867 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10868 if test $ac_cv_lib_c_getgid = yes; then
10870 cat >>confdefs.h <<\_ACEOF
10871 #define HAVE_GETGID 1
10872 _ACEOF
10876 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10877 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10878 if test "${ac_cv_lib_c_getpid+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 else
10881 ac_check_lib_save_LIBS=$LIBS
10882 LIBS="-lc $LIBS"
10883 if test x$gcc_no_link = xyes; then
10884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10886 { (exit 1); exit 1; }; }
10888 cat >conftest.$ac_ext <<_ACEOF
10889 /* confdefs.h. */
10890 _ACEOF
10891 cat confdefs.h >>conftest.$ac_ext
10892 cat >>conftest.$ac_ext <<_ACEOF
10893 /* end confdefs.h. */
10895 /* Override any gcc2 internal prototype to avoid an error. */
10896 #ifdef __cplusplus
10897 extern "C"
10898 #endif
10899 /* We use char because int might match the return type of a gcc2
10900 builtin and then its argument prototype would still apply. */
10901 char getpid ();
10903 main ()
10905 getpid ();
10907 return 0;
10909 _ACEOF
10910 rm -f conftest.$ac_objext conftest$ac_exeext
10911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10912 (eval $ac_link) 2>conftest.er1
10913 ac_status=$?
10914 grep -v '^ *+' conftest.er1 >conftest.err
10915 rm -f conftest.er1
10916 cat conftest.err >&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } &&
10919 { ac_try='test -z "$ac_c_werror_flag"
10920 || test ! -s conftest.err'
10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922 (eval $ac_try) 2>&5
10923 ac_status=$?
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); }; } &&
10926 { ac_try='test -s conftest$ac_exeext'
10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10928 (eval $ac_try) 2>&5
10929 ac_status=$?
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }; }; then
10932 ac_cv_lib_c_getpid=yes
10933 else
10934 echo "$as_me: failed program was:" >&5
10935 sed 's/^/| /' conftest.$ac_ext >&5
10937 ac_cv_lib_c_getpid=no
10939 rm -f conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_lib_save_LIBS
10943 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10944 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10945 if test $ac_cv_lib_c_getpid = yes; then
10947 cat >>confdefs.h <<\_ACEOF
10948 #define HAVE_GETPID 1
10949 _ACEOF
10953 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
10954 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
10955 if test "${ac_cv_lib_c_getppid+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 else
10958 ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-lc $LIBS"
10960 if test x$gcc_no_link = xyes; then
10961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10963 { (exit 1); exit 1; }; }
10965 cat >conftest.$ac_ext <<_ACEOF
10966 /* confdefs.h. */
10967 _ACEOF
10968 cat confdefs.h >>conftest.$ac_ext
10969 cat >>conftest.$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10972 /* Override any gcc2 internal prototype to avoid an error. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 /* We use char because int might match the return type of a gcc2
10977 builtin and then its argument prototype would still apply. */
10978 char getppid ();
10980 main ()
10982 getppid ();
10984 return 0;
10986 _ACEOF
10987 rm -f conftest.$ac_objext conftest$ac_exeext
10988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10989 (eval $ac_link) 2>conftest.er1
10990 ac_status=$?
10991 grep -v '^ *+' conftest.er1 >conftest.err
10992 rm -f conftest.er1
10993 cat conftest.err >&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } &&
10996 { ac_try='test -z "$ac_c_werror_flag"
10997 || test ! -s conftest.err'
10998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10999 (eval $ac_try) 2>&5
11000 ac_status=$?
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); }; } &&
11003 { ac_try='test -s conftest$ac_exeext'
11004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11005 (eval $ac_try) 2>&5
11006 ac_status=$?
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); }; }; then
11009 ac_cv_lib_c_getppid=yes
11010 else
11011 echo "$as_me: failed program was:" >&5
11012 sed 's/^/| /' conftest.$ac_ext >&5
11014 ac_cv_lib_c_getppid=no
11016 rm -f conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_lib_save_LIBS
11020 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
11021 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
11022 if test $ac_cv_lib_c_getppid = yes; then
11024 cat >>confdefs.h <<\_ACEOF
11025 #define HAVE_GETPPID 1
11026 _ACEOF
11030 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
11031 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
11032 if test "${ac_cv_lib_c_getuid+set}" = set; then
11033 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 else
11035 ac_check_lib_save_LIBS=$LIBS
11036 LIBS="-lc $LIBS"
11037 if test x$gcc_no_link = xyes; then
11038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11040 { (exit 1); exit 1; }; }
11042 cat >conftest.$ac_ext <<_ACEOF
11043 /* confdefs.h. */
11044 _ACEOF
11045 cat confdefs.h >>conftest.$ac_ext
11046 cat >>conftest.$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11049 /* Override any gcc2 internal prototype to avoid an error. */
11050 #ifdef __cplusplus
11051 extern "C"
11052 #endif
11053 /* We use char because int might match the return type of a gcc2
11054 builtin and then its argument prototype would still apply. */
11055 char getuid ();
11057 main ()
11059 getuid ();
11061 return 0;
11063 _ACEOF
11064 rm -f conftest.$ac_objext conftest$ac_exeext
11065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11066 (eval $ac_link) 2>conftest.er1
11067 ac_status=$?
11068 grep -v '^ *+' conftest.er1 >conftest.err
11069 rm -f conftest.er1
11070 cat conftest.err >&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } &&
11073 { ac_try='test -z "$ac_c_werror_flag"
11074 || test ! -s conftest.err'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11077 ac_status=$?
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; } &&
11080 { ac_try='test -s conftest$ac_exeext'
11081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11082 (eval $ac_try) 2>&5
11083 ac_status=$?
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; }; then
11086 ac_cv_lib_c_getuid=yes
11087 else
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.$ac_ext >&5
11091 ac_cv_lib_c_getuid=no
11093 rm -f conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_check_lib_save_LIBS
11097 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
11098 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
11099 if test $ac_cv_lib_c_getuid = yes; then
11101 cat >>confdefs.h <<\_ACEOF
11102 #define HAVE_GETUID 1
11103 _ACEOF
11108 # Check for C99 (and other IEEE) math functions
11109 # ??? This list seems awful long. Is there a better way to test for these?
11110 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
11111 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
11112 if test "${ac_cv_lib_m_acosf+set}" = set; then
11113 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 else
11115 ac_check_lib_save_LIBS=$LIBS
11116 LIBS="-lm $LIBS"
11117 if test x$gcc_no_link = xyes; then
11118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11120 { (exit 1); exit 1; }; }
11122 cat >conftest.$ac_ext <<_ACEOF
11123 /* confdefs.h. */
11124 _ACEOF
11125 cat confdefs.h >>conftest.$ac_ext
11126 cat >>conftest.$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11129 /* Override any gcc2 internal prototype to avoid an error. */
11130 #ifdef __cplusplus
11131 extern "C"
11132 #endif
11133 /* We use char because int might match the return type of a gcc2
11134 builtin and then its argument prototype would still apply. */
11135 char acosf ();
11137 main ()
11139 acosf ();
11141 return 0;
11143 _ACEOF
11144 rm -f conftest.$ac_objext conftest$ac_exeext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11146 (eval $ac_link) 2>conftest.er1
11147 ac_status=$?
11148 grep -v '^ *+' conftest.er1 >conftest.err
11149 rm -f conftest.er1
11150 cat conftest.err >&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); } &&
11153 { ac_try='test -z "$ac_c_werror_flag"
11154 || test ! -s conftest.err'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11157 ac_status=$?
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11166 ac_cv_lib_m_acosf=yes
11167 else
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.$ac_ext >&5
11171 ac_cv_lib_m_acosf=no
11173 rm -f conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
11178 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
11179 if test $ac_cv_lib_m_acosf = yes; then
11181 cat >>confdefs.h <<\_ACEOF
11182 #define HAVE_ACOSF 1
11183 _ACEOF
11187 echo "$as_me:$LINENO: checking for acos in -lm" >&5
11188 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
11189 if test "${ac_cv_lib_m_acos+set}" = set; then
11190 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 else
11192 ac_check_lib_save_LIBS=$LIBS
11193 LIBS="-lm $LIBS"
11194 if test x$gcc_no_link = xyes; then
11195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11197 { (exit 1); exit 1; }; }
11199 cat >conftest.$ac_ext <<_ACEOF
11200 /* confdefs.h. */
11201 _ACEOF
11202 cat confdefs.h >>conftest.$ac_ext
11203 cat >>conftest.$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11206 /* Override any gcc2 internal prototype to avoid an error. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 /* We use char because int might match the return type of a gcc2
11211 builtin and then its argument prototype would still apply. */
11212 char acos ();
11214 main ()
11216 acos ();
11218 return 0;
11220 _ACEOF
11221 rm -f conftest.$ac_objext conftest$ac_exeext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11223 (eval $ac_link) 2>conftest.er1
11224 ac_status=$?
11225 grep -v '^ *+' conftest.er1 >conftest.err
11226 rm -f conftest.er1
11227 cat conftest.err >&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } &&
11230 { ac_try='test -z "$ac_c_werror_flag"
11231 || test ! -s conftest.err'
11232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11233 (eval $ac_try) 2>&5
11234 ac_status=$?
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; } &&
11237 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11243 ac_cv_lib_m_acos=yes
11244 else
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11248 ac_cv_lib_m_acos=no
11250 rm -f conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
11255 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
11256 if test $ac_cv_lib_m_acos = yes; then
11258 cat >>confdefs.h <<\_ACEOF
11259 #define HAVE_ACOS 1
11260 _ACEOF
11264 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
11265 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
11266 if test "${ac_cv_lib_m_acosl+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 else
11269 ac_check_lib_save_LIBS=$LIBS
11270 LIBS="-lm $LIBS"
11271 if test x$gcc_no_link = xyes; then
11272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11274 { (exit 1); exit 1; }; }
11276 cat >conftest.$ac_ext <<_ACEOF
11277 /* confdefs.h. */
11278 _ACEOF
11279 cat confdefs.h >>conftest.$ac_ext
11280 cat >>conftest.$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11283 /* Override any gcc2 internal prototype to avoid an error. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 /* We use char because int might match the return type of a gcc2
11288 builtin and then its argument prototype would still apply. */
11289 char acosl ();
11291 main ()
11293 acosl ();
11295 return 0;
11297 _ACEOF
11298 rm -f conftest.$ac_objext conftest$ac_exeext
11299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11300 (eval $ac_link) 2>conftest.er1
11301 ac_status=$?
11302 grep -v '^ *+' conftest.er1 >conftest.err
11303 rm -f conftest.er1
11304 cat conftest.err >&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } &&
11307 { ac_try='test -z "$ac_c_werror_flag"
11308 || test ! -s conftest.err'
11309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 (eval $ac_try) 2>&5
11311 ac_status=$?
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; } &&
11314 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11320 ac_cv_lib_m_acosl=yes
11321 else
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ac_cv_lib_m_acosl=no
11327 rm -f conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
11332 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
11333 if test $ac_cv_lib_m_acosl = yes; then
11335 cat >>confdefs.h <<\_ACEOF
11336 #define HAVE_ACOSL 1
11337 _ACEOF
11341 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
11342 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
11343 if test "${ac_cv_lib_m_acoshf+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lm $LIBS"
11348 if test x$gcc_no_link = xyes; then
11349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11351 { (exit 1); exit 1; }; }
11353 cat >conftest.$ac_ext <<_ACEOF
11354 /* confdefs.h. */
11355 _ACEOF
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11360 /* Override any gcc2 internal prototype to avoid an error. */
11361 #ifdef __cplusplus
11362 extern "C"
11363 #endif
11364 /* We use char because int might match the return type of a gcc2
11365 builtin and then its argument prototype would still apply. */
11366 char acoshf ();
11368 main ()
11370 acoshf ();
11372 return 0;
11374 _ACEOF
11375 rm -f conftest.$ac_objext conftest$ac_exeext
11376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11377 (eval $ac_link) 2>conftest.er1
11378 ac_status=$?
11379 grep -v '^ *+' conftest.er1 >conftest.err
11380 rm -f conftest.er1
11381 cat conftest.err >&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } &&
11384 { ac_try='test -z "$ac_c_werror_flag"
11385 || test ! -s conftest.err'
11386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11387 (eval $ac_try) 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; } &&
11391 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11397 ac_cv_lib_m_acoshf=yes
11398 else
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11402 ac_cv_lib_m_acoshf=no
11404 rm -f conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
11409 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
11410 if test $ac_cv_lib_m_acoshf = yes; then
11412 cat >>confdefs.h <<\_ACEOF
11413 #define HAVE_ACOSHF 1
11414 _ACEOF
11418 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
11419 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
11420 if test "${ac_cv_lib_m_acosh+set}" = set; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 else
11423 ac_check_lib_save_LIBS=$LIBS
11424 LIBS="-lm $LIBS"
11425 if test x$gcc_no_link = xyes; then
11426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11428 { (exit 1); exit 1; }; }
11430 cat >conftest.$ac_ext <<_ACEOF
11431 /* confdefs.h. */
11432 _ACEOF
11433 cat confdefs.h >>conftest.$ac_ext
11434 cat >>conftest.$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11437 /* Override any gcc2 internal prototype to avoid an error. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 /* We use char because int might match the return type of a gcc2
11442 builtin and then its argument prototype would still apply. */
11443 char acosh ();
11445 main ()
11447 acosh ();
11449 return 0;
11451 _ACEOF
11452 rm -f conftest.$ac_objext conftest$ac_exeext
11453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11454 (eval $ac_link) 2>conftest.er1
11455 ac_status=$?
11456 grep -v '^ *+' conftest.er1 >conftest.err
11457 rm -f conftest.er1
11458 cat conftest.err >&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try='test -z "$ac_c_werror_flag"
11462 || test ! -s conftest.err'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11465 ac_status=$?
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; } &&
11468 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11474 ac_cv_lib_m_acosh=yes
11475 else
11476 echo "$as_me: failed program was:" >&5
11477 sed 's/^/| /' conftest.$ac_ext >&5
11479 ac_cv_lib_m_acosh=no
11481 rm -f conftest.err conftest.$ac_objext \
11482 conftest$ac_exeext conftest.$ac_ext
11483 LIBS=$ac_check_lib_save_LIBS
11485 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11486 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11487 if test $ac_cv_lib_m_acosh = yes; then
11489 cat >>confdefs.h <<\_ACEOF
11490 #define HAVE_ACOSH 1
11491 _ACEOF
11495 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11496 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11497 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11499 else
11500 ac_check_lib_save_LIBS=$LIBS
11501 LIBS="-lm $LIBS"
11502 if test x$gcc_no_link = xyes; then
11503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11505 { (exit 1); exit 1; }; }
11507 cat >conftest.$ac_ext <<_ACEOF
11508 /* confdefs.h. */
11509 _ACEOF
11510 cat confdefs.h >>conftest.$ac_ext
11511 cat >>conftest.$ac_ext <<_ACEOF
11512 /* end confdefs.h. */
11514 /* Override any gcc2 internal prototype to avoid an error. */
11515 #ifdef __cplusplus
11516 extern "C"
11517 #endif
11518 /* We use char because int might match the return type of a gcc2
11519 builtin and then its argument prototype would still apply. */
11520 char acoshl ();
11522 main ()
11524 acoshl ();
11526 return 0;
11528 _ACEOF
11529 rm -f conftest.$ac_objext conftest$ac_exeext
11530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11531 (eval $ac_link) 2>conftest.er1
11532 ac_status=$?
11533 grep -v '^ *+' conftest.er1 >conftest.err
11534 rm -f conftest.er1
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } &&
11538 { ac_try='test -z "$ac_c_werror_flag"
11539 || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11542 ac_status=$?
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11551 ac_cv_lib_m_acoshl=yes
11552 else
11553 echo "$as_me: failed program was:" >&5
11554 sed 's/^/| /' conftest.$ac_ext >&5
11556 ac_cv_lib_m_acoshl=no
11558 rm -f conftest.err conftest.$ac_objext \
11559 conftest$ac_exeext conftest.$ac_ext
11560 LIBS=$ac_check_lib_save_LIBS
11562 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11563 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11564 if test $ac_cv_lib_m_acoshl = yes; then
11566 cat >>confdefs.h <<\_ACEOF
11567 #define HAVE_ACOSHL 1
11568 _ACEOF
11572 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11573 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11574 if test "${ac_cv_lib_m_asinf+set}" = set; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 else
11577 ac_check_lib_save_LIBS=$LIBS
11578 LIBS="-lm $LIBS"
11579 if test x$gcc_no_link = xyes; then
11580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11582 { (exit 1); exit 1; }; }
11584 cat >conftest.$ac_ext <<_ACEOF
11585 /* confdefs.h. */
11586 _ACEOF
11587 cat confdefs.h >>conftest.$ac_ext
11588 cat >>conftest.$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11591 /* Override any gcc2 internal prototype to avoid an error. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 /* We use char because int might match the return type of a gcc2
11596 builtin and then its argument prototype would still apply. */
11597 char asinf ();
11599 main ()
11601 asinf ();
11603 return 0;
11605 _ACEOF
11606 rm -f conftest.$ac_objext conftest$ac_exeext
11607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11608 (eval $ac_link) 2>conftest.er1
11609 ac_status=$?
11610 grep -v '^ *+' conftest.er1 >conftest.err
11611 rm -f conftest.er1
11612 cat conftest.err >&5
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); } &&
11615 { ac_try='test -z "$ac_c_werror_flag"
11616 || test ! -s conftest.err'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11619 ac_status=$?
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; } &&
11622 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11628 ac_cv_lib_m_asinf=yes
11629 else
11630 echo "$as_me: failed program was:" >&5
11631 sed 's/^/| /' conftest.$ac_ext >&5
11633 ac_cv_lib_m_asinf=no
11635 rm -f conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_lib_save_LIBS
11639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11640 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11641 if test $ac_cv_lib_m_asinf = yes; then
11643 cat >>confdefs.h <<\_ACEOF
11644 #define HAVE_ASINF 1
11645 _ACEOF
11649 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11650 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11651 if test "${ac_cv_lib_m_asin+set}" = set; then
11652 echo $ECHO_N "(cached) $ECHO_C" >&6
11653 else
11654 ac_check_lib_save_LIBS=$LIBS
11655 LIBS="-lm $LIBS"
11656 if test x$gcc_no_link = xyes; then
11657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11659 { (exit 1); exit 1; }; }
11661 cat >conftest.$ac_ext <<_ACEOF
11662 /* confdefs.h. */
11663 _ACEOF
11664 cat confdefs.h >>conftest.$ac_ext
11665 cat >>conftest.$ac_ext <<_ACEOF
11666 /* end confdefs.h. */
11668 /* Override any gcc2 internal prototype to avoid an error. */
11669 #ifdef __cplusplus
11670 extern "C"
11671 #endif
11672 /* We use char because int might match the return type of a gcc2
11673 builtin and then its argument prototype would still apply. */
11674 char asin ();
11676 main ()
11678 asin ();
11680 return 0;
11682 _ACEOF
11683 rm -f conftest.$ac_objext conftest$ac_exeext
11684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11685 (eval $ac_link) 2>conftest.er1
11686 ac_status=$?
11687 grep -v '^ *+' conftest.er1 >conftest.err
11688 rm -f conftest.er1
11689 cat conftest.err >&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } &&
11692 { ac_try='test -z "$ac_c_werror_flag"
11693 || test ! -s conftest.err'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11696 ac_status=$?
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; } &&
11699 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11705 ac_cv_lib_m_asin=yes
11706 else
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.$ac_ext >&5
11710 ac_cv_lib_m_asin=no
11712 rm -f conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_lib_save_LIBS
11716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11717 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11718 if test $ac_cv_lib_m_asin = yes; then
11720 cat >>confdefs.h <<\_ACEOF
11721 #define HAVE_ASIN 1
11722 _ACEOF
11726 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11727 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11728 if test "${ac_cv_lib_m_asinl+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11730 else
11731 ac_check_lib_save_LIBS=$LIBS
11732 LIBS="-lm $LIBS"
11733 if test x$gcc_no_link = xyes; then
11734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11736 { (exit 1); exit 1; }; }
11738 cat >conftest.$ac_ext <<_ACEOF
11739 /* confdefs.h. */
11740 _ACEOF
11741 cat confdefs.h >>conftest.$ac_ext
11742 cat >>conftest.$ac_ext <<_ACEOF
11743 /* end confdefs.h. */
11745 /* Override any gcc2 internal prototype to avoid an error. */
11746 #ifdef __cplusplus
11747 extern "C"
11748 #endif
11749 /* We use char because int might match the return type of a gcc2
11750 builtin and then its argument prototype would still apply. */
11751 char asinl ();
11753 main ()
11755 asinl ();
11757 return 0;
11759 _ACEOF
11760 rm -f conftest.$ac_objext conftest$ac_exeext
11761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11762 (eval $ac_link) 2>conftest.er1
11763 ac_status=$?
11764 grep -v '^ *+' conftest.er1 >conftest.err
11765 rm -f conftest.er1
11766 cat conftest.err >&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } &&
11769 { ac_try='test -z "$ac_c_werror_flag"
11770 || test ! -s conftest.err'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11773 ac_status=$?
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; } &&
11776 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11782 ac_cv_lib_m_asinl=yes
11783 else
11784 echo "$as_me: failed program was:" >&5
11785 sed 's/^/| /' conftest.$ac_ext >&5
11787 ac_cv_lib_m_asinl=no
11789 rm -f conftest.err conftest.$ac_objext \
11790 conftest$ac_exeext conftest.$ac_ext
11791 LIBS=$ac_check_lib_save_LIBS
11793 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11794 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11795 if test $ac_cv_lib_m_asinl = yes; then
11797 cat >>confdefs.h <<\_ACEOF
11798 #define HAVE_ASINL 1
11799 _ACEOF
11803 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11804 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11805 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 else
11808 ac_check_lib_save_LIBS=$LIBS
11809 LIBS="-lm $LIBS"
11810 if test x$gcc_no_link = xyes; then
11811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11813 { (exit 1); exit 1; }; }
11815 cat >conftest.$ac_ext <<_ACEOF
11816 /* confdefs.h. */
11817 _ACEOF
11818 cat confdefs.h >>conftest.$ac_ext
11819 cat >>conftest.$ac_ext <<_ACEOF
11820 /* end confdefs.h. */
11822 /* Override any gcc2 internal prototype to avoid an error. */
11823 #ifdef __cplusplus
11824 extern "C"
11825 #endif
11826 /* We use char because int might match the return type of a gcc2
11827 builtin and then its argument prototype would still apply. */
11828 char asinhf ();
11830 main ()
11832 asinhf ();
11834 return 0;
11836 _ACEOF
11837 rm -f conftest.$ac_objext conftest$ac_exeext
11838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11839 (eval $ac_link) 2>conftest.er1
11840 ac_status=$?
11841 grep -v '^ *+' conftest.er1 >conftest.err
11842 rm -f conftest.er1
11843 cat conftest.err >&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } &&
11846 { ac_try='test -z "$ac_c_werror_flag"
11847 || test ! -s conftest.err'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11850 ac_status=$?
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; } &&
11853 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11859 ac_cv_lib_m_asinhf=yes
11860 else
11861 echo "$as_me: failed program was:" >&5
11862 sed 's/^/| /' conftest.$ac_ext >&5
11864 ac_cv_lib_m_asinhf=no
11866 rm -f conftest.err conftest.$ac_objext \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_lib_save_LIBS
11870 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11871 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11872 if test $ac_cv_lib_m_asinhf = yes; then
11874 cat >>confdefs.h <<\_ACEOF
11875 #define HAVE_ASINHF 1
11876 _ACEOF
11880 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11881 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11882 if test "${ac_cv_lib_m_asinh+set}" = set; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 else
11885 ac_check_lib_save_LIBS=$LIBS
11886 LIBS="-lm $LIBS"
11887 if test x$gcc_no_link = xyes; then
11888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11890 { (exit 1); exit 1; }; }
11892 cat >conftest.$ac_ext <<_ACEOF
11893 /* confdefs.h. */
11894 _ACEOF
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11899 /* Override any gcc2 internal prototype to avoid an error. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 /* We use char because int might match the return type of a gcc2
11904 builtin and then its argument prototype would still apply. */
11905 char asinh ();
11907 main ()
11909 asinh ();
11911 return 0;
11913 _ACEOF
11914 rm -f conftest.$ac_objext conftest$ac_exeext
11915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11916 (eval $ac_link) 2>conftest.er1
11917 ac_status=$?
11918 grep -v '^ *+' conftest.er1 >conftest.err
11919 rm -f conftest.er1
11920 cat conftest.err >&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } &&
11923 { ac_try='test -z "$ac_c_werror_flag"
11924 || test ! -s conftest.err'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11927 ac_status=$?
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; } &&
11930 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11936 ac_cv_lib_m_asinh=yes
11937 else
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.$ac_ext >&5
11941 ac_cv_lib_m_asinh=no
11943 rm -f conftest.err conftest.$ac_objext \
11944 conftest$ac_exeext conftest.$ac_ext
11945 LIBS=$ac_check_lib_save_LIBS
11947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11948 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11949 if test $ac_cv_lib_m_asinh = yes; then
11951 cat >>confdefs.h <<\_ACEOF
11952 #define HAVE_ASINH 1
11953 _ACEOF
11957 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11958 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11959 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 else
11962 ac_check_lib_save_LIBS=$LIBS
11963 LIBS="-lm $LIBS"
11964 if test x$gcc_no_link = xyes; then
11965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11967 { (exit 1); exit 1; }; }
11969 cat >conftest.$ac_ext <<_ACEOF
11970 /* confdefs.h. */
11971 _ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11976 /* Override any gcc2 internal prototype to avoid an error. */
11977 #ifdef __cplusplus
11978 extern "C"
11979 #endif
11980 /* We use char because int might match the return type of a gcc2
11981 builtin and then its argument prototype would still apply. */
11982 char asinhl ();
11984 main ()
11986 asinhl ();
11988 return 0;
11990 _ACEOF
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11993 (eval $ac_link) 2>conftest.er1
11994 ac_status=$?
11995 grep -v '^ *+' conftest.er1 >conftest.err
11996 rm -f conftest.er1
11997 cat conftest.err >&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); } &&
12000 { ac_try='test -z "$ac_c_werror_flag"
12001 || test ! -s conftest.err'
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12004 ac_status=$?
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; } &&
12007 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12013 ac_cv_lib_m_asinhl=yes
12014 else
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 ac_cv_lib_m_asinhl=no
12020 rm -f conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_lib_save_LIBS
12024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
12025 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
12026 if test $ac_cv_lib_m_asinhl = yes; then
12028 cat >>confdefs.h <<\_ACEOF
12029 #define HAVE_ASINHL 1
12030 _ACEOF
12034 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
12035 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
12036 if test "${ac_cv_lib_m_atan2f+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 else
12039 ac_check_lib_save_LIBS=$LIBS
12040 LIBS="-lm $LIBS"
12041 if test x$gcc_no_link = xyes; then
12042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12044 { (exit 1); exit 1; }; }
12046 cat >conftest.$ac_ext <<_ACEOF
12047 /* confdefs.h. */
12048 _ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12053 /* Override any gcc2 internal prototype to avoid an error. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 /* We use char because int might match the return type of a gcc2
12058 builtin and then its argument prototype would still apply. */
12059 char atan2f ();
12061 main ()
12063 atan2f ();
12065 return 0;
12067 _ACEOF
12068 rm -f conftest.$ac_objext conftest$ac_exeext
12069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12070 (eval $ac_link) 2>conftest.er1
12071 ac_status=$?
12072 grep -v '^ *+' conftest.er1 >conftest.err
12073 rm -f conftest.er1
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } &&
12077 { ac_try='test -z "$ac_c_werror_flag"
12078 || test ! -s conftest.err'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12081 ac_status=$?
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; } &&
12084 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12090 ac_cv_lib_m_atan2f=yes
12091 else
12092 echo "$as_me: failed program was:" >&5
12093 sed 's/^/| /' conftest.$ac_ext >&5
12095 ac_cv_lib_m_atan2f=no
12097 rm -f conftest.err conftest.$ac_objext \
12098 conftest$ac_exeext conftest.$ac_ext
12099 LIBS=$ac_check_lib_save_LIBS
12101 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
12102 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
12103 if test $ac_cv_lib_m_atan2f = yes; then
12105 cat >>confdefs.h <<\_ACEOF
12106 #define HAVE_ATAN2F 1
12107 _ACEOF
12111 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
12112 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
12113 if test "${ac_cv_lib_m_atan2+set}" = set; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 else
12116 ac_check_lib_save_LIBS=$LIBS
12117 LIBS="-lm $LIBS"
12118 if test x$gcc_no_link = xyes; then
12119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12121 { (exit 1); exit 1; }; }
12123 cat >conftest.$ac_ext <<_ACEOF
12124 /* confdefs.h. */
12125 _ACEOF
12126 cat confdefs.h >>conftest.$ac_ext
12127 cat >>conftest.$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12130 /* Override any gcc2 internal prototype to avoid an error. */
12131 #ifdef __cplusplus
12132 extern "C"
12133 #endif
12134 /* We use char because int might match the return type of a gcc2
12135 builtin and then its argument prototype would still apply. */
12136 char atan2 ();
12138 main ()
12140 atan2 ();
12142 return 0;
12144 _ACEOF
12145 rm -f conftest.$ac_objext conftest$ac_exeext
12146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12147 (eval $ac_link) 2>conftest.er1
12148 ac_status=$?
12149 grep -v '^ *+' conftest.er1 >conftest.err
12150 rm -f conftest.er1
12151 cat conftest.err >&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); } &&
12154 { ac_try='test -z "$ac_c_werror_flag"
12155 || test ! -s conftest.err'
12156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12157 (eval $ac_try) 2>&5
12158 ac_status=$?
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); }; } &&
12161 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12167 ac_cv_lib_m_atan2=yes
12168 else
12169 echo "$as_me: failed program was:" >&5
12170 sed 's/^/| /' conftest.$ac_ext >&5
12172 ac_cv_lib_m_atan2=no
12174 rm -f conftest.err conftest.$ac_objext \
12175 conftest$ac_exeext conftest.$ac_ext
12176 LIBS=$ac_check_lib_save_LIBS
12178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
12179 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
12180 if test $ac_cv_lib_m_atan2 = yes; then
12182 cat >>confdefs.h <<\_ACEOF
12183 #define HAVE_ATAN2 1
12184 _ACEOF
12188 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
12189 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
12190 if test "${ac_cv_lib_m_atan2l+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 else
12193 ac_check_lib_save_LIBS=$LIBS
12194 LIBS="-lm $LIBS"
12195 if test x$gcc_no_link = xyes; then
12196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12198 { (exit 1); exit 1; }; }
12200 cat >conftest.$ac_ext <<_ACEOF
12201 /* confdefs.h. */
12202 _ACEOF
12203 cat confdefs.h >>conftest.$ac_ext
12204 cat >>conftest.$ac_ext <<_ACEOF
12205 /* end confdefs.h. */
12207 /* Override any gcc2 internal prototype to avoid an error. */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 /* We use char because int might match the return type of a gcc2
12212 builtin and then its argument prototype would still apply. */
12213 char atan2l ();
12215 main ()
12217 atan2l ();
12219 return 0;
12221 _ACEOF
12222 rm -f conftest.$ac_objext conftest$ac_exeext
12223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12224 (eval $ac_link) 2>conftest.er1
12225 ac_status=$?
12226 grep -v '^ *+' conftest.er1 >conftest.err
12227 rm -f conftest.er1
12228 cat conftest.err >&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } &&
12231 { ac_try='test -z "$ac_c_werror_flag"
12232 || test ! -s conftest.err'
12233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 (eval $ac_try) 2>&5
12235 ac_status=$?
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; } &&
12238 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12244 ac_cv_lib_m_atan2l=yes
12245 else
12246 echo "$as_me: failed program was:" >&5
12247 sed 's/^/| /' conftest.$ac_ext >&5
12249 ac_cv_lib_m_atan2l=no
12251 rm -f conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_lib_save_LIBS
12255 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
12256 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
12257 if test $ac_cv_lib_m_atan2l = yes; then
12259 cat >>confdefs.h <<\_ACEOF
12260 #define HAVE_ATAN2L 1
12261 _ACEOF
12265 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
12266 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
12267 if test "${ac_cv_lib_m_atanf+set}" = set; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12269 else
12270 ac_check_lib_save_LIBS=$LIBS
12271 LIBS="-lm $LIBS"
12272 if test x$gcc_no_link = xyes; then
12273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12275 { (exit 1); exit 1; }; }
12277 cat >conftest.$ac_ext <<_ACEOF
12278 /* confdefs.h. */
12279 _ACEOF
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12284 /* Override any gcc2 internal prototype to avoid an error. */
12285 #ifdef __cplusplus
12286 extern "C"
12287 #endif
12288 /* We use char because int might match the return type of a gcc2
12289 builtin and then its argument prototype would still apply. */
12290 char atanf ();
12292 main ()
12294 atanf ();
12296 return 0;
12298 _ACEOF
12299 rm -f conftest.$ac_objext conftest$ac_exeext
12300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12301 (eval $ac_link) 2>conftest.er1
12302 ac_status=$?
12303 grep -v '^ *+' conftest.er1 >conftest.err
12304 rm -f conftest.er1
12305 cat conftest.err >&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); } &&
12308 { ac_try='test -z "$ac_c_werror_flag"
12309 || test ! -s conftest.err'
12310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12311 (eval $ac_try) 2>&5
12312 ac_status=$?
12313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12314 (exit $ac_status); }; } &&
12315 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12321 ac_cv_lib_m_atanf=yes
12322 else
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.$ac_ext >&5
12326 ac_cv_lib_m_atanf=no
12328 rm -f conftest.err conftest.$ac_objext \
12329 conftest$ac_exeext conftest.$ac_ext
12330 LIBS=$ac_check_lib_save_LIBS
12332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
12333 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
12334 if test $ac_cv_lib_m_atanf = yes; then
12336 cat >>confdefs.h <<\_ACEOF
12337 #define HAVE_ATANF 1
12338 _ACEOF
12342 echo "$as_me:$LINENO: checking for atan in -lm" >&5
12343 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
12344 if test "${ac_cv_lib_m_atan+set}" = set; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12346 else
12347 ac_check_lib_save_LIBS=$LIBS
12348 LIBS="-lm $LIBS"
12349 if test x$gcc_no_link = xyes; then
12350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12352 { (exit 1); exit 1; }; }
12354 cat >conftest.$ac_ext <<_ACEOF
12355 /* confdefs.h. */
12356 _ACEOF
12357 cat confdefs.h >>conftest.$ac_ext
12358 cat >>conftest.$ac_ext <<_ACEOF
12359 /* end confdefs.h. */
12361 /* Override any gcc2 internal prototype to avoid an error. */
12362 #ifdef __cplusplus
12363 extern "C"
12364 #endif
12365 /* We use char because int might match the return type of a gcc2
12366 builtin and then its argument prototype would still apply. */
12367 char atan ();
12369 main ()
12371 atan ();
12373 return 0;
12375 _ACEOF
12376 rm -f conftest.$ac_objext conftest$ac_exeext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12378 (eval $ac_link) 2>conftest.er1
12379 ac_status=$?
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12398 ac_cv_lib_m_atan=yes
12399 else
12400 echo "$as_me: failed program was:" >&5
12401 sed 's/^/| /' conftest.$ac_ext >&5
12403 ac_cv_lib_m_atan=no
12405 rm -f conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 LIBS=$ac_check_lib_save_LIBS
12409 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
12410 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
12411 if test $ac_cv_lib_m_atan = yes; then
12413 cat >>confdefs.h <<\_ACEOF
12414 #define HAVE_ATAN 1
12415 _ACEOF
12419 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
12420 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
12421 if test "${ac_cv_lib_m_atanl+set}" = set; then
12422 echo $ECHO_N "(cached) $ECHO_C" >&6
12423 else
12424 ac_check_lib_save_LIBS=$LIBS
12425 LIBS="-lm $LIBS"
12426 if test x$gcc_no_link = xyes; then
12427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12429 { (exit 1); exit 1; }; }
12431 cat >conftest.$ac_ext <<_ACEOF
12432 /* confdefs.h. */
12433 _ACEOF
12434 cat confdefs.h >>conftest.$ac_ext
12435 cat >>conftest.$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12438 /* Override any gcc2 internal prototype to avoid an error. */
12439 #ifdef __cplusplus
12440 extern "C"
12441 #endif
12442 /* We use char because int might match the return type of a gcc2
12443 builtin and then its argument prototype would still apply. */
12444 char atanl ();
12446 main ()
12448 atanl ();
12450 return 0;
12452 _ACEOF
12453 rm -f conftest.$ac_objext conftest$ac_exeext
12454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12455 (eval $ac_link) 2>conftest.er1
12456 ac_status=$?
12457 grep -v '^ *+' conftest.er1 >conftest.err
12458 rm -f conftest.er1
12459 cat conftest.err >&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } &&
12462 { ac_try='test -z "$ac_c_werror_flag"
12463 || test ! -s conftest.err'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12466 ac_status=$?
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; } &&
12469 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12475 ac_cv_lib_m_atanl=yes
12476 else
12477 echo "$as_me: failed program was:" >&5
12478 sed 's/^/| /' conftest.$ac_ext >&5
12480 ac_cv_lib_m_atanl=no
12482 rm -f conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 LIBS=$ac_check_lib_save_LIBS
12486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12487 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12488 if test $ac_cv_lib_m_atanl = yes; then
12490 cat >>confdefs.h <<\_ACEOF
12491 #define HAVE_ATANL 1
12492 _ACEOF
12496 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12497 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12498 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 else
12501 ac_check_lib_save_LIBS=$LIBS
12502 LIBS="-lm $LIBS"
12503 if test x$gcc_no_link = xyes; then
12504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12506 { (exit 1); exit 1; }; }
12508 cat >conftest.$ac_ext <<_ACEOF
12509 /* confdefs.h. */
12510 _ACEOF
12511 cat confdefs.h >>conftest.$ac_ext
12512 cat >>conftest.$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12515 /* Override any gcc2 internal prototype to avoid an error. */
12516 #ifdef __cplusplus
12517 extern "C"
12518 #endif
12519 /* We use char because int might match the return type of a gcc2
12520 builtin and then its argument prototype would still apply. */
12521 char atanhf ();
12523 main ()
12525 atanhf ();
12527 return 0;
12529 _ACEOF
12530 rm -f conftest.$ac_objext conftest$ac_exeext
12531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12532 (eval $ac_link) 2>conftest.er1
12533 ac_status=$?
12534 grep -v '^ *+' conftest.er1 >conftest.err
12535 rm -f conftest.er1
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try='test -z "$ac_c_werror_flag"
12540 || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12552 ac_cv_lib_m_atanhf=yes
12553 else
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.$ac_ext >&5
12557 ac_cv_lib_m_atanhf=no
12559 rm -f conftest.err conftest.$ac_objext \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LIBS=$ac_check_lib_save_LIBS
12563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12564 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12565 if test $ac_cv_lib_m_atanhf = yes; then
12567 cat >>confdefs.h <<\_ACEOF
12568 #define HAVE_ATANHF 1
12569 _ACEOF
12573 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12574 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12575 if test "${ac_cv_lib_m_atanh+set}" = set; then
12576 echo $ECHO_N "(cached) $ECHO_C" >&6
12577 else
12578 ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-lm $LIBS"
12580 if test x$gcc_no_link = xyes; then
12581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12583 { (exit 1); exit 1; }; }
12585 cat >conftest.$ac_ext <<_ACEOF
12586 /* confdefs.h. */
12587 _ACEOF
12588 cat confdefs.h >>conftest.$ac_ext
12589 cat >>conftest.$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12592 /* Override any gcc2 internal prototype to avoid an error. */
12593 #ifdef __cplusplus
12594 extern "C"
12595 #endif
12596 /* We use char because int might match the return type of a gcc2
12597 builtin and then its argument prototype would still apply. */
12598 char atanh ();
12600 main ()
12602 atanh ();
12604 return 0;
12606 _ACEOF
12607 rm -f conftest.$ac_objext conftest$ac_exeext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12609 (eval $ac_link) 2>conftest.er1
12610 ac_status=$?
12611 grep -v '^ *+' conftest.er1 >conftest.err
12612 rm -f conftest.er1
12613 cat conftest.err >&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } &&
12616 { ac_try='test -z "$ac_c_werror_flag"
12617 || test ! -s conftest.err'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12620 ac_status=$?
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; } &&
12623 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12629 ac_cv_lib_m_atanh=yes
12630 else
12631 echo "$as_me: failed program was:" >&5
12632 sed 's/^/| /' conftest.$ac_ext >&5
12634 ac_cv_lib_m_atanh=no
12636 rm -f conftest.err conftest.$ac_objext \
12637 conftest$ac_exeext conftest.$ac_ext
12638 LIBS=$ac_check_lib_save_LIBS
12640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12641 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12642 if test $ac_cv_lib_m_atanh = yes; then
12644 cat >>confdefs.h <<\_ACEOF
12645 #define HAVE_ATANH 1
12646 _ACEOF
12650 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12651 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12652 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12653 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 else
12655 ac_check_lib_save_LIBS=$LIBS
12656 LIBS="-lm $LIBS"
12657 if test x$gcc_no_link = xyes; then
12658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12660 { (exit 1); exit 1; }; }
12662 cat >conftest.$ac_ext <<_ACEOF
12663 /* confdefs.h. */
12664 _ACEOF
12665 cat confdefs.h >>conftest.$ac_ext
12666 cat >>conftest.$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12669 /* Override any gcc2 internal prototype to avoid an error. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 /* We use char because int might match the return type of a gcc2
12674 builtin and then its argument prototype would still apply. */
12675 char atanhl ();
12677 main ()
12679 atanhl ();
12681 return 0;
12683 _ACEOF
12684 rm -f conftest.$ac_objext conftest$ac_exeext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12686 (eval $ac_link) 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } &&
12693 { ac_try='test -z "$ac_c_werror_flag"
12694 || test ! -s conftest.err'
12695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12696 (eval $ac_try) 2>&5
12697 ac_status=$?
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; } &&
12700 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12706 ac_cv_lib_m_atanhl=yes
12707 else
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.$ac_ext >&5
12711 ac_cv_lib_m_atanhl=no
12713 rm -f conftest.err conftest.$ac_objext \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_lib_save_LIBS
12717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12718 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12719 if test $ac_cv_lib_m_atanhl = yes; then
12721 cat >>confdefs.h <<\_ACEOF
12722 #define HAVE_ATANHL 1
12723 _ACEOF
12727 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12728 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12729 if test "${ac_cv_lib_m_cargf+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12731 else
12732 ac_check_lib_save_LIBS=$LIBS
12733 LIBS="-lm $LIBS"
12734 if test x$gcc_no_link = xyes; then
12735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12737 { (exit 1); exit 1; }; }
12739 cat >conftest.$ac_ext <<_ACEOF
12740 /* confdefs.h. */
12741 _ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12746 /* Override any gcc2 internal prototype to avoid an error. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 /* We use char because int might match the return type of a gcc2
12751 builtin and then its argument prototype would still apply. */
12752 char cargf ();
12754 main ()
12756 cargf ();
12758 return 0;
12760 _ACEOF
12761 rm -f conftest.$ac_objext conftest$ac_exeext
12762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12763 (eval $ac_link) 2>conftest.er1
12764 ac_status=$?
12765 grep -v '^ *+' conftest.er1 >conftest.err
12766 rm -f conftest.er1
12767 cat conftest.err >&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } &&
12770 { ac_try='test -z "$ac_c_werror_flag"
12771 || test ! -s conftest.err'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12774 ac_status=$?
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12783 ac_cv_lib_m_cargf=yes
12784 else
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12788 ac_cv_lib_m_cargf=no
12790 rm -f conftest.err conftest.$ac_objext \
12791 conftest$ac_exeext conftest.$ac_ext
12792 LIBS=$ac_check_lib_save_LIBS
12794 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12795 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12796 if test $ac_cv_lib_m_cargf = yes; then
12798 cat >>confdefs.h <<\_ACEOF
12799 #define HAVE_CARGF 1
12800 _ACEOF
12804 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12805 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12806 if test "${ac_cv_lib_m_carg+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 else
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lm $LIBS"
12811 if test x$gcc_no_link = xyes; then
12812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12814 { (exit 1); exit 1; }; }
12816 cat >conftest.$ac_ext <<_ACEOF
12817 /* confdefs.h. */
12818 _ACEOF
12819 cat confdefs.h >>conftest.$ac_ext
12820 cat >>conftest.$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12823 /* Override any gcc2 internal prototype to avoid an error. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 #endif
12827 /* We use char because int might match the return type of a gcc2
12828 builtin and then its argument prototype would still apply. */
12829 char carg ();
12831 main ()
12833 carg ();
12835 return 0;
12837 _ACEOF
12838 rm -f conftest.$ac_objext conftest$ac_exeext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12840 (eval $ac_link) 2>conftest.er1
12841 ac_status=$?
12842 grep -v '^ *+' conftest.er1 >conftest.err
12843 rm -f conftest.er1
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } &&
12847 { ac_try='test -z "$ac_c_werror_flag"
12848 || test ! -s conftest.err'
12849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12850 (eval $ac_try) 2>&5
12851 ac_status=$?
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); }; } &&
12854 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12860 ac_cv_lib_m_carg=yes
12861 else
12862 echo "$as_me: failed program was:" >&5
12863 sed 's/^/| /' conftest.$ac_ext >&5
12865 ac_cv_lib_m_carg=no
12867 rm -f conftest.err conftest.$ac_objext \
12868 conftest$ac_exeext conftest.$ac_ext
12869 LIBS=$ac_check_lib_save_LIBS
12871 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12872 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12873 if test $ac_cv_lib_m_carg = yes; then
12875 cat >>confdefs.h <<\_ACEOF
12876 #define HAVE_CARG 1
12877 _ACEOF
12881 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12882 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12883 if test "${ac_cv_lib_m_cargl+set}" = set; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12885 else
12886 ac_check_lib_save_LIBS=$LIBS
12887 LIBS="-lm $LIBS"
12888 if test x$gcc_no_link = xyes; then
12889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12891 { (exit 1); exit 1; }; }
12893 cat >conftest.$ac_ext <<_ACEOF
12894 /* confdefs.h. */
12895 _ACEOF
12896 cat confdefs.h >>conftest.$ac_ext
12897 cat >>conftest.$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12900 /* Override any gcc2 internal prototype to avoid an error. */
12901 #ifdef __cplusplus
12902 extern "C"
12903 #endif
12904 /* We use char because int might match the return type of a gcc2
12905 builtin and then its argument prototype would still apply. */
12906 char cargl ();
12908 main ()
12910 cargl ();
12912 return 0;
12914 _ACEOF
12915 rm -f conftest.$ac_objext conftest$ac_exeext
12916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12917 (eval $ac_link) 2>conftest.er1
12918 ac_status=$?
12919 grep -v '^ *+' conftest.er1 >conftest.err
12920 rm -f conftest.er1
12921 cat conftest.err >&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } &&
12924 { ac_try='test -z "$ac_c_werror_flag"
12925 || test ! -s conftest.err'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12928 ac_status=$?
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; } &&
12931 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12937 ac_cv_lib_m_cargl=yes
12938 else
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.$ac_ext >&5
12942 ac_cv_lib_m_cargl=no
12944 rm -f conftest.err conftest.$ac_objext \
12945 conftest$ac_exeext conftest.$ac_ext
12946 LIBS=$ac_check_lib_save_LIBS
12948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12949 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12950 if test $ac_cv_lib_m_cargl = yes; then
12952 cat >>confdefs.h <<\_ACEOF
12953 #define HAVE_CARGL 1
12954 _ACEOF
12958 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12959 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12960 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12963 ac_check_lib_save_LIBS=$LIBS
12964 LIBS="-lm $LIBS"
12965 if test x$gcc_no_link = xyes; then
12966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12968 { (exit 1); exit 1; }; }
12970 cat >conftest.$ac_ext <<_ACEOF
12971 /* confdefs.h. */
12972 _ACEOF
12973 cat confdefs.h >>conftest.$ac_ext
12974 cat >>conftest.$ac_ext <<_ACEOF
12975 /* end confdefs.h. */
12977 /* Override any gcc2 internal prototype to avoid an error. */
12978 #ifdef __cplusplus
12979 extern "C"
12980 #endif
12981 /* We use char because int might match the return type of a gcc2
12982 builtin and then its argument prototype would still apply. */
12983 char ceilf ();
12985 main ()
12987 ceilf ();
12989 return 0;
12991 _ACEOF
12992 rm -f conftest.$ac_objext conftest$ac_exeext
12993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12994 (eval $ac_link) 2>conftest.er1
12995 ac_status=$?
12996 grep -v '^ *+' conftest.er1 >conftest.err
12997 rm -f conftest.er1
12998 cat conftest.err >&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); } &&
13001 { ac_try='test -z "$ac_c_werror_flag"
13002 || test ! -s conftest.err'
13003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004 (eval $ac_try) 2>&5
13005 ac_status=$?
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; } &&
13008 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13014 ac_cv_lib_m_ceilf=yes
13015 else
13016 echo "$as_me: failed program was:" >&5
13017 sed 's/^/| /' conftest.$ac_ext >&5
13019 ac_cv_lib_m_ceilf=no
13021 rm -f conftest.err conftest.$ac_objext \
13022 conftest$ac_exeext conftest.$ac_ext
13023 LIBS=$ac_check_lib_save_LIBS
13025 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
13026 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
13027 if test $ac_cv_lib_m_ceilf = yes; then
13029 cat >>confdefs.h <<\_ACEOF
13030 #define HAVE_CEILF 1
13031 _ACEOF
13035 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
13036 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
13037 if test "${ac_cv_lib_m_ceil+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 else
13040 ac_check_lib_save_LIBS=$LIBS
13041 LIBS="-lm $LIBS"
13042 if test x$gcc_no_link = xyes; then
13043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13045 { (exit 1); exit 1; }; }
13047 cat >conftest.$ac_ext <<_ACEOF
13048 /* confdefs.h. */
13049 _ACEOF
13050 cat confdefs.h >>conftest.$ac_ext
13051 cat >>conftest.$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13054 /* Override any gcc2 internal prototype to avoid an error. */
13055 #ifdef __cplusplus
13056 extern "C"
13057 #endif
13058 /* We use char because int might match the return type of a gcc2
13059 builtin and then its argument prototype would still apply. */
13060 char ceil ();
13062 main ()
13064 ceil ();
13066 return 0;
13068 _ACEOF
13069 rm -f conftest.$ac_objext conftest$ac_exeext
13070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13071 (eval $ac_link) 2>conftest.er1
13072 ac_status=$?
13073 grep -v '^ *+' conftest.er1 >conftest.err
13074 rm -f conftest.er1
13075 cat conftest.err >&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } &&
13078 { ac_try='test -z "$ac_c_werror_flag"
13079 || test ! -s conftest.err'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13082 ac_status=$?
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13091 ac_cv_lib_m_ceil=yes
13092 else
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.$ac_ext >&5
13096 ac_cv_lib_m_ceil=no
13098 rm -f conftest.err conftest.$ac_objext \
13099 conftest$ac_exeext conftest.$ac_ext
13100 LIBS=$ac_check_lib_save_LIBS
13102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
13103 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
13104 if test $ac_cv_lib_m_ceil = yes; then
13106 cat >>confdefs.h <<\_ACEOF
13107 #define HAVE_CEIL 1
13108 _ACEOF
13112 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
13113 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
13114 if test "${ac_cv_lib_m_ceill+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 else
13117 ac_check_lib_save_LIBS=$LIBS
13118 LIBS="-lm $LIBS"
13119 if test x$gcc_no_link = xyes; then
13120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13122 { (exit 1); exit 1; }; }
13124 cat >conftest.$ac_ext <<_ACEOF
13125 /* confdefs.h. */
13126 _ACEOF
13127 cat confdefs.h >>conftest.$ac_ext
13128 cat >>conftest.$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13131 /* Override any gcc2 internal prototype to avoid an error. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 /* We use char because int might match the return type of a gcc2
13136 builtin and then its argument prototype would still apply. */
13137 char ceill ();
13139 main ()
13141 ceill ();
13143 return 0;
13145 _ACEOF
13146 rm -f conftest.$ac_objext conftest$ac_exeext
13147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13148 (eval $ac_link) 2>conftest.er1
13149 ac_status=$?
13150 grep -v '^ *+' conftest.er1 >conftest.err
13151 rm -f conftest.er1
13152 cat conftest.err >&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } &&
13155 { ac_try='test -z "$ac_c_werror_flag"
13156 || test ! -s conftest.err'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13159 ac_status=$?
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; } &&
13162 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13168 ac_cv_lib_m_ceill=yes
13169 else
13170 echo "$as_me: failed program was:" >&5
13171 sed 's/^/| /' conftest.$ac_ext >&5
13173 ac_cv_lib_m_ceill=no
13175 rm -f conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_lib_save_LIBS
13179 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
13180 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
13181 if test $ac_cv_lib_m_ceill = yes; then
13183 cat >>confdefs.h <<\_ACEOF
13184 #define HAVE_CEILL 1
13185 _ACEOF
13189 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
13190 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
13191 if test "${ac_cv_lib_m_copysignf+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 ac_check_lib_save_LIBS=$LIBS
13195 LIBS="-lm $LIBS"
13196 if test x$gcc_no_link = xyes; then
13197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13199 { (exit 1); exit 1; }; }
13201 cat >conftest.$ac_ext <<_ACEOF
13202 /* confdefs.h. */
13203 _ACEOF
13204 cat confdefs.h >>conftest.$ac_ext
13205 cat >>conftest.$ac_ext <<_ACEOF
13206 /* end confdefs.h. */
13208 /* Override any gcc2 internal prototype to avoid an error. */
13209 #ifdef __cplusplus
13210 extern "C"
13211 #endif
13212 /* We use char because int might match the return type of a gcc2
13213 builtin and then its argument prototype would still apply. */
13214 char copysignf ();
13216 main ()
13218 copysignf ();
13220 return 0;
13222 _ACEOF
13223 rm -f conftest.$ac_objext conftest$ac_exeext
13224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13225 (eval $ac_link) 2>conftest.er1
13226 ac_status=$?
13227 grep -v '^ *+' conftest.er1 >conftest.err
13228 rm -f conftest.er1
13229 cat conftest.err >&5
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); } &&
13232 { ac_try='test -z "$ac_c_werror_flag"
13233 || test ! -s conftest.err'
13234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13235 (eval $ac_try) 2>&5
13236 ac_status=$?
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); }; } &&
13239 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13245 ac_cv_lib_m_copysignf=yes
13246 else
13247 echo "$as_me: failed program was:" >&5
13248 sed 's/^/| /' conftest.$ac_ext >&5
13250 ac_cv_lib_m_copysignf=no
13252 rm -f conftest.err conftest.$ac_objext \
13253 conftest$ac_exeext conftest.$ac_ext
13254 LIBS=$ac_check_lib_save_LIBS
13256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
13257 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
13258 if test $ac_cv_lib_m_copysignf = yes; then
13260 cat >>confdefs.h <<\_ACEOF
13261 #define HAVE_COPYSIGNF 1
13262 _ACEOF
13266 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
13267 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
13268 if test "${ac_cv_lib_m_copysign+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 else
13271 ac_check_lib_save_LIBS=$LIBS
13272 LIBS="-lm $LIBS"
13273 if test x$gcc_no_link = xyes; then
13274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13276 { (exit 1); exit 1; }; }
13278 cat >conftest.$ac_ext <<_ACEOF
13279 /* confdefs.h. */
13280 _ACEOF
13281 cat confdefs.h >>conftest.$ac_ext
13282 cat >>conftest.$ac_ext <<_ACEOF
13283 /* end confdefs.h. */
13285 /* Override any gcc2 internal prototype to avoid an error. */
13286 #ifdef __cplusplus
13287 extern "C"
13288 #endif
13289 /* We use char because int might match the return type of a gcc2
13290 builtin and then its argument prototype would still apply. */
13291 char copysign ();
13293 main ()
13295 copysign ();
13297 return 0;
13299 _ACEOF
13300 rm -f conftest.$ac_objext conftest$ac_exeext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13302 (eval $ac_link) 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try='test -z "$ac_c_werror_flag"
13310 || test ! -s conftest.err'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; } &&
13316 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13322 ac_cv_lib_m_copysign=yes
13323 else
13324 echo "$as_me: failed program was:" >&5
13325 sed 's/^/| /' conftest.$ac_ext >&5
13327 ac_cv_lib_m_copysign=no
13329 rm -f conftest.err conftest.$ac_objext \
13330 conftest$ac_exeext conftest.$ac_ext
13331 LIBS=$ac_check_lib_save_LIBS
13333 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
13334 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
13335 if test $ac_cv_lib_m_copysign = yes; then
13337 cat >>confdefs.h <<\_ACEOF
13338 #define HAVE_COPYSIGN 1
13339 _ACEOF
13343 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
13344 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
13345 if test "${ac_cv_lib_m_copysignl+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13347 else
13348 ac_check_lib_save_LIBS=$LIBS
13349 LIBS="-lm $LIBS"
13350 if test x$gcc_no_link = xyes; then
13351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13353 { (exit 1); exit 1; }; }
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13362 /* Override any gcc2 internal prototype to avoid an error. */
13363 #ifdef __cplusplus
13364 extern "C"
13365 #endif
13366 /* We use char because int might match the return type of a gcc2
13367 builtin and then its argument prototype would still apply. */
13368 char copysignl ();
13370 main ()
13372 copysignl ();
13374 return 0;
13376 _ACEOF
13377 rm -f conftest.$ac_objext conftest$ac_exeext
13378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13379 (eval $ac_link) 2>conftest.er1
13380 ac_status=$?
13381 grep -v '^ *+' conftest.er1 >conftest.err
13382 rm -f conftest.er1
13383 cat conftest.err >&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); } &&
13386 { ac_try='test -z "$ac_c_werror_flag"
13387 || test ! -s conftest.err'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13390 ac_status=$?
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; } &&
13393 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13399 ac_cv_lib_m_copysignl=yes
13400 else
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13404 ac_cv_lib_m_copysignl=no
13406 rm -f conftest.err conftest.$ac_objext \
13407 conftest$ac_exeext conftest.$ac_ext
13408 LIBS=$ac_check_lib_save_LIBS
13410 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
13411 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
13412 if test $ac_cv_lib_m_copysignl = yes; then
13414 cat >>confdefs.h <<\_ACEOF
13415 #define HAVE_COPYSIGNL 1
13416 _ACEOF
13420 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
13421 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
13422 if test "${ac_cv_lib_m_cosf+set}" = set; then
13423 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 else
13425 ac_check_lib_save_LIBS=$LIBS
13426 LIBS="-lm $LIBS"
13427 if test x$gcc_no_link = xyes; then
13428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13430 { (exit 1); exit 1; }; }
13432 cat >conftest.$ac_ext <<_ACEOF
13433 /* confdefs.h. */
13434 _ACEOF
13435 cat confdefs.h >>conftest.$ac_ext
13436 cat >>conftest.$ac_ext <<_ACEOF
13437 /* end confdefs.h. */
13439 /* Override any gcc2 internal prototype to avoid an error. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 /* We use char because int might match the return type of a gcc2
13444 builtin and then its argument prototype would still apply. */
13445 char cosf ();
13447 main ()
13449 cosf ();
13451 return 0;
13453 _ACEOF
13454 rm -f conftest.$ac_objext conftest$ac_exeext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13456 (eval $ac_link) 2>conftest.er1
13457 ac_status=$?
13458 grep -v '^ *+' conftest.er1 >conftest.err
13459 rm -f conftest.er1
13460 cat conftest.err >&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try='test -z "$ac_c_werror_flag"
13464 || test ! -s conftest.err'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13467 ac_status=$?
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; } &&
13470 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13476 ac_cv_lib_m_cosf=yes
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 ac_cv_lib_m_cosf=no
13483 rm -f conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_lib_save_LIBS
13487 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13488 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13489 if test $ac_cv_lib_m_cosf = yes; then
13491 cat >>confdefs.h <<\_ACEOF
13492 #define HAVE_COSF 1
13493 _ACEOF
13497 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13498 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13499 if test "${ac_cv_lib_m_cos+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 ac_check_lib_save_LIBS=$LIBS
13503 LIBS="-lm $LIBS"
13504 if test x$gcc_no_link = xyes; then
13505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13507 { (exit 1); exit 1; }; }
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13516 /* Override any gcc2 internal prototype to avoid an error. */
13517 #ifdef __cplusplus
13518 extern "C"
13519 #endif
13520 /* We use char because int might match the return type of a gcc2
13521 builtin and then its argument prototype would still apply. */
13522 char cos ();
13524 main ()
13526 cos ();
13528 return 0;
13530 _ACEOF
13531 rm -f conftest.$ac_objext conftest$ac_exeext
13532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13533 (eval $ac_link) 2>conftest.er1
13534 ac_status=$?
13535 grep -v '^ *+' conftest.er1 >conftest.err
13536 rm -f conftest.er1
13537 cat conftest.err >&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); } &&
13540 { ac_try='test -z "$ac_c_werror_flag"
13541 || test ! -s conftest.err'
13542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13543 (eval $ac_try) 2>&5
13544 ac_status=$?
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); }; } &&
13547 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13553 ac_cv_lib_m_cos=yes
13554 else
13555 echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.$ac_ext >&5
13558 ac_cv_lib_m_cos=no
13560 rm -f conftest.err conftest.$ac_objext \
13561 conftest$ac_exeext conftest.$ac_ext
13562 LIBS=$ac_check_lib_save_LIBS
13564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13565 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13566 if test $ac_cv_lib_m_cos = yes; then
13568 cat >>confdefs.h <<\_ACEOF
13569 #define HAVE_COS 1
13570 _ACEOF
13574 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13575 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13576 if test "${ac_cv_lib_m_cosl+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 else
13579 ac_check_lib_save_LIBS=$LIBS
13580 LIBS="-lm $LIBS"
13581 if test x$gcc_no_link = xyes; then
13582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13584 { (exit 1); exit 1; }; }
13586 cat >conftest.$ac_ext <<_ACEOF
13587 /* confdefs.h. */
13588 _ACEOF
13589 cat confdefs.h >>conftest.$ac_ext
13590 cat >>conftest.$ac_ext <<_ACEOF
13591 /* end confdefs.h. */
13593 /* Override any gcc2 internal prototype to avoid an error. */
13594 #ifdef __cplusplus
13595 extern "C"
13596 #endif
13597 /* We use char because int might match the return type of a gcc2
13598 builtin and then its argument prototype would still apply. */
13599 char cosl ();
13601 main ()
13603 cosl ();
13605 return 0;
13607 _ACEOF
13608 rm -f conftest.$ac_objext conftest$ac_exeext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13610 (eval $ac_link) 2>conftest.er1
13611 ac_status=$?
13612 grep -v '^ *+' conftest.er1 >conftest.err
13613 rm -f conftest.er1
13614 cat conftest.err >&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try='test -z "$ac_c_werror_flag"
13618 || test ! -s conftest.err'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; } &&
13624 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13630 ac_cv_lib_m_cosl=yes
13631 else
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.$ac_ext >&5
13635 ac_cv_lib_m_cosl=no
13637 rm -f conftest.err conftest.$ac_objext \
13638 conftest$ac_exeext conftest.$ac_ext
13639 LIBS=$ac_check_lib_save_LIBS
13641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13642 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13643 if test $ac_cv_lib_m_cosl = yes; then
13645 cat >>confdefs.h <<\_ACEOF
13646 #define HAVE_COSL 1
13647 _ACEOF
13651 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13652 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13653 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13655 else
13656 ac_check_lib_save_LIBS=$LIBS
13657 LIBS="-lm $LIBS"
13658 if test x$gcc_no_link = xyes; then
13659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13661 { (exit 1); exit 1; }; }
13663 cat >conftest.$ac_ext <<_ACEOF
13664 /* confdefs.h. */
13665 _ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13670 /* Override any gcc2 internal prototype to avoid an error. */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 /* We use char because int might match the return type of a gcc2
13675 builtin and then its argument prototype would still apply. */
13676 char ccosf ();
13678 main ()
13680 ccosf ();
13682 return 0;
13684 _ACEOF
13685 rm -f conftest.$ac_objext conftest$ac_exeext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13687 (eval $ac_link) 2>conftest.er1
13688 ac_status=$?
13689 grep -v '^ *+' conftest.er1 >conftest.err
13690 rm -f conftest.er1
13691 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try='test -z "$ac_c_werror_flag"
13695 || test ! -s conftest.err'
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697 (eval $ac_try) 2>&5
13698 ac_status=$?
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); }; } &&
13701 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13707 ac_cv_lib_m_ccosf=yes
13708 else
13709 echo "$as_me: failed program was:" >&5
13710 sed 's/^/| /' conftest.$ac_ext >&5
13712 ac_cv_lib_m_ccosf=no
13714 rm -f conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716 LIBS=$ac_check_lib_save_LIBS
13718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13719 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13720 if test $ac_cv_lib_m_ccosf = yes; then
13722 cat >>confdefs.h <<\_ACEOF
13723 #define HAVE_CCOSF 1
13724 _ACEOF
13728 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13729 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13730 if test "${ac_cv_lib_m_ccos+set}" = set; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 else
13733 ac_check_lib_save_LIBS=$LIBS
13734 LIBS="-lm $LIBS"
13735 if test x$gcc_no_link = xyes; then
13736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13738 { (exit 1); exit 1; }; }
13740 cat >conftest.$ac_ext <<_ACEOF
13741 /* confdefs.h. */
13742 _ACEOF
13743 cat confdefs.h >>conftest.$ac_ext
13744 cat >>conftest.$ac_ext <<_ACEOF
13745 /* end confdefs.h. */
13747 /* Override any gcc2 internal prototype to avoid an error. */
13748 #ifdef __cplusplus
13749 extern "C"
13750 #endif
13751 /* We use char because int might match the return type of a gcc2
13752 builtin and then its argument prototype would still apply. */
13753 char ccos ();
13755 main ()
13757 ccos ();
13759 return 0;
13761 _ACEOF
13762 rm -f conftest.$ac_objext conftest$ac_exeext
13763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13764 (eval $ac_link) 2>conftest.er1
13765 ac_status=$?
13766 grep -v '^ *+' conftest.er1 >conftest.err
13767 rm -f conftest.er1
13768 cat conftest.err >&5
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); } &&
13771 { ac_try='test -z "$ac_c_werror_flag"
13772 || test ! -s conftest.err'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13775 ac_status=$?
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; } &&
13778 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13784 ac_cv_lib_m_ccos=yes
13785 else
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.$ac_ext >&5
13789 ac_cv_lib_m_ccos=no
13791 rm -f conftest.err conftest.$ac_objext \
13792 conftest$ac_exeext conftest.$ac_ext
13793 LIBS=$ac_check_lib_save_LIBS
13795 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13796 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13797 if test $ac_cv_lib_m_ccos = yes; then
13799 cat >>confdefs.h <<\_ACEOF
13800 #define HAVE_CCOS 1
13801 _ACEOF
13805 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13806 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13807 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 else
13810 ac_check_lib_save_LIBS=$LIBS
13811 LIBS="-lm $LIBS"
13812 if test x$gcc_no_link = xyes; then
13813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13815 { (exit 1); exit 1; }; }
13817 cat >conftest.$ac_ext <<_ACEOF
13818 /* confdefs.h. */
13819 _ACEOF
13820 cat confdefs.h >>conftest.$ac_ext
13821 cat >>conftest.$ac_ext <<_ACEOF
13822 /* end confdefs.h. */
13824 /* Override any gcc2 internal prototype to avoid an error. */
13825 #ifdef __cplusplus
13826 extern "C"
13827 #endif
13828 /* We use char because int might match the return type of a gcc2
13829 builtin and then its argument prototype would still apply. */
13830 char ccosl ();
13832 main ()
13834 ccosl ();
13836 return 0;
13838 _ACEOF
13839 rm -f conftest.$ac_objext conftest$ac_exeext
13840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13841 (eval $ac_link) 2>conftest.er1
13842 ac_status=$?
13843 grep -v '^ *+' conftest.er1 >conftest.err
13844 rm -f conftest.er1
13845 cat conftest.err >&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); } &&
13848 { ac_try='test -z "$ac_c_werror_flag"
13849 || test ! -s conftest.err'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13852 ac_status=$?
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; } &&
13855 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13861 ac_cv_lib_m_ccosl=yes
13862 else
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13866 ac_cv_lib_m_ccosl=no
13868 rm -f conftest.err conftest.$ac_objext \
13869 conftest$ac_exeext conftest.$ac_ext
13870 LIBS=$ac_check_lib_save_LIBS
13872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13873 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13874 if test $ac_cv_lib_m_ccosl = yes; then
13876 cat >>confdefs.h <<\_ACEOF
13877 #define HAVE_CCOSL 1
13878 _ACEOF
13882 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13883 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13884 if test "${ac_cv_lib_m_coshf+set}" = set; then
13885 echo $ECHO_N "(cached) $ECHO_C" >&6
13886 else
13887 ac_check_lib_save_LIBS=$LIBS
13888 LIBS="-lm $LIBS"
13889 if test x$gcc_no_link = xyes; then
13890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13892 { (exit 1); exit 1; }; }
13894 cat >conftest.$ac_ext <<_ACEOF
13895 /* confdefs.h. */
13896 _ACEOF
13897 cat confdefs.h >>conftest.$ac_ext
13898 cat >>conftest.$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13901 /* Override any gcc2 internal prototype to avoid an error. */
13902 #ifdef __cplusplus
13903 extern "C"
13904 #endif
13905 /* We use char because int might match the return type of a gcc2
13906 builtin and then its argument prototype would still apply. */
13907 char coshf ();
13909 main ()
13911 coshf ();
13913 return 0;
13915 _ACEOF
13916 rm -f conftest.$ac_objext conftest$ac_exeext
13917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13918 (eval $ac_link) 2>conftest.er1
13919 ac_status=$?
13920 grep -v '^ *+' conftest.er1 >conftest.err
13921 rm -f conftest.er1
13922 cat conftest.err >&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } &&
13925 { ac_try='test -z "$ac_c_werror_flag"
13926 || test ! -s conftest.err'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; } &&
13932 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13938 ac_cv_lib_m_coshf=yes
13939 else
13940 echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.$ac_ext >&5
13943 ac_cv_lib_m_coshf=no
13945 rm -f conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_lib_save_LIBS
13949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13950 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13951 if test $ac_cv_lib_m_coshf = yes; then
13953 cat >>confdefs.h <<\_ACEOF
13954 #define HAVE_COSHF 1
13955 _ACEOF
13959 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13960 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13961 if test "${ac_cv_lib_m_cosh+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 else
13964 ac_check_lib_save_LIBS=$LIBS
13965 LIBS="-lm $LIBS"
13966 if test x$gcc_no_link = xyes; then
13967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13969 { (exit 1); exit 1; }; }
13971 cat >conftest.$ac_ext <<_ACEOF
13972 /* confdefs.h. */
13973 _ACEOF
13974 cat confdefs.h >>conftest.$ac_ext
13975 cat >>conftest.$ac_ext <<_ACEOF
13976 /* end confdefs.h. */
13978 /* Override any gcc2 internal prototype to avoid an error. */
13979 #ifdef __cplusplus
13980 extern "C"
13981 #endif
13982 /* We use char because int might match the return type of a gcc2
13983 builtin and then its argument prototype would still apply. */
13984 char cosh ();
13986 main ()
13988 cosh ();
13990 return 0;
13992 _ACEOF
13993 rm -f conftest.$ac_objext conftest$ac_exeext
13994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13995 (eval $ac_link) 2>conftest.er1
13996 ac_status=$?
13997 grep -v '^ *+' conftest.er1 >conftest.err
13998 rm -f conftest.er1
13999 cat conftest.err >&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); } &&
14002 { ac_try='test -z "$ac_c_werror_flag"
14003 || test ! -s conftest.err'
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14006 ac_status=$?
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; } &&
14009 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14015 ac_cv_lib_m_cosh=yes
14016 else
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.$ac_ext >&5
14020 ac_cv_lib_m_cosh=no
14022 rm -f conftest.err conftest.$ac_objext \
14023 conftest$ac_exeext conftest.$ac_ext
14024 LIBS=$ac_check_lib_save_LIBS
14026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
14027 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
14028 if test $ac_cv_lib_m_cosh = yes; then
14030 cat >>confdefs.h <<\_ACEOF
14031 #define HAVE_COSH 1
14032 _ACEOF
14036 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
14037 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
14038 if test "${ac_cv_lib_m_coshl+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14041 ac_check_lib_save_LIBS=$LIBS
14042 LIBS="-lm $LIBS"
14043 if test x$gcc_no_link = xyes; then
14044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14046 { (exit 1); exit 1; }; }
14048 cat >conftest.$ac_ext <<_ACEOF
14049 /* confdefs.h. */
14050 _ACEOF
14051 cat confdefs.h >>conftest.$ac_ext
14052 cat >>conftest.$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14055 /* Override any gcc2 internal prototype to avoid an error. */
14056 #ifdef __cplusplus
14057 extern "C"
14058 #endif
14059 /* We use char because int might match the return type of a gcc2
14060 builtin and then its argument prototype would still apply. */
14061 char coshl ();
14063 main ()
14065 coshl ();
14067 return 0;
14069 _ACEOF
14070 rm -f conftest.$ac_objext conftest$ac_exeext
14071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14072 (eval $ac_link) 2>conftest.er1
14073 ac_status=$?
14074 grep -v '^ *+' conftest.er1 >conftest.err
14075 rm -f conftest.er1
14076 cat conftest.err >&5
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); } &&
14079 { ac_try='test -z "$ac_c_werror_flag"
14080 || test ! -s conftest.err'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14083 ac_status=$?
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; } &&
14086 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14092 ac_cv_lib_m_coshl=yes
14093 else
14094 echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.$ac_ext >&5
14097 ac_cv_lib_m_coshl=no
14099 rm -f conftest.err conftest.$ac_objext \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_lib_save_LIBS
14103 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
14104 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
14105 if test $ac_cv_lib_m_coshl = yes; then
14107 cat >>confdefs.h <<\_ACEOF
14108 #define HAVE_COSHL 1
14109 _ACEOF
14113 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
14114 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
14115 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 else
14118 ac_check_lib_save_LIBS=$LIBS
14119 LIBS="-lm $LIBS"
14120 if test x$gcc_no_link = xyes; then
14121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14123 { (exit 1); exit 1; }; }
14125 cat >conftest.$ac_ext <<_ACEOF
14126 /* confdefs.h. */
14127 _ACEOF
14128 cat confdefs.h >>conftest.$ac_ext
14129 cat >>conftest.$ac_ext <<_ACEOF
14130 /* end confdefs.h. */
14132 /* Override any gcc2 internal prototype to avoid an error. */
14133 #ifdef __cplusplus
14134 extern "C"
14135 #endif
14136 /* We use char because int might match the return type of a gcc2
14137 builtin and then its argument prototype would still apply. */
14138 char ccoshf ();
14140 main ()
14142 ccoshf ();
14144 return 0;
14146 _ACEOF
14147 rm -f conftest.$ac_objext conftest$ac_exeext
14148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14149 (eval $ac_link) 2>conftest.er1
14150 ac_status=$?
14151 grep -v '^ *+' conftest.er1 >conftest.err
14152 rm -f conftest.er1
14153 cat conftest.err >&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); } &&
14156 { ac_try='test -z "$ac_c_werror_flag"
14157 || test ! -s conftest.err'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14160 ac_status=$?
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; } &&
14163 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14169 ac_cv_lib_m_ccoshf=yes
14170 else
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14174 ac_cv_lib_m_ccoshf=no
14176 rm -f conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 LIBS=$ac_check_lib_save_LIBS
14180 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
14181 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
14182 if test $ac_cv_lib_m_ccoshf = yes; then
14184 cat >>confdefs.h <<\_ACEOF
14185 #define HAVE_CCOSHF 1
14186 _ACEOF
14190 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
14191 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
14192 if test "${ac_cv_lib_m_ccosh+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 else
14195 ac_check_lib_save_LIBS=$LIBS
14196 LIBS="-lm $LIBS"
14197 if test x$gcc_no_link = xyes; then
14198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14200 { (exit 1); exit 1; }; }
14202 cat >conftest.$ac_ext <<_ACEOF
14203 /* confdefs.h. */
14204 _ACEOF
14205 cat confdefs.h >>conftest.$ac_ext
14206 cat >>conftest.$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14209 /* Override any gcc2 internal prototype to avoid an error. */
14210 #ifdef __cplusplus
14211 extern "C"
14212 #endif
14213 /* We use char because int might match the return type of a gcc2
14214 builtin and then its argument prototype would still apply. */
14215 char ccosh ();
14217 main ()
14219 ccosh ();
14221 return 0;
14223 _ACEOF
14224 rm -f conftest.$ac_objext conftest$ac_exeext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14226 (eval $ac_link) 2>conftest.er1
14227 ac_status=$?
14228 grep -v '^ *+' conftest.er1 >conftest.err
14229 rm -f conftest.er1
14230 cat conftest.err >&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
14233 { ac_try='test -z "$ac_c_werror_flag"
14234 || test ! -s conftest.err'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14237 ac_status=$?
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14246 ac_cv_lib_m_ccosh=yes
14247 else
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.$ac_ext >&5
14251 ac_cv_lib_m_ccosh=no
14253 rm -f conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 LIBS=$ac_check_lib_save_LIBS
14257 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
14258 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
14259 if test $ac_cv_lib_m_ccosh = yes; then
14261 cat >>confdefs.h <<\_ACEOF
14262 #define HAVE_CCOSH 1
14263 _ACEOF
14267 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
14268 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
14269 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14271 else
14272 ac_check_lib_save_LIBS=$LIBS
14273 LIBS="-lm $LIBS"
14274 if test x$gcc_no_link = xyes; then
14275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14277 { (exit 1); exit 1; }; }
14279 cat >conftest.$ac_ext <<_ACEOF
14280 /* confdefs.h. */
14281 _ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14286 /* Override any gcc2 internal prototype to avoid an error. */
14287 #ifdef __cplusplus
14288 extern "C"
14289 #endif
14290 /* We use char because int might match the return type of a gcc2
14291 builtin and then its argument prototype would still apply. */
14292 char ccoshl ();
14294 main ()
14296 ccoshl ();
14298 return 0;
14300 _ACEOF
14301 rm -f conftest.$ac_objext conftest$ac_exeext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14303 (eval $ac_link) 2>conftest.er1
14304 ac_status=$?
14305 grep -v '^ *+' conftest.er1 >conftest.err
14306 rm -f conftest.er1
14307 cat conftest.err >&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try='test -z "$ac_c_werror_flag"
14311 || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14323 ac_cv_lib_m_ccoshl=yes
14324 else
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14328 ac_cv_lib_m_ccoshl=no
14330 rm -f conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_lib_save_LIBS
14334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
14335 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
14336 if test $ac_cv_lib_m_ccoshl = yes; then
14338 cat >>confdefs.h <<\_ACEOF
14339 #define HAVE_CCOSHL 1
14340 _ACEOF
14344 echo "$as_me:$LINENO: checking for expf in -lm" >&5
14345 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
14346 if test "${ac_cv_lib_m_expf+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14348 else
14349 ac_check_lib_save_LIBS=$LIBS
14350 LIBS="-lm $LIBS"
14351 if test x$gcc_no_link = xyes; then
14352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14354 { (exit 1); exit 1; }; }
14356 cat >conftest.$ac_ext <<_ACEOF
14357 /* confdefs.h. */
14358 _ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14363 /* Override any gcc2 internal prototype to avoid an error. */
14364 #ifdef __cplusplus
14365 extern "C"
14366 #endif
14367 /* We use char because int might match the return type of a gcc2
14368 builtin and then its argument prototype would still apply. */
14369 char expf ();
14371 main ()
14373 expf ();
14375 return 0;
14377 _ACEOF
14378 rm -f conftest.$ac_objext conftest$ac_exeext
14379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14380 (eval $ac_link) 2>conftest.er1
14381 ac_status=$?
14382 grep -v '^ *+' conftest.er1 >conftest.err
14383 rm -f conftest.er1
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } &&
14387 { ac_try='test -z "$ac_c_werror_flag"
14388 || test ! -s conftest.err'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14391 ac_status=$?
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; } &&
14394 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14400 ac_cv_lib_m_expf=yes
14401 else
14402 echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14405 ac_cv_lib_m_expf=no
14407 rm -f conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_lib_save_LIBS
14411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
14412 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
14413 if test $ac_cv_lib_m_expf = yes; then
14415 cat >>confdefs.h <<\_ACEOF
14416 #define HAVE_EXPF 1
14417 _ACEOF
14421 echo "$as_me:$LINENO: checking for exp in -lm" >&5
14422 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
14423 if test "${ac_cv_lib_m_exp+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 ac_check_lib_save_LIBS=$LIBS
14427 LIBS="-lm $LIBS"
14428 if test x$gcc_no_link = xyes; then
14429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14431 { (exit 1); exit 1; }; }
14433 cat >conftest.$ac_ext <<_ACEOF
14434 /* confdefs.h. */
14435 _ACEOF
14436 cat confdefs.h >>conftest.$ac_ext
14437 cat >>conftest.$ac_ext <<_ACEOF
14438 /* end confdefs.h. */
14440 /* Override any gcc2 internal prototype to avoid an error. */
14441 #ifdef __cplusplus
14442 extern "C"
14443 #endif
14444 /* We use char because int might match the return type of a gcc2
14445 builtin and then its argument prototype would still apply. */
14446 char exp ();
14448 main ()
14450 exp ();
14452 return 0;
14454 _ACEOF
14455 rm -f conftest.$ac_objext conftest$ac_exeext
14456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14457 (eval $ac_link) 2>conftest.er1
14458 ac_status=$?
14459 grep -v '^ *+' conftest.er1 >conftest.err
14460 rm -f conftest.er1
14461 cat conftest.err >&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try='test -z "$ac_c_werror_flag"
14465 || test ! -s conftest.err'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14468 ac_status=$?
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; } &&
14471 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14477 ac_cv_lib_m_exp=yes
14478 else
14479 echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.$ac_ext >&5
14482 ac_cv_lib_m_exp=no
14484 rm -f conftest.err conftest.$ac_objext \
14485 conftest$ac_exeext conftest.$ac_ext
14486 LIBS=$ac_check_lib_save_LIBS
14488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14489 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14490 if test $ac_cv_lib_m_exp = yes; then
14492 cat >>confdefs.h <<\_ACEOF
14493 #define HAVE_EXP 1
14494 _ACEOF
14498 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14499 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14500 if test "${ac_cv_lib_m_expl+set}" = set; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14502 else
14503 ac_check_lib_save_LIBS=$LIBS
14504 LIBS="-lm $LIBS"
14505 if test x$gcc_no_link = xyes; then
14506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14508 { (exit 1); exit 1; }; }
14510 cat >conftest.$ac_ext <<_ACEOF
14511 /* confdefs.h. */
14512 _ACEOF
14513 cat confdefs.h >>conftest.$ac_ext
14514 cat >>conftest.$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14517 /* Override any gcc2 internal prototype to avoid an error. */
14518 #ifdef __cplusplus
14519 extern "C"
14520 #endif
14521 /* We use char because int might match the return type of a gcc2
14522 builtin and then its argument prototype would still apply. */
14523 char expl ();
14525 main ()
14527 expl ();
14529 return 0;
14531 _ACEOF
14532 rm -f conftest.$ac_objext conftest$ac_exeext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14534 (eval $ac_link) 2>conftest.er1
14535 ac_status=$?
14536 grep -v '^ *+' conftest.er1 >conftest.err
14537 rm -f conftest.er1
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -z "$ac_c_werror_flag"
14542 || test ! -s conftest.err'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; } &&
14548 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14554 ac_cv_lib_m_expl=yes
14555 else
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14559 ac_cv_lib_m_expl=no
14561 rm -f conftest.err conftest.$ac_objext \
14562 conftest$ac_exeext conftest.$ac_ext
14563 LIBS=$ac_check_lib_save_LIBS
14565 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14566 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14567 if test $ac_cv_lib_m_expl = yes; then
14569 cat >>confdefs.h <<\_ACEOF
14570 #define HAVE_EXPL 1
14571 _ACEOF
14575 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14576 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14577 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14579 else
14580 ac_check_lib_save_LIBS=$LIBS
14581 LIBS="-lm $LIBS"
14582 if test x$gcc_no_link = xyes; then
14583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14585 { (exit 1); exit 1; }; }
14587 cat >conftest.$ac_ext <<_ACEOF
14588 /* confdefs.h. */
14589 _ACEOF
14590 cat confdefs.h >>conftest.$ac_ext
14591 cat >>conftest.$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14594 /* Override any gcc2 internal prototype to avoid an error. */
14595 #ifdef __cplusplus
14596 extern "C"
14597 #endif
14598 /* We use char because int might match the return type of a gcc2
14599 builtin and then its argument prototype would still apply. */
14600 char cexpf ();
14602 main ()
14604 cexpf ();
14606 return 0;
14608 _ACEOF
14609 rm -f conftest.$ac_objext conftest$ac_exeext
14610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14611 (eval $ac_link) 2>conftest.er1
14612 ac_status=$?
14613 grep -v '^ *+' conftest.er1 >conftest.err
14614 rm -f conftest.er1
14615 cat conftest.err >&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } &&
14618 { ac_try='test -z "$ac_c_werror_flag"
14619 || test ! -s conftest.err'
14620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14621 (eval $ac_try) 2>&5
14622 ac_status=$?
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); }; } &&
14625 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14631 ac_cv_lib_m_cexpf=yes
14632 else
14633 echo "$as_me: failed program was:" >&5
14634 sed 's/^/| /' conftest.$ac_ext >&5
14636 ac_cv_lib_m_cexpf=no
14638 rm -f conftest.err conftest.$ac_objext \
14639 conftest$ac_exeext conftest.$ac_ext
14640 LIBS=$ac_check_lib_save_LIBS
14642 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14643 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14644 if test $ac_cv_lib_m_cexpf = yes; then
14646 cat >>confdefs.h <<\_ACEOF
14647 #define HAVE_CEXPF 1
14648 _ACEOF
14652 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14653 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14654 if test "${ac_cv_lib_m_cexp+set}" = set; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14656 else
14657 ac_check_lib_save_LIBS=$LIBS
14658 LIBS="-lm $LIBS"
14659 if test x$gcc_no_link = xyes; then
14660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14662 { (exit 1); exit 1; }; }
14664 cat >conftest.$ac_ext <<_ACEOF
14665 /* confdefs.h. */
14666 _ACEOF
14667 cat confdefs.h >>conftest.$ac_ext
14668 cat >>conftest.$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14671 /* Override any gcc2 internal prototype to avoid an error. */
14672 #ifdef __cplusplus
14673 extern "C"
14674 #endif
14675 /* We use char because int might match the return type of a gcc2
14676 builtin and then its argument prototype would still apply. */
14677 char cexp ();
14679 main ()
14681 cexp ();
14683 return 0;
14685 _ACEOF
14686 rm -f conftest.$ac_objext conftest$ac_exeext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14688 (eval $ac_link) 2>conftest.er1
14689 ac_status=$?
14690 grep -v '^ *+' conftest.er1 >conftest.err
14691 rm -f conftest.er1
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } &&
14695 { ac_try='test -z "$ac_c_werror_flag"
14696 || test ! -s conftest.err'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; } &&
14702 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14708 ac_cv_lib_m_cexp=yes
14709 else
14710 echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14713 ac_cv_lib_m_cexp=no
14715 rm -f conftest.err conftest.$ac_objext \
14716 conftest$ac_exeext conftest.$ac_ext
14717 LIBS=$ac_check_lib_save_LIBS
14719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14720 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14721 if test $ac_cv_lib_m_cexp = yes; then
14723 cat >>confdefs.h <<\_ACEOF
14724 #define HAVE_CEXP 1
14725 _ACEOF
14729 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14730 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14731 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14732 echo $ECHO_N "(cached) $ECHO_C" >&6
14733 else
14734 ac_check_lib_save_LIBS=$LIBS
14735 LIBS="-lm $LIBS"
14736 if test x$gcc_no_link = xyes; then
14737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14739 { (exit 1); exit 1; }; }
14741 cat >conftest.$ac_ext <<_ACEOF
14742 /* confdefs.h. */
14743 _ACEOF
14744 cat confdefs.h >>conftest.$ac_ext
14745 cat >>conftest.$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14748 /* Override any gcc2 internal prototype to avoid an error. */
14749 #ifdef __cplusplus
14750 extern "C"
14751 #endif
14752 /* We use char because int might match the return type of a gcc2
14753 builtin and then its argument prototype would still apply. */
14754 char cexpl ();
14756 main ()
14758 cexpl ();
14760 return 0;
14762 _ACEOF
14763 rm -f conftest.$ac_objext conftest$ac_exeext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14765 (eval $ac_link) 2>conftest.er1
14766 ac_status=$?
14767 grep -v '^ *+' conftest.er1 >conftest.err
14768 rm -f conftest.er1
14769 cat conftest.err >&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } &&
14772 { ac_try='test -z "$ac_c_werror_flag"
14773 || test ! -s conftest.err'
14774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775 (eval $ac_try) 2>&5
14776 ac_status=$?
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); }; } &&
14779 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14785 ac_cv_lib_m_cexpl=yes
14786 else
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.$ac_ext >&5
14790 ac_cv_lib_m_cexpl=no
14792 rm -f conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14794 LIBS=$ac_check_lib_save_LIBS
14796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14797 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14798 if test $ac_cv_lib_m_cexpl = yes; then
14800 cat >>confdefs.h <<\_ACEOF
14801 #define HAVE_CEXPL 1
14802 _ACEOF
14806 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14807 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14808 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14809 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 else
14811 ac_check_lib_save_LIBS=$LIBS
14812 LIBS="-lm $LIBS"
14813 if test x$gcc_no_link = xyes; then
14814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14816 { (exit 1); exit 1; }; }
14818 cat >conftest.$ac_ext <<_ACEOF
14819 /* confdefs.h. */
14820 _ACEOF
14821 cat confdefs.h >>conftest.$ac_ext
14822 cat >>conftest.$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14825 /* Override any gcc2 internal prototype to avoid an error. */
14826 #ifdef __cplusplus
14827 extern "C"
14828 #endif
14829 /* We use char because int might match the return type of a gcc2
14830 builtin and then its argument prototype would still apply. */
14831 char fabsf ();
14833 main ()
14835 fabsf ();
14837 return 0;
14839 _ACEOF
14840 rm -f conftest.$ac_objext conftest$ac_exeext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14842 (eval $ac_link) 2>conftest.er1
14843 ac_status=$?
14844 grep -v '^ *+' conftest.er1 >conftest.err
14845 rm -f conftest.er1
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } &&
14849 { ac_try='test -z "$ac_c_werror_flag"
14850 || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14853 ac_status=$?
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14862 ac_cv_lib_m_fabsf=yes
14863 else
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.$ac_ext >&5
14867 ac_cv_lib_m_fabsf=no
14869 rm -f conftest.err conftest.$ac_objext \
14870 conftest$ac_exeext conftest.$ac_ext
14871 LIBS=$ac_check_lib_save_LIBS
14873 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14874 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14875 if test $ac_cv_lib_m_fabsf = yes; then
14877 cat >>confdefs.h <<\_ACEOF
14878 #define HAVE_FABSF 1
14879 _ACEOF
14883 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14884 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14885 if test "${ac_cv_lib_m_fabs+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 else
14888 ac_check_lib_save_LIBS=$LIBS
14889 LIBS="-lm $LIBS"
14890 if test x$gcc_no_link = xyes; then
14891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14893 { (exit 1); exit 1; }; }
14895 cat >conftest.$ac_ext <<_ACEOF
14896 /* confdefs.h. */
14897 _ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14902 /* Override any gcc2 internal prototype to avoid an error. */
14903 #ifdef __cplusplus
14904 extern "C"
14905 #endif
14906 /* We use char because int might match the return type of a gcc2
14907 builtin and then its argument prototype would still apply. */
14908 char fabs ();
14910 main ()
14912 fabs ();
14914 return 0;
14916 _ACEOF
14917 rm -f conftest.$ac_objext conftest$ac_exeext
14918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14919 (eval $ac_link) 2>conftest.er1
14920 ac_status=$?
14921 grep -v '^ *+' conftest.er1 >conftest.err
14922 rm -f conftest.er1
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try='test -z "$ac_c_werror_flag"
14927 || test ! -s conftest.err'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14930 ac_status=$?
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; } &&
14933 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14939 ac_cv_lib_m_fabs=yes
14940 else
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.$ac_ext >&5
14944 ac_cv_lib_m_fabs=no
14946 rm -f conftest.err conftest.$ac_objext \
14947 conftest$ac_exeext conftest.$ac_ext
14948 LIBS=$ac_check_lib_save_LIBS
14950 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14951 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14952 if test $ac_cv_lib_m_fabs = yes; then
14954 cat >>confdefs.h <<\_ACEOF
14955 #define HAVE_FABS 1
14956 _ACEOF
14960 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14961 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14962 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14963 echo $ECHO_N "(cached) $ECHO_C" >&6
14964 else
14965 ac_check_lib_save_LIBS=$LIBS
14966 LIBS="-lm $LIBS"
14967 if test x$gcc_no_link = xyes; then
14968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14970 { (exit 1); exit 1; }; }
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14979 /* Override any gcc2 internal prototype to avoid an error. */
14980 #ifdef __cplusplus
14981 extern "C"
14982 #endif
14983 /* We use char because int might match the return type of a gcc2
14984 builtin and then its argument prototype would still apply. */
14985 char fabsl ();
14987 main ()
14989 fabsl ();
14991 return 0;
14993 _ACEOF
14994 rm -f conftest.$ac_objext conftest$ac_exeext
14995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14996 (eval $ac_link) 2>conftest.er1
14997 ac_status=$?
14998 grep -v '^ *+' conftest.er1 >conftest.err
14999 rm -f conftest.er1
15000 cat conftest.err >&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } &&
15003 { ac_try='test -z "$ac_c_werror_flag"
15004 || test ! -s conftest.err'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15007 ac_status=$?
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; } &&
15010 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15016 ac_cv_lib_m_fabsl=yes
15017 else
15018 echo "$as_me: failed program was:" >&5
15019 sed 's/^/| /' conftest.$ac_ext >&5
15021 ac_cv_lib_m_fabsl=no
15023 rm -f conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15025 LIBS=$ac_check_lib_save_LIBS
15027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
15028 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
15029 if test $ac_cv_lib_m_fabsl = yes; then
15031 cat >>confdefs.h <<\_ACEOF
15032 #define HAVE_FABSL 1
15033 _ACEOF
15037 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
15038 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
15039 if test "${ac_cv_lib_m_cabsf+set}" = set; then
15040 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 else
15042 ac_check_lib_save_LIBS=$LIBS
15043 LIBS="-lm $LIBS"
15044 if test x$gcc_no_link = xyes; then
15045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15047 { (exit 1); exit 1; }; }
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h. */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15056 /* Override any gcc2 internal prototype to avoid an error. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 /* We use char because int might match the return type of a gcc2
15061 builtin and then its argument prototype would still apply. */
15062 char cabsf ();
15064 main ()
15066 cabsf ();
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext conftest$ac_exeext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15073 (eval $ac_link) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try='test -z "$ac_c_werror_flag"
15081 || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15093 ac_cv_lib_m_cabsf=yes
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15098 ac_cv_lib_m_cabsf=no
15100 rm -f conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 LIBS=$ac_check_lib_save_LIBS
15104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
15105 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
15106 if test $ac_cv_lib_m_cabsf = yes; then
15108 cat >>confdefs.h <<\_ACEOF
15109 #define HAVE_CABSF 1
15110 _ACEOF
15114 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
15115 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
15116 if test "${ac_cv_lib_m_cabs+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15118 else
15119 ac_check_lib_save_LIBS=$LIBS
15120 LIBS="-lm $LIBS"
15121 if test x$gcc_no_link = xyes; then
15122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15124 { (exit 1); exit 1; }; }
15126 cat >conftest.$ac_ext <<_ACEOF
15127 /* confdefs.h. */
15128 _ACEOF
15129 cat confdefs.h >>conftest.$ac_ext
15130 cat >>conftest.$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15133 /* Override any gcc2 internal prototype to avoid an error. */
15134 #ifdef __cplusplus
15135 extern "C"
15136 #endif
15137 /* We use char because int might match the return type of a gcc2
15138 builtin and then its argument prototype would still apply. */
15139 char cabs ();
15141 main ()
15143 cabs ();
15145 return 0;
15147 _ACEOF
15148 rm -f conftest.$ac_objext conftest$ac_exeext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15150 (eval $ac_link) 2>conftest.er1
15151 ac_status=$?
15152 grep -v '^ *+' conftest.er1 >conftest.err
15153 rm -f conftest.er1
15154 cat conftest.err >&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } &&
15157 { ac_try='test -z "$ac_c_werror_flag"
15158 || test ! -s conftest.err'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15161 ac_status=$?
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; } &&
15164 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15170 ac_cv_lib_m_cabs=yes
15171 else
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.$ac_ext >&5
15175 ac_cv_lib_m_cabs=no
15177 rm -f conftest.err conftest.$ac_objext \
15178 conftest$ac_exeext conftest.$ac_ext
15179 LIBS=$ac_check_lib_save_LIBS
15181 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
15182 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
15183 if test $ac_cv_lib_m_cabs = yes; then
15185 cat >>confdefs.h <<\_ACEOF
15186 #define HAVE_CABS 1
15187 _ACEOF
15191 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
15192 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
15193 if test "${ac_cv_lib_m_cabsl+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 else
15196 ac_check_lib_save_LIBS=$LIBS
15197 LIBS="-lm $LIBS"
15198 if test x$gcc_no_link = xyes; then
15199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15201 { (exit 1); exit 1; }; }
15203 cat >conftest.$ac_ext <<_ACEOF
15204 /* confdefs.h. */
15205 _ACEOF
15206 cat confdefs.h >>conftest.$ac_ext
15207 cat >>conftest.$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15210 /* Override any gcc2 internal prototype to avoid an error. */
15211 #ifdef __cplusplus
15212 extern "C"
15213 #endif
15214 /* We use char because int might match the return type of a gcc2
15215 builtin and then its argument prototype would still apply. */
15216 char cabsl ();
15218 main ()
15220 cabsl ();
15222 return 0;
15224 _ACEOF
15225 rm -f conftest.$ac_objext conftest$ac_exeext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15227 (eval $ac_link) 2>conftest.er1
15228 ac_status=$?
15229 grep -v '^ *+' conftest.er1 >conftest.err
15230 rm -f conftest.er1
15231 cat conftest.err >&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try='test -z "$ac_c_werror_flag"
15235 || test ! -s conftest.err'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; } &&
15241 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15247 ac_cv_lib_m_cabsl=yes
15248 else
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.$ac_ext >&5
15252 ac_cv_lib_m_cabsl=no
15254 rm -f conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15256 LIBS=$ac_check_lib_save_LIBS
15258 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
15259 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
15260 if test $ac_cv_lib_m_cabsl = yes; then
15262 cat >>confdefs.h <<\_ACEOF
15263 #define HAVE_CABSL 1
15264 _ACEOF
15268 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
15269 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
15270 if test "${ac_cv_lib_m_floorf+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 else
15273 ac_check_lib_save_LIBS=$LIBS
15274 LIBS="-lm $LIBS"
15275 if test x$gcc_no_link = xyes; then
15276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15278 { (exit 1); exit 1; }; }
15280 cat >conftest.$ac_ext <<_ACEOF
15281 /* confdefs.h. */
15282 _ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15287 /* Override any gcc2 internal prototype to avoid an error. */
15288 #ifdef __cplusplus
15289 extern "C"
15290 #endif
15291 /* We use char because int might match the return type of a gcc2
15292 builtin and then its argument prototype would still apply. */
15293 char floorf ();
15295 main ()
15297 floorf ();
15299 return 0;
15301 _ACEOF
15302 rm -f conftest.$ac_objext conftest$ac_exeext
15303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15304 (eval $ac_link) 2>conftest.er1
15305 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } &&
15311 { ac_try='test -z "$ac_c_werror_flag"
15312 || test ! -s conftest.err'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15315 ac_status=$?
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; } &&
15318 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15324 ac_cv_lib_m_floorf=yes
15325 else
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15329 ac_cv_lib_m_floorf=no
15331 rm -f conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15333 LIBS=$ac_check_lib_save_LIBS
15335 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
15336 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
15337 if test $ac_cv_lib_m_floorf = yes; then
15339 cat >>confdefs.h <<\_ACEOF
15340 #define HAVE_FLOORF 1
15341 _ACEOF
15345 echo "$as_me:$LINENO: checking for floor in -lm" >&5
15346 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
15347 if test "${ac_cv_lib_m_floor+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 else
15350 ac_check_lib_save_LIBS=$LIBS
15351 LIBS="-lm $LIBS"
15352 if test x$gcc_no_link = xyes; then
15353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15355 { (exit 1); exit 1; }; }
15357 cat >conftest.$ac_ext <<_ACEOF
15358 /* confdefs.h. */
15359 _ACEOF
15360 cat confdefs.h >>conftest.$ac_ext
15361 cat >>conftest.$ac_ext <<_ACEOF
15362 /* end confdefs.h. */
15364 /* Override any gcc2 internal prototype to avoid an error. */
15365 #ifdef __cplusplus
15366 extern "C"
15367 #endif
15368 /* We use char because int might match the return type of a gcc2
15369 builtin and then its argument prototype would still apply. */
15370 char floor ();
15372 main ()
15374 floor ();
15376 return 0;
15378 _ACEOF
15379 rm -f conftest.$ac_objext conftest$ac_exeext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15381 (eval $ac_link) 2>conftest.er1
15382 ac_status=$?
15383 grep -v '^ *+' conftest.er1 >conftest.err
15384 rm -f conftest.er1
15385 cat conftest.err >&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try='test -z "$ac_c_werror_flag"
15389 || test ! -s conftest.err'
15390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15391 (eval $ac_try) 2>&5
15392 ac_status=$?
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); }; } &&
15395 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15401 ac_cv_lib_m_floor=yes
15402 else
15403 echo "$as_me: failed program was:" >&5
15404 sed 's/^/| /' conftest.$ac_ext >&5
15406 ac_cv_lib_m_floor=no
15408 rm -f conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_lib_save_LIBS
15412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
15413 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
15414 if test $ac_cv_lib_m_floor = yes; then
15416 cat >>confdefs.h <<\_ACEOF
15417 #define HAVE_FLOOR 1
15418 _ACEOF
15422 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
15423 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
15424 if test "${ac_cv_lib_m_floorl+set}" = set; then
15425 echo $ECHO_N "(cached) $ECHO_C" >&6
15426 else
15427 ac_check_lib_save_LIBS=$LIBS
15428 LIBS="-lm $LIBS"
15429 if test x$gcc_no_link = xyes; then
15430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15432 { (exit 1); exit 1; }; }
15434 cat >conftest.$ac_ext <<_ACEOF
15435 /* confdefs.h. */
15436 _ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15441 /* Override any gcc2 internal prototype to avoid an error. */
15442 #ifdef __cplusplus
15443 extern "C"
15444 #endif
15445 /* We use char because int might match the return type of a gcc2
15446 builtin and then its argument prototype would still apply. */
15447 char floorl ();
15449 main ()
15451 floorl ();
15453 return 0;
15455 _ACEOF
15456 rm -f conftest.$ac_objext conftest$ac_exeext
15457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15458 (eval $ac_link) 2>conftest.er1
15459 ac_status=$?
15460 grep -v '^ *+' conftest.er1 >conftest.err
15461 rm -f conftest.er1
15462 cat conftest.err >&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } &&
15465 { ac_try='test -z "$ac_c_werror_flag"
15466 || test ! -s conftest.err'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15469 ac_status=$?
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; } &&
15472 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15478 ac_cv_lib_m_floorl=yes
15479 else
15480 echo "$as_me: failed program was:" >&5
15481 sed 's/^/| /' conftest.$ac_ext >&5
15483 ac_cv_lib_m_floorl=no
15485 rm -f conftest.err conftest.$ac_objext \
15486 conftest$ac_exeext conftest.$ac_ext
15487 LIBS=$ac_check_lib_save_LIBS
15489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15490 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15491 if test $ac_cv_lib_m_floorl = yes; then
15493 cat >>confdefs.h <<\_ACEOF
15494 #define HAVE_FLOORL 1
15495 _ACEOF
15499 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
15500 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
15501 if test "${ac_cv_lib_m_fmodf+set}" = set; then
15502 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 else
15504 ac_check_lib_save_LIBS=$LIBS
15505 LIBS="-lm $LIBS"
15506 if test x$gcc_no_link = xyes; then
15507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15509 { (exit 1); exit 1; }; }
15511 cat >conftest.$ac_ext <<_ACEOF
15512 /* confdefs.h. */
15513 _ACEOF
15514 cat confdefs.h >>conftest.$ac_ext
15515 cat >>conftest.$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15518 /* Override any gcc2 internal prototype to avoid an error. */
15519 #ifdef __cplusplus
15520 extern "C"
15521 #endif
15522 /* We use char because int might match the return type of a gcc2
15523 builtin and then its argument prototype would still apply. */
15524 char fmodf ();
15526 main ()
15528 fmodf ();
15530 return 0;
15532 _ACEOF
15533 rm -f conftest.$ac_objext conftest$ac_exeext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15535 (eval $ac_link) 2>conftest.er1
15536 ac_status=$?
15537 grep -v '^ *+' conftest.er1 >conftest.err
15538 rm -f conftest.er1
15539 cat conftest.err >&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } &&
15542 { ac_try='test -z "$ac_c_werror_flag"
15543 || test ! -s conftest.err'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15546 ac_status=$?
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15555 ac_cv_lib_m_fmodf=yes
15556 else
15557 echo "$as_me: failed program was:" >&5
15558 sed 's/^/| /' conftest.$ac_ext >&5
15560 ac_cv_lib_m_fmodf=no
15562 rm -f conftest.err conftest.$ac_objext \
15563 conftest$ac_exeext conftest.$ac_ext
15564 LIBS=$ac_check_lib_save_LIBS
15566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
15567 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
15568 if test $ac_cv_lib_m_fmodf = yes; then
15570 cat >>confdefs.h <<\_ACEOF
15571 #define HAVE_FMODF 1
15572 _ACEOF
15576 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
15577 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
15578 if test "${ac_cv_lib_m_fmod+set}" = set; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 else
15581 ac_check_lib_save_LIBS=$LIBS
15582 LIBS="-lm $LIBS"
15583 if test x$gcc_no_link = xyes; then
15584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15586 { (exit 1); exit 1; }; }
15588 cat >conftest.$ac_ext <<_ACEOF
15589 /* confdefs.h. */
15590 _ACEOF
15591 cat confdefs.h >>conftest.$ac_ext
15592 cat >>conftest.$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15595 /* Override any gcc2 internal prototype to avoid an error. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 /* We use char because int might match the return type of a gcc2
15600 builtin and then its argument prototype would still apply. */
15601 char fmod ();
15603 main ()
15605 fmod ();
15607 return 0;
15609 _ACEOF
15610 rm -f conftest.$ac_objext conftest$ac_exeext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15612 (eval $ac_link) 2>conftest.er1
15613 ac_status=$?
15614 grep -v '^ *+' conftest.er1 >conftest.err
15615 rm -f conftest.er1
15616 cat conftest.err >&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } &&
15619 { ac_try='test -z "$ac_c_werror_flag"
15620 || test ! -s conftest.err'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; } &&
15626 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15632 ac_cv_lib_m_fmod=yes
15633 else
15634 echo "$as_me: failed program was:" >&5
15635 sed 's/^/| /' conftest.$ac_ext >&5
15637 ac_cv_lib_m_fmod=no
15639 rm -f conftest.err conftest.$ac_objext \
15640 conftest$ac_exeext conftest.$ac_ext
15641 LIBS=$ac_check_lib_save_LIBS
15643 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15644 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15645 if test $ac_cv_lib_m_fmod = yes; then
15647 cat >>confdefs.h <<\_ACEOF
15648 #define HAVE_FMOD 1
15649 _ACEOF
15653 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15654 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15655 if test "${ac_cv_lib_m_fmodl+set}" = set; then
15656 echo $ECHO_N "(cached) $ECHO_C" >&6
15657 else
15658 ac_check_lib_save_LIBS=$LIBS
15659 LIBS="-lm $LIBS"
15660 if test x$gcc_no_link = xyes; then
15661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15663 { (exit 1); exit 1; }; }
15665 cat >conftest.$ac_ext <<_ACEOF
15666 /* confdefs.h. */
15667 _ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15672 /* Override any gcc2 internal prototype to avoid an error. */
15673 #ifdef __cplusplus
15674 extern "C"
15675 #endif
15676 /* We use char because int might match the return type of a gcc2
15677 builtin and then its argument prototype would still apply. */
15678 char fmodl ();
15680 main ()
15682 fmodl ();
15684 return 0;
15686 _ACEOF
15687 rm -f conftest.$ac_objext conftest$ac_exeext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15689 (eval $ac_link) 2>conftest.er1
15690 ac_status=$?
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -z "$ac_c_werror_flag"
15697 || test ! -s conftest.err'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15700 ac_status=$?
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; } &&
15703 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15709 ac_cv_lib_m_fmodl=yes
15710 else
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15714 ac_cv_lib_m_fmodl=no
15716 rm -f conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15718 LIBS=$ac_check_lib_save_LIBS
15720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15721 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15722 if test $ac_cv_lib_m_fmodl = yes; then
15724 cat >>confdefs.h <<\_ACEOF
15725 #define HAVE_FMODL 1
15726 _ACEOF
15730 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15731 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15732 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 else
15735 ac_check_lib_save_LIBS=$LIBS
15736 LIBS="-lm $LIBS"
15737 if test x$gcc_no_link = xyes; then
15738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15740 { (exit 1); exit 1; }; }
15742 cat >conftest.$ac_ext <<_ACEOF
15743 /* confdefs.h. */
15744 _ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15749 /* Override any gcc2 internal prototype to avoid an error. */
15750 #ifdef __cplusplus
15751 extern "C"
15752 #endif
15753 /* We use char because int might match the return type of a gcc2
15754 builtin and then its argument prototype would still apply. */
15755 char frexpf ();
15757 main ()
15759 frexpf ();
15761 return 0;
15763 _ACEOF
15764 rm -f conftest.$ac_objext conftest$ac_exeext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15766 (eval $ac_link) 2>conftest.er1
15767 ac_status=$?
15768 grep -v '^ *+' conftest.er1 >conftest.err
15769 rm -f conftest.er1
15770 cat conftest.err >&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try='test -z "$ac_c_werror_flag"
15774 || test ! -s conftest.err'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15777 ac_status=$?
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; } &&
15780 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15786 ac_cv_lib_m_frexpf=yes
15787 else
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.$ac_ext >&5
15791 ac_cv_lib_m_frexpf=no
15793 rm -f conftest.err conftest.$ac_objext \
15794 conftest$ac_exeext conftest.$ac_ext
15795 LIBS=$ac_check_lib_save_LIBS
15797 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15798 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15799 if test $ac_cv_lib_m_frexpf = yes; then
15801 cat >>confdefs.h <<\_ACEOF
15802 #define HAVE_FREXPF 1
15803 _ACEOF
15807 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15808 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15809 if test "${ac_cv_lib_m_frexp+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 else
15812 ac_check_lib_save_LIBS=$LIBS
15813 LIBS="-lm $LIBS"
15814 if test x$gcc_no_link = xyes; then
15815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15817 { (exit 1); exit 1; }; }
15819 cat >conftest.$ac_ext <<_ACEOF
15820 /* confdefs.h. */
15821 _ACEOF
15822 cat confdefs.h >>conftest.$ac_ext
15823 cat >>conftest.$ac_ext <<_ACEOF
15824 /* end confdefs.h. */
15826 /* Override any gcc2 internal prototype to avoid an error. */
15827 #ifdef __cplusplus
15828 extern "C"
15829 #endif
15830 /* We use char because int might match the return type of a gcc2
15831 builtin and then its argument prototype would still apply. */
15832 char frexp ();
15834 main ()
15836 frexp ();
15838 return 0;
15840 _ACEOF
15841 rm -f conftest.$ac_objext conftest$ac_exeext
15842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15843 (eval $ac_link) 2>conftest.er1
15844 ac_status=$?
15845 grep -v '^ *+' conftest.er1 >conftest.err
15846 rm -f conftest.er1
15847 cat conftest.err >&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } &&
15850 { ac_try='test -z "$ac_c_werror_flag"
15851 || test ! -s conftest.err'
15852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853 (eval $ac_try) 2>&5
15854 ac_status=$?
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; } &&
15857 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15863 ac_cv_lib_m_frexp=yes
15864 else
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.$ac_ext >&5
15868 ac_cv_lib_m_frexp=no
15870 rm -f conftest.err conftest.$ac_objext \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_lib_save_LIBS
15874 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15875 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15876 if test $ac_cv_lib_m_frexp = yes; then
15878 cat >>confdefs.h <<\_ACEOF
15879 #define HAVE_FREXP 1
15880 _ACEOF
15884 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15885 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15886 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15887 echo $ECHO_N "(cached) $ECHO_C" >&6
15888 else
15889 ac_check_lib_save_LIBS=$LIBS
15890 LIBS="-lm $LIBS"
15891 if test x$gcc_no_link = xyes; then
15892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15894 { (exit 1); exit 1; }; }
15896 cat >conftest.$ac_ext <<_ACEOF
15897 /* confdefs.h. */
15898 _ACEOF
15899 cat confdefs.h >>conftest.$ac_ext
15900 cat >>conftest.$ac_ext <<_ACEOF
15901 /* end confdefs.h. */
15903 /* Override any gcc2 internal prototype to avoid an error. */
15904 #ifdef __cplusplus
15905 extern "C"
15906 #endif
15907 /* We use char because int might match the return type of a gcc2
15908 builtin and then its argument prototype would still apply. */
15909 char frexpl ();
15911 main ()
15913 frexpl ();
15915 return 0;
15917 _ACEOF
15918 rm -f conftest.$ac_objext conftest$ac_exeext
15919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15920 (eval $ac_link) 2>conftest.er1
15921 ac_status=$?
15922 grep -v '^ *+' conftest.er1 >conftest.err
15923 rm -f conftest.er1
15924 cat conftest.err >&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } &&
15927 { ac_try='test -z "$ac_c_werror_flag"
15928 || test ! -s conftest.err'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15931 ac_status=$?
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; } &&
15934 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15940 ac_cv_lib_m_frexpl=yes
15941 else
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15945 ac_cv_lib_m_frexpl=no
15947 rm -f conftest.err conftest.$ac_objext \
15948 conftest$ac_exeext conftest.$ac_ext
15949 LIBS=$ac_check_lib_save_LIBS
15951 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15952 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15953 if test $ac_cv_lib_m_frexpl = yes; then
15955 cat >>confdefs.h <<\_ACEOF
15956 #define HAVE_FREXPL 1
15957 _ACEOF
15961 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15962 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15963 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15964 echo $ECHO_N "(cached) $ECHO_C" >&6
15965 else
15966 ac_check_lib_save_LIBS=$LIBS
15967 LIBS="-lm $LIBS"
15968 if test x$gcc_no_link = xyes; then
15969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15971 { (exit 1); exit 1; }; }
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15980 /* Override any gcc2 internal prototype to avoid an error. */
15981 #ifdef __cplusplus
15982 extern "C"
15983 #endif
15984 /* We use char because int might match the return type of a gcc2
15985 builtin and then its argument prototype would still apply. */
15986 char hypotf ();
15988 main ()
15990 hypotf ();
15992 return 0;
15994 _ACEOF
15995 rm -f conftest.$ac_objext conftest$ac_exeext
15996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15997 (eval $ac_link) 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } &&
16004 { ac_try='test -z "$ac_c_werror_flag"
16005 || test ! -s conftest.err'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16008 ac_status=$?
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; } &&
16011 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16017 ac_cv_lib_m_hypotf=yes
16018 else
16019 echo "$as_me: failed program was:" >&5
16020 sed 's/^/| /' conftest.$ac_ext >&5
16022 ac_cv_lib_m_hypotf=no
16024 rm -f conftest.err conftest.$ac_objext \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS=$ac_check_lib_save_LIBS
16028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
16029 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
16030 if test $ac_cv_lib_m_hypotf = yes; then
16032 cat >>confdefs.h <<\_ACEOF
16033 #define HAVE_HYPOTF 1
16034 _ACEOF
16038 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
16039 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
16040 if test "${ac_cv_lib_m_hypot+set}" = set; then
16041 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 else
16043 ac_check_lib_save_LIBS=$LIBS
16044 LIBS="-lm $LIBS"
16045 if test x$gcc_no_link = xyes; then
16046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16048 { (exit 1); exit 1; }; }
16050 cat >conftest.$ac_ext <<_ACEOF
16051 /* confdefs.h. */
16052 _ACEOF
16053 cat confdefs.h >>conftest.$ac_ext
16054 cat >>conftest.$ac_ext <<_ACEOF
16055 /* end confdefs.h. */
16057 /* Override any gcc2 internal prototype to avoid an error. */
16058 #ifdef __cplusplus
16059 extern "C"
16060 #endif
16061 /* We use char because int might match the return type of a gcc2
16062 builtin and then its argument prototype would still apply. */
16063 char hypot ();
16065 main ()
16067 hypot ();
16069 return 0;
16071 _ACEOF
16072 rm -f conftest.$ac_objext conftest$ac_exeext
16073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16074 (eval $ac_link) 2>conftest.er1
16075 ac_status=$?
16076 grep -v '^ *+' conftest.er1 >conftest.err
16077 rm -f conftest.er1
16078 cat conftest.err >&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } &&
16081 { ac_try='test -z "$ac_c_werror_flag"
16082 || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16094 ac_cv_lib_m_hypot=yes
16095 else
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16099 ac_cv_lib_m_hypot=no
16101 rm -f conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16103 LIBS=$ac_check_lib_save_LIBS
16105 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
16106 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
16107 if test $ac_cv_lib_m_hypot = yes; then
16109 cat >>confdefs.h <<\_ACEOF
16110 #define HAVE_HYPOT 1
16111 _ACEOF
16115 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
16116 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
16117 if test "${ac_cv_lib_m_hypotl+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 else
16120 ac_check_lib_save_LIBS=$LIBS
16121 LIBS="-lm $LIBS"
16122 if test x$gcc_no_link = xyes; then
16123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16125 { (exit 1); exit 1; }; }
16127 cat >conftest.$ac_ext <<_ACEOF
16128 /* confdefs.h. */
16129 _ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16134 /* Override any gcc2 internal prototype to avoid an error. */
16135 #ifdef __cplusplus
16136 extern "C"
16137 #endif
16138 /* We use char because int might match the return type of a gcc2
16139 builtin and then its argument prototype would still apply. */
16140 char hypotl ();
16142 main ()
16144 hypotl ();
16146 return 0;
16148 _ACEOF
16149 rm -f conftest.$ac_objext conftest$ac_exeext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16151 (eval $ac_link) 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } &&
16158 { ac_try='test -z "$ac_c_werror_flag"
16159 || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16171 ac_cv_lib_m_hypotl=yes
16172 else
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16176 ac_cv_lib_m_hypotl=no
16178 rm -f conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext conftest.$ac_ext
16180 LIBS=$ac_check_lib_save_LIBS
16182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
16183 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
16184 if test $ac_cv_lib_m_hypotl = yes; then
16186 cat >>confdefs.h <<\_ACEOF
16187 #define HAVE_HYPOTL 1
16188 _ACEOF
16192 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
16193 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
16194 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 else
16197 ac_check_lib_save_LIBS=$LIBS
16198 LIBS="-lm $LIBS"
16199 if test x$gcc_no_link = xyes; then
16200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16202 { (exit 1); exit 1; }; }
16204 cat >conftest.$ac_ext <<_ACEOF
16205 /* confdefs.h. */
16206 _ACEOF
16207 cat confdefs.h >>conftest.$ac_ext
16208 cat >>conftest.$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16211 /* Override any gcc2 internal prototype to avoid an error. */
16212 #ifdef __cplusplus
16213 extern "C"
16214 #endif
16215 /* We use char because int might match the return type of a gcc2
16216 builtin and then its argument prototype would still apply. */
16217 char ldexpf ();
16219 main ()
16221 ldexpf ();
16223 return 0;
16225 _ACEOF
16226 rm -f conftest.$ac_objext conftest$ac_exeext
16227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16228 (eval $ac_link) 2>conftest.er1
16229 ac_status=$?
16230 grep -v '^ *+' conftest.er1 >conftest.err
16231 rm -f conftest.er1
16232 cat conftest.err >&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try='test -z "$ac_c_werror_flag"
16236 || test ! -s conftest.err'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; } &&
16242 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16248 ac_cv_lib_m_ldexpf=yes
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 ac_cv_lib_m_ldexpf=no
16255 rm -f conftest.err conftest.$ac_objext \
16256 conftest$ac_exeext conftest.$ac_ext
16257 LIBS=$ac_check_lib_save_LIBS
16259 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
16260 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
16261 if test $ac_cv_lib_m_ldexpf = yes; then
16263 cat >>confdefs.h <<\_ACEOF
16264 #define HAVE_LDEXPF 1
16265 _ACEOF
16269 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
16270 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
16271 if test "${ac_cv_lib_m_ldexp+set}" = set; then
16272 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 else
16274 ac_check_lib_save_LIBS=$LIBS
16275 LIBS="-lm $LIBS"
16276 if test x$gcc_no_link = xyes; then
16277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16279 { (exit 1); exit 1; }; }
16281 cat >conftest.$ac_ext <<_ACEOF
16282 /* confdefs.h. */
16283 _ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16288 /* Override any gcc2 internal prototype to avoid an error. */
16289 #ifdef __cplusplus
16290 extern "C"
16291 #endif
16292 /* We use char because int might match the return type of a gcc2
16293 builtin and then its argument prototype would still apply. */
16294 char ldexp ();
16296 main ()
16298 ldexp ();
16300 return 0;
16302 _ACEOF
16303 rm -f conftest.$ac_objext conftest$ac_exeext
16304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16305 (eval $ac_link) 2>conftest.er1
16306 ac_status=$?
16307 grep -v '^ *+' conftest.er1 >conftest.err
16308 rm -f conftest.er1
16309 cat conftest.err >&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); } &&
16312 { ac_try='test -z "$ac_c_werror_flag"
16313 || test ! -s conftest.err'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16316 ac_status=$?
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; } &&
16319 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16325 ac_cv_lib_m_ldexp=yes
16326 else
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16330 ac_cv_lib_m_ldexp=no
16332 rm -f conftest.err conftest.$ac_objext \
16333 conftest$ac_exeext conftest.$ac_ext
16334 LIBS=$ac_check_lib_save_LIBS
16336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
16337 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
16338 if test $ac_cv_lib_m_ldexp = yes; then
16340 cat >>confdefs.h <<\_ACEOF
16341 #define HAVE_LDEXP 1
16342 _ACEOF
16346 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
16347 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
16348 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 else
16351 ac_check_lib_save_LIBS=$LIBS
16352 LIBS="-lm $LIBS"
16353 if test x$gcc_no_link = xyes; then
16354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16356 { (exit 1); exit 1; }; }
16358 cat >conftest.$ac_ext <<_ACEOF
16359 /* confdefs.h. */
16360 _ACEOF
16361 cat confdefs.h >>conftest.$ac_ext
16362 cat >>conftest.$ac_ext <<_ACEOF
16363 /* end confdefs.h. */
16365 /* Override any gcc2 internal prototype to avoid an error. */
16366 #ifdef __cplusplus
16367 extern "C"
16368 #endif
16369 /* We use char because int might match the return type of a gcc2
16370 builtin and then its argument prototype would still apply. */
16371 char ldexpl ();
16373 main ()
16375 ldexpl ();
16377 return 0;
16379 _ACEOF
16380 rm -f conftest.$ac_objext conftest$ac_exeext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16382 (eval $ac_link) 2>conftest.er1
16383 ac_status=$?
16384 grep -v '^ *+' conftest.er1 >conftest.err
16385 rm -f conftest.er1
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -z "$ac_c_werror_flag"
16390 || test ! -s conftest.err'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16393 ac_status=$?
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16402 ac_cv_lib_m_ldexpl=yes
16403 else
16404 echo "$as_me: failed program was:" >&5
16405 sed 's/^/| /' conftest.$ac_ext >&5
16407 ac_cv_lib_m_ldexpl=no
16409 rm -f conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16411 LIBS=$ac_check_lib_save_LIBS
16413 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
16414 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
16415 if test $ac_cv_lib_m_ldexpl = yes; then
16417 cat >>confdefs.h <<\_ACEOF
16418 #define HAVE_LDEXPL 1
16419 _ACEOF
16423 echo "$as_me:$LINENO: checking for logf in -lm" >&5
16424 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
16425 if test "${ac_cv_lib_m_logf+set}" = set; then
16426 echo $ECHO_N "(cached) $ECHO_C" >&6
16427 else
16428 ac_check_lib_save_LIBS=$LIBS
16429 LIBS="-lm $LIBS"
16430 if test x$gcc_no_link = xyes; then
16431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16433 { (exit 1); exit 1; }; }
16435 cat >conftest.$ac_ext <<_ACEOF
16436 /* confdefs.h. */
16437 _ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16442 /* Override any gcc2 internal prototype to avoid an error. */
16443 #ifdef __cplusplus
16444 extern "C"
16445 #endif
16446 /* We use char because int might match the return type of a gcc2
16447 builtin and then its argument prototype would still apply. */
16448 char logf ();
16450 main ()
16452 logf ();
16454 return 0;
16456 _ACEOF
16457 rm -f conftest.$ac_objext conftest$ac_exeext
16458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16459 (eval $ac_link) 2>conftest.er1
16460 ac_status=$?
16461 grep -v '^ *+' conftest.er1 >conftest.err
16462 rm -f conftest.er1
16463 cat conftest.err >&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } &&
16466 { ac_try='test -z "$ac_c_werror_flag"
16467 || test ! -s conftest.err'
16468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16470 ac_status=$?
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; } &&
16473 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16479 ac_cv_lib_m_logf=yes
16480 else
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16484 ac_cv_lib_m_logf=no
16486 rm -f conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16488 LIBS=$ac_check_lib_save_LIBS
16490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
16491 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
16492 if test $ac_cv_lib_m_logf = yes; then
16494 cat >>confdefs.h <<\_ACEOF
16495 #define HAVE_LOGF 1
16496 _ACEOF
16500 echo "$as_me:$LINENO: checking for log in -lm" >&5
16501 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
16502 if test "${ac_cv_lib_m_log+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 else
16505 ac_check_lib_save_LIBS=$LIBS
16506 LIBS="-lm $LIBS"
16507 if test x$gcc_no_link = xyes; then
16508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16510 { (exit 1); exit 1; }; }
16512 cat >conftest.$ac_ext <<_ACEOF
16513 /* confdefs.h. */
16514 _ACEOF
16515 cat confdefs.h >>conftest.$ac_ext
16516 cat >>conftest.$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16519 /* Override any gcc2 internal prototype to avoid an error. */
16520 #ifdef __cplusplus
16521 extern "C"
16522 #endif
16523 /* We use char because int might match the return type of a gcc2
16524 builtin and then its argument prototype would still apply. */
16525 char log ();
16527 main ()
16529 log ();
16531 return 0;
16533 _ACEOF
16534 rm -f conftest.$ac_objext conftest$ac_exeext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16536 (eval $ac_link) 2>conftest.er1
16537 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try='test -z "$ac_c_werror_flag"
16544 || test ! -s conftest.err'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; } &&
16550 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16556 ac_cv_lib_m_log=yes
16557 else
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16561 ac_cv_lib_m_log=no
16563 rm -f conftest.err conftest.$ac_objext \
16564 conftest$ac_exeext conftest.$ac_ext
16565 LIBS=$ac_check_lib_save_LIBS
16567 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
16568 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
16569 if test $ac_cv_lib_m_log = yes; then
16571 cat >>confdefs.h <<\_ACEOF
16572 #define HAVE_LOG 1
16573 _ACEOF
16577 echo "$as_me:$LINENO: checking for logl in -lm" >&5
16578 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
16579 if test "${ac_cv_lib_m_logl+set}" = set; then
16580 echo $ECHO_N "(cached) $ECHO_C" >&6
16581 else
16582 ac_check_lib_save_LIBS=$LIBS
16583 LIBS="-lm $LIBS"
16584 if test x$gcc_no_link = xyes; then
16585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16587 { (exit 1); exit 1; }; }
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h. */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16596 /* Override any gcc2 internal prototype to avoid an error. */
16597 #ifdef __cplusplus
16598 extern "C"
16599 #endif
16600 /* We use char because int might match the return type of a gcc2
16601 builtin and then its argument prototype would still apply. */
16602 char logl ();
16604 main ()
16606 logl ();
16608 return 0;
16610 _ACEOF
16611 rm -f conftest.$ac_objext conftest$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>conftest.er1
16614 ac_status=$?
16615 grep -v '^ *+' conftest.er1 >conftest.err
16616 rm -f conftest.er1
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_c_werror_flag"
16621 || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16633 ac_cv_lib_m_logl=yes
16634 else
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16638 ac_cv_lib_m_logl=no
16640 rm -f conftest.err conftest.$ac_objext \
16641 conftest$ac_exeext conftest.$ac_ext
16642 LIBS=$ac_check_lib_save_LIBS
16644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16645 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16646 if test $ac_cv_lib_m_logl = yes; then
16648 cat >>confdefs.h <<\_ACEOF
16649 #define HAVE_LOGL 1
16650 _ACEOF
16654 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16655 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16656 if test "${ac_cv_lib_m_clogf+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16659 ac_check_lib_save_LIBS=$LIBS
16660 LIBS="-lm $LIBS"
16661 if test x$gcc_no_link = xyes; then
16662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16664 { (exit 1); exit 1; }; }
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16673 /* Override any gcc2 internal prototype to avoid an error. */
16674 #ifdef __cplusplus
16675 extern "C"
16676 #endif
16677 /* We use char because int might match the return type of a gcc2
16678 builtin and then its argument prototype would still apply. */
16679 char clogf ();
16681 main ()
16683 clogf ();
16685 return 0;
16687 _ACEOF
16688 rm -f conftest.$ac_objext conftest$ac_exeext
16689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16690 (eval $ac_link) 2>conftest.er1
16691 ac_status=$?
16692 grep -v '^ *+' conftest.er1 >conftest.err
16693 rm -f conftest.er1
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } &&
16697 { ac_try='test -z "$ac_c_werror_flag"
16698 || test ! -s conftest.err'
16699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700 (eval $ac_try) 2>&5
16701 ac_status=$?
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; } &&
16704 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16710 ac_cv_lib_m_clogf=yes
16711 else
16712 echo "$as_me: failed program was:" >&5
16713 sed 's/^/| /' conftest.$ac_ext >&5
16715 ac_cv_lib_m_clogf=no
16717 rm -f conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16719 LIBS=$ac_check_lib_save_LIBS
16721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16722 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16723 if test $ac_cv_lib_m_clogf = yes; then
16725 cat >>confdefs.h <<\_ACEOF
16726 #define HAVE_CLOGF 1
16727 _ACEOF
16731 echo "$as_me:$LINENO: checking for clog in -lm" >&5
16732 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16733 if test "${ac_cv_lib_m_clog+set}" = set; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 else
16736 ac_check_lib_save_LIBS=$LIBS
16737 LIBS="-lm $LIBS"
16738 if test x$gcc_no_link = xyes; then
16739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16741 { (exit 1); exit 1; }; }
16743 cat >conftest.$ac_ext <<_ACEOF
16744 /* confdefs.h. */
16745 _ACEOF
16746 cat confdefs.h >>conftest.$ac_ext
16747 cat >>conftest.$ac_ext <<_ACEOF
16748 /* end confdefs.h. */
16750 /* Override any gcc2 internal prototype to avoid an error. */
16751 #ifdef __cplusplus
16752 extern "C"
16753 #endif
16754 /* We use char because int might match the return type of a gcc2
16755 builtin and then its argument prototype would still apply. */
16756 char clog ();
16758 main ()
16760 clog ();
16762 return 0;
16764 _ACEOF
16765 rm -f conftest.$ac_objext conftest$ac_exeext
16766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16767 (eval $ac_link) 2>conftest.er1
16768 ac_status=$?
16769 grep -v '^ *+' conftest.er1 >conftest.err
16770 rm -f conftest.er1
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } &&
16774 { ac_try='test -z "$ac_c_werror_flag"
16775 || test ! -s conftest.err'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; } &&
16781 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16787 ac_cv_lib_m_clog=yes
16788 else
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16792 ac_cv_lib_m_clog=no
16794 rm -f conftest.err conftest.$ac_objext \
16795 conftest$ac_exeext conftest.$ac_ext
16796 LIBS=$ac_check_lib_save_LIBS
16798 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16799 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16800 if test $ac_cv_lib_m_clog = yes; then
16802 cat >>confdefs.h <<\_ACEOF
16803 #define HAVE_CLOG 1
16804 _ACEOF
16808 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16809 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16810 if test "${ac_cv_lib_m_clogl+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 else
16813 ac_check_lib_save_LIBS=$LIBS
16814 LIBS="-lm $LIBS"
16815 if test x$gcc_no_link = xyes; then
16816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16818 { (exit 1); exit 1; }; }
16820 cat >conftest.$ac_ext <<_ACEOF
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16827 /* Override any gcc2 internal prototype to avoid an error. */
16828 #ifdef __cplusplus
16829 extern "C"
16830 #endif
16831 /* We use char because int might match the return type of a gcc2
16832 builtin and then its argument prototype would still apply. */
16833 char clogl ();
16835 main ()
16837 clogl ();
16839 return 0;
16841 _ACEOF
16842 rm -f conftest.$ac_objext conftest$ac_exeext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16844 (eval $ac_link) 2>conftest.er1
16845 ac_status=$?
16846 grep -v '^ *+' conftest.er1 >conftest.err
16847 rm -f conftest.er1
16848 cat conftest.err >&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); } &&
16851 { ac_try='test -z "$ac_c_werror_flag"
16852 || test ! -s conftest.err'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16855 ac_status=$?
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; } &&
16858 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16864 ac_cv_lib_m_clogl=yes
16865 else
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.$ac_ext >&5
16869 ac_cv_lib_m_clogl=no
16871 rm -f conftest.err conftest.$ac_objext \
16872 conftest$ac_exeext conftest.$ac_ext
16873 LIBS=$ac_check_lib_save_LIBS
16875 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16876 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16877 if test $ac_cv_lib_m_clogl = yes; then
16879 cat >>confdefs.h <<\_ACEOF
16880 #define HAVE_CLOGL 1
16881 _ACEOF
16885 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16886 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16887 if test "${ac_cv_lib_m_log10f+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 else
16890 ac_check_lib_save_LIBS=$LIBS
16891 LIBS="-lm $LIBS"
16892 if test x$gcc_no_link = xyes; then
16893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16895 { (exit 1); exit 1; }; }
16897 cat >conftest.$ac_ext <<_ACEOF
16898 /* confdefs.h. */
16899 _ACEOF
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16904 /* Override any gcc2 internal prototype to avoid an error. */
16905 #ifdef __cplusplus
16906 extern "C"
16907 #endif
16908 /* We use char because int might match the return type of a gcc2
16909 builtin and then its argument prototype would still apply. */
16910 char log10f ();
16912 main ()
16914 log10f ();
16916 return 0;
16918 _ACEOF
16919 rm -f conftest.$ac_objext conftest$ac_exeext
16920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16921 (eval $ac_link) 2>conftest.er1
16922 ac_status=$?
16923 grep -v '^ *+' conftest.er1 >conftest.err
16924 rm -f conftest.er1
16925 cat conftest.err >&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } &&
16928 { ac_try='test -z "$ac_c_werror_flag"
16929 || test ! -s conftest.err'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16932 ac_status=$?
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; } &&
16935 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16941 ac_cv_lib_m_log10f=yes
16942 else
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.$ac_ext >&5
16946 ac_cv_lib_m_log10f=no
16948 rm -f conftest.err conftest.$ac_objext \
16949 conftest$ac_exeext conftest.$ac_ext
16950 LIBS=$ac_check_lib_save_LIBS
16952 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16953 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16954 if test $ac_cv_lib_m_log10f = yes; then
16956 cat >>confdefs.h <<\_ACEOF
16957 #define HAVE_LOG10F 1
16958 _ACEOF
16962 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16963 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16964 if test "${ac_cv_lib_m_log10+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967 ac_check_lib_save_LIBS=$LIBS
16968 LIBS="-lm $LIBS"
16969 if test x$gcc_no_link = xyes; then
16970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16972 { (exit 1); exit 1; }; }
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16981 /* Override any gcc2 internal prototype to avoid an error. */
16982 #ifdef __cplusplus
16983 extern "C"
16984 #endif
16985 /* We use char because int might match the return type of a gcc2
16986 builtin and then its argument prototype would still apply. */
16987 char log10 ();
16989 main ()
16991 log10 ();
16993 return 0;
16995 _ACEOF
16996 rm -f conftest.$ac_objext conftest$ac_exeext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16998 (eval $ac_link) 2>conftest.er1
16999 ac_status=$?
17000 grep -v '^ *+' conftest.er1 >conftest.err
17001 rm -f conftest.er1
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try='test -z "$ac_c_werror_flag"
17006 || test ! -s conftest.err'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17009 ac_status=$?
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; } &&
17012 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17018 ac_cv_lib_m_log10=yes
17019 else
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17023 ac_cv_lib_m_log10=no
17025 rm -f conftest.err conftest.$ac_objext \
17026 conftest$ac_exeext conftest.$ac_ext
17027 LIBS=$ac_check_lib_save_LIBS
17029 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
17030 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
17031 if test $ac_cv_lib_m_log10 = yes; then
17033 cat >>confdefs.h <<\_ACEOF
17034 #define HAVE_LOG10 1
17035 _ACEOF
17039 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
17040 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
17041 if test "${ac_cv_lib_m_log10l+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 else
17044 ac_check_lib_save_LIBS=$LIBS
17045 LIBS="-lm $LIBS"
17046 if test x$gcc_no_link = xyes; then
17047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17049 { (exit 1); exit 1; }; }
17051 cat >conftest.$ac_ext <<_ACEOF
17052 /* confdefs.h. */
17053 _ACEOF
17054 cat confdefs.h >>conftest.$ac_ext
17055 cat >>conftest.$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17058 /* Override any gcc2 internal prototype to avoid an error. */
17059 #ifdef __cplusplus
17060 extern "C"
17061 #endif
17062 /* We use char because int might match the return type of a gcc2
17063 builtin and then its argument prototype would still apply. */
17064 char log10l ();
17066 main ()
17068 log10l ();
17070 return 0;
17072 _ACEOF
17073 rm -f conftest.$ac_objext conftest$ac_exeext
17074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17075 (eval $ac_link) 2>conftest.er1
17076 ac_status=$?
17077 grep -v '^ *+' conftest.er1 >conftest.err
17078 rm -f conftest.er1
17079 cat conftest.err >&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } &&
17082 { ac_try='test -z "$ac_c_werror_flag"
17083 || test ! -s conftest.err'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17086 ac_status=$?
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; } &&
17089 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17095 ac_cv_lib_m_log10l=yes
17096 else
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17100 ac_cv_lib_m_log10l=no
17102 rm -f conftest.err conftest.$ac_objext \
17103 conftest$ac_exeext conftest.$ac_ext
17104 LIBS=$ac_check_lib_save_LIBS
17106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
17107 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
17108 if test $ac_cv_lib_m_log10l = yes; then
17110 cat >>confdefs.h <<\_ACEOF
17111 #define HAVE_LOG10L 1
17112 _ACEOF
17116 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
17117 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
17118 if test "${ac_cv_lib_m_clog10f+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 ac_check_lib_save_LIBS=$LIBS
17122 LIBS="-lm $LIBS"
17123 if test x$gcc_no_link = xyes; then
17124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17126 { (exit 1); exit 1; }; }
17128 cat >conftest.$ac_ext <<_ACEOF
17129 /* confdefs.h. */
17130 _ACEOF
17131 cat confdefs.h >>conftest.$ac_ext
17132 cat >>conftest.$ac_ext <<_ACEOF
17133 /* end confdefs.h. */
17135 /* Override any gcc2 internal prototype to avoid an error. */
17136 #ifdef __cplusplus
17137 extern "C"
17138 #endif
17139 /* We use char because int might match the return type of a gcc2
17140 builtin and then its argument prototype would still apply. */
17141 char clog10f ();
17143 main ()
17145 clog10f ();
17147 return 0;
17149 _ACEOF
17150 rm -f conftest.$ac_objext conftest$ac_exeext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17152 (eval $ac_link) 2>conftest.er1
17153 ac_status=$?
17154 grep -v '^ *+' conftest.er1 >conftest.err
17155 rm -f conftest.er1
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try='test -z "$ac_c_werror_flag"
17160 || test ! -s conftest.err'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; } &&
17166 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17172 ac_cv_lib_m_clog10f=yes
17173 else
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17177 ac_cv_lib_m_clog10f=no
17179 rm -f conftest.err conftest.$ac_objext \
17180 conftest$ac_exeext conftest.$ac_ext
17181 LIBS=$ac_check_lib_save_LIBS
17183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
17184 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
17185 if test $ac_cv_lib_m_clog10f = yes; then
17187 cat >>confdefs.h <<\_ACEOF
17188 #define HAVE_CLOG10F 1
17189 _ACEOF
17193 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
17194 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
17195 if test "${ac_cv_lib_m_clog10+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17197 else
17198 ac_check_lib_save_LIBS=$LIBS
17199 LIBS="-lm $LIBS"
17200 if test x$gcc_no_link = xyes; then
17201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17203 { (exit 1); exit 1; }; }
17205 cat >conftest.$ac_ext <<_ACEOF
17206 /* confdefs.h. */
17207 _ACEOF
17208 cat confdefs.h >>conftest.$ac_ext
17209 cat >>conftest.$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17212 /* Override any gcc2 internal prototype to avoid an error. */
17213 #ifdef __cplusplus
17214 extern "C"
17215 #endif
17216 /* We use char because int might match the return type of a gcc2
17217 builtin and then its argument prototype would still apply. */
17218 char clog10 ();
17220 main ()
17222 clog10 ();
17224 return 0;
17226 _ACEOF
17227 rm -f conftest.$ac_objext conftest$ac_exeext
17228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17229 (eval $ac_link) 2>conftest.er1
17230 ac_status=$?
17231 grep -v '^ *+' conftest.er1 >conftest.err
17232 rm -f conftest.er1
17233 cat conftest.err >&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try='test -z "$ac_c_werror_flag"
17237 || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17240 ac_status=$?
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17249 ac_cv_lib_m_clog10=yes
17250 else
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17254 ac_cv_lib_m_clog10=no
17256 rm -f conftest.err conftest.$ac_objext \
17257 conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_lib_save_LIBS
17260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
17261 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
17262 if test $ac_cv_lib_m_clog10 = yes; then
17264 cat >>confdefs.h <<\_ACEOF
17265 #define HAVE_CLOG10 1
17266 _ACEOF
17270 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
17271 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
17272 if test "${ac_cv_lib_m_clog10l+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17274 else
17275 ac_check_lib_save_LIBS=$LIBS
17276 LIBS="-lm $LIBS"
17277 if test x$gcc_no_link = xyes; then
17278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17280 { (exit 1); exit 1; }; }
17282 cat >conftest.$ac_ext <<_ACEOF
17283 /* confdefs.h. */
17284 _ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17289 /* Override any gcc2 internal prototype to avoid an error. */
17290 #ifdef __cplusplus
17291 extern "C"
17292 #endif
17293 /* We use char because int might match the return type of a gcc2
17294 builtin and then its argument prototype would still apply. */
17295 char clog10l ();
17297 main ()
17299 clog10l ();
17301 return 0;
17303 _ACEOF
17304 rm -f conftest.$ac_objext conftest$ac_exeext
17305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17306 (eval $ac_link) 2>conftest.er1
17307 ac_status=$?
17308 grep -v '^ *+' conftest.er1 >conftest.err
17309 rm -f conftest.er1
17310 cat conftest.err >&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } &&
17313 { ac_try='test -z "$ac_c_werror_flag"
17314 || test ! -s conftest.err'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17317 ac_status=$?
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; } &&
17320 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17326 ac_cv_lib_m_clog10l=yes
17327 else
17328 echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.$ac_ext >&5
17331 ac_cv_lib_m_clog10l=no
17333 rm -f conftest.err conftest.$ac_objext \
17334 conftest$ac_exeext conftest.$ac_ext
17335 LIBS=$ac_check_lib_save_LIBS
17337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
17338 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
17339 if test $ac_cv_lib_m_clog10l = yes; then
17341 cat >>confdefs.h <<\_ACEOF
17342 #define HAVE_CLOG10L 1
17343 _ACEOF
17347 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
17348 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
17349 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17352 ac_check_lib_save_LIBS=$LIBS
17353 LIBS="-lm $LIBS"
17354 if test x$gcc_no_link = xyes; then
17355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17357 { (exit 1); exit 1; }; }
17359 cat >conftest.$ac_ext <<_ACEOF
17360 /* confdefs.h. */
17361 _ACEOF
17362 cat confdefs.h >>conftest.$ac_ext
17363 cat >>conftest.$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17366 /* Override any gcc2 internal prototype to avoid an error. */
17367 #ifdef __cplusplus
17368 extern "C"
17369 #endif
17370 /* We use char because int might match the return type of a gcc2
17371 builtin and then its argument prototype would still apply. */
17372 char nextafterf ();
17374 main ()
17376 nextafterf ();
17378 return 0;
17380 _ACEOF
17381 rm -f conftest.$ac_objext conftest$ac_exeext
17382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17383 (eval $ac_link) 2>conftest.er1
17384 ac_status=$?
17385 grep -v '^ *+' conftest.er1 >conftest.err
17386 rm -f conftest.er1
17387 cat conftest.err >&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try='test -z "$ac_c_werror_flag"
17391 || test ! -s conftest.err'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17394 ac_status=$?
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; } &&
17397 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17403 ac_cv_lib_m_nextafterf=yes
17404 else
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17408 ac_cv_lib_m_nextafterf=no
17410 rm -f conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17412 LIBS=$ac_check_lib_save_LIBS
17414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
17415 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
17416 if test $ac_cv_lib_m_nextafterf = yes; then
17418 cat >>confdefs.h <<\_ACEOF
17419 #define HAVE_NEXTAFTERF 1
17420 _ACEOF
17424 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
17425 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
17426 if test "${ac_cv_lib_m_nextafter+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 else
17429 ac_check_lib_save_LIBS=$LIBS
17430 LIBS="-lm $LIBS"
17431 if test x$gcc_no_link = xyes; then
17432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17434 { (exit 1); exit 1; }; }
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17443 /* Override any gcc2 internal prototype to avoid an error. */
17444 #ifdef __cplusplus
17445 extern "C"
17446 #endif
17447 /* We use char because int might match the return type of a gcc2
17448 builtin and then its argument prototype would still apply. */
17449 char nextafter ();
17451 main ()
17453 nextafter ();
17455 return 0;
17457 _ACEOF
17458 rm -f conftest.$ac_objext conftest$ac_exeext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17460 (eval $ac_link) 2>conftest.er1
17461 ac_status=$?
17462 grep -v '^ *+' conftest.er1 >conftest.err
17463 rm -f conftest.er1
17464 cat conftest.err >&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } &&
17467 { ac_try='test -z "$ac_c_werror_flag"
17468 || test ! -s conftest.err'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; } &&
17474 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17480 ac_cv_lib_m_nextafter=yes
17481 else
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17485 ac_cv_lib_m_nextafter=no
17487 rm -f conftest.err conftest.$ac_objext \
17488 conftest$ac_exeext conftest.$ac_ext
17489 LIBS=$ac_check_lib_save_LIBS
17491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
17492 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
17493 if test $ac_cv_lib_m_nextafter = yes; then
17495 cat >>confdefs.h <<\_ACEOF
17496 #define HAVE_NEXTAFTER 1
17497 _ACEOF
17501 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
17502 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
17503 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506 ac_check_lib_save_LIBS=$LIBS
17507 LIBS="-lm $LIBS"
17508 if test x$gcc_no_link = xyes; then
17509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17511 { (exit 1); exit 1; }; }
17513 cat >conftest.$ac_ext <<_ACEOF
17514 /* confdefs.h. */
17515 _ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17520 /* Override any gcc2 internal prototype to avoid an error. */
17521 #ifdef __cplusplus
17522 extern "C"
17523 #endif
17524 /* We use char because int might match the return type of a gcc2
17525 builtin and then its argument prototype would still apply. */
17526 char nextafterl ();
17528 main ()
17530 nextafterl ();
17532 return 0;
17534 _ACEOF
17535 rm -f conftest.$ac_objext conftest$ac_exeext
17536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17537 (eval $ac_link) 2>conftest.er1
17538 ac_status=$?
17539 grep -v '^ *+' conftest.er1 >conftest.err
17540 rm -f conftest.er1
17541 cat conftest.err >&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } &&
17544 { ac_try='test -z "$ac_c_werror_flag"
17545 || test ! -s conftest.err'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17548 ac_status=$?
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; } &&
17551 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17557 ac_cv_lib_m_nextafterl=yes
17558 else
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.$ac_ext >&5
17562 ac_cv_lib_m_nextafterl=no
17564 rm -f conftest.err conftest.$ac_objext \
17565 conftest$ac_exeext conftest.$ac_ext
17566 LIBS=$ac_check_lib_save_LIBS
17568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
17569 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
17570 if test $ac_cv_lib_m_nextafterl = yes; then
17572 cat >>confdefs.h <<\_ACEOF
17573 #define HAVE_NEXTAFTERL 1
17574 _ACEOF
17578 echo "$as_me:$LINENO: checking for powf in -lm" >&5
17579 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
17580 if test "${ac_cv_lib_m_powf+set}" = set; then
17581 echo $ECHO_N "(cached) $ECHO_C" >&6
17582 else
17583 ac_check_lib_save_LIBS=$LIBS
17584 LIBS="-lm $LIBS"
17585 if test x$gcc_no_link = xyes; then
17586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17588 { (exit 1); exit 1; }; }
17590 cat >conftest.$ac_ext <<_ACEOF
17591 /* confdefs.h. */
17592 _ACEOF
17593 cat confdefs.h >>conftest.$ac_ext
17594 cat >>conftest.$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17597 /* Override any gcc2 internal prototype to avoid an error. */
17598 #ifdef __cplusplus
17599 extern "C"
17600 #endif
17601 /* We use char because int might match the return type of a gcc2
17602 builtin and then its argument prototype would still apply. */
17603 char powf ();
17605 main ()
17607 powf ();
17609 return 0;
17611 _ACEOF
17612 rm -f conftest.$ac_objext conftest$ac_exeext
17613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17614 (eval $ac_link) 2>conftest.er1
17615 ac_status=$?
17616 grep -v '^ *+' conftest.er1 >conftest.err
17617 rm -f conftest.er1
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try='test -z "$ac_c_werror_flag"
17622 || test ! -s conftest.err'
17623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17624 (eval $ac_try) 2>&5
17625 ac_status=$?
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); }; } &&
17628 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17634 ac_cv_lib_m_powf=yes
17635 else
17636 echo "$as_me: failed program was:" >&5
17637 sed 's/^/| /' conftest.$ac_ext >&5
17639 ac_cv_lib_m_powf=no
17641 rm -f conftest.err conftest.$ac_objext \
17642 conftest$ac_exeext conftest.$ac_ext
17643 LIBS=$ac_check_lib_save_LIBS
17645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17646 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17647 if test $ac_cv_lib_m_powf = yes; then
17649 cat >>confdefs.h <<\_ACEOF
17650 #define HAVE_POWF 1
17651 _ACEOF
17655 echo "$as_me:$LINENO: checking for pow in -lm" >&5
17656 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17657 if test "${ac_cv_lib_m_pow+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 else
17660 ac_check_lib_save_LIBS=$LIBS
17661 LIBS="-lm $LIBS"
17662 if test x$gcc_no_link = xyes; then
17663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17665 { (exit 1); exit 1; }; }
17667 cat >conftest.$ac_ext <<_ACEOF
17668 /* confdefs.h. */
17669 _ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17674 /* Override any gcc2 internal prototype to avoid an error. */
17675 #ifdef __cplusplus
17676 extern "C"
17677 #endif
17678 /* We use char because int might match the return type of a gcc2
17679 builtin and then its argument prototype would still apply. */
17680 char pow ();
17682 main ()
17684 pow ();
17686 return 0;
17688 _ACEOF
17689 rm -f conftest.$ac_objext conftest$ac_exeext
17690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17691 (eval $ac_link) 2>conftest.er1
17692 ac_status=$?
17693 grep -v '^ *+' conftest.er1 >conftest.err
17694 rm -f conftest.er1
17695 cat conftest.err >&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); } &&
17698 { ac_try='test -z "$ac_c_werror_flag"
17699 || test ! -s conftest.err'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; } &&
17705 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17711 ac_cv_lib_m_pow=yes
17712 else
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17716 ac_cv_lib_m_pow=no
17718 rm -f conftest.err conftest.$ac_objext \
17719 conftest$ac_exeext conftest.$ac_ext
17720 LIBS=$ac_check_lib_save_LIBS
17722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17723 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17724 if test $ac_cv_lib_m_pow = yes; then
17726 cat >>confdefs.h <<\_ACEOF
17727 #define HAVE_POW 1
17728 _ACEOF
17732 echo "$as_me:$LINENO: checking for powl in -lm" >&5
17733 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17734 if test "${ac_cv_lib_m_powl+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 else
17737 ac_check_lib_save_LIBS=$LIBS
17738 LIBS="-lm $LIBS"
17739 if test x$gcc_no_link = xyes; then
17740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17742 { (exit 1); exit 1; }; }
17744 cat >conftest.$ac_ext <<_ACEOF
17745 /* confdefs.h. */
17746 _ACEOF
17747 cat confdefs.h >>conftest.$ac_ext
17748 cat >>conftest.$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17751 /* Override any gcc2 internal prototype to avoid an error. */
17752 #ifdef __cplusplus
17753 extern "C"
17754 #endif
17755 /* We use char because int might match the return type of a gcc2
17756 builtin and then its argument prototype would still apply. */
17757 char powl ();
17759 main ()
17761 powl ();
17763 return 0;
17765 _ACEOF
17766 rm -f conftest.$ac_objext conftest$ac_exeext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17768 (eval $ac_link) 2>conftest.er1
17769 ac_status=$?
17770 grep -v '^ *+' conftest.er1 >conftest.err
17771 rm -f conftest.er1
17772 cat conftest.err >&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17788 ac_cv_lib_m_powl=yes
17789 else
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17793 ac_cv_lib_m_powl=no
17795 rm -f conftest.err conftest.$ac_objext \
17796 conftest$ac_exeext conftest.$ac_ext
17797 LIBS=$ac_check_lib_save_LIBS
17799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17800 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17801 if test $ac_cv_lib_m_powl = yes; then
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_POWL 1
17805 _ACEOF
17809 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17810 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17811 if test "${ac_cv_lib_m_cpowf+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17813 else
17814 ac_check_lib_save_LIBS=$LIBS
17815 LIBS="-lm $LIBS"
17816 if test x$gcc_no_link = xyes; then
17817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17819 { (exit 1); exit 1; }; }
17821 cat >conftest.$ac_ext <<_ACEOF
17822 /* confdefs.h. */
17823 _ACEOF
17824 cat confdefs.h >>conftest.$ac_ext
17825 cat >>conftest.$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17828 /* Override any gcc2 internal prototype to avoid an error. */
17829 #ifdef __cplusplus
17830 extern "C"
17831 #endif
17832 /* We use char because int might match the return type of a gcc2
17833 builtin and then its argument prototype would still apply. */
17834 char cpowf ();
17836 main ()
17838 cpowf ();
17840 return 0;
17842 _ACEOF
17843 rm -f conftest.$ac_objext conftest$ac_exeext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17845 (eval $ac_link) 2>conftest.er1
17846 ac_status=$?
17847 grep -v '^ *+' conftest.er1 >conftest.err
17848 rm -f conftest.er1
17849 cat conftest.err >&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -z "$ac_c_werror_flag"
17853 || test ! -s conftest.err'
17854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855 (eval $ac_try) 2>&5
17856 ac_status=$?
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; } &&
17859 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17865 ac_cv_lib_m_cpowf=yes
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17870 ac_cv_lib_m_cpowf=no
17872 rm -f conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17874 LIBS=$ac_check_lib_save_LIBS
17876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17877 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17878 if test $ac_cv_lib_m_cpowf = yes; then
17880 cat >>confdefs.h <<\_ACEOF
17881 #define HAVE_CPOWF 1
17882 _ACEOF
17886 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17887 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17888 if test "${ac_cv_lib_m_cpow+set}" = set; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17890 else
17891 ac_check_lib_save_LIBS=$LIBS
17892 LIBS="-lm $LIBS"
17893 if test x$gcc_no_link = xyes; then
17894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17896 { (exit 1); exit 1; }; }
17898 cat >conftest.$ac_ext <<_ACEOF
17899 /* confdefs.h. */
17900 _ACEOF
17901 cat confdefs.h >>conftest.$ac_ext
17902 cat >>conftest.$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17905 /* Override any gcc2 internal prototype to avoid an error. */
17906 #ifdef __cplusplus
17907 extern "C"
17908 #endif
17909 /* We use char because int might match the return type of a gcc2
17910 builtin and then its argument prototype would still apply. */
17911 char cpow ();
17913 main ()
17915 cpow ();
17917 return 0;
17919 _ACEOF
17920 rm -f conftest.$ac_objext conftest$ac_exeext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17922 (eval $ac_link) 2>conftest.er1
17923 ac_status=$?
17924 grep -v '^ *+' conftest.er1 >conftest.err
17925 rm -f conftest.er1
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try='test -z "$ac_c_werror_flag"
17930 || test ! -s conftest.err'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17933 ac_status=$?
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; } &&
17936 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17942 ac_cv_lib_m_cpow=yes
17943 else
17944 echo "$as_me: failed program was:" >&5
17945 sed 's/^/| /' conftest.$ac_ext >&5
17947 ac_cv_lib_m_cpow=no
17949 rm -f conftest.err conftest.$ac_objext \
17950 conftest$ac_exeext conftest.$ac_ext
17951 LIBS=$ac_check_lib_save_LIBS
17953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17954 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17955 if test $ac_cv_lib_m_cpow = yes; then
17957 cat >>confdefs.h <<\_ACEOF
17958 #define HAVE_CPOW 1
17959 _ACEOF
17963 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17964 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17965 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 else
17968 ac_check_lib_save_LIBS=$LIBS
17969 LIBS="-lm $LIBS"
17970 if test x$gcc_no_link = xyes; then
17971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17973 { (exit 1); exit 1; }; }
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17982 /* Override any gcc2 internal prototype to avoid an error. */
17983 #ifdef __cplusplus
17984 extern "C"
17985 #endif
17986 /* We use char because int might match the return type of a gcc2
17987 builtin and then its argument prototype would still apply. */
17988 char cpowl ();
17990 main ()
17992 cpowl ();
17994 return 0;
17996 _ACEOF
17997 rm -f conftest.$ac_objext conftest$ac_exeext
17998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17999 (eval $ac_link) 2>conftest.er1
18000 ac_status=$?
18001 grep -v '^ *+' conftest.er1 >conftest.err
18002 rm -f conftest.er1
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } &&
18006 { ac_try='test -z "$ac_c_werror_flag"
18007 || test ! -s conftest.err'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; } &&
18013 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18019 ac_cv_lib_m_cpowl=yes
18020 else
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18024 ac_cv_lib_m_cpowl=no
18026 rm -f conftest.err conftest.$ac_objext \
18027 conftest$ac_exeext conftest.$ac_ext
18028 LIBS=$ac_check_lib_save_LIBS
18030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
18031 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
18032 if test $ac_cv_lib_m_cpowl = yes; then
18034 cat >>confdefs.h <<\_ACEOF
18035 #define HAVE_CPOWL 1
18036 _ACEOF
18040 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
18041 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
18042 if test "${ac_cv_lib_m_roundf+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 ac_check_lib_save_LIBS=$LIBS
18046 LIBS="-lm $LIBS"
18047 if test x$gcc_no_link = xyes; then
18048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18050 { (exit 1); exit 1; }; }
18052 cat >conftest.$ac_ext <<_ACEOF
18053 /* confdefs.h. */
18054 _ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18059 /* Override any gcc2 internal prototype to avoid an error. */
18060 #ifdef __cplusplus
18061 extern "C"
18062 #endif
18063 /* We use char because int might match the return type of a gcc2
18064 builtin and then its argument prototype would still apply. */
18065 char roundf ();
18067 main ()
18069 roundf ();
18071 return 0;
18073 _ACEOF
18074 rm -f conftest.$ac_objext conftest$ac_exeext
18075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18076 (eval $ac_link) 2>conftest.er1
18077 ac_status=$?
18078 grep -v '^ *+' conftest.er1 >conftest.err
18079 rm -f conftest.er1
18080 cat conftest.err >&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); } &&
18083 { ac_try='test -z "$ac_c_werror_flag"
18084 || test ! -s conftest.err'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18087 ac_status=$?
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; } &&
18090 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18096 ac_cv_lib_m_roundf=yes
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18101 ac_cv_lib_m_roundf=no
18103 rm -f conftest.err conftest.$ac_objext \
18104 conftest$ac_exeext conftest.$ac_ext
18105 LIBS=$ac_check_lib_save_LIBS
18107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
18108 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
18109 if test $ac_cv_lib_m_roundf = yes; then
18111 cat >>confdefs.h <<\_ACEOF
18112 #define HAVE_ROUNDF 1
18113 _ACEOF
18117 echo "$as_me:$LINENO: checking for round in -lm" >&5
18118 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
18119 if test "${ac_cv_lib_m_round+set}" = set; then
18120 echo $ECHO_N "(cached) $ECHO_C" >&6
18121 else
18122 ac_check_lib_save_LIBS=$LIBS
18123 LIBS="-lm $LIBS"
18124 if test x$gcc_no_link = xyes; then
18125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18127 { (exit 1); exit 1; }; }
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18136 /* Override any gcc2 internal prototype to avoid an error. */
18137 #ifdef __cplusplus
18138 extern "C"
18139 #endif
18140 /* We use char because int might match the return type of a gcc2
18141 builtin and then its argument prototype would still apply. */
18142 char round ();
18144 main ()
18146 round ();
18148 return 0;
18150 _ACEOF
18151 rm -f conftest.$ac_objext conftest$ac_exeext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18153 (eval $ac_link) 2>conftest.er1
18154 ac_status=$?
18155 grep -v '^ *+' conftest.er1 >conftest.err
18156 rm -f conftest.er1
18157 cat conftest.err >&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } &&
18160 { ac_try='test -z "$ac_c_werror_flag"
18161 || test ! -s conftest.err'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18164 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; } &&
18167 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18173 ac_cv_lib_m_round=yes
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18178 ac_cv_lib_m_round=no
18180 rm -f conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext
18182 LIBS=$ac_check_lib_save_LIBS
18184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
18185 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
18186 if test $ac_cv_lib_m_round = yes; then
18188 cat >>confdefs.h <<\_ACEOF
18189 #define HAVE_ROUND 1
18190 _ACEOF
18194 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
18195 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
18196 if test "${ac_cv_lib_m_roundl+set}" = set; then
18197 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 else
18199 ac_check_lib_save_LIBS=$LIBS
18200 LIBS="-lm $LIBS"
18201 if test x$gcc_no_link = xyes; then
18202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18204 { (exit 1); exit 1; }; }
18206 cat >conftest.$ac_ext <<_ACEOF
18207 /* confdefs.h. */
18208 _ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18213 /* Override any gcc2 internal prototype to avoid an error. */
18214 #ifdef __cplusplus
18215 extern "C"
18216 #endif
18217 /* We use char because int might match the return type of a gcc2
18218 builtin and then its argument prototype would still apply. */
18219 char roundl ();
18221 main ()
18223 roundl ();
18225 return 0;
18227 _ACEOF
18228 rm -f conftest.$ac_objext conftest$ac_exeext
18229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18230 (eval $ac_link) 2>conftest.er1
18231 ac_status=$?
18232 grep -v '^ *+' conftest.er1 >conftest.err
18233 rm -f conftest.er1
18234 cat conftest.err >&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); } &&
18237 { ac_try='test -z "$ac_c_werror_flag"
18238 || test ! -s conftest.err'
18239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240 (eval $ac_try) 2>&5
18241 ac_status=$?
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; } &&
18244 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18250 ac_cv_lib_m_roundl=yes
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 ac_cv_lib_m_roundl=no
18257 rm -f conftest.err conftest.$ac_objext \
18258 conftest$ac_exeext conftest.$ac_ext
18259 LIBS=$ac_check_lib_save_LIBS
18261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
18262 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
18263 if test $ac_cv_lib_m_roundl = yes; then
18265 cat >>confdefs.h <<\_ACEOF
18266 #define HAVE_ROUNDL 1
18267 _ACEOF
18271 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
18272 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
18273 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
18274 echo $ECHO_N "(cached) $ECHO_C" >&6
18275 else
18276 ac_check_lib_save_LIBS=$LIBS
18277 LIBS="-lm $LIBS"
18278 if test x$gcc_no_link = xyes; then
18279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18281 { (exit 1); exit 1; }; }
18283 cat >conftest.$ac_ext <<_ACEOF
18284 /* confdefs.h. */
18285 _ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18290 /* Override any gcc2 internal prototype to avoid an error. */
18291 #ifdef __cplusplus
18292 extern "C"
18293 #endif
18294 /* We use char because int might match the return type of a gcc2
18295 builtin and then its argument prototype would still apply. */
18296 char scalbnf ();
18298 main ()
18300 scalbnf ();
18302 return 0;
18304 _ACEOF
18305 rm -f conftest.$ac_objext conftest$ac_exeext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18307 (eval $ac_link) 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try='test -z "$ac_c_werror_flag"
18315 || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18327 ac_cv_lib_m_scalbnf=yes
18328 else
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18332 ac_cv_lib_m_scalbnf=no
18334 rm -f conftest.err conftest.$ac_objext \
18335 conftest$ac_exeext conftest.$ac_ext
18336 LIBS=$ac_check_lib_save_LIBS
18338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
18339 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
18340 if test $ac_cv_lib_m_scalbnf = yes; then
18342 cat >>confdefs.h <<\_ACEOF
18343 #define HAVE_SCALBNF 1
18344 _ACEOF
18348 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
18349 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
18350 if test "${ac_cv_lib_m_scalbn+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 else
18353 ac_check_lib_save_LIBS=$LIBS
18354 LIBS="-lm $LIBS"
18355 if test x$gcc_no_link = xyes; then
18356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18358 { (exit 1); exit 1; }; }
18360 cat >conftest.$ac_ext <<_ACEOF
18361 /* confdefs.h. */
18362 _ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18367 /* Override any gcc2 internal prototype to avoid an error. */
18368 #ifdef __cplusplus
18369 extern "C"
18370 #endif
18371 /* We use char because int might match the return type of a gcc2
18372 builtin and then its argument prototype would still apply. */
18373 char scalbn ();
18375 main ()
18377 scalbn ();
18379 return 0;
18381 _ACEOF
18382 rm -f conftest.$ac_objext conftest$ac_exeext
18383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18384 (eval $ac_link) 2>conftest.er1
18385 ac_status=$?
18386 grep -v '^ *+' conftest.er1 >conftest.err
18387 rm -f conftest.er1
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } &&
18391 { ac_try='test -z "$ac_c_werror_flag"
18392 || test ! -s conftest.err'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18395 ac_status=$?
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; } &&
18398 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18404 ac_cv_lib_m_scalbn=yes
18405 else
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18409 ac_cv_lib_m_scalbn=no
18411 rm -f conftest.err conftest.$ac_objext \
18412 conftest$ac_exeext conftest.$ac_ext
18413 LIBS=$ac_check_lib_save_LIBS
18415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
18416 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
18417 if test $ac_cv_lib_m_scalbn = yes; then
18419 cat >>confdefs.h <<\_ACEOF
18420 #define HAVE_SCALBN 1
18421 _ACEOF
18425 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
18426 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
18427 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
18428 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 else
18430 ac_check_lib_save_LIBS=$LIBS
18431 LIBS="-lm $LIBS"
18432 if test x$gcc_no_link = xyes; then
18433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18435 { (exit 1); exit 1; }; }
18437 cat >conftest.$ac_ext <<_ACEOF
18438 /* confdefs.h. */
18439 _ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18444 /* Override any gcc2 internal prototype to avoid an error. */
18445 #ifdef __cplusplus
18446 extern "C"
18447 #endif
18448 /* We use char because int might match the return type of a gcc2
18449 builtin and then its argument prototype would still apply. */
18450 char scalbnl ();
18452 main ()
18454 scalbnl ();
18456 return 0;
18458 _ACEOF
18459 rm -f conftest.$ac_objext conftest$ac_exeext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18461 (eval $ac_link) 2>conftest.er1
18462 ac_status=$?
18463 grep -v '^ *+' conftest.er1 >conftest.err
18464 rm -f conftest.er1
18465 cat conftest.err >&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try='test -z "$ac_c_werror_flag"
18469 || test ! -s conftest.err'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18472 ac_status=$?
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; } &&
18475 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18481 ac_cv_lib_m_scalbnl=yes
18482 else
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.$ac_ext >&5
18486 ac_cv_lib_m_scalbnl=no
18488 rm -f conftest.err conftest.$ac_objext \
18489 conftest$ac_exeext conftest.$ac_ext
18490 LIBS=$ac_check_lib_save_LIBS
18492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
18493 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
18494 if test $ac_cv_lib_m_scalbnl = yes; then
18496 cat >>confdefs.h <<\_ACEOF
18497 #define HAVE_SCALBNL 1
18498 _ACEOF
18502 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
18503 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
18504 if test "${ac_cv_lib_m_sinf+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 else
18507 ac_check_lib_save_LIBS=$LIBS
18508 LIBS="-lm $LIBS"
18509 if test x$gcc_no_link = xyes; then
18510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18512 { (exit 1); exit 1; }; }
18514 cat >conftest.$ac_ext <<_ACEOF
18515 /* confdefs.h. */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18521 /* Override any gcc2 internal prototype to avoid an error. */
18522 #ifdef __cplusplus
18523 extern "C"
18524 #endif
18525 /* We use char because int might match the return type of a gcc2
18526 builtin and then its argument prototype would still apply. */
18527 char sinf ();
18529 main ()
18531 sinf ();
18533 return 0;
18535 _ACEOF
18536 rm -f conftest.$ac_objext conftest$ac_exeext
18537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18538 (eval $ac_link) 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } &&
18545 { ac_try='test -z "$ac_c_werror_flag"
18546 || test ! -s conftest.err'
18547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548 (eval $ac_try) 2>&5
18549 ac_status=$?
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; } &&
18552 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18558 ac_cv_lib_m_sinf=yes
18559 else
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18563 ac_cv_lib_m_sinf=no
18565 rm -f conftest.err conftest.$ac_objext \
18566 conftest$ac_exeext conftest.$ac_ext
18567 LIBS=$ac_check_lib_save_LIBS
18569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
18570 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
18571 if test $ac_cv_lib_m_sinf = yes; then
18573 cat >>confdefs.h <<\_ACEOF
18574 #define HAVE_SINF 1
18575 _ACEOF
18579 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18580 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18581 if test "${ac_cv_lib_m_sin+set}" = set; then
18582 echo $ECHO_N "(cached) $ECHO_C" >&6
18583 else
18584 ac_check_lib_save_LIBS=$LIBS
18585 LIBS="-lm $LIBS"
18586 if test x$gcc_no_link = xyes; then
18587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18589 { (exit 1); exit 1; }; }
18591 cat >conftest.$ac_ext <<_ACEOF
18592 /* confdefs.h. */
18593 _ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18598 /* Override any gcc2 internal prototype to avoid an error. */
18599 #ifdef __cplusplus
18600 extern "C"
18601 #endif
18602 /* We use char because int might match the return type of a gcc2
18603 builtin and then its argument prototype would still apply. */
18604 char sin ();
18606 main ()
18608 sin ();
18610 return 0;
18612 _ACEOF
18613 rm -f conftest.$ac_objext conftest$ac_exeext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18615 (eval $ac_link) 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try='test -z "$ac_c_werror_flag"
18623 || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18635 ac_cv_lib_m_sin=yes
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18640 ac_cv_lib_m_sin=no
18642 rm -f conftest.err conftest.$ac_objext \
18643 conftest$ac_exeext conftest.$ac_ext
18644 LIBS=$ac_check_lib_save_LIBS
18646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18647 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18648 if test $ac_cv_lib_m_sin = yes; then
18650 cat >>confdefs.h <<\_ACEOF
18651 #define HAVE_SIN 1
18652 _ACEOF
18656 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18657 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18658 if test "${ac_cv_lib_m_sinl+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 ac_check_lib_save_LIBS=$LIBS
18662 LIBS="-lm $LIBS"
18663 if test x$gcc_no_link = xyes; then
18664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18666 { (exit 1); exit 1; }; }
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18675 /* Override any gcc2 internal prototype to avoid an error. */
18676 #ifdef __cplusplus
18677 extern "C"
18678 #endif
18679 /* We use char because int might match the return type of a gcc2
18680 builtin and then its argument prototype would still apply. */
18681 char sinl ();
18683 main ()
18685 sinl ();
18687 return 0;
18689 _ACEOF
18690 rm -f conftest.$ac_objext conftest$ac_exeext
18691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18692 (eval $ac_link) 2>conftest.er1
18693 ac_status=$?
18694 grep -v '^ *+' conftest.er1 >conftest.err
18695 rm -f conftest.er1
18696 cat conftest.err >&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); } &&
18699 { ac_try='test -z "$ac_c_werror_flag"
18700 || test ! -s conftest.err'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18703 ac_status=$?
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; } &&
18706 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18712 ac_cv_lib_m_sinl=yes
18713 else
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.$ac_ext >&5
18717 ac_cv_lib_m_sinl=no
18719 rm -f conftest.err conftest.$ac_objext \
18720 conftest$ac_exeext conftest.$ac_ext
18721 LIBS=$ac_check_lib_save_LIBS
18723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18724 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18725 if test $ac_cv_lib_m_sinl = yes; then
18727 cat >>confdefs.h <<\_ACEOF
18728 #define HAVE_SINL 1
18729 _ACEOF
18733 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18734 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18735 if test "${ac_cv_lib_m_csinf+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 ac_check_lib_save_LIBS=$LIBS
18739 LIBS="-lm $LIBS"
18740 if test x$gcc_no_link = xyes; then
18741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18743 { (exit 1); exit 1; }; }
18745 cat >conftest.$ac_ext <<_ACEOF
18746 /* confdefs.h. */
18747 _ACEOF
18748 cat confdefs.h >>conftest.$ac_ext
18749 cat >>conftest.$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18752 /* Override any gcc2 internal prototype to avoid an error. */
18753 #ifdef __cplusplus
18754 extern "C"
18755 #endif
18756 /* We use char because int might match the return type of a gcc2
18757 builtin and then its argument prototype would still apply. */
18758 char csinf ();
18760 main ()
18762 csinf ();
18764 return 0;
18766 _ACEOF
18767 rm -f conftest.$ac_objext conftest$ac_exeext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18769 (eval $ac_link) 2>conftest.er1
18770 ac_status=$?
18771 grep -v '^ *+' conftest.er1 >conftest.err
18772 rm -f conftest.er1
18773 cat conftest.err >&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try='test -z "$ac_c_werror_flag"
18777 || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18780 ac_status=$?
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18789 ac_cv_lib_m_csinf=yes
18790 else
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18794 ac_cv_lib_m_csinf=no
18796 rm -f conftest.err conftest.$ac_objext \
18797 conftest$ac_exeext conftest.$ac_ext
18798 LIBS=$ac_check_lib_save_LIBS
18800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18801 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18802 if test $ac_cv_lib_m_csinf = yes; then
18804 cat >>confdefs.h <<\_ACEOF
18805 #define HAVE_CSINF 1
18806 _ACEOF
18810 echo "$as_me:$LINENO: checking for csin in -lm" >&5
18811 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18812 if test "${ac_cv_lib_m_csin+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 else
18815 ac_check_lib_save_LIBS=$LIBS
18816 LIBS="-lm $LIBS"
18817 if test x$gcc_no_link = xyes; then
18818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18820 { (exit 1); exit 1; }; }
18822 cat >conftest.$ac_ext <<_ACEOF
18823 /* confdefs.h. */
18824 _ACEOF
18825 cat confdefs.h >>conftest.$ac_ext
18826 cat >>conftest.$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18829 /* Override any gcc2 internal prototype to avoid an error. */
18830 #ifdef __cplusplus
18831 extern "C"
18832 #endif
18833 /* We use char because int might match the return type of a gcc2
18834 builtin and then its argument prototype would still apply. */
18835 char csin ();
18837 main ()
18839 csin ();
18841 return 0;
18843 _ACEOF
18844 rm -f conftest.$ac_objext conftest$ac_exeext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18846 (eval $ac_link) 2>conftest.er1
18847 ac_status=$?
18848 grep -v '^ *+' conftest.er1 >conftest.err
18849 rm -f conftest.er1
18850 cat conftest.err >&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try='test -z "$ac_c_werror_flag"
18854 || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18857 ac_status=$?
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18866 ac_cv_lib_m_csin=yes
18867 else
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18871 ac_cv_lib_m_csin=no
18873 rm -f conftest.err conftest.$ac_objext \
18874 conftest$ac_exeext conftest.$ac_ext
18875 LIBS=$ac_check_lib_save_LIBS
18877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18878 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18879 if test $ac_cv_lib_m_csin = yes; then
18881 cat >>confdefs.h <<\_ACEOF
18882 #define HAVE_CSIN 1
18883 _ACEOF
18887 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18888 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18889 if test "${ac_cv_lib_m_csinl+set}" = set; then
18890 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 else
18892 ac_check_lib_save_LIBS=$LIBS
18893 LIBS="-lm $LIBS"
18894 if test x$gcc_no_link = xyes; then
18895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18897 { (exit 1); exit 1; }; }
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18906 /* Override any gcc2 internal prototype to avoid an error. */
18907 #ifdef __cplusplus
18908 extern "C"
18909 #endif
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18912 char csinl ();
18914 main ()
18916 csinl ();
18918 return 0;
18920 _ACEOF
18921 rm -f conftest.$ac_objext conftest$ac_exeext
18922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18923 (eval $ac_link) 2>conftest.er1
18924 ac_status=$?
18925 grep -v '^ *+' conftest.er1 >conftest.err
18926 rm -f conftest.er1
18927 cat conftest.err >&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } &&
18930 { ac_try='test -z "$ac_c_werror_flag"
18931 || test ! -s conftest.err'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18934 ac_status=$?
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; } &&
18937 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18943 ac_cv_lib_m_csinl=yes
18944 else
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18948 ac_cv_lib_m_csinl=no
18950 rm -f conftest.err conftest.$ac_objext \
18951 conftest$ac_exeext conftest.$ac_ext
18952 LIBS=$ac_check_lib_save_LIBS
18954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18955 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18956 if test $ac_cv_lib_m_csinl = yes; then
18958 cat >>confdefs.h <<\_ACEOF
18959 #define HAVE_CSINL 1
18960 _ACEOF
18964 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18965 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18966 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 ac_check_lib_save_LIBS=$LIBS
18970 LIBS="-lm $LIBS"
18971 if test x$gcc_no_link = xyes; then
18972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18974 { (exit 1); exit 1; }; }
18976 cat >conftest.$ac_ext <<_ACEOF
18977 /* confdefs.h. */
18978 _ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18983 /* Override any gcc2 internal prototype to avoid an error. */
18984 #ifdef __cplusplus
18985 extern "C"
18986 #endif
18987 /* We use char because int might match the return type of a gcc2
18988 builtin and then its argument prototype would still apply. */
18989 char sinhf ();
18991 main ()
18993 sinhf ();
18995 return 0;
18997 _ACEOF
18998 rm -f conftest.$ac_objext conftest$ac_exeext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19000 (eval $ac_link) 2>conftest.er1
19001 ac_status=$?
19002 grep -v '^ *+' conftest.er1 >conftest.err
19003 rm -f conftest.er1
19004 cat conftest.err >&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try='test -z "$ac_c_werror_flag"
19008 || test ! -s conftest.err'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19011 ac_status=$?
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; } &&
19014 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19020 ac_cv_lib_m_sinhf=yes
19021 else
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.$ac_ext >&5
19025 ac_cv_lib_m_sinhf=no
19027 rm -f conftest.err conftest.$ac_objext \
19028 conftest$ac_exeext conftest.$ac_ext
19029 LIBS=$ac_check_lib_save_LIBS
19031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
19032 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
19033 if test $ac_cv_lib_m_sinhf = yes; then
19035 cat >>confdefs.h <<\_ACEOF
19036 #define HAVE_SINHF 1
19037 _ACEOF
19041 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
19042 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
19043 if test "${ac_cv_lib_m_sinh+set}" = set; then
19044 echo $ECHO_N "(cached) $ECHO_C" >&6
19045 else
19046 ac_check_lib_save_LIBS=$LIBS
19047 LIBS="-lm $LIBS"
19048 if test x$gcc_no_link = xyes; then
19049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19051 { (exit 1); exit 1; }; }
19053 cat >conftest.$ac_ext <<_ACEOF
19054 /* confdefs.h. */
19055 _ACEOF
19056 cat confdefs.h >>conftest.$ac_ext
19057 cat >>conftest.$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19060 /* Override any gcc2 internal prototype to avoid an error. */
19061 #ifdef __cplusplus
19062 extern "C"
19063 #endif
19064 /* We use char because int might match the return type of a gcc2
19065 builtin and then its argument prototype would still apply. */
19066 char sinh ();
19068 main ()
19070 sinh ();
19072 return 0;
19074 _ACEOF
19075 rm -f conftest.$ac_objext conftest$ac_exeext
19076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19077 (eval $ac_link) 2>conftest.er1
19078 ac_status=$?
19079 grep -v '^ *+' conftest.er1 >conftest.err
19080 rm -f conftest.er1
19081 cat conftest.err >&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); } &&
19084 { ac_try='test -z "$ac_c_werror_flag"
19085 || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19088 ac_status=$?
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19097 ac_cv_lib_m_sinh=yes
19098 else
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19102 ac_cv_lib_m_sinh=no
19104 rm -f conftest.err conftest.$ac_objext \
19105 conftest$ac_exeext conftest.$ac_ext
19106 LIBS=$ac_check_lib_save_LIBS
19108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
19109 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
19110 if test $ac_cv_lib_m_sinh = yes; then
19112 cat >>confdefs.h <<\_ACEOF
19113 #define HAVE_SINH 1
19114 _ACEOF
19118 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
19119 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
19120 if test "${ac_cv_lib_m_sinhl+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 else
19123 ac_check_lib_save_LIBS=$LIBS
19124 LIBS="-lm $LIBS"
19125 if test x$gcc_no_link = xyes; then
19126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19128 { (exit 1); exit 1; }; }
19130 cat >conftest.$ac_ext <<_ACEOF
19131 /* confdefs.h. */
19132 _ACEOF
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19137 /* Override any gcc2 internal prototype to avoid an error. */
19138 #ifdef __cplusplus
19139 extern "C"
19140 #endif
19141 /* We use char because int might match the return type of a gcc2
19142 builtin and then its argument prototype would still apply. */
19143 char sinhl ();
19145 main ()
19147 sinhl ();
19149 return 0;
19151 _ACEOF
19152 rm -f conftest.$ac_objext conftest$ac_exeext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19154 (eval $ac_link) 2>conftest.er1
19155 ac_status=$?
19156 grep -v '^ *+' conftest.er1 >conftest.err
19157 rm -f conftest.er1
19158 cat conftest.err >&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try='test -z "$ac_c_werror_flag"
19162 || test ! -s conftest.err'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19165 ac_status=$?
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; } &&
19168 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19174 ac_cv_lib_m_sinhl=yes
19175 else
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.$ac_ext >&5
19179 ac_cv_lib_m_sinhl=no
19181 rm -f conftest.err conftest.$ac_objext \
19182 conftest$ac_exeext conftest.$ac_ext
19183 LIBS=$ac_check_lib_save_LIBS
19185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
19186 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
19187 if test $ac_cv_lib_m_sinhl = yes; then
19189 cat >>confdefs.h <<\_ACEOF
19190 #define HAVE_SINHL 1
19191 _ACEOF
19195 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
19196 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
19197 if test "${ac_cv_lib_m_csinhf+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 ac_check_lib_save_LIBS=$LIBS
19201 LIBS="-lm $LIBS"
19202 if test x$gcc_no_link = xyes; then
19203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19205 { (exit 1); exit 1; }; }
19207 cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h. */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19214 /* Override any gcc2 internal prototype to avoid an error. */
19215 #ifdef __cplusplus
19216 extern "C"
19217 #endif
19218 /* We use char because int might match the return type of a gcc2
19219 builtin and then its argument prototype would still apply. */
19220 char csinhf ();
19222 main ()
19224 csinhf ();
19226 return 0;
19228 _ACEOF
19229 rm -f conftest.$ac_objext conftest$ac_exeext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19231 (eval $ac_link) 2>conftest.er1
19232 ac_status=$?
19233 grep -v '^ *+' conftest.er1 >conftest.err
19234 rm -f conftest.er1
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try='test -z "$ac_c_werror_flag"
19239 || test ! -s conftest.err'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; } &&
19245 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19251 ac_cv_lib_m_csinhf=yes
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19256 ac_cv_lib_m_csinhf=no
19258 rm -f conftest.err conftest.$ac_objext \
19259 conftest$ac_exeext conftest.$ac_ext
19260 LIBS=$ac_check_lib_save_LIBS
19262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
19263 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
19264 if test $ac_cv_lib_m_csinhf = yes; then
19266 cat >>confdefs.h <<\_ACEOF
19267 #define HAVE_CSINHF 1
19268 _ACEOF
19272 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
19273 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
19274 if test "${ac_cv_lib_m_csinh+set}" = set; then
19275 echo $ECHO_N "(cached) $ECHO_C" >&6
19276 else
19277 ac_check_lib_save_LIBS=$LIBS
19278 LIBS="-lm $LIBS"
19279 if test x$gcc_no_link = xyes; then
19280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19282 { (exit 1); exit 1; }; }
19284 cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h. */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19291 /* Override any gcc2 internal prototype to avoid an error. */
19292 #ifdef __cplusplus
19293 extern "C"
19294 #endif
19295 /* We use char because int might match the return type of a gcc2
19296 builtin and then its argument prototype would still apply. */
19297 char csinh ();
19299 main ()
19301 csinh ();
19303 return 0;
19305 _ACEOF
19306 rm -f conftest.$ac_objext conftest$ac_exeext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19308 (eval $ac_link) 2>conftest.er1
19309 ac_status=$?
19310 grep -v '^ *+' conftest.er1 >conftest.err
19311 rm -f conftest.er1
19312 cat conftest.err >&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } &&
19315 { ac_try='test -z "$ac_c_werror_flag"
19316 || test ! -s conftest.err'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19319 ac_status=$?
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; } &&
19322 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19328 ac_cv_lib_m_csinh=yes
19329 else
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19333 ac_cv_lib_m_csinh=no
19335 rm -f conftest.err conftest.$ac_objext \
19336 conftest$ac_exeext conftest.$ac_ext
19337 LIBS=$ac_check_lib_save_LIBS
19339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
19340 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
19341 if test $ac_cv_lib_m_csinh = yes; then
19343 cat >>confdefs.h <<\_ACEOF
19344 #define HAVE_CSINH 1
19345 _ACEOF
19349 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
19350 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
19351 if test "${ac_cv_lib_m_csinhl+set}" = set; then
19352 echo $ECHO_N "(cached) $ECHO_C" >&6
19353 else
19354 ac_check_lib_save_LIBS=$LIBS
19355 LIBS="-lm $LIBS"
19356 if test x$gcc_no_link = xyes; then
19357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19359 { (exit 1); exit 1; }; }
19361 cat >conftest.$ac_ext <<_ACEOF
19362 /* confdefs.h. */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19368 /* Override any gcc2 internal prototype to avoid an error. */
19369 #ifdef __cplusplus
19370 extern "C"
19371 #endif
19372 /* We use char because int might match the return type of a gcc2
19373 builtin and then its argument prototype would still apply. */
19374 char csinhl ();
19376 main ()
19378 csinhl ();
19380 return 0;
19382 _ACEOF
19383 rm -f conftest.$ac_objext conftest$ac_exeext
19384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19385 (eval $ac_link) 2>conftest.er1
19386 ac_status=$?
19387 grep -v '^ *+' conftest.er1 >conftest.err
19388 rm -f conftest.er1
19389 cat conftest.err >&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } &&
19392 { ac_try='test -z "$ac_c_werror_flag"
19393 || test ! -s conftest.err'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19396 ac_status=$?
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; } &&
19399 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19405 ac_cv_lib_m_csinhl=yes
19406 else
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19410 ac_cv_lib_m_csinhl=no
19412 rm -f conftest.err conftest.$ac_objext \
19413 conftest$ac_exeext conftest.$ac_ext
19414 LIBS=$ac_check_lib_save_LIBS
19416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
19417 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
19418 if test $ac_cv_lib_m_csinhl = yes; then
19420 cat >>confdefs.h <<\_ACEOF
19421 #define HAVE_CSINHL 1
19422 _ACEOF
19426 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
19427 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
19428 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
19429 echo $ECHO_N "(cached) $ECHO_C" >&6
19430 else
19431 ac_check_lib_save_LIBS=$LIBS
19432 LIBS="-lm $LIBS"
19433 if test x$gcc_no_link = xyes; then
19434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19436 { (exit 1); exit 1; }; }
19438 cat >conftest.$ac_ext <<_ACEOF
19439 /* confdefs.h. */
19440 _ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19445 /* Override any gcc2 internal prototype to avoid an error. */
19446 #ifdef __cplusplus
19447 extern "C"
19448 #endif
19449 /* We use char because int might match the return type of a gcc2
19450 builtin and then its argument prototype would still apply. */
19451 char sqrtf ();
19453 main ()
19455 sqrtf ();
19457 return 0;
19459 _ACEOF
19460 rm -f conftest.$ac_objext conftest$ac_exeext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19462 (eval $ac_link) 2>conftest.er1
19463 ac_status=$?
19464 grep -v '^ *+' conftest.er1 >conftest.err
19465 rm -f conftest.er1
19466 cat conftest.err >&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19482 ac_cv_lib_m_sqrtf=yes
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19487 ac_cv_lib_m_sqrtf=no
19489 rm -f conftest.err conftest.$ac_objext \
19490 conftest$ac_exeext conftest.$ac_ext
19491 LIBS=$ac_check_lib_save_LIBS
19493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
19494 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
19495 if test $ac_cv_lib_m_sqrtf = yes; then
19497 cat >>confdefs.h <<\_ACEOF
19498 #define HAVE_SQRTF 1
19499 _ACEOF
19503 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
19504 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
19505 if test "${ac_cv_lib_m_sqrt+set}" = set; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 else
19508 ac_check_lib_save_LIBS=$LIBS
19509 LIBS="-lm $LIBS"
19510 if test x$gcc_no_link = xyes; then
19511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19513 { (exit 1); exit 1; }; }
19515 cat >conftest.$ac_ext <<_ACEOF
19516 /* confdefs.h. */
19517 _ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19522 /* Override any gcc2 internal prototype to avoid an error. */
19523 #ifdef __cplusplus
19524 extern "C"
19525 #endif
19526 /* We use char because int might match the return type of a gcc2
19527 builtin and then its argument prototype would still apply. */
19528 char sqrt ();
19530 main ()
19532 sqrt ();
19534 return 0;
19536 _ACEOF
19537 rm -f conftest.$ac_objext conftest$ac_exeext
19538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19539 (eval $ac_link) 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try='test -z "$ac_c_werror_flag"
19547 || test ! -s conftest.err'
19548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19549 (eval $ac_try) 2>&5
19550 ac_status=$?
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; } &&
19553 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19559 ac_cv_lib_m_sqrt=yes
19560 else
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19564 ac_cv_lib_m_sqrt=no
19566 rm -f conftest.err conftest.$ac_objext \
19567 conftest$ac_exeext conftest.$ac_ext
19568 LIBS=$ac_check_lib_save_LIBS
19570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
19571 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
19572 if test $ac_cv_lib_m_sqrt = yes; then
19574 cat >>confdefs.h <<\_ACEOF
19575 #define HAVE_SQRT 1
19576 _ACEOF
19580 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
19581 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
19582 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
19583 echo $ECHO_N "(cached) $ECHO_C" >&6
19584 else
19585 ac_check_lib_save_LIBS=$LIBS
19586 LIBS="-lm $LIBS"
19587 if test x$gcc_no_link = xyes; then
19588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19590 { (exit 1); exit 1; }; }
19592 cat >conftest.$ac_ext <<_ACEOF
19593 /* confdefs.h. */
19594 _ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19599 /* Override any gcc2 internal prototype to avoid an error. */
19600 #ifdef __cplusplus
19601 extern "C"
19602 #endif
19603 /* We use char because int might match the return type of a gcc2
19604 builtin and then its argument prototype would still apply. */
19605 char sqrtl ();
19607 main ()
19609 sqrtl ();
19611 return 0;
19613 _ACEOF
19614 rm -f conftest.$ac_objext conftest$ac_exeext
19615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19616 (eval $ac_link) 2>conftest.er1
19617 ac_status=$?
19618 grep -v '^ *+' conftest.er1 >conftest.err
19619 rm -f conftest.er1
19620 cat conftest.err >&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try='test -z "$ac_c_werror_flag"
19624 || test ! -s conftest.err'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19627 ac_status=$?
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; } &&
19630 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19636 ac_cv_lib_m_sqrtl=yes
19637 else
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19641 ac_cv_lib_m_sqrtl=no
19643 rm -f conftest.err conftest.$ac_objext \
19644 conftest$ac_exeext conftest.$ac_ext
19645 LIBS=$ac_check_lib_save_LIBS
19647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19648 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19649 if test $ac_cv_lib_m_sqrtl = yes; then
19651 cat >>confdefs.h <<\_ACEOF
19652 #define HAVE_SQRTL 1
19653 _ACEOF
19657 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19658 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19659 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19660 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 else
19662 ac_check_lib_save_LIBS=$LIBS
19663 LIBS="-lm $LIBS"
19664 if test x$gcc_no_link = xyes; then
19665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19667 { (exit 1); exit 1; }; }
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19676 /* Override any gcc2 internal prototype to avoid an error. */
19677 #ifdef __cplusplus
19678 extern "C"
19679 #endif
19680 /* We use char because int might match the return type of a gcc2
19681 builtin and then its argument prototype would still apply. */
19682 char csqrtf ();
19684 main ()
19686 csqrtf ();
19688 return 0;
19690 _ACEOF
19691 rm -f conftest.$ac_objext conftest$ac_exeext
19692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19693 (eval $ac_link) 2>conftest.er1
19694 ac_status=$?
19695 grep -v '^ *+' conftest.er1 >conftest.err
19696 rm -f conftest.er1
19697 cat conftest.err >&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); } &&
19700 { ac_try='test -z "$ac_c_werror_flag"
19701 || test ! -s conftest.err'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19704 ac_status=$?
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; } &&
19707 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19713 ac_cv_lib_m_csqrtf=yes
19714 else
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19718 ac_cv_lib_m_csqrtf=no
19720 rm -f conftest.err conftest.$ac_objext \
19721 conftest$ac_exeext conftest.$ac_ext
19722 LIBS=$ac_check_lib_save_LIBS
19724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19725 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19726 if test $ac_cv_lib_m_csqrtf = yes; then
19728 cat >>confdefs.h <<\_ACEOF
19729 #define HAVE_CSQRTF 1
19730 _ACEOF
19734 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19735 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19736 if test "${ac_cv_lib_m_csqrt+set}" = set; then
19737 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 else
19739 ac_check_lib_save_LIBS=$LIBS
19740 LIBS="-lm $LIBS"
19741 if test x$gcc_no_link = xyes; then
19742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19744 { (exit 1); exit 1; }; }
19746 cat >conftest.$ac_ext <<_ACEOF
19747 /* confdefs.h. */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19753 /* Override any gcc2 internal prototype to avoid an error. */
19754 #ifdef __cplusplus
19755 extern "C"
19756 #endif
19757 /* We use char because int might match the return type of a gcc2
19758 builtin and then its argument prototype would still apply. */
19759 char csqrt ();
19761 main ()
19763 csqrt ();
19765 return 0;
19767 _ACEOF
19768 rm -f conftest.$ac_objext conftest$ac_exeext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19770 (eval $ac_link) 2>conftest.er1
19771 ac_status=$?
19772 grep -v '^ *+' conftest.er1 >conftest.err
19773 rm -f conftest.er1
19774 cat conftest.err >&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try='test -z "$ac_c_werror_flag"
19778 || test ! -s conftest.err'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19781 ac_status=$?
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; } &&
19784 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19790 ac_cv_lib_m_csqrt=yes
19791 else
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19795 ac_cv_lib_m_csqrt=no
19797 rm -f conftest.err conftest.$ac_objext \
19798 conftest$ac_exeext conftest.$ac_ext
19799 LIBS=$ac_check_lib_save_LIBS
19801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19802 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19803 if test $ac_cv_lib_m_csqrt = yes; then
19805 cat >>confdefs.h <<\_ACEOF
19806 #define HAVE_CSQRT 1
19807 _ACEOF
19811 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19812 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19813 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19816 ac_check_lib_save_LIBS=$LIBS
19817 LIBS="-lm $LIBS"
19818 if test x$gcc_no_link = xyes; then
19819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19821 { (exit 1); exit 1; }; }
19823 cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h. */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19830 /* Override any gcc2 internal prototype to avoid an error. */
19831 #ifdef __cplusplus
19832 extern "C"
19833 #endif
19834 /* We use char because int might match the return type of a gcc2
19835 builtin and then its argument prototype would still apply. */
19836 char csqrtl ();
19838 main ()
19840 csqrtl ();
19842 return 0;
19844 _ACEOF
19845 rm -f conftest.$ac_objext conftest$ac_exeext
19846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19847 (eval $ac_link) 2>conftest.er1
19848 ac_status=$?
19849 grep -v '^ *+' conftest.er1 >conftest.err
19850 rm -f conftest.er1
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } &&
19854 { ac_try='test -z "$ac_c_werror_flag"
19855 || test ! -s conftest.err'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19858 ac_status=$?
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; } &&
19861 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19867 ac_cv_lib_m_csqrtl=yes
19868 else
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.$ac_ext >&5
19872 ac_cv_lib_m_csqrtl=no
19874 rm -f conftest.err conftest.$ac_objext \
19875 conftest$ac_exeext conftest.$ac_ext
19876 LIBS=$ac_check_lib_save_LIBS
19878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19879 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19880 if test $ac_cv_lib_m_csqrtl = yes; then
19882 cat >>confdefs.h <<\_ACEOF
19883 #define HAVE_CSQRTL 1
19884 _ACEOF
19888 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19889 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19890 if test "${ac_cv_lib_m_tanf+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 else
19893 ac_check_lib_save_LIBS=$LIBS
19894 LIBS="-lm $LIBS"
19895 if test x$gcc_no_link = xyes; then
19896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19898 { (exit 1); exit 1; }; }
19900 cat >conftest.$ac_ext <<_ACEOF
19901 /* confdefs.h. */
19902 _ACEOF
19903 cat confdefs.h >>conftest.$ac_ext
19904 cat >>conftest.$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19907 /* Override any gcc2 internal prototype to avoid an error. */
19908 #ifdef __cplusplus
19909 extern "C"
19910 #endif
19911 /* We use char because int might match the return type of a gcc2
19912 builtin and then its argument prototype would still apply. */
19913 char tanf ();
19915 main ()
19917 tanf ();
19919 return 0;
19921 _ACEOF
19922 rm -f conftest.$ac_objext conftest$ac_exeext
19923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19924 (eval $ac_link) 2>conftest.er1
19925 ac_status=$?
19926 grep -v '^ *+' conftest.er1 >conftest.err
19927 rm -f conftest.er1
19928 cat conftest.err >&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } &&
19931 { ac_try='test -z "$ac_c_werror_flag"
19932 || test ! -s conftest.err'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19935 ac_status=$?
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; } &&
19938 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19944 ac_cv_lib_m_tanf=yes
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19949 ac_cv_lib_m_tanf=no
19951 rm -f conftest.err conftest.$ac_objext \
19952 conftest$ac_exeext conftest.$ac_ext
19953 LIBS=$ac_check_lib_save_LIBS
19955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19956 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19957 if test $ac_cv_lib_m_tanf = yes; then
19959 cat >>confdefs.h <<\_ACEOF
19960 #define HAVE_TANF 1
19961 _ACEOF
19965 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19966 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19967 if test "${ac_cv_lib_m_tan+set}" = set; then
19968 echo $ECHO_N "(cached) $ECHO_C" >&6
19969 else
19970 ac_check_lib_save_LIBS=$LIBS
19971 LIBS="-lm $LIBS"
19972 if test x$gcc_no_link = xyes; then
19973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19975 { (exit 1); exit 1; }; }
19977 cat >conftest.$ac_ext <<_ACEOF
19978 /* confdefs.h. */
19979 _ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19984 /* Override any gcc2 internal prototype to avoid an error. */
19985 #ifdef __cplusplus
19986 extern "C"
19987 #endif
19988 /* We use char because int might match the return type of a gcc2
19989 builtin and then its argument prototype would still apply. */
19990 char tan ();
19992 main ()
19994 tan ();
19996 return 0;
19998 _ACEOF
19999 rm -f conftest.$ac_objext conftest$ac_exeext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20001 (eval $ac_link) 2>conftest.er1
20002 ac_status=$?
20003 grep -v '^ *+' conftest.er1 >conftest.err
20004 rm -f conftest.er1
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try='test -z "$ac_c_werror_flag"
20009 || test ! -s conftest.err'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20012 ac_status=$?
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; } &&
20015 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20021 ac_cv_lib_m_tan=yes
20022 else
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.$ac_ext >&5
20026 ac_cv_lib_m_tan=no
20028 rm -f conftest.err conftest.$ac_objext \
20029 conftest$ac_exeext conftest.$ac_ext
20030 LIBS=$ac_check_lib_save_LIBS
20032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
20033 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
20034 if test $ac_cv_lib_m_tan = yes; then
20036 cat >>confdefs.h <<\_ACEOF
20037 #define HAVE_TAN 1
20038 _ACEOF
20042 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
20043 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
20044 if test "${ac_cv_lib_m_tanl+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 else
20047 ac_check_lib_save_LIBS=$LIBS
20048 LIBS="-lm $LIBS"
20049 if test x$gcc_no_link = xyes; then
20050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20052 { (exit 1); exit 1; }; }
20054 cat >conftest.$ac_ext <<_ACEOF
20055 /* confdefs.h. */
20056 _ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20061 /* Override any gcc2 internal prototype to avoid an error. */
20062 #ifdef __cplusplus
20063 extern "C"
20064 #endif
20065 /* We use char because int might match the return type of a gcc2
20066 builtin and then its argument prototype would still apply. */
20067 char tanl ();
20069 main ()
20071 tanl ();
20073 return 0;
20075 _ACEOF
20076 rm -f conftest.$ac_objext conftest$ac_exeext
20077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20078 (eval $ac_link) 2>conftest.er1
20079 ac_status=$?
20080 grep -v '^ *+' conftest.er1 >conftest.err
20081 rm -f conftest.er1
20082 cat conftest.err >&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); } &&
20085 { ac_try='test -z "$ac_c_werror_flag"
20086 || test ! -s conftest.err'
20087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20088 (eval $ac_try) 2>&5
20089 ac_status=$?
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); }; } &&
20092 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20098 ac_cv_lib_m_tanl=yes
20099 else
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.$ac_ext >&5
20103 ac_cv_lib_m_tanl=no
20105 rm -f conftest.err conftest.$ac_objext \
20106 conftest$ac_exeext conftest.$ac_ext
20107 LIBS=$ac_check_lib_save_LIBS
20109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
20110 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
20111 if test $ac_cv_lib_m_tanl = yes; then
20113 cat >>confdefs.h <<\_ACEOF
20114 #define HAVE_TANL 1
20115 _ACEOF
20119 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
20120 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
20121 if test "${ac_cv_lib_m_ctanf+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 else
20124 ac_check_lib_save_LIBS=$LIBS
20125 LIBS="-lm $LIBS"
20126 if test x$gcc_no_link = xyes; then
20127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20129 { (exit 1); exit 1; }; }
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20138 /* Override any gcc2 internal prototype to avoid an error. */
20139 #ifdef __cplusplus
20140 extern "C"
20141 #endif
20142 /* We use char because int might match the return type of a gcc2
20143 builtin and then its argument prototype would still apply. */
20144 char ctanf ();
20146 main ()
20148 ctanf ();
20150 return 0;
20152 _ACEOF
20153 rm -f conftest.$ac_objext conftest$ac_exeext
20154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20155 (eval $ac_link) 2>conftest.er1
20156 ac_status=$?
20157 grep -v '^ *+' conftest.er1 >conftest.err
20158 rm -f conftest.er1
20159 cat conftest.err >&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); } &&
20162 { ac_try='test -z "$ac_c_werror_flag"
20163 || test ! -s conftest.err'
20164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20165 (eval $ac_try) 2>&5
20166 ac_status=$?
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); }; } &&
20169 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20175 ac_cv_lib_m_ctanf=yes
20176 else
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20180 ac_cv_lib_m_ctanf=no
20182 rm -f conftest.err conftest.$ac_objext \
20183 conftest$ac_exeext conftest.$ac_ext
20184 LIBS=$ac_check_lib_save_LIBS
20186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
20187 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
20188 if test $ac_cv_lib_m_ctanf = yes; then
20190 cat >>confdefs.h <<\_ACEOF
20191 #define HAVE_CTANF 1
20192 _ACEOF
20196 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
20197 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
20198 if test "${ac_cv_lib_m_ctan+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 else
20201 ac_check_lib_save_LIBS=$LIBS
20202 LIBS="-lm $LIBS"
20203 if test x$gcc_no_link = xyes; then
20204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20206 { (exit 1); exit 1; }; }
20208 cat >conftest.$ac_ext <<_ACEOF
20209 /* confdefs.h. */
20210 _ACEOF
20211 cat confdefs.h >>conftest.$ac_ext
20212 cat >>conftest.$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20215 /* Override any gcc2 internal prototype to avoid an error. */
20216 #ifdef __cplusplus
20217 extern "C"
20218 #endif
20219 /* We use char because int might match the return type of a gcc2
20220 builtin and then its argument prototype would still apply. */
20221 char ctan ();
20223 main ()
20225 ctan ();
20227 return 0;
20229 _ACEOF
20230 rm -f conftest.$ac_objext conftest$ac_exeext
20231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20232 (eval $ac_link) 2>conftest.er1
20233 ac_status=$?
20234 grep -v '^ *+' conftest.er1 >conftest.err
20235 rm -f conftest.er1
20236 cat conftest.err >&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); } &&
20239 { ac_try='test -z "$ac_c_werror_flag"
20240 || test ! -s conftest.err'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20243 ac_status=$?
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; } &&
20246 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20252 ac_cv_lib_m_ctan=yes
20253 else
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20257 ac_cv_lib_m_ctan=no
20259 rm -f conftest.err conftest.$ac_objext \
20260 conftest$ac_exeext conftest.$ac_ext
20261 LIBS=$ac_check_lib_save_LIBS
20263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
20264 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
20265 if test $ac_cv_lib_m_ctan = yes; then
20267 cat >>confdefs.h <<\_ACEOF
20268 #define HAVE_CTAN 1
20269 _ACEOF
20273 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
20274 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
20275 if test "${ac_cv_lib_m_ctanl+set}" = set; then
20276 echo $ECHO_N "(cached) $ECHO_C" >&6
20277 else
20278 ac_check_lib_save_LIBS=$LIBS
20279 LIBS="-lm $LIBS"
20280 if test x$gcc_no_link = xyes; then
20281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20283 { (exit 1); exit 1; }; }
20285 cat >conftest.$ac_ext <<_ACEOF
20286 /* confdefs.h. */
20287 _ACEOF
20288 cat confdefs.h >>conftest.$ac_ext
20289 cat >>conftest.$ac_ext <<_ACEOF
20290 /* end confdefs.h. */
20292 /* Override any gcc2 internal prototype to avoid an error. */
20293 #ifdef __cplusplus
20294 extern "C"
20295 #endif
20296 /* We use char because int might match the return type of a gcc2
20297 builtin and then its argument prototype would still apply. */
20298 char ctanl ();
20300 main ()
20302 ctanl ();
20304 return 0;
20306 _ACEOF
20307 rm -f conftest.$ac_objext conftest$ac_exeext
20308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20309 (eval $ac_link) 2>conftest.er1
20310 ac_status=$?
20311 grep -v '^ *+' conftest.er1 >conftest.err
20312 rm -f conftest.er1
20313 cat conftest.err >&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } &&
20316 { ac_try='test -z "$ac_c_werror_flag"
20317 || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20329 ac_cv_lib_m_ctanl=yes
20330 else
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20334 ac_cv_lib_m_ctanl=no
20336 rm -f conftest.err conftest.$ac_objext \
20337 conftest$ac_exeext conftest.$ac_ext
20338 LIBS=$ac_check_lib_save_LIBS
20340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
20341 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
20342 if test $ac_cv_lib_m_ctanl = yes; then
20344 cat >>confdefs.h <<\_ACEOF
20345 #define HAVE_CTANL 1
20346 _ACEOF
20350 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
20351 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
20352 if test "${ac_cv_lib_m_tanhf+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20354 else
20355 ac_check_lib_save_LIBS=$LIBS
20356 LIBS="-lm $LIBS"
20357 if test x$gcc_no_link = xyes; then
20358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20360 { (exit 1); exit 1; }; }
20362 cat >conftest.$ac_ext <<_ACEOF
20363 /* confdefs.h. */
20364 _ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20369 /* Override any gcc2 internal prototype to avoid an error. */
20370 #ifdef __cplusplus
20371 extern "C"
20372 #endif
20373 /* We use char because int might match the return type of a gcc2
20374 builtin and then its argument prototype would still apply. */
20375 char tanhf ();
20377 main ()
20379 tanhf ();
20381 return 0;
20383 _ACEOF
20384 rm -f conftest.$ac_objext conftest$ac_exeext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20386 (eval $ac_link) 2>conftest.er1
20387 ac_status=$?
20388 grep -v '^ *+' conftest.er1 >conftest.err
20389 rm -f conftest.er1
20390 cat conftest.err >&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); } &&
20393 { ac_try='test -z "$ac_c_werror_flag"
20394 || test ! -s conftest.err'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20397 ac_status=$?
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; } &&
20400 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20406 ac_cv_lib_m_tanhf=yes
20407 else
20408 echo "$as_me: failed program was:" >&5
20409 sed 's/^/| /' conftest.$ac_ext >&5
20411 ac_cv_lib_m_tanhf=no
20413 rm -f conftest.err conftest.$ac_objext \
20414 conftest$ac_exeext conftest.$ac_ext
20415 LIBS=$ac_check_lib_save_LIBS
20417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
20418 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
20419 if test $ac_cv_lib_m_tanhf = yes; then
20421 cat >>confdefs.h <<\_ACEOF
20422 #define HAVE_TANHF 1
20423 _ACEOF
20427 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
20428 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
20429 if test "${ac_cv_lib_m_tanh+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20431 else
20432 ac_check_lib_save_LIBS=$LIBS
20433 LIBS="-lm $LIBS"
20434 if test x$gcc_no_link = xyes; then
20435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20437 { (exit 1); exit 1; }; }
20439 cat >conftest.$ac_ext <<_ACEOF
20440 /* confdefs.h. */
20441 _ACEOF
20442 cat confdefs.h >>conftest.$ac_ext
20443 cat >>conftest.$ac_ext <<_ACEOF
20444 /* end confdefs.h. */
20446 /* Override any gcc2 internal prototype to avoid an error. */
20447 #ifdef __cplusplus
20448 extern "C"
20449 #endif
20450 /* We use char because int might match the return type of a gcc2
20451 builtin and then its argument prototype would still apply. */
20452 char tanh ();
20454 main ()
20456 tanh ();
20458 return 0;
20460 _ACEOF
20461 rm -f conftest.$ac_objext conftest$ac_exeext
20462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20463 (eval $ac_link) 2>conftest.er1
20464 ac_status=$?
20465 grep -v '^ *+' conftest.er1 >conftest.err
20466 rm -f conftest.er1
20467 cat conftest.err >&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } &&
20470 { ac_try='test -z "$ac_c_werror_flag"
20471 || test ! -s conftest.err'
20472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20473 (eval $ac_try) 2>&5
20474 ac_status=$?
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); }; } &&
20477 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20483 ac_cv_lib_m_tanh=yes
20484 else
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.$ac_ext >&5
20488 ac_cv_lib_m_tanh=no
20490 rm -f conftest.err conftest.$ac_objext \
20491 conftest$ac_exeext conftest.$ac_ext
20492 LIBS=$ac_check_lib_save_LIBS
20494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
20495 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
20496 if test $ac_cv_lib_m_tanh = yes; then
20498 cat >>confdefs.h <<\_ACEOF
20499 #define HAVE_TANH 1
20500 _ACEOF
20504 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
20505 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
20506 if test "${ac_cv_lib_m_tanhl+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20508 else
20509 ac_check_lib_save_LIBS=$LIBS
20510 LIBS="-lm $LIBS"
20511 if test x$gcc_no_link = xyes; then
20512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20514 { (exit 1); exit 1; }; }
20516 cat >conftest.$ac_ext <<_ACEOF
20517 /* confdefs.h. */
20518 _ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20523 /* Override any gcc2 internal prototype to avoid an error. */
20524 #ifdef __cplusplus
20525 extern "C"
20526 #endif
20527 /* We use char because int might match the return type of a gcc2
20528 builtin and then its argument prototype would still apply. */
20529 char tanhl ();
20531 main ()
20533 tanhl ();
20535 return 0;
20537 _ACEOF
20538 rm -f conftest.$ac_objext conftest$ac_exeext
20539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20540 (eval $ac_link) 2>conftest.er1
20541 ac_status=$?
20542 grep -v '^ *+' conftest.er1 >conftest.err
20543 rm -f conftest.er1
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } &&
20547 { ac_try='test -z "$ac_c_werror_flag"
20548 || test ! -s conftest.err'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20551 ac_status=$?
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; } &&
20554 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20560 ac_cv_lib_m_tanhl=yes
20561 else
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.$ac_ext >&5
20565 ac_cv_lib_m_tanhl=no
20567 rm -f conftest.err conftest.$ac_objext \
20568 conftest$ac_exeext conftest.$ac_ext
20569 LIBS=$ac_check_lib_save_LIBS
20571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
20572 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
20573 if test $ac_cv_lib_m_tanhl = yes; then
20575 cat >>confdefs.h <<\_ACEOF
20576 #define HAVE_TANHL 1
20577 _ACEOF
20581 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
20582 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
20583 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 else
20586 ac_check_lib_save_LIBS=$LIBS
20587 LIBS="-lm $LIBS"
20588 if test x$gcc_no_link = xyes; then
20589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20591 { (exit 1); exit 1; }; }
20593 cat >conftest.$ac_ext <<_ACEOF
20594 /* confdefs.h. */
20595 _ACEOF
20596 cat confdefs.h >>conftest.$ac_ext
20597 cat >>conftest.$ac_ext <<_ACEOF
20598 /* end confdefs.h. */
20600 /* Override any gcc2 internal prototype to avoid an error. */
20601 #ifdef __cplusplus
20602 extern "C"
20603 #endif
20604 /* We use char because int might match the return type of a gcc2
20605 builtin and then its argument prototype would still apply. */
20606 char ctanhf ();
20608 main ()
20610 ctanhf ();
20612 return 0;
20614 _ACEOF
20615 rm -f conftest.$ac_objext conftest$ac_exeext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20617 (eval $ac_link) 2>conftest.er1
20618 ac_status=$?
20619 grep -v '^ *+' conftest.er1 >conftest.err
20620 rm -f conftest.er1
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_c_werror_flag"
20625 || test ! -s conftest.err'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20628 ac_status=$?
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; } &&
20631 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20637 ac_cv_lib_m_ctanhf=yes
20638 else
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.$ac_ext >&5
20642 ac_cv_lib_m_ctanhf=no
20644 rm -f conftest.err conftest.$ac_objext \
20645 conftest$ac_exeext conftest.$ac_ext
20646 LIBS=$ac_check_lib_save_LIBS
20648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20649 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20650 if test $ac_cv_lib_m_ctanhf = yes; then
20652 cat >>confdefs.h <<\_ACEOF
20653 #define HAVE_CTANHF 1
20654 _ACEOF
20658 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20659 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20660 if test "${ac_cv_lib_m_ctanh+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 else
20663 ac_check_lib_save_LIBS=$LIBS
20664 LIBS="-lm $LIBS"
20665 if test x$gcc_no_link = xyes; then
20666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20668 { (exit 1); exit 1; }; }
20670 cat >conftest.$ac_ext <<_ACEOF
20671 /* confdefs.h. */
20672 _ACEOF
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20677 /* Override any gcc2 internal prototype to avoid an error. */
20678 #ifdef __cplusplus
20679 extern "C"
20680 #endif
20681 /* We use char because int might match the return type of a gcc2
20682 builtin and then its argument prototype would still apply. */
20683 char ctanh ();
20685 main ()
20687 ctanh ();
20689 return 0;
20691 _ACEOF
20692 rm -f conftest.$ac_objext conftest$ac_exeext
20693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20694 (eval $ac_link) 2>conftest.er1
20695 ac_status=$?
20696 grep -v '^ *+' conftest.er1 >conftest.err
20697 rm -f conftest.er1
20698 cat conftest.err >&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } &&
20701 { ac_try='test -z "$ac_c_werror_flag"
20702 || test ! -s conftest.err'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20705 ac_status=$?
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; } &&
20708 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20714 ac_cv_lib_m_ctanh=yes
20715 else
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20719 ac_cv_lib_m_ctanh=no
20721 rm -f conftest.err conftest.$ac_objext \
20722 conftest$ac_exeext conftest.$ac_ext
20723 LIBS=$ac_check_lib_save_LIBS
20725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20726 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20727 if test $ac_cv_lib_m_ctanh = yes; then
20729 cat >>confdefs.h <<\_ACEOF
20730 #define HAVE_CTANH 1
20731 _ACEOF
20735 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20736 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20737 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 else
20740 ac_check_lib_save_LIBS=$LIBS
20741 LIBS="-lm $LIBS"
20742 if test x$gcc_no_link = xyes; then
20743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20745 { (exit 1); exit 1; }; }
20747 cat >conftest.$ac_ext <<_ACEOF
20748 /* confdefs.h. */
20749 _ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20754 /* Override any gcc2 internal prototype to avoid an error. */
20755 #ifdef __cplusplus
20756 extern "C"
20757 #endif
20758 /* We use char because int might match the return type of a gcc2
20759 builtin and then its argument prototype would still apply. */
20760 char ctanhl ();
20762 main ()
20764 ctanhl ();
20766 return 0;
20768 _ACEOF
20769 rm -f conftest.$ac_objext conftest$ac_exeext
20770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20771 (eval $ac_link) 2>conftest.er1
20772 ac_status=$?
20773 grep -v '^ *+' conftest.er1 >conftest.err
20774 rm -f conftest.er1
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try='test -z "$ac_c_werror_flag"
20779 || test ! -s conftest.err'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20782 ac_status=$?
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; } &&
20785 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20791 ac_cv_lib_m_ctanhl=yes
20792 else
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.$ac_ext >&5
20796 ac_cv_lib_m_ctanhl=no
20798 rm -f conftest.err conftest.$ac_objext \
20799 conftest$ac_exeext conftest.$ac_ext
20800 LIBS=$ac_check_lib_save_LIBS
20802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20803 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20804 if test $ac_cv_lib_m_ctanhl = yes; then
20806 cat >>confdefs.h <<\_ACEOF
20807 #define HAVE_CTANHL 1
20808 _ACEOF
20812 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20813 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20814 if test "${ac_cv_lib_m_truncf+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 else
20817 ac_check_lib_save_LIBS=$LIBS
20818 LIBS="-lm $LIBS"
20819 if test x$gcc_no_link = xyes; then
20820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20822 { (exit 1); exit 1; }; }
20824 cat >conftest.$ac_ext <<_ACEOF
20825 /* confdefs.h. */
20826 _ACEOF
20827 cat confdefs.h >>conftest.$ac_ext
20828 cat >>conftest.$ac_ext <<_ACEOF
20829 /* end confdefs.h. */
20831 /* Override any gcc2 internal prototype to avoid an error. */
20832 #ifdef __cplusplus
20833 extern "C"
20834 #endif
20835 /* We use char because int might match the return type of a gcc2
20836 builtin and then its argument prototype would still apply. */
20837 char truncf ();
20839 main ()
20841 truncf ();
20843 return 0;
20845 _ACEOF
20846 rm -f conftest.$ac_objext conftest$ac_exeext
20847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20848 (eval $ac_link) 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_c_werror_flag"
20856 || test ! -s conftest.err'
20857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858 (eval $ac_try) 2>&5
20859 ac_status=$?
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; } &&
20862 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20868 ac_cv_lib_m_truncf=yes
20869 else
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.$ac_ext >&5
20873 ac_cv_lib_m_truncf=no
20875 rm -f conftest.err conftest.$ac_objext \
20876 conftest$ac_exeext conftest.$ac_ext
20877 LIBS=$ac_check_lib_save_LIBS
20879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20880 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20881 if test $ac_cv_lib_m_truncf = yes; then
20883 cat >>confdefs.h <<\_ACEOF
20884 #define HAVE_TRUNCF 1
20885 _ACEOF
20889 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20890 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20891 if test "${ac_cv_lib_m_trunc+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20893 else
20894 ac_check_lib_save_LIBS=$LIBS
20895 LIBS="-lm $LIBS"
20896 if test x$gcc_no_link = xyes; then
20897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20899 { (exit 1); exit 1; }; }
20901 cat >conftest.$ac_ext <<_ACEOF
20902 /* confdefs.h. */
20903 _ACEOF
20904 cat confdefs.h >>conftest.$ac_ext
20905 cat >>conftest.$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20908 /* Override any gcc2 internal prototype to avoid an error. */
20909 #ifdef __cplusplus
20910 extern "C"
20911 #endif
20912 /* We use char because int might match the return type of a gcc2
20913 builtin and then its argument prototype would still apply. */
20914 char trunc ();
20916 main ()
20918 trunc ();
20920 return 0;
20922 _ACEOF
20923 rm -f conftest.$ac_objext conftest$ac_exeext
20924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20925 (eval $ac_link) 2>conftest.er1
20926 ac_status=$?
20927 grep -v '^ *+' conftest.er1 >conftest.err
20928 rm -f conftest.er1
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } &&
20932 { ac_try='test -z "$ac_c_werror_flag"
20933 || test ! -s conftest.err'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
20945 ac_cv_lib_m_trunc=yes
20946 else
20947 echo "$as_me: failed program was:" >&5
20948 sed 's/^/| /' conftest.$ac_ext >&5
20950 ac_cv_lib_m_trunc=no
20952 rm -f conftest.err conftest.$ac_objext \
20953 conftest$ac_exeext conftest.$ac_ext
20954 LIBS=$ac_check_lib_save_LIBS
20956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20957 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20958 if test $ac_cv_lib_m_trunc = yes; then
20960 cat >>confdefs.h <<\_ACEOF
20961 #define HAVE_TRUNC 1
20962 _ACEOF
20966 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20967 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20968 if test "${ac_cv_lib_m_truncl+set}" = set; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20970 else
20971 ac_check_lib_save_LIBS=$LIBS
20972 LIBS="-lm $LIBS"
20973 if test x$gcc_no_link = xyes; then
20974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20976 { (exit 1); exit 1; }; }
20978 cat >conftest.$ac_ext <<_ACEOF
20979 /* confdefs.h. */
20980 _ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20985 /* Override any gcc2 internal prototype to avoid an error. */
20986 #ifdef __cplusplus
20987 extern "C"
20988 #endif
20989 /* We use char because int might match the return type of a gcc2
20990 builtin and then its argument prototype would still apply. */
20991 char truncl ();
20993 main ()
20995 truncl ();
20997 return 0;
20999 _ACEOF
21000 rm -f conftest.$ac_objext conftest$ac_exeext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21002 (eval $ac_link) 2>conftest.er1
21003 ac_status=$?
21004 grep -v '^ *+' conftest.er1 >conftest.err
21005 rm -f conftest.er1
21006 cat conftest.err >&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } &&
21009 { ac_try='test -z "$ac_c_werror_flag"
21010 || test ! -s conftest.err'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; } &&
21016 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21022 ac_cv_lib_m_truncl=yes
21023 else
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21027 ac_cv_lib_m_truncl=no
21029 rm -f conftest.err conftest.$ac_objext \
21030 conftest$ac_exeext conftest.$ac_ext
21031 LIBS=$ac_check_lib_save_LIBS
21033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
21034 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
21035 if test $ac_cv_lib_m_truncl = yes; then
21037 cat >>confdefs.h <<\_ACEOF
21038 #define HAVE_TRUNCL 1
21039 _ACEOF
21043 echo "$as_me:$LINENO: checking for erff in -lm" >&5
21044 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
21045 if test "${ac_cv_lib_m_erff+set}" = set; then
21046 echo $ECHO_N "(cached) $ECHO_C" >&6
21047 else
21048 ac_check_lib_save_LIBS=$LIBS
21049 LIBS="-lm $LIBS"
21050 if test x$gcc_no_link = xyes; then
21051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21053 { (exit 1); exit 1; }; }
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21062 /* Override any gcc2 internal prototype to avoid an error. */
21063 #ifdef __cplusplus
21064 extern "C"
21065 #endif
21066 /* We use char because int might match the return type of a gcc2
21067 builtin and then its argument prototype would still apply. */
21068 char erff ();
21070 main ()
21072 erff ();
21074 return 0;
21076 _ACEOF
21077 rm -f conftest.$ac_objext conftest$ac_exeext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21079 (eval $ac_link) 2>conftest.er1
21080 ac_status=$?
21081 grep -v '^ *+' conftest.er1 >conftest.err
21082 rm -f conftest.er1
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try='test -z "$ac_c_werror_flag"
21087 || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21099 ac_cv_lib_m_erff=yes
21100 else
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.$ac_ext >&5
21104 ac_cv_lib_m_erff=no
21106 rm -f conftest.err conftest.$ac_objext \
21107 conftest$ac_exeext conftest.$ac_ext
21108 LIBS=$ac_check_lib_save_LIBS
21110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
21111 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
21112 if test $ac_cv_lib_m_erff = yes; then
21114 cat >>confdefs.h <<\_ACEOF
21115 #define HAVE_ERFF 1
21116 _ACEOF
21120 echo "$as_me:$LINENO: checking for erf in -lm" >&5
21121 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
21122 if test "${ac_cv_lib_m_erf+set}" = set; then
21123 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 else
21125 ac_check_lib_save_LIBS=$LIBS
21126 LIBS="-lm $LIBS"
21127 if test x$gcc_no_link = xyes; then
21128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21130 { (exit 1); exit 1; }; }
21132 cat >conftest.$ac_ext <<_ACEOF
21133 /* confdefs.h. */
21134 _ACEOF
21135 cat confdefs.h >>conftest.$ac_ext
21136 cat >>conftest.$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21139 /* Override any gcc2 internal prototype to avoid an error. */
21140 #ifdef __cplusplus
21141 extern "C"
21142 #endif
21143 /* We use char because int might match the return type of a gcc2
21144 builtin and then its argument prototype would still apply. */
21145 char erf ();
21147 main ()
21149 erf ();
21151 return 0;
21153 _ACEOF
21154 rm -f conftest.$ac_objext conftest$ac_exeext
21155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21156 (eval $ac_link) 2>conftest.er1
21157 ac_status=$?
21158 grep -v '^ *+' conftest.er1 >conftest.err
21159 rm -f conftest.er1
21160 cat conftest.err >&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } &&
21163 { ac_try='test -z "$ac_c_werror_flag"
21164 || test ! -s conftest.err'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21167 ac_status=$?
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; } &&
21170 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21176 ac_cv_lib_m_erf=yes
21177 else
21178 echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.$ac_ext >&5
21181 ac_cv_lib_m_erf=no
21183 rm -f conftest.err conftest.$ac_objext \
21184 conftest$ac_exeext conftest.$ac_ext
21185 LIBS=$ac_check_lib_save_LIBS
21187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
21188 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
21189 if test $ac_cv_lib_m_erf = yes; then
21191 cat >>confdefs.h <<\_ACEOF
21192 #define HAVE_ERF 1
21193 _ACEOF
21197 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
21198 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
21199 if test "${ac_cv_lib_m_erfl+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21202 ac_check_lib_save_LIBS=$LIBS
21203 LIBS="-lm $LIBS"
21204 if test x$gcc_no_link = xyes; then
21205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21207 { (exit 1); exit 1; }; }
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21216 /* Override any gcc2 internal prototype to avoid an error. */
21217 #ifdef __cplusplus
21218 extern "C"
21219 #endif
21220 /* We use char because int might match the return type of a gcc2
21221 builtin and then its argument prototype would still apply. */
21222 char erfl ();
21224 main ()
21226 erfl ();
21228 return 0;
21230 _ACEOF
21231 rm -f conftest.$ac_objext conftest$ac_exeext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21233 (eval $ac_link) 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try='test -z "$ac_c_werror_flag"
21241 || test ! -s conftest.err'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; } &&
21247 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21253 ac_cv_lib_m_erfl=yes
21254 else
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 ac_cv_lib_m_erfl=no
21260 rm -f conftest.err conftest.$ac_objext \
21261 conftest$ac_exeext conftest.$ac_ext
21262 LIBS=$ac_check_lib_save_LIBS
21264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
21265 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
21266 if test $ac_cv_lib_m_erfl = yes; then
21268 cat >>confdefs.h <<\_ACEOF
21269 #define HAVE_ERFL 1
21270 _ACEOF
21274 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
21275 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
21276 if test "${ac_cv_lib_m_erfcf+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
21279 ac_check_lib_save_LIBS=$LIBS
21280 LIBS="-lm $LIBS"
21281 if test x$gcc_no_link = xyes; then
21282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21284 { (exit 1); exit 1; }; }
21286 cat >conftest.$ac_ext <<_ACEOF
21287 /* confdefs.h. */
21288 _ACEOF
21289 cat confdefs.h >>conftest.$ac_ext
21290 cat >>conftest.$ac_ext <<_ACEOF
21291 /* end confdefs.h. */
21293 /* Override any gcc2 internal prototype to avoid an error. */
21294 #ifdef __cplusplus
21295 extern "C"
21296 #endif
21297 /* We use char because int might match the return type of a gcc2
21298 builtin and then its argument prototype would still apply. */
21299 char erfcf ();
21301 main ()
21303 erfcf ();
21305 return 0;
21307 _ACEOF
21308 rm -f conftest.$ac_objext conftest$ac_exeext
21309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21310 (eval $ac_link) 2>conftest.er1
21311 ac_status=$?
21312 grep -v '^ *+' conftest.er1 >conftest.err
21313 rm -f conftest.er1
21314 cat conftest.err >&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); } &&
21317 { ac_try='test -z "$ac_c_werror_flag"
21318 || test ! -s conftest.err'
21319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21320 (eval $ac_try) 2>&5
21321 ac_status=$?
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); }; } &&
21324 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21330 ac_cv_lib_m_erfcf=yes
21331 else
21332 echo "$as_me: failed program was:" >&5
21333 sed 's/^/| /' conftest.$ac_ext >&5
21335 ac_cv_lib_m_erfcf=no
21337 rm -f conftest.err conftest.$ac_objext \
21338 conftest$ac_exeext conftest.$ac_ext
21339 LIBS=$ac_check_lib_save_LIBS
21341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
21342 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
21343 if test $ac_cv_lib_m_erfcf = yes; then
21345 cat >>confdefs.h <<\_ACEOF
21346 #define HAVE_ERFCF 1
21347 _ACEOF
21351 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
21352 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
21353 if test "${ac_cv_lib_m_erfc+set}" = set; then
21354 echo $ECHO_N "(cached) $ECHO_C" >&6
21355 else
21356 ac_check_lib_save_LIBS=$LIBS
21357 LIBS="-lm $LIBS"
21358 if test x$gcc_no_link = xyes; then
21359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21361 { (exit 1); exit 1; }; }
21363 cat >conftest.$ac_ext <<_ACEOF
21364 /* confdefs.h. */
21365 _ACEOF
21366 cat confdefs.h >>conftest.$ac_ext
21367 cat >>conftest.$ac_ext <<_ACEOF
21368 /* end confdefs.h. */
21370 /* Override any gcc2 internal prototype to avoid an error. */
21371 #ifdef __cplusplus
21372 extern "C"
21373 #endif
21374 /* We use char because int might match the return type of a gcc2
21375 builtin and then its argument prototype would still apply. */
21376 char erfc ();
21378 main ()
21380 erfc ();
21382 return 0;
21384 _ACEOF
21385 rm -f conftest.$ac_objext conftest$ac_exeext
21386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21387 (eval $ac_link) 2>conftest.er1
21388 ac_status=$?
21389 grep -v '^ *+' conftest.er1 >conftest.err
21390 rm -f conftest.er1
21391 cat conftest.err >&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try='test -z "$ac_c_werror_flag"
21395 || test ! -s conftest.err'
21396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21397 (eval $ac_try) 2>&5
21398 ac_status=$?
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); }; } &&
21401 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21407 ac_cv_lib_m_erfc=yes
21408 else
21409 echo "$as_me: failed program was:" >&5
21410 sed 's/^/| /' conftest.$ac_ext >&5
21412 ac_cv_lib_m_erfc=no
21414 rm -f conftest.err conftest.$ac_objext \
21415 conftest$ac_exeext conftest.$ac_ext
21416 LIBS=$ac_check_lib_save_LIBS
21418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
21419 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
21420 if test $ac_cv_lib_m_erfc = yes; then
21422 cat >>confdefs.h <<\_ACEOF
21423 #define HAVE_ERFC 1
21424 _ACEOF
21428 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
21429 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
21430 if test "${ac_cv_lib_m_erfcl+set}" = set; then
21431 echo $ECHO_N "(cached) $ECHO_C" >&6
21432 else
21433 ac_check_lib_save_LIBS=$LIBS
21434 LIBS="-lm $LIBS"
21435 if test x$gcc_no_link = xyes; then
21436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21438 { (exit 1); exit 1; }; }
21440 cat >conftest.$ac_ext <<_ACEOF
21441 /* confdefs.h. */
21442 _ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21447 /* Override any gcc2 internal prototype to avoid an error. */
21448 #ifdef __cplusplus
21449 extern "C"
21450 #endif
21451 /* We use char because int might match the return type of a gcc2
21452 builtin and then its argument prototype would still apply. */
21453 char erfcl ();
21455 main ()
21457 erfcl ();
21459 return 0;
21461 _ACEOF
21462 rm -f conftest.$ac_objext conftest$ac_exeext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21464 (eval $ac_link) 2>conftest.er1
21465 ac_status=$?
21466 grep -v '^ *+' conftest.er1 >conftest.err
21467 rm -f conftest.er1
21468 cat conftest.err >&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); } &&
21471 { ac_try='test -z "$ac_c_werror_flag"
21472 || test ! -s conftest.err'
21473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21474 (eval $ac_try) 2>&5
21475 ac_status=$?
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); }; } &&
21478 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21484 ac_cv_lib_m_erfcl=yes
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21489 ac_cv_lib_m_erfcl=no
21491 rm -f conftest.err conftest.$ac_objext \
21492 conftest$ac_exeext conftest.$ac_ext
21493 LIBS=$ac_check_lib_save_LIBS
21495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
21496 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
21497 if test $ac_cv_lib_m_erfcl = yes; then
21499 cat >>confdefs.h <<\_ACEOF
21500 #define HAVE_ERFCL 1
21501 _ACEOF
21505 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
21506 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
21507 if test "${ac_cv_lib_m_j0f+set}" = set; then
21508 echo $ECHO_N "(cached) $ECHO_C" >&6
21509 else
21510 ac_check_lib_save_LIBS=$LIBS
21511 LIBS="-lm $LIBS"
21512 if test x$gcc_no_link = xyes; then
21513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21515 { (exit 1); exit 1; }; }
21517 cat >conftest.$ac_ext <<_ACEOF
21518 /* confdefs.h. */
21519 _ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21524 /* Override any gcc2 internal prototype to avoid an error. */
21525 #ifdef __cplusplus
21526 extern "C"
21527 #endif
21528 /* We use char because int might match the return type of a gcc2
21529 builtin and then its argument prototype would still apply. */
21530 char j0f ();
21532 main ()
21534 j0f ();
21536 return 0;
21538 _ACEOF
21539 rm -f conftest.$ac_objext conftest$ac_exeext
21540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21541 (eval $ac_link) 2>conftest.er1
21542 ac_status=$?
21543 grep -v '^ *+' conftest.er1 >conftest.err
21544 rm -f conftest.er1
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); } &&
21548 { ac_try='test -z "$ac_c_werror_flag"
21549 || test ! -s conftest.err'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; } &&
21555 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21561 ac_cv_lib_m_j0f=yes
21562 else
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21566 ac_cv_lib_m_j0f=no
21568 rm -f conftest.err conftest.$ac_objext \
21569 conftest$ac_exeext conftest.$ac_ext
21570 LIBS=$ac_check_lib_save_LIBS
21572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
21573 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
21574 if test $ac_cv_lib_m_j0f = yes; then
21576 cat >>confdefs.h <<\_ACEOF
21577 #define HAVE_J0F 1
21578 _ACEOF
21582 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
21583 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
21584 if test "${ac_cv_lib_m_j0+set}" = set; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 else
21587 ac_check_lib_save_LIBS=$LIBS
21588 LIBS="-lm $LIBS"
21589 if test x$gcc_no_link = xyes; then
21590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21592 { (exit 1); exit 1; }; }
21594 cat >conftest.$ac_ext <<_ACEOF
21595 /* confdefs.h. */
21596 _ACEOF
21597 cat confdefs.h >>conftest.$ac_ext
21598 cat >>conftest.$ac_ext <<_ACEOF
21599 /* end confdefs.h. */
21601 /* Override any gcc2 internal prototype to avoid an error. */
21602 #ifdef __cplusplus
21603 extern "C"
21604 #endif
21605 /* We use char because int might match the return type of a gcc2
21606 builtin and then its argument prototype would still apply. */
21607 char j0 ();
21609 main ()
21611 j0 ();
21613 return 0;
21615 _ACEOF
21616 rm -f conftest.$ac_objext conftest$ac_exeext
21617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21618 (eval $ac_link) 2>conftest.er1
21619 ac_status=$?
21620 grep -v '^ *+' conftest.er1 >conftest.err
21621 rm -f conftest.er1
21622 cat conftest.err >&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); } &&
21625 { ac_try='test -z "$ac_c_werror_flag"
21626 || test ! -s conftest.err'
21627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21628 (eval $ac_try) 2>&5
21629 ac_status=$?
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); }; } &&
21632 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21638 ac_cv_lib_m_j0=yes
21639 else
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.$ac_ext >&5
21643 ac_cv_lib_m_j0=no
21645 rm -f conftest.err conftest.$ac_objext \
21646 conftest$ac_exeext conftest.$ac_ext
21647 LIBS=$ac_check_lib_save_LIBS
21649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21650 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21651 if test $ac_cv_lib_m_j0 = yes; then
21653 cat >>confdefs.h <<\_ACEOF
21654 #define HAVE_J0 1
21655 _ACEOF
21659 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21660 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21661 if test "${ac_cv_lib_m_j0l+set}" = set; then
21662 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 else
21664 ac_check_lib_save_LIBS=$LIBS
21665 LIBS="-lm $LIBS"
21666 if test x$gcc_no_link = xyes; then
21667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21669 { (exit 1); exit 1; }; }
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21678 /* Override any gcc2 internal prototype to avoid an error. */
21679 #ifdef __cplusplus
21680 extern "C"
21681 #endif
21682 /* We use char because int might match the return type of a gcc2
21683 builtin and then its argument prototype would still apply. */
21684 char j0l ();
21686 main ()
21688 j0l ();
21690 return 0;
21692 _ACEOF
21693 rm -f conftest.$ac_objext conftest$ac_exeext
21694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21695 (eval $ac_link) 2>conftest.er1
21696 ac_status=$?
21697 grep -v '^ *+' conftest.er1 >conftest.err
21698 rm -f conftest.er1
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } &&
21702 { ac_try='test -z "$ac_c_werror_flag"
21703 || test ! -s conftest.err'
21704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21705 (eval $ac_try) 2>&5
21706 ac_status=$?
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); }; } &&
21709 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21715 ac_cv_lib_m_j0l=yes
21716 else
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.$ac_ext >&5
21720 ac_cv_lib_m_j0l=no
21722 rm -f conftest.err conftest.$ac_objext \
21723 conftest$ac_exeext conftest.$ac_ext
21724 LIBS=$ac_check_lib_save_LIBS
21726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21727 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21728 if test $ac_cv_lib_m_j0l = yes; then
21730 cat >>confdefs.h <<\_ACEOF
21731 #define HAVE_J0L 1
21732 _ACEOF
21736 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21737 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21738 if test "${ac_cv_lib_m_j1f+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21740 else
21741 ac_check_lib_save_LIBS=$LIBS
21742 LIBS="-lm $LIBS"
21743 if test x$gcc_no_link = xyes; then
21744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21746 { (exit 1); exit 1; }; }
21748 cat >conftest.$ac_ext <<_ACEOF
21749 /* confdefs.h. */
21750 _ACEOF
21751 cat confdefs.h >>conftest.$ac_ext
21752 cat >>conftest.$ac_ext <<_ACEOF
21753 /* end confdefs.h. */
21755 /* Override any gcc2 internal prototype to avoid an error. */
21756 #ifdef __cplusplus
21757 extern "C"
21758 #endif
21759 /* We use char because int might match the return type of a gcc2
21760 builtin and then its argument prototype would still apply. */
21761 char j1f ();
21763 main ()
21765 j1f ();
21767 return 0;
21769 _ACEOF
21770 rm -f conftest.$ac_objext conftest$ac_exeext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21772 (eval $ac_link) 2>conftest.er1
21773 ac_status=$?
21774 grep -v '^ *+' conftest.er1 >conftest.err
21775 rm -f conftest.er1
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try='test -z "$ac_c_werror_flag"
21780 || test ! -s conftest.err'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; } &&
21786 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21792 ac_cv_lib_m_j1f=yes
21793 else
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21797 ac_cv_lib_m_j1f=no
21799 rm -f conftest.err conftest.$ac_objext \
21800 conftest$ac_exeext conftest.$ac_ext
21801 LIBS=$ac_check_lib_save_LIBS
21803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21804 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21805 if test $ac_cv_lib_m_j1f = yes; then
21807 cat >>confdefs.h <<\_ACEOF
21808 #define HAVE_J1F 1
21809 _ACEOF
21813 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21814 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21815 if test "${ac_cv_lib_m_j1+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 else
21818 ac_check_lib_save_LIBS=$LIBS
21819 LIBS="-lm $LIBS"
21820 if test x$gcc_no_link = xyes; then
21821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21823 { (exit 1); exit 1; }; }
21825 cat >conftest.$ac_ext <<_ACEOF
21826 /* confdefs.h. */
21827 _ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21832 /* Override any gcc2 internal prototype to avoid an error. */
21833 #ifdef __cplusplus
21834 extern "C"
21835 #endif
21836 /* We use char because int might match the return type of a gcc2
21837 builtin and then its argument prototype would still apply. */
21838 char j1 ();
21840 main ()
21842 j1 ();
21844 return 0;
21846 _ACEOF
21847 rm -f conftest.$ac_objext conftest$ac_exeext
21848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21849 (eval $ac_link) 2>conftest.er1
21850 ac_status=$?
21851 grep -v '^ *+' conftest.er1 >conftest.err
21852 rm -f conftest.er1
21853 cat conftest.err >&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } &&
21856 { ac_try='test -z "$ac_c_werror_flag"
21857 || test ! -s conftest.err'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; } &&
21863 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21869 ac_cv_lib_m_j1=yes
21870 else
21871 echo "$as_me: failed program was:" >&5
21872 sed 's/^/| /' conftest.$ac_ext >&5
21874 ac_cv_lib_m_j1=no
21876 rm -f conftest.err conftest.$ac_objext \
21877 conftest$ac_exeext conftest.$ac_ext
21878 LIBS=$ac_check_lib_save_LIBS
21880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21881 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21882 if test $ac_cv_lib_m_j1 = yes; then
21884 cat >>confdefs.h <<\_ACEOF
21885 #define HAVE_J1 1
21886 _ACEOF
21890 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21891 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21892 if test "${ac_cv_lib_m_j1l+set}" = set; then
21893 echo $ECHO_N "(cached) $ECHO_C" >&6
21894 else
21895 ac_check_lib_save_LIBS=$LIBS
21896 LIBS="-lm $LIBS"
21897 if test x$gcc_no_link = xyes; then
21898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21900 { (exit 1); exit 1; }; }
21902 cat >conftest.$ac_ext <<_ACEOF
21903 /* confdefs.h. */
21904 _ACEOF
21905 cat confdefs.h >>conftest.$ac_ext
21906 cat >>conftest.$ac_ext <<_ACEOF
21907 /* end confdefs.h. */
21909 /* Override any gcc2 internal prototype to avoid an error. */
21910 #ifdef __cplusplus
21911 extern "C"
21912 #endif
21913 /* We use char because int might match the return type of a gcc2
21914 builtin and then its argument prototype would still apply. */
21915 char j1l ();
21917 main ()
21919 j1l ();
21921 return 0;
21923 _ACEOF
21924 rm -f conftest.$ac_objext conftest$ac_exeext
21925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21926 (eval $ac_link) 2>conftest.er1
21927 ac_status=$?
21928 grep -v '^ *+' conftest.er1 >conftest.err
21929 rm -f conftest.er1
21930 cat conftest.err >&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } &&
21933 { ac_try='test -z "$ac_c_werror_flag"
21934 || test ! -s conftest.err'
21935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936 (eval $ac_try) 2>&5
21937 ac_status=$?
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; } &&
21940 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21946 ac_cv_lib_m_j1l=yes
21947 else
21948 echo "$as_me: failed program was:" >&5
21949 sed 's/^/| /' conftest.$ac_ext >&5
21951 ac_cv_lib_m_j1l=no
21953 rm -f conftest.err conftest.$ac_objext \
21954 conftest$ac_exeext conftest.$ac_ext
21955 LIBS=$ac_check_lib_save_LIBS
21957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21958 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21959 if test $ac_cv_lib_m_j1l = yes; then
21961 cat >>confdefs.h <<\_ACEOF
21962 #define HAVE_J1L 1
21963 _ACEOF
21967 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21968 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21969 if test "${ac_cv_lib_m_jnf+set}" = set; then
21970 echo $ECHO_N "(cached) $ECHO_C" >&6
21971 else
21972 ac_check_lib_save_LIBS=$LIBS
21973 LIBS="-lm $LIBS"
21974 if test x$gcc_no_link = xyes; then
21975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21977 { (exit 1); exit 1; }; }
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21986 /* Override any gcc2 internal prototype to avoid an error. */
21987 #ifdef __cplusplus
21988 extern "C"
21989 #endif
21990 /* We use char because int might match the return type of a gcc2
21991 builtin and then its argument prototype would still apply. */
21992 char jnf ();
21994 main ()
21996 jnf ();
21998 return 0;
22000 _ACEOF
22001 rm -f conftest.$ac_objext conftest$ac_exeext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22003 (eval $ac_link) 2>conftest.er1
22004 ac_status=$?
22005 grep -v '^ *+' conftest.er1 >conftest.err
22006 rm -f conftest.er1
22007 cat conftest.err >&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try='test -z "$ac_c_werror_flag"
22011 || test ! -s conftest.err'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; } &&
22017 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
22023 ac_cv_lib_m_jnf=yes
22024 else
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.$ac_ext >&5
22028 ac_cv_lib_m_jnf=no
22030 rm -f conftest.err conftest.$ac_objext \
22031 conftest$ac_exeext conftest.$ac_ext
22032 LIBS=$ac_check_lib_save_LIBS
22034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
22035 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
22036 if test $ac_cv_lib_m_jnf = yes; then
22038 cat >>confdefs.h <<\_ACEOF
22039 #define HAVE_JNF 1
22040 _ACEOF
22044 echo "$as_me:$LINENO: checking for jn in -lm" >&5
22045 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
22046 if test "${ac_cv_lib_m_jn+set}" = set; then
22047 echo $ECHO_N "(cached) $ECHO_C" >&6
22048 else
22049 ac_check_lib_save_LIBS=$LIBS
22050 LIBS="-lm $LIBS"
22051 if test x$gcc_no_link = xyes; then
22052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22054 { (exit 1); exit 1; }; }
22056 cat >conftest.$ac_ext <<_ACEOF
22057 /* confdefs.h. */
22058 _ACEOF
22059 cat confdefs.h >>conftest.$ac_ext
22060 cat >>conftest.$ac_ext <<_ACEOF
22061 /* end confdefs.h. */
22063 /* Override any gcc2 internal prototype to avoid an error. */
22064 #ifdef __cplusplus
22065 extern "C"
22066 #endif
22067 /* We use char because int might match the return type of a gcc2
22068 builtin and then its argument prototype would still apply. */
22069 char jn ();
22071 main ()
22073 jn ();
22075 return 0;
22077 _ACEOF
22078 rm -f conftest.$ac_objext conftest$ac_exeext
22079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22080 (eval $ac_link) 2>conftest.er1
22081 ac_status=$?
22082 grep -v '^ *+' conftest.er1 >conftest.err
22083 rm -f conftest.er1
22084 cat conftest.err >&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } &&
22087 { ac_try='test -z "$ac_c_werror_flag"
22088 || test ! -s conftest.err'
22089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22090 (eval $ac_try) 2>&5
22091 ac_status=$?
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); }; } &&
22094 { ac_try='test -s conftest$ac_exeext'
22095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22096 (eval $ac_try) 2>&5
22097 ac_status=$?
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); }; }; then
22100 ac_cv_lib_m_jn=yes
22101 else
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22105 ac_cv_lib_m_jn=no
22107 rm -f conftest.err conftest.$ac_objext \
22108 conftest$ac_exeext conftest.$ac_ext
22109 LIBS=$ac_check_lib_save_LIBS
22111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
22112 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
22113 if test $ac_cv_lib_m_jn = yes; then
22115 cat >>confdefs.h <<\_ACEOF
22116 #define HAVE_JN 1
22117 _ACEOF
22121 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
22122 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
22123 if test "${ac_cv_lib_m_jnl+set}" = set; then
22124 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 else
22126 ac_check_lib_save_LIBS=$LIBS
22127 LIBS="-lm $LIBS"
22128 if test x$gcc_no_link = xyes; then
22129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22131 { (exit 1); exit 1; }; }
22133 cat >conftest.$ac_ext <<_ACEOF
22134 /* confdefs.h. */
22135 _ACEOF
22136 cat confdefs.h >>conftest.$ac_ext
22137 cat >>conftest.$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22140 /* Override any gcc2 internal prototype to avoid an error. */
22141 #ifdef __cplusplus
22142 extern "C"
22143 #endif
22144 /* We use char because int might match the return type of a gcc2
22145 builtin and then its argument prototype would still apply. */
22146 char jnl ();
22148 main ()
22150 jnl ();
22152 return 0;
22154 _ACEOF
22155 rm -f conftest.$ac_objext conftest$ac_exeext
22156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22157 (eval $ac_link) 2>conftest.er1
22158 ac_status=$?
22159 grep -v '^ *+' conftest.er1 >conftest.err
22160 rm -f conftest.er1
22161 cat conftest.err >&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } &&
22164 { ac_try='test -z "$ac_c_werror_flag"
22165 || test ! -s conftest.err'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; } &&
22171 { ac_try='test -s conftest$ac_exeext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 ac_cv_lib_m_jnl=yes
22178 else
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22182 ac_cv_lib_m_jnl=no
22184 rm -f conftest.err conftest.$ac_objext \
22185 conftest$ac_exeext conftest.$ac_ext
22186 LIBS=$ac_check_lib_save_LIBS
22188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
22189 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
22190 if test $ac_cv_lib_m_jnl = yes; then
22192 cat >>confdefs.h <<\_ACEOF
22193 #define HAVE_JNL 1
22194 _ACEOF
22198 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
22199 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
22200 if test "${ac_cv_lib_m_y0f+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 else
22203 ac_check_lib_save_LIBS=$LIBS
22204 LIBS="-lm $LIBS"
22205 if test x$gcc_no_link = xyes; then
22206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22208 { (exit 1); exit 1; }; }
22210 cat >conftest.$ac_ext <<_ACEOF
22211 /* confdefs.h. */
22212 _ACEOF
22213 cat confdefs.h >>conftest.$ac_ext
22214 cat >>conftest.$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22217 /* Override any gcc2 internal prototype to avoid an error. */
22218 #ifdef __cplusplus
22219 extern "C"
22220 #endif
22221 /* We use char because int might match the return type of a gcc2
22222 builtin and then its argument prototype would still apply. */
22223 char y0f ();
22225 main ()
22227 y0f ();
22229 return 0;
22231 _ACEOF
22232 rm -f conftest.$ac_objext conftest$ac_exeext
22233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22234 (eval $ac_link) 2>conftest.er1
22235 ac_status=$?
22236 grep -v '^ *+' conftest.er1 >conftest.err
22237 rm -f conftest.er1
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } &&
22241 { ac_try='test -z "$ac_c_werror_flag"
22242 || test ! -s conftest.err'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22245 ac_status=$?
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; } &&
22248 { ac_try='test -s conftest$ac_exeext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22251 ac_status=$?
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_cv_lib_m_y0f=yes
22255 else
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22259 ac_cv_lib_m_y0f=no
22261 rm -f conftest.err conftest.$ac_objext \
22262 conftest$ac_exeext conftest.$ac_ext
22263 LIBS=$ac_check_lib_save_LIBS
22265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
22266 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
22267 if test $ac_cv_lib_m_y0f = yes; then
22269 cat >>confdefs.h <<\_ACEOF
22270 #define HAVE_Y0F 1
22271 _ACEOF
22275 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
22276 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
22277 if test "${ac_cv_lib_m_y0+set}" = set; then
22278 echo $ECHO_N "(cached) $ECHO_C" >&6
22279 else
22280 ac_check_lib_save_LIBS=$LIBS
22281 LIBS="-lm $LIBS"
22282 if test x$gcc_no_link = xyes; then
22283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22285 { (exit 1); exit 1; }; }
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h. */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22294 /* Override any gcc2 internal prototype to avoid an error. */
22295 #ifdef __cplusplus
22296 extern "C"
22297 #endif
22298 /* We use char because int might match the return type of a gcc2
22299 builtin and then its argument prototype would still apply. */
22300 char y0 ();
22302 main ()
22304 y0 ();
22306 return 0;
22308 _ACEOF
22309 rm -f conftest.$ac_objext conftest$ac_exeext
22310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22311 (eval $ac_link) 2>conftest.er1
22312 ac_status=$?
22313 grep -v '^ *+' conftest.er1 >conftest.err
22314 rm -f conftest.er1
22315 cat conftest.err >&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } &&
22318 { ac_try='test -z "$ac_c_werror_flag"
22319 || test ! -s conftest.err'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; } &&
22325 { ac_try='test -s conftest$ac_exeext'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22328 ac_status=$?
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_lib_m_y0=yes
22332 else
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22336 ac_cv_lib_m_y0=no
22338 rm -f conftest.err conftest.$ac_objext \
22339 conftest$ac_exeext conftest.$ac_ext
22340 LIBS=$ac_check_lib_save_LIBS
22342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
22343 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
22344 if test $ac_cv_lib_m_y0 = yes; then
22346 cat >>confdefs.h <<\_ACEOF
22347 #define HAVE_Y0 1
22348 _ACEOF
22352 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
22353 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
22354 if test "${ac_cv_lib_m_y0l+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 else
22357 ac_check_lib_save_LIBS=$LIBS
22358 LIBS="-lm $LIBS"
22359 if test x$gcc_no_link = xyes; then
22360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22362 { (exit 1); exit 1; }; }
22364 cat >conftest.$ac_ext <<_ACEOF
22365 /* confdefs.h. */
22366 _ACEOF
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22371 /* Override any gcc2 internal prototype to avoid an error. */
22372 #ifdef __cplusplus
22373 extern "C"
22374 #endif
22375 /* We use char because int might match the return type of a gcc2
22376 builtin and then its argument prototype would still apply. */
22377 char y0l ();
22379 main ()
22381 y0l ();
22383 return 0;
22385 _ACEOF
22386 rm -f conftest.$ac_objext conftest$ac_exeext
22387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22388 (eval $ac_link) 2>conftest.er1
22389 ac_status=$?
22390 grep -v '^ *+' conftest.er1 >conftest.err
22391 rm -f conftest.er1
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } &&
22395 { ac_try='test -z "$ac_c_werror_flag"
22396 || test ! -s conftest.err'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22399 ac_status=$?
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; } &&
22402 { ac_try='test -s conftest$ac_exeext'
22403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22404 (eval $ac_try) 2>&5
22405 ac_status=$?
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); }; }; then
22408 ac_cv_lib_m_y0l=yes
22409 else
22410 echo "$as_me: failed program was:" >&5
22411 sed 's/^/| /' conftest.$ac_ext >&5
22413 ac_cv_lib_m_y0l=no
22415 rm -f conftest.err conftest.$ac_objext \
22416 conftest$ac_exeext conftest.$ac_ext
22417 LIBS=$ac_check_lib_save_LIBS
22419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
22420 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
22421 if test $ac_cv_lib_m_y0l = yes; then
22423 cat >>confdefs.h <<\_ACEOF
22424 #define HAVE_Y0L 1
22425 _ACEOF
22429 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
22430 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
22431 if test "${ac_cv_lib_m_y1f+set}" = set; then
22432 echo $ECHO_N "(cached) $ECHO_C" >&6
22433 else
22434 ac_check_lib_save_LIBS=$LIBS
22435 LIBS="-lm $LIBS"
22436 if test x$gcc_no_link = xyes; then
22437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22439 { (exit 1); exit 1; }; }
22441 cat >conftest.$ac_ext <<_ACEOF
22442 /* confdefs.h. */
22443 _ACEOF
22444 cat confdefs.h >>conftest.$ac_ext
22445 cat >>conftest.$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22448 /* Override any gcc2 internal prototype to avoid an error. */
22449 #ifdef __cplusplus
22450 extern "C"
22451 #endif
22452 /* We use char because int might match the return type of a gcc2
22453 builtin and then its argument prototype would still apply. */
22454 char y1f ();
22456 main ()
22458 y1f ();
22460 return 0;
22462 _ACEOF
22463 rm -f conftest.$ac_objext conftest$ac_exeext
22464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22465 (eval $ac_link) 2>conftest.er1
22466 ac_status=$?
22467 grep -v '^ *+' conftest.er1 >conftest.err
22468 rm -f conftest.er1
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try='test -z "$ac_c_werror_flag"
22473 || test ! -s conftest.err'
22474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22475 (eval $ac_try) 2>&5
22476 ac_status=$?
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; } &&
22479 { ac_try='test -s conftest$ac_exeext'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22482 ac_status=$?
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; }; then
22485 ac_cv_lib_m_y1f=yes
22486 else
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.$ac_ext >&5
22490 ac_cv_lib_m_y1f=no
22492 rm -f conftest.err conftest.$ac_objext \
22493 conftest$ac_exeext conftest.$ac_ext
22494 LIBS=$ac_check_lib_save_LIBS
22496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
22497 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
22498 if test $ac_cv_lib_m_y1f = yes; then
22500 cat >>confdefs.h <<\_ACEOF
22501 #define HAVE_Y1F 1
22502 _ACEOF
22506 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
22507 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
22508 if test "${ac_cv_lib_m_y1+set}" = set; then
22509 echo $ECHO_N "(cached) $ECHO_C" >&6
22510 else
22511 ac_check_lib_save_LIBS=$LIBS
22512 LIBS="-lm $LIBS"
22513 if test x$gcc_no_link = xyes; then
22514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22516 { (exit 1); exit 1; }; }
22518 cat >conftest.$ac_ext <<_ACEOF
22519 /* confdefs.h. */
22520 _ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22525 /* Override any gcc2 internal prototype to avoid an error. */
22526 #ifdef __cplusplus
22527 extern "C"
22528 #endif
22529 /* We use char because int might match the return type of a gcc2
22530 builtin and then its argument prototype would still apply. */
22531 char y1 ();
22533 main ()
22535 y1 ();
22537 return 0;
22539 _ACEOF
22540 rm -f conftest.$ac_objext conftest$ac_exeext
22541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22542 (eval $ac_link) 2>conftest.er1
22543 ac_status=$?
22544 grep -v '^ *+' conftest.er1 >conftest.err
22545 rm -f conftest.er1
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } &&
22549 { ac_try='test -z "$ac_c_werror_flag"
22550 || test ! -s conftest.err'
22551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22552 (eval $ac_try) 2>&5
22553 ac_status=$?
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); }; } &&
22556 { ac_try='test -s conftest$ac_exeext'
22557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22558 (eval $ac_try) 2>&5
22559 ac_status=$?
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); }; }; then
22562 ac_cv_lib_m_y1=yes
22563 else
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.$ac_ext >&5
22567 ac_cv_lib_m_y1=no
22569 rm -f conftest.err conftest.$ac_objext \
22570 conftest$ac_exeext conftest.$ac_ext
22571 LIBS=$ac_check_lib_save_LIBS
22573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
22574 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
22575 if test $ac_cv_lib_m_y1 = yes; then
22577 cat >>confdefs.h <<\_ACEOF
22578 #define HAVE_Y1 1
22579 _ACEOF
22583 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
22584 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
22585 if test "${ac_cv_lib_m_y1l+set}" = set; then
22586 echo $ECHO_N "(cached) $ECHO_C" >&6
22587 else
22588 ac_check_lib_save_LIBS=$LIBS
22589 LIBS="-lm $LIBS"
22590 if test x$gcc_no_link = xyes; then
22591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22593 { (exit 1); exit 1; }; }
22595 cat >conftest.$ac_ext <<_ACEOF
22596 /* confdefs.h. */
22597 _ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22602 /* Override any gcc2 internal prototype to avoid an error. */
22603 #ifdef __cplusplus
22604 extern "C"
22605 #endif
22606 /* We use char because int might match the return type of a gcc2
22607 builtin and then its argument prototype would still apply. */
22608 char y1l ();
22610 main ()
22612 y1l ();
22614 return 0;
22616 _ACEOF
22617 rm -f conftest.$ac_objext conftest$ac_exeext
22618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22619 (eval $ac_link) 2>conftest.er1
22620 ac_status=$?
22621 grep -v '^ *+' conftest.er1 >conftest.err
22622 rm -f conftest.er1
22623 cat conftest.err >&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } &&
22626 { ac_try='test -z "$ac_c_werror_flag"
22627 || test ! -s conftest.err'
22628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629 (eval $ac_try) 2>&5
22630 ac_status=$?
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); }; } &&
22633 { ac_try='test -s conftest$ac_exeext'
22634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635 (eval $ac_try) 2>&5
22636 ac_status=$?
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; }; then
22639 ac_cv_lib_m_y1l=yes
22640 else
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.$ac_ext >&5
22644 ac_cv_lib_m_y1l=no
22646 rm -f conftest.err conftest.$ac_objext \
22647 conftest$ac_exeext conftest.$ac_ext
22648 LIBS=$ac_check_lib_save_LIBS
22650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22651 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22652 if test $ac_cv_lib_m_y1l = yes; then
22654 cat >>confdefs.h <<\_ACEOF
22655 #define HAVE_Y1L 1
22656 _ACEOF
22660 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22661 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22662 if test "${ac_cv_lib_m_ynf+set}" = set; then
22663 echo $ECHO_N "(cached) $ECHO_C" >&6
22664 else
22665 ac_check_lib_save_LIBS=$LIBS
22666 LIBS="-lm $LIBS"
22667 if test x$gcc_no_link = xyes; then
22668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22670 { (exit 1); exit 1; }; }
22672 cat >conftest.$ac_ext <<_ACEOF
22673 /* confdefs.h. */
22674 _ACEOF
22675 cat confdefs.h >>conftest.$ac_ext
22676 cat >>conftest.$ac_ext <<_ACEOF
22677 /* end confdefs.h. */
22679 /* Override any gcc2 internal prototype to avoid an error. */
22680 #ifdef __cplusplus
22681 extern "C"
22682 #endif
22683 /* We use char because int might match the return type of a gcc2
22684 builtin and then its argument prototype would still apply. */
22685 char ynf ();
22687 main ()
22689 ynf ();
22691 return 0;
22693 _ACEOF
22694 rm -f conftest.$ac_objext conftest$ac_exeext
22695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22696 (eval $ac_link) 2>conftest.er1
22697 ac_status=$?
22698 grep -v '^ *+' conftest.er1 >conftest.err
22699 rm -f conftest.er1
22700 cat conftest.err >&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } &&
22703 { ac_try='test -z "$ac_c_werror_flag"
22704 || test ! -s conftest.err'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22707 ac_status=$?
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; } &&
22710 { ac_try='test -s conftest$ac_exeext'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_lib_m_ynf=yes
22717 else
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.$ac_ext >&5
22721 ac_cv_lib_m_ynf=no
22723 rm -f conftest.err conftest.$ac_objext \
22724 conftest$ac_exeext conftest.$ac_ext
22725 LIBS=$ac_check_lib_save_LIBS
22727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22728 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22729 if test $ac_cv_lib_m_ynf = yes; then
22731 cat >>confdefs.h <<\_ACEOF
22732 #define HAVE_YNF 1
22733 _ACEOF
22737 echo "$as_me:$LINENO: checking for yn in -lm" >&5
22738 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22739 if test "${ac_cv_lib_m_yn+set}" = set; then
22740 echo $ECHO_N "(cached) $ECHO_C" >&6
22741 else
22742 ac_check_lib_save_LIBS=$LIBS
22743 LIBS="-lm $LIBS"
22744 if test x$gcc_no_link = xyes; then
22745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22747 { (exit 1); exit 1; }; }
22749 cat >conftest.$ac_ext <<_ACEOF
22750 /* confdefs.h. */
22751 _ACEOF
22752 cat confdefs.h >>conftest.$ac_ext
22753 cat >>conftest.$ac_ext <<_ACEOF
22754 /* end confdefs.h. */
22756 /* Override any gcc2 internal prototype to avoid an error. */
22757 #ifdef __cplusplus
22758 extern "C"
22759 #endif
22760 /* We use char because int might match the return type of a gcc2
22761 builtin and then its argument prototype would still apply. */
22762 char yn ();
22764 main ()
22766 yn ();
22768 return 0;
22770 _ACEOF
22771 rm -f conftest.$ac_objext conftest$ac_exeext
22772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22773 (eval $ac_link) 2>conftest.er1
22774 ac_status=$?
22775 grep -v '^ *+' conftest.er1 >conftest.err
22776 rm -f conftest.er1
22777 cat conftest.err >&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try='test -z "$ac_c_werror_flag"
22781 || test ! -s conftest.err'
22782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22783 (eval $ac_try) 2>&5
22784 ac_status=$?
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); }; } &&
22787 { ac_try='test -s conftest$ac_exeext'
22788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22789 (eval $ac_try) 2>&5
22790 ac_status=$?
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; }; then
22793 ac_cv_lib_m_yn=yes
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22798 ac_cv_lib_m_yn=no
22800 rm -f conftest.err conftest.$ac_objext \
22801 conftest$ac_exeext conftest.$ac_ext
22802 LIBS=$ac_check_lib_save_LIBS
22804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22805 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22806 if test $ac_cv_lib_m_yn = yes; then
22808 cat >>confdefs.h <<\_ACEOF
22809 #define HAVE_YN 1
22810 _ACEOF
22814 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22815 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22816 if test "${ac_cv_lib_m_ynl+set}" = set; then
22817 echo $ECHO_N "(cached) $ECHO_C" >&6
22818 else
22819 ac_check_lib_save_LIBS=$LIBS
22820 LIBS="-lm $LIBS"
22821 if test x$gcc_no_link = xyes; then
22822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22824 { (exit 1); exit 1; }; }
22826 cat >conftest.$ac_ext <<_ACEOF
22827 /* confdefs.h. */
22828 _ACEOF
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22833 /* Override any gcc2 internal prototype to avoid an error. */
22834 #ifdef __cplusplus
22835 extern "C"
22836 #endif
22837 /* We use char because int might match the return type of a gcc2
22838 builtin and then its argument prototype would still apply. */
22839 char ynl ();
22841 main ()
22843 ynl ();
22845 return 0;
22847 _ACEOF
22848 rm -f conftest.$ac_objext conftest$ac_exeext
22849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22850 (eval $ac_link) 2>conftest.er1
22851 ac_status=$?
22852 grep -v '^ *+' conftest.er1 >conftest.err
22853 rm -f conftest.er1
22854 cat conftest.err >&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } &&
22857 { ac_try='test -z "$ac_c_werror_flag"
22858 || test ! -s conftest.err'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22861 ac_status=$?
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; } &&
22864 { ac_try='test -s conftest$ac_exeext'
22865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22866 (eval $ac_try) 2>&5
22867 ac_status=$?
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; }; then
22870 ac_cv_lib_m_ynl=yes
22871 else
22872 echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.$ac_ext >&5
22875 ac_cv_lib_m_ynl=no
22877 rm -f conftest.err conftest.$ac_objext \
22878 conftest$ac_exeext conftest.$ac_ext
22879 LIBS=$ac_check_lib_save_LIBS
22881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22882 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22883 if test $ac_cv_lib_m_ynl = yes; then
22885 cat >>confdefs.h <<\_ACEOF
22886 #define HAVE_YNL 1
22887 _ACEOF
22892 # On AIX, clog is present in libm as __clog
22893 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22894 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22895 if test "${ac_cv_lib_m___clog+set}" = set; then
22896 echo $ECHO_N "(cached) $ECHO_C" >&6
22897 else
22898 ac_check_lib_save_LIBS=$LIBS
22899 LIBS="-lm $LIBS"
22900 if test x$gcc_no_link = xyes; then
22901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22903 { (exit 1); exit 1; }; }
22905 cat >conftest.$ac_ext <<_ACEOF
22906 /* confdefs.h. */
22907 _ACEOF
22908 cat confdefs.h >>conftest.$ac_ext
22909 cat >>conftest.$ac_ext <<_ACEOF
22910 /* end confdefs.h. */
22912 /* Override any gcc2 internal prototype to avoid an error. */
22913 #ifdef __cplusplus
22914 extern "C"
22915 #endif
22916 /* We use char because int might match the return type of a gcc2
22917 builtin and then its argument prototype would still apply. */
22918 char __clog ();
22920 main ()
22922 __clog ();
22924 return 0;
22926 _ACEOF
22927 rm -f conftest.$ac_objext conftest$ac_exeext
22928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22929 (eval $ac_link) 2>conftest.er1
22930 ac_status=$?
22931 grep -v '^ *+' conftest.er1 >conftest.err
22932 rm -f conftest.er1
22933 cat conftest.err >&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -z "$ac_c_werror_flag"
22937 || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try='test -s conftest$ac_exeext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_cv_lib_m___clog=yes
22950 else
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22954 ac_cv_lib_m___clog=no
22956 rm -f conftest.err conftest.$ac_objext \
22957 conftest$ac_exeext conftest.$ac_ext
22958 LIBS=$ac_check_lib_save_LIBS
22960 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22961 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22962 if test $ac_cv_lib_m___clog = yes; then
22964 cat >>confdefs.h <<\_ACEOF
22965 #define HAVE_CLOG 1
22966 _ACEOF
22971 # Check for a isfinite macro that works on long doubles.
22973 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22974 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22975 if test "${have_broken_isfinite+set}" = set; then
22976 echo $ECHO_N "(cached) $ECHO_C" >&6
22977 else
22979 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22980 LIBS="$LIBS -lm"
22981 if test "$cross_compiling" = yes; then
22983 case "${target}" in
22984 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22985 *) have_broken_isfinite=no ;;
22986 esac
22987 else
22988 cat >conftest.$ac_ext <<_ACEOF
22989 /* confdefs.h. */
22990 _ACEOF
22991 cat confdefs.h >>conftest.$ac_ext
22992 cat >>conftest.$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22995 #ifdef HAVE_MATH_H
22996 #include <math.h>
22997 #endif
22998 #include <float.h>
22999 int main ()
23001 #ifdef isfinite
23002 #ifdef LDBL_MAX
23003 if (!isfinite(LDBL_MAX)) return 1;
23004 #endif
23005 #ifdef DBL_MAX
23006 if (!isfinite(DBL_MAX)) return 1;
23007 #endif
23008 #endif
23009 return 0;
23011 _ACEOF
23012 rm -f conftest$ac_exeext
23013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23014 (eval $ac_link) 2>&5
23015 ac_status=$?
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23020 ac_status=$?
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; }; then
23023 have_broken_isfinite=no
23024 else
23025 echo "$as_me: program exited with status $ac_status" >&5
23026 echo "$as_me: failed program was:" >&5
23027 sed 's/^/| /' conftest.$ac_ext >&5
23029 ( exit $ac_status )
23030 have_broken_isfinite=yes
23032 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23034 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
23036 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
23037 echo "${ECHO_T}$have_broken_isfinite" >&6
23038 if test x"$have_broken_isfinite" = xyes; then
23040 cat >>confdefs.h <<\_ACEOF
23041 #define HAVE_BROKEN_ISFINITE 1
23042 _ACEOF
23046 # Check for a isnan macro that works on long doubles.
23048 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
23049 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
23050 if test "${have_broken_isnan+set}" = set; then
23051 echo $ECHO_N "(cached) $ECHO_C" >&6
23052 else
23054 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
23055 LIBS="$LIBS -lm"
23056 if test "$cross_compiling" = yes; then
23058 case "${target}" in
23059 hppa*-*-hpux*) have_broken_isnan=yes ;;
23060 *) have_broken_isnan=no ;;
23061 esac
23062 else
23063 cat >conftest.$ac_ext <<_ACEOF
23064 /* confdefs.h. */
23065 _ACEOF
23066 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23070 #ifdef HAVE_MATH_H
23071 #include <math.h>
23072 #endif
23073 #include <float.h>
23074 int main ()
23076 #ifdef isnan
23077 #ifdef LDBL_MAX
23079 long double x;
23080 x = __builtin_nanl ("");
23081 if (!isnan(x)) return 1;
23082 if (isnan(LDBL_MAX)) return 1;
23083 #ifdef NAN
23084 x = (long double) NAN;
23085 if (!isnan(x)) return 1;
23086 #endif
23088 #endif
23089 #ifdef DBL_MAX
23091 double y;
23092 y = __builtin_nan ("");
23093 if (!isnan(y)) return 1;
23094 if (isnan(DBL_MAX)) return 1;
23095 #ifdef NAN
23096 y = (double) NAN;
23097 if (!isnan(y)) return 1;
23098 #endif
23100 #endif
23101 #endif
23102 return 0;
23104 _ACEOF
23105 rm -f conftest$ac_exeext
23106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23107 (eval $ac_link) 2>&5
23108 ac_status=$?
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; }; then
23116 have_broken_isnan=no
23117 else
23118 echo "$as_me: program exited with status $ac_status" >&5
23119 echo "$as_me: failed program was:" >&5
23120 sed 's/^/| /' conftest.$ac_ext >&5
23122 ( exit $ac_status )
23123 have_broken_isnan=yes
23125 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23127 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
23129 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
23130 echo "${ECHO_T}$have_broken_isnan" >&6
23131 if test x"$have_broken_isnan" = xyes; then
23133 cat >>confdefs.h <<\_ACEOF
23134 #define HAVE_BROKEN_ISNAN 1
23135 _ACEOF
23139 # Check for a fpclassify macro that works on long doubles.
23141 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
23142 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
23143 if test "${have_broken_fpclassify+set}" = set; then
23144 echo $ECHO_N "(cached) $ECHO_C" >&6
23145 else
23147 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
23148 LIBS="$LIBS -lm"
23149 if test "$cross_compiling" = yes; then
23151 case "${target}" in
23152 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
23153 *) have_broken_fpclassify=no ;;
23154 esac
23155 else
23156 cat >conftest.$ac_ext <<_ACEOF
23157 /* confdefs.h. */
23158 _ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23163 #ifdef HAVE_MATH_H
23164 #include <math.h>
23165 #endif
23166 #include <float.h>
23167 int main ()
23169 #ifdef fpclassify
23170 #ifdef LDBL_MAX
23171 if (fpclassify(LDBL_MAX) == FP_NAN
23172 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
23173 #endif
23174 #ifdef DBL_MAX
23175 if (fpclassify(DBL_MAX) == FP_NAN
23176 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
23177 #endif
23178 #endif
23179 return 0;
23181 _ACEOF
23182 rm -f conftest$ac_exeext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23184 (eval $ac_link) 2>&5
23185 ac_status=$?
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23190 ac_status=$?
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; }; then
23193 have_broken_fpclassify=no
23194 else
23195 echo "$as_me: program exited with status $ac_status" >&5
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23199 ( exit $ac_status )
23200 have_broken_fpclassify=yes
23202 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23204 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
23206 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
23207 echo "${ECHO_T}$have_broken_fpclassify" >&6
23208 if test x"$have_broken_fpclassify" = xyes; then
23210 cat >>confdefs.h <<\_ACEOF
23211 #define HAVE_BROKEN_FPCLASSIFY 1
23212 _ACEOF
23216 # Check whether the system has a working stat()
23218 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
23219 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
23220 if test "${have_working_stat+set}" = set; then
23221 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 else
23224 if test "$cross_compiling" = yes; then
23226 case "${target}" in
23227 *mingw*) have_working_stat=no ;;
23228 *) have_working_stat=yes;;
23229 esac
23230 else
23231 cat >conftest.$ac_ext <<_ACEOF
23232 /* confdefs.h. */
23233 _ACEOF
23234 cat confdefs.h >>conftest.$ac_ext
23235 cat >>conftest.$ac_ext <<_ACEOF
23236 /* end confdefs.h. */
23238 #include <stdio.h>
23239 #include <sys/types.h>
23240 #include <sys/stat.h>
23241 #include <unistd.h>
23243 int main ()
23245 FILE *f, *g;
23246 struct stat st1, st2;
23248 f = fopen ("foo", "w");
23249 g = fopen ("bar", "w");
23250 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
23251 return 1;
23252 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
23253 return 1;
23254 fclose(f);
23255 fclose(g);
23256 return 0;
23258 _ACEOF
23259 rm -f conftest$ac_exeext
23260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23261 (eval $ac_link) 2>&5
23262 ac_status=$?
23263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23266 (eval $ac_try) 2>&5
23267 ac_status=$?
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); }; }; then
23270 have_working_stat=yes
23271 else
23272 echo "$as_me: program exited with status $ac_status" >&5
23273 echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23276 ( exit $ac_status )
23277 have_working_stat=no
23279 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23282 echo "$as_me:$LINENO: result: $have_working_stat" >&5
23283 echo "${ECHO_T}$have_working_stat" >&6
23284 if test x"$have_working_stat" = xyes; then
23286 cat >>confdefs.h <<\_ACEOF
23287 #define HAVE_WORKING_STAT 1
23288 _ACEOF
23292 # Fallback in case isfinite is not available.
23293 echo "$as_me:$LINENO: checking for finite in -lm" >&5
23294 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
23295 if test "${ac_cv_lib_m_finite+set}" = set; then
23296 echo $ECHO_N "(cached) $ECHO_C" >&6
23297 else
23298 ac_check_lib_save_LIBS=$LIBS
23299 LIBS="-lm $LIBS"
23300 if test x$gcc_no_link = xyes; then
23301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23303 { (exit 1); exit 1; }; }
23305 cat >conftest.$ac_ext <<_ACEOF
23306 /* confdefs.h. */
23307 _ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23312 /* Override any gcc2 internal prototype to avoid an error. */
23313 #ifdef __cplusplus
23314 extern "C"
23315 #endif
23316 /* We use char because int might match the return type of a gcc2
23317 builtin and then its argument prototype would still apply. */
23318 char finite ();
23320 main ()
23322 finite ();
23324 return 0;
23326 _ACEOF
23327 rm -f conftest.$ac_objext conftest$ac_exeext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23329 (eval $ac_link) 2>conftest.er1
23330 ac_status=$?
23331 grep -v '^ *+' conftest.er1 >conftest.err
23332 rm -f conftest.er1
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } &&
23336 { ac_try='test -z "$ac_c_werror_flag"
23337 || test ! -s conftest.err'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23340 ac_status=$?
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; } &&
23343 { ac_try='test -s conftest$ac_exeext'
23344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23345 (eval $ac_try) 2>&5
23346 ac_status=$?
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); }; }; then
23349 ac_cv_lib_m_finite=yes
23350 else
23351 echo "$as_me: failed program was:" >&5
23352 sed 's/^/| /' conftest.$ac_ext >&5
23354 ac_cv_lib_m_finite=no
23356 rm -f conftest.err conftest.$ac_objext \
23357 conftest$ac_exeext conftest.$ac_ext
23358 LIBS=$ac_check_lib_save_LIBS
23360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
23361 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
23362 if test $ac_cv_lib_m_finite = yes; then
23364 cat >>confdefs.h <<\_ACEOF
23365 #define HAVE_FINITE 1
23366 _ACEOF
23371 # Check for GNU libc feenableexcept
23372 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
23373 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
23374 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
23375 echo $ECHO_N "(cached) $ECHO_C" >&6
23376 else
23377 ac_check_lib_save_LIBS=$LIBS
23378 LIBS="-lm $LIBS"
23379 if test x$gcc_no_link = xyes; then
23380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23382 { (exit 1); exit 1; }; }
23384 cat >conftest.$ac_ext <<_ACEOF
23385 /* confdefs.h. */
23386 _ACEOF
23387 cat confdefs.h >>conftest.$ac_ext
23388 cat >>conftest.$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23391 /* Override any gcc2 internal prototype to avoid an error. */
23392 #ifdef __cplusplus
23393 extern "C"
23394 #endif
23395 /* We use char because int might match the return type of a gcc2
23396 builtin and then its argument prototype would still apply. */
23397 char feenableexcept ();
23399 main ()
23401 feenableexcept ();
23403 return 0;
23405 _ACEOF
23406 rm -f conftest.$ac_objext conftest$ac_exeext
23407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23408 (eval $ac_link) 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } &&
23415 { ac_try='test -z "$ac_c_werror_flag"
23416 || test ! -s conftest.err'
23417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23418 (eval $ac_try) 2>&5
23419 ac_status=$?
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); }; } &&
23422 { ac_try='test -s conftest$ac_exeext'
23423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23424 (eval $ac_try) 2>&5
23425 ac_status=$?
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; }; then
23428 ac_cv_lib_m_feenableexcept=yes
23429 else
23430 echo "$as_me: failed program was:" >&5
23431 sed 's/^/| /' conftest.$ac_ext >&5
23433 ac_cv_lib_m_feenableexcept=no
23435 rm -f conftest.err conftest.$ac_objext \
23436 conftest$ac_exeext conftest.$ac_ext
23437 LIBS=$ac_check_lib_save_LIBS
23439 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
23440 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
23441 if test $ac_cv_lib_m_feenableexcept = yes; then
23442 have_feenableexcept=yes
23443 cat >>confdefs.h <<\_ACEOF
23444 #define HAVE_FEENABLEEXCEPT 1
23445 _ACEOF
23450 # Check for SysV fpsetmask
23452 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
23453 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
23454 if test "${have_fpsetmask+set}" = set; then
23455 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 else
23458 if test x$gcc_no_link = xyes; then
23459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23461 { (exit 1); exit 1; }; }
23463 cat >conftest.$ac_ext <<_ACEOF
23464 /* confdefs.h. */
23465 _ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23470 #if HAVE_FLOATINGPOINT_H
23471 # include <floatingpoint.h>
23472 #endif /* HAVE_FLOATINGPOINT_H */
23473 #if HAVE_IEEEFP_H
23474 # include <ieeefp.h>
23475 #endif /* HAVE_IEEEFP_H */
23477 main ()
23479 fpsetmask(0);
23481 return 0;
23483 _ACEOF
23484 rm -f conftest.$ac_objext conftest$ac_exeext
23485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23486 (eval $ac_link) 2>conftest.er1
23487 ac_status=$?
23488 grep -v '^ *+' conftest.er1 >conftest.err
23489 rm -f conftest.er1
23490 cat conftest.err >&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } &&
23493 { ac_try='test -z "$ac_c_werror_flag"
23494 || test ! -s conftest.err'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; } &&
23500 { ac_try='test -s conftest$ac_exeext'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23503 ac_status=$?
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; }; then
23506 eval "have_fpsetmask=yes"
23507 else
23508 echo "$as_me: failed program was:" >&5
23509 sed 's/^/| /' conftest.$ac_ext >&5
23511 eval "have_fpsetmask=no"
23513 rm -f conftest.err conftest.$ac_objext \
23514 conftest$ac_exeext conftest.$ac_ext
23517 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
23518 echo "${ECHO_T}$have_fpsetmask" >&6
23519 if test x"$have_fpsetmask" = xyes; then
23521 cat >>confdefs.h <<\_ACEOF
23522 #define HAVE_FPSETMASK 1
23523 _ACEOF
23528 # Check for AIX fp_trap and fp_enable
23529 echo "$as_me:$LINENO: checking for fp_trap" >&5
23530 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
23531 if test "${ac_cv_func_fp_trap+set}" = set; then
23532 echo $ECHO_N "(cached) $ECHO_C" >&6
23533 else
23534 if test x$gcc_no_link = xyes; then
23535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23537 { (exit 1); exit 1; }; }
23539 cat >conftest.$ac_ext <<_ACEOF
23540 /* confdefs.h. */
23541 _ACEOF
23542 cat confdefs.h >>conftest.$ac_ext
23543 cat >>conftest.$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23545 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
23546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23547 #define fp_trap innocuous_fp_trap
23549 /* System header to define __stub macros and hopefully few prototypes,
23550 which can conflict with char fp_trap (); below.
23551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23552 <limits.h> exists even on freestanding compilers. */
23554 #ifdef __STDC__
23555 # include <limits.h>
23556 #else
23557 # include <assert.h>
23558 #endif
23560 #undef fp_trap
23562 /* Override any gcc2 internal prototype to avoid an error. */
23563 #ifdef __cplusplus
23564 extern "C"
23566 #endif
23567 /* We use char because int might match the return type of a gcc2
23568 builtin and then its argument prototype would still apply. */
23569 char fp_trap ();
23570 /* The GNU C library defines this for functions which it implements
23571 to always fail with ENOSYS. Some functions are actually named
23572 something starting with __ and the normal name is an alias. */
23573 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
23574 choke me
23575 #else
23576 char (*f) () = fp_trap;
23577 #endif
23578 #ifdef __cplusplus
23580 #endif
23583 main ()
23585 return f != fp_trap;
23587 return 0;
23589 _ACEOF
23590 rm -f conftest.$ac_objext conftest$ac_exeext
23591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23592 (eval $ac_link) 2>conftest.er1
23593 ac_status=$?
23594 grep -v '^ *+' conftest.er1 >conftest.err
23595 rm -f conftest.er1
23596 cat conftest.err >&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try='test -z "$ac_c_werror_flag"
23600 || test ! -s conftest.err'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23603 ac_status=$?
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; } &&
23606 { ac_try='test -s conftest$ac_exeext'
23607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23608 (eval $ac_try) 2>&5
23609 ac_status=$?
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); }; }; then
23612 ac_cv_func_fp_trap=yes
23613 else
23614 echo "$as_me: failed program was:" >&5
23615 sed 's/^/| /' conftest.$ac_ext >&5
23617 ac_cv_func_fp_trap=no
23619 rm -f conftest.err conftest.$ac_objext \
23620 conftest$ac_exeext conftest.$ac_ext
23622 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23623 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23624 if test $ac_cv_func_fp_trap = yes; then
23625 have_fp_trap=yes
23626 cat >>confdefs.h <<\_ACEOF
23627 #define HAVE_FP_TRAP 1
23628 _ACEOF
23632 echo "$as_me:$LINENO: checking for fp_enable" >&5
23633 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23634 if test "${ac_cv_func_fp_enable+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 else
23637 if test x$gcc_no_link = xyes; then
23638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23640 { (exit 1); exit 1; }; }
23642 cat >conftest.$ac_ext <<_ACEOF
23643 /* confdefs.h. */
23644 _ACEOF
23645 cat confdefs.h >>conftest.$ac_ext
23646 cat >>conftest.$ac_ext <<_ACEOF
23647 /* end confdefs.h. */
23648 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23650 #define fp_enable innocuous_fp_enable
23652 /* System header to define __stub macros and hopefully few prototypes,
23653 which can conflict with char fp_enable (); below.
23654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23655 <limits.h> exists even on freestanding compilers. */
23657 #ifdef __STDC__
23658 # include <limits.h>
23659 #else
23660 # include <assert.h>
23661 #endif
23663 #undef fp_enable
23665 /* Override any gcc2 internal prototype to avoid an error. */
23666 #ifdef __cplusplus
23667 extern "C"
23669 #endif
23670 /* We use char because int might match the return type of a gcc2
23671 builtin and then its argument prototype would still apply. */
23672 char fp_enable ();
23673 /* The GNU C library defines this for functions which it implements
23674 to always fail with ENOSYS. Some functions are actually named
23675 something starting with __ and the normal name is an alias. */
23676 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23677 choke me
23678 #else
23679 char (*f) () = fp_enable;
23680 #endif
23681 #ifdef __cplusplus
23683 #endif
23686 main ()
23688 return f != fp_enable;
23690 return 0;
23692 _ACEOF
23693 rm -f conftest.$ac_objext conftest$ac_exeext
23694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23695 (eval $ac_link) 2>conftest.er1
23696 ac_status=$?
23697 grep -v '^ *+' conftest.er1 >conftest.err
23698 rm -f conftest.er1
23699 cat conftest.err >&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } &&
23702 { ac_try='test -z "$ac_c_werror_flag"
23703 || test ! -s conftest.err'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23706 ac_status=$?
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; } &&
23709 { ac_try='test -s conftest$ac_exeext'
23710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23711 (eval $ac_try) 2>&5
23712 ac_status=$?
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); }; }; then
23715 ac_cv_func_fp_enable=yes
23716 else
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.$ac_ext >&5
23720 ac_cv_func_fp_enable=no
23722 rm -f conftest.err conftest.$ac_objext \
23723 conftest$ac_exeext conftest.$ac_ext
23725 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23726 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23727 if test $ac_cv_func_fp_enable = yes; then
23728 have_fp_enable=yes
23729 cat >>confdefs.h <<\_ACEOF
23730 #define HAVE_FP_ENABLE 1
23731 _ACEOF
23736 # Runs configure.host to set up necessary host-dependent shell variables.
23737 # We then display a message about it, and propagate them through the
23738 # build chain.
23739 . ${srcdir}/configure.host
23740 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23741 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23742 FPU_HOST_HEADER=config/${fpu_host}.h
23745 # Attempt to assert that the target is of common type in case we don't
23746 # have C99 integer types at all.
23748 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23749 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23750 if test "${target_ilp32+set}" = set; then
23751 echo $ECHO_N "(cached) $ECHO_C" >&6
23752 else
23754 save_CFLAGS="$CFLAGS"
23755 CFLAGS="-O2"
23756 if test x$gcc_no_link = xyes; then
23757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23759 { (exit 1); exit 1; }; }
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h. */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23769 main ()
23772 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23774 else
23775 undefined_function ();
23778 return 0;
23780 _ACEOF
23781 rm -f conftest.$ac_objext conftest$ac_exeext
23782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23783 (eval $ac_link) 2>conftest.er1
23784 ac_status=$?
23785 grep -v '^ *+' conftest.er1 >conftest.err
23786 rm -f conftest.er1
23787 cat conftest.err >&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } &&
23790 { ac_try='test -z "$ac_c_werror_flag"
23791 || test ! -s conftest.err'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; } &&
23797 { ac_try='test -s conftest$ac_exeext'
23798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23799 (eval $ac_try) 2>&5
23800 ac_status=$?
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); }; }; then
23803 target_ilp32=yes
23804 else
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23808 target_ilp32=no
23810 rm -f conftest.err conftest.$ac_objext \
23811 conftest$ac_exeext conftest.$ac_ext
23812 CFLAGS="$save_CFLAGS"
23814 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23815 echo "${ECHO_T}$target_ilp32" >&6
23816 if test $target_ilp32 = yes; then
23818 cat >>confdefs.h <<\_ACEOF
23819 #define TARGET_ILP32 1
23820 _ACEOF
23825 # Check out attribute support.
23827 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23828 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23829 if test "${have_attribute_visibility+set}" = set; then
23830 echo $ECHO_N "(cached) $ECHO_C" >&6
23831 else
23833 save_CFLAGS="$CFLAGS"
23834 CFLAGS="$CFLAGS -Werror"
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 void __attribute__((visibility("hidden"))) foo(void) { }
23843 main ()
23847 return 0;
23849 _ACEOF
23850 rm -f conftest.$ac_objext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23852 (eval $ac_compile) 2>conftest.er1
23853 ac_status=$?
23854 grep -v '^ *+' conftest.er1 >conftest.err
23855 rm -f conftest.er1
23856 cat conftest.err >&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try='test -z "$ac_c_werror_flag"
23860 || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try='test -s conftest.$ac_objext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23869 ac_status=$?
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23872 have_attribute_visibility=yes
23873 else
23874 echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.$ac_ext >&5
23877 have_attribute_visibility=no
23879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23880 CFLAGS="$save_CFLAGS"
23882 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23883 echo "${ECHO_T}$have_attribute_visibility" >&6
23884 if test $have_attribute_visibility = yes; then
23886 cat >>confdefs.h <<\_ACEOF
23887 #define HAVE_ATTRIBUTE_VISIBILITY 1
23888 _ACEOF
23892 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23893 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23894 if test "${have_attribute_dllexport+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23896 else
23898 save_CFLAGS="$CFLAGS"
23899 CFLAGS="$CFLAGS -Werror"
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 void __attribute__((dllexport)) foo(void) { }
23908 main ()
23912 return 0;
23914 _ACEOF
23915 rm -f conftest.$ac_objext
23916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23917 (eval $ac_compile) 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } &&
23924 { ac_try='test -z "$ac_c_werror_flag"
23925 || test ! -s conftest.err'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23928 ac_status=$?
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; } &&
23931 { ac_try='test -s conftest.$ac_objext'
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933 (eval $ac_try) 2>&5
23934 ac_status=$?
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; }; then
23937 have_attribute_dllexport=yes
23938 else
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23942 have_attribute_dllexport=no
23944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23945 CFLAGS="$save_CFLAGS"
23947 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23948 echo "${ECHO_T}$have_attribute_dllexport" >&6
23949 if test $have_attribute_dllexport = yes; then
23951 cat >>confdefs.h <<\_ACEOF
23952 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23953 _ACEOF
23957 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23958 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23959 if test "${have_attribute_alias+set}" = set; then
23960 echo $ECHO_N "(cached) $ECHO_C" >&6
23961 else
23963 if test x$gcc_no_link = xyes; then
23964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23966 { (exit 1); exit 1; }; }
23968 cat >conftest.$ac_ext <<_ACEOF
23969 /* confdefs.h. */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23975 void foo(void) { }
23976 extern void bar(void) __attribute__((alias("foo")));
23978 main ()
23980 bar();
23982 return 0;
23984 _ACEOF
23985 rm -f conftest.$ac_objext conftest$ac_exeext
23986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23987 (eval $ac_link) 2>conftest.er1
23988 ac_status=$?
23989 grep -v '^ *+' conftest.er1 >conftest.err
23990 rm -f conftest.er1
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } &&
23994 { ac_try='test -z "$ac_c_werror_flag"
23995 || test ! -s conftest.err'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; } &&
24001 { ac_try='test -s conftest$ac_exeext'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24004 ac_status=$?
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; }; then
24007 have_attribute_alias=yes
24008 else
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 have_attribute_alias=no
24014 rm -f conftest.err conftest.$ac_objext \
24015 conftest$ac_exeext conftest.$ac_ext
24017 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
24018 echo "${ECHO_T}$have_attribute_alias" >&6
24019 if test $have_attribute_alias = yes; then
24021 cat >>confdefs.h <<\_ACEOF
24022 #define HAVE_ATTRIBUTE_ALIAS 1
24023 _ACEOF
24027 # Check out sync builtins support.
24029 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
24030 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
24031 if test "${have_sync_fetch_and_add+set}" = set; then
24032 echo $ECHO_N "(cached) $ECHO_C" >&6
24033 else
24035 if test x$gcc_no_link = xyes; then
24036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24038 { (exit 1); exit 1; }; }
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 int foovar = 0;
24048 main ()
24051 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24052 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24054 return 0;
24056 _ACEOF
24057 rm -f conftest.$ac_objext conftest$ac_exeext
24058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24059 (eval $ac_link) 2>conftest.er1
24060 ac_status=$?
24061 grep -v '^ *+' conftest.er1 >conftest.err
24062 rm -f conftest.er1
24063 cat conftest.err >&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); } &&
24066 { ac_try='test -z "$ac_c_werror_flag"
24067 || test ! -s conftest.err'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; } &&
24073 { ac_try='test -s conftest$ac_exeext'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; }; then
24079 have_sync_fetch_and_add=yes
24080 else
24081 echo "$as_me: failed program was:" >&5
24082 sed 's/^/| /' conftest.$ac_ext >&5
24084 have_sync_fetch_and_add=no
24086 rm -f conftest.err conftest.$ac_objext \
24087 conftest$ac_exeext conftest.$ac_ext
24089 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
24090 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
24091 if test $have_sync_fetch_and_add = yes; then
24093 cat >>confdefs.h <<\_ACEOF
24094 #define HAVE_SYNC_FETCH_AND_ADD 1
24095 _ACEOF
24099 # Check out thread support.
24101 echo "$as_me:$LINENO: checking configured target thread model" >&5
24102 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
24103 if test "${target_thread_file+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24105 else
24107 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24109 echo "$as_me:$LINENO: result: $target_thread_file" >&5
24110 echo "${ECHO_T}$target_thread_file" >&6
24112 if test $target_thread_file != single; then
24114 cat >>confdefs.h <<\_ACEOF
24115 #define HAVE_GTHR_DEFAULT 1
24116 _ACEOF
24120 # Check out #pragma weak.
24122 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
24123 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
24124 if test "${have_pragma_weak+set}" = set; then
24125 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 else
24128 gfor_save_CFLAGS="$CFLAGS"
24129 CFLAGS="$CFLAGS -Wunknown-pragmas"
24130 cat >conftest.$ac_ext <<_ACEOF
24131 /* confdefs.h. */
24132 _ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24136 void foo (void);
24137 #pragma weak foo
24139 main ()
24141 if (foo) foo ();
24143 return 0;
24145 _ACEOF
24146 rm -f conftest.$ac_objext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24148 (eval $ac_compile) 2>conftest.er1
24149 ac_status=$?
24150 grep -v '^ *+' conftest.er1 >conftest.err
24151 rm -f conftest.er1
24152 cat conftest.err >&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try='test -z "$ac_c_werror_flag"
24156 || test ! -s conftest.err'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; } &&
24162 { ac_try='test -s conftest.$ac_objext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24165 ac_status=$?
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168 have_pragma_weak=yes
24169 else
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.$ac_ext >&5
24173 have_pragma_weak=no
24175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24177 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
24178 echo "${ECHO_T}$have_pragma_weak" >&6
24179 if test $have_pragma_weak = yes; then
24181 cat >>confdefs.h <<\_ACEOF
24182 #define SUPPORTS_WEAK 1
24183 _ACEOF
24186 case "$host" in
24187 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
24189 cat >>confdefs.h <<\_ACEOF
24190 #define GTHREAD_USE_WEAK 0
24191 _ACEOF
24194 esac
24196 # Various other checks on target
24198 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
24199 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
24200 if test "${have_unlink_open_file+set}" = set; then
24201 echo $ECHO_N "(cached) $ECHO_C" >&6
24202 else
24204 if test "$cross_compiling" = yes; then
24206 case "${target}" in
24207 *mingw*) have_unlink_open_file=no ;;
24208 *) have_unlink_open_file=yes;;
24209 esac
24210 else
24211 cat >conftest.$ac_ext <<_ACEOF
24212 /* confdefs.h. */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24218 #include <errno.h>
24219 #include <fcntl.h>
24220 #include <unistd.h>
24221 #include <sys/stat.h>
24223 int main ()
24225 int fd;
24227 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24228 if (fd <= 0)
24229 return 0;
24230 if (unlink ("testfile") == -1)
24231 return 1;
24232 write (fd, "This is a test\n", 15);
24233 close (fd);
24235 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24236 return 0;
24237 else
24238 return 1;
24240 _ACEOF
24241 rm -f conftest$ac_exeext
24242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24243 (eval $ac_link) 2>&5
24244 ac_status=$?
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24248 (eval $ac_try) 2>&5
24249 ac_status=$?
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); }; }; then
24252 have_unlink_open_file=yes
24253 else
24254 echo "$as_me: program exited with status $ac_status" >&5
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24258 ( exit $ac_status )
24259 have_unlink_open_file=no
24261 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24264 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
24265 echo "${ECHO_T}$have_unlink_open_file" >&6
24266 if test x"$have_unlink_open_file" = xyes; then
24268 cat >>confdefs.h <<\_ACEOF
24269 #define HAVE_UNLINK_OPEN_FILE 1
24270 _ACEOF
24274 # Check whether line terminator is LF or CRLF
24276 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
24277 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
24278 if test "${have_crlf+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24282 if test "$cross_compiling" = yes; then
24284 case "${target}" in
24285 *mingw*) have_crlf=yes ;;
24286 *) have_crlf=no;;
24287 esac
24288 else
24289 cat >conftest.$ac_ext <<_ACEOF
24290 /* confdefs.h. */
24291 _ACEOF
24292 cat confdefs.h >>conftest.$ac_ext
24293 cat >>conftest.$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24296 /* This test program should exit with status 0 if system uses a CRLF as
24297 line terminator, and status 1 otherwise.
24298 Since it is used to check for mingw systems, and should return 0 in any
24299 other case, in case of a failure we will not use CRLF. */
24300 #include <sys/stat.h>
24301 #include <stdlib.h>
24302 #include <fcntl.h>
24303 #include <stdio.h>
24305 int main ()
24307 #ifndef O_BINARY
24308 exit(1);
24309 #else
24310 int fd, bytes;
24311 char buff[5];
24313 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24314 if (fd < 0)
24315 exit(1);
24316 if (write (fd, "\n", 1) < 0)
24317 perror ("write");
24319 close (fd);
24321 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24322 exit(1);
24323 bytes = read (fd, buff, 5);
24324 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24325 exit(0);
24326 else
24327 exit(1);
24328 #endif
24330 _ACEOF
24331 rm -f conftest$ac_exeext
24332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24333 (eval $ac_link) 2>&5
24334 ac_status=$?
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24339 ac_status=$?
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; }; then
24342 have_crlf=yes
24343 else
24344 echo "$as_me: program exited with status $ac_status" >&5
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.$ac_ext >&5
24348 ( exit $ac_status )
24349 have_crlf=no
24351 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24354 echo "$as_me:$LINENO: result: $have_crlf" >&5
24355 echo "${ECHO_T}$have_crlf" >&6
24356 if test x"$have_crlf" = xyes; then
24358 cat >>confdefs.h <<\_ACEOF
24359 #define HAVE_CRLF 1
24360 _ACEOF
24364 cat >confcache <<\_ACEOF
24365 # This file is a shell script that caches the results of configure
24366 # tests run on this system so they can be shared between configure
24367 # scripts and configure runs, see configure's option --config-cache.
24368 # It is not useful on other systems. If it contains results you don't
24369 # want to keep, you may remove or edit it.
24371 # config.status only pays attention to the cache file if you give it
24372 # the --recheck option to rerun configure.
24374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24376 # following values.
24378 _ACEOF
24380 # The following way of writing the cache mishandles newlines in values,
24381 # but we know of no workaround that is simple, portable, and efficient.
24382 # So, don't put newlines in cache variables' values.
24383 # Ultrix sh set writes to stderr and can't be redirected directly,
24384 # and sets the high bit in the cache file unless we assign to the vars.
24386 (set) 2>&1 |
24387 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24388 *ac_space=\ *)
24389 # `set' does not quote correctly, so add quotes (double-quote
24390 # substitution turns \\\\ into \\, and sed turns \\ into \).
24391 sed -n \
24392 "s/'/'\\\\''/g;
24393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24396 # `set' quotes correctly as required by POSIX, so do not add quotes.
24397 sed -n \
24398 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24400 esac;
24402 sed '
24403 t clear
24404 : clear
24405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24406 t end
24407 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24408 : end' >>confcache
24409 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24410 if test -w $cache_file; then
24411 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24412 cat confcache >$cache_file
24413 else
24414 echo "not updating unwritable cache $cache_file"
24417 rm -f confcache
24419 if test ${multilib} = yes; then
24420 multilib_arg="--enable-multilib"
24421 else
24422 multilib_arg=
24425 # Write our Makefile.
24426 ac_config_files="$ac_config_files Makefile"
24428 cat >confcache <<\_ACEOF
24429 # This file is a shell script that caches the results of configure
24430 # tests run on this system so they can be shared between configure
24431 # scripts and configure runs, see configure's option --config-cache.
24432 # It is not useful on other systems. If it contains results you don't
24433 # want to keep, you may remove or edit it.
24435 # config.status only pays attention to the cache file if you give it
24436 # the --recheck option to rerun configure.
24438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24440 # following values.
24442 _ACEOF
24444 # The following way of writing the cache mishandles newlines in values,
24445 # but we know of no workaround that is simple, portable, and efficient.
24446 # So, don't put newlines in cache variables' values.
24447 # Ultrix sh set writes to stderr and can't be redirected directly,
24448 # and sets the high bit in the cache file unless we assign to the vars.
24450 (set) 2>&1 |
24451 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24452 *ac_space=\ *)
24453 # `set' does not quote correctly, so add quotes (double-quote
24454 # substitution turns \\\\ into \\, and sed turns \\ into \).
24455 sed -n \
24456 "s/'/'\\\\''/g;
24457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24460 # `set' quotes correctly as required by POSIX, so do not add quotes.
24461 sed -n \
24462 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24464 esac;
24466 sed '
24467 t clear
24468 : clear
24469 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24470 t end
24471 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24472 : end' >>confcache
24473 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24474 if test -w $cache_file; then
24475 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24476 cat confcache >$cache_file
24477 else
24478 echo "not updating unwritable cache $cache_file"
24481 rm -f confcache
24483 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24484 # Let make expand exec_prefix.
24485 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24487 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24488 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24489 # trailing colons and then remove the whole line if VPATH becomes empty
24490 # (actually we leave an empty line to preserve line numbers).
24491 if test "x$srcdir" = x.; then
24492 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24493 s/:*\$(srcdir):*/:/;
24494 s/:*\${srcdir}:*/:/;
24495 s/:*@srcdir@:*/:/;
24496 s/^\([^=]*=[ ]*\):*/\1/;
24497 s/:*$//;
24498 s/^[^=]*=[ ]*$//;
24502 DEFS=-DHAVE_CONFIG_H
24504 ac_libobjs=
24505 ac_ltlibobjs=
24506 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24507 # 1. Remove the extension, and $U if already installed.
24508 ac_i=`echo "$ac_i" |
24509 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24510 # 2. Add them.
24511 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24512 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24513 done
24514 LIBOBJS=$ac_libobjs
24516 LTLIBOBJS=$ac_ltlibobjs
24519 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24520 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24521 Usually this means the macro was only invoked conditionally." >&5
24522 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24523 Usually this means the macro was only invoked conditionally." >&2;}
24524 { (exit 1); exit 1; }; }
24526 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24527 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24528 Usually this means the macro was only invoked conditionally." >&5
24529 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24530 Usually this means the macro was only invoked conditionally." >&2;}
24531 { (exit 1); exit 1; }; }
24533 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24534 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24535 Usually this means the macro was only invoked conditionally." >&5
24536 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24537 Usually this means the macro was only invoked conditionally." >&2;}
24538 { (exit 1); exit 1; }; }
24541 : ${CONFIG_STATUS=./config.status}
24542 ac_clean_files_save=$ac_clean_files
24543 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24544 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24545 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24546 cat >$CONFIG_STATUS <<_ACEOF
24547 #! $SHELL
24548 # Generated by $as_me.
24549 # Run this file to recreate the current configuration.
24550 # Compiler output produced by configure, useful for debugging
24551 # configure, is in config.log if it exists.
24553 debug=false
24554 ac_cs_recheck=false
24555 ac_cs_silent=false
24556 SHELL=\${CONFIG_SHELL-$SHELL}
24557 _ACEOF
24559 cat >>$CONFIG_STATUS <<\_ACEOF
24560 ## --------------------- ##
24561 ## M4sh Initialization. ##
24562 ## --------------------- ##
24564 # Be Bourne compatible
24565 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24566 emulate sh
24567 NULLCMD=:
24568 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24569 # is contrary to our usage. Disable this feature.
24570 alias -g '${1+"$@"}'='"$@"'
24571 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24572 set -o posix
24574 DUALCASE=1; export DUALCASE # for MKS sh
24576 # Support unset when possible.
24577 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24578 as_unset=unset
24579 else
24580 as_unset=false
24584 # Work around bugs in pre-3.0 UWIN ksh.
24585 $as_unset ENV MAIL MAILPATH
24586 PS1='$ '
24587 PS2='> '
24588 PS4='+ '
24590 # NLS nuisances.
24591 for as_var in \
24592 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24593 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24594 LC_TELEPHONE LC_TIME
24596 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24597 eval $as_var=C; export $as_var
24598 else
24599 $as_unset $as_var
24601 done
24603 # Required to use basename.
24604 if expr a : '\(a\)' >/dev/null 2>&1; then
24605 as_expr=expr
24606 else
24607 as_expr=false
24610 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24611 as_basename=basename
24612 else
24613 as_basename=false
24617 # Name of the executable.
24618 as_me=`$as_basename "$0" ||
24619 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24620 X"$0" : 'X\(//\)$' \| \
24621 X"$0" : 'X\(/\)$' \| \
24622 . : '\(.\)' 2>/dev/null ||
24623 echo X/"$0" |
24624 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24625 /^X\/\(\/\/\)$/{ s//\1/; q; }
24626 /^X\/\(\/\).*/{ s//\1/; q; }
24627 s/.*/./; q'`
24630 # PATH needs CR, and LINENO needs CR and PATH.
24631 # Avoid depending upon Character Ranges.
24632 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24633 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24634 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24635 as_cr_digits='0123456789'
24636 as_cr_alnum=$as_cr_Letters$as_cr_digits
24638 # The user is always right.
24639 if test "${PATH_SEPARATOR+set}" != set; then
24640 echo "#! /bin/sh" >conf$$.sh
24641 echo "exit 0" >>conf$$.sh
24642 chmod +x conf$$.sh
24643 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24644 PATH_SEPARATOR=';'
24645 else
24646 PATH_SEPARATOR=:
24648 rm -f conf$$.sh
24652 as_lineno_1=$LINENO
24653 as_lineno_2=$LINENO
24654 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24655 test "x$as_lineno_1" != "x$as_lineno_2" &&
24656 test "x$as_lineno_3" = "x$as_lineno_2" || {
24657 # Find who we are. Look in the path if we contain no path at all
24658 # relative or not.
24659 case $0 in
24660 *[\\/]* ) as_myself=$0 ;;
24661 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24662 for as_dir in $PATH
24664 IFS=$as_save_IFS
24665 test -z "$as_dir" && as_dir=.
24666 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24667 done
24670 esac
24671 # We did not find ourselves, most probably we were run as `sh COMMAND'
24672 # in which case we are not to be found in the path.
24673 if test "x$as_myself" = x; then
24674 as_myself=$0
24676 if test ! -f "$as_myself"; then
24677 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24678 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24679 { (exit 1); exit 1; }; }
24681 case $CONFIG_SHELL in
24683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24684 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24686 IFS=$as_save_IFS
24687 test -z "$as_dir" && as_dir=.
24688 for as_base in sh bash ksh sh5; do
24689 case $as_dir in
24691 if ("$as_dir/$as_base" -c '
24692 as_lineno_1=$LINENO
24693 as_lineno_2=$LINENO
24694 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24695 test "x$as_lineno_1" != "x$as_lineno_2" &&
24696 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24697 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24698 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24699 CONFIG_SHELL=$as_dir/$as_base
24700 export CONFIG_SHELL
24701 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24702 fi;;
24703 esac
24704 done
24705 done
24707 esac
24709 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24710 # uniformly replaced by the line number. The first 'sed' inserts a
24711 # line-number line before each line; the second 'sed' does the real
24712 # work. The second script uses 'N' to pair each line-number line
24713 # with the numbered line, and appends trailing '-' during
24714 # substitution so that $LINENO is not a special case at line end.
24715 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24716 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24717 sed '=' <$as_myself |
24718 sed '
24720 s,$,-,
24721 : loop
24722 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24723 t loop
24724 s,-$,,
24725 s,^['$as_cr_digits']*\n,,
24726 ' >$as_me.lineno &&
24727 chmod +x $as_me.lineno ||
24728 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24729 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24730 { (exit 1); exit 1; }; }
24732 # Don't try to exec as it changes $[0], causing all sort of problems
24733 # (the dirname of $[0] is not the place where we might find the
24734 # original and so on. Autoconf is especially sensible to this).
24735 . ./$as_me.lineno
24736 # Exit status is that of the last command.
24737 exit
24741 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24742 *c*,-n*) ECHO_N= ECHO_C='
24743 ' ECHO_T=' ' ;;
24744 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24745 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24746 esac
24748 if expr a : '\(a\)' >/dev/null 2>&1; then
24749 as_expr=expr
24750 else
24751 as_expr=false
24754 rm -f conf$$ conf$$.exe conf$$.file
24755 echo >conf$$.file
24756 if ln -s conf$$.file conf$$ 2>/dev/null; then
24757 # We could just check for DJGPP; but this test a) works b) is more generic
24758 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24759 if test -f conf$$.exe; then
24760 # Don't use ln at all; we don't have any links
24761 as_ln_s='cp -p'
24762 else
24763 as_ln_s='ln -s'
24765 elif ln conf$$.file conf$$ 2>/dev/null; then
24766 as_ln_s=ln
24767 else
24768 as_ln_s='cp -p'
24770 rm -f conf$$ conf$$.exe conf$$.file
24772 if mkdir -p . 2>/dev/null; then
24773 as_mkdir_p=:
24774 else
24775 test -d ./-p && rmdir ./-p
24776 as_mkdir_p=false
24779 as_executable_p="test -f"
24781 # Sed expression to map a string onto a valid CPP name.
24782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24784 # Sed expression to map a string onto a valid variable name.
24785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24788 # IFS
24789 # We need space, tab and new line, in precisely that order.
24790 as_nl='
24792 IFS=" $as_nl"
24794 # CDPATH.
24795 $as_unset CDPATH
24797 exec 6>&1
24799 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24800 # report actual input values of CONFIG_FILES etc. instead of their
24801 # values after options handling. Logging --version etc. is OK.
24802 exec 5>>config.log
24804 echo
24805 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24806 ## Running $as_me. ##
24807 _ASBOX
24808 } >&5
24809 cat >&5 <<_CSEOF
24811 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
24812 generated by GNU Autoconf 2.59. Invocation command line was
24814 CONFIG_FILES = $CONFIG_FILES
24815 CONFIG_HEADERS = $CONFIG_HEADERS
24816 CONFIG_LINKS = $CONFIG_LINKS
24817 CONFIG_COMMANDS = $CONFIG_COMMANDS
24818 $ $0 $@
24820 _CSEOF
24821 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24822 echo >&5
24823 _ACEOF
24825 # Files that config.status was made for.
24826 if test -n "$ac_config_files"; then
24827 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24830 if test -n "$ac_config_headers"; then
24831 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24834 if test -n "$ac_config_links"; then
24835 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24838 if test -n "$ac_config_commands"; then
24839 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24842 cat >>$CONFIG_STATUS <<\_ACEOF
24844 ac_cs_usage="\
24845 \`$as_me' instantiates files from templates according to the
24846 current configuration.
24848 Usage: $0 [OPTIONS] [FILE]...
24850 -h, --help print this help, then exit
24851 -V, --version print version number, then exit
24852 -q, --quiet do not print progress messages
24853 -d, --debug don't remove temporary files
24854 --recheck update $as_me by reconfiguring in the same conditions
24855 --file=FILE[:TEMPLATE]
24856 instantiate the configuration file FILE
24857 --header=FILE[:TEMPLATE]
24858 instantiate the configuration header FILE
24860 Configuration files:
24861 $config_files
24863 Configuration headers:
24864 $config_headers
24866 Configuration commands:
24867 $config_commands
24869 Report bugs to <bug-autoconf@gnu.org>."
24870 _ACEOF
24872 cat >>$CONFIG_STATUS <<_ACEOF
24873 ac_cs_version="\\
24874 GNU Fortran Runtime Library config.status 0.3
24875 configured by $0, generated by GNU Autoconf 2.59,
24876 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24878 Copyright (C) 2003 Free Software Foundation, Inc.
24879 This config.status script is free software; the Free Software Foundation
24880 gives unlimited permission to copy, distribute and modify it."
24881 srcdir=$srcdir
24882 INSTALL="$INSTALL"
24883 _ACEOF
24885 cat >>$CONFIG_STATUS <<\_ACEOF
24886 # If no file are specified by the user, then we need to provide default
24887 # value. By we need to know if files were specified by the user.
24888 ac_need_defaults=:
24889 while test $# != 0
24891 case $1 in
24892 --*=*)
24893 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24894 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24895 ac_shift=:
24898 ac_option=$1
24899 ac_optarg=$2
24900 ac_shift=shift
24902 *) # This is not an option, so the user has probably given explicit
24903 # arguments.
24904 ac_option=$1
24905 ac_need_defaults=false;;
24906 esac
24908 case $ac_option in
24909 # Handling of the options.
24910 _ACEOF
24911 cat >>$CONFIG_STATUS <<\_ACEOF
24912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24913 ac_cs_recheck=: ;;
24914 --version | --vers* | -V )
24915 echo "$ac_cs_version"; exit 0 ;;
24916 --he | --h)
24917 # Conflict between --help and --header
24918 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24919 Try \`$0 --help' for more information." >&5
24920 echo "$as_me: error: ambiguous option: $1
24921 Try \`$0 --help' for more information." >&2;}
24922 { (exit 1); exit 1; }; };;
24923 --help | --hel | -h )
24924 echo "$ac_cs_usage"; exit 0 ;;
24925 --debug | --d* | -d )
24926 debug=: ;;
24927 --file | --fil | --fi | --f )
24928 $ac_shift
24929 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24930 ac_need_defaults=false;;
24931 --header | --heade | --head | --hea )
24932 $ac_shift
24933 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24934 ac_need_defaults=false;;
24935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24936 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24937 ac_cs_silent=: ;;
24939 # This is an error.
24940 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24941 Try \`$0 --help' for more information." >&5
24942 echo "$as_me: error: unrecognized option: $1
24943 Try \`$0 --help' for more information." >&2;}
24944 { (exit 1); exit 1; }; } ;;
24946 *) ac_config_targets="$ac_config_targets $1" ;;
24948 esac
24949 shift
24950 done
24952 ac_configure_extra_args=
24954 if $ac_cs_silent; then
24955 exec 6>/dev/null
24956 ac_configure_extra_args="$ac_configure_extra_args --silent"
24959 _ACEOF
24960 cat >>$CONFIG_STATUS <<_ACEOF
24961 if \$ac_cs_recheck; then
24962 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24963 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24966 _ACEOF
24968 cat >>$CONFIG_STATUS <<_ACEOF
24970 # INIT-COMMANDS section.
24974 srcdir="$srcdir"
24975 host="$host"
24976 target="$target"
24977 with_multisubdir="$with_multisubdir"
24978 with_multisrctop="$with_multisrctop"
24979 with_target_subdir="$with_target_subdir"
24980 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24981 multi_basedir="$multi_basedir"
24982 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24983 CC="$CC"
24984 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24986 GCC="$GCC"
24987 CC="$CC"
24988 acx_cv_header_stdint="$acx_cv_header_stdint"
24989 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24990 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24991 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24992 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24993 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24994 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24995 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24996 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24997 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24998 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24999 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25000 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25001 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
25004 _ACEOF
25008 cat >>$CONFIG_STATUS <<\_ACEOF
25009 for ac_config_target in $ac_config_targets
25011 case "$ac_config_target" in
25012 # Handling of arguments.
25013 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25014 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25015 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25016 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
25017 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25018 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25019 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25020 { (exit 1); exit 1; }; };;
25021 esac
25022 done
25024 # If the user did not use the arguments to specify the items to instantiate,
25025 # then the envvar interface is used. Set only those that are not.
25026 # We use the long form for the default assignment because of an extremely
25027 # bizarre bug on SunOS 4.1.3.
25028 if $ac_need_defaults; then
25029 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25030 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25031 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25034 # Have a temporary directory for convenience. Make it in the build tree
25035 # simply because there is no reason to put it here, and in addition,
25036 # creating and moving files from /tmp can sometimes cause problems.
25037 # Create a temporary directory, and hook for its removal unless debugging.
25038 $debug ||
25040 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25041 trap '{ (exit 1); exit 1; }' 1 2 13 15
25044 # Create a (secure) tmp directory for tmp files.
25047 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
25048 test -n "$tmp" && test -d "$tmp"
25049 } ||
25051 tmp=./confstat$$-$RANDOM
25052 (umask 077 && mkdir $tmp)
25053 } ||
25055 echo "$me: cannot create a temporary directory in ." >&2
25056 { (exit 1); exit 1; }
25059 _ACEOF
25061 cat >>$CONFIG_STATUS <<_ACEOF
25064 # CONFIG_FILES section.
25067 # No need to generate the scripts if there are no CONFIG_FILES.
25068 # This happens for instance when ./config.status config.h
25069 if test -n "\$CONFIG_FILES"; then
25070 # Protect against being on the right side of a sed subst in config.status.
25071 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25072 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25073 s,@SHELL@,$SHELL,;t t
25074 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25075 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25076 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25077 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25078 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25079 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25080 s,@exec_prefix@,$exec_prefix,;t t
25081 s,@prefix@,$prefix,;t t
25082 s,@program_transform_name@,$program_transform_name,;t t
25083 s,@bindir@,$bindir,;t t
25084 s,@sbindir@,$sbindir,;t t
25085 s,@libexecdir@,$libexecdir,;t t
25086 s,@datadir@,$datadir,;t t
25087 s,@sysconfdir@,$sysconfdir,;t t
25088 s,@sharedstatedir@,$sharedstatedir,;t t
25089 s,@localstatedir@,$localstatedir,;t t
25090 s,@libdir@,$libdir,;t t
25091 s,@includedir@,$includedir,;t t
25092 s,@oldincludedir@,$oldincludedir,;t t
25093 s,@infodir@,$infodir,;t t
25094 s,@mandir@,$mandir,;t t
25095 s,@build_alias@,$build_alias,;t t
25096 s,@host_alias@,$host_alias,;t t
25097 s,@target_alias@,$target_alias,;t t
25098 s,@DEFS@,$DEFS,;t t
25099 s,@ECHO_C@,$ECHO_C,;t t
25100 s,@ECHO_N@,$ECHO_N,;t t
25101 s,@ECHO_T@,$ECHO_T,;t t
25102 s,@LIBS@,$LIBS,;t t
25103 s,@build@,$build,;t t
25104 s,@build_cpu@,$build_cpu,;t t
25105 s,@build_vendor@,$build_vendor,;t t
25106 s,@build_os@,$build_os,;t t
25107 s,@build_libsubdir@,$build_libsubdir,;t t
25108 s,@build_subdir@,$build_subdir,;t t
25109 s,@host_subdir@,$host_subdir,;t t
25110 s,@target_subdir@,$target_subdir,;t t
25111 s,@host@,$host,;t t
25112 s,@host_cpu@,$host_cpu,;t t
25113 s,@host_vendor@,$host_vendor,;t t
25114 s,@host_os@,$host_os,;t t
25115 s,@target@,$target,;t t
25116 s,@target_cpu@,$target_cpu,;t t
25117 s,@target_vendor@,$target_vendor,;t t
25118 s,@target_os@,$target_os,;t t
25119 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25120 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25121 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25122 s,@CYGPATH_W@,$CYGPATH_W,;t t
25123 s,@PACKAGE@,$PACKAGE,;t t
25124 s,@VERSION@,$VERSION,;t t
25125 s,@ACLOCAL@,$ACLOCAL,;t t
25126 s,@AUTOCONF@,$AUTOCONF,;t t
25127 s,@AUTOMAKE@,$AUTOMAKE,;t t
25128 s,@AUTOHEADER@,$AUTOHEADER,;t t
25129 s,@MAKEINFO@,$MAKEINFO,;t t
25130 s,@install_sh@,$install_sh,;t t
25131 s,@STRIP@,$STRIP,;t t
25132 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25133 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25134 s,@mkdir_p@,$mkdir_p,;t t
25135 s,@AWK@,$AWK,;t t
25136 s,@SET_MAKE@,$SET_MAKE,;t t
25137 s,@am__leading_dot@,$am__leading_dot,;t t
25138 s,@AMTAR@,$AMTAR,;t t
25139 s,@am__tar@,$am__tar,;t t
25140 s,@am__untar@,$am__untar,;t t
25141 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25142 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25143 s,@MAINT@,$MAINT,;t t
25144 s,@multi_basedir@,$multi_basedir,;t t
25145 s,@toolexecdir@,$toolexecdir,;t t
25146 s,@toolexeclibdir@,$toolexeclibdir,;t t
25147 s,@CC@,$CC,;t t
25148 s,@ac_ct_CC@,$ac_ct_CC,;t t
25149 s,@EXEEXT@,$EXEEXT,;t t
25150 s,@OBJEXT@,$OBJEXT,;t t
25151 s,@DEPDIR@,$DEPDIR,;t t
25152 s,@am__include@,$am__include,;t t
25153 s,@am__quote@,$am__quote,;t t
25154 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25155 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25156 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25157 s,@CCDEPMODE@,$CCDEPMODE,;t t
25158 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25159 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25160 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
25161 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
25162 s,@AS@,$AS,;t t
25163 s,@ac_ct_AS@,$ac_ct_AS,;t t
25164 s,@AR@,$AR,;t t
25165 s,@ac_ct_AR@,$ac_ct_AR,;t t
25166 s,@RANLIB@,$RANLIB,;t t
25167 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25168 s,@LN_S@,$LN_S,;t t
25169 s,@LIBTOOL@,$LIBTOOL,;t t
25170 s,@enable_shared@,$enable_shared,;t t
25171 s,@enable_static@,$enable_static,;t t
25172 s,@FC@,$FC,;t t
25173 s,@FCFLAGS@,$FCFLAGS,;t t
25174 s,@LDFLAGS@,$LDFLAGS,;t t
25175 s,@ac_ct_FC@,$ac_ct_FC,;t t
25176 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
25177 s,@CPP@,$CPP,;t t
25178 s,@CPPFLAGS@,$CPPFLAGS,;t t
25179 s,@EGREP@,$EGREP,;t t
25180 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
25181 s,@LIBOBJS@,$LIBOBJS,;t t
25182 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25183 CEOF
25185 _ACEOF
25187 cat >>$CONFIG_STATUS <<\_ACEOF
25188 # Split the substitutions into bite-sized pieces for seds with
25189 # small command number limits, like on Digital OSF/1 and HP-UX.
25190 ac_max_sed_lines=48
25191 ac_sed_frag=1 # Number of current file.
25192 ac_beg=1 # First line for current file.
25193 ac_end=$ac_max_sed_lines # Line after last line for current file.
25194 ac_more_lines=:
25195 ac_sed_cmds=
25196 while $ac_more_lines; do
25197 if test $ac_beg -gt 1; then
25198 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25199 else
25200 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25202 if test ! -s $tmp/subs.frag; then
25203 ac_more_lines=false
25204 else
25205 # The purpose of the label and of the branching condition is to
25206 # speed up the sed processing (if there are no `@' at all, there
25207 # is no need to browse any of the substitutions).
25208 # These are the two extra sed commands mentioned above.
25209 (echo ':t
25210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25211 if test -z "$ac_sed_cmds"; then
25212 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25213 else
25214 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25216 ac_sed_frag=`expr $ac_sed_frag + 1`
25217 ac_beg=$ac_end
25218 ac_end=`expr $ac_end + $ac_max_sed_lines`
25220 done
25221 if test -z "$ac_sed_cmds"; then
25222 ac_sed_cmds=cat
25224 fi # test -n "$CONFIG_FILES"
25226 _ACEOF
25227 cat >>$CONFIG_STATUS <<\_ACEOF
25228 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25229 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25230 case $ac_file in
25231 - | *:- | *:-:* ) # input from stdin
25232 cat >$tmp/stdin
25233 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25234 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25235 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25236 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25237 * ) ac_file_in=$ac_file.in ;;
25238 esac
25240 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25241 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25243 X"$ac_file" : 'X\(//\)[^/]' \| \
25244 X"$ac_file" : 'X\(//\)$' \| \
25245 X"$ac_file" : 'X\(/\)' \| \
25246 . : '\(.\)' 2>/dev/null ||
25247 echo X"$ac_file" |
25248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25250 /^X\(\/\/\)$/{ s//\1/; q; }
25251 /^X\(\/\).*/{ s//\1/; q; }
25252 s/.*/./; q'`
25253 { if $as_mkdir_p; then
25254 mkdir -p "$ac_dir"
25255 else
25256 as_dir="$ac_dir"
25257 as_dirs=
25258 while test ! -d "$as_dir"; do
25259 as_dirs="$as_dir $as_dirs"
25260 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25262 X"$as_dir" : 'X\(//\)[^/]' \| \
25263 X"$as_dir" : 'X\(//\)$' \| \
25264 X"$as_dir" : 'X\(/\)' \| \
25265 . : '\(.\)' 2>/dev/null ||
25266 echo X"$as_dir" |
25267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25269 /^X\(\/\/\)$/{ s//\1/; q; }
25270 /^X\(\/\).*/{ s//\1/; q; }
25271 s/.*/./; q'`
25272 done
25273 test ! -n "$as_dirs" || mkdir $as_dirs
25274 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25275 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25276 { (exit 1); exit 1; }; }; }
25278 ac_builddir=.
25280 if test "$ac_dir" != .; then
25281 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25282 # A "../" for each directory in $ac_dir_suffix.
25283 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25284 else
25285 ac_dir_suffix= ac_top_builddir=
25288 case $srcdir in
25289 .) # No --srcdir option. We are building in place.
25290 ac_srcdir=.
25291 if test -z "$ac_top_builddir"; then
25292 ac_top_srcdir=.
25293 else
25294 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25295 fi ;;
25296 [\\/]* | ?:[\\/]* ) # Absolute path.
25297 ac_srcdir=$srcdir$ac_dir_suffix;
25298 ac_top_srcdir=$srcdir ;;
25299 *) # Relative path.
25300 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25301 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25302 esac
25304 # Do not use `cd foo && pwd` to compute absolute paths, because
25305 # the directories may not exist.
25306 case `pwd` in
25307 .) ac_abs_builddir="$ac_dir";;
25309 case "$ac_dir" in
25310 .) ac_abs_builddir=`pwd`;;
25311 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25312 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25313 esac;;
25314 esac
25315 case $ac_abs_builddir in
25316 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25318 case ${ac_top_builddir}. in
25319 .) ac_abs_top_builddir=$ac_abs_builddir;;
25320 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25321 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25322 esac;;
25323 esac
25324 case $ac_abs_builddir in
25325 .) ac_abs_srcdir=$ac_srcdir;;
25327 case $ac_srcdir in
25328 .) ac_abs_srcdir=$ac_abs_builddir;;
25329 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25330 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25331 esac;;
25332 esac
25333 case $ac_abs_builddir in
25334 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25336 case $ac_top_srcdir in
25337 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25338 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25339 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25340 esac;;
25341 esac
25344 case $INSTALL in
25345 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25346 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25347 esac
25349 if test x"$ac_file" != x-; then
25350 { echo "$as_me:$LINENO: creating $ac_file" >&5
25351 echo "$as_me: creating $ac_file" >&6;}
25352 rm -f "$ac_file"
25354 # Let's still pretend it is `configure' which instantiates (i.e., don't
25355 # use $as_me), people would be surprised to read:
25356 # /* config.h. Generated by config.status. */
25357 if test x"$ac_file" = x-; then
25358 configure_input=
25359 else
25360 configure_input="$ac_file. "
25362 configure_input=$configure_input"Generated from `echo $ac_file_in |
25363 sed 's,.*/,,'` by configure."
25365 # First look for the input files in the build tree, otherwise in the
25366 # src tree.
25367 ac_file_inputs=`IFS=:
25368 for f in $ac_file_in; do
25369 case $f in
25370 -) echo $tmp/stdin ;;
25371 [\\/$]*)
25372 # Absolute (can't be DOS-style, as IFS=:)
25373 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25374 echo "$as_me: error: cannot find input file: $f" >&2;}
25375 { (exit 1); exit 1; }; }
25376 echo "$f";;
25377 *) # Relative
25378 if test -f "$f"; then
25379 # Build tree
25380 echo "$f"
25381 elif test -f "$srcdir/$f"; then
25382 # Source tree
25383 echo "$srcdir/$f"
25384 else
25385 # /dev/null tree
25386 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25387 echo "$as_me: error: cannot find input file: $f" >&2;}
25388 { (exit 1); exit 1; }; }
25389 fi;;
25390 esac
25391 done` || { (exit 1); exit 1; }
25392 _ACEOF
25393 cat >>$CONFIG_STATUS <<_ACEOF
25394 sed "$ac_vpsub
25395 $extrasub
25396 _ACEOF
25397 cat >>$CONFIG_STATUS <<\_ACEOF
25399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25400 s,@configure_input@,$configure_input,;t t
25401 s,@srcdir@,$ac_srcdir,;t t
25402 s,@abs_srcdir@,$ac_abs_srcdir,;t t
25403 s,@top_srcdir@,$ac_top_srcdir,;t t
25404 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25405 s,@builddir@,$ac_builddir,;t t
25406 s,@abs_builddir@,$ac_abs_builddir,;t t
25407 s,@top_builddir@,$ac_top_builddir,;t t
25408 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25409 s,@INSTALL@,$ac_INSTALL,;t t
25410 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25411 rm -f $tmp/stdin
25412 if test x"$ac_file" != x-; then
25413 mv $tmp/out $ac_file
25414 else
25415 cat $tmp/out
25416 rm -f $tmp/out
25419 done
25420 _ACEOF
25421 cat >>$CONFIG_STATUS <<\_ACEOF
25424 # CONFIG_HEADER section.
25427 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25428 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25430 # ac_d sets the value in "#define NAME VALUE" lines.
25431 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25432 ac_dB='[ ].*$,\1#\2'
25433 ac_dC=' '
25434 ac_dD=',;t'
25435 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25436 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25437 ac_uB='$,\1#\2define\3'
25438 ac_uC=' '
25439 ac_uD=',;t'
25441 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25442 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25443 case $ac_file in
25444 - | *:- | *:-:* ) # input from stdin
25445 cat >$tmp/stdin
25446 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25447 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25448 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25449 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25450 * ) ac_file_in=$ac_file.in ;;
25451 esac
25453 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25454 echo "$as_me: creating $ac_file" >&6;}
25456 # First look for the input files in the build tree, otherwise in the
25457 # src tree.
25458 ac_file_inputs=`IFS=:
25459 for f in $ac_file_in; do
25460 case $f in
25461 -) echo $tmp/stdin ;;
25462 [\\/$]*)
25463 # Absolute (can't be DOS-style, as IFS=:)
25464 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25465 echo "$as_me: error: cannot find input file: $f" >&2;}
25466 { (exit 1); exit 1; }; }
25467 # Do quote $f, to prevent DOS paths from being IFS'd.
25468 echo "$f";;
25469 *) # Relative
25470 if test -f "$f"; then
25471 # Build tree
25472 echo "$f"
25473 elif test -f "$srcdir/$f"; then
25474 # Source tree
25475 echo "$srcdir/$f"
25476 else
25477 # /dev/null tree
25478 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25479 echo "$as_me: error: cannot find input file: $f" >&2;}
25480 { (exit 1); exit 1; }; }
25481 fi;;
25482 esac
25483 done` || { (exit 1); exit 1; }
25484 # Remove the trailing spaces.
25485 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25487 _ACEOF
25489 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25490 # `conftest.undefs', that substitutes the proper values into
25491 # config.h.in to produce config.h. The first handles `#define'
25492 # templates, and the second `#undef' templates.
25493 # And first: Protect against being on the right side of a sed subst in
25494 # config.status. Protect against being in an unquoted here document
25495 # in config.status.
25496 rm -f conftest.defines conftest.undefs
25497 # Using a here document instead of a string reduces the quoting nightmare.
25498 # Putting comments in sed scripts is not portable.
25500 # `end' is used to avoid that the second main sed command (meant for
25501 # 0-ary CPP macros) applies to n-ary macro definitions.
25502 # See the Autoconf documentation for `clear'.
25503 cat >confdef2sed.sed <<\_ACEOF
25504 s/[\\&,]/\\&/g
25505 s,[\\$`],\\&,g
25506 t clear
25507 : clear
25508 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25509 t end
25510 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25511 : end
25512 _ACEOF
25513 # If some macros were called several times there might be several times
25514 # the same #defines, which is useless. Nevertheless, we may not want to
25515 # sort them, since we want the *last* AC-DEFINE to be honored.
25516 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25517 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25518 rm -f confdef2sed.sed
25520 # This sed command replaces #undef with comments. This is necessary, for
25521 # example, in the case of _POSIX_SOURCE, which is predefined and required
25522 # on some systems where configure will not decide to define it.
25523 cat >>conftest.undefs <<\_ACEOF
25524 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25525 _ACEOF
25527 # Break up conftest.defines because some shells have a limit on the size
25528 # of here documents, and old seds have small limits too (100 cmds).
25529 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25530 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25531 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25532 echo ' :' >>$CONFIG_STATUS
25533 rm -f conftest.tail
25534 while grep . conftest.defines >/dev/null
25536 # Write a limited-size here document to $tmp/defines.sed.
25537 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25538 # Speed up: don't consider the non `#define' lines.
25539 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25540 # Work around the forget-to-reset-the-flag bug.
25541 echo 't clr' >>$CONFIG_STATUS
25542 echo ': clr' >>$CONFIG_STATUS
25543 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25544 echo 'CEOF
25545 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25546 rm -f $tmp/in
25547 mv $tmp/out $tmp/in
25548 ' >>$CONFIG_STATUS
25549 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25550 rm -f conftest.defines
25551 mv conftest.tail conftest.defines
25552 done
25553 rm -f conftest.defines
25554 echo ' fi # grep' >>$CONFIG_STATUS
25555 echo >>$CONFIG_STATUS
25557 # Break up conftest.undefs because some shells have a limit on the size
25558 # of here documents, and old seds have small limits too (100 cmds).
25559 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25560 rm -f conftest.tail
25561 while grep . conftest.undefs >/dev/null
25563 # Write a limited-size here document to $tmp/undefs.sed.
25564 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25565 # Speed up: don't consider the non `#undef'
25566 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25567 # Work around the forget-to-reset-the-flag bug.
25568 echo 't clr' >>$CONFIG_STATUS
25569 echo ': clr' >>$CONFIG_STATUS
25570 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25571 echo 'CEOF
25572 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25573 rm -f $tmp/in
25574 mv $tmp/out $tmp/in
25575 ' >>$CONFIG_STATUS
25576 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25577 rm -f conftest.undefs
25578 mv conftest.tail conftest.undefs
25579 done
25580 rm -f conftest.undefs
25582 cat >>$CONFIG_STATUS <<\_ACEOF
25583 # Let's still pretend it is `configure' which instantiates (i.e., don't
25584 # use $as_me), people would be surprised to read:
25585 # /* config.h. Generated by config.status. */
25586 if test x"$ac_file" = x-; then
25587 echo "/* Generated by configure. */" >$tmp/config.h
25588 else
25589 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25591 cat $tmp/in >>$tmp/config.h
25592 rm -f $tmp/in
25593 if test x"$ac_file" != x-; then
25594 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25595 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25596 echo "$as_me: $ac_file is unchanged" >&6;}
25597 else
25598 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25600 X"$ac_file" : 'X\(//\)[^/]' \| \
25601 X"$ac_file" : 'X\(//\)$' \| \
25602 X"$ac_file" : 'X\(/\)' \| \
25603 . : '\(.\)' 2>/dev/null ||
25604 echo X"$ac_file" |
25605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25606 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25607 /^X\(\/\/\)$/{ s//\1/; q; }
25608 /^X\(\/\).*/{ s//\1/; q; }
25609 s/.*/./; q'`
25610 { if $as_mkdir_p; then
25611 mkdir -p "$ac_dir"
25612 else
25613 as_dir="$ac_dir"
25614 as_dirs=
25615 while test ! -d "$as_dir"; do
25616 as_dirs="$as_dir $as_dirs"
25617 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25619 X"$as_dir" : 'X\(//\)[^/]' \| \
25620 X"$as_dir" : 'X\(//\)$' \| \
25621 X"$as_dir" : 'X\(/\)' \| \
25622 . : '\(.\)' 2>/dev/null ||
25623 echo X"$as_dir" |
25624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25626 /^X\(\/\/\)$/{ s//\1/; q; }
25627 /^X\(\/\).*/{ s//\1/; q; }
25628 s/.*/./; q'`
25629 done
25630 test ! -n "$as_dirs" || mkdir $as_dirs
25631 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25632 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25633 { (exit 1); exit 1; }; }; }
25635 rm -f $ac_file
25636 mv $tmp/config.h $ac_file
25638 else
25639 cat $tmp/config.h
25640 rm -f $tmp/config.h
25642 # Compute $ac_file's index in $config_headers.
25643 _am_stamp_count=1
25644 for _am_header in $config_headers :; do
25645 case $_am_header in
25646 $ac_file | $ac_file:* )
25647 break ;;
25649 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25650 esac
25651 done
25652 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25653 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25654 X$ac_file : 'X\(//\)[^/]' \| \
25655 X$ac_file : 'X\(//\)$' \| \
25656 X$ac_file : 'X\(/\)' \| \
25657 . : '\(.\)' 2>/dev/null ||
25658 echo X$ac_file |
25659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25661 /^X\(\/\/\)$/{ s//\1/; q; }
25662 /^X\(\/\).*/{ s//\1/; q; }
25663 s/.*/./; q'`/stamp-h$_am_stamp_count
25664 done
25665 _ACEOF
25666 cat >>$CONFIG_STATUS <<\_ACEOF
25669 # CONFIG_COMMANDS section.
25671 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25672 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25673 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25674 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25675 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25676 X"$ac_dest" : 'X\(//\)[^/]' \| \
25677 X"$ac_dest" : 'X\(//\)$' \| \
25678 X"$ac_dest" : 'X\(/\)' \| \
25679 . : '\(.\)' 2>/dev/null ||
25680 echo X"$ac_dest" |
25681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25683 /^X\(\/\/\)$/{ s//\1/; q; }
25684 /^X\(\/\).*/{ s//\1/; q; }
25685 s/.*/./; q'`
25686 { if $as_mkdir_p; then
25687 mkdir -p "$ac_dir"
25688 else
25689 as_dir="$ac_dir"
25690 as_dirs=
25691 while test ! -d "$as_dir"; do
25692 as_dirs="$as_dir $as_dirs"
25693 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25694 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25695 X"$as_dir" : 'X\(//\)[^/]' \| \
25696 X"$as_dir" : 'X\(//\)$' \| \
25697 X"$as_dir" : 'X\(/\)' \| \
25698 . : '\(.\)' 2>/dev/null ||
25699 echo X"$as_dir" |
25700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25701 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25702 /^X\(\/\/\)$/{ s//\1/; q; }
25703 /^X\(\/\).*/{ s//\1/; q; }
25704 s/.*/./; q'`
25705 done
25706 test ! -n "$as_dirs" || mkdir $as_dirs
25707 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25708 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25709 { (exit 1); exit 1; }; }; }
25711 ac_builddir=.
25713 if test "$ac_dir" != .; then
25714 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25715 # A "../" for each directory in $ac_dir_suffix.
25716 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25717 else
25718 ac_dir_suffix= ac_top_builddir=
25721 case $srcdir in
25722 .) # No --srcdir option. We are building in place.
25723 ac_srcdir=.
25724 if test -z "$ac_top_builddir"; then
25725 ac_top_srcdir=.
25726 else
25727 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25728 fi ;;
25729 [\\/]* | ?:[\\/]* ) # Absolute path.
25730 ac_srcdir=$srcdir$ac_dir_suffix;
25731 ac_top_srcdir=$srcdir ;;
25732 *) # Relative path.
25733 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25734 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25735 esac
25737 # Do not use `cd foo && pwd` to compute absolute paths, because
25738 # the directories may not exist.
25739 case `pwd` in
25740 .) ac_abs_builddir="$ac_dir";;
25742 case "$ac_dir" in
25743 .) ac_abs_builddir=`pwd`;;
25744 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25745 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25746 esac;;
25747 esac
25748 case $ac_abs_builddir in
25749 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25751 case ${ac_top_builddir}. in
25752 .) ac_abs_top_builddir=$ac_abs_builddir;;
25753 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25754 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25755 esac;;
25756 esac
25757 case $ac_abs_builddir in
25758 .) ac_abs_srcdir=$ac_srcdir;;
25760 case $ac_srcdir in
25761 .) ac_abs_srcdir=$ac_abs_builddir;;
25762 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25763 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25764 esac;;
25765 esac
25766 case $ac_abs_builddir in
25767 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25769 case $ac_top_srcdir in
25770 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25771 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25772 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25773 esac;;
25774 esac
25777 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25778 echo "$as_me: executing $ac_dest commands" >&6;}
25779 case $ac_dest in
25780 default-1 )
25781 # Only add multilib support code if we just rebuilt the top-level
25782 # Makefile.
25783 case " $CONFIG_FILES " in
25784 *" Makefile "*)
25785 ac_file=Makefile . ${multi_basedir}/config-ml.in
25787 esac ;;
25788 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25789 # Strip MF so we end up with the name of the file.
25790 mf=`echo "$mf" | sed -e 's/:.*$//'`
25791 # Check whether this is an Automake generated Makefile or not.
25792 # We used to match only the files named `Makefile.in', but
25793 # some people rename them; so instead we look at the file content.
25794 # Grep'ing the first line is not enough: some people post-process
25795 # each Makefile.in and add a new line on top of each file to say so.
25796 # So let's grep whole file.
25797 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25798 dirpart=`(dirname "$mf") 2>/dev/null ||
25799 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25800 X"$mf" : 'X\(//\)[^/]' \| \
25801 X"$mf" : 'X\(//\)$' \| \
25802 X"$mf" : 'X\(/\)' \| \
25803 . : '\(.\)' 2>/dev/null ||
25804 echo X"$mf" |
25805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25806 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25807 /^X\(\/\/\)$/{ s//\1/; q; }
25808 /^X\(\/\).*/{ s//\1/; q; }
25809 s/.*/./; q'`
25810 else
25811 continue
25813 # Extract the definition of DEPDIR, am__include, and am__quote
25814 # from the Makefile without running `make'.
25815 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25816 test -z "$DEPDIR" && continue
25817 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25818 test -z "am__include" && continue
25819 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25820 # When using ansi2knr, U may be empty or an underscore; expand it
25821 U=`sed -n 's/^U = //p' < "$mf"`
25822 # Find all dependency output files, they are included files with
25823 # $(DEPDIR) in their names. We invoke sed twice because it is the
25824 # simplest approach to changing $(DEPDIR) to its actual value in the
25825 # expansion.
25826 for file in `sed -n "
25827 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25828 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25829 # Make sure the directory exists.
25830 test -f "$dirpart/$file" && continue
25831 fdir=`(dirname "$file") 2>/dev/null ||
25832 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25833 X"$file" : 'X\(//\)[^/]' \| \
25834 X"$file" : 'X\(//\)$' \| \
25835 X"$file" : 'X\(/\)' \| \
25836 . : '\(.\)' 2>/dev/null ||
25837 echo X"$file" |
25838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25840 /^X\(\/\/\)$/{ s//\1/; q; }
25841 /^X\(\/\).*/{ s//\1/; q; }
25842 s/.*/./; q'`
25843 { if $as_mkdir_p; then
25844 mkdir -p $dirpart/$fdir
25845 else
25846 as_dir=$dirpart/$fdir
25847 as_dirs=
25848 while test ! -d "$as_dir"; do
25849 as_dirs="$as_dir $as_dirs"
25850 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25852 X"$as_dir" : 'X\(//\)[^/]' \| \
25853 X"$as_dir" : 'X\(//\)$' \| \
25854 X"$as_dir" : 'X\(/\)' \| \
25855 . : '\(.\)' 2>/dev/null ||
25856 echo X"$as_dir" |
25857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25859 /^X\(\/\/\)$/{ s//\1/; q; }
25860 /^X\(\/\).*/{ s//\1/; q; }
25861 s/.*/./; q'`
25862 done
25863 test ! -n "$as_dirs" || mkdir $as_dirs
25864 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25865 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25866 { (exit 1); exit 1; }; }; }
25868 # echo "creating $dirpart/$file"
25869 echo '# dummy' > "$dirpart/$file"
25870 done
25871 done
25873 gstdint.h )
25874 if test "$GCC" = yes; then
25875 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25876 else
25877 echo "/* generated for $CC */" > tmp-stdint.h
25880 sed 's/^ *//' >> tmp-stdint.h <<EOF
25882 #ifndef GCC_GENERATED_STDINT_H
25883 #define GCC_GENERATED_STDINT_H 1
25885 #include <sys/types.h>
25888 if test "$acx_cv_header_stdint" != stdint.h; then
25889 echo "#include <stddef.h>" >> tmp-stdint.h
25891 if test "$acx_cv_header_stdint" != stddef.h; then
25892 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25895 sed 's/^ *//' >> tmp-stdint.h <<EOF
25896 /* glibc uses these symbols as guards to prevent redefinitions. */
25897 #ifdef __int8_t_defined
25898 #define _INT8_T
25899 #define _INT16_T
25900 #define _INT32_T
25901 #endif
25902 #ifdef __uint32_t_defined
25903 #define _UINT32_T
25904 #endif
25908 # ----------------- done header, emit basic int types -------------
25909 if test "$acx_cv_header_stdint" = stddef.h; then
25910 sed 's/^ *//' >> tmp-stdint.h <<EOF
25912 #ifndef _UINT8_T
25913 #define _UINT8_T
25914 typedef unsigned $acx_cv_type_int8_t uint8_t;
25915 #endif
25917 #ifndef _UINT16_T
25918 #define _UINT16_T
25919 typedef unsigned $acx_cv_type_int16_t uint16_t;
25920 #endif
25922 #ifndef _UINT32_T
25923 #define _UINT32_T
25924 typedef unsigned $acx_cv_type_int32_t uint32_t;
25925 #endif
25927 #ifndef _INT8_T
25928 #define _INT8_T
25929 typedef $acx_cv_type_int8_t int8_t;
25930 #endif
25932 #ifndef _INT16_T
25933 #define _INT16_T
25934 typedef $acx_cv_type_int16_t int16_t;
25935 #endif
25937 #ifndef _INT32_T
25938 #define _INT32_T
25939 typedef $acx_cv_type_int32_t int32_t;
25940 #endif
25942 elif test "$ac_cv_type_u_int32_t" = yes; then
25943 sed 's/^ *//' >> tmp-stdint.h <<EOF
25945 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25946 #ifndef _INT8_T
25947 #define _INT8_T
25948 #endif
25949 #ifndef _INT16_T
25950 #define _INT16_T
25951 #endif
25952 #ifndef _INT32_T
25953 #define _INT32_T
25954 #endif
25956 #ifndef _UINT8_T
25957 #define _UINT8_T
25958 typedef u_int8_t uint8_t;
25959 #endif
25961 #ifndef _UINT16_T
25962 #define _UINT16_T
25963 typedef u_int16_t uint16_t;
25964 #endif
25966 #ifndef _UINT32_T
25967 #define _UINT32_T
25968 typedef u_int32_t uint32_t;
25969 #endif
25971 else
25972 sed 's/^ *//' >> tmp-stdint.h <<EOF
25974 /* Some systems have guard macros to prevent redefinitions, define them. */
25975 #ifndef _INT8_T
25976 #define _INT8_T
25977 #endif
25978 #ifndef _INT16_T
25979 #define _INT16_T
25980 #endif
25981 #ifndef _INT32_T
25982 #define _INT32_T
25983 #endif
25984 #ifndef _UINT8_T
25985 #define _UINT8_T
25986 #endif
25987 #ifndef _UINT16_T
25988 #define _UINT16_T
25989 #endif
25990 #ifndef _UINT32_T
25991 #define _UINT32_T
25992 #endif
25996 # ------------- done basic int types, emit int64_t types ------------
25997 if test "$ac_cv_type_uint64_t" = yes; then
25998 sed 's/^ *//' >> tmp-stdint.h <<EOF
26000 /* system headers have good uint64_t and int64_t */
26001 #ifndef _INT64_T
26002 #define _INT64_T
26003 #endif
26004 #ifndef _UINT64_T
26005 #define _UINT64_T
26006 #endif
26008 elif test "$ac_cv_type_u_int64_t" = yes; then
26009 sed 's/^ *//' >> tmp-stdint.h <<EOF
26011 /* system headers have an u_int64_t (and int64_t) */
26012 #ifndef _INT64_T
26013 #define _INT64_T
26014 #endif
26015 #ifndef _UINT64_T
26016 #define _UINT64_T
26017 typedef u_int64_t uint64_t;
26018 #endif
26020 elif test -n "$acx_cv_type_int64_t"; then
26021 sed 's/^ *//' >> tmp-stdint.h <<EOF
26023 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
26024 #ifndef _INT64_T
26025 #define _INT64_T
26026 typedef $acx_cv_type_int64_t int64_t;
26027 #endif
26028 #ifndef _UINT64_T
26029 #define _UINT64_T
26030 typedef unsigned $acx_cv_type_int64_t uint64_t;
26031 #endif
26033 else
26034 sed 's/^ *//' >> tmp-stdint.h <<EOF
26036 /* some common heuristics for int64_t, using compiler-specific tests */
26037 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
26038 #ifndef _INT64_T
26039 #define _INT64_T
26040 typedef long long int64_t;
26041 #endif
26042 #ifndef _UINT64_T
26043 #define _UINT64_T
26044 typedef unsigned long long uint64_t;
26045 #endif
26047 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26048 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26049 does not implement __extension__. But that compiler doesn't define
26050 __GNUC_MINOR__. */
26051 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26052 # define __extension__
26053 # endif
26055 # ifndef _INT64_T
26056 # define _INT64_T
26057 __extension__ typedef long long int64_t;
26058 # endif
26059 # ifndef _UINT64_T
26060 # define _UINT64_T
26061 __extension__ typedef unsigned long long uint64_t;
26062 # endif
26064 #elif !defined __STRICT_ANSI__
26065 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26067 # ifndef _INT64_T
26068 # define _INT64_T
26069 typedef __int64 int64_t;
26070 # endif
26071 # ifndef _UINT64_T
26072 # define _UINT64_T
26073 typedef unsigned __int64 uint64_t;
26074 # endif
26075 # endif /* compiler */
26077 #endif /* ANSI version */
26081 # ------------- done int64_t types, emit intptr types ------------
26082 if test "$ac_cv_type_uintptr_t" != yes; then
26083 sed 's/^ *//' >> tmp-stdint.h <<EOF
26085 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26086 typedef u$acx_cv_type_intptr_t uintptr_t;
26087 typedef $acx_cv_type_intptr_t intptr_t;
26091 # ------------- done intptr types, emit int_least types ------------
26092 if test "$ac_cv_type_int_least32_t" != yes; then
26093 sed 's/^ *//' >> tmp-stdint.h <<EOF
26095 /* Define int_least types */
26096 typedef int8_t int_least8_t;
26097 typedef int16_t int_least16_t;
26098 typedef int32_t int_least32_t;
26099 #ifdef _INT64_T
26100 typedef int64_t int_least64_t;
26101 #endif
26103 typedef uint8_t uint_least8_t;
26104 typedef uint16_t uint_least16_t;
26105 typedef uint32_t uint_least32_t;
26106 #ifdef _UINT64_T
26107 typedef uint64_t uint_least64_t;
26108 #endif
26112 # ------------- done intptr types, emit int_fast types ------------
26113 if test "$ac_cv_type_int_fast32_t" != yes; then
26114 sed 's/^ *//' >> tmp-stdint.h <<EOF
26116 /* Define int_fast types. short is often slow */
26117 typedef int8_t int_fast8_t;
26118 typedef int int_fast16_t;
26119 typedef int32_t int_fast32_t;
26120 #ifdef _INT64_T
26121 typedef int64_t int_fast64_t;
26122 #endif
26124 typedef uint8_t uint_fast8_t;
26125 typedef unsigned int uint_fast16_t;
26126 typedef uint32_t uint_fast32_t;
26127 #ifdef _UINT64_T
26128 typedef uint64_t uint_fast64_t;
26129 #endif
26133 if test "$ac_cv_type_uintmax_t" != yes; then
26134 sed 's/^ *//' >> tmp-stdint.h <<EOF
26136 /* Define intmax based on what we found */
26137 #ifdef _INT64_T
26138 typedef int64_t intmax_t;
26139 #else
26140 typedef long intmax_t;
26141 #endif
26142 #ifdef _UINT64_T
26143 typedef uint64_t uintmax_t;
26144 #else
26145 typedef unsigned long uintmax_t;
26146 #endif
26150 sed 's/^ *//' >> tmp-stdint.h <<EOF
26152 #endif /* GCC_GENERATED_STDINT_H */
26155 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
26156 rm -f tmp-stdint.h
26157 else
26158 mv -f tmp-stdint.h gstdint.h
26162 esac
26163 done
26164 _ACEOF
26166 cat >>$CONFIG_STATUS <<\_ACEOF
26168 { (exit 0); exit 0; }
26169 _ACEOF
26170 chmod +x $CONFIG_STATUS
26171 ac_clean_files=$ac_clean_files_save
26174 # configure is writing to config.log, and then calls config.status.
26175 # config.status does its own redirection, appending to config.log.
26176 # Unfortunately, on DOS this fails, as config.log is still kept open
26177 # by configure, so config.status won't be able to write to it; its
26178 # output is simply discarded. So we exec the FD to /dev/null,
26179 # effectively closing config.log, so it can be properly (re)opened and
26180 # appended to by config.status. When coming back to configure, we
26181 # need to make the FD available again.
26182 if test "$no_create" != yes; then
26183 ac_cs_success=:
26184 ac_config_status_args=
26185 test "$silent" = yes &&
26186 ac_config_status_args="$ac_config_status_args --quiet"
26187 exec 5>/dev/null
26188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26189 exec 5>>config.log
26190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26191 # would make configure fail if this is the last instruction.
26192 $ac_cs_success || { (exit 1); exit 1; }