* optabs.c (no_conflict_move_test): Check if a result of a
[official-gcc.git] / libgfortran / configure
blob6ace2fb76b15640f5d408c0414b19565e0c49844
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
352 ac_prev=
353 for ac_option
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
366 case $ac_option in
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
385 --config-cache | -C)
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 esac
649 done
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
724 else
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
789 Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 _ACEOF
802 cat <<_ACEOF
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829 _ACEOF
831 cat <<\_ACEOF
833 Program names:
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
838 System types:
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
842 _ACEOF
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848 esac
849 cat <<\_ACEOF
851 Optional Features:
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
864 Optional Packages:
865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
867 --with-gnu-ld assume the C compiler uses GNU ld default=no
868 --with-pic try to use only PIC/non-PIC objects default=use both
870 Some influential environment variables:
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
877 FC Fortran compiler command
878 FCFLAGS Fortran compiler flags
879 CPP C preprocessor
881 Use these variables to override the choices made by `configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
884 _ACEOF
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
889 ac_popdir=`pwd`
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
892 ac_builddir=.
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
898 else
899 ac_dir_suffix= ac_top_builddir=
902 case $srcdir in
903 .) # No --srcdir option. We are building in place.
904 ac_srcdir=.
905 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=.
907 else
908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909 fi ;;
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
913 *) # Relative path.
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 esac
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
920 case `pwd` in
921 .) ac_abs_builddir="$ac_dir";;
923 case "$ac_dir" in
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 esac;;
928 esac
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 esac;;
937 esac
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
941 case $ac_srcdir in
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 esac;;
946 esac
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 esac;;
955 esac
957 cd $ac_dir
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
960 echo
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
963 echo
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
967 echo
968 $ac_configure --help
969 else
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 cd $ac_popdir
973 done
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
978 cat <<\_ACEOF
979 GNU Fortran Runtime Library configure 0.2
980 generated by GNU Autoconf 2.59
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
985 _ACEOF
986 exit 0
988 exec 5>config.log
989 cat >&5 <<_ACEOF
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
996 $ $0 $@
998 _ACEOF
1000 cat <<_ASUNAME
1001 ## --------- ##
1002 ## Platform. ##
1003 ## --------- ##
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1022 _ASUNAME
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 for as_dir in $PATH
1027 IFS=$as_save_IFS
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1030 done
1032 } >&5
1034 cat >&5 <<_ACEOF
1037 ## ----------- ##
1038 ## Core tests. ##
1039 ## ----------- ##
1041 _ACEOF
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_configure_args=
1050 ac_configure_args0=
1051 ac_configure_args1=
1052 ac_sep=
1053 ac_must_keep_next=false
1054 for ac_pass in 1 2
1056 for ac_arg
1058 case $ac_arg in
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 continue ;;
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065 esac
1066 case $ac_pass in
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1072 else
1073 case $ac_arg in
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 esac
1082 -* ) ac_must_keep_next=true ;;
1083 esac
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1087 ac_sep=" "
1089 esac
1090 done
1091 done
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101 # Save into config.log some information that might help in debugging.
1103 echo
1105 cat <<\_ASBOX
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1109 _ASBOX
1110 echo
1111 # The following way of writing the cache mishandles newlines in values,
1113 (set) 2>&1 |
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 *ac_space=\ *)
1116 sed -n \
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 sed -n \
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 esac;
1126 echo
1128 cat <<\_ASBOX
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1132 _ASBOX
1133 echo
1134 for ac_var in $ac_subst_vars
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1138 done | sort
1139 echo
1141 if test -n "$ac_subst_files"; then
1142 cat <<\_ASBOX
1143 ## ------------- ##
1144 ## Output files. ##
1145 ## ------------- ##
1146 _ASBOX
1147 echo
1148 for ac_var in $ac_subst_files
1150 eval ac_val=$`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1152 done | sort
1153 echo
1156 if test -s confdefs.h; then
1157 cat <<\_ASBOX
1158 ## ----------- ##
1159 ## confdefs.h. ##
1160 ## ----------- ##
1161 _ASBOX
1162 echo
1163 sed "/^$/d" confdefs.h | sort
1164 echo
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1169 } >&5
1170 rm -f core *.core &&
1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172 exit $exit_status
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 done
1177 ac_signal=0
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 echo >confdefs.h
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 _ACEOF
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 _ACEOF
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 _ACEOF
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 _ACEOF
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 _ACEOF
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 else
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's/^/| /' "$ac_site_file" >&5
1225 . "$ac_site_file"
1227 done
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1235 case $cache_file in
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1238 esac
1240 else
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1243 >$cache_file
1246 # Check that the precious variables saved in the cache have kept the same
1247 # value.
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1256 set,)
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1260 ,set)
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1264 ,);;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1274 fi;;
1275 esac
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1278 case $ac_new_val in
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1282 esac
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 esac
1288 done
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1297 ac_ext=c
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 ac_config_headers="$ac_config_headers config.h"
1332 # -------
1333 # Options
1334 # -------
1336 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1337 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1338 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1339 if test "${enable_version_specific_runtime_libs+set}" = set; then
1340 enableval="$enable_version_specific_runtime_libs"
1341 case "$enableval" in
1342 yes) version_specific_libs=yes ;;
1343 no) version_specific_libs=no ;;
1344 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1345 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1346 { (exit 1); exit 1; }; };;
1347 esac
1348 else
1349 version_specific_libs=no
1351 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1352 echo "${ECHO_T}$version_specific_libs" >&6
1355 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1357 # You will slowly go insane if you do not grok the following fact: when
1358 # building this library, the top-level /target/ becomes the library's /host/.
1360 # configure then causes --target to default to --host, exactly like any
1361 # other package using autoconf. Therefore, 'target' and 'host' will
1362 # always be the same. This makes sense both for native and cross compilers
1363 # just think about it for a little while. :-)
1365 # Also, if this library is being configured as part of a cross compiler, the
1366 # top-level configure script will pass the "real" host as $with_cross_host.
1368 # Do not delete or change the following two lines. For why, see
1369 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1370 ac_aux_dir=
1371 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1372 if test -f $ac_dir/install-sh; then
1373 ac_aux_dir=$ac_dir
1374 ac_install_sh="$ac_aux_dir/install-sh -c"
1375 break
1376 elif test -f $ac_dir/install.sh; then
1377 ac_aux_dir=$ac_dir
1378 ac_install_sh="$ac_aux_dir/install.sh -c"
1379 break
1380 elif test -f $ac_dir/shtool; then
1381 ac_aux_dir=$ac_dir
1382 ac_install_sh="$ac_aux_dir/shtool install -c"
1383 break
1385 done
1386 if test -z "$ac_aux_dir"; then
1387 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1388 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1389 { (exit 1); exit 1; }; }
1391 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1392 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1393 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4 >/dev/null 2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 else
1406 ac_cv_build_alias=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1421 build=$ac_cv_build
1422 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 else
1432 ac_cv_host_alias=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias=$ac_cv_build_alias
1435 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1443 host=$ac_cv_host
1444 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1449 echo "$as_me:$LINENO: checking target system type" >&5
1450 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1451 if test "${ac_cv_target+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1453 else
1454 ac_cv_target_alias=$target_alias
1455 test "x$ac_cv_target_alias" = "x" &&
1456 ac_cv_target_alias=$ac_cv_host_alias
1457 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1458 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1459 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1460 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1464 echo "${ECHO_T}$ac_cv_target" >&6
1465 target=$ac_cv_target
1466 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1467 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1468 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1471 # The aliases save the names the user supplied, while $host etc.
1472 # will get canonicalized.
1473 test -n "$target_alias" &&
1474 test "$program_prefix$program_suffix$program_transform_name" = \
1475 NONENONEs,x,x, &&
1476 program_prefix=${target_alias}-
1477 target_alias=${target_alias-$host_alias}
1479 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1480 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1481 # 1.8.2: minimum required version
1482 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1483 # of other PACKAGE_* variables will, however, and there's nothing
1484 # we can do about that; they come from AC_INIT).
1485 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1486 # file in the top srcdir, etc, etc), so stop complaining.
1487 # no-dependencies: turns off auto dependency generation (just for now)
1488 # -Wall: turns on all automake warnings...
1489 # -Wno-portability: ...except this one, since GNU make is required.
1490 am__api_version="1.9"
1491 # Find a good install program. We prefer a C program (faster),
1492 # so one script is as good as another. But avoid the broken or
1493 # incompatible versions:
1494 # SysV /etc/install, /usr/sbin/install
1495 # SunOS /usr/etc/install
1496 # IRIX /sbin/install
1497 # AIX /bin/install
1498 # AmigaOS /C/install, which installs bootblocks on floppy discs
1499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1502 # OS/2's system install, which has a completely different semantic
1503 # ./install, which can be erroneously created by make from ./install.sh.
1504 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1505 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1506 if test -z "$INSTALL"; then
1507 if test "${ac_cv_path_install+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 else
1510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511 for as_dir in $PATH
1513 IFS=$as_save_IFS
1514 test -z "$as_dir" && as_dir=.
1515 # Account for people who put trailing slashes in PATH elements.
1516 case $as_dir/ in
1517 ./ | .// | /cC/* | \
1518 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1519 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1520 /usr/ucb/* ) ;;
1522 # OSF1 and SCO ODT 3.0 have their own names for install.
1523 # Don't use installbsd from OSF since it installs stuff as root
1524 # by default.
1525 for ac_prog in ginstall scoinst install; do
1526 for ac_exec_ext in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1528 if test $ac_prog = install &&
1529 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1530 # AIX install. It has an incompatible calling convention.
1532 elif test $ac_prog = install &&
1533 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1534 # program-specific install script used by HP pwplus--don't use.
1536 else
1537 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1538 break 3
1541 done
1542 done
1544 esac
1545 done
1549 if test "${ac_cv_path_install+set}" = set; then
1550 INSTALL=$ac_cv_path_install
1551 else
1552 # As a last resort, use the slow shell script. We don't cache a
1553 # path for INSTALL within a source directory, because that will
1554 # break other packages using the cache if that directory is
1555 # removed, or if the path is relative.
1556 INSTALL=$ac_install_sh
1559 echo "$as_me:$LINENO: result: $INSTALL" >&5
1560 echo "${ECHO_T}$INSTALL" >&6
1562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1563 # It thinks the first close brace ends the variable substitution.
1564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1568 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1570 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1571 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1572 # Just in case
1573 sleep 1
1574 echo timestamp > conftest.file
1575 # Do `set' in a subshell so we don't clobber the current shell's
1576 # arguments. Must try -L first in case configure is actually a
1577 # symlink; some systems play weird games with the mod time of symlinks
1578 # (eg FreeBSD returns the mod time of the symlink's containing
1579 # directory).
1580 if (
1581 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1582 if test "$*" = "X"; then
1583 # -L didn't work.
1584 set X `ls -t $srcdir/configure conftest.file`
1586 rm -f conftest.file
1587 if test "$*" != "X $srcdir/configure conftest.file" \
1588 && test "$*" != "X conftest.file $srcdir/configure"; then
1590 # If neither matched, then we have a broken ls. This can happen
1591 # if, for instance, CONFIG_SHELL is bash and it inherits a
1592 # broken ls alias from the environment. This has actually
1593 # happened. Such a system could not be considered "sane".
1594 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1595 alias in your environment" >&5
1596 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1597 alias in your environment" >&2;}
1598 { (exit 1); exit 1; }; }
1601 test "$2" = conftest.file
1603 then
1604 # Ok.
1606 else
1607 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1608 Check your system clock" >&5
1609 echo "$as_me: error: newly created file is older than distributed files!
1610 Check your system clock" >&2;}
1611 { (exit 1); exit 1; }; }
1613 echo "$as_me:$LINENO: result: yes" >&5
1614 echo "${ECHO_T}yes" >&6
1615 test "$program_prefix" != NONE &&
1616 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1617 # Use a double $ so make ignores it.
1618 test "$program_suffix" != NONE &&
1619 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1620 # Double any \ or $. echo might interpret backslashes.
1621 # By default was `s,x,x', remove it if useless.
1622 cat <<\_ACEOF >conftest.sed
1623 s/[\\$]/&&/g;s/;s,x,x,$//
1624 _ACEOF
1625 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1626 rm conftest.sed
1628 # expand $ac_aux_dir to an absolute path
1629 am_aux_dir=`cd $ac_aux_dir && pwd`
1631 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1632 # Use eval to expand $SHELL
1633 if eval "$MISSING --run true"; then
1634 am_missing_run="$MISSING --run "
1635 else
1636 am_missing_run=
1637 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1638 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1641 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1642 # We used to keeping the `.' as first argument, in order to
1643 # allow $(mkdir_p) to be used without argument. As in
1644 # $(mkdir_p) $(somedir)
1645 # where $(somedir) is conditionally defined. However this is wrong
1646 # for two reasons:
1647 # 1. if the package is installed by a user who cannot write `.'
1648 # make install will fail,
1649 # 2. the above comment should most certainly read
1650 # $(mkdir_p) $(DESTDIR)$(somedir)
1651 # so it does not work when $(somedir) is undefined and
1652 # $(DESTDIR) is not.
1653 # To support the latter case, we have to write
1654 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1655 # so the `.' trick is pointless.
1656 mkdir_p='mkdir -p --'
1657 else
1658 # On NextStep and OpenStep, the `mkdir' command does not
1659 # recognize any option. It will interpret all options as
1660 # directories to create, and then abort because `.' already
1661 # exists.
1662 for d in ./-p ./--version;
1664 test -d $d && rmdir $d
1665 done
1666 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1667 if test -f "$ac_aux_dir/mkinstalldirs"; then
1668 mkdir_p='$(mkinstalldirs)'
1669 else
1670 mkdir_p='$(install_sh) -d'
1674 for ac_prog in gawk mawk nawk awk
1676 # Extract the first word of "$ac_prog", so it can be a program name with args.
1677 set dummy $ac_prog; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_AWK+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 else
1683 if test -n "$AWK"; then
1684 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1685 else
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687 for as_dir in $PATH
1689 IFS=$as_save_IFS
1690 test -z "$as_dir" && as_dir=.
1691 for ac_exec_ext in '' $ac_executable_extensions; do
1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693 ac_cv_prog_AWK="$ac_prog"
1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 break 2
1697 done
1698 done
1702 AWK=$ac_cv_prog_AWK
1703 if test -n "$AWK"; then
1704 echo "$as_me:$LINENO: result: $AWK" >&5
1705 echo "${ECHO_T}$AWK" >&6
1706 else
1707 echo "$as_me:$LINENO: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1711 test -n "$AWK" && break
1712 done
1714 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1715 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1716 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1717 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1719 else
1720 cat >conftest.make <<\_ACEOF
1721 all:
1722 @echo 'ac_maketemp="$(MAKE)"'
1723 _ACEOF
1724 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1725 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1726 if test -n "$ac_maketemp"; then
1727 eval ac_cv_prog_make_${ac_make}_set=yes
1728 else
1729 eval ac_cv_prog_make_${ac_make}_set=no
1731 rm -f conftest.make
1733 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1734 echo "$as_me:$LINENO: result: yes" >&5
1735 echo "${ECHO_T}yes" >&6
1736 SET_MAKE=
1737 else
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1740 SET_MAKE="MAKE=${MAKE-make}"
1743 rm -rf .tst 2>/dev/null
1744 mkdir .tst 2>/dev/null
1745 if test -d .tst; then
1746 am__leading_dot=.
1747 else
1748 am__leading_dot=_
1750 rmdir .tst 2>/dev/null
1752 # test to see if srcdir already configured
1753 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1754 test -f $srcdir/config.status; then
1755 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1756 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1757 { (exit 1); exit 1; }; }
1760 # test whether we have cygpath
1761 if test -z "$CYGPATH_W"; then
1762 if (cygpath --version) >/dev/null 2>/dev/null; then
1763 CYGPATH_W='cygpath -w'
1764 else
1765 CYGPATH_W=echo
1770 # Define the identity of the package.
1771 PACKAGE='libgfortran'
1772 VERSION='0.2'
1775 # Some tools Automake needs.
1777 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1780 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1783 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1786 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1789 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1791 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1793 # Installed binaries are usually stripped using `strip' when the user
1794 # run `make install-strip'. However `strip' might not be the right
1795 # tool to use in cross-compilation environments, therefore Automake
1796 # will honor the `STRIP' environment variable to overrule this program.
1797 if test "$cross_compiling" != no; then
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}strip; ac_word=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_STRIP+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 else
1806 if test -n "$STRIP"; then
1807 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1808 else
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810 for as_dir in $PATH
1812 IFS=$as_save_IFS
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818 break 2
1820 done
1821 done
1825 STRIP=$ac_cv_prog_STRIP
1826 if test -n "$STRIP"; then
1827 echo "$as_me:$LINENO: result: $STRIP" >&5
1828 echo "${ECHO_T}$STRIP" >&6
1829 else
1830 echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1835 if test -z "$ac_cv_prog_STRIP"; then
1836 ac_ct_STRIP=$STRIP
1837 # Extract the first word of "strip", so it can be a program name with args.
1838 set dummy strip; ac_word=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 else
1844 if test -n "$ac_ct_STRIP"; then
1845 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1846 else
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 for as_dir in $PATH
1850 IFS=$as_save_IFS
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_ac_ct_STRIP="strip"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 break 2
1858 done
1859 done
1861 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1865 if test -n "$ac_ct_STRIP"; then
1866 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1867 echo "${ECHO_T}$ac_ct_STRIP" >&6
1868 else
1869 echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1873 STRIP=$ac_ct_STRIP
1874 else
1875 STRIP="$ac_cv_prog_STRIP"
1879 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1881 # We need awk for the "check" target. The system "awk" is bad on
1882 # some platforms.
1883 # Always define AMTAR for backward compatibility.
1885 AMTAR=${AMTAR-"${am_missing_run}tar"}
1887 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1894 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1895 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1896 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1897 if test "${enable_maintainer_mode+set}" = set; then
1898 enableval="$enable_maintainer_mode"
1899 USE_MAINTAINER_MODE=$enableval
1900 else
1901 USE_MAINTAINER_MODE=no
1903 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1904 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1907 if test $USE_MAINTAINER_MODE = yes; then
1908 MAINTAINER_MODE_TRUE=
1909 MAINTAINER_MODE_FALSE='#'
1910 else
1911 MAINTAINER_MODE_TRUE='#'
1912 MAINTAINER_MODE_FALSE=
1915 MAINT=$MAINTAINER_MODE_TRUE
1918 # Default to --enable-multilib
1919 # Check whether --enable-multilib or --disable-multilib was given.
1920 if test "${enable_multilib+set}" = set; then
1921 enableval="$enable_multilib"
1922 case "$enableval" in
1923 yes) multilib=yes ;;
1924 no) multilib=no ;;
1925 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1926 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1927 { (exit 1); exit 1; }; } ;;
1928 esac
1929 else
1930 multilib=yes
1933 # We may get other options which we leave undocumented:
1934 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1935 # See config-ml.in if you want the gory details.
1937 if test "$srcdir" = "."; then
1938 if test "$with_target_subdir" != "."; then
1939 multi_basedir="$srcdir/$with_multisrctop../.."
1940 else
1941 multi_basedir="$srcdir/$with_multisrctop.."
1943 else
1944 multi_basedir="$srcdir/.."
1948 ac_config_commands="$ac_config_commands default-1"
1951 # Handy for debugging:
1952 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1954 # Are we being configured with some form of cross compiler?
1955 # NB: We don't actually need to know this just now, but when, say, a test
1956 # suite is included, we'll have to know.
1957 if test "$build" != "$host"; then
1958 LIBGFOR_IS_NATIVE=false
1960 else
1961 LIBGFOR_IS_NATIVE=true
1964 # Calculate toolexeclibdir
1965 # Also toolexecdir, though it's only used in toolexeclibdir
1966 case ${version_specific_libs} in
1967 yes)
1968 # Need the gcc compiler version to know where to install libraries
1969 # and header files if --enable-version-specific-runtime-libs option
1970 # is selected.
1971 toolexecdir='$(libdir)/gcc/$(target_alias)'
1972 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1975 if test -n "$with_cross_host" &&
1976 test x"$with_cross_host" != x"no"; then
1977 # Install a library built with a cross compiler in tooldir, not libdir.
1978 toolexecdir='$(exec_prefix)/$(target_alias)'
1979 toolexeclibdir='$(toolexecdir)/lib'
1980 else
1981 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1982 toolexeclibdir='$(libdir)'
1984 multi_os_directory=`$CC -print-multi-os-directory`
1985 case $multi_os_directory in
1986 .) ;; # Avoid trailing /.
1987 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1988 esac
1990 esac
1994 # Check the compiler.
1995 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1996 # We must force CC to /not/ be precious variables; otherwise
1997 # the wrong, non-multilib-adjusted value will be used in multilibs.
1998 # As a side effect, we have to subst CFLAGS ourselves.
2002 ac_ext=c
2003 ac_cpp='$CPP $CPPFLAGS'
2004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007 if test -n "$ac_tool_prefix"; then
2008 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2009 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_CC+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 if test -n "$CC"; then
2016 ac_cv_prog_CC="$CC" # Let the user override the test.
2017 else
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 for as_dir in $PATH
2021 IFS=$as_save_IFS
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 break 2
2029 done
2030 done
2034 CC=$ac_cv_prog_CC
2035 if test -n "$CC"; then
2036 echo "$as_me:$LINENO: result: $CC" >&5
2037 echo "${ECHO_T}$CC" >&6
2038 else
2039 echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6
2044 if test -z "$ac_cv_prog_CC"; then
2045 ac_ct_CC=$CC
2046 # Extract the first word of "gcc", so it can be a program name with args.
2047 set dummy gcc; ac_word=$2
2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 else
2053 if test -n "$ac_ct_CC"; then
2054 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2055 else
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_ac_ct_CC="gcc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2067 done
2068 done
2072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2073 if test -n "$ac_ct_CC"; then
2074 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2075 echo "${ECHO_T}$ac_ct_CC" >&6
2076 else
2077 echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2081 CC=$ac_ct_CC
2082 else
2083 CC="$ac_cv_prog_CC"
2086 if test -z "$CC"; then
2087 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2089 set dummy ${ac_tool_prefix}cc; ac_word=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095 if test -n "$CC"; then
2096 ac_cv_prog_CC="$CC" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_CC="${ac_tool_prefix}cc"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2109 done
2110 done
2114 CC=$ac_cv_prog_CC
2115 if test -n "$CC"; then
2116 echo "$as_me:$LINENO: result: $CC" >&5
2117 echo "${ECHO_T}$CC" >&6
2118 else
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2124 if test -z "$ac_cv_prog_CC"; then
2125 ac_ct_CC=$CC
2126 # Extract the first word of "cc", so it can be a program name with args.
2127 set dummy cc; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 if test -n "$ac_ct_CC"; then
2134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_ac_ct_CC="cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2147 done
2148 done
2152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2153 if test -n "$ac_ct_CC"; then
2154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2155 echo "${ECHO_T}$ac_ct_CC" >&6
2156 else
2157 echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6
2161 CC=$ac_ct_CC
2162 else
2163 CC="$ac_cv_prog_CC"
2167 if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc; ac_word=$2
2170 echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 else
2178 ac_prog_rejected=no
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH
2182 IFS=$as_save_IFS
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected=yes
2188 continue
2190 ac_cv_prog_CC="cc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 break 2
2194 done
2195 done
2197 if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy $ac_cv_prog_CC
2200 shift
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2205 shift
2206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2211 CC=$ac_cv_prog_CC
2212 if test -n "$CC"; then
2213 echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6
2215 else
2216 echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog in cl
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227 echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 else
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2234 else
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2246 done
2247 done
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253 echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6
2255 else
2256 echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2260 test -n "$CC" && break
2261 done
2263 if test -z "$CC"; then
2264 ac_ct_CC=$CC
2265 for ac_prog in cl
2267 # Extract the first word of "$ac_prog", so it can be a program name with args.
2268 set dummy $ac_prog; ac_word=$2
2269 echo "$as_me:$LINENO: checking for $ac_word" >&5
2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 else
2274 if test -n "$ac_ct_CC"; then
2275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2276 else
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 for as_dir in $PATH
2280 IFS=$as_save_IFS
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 ac_cv_prog_ac_ct_CC="$ac_prog"
2285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 break 2
2288 done
2289 done
2293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294 if test -n "$ac_ct_CC"; then
2295 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2296 echo "${ECHO_T}$ac_ct_CC" >&6
2297 else
2298 echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6
2302 test -n "$ac_ct_CC" && break
2303 done
2305 CC=$ac_ct_CC
2311 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2312 See \`config.log' for more details." >&5
2313 echo "$as_me: error: no acceptable C compiler found in \$PATH
2314 See \`config.log' for more details." >&2;}
2315 { (exit 1); exit 1; }; }
2317 # Provide some information about the compiler.
2318 echo "$as_me:$LINENO:" \
2319 "checking for C compiler version" >&5
2320 ac_compiler=`set X $ac_compile; echo $2`
2321 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2322 (eval $ac_compiler --version </dev/null >&5) 2>&5
2323 ac_status=$?
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2327 (eval $ac_compiler -v </dev/null >&5) 2>&5
2328 ac_status=$?
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }
2331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2332 (eval $ac_compiler -V </dev/null >&5) 2>&5
2333 ac_status=$?
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }
2337 cat >conftest.$ac_ext <<_ACEOF
2338 /* confdefs.h. */
2339 _ACEOF
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2345 main ()
2349 return 0;
2351 _ACEOF
2352 # FIXME: Cleanup?
2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2354 (eval $ac_link) 2>&5
2355 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; then
2358 gcc_no_link=no
2359 else
2360 gcc_no_link=yes
2363 if test x$gcc_no_link = xyes; then
2364 # Setting cross_compile will disable run tests; it will
2365 # also disable AC_CHECK_FILE but that's generally
2366 # correct if we can't link.
2367 cross_compiling=yes
2368 EXEEXT=
2369 else
2370 cat >conftest.$ac_ext <<_ACEOF
2371 /* confdefs.h. */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2378 main ()
2382 return 0;
2384 _ACEOF
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2389 # of exeext.
2390 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394 (eval $ac_link_default) 2>&5
2395 ac_status=$?
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; then
2398 # Find the output, starting from the most likely. This scheme is
2399 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400 # resort.
2402 # Be careful to initialize this variable, since it used to be cached.
2403 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2404 ac_cv_exeext=
2405 # b.out is created by i960 compilers.
2406 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2408 test -f "$ac_file" || continue
2409 case $ac_file in
2410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2412 conftest.$ac_ext )
2413 # This is the source file.
2415 [ab].out )
2416 # We found the default executable, but exeext='' is most
2417 # certainly right.
2418 break;;
2419 *.* )
2420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421 # FIXME: I believe we export ac_cv_exeext for Libtool,
2422 # but it would be cool to find out if it's true. Does anybody
2423 # maintain Libtool? --akim.
2424 export ac_cv_exeext
2425 break;;
2427 break;;
2428 esac
2429 done
2430 else
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: C compiler cannot create executables
2437 See \`config.log' for more details." >&2;}
2438 { (exit 77); exit 77; }; }
2441 ac_exeext=$ac_cv_exeext
2442 echo "$as_me:$LINENO: result: $ac_file" >&5
2443 echo "${ECHO_T}$ac_file" >&6
2445 # Check the compiler produces executables we can run. If not, either
2446 # the compiler is broken, or we cross compile.
2447 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450 # If not cross compiling, check that we can run a simple program.
2451 if test "$cross_compiling" != yes; then
2452 if { ac_try='./$ac_file'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 (eval $ac_try) 2>&5
2455 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2458 cross_compiling=no
2459 else
2460 if test "$cross_compiling" = maybe; then
2461 cross_compiling=yes
2462 else
2463 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2464 If you meant to cross compile, use \`--host'.
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: cannot run C compiled programs.
2467 If you meant to cross compile, use \`--host'.
2468 See \`config.log' for more details." >&2;}
2469 { (exit 1); exit 1; }; }
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2476 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477 ac_clean_files=$ac_clean_files_save
2478 # Check the compiler produces executables we can run. If not, either
2479 # the compiler is broken, or we cross compile.
2480 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483 echo "${ECHO_T}$cross_compiling" >&6
2485 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488 (eval $ac_link) 2>&5
2489 ac_status=$?
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; then
2492 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2495 # `rm'.
2496 for ac_file in conftest.exe conftest conftest.*; do
2497 test -f "$ac_file" || continue
2498 case $ac_file in
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2500 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501 export ac_cv_exeext
2502 break;;
2503 * ) break;;
2504 esac
2505 done
2506 else
2507 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&5
2509 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510 See \`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }
2514 rm -f conftest$ac_cv_exeext
2515 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516 echo "${ECHO_T}$ac_cv_exeext" >&6
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2520 ac_exeext=$EXEEXT
2522 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524 if test "${ac_cv_objext+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else
2527 cat >conftest.$ac_ext <<_ACEOF
2528 /* confdefs.h. */
2529 _ACEOF
2530 cat confdefs.h >>conftest.$ac_ext
2531 cat >>conftest.$ac_ext <<_ACEOF
2532 /* end confdefs.h. */
2535 main ()
2539 return 0;
2541 _ACEOF
2542 rm -f conftest.o conftest.obj
2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544 (eval $ac_compile) 2>&5
2545 ac_status=$?
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; then
2548 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2551 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2552 break;;
2553 esac
2554 done
2555 else
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2559 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2560 See \`config.log' for more details." >&5
2561 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2562 See \`config.log' for more details." >&2;}
2563 { (exit 1); exit 1; }; }
2566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2568 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2569 echo "${ECHO_T}$ac_cv_objext" >&6
2570 OBJEXT=$ac_cv_objext
2571 ac_objext=$OBJEXT
2572 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2573 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2574 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2587 #ifndef __GNUC__
2588 choke me
2589 #endif
2592 return 0;
2594 _ACEOF
2595 rm -f conftest.$ac_objext
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>conftest.er1
2598 ac_status=$?
2599 grep -v '^ *+' conftest.er1 >conftest.err
2600 rm -f conftest.er1
2601 cat conftest.err >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } &&
2604 { ac_try='test -z "$ac_c_werror_flag"
2605 || test ! -s conftest.err'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 (eval $ac_try) 2>&5
2608 ac_status=$?
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 (eval $ac_try) 2>&5
2614 ac_status=$?
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2617 ac_compiler_gnu=yes
2618 else
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2622 ac_compiler_gnu=no
2624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2628 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2629 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2630 GCC=`test $ac_compiler_gnu = yes && echo yes`
2631 ac_test_CFLAGS=${CFLAGS+set}
2632 ac_save_CFLAGS=$CFLAGS
2633 CFLAGS="-g"
2634 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2636 if test "${ac_cv_prog_cc_g+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 else
2639 cat >conftest.$ac_ext <<_ACEOF
2640 /* confdefs.h. */
2641 _ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2647 main ()
2651 return 0;
2653 _ACEOF
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2657 ac_status=$?
2658 grep -v '^ *+' conftest.er1 >conftest.err
2659 rm -f conftest.er1
2660 cat conftest.err >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try='test -z "$ac_c_werror_flag"
2664 || test ! -s conftest.err'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } &&
2670 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 (eval $ac_try) 2>&5
2673 ac_status=$?
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2676 ac_cv_prog_cc_g=yes
2677 else
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2681 ac_cv_prog_cc_g=no
2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2685 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2686 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2687 if test "$ac_test_CFLAGS" = set; then
2688 CFLAGS=$ac_save_CFLAGS
2689 elif test $ac_cv_prog_cc_g = yes; then
2690 if test "$GCC" = yes; then
2691 CFLAGS="-g -O2"
2692 else
2693 CFLAGS="-g"
2695 else
2696 if test "$GCC" = yes; then
2697 CFLAGS="-O2"
2698 else
2699 CFLAGS=
2702 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2703 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2704 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 else
2707 ac_cv_prog_cc_stdc=no
2708 ac_save_CC=$CC
2709 cat >conftest.$ac_ext <<_ACEOF
2710 /* confdefs.h. */
2711 _ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2715 #include <stdarg.h>
2716 #include <stdio.h>
2717 #include <sys/types.h>
2718 #include <sys/stat.h>
2719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2720 struct buf { int x; };
2721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2722 static char *e (p, i)
2723 char **p;
2724 int i;
2726 return p[i];
2728 static char *f (char * (*g) (char **, int), char **p, ...)
2730 char *s;
2731 va_list v;
2732 va_start (v,p);
2733 s = g (p, va_arg (v,int));
2734 va_end (v);
2735 return s;
2738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2739 function prototypes and stuff, but not '\xHH' hex character constants.
2740 These don't provoke an error unfortunately, instead are silently treated
2741 as 'x'. The following induces an error, until -std1 is added to get
2742 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2743 array size at least. It's necessary to write '\x00'==0 to get something
2744 that's true only with -std1. */
2745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2747 int test (int i, double x);
2748 struct s1 {int (*f) (int a);};
2749 struct s2 {int (*f) (double a);};
2750 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2751 int argc;
2752 char **argv;
2754 main ()
2756 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2758 return 0;
2760 _ACEOF
2761 # Don't try gcc -ansi; that turns off useful extensions and
2762 # breaks some systems' header files.
2763 # AIX -qlanglvl=ansi
2764 # Ultrix and OSF/1 -std1
2765 # HP-UX 10.20 and later -Ae
2766 # HP-UX older versions -Aa -D_HPUX_SOURCE
2767 # SVR4 -Xc -D__EXTENSIONS__
2768 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2770 CC="$ac_save_CC $ac_arg"
2771 rm -f conftest.$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2774 ac_status=$?
2775 grep -v '^ *+' conftest.er1 >conftest.err
2776 rm -f conftest.er1
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 (eval $ac_try) 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 (eval $ac_try) 2>&5
2790 ac_status=$?
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2793 ac_cv_prog_cc_stdc=$ac_arg
2794 break
2795 else
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2800 rm -f conftest.err conftest.$ac_objext
2801 done
2802 rm -f conftest.$ac_ext conftest.$ac_objext
2803 CC=$ac_save_CC
2807 case "x$ac_cv_prog_cc_stdc" in
2808 x|xno)
2809 echo "$as_me:$LINENO: result: none needed" >&5
2810 echo "${ECHO_T}none needed" >&6 ;;
2812 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2813 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2814 CC="$CC $ac_cv_prog_cc_stdc" ;;
2815 esac
2817 # Some people use a C++ compiler to compile C. Since we use `exit',
2818 # in C++ we need to declare it. In case someone uses the same compiler
2819 # for both compiling C and C++ we need to have the C++ compiler decide
2820 # the declaration of exit, since it's the most demanding environment.
2821 cat >conftest.$ac_ext <<_ACEOF
2822 #ifndef __cplusplus
2823 choke me
2824 #endif
2825 _ACEOF
2826 rm -f conftest.$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2829 ac_status=$?
2830 grep -v '^ *+' conftest.er1 >conftest.err
2831 rm -f conftest.er1
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_c_werror_flag"
2836 || test ! -s conftest.err'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 (eval $ac_try) 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; } &&
2842 { ac_try='test -s conftest.$ac_objext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844 (eval $ac_try) 2>&5
2845 ac_status=$?
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2848 for ac_declaration in \
2849 '' \
2850 'extern "C" void std::exit (int) throw (); using std::exit;' \
2851 'extern "C" void std::exit (int); using std::exit;' \
2852 'extern "C" void exit (int) throw ();' \
2853 'extern "C" void exit (int);' \
2854 'void exit (int);'
2856 cat >conftest.$ac_ext <<_ACEOF
2857 /* confdefs.h. */
2858 _ACEOF
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2862 $ac_declaration
2863 #include <stdlib.h>
2865 main ()
2867 exit (42);
2869 return 0;
2871 _ACEOF
2872 rm -f conftest.$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2875 ac_status=$?
2876 grep -v '^ *+' conftest.er1 >conftest.err
2877 rm -f conftest.er1
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try='test -z "$ac_c_werror_flag"
2882 || test ! -s conftest.err'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 (eval $ac_try) 2>&5
2885 ac_status=$?
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try='test -s conftest.$ac_objext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890 (eval $ac_try) 2>&5
2891 ac_status=$?
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2895 else
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 continue
2901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2902 cat >conftest.$ac_ext <<_ACEOF
2903 /* confdefs.h. */
2904 _ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2908 $ac_declaration
2910 main ()
2912 exit (42);
2914 return 0;
2916 _ACEOF
2917 rm -f conftest.$ac_objext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>conftest.er1
2920 ac_status=$?
2921 grep -v '^ *+' conftest.er1 >conftest.err
2922 rm -f conftest.er1
2923 cat conftest.err >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
2926 { ac_try='test -z "$ac_c_werror_flag"
2927 || test ! -s conftest.err'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 (eval $ac_try) 2>&5
2930 ac_status=$?
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; } &&
2933 { ac_try='test -s conftest.$ac_objext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 (eval $ac_try) 2>&5
2936 ac_status=$?
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2939 break
2940 else
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2946 done
2947 rm -f conftest*
2948 if test -n "$ac_declaration"; then
2949 echo '#ifdef __cplusplus' >>confdefs.h
2950 echo $ac_declaration >>confdefs.h
2951 echo '#endif' >>confdefs.h
2954 else
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2960 ac_ext=c
2961 ac_cpp='$CPP $CPPFLAGS'
2962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2968 # Add -Wall if we are using GCC.
2969 if test "x$GCC" = "xyes"; then
2970 AM_FCFLAGS="-Wall"
2971 ## We like to use C99 routines when available. This makes sure that
2972 ## __STDC_VERSION__ is set such that libc includes make them available.
2973 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2978 # Find other programs we need.
2979 if test -n "$ac_tool_prefix"; then
2980 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2981 set dummy ${ac_tool_prefix}as; ac_word=$2
2982 echo "$as_me:$LINENO: checking for $ac_word" >&5
2983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2984 if test "${ac_cv_prog_AS+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 else
2987 if test -n "$AS"; then
2988 ac_cv_prog_AS="$AS" # Let the user override the test.
2989 else
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 for as_dir in $PATH
2993 IFS=$as_save_IFS
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_AS="${ac_tool_prefix}as"
2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 break 2
3001 done
3002 done
3006 AS=$ac_cv_prog_AS
3007 if test -n "$AS"; then
3008 echo "$as_me:$LINENO: result: $AS" >&5
3009 echo "${ECHO_T}$AS" >&6
3010 else
3011 echo "$as_me:$LINENO: result: no" >&5
3012 echo "${ECHO_T}no" >&6
3016 if test -z "$ac_cv_prog_AS"; then
3017 ac_ct_AS=$AS
3018 # Extract the first word of "as", so it can be a program name with args.
3019 set dummy as; ac_word=$2
3020 echo "$as_me:$LINENO: checking for $ac_word" >&5
3021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3022 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3023 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 else
3025 if test -n "$ac_ct_AS"; then
3026 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3027 else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 for as_dir in $PATH
3031 IFS=$as_save_IFS
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_ac_ct_AS="as"
3036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 break 2
3039 done
3040 done
3044 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3045 if test -n "$ac_ct_AS"; then
3046 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3047 echo "${ECHO_T}$ac_ct_AS" >&6
3048 else
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3053 AS=$ac_ct_AS
3054 else
3055 AS="$ac_cv_prog_AS"
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3060 set dummy ${ac_tool_prefix}ar; ac_word=$2
3061 echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063 if test "${ac_cv_prog_AR+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 else
3066 if test -n "$AR"; then
3067 ac_cv_prog_AR="$AR" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3072 IFS=$as_save_IFS
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_AR="${ac_tool_prefix}ar"
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 break 2
3080 done
3081 done
3085 AR=$ac_cv_prog_AR
3086 if test -n "$AR"; then
3087 echo "$as_me:$LINENO: result: $AR" >&5
3088 echo "${ECHO_T}$AR" >&6
3089 else
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3095 if test -z "$ac_cv_prog_AR"; then
3096 ac_ct_AR=$AR
3097 # Extract the first word of "ar", so it can be a program name with args.
3098 set dummy ar; ac_word=$2
3099 echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3101 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 else
3104 if test -n "$ac_ct_AR"; then
3105 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3106 else
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 for as_dir in $PATH
3110 IFS=$as_save_IFS
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_ac_ct_AR="ar"
3115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 break 2
3118 done
3119 done
3123 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3124 if test -n "$ac_ct_AR"; then
3125 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3126 echo "${ECHO_T}$ac_ct_AR" >&6
3127 else
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3132 AR=$ac_ct_AR
3133 else
3134 AR="$ac_cv_prog_AR"
3137 if test -n "$ac_tool_prefix"; then
3138 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_RANLIB+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3144 else
3145 if test -n "$RANLIB"; then
3146 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3147 else
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH
3151 IFS=$as_save_IFS
3152 test -z "$as_dir" && as_dir=.
3153 for ac_exec_ext in '' $ac_executable_extensions; do
3154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 break 2
3159 done
3160 done
3164 RANLIB=$ac_cv_prog_RANLIB
3165 if test -n "$RANLIB"; then
3166 echo "$as_me:$LINENO: result: $RANLIB" >&5
3167 echo "${ECHO_T}$RANLIB" >&6
3168 else
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3174 if test -z "$ac_cv_prog_RANLIB"; then
3175 ac_ct_RANLIB=$RANLIB
3176 # Extract the first word of "ranlib", so it can be a program name with args.
3177 set dummy ranlib; ac_word=$2
3178 echo "$as_me:$LINENO: checking for $ac_word" >&5
3179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 else
3183 if test -n "$ac_ct_RANLIB"; then
3184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3185 else
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH
3189 IFS=$as_save_IFS
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_RANLIB="ranlib"
3194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 break 2
3197 done
3198 done
3200 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3204 if test -n "$ac_ct_RANLIB"; then
3205 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3206 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3207 else
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3212 RANLIB=$ac_ct_RANLIB
3213 else
3214 RANLIB="$ac_cv_prog_RANLIB"
3217 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3218 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3219 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3220 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 else
3223 cat >conftest.make <<\_ACEOF
3224 all:
3225 @echo 'ac_maketemp="$(MAKE)"'
3226 _ACEOF
3227 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3228 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3229 if test -n "$ac_maketemp"; then
3230 eval ac_cv_prog_make_${ac_make}_set=yes
3231 else
3232 eval ac_cv_prog_make_${ac_make}_set=no
3234 rm -f conftest.make
3236 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3237 echo "$as_me:$LINENO: result: yes" >&5
3238 echo "${ECHO_T}yes" >&6
3239 SET_MAKE=
3240 else
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3243 SET_MAKE="MAKE=${MAKE-make}"
3246 # Find a good install program. We prefer a C program (faster),
3247 # so one script is as good as another. But avoid the broken or
3248 # incompatible versions:
3249 # SysV /etc/install, /usr/sbin/install
3250 # SunOS /usr/etc/install
3251 # IRIX /sbin/install
3252 # AIX /bin/install
3253 # AmigaOS /C/install, which installs bootblocks on floppy discs
3254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3257 # OS/2's system install, which has a completely different semantic
3258 # ./install, which can be erroneously created by make from ./install.sh.
3259 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3260 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3261 if test -z "$INSTALL"; then
3262 if test "${ac_cv_path_install+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 else
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3268 IFS=$as_save_IFS
3269 test -z "$as_dir" && as_dir=.
3270 # Account for people who put trailing slashes in PATH elements.
3271 case $as_dir/ in
3272 ./ | .// | /cC/* | \
3273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3274 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3275 /usr/ucb/* ) ;;
3277 # OSF1 and SCO ODT 3.0 have their own names for install.
3278 # Don't use installbsd from OSF since it installs stuff as root
3279 # by default.
3280 for ac_prog in ginstall scoinst install; do
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3283 if test $ac_prog = install &&
3284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3285 # AIX install. It has an incompatible calling convention.
3287 elif test $ac_prog = install &&
3288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3289 # program-specific install script used by HP pwplus--don't use.
3291 else
3292 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3293 break 3
3296 done
3297 done
3299 esac
3300 done
3304 if test "${ac_cv_path_install+set}" = set; then
3305 INSTALL=$ac_cv_path_install
3306 else
3307 # As a last resort, use the slow shell script. We don't cache a
3308 # path for INSTALL within a source directory, because that will
3309 # break other packages using the cache if that directory is
3310 # removed, or if the path is relative.
3311 INSTALL=$ac_install_sh
3314 echo "$as_me:$LINENO: result: $INSTALL" >&5
3315 echo "${ECHO_T}$INSTALL" >&6
3317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3318 # It thinks the first close brace ends the variable substitution.
3319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3326 # Configure libtool
3327 #AC_MSG_NOTICE([====== Starting libtool configuration])
3329 # Check whether --enable-shared or --disable-shared was given.
3330 if test "${enable_shared+set}" = set; then
3331 enableval="$enable_shared"
3332 p=${PACKAGE-default}
3333 case $enableval in
3334 yes) enable_shared=yes ;;
3335 no) enable_shared=no ;;
3337 enable_shared=no
3338 # Look at the argument we got. We use all the common list separators.
3339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3340 for pkg in $enableval; do
3341 if test "X$pkg" = "X$p"; then
3342 enable_shared=yes
3344 done
3345 IFS="$ac_save_ifs"
3347 esac
3348 else
3349 enable_shared=yes
3351 # Check whether --enable-static or --disable-static was given.
3352 if test "${enable_static+set}" = set; then
3353 enableval="$enable_static"
3354 p=${PACKAGE-default}
3355 case $enableval in
3356 yes) enable_static=yes ;;
3357 no) enable_static=no ;;
3359 enable_static=no
3360 # Look at the argument we got. We use all the common list separators.
3361 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3362 for pkg in $enableval; do
3363 if test "X$pkg" = "X$p"; then
3364 enable_static=yes
3366 done
3367 IFS="$ac_save_ifs"
3369 esac
3370 else
3371 enable_static=yes
3373 # Check whether --enable-fast-install or --disable-fast-install was given.
3374 if test "${enable_fast_install+set}" = set; then
3375 enableval="$enable_fast_install"
3376 p=${PACKAGE-default}
3377 case $enableval in
3378 yes) enable_fast_install=yes ;;
3379 no) enable_fast_install=no ;;
3381 enable_fast_install=no
3382 # Look at the argument we got. We use all the common list separators.
3383 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3384 for pkg in $enableval; do
3385 if test "X$pkg" = "X$p"; then
3386 enable_fast_install=yes
3388 done
3389 IFS="$ac_save_ifs"
3391 esac
3392 else
3393 enable_fast_install=yes
3396 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3397 if test "${with_gnu_ld+set}" = set; then
3398 withval="$with_gnu_ld"
3399 test "$withval" = no || with_gnu_ld=yes
3400 else
3401 with_gnu_ld=no
3403 ac_prog=ld
3404 if test "$GCC" = yes; then
3405 # Check if gcc -print-prog-name=ld gives a path.
3406 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3407 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3408 case $host in
3409 *-*-mingw*)
3410 # gcc leaves a trailing carriage return which upsets mingw
3411 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3413 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3414 esac
3415 case $ac_prog in
3416 # Accept absolute paths.
3417 [\\/]* | [A-Za-z]:[\\/]*)
3418 re_direlt='/[^/][^/]*/\.\./'
3419 # Canonicalize the path of ld
3420 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3421 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3422 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3423 done
3424 test -z "$LD" && LD="$ac_prog"
3427 # If it fails, then pretend we aren't using GCC.
3428 ac_prog=ld
3431 # If it is relative, then search for the first ld in PATH.
3432 with_gnu_ld=unknown
3434 esac
3435 elif test "$with_gnu_ld" = yes; then
3436 echo "$as_me:$LINENO: checking for GNU ld" >&5
3437 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3438 else
3439 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3440 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3442 if test "${lt_cv_path_LD+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 else
3445 if test -z "$LD"; then
3446 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3447 for ac_dir in $PATH; do
3448 test -z "$ac_dir" && ac_dir=.
3449 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3450 lt_cv_path_LD="$ac_dir/$ac_prog"
3451 # Check to see if the program is GNU ld. I'd rather use --version,
3452 # but apparently some GNU ld's only accept -v.
3453 # Break only if it was the GNU/non-GNU ld that we prefer.
3454 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3455 test "$with_gnu_ld" != no && break
3456 else
3457 test "$with_gnu_ld" != yes && break
3460 done
3461 IFS="$ac_save_ifs"
3462 else
3463 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3467 LD="$lt_cv_path_LD"
3468 if test -n "$LD"; then
3469 echo "$as_me:$LINENO: result: $LD" >&5
3470 echo "${ECHO_T}$LD" >&6
3471 else
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3475 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3476 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3477 { (exit 1); exit 1; }; }
3478 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3479 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3480 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 else
3483 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3484 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3485 lt_cv_prog_gnu_ld=yes
3486 else
3487 lt_cv_prog_gnu_ld=no
3490 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3491 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3492 with_gnu_ld=$lt_cv_prog_gnu_ld
3495 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3496 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3497 if test "${lt_cv_ld_reload_flag+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500 lt_cv_ld_reload_flag='-r'
3502 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3503 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3504 reload_flag=$lt_cv_ld_reload_flag
3505 test -n "$reload_flag" && reload_flag=" $reload_flag"
3507 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3508 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3509 if test "${lt_cv_path_NM+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 else
3512 if test -n "$NM"; then
3513 # Let the user override the test.
3514 lt_cv_path_NM="$NM"
3515 else
3516 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3517 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3518 test -z "$ac_dir" && ac_dir=.
3519 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3520 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3521 # Check to see if the nm accepts a BSD-compat flag.
3522 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3523 # nm: unknown option "B" ignored
3524 # Tru64's nm complains that /dev/null is an invalid object file
3525 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3526 lt_cv_path_NM="$tmp_nm -B"
3527 break
3528 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3529 lt_cv_path_NM="$tmp_nm -p"
3530 break
3531 else
3532 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3533 continue # so that we can try to find one that supports BSD flags
3536 done
3537 IFS="$ac_save_ifs"
3538 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3542 NM="$lt_cv_path_NM"
3543 echo "$as_me:$LINENO: result: $NM" >&5
3544 echo "${ECHO_T}$NM" >&6
3546 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3547 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3548 LN_S=$as_ln_s
3549 if test "$LN_S" = "ln -s"; then
3550 echo "$as_me:$LINENO: result: yes" >&5
3551 echo "${ECHO_T}yes" >&6
3552 else
3553 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3554 echo "${ECHO_T}no, using $LN_S" >&6
3557 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3558 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3559 if test "${lt_cv_deplibs_check_method+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 else
3562 lt_cv_file_magic_cmd='$MAGIC_CMD'
3563 lt_cv_file_magic_test_file=
3564 lt_cv_deplibs_check_method='unknown'
3565 # Need to set the preceding variable on all platforms that support
3566 # interlibrary dependencies.
3567 # 'none' -- dependencies not supported.
3568 # `unknown' -- same as none, but documents that we really don't know.
3569 # 'pass_all' -- all dependencies passed with no checks.
3570 # 'test_compile' -- check by making test program.
3571 # 'file_magic [regex]' -- check by looking for files in library path
3572 # which responds to the $file_magic_cmd with a given egrep regex.
3573 # If you have `file' or equivalent on your system and you're not sure
3574 # whether `pass_all' will *always* work, you probably want this one.
3576 case $host_os in
3577 aix*)
3578 lt_cv_deplibs_check_method=pass_all
3581 beos*)
3582 lt_cv_deplibs_check_method=pass_all
3585 bsdi4*)
3586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3587 lt_cv_file_magic_cmd='/usr/bin/file -L'
3588 lt_cv_file_magic_test_file=/shlib/libc.so
3591 cygwin* | mingw* |pw32*)
3592 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3593 lt_cv_file_magic_cmd='$OBJDUMP -f'
3596 darwin* | rhapsody*)
3597 # this will be overwritten by pass_all, but leave it in just in case
3598 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3599 lt_cv_file_magic_cmd='/usr/bin/file -L'
3600 case "$host_os" in
3601 rhapsody* | darwin1.012)
3602 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3604 *) # Darwin 1.3 on
3605 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3607 esac
3608 lt_cv_deplibs_check_method=pass_all
3611 freebsd* | kfreebsd*-gnu)
3612 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3613 case $host_cpu in
3614 i*86 )
3615 # Not sure whether the presence of OpenBSD here was a mistake.
3616 # Let's accept both of them until this is cleared up.
3617 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3618 lt_cv_file_magic_cmd=/usr/bin/file
3619 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3621 esac
3622 else
3623 lt_cv_deplibs_check_method=pass_all
3627 gnu*)
3628 lt_cv_deplibs_check_method=pass_all
3631 hpux10.20*|hpux11*)
3632 case $host_cpu in
3633 hppa*)
3634 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3635 lt_cv_file_magic_cmd=/usr/bin/file
3636 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3638 ia64*)
3639 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3640 lt_cv_file_magic_cmd=/usr/bin/file
3641 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3643 esac
3646 irix5* | irix6*)
3647 case $host_os in
3648 irix5*)
3649 # this will be overridden with pass_all, but let us keep it just in case
3650 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3653 case $LD in
3654 *-32|*"-32 ") libmagic=32-bit;;
3655 *-n32|*"-n32 ") libmagic=N32;;
3656 *-64|*"-64 ") libmagic=64-bit;;
3657 *) libmagic=never-match;;
3658 esac
3659 # this will be overridden with pass_all, but let us keep it just in case
3660 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3662 esac
3663 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3664 lt_cv_deplibs_check_method=pass_all
3667 # This must be Linux ELF.
3668 linux-gnu*)
3669 lt_cv_deplibs_check_method=pass_all
3672 netbsd* | knetbsd*-gnu)
3673 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3674 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3675 else
3676 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3680 newsos6)
3681 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3682 lt_cv_file_magic_cmd=/usr/bin/file
3683 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3686 osf3* | osf4* | osf5*)
3687 # this will be overridden with pass_all, but let us keep it just in case
3688 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3689 lt_cv_file_magic_test_file=/shlib/libc.so
3690 lt_cv_deplibs_check_method=pass_all
3693 sco3.2v5*)
3694 lt_cv_deplibs_check_method=pass_all
3697 solaris*)
3698 lt_cv_deplibs_check_method=pass_all
3699 lt_cv_file_magic_test_file=/lib/libc.so
3702 sysv5uw[78]* | sysv4*uw2*)
3703 lt_cv_deplibs_check_method=pass_all
3706 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3707 case $host_vendor in
3708 ncr)
3709 lt_cv_deplibs_check_method=pass_all
3711 motorola)
3712 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]'
3713 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3715 esac
3717 esac
3720 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3721 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3722 file_magic_cmd=$lt_cv_file_magic_cmd
3723 deplibs_check_method=$lt_cv_deplibs_check_method
3729 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3731 # find the maximum length of command line arguments
3732 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3733 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3734 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 else
3738 teststring="ABCD"
3740 case $build_os in
3741 msdosdjgpp*)
3742 # On DJGPP, this test can blow up pretty badly due to problems in libc
3743 # (any single argument exceeding 2000 bytes causes a buffer overrun
3744 # during glob expansion). Even if it were fixed, the result of this
3745 # check would be larger than it should be.
3746 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3749 cygwin* | mingw*)
3750 # On Win9x/ME, this test blows up -- it succeeds, but takes
3751 # about 5 minutes as the teststring grows exponentially.
3752 # Worse, since 9x/ME are not pre-emptively multitasking,
3753 # you end up with a "frozen" computer, even though with patience
3754 # the test eventually succeeds (with a max line length of 256k).
3755 # Instead, let's just punt: use the minimum linelength reported by
3756 # all of the supported platforms: 8192 (on NT/2K/XP).
3757 lt_cv_sys_max_cmd_len=8192;
3760 amigaos*)
3761 # On AmigaOS with pdksh, this test takes hours, literally.
3762 # So we just punt and use a minimum line length of 8192.
3763 lt_cv_sys_max_cmd_len=8192;
3766 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3767 # This has been around since 386BSD, at least. Likely further.
3768 if test -x /sbin/sysctl; then
3769 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3770 elif test -x /usr/sbin/sysctl; then
3771 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3772 else
3773 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3775 # And add a safety zone
3776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3779 esac
3783 if test -n "$lt_cv_sys_max_cmd_len" ; then
3784 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3785 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3786 else
3787 echo "$as_me:$LINENO: result: none" >&5
3788 echo "${ECHO_T}none" >&6
3792 # Only perform the check for file, if the check method requires it
3793 case $deplibs_check_method in
3794 file_magic*)
3795 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3796 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3797 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3798 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 else
3801 case $MAGIC_CMD in
3803 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3805 ?:/*)
3806 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3809 ac_save_MAGIC_CMD="$MAGIC_CMD"
3810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3811 ac_dummy="/usr/bin:$PATH"
3812 for ac_dir in $ac_dummy; do
3813 test -z "$ac_dir" && ac_dir=.
3814 if test -f $ac_dir/${ac_tool_prefix}file; then
3815 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3816 if test -n "$file_magic_test_file"; then
3817 case $deplibs_check_method in
3818 "file_magic "*)
3819 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3820 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3821 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3822 egrep "$file_magic_regex" > /dev/null; then
3824 else
3825 cat <<EOF 1>&2
3827 *** Warning: the command libtool uses to detect shared libraries,
3828 *** $file_magic_cmd, produces output that libtool cannot recognize.
3829 *** The result is that libtool may fail to recognize shared libraries
3830 *** as such. This will affect the creation of libtool libraries that
3831 *** depend on shared libraries, but programs linked with such libtool
3832 *** libraries will work regardless of this problem. Nevertheless, you
3833 *** may want to report the problem to your system manager and/or to
3834 *** bug-libtool@gnu.org
3837 fi ;;
3838 esac
3840 break
3842 done
3843 IFS="$ac_save_ifs"
3844 MAGIC_CMD="$ac_save_MAGIC_CMD"
3846 esac
3849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3850 if test -n "$MAGIC_CMD"; then
3851 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3852 echo "${ECHO_T}$MAGIC_CMD" >&6
3853 else
3854 echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6
3858 if test -z "$lt_cv_path_MAGIC_CMD"; then
3859 if test -n "$ac_tool_prefix"; then
3860 echo "$as_me:$LINENO: checking for file" >&5
3861 echo $ECHO_N "checking for file... $ECHO_C" >&6
3862 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 else
3865 case $MAGIC_CMD in
3867 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3869 ?:/*)
3870 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3873 ac_save_MAGIC_CMD="$MAGIC_CMD"
3874 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3875 ac_dummy="/usr/bin:$PATH"
3876 for ac_dir in $ac_dummy; do
3877 test -z "$ac_dir" && ac_dir=.
3878 if test -f $ac_dir/file; then
3879 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3880 if test -n "$file_magic_test_file"; then
3881 case $deplibs_check_method in
3882 "file_magic "*)
3883 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3884 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3885 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3886 egrep "$file_magic_regex" > /dev/null; then
3888 else
3889 cat <<EOF 1>&2
3891 *** Warning: the command libtool uses to detect shared libraries,
3892 *** $file_magic_cmd, produces output that libtool cannot recognize.
3893 *** The result is that libtool may fail to recognize shared libraries
3894 *** as such. This will affect the creation of libtool libraries that
3895 *** depend on shared libraries, but programs linked with such libtool
3896 *** libraries will work regardless of this problem. Nevertheless, you
3897 *** may want to report the problem to your system manager and/or to
3898 *** bug-libtool@gnu.org
3901 fi ;;
3902 esac
3904 break
3906 done
3907 IFS="$ac_save_ifs"
3908 MAGIC_CMD="$ac_save_MAGIC_CMD"
3910 esac
3913 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3914 if test -n "$MAGIC_CMD"; then
3915 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3916 echo "${ECHO_T}$MAGIC_CMD" >&6
3917 else
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3922 else
3923 MAGIC_CMD=:
3929 esac
3931 if test -n "$ac_tool_prefix"; then
3932 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3933 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3934 echo "$as_me:$LINENO: checking for $ac_word" >&5
3935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3936 if test "${ac_cv_prog_RANLIB+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 else
3939 if test -n "$RANLIB"; then
3940 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3941 else
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 for as_dir in $PATH
3945 IFS=$as_save_IFS
3946 test -z "$as_dir" && as_dir=.
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3949 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 break 2
3953 done
3954 done
3958 RANLIB=$ac_cv_prog_RANLIB
3959 if test -n "$RANLIB"; then
3960 echo "$as_me:$LINENO: result: $RANLIB" >&5
3961 echo "${ECHO_T}$RANLIB" >&6
3962 else
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3968 if test -z "$ac_cv_prog_RANLIB"; then
3969 ac_ct_RANLIB=$RANLIB
3970 # Extract the first word of "ranlib", so it can be a program name with args.
3971 set dummy ranlib; ac_word=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3976 else
3977 if test -n "$ac_ct_RANLIB"; then
3978 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_RANLIB="ranlib"
3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3994 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3997 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3998 if test -n "$ac_ct_RANLIB"; then
3999 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4000 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4001 else
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4006 RANLIB=$ac_ct_RANLIB
4007 else
4008 RANLIB="$ac_cv_prog_RANLIB"
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}strip; ac_word=$2
4014 echo "$as_me:$LINENO: checking for $ac_word" >&5
4015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4016 if test "${ac_cv_prog_STRIP+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 else
4019 if test -n "$STRIP"; then
4020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4033 done
4034 done
4038 STRIP=$ac_cv_prog_STRIP
4039 if test -n "$STRIP"; then
4040 echo "$as_me:$LINENO: result: $STRIP" >&5
4041 echo "${ECHO_T}$STRIP" >&6
4042 else
4043 echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4048 if test -z "$ac_cv_prog_STRIP"; then
4049 ac_ct_STRIP=$STRIP
4050 # Extract the first word of "strip", so it can be a program name with args.
4051 set dummy strip; ac_word=$2
4052 echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 else
4057 if test -n "$ac_ct_STRIP"; then
4058 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4059 else
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 for as_dir in $PATH
4063 IFS=$as_save_IFS
4064 test -z "$as_dir" && as_dir=.
4065 for ac_exec_ext in '' $ac_executable_extensions; do
4066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_ac_ct_STRIP="strip"
4068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 break 2
4071 done
4072 done
4074 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4077 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4078 if test -n "$ac_ct_STRIP"; then
4079 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4080 echo "${ECHO_T}$ac_ct_STRIP" >&6
4081 else
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4086 STRIP=$ac_ct_STRIP
4087 else
4088 STRIP="$ac_cv_prog_STRIP"
4092 # Check for any special flags to pass to ltconfig.
4093 libtool_flags="--cache-file=$cache_file"
4094 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4095 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4096 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4097 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4098 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4101 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4102 if test "${enable_libtool_lock+set}" = set; then
4103 enableval="$enable_libtool_lock"
4106 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4107 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4110 # Check whether --with-pic or --without-pic was given.
4111 if test "${with_pic+set}" = set; then
4112 withval="$with_pic"
4113 pic_mode="$withval"
4114 else
4115 pic_mode=default
4117 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4118 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4120 # Some flags need to be propagated to the compiler or linker for good
4121 # libtool support.
4122 case $host in
4123 *-*-irix6*)
4124 # Find out which ABI we are using.
4125 echo '#line 4125 "configure"' > conftest.$ac_ext
4126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4127 (eval $ac_compile) 2>&5
4128 ac_status=$?
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; then
4131 if test "$lt_cv_prog_gnu_ld" = yes; then
4132 case `/usr/bin/file conftest.$ac_objext` in
4133 *32-bit*)
4134 LD="${LD-ld} -melf32bsmip"
4136 *N32*)
4137 LD="${LD-ld} -melf32bmipn32"
4139 *64-bit*)
4140 LD="${LD-ld} -melf64bmip"
4142 esac
4143 else
4144 case `/usr/bin/file conftest.$ac_objext` in
4145 *32-bit*)
4146 LD="${LD-ld} -32"
4148 *N32*)
4149 LD="${LD-ld} -n32"
4151 *64-bit*)
4152 LD="${LD-ld} -64"
4154 esac
4157 rm -rf conftest*
4160 ia64-*-hpux*)
4161 # Find out which ABI we are using.
4162 echo 'int i;' > conftest.$ac_ext
4163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4164 (eval $ac_compile) 2>&5
4165 ac_status=$?
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; then
4168 case "`/usr/bin/file conftest.o`" in
4169 *ELF-32*)
4170 HPUX_IA64_MODE="32"
4172 *ELF-64*)
4173 HPUX_IA64_MODE="64"
4175 esac
4177 rm -rf conftest*
4180 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4181 # Find out which ABI we are using.
4182 echo 'int i;' > conftest.$ac_ext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4184 (eval $ac_compile) 2>&5
4185 ac_status=$?
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; then
4188 case "`/usr/bin/file conftest.o`" in
4189 *32-bit*)
4190 case $host in
4191 x86_64-*linux*)
4192 LD="${LD-ld} -m elf_i386"
4194 ppc64-*linux*|powerpc64-*linux*)
4195 LD="${LD-ld} -m elf32ppclinux"
4197 s390x-*linux*)
4198 LD="${LD-ld} -m elf_s390"
4200 sparc64-*linux*)
4201 LD="${LD-ld} -m elf32_sparc"
4203 esac
4205 *64-bit*)
4206 case $host in
4207 x86_64-*linux*)
4208 LD="${LD-ld} -m elf_x86_64"
4210 ppc*-*linux*|powerpc*-*linux*)
4211 LD="${LD-ld} -m elf64ppc"
4213 s390*-*linux*)
4214 LD="${LD-ld} -m elf64_s390"
4216 sparc*-*linux*)
4217 LD="${LD-ld} -m elf64_sparc"
4219 esac
4221 esac
4223 rm -rf conftest*
4226 *-*-sco3.2v5*)
4227 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4228 SAVE_CFLAGS="$CFLAGS"
4229 CFLAGS="$CFLAGS -belf"
4230 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4231 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4232 if test "${lt_cv_cc_needs_belf+set}" = set; then
4233 echo $ECHO_N "(cached) $ECHO_C" >&6
4234 else
4237 ac_ext=c
4238 ac_cpp='$CPP $CPPFLAGS'
4239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4243 if test x$gcc_no_link = xyes; then
4244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4246 { (exit 1); exit 1; }; }
4248 cat >conftest.$ac_ext <<_ACEOF
4249 /* confdefs.h. */
4250 _ACEOF
4251 cat confdefs.h >>conftest.$ac_ext
4252 cat >>conftest.$ac_ext <<_ACEOF
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 rm -f conftest.$ac_objext conftest$ac_exeext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4265 (eval $ac_link) 2>conftest.er1
4266 ac_status=$?
4267 grep -v '^ *+' conftest.er1 >conftest.err
4268 rm -f conftest.er1
4269 cat conftest.err >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } &&
4272 { ac_try='test -z "$ac_c_werror_flag"
4273 || test ! -s conftest.err'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 (eval $ac_try) 2>&5
4276 ac_status=$?
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; } &&
4279 { ac_try='test -s conftest$ac_exeext'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4281 (eval $ac_try) 2>&5
4282 ac_status=$?
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then
4285 lt_cv_cc_needs_belf=yes
4286 else
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4290 lt_cv_cc_needs_belf=no
4292 rm -f conftest.err conftest.$ac_objext \
4293 conftest$ac_exeext conftest.$ac_ext
4294 ac_ext=c
4295 ac_cpp='$CPP $CPPFLAGS'
4296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4301 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4302 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4303 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4304 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4305 CFLAGS="$SAVE_CFLAGS"
4310 esac
4313 # Save cache, so that ltconfig can load it
4314 cat >confcache <<\_ACEOF
4315 # This file is a shell script that caches the results of configure
4316 # tests run on this system so they can be shared between configure
4317 # scripts and configure runs, see configure's option --config-cache.
4318 # It is not useful on other systems. If it contains results you don't
4319 # want to keep, you may remove or edit it.
4321 # config.status only pays attention to the cache file if you give it
4322 # the --recheck option to rerun configure.
4324 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4325 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4326 # following values.
4328 _ACEOF
4330 # The following way of writing the cache mishandles newlines in values,
4331 # but we know of no workaround that is simple, portable, and efficient.
4332 # So, don't put newlines in cache variables' values.
4333 # Ultrix sh set writes to stderr and can't be redirected directly,
4334 # and sets the high bit in the cache file unless we assign to the vars.
4336 (set) 2>&1 |
4337 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4338 *ac_space=\ *)
4339 # `set' does not quote correctly, so add quotes (double-quote
4340 # substitution turns \\\\ into \\, and sed turns \\ into \).
4341 sed -n \
4342 "s/'/'\\\\''/g;
4343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4346 # `set' quotes correctly as required by POSIX, so do not add quotes.
4347 sed -n \
4348 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4350 esac;
4352 sed '
4353 t clear
4354 : clear
4355 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4356 t end
4357 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4358 : end' >>confcache
4359 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4360 if test -w $cache_file; then
4361 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4362 cat confcache >$cache_file
4363 else
4364 echo "not updating unwritable cache $cache_file"
4367 rm -f confcache
4369 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4370 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4371 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4372 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4373 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4374 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4375 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4376 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4377 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4378 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4379 echo "$as_me: error: libtool configure failed" >&2;}
4380 { (exit 1); exit 1; }; }
4382 # Reload cache, that may have been modified by ltconfig
4383 if test -r "$cache_file"; then
4384 # Some versions of bash will fail to source /dev/null (special
4385 # files actually), so we avoid doing that.
4386 if test -f "$cache_file"; then
4387 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4388 echo "$as_me: loading cache $cache_file" >&6;}
4389 case $cache_file in
4390 [\\/]* | ?:[\\/]* ) . $cache_file;;
4391 *) . ./$cache_file;;
4392 esac
4394 else
4395 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4396 echo "$as_me: creating cache $cache_file" >&6;}
4397 >$cache_file
4401 # This can be used to rebuild libtool when needed
4402 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4404 # Always use our own libtool.
4405 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4407 # Redirect the config.log output again, so that the ltconfig log is not
4408 # clobbered by the next message.
4409 exec 5>>./config.log
4418 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4420 # We need gfortran to compile parts of the library
4421 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4422 #AC_PROG_FC(gfortran)
4423 FC="$GFORTRAN"
4424 ac_ext=${FC_SRCEXT-f}
4425 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4426 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in gfortran
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 echo "$as_me:$LINENO: checking for $ac_word" >&5
4434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4435 if test "${ac_cv_prog_FC+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 else
4438 if test -n "$FC"; then
4439 ac_cv_prog_FC="$FC" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4457 FC=$ac_cv_prog_FC
4458 if test -n "$FC"; then
4459 echo "$as_me:$LINENO: result: $FC" >&5
4460 echo "${ECHO_T}$FC" >&6
4461 else
4462 echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4466 test -n "$FC" && break
4467 done
4469 if test -z "$FC"; then
4470 ac_ct_FC=$FC
4471 for ac_prog in gfortran
4473 # Extract the first word of "$ac_prog", so it can be a program name with args.
4474 set dummy $ac_prog; ac_word=$2
4475 echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4477 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 else
4480 if test -n "$ac_ct_FC"; then
4481 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_ac_ct_FC="$ac_prog"
4491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4499 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4500 if test -n "$ac_ct_FC"; then
4501 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4502 echo "${ECHO_T}$ac_ct_FC" >&6
4503 else
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4508 test -n "$ac_ct_FC" && break
4509 done
4511 FC=$ac_ct_FC
4515 # Provide some information about the compiler.
4516 echo "$as_me:4516:" \
4517 "checking for Fortran compiler version" >&5
4518 ac_compiler=`set X $ac_compile; echo $2`
4519 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4520 (eval $ac_compiler --version </dev/null >&5) 2>&5
4521 ac_status=$?
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }
4524 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4525 (eval $ac_compiler -v </dev/null >&5) 2>&5
4526 ac_status=$?
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }
4529 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4530 (eval $ac_compiler -V </dev/null >&5) 2>&5
4531 ac_status=$?
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }
4534 rm -f a.out
4536 # If we don't use `.F' as extension, the preprocessor is not run on the
4537 # input file. (Note that this only needs to work for GNU compilers.)
4538 ac_save_ext=$ac_ext
4539 ac_ext=F
4540 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4541 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4542 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 else
4545 cat >conftest.$ac_ext <<_ACEOF
4546 program main
4547 #ifndef __GNUC__
4548 choke me
4549 #endif
4552 _ACEOF
4553 rm -f conftest.$ac_objext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4555 (eval $ac_compile) 2>conftest.er1
4556 ac_status=$?
4557 grep -v '^ *+' conftest.er1 >conftest.err
4558 rm -f conftest.er1
4559 cat conftest.err >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); } &&
4562 { ac_try='test -z "$ac_fc_werror_flag"
4563 || test ! -s conftest.err'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565 (eval $ac_try) 2>&5
4566 ac_status=$?
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; } &&
4569 { ac_try='test -s conftest.$ac_objext'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 (eval $ac_try) 2>&5
4572 ac_status=$?
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; }; then
4575 ac_compiler_gnu=yes
4576 else
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4580 ac_compiler_gnu=no
4582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4586 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4587 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4588 ac_ext=$ac_save_ext
4589 ac_test_FFLAGS=${FCFLAGS+set}
4590 ac_save_FFLAGS=$FCFLAGS
4591 FCFLAGS=
4592 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4593 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4594 if test "${ac_cv_prog_fc_g+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597 FCFLAGS=-g
4598 cat >conftest.$ac_ext <<_ACEOF
4599 program main
4602 _ACEOF
4603 rm -f conftest.$ac_objext
4604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4605 (eval $ac_compile) 2>conftest.er1
4606 ac_status=$?
4607 grep -v '^ *+' conftest.er1 >conftest.err
4608 rm -f conftest.er1
4609 cat conftest.err >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } &&
4612 { ac_try='test -z "$ac_fc_werror_flag"
4613 || test ! -s conftest.err'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 (eval $ac_try) 2>&5
4616 ac_status=$?
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; } &&
4619 { ac_try='test -s conftest.$ac_objext'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4621 (eval $ac_try) 2>&5
4622 ac_status=$?
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; }; then
4625 ac_cv_prog_fc_g=yes
4626 else
4627 echo "$as_me: failed program was:" >&5
4628 sed 's/^/| /' conftest.$ac_ext >&5
4630 ac_cv_prog_fc_g=no
4632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4635 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4636 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4637 if test "$ac_test_FFLAGS" = set; then
4638 FCFLAGS=$ac_save_FFLAGS
4639 elif test $ac_cv_prog_fc_g = yes; then
4640 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4641 FCFLAGS="-g -O2"
4642 else
4643 FCFLAGS="-g"
4645 else
4646 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4647 FCFLAGS="-O2"
4648 else
4649 FCFLAGS=
4653 ac_ext=c
4654 ac_cpp='$CPP $CPPFLAGS'
4655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4659 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4661 # extra LD Flags which are required for targets
4662 case "${host}" in
4663 *-darwin*)
4664 # Darwin needs -single_module when linking libgfortran
4665 extra_ldflags_libgfortran=-Wl,-single_module
4667 esac
4670 # Check whether --enable-largefile or --disable-largefile was given.
4671 if test "${enable_largefile+set}" = set; then
4672 enableval="$enable_largefile"
4675 if test "$enable_largefile" != no; then
4677 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4678 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4679 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682 ac_cv_sys_largefile_CC=no
4683 if test "$GCC" != yes; then
4684 ac_save_CC=$CC
4685 while :; do
4686 # IRIX 6.2 and later do not support large files by default,
4687 # so use the C compiler's -n32 option if that helps.
4688 cat >conftest.$ac_ext <<_ACEOF
4689 /* confdefs.h. */
4690 _ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4694 #include <sys/types.h>
4695 /* Check that off_t can represent 2**63 - 1 correctly.
4696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4697 since some C++ compilers masquerading as C compilers
4698 incorrectly reject 9223372036854775807. */
4699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4701 && LARGE_OFF_T % 2147483647 == 1)
4702 ? 1 : -1];
4704 main ()
4708 return 0;
4710 _ACEOF
4711 rm -f conftest.$ac_objext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713 (eval $ac_compile) 2>conftest.er1
4714 ac_status=$?
4715 grep -v '^ *+' conftest.er1 >conftest.err
4716 rm -f conftest.er1
4717 cat conftest.err >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } &&
4720 { ac_try='test -z "$ac_c_werror_flag"
4721 || test ! -s conftest.err'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 (eval $ac_try) 2>&5
4724 ac_status=$?
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; } &&
4727 { ac_try='test -s conftest.$ac_objext'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 (eval $ac_try) 2>&5
4730 ac_status=$?
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; }; then
4733 break
4734 else
4735 echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4739 rm -f conftest.err conftest.$ac_objext
4740 CC="$CC -n32"
4741 rm -f conftest.$ac_objext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4743 (eval $ac_compile) 2>conftest.er1
4744 ac_status=$?
4745 grep -v '^ *+' conftest.er1 >conftest.err
4746 rm -f conftest.er1
4747 cat conftest.err >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } &&
4750 { ac_try='test -z "$ac_c_werror_flag"
4751 || test ! -s conftest.err'
4752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 (eval $ac_try) 2>&5
4754 ac_status=$?
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; } &&
4757 { ac_try='test -s conftest.$ac_objext'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 (eval $ac_try) 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; }; then
4763 ac_cv_sys_largefile_CC=' -n32'; break
4764 else
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4769 rm -f conftest.err conftest.$ac_objext
4770 break
4771 done
4772 CC=$ac_save_CC
4773 rm -f conftest.$ac_ext
4776 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4777 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4778 if test "$ac_cv_sys_largefile_CC" != no; then
4779 CC=$CC$ac_cv_sys_largefile_CC
4782 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4783 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4784 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4785 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 else
4787 while :; do
4788 ac_cv_sys_file_offset_bits=no
4789 cat >conftest.$ac_ext <<_ACEOF
4790 /* confdefs.h. */
4791 _ACEOF
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4795 #include <sys/types.h>
4796 /* Check that off_t can represent 2**63 - 1 correctly.
4797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4798 since some C++ compilers masquerading as C compilers
4799 incorrectly reject 9223372036854775807. */
4800 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4802 && LARGE_OFF_T % 2147483647 == 1)
4803 ? 1 : -1];
4805 main ()
4809 return 0;
4811 _ACEOF
4812 rm -f conftest.$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>conftest.er1
4815 ac_status=$?
4816 grep -v '^ *+' conftest.er1 >conftest.err
4817 rm -f conftest.er1
4818 cat conftest.err >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } &&
4821 { ac_try='test -z "$ac_c_werror_flag"
4822 || test ! -s conftest.err'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 (eval $ac_try) 2>&5
4825 ac_status=$?
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; } &&
4828 { ac_try='test -s conftest.$ac_objext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 (eval $ac_try) 2>&5
4831 ac_status=$?
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4834 break
4835 else
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4841 cat >conftest.$ac_ext <<_ACEOF
4842 /* confdefs.h. */
4843 _ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4847 #define _FILE_OFFSET_BITS 64
4848 #include <sys/types.h>
4849 /* Check that off_t can represent 2**63 - 1 correctly.
4850 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4851 since some C++ compilers masquerading as C compilers
4852 incorrectly reject 9223372036854775807. */
4853 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4854 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4855 && LARGE_OFF_T % 2147483647 == 1)
4856 ? 1 : -1];
4858 main ()
4862 return 0;
4864 _ACEOF
4865 rm -f conftest.$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>conftest.er1
4868 ac_status=$?
4869 grep -v '^ *+' conftest.er1 >conftest.err
4870 rm -f conftest.er1
4871 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try='test -z "$ac_c_werror_flag"
4875 || test ! -s conftest.err'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 (eval $ac_try) 2>&5
4878 ac_status=$?
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; } &&
4881 { ac_try='test -s conftest.$ac_objext'
4882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 (eval $ac_try) 2>&5
4884 ac_status=$?
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }; }; then
4887 ac_cv_sys_file_offset_bits=64; break
4888 else
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4894 break
4895 done
4897 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4898 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4899 if test "$ac_cv_sys_file_offset_bits" != no; then
4901 cat >>confdefs.h <<_ACEOF
4902 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4903 _ACEOF
4906 rm -f conftest*
4907 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4908 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4909 if test "${ac_cv_sys_large_files+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912 while :; do
4913 ac_cv_sys_large_files=no
4914 cat >conftest.$ac_ext <<_ACEOF
4915 /* confdefs.h. */
4916 _ACEOF
4917 cat confdefs.h >>conftest.$ac_ext
4918 cat >>conftest.$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4920 #include <sys/types.h>
4921 /* Check that off_t can represent 2**63 - 1 correctly.
4922 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4923 since some C++ compilers masquerading as C compilers
4924 incorrectly reject 9223372036854775807. */
4925 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4926 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4927 && LARGE_OFF_T % 2147483647 == 1)
4928 ? 1 : -1];
4930 main ()
4934 return 0;
4936 _ACEOF
4937 rm -f conftest.$ac_objext
4938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>conftest.er1
4940 ac_status=$?
4941 grep -v '^ *+' conftest.er1 >conftest.err
4942 rm -f conftest.er1
4943 cat conftest.err >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try='test -z "$ac_c_werror_flag"
4947 || test ! -s conftest.err'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 (eval $ac_try) 2>&5
4950 ac_status=$?
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; } &&
4953 { ac_try='test -s conftest.$ac_objext'
4954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 (eval $ac_try) 2>&5
4956 ac_status=$?
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); }; }; then
4959 break
4960 else
4961 echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.$ac_ext >&5
4965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4966 cat >conftest.$ac_ext <<_ACEOF
4967 /* confdefs.h. */
4968 _ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 #define _LARGE_FILES 1
4973 #include <sys/types.h>
4974 /* Check that off_t can represent 2**63 - 1 correctly.
4975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4976 since some C++ compilers masquerading as C compilers
4977 incorrectly reject 9223372036854775807. */
4978 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4980 && LARGE_OFF_T % 2147483647 == 1)
4981 ? 1 : -1];
4983 main ()
4987 return 0;
4989 _ACEOF
4990 rm -f conftest.$ac_objext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992 (eval $ac_compile) 2>conftest.er1
4993 ac_status=$?
4994 grep -v '^ *+' conftest.er1 >conftest.err
4995 rm -f conftest.er1
4996 cat conftest.err >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try='test -z "$ac_c_werror_flag"
5000 || test ! -s conftest.err'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002 (eval $ac_try) 2>&5
5003 ac_status=$?
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; } &&
5006 { ac_try='test -s conftest.$ac_objext'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 (eval $ac_try) 2>&5
5009 ac_status=$?
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; }; then
5012 ac_cv_sys_large_files=1; break
5013 else
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5019 break
5020 done
5022 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5023 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5024 if test "$ac_cv_sys_large_files" != no; then
5026 cat >>confdefs.h <<_ACEOF
5027 #define _LARGE_FILES $ac_cv_sys_large_files
5028 _ACEOF
5031 rm -f conftest*
5034 if test x$gcc_no_link = xyes; then
5035 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5036 ac_cv_func_mmap_fixed_mapped=no
5039 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5040 ac_ext=c
5041 ac_cpp='$CPP $CPPFLAGS'
5042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5045 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5047 # On Suns, sometimes $CPP names a directory.
5048 if test -n "$CPP" && test -d "$CPP"; then
5049 CPP=
5051 if test -z "$CPP"; then
5052 if test "${ac_cv_prog_CPP+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 else
5055 # Double quotes because CPP needs to be expanded
5056 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5058 ac_preproc_ok=false
5059 for ac_c_preproc_warn_flag in '' yes
5061 # Use a header file that comes with gcc, so configuring glibc
5062 # with a fresh cross-compiler works.
5063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5064 # <limits.h> exists even on freestanding compilers.
5065 # On the NeXT, cc -E runs the code through the compiler's parser,
5066 # not just through cpp. "Syntax error" is here to catch this case.
5067 cat >conftest.$ac_ext <<_ACEOF
5068 /* confdefs.h. */
5069 _ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5073 #ifdef __STDC__
5074 # include <limits.h>
5075 #else
5076 # include <assert.h>
5077 #endif
5078 Syntax error
5079 _ACEOF
5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5082 ac_status=$?
5083 grep -v '^ *+' conftest.er1 >conftest.err
5084 rm -f conftest.er1
5085 cat conftest.err >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } >/dev/null; then
5088 if test -s conftest.err; then
5089 ac_cpp_err=$ac_c_preproc_warn_flag
5090 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5091 else
5092 ac_cpp_err=
5094 else
5095 ac_cpp_err=yes
5097 if test -z "$ac_cpp_err"; then
5099 else
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5103 # Broken: fails on valid input.
5104 continue
5106 rm -f conftest.err conftest.$ac_ext
5108 # OK, works on sane cases. Now check whether non-existent headers
5109 # can be detected and how.
5110 cat >conftest.$ac_ext <<_ACEOF
5111 /* confdefs.h. */
5112 _ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5116 #include <ac_nonexistent.h>
5117 _ACEOF
5118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120 ac_status=$?
5121 grep -v '^ *+' conftest.er1 >conftest.err
5122 rm -f conftest.er1
5123 cat conftest.err >&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev/null; then
5126 if test -s conftest.err; then
5127 ac_cpp_err=$ac_c_preproc_warn_flag
5128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5129 else
5130 ac_cpp_err=
5132 else
5133 ac_cpp_err=yes
5135 if test -z "$ac_cpp_err"; then
5136 # Broken: success on invalid input.
5137 continue
5138 else
5139 echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.$ac_ext >&5
5142 # Passes both tests.
5143 ac_preproc_ok=:
5144 break
5146 rm -f conftest.err conftest.$ac_ext
5148 done
5149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5150 rm -f conftest.err conftest.$ac_ext
5151 if $ac_preproc_ok; then
5152 break
5155 done
5156 ac_cv_prog_CPP=$CPP
5159 CPP=$ac_cv_prog_CPP
5160 else
5161 ac_cv_prog_CPP=$CPP
5163 echo "$as_me:$LINENO: result: $CPP" >&5
5164 echo "${ECHO_T}$CPP" >&6
5165 ac_preproc_ok=false
5166 for ac_c_preproc_warn_flag in '' yes
5168 # Use a header file that comes with gcc, so configuring glibc
5169 # with a fresh cross-compiler works.
5170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171 # <limits.h> exists even on freestanding compilers.
5172 # On the NeXT, cc -E runs the code through the compiler's parser,
5173 # not just through cpp. "Syntax error" is here to catch this case.
5174 cat >conftest.$ac_ext <<_ACEOF
5175 /* confdefs.h. */
5176 _ACEOF
5177 cat confdefs.h >>conftest.$ac_ext
5178 cat >>conftest.$ac_ext <<_ACEOF
5179 /* end confdefs.h. */
5180 #ifdef __STDC__
5181 # include <limits.h>
5182 #else
5183 # include <assert.h>
5184 #endif
5185 Syntax error
5186 _ACEOF
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5189 ac_status=$?
5190 grep -v '^ *+' conftest.er1 >conftest.err
5191 rm -f conftest.er1
5192 cat conftest.err >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } >/dev/null; then
5195 if test -s conftest.err; then
5196 ac_cpp_err=$ac_c_preproc_warn_flag
5197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5198 else
5199 ac_cpp_err=
5201 else
5202 ac_cpp_err=yes
5204 if test -z "$ac_cpp_err"; then
5206 else
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 # Broken: fails on valid input.
5211 continue
5213 rm -f conftest.err conftest.$ac_ext
5215 # OK, works on sane cases. Now check whether non-existent headers
5216 # can be detected and how.
5217 cat >conftest.$ac_ext <<_ACEOF
5218 /* confdefs.h. */
5219 _ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 #include <ac_nonexistent.h>
5224 _ACEOF
5225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5227 ac_status=$?
5228 grep -v '^ *+' conftest.er1 >conftest.err
5229 rm -f conftest.er1
5230 cat conftest.err >&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } >/dev/null; then
5233 if test -s conftest.err; then
5234 ac_cpp_err=$ac_c_preproc_warn_flag
5235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5236 else
5237 ac_cpp_err=
5239 else
5240 ac_cpp_err=yes
5242 if test -z "$ac_cpp_err"; then
5243 # Broken: success on invalid input.
5244 continue
5245 else
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5249 # Passes both tests.
5250 ac_preproc_ok=:
5251 break
5253 rm -f conftest.err conftest.$ac_ext
5255 done
5256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5257 rm -f conftest.err conftest.$ac_ext
5258 if $ac_preproc_ok; then
5260 else
5261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5262 See \`config.log' for more details." >&5
5263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5264 See \`config.log' for more details." >&2;}
5265 { (exit 1); exit 1; }; }
5268 ac_ext=c
5269 ac_cpp='$CPP $CPPFLAGS'
5270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275 echo "$as_me:$LINENO: checking for egrep" >&5
5276 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5277 if test "${ac_cv_prog_egrep+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 else
5280 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5281 then ac_cv_prog_egrep='grep -E'
5282 else ac_cv_prog_egrep='egrep'
5285 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5286 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5287 EGREP=$ac_cv_prog_egrep
5290 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5291 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5292 if test "${ac_cv_header_stdc+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 else
5295 cat >conftest.$ac_ext <<_ACEOF
5296 /* confdefs.h. */
5297 _ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 #include <stdlib.h>
5302 #include <stdarg.h>
5303 #include <string.h>
5304 #include <float.h>
5307 main ()
5311 return 0;
5313 _ACEOF
5314 rm -f conftest.$ac_objext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5316 (eval $ac_compile) 2>conftest.er1
5317 ac_status=$?
5318 grep -v '^ *+' conftest.er1 >conftest.err
5319 rm -f conftest.er1
5320 cat conftest.err >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); } &&
5323 { ac_try='test -z "$ac_c_werror_flag"
5324 || test ! -s conftest.err'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5326 (eval $ac_try) 2>&5
5327 ac_status=$?
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; } &&
5330 { ac_try='test -s conftest.$ac_objext'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5332 (eval $ac_try) 2>&5
5333 ac_status=$?
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; }; then
5336 ac_cv_header_stdc=yes
5337 else
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5341 ac_cv_header_stdc=no
5343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5345 if test $ac_cv_header_stdc = yes; then
5346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5347 cat >conftest.$ac_ext <<_ACEOF
5348 /* confdefs.h. */
5349 _ACEOF
5350 cat confdefs.h >>conftest.$ac_ext
5351 cat >>conftest.$ac_ext <<_ACEOF
5352 /* end confdefs.h. */
5353 #include <string.h>
5355 _ACEOF
5356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5357 $EGREP "memchr" >/dev/null 2>&1; then
5359 else
5360 ac_cv_header_stdc=no
5362 rm -f conftest*
5366 if test $ac_cv_header_stdc = yes; then
5367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5368 cat >conftest.$ac_ext <<_ACEOF
5369 /* confdefs.h. */
5370 _ACEOF
5371 cat confdefs.h >>conftest.$ac_ext
5372 cat >>conftest.$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5374 #include <stdlib.h>
5376 _ACEOF
5377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5378 $EGREP "free" >/dev/null 2>&1; then
5380 else
5381 ac_cv_header_stdc=no
5383 rm -f conftest*
5387 if test $ac_cv_header_stdc = yes; then
5388 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5389 if test "$cross_compiling" = yes; then
5391 else
5392 cat >conftest.$ac_ext <<_ACEOF
5393 /* confdefs.h. */
5394 _ACEOF
5395 cat confdefs.h >>conftest.$ac_ext
5396 cat >>conftest.$ac_ext <<_ACEOF
5397 /* end confdefs.h. */
5398 #include <ctype.h>
5399 #if ((' ' & 0x0FF) == 0x020)
5400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5402 #else
5403 # define ISLOWER(c) \
5404 (('a' <= (c) && (c) <= 'i') \
5405 || ('j' <= (c) && (c) <= 'r') \
5406 || ('s' <= (c) && (c) <= 'z'))
5407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5408 #endif
5410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5412 main ()
5414 int i;
5415 for (i = 0; i < 256; i++)
5416 if (XOR (islower (i), ISLOWER (i))
5417 || toupper (i) != TOUPPER (i))
5418 exit(2);
5419 exit (0);
5421 _ACEOF
5422 rm -f conftest$ac_exeext
5423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5424 (eval $ac_link) 2>&5
5425 ac_status=$?
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5429 (eval $ac_try) 2>&5
5430 ac_status=$?
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); }; }; then
5434 else
5435 echo "$as_me: program exited with status $ac_status" >&5
5436 echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.$ac_ext >&5
5439 ( exit $ac_status )
5440 ac_cv_header_stdc=no
5442 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5446 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5447 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5448 if test $ac_cv_header_stdc = yes; then
5450 cat >>confdefs.h <<\_ACEOF
5451 #define STDC_HEADERS 1
5452 _ACEOF
5456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5466 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5467 inttypes.h stdint.h unistd.h
5469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5470 echo "$as_me:$LINENO: checking for $ac_header" >&5
5471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 else
5475 cat >conftest.$ac_ext <<_ACEOF
5476 /* confdefs.h. */
5477 _ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5481 $ac_includes_default
5483 #include <$ac_header>
5484 _ACEOF
5485 rm -f conftest.$ac_objext
5486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5487 (eval $ac_compile) 2>conftest.er1
5488 ac_status=$?
5489 grep -v '^ *+' conftest.er1 >conftest.err
5490 rm -f conftest.er1
5491 cat conftest.err >&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); } &&
5494 { ac_try='test -z "$ac_c_werror_flag"
5495 || test ! -s conftest.err'
5496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497 (eval $ac_try) 2>&5
5498 ac_status=$?
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }; } &&
5501 { ac_try='test -s conftest.$ac_objext'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503 (eval $ac_try) 2>&5
5504 ac_status=$?
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; }; then
5507 eval "$as_ac_Header=yes"
5508 else
5509 echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5
5512 eval "$as_ac_Header=no"
5514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5519 cat >>confdefs.h <<_ACEOF
5520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5521 _ACEOF
5525 done
5530 for ac_header in stdlib.h unistd.h
5532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5534 echo "$as_me:$LINENO: checking for $ac_header" >&5
5535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5541 else
5542 # Is the header compilable?
5543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5545 cat >conftest.$ac_ext <<_ACEOF
5546 /* confdefs.h. */
5547 _ACEOF
5548 cat confdefs.h >>conftest.$ac_ext
5549 cat >>conftest.$ac_ext <<_ACEOF
5550 /* end confdefs.h. */
5551 $ac_includes_default
5552 #include <$ac_header>
5553 _ACEOF
5554 rm -f conftest.$ac_objext
5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5556 (eval $ac_compile) 2>conftest.er1
5557 ac_status=$?
5558 grep -v '^ *+' conftest.er1 >conftest.err
5559 rm -f conftest.er1
5560 cat conftest.err >&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); } &&
5563 { ac_try='test -z "$ac_c_werror_flag"
5564 || test ! -s conftest.err'
5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566 (eval $ac_try) 2>&5
5567 ac_status=$?
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; } &&
5570 { ac_try='test -s conftest.$ac_objext'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572 (eval $ac_try) 2>&5
5573 ac_status=$?
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; }; then
5576 ac_header_compiler=yes
5577 else
5578 echo "$as_me: failed program was:" >&5
5579 sed 's/^/| /' conftest.$ac_ext >&5
5581 ac_header_compiler=no
5583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5585 echo "${ECHO_T}$ac_header_compiler" >&6
5587 # Is the header present?
5588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5590 cat >conftest.$ac_ext <<_ACEOF
5591 /* confdefs.h. */
5592 _ACEOF
5593 cat confdefs.h >>conftest.$ac_ext
5594 cat >>conftest.$ac_ext <<_ACEOF
5595 /* end confdefs.h. */
5596 #include <$ac_header>
5597 _ACEOF
5598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5600 ac_status=$?
5601 grep -v '^ *+' conftest.er1 >conftest.err
5602 rm -f conftest.er1
5603 cat conftest.err >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); } >/dev/null; then
5606 if test -s conftest.err; then
5607 ac_cpp_err=$ac_c_preproc_warn_flag
5608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5609 else
5610 ac_cpp_err=
5612 else
5613 ac_cpp_err=yes
5615 if test -z "$ac_cpp_err"; then
5616 ac_header_preproc=yes
5617 else
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5621 ac_header_preproc=no
5623 rm -f conftest.err conftest.$ac_ext
5624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5625 echo "${ECHO_T}$ac_header_preproc" >&6
5627 # So? What about this header?
5628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5629 yes:no: )
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5634 ac_header_preproc=yes
5636 no:yes:* )
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5650 cat <<\_ASBOX
5651 ## ------------------------------------------------------ ##
5652 ## Report this to the GNU Fortran Runtime Library lists. ##
5653 ## ------------------------------------------------------ ##
5654 _ASBOX
5656 sed "s/^/$as_me: WARNING: /" >&2
5658 esac
5659 echo "$as_me:$LINENO: checking for $ac_header" >&5
5660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 else
5664 eval "$as_ac_Header=\$ac_header_preproc"
5666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5671 cat >>confdefs.h <<_ACEOF
5672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5673 _ACEOF
5677 done
5680 for ac_func in getpagesize
5682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5683 echo "$as_me:$LINENO: checking for $ac_func" >&5
5684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5685 if eval "test \"\${$as_ac_var+set}\" = set"; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 else
5688 if test x$gcc_no_link = xyes; then
5689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5691 { (exit 1); exit 1; }; }
5693 cat >conftest.$ac_ext <<_ACEOF
5694 /* confdefs.h. */
5695 _ACEOF
5696 cat confdefs.h >>conftest.$ac_ext
5697 cat >>conftest.$ac_ext <<_ACEOF
5698 /* end confdefs.h. */
5699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5701 #define $ac_func innocuous_$ac_func
5703 /* System header to define __stub macros and hopefully few prototypes,
5704 which can conflict with char $ac_func (); below.
5705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5706 <limits.h> exists even on freestanding compilers. */
5708 #ifdef __STDC__
5709 # include <limits.h>
5710 #else
5711 # include <assert.h>
5712 #endif
5714 #undef $ac_func
5716 /* Override any gcc2 internal prototype to avoid an error. */
5717 #ifdef __cplusplus
5718 extern "C"
5720 #endif
5721 /* We use char because int might match the return type of a gcc2
5722 builtin and then its argument prototype would still apply. */
5723 char $ac_func ();
5724 /* The GNU C library defines this for functions which it implements
5725 to always fail with ENOSYS. Some functions are actually named
5726 something starting with __ and the normal name is an alias. */
5727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5728 choke me
5729 #else
5730 char (*f) () = $ac_func;
5731 #endif
5732 #ifdef __cplusplus
5734 #endif
5737 main ()
5739 return f != $ac_func;
5741 return 0;
5743 _ACEOF
5744 rm -f conftest.$ac_objext conftest$ac_exeext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5746 (eval $ac_link) 2>conftest.er1
5747 ac_status=$?
5748 grep -v '^ *+' conftest.er1 >conftest.err
5749 rm -f conftest.er1
5750 cat conftest.err >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } &&
5753 { ac_try='test -z "$ac_c_werror_flag"
5754 || test ! -s conftest.err'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 (eval $ac_try) 2>&5
5757 ac_status=$?
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; } &&
5760 { ac_try='test -s conftest$ac_exeext'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762 (eval $ac_try) 2>&5
5763 ac_status=$?
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; }; then
5766 eval "$as_ac_var=yes"
5767 else
5768 echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.$ac_ext >&5
5771 eval "$as_ac_var=no"
5773 rm -f conftest.err conftest.$ac_objext \
5774 conftest$ac_exeext conftest.$ac_ext
5776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5778 if test `eval echo '${'$as_ac_var'}'` = yes; then
5779 cat >>confdefs.h <<_ACEOF
5780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5781 _ACEOF
5784 done
5786 echo "$as_me:$LINENO: checking for working mmap" >&5
5787 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5788 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 else
5791 if test "$cross_compiling" = yes; then
5792 ac_cv_func_mmap_fixed_mapped=no
5793 else
5794 cat >conftest.$ac_ext <<_ACEOF
5795 /* confdefs.h. */
5796 _ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5800 $ac_includes_default
5801 /* malloc might have been renamed as rpl_malloc. */
5802 #undef malloc
5804 /* Thanks to Mike Haertel and Jim Avera for this test.
5805 Here is a matrix of mmap possibilities:
5806 mmap private not fixed
5807 mmap private fixed at somewhere currently unmapped
5808 mmap private fixed at somewhere already mapped
5809 mmap shared not fixed
5810 mmap shared fixed at somewhere currently unmapped
5811 mmap shared fixed at somewhere already mapped
5812 For private mappings, we should verify that changes cannot be read()
5813 back from the file, nor mmap's back from the file at a different
5814 address. (There have been systems where private was not correctly
5815 implemented like the infamous i386 svr4.0, and systems where the
5816 VM page cache was not coherent with the file system buffer cache
5817 like early versions of FreeBSD and possibly contemporary NetBSD.)
5818 For shared mappings, we should conversely verify that changes get
5819 propagated back to all the places they're supposed to be.
5821 Grep wants private fixed already mapped.
5822 The main things grep needs to know about mmap are:
5823 * does it exist and is it safe to write into the mmap'd area
5824 * how to use it (BSD variants) */
5826 #include <fcntl.h>
5827 #include <sys/mman.h>
5829 #if !STDC_HEADERS && !HAVE_STDLIB_H
5830 char *malloc ();
5831 #endif
5833 /* This mess was copied from the GNU getpagesize.h. */
5834 #if !HAVE_GETPAGESIZE
5835 /* Assume that all systems that can run configure have sys/param.h. */
5836 # if !HAVE_SYS_PARAM_H
5837 # define HAVE_SYS_PARAM_H 1
5838 # endif
5840 # ifdef _SC_PAGESIZE
5841 # define getpagesize() sysconf(_SC_PAGESIZE)
5842 # else /* no _SC_PAGESIZE */
5843 # if HAVE_SYS_PARAM_H
5844 # include <sys/param.h>
5845 # ifdef EXEC_PAGESIZE
5846 # define getpagesize() EXEC_PAGESIZE
5847 # else /* no EXEC_PAGESIZE */
5848 # ifdef NBPG
5849 # define getpagesize() NBPG * CLSIZE
5850 # ifndef CLSIZE
5851 # define CLSIZE 1
5852 # endif /* no CLSIZE */
5853 # else /* no NBPG */
5854 # ifdef NBPC
5855 # define getpagesize() NBPC
5856 # else /* no NBPC */
5857 # ifdef PAGESIZE
5858 # define getpagesize() PAGESIZE
5859 # endif /* PAGESIZE */
5860 # endif /* no NBPC */
5861 # endif /* no NBPG */
5862 # endif /* no EXEC_PAGESIZE */
5863 # else /* no HAVE_SYS_PARAM_H */
5864 # define getpagesize() 8192 /* punt totally */
5865 # endif /* no HAVE_SYS_PARAM_H */
5866 # endif /* no _SC_PAGESIZE */
5868 #endif /* no HAVE_GETPAGESIZE */
5871 main ()
5873 char *data, *data2, *data3;
5874 int i, pagesize;
5875 int fd;
5877 pagesize = getpagesize ();
5879 /* First, make a file with some known garbage in it. */
5880 data = (char *) malloc (pagesize);
5881 if (!data)
5882 exit (1);
5883 for (i = 0; i < pagesize; ++i)
5884 *(data + i) = rand ();
5885 umask (0);
5886 fd = creat ("conftest.mmap", 0600);
5887 if (fd < 0)
5888 exit (1);
5889 if (write (fd, data, pagesize) != pagesize)
5890 exit (1);
5891 close (fd);
5893 /* Next, try to mmap the file at a fixed address which already has
5894 something else allocated at it. If we can, also make sure that
5895 we see the same garbage. */
5896 fd = open ("conftest.mmap", O_RDWR);
5897 if (fd < 0)
5898 exit (1);
5899 data2 = (char *) malloc (2 * pagesize);
5900 if (!data2)
5901 exit (1);
5902 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5903 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5904 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5905 exit (1);
5906 for (i = 0; i < pagesize; ++i)
5907 if (*(data + i) != *(data2 + i))
5908 exit (1);
5910 /* Finally, make sure that changes to the mapped area do not
5911 percolate back to the file as seen by read(). (This is a bug on
5912 some variants of i386 svr4.0.) */
5913 for (i = 0; i < pagesize; ++i)
5914 *(data2 + i) = *(data2 + i) + 1;
5915 data3 = (char *) malloc (pagesize);
5916 if (!data3)
5917 exit (1);
5918 if (read (fd, data3, pagesize) != pagesize)
5919 exit (1);
5920 for (i = 0; i < pagesize; ++i)
5921 if (*(data + i) != *(data3 + i))
5922 exit (1);
5923 close (fd);
5924 exit (0);
5926 _ACEOF
5927 rm -f conftest$ac_exeext
5928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5929 (eval $ac_link) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 (eval $ac_try) 2>&5
5935 ac_status=$?
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; }; then
5938 ac_cv_func_mmap_fixed_mapped=yes
5939 else
5940 echo "$as_me: program exited with status $ac_status" >&5
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.$ac_ext >&5
5944 ( exit $ac_status )
5945 ac_cv_func_mmap_fixed_mapped=no
5947 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5950 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5951 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5952 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5954 cat >>confdefs.h <<\_ACEOF
5955 #define HAVE_MMAP 1
5956 _ACEOF
5959 rm -f conftest.mmap
5962 echo "$as_me:$LINENO: checking for off_t" >&5
5963 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5964 if test "${ac_cv_type_off_t+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 else
5967 cat >conftest.$ac_ext <<_ACEOF
5968 /* confdefs.h. */
5969 _ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 $ac_includes_default
5975 main ()
5977 if ((off_t *) 0)
5978 return 0;
5979 if (sizeof (off_t))
5980 return 0;
5982 return 0;
5984 _ACEOF
5985 rm -f conftest.$ac_objext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>conftest.er1
5988 ac_status=$?
5989 grep -v '^ *+' conftest.er1 >conftest.err
5990 rm -f conftest.er1
5991 cat conftest.err >&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } &&
5994 { ac_try='test -z "$ac_c_werror_flag"
5995 || test ! -s conftest.err'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 (eval $ac_try) 2>&5
5998 ac_status=$?
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; } &&
6001 { ac_try='test -s conftest.$ac_objext'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 (eval $ac_try) 2>&5
6004 ac_status=$?
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then
6007 ac_cv_type_off_t=yes
6008 else
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.$ac_ext >&5
6012 ac_cv_type_off_t=no
6014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6017 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6018 if test $ac_cv_type_off_t = yes; then
6020 else
6022 cat >>confdefs.h <<_ACEOF
6023 #define off_t long
6024 _ACEOF
6029 # check header files
6030 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6031 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6032 if test "${ac_cv_header_stdc+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6034 else
6035 cat >conftest.$ac_ext <<_ACEOF
6036 /* confdefs.h. */
6037 _ACEOF
6038 cat confdefs.h >>conftest.$ac_ext
6039 cat >>conftest.$ac_ext <<_ACEOF
6040 /* end confdefs.h. */
6041 #include <stdlib.h>
6042 #include <stdarg.h>
6043 #include <string.h>
6044 #include <float.h>
6047 main ()
6051 return 0;
6053 _ACEOF
6054 rm -f conftest.$ac_objext
6055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6056 (eval $ac_compile) 2>conftest.er1
6057 ac_status=$?
6058 grep -v '^ *+' conftest.er1 >conftest.err
6059 rm -f conftest.er1
6060 cat conftest.err >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); } &&
6063 { ac_try='test -z "$ac_c_werror_flag"
6064 || test ! -s conftest.err'
6065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066 (eval $ac_try) 2>&5
6067 ac_status=$?
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); }; } &&
6070 { ac_try='test -s conftest.$ac_objext'
6071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072 (eval $ac_try) 2>&5
6073 ac_status=$?
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; }; then
6076 ac_cv_header_stdc=yes
6077 else
6078 echo "$as_me: failed program was:" >&5
6079 sed 's/^/| /' conftest.$ac_ext >&5
6081 ac_cv_header_stdc=no
6083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6085 if test $ac_cv_header_stdc = yes; then
6086 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6087 cat >conftest.$ac_ext <<_ACEOF
6088 /* confdefs.h. */
6089 _ACEOF
6090 cat confdefs.h >>conftest.$ac_ext
6091 cat >>conftest.$ac_ext <<_ACEOF
6092 /* end confdefs.h. */
6093 #include <string.h>
6095 _ACEOF
6096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6097 $EGREP "memchr" >/dev/null 2>&1; then
6099 else
6100 ac_cv_header_stdc=no
6102 rm -f conftest*
6106 if test $ac_cv_header_stdc = yes; then
6107 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6108 cat >conftest.$ac_ext <<_ACEOF
6109 /* confdefs.h. */
6110 _ACEOF
6111 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF
6113 /* end confdefs.h. */
6114 #include <stdlib.h>
6116 _ACEOF
6117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6118 $EGREP "free" >/dev/null 2>&1; then
6120 else
6121 ac_cv_header_stdc=no
6123 rm -f conftest*
6127 if test $ac_cv_header_stdc = yes; then
6128 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6129 if test "$cross_compiling" = yes; then
6131 else
6132 cat >conftest.$ac_ext <<_ACEOF
6133 /* confdefs.h. */
6134 _ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6138 #include <ctype.h>
6139 #if ((' ' & 0x0FF) == 0x020)
6140 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6141 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6142 #else
6143 # define ISLOWER(c) \
6144 (('a' <= (c) && (c) <= 'i') \
6145 || ('j' <= (c) && (c) <= 'r') \
6146 || ('s' <= (c) && (c) <= 'z'))
6147 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6148 #endif
6150 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6152 main ()
6154 int i;
6155 for (i = 0; i < 256; i++)
6156 if (XOR (islower (i), ISLOWER (i))
6157 || toupper (i) != TOUPPER (i))
6158 exit(2);
6159 exit (0);
6161 _ACEOF
6162 rm -f conftest$ac_exeext
6163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6164 (eval $ac_link) 2>&5
6165 ac_status=$?
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6169 (eval $ac_try) 2>&5
6170 ac_status=$?
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; }; then
6174 else
6175 echo "$as_me: program exited with status $ac_status" >&5
6176 echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.$ac_ext >&5
6179 ( exit $ac_status )
6180 ac_cv_header_stdc=no
6182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6186 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6187 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6188 if test $ac_cv_header_stdc = yes; then
6190 cat >>confdefs.h <<\_ACEOF
6191 #define STDC_HEADERS 1
6192 _ACEOF
6203 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6207 echo "$as_me:$LINENO: checking for $ac_header" >&5
6208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6214 else
6215 # Is the header compilable?
6216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6218 cat >conftest.$ac_ext <<_ACEOF
6219 /* confdefs.h. */
6220 _ACEOF
6221 cat confdefs.h >>conftest.$ac_ext
6222 cat >>conftest.$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6224 $ac_includes_default
6225 #include <$ac_header>
6226 _ACEOF
6227 rm -f conftest.$ac_objext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6229 (eval $ac_compile) 2>conftest.er1
6230 ac_status=$?
6231 grep -v '^ *+' conftest.er1 >conftest.err
6232 rm -f conftest.er1
6233 cat conftest.err >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } &&
6236 { ac_try='test -z "$ac_c_werror_flag"
6237 || test ! -s conftest.err'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 (eval $ac_try) 2>&5
6240 ac_status=$?
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; } &&
6243 { ac_try='test -s conftest.$ac_objext'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245 (eval $ac_try) 2>&5
6246 ac_status=$?
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6249 ac_header_compiler=yes
6250 else
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6254 ac_header_compiler=no
6256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6258 echo "${ECHO_T}$ac_header_compiler" >&6
6260 # Is the header present?
6261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6263 cat >conftest.$ac_ext <<_ACEOF
6264 /* confdefs.h. */
6265 _ACEOF
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6269 #include <$ac_header>
6270 _ACEOF
6271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6273 ac_status=$?
6274 grep -v '^ *+' conftest.er1 >conftest.err
6275 rm -f conftest.er1
6276 cat conftest.err >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } >/dev/null; then
6279 if test -s conftest.err; then
6280 ac_cpp_err=$ac_c_preproc_warn_flag
6281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6282 else
6283 ac_cpp_err=
6285 else
6286 ac_cpp_err=yes
6288 if test -z "$ac_cpp_err"; then
6289 ac_header_preproc=yes
6290 else
6291 echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6294 ac_header_preproc=no
6296 rm -f conftest.err conftest.$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6298 echo "${ECHO_T}$ac_header_preproc" >&6
6300 # So? What about this header?
6301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6302 yes:no: )
6303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6307 ac_header_preproc=yes
6309 no:yes:* )
6310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6323 cat <<\_ASBOX
6324 ## ------------------------------------------------------ ##
6325 ## Report this to the GNU Fortran Runtime Library lists. ##
6326 ## ------------------------------------------------------ ##
6327 _ASBOX
6329 sed "s/^/$as_me: WARNING: /" >&2
6331 esac
6332 echo "$as_me:$LINENO: checking for $ac_header" >&5
6333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 else
6337 eval "$as_ac_Header=\$ac_header_preproc"
6339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6344 cat >>confdefs.h <<_ACEOF
6345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346 _ACEOF
6350 done
6357 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6361 echo "$as_me:$LINENO: checking for $ac_header" >&5
6362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6368 else
6369 # Is the header compilable?
6370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6372 cat >conftest.$ac_ext <<_ACEOF
6373 /* confdefs.h. */
6374 _ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6378 $ac_includes_default
6379 #include <$ac_header>
6380 _ACEOF
6381 rm -f conftest.$ac_objext
6382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6383 (eval $ac_compile) 2>conftest.er1
6384 ac_status=$?
6385 grep -v '^ *+' conftest.er1 >conftest.err
6386 rm -f conftest.er1
6387 cat conftest.err >&5
6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); } &&
6390 { ac_try='test -z "$ac_c_werror_flag"
6391 || test ! -s conftest.err'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393 (eval $ac_try) 2>&5
6394 ac_status=$?
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; } &&
6397 { ac_try='test -s conftest.$ac_objext'
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399 (eval $ac_try) 2>&5
6400 ac_status=$?
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); }; }; then
6403 ac_header_compiler=yes
6404 else
6405 echo "$as_me: failed program was:" >&5
6406 sed 's/^/| /' conftest.$ac_ext >&5
6408 ac_header_compiler=no
6410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6412 echo "${ECHO_T}$ac_header_compiler" >&6
6414 # Is the header present?
6415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6417 cat >conftest.$ac_ext <<_ACEOF
6418 /* confdefs.h. */
6419 _ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6423 #include <$ac_header>
6424 _ACEOF
6425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6427 ac_status=$?
6428 grep -v '^ *+' conftest.er1 >conftest.err
6429 rm -f conftest.er1
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } >/dev/null; then
6433 if test -s conftest.err; then
6434 ac_cpp_err=$ac_c_preproc_warn_flag
6435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6436 else
6437 ac_cpp_err=
6439 else
6440 ac_cpp_err=yes
6442 if test -z "$ac_cpp_err"; then
6443 ac_header_preproc=yes
6444 else
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6448 ac_header_preproc=no
6450 rm -f conftest.err conftest.$ac_ext
6451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6452 echo "${ECHO_T}$ac_header_preproc" >&6
6454 # So? What about this header?
6455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6456 yes:no: )
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6461 ac_header_preproc=yes
6463 no:yes:* )
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6477 cat <<\_ASBOX
6478 ## ------------------------------------------------------ ##
6479 ## Report this to the GNU Fortran Runtime Library lists. ##
6480 ## ------------------------------------------------------ ##
6481 _ASBOX
6483 sed "s/^/$as_me: WARNING: /" >&2
6485 esac
6486 echo "$as_me:$LINENO: checking for $ac_header" >&5
6487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else
6491 eval "$as_ac_Header=\$ac_header_preproc"
6493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6498 cat >>confdefs.h <<_ACEOF
6499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6500 _ACEOF
6504 done
6510 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6514 echo "$as_me:$LINENO: checking for $ac_header" >&5
6515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6521 else
6522 # Is the header compilable?
6523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6525 cat >conftest.$ac_ext <<_ACEOF
6526 /* confdefs.h. */
6527 _ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 $ac_includes_default
6532 #include <$ac_header>
6533 _ACEOF
6534 rm -f conftest.$ac_objext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6536 (eval $ac_compile) 2>conftest.er1
6537 ac_status=$?
6538 grep -v '^ *+' conftest.er1 >conftest.err
6539 rm -f conftest.er1
6540 cat conftest.err >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); } &&
6543 { ac_try='test -z "$ac_c_werror_flag"
6544 || test ! -s conftest.err'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 (eval $ac_try) 2>&5
6547 ac_status=$?
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; } &&
6550 { ac_try='test -s conftest.$ac_objext'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 (eval $ac_try) 2>&5
6553 ac_status=$?
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; }; then
6556 ac_header_compiler=yes
6557 else
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.$ac_ext >&5
6561 ac_header_compiler=no
6563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6565 echo "${ECHO_T}$ac_header_compiler" >&6
6567 # Is the header present?
6568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6570 cat >conftest.$ac_ext <<_ACEOF
6571 /* confdefs.h. */
6572 _ACEOF
6573 cat confdefs.h >>conftest.$ac_ext
6574 cat >>conftest.$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 #include <$ac_header>
6577 _ACEOF
6578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6580 ac_status=$?
6581 grep -v '^ *+' conftest.er1 >conftest.err
6582 rm -f conftest.er1
6583 cat conftest.err >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } >/dev/null; then
6586 if test -s conftest.err; then
6587 ac_cpp_err=$ac_c_preproc_warn_flag
6588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6589 else
6590 ac_cpp_err=
6592 else
6593 ac_cpp_err=yes
6595 if test -z "$ac_cpp_err"; then
6596 ac_header_preproc=yes
6597 else
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.$ac_ext >&5
6601 ac_header_preproc=no
6603 rm -f conftest.err conftest.$ac_ext
6604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6605 echo "${ECHO_T}$ac_header_preproc" >&6
6607 # So? What about this header?
6608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6609 yes:no: )
6610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6614 ac_header_preproc=yes
6616 no:yes:* )
6617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6630 cat <<\_ASBOX
6631 ## ------------------------------------------------------ ##
6632 ## Report this to the GNU Fortran Runtime Library lists. ##
6633 ## ------------------------------------------------------ ##
6634 _ASBOX
6636 sed "s/^/$as_me: WARNING: /" >&2
6638 esac
6639 echo "$as_me:$LINENO: checking for $ac_header" >&5
6640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 else
6644 eval "$as_ac_Header=\$ac_header_preproc"
6646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6651 cat >>confdefs.h <<_ACEOF
6652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6653 _ACEOF
6657 done
6659 if test "${ac_cv_header_complex_h+set}" = set; then
6660 echo "$as_me:$LINENO: checking for complex.h" >&5
6661 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6662 if test "${ac_cv_header_complex_h+set}" = set; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6666 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6667 else
6668 # Is the header compilable?
6669 echo "$as_me:$LINENO: checking complex.h usability" >&5
6670 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6671 cat >conftest.$ac_ext <<_ACEOF
6672 /* confdefs.h. */
6673 _ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 $ac_includes_default
6678 #include <complex.h>
6679 _ACEOF
6680 rm -f conftest.$ac_objext
6681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6682 (eval $ac_compile) 2>conftest.er1
6683 ac_status=$?
6684 grep -v '^ *+' conftest.er1 >conftest.err
6685 rm -f conftest.er1
6686 cat conftest.err >&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try='test -z "$ac_c_werror_flag"
6690 || test ! -s conftest.err'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 (eval $ac_try) 2>&5
6693 ac_status=$?
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; } &&
6696 { ac_try='test -s conftest.$ac_objext'
6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 (eval $ac_try) 2>&5
6699 ac_status=$?
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; }; then
6702 ac_header_compiler=yes
6703 else
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.$ac_ext >&5
6707 ac_header_compiler=no
6709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6711 echo "${ECHO_T}$ac_header_compiler" >&6
6713 # Is the header present?
6714 echo "$as_me:$LINENO: checking complex.h presence" >&5
6715 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6716 cat >conftest.$ac_ext <<_ACEOF
6717 /* confdefs.h. */
6718 _ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6722 #include <complex.h>
6723 _ACEOF
6724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6726 ac_status=$?
6727 grep -v '^ *+' conftest.er1 >conftest.err
6728 rm -f conftest.er1
6729 cat conftest.err >&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); } >/dev/null; then
6732 if test -s conftest.err; then
6733 ac_cpp_err=$ac_c_preproc_warn_flag
6734 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6735 else
6736 ac_cpp_err=
6738 else
6739 ac_cpp_err=yes
6741 if test -z "$ac_cpp_err"; then
6742 ac_header_preproc=yes
6743 else
6744 echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6747 ac_header_preproc=no
6749 rm -f conftest.err conftest.$ac_ext
6750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6751 echo "${ECHO_T}$ac_header_preproc" >&6
6753 # So? What about this header?
6754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6755 yes:no: )
6756 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6757 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6758 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6759 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6760 ac_header_preproc=yes
6762 no:yes:* )
6763 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6764 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6765 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6766 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6767 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6768 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6769 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6770 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6771 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6772 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6773 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6774 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6776 cat <<\_ASBOX
6777 ## ------------------------------------------------------ ##
6778 ## Report this to the GNU Fortran Runtime Library lists. ##
6779 ## ------------------------------------------------------ ##
6780 _ASBOX
6782 sed "s/^/$as_me: WARNING: /" >&2
6784 esac
6785 echo "$as_me:$LINENO: checking for complex.h" >&5
6786 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6787 if test "${ac_cv_header_complex_h+set}" = set; then
6788 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 else
6790 ac_cv_header_complex_h=$ac_header_preproc
6792 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6793 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6796 if test $ac_cv_header_complex_h = yes; then
6798 cat >>confdefs.h <<\_ACEOF
6799 #define HAVE_COMPLEX_H 1
6800 _ACEOF
6806 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6807 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6808 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 else
6811 cat >conftest.$ac_ext <<_ACEOF
6812 /* confdefs.h. */
6813 _ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6817 $ac_includes_default
6819 main ()
6821 static struct stat ac_aggr;
6822 if (ac_aggr.st_blksize)
6823 return 0;
6825 return 0;
6827 _ACEOF
6828 rm -f conftest.$ac_objext
6829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6830 (eval $ac_compile) 2>conftest.er1
6831 ac_status=$?
6832 grep -v '^ *+' conftest.er1 >conftest.err
6833 rm -f conftest.er1
6834 cat conftest.err >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } &&
6837 { ac_try='test -z "$ac_c_werror_flag"
6838 || test ! -s conftest.err'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 (eval $ac_try) 2>&5
6841 ac_status=$?
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; } &&
6844 { ac_try='test -s conftest.$ac_objext'
6845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846 (eval $ac_try) 2>&5
6847 ac_status=$?
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); }; }; then
6850 ac_cv_member_struct_stat_st_blksize=yes
6851 else
6852 echo "$as_me: failed program was:" >&5
6853 sed 's/^/| /' conftest.$ac_ext >&5
6855 cat >conftest.$ac_ext <<_ACEOF
6856 /* confdefs.h. */
6857 _ACEOF
6858 cat confdefs.h >>conftest.$ac_ext
6859 cat >>conftest.$ac_ext <<_ACEOF
6860 /* end confdefs.h. */
6861 $ac_includes_default
6863 main ()
6865 static struct stat ac_aggr;
6866 if (sizeof ac_aggr.st_blksize)
6867 return 0;
6869 return 0;
6871 _ACEOF
6872 rm -f conftest.$ac_objext
6873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6874 (eval $ac_compile) 2>conftest.er1
6875 ac_status=$?
6876 grep -v '^ *+' conftest.er1 >conftest.err
6877 rm -f conftest.er1
6878 cat conftest.err >&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } &&
6881 { ac_try='test -z "$ac_c_werror_flag"
6882 || test ! -s conftest.err'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 (eval $ac_try) 2>&5
6885 ac_status=$?
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; } &&
6888 { ac_try='test -s conftest.$ac_objext'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890 (eval $ac_try) 2>&5
6891 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; }; then
6894 ac_cv_member_struct_stat_st_blksize=yes
6895 else
6896 echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.$ac_ext >&5
6899 ac_cv_member_struct_stat_st_blksize=no
6901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6905 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6906 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6907 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6909 cat >>confdefs.h <<_ACEOF
6910 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6911 _ACEOF
6916 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6917 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6918 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 else
6921 cat >conftest.$ac_ext <<_ACEOF
6922 /* confdefs.h. */
6923 _ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 $ac_includes_default
6929 main ()
6931 static struct stat ac_aggr;
6932 if (ac_aggr.st_blocks)
6933 return 0;
6935 return 0;
6937 _ACEOF
6938 rm -f conftest.$ac_objext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6940 (eval $ac_compile) 2>conftest.er1
6941 ac_status=$?
6942 grep -v '^ *+' conftest.er1 >conftest.err
6943 rm -f conftest.er1
6944 cat conftest.err >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } &&
6947 { ac_try='test -z "$ac_c_werror_flag"
6948 || test ! -s conftest.err'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 (eval $ac_try) 2>&5
6951 ac_status=$?
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; } &&
6954 { ac_try='test -s conftest.$ac_objext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 (eval $ac_try) 2>&5
6957 ac_status=$?
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6960 ac_cv_member_struct_stat_st_blocks=yes
6961 else
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6965 cat >conftest.$ac_ext <<_ACEOF
6966 /* confdefs.h. */
6967 _ACEOF
6968 cat confdefs.h >>conftest.$ac_ext
6969 cat >>conftest.$ac_ext <<_ACEOF
6970 /* end confdefs.h. */
6971 $ac_includes_default
6973 main ()
6975 static struct stat ac_aggr;
6976 if (sizeof ac_aggr.st_blocks)
6977 return 0;
6979 return 0;
6981 _ACEOF
6982 rm -f conftest.$ac_objext
6983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6984 (eval $ac_compile) 2>conftest.er1
6985 ac_status=$?
6986 grep -v '^ *+' conftest.er1 >conftest.err
6987 rm -f conftest.er1
6988 cat conftest.err >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -z "$ac_c_werror_flag"
6992 || test ! -s conftest.err'
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); }; } &&
6998 { ac_try='test -s conftest.$ac_objext'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; }; then
7004 ac_cv_member_struct_stat_st_blocks=yes
7005 else
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7009 ac_cv_member_struct_stat_st_blocks=no
7011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7015 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7016 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7017 if test $ac_cv_member_struct_stat_st_blocks = yes; then
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7021 _ACEOF
7026 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7027 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7028 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7030 else
7031 cat >conftest.$ac_ext <<_ACEOF
7032 /* confdefs.h. */
7033 _ACEOF
7034 cat confdefs.h >>conftest.$ac_ext
7035 cat >>conftest.$ac_ext <<_ACEOF
7036 /* end confdefs.h. */
7037 $ac_includes_default
7039 main ()
7041 static struct stat ac_aggr;
7042 if (ac_aggr.st_rdev)
7043 return 0;
7045 return 0;
7047 _ACEOF
7048 rm -f conftest.$ac_objext
7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7050 (eval $ac_compile) 2>conftest.er1
7051 ac_status=$?
7052 grep -v '^ *+' conftest.er1 >conftest.err
7053 rm -f conftest.er1
7054 cat conftest.err >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try='test -z "$ac_c_werror_flag"
7058 || test ! -s conftest.err'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 (eval $ac_try) 2>&5
7061 ac_status=$?
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; } &&
7064 { ac_try='test -s conftest.$ac_objext'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 (eval $ac_try) 2>&5
7067 ac_status=$?
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; }; then
7070 ac_cv_member_struct_stat_st_rdev=yes
7071 else
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7075 cat >conftest.$ac_ext <<_ACEOF
7076 /* confdefs.h. */
7077 _ACEOF
7078 cat confdefs.h >>conftest.$ac_ext
7079 cat >>conftest.$ac_ext <<_ACEOF
7080 /* end confdefs.h. */
7081 $ac_includes_default
7083 main ()
7085 static struct stat ac_aggr;
7086 if (sizeof ac_aggr.st_rdev)
7087 return 0;
7089 return 0;
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7095 ac_status=$?
7096 grep -v '^ *+' conftest.er1 >conftest.err
7097 rm -f conftest.er1
7098 cat conftest.err >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try='test -z "$ac_c_werror_flag"
7102 || test ! -s conftest.err'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 (eval $ac_try) 2>&5
7105 ac_status=$?
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; } &&
7108 { ac_try='test -s conftest.$ac_objext'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 (eval $ac_try) 2>&5
7111 ac_status=$?
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_cv_member_struct_stat_st_rdev=yes
7115 else
7116 echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7119 ac_cv_member_struct_stat_st_rdev=no
7121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7125 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7126 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7127 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7129 cat >>confdefs.h <<_ACEOF
7130 #define HAVE_STRUCT_STAT_ST_RDEV 1
7131 _ACEOF
7137 # Check for library functions.
7146 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7149 echo "$as_me:$LINENO: checking for $ac_func" >&5
7150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7151 if eval "test \"\${$as_ac_var+set}\" = set"; then
7152 echo $ECHO_N "(cached) $ECHO_C" >&6
7153 else
7154 if test x$gcc_no_link = xyes; then
7155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7157 { (exit 1); exit 1; }; }
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7167 #define $ac_func innocuous_$ac_func
7169 /* System header to define __stub macros and hopefully few prototypes,
7170 which can conflict with char $ac_func (); below.
7171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7172 <limits.h> exists even on freestanding compilers. */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7180 #undef $ac_func
7182 /* Override any gcc2 internal prototype to avoid an error. */
7183 #ifdef __cplusplus
7184 extern "C"
7186 #endif
7187 /* We use char because int might match the return type of a gcc2
7188 builtin and then its argument prototype would still apply. */
7189 char $ac_func ();
7190 /* The GNU C library defines this for functions which it implements
7191 to always fail with ENOSYS. Some functions are actually named
7192 something starting with __ and the normal name is an alias. */
7193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7194 choke me
7195 #else
7196 char (*f) () = $ac_func;
7197 #endif
7198 #ifdef __cplusplus
7200 #endif
7203 main ()
7205 return f != $ac_func;
7207 return 0;
7209 _ACEOF
7210 rm -f conftest.$ac_objext conftest$ac_exeext
7211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7212 (eval $ac_link) 2>conftest.er1
7213 ac_status=$?
7214 grep -v '^ *+' conftest.er1 >conftest.err
7215 rm -f conftest.er1
7216 cat conftest.err >&5
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218 (exit $ac_status); } &&
7219 { ac_try='test -z "$ac_c_werror_flag"
7220 || test ! -s conftest.err'
7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222 (eval $ac_try) 2>&5
7223 ac_status=$?
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }; } &&
7226 { ac_try='test -s conftest$ac_exeext'
7227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 (eval $ac_try) 2>&5
7229 ac_status=$?
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; }; then
7232 eval "$as_ac_var=yes"
7233 else
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.$ac_ext >&5
7237 eval "$as_ac_var=no"
7239 rm -f conftest.err conftest.$ac_objext \
7240 conftest$ac_exeext conftest.$ac_ext
7242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7244 if test `eval echo '${'$as_ac_var'}'` = yes; then
7245 cat >>confdefs.h <<_ACEOF
7246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7247 _ACEOF
7250 done
7260 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7263 echo "$as_me:$LINENO: checking for $ac_func" >&5
7264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7265 if eval "test \"\${$as_ac_var+set}\" = set"; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7267 else
7268 if test x$gcc_no_link = xyes; then
7269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7271 { (exit 1); exit 1; }; }
7273 cat >conftest.$ac_ext <<_ACEOF
7274 /* confdefs.h. */
7275 _ACEOF
7276 cat confdefs.h >>conftest.$ac_ext
7277 cat >>conftest.$ac_ext <<_ACEOF
7278 /* end confdefs.h. */
7279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7281 #define $ac_func innocuous_$ac_func
7283 /* System header to define __stub macros and hopefully few prototypes,
7284 which can conflict with char $ac_func (); below.
7285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7286 <limits.h> exists even on freestanding compilers. */
7288 #ifdef __STDC__
7289 # include <limits.h>
7290 #else
7291 # include <assert.h>
7292 #endif
7294 #undef $ac_func
7296 /* Override any gcc2 internal prototype to avoid an error. */
7297 #ifdef __cplusplus
7298 extern "C"
7300 #endif
7301 /* We use char because int might match the return type of a gcc2
7302 builtin and then its argument prototype would still apply. */
7303 char $ac_func ();
7304 /* The GNU C library defines this for functions which it implements
7305 to always fail with ENOSYS. Some functions are actually named
7306 something starting with __ and the normal name is an alias. */
7307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7308 choke me
7309 #else
7310 char (*f) () = $ac_func;
7311 #endif
7312 #ifdef __cplusplus
7314 #endif
7317 main ()
7319 return f != $ac_func;
7321 return 0;
7323 _ACEOF
7324 rm -f conftest.$ac_objext conftest$ac_exeext
7325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7326 (eval $ac_link) 2>conftest.er1
7327 ac_status=$?
7328 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } &&
7333 { ac_try='test -z "$ac_c_werror_flag"
7334 || test ! -s conftest.err'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 (eval $ac_try) 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; } &&
7340 { ac_try='test -s conftest$ac_exeext'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; }; then
7346 eval "$as_ac_var=yes"
7347 else
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7351 eval "$as_ac_var=no"
7353 rm -f conftest.err conftest.$ac_objext \
7354 conftest$ac_exeext conftest.$ac_ext
7356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7358 if test `eval echo '${'$as_ac_var'}'` = yes; then
7359 cat >>confdefs.h <<_ACEOF
7360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7361 _ACEOF
7364 done
7369 for ac_func in sleep time ttyname
7371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7372 echo "$as_me:$LINENO: checking for $ac_func" >&5
7373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7374 if eval "test \"\${$as_ac_var+set}\" = set"; then
7375 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 else
7377 if test x$gcc_no_link = xyes; then
7378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7380 { (exit 1); exit 1; }; }
7382 cat >conftest.$ac_ext <<_ACEOF
7383 /* confdefs.h. */
7384 _ACEOF
7385 cat confdefs.h >>conftest.$ac_ext
7386 cat >>conftest.$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7390 #define $ac_func innocuous_$ac_func
7392 /* System header to define __stub macros and hopefully few prototypes,
7393 which can conflict with char $ac_func (); below.
7394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7395 <limits.h> exists even on freestanding compilers. */
7397 #ifdef __STDC__
7398 # include <limits.h>
7399 #else
7400 # include <assert.h>
7401 #endif
7403 #undef $ac_func
7405 /* Override any gcc2 internal prototype to avoid an error. */
7406 #ifdef __cplusplus
7407 extern "C"
7409 #endif
7410 /* We use char because int might match the return type of a gcc2
7411 builtin and then its argument prototype would still apply. */
7412 char $ac_func ();
7413 /* The GNU C library defines this for functions which it implements
7414 to always fail with ENOSYS. Some functions are actually named
7415 something starting with __ and the normal name is an alias. */
7416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7417 choke me
7418 #else
7419 char (*f) () = $ac_func;
7420 #endif
7421 #ifdef __cplusplus
7423 #endif
7426 main ()
7428 return f != $ac_func;
7430 return 0;
7432 _ACEOF
7433 rm -f conftest.$ac_objext conftest$ac_exeext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435 (eval $ac_link) 2>conftest.er1
7436 ac_status=$?
7437 grep -v '^ *+' conftest.er1 >conftest.err
7438 rm -f conftest.er1
7439 cat conftest.err >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try='test -z "$ac_c_werror_flag"
7443 || test ! -s conftest.err'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5
7446 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; } &&
7449 { ac_try='test -s conftest$ac_exeext'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 (eval $ac_try) 2>&5
7452 ac_status=$?
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; }; then
7455 eval "$as_ac_var=yes"
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_var=no"
7462 rm -f conftest.err conftest.$ac_objext \
7463 conftest$ac_exeext conftest.$ac_ext
7465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7467 if test `eval echo '${'$as_ac_var'}'` = yes; then
7468 cat >>confdefs.h <<_ACEOF
7469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7470 _ACEOF
7473 done
7476 # Check libc for getgid, getpid, getuid
7477 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7478 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7479 if test "${ac_cv_lib_c_getgid+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482 ac_check_lib_save_LIBS=$LIBS
7483 LIBS="-lc $LIBS"
7484 if test x$gcc_no_link = xyes; then
7485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7487 { (exit 1); exit 1; }; }
7489 cat >conftest.$ac_ext <<_ACEOF
7490 /* confdefs.h. */
7491 _ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7496 /* Override any gcc2 internal prototype to avoid an error. */
7497 #ifdef __cplusplus
7498 extern "C"
7499 #endif
7500 /* We use char because int might match the return type of a gcc2
7501 builtin and then its argument prototype would still apply. */
7502 char getgid ();
7504 main ()
7506 getgid ();
7508 return 0;
7510 _ACEOF
7511 rm -f conftest.$ac_objext conftest$ac_exeext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7513 (eval $ac_link) 2>conftest.er1
7514 ac_status=$?
7515 grep -v '^ *+' conftest.er1 >conftest.err
7516 rm -f conftest.er1
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try='test -z "$ac_c_werror_flag"
7521 || test ! -s conftest.err'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523 (eval $ac_try) 2>&5
7524 ac_status=$?
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try='test -s conftest$ac_exeext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 (eval $ac_try) 2>&5
7530 ac_status=$?
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_cv_lib_c_getgid=yes
7534 else
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_cv_lib_c_getgid=no
7540 rm -f conftest.err conftest.$ac_objext \
7541 conftest$ac_exeext conftest.$ac_ext
7542 LIBS=$ac_check_lib_save_LIBS
7544 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7545 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7546 if test $ac_cv_lib_c_getgid = yes; then
7548 cat >>confdefs.h <<\_ACEOF
7549 #define HAVE_GETGID 1
7550 _ACEOF
7554 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7555 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7556 if test "${ac_cv_lib_c_getpid+set}" = set; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 else
7559 ac_check_lib_save_LIBS=$LIBS
7560 LIBS="-lc $LIBS"
7561 if test x$gcc_no_link = xyes; then
7562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7564 { (exit 1); exit 1; }; }
7566 cat >conftest.$ac_ext <<_ACEOF
7567 /* confdefs.h. */
7568 _ACEOF
7569 cat confdefs.h >>conftest.$ac_ext
7570 cat >>conftest.$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7573 /* Override any gcc2 internal prototype to avoid an error. */
7574 #ifdef __cplusplus
7575 extern "C"
7576 #endif
7577 /* We use char because int might match the return type of a gcc2
7578 builtin and then its argument prototype would still apply. */
7579 char getpid ();
7581 main ()
7583 getpid ();
7585 return 0;
7587 _ACEOF
7588 rm -f conftest.$ac_objext conftest$ac_exeext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7590 (eval $ac_link) 2>conftest.er1
7591 ac_status=$?
7592 grep -v '^ *+' conftest.er1 >conftest.err
7593 rm -f conftest.er1
7594 cat conftest.err >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try='test -z "$ac_c_werror_flag"
7598 || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 (eval $ac_try) 2>&5
7601 ac_status=$?
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try='test -s conftest$ac_exeext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 (eval $ac_try) 2>&5
7607 ac_status=$?
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 ac_cv_lib_c_getpid=yes
7611 else
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7615 ac_cv_lib_c_getpid=no
7617 rm -f conftest.err conftest.$ac_objext \
7618 conftest$ac_exeext conftest.$ac_ext
7619 LIBS=$ac_check_lib_save_LIBS
7621 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7622 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7623 if test $ac_cv_lib_c_getpid = yes; then
7625 cat >>confdefs.h <<\_ACEOF
7626 #define HAVE_GETPID 1
7627 _ACEOF
7631 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7632 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7633 if test "${ac_cv_lib_c_getuid+set}" = set; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 else
7636 ac_check_lib_save_LIBS=$LIBS
7637 LIBS="-lc $LIBS"
7638 if test x$gcc_no_link = xyes; then
7639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7641 { (exit 1); exit 1; }; }
7643 cat >conftest.$ac_ext <<_ACEOF
7644 /* confdefs.h. */
7645 _ACEOF
7646 cat confdefs.h >>conftest.$ac_ext
7647 cat >>conftest.$ac_ext <<_ACEOF
7648 /* end confdefs.h. */
7650 /* Override any gcc2 internal prototype to avoid an error. */
7651 #ifdef __cplusplus
7652 extern "C"
7653 #endif
7654 /* We use char because int might match the return type of a gcc2
7655 builtin and then its argument prototype would still apply. */
7656 char getuid ();
7658 main ()
7660 getuid ();
7662 return 0;
7664 _ACEOF
7665 rm -f conftest.$ac_objext conftest$ac_exeext
7666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7667 (eval $ac_link) 2>conftest.er1
7668 ac_status=$?
7669 grep -v '^ *+' conftest.er1 >conftest.err
7670 rm -f conftest.er1
7671 cat conftest.err >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); } &&
7674 { ac_try='test -z "$ac_c_werror_flag"
7675 || test ! -s conftest.err'
7676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 (eval $ac_try) 2>&5
7678 ac_status=$?
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); }; } &&
7681 { ac_try='test -s conftest$ac_exeext'
7682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7683 (eval $ac_try) 2>&5
7684 ac_status=$?
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); }; }; then
7687 ac_cv_lib_c_getuid=yes
7688 else
7689 echo "$as_me: failed program was:" >&5
7690 sed 's/^/| /' conftest.$ac_ext >&5
7692 ac_cv_lib_c_getuid=no
7694 rm -f conftest.err conftest.$ac_objext \
7695 conftest$ac_exeext conftest.$ac_ext
7696 LIBS=$ac_check_lib_save_LIBS
7698 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7699 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7700 if test $ac_cv_lib_c_getuid = yes; then
7702 cat >>confdefs.h <<\_ACEOF
7703 #define HAVE_GETUID 1
7704 _ACEOF
7709 # Check for C99 (and other IEEE) math functions
7710 # ??? This list seems awful long. Is there a better way to test for these?
7711 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7712 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7713 if test "${ac_cv_lib_m_acosf+set}" = set; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7715 else
7716 ac_check_lib_save_LIBS=$LIBS
7717 LIBS="-lm $LIBS"
7718 if test x$gcc_no_link = xyes; then
7719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7721 { (exit 1); exit 1; }; }
7723 cat >conftest.$ac_ext <<_ACEOF
7724 /* confdefs.h. */
7725 _ACEOF
7726 cat confdefs.h >>conftest.$ac_ext
7727 cat >>conftest.$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7730 /* Override any gcc2 internal prototype to avoid an error. */
7731 #ifdef __cplusplus
7732 extern "C"
7733 #endif
7734 /* We use char because int might match the return type of a gcc2
7735 builtin and then its argument prototype would still apply. */
7736 char acosf ();
7738 main ()
7740 acosf ();
7742 return 0;
7744 _ACEOF
7745 rm -f conftest.$ac_objext conftest$ac_exeext
7746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7747 (eval $ac_link) 2>conftest.er1
7748 ac_status=$?
7749 grep -v '^ *+' conftest.er1 >conftest.err
7750 rm -f conftest.er1
7751 cat conftest.err >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } &&
7754 { ac_try='test -z "$ac_c_werror_flag"
7755 || test ! -s conftest.err'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 (eval $ac_try) 2>&5
7758 ac_status=$?
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; } &&
7761 { ac_try='test -s conftest$ac_exeext'
7762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 (eval $ac_try) 2>&5
7764 ac_status=$?
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); }; }; then
7767 ac_cv_lib_m_acosf=yes
7768 else
7769 echo "$as_me: failed program was:" >&5
7770 sed 's/^/| /' conftest.$ac_ext >&5
7772 ac_cv_lib_m_acosf=no
7774 rm -f conftest.err conftest.$ac_objext \
7775 conftest$ac_exeext conftest.$ac_ext
7776 LIBS=$ac_check_lib_save_LIBS
7778 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7779 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7780 if test $ac_cv_lib_m_acosf = yes; then
7782 cat >>confdefs.h <<\_ACEOF
7783 #define HAVE_ACOSF 1
7784 _ACEOF
7788 echo "$as_me:$LINENO: checking for acos in -lm" >&5
7789 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7790 if test "${ac_cv_lib_m_acos+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 else
7793 ac_check_lib_save_LIBS=$LIBS
7794 LIBS="-lm $LIBS"
7795 if test x$gcc_no_link = xyes; then
7796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7798 { (exit 1); exit 1; }; }
7800 cat >conftest.$ac_ext <<_ACEOF
7801 /* confdefs.h. */
7802 _ACEOF
7803 cat confdefs.h >>conftest.$ac_ext
7804 cat >>conftest.$ac_ext <<_ACEOF
7805 /* end confdefs.h. */
7807 /* Override any gcc2 internal prototype to avoid an error. */
7808 #ifdef __cplusplus
7809 extern "C"
7810 #endif
7811 /* We use char because int might match the return type of a gcc2
7812 builtin and then its argument prototype would still apply. */
7813 char acos ();
7815 main ()
7817 acos ();
7819 return 0;
7821 _ACEOF
7822 rm -f conftest.$ac_objext conftest$ac_exeext
7823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7824 (eval $ac_link) 2>conftest.er1
7825 ac_status=$?
7826 grep -v '^ *+' conftest.er1 >conftest.err
7827 rm -f conftest.er1
7828 cat conftest.err >&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); } &&
7831 { ac_try='test -z "$ac_c_werror_flag"
7832 || test ! -s conftest.err'
7833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 (eval $ac_try) 2>&5
7835 ac_status=$?
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; } &&
7838 { ac_try='test -s conftest$ac_exeext'
7839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7840 (eval $ac_try) 2>&5
7841 ac_status=$?
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; }; then
7844 ac_cv_lib_m_acos=yes
7845 else
7846 echo "$as_me: failed program was:" >&5
7847 sed 's/^/| /' conftest.$ac_ext >&5
7849 ac_cv_lib_m_acos=no
7851 rm -f conftest.err conftest.$ac_objext \
7852 conftest$ac_exeext conftest.$ac_ext
7853 LIBS=$ac_check_lib_save_LIBS
7855 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
7856 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
7857 if test $ac_cv_lib_m_acos = yes; then
7859 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_ACOS 1
7861 _ACEOF
7865 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
7866 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
7867 if test "${ac_cv_lib_m_acosl+set}" = set; then
7868 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 else
7870 ac_check_lib_save_LIBS=$LIBS
7871 LIBS="-lm $LIBS"
7872 if test x$gcc_no_link = xyes; then
7873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7875 { (exit 1); exit 1; }; }
7877 cat >conftest.$ac_ext <<_ACEOF
7878 /* confdefs.h. */
7879 _ACEOF
7880 cat confdefs.h >>conftest.$ac_ext
7881 cat >>conftest.$ac_ext <<_ACEOF
7882 /* end confdefs.h. */
7884 /* Override any gcc2 internal prototype to avoid an error. */
7885 #ifdef __cplusplus
7886 extern "C"
7887 #endif
7888 /* We use char because int might match the return type of a gcc2
7889 builtin and then its argument prototype would still apply. */
7890 char acosl ();
7892 main ()
7894 acosl ();
7896 return 0;
7898 _ACEOF
7899 rm -f conftest.$ac_objext conftest$ac_exeext
7900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7901 (eval $ac_link) 2>conftest.er1
7902 ac_status=$?
7903 grep -v '^ *+' conftest.er1 >conftest.err
7904 rm -f conftest.er1
7905 cat conftest.err >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); } &&
7908 { ac_try='test -z "$ac_c_werror_flag"
7909 || test ! -s conftest.err'
7910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911 (eval $ac_try) 2>&5
7912 ac_status=$?
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); }; } &&
7915 { ac_try='test -s conftest$ac_exeext'
7916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917 (eval $ac_try) 2>&5
7918 ac_status=$?
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); }; }; then
7921 ac_cv_lib_m_acosl=yes
7922 else
7923 echo "$as_me: failed program was:" >&5
7924 sed 's/^/| /' conftest.$ac_ext >&5
7926 ac_cv_lib_m_acosl=no
7928 rm -f conftest.err conftest.$ac_objext \
7929 conftest$ac_exeext conftest.$ac_ext
7930 LIBS=$ac_check_lib_save_LIBS
7932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
7933 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
7934 if test $ac_cv_lib_m_acosl = yes; then
7936 cat >>confdefs.h <<\_ACEOF
7937 #define HAVE_ACOSL 1
7938 _ACEOF
7942 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
7943 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
7944 if test "${ac_cv_lib_m_acoshf+set}" = set; then
7945 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 else
7947 ac_check_lib_save_LIBS=$LIBS
7948 LIBS="-lm $LIBS"
7949 if test x$gcc_no_link = xyes; then
7950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7952 { (exit 1); exit 1; }; }
7954 cat >conftest.$ac_ext <<_ACEOF
7955 /* confdefs.h. */
7956 _ACEOF
7957 cat confdefs.h >>conftest.$ac_ext
7958 cat >>conftest.$ac_ext <<_ACEOF
7959 /* end confdefs.h. */
7961 /* Override any gcc2 internal prototype to avoid an error. */
7962 #ifdef __cplusplus
7963 extern "C"
7964 #endif
7965 /* We use char because int might match the return type of a gcc2
7966 builtin and then its argument prototype would still apply. */
7967 char acoshf ();
7969 main ()
7971 acoshf ();
7973 return 0;
7975 _ACEOF
7976 rm -f conftest.$ac_objext conftest$ac_exeext
7977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7978 (eval $ac_link) 2>conftest.er1
7979 ac_status=$?
7980 grep -v '^ *+' conftest.er1 >conftest.err
7981 rm -f conftest.er1
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } &&
7985 { ac_try='test -z "$ac_c_werror_flag"
7986 || test ! -s conftest.err'
7987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7988 (eval $ac_try) 2>&5
7989 ac_status=$?
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); }; } &&
7992 { ac_try='test -s conftest$ac_exeext'
7993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7994 (eval $ac_try) 2>&5
7995 ac_status=$?
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); }; }; then
7998 ac_cv_lib_m_acoshf=yes
7999 else
8000 echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.$ac_ext >&5
8003 ac_cv_lib_m_acoshf=no
8005 rm -f conftest.err conftest.$ac_objext \
8006 conftest$ac_exeext conftest.$ac_ext
8007 LIBS=$ac_check_lib_save_LIBS
8009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8010 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8011 if test $ac_cv_lib_m_acoshf = yes; then
8013 cat >>confdefs.h <<\_ACEOF
8014 #define HAVE_ACOSHF 1
8015 _ACEOF
8019 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8020 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8021 if test "${ac_cv_lib_m_acosh+set}" = set; then
8022 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 else
8024 ac_check_lib_save_LIBS=$LIBS
8025 LIBS="-lm $LIBS"
8026 if test x$gcc_no_link = xyes; then
8027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8029 { (exit 1); exit 1; }; }
8031 cat >conftest.$ac_ext <<_ACEOF
8032 /* confdefs.h. */
8033 _ACEOF
8034 cat confdefs.h >>conftest.$ac_ext
8035 cat >>conftest.$ac_ext <<_ACEOF
8036 /* end confdefs.h. */
8038 /* Override any gcc2 internal prototype to avoid an error. */
8039 #ifdef __cplusplus
8040 extern "C"
8041 #endif
8042 /* We use char because int might match the return type of a gcc2
8043 builtin and then its argument prototype would still apply. */
8044 char acosh ();
8046 main ()
8048 acosh ();
8050 return 0;
8052 _ACEOF
8053 rm -f conftest.$ac_objext conftest$ac_exeext
8054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8055 (eval $ac_link) 2>conftest.er1
8056 ac_status=$?
8057 grep -v '^ *+' conftest.er1 >conftest.err
8058 rm -f conftest.er1
8059 cat conftest.err >&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); } &&
8062 { ac_try='test -z "$ac_c_werror_flag"
8063 || test ! -s conftest.err'
8064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8065 (eval $ac_try) 2>&5
8066 ac_status=$?
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); }; } &&
8069 { ac_try='test -s conftest$ac_exeext'
8070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071 (eval $ac_try) 2>&5
8072 ac_status=$?
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); }; }; then
8075 ac_cv_lib_m_acosh=yes
8076 else
8077 echo "$as_me: failed program was:" >&5
8078 sed 's/^/| /' conftest.$ac_ext >&5
8080 ac_cv_lib_m_acosh=no
8082 rm -f conftest.err conftest.$ac_objext \
8083 conftest$ac_exeext conftest.$ac_ext
8084 LIBS=$ac_check_lib_save_LIBS
8086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8087 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8088 if test $ac_cv_lib_m_acosh = yes; then
8090 cat >>confdefs.h <<\_ACEOF
8091 #define HAVE_ACOSH 1
8092 _ACEOF
8096 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8097 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8098 if test "${ac_cv_lib_m_acoshl+set}" = set; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 else
8101 ac_check_lib_save_LIBS=$LIBS
8102 LIBS="-lm $LIBS"
8103 if test x$gcc_no_link = xyes; then
8104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8106 { (exit 1); exit 1; }; }
8108 cat >conftest.$ac_ext <<_ACEOF
8109 /* confdefs.h. */
8110 _ACEOF
8111 cat confdefs.h >>conftest.$ac_ext
8112 cat >>conftest.$ac_ext <<_ACEOF
8113 /* end confdefs.h. */
8115 /* Override any gcc2 internal prototype to avoid an error. */
8116 #ifdef __cplusplus
8117 extern "C"
8118 #endif
8119 /* We use char because int might match the return type of a gcc2
8120 builtin and then its argument prototype would still apply. */
8121 char acoshl ();
8123 main ()
8125 acoshl ();
8127 return 0;
8129 _ACEOF
8130 rm -f conftest.$ac_objext conftest$ac_exeext
8131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8132 (eval $ac_link) 2>conftest.er1
8133 ac_status=$?
8134 grep -v '^ *+' conftest.er1 >conftest.err
8135 rm -f conftest.er1
8136 cat conftest.err >&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); } &&
8139 { ac_try='test -z "$ac_c_werror_flag"
8140 || test ! -s conftest.err'
8141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 (eval $ac_try) 2>&5
8143 ac_status=$?
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; } &&
8146 { ac_try='test -s conftest$ac_exeext'
8147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148 (eval $ac_try) 2>&5
8149 ac_status=$?
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }; }; then
8152 ac_cv_lib_m_acoshl=yes
8153 else
8154 echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8157 ac_cv_lib_m_acoshl=no
8159 rm -f conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 LIBS=$ac_check_lib_save_LIBS
8163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8164 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8165 if test $ac_cv_lib_m_acoshl = yes; then
8167 cat >>confdefs.h <<\_ACEOF
8168 #define HAVE_ACOSHL 1
8169 _ACEOF
8173 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8174 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8175 if test "${ac_cv_lib_m_asinf+set}" = set; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 else
8178 ac_check_lib_save_LIBS=$LIBS
8179 LIBS="-lm $LIBS"
8180 if test x$gcc_no_link = xyes; then
8181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8183 { (exit 1); exit 1; }; }
8185 cat >conftest.$ac_ext <<_ACEOF
8186 /* confdefs.h. */
8187 _ACEOF
8188 cat confdefs.h >>conftest.$ac_ext
8189 cat >>conftest.$ac_ext <<_ACEOF
8190 /* end confdefs.h. */
8192 /* Override any gcc2 internal prototype to avoid an error. */
8193 #ifdef __cplusplus
8194 extern "C"
8195 #endif
8196 /* We use char because int might match the return type of a gcc2
8197 builtin and then its argument prototype would still apply. */
8198 char asinf ();
8200 main ()
8202 asinf ();
8204 return 0;
8206 _ACEOF
8207 rm -f conftest.$ac_objext conftest$ac_exeext
8208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8209 (eval $ac_link) 2>conftest.er1
8210 ac_status=$?
8211 grep -v '^ *+' conftest.er1 >conftest.err
8212 rm -f conftest.er1
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } &&
8216 { ac_try='test -z "$ac_c_werror_flag"
8217 || test ! -s conftest.err'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 (eval $ac_try) 2>&5
8220 ac_status=$?
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; } &&
8223 { ac_try='test -s conftest$ac_exeext'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; }; then
8229 ac_cv_lib_m_asinf=yes
8230 else
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8234 ac_cv_lib_m_asinf=no
8236 rm -f conftest.err conftest.$ac_objext \
8237 conftest$ac_exeext conftest.$ac_ext
8238 LIBS=$ac_check_lib_save_LIBS
8240 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8241 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8242 if test $ac_cv_lib_m_asinf = yes; then
8244 cat >>confdefs.h <<\_ACEOF
8245 #define HAVE_ASINF 1
8246 _ACEOF
8250 echo "$as_me:$LINENO: checking for asin in -lm" >&5
8251 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8252 if test "${ac_cv_lib_m_asin+set}" = set; then
8253 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 else
8255 ac_check_lib_save_LIBS=$LIBS
8256 LIBS="-lm $LIBS"
8257 if test x$gcc_no_link = xyes; then
8258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8260 { (exit 1); exit 1; }; }
8262 cat >conftest.$ac_ext <<_ACEOF
8263 /* confdefs.h. */
8264 _ACEOF
8265 cat confdefs.h >>conftest.$ac_ext
8266 cat >>conftest.$ac_ext <<_ACEOF
8267 /* end confdefs.h. */
8269 /* Override any gcc2 internal prototype to avoid an error. */
8270 #ifdef __cplusplus
8271 extern "C"
8272 #endif
8273 /* We use char because int might match the return type of a gcc2
8274 builtin and then its argument prototype would still apply. */
8275 char asin ();
8277 main ()
8279 asin ();
8281 return 0;
8283 _ACEOF
8284 rm -f conftest.$ac_objext conftest$ac_exeext
8285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8286 (eval $ac_link) 2>conftest.er1
8287 ac_status=$?
8288 grep -v '^ *+' conftest.er1 >conftest.err
8289 rm -f conftest.er1
8290 cat conftest.err >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } &&
8293 { ac_try='test -z "$ac_c_werror_flag"
8294 || test ! -s conftest.err'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 (eval $ac_try) 2>&5
8297 ac_status=$?
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; } &&
8300 { ac_try='test -s conftest$ac_exeext'
8301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 (eval $ac_try) 2>&5
8303 ac_status=$?
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then
8306 ac_cv_lib_m_asin=yes
8307 else
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.$ac_ext >&5
8311 ac_cv_lib_m_asin=no
8313 rm -f conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 LIBS=$ac_check_lib_save_LIBS
8317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8318 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8319 if test $ac_cv_lib_m_asin = yes; then
8321 cat >>confdefs.h <<\_ACEOF
8322 #define HAVE_ASIN 1
8323 _ACEOF
8327 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8328 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8329 if test "${ac_cv_lib_m_asinl+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 ac_check_lib_save_LIBS=$LIBS
8333 LIBS="-lm $LIBS"
8334 if test x$gcc_no_link = xyes; then
8335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8337 { (exit 1); exit 1; }; }
8339 cat >conftest.$ac_ext <<_ACEOF
8340 /* confdefs.h. */
8341 _ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8346 /* Override any gcc2 internal prototype to avoid an error. */
8347 #ifdef __cplusplus
8348 extern "C"
8349 #endif
8350 /* We use char because int might match the return type of a gcc2
8351 builtin and then its argument prototype would still apply. */
8352 char asinl ();
8354 main ()
8356 asinl ();
8358 return 0;
8360 _ACEOF
8361 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8363 (eval $ac_link) 2>conftest.er1
8364 ac_status=$?
8365 grep -v '^ *+' conftest.er1 >conftest.err
8366 rm -f conftest.er1
8367 cat conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); } &&
8370 { ac_try='test -z "$ac_c_werror_flag"
8371 || test ! -s conftest.err'
8372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373 (eval $ac_try) 2>&5
8374 ac_status=$?
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; } &&
8377 { ac_try='test -s conftest$ac_exeext'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 (eval $ac_try) 2>&5
8380 ac_status=$?
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; }; then
8383 ac_cv_lib_m_asinl=yes
8384 else
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.$ac_ext >&5
8388 ac_cv_lib_m_asinl=no
8390 rm -f conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 LIBS=$ac_check_lib_save_LIBS
8394 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8395 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8396 if test $ac_cv_lib_m_asinl = yes; then
8398 cat >>confdefs.h <<\_ACEOF
8399 #define HAVE_ASINL 1
8400 _ACEOF
8404 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8405 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8406 if test "${ac_cv_lib_m_asinhf+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8408 else
8409 ac_check_lib_save_LIBS=$LIBS
8410 LIBS="-lm $LIBS"
8411 if test x$gcc_no_link = xyes; then
8412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8414 { (exit 1); exit 1; }; }
8416 cat >conftest.$ac_ext <<_ACEOF
8417 /* confdefs.h. */
8418 _ACEOF
8419 cat confdefs.h >>conftest.$ac_ext
8420 cat >>conftest.$ac_ext <<_ACEOF
8421 /* end confdefs.h. */
8423 /* Override any gcc2 internal prototype to avoid an error. */
8424 #ifdef __cplusplus
8425 extern "C"
8426 #endif
8427 /* We use char because int might match the return type of a gcc2
8428 builtin and then its argument prototype would still apply. */
8429 char asinhf ();
8431 main ()
8433 asinhf ();
8435 return 0;
8437 _ACEOF
8438 rm -f conftest.$ac_objext conftest$ac_exeext
8439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8440 (eval $ac_link) 2>conftest.er1
8441 ac_status=$?
8442 grep -v '^ *+' conftest.er1 >conftest.err
8443 rm -f conftest.er1
8444 cat conftest.err >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); } &&
8447 { ac_try='test -z "$ac_c_werror_flag"
8448 || test ! -s conftest.err'
8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 (eval $ac_try) 2>&5
8451 ac_status=$?
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; } &&
8454 { ac_try='test -s conftest$ac_exeext'
8455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 (eval $ac_try) 2>&5
8457 ac_status=$?
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); }; }; then
8460 ac_cv_lib_m_asinhf=yes
8461 else
8462 echo "$as_me: failed program was:" >&5
8463 sed 's/^/| /' conftest.$ac_ext >&5
8465 ac_cv_lib_m_asinhf=no
8467 rm -f conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 LIBS=$ac_check_lib_save_LIBS
8471 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8472 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8473 if test $ac_cv_lib_m_asinhf = yes; then
8475 cat >>confdefs.h <<\_ACEOF
8476 #define HAVE_ASINHF 1
8477 _ACEOF
8481 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8482 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8483 if test "${ac_cv_lib_m_asinh+set}" = set; then
8484 echo $ECHO_N "(cached) $ECHO_C" >&6
8485 else
8486 ac_check_lib_save_LIBS=$LIBS
8487 LIBS="-lm $LIBS"
8488 if test x$gcc_no_link = xyes; then
8489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8491 { (exit 1); exit 1; }; }
8493 cat >conftest.$ac_ext <<_ACEOF
8494 /* confdefs.h. */
8495 _ACEOF
8496 cat confdefs.h >>conftest.$ac_ext
8497 cat >>conftest.$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8500 /* Override any gcc2 internal prototype to avoid an error. */
8501 #ifdef __cplusplus
8502 extern "C"
8503 #endif
8504 /* We use char because int might match the return type of a gcc2
8505 builtin and then its argument prototype would still apply. */
8506 char asinh ();
8508 main ()
8510 asinh ();
8512 return 0;
8514 _ACEOF
8515 rm -f conftest.$ac_objext conftest$ac_exeext
8516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8517 (eval $ac_link) 2>conftest.er1
8518 ac_status=$?
8519 grep -v '^ *+' conftest.er1 >conftest.err
8520 rm -f conftest.er1
8521 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } &&
8524 { ac_try='test -z "$ac_c_werror_flag"
8525 || test ! -s conftest.err'
8526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8527 (eval $ac_try) 2>&5
8528 ac_status=$?
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); }; } &&
8531 { ac_try='test -s conftest$ac_exeext'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8533 (eval $ac_try) 2>&5
8534 ac_status=$?
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; }; then
8537 ac_cv_lib_m_asinh=yes
8538 else
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.$ac_ext >&5
8542 ac_cv_lib_m_asinh=no
8544 rm -f conftest.err conftest.$ac_objext \
8545 conftest$ac_exeext conftest.$ac_ext
8546 LIBS=$ac_check_lib_save_LIBS
8548 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8549 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8550 if test $ac_cv_lib_m_asinh = yes; then
8552 cat >>confdefs.h <<\_ACEOF
8553 #define HAVE_ASINH 1
8554 _ACEOF
8558 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8559 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8560 if test "${ac_cv_lib_m_asinhl+set}" = set; then
8561 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 else
8563 ac_check_lib_save_LIBS=$LIBS
8564 LIBS="-lm $LIBS"
8565 if test x$gcc_no_link = xyes; then
8566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8568 { (exit 1); exit 1; }; }
8570 cat >conftest.$ac_ext <<_ACEOF
8571 /* confdefs.h. */
8572 _ACEOF
8573 cat confdefs.h >>conftest.$ac_ext
8574 cat >>conftest.$ac_ext <<_ACEOF
8575 /* end confdefs.h. */
8577 /* Override any gcc2 internal prototype to avoid an error. */
8578 #ifdef __cplusplus
8579 extern "C"
8580 #endif
8581 /* We use char because int might match the return type of a gcc2
8582 builtin and then its argument prototype would still apply. */
8583 char asinhl ();
8585 main ()
8587 asinhl ();
8589 return 0;
8591 _ACEOF
8592 rm -f conftest.$ac_objext conftest$ac_exeext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8594 (eval $ac_link) 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_exeext'
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_cv_lib_m_asinhl=yes
8615 else
8616 echo "$as_me: failed program was:" >&5
8617 sed 's/^/| /' conftest.$ac_ext >&5
8619 ac_cv_lib_m_asinhl=no
8621 rm -f conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 LIBS=$ac_check_lib_save_LIBS
8625 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8626 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8627 if test $ac_cv_lib_m_asinhl = yes; then
8629 cat >>confdefs.h <<\_ACEOF
8630 #define HAVE_ASINHL 1
8631 _ACEOF
8635 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8636 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8637 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8638 echo $ECHO_N "(cached) $ECHO_C" >&6
8639 else
8640 ac_check_lib_save_LIBS=$LIBS
8641 LIBS="-lm $LIBS"
8642 if test x$gcc_no_link = xyes; then
8643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8645 { (exit 1); exit 1; }; }
8647 cat >conftest.$ac_ext <<_ACEOF
8648 /* confdefs.h. */
8649 _ACEOF
8650 cat confdefs.h >>conftest.$ac_ext
8651 cat >>conftest.$ac_ext <<_ACEOF
8652 /* end confdefs.h. */
8654 /* Override any gcc2 internal prototype to avoid an error. */
8655 #ifdef __cplusplus
8656 extern "C"
8657 #endif
8658 /* We use char because int might match the return type of a gcc2
8659 builtin and then its argument prototype would still apply. */
8660 char atan2f ();
8662 main ()
8664 atan2f ();
8666 return 0;
8668 _ACEOF
8669 rm -f conftest.$ac_objext conftest$ac_exeext
8670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8671 (eval $ac_link) 2>conftest.er1
8672 ac_status=$?
8673 grep -v '^ *+' conftest.er1 >conftest.err
8674 rm -f conftest.er1
8675 cat conftest.err >&5
8676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); } &&
8678 { ac_try='test -z "$ac_c_werror_flag"
8679 || test ! -s conftest.err'
8680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 (eval $ac_try) 2>&5
8682 ac_status=$?
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); }; } &&
8685 { ac_try='test -s conftest$ac_exeext'
8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687 (eval $ac_try) 2>&5
8688 ac_status=$?
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); }; }; then
8691 ac_cv_lib_m_atan2f=yes
8692 else
8693 echo "$as_me: failed program was:" >&5
8694 sed 's/^/| /' conftest.$ac_ext >&5
8696 ac_cv_lib_m_atan2f=no
8698 rm -f conftest.err conftest.$ac_objext \
8699 conftest$ac_exeext conftest.$ac_ext
8700 LIBS=$ac_check_lib_save_LIBS
8702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8703 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8704 if test $ac_cv_lib_m_atan2f = yes; then
8706 cat >>confdefs.h <<\_ACEOF
8707 #define HAVE_ATAN2F 1
8708 _ACEOF
8712 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8713 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8714 if test "${ac_cv_lib_m_atan2+set}" = set; then
8715 echo $ECHO_N "(cached) $ECHO_C" >&6
8716 else
8717 ac_check_lib_save_LIBS=$LIBS
8718 LIBS="-lm $LIBS"
8719 if test x$gcc_no_link = xyes; then
8720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8722 { (exit 1); exit 1; }; }
8724 cat >conftest.$ac_ext <<_ACEOF
8725 /* confdefs.h. */
8726 _ACEOF
8727 cat confdefs.h >>conftest.$ac_ext
8728 cat >>conftest.$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8731 /* Override any gcc2 internal prototype to avoid an error. */
8732 #ifdef __cplusplus
8733 extern "C"
8734 #endif
8735 /* We use char because int might match the return type of a gcc2
8736 builtin and then its argument prototype would still apply. */
8737 char atan2 ();
8739 main ()
8741 atan2 ();
8743 return 0;
8745 _ACEOF
8746 rm -f conftest.$ac_objext conftest$ac_exeext
8747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8748 (eval $ac_link) 2>conftest.er1
8749 ac_status=$?
8750 grep -v '^ *+' conftest.er1 >conftest.err
8751 rm -f conftest.er1
8752 cat conftest.err >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); } &&
8755 { ac_try='test -z "$ac_c_werror_flag"
8756 || test ! -s conftest.err'
8757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 (eval $ac_try) 2>&5
8759 ac_status=$?
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; } &&
8762 { ac_try='test -s conftest$ac_exeext'
8763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764 (eval $ac_try) 2>&5
8765 ac_status=$?
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); }; }; then
8768 ac_cv_lib_m_atan2=yes
8769 else
8770 echo "$as_me: failed program was:" >&5
8771 sed 's/^/| /' conftest.$ac_ext >&5
8773 ac_cv_lib_m_atan2=no
8775 rm -f conftest.err conftest.$ac_objext \
8776 conftest$ac_exeext conftest.$ac_ext
8777 LIBS=$ac_check_lib_save_LIBS
8779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8780 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8781 if test $ac_cv_lib_m_atan2 = yes; then
8783 cat >>confdefs.h <<\_ACEOF
8784 #define HAVE_ATAN2 1
8785 _ACEOF
8789 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8790 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8791 if test "${ac_cv_lib_m_atan2l+set}" = set; then
8792 echo $ECHO_N "(cached) $ECHO_C" >&6
8793 else
8794 ac_check_lib_save_LIBS=$LIBS
8795 LIBS="-lm $LIBS"
8796 if test x$gcc_no_link = xyes; then
8797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8799 { (exit 1); exit 1; }; }
8801 cat >conftest.$ac_ext <<_ACEOF
8802 /* confdefs.h. */
8803 _ACEOF
8804 cat confdefs.h >>conftest.$ac_ext
8805 cat >>conftest.$ac_ext <<_ACEOF
8806 /* end confdefs.h. */
8808 /* Override any gcc2 internal prototype to avoid an error. */
8809 #ifdef __cplusplus
8810 extern "C"
8811 #endif
8812 /* We use char because int might match the return type of a gcc2
8813 builtin and then its argument prototype would still apply. */
8814 char atan2l ();
8816 main ()
8818 atan2l ();
8820 return 0;
8822 _ACEOF
8823 rm -f conftest.$ac_objext conftest$ac_exeext
8824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8825 (eval $ac_link) 2>conftest.er1
8826 ac_status=$?
8827 grep -v '^ *+' conftest.er1 >conftest.err
8828 rm -f conftest.er1
8829 cat conftest.err >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); } &&
8832 { ac_try='test -z "$ac_c_werror_flag"
8833 || test ! -s conftest.err'
8834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835 (eval $ac_try) 2>&5
8836 ac_status=$?
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); }; } &&
8839 { ac_try='test -s conftest$ac_exeext'
8840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 (eval $ac_try) 2>&5
8842 ac_status=$?
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; }; then
8845 ac_cv_lib_m_atan2l=yes
8846 else
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.$ac_ext >&5
8850 ac_cv_lib_m_atan2l=no
8852 rm -f conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 LIBS=$ac_check_lib_save_LIBS
8856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
8857 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
8858 if test $ac_cv_lib_m_atan2l = yes; then
8860 cat >>confdefs.h <<\_ACEOF
8861 #define HAVE_ATAN2L 1
8862 _ACEOF
8866 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
8867 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
8868 if test "${ac_cv_lib_m_atanf+set}" = set; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8870 else
8871 ac_check_lib_save_LIBS=$LIBS
8872 LIBS="-lm $LIBS"
8873 if test x$gcc_no_link = xyes; then
8874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8876 { (exit 1); exit 1; }; }
8878 cat >conftest.$ac_ext <<_ACEOF
8879 /* confdefs.h. */
8880 _ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8885 /* Override any gcc2 internal prototype to avoid an error. */
8886 #ifdef __cplusplus
8887 extern "C"
8888 #endif
8889 /* We use char because int might match the return type of a gcc2
8890 builtin and then its argument prototype would still apply. */
8891 char atanf ();
8893 main ()
8895 atanf ();
8897 return 0;
8899 _ACEOF
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902 (eval $ac_link) 2>conftest.er1
8903 ac_status=$?
8904 grep -v '^ *+' conftest.er1 >conftest.err
8905 rm -f conftest.er1
8906 cat conftest.err >&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try='test -z "$ac_c_werror_flag"
8910 || test ! -s conftest.err'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 (eval $ac_try) 2>&5
8913 ac_status=$?
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try='test -s conftest$ac_exeext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 (eval $ac_try) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; }; then
8922 ac_cv_lib_m_atanf=yes
8923 else
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8927 ac_cv_lib_m_atanf=no
8929 rm -f conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8931 LIBS=$ac_check_lib_save_LIBS
8933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
8934 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
8935 if test $ac_cv_lib_m_atanf = yes; then
8937 cat >>confdefs.h <<\_ACEOF
8938 #define HAVE_ATANF 1
8939 _ACEOF
8943 echo "$as_me:$LINENO: checking for atan in -lm" >&5
8944 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
8945 if test "${ac_cv_lib_m_atan+set}" = set; then
8946 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 else
8948 ac_check_lib_save_LIBS=$LIBS
8949 LIBS="-lm $LIBS"
8950 if test x$gcc_no_link = xyes; then
8951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8953 { (exit 1); exit 1; }; }
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8962 /* Override any gcc2 internal prototype to avoid an error. */
8963 #ifdef __cplusplus
8964 extern "C"
8965 #endif
8966 /* We use char because int might match the return type of a gcc2
8967 builtin and then its argument prototype would still apply. */
8968 char atan ();
8970 main ()
8972 atan ();
8974 return 0;
8976 _ACEOF
8977 rm -f conftest.$ac_objext conftest$ac_exeext
8978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8979 (eval $ac_link) 2>conftest.er1
8980 ac_status=$?
8981 grep -v '^ *+' conftest.er1 >conftest.err
8982 rm -f conftest.er1
8983 cat conftest.err >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); } &&
8986 { ac_try='test -z "$ac_c_werror_flag"
8987 || test ! -s conftest.err'
8988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989 (eval $ac_try) 2>&5
8990 ac_status=$?
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; } &&
8993 { ac_try='test -s conftest$ac_exeext'
8994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8995 (eval $ac_try) 2>&5
8996 ac_status=$?
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); }; }; then
8999 ac_cv_lib_m_atan=yes
9000 else
9001 echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.$ac_ext >&5
9004 ac_cv_lib_m_atan=no
9006 rm -f conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9010 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9011 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9012 if test $ac_cv_lib_m_atan = yes; then
9014 cat >>confdefs.h <<\_ACEOF
9015 #define HAVE_ATAN 1
9016 _ACEOF
9020 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9021 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9022 if test "${ac_cv_lib_m_atanl+set}" = set; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else
9025 ac_check_lib_save_LIBS=$LIBS
9026 LIBS="-lm $LIBS"
9027 if test x$gcc_no_link = xyes; then
9028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9030 { (exit 1); exit 1; }; }
9032 cat >conftest.$ac_ext <<_ACEOF
9033 /* confdefs.h. */
9034 _ACEOF
9035 cat confdefs.h >>conftest.$ac_ext
9036 cat >>conftest.$ac_ext <<_ACEOF
9037 /* end confdefs.h. */
9039 /* Override any gcc2 internal prototype to avoid an error. */
9040 #ifdef __cplusplus
9041 extern "C"
9042 #endif
9043 /* We use char because int might match the return type of a gcc2
9044 builtin and then its argument prototype would still apply. */
9045 char atanl ();
9047 main ()
9049 atanl ();
9051 return 0;
9053 _ACEOF
9054 rm -f conftest.$ac_objext conftest$ac_exeext
9055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9056 (eval $ac_link) 2>conftest.er1
9057 ac_status=$?
9058 grep -v '^ *+' conftest.er1 >conftest.err
9059 rm -f conftest.er1
9060 cat conftest.err >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); } &&
9063 { ac_try='test -z "$ac_c_werror_flag"
9064 || test ! -s conftest.err'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 (eval $ac_try) 2>&5
9067 ac_status=$?
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; } &&
9070 { ac_try='test -s conftest$ac_exeext'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072 (eval $ac_try) 2>&5
9073 ac_status=$?
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; }; then
9076 ac_cv_lib_m_atanl=yes
9077 else
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9081 ac_cv_lib_m_atanl=no
9083 rm -f conftest.err conftest.$ac_objext \
9084 conftest$ac_exeext conftest.$ac_ext
9085 LIBS=$ac_check_lib_save_LIBS
9087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9088 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9089 if test $ac_cv_lib_m_atanl = yes; then
9091 cat >>confdefs.h <<\_ACEOF
9092 #define HAVE_ATANL 1
9093 _ACEOF
9097 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9098 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9099 if test "${ac_cv_lib_m_atanhf+set}" = set; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 else
9102 ac_check_lib_save_LIBS=$LIBS
9103 LIBS="-lm $LIBS"
9104 if test x$gcc_no_link = xyes; then
9105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9107 { (exit 1); exit 1; }; }
9109 cat >conftest.$ac_ext <<_ACEOF
9110 /* confdefs.h. */
9111 _ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9116 /* Override any gcc2 internal prototype to avoid an error. */
9117 #ifdef __cplusplus
9118 extern "C"
9119 #endif
9120 /* We use char because int might match the return type of a gcc2
9121 builtin and then its argument prototype would still apply. */
9122 char atanhf ();
9124 main ()
9126 atanhf ();
9128 return 0;
9130 _ACEOF
9131 rm -f conftest.$ac_objext conftest$ac_exeext
9132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9133 (eval $ac_link) 2>conftest.er1
9134 ac_status=$?
9135 grep -v '^ *+' conftest.er1 >conftest.err
9136 rm -f conftest.er1
9137 cat conftest.err >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); } &&
9140 { ac_try='test -z "$ac_c_werror_flag"
9141 || test ! -s conftest.err'
9142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 (eval $ac_try) 2>&5
9144 ac_status=$?
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); }; } &&
9147 { ac_try='test -s conftest$ac_exeext'
9148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 (eval $ac_try) 2>&5
9150 ac_status=$?
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); }; }; then
9153 ac_cv_lib_m_atanhf=yes
9154 else
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.$ac_ext >&5
9158 ac_cv_lib_m_atanhf=no
9160 rm -f conftest.err conftest.$ac_objext \
9161 conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_lib_save_LIBS
9164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9165 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9166 if test $ac_cv_lib_m_atanhf = yes; then
9168 cat >>confdefs.h <<\_ACEOF
9169 #define HAVE_ATANHF 1
9170 _ACEOF
9174 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9175 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9176 if test "${ac_cv_lib_m_atanh+set}" = set; then
9177 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 else
9179 ac_check_lib_save_LIBS=$LIBS
9180 LIBS="-lm $LIBS"
9181 if test x$gcc_no_link = xyes; then
9182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9184 { (exit 1); exit 1; }; }
9186 cat >conftest.$ac_ext <<_ACEOF
9187 /* confdefs.h. */
9188 _ACEOF
9189 cat confdefs.h >>conftest.$ac_ext
9190 cat >>conftest.$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9193 /* Override any gcc2 internal prototype to avoid an error. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 /* We use char because int might match the return type of a gcc2
9198 builtin and then its argument prototype would still apply. */
9199 char atanh ();
9201 main ()
9203 atanh ();
9205 return 0;
9207 _ACEOF
9208 rm -f conftest.$ac_objext conftest$ac_exeext
9209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9210 (eval $ac_link) 2>conftest.er1
9211 ac_status=$?
9212 grep -v '^ *+' conftest.er1 >conftest.err
9213 rm -f conftest.er1
9214 cat conftest.err >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } &&
9217 { ac_try='test -z "$ac_c_werror_flag"
9218 || test ! -s conftest.err'
9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220 (eval $ac_try) 2>&5
9221 ac_status=$?
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; } &&
9224 { ac_try='test -s conftest$ac_exeext'
9225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 (eval $ac_try) 2>&5
9227 ac_status=$?
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; }; then
9230 ac_cv_lib_m_atanh=yes
9231 else
9232 echo "$as_me: failed program was:" >&5
9233 sed 's/^/| /' conftest.$ac_ext >&5
9235 ac_cv_lib_m_atanh=no
9237 rm -f conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9242 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9243 if test $ac_cv_lib_m_atanh = yes; then
9245 cat >>confdefs.h <<\_ACEOF
9246 #define HAVE_ATANH 1
9247 _ACEOF
9251 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9252 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9253 if test "${ac_cv_lib_m_atanhl+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6
9255 else
9256 ac_check_lib_save_LIBS=$LIBS
9257 LIBS="-lm $LIBS"
9258 if test x$gcc_no_link = xyes; then
9259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9261 { (exit 1); exit 1; }; }
9263 cat >conftest.$ac_ext <<_ACEOF
9264 /* confdefs.h. */
9265 _ACEOF
9266 cat confdefs.h >>conftest.$ac_ext
9267 cat >>conftest.$ac_ext <<_ACEOF
9268 /* end confdefs.h. */
9270 /* Override any gcc2 internal prototype to avoid an error. */
9271 #ifdef __cplusplus
9272 extern "C"
9273 #endif
9274 /* We use char because int might match the return type of a gcc2
9275 builtin and then its argument prototype would still apply. */
9276 char atanhl ();
9278 main ()
9280 atanhl ();
9282 return 0;
9284 _ACEOF
9285 rm -f conftest.$ac_objext conftest$ac_exeext
9286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9287 (eval $ac_link) 2>conftest.er1
9288 ac_status=$?
9289 grep -v '^ *+' conftest.er1 >conftest.err
9290 rm -f conftest.er1
9291 cat conftest.err >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); } &&
9294 { ac_try='test -z "$ac_c_werror_flag"
9295 || test ! -s conftest.err'
9296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9297 (eval $ac_try) 2>&5
9298 ac_status=$?
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); }; } &&
9301 { ac_try='test -s conftest$ac_exeext'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9303 (eval $ac_try) 2>&5
9304 ac_status=$?
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; }; then
9307 ac_cv_lib_m_atanhl=yes
9308 else
9309 echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.$ac_ext >&5
9312 ac_cv_lib_m_atanhl=no
9314 rm -f conftest.err conftest.$ac_objext \
9315 conftest$ac_exeext conftest.$ac_ext
9316 LIBS=$ac_check_lib_save_LIBS
9318 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9319 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9320 if test $ac_cv_lib_m_atanhl = yes; then
9322 cat >>confdefs.h <<\_ACEOF
9323 #define HAVE_ATANHL 1
9324 _ACEOF
9328 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9329 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9330 if test "${ac_cv_lib_m_cargf+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 else
9333 ac_check_lib_save_LIBS=$LIBS
9334 LIBS="-lm $LIBS"
9335 if test x$gcc_no_link = xyes; then
9336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9338 { (exit 1); exit 1; }; }
9340 cat >conftest.$ac_ext <<_ACEOF
9341 /* confdefs.h. */
9342 _ACEOF
9343 cat confdefs.h >>conftest.$ac_ext
9344 cat >>conftest.$ac_ext <<_ACEOF
9345 /* end confdefs.h. */
9347 /* Override any gcc2 internal prototype to avoid an error. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 /* We use char because int might match the return type of a gcc2
9352 builtin and then its argument prototype would still apply. */
9353 char cargf ();
9355 main ()
9357 cargf ();
9359 return 0;
9361 _ACEOF
9362 rm -f conftest.$ac_objext conftest$ac_exeext
9363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9364 (eval $ac_link) 2>conftest.er1
9365 ac_status=$?
9366 grep -v '^ *+' conftest.er1 >conftest.err
9367 rm -f conftest.er1
9368 cat conftest.err >&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } &&
9371 { ac_try='test -z "$ac_c_werror_flag"
9372 || test ! -s conftest.err'
9373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9374 (eval $ac_try) 2>&5
9375 ac_status=$?
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); }; } &&
9378 { ac_try='test -s conftest$ac_exeext'
9379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9380 (eval $ac_try) 2>&5
9381 ac_status=$?
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); }; }; then
9384 ac_cv_lib_m_cargf=yes
9385 else
9386 echo "$as_me: failed program was:" >&5
9387 sed 's/^/| /' conftest.$ac_ext >&5
9389 ac_cv_lib_m_cargf=no
9391 rm -f conftest.err conftest.$ac_objext \
9392 conftest$ac_exeext conftest.$ac_ext
9393 LIBS=$ac_check_lib_save_LIBS
9395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9396 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9397 if test $ac_cv_lib_m_cargf = yes; then
9399 cat >>confdefs.h <<\_ACEOF
9400 #define HAVE_CARGF 1
9401 _ACEOF
9405 echo "$as_me:$LINENO: checking for carg in -lm" >&5
9406 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9407 if test "${ac_cv_lib_m_carg+set}" = set; then
9408 echo $ECHO_N "(cached) $ECHO_C" >&6
9409 else
9410 ac_check_lib_save_LIBS=$LIBS
9411 LIBS="-lm $LIBS"
9412 if test x$gcc_no_link = xyes; then
9413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9415 { (exit 1); exit 1; }; }
9417 cat >conftest.$ac_ext <<_ACEOF
9418 /* confdefs.h. */
9419 _ACEOF
9420 cat confdefs.h >>conftest.$ac_ext
9421 cat >>conftest.$ac_ext <<_ACEOF
9422 /* end confdefs.h. */
9424 /* Override any gcc2 internal prototype to avoid an error. */
9425 #ifdef __cplusplus
9426 extern "C"
9427 #endif
9428 /* We use char because int might match the return type of a gcc2
9429 builtin and then its argument prototype would still apply. */
9430 char carg ();
9432 main ()
9434 carg ();
9436 return 0;
9438 _ACEOF
9439 rm -f conftest.$ac_objext conftest$ac_exeext
9440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9441 (eval $ac_link) 2>conftest.er1
9442 ac_status=$?
9443 grep -v '^ *+' conftest.er1 >conftest.err
9444 rm -f conftest.er1
9445 cat conftest.err >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } &&
9448 { ac_try='test -z "$ac_c_werror_flag"
9449 || test ! -s conftest.err'
9450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451 (eval $ac_try) 2>&5
9452 ac_status=$?
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }; } &&
9455 { ac_try='test -s conftest$ac_exeext'
9456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 (eval $ac_try) 2>&5
9458 ac_status=$?
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); }; }; then
9461 ac_cv_lib_m_carg=yes
9462 else
9463 echo "$as_me: failed program was:" >&5
9464 sed 's/^/| /' conftest.$ac_ext >&5
9466 ac_cv_lib_m_carg=no
9468 rm -f conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 LIBS=$ac_check_lib_save_LIBS
9472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9473 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9474 if test $ac_cv_lib_m_carg = yes; then
9476 cat >>confdefs.h <<\_ACEOF
9477 #define HAVE_CARG 1
9478 _ACEOF
9482 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9483 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9484 if test "${ac_cv_lib_m_cargl+set}" = set; then
9485 echo $ECHO_N "(cached) $ECHO_C" >&6
9486 else
9487 ac_check_lib_save_LIBS=$LIBS
9488 LIBS="-lm $LIBS"
9489 if test x$gcc_no_link = xyes; then
9490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9492 { (exit 1); exit 1; }; }
9494 cat >conftest.$ac_ext <<_ACEOF
9495 /* confdefs.h. */
9496 _ACEOF
9497 cat confdefs.h >>conftest.$ac_ext
9498 cat >>conftest.$ac_ext <<_ACEOF
9499 /* end confdefs.h. */
9501 /* Override any gcc2 internal prototype to avoid an error. */
9502 #ifdef __cplusplus
9503 extern "C"
9504 #endif
9505 /* We use char because int might match the return type of a gcc2
9506 builtin and then its argument prototype would still apply. */
9507 char cargl ();
9509 main ()
9511 cargl ();
9513 return 0;
9515 _ACEOF
9516 rm -f conftest.$ac_objext conftest$ac_exeext
9517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9518 (eval $ac_link) 2>conftest.er1
9519 ac_status=$?
9520 grep -v '^ *+' conftest.er1 >conftest.err
9521 rm -f conftest.er1
9522 cat conftest.err >&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); } &&
9525 { ac_try='test -z "$ac_c_werror_flag"
9526 || test ! -s conftest.err'
9527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528 (eval $ac_try) 2>&5
9529 ac_status=$?
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); }; } &&
9532 { ac_try='test -s conftest$ac_exeext'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 (eval $ac_try) 2>&5
9535 ac_status=$?
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; }; then
9538 ac_cv_lib_m_cargl=yes
9539 else
9540 echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9543 ac_cv_lib_m_cargl=no
9545 rm -f conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_lib_save_LIBS
9549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9550 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9551 if test $ac_cv_lib_m_cargl = yes; then
9553 cat >>confdefs.h <<\_ACEOF
9554 #define HAVE_CARGL 1
9555 _ACEOF
9559 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9560 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9561 if test "${ac_cv_lib_m_ceilf+set}" = set; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 else
9564 ac_check_lib_save_LIBS=$LIBS
9565 LIBS="-lm $LIBS"
9566 if test x$gcc_no_link = xyes; then
9567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9569 { (exit 1); exit 1; }; }
9571 cat >conftest.$ac_ext <<_ACEOF
9572 /* confdefs.h. */
9573 _ACEOF
9574 cat confdefs.h >>conftest.$ac_ext
9575 cat >>conftest.$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9578 /* Override any gcc2 internal prototype to avoid an error. */
9579 #ifdef __cplusplus
9580 extern "C"
9581 #endif
9582 /* We use char because int might match the return type of a gcc2
9583 builtin and then its argument prototype would still apply. */
9584 char ceilf ();
9586 main ()
9588 ceilf ();
9590 return 0;
9592 _ACEOF
9593 rm -f conftest.$ac_objext conftest$ac_exeext
9594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9595 (eval $ac_link) 2>conftest.er1
9596 ac_status=$?
9597 grep -v '^ *+' conftest.er1 >conftest.err
9598 rm -f conftest.er1
9599 cat conftest.err >&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); } &&
9602 { ac_try='test -z "$ac_c_werror_flag"
9603 || test ! -s conftest.err'
9604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9605 (eval $ac_try) 2>&5
9606 ac_status=$?
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); }; } &&
9609 { ac_try='test -s conftest$ac_exeext'
9610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9611 (eval $ac_try) 2>&5
9612 ac_status=$?
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); }; }; then
9615 ac_cv_lib_m_ceilf=yes
9616 else
9617 echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.$ac_ext >&5
9620 ac_cv_lib_m_ceilf=no
9622 rm -f conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9627 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9628 if test $ac_cv_lib_m_ceilf = yes; then
9630 cat >>confdefs.h <<\_ACEOF
9631 #define HAVE_CEILF 1
9632 _ACEOF
9636 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9637 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9638 if test "${ac_cv_lib_m_ceil+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 else
9641 ac_check_lib_save_LIBS=$LIBS
9642 LIBS="-lm $LIBS"
9643 if test x$gcc_no_link = xyes; then
9644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9646 { (exit 1); exit 1; }; }
9648 cat >conftest.$ac_ext <<_ACEOF
9649 /* confdefs.h. */
9650 _ACEOF
9651 cat confdefs.h >>conftest.$ac_ext
9652 cat >>conftest.$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9655 /* Override any gcc2 internal prototype to avoid an error. */
9656 #ifdef __cplusplus
9657 extern "C"
9658 #endif
9659 /* We use char because int might match the return type of a gcc2
9660 builtin and then its argument prototype would still apply. */
9661 char ceil ();
9663 main ()
9665 ceil ();
9667 return 0;
9669 _ACEOF
9670 rm -f conftest.$ac_objext conftest$ac_exeext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9672 (eval $ac_link) 2>conftest.er1
9673 ac_status=$?
9674 grep -v '^ *+' conftest.er1 >conftest.err
9675 rm -f conftest.er1
9676 cat conftest.err >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } &&
9679 { ac_try='test -z "$ac_c_werror_flag"
9680 || test ! -s conftest.err'
9681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9682 (eval $ac_try) 2>&5
9683 ac_status=$?
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; } &&
9686 { ac_try='test -s conftest$ac_exeext'
9687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9688 (eval $ac_try) 2>&5
9689 ac_status=$?
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; }; then
9692 ac_cv_lib_m_ceil=yes
9693 else
9694 echo "$as_me: failed program was:" >&5
9695 sed 's/^/| /' conftest.$ac_ext >&5
9697 ac_cv_lib_m_ceil=no
9699 rm -f conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9703 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9704 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9705 if test $ac_cv_lib_m_ceil = yes; then
9707 cat >>confdefs.h <<\_ACEOF
9708 #define HAVE_CEIL 1
9709 _ACEOF
9713 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9714 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9715 if test "${ac_cv_lib_m_ceill+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 else
9718 ac_check_lib_save_LIBS=$LIBS
9719 LIBS="-lm $LIBS"
9720 if test x$gcc_no_link = xyes; then
9721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9723 { (exit 1); exit 1; }; }
9725 cat >conftest.$ac_ext <<_ACEOF
9726 /* confdefs.h. */
9727 _ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any gcc2 internal prototype to avoid an error. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9738 char ceill ();
9740 main ()
9742 ceill ();
9744 return 0;
9746 _ACEOF
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9749 (eval $ac_link) 2>conftest.er1
9750 ac_status=$?
9751 grep -v '^ *+' conftest.er1 >conftest.err
9752 rm -f conftest.er1
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try='test -z "$ac_c_werror_flag"
9757 || test ! -s conftest.err'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 (eval $ac_try) 2>&5
9760 ac_status=$?
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; } &&
9763 { ac_try='test -s conftest$ac_exeext'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 (eval $ac_try) 2>&5
9766 ac_status=$?
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; }; then
9769 ac_cv_lib_m_ceill=yes
9770 else
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9774 ac_cv_lib_m_ceill=no
9776 rm -f conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9781 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9782 if test $ac_cv_lib_m_ceill = yes; then
9784 cat >>confdefs.h <<\_ACEOF
9785 #define HAVE_CEILL 1
9786 _ACEOF
9790 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9791 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9792 if test "${ac_cv_lib_m_copysignf+set}" = set; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 else
9795 ac_check_lib_save_LIBS=$LIBS
9796 LIBS="-lm $LIBS"
9797 if test x$gcc_no_link = xyes; then
9798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9800 { (exit 1); exit 1; }; }
9802 cat >conftest.$ac_ext <<_ACEOF
9803 /* confdefs.h. */
9804 _ACEOF
9805 cat confdefs.h >>conftest.$ac_ext
9806 cat >>conftest.$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9809 /* Override any gcc2 internal prototype to avoid an error. */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 /* We use char because int might match the return type of a gcc2
9814 builtin and then its argument prototype would still apply. */
9815 char copysignf ();
9817 main ()
9819 copysignf ();
9821 return 0;
9823 _ACEOF
9824 rm -f conftest.$ac_objext conftest$ac_exeext
9825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9826 (eval $ac_link) 2>conftest.er1
9827 ac_status=$?
9828 grep -v '^ *+' conftest.er1 >conftest.err
9829 rm -f conftest.er1
9830 cat conftest.err >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); } &&
9833 { ac_try='test -z "$ac_c_werror_flag"
9834 || test ! -s conftest.err'
9835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9836 (eval $ac_try) 2>&5
9837 ac_status=$?
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); }; } &&
9840 { ac_try='test -s conftest$ac_exeext'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842 (eval $ac_try) 2>&5
9843 ac_status=$?
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; }; then
9846 ac_cv_lib_m_copysignf=yes
9847 else
9848 echo "$as_me: failed program was:" >&5
9849 sed 's/^/| /' conftest.$ac_ext >&5
9851 ac_cv_lib_m_copysignf=no
9853 rm -f conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_lib_save_LIBS
9857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
9858 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
9859 if test $ac_cv_lib_m_copysignf = yes; then
9861 cat >>confdefs.h <<\_ACEOF
9862 #define HAVE_COPYSIGNF 1
9863 _ACEOF
9867 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
9868 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
9869 if test "${ac_cv_lib_m_copysign+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9871 else
9872 ac_check_lib_save_LIBS=$LIBS
9873 LIBS="-lm $LIBS"
9874 if test x$gcc_no_link = xyes; then
9875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9877 { (exit 1); exit 1; }; }
9879 cat >conftest.$ac_ext <<_ACEOF
9880 /* confdefs.h. */
9881 _ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9886 /* Override any gcc2 internal prototype to avoid an error. */
9887 #ifdef __cplusplus
9888 extern "C"
9889 #endif
9890 /* We use char because int might match the return type of a gcc2
9891 builtin and then its argument prototype would still apply. */
9892 char copysign ();
9894 main ()
9896 copysign ();
9898 return 0;
9900 _ACEOF
9901 rm -f conftest.$ac_objext conftest$ac_exeext
9902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9903 (eval $ac_link) 2>conftest.er1
9904 ac_status=$?
9905 grep -v '^ *+' conftest.er1 >conftest.err
9906 rm -f conftest.er1
9907 cat conftest.err >&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); } &&
9910 { ac_try='test -z "$ac_c_werror_flag"
9911 || test ! -s conftest.err'
9912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913 (eval $ac_try) 2>&5
9914 ac_status=$?
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); }; } &&
9917 { ac_try='test -s conftest$ac_exeext'
9918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919 (eval $ac_try) 2>&5
9920 ac_status=$?
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); }; }; then
9923 ac_cv_lib_m_copysign=yes
9924 else
9925 echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.$ac_ext >&5
9928 ac_cv_lib_m_copysign=no
9930 rm -f conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_lib_save_LIBS
9934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
9935 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
9936 if test $ac_cv_lib_m_copysign = yes; then
9938 cat >>confdefs.h <<\_ACEOF
9939 #define HAVE_COPYSIGN 1
9940 _ACEOF
9944 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
9945 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
9946 if test "${ac_cv_lib_m_copysignl+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 else
9949 ac_check_lib_save_LIBS=$LIBS
9950 LIBS="-lm $LIBS"
9951 if test x$gcc_no_link = xyes; then
9952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9954 { (exit 1); exit 1; }; }
9956 cat >conftest.$ac_ext <<_ACEOF
9957 /* confdefs.h. */
9958 _ACEOF
9959 cat confdefs.h >>conftest.$ac_ext
9960 cat >>conftest.$ac_ext <<_ACEOF
9961 /* end confdefs.h. */
9963 /* Override any gcc2 internal prototype to avoid an error. */
9964 #ifdef __cplusplus
9965 extern "C"
9966 #endif
9967 /* We use char because int might match the return type of a gcc2
9968 builtin and then its argument prototype would still apply. */
9969 char copysignl ();
9971 main ()
9973 copysignl ();
9975 return 0;
9977 _ACEOF
9978 rm -f conftest.$ac_objext conftest$ac_exeext
9979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9980 (eval $ac_link) 2>conftest.er1
9981 ac_status=$?
9982 grep -v '^ *+' conftest.er1 >conftest.err
9983 rm -f conftest.er1
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } &&
9987 { ac_try='test -z "$ac_c_werror_flag"
9988 || test ! -s conftest.err'
9989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 (eval $ac_try) 2>&5
9991 ac_status=$?
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); }; } &&
9994 { ac_try='test -s conftest$ac_exeext'
9995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996 (eval $ac_try) 2>&5
9997 ac_status=$?
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 ac_cv_lib_m_copysignl=yes
10001 else
10002 echo "$as_me: failed program was:" >&5
10003 sed 's/^/| /' conftest.$ac_ext >&5
10005 ac_cv_lib_m_copysignl=no
10007 rm -f conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 LIBS=$ac_check_lib_save_LIBS
10011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10012 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10013 if test $ac_cv_lib_m_copysignl = yes; then
10015 cat >>confdefs.h <<\_ACEOF
10016 #define HAVE_COPYSIGNL 1
10017 _ACEOF
10021 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10022 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10023 if test "${ac_cv_lib_m_cosf+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10025 else
10026 ac_check_lib_save_LIBS=$LIBS
10027 LIBS="-lm $LIBS"
10028 if test x$gcc_no_link = xyes; then
10029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10031 { (exit 1); exit 1; }; }
10033 cat >conftest.$ac_ext <<_ACEOF
10034 /* confdefs.h. */
10035 _ACEOF
10036 cat confdefs.h >>conftest.$ac_ext
10037 cat >>conftest.$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10040 /* Override any gcc2 internal prototype to avoid an error. */
10041 #ifdef __cplusplus
10042 extern "C"
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045 builtin and then its argument prototype would still apply. */
10046 char cosf ();
10048 main ()
10050 cosf ();
10052 return 0;
10054 _ACEOF
10055 rm -f conftest.$ac_objext conftest$ac_exeext
10056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10057 (eval $ac_link) 2>conftest.er1
10058 ac_status=$?
10059 grep -v '^ *+' conftest.er1 >conftest.err
10060 rm -f conftest.er1
10061 cat conftest.err >&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); } &&
10064 { ac_try='test -z "$ac_c_werror_flag"
10065 || test ! -s conftest.err'
10066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067 (eval $ac_try) 2>&5
10068 ac_status=$?
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; } &&
10071 { ac_try='test -s conftest$ac_exeext'
10072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10073 (eval $ac_try) 2>&5
10074 ac_status=$?
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }; }; then
10077 ac_cv_lib_m_cosf=yes
10078 else
10079 echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.$ac_ext >&5
10082 ac_cv_lib_m_cosf=no
10084 rm -f conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10089 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10090 if test $ac_cv_lib_m_cosf = yes; then
10092 cat >>confdefs.h <<\_ACEOF
10093 #define HAVE_COSF 1
10094 _ACEOF
10098 echo "$as_me:$LINENO: checking for cos in -lm" >&5
10099 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10100 if test "${ac_cv_lib_m_cos+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 else
10103 ac_check_lib_save_LIBS=$LIBS
10104 LIBS="-lm $LIBS"
10105 if test x$gcc_no_link = xyes; then
10106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10108 { (exit 1); exit 1; }; }
10110 cat >conftest.$ac_ext <<_ACEOF
10111 /* confdefs.h. */
10112 _ACEOF
10113 cat confdefs.h >>conftest.$ac_ext
10114 cat >>conftest.$ac_ext <<_ACEOF
10115 /* end confdefs.h. */
10117 /* Override any gcc2 internal prototype to avoid an error. */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 /* We use char because int might match the return type of a gcc2
10122 builtin and then its argument prototype would still apply. */
10123 char cos ();
10125 main ()
10127 cos ();
10129 return 0;
10131 _ACEOF
10132 rm -f conftest.$ac_objext conftest$ac_exeext
10133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10134 (eval $ac_link) 2>conftest.er1
10135 ac_status=$?
10136 grep -v '^ *+' conftest.er1 >conftest.err
10137 rm -f conftest.er1
10138 cat conftest.err >&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } &&
10141 { ac_try='test -z "$ac_c_werror_flag"
10142 || test ! -s conftest.err'
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); }; } &&
10148 { ac_try='test -s conftest$ac_exeext'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10151 ac_status=$?
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; }; then
10154 ac_cv_lib_m_cos=yes
10155 else
10156 echo "$as_me: failed program was:" >&5
10157 sed 's/^/| /' conftest.$ac_ext >&5
10159 ac_cv_lib_m_cos=no
10161 rm -f conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 LIBS=$ac_check_lib_save_LIBS
10165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10166 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10167 if test $ac_cv_lib_m_cos = yes; then
10169 cat >>confdefs.h <<\_ACEOF
10170 #define HAVE_COS 1
10171 _ACEOF
10175 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10176 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10177 if test "${ac_cv_lib_m_cosl+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lm $LIBS"
10182 if test x$gcc_no_link = xyes; then
10183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10185 { (exit 1); exit 1; }; }
10187 cat >conftest.$ac_ext <<_ACEOF
10188 /* confdefs.h. */
10189 _ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10194 /* Override any gcc2 internal prototype to avoid an error. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 /* We use char because int might match the return type of a gcc2
10199 builtin and then its argument prototype would still apply. */
10200 char cosl ();
10202 main ()
10204 cosl ();
10206 return 0;
10208 _ACEOF
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10211 (eval $ac_link) 2>conftest.er1
10212 ac_status=$?
10213 grep -v '^ *+' conftest.er1 >conftest.err
10214 rm -f conftest.er1
10215 cat conftest.err >&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } &&
10218 { ac_try='test -z "$ac_c_werror_flag"
10219 || test ! -s conftest.err'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10222 ac_status=$?
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; } &&
10225 { ac_try='test -s conftest$ac_exeext'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10228 ac_status=$?
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; }; then
10231 ac_cv_lib_m_cosl=yes
10232 else
10233 echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.$ac_ext >&5
10236 ac_cv_lib_m_cosl=no
10238 rm -f conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_lib_save_LIBS
10242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10243 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10244 if test $ac_cv_lib_m_cosl = yes; then
10246 cat >>confdefs.h <<\_ACEOF
10247 #define HAVE_COSL 1
10248 _ACEOF
10252 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10253 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10254 if test "${ac_cv_lib_m_ccosf+set}" = set; then
10255 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 else
10257 ac_check_lib_save_LIBS=$LIBS
10258 LIBS="-lm $LIBS"
10259 if test x$gcc_no_link = xyes; then
10260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10262 { (exit 1); exit 1; }; }
10264 cat >conftest.$ac_ext <<_ACEOF
10265 /* confdefs.h. */
10266 _ACEOF
10267 cat confdefs.h >>conftest.$ac_ext
10268 cat >>conftest.$ac_ext <<_ACEOF
10269 /* end confdefs.h. */
10271 /* Override any gcc2 internal prototype to avoid an error. */
10272 #ifdef __cplusplus
10273 extern "C"
10274 #endif
10275 /* We use char because int might match the return type of a gcc2
10276 builtin and then its argument prototype would still apply. */
10277 char ccosf ();
10279 main ()
10281 ccosf ();
10283 return 0;
10285 _ACEOF
10286 rm -f conftest.$ac_objext conftest$ac_exeext
10287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10288 (eval $ac_link) 2>conftest.er1
10289 ac_status=$?
10290 grep -v '^ *+' conftest.er1 >conftest.err
10291 rm -f conftest.er1
10292 cat conftest.err >&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } &&
10295 { ac_try='test -z "$ac_c_werror_flag"
10296 || test ! -s conftest.err'
10297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298 (eval $ac_try) 2>&5
10299 ac_status=$?
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); }; } &&
10302 { ac_try='test -s conftest$ac_exeext'
10303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304 (eval $ac_try) 2>&5
10305 ac_status=$?
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); }; }; then
10308 ac_cv_lib_m_ccosf=yes
10309 else
10310 echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.$ac_ext >&5
10313 ac_cv_lib_m_ccosf=no
10315 rm -f conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_lib_save_LIBS
10319 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10320 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10321 if test $ac_cv_lib_m_ccosf = yes; then
10323 cat >>confdefs.h <<\_ACEOF
10324 #define HAVE_CCOSF 1
10325 _ACEOF
10329 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10330 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10331 if test "${ac_cv_lib_m_ccos+set}" = set; then
10332 echo $ECHO_N "(cached) $ECHO_C" >&6
10333 else
10334 ac_check_lib_save_LIBS=$LIBS
10335 LIBS="-lm $LIBS"
10336 if test x$gcc_no_link = xyes; then
10337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10339 { (exit 1); exit 1; }; }
10341 cat >conftest.$ac_ext <<_ACEOF
10342 /* confdefs.h. */
10343 _ACEOF
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10348 /* Override any gcc2 internal prototype to avoid an error. */
10349 #ifdef __cplusplus
10350 extern "C"
10351 #endif
10352 /* We use char because int might match the return type of a gcc2
10353 builtin and then its argument prototype would still apply. */
10354 char ccos ();
10356 main ()
10358 ccos ();
10360 return 0;
10362 _ACEOF
10363 rm -f conftest.$ac_objext conftest$ac_exeext
10364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10365 (eval $ac_link) 2>conftest.er1
10366 ac_status=$?
10367 grep -v '^ *+' conftest.er1 >conftest.err
10368 rm -f conftest.er1
10369 cat conftest.err >&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); } &&
10372 { ac_try='test -z "$ac_c_werror_flag"
10373 || test ! -s conftest.err'
10374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10375 (eval $ac_try) 2>&5
10376 ac_status=$?
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); }; } &&
10379 { ac_try='test -s conftest$ac_exeext'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10382 ac_status=$?
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; }; then
10385 ac_cv_lib_m_ccos=yes
10386 else
10387 echo "$as_me: failed program was:" >&5
10388 sed 's/^/| /' conftest.$ac_ext >&5
10390 ac_cv_lib_m_ccos=no
10392 rm -f conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 LIBS=$ac_check_lib_save_LIBS
10396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10397 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10398 if test $ac_cv_lib_m_ccos = yes; then
10400 cat >>confdefs.h <<\_ACEOF
10401 #define HAVE_CCOS 1
10402 _ACEOF
10406 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10407 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10408 if test "${ac_cv_lib_m_ccosl+set}" = set; then
10409 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 else
10411 ac_check_lib_save_LIBS=$LIBS
10412 LIBS="-lm $LIBS"
10413 if test x$gcc_no_link = xyes; then
10414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10416 { (exit 1); exit 1; }; }
10418 cat >conftest.$ac_ext <<_ACEOF
10419 /* confdefs.h. */
10420 _ACEOF
10421 cat confdefs.h >>conftest.$ac_ext
10422 cat >>conftest.$ac_ext <<_ACEOF
10423 /* end confdefs.h. */
10425 /* Override any gcc2 internal prototype to avoid an error. */
10426 #ifdef __cplusplus
10427 extern "C"
10428 #endif
10429 /* We use char because int might match the return type of a gcc2
10430 builtin and then its argument prototype would still apply. */
10431 char ccosl ();
10433 main ()
10435 ccosl ();
10437 return 0;
10439 _ACEOF
10440 rm -f conftest.$ac_objext conftest$ac_exeext
10441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10442 (eval $ac_link) 2>conftest.er1
10443 ac_status=$?
10444 grep -v '^ *+' conftest.er1 >conftest.err
10445 rm -f conftest.er1
10446 cat conftest.err >&5
10447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); } &&
10449 { ac_try='test -z "$ac_c_werror_flag"
10450 || test ! -s conftest.err'
10451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10452 (eval $ac_try) 2>&5
10453 ac_status=$?
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); }; } &&
10456 { ac_try='test -s conftest$ac_exeext'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10459 ac_status=$?
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; }; then
10462 ac_cv_lib_m_ccosl=yes
10463 else
10464 echo "$as_me: failed program was:" >&5
10465 sed 's/^/| /' conftest.$ac_ext >&5
10467 ac_cv_lib_m_ccosl=no
10469 rm -f conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_lib_save_LIBS
10473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10474 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10475 if test $ac_cv_lib_m_ccosl = yes; then
10477 cat >>confdefs.h <<\_ACEOF
10478 #define HAVE_CCOSL 1
10479 _ACEOF
10483 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10484 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10485 if test "${ac_cv_lib_m_coshf+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 else
10488 ac_check_lib_save_LIBS=$LIBS
10489 LIBS="-lm $LIBS"
10490 if test x$gcc_no_link = xyes; then
10491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10493 { (exit 1); exit 1; }; }
10495 cat >conftest.$ac_ext <<_ACEOF
10496 /* confdefs.h. */
10497 _ACEOF
10498 cat confdefs.h >>conftest.$ac_ext
10499 cat >>conftest.$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10502 /* Override any gcc2 internal prototype to avoid an error. */
10503 #ifdef __cplusplus
10504 extern "C"
10505 #endif
10506 /* We use char because int might match the return type of a gcc2
10507 builtin and then its argument prototype would still apply. */
10508 char coshf ();
10510 main ()
10512 coshf ();
10514 return 0;
10516 _ACEOF
10517 rm -f conftest.$ac_objext conftest$ac_exeext
10518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10519 (eval $ac_link) 2>conftest.er1
10520 ac_status=$?
10521 grep -v '^ *+' conftest.er1 >conftest.err
10522 rm -f conftest.er1
10523 cat conftest.err >&5
10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525 (exit $ac_status); } &&
10526 { ac_try='test -z "$ac_c_werror_flag"
10527 || test ! -s conftest.err'
10528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10529 (eval $ac_try) 2>&5
10530 ac_status=$?
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); }; } &&
10533 { ac_try='test -s conftest$ac_exeext'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10536 ac_status=$?
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; }; then
10539 ac_cv_lib_m_coshf=yes
10540 else
10541 echo "$as_me: failed program was:" >&5
10542 sed 's/^/| /' conftest.$ac_ext >&5
10544 ac_cv_lib_m_coshf=no
10546 rm -f conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_lib_save_LIBS
10550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10551 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10552 if test $ac_cv_lib_m_coshf = yes; then
10554 cat >>confdefs.h <<\_ACEOF
10555 #define HAVE_COSHF 1
10556 _ACEOF
10560 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10561 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10562 if test "${ac_cv_lib_m_cosh+set}" = set; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 else
10565 ac_check_lib_save_LIBS=$LIBS
10566 LIBS="-lm $LIBS"
10567 if test x$gcc_no_link = xyes; then
10568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10570 { (exit 1); exit 1; }; }
10572 cat >conftest.$ac_ext <<_ACEOF
10573 /* confdefs.h. */
10574 _ACEOF
10575 cat confdefs.h >>conftest.$ac_ext
10576 cat >>conftest.$ac_ext <<_ACEOF
10577 /* end confdefs.h. */
10579 /* Override any gcc2 internal prototype to avoid an error. */
10580 #ifdef __cplusplus
10581 extern "C"
10582 #endif
10583 /* We use char because int might match the return type of a gcc2
10584 builtin and then its argument prototype would still apply. */
10585 char cosh ();
10587 main ()
10589 cosh ();
10591 return 0;
10593 _ACEOF
10594 rm -f conftest.$ac_objext conftest$ac_exeext
10595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10596 (eval $ac_link) 2>conftest.er1
10597 ac_status=$?
10598 grep -v '^ *+' conftest.er1 >conftest.err
10599 rm -f conftest.er1
10600 cat conftest.err >&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } &&
10603 { ac_try='test -z "$ac_c_werror_flag"
10604 || test ! -s conftest.err'
10605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10606 (eval $ac_try) 2>&5
10607 ac_status=$?
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); }; } &&
10610 { ac_try='test -s conftest$ac_exeext'
10611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10612 (eval $ac_try) 2>&5
10613 ac_status=$?
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); }; }; then
10616 ac_cv_lib_m_cosh=yes
10617 else
10618 echo "$as_me: failed program was:" >&5
10619 sed 's/^/| /' conftest.$ac_ext >&5
10621 ac_cv_lib_m_cosh=no
10623 rm -f conftest.err conftest.$ac_objext \
10624 conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_lib_save_LIBS
10627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10628 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10629 if test $ac_cv_lib_m_cosh = yes; then
10631 cat >>confdefs.h <<\_ACEOF
10632 #define HAVE_COSH 1
10633 _ACEOF
10637 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10638 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10639 if test "${ac_cv_lib_m_coshl+set}" = set; then
10640 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 else
10642 ac_check_lib_save_LIBS=$LIBS
10643 LIBS="-lm $LIBS"
10644 if test x$gcc_no_link = xyes; then
10645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10647 { (exit 1); exit 1; }; }
10649 cat >conftest.$ac_ext <<_ACEOF
10650 /* confdefs.h. */
10651 _ACEOF
10652 cat confdefs.h >>conftest.$ac_ext
10653 cat >>conftest.$ac_ext <<_ACEOF
10654 /* end confdefs.h. */
10656 /* Override any gcc2 internal prototype to avoid an error. */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 /* We use char because int might match the return type of a gcc2
10661 builtin and then its argument prototype would still apply. */
10662 char coshl ();
10664 main ()
10666 coshl ();
10668 return 0;
10670 _ACEOF
10671 rm -f conftest.$ac_objext conftest$ac_exeext
10672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10673 (eval $ac_link) 2>conftest.er1
10674 ac_status=$?
10675 grep -v '^ *+' conftest.er1 >conftest.err
10676 rm -f conftest.er1
10677 cat conftest.err >&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } &&
10680 { ac_try='test -z "$ac_c_werror_flag"
10681 || test ! -s conftest.err'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5
10684 ac_status=$?
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; } &&
10687 { ac_try='test -s conftest$ac_exeext'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10690 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then
10693 ac_cv_lib_m_coshl=yes
10694 else
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10698 ac_cv_lib_m_coshl=no
10700 rm -f conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
10705 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10706 if test $ac_cv_lib_m_coshl = yes; then
10708 cat >>confdefs.h <<\_ACEOF
10709 #define HAVE_COSHL 1
10710 _ACEOF
10714 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10715 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10716 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719 ac_check_lib_save_LIBS=$LIBS
10720 LIBS="-lm $LIBS"
10721 if test x$gcc_no_link = xyes; then
10722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10724 { (exit 1); exit 1; }; }
10726 cat >conftest.$ac_ext <<_ACEOF
10727 /* confdefs.h. */
10728 _ACEOF
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10733 /* Override any gcc2 internal prototype to avoid an error. */
10734 #ifdef __cplusplus
10735 extern "C"
10736 #endif
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10739 char ccoshf ();
10741 main ()
10743 ccoshf ();
10745 return 0;
10747 _ACEOF
10748 rm -f conftest.$ac_objext conftest$ac_exeext
10749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10750 (eval $ac_link) 2>conftest.er1
10751 ac_status=$?
10752 grep -v '^ *+' conftest.er1 >conftest.err
10753 rm -f conftest.er1
10754 cat conftest.err >&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try='test -z "$ac_c_werror_flag"
10758 || test ! -s conftest.err'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10761 ac_status=$?
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; } &&
10764 { ac_try='test -s conftest$ac_exeext'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10767 ac_status=$?
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; }; then
10770 ac_cv_lib_m_ccoshf=yes
10771 else
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10775 ac_cv_lib_m_ccoshf=no
10777 rm -f conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_lib_save_LIBS
10781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10782 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10783 if test $ac_cv_lib_m_ccoshf = yes; then
10785 cat >>confdefs.h <<\_ACEOF
10786 #define HAVE_CCOSHF 1
10787 _ACEOF
10791 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10792 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10793 if test "${ac_cv_lib_m_ccosh+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 else
10796 ac_check_lib_save_LIBS=$LIBS
10797 LIBS="-lm $LIBS"
10798 if test x$gcc_no_link = xyes; then
10799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10801 { (exit 1); exit 1; }; }
10803 cat >conftest.$ac_ext <<_ACEOF
10804 /* confdefs.h. */
10805 _ACEOF
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10810 /* Override any gcc2 internal prototype to avoid an error. */
10811 #ifdef __cplusplus
10812 extern "C"
10813 #endif
10814 /* We use char because int might match the return type of a gcc2
10815 builtin and then its argument prototype would still apply. */
10816 char ccosh ();
10818 main ()
10820 ccosh ();
10822 return 0;
10824 _ACEOF
10825 rm -f conftest.$ac_objext conftest$ac_exeext
10826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10827 (eval $ac_link) 2>conftest.er1
10828 ac_status=$?
10829 grep -v '^ *+' conftest.er1 >conftest.err
10830 rm -f conftest.er1
10831 cat conftest.err >&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } &&
10834 { ac_try='test -z "$ac_c_werror_flag"
10835 || test ! -s conftest.err'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10838 ac_status=$?
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; } &&
10841 { ac_try='test -s conftest$ac_exeext'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10844 ac_status=$?
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; }; then
10847 ac_cv_lib_m_ccosh=yes
10848 else
10849 echo "$as_me: failed program was:" >&5
10850 sed 's/^/| /' conftest.$ac_ext >&5
10852 ac_cv_lib_m_ccosh=no
10854 rm -f conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
10859 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
10860 if test $ac_cv_lib_m_ccosh = yes; then
10862 cat >>confdefs.h <<\_ACEOF
10863 #define HAVE_CCOSH 1
10864 _ACEOF
10868 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
10869 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
10870 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lm $LIBS"
10875 if test x$gcc_no_link = xyes; then
10876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10878 { (exit 1); exit 1; }; }
10880 cat >conftest.$ac_ext <<_ACEOF
10881 /* confdefs.h. */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10887 /* Override any gcc2 internal prototype to avoid an error. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 /* We use char because int might match the return type of a gcc2
10892 builtin and then its argument prototype would still apply. */
10893 char ccoshl ();
10895 main ()
10897 ccoshl ();
10899 return 0;
10901 _ACEOF
10902 rm -f conftest.$ac_objext conftest$ac_exeext
10903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 (eval $ac_link) 2>conftest.er1
10905 ac_status=$?
10906 grep -v '^ *+' conftest.er1 >conftest.err
10907 rm -f conftest.er1
10908 cat conftest.err >&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); } &&
10911 { ac_try='test -z "$ac_c_werror_flag"
10912 || test ! -s conftest.err'
10913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10914 (eval $ac_try) 2>&5
10915 ac_status=$?
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); }; } &&
10918 { ac_try='test -s conftest$ac_exeext'
10919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 (eval $ac_try) 2>&5
10921 ac_status=$?
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }; }; then
10924 ac_cv_lib_m_ccoshl=yes
10925 else
10926 echo "$as_me: failed program was:" >&5
10927 sed 's/^/| /' conftest.$ac_ext >&5
10929 ac_cv_lib_m_ccoshl=no
10931 rm -f conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LIBS=$ac_check_lib_save_LIBS
10935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
10936 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
10937 if test $ac_cv_lib_m_ccoshl = yes; then
10939 cat >>confdefs.h <<\_ACEOF
10940 #define HAVE_CCOSHL 1
10941 _ACEOF
10945 echo "$as_me:$LINENO: checking for expf in -lm" >&5
10946 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
10947 if test "${ac_cv_lib_m_expf+set}" = set; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10949 else
10950 ac_check_lib_save_LIBS=$LIBS
10951 LIBS="-lm $LIBS"
10952 if test x$gcc_no_link = xyes; then
10953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10955 { (exit 1); exit 1; }; }
10957 cat >conftest.$ac_ext <<_ACEOF
10958 /* confdefs.h. */
10959 _ACEOF
10960 cat confdefs.h >>conftest.$ac_ext
10961 cat >>conftest.$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10964 /* Override any gcc2 internal prototype to avoid an error. */
10965 #ifdef __cplusplus
10966 extern "C"
10967 #endif
10968 /* We use char because int might match the return type of a gcc2
10969 builtin and then its argument prototype would still apply. */
10970 char expf ();
10972 main ()
10974 expf ();
10976 return 0;
10978 _ACEOF
10979 rm -f conftest.$ac_objext conftest$ac_exeext
10980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10981 (eval $ac_link) 2>conftest.er1
10982 ac_status=$?
10983 grep -v '^ *+' conftest.er1 >conftest.err
10984 rm -f conftest.er1
10985 cat conftest.err >&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } &&
10988 { ac_try='test -z "$ac_c_werror_flag"
10989 || test ! -s conftest.err'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10992 ac_status=$?
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; } &&
10995 { ac_try='test -s conftest$ac_exeext'
10996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10997 (eval $ac_try) 2>&5
10998 ac_status=$?
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); }; }; then
11001 ac_cv_lib_m_expf=yes
11002 else
11003 echo "$as_me: failed program was:" >&5
11004 sed 's/^/| /' conftest.$ac_ext >&5
11006 ac_cv_lib_m_expf=no
11008 rm -f conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_lib_save_LIBS
11012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11013 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11014 if test $ac_cv_lib_m_expf = yes; then
11016 cat >>confdefs.h <<\_ACEOF
11017 #define HAVE_EXPF 1
11018 _ACEOF
11022 echo "$as_me:$LINENO: checking for exp in -lm" >&5
11023 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11024 if test "${ac_cv_lib_m_exp+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lm $LIBS"
11029 if test x$gcc_no_link = xyes; then
11030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11032 { (exit 1); exit 1; }; }
11034 cat >conftest.$ac_ext <<_ACEOF
11035 /* confdefs.h. */
11036 _ACEOF
11037 cat confdefs.h >>conftest.$ac_ext
11038 cat >>conftest.$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11041 /* Override any gcc2 internal prototype to avoid an error. */
11042 #ifdef __cplusplus
11043 extern "C"
11044 #endif
11045 /* We use char because int might match the return type of a gcc2
11046 builtin and then its argument prototype would still apply. */
11047 char exp ();
11049 main ()
11051 exp ();
11053 return 0;
11055 _ACEOF
11056 rm -f conftest.$ac_objext conftest$ac_exeext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11058 (eval $ac_link) 2>conftest.er1
11059 ac_status=$?
11060 grep -v '^ *+' conftest.er1 >conftest.err
11061 rm -f conftest.er1
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try='test -z "$ac_c_werror_flag"
11066 || test ! -s conftest.err'
11067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11068 (eval $ac_try) 2>&5
11069 ac_status=$?
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }; } &&
11072 { ac_try='test -s conftest$ac_exeext'
11073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074 (eval $ac_try) 2>&5
11075 ac_status=$?
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; }; then
11078 ac_cv_lib_m_exp=yes
11079 else
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.$ac_ext >&5
11083 ac_cv_lib_m_exp=no
11085 rm -f conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11090 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11091 if test $ac_cv_lib_m_exp = yes; then
11093 cat >>confdefs.h <<\_ACEOF
11094 #define HAVE_EXP 1
11095 _ACEOF
11099 echo "$as_me:$LINENO: checking for expl in -lm" >&5
11100 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11101 if test "${ac_cv_lib_m_expl+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 else
11104 ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-lm $LIBS"
11106 if test x$gcc_no_link = xyes; then
11107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11109 { (exit 1); exit 1; }; }
11111 cat >conftest.$ac_ext <<_ACEOF
11112 /* confdefs.h. */
11113 _ACEOF
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11118 /* Override any gcc2 internal prototype to avoid an error. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 /* We use char because int might match the return type of a gcc2
11123 builtin and then its argument prototype would still apply. */
11124 char expl ();
11126 main ()
11128 expl ();
11130 return 0;
11132 _ACEOF
11133 rm -f conftest.$ac_objext conftest$ac_exeext
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135 (eval $ac_link) 2>conftest.er1
11136 ac_status=$?
11137 grep -v '^ *+' conftest.er1 >conftest.err
11138 rm -f conftest.er1
11139 cat conftest.err >&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } &&
11142 { ac_try='test -z "$ac_c_werror_flag"
11143 || test ! -s conftest.err'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11146 ac_status=$?
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; } &&
11149 { ac_try='test -s conftest$ac_exeext'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11152 ac_status=$?
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; }; then
11155 ac_cv_lib_m_expl=yes
11156 else
11157 echo "$as_me: failed program was:" >&5
11158 sed 's/^/| /' conftest.$ac_ext >&5
11160 ac_cv_lib_m_expl=no
11162 rm -f conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11167 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11168 if test $ac_cv_lib_m_expl = yes; then
11170 cat >>confdefs.h <<\_ACEOF
11171 #define HAVE_EXPL 1
11172 _ACEOF
11176 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11177 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11178 if test "${ac_cv_lib_m_cexpf+set}" = set; then
11179 echo $ECHO_N "(cached) $ECHO_C" >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lm $LIBS"
11183 if test x$gcc_no_link = xyes; then
11184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11186 { (exit 1); exit 1; }; }
11188 cat >conftest.$ac_ext <<_ACEOF
11189 /* confdefs.h. */
11190 _ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11195 /* Override any gcc2 internal prototype to avoid an error. */
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11201 char cexpf ();
11203 main ()
11205 cexpf ();
11207 return 0;
11209 _ACEOF
11210 rm -f conftest.$ac_objext conftest$ac_exeext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11212 (eval $ac_link) 2>conftest.er1
11213 ac_status=$?
11214 grep -v '^ *+' conftest.er1 >conftest.err
11215 rm -f conftest.er1
11216 cat conftest.err >&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try='test -z "$ac_c_werror_flag"
11220 || test ! -s conftest.err'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try='test -s conftest$ac_exeext'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11229 ac_status=$?
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then
11232 ac_cv_lib_m_cexpf=yes
11233 else
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11237 ac_cv_lib_m_cexpf=no
11239 rm -f conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11244 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11245 if test $ac_cv_lib_m_cexpf = yes; then
11247 cat >>confdefs.h <<\_ACEOF
11248 #define HAVE_CEXPF 1
11249 _ACEOF
11253 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11254 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11255 if test "${ac_cv_lib_m_cexp+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 else
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lm $LIBS"
11260 if test x$gcc_no_link = xyes; then
11261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11263 { (exit 1); exit 1; }; }
11265 cat >conftest.$ac_ext <<_ACEOF
11266 /* confdefs.h. */
11267 _ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11272 /* Override any gcc2 internal prototype to avoid an error. */
11273 #ifdef __cplusplus
11274 extern "C"
11275 #endif
11276 /* We use char because int might match the return type of a gcc2
11277 builtin and then its argument prototype would still apply. */
11278 char cexp ();
11280 main ()
11282 cexp ();
11284 return 0;
11286 _ACEOF
11287 rm -f conftest.$ac_objext conftest$ac_exeext
11288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11289 (eval $ac_link) 2>conftest.er1
11290 ac_status=$?
11291 grep -v '^ *+' conftest.er1 >conftest.err
11292 rm -f conftest.er1
11293 cat conftest.err >&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } &&
11296 { ac_try='test -z "$ac_c_werror_flag"
11297 || test ! -s conftest.err'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11300 ac_status=$?
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; } &&
11303 { ac_try='test -s conftest$ac_exeext'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; }; then
11309 ac_cv_lib_m_cexp=yes
11310 else
11311 echo "$as_me: failed program was:" >&5
11312 sed 's/^/| /' conftest.$ac_ext >&5
11314 ac_cv_lib_m_cexp=no
11316 rm -f conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_lib_save_LIBS
11320 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11321 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11322 if test $ac_cv_lib_m_cexp = yes; then
11324 cat >>confdefs.h <<\_ACEOF
11325 #define HAVE_CEXP 1
11326 _ACEOF
11330 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11331 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11332 if test "${ac_cv_lib_m_cexpl+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 ac_check_lib_save_LIBS=$LIBS
11336 LIBS="-lm $LIBS"
11337 if test x$gcc_no_link = xyes; then
11338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11340 { (exit 1); exit 1; }; }
11342 cat >conftest.$ac_ext <<_ACEOF
11343 /* confdefs.h. */
11344 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11349 /* Override any gcc2 internal prototype to avoid an error. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 /* We use char because int might match the return type of a gcc2
11354 builtin and then its argument prototype would still apply. */
11355 char cexpl ();
11357 main ()
11359 cexpl ();
11361 return 0;
11363 _ACEOF
11364 rm -f conftest.$ac_objext conftest$ac_exeext
11365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11366 (eval $ac_link) 2>conftest.er1
11367 ac_status=$?
11368 grep -v '^ *+' conftest.er1 >conftest.err
11369 rm -f conftest.er1
11370 cat conftest.err >&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } &&
11373 { ac_try='test -z "$ac_c_werror_flag"
11374 || test ! -s conftest.err'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11377 ac_status=$?
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; } &&
11380 { ac_try='test -s conftest$ac_exeext'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11383 ac_status=$?
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; }; then
11386 ac_cv_lib_m_cexpl=yes
11387 else
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.$ac_ext >&5
11391 ac_cv_lib_m_cexpl=no
11393 rm -f conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11398 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11399 if test $ac_cv_lib_m_cexpl = yes; then
11401 cat >>confdefs.h <<\_ACEOF
11402 #define HAVE_CEXPL 1
11403 _ACEOF
11407 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11408 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11409 if test "${ac_cv_lib_m_fabsf+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412 ac_check_lib_save_LIBS=$LIBS
11413 LIBS="-lm $LIBS"
11414 if test x$gcc_no_link = xyes; then
11415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11417 { (exit 1); exit 1; }; }
11419 cat >conftest.$ac_ext <<_ACEOF
11420 /* confdefs.h. */
11421 _ACEOF
11422 cat confdefs.h >>conftest.$ac_ext
11423 cat >>conftest.$ac_ext <<_ACEOF
11424 /* end confdefs.h. */
11426 /* Override any gcc2 internal prototype to avoid an error. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 /* We use char because int might match the return type of a gcc2
11431 builtin and then its argument prototype would still apply. */
11432 char fabsf ();
11434 main ()
11436 fabsf ();
11438 return 0;
11440 _ACEOF
11441 rm -f conftest.$ac_objext conftest$ac_exeext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11443 (eval $ac_link) 2>conftest.er1
11444 ac_status=$?
11445 grep -v '^ *+' conftest.er1 >conftest.err
11446 rm -f conftest.er1
11447 cat conftest.err >&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11454 ac_status=$?
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try='test -s conftest$ac_exeext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11460 ac_status=$?
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 ac_cv_lib_m_fabsf=yes
11464 else
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.$ac_ext >&5
11468 ac_cv_lib_m_fabsf=no
11470 rm -f conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11475 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11476 if test $ac_cv_lib_m_fabsf = yes; then
11478 cat >>confdefs.h <<\_ACEOF
11479 #define HAVE_FABSF 1
11480 _ACEOF
11484 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11485 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11486 if test "${ac_cv_lib_m_fabs+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11488 else
11489 ac_check_lib_save_LIBS=$LIBS
11490 LIBS="-lm $LIBS"
11491 if test x$gcc_no_link = xyes; then
11492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11494 { (exit 1); exit 1; }; }
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h. */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11503 /* Override any gcc2 internal prototype to avoid an error. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 /* We use char because int might match the return type of a gcc2
11508 builtin and then its argument prototype would still apply. */
11509 char fabs ();
11511 main ()
11513 fabs ();
11515 return 0;
11517 _ACEOF
11518 rm -f conftest.$ac_objext conftest$ac_exeext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11520 (eval $ac_link) 2>conftest.er1
11521 ac_status=$?
11522 grep -v '^ *+' conftest.er1 >conftest.err
11523 rm -f conftest.er1
11524 cat conftest.err >&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 { ac_try='test -z "$ac_c_werror_flag"
11528 || test ! -s conftest.err'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11531 ac_status=$?
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; } &&
11534 { ac_try='test -s conftest$ac_exeext'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11537 ac_status=$?
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; }; then
11540 ac_cv_lib_m_fabs=yes
11541 else
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.$ac_ext >&5
11545 ac_cv_lib_m_fabs=no
11547 rm -f conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_lib_save_LIBS
11551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11552 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11553 if test $ac_cv_lib_m_fabs = yes; then
11555 cat >>confdefs.h <<\_ACEOF
11556 #define HAVE_FABS 1
11557 _ACEOF
11561 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11562 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11563 if test "${ac_cv_lib_m_fabsl+set}" = set; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11566 ac_check_lib_save_LIBS=$LIBS
11567 LIBS="-lm $LIBS"
11568 if test x$gcc_no_link = xyes; then
11569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11571 { (exit 1); exit 1; }; }
11573 cat >conftest.$ac_ext <<_ACEOF
11574 /* confdefs.h. */
11575 _ACEOF
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11580 /* Override any gcc2 internal prototype to avoid an error. */
11581 #ifdef __cplusplus
11582 extern "C"
11583 #endif
11584 /* We use char because int might match the return type of a gcc2
11585 builtin and then its argument prototype would still apply. */
11586 char fabsl ();
11588 main ()
11590 fabsl ();
11592 return 0;
11594 _ACEOF
11595 rm -f conftest.$ac_objext conftest$ac_exeext
11596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11597 (eval $ac_link) 2>conftest.er1
11598 ac_status=$?
11599 grep -v '^ *+' conftest.er1 >conftest.err
11600 rm -f conftest.er1
11601 cat conftest.err >&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } &&
11604 { ac_try='test -z "$ac_c_werror_flag"
11605 || test ! -s conftest.err'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11608 ac_status=$?
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; } &&
11611 { ac_try='test -s conftest$ac_exeext'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11614 ac_status=$?
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; }; then
11617 ac_cv_lib_m_fabsl=yes
11618 else
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.$ac_ext >&5
11622 ac_cv_lib_m_fabsl=no
11624 rm -f conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11629 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11630 if test $ac_cv_lib_m_fabsl = yes; then
11632 cat >>confdefs.h <<\_ACEOF
11633 #define HAVE_FABSL 1
11634 _ACEOF
11638 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11639 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11640 if test "${ac_cv_lib_m_cabsf+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11642 else
11643 ac_check_lib_save_LIBS=$LIBS
11644 LIBS="-lm $LIBS"
11645 if test x$gcc_no_link = xyes; then
11646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11648 { (exit 1); exit 1; }; }
11650 cat >conftest.$ac_ext <<_ACEOF
11651 /* confdefs.h. */
11652 _ACEOF
11653 cat confdefs.h >>conftest.$ac_ext
11654 cat >>conftest.$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11657 /* Override any gcc2 internal prototype to avoid an error. */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 /* We use char because int might match the return type of a gcc2
11662 builtin and then its argument prototype would still apply. */
11663 char cabsf ();
11665 main ()
11667 cabsf ();
11669 return 0;
11671 _ACEOF
11672 rm -f conftest.$ac_objext conftest$ac_exeext
11673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11674 (eval $ac_link) 2>conftest.er1
11675 ac_status=$?
11676 grep -v '^ *+' conftest.er1 >conftest.err
11677 rm -f conftest.er1
11678 cat conftest.err >&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } &&
11681 { ac_try='test -z "$ac_c_werror_flag"
11682 || test ! -s conftest.err'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; } &&
11688 { ac_try='test -s conftest$ac_exeext'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11691 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then
11694 ac_cv_lib_m_cabsf=yes
11695 else
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11699 ac_cv_lib_m_cabsf=no
11701 rm -f conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11706 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11707 if test $ac_cv_lib_m_cabsf = yes; then
11709 cat >>confdefs.h <<\_ACEOF
11710 #define HAVE_CABSF 1
11711 _ACEOF
11715 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11716 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11717 if test "${ac_cv_lib_m_cabs+set}" = set; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 else
11720 ac_check_lib_save_LIBS=$LIBS
11721 LIBS="-lm $LIBS"
11722 if test x$gcc_no_link = xyes; then
11723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11725 { (exit 1); exit 1; }; }
11727 cat >conftest.$ac_ext <<_ACEOF
11728 /* confdefs.h. */
11729 _ACEOF
11730 cat confdefs.h >>conftest.$ac_ext
11731 cat >>conftest.$ac_ext <<_ACEOF
11732 /* end confdefs.h. */
11734 /* Override any gcc2 internal prototype to avoid an error. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11740 char cabs ();
11742 main ()
11744 cabs ();
11746 return 0;
11748 _ACEOF
11749 rm -f conftest.$ac_objext conftest$ac_exeext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11751 (eval $ac_link) 2>conftest.er1
11752 ac_status=$?
11753 grep -v '^ *+' conftest.er1 >conftest.err
11754 rm -f conftest.er1
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try='test -z "$ac_c_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest$ac_exeext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_lib_m_cabs=yes
11772 else
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11776 ac_cv_lib_m_cabs=no
11778 rm -f conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11783 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11784 if test $ac_cv_lib_m_cabs = yes; then
11786 cat >>confdefs.h <<\_ACEOF
11787 #define HAVE_CABS 1
11788 _ACEOF
11792 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11793 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11794 if test "${ac_cv_lib_m_cabsl+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 else
11797 ac_check_lib_save_LIBS=$LIBS
11798 LIBS="-lm $LIBS"
11799 if test x$gcc_no_link = xyes; then
11800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11802 { (exit 1); exit 1; }; }
11804 cat >conftest.$ac_ext <<_ACEOF
11805 /* confdefs.h. */
11806 _ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11811 /* Override any gcc2 internal prototype to avoid an error. */
11812 #ifdef __cplusplus
11813 extern "C"
11814 #endif
11815 /* We use char because int might match the return type of a gcc2
11816 builtin and then its argument prototype would still apply. */
11817 char cabsl ();
11819 main ()
11821 cabsl ();
11823 return 0;
11825 _ACEOF
11826 rm -f conftest.$ac_objext conftest$ac_exeext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828 (eval $ac_link) 2>conftest.er1
11829 ac_status=$?
11830 grep -v '^ *+' conftest.er1 >conftest.err
11831 rm -f conftest.er1
11832 cat conftest.err >&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try='test -z "$ac_c_werror_flag"
11836 || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try='test -s conftest$ac_exeext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11845 ac_status=$?
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 ac_cv_lib_m_cabsl=yes
11849 else
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11853 ac_cv_lib_m_cabsl=no
11855 rm -f conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
11860 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
11861 if test $ac_cv_lib_m_cabsl = yes; then
11863 cat >>confdefs.h <<\_ACEOF
11864 #define HAVE_CABSL 1
11865 _ACEOF
11869 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
11870 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
11871 if test "${ac_cv_lib_m_floorf+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lm $LIBS"
11876 if test x$gcc_no_link = xyes; then
11877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11879 { (exit 1); exit 1; }; }
11881 cat >conftest.$ac_ext <<_ACEOF
11882 /* confdefs.h. */
11883 _ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11888 /* Override any gcc2 internal prototype to avoid an error. */
11889 #ifdef __cplusplus
11890 extern "C"
11891 #endif
11892 /* We use char because int might match the return type of a gcc2
11893 builtin and then its argument prototype would still apply. */
11894 char floorf ();
11896 main ()
11898 floorf ();
11900 return 0;
11902 _ACEOF
11903 rm -f conftest.$ac_objext conftest$ac_exeext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905 (eval $ac_link) 2>conftest.er1
11906 ac_status=$?
11907 grep -v '^ *+' conftest.er1 >conftest.err
11908 rm -f conftest.er1
11909 cat conftest.err >&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try='test -z "$ac_c_werror_flag"
11913 || test ! -s conftest.err'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11916 ac_status=$?
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; } &&
11919 { ac_try='test -s conftest$ac_exeext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11922 ac_status=$?
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11925 ac_cv_lib_m_floorf=yes
11926 else
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11930 ac_cv_lib_m_floorf=no
11932 rm -f conftest.err conftest.$ac_objext \
11933 conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_lib_save_LIBS
11936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
11937 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
11938 if test $ac_cv_lib_m_floorf = yes; then
11940 cat >>confdefs.h <<\_ACEOF
11941 #define HAVE_FLOORF 1
11942 _ACEOF
11946 echo "$as_me:$LINENO: checking for floor in -lm" >&5
11947 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
11948 if test "${ac_cv_lib_m_floor+set}" = set; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11950 else
11951 ac_check_lib_save_LIBS=$LIBS
11952 LIBS="-lm $LIBS"
11953 if test x$gcc_no_link = xyes; then
11954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11956 { (exit 1); exit 1; }; }
11958 cat >conftest.$ac_ext <<_ACEOF
11959 /* confdefs.h. */
11960 _ACEOF
11961 cat confdefs.h >>conftest.$ac_ext
11962 cat >>conftest.$ac_ext <<_ACEOF
11963 /* end confdefs.h. */
11965 /* Override any gcc2 internal prototype to avoid an error. */
11966 #ifdef __cplusplus
11967 extern "C"
11968 #endif
11969 /* We use char because int might match the return type of a gcc2
11970 builtin and then its argument prototype would still apply. */
11971 char floor ();
11973 main ()
11975 floor ();
11977 return 0;
11979 _ACEOF
11980 rm -f conftest.$ac_objext conftest$ac_exeext
11981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11982 (eval $ac_link) 2>conftest.er1
11983 ac_status=$?
11984 grep -v '^ *+' conftest.er1 >conftest.err
11985 rm -f conftest.er1
11986 cat conftest.err >&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); } &&
11989 { ac_try='test -z "$ac_c_werror_flag"
11990 || test ! -s conftest.err'
11991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 (eval $ac_try) 2>&5
11993 ac_status=$?
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; } &&
11996 { ac_try='test -s conftest$ac_exeext'
11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
11999 ac_status=$?
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; }; then
12002 ac_cv_lib_m_floor=yes
12003 else
12004 echo "$as_me: failed program was:" >&5
12005 sed 's/^/| /' conftest.$ac_ext >&5
12007 ac_cv_lib_m_floor=no
12009 rm -f conftest.err conftest.$ac_objext \
12010 conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_lib_save_LIBS
12013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12014 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12015 if test $ac_cv_lib_m_floor = yes; then
12017 cat >>confdefs.h <<\_ACEOF
12018 #define HAVE_FLOOR 1
12019 _ACEOF
12023 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12024 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12025 if test "${ac_cv_lib_m_floorl+set}" = set; then
12026 echo $ECHO_N "(cached) $ECHO_C" >&6
12027 else
12028 ac_check_lib_save_LIBS=$LIBS
12029 LIBS="-lm $LIBS"
12030 if test x$gcc_no_link = xyes; then
12031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12033 { (exit 1); exit 1; }; }
12035 cat >conftest.$ac_ext <<_ACEOF
12036 /* confdefs.h. */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12042 /* Override any gcc2 internal prototype to avoid an error. */
12043 #ifdef __cplusplus
12044 extern "C"
12045 #endif
12046 /* We use char because int might match the return type of a gcc2
12047 builtin and then its argument prototype would still apply. */
12048 char floorl ();
12050 main ()
12052 floorl ();
12054 return 0;
12056 _ACEOF
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059 (eval $ac_link) 2>conftest.er1
12060 ac_status=$?
12061 grep -v '^ *+' conftest.er1 >conftest.err
12062 rm -f conftest.er1
12063 cat conftest.err >&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); } &&
12066 { ac_try='test -z "$ac_c_werror_flag"
12067 || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try='test -s conftest$ac_exeext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 ac_cv_lib_m_floorl=yes
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 ac_cv_lib_m_floorl=no
12086 rm -f conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_lib_save_LIBS
12090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12091 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12092 if test $ac_cv_lib_m_floorl = yes; then
12094 cat >>confdefs.h <<\_ACEOF
12095 #define HAVE_FLOORL 1
12096 _ACEOF
12100 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12101 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12102 if test "${ac_cv_lib_m_frexpf+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-lm $LIBS"
12107 if test x$gcc_no_link = xyes; then
12108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12110 { (exit 1); exit 1; }; }
12112 cat >conftest.$ac_ext <<_ACEOF
12113 /* confdefs.h. */
12114 _ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12119 /* Override any gcc2 internal prototype to avoid an error. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 /* We use char because int might match the return type of a gcc2
12124 builtin and then its argument prototype would still apply. */
12125 char frexpf ();
12127 main ()
12129 frexpf ();
12131 return 0;
12133 _ACEOF
12134 rm -f conftest.$ac_objext conftest$ac_exeext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12136 (eval $ac_link) 2>conftest.er1
12137 ac_status=$?
12138 grep -v '^ *+' conftest.er1 >conftest.err
12139 rm -f conftest.er1
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } &&
12143 { ac_try='test -z "$ac_c_werror_flag"
12144 || test ! -s conftest.err'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12147 ac_status=$?
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; } &&
12150 { ac_try='test -s conftest$ac_exeext'
12151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152 (eval $ac_try) 2>&5
12153 ac_status=$?
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); }; }; then
12156 ac_cv_lib_m_frexpf=yes
12157 else
12158 echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.$ac_ext >&5
12161 ac_cv_lib_m_frexpf=no
12163 rm -f conftest.err conftest.$ac_objext \
12164 conftest$ac_exeext conftest.$ac_ext
12165 LIBS=$ac_check_lib_save_LIBS
12167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12168 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12169 if test $ac_cv_lib_m_frexpf = yes; then
12171 cat >>confdefs.h <<\_ACEOF
12172 #define HAVE_FREXPF 1
12173 _ACEOF
12177 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12178 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12179 if test "${ac_cv_lib_m_frexp+set}" = set; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12181 else
12182 ac_check_lib_save_LIBS=$LIBS
12183 LIBS="-lm $LIBS"
12184 if test x$gcc_no_link = xyes; then
12185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12187 { (exit 1); exit 1; }; }
12189 cat >conftest.$ac_ext <<_ACEOF
12190 /* confdefs.h. */
12191 _ACEOF
12192 cat confdefs.h >>conftest.$ac_ext
12193 cat >>conftest.$ac_ext <<_ACEOF
12194 /* end confdefs.h. */
12196 /* Override any gcc2 internal prototype to avoid an error. */
12197 #ifdef __cplusplus
12198 extern "C"
12199 #endif
12200 /* We use char because int might match the return type of a gcc2
12201 builtin and then its argument prototype would still apply. */
12202 char frexp ();
12204 main ()
12206 frexp ();
12208 return 0;
12210 _ACEOF
12211 rm -f conftest.$ac_objext conftest$ac_exeext
12212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12213 (eval $ac_link) 2>conftest.er1
12214 ac_status=$?
12215 grep -v '^ *+' conftest.er1 >conftest.err
12216 rm -f conftest.er1
12217 cat conftest.err >&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } &&
12220 { ac_try='test -z "$ac_c_werror_flag"
12221 || test ! -s conftest.err'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; } &&
12227 { ac_try='test -s conftest$ac_exeext'
12228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12229 (eval $ac_try) 2>&5
12230 ac_status=$?
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); }; }; then
12233 ac_cv_lib_m_frexp=yes
12234 else
12235 echo "$as_me: failed program was:" >&5
12236 sed 's/^/| /' conftest.$ac_ext >&5
12238 ac_cv_lib_m_frexp=no
12240 rm -f conftest.err conftest.$ac_objext \
12241 conftest$ac_exeext conftest.$ac_ext
12242 LIBS=$ac_check_lib_save_LIBS
12244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12245 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12246 if test $ac_cv_lib_m_frexp = yes; then
12248 cat >>confdefs.h <<\_ACEOF
12249 #define HAVE_FREXP 1
12250 _ACEOF
12254 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12255 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12256 if test "${ac_cv_lib_m_frexpl+set}" = set; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12258 else
12259 ac_check_lib_save_LIBS=$LIBS
12260 LIBS="-lm $LIBS"
12261 if test x$gcc_no_link = xyes; then
12262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12264 { (exit 1); exit 1; }; }
12266 cat >conftest.$ac_ext <<_ACEOF
12267 /* confdefs.h. */
12268 _ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12273 /* Override any gcc2 internal prototype to avoid an error. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 /* We use char because int might match the return type of a gcc2
12278 builtin and then its argument prototype would still apply. */
12279 char frexpl ();
12281 main ()
12283 frexpl ();
12285 return 0;
12287 _ACEOF
12288 rm -f conftest.$ac_objext conftest$ac_exeext
12289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290 (eval $ac_link) 2>conftest.er1
12291 ac_status=$?
12292 grep -v '^ *+' conftest.er1 >conftest.err
12293 rm -f conftest.er1
12294 cat conftest.err >&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); } &&
12297 { ac_try='test -z "$ac_c_werror_flag"
12298 || test ! -s conftest.err'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12301 ac_status=$?
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; } &&
12304 { ac_try='test -s conftest$ac_exeext'
12305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306 (eval $ac_try) 2>&5
12307 ac_status=$?
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); }; }; then
12310 ac_cv_lib_m_frexpl=yes
12311 else
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.$ac_ext >&5
12315 ac_cv_lib_m_frexpl=no
12317 rm -f conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 LIBS=$ac_check_lib_save_LIBS
12321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12322 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12323 if test $ac_cv_lib_m_frexpl = yes; then
12325 cat >>confdefs.h <<\_ACEOF
12326 #define HAVE_FREXPL 1
12327 _ACEOF
12331 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12332 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12333 if test "${ac_cv_lib_m_hypotf+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12335 else
12336 ac_check_lib_save_LIBS=$LIBS
12337 LIBS="-lm $LIBS"
12338 if test x$gcc_no_link = xyes; then
12339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12341 { (exit 1); exit 1; }; }
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12350 /* Override any gcc2 internal prototype to avoid an error. */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 /* We use char because int might match the return type of a gcc2
12355 builtin and then its argument prototype would still apply. */
12356 char hypotf ();
12358 main ()
12360 hypotf ();
12362 return 0;
12364 _ACEOF
12365 rm -f conftest.$ac_objext conftest$ac_exeext
12366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12367 (eval $ac_link) 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try='test -z "$ac_c_werror_flag"
12375 || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12378 ac_status=$?
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try='test -s conftest$ac_exeext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_cv_lib_m_hypotf=yes
12388 else
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.$ac_ext >&5
12392 ac_cv_lib_m_hypotf=no
12394 rm -f conftest.err conftest.$ac_objext \
12395 conftest$ac_exeext conftest.$ac_ext
12396 LIBS=$ac_check_lib_save_LIBS
12398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12399 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12400 if test $ac_cv_lib_m_hypotf = yes; then
12402 cat >>confdefs.h <<\_ACEOF
12403 #define HAVE_HYPOTF 1
12404 _ACEOF
12408 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12409 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12410 if test "${ac_cv_lib_m_hypot+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 else
12413 ac_check_lib_save_LIBS=$LIBS
12414 LIBS="-lm $LIBS"
12415 if test x$gcc_no_link = xyes; then
12416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12418 { (exit 1); exit 1; }; }
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h. */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12427 /* Override any gcc2 internal prototype to avoid an error. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 /* We use char because int might match the return type of a gcc2
12432 builtin and then its argument prototype would still apply. */
12433 char hypot ();
12435 main ()
12437 hypot ();
12439 return 0;
12441 _ACEOF
12442 rm -f conftest.$ac_objext conftest$ac_exeext
12443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12444 (eval $ac_link) 2>conftest.er1
12445 ac_status=$?
12446 grep -v '^ *+' conftest.er1 >conftest.err
12447 rm -f conftest.er1
12448 cat conftest.err >&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); } &&
12451 { ac_try='test -z "$ac_c_werror_flag"
12452 || test ! -s conftest.err'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12455 ac_status=$?
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; } &&
12458 { ac_try='test -s conftest$ac_exeext'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12461 ac_status=$?
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12464 ac_cv_lib_m_hypot=yes
12465 else
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.$ac_ext >&5
12469 ac_cv_lib_m_hypot=no
12471 rm -f conftest.err conftest.$ac_objext \
12472 conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_lib_save_LIBS
12475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12476 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12477 if test $ac_cv_lib_m_hypot = yes; then
12479 cat >>confdefs.h <<\_ACEOF
12480 #define HAVE_HYPOT 1
12481 _ACEOF
12485 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12486 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12487 if test "${ac_cv_lib_m_hypotl+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 else
12490 ac_check_lib_save_LIBS=$LIBS
12491 LIBS="-lm $LIBS"
12492 if test x$gcc_no_link = xyes; then
12493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12495 { (exit 1); exit 1; }; }
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h. */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12504 /* Override any gcc2 internal prototype to avoid an error. */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 /* We use char because int might match the return type of a gcc2
12509 builtin and then its argument prototype would still apply. */
12510 char hypotl ();
12512 main ()
12514 hypotl ();
12516 return 0;
12518 _ACEOF
12519 rm -f conftest.$ac_objext conftest$ac_exeext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12521 (eval $ac_link) 2>conftest.er1
12522 ac_status=$?
12523 grep -v '^ *+' conftest.er1 >conftest.err
12524 rm -f conftest.er1
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -z "$ac_c_werror_flag"
12529 || test ! -s conftest.err'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12532 ac_status=$?
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; } &&
12535 { ac_try='test -s conftest$ac_exeext'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; }; then
12541 ac_cv_lib_m_hypotl=yes
12542 else
12543 echo "$as_me: failed program was:" >&5
12544 sed 's/^/| /' conftest.$ac_ext >&5
12546 ac_cv_lib_m_hypotl=no
12548 rm -f conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_lib_save_LIBS
12552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12553 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12554 if test $ac_cv_lib_m_hypotl = yes; then
12556 cat >>confdefs.h <<\_ACEOF
12557 #define HAVE_HYPOTL 1
12558 _ACEOF
12562 echo "$as_me:$LINENO: checking for logf in -lm" >&5
12563 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12564 if test "${ac_cv_lib_m_logf+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 else
12567 ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-lm $LIBS"
12569 if test x$gcc_no_link = xyes; then
12570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12572 { (exit 1); exit 1; }; }
12574 cat >conftest.$ac_ext <<_ACEOF
12575 /* confdefs.h. */
12576 _ACEOF
12577 cat confdefs.h >>conftest.$ac_ext
12578 cat >>conftest.$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12581 /* Override any gcc2 internal prototype to avoid an error. */
12582 #ifdef __cplusplus
12583 extern "C"
12584 #endif
12585 /* We use char because int might match the return type of a gcc2
12586 builtin and then its argument prototype would still apply. */
12587 char logf ();
12589 main ()
12591 logf ();
12593 return 0;
12595 _ACEOF
12596 rm -f conftest.$ac_objext conftest$ac_exeext
12597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12598 (eval $ac_link) 2>conftest.er1
12599 ac_status=$?
12600 grep -v '^ *+' conftest.er1 >conftest.err
12601 rm -f conftest.er1
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } &&
12605 { ac_try='test -z "$ac_c_werror_flag"
12606 || test ! -s conftest.err'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12609 ac_status=$?
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; } &&
12612 { ac_try='test -s conftest$ac_exeext'
12613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614 (eval $ac_try) 2>&5
12615 ac_status=$?
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; }; then
12618 ac_cv_lib_m_logf=yes
12619 else
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.$ac_ext >&5
12623 ac_cv_lib_m_logf=no
12625 rm -f conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12630 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12631 if test $ac_cv_lib_m_logf = yes; then
12633 cat >>confdefs.h <<\_ACEOF
12634 #define HAVE_LOGF 1
12635 _ACEOF
12639 echo "$as_me:$LINENO: checking for log in -lm" >&5
12640 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12641 if test "${ac_cv_lib_m_log+set}" = set; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 else
12644 ac_check_lib_save_LIBS=$LIBS
12645 LIBS="-lm $LIBS"
12646 if test x$gcc_no_link = xyes; then
12647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12649 { (exit 1); exit 1; }; }
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12658 /* Override any gcc2 internal prototype to avoid an error. */
12659 #ifdef __cplusplus
12660 extern "C"
12661 #endif
12662 /* We use char because int might match the return type of a gcc2
12663 builtin and then its argument prototype would still apply. */
12664 char log ();
12666 main ()
12668 log ();
12670 return 0;
12672 _ACEOF
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675 (eval $ac_link) 2>conftest.er1
12676 ac_status=$?
12677 grep -v '^ *+' conftest.er1 >conftest.err
12678 rm -f conftest.er1
12679 cat conftest.err >&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } &&
12682 { ac_try='test -z "$ac_c_werror_flag"
12683 || test ! -s conftest.err'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12686 ac_status=$?
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; } &&
12689 { ac_try='test -s conftest$ac_exeext'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12692 ac_status=$?
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; }; then
12695 ac_cv_lib_m_log=yes
12696 else
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12700 ac_cv_lib_m_log=no
12702 rm -f conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_lib_save_LIBS
12706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12707 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12708 if test $ac_cv_lib_m_log = yes; then
12710 cat >>confdefs.h <<\_ACEOF
12711 #define HAVE_LOG 1
12712 _ACEOF
12716 echo "$as_me:$LINENO: checking for logl in -lm" >&5
12717 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12718 if test "${ac_cv_lib_m_logl+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 else
12721 ac_check_lib_save_LIBS=$LIBS
12722 LIBS="-lm $LIBS"
12723 if test x$gcc_no_link = xyes; then
12724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12726 { (exit 1); exit 1; }; }
12728 cat >conftest.$ac_ext <<_ACEOF
12729 /* confdefs.h. */
12730 _ACEOF
12731 cat confdefs.h >>conftest.$ac_ext
12732 cat >>conftest.$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12735 /* Override any gcc2 internal prototype to avoid an error. */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 /* We use char because int might match the return type of a gcc2
12740 builtin and then its argument prototype would still apply. */
12741 char logl ();
12743 main ()
12745 logl ();
12747 return 0;
12749 _ACEOF
12750 rm -f conftest.$ac_objext conftest$ac_exeext
12751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12752 (eval $ac_link) 2>conftest.er1
12753 ac_status=$?
12754 grep -v '^ *+' conftest.er1 >conftest.err
12755 rm -f conftest.er1
12756 cat conftest.err >&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); } &&
12759 { ac_try='test -z "$ac_c_werror_flag"
12760 || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12763 ac_status=$?
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } &&
12766 { ac_try='test -s conftest$ac_exeext'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12769 ac_status=$?
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; }; then
12772 ac_cv_lib_m_logl=yes
12773 else
12774 echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.$ac_ext >&5
12777 ac_cv_lib_m_logl=no
12779 rm -f conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_lib_save_LIBS
12783 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
12784 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12785 if test $ac_cv_lib_m_logl = yes; then
12787 cat >>confdefs.h <<\_ACEOF
12788 #define HAVE_LOGL 1
12789 _ACEOF
12793 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12794 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12795 if test "${ac_cv_lib_m_clogf+set}" = set; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 else
12798 ac_check_lib_save_LIBS=$LIBS
12799 LIBS="-lm $LIBS"
12800 if test x$gcc_no_link = xyes; then
12801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12803 { (exit 1); exit 1; }; }
12805 cat >conftest.$ac_ext <<_ACEOF
12806 /* confdefs.h. */
12807 _ACEOF
12808 cat confdefs.h >>conftest.$ac_ext
12809 cat >>conftest.$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12812 /* Override any gcc2 internal prototype to avoid an error. */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 /* We use char because int might match the return type of a gcc2
12817 builtin and then its argument prototype would still apply. */
12818 char clogf ();
12820 main ()
12822 clogf ();
12824 return 0;
12826 _ACEOF
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12829 (eval $ac_link) 2>conftest.er1
12830 ac_status=$?
12831 grep -v '^ *+' conftest.er1 >conftest.err
12832 rm -f conftest.er1
12833 cat conftest.err >&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } &&
12836 { ac_try='test -z "$ac_c_werror_flag"
12837 || test ! -s conftest.err'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try='test -s conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12846 ac_status=$?
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 ac_cv_lib_m_clogf=yes
12850 else
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12854 ac_cv_lib_m_clogf=no
12856 rm -f conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
12861 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
12862 if test $ac_cv_lib_m_clogf = yes; then
12864 cat >>confdefs.h <<\_ACEOF
12865 #define HAVE_CLOGF 1
12866 _ACEOF
12870 echo "$as_me:$LINENO: checking for clog in -lm" >&5
12871 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
12872 if test "${ac_cv_lib_m_clog+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 else
12875 ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lm $LIBS"
12877 if test x$gcc_no_link = xyes; then
12878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12880 { (exit 1); exit 1; }; }
12882 cat >conftest.$ac_ext <<_ACEOF
12883 /* confdefs.h. */
12884 _ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12889 /* Override any gcc2 internal prototype to avoid an error. */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 /* We use char because int might match the return type of a gcc2
12894 builtin and then its argument prototype would still apply. */
12895 char clog ();
12897 main ()
12899 clog ();
12901 return 0;
12903 _ACEOF
12904 rm -f conftest.$ac_objext conftest$ac_exeext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12906 (eval $ac_link) 2>conftest.er1
12907 ac_status=$?
12908 grep -v '^ *+' conftest.er1 >conftest.err
12909 rm -f conftest.er1
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_c_werror_flag"
12914 || test ! -s conftest.err'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12917 ac_status=$?
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; } &&
12920 { ac_try='test -s conftest$ac_exeext'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12923 ac_status=$?
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; }; then
12926 ac_cv_lib_m_clog=yes
12927 else
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12931 ac_cv_lib_m_clog=no
12933 rm -f conftest.err conftest.$ac_objext \
12934 conftest$ac_exeext conftest.$ac_ext
12935 LIBS=$ac_check_lib_save_LIBS
12937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
12938 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
12939 if test $ac_cv_lib_m_clog = yes; then
12941 cat >>confdefs.h <<\_ACEOF
12942 #define HAVE_CLOG 1
12943 _ACEOF
12947 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
12948 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
12949 if test "${ac_cv_lib_m_clogl+set}" = set; then
12950 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 else
12952 ac_check_lib_save_LIBS=$LIBS
12953 LIBS="-lm $LIBS"
12954 if test x$gcc_no_link = xyes; then
12955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12957 { (exit 1); exit 1; }; }
12959 cat >conftest.$ac_ext <<_ACEOF
12960 /* confdefs.h. */
12961 _ACEOF
12962 cat confdefs.h >>conftest.$ac_ext
12963 cat >>conftest.$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12966 /* Override any gcc2 internal prototype to avoid an error. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 /* We use char because int might match the return type of a gcc2
12971 builtin and then its argument prototype would still apply. */
12972 char clogl ();
12974 main ()
12976 clogl ();
12978 return 0;
12980 _ACEOF
12981 rm -f conftest.$ac_objext conftest$ac_exeext
12982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12983 (eval $ac_link) 2>conftest.er1
12984 ac_status=$?
12985 grep -v '^ *+' conftest.er1 >conftest.err
12986 rm -f conftest.er1
12987 cat conftest.err >&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } &&
12990 { ac_try='test -z "$ac_c_werror_flag"
12991 || test ! -s conftest.err'
12992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993 (eval $ac_try) 2>&5
12994 ac_status=$?
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; } &&
12997 { ac_try='test -s conftest$ac_exeext'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13000 ac_status=$?
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; }; then
13003 ac_cv_lib_m_clogl=yes
13004 else
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.$ac_ext >&5
13008 ac_cv_lib_m_clogl=no
13010 rm -f conftest.err conftest.$ac_objext \
13011 conftest$ac_exeext conftest.$ac_ext
13012 LIBS=$ac_check_lib_save_LIBS
13014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13015 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13016 if test $ac_cv_lib_m_clogl = yes; then
13018 cat >>confdefs.h <<\_ACEOF
13019 #define HAVE_CLOGL 1
13020 _ACEOF
13024 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13025 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13026 if test "${ac_cv_lib_m_log10f+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 else
13029 ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-lm $LIBS"
13031 if test x$gcc_no_link = xyes; then
13032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13034 { (exit 1); exit 1; }; }
13036 cat >conftest.$ac_ext <<_ACEOF
13037 /* confdefs.h. */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13043 /* Override any gcc2 internal prototype to avoid an error. */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 /* We use char because int might match the return type of a gcc2
13048 builtin and then its argument prototype would still apply. */
13049 char log10f ();
13051 main ()
13053 log10f ();
13055 return 0;
13057 _ACEOF
13058 rm -f conftest.$ac_objext conftest$ac_exeext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13060 (eval $ac_link) 2>conftest.er1
13061 ac_status=$?
13062 grep -v '^ *+' conftest.er1 >conftest.err
13063 rm -f conftest.er1
13064 cat conftest.err >&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); } &&
13067 { ac_try='test -z "$ac_c_werror_flag"
13068 || test ! -s conftest.err'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13071 ac_status=$?
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; } &&
13074 { ac_try='test -s conftest$ac_exeext'
13075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076 (eval $ac_try) 2>&5
13077 ac_status=$?
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; }; then
13080 ac_cv_lib_m_log10f=yes
13081 else
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13085 ac_cv_lib_m_log10f=no
13087 rm -f conftest.err conftest.$ac_objext \
13088 conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13092 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13093 if test $ac_cv_lib_m_log10f = yes; then
13095 cat >>confdefs.h <<\_ACEOF
13096 #define HAVE_LOG10F 1
13097 _ACEOF
13101 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13102 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13103 if test "${ac_cv_lib_m_log10+set}" = set; then
13104 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-lm $LIBS"
13108 if test x$gcc_no_link = xyes; then
13109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13111 { (exit 1); exit 1; }; }
13113 cat >conftest.$ac_ext <<_ACEOF
13114 /* confdefs.h. */
13115 _ACEOF
13116 cat confdefs.h >>conftest.$ac_ext
13117 cat >>conftest.$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13120 /* Override any gcc2 internal prototype to avoid an error. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 /* We use char because int might match the return type of a gcc2
13125 builtin and then its argument prototype would still apply. */
13126 char log10 ();
13128 main ()
13130 log10 ();
13132 return 0;
13134 _ACEOF
13135 rm -f conftest.$ac_objext conftest$ac_exeext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137 (eval $ac_link) 2>conftest.er1
13138 ac_status=$?
13139 grep -v '^ *+' conftest.er1 >conftest.err
13140 rm -f conftest.er1
13141 cat conftest.err >&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try='test -z "$ac_c_werror_flag"
13145 || test ! -s conftest.err'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13148 ac_status=$?
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; } &&
13151 { ac_try='test -s conftest$ac_exeext'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13154 ac_status=$?
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; }; then
13157 ac_cv_lib_m_log10=yes
13158 else
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13162 ac_cv_lib_m_log10=no
13164 rm -f conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13166 LIBS=$ac_check_lib_save_LIBS
13168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13169 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13170 if test $ac_cv_lib_m_log10 = yes; then
13172 cat >>confdefs.h <<\_ACEOF
13173 #define HAVE_LOG10 1
13174 _ACEOF
13178 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13179 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13180 if test "${ac_cv_lib_m_log10l+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 else
13183 ac_check_lib_save_LIBS=$LIBS
13184 LIBS="-lm $LIBS"
13185 if test x$gcc_no_link = xyes; then
13186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13188 { (exit 1); exit 1; }; }
13190 cat >conftest.$ac_ext <<_ACEOF
13191 /* confdefs.h. */
13192 _ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13197 /* Override any gcc2 internal prototype to avoid an error. */
13198 #ifdef __cplusplus
13199 extern "C"
13200 #endif
13201 /* We use char because int might match the return type of a gcc2
13202 builtin and then its argument prototype would still apply. */
13203 char log10l ();
13205 main ()
13207 log10l ();
13209 return 0;
13211 _ACEOF
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13214 (eval $ac_link) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag"
13222 || test ! -s conftest.err'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest$ac_exeext'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13231 ac_status=$?
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 ac_cv_lib_m_log10l=yes
13235 else
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13239 ac_cv_lib_m_log10l=no
13241 rm -f conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_lib_save_LIBS
13245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13246 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13247 if test $ac_cv_lib_m_log10l = yes; then
13249 cat >>confdefs.h <<\_ACEOF
13250 #define HAVE_LOG10L 1
13251 _ACEOF
13255 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13256 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13257 if test "${ac_cv_lib_m_clog10f+set}" = set; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 else
13260 ac_check_lib_save_LIBS=$LIBS
13261 LIBS="-lm $LIBS"
13262 if test x$gcc_no_link = xyes; then
13263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13265 { (exit 1); exit 1; }; }
13267 cat >conftest.$ac_ext <<_ACEOF
13268 /* confdefs.h. */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13274 /* Override any gcc2 internal prototype to avoid an error. */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 /* We use char because int might match the return type of a gcc2
13279 builtin and then its argument prototype would still apply. */
13280 char clog10f ();
13282 main ()
13284 clog10f ();
13286 return 0;
13288 _ACEOF
13289 rm -f conftest.$ac_objext conftest$ac_exeext
13290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13291 (eval $ac_link) 2>conftest.er1
13292 ac_status=$?
13293 grep -v '^ *+' conftest.er1 >conftest.err
13294 rm -f conftest.er1
13295 cat conftest.err >&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } &&
13298 { ac_try='test -z "$ac_c_werror_flag"
13299 || test ! -s conftest.err'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; } &&
13305 { ac_try='test -s conftest$ac_exeext'
13306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307 (eval $ac_try) 2>&5
13308 ac_status=$?
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; }; then
13311 ac_cv_lib_m_clog10f=yes
13312 else
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13316 ac_cv_lib_m_clog10f=no
13318 rm -f conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13323 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13324 if test $ac_cv_lib_m_clog10f = yes; then
13326 cat >>confdefs.h <<\_ACEOF
13327 #define HAVE_CLOG10F 1
13328 _ACEOF
13332 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13333 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13334 if test "${ac_cv_lib_m_clog10+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 else
13337 ac_check_lib_save_LIBS=$LIBS
13338 LIBS="-lm $LIBS"
13339 if test x$gcc_no_link = xyes; then
13340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13342 { (exit 1); exit 1; }; }
13344 cat >conftest.$ac_ext <<_ACEOF
13345 /* confdefs.h. */
13346 _ACEOF
13347 cat confdefs.h >>conftest.$ac_ext
13348 cat >>conftest.$ac_ext <<_ACEOF
13349 /* end confdefs.h. */
13351 /* Override any gcc2 internal prototype to avoid an error. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 /* We use char because int might match the return type of a gcc2
13356 builtin and then its argument prototype would still apply. */
13357 char clog10 ();
13359 main ()
13361 clog10 ();
13363 return 0;
13365 _ACEOF
13366 rm -f conftest.$ac_objext conftest$ac_exeext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13368 (eval $ac_link) 2>conftest.er1
13369 ac_status=$?
13370 grep -v '^ *+' conftest.er1 >conftest.err
13371 rm -f conftest.er1
13372 cat conftest.err >&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } &&
13375 { ac_try='test -z "$ac_c_werror_flag"
13376 || test ! -s conftest.err'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13379 ac_status=$?
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; } &&
13382 { ac_try='test -s conftest$ac_exeext'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13385 ac_status=$?
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; }; then
13388 ac_cv_lib_m_clog10=yes
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13393 ac_cv_lib_m_clog10=no
13395 rm -f conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13400 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13401 if test $ac_cv_lib_m_clog10 = yes; then
13403 cat >>confdefs.h <<\_ACEOF
13404 #define HAVE_CLOG10 1
13405 _ACEOF
13409 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13410 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13411 if test "${ac_cv_lib_m_clog10l+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-lm $LIBS"
13416 if test x$gcc_no_link = xyes; then
13417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13419 { (exit 1); exit 1; }; }
13421 cat >conftest.$ac_ext <<_ACEOF
13422 /* confdefs.h. */
13423 _ACEOF
13424 cat confdefs.h >>conftest.$ac_ext
13425 cat >>conftest.$ac_ext <<_ACEOF
13426 /* end confdefs.h. */
13428 /* Override any gcc2 internal prototype to avoid an error. */
13429 #ifdef __cplusplus
13430 extern "C"
13431 #endif
13432 /* We use char because int might match the return type of a gcc2
13433 builtin and then its argument prototype would still apply. */
13434 char clog10l ();
13436 main ()
13438 clog10l ();
13440 return 0;
13442 _ACEOF
13443 rm -f conftest.$ac_objext conftest$ac_exeext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13445 (eval $ac_link) 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } &&
13452 { ac_try='test -z "$ac_c_werror_flag"
13453 || test ! -s conftest.err'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13456 ac_status=$?
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; } &&
13459 { ac_try='test -s conftest$ac_exeext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13462 ac_status=$?
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13465 ac_cv_lib_m_clog10l=yes
13466 else
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13470 ac_cv_lib_m_clog10l=no
13472 rm -f conftest.err conftest.$ac_objext \
13473 conftest$ac_exeext conftest.$ac_ext
13474 LIBS=$ac_check_lib_save_LIBS
13476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13477 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13478 if test $ac_cv_lib_m_clog10l = yes; then
13480 cat >>confdefs.h <<\_ACEOF
13481 #define HAVE_CLOG10L 1
13482 _ACEOF
13486 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13487 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13488 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 else
13491 ac_check_lib_save_LIBS=$LIBS
13492 LIBS="-lm $LIBS"
13493 if test x$gcc_no_link = xyes; then
13494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13496 { (exit 1); exit 1; }; }
13498 cat >conftest.$ac_ext <<_ACEOF
13499 /* confdefs.h. */
13500 _ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13505 /* Override any gcc2 internal prototype to avoid an error. */
13506 #ifdef __cplusplus
13507 extern "C"
13508 #endif
13509 /* We use char because int might match the return type of a gcc2
13510 builtin and then its argument prototype would still apply. */
13511 char nextafterf ();
13513 main ()
13515 nextafterf ();
13517 return 0;
13519 _ACEOF
13520 rm -f conftest.$ac_objext conftest$ac_exeext
13521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13522 (eval $ac_link) 2>conftest.er1
13523 ac_status=$?
13524 grep -v '^ *+' conftest.er1 >conftest.err
13525 rm -f conftest.er1
13526 cat conftest.err >&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } &&
13529 { ac_try='test -z "$ac_c_werror_flag"
13530 || test ! -s conftest.err'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13533 ac_status=$?
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; } &&
13536 { ac_try='test -s conftest$ac_exeext'
13537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538 (eval $ac_try) 2>&5
13539 ac_status=$?
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); }; }; then
13542 ac_cv_lib_m_nextafterf=yes
13543 else
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13547 ac_cv_lib_m_nextafterf=no
13549 rm -f conftest.err conftest.$ac_objext \
13550 conftest$ac_exeext conftest.$ac_ext
13551 LIBS=$ac_check_lib_save_LIBS
13553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13554 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13555 if test $ac_cv_lib_m_nextafterf = yes; then
13557 cat >>confdefs.h <<\_ACEOF
13558 #define HAVE_NEXTAFTERF 1
13559 _ACEOF
13563 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13564 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13565 if test "${ac_cv_lib_m_nextafter+set}" = set; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 else
13568 ac_check_lib_save_LIBS=$LIBS
13569 LIBS="-lm $LIBS"
13570 if test x$gcc_no_link = xyes; then
13571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13573 { (exit 1); exit 1; }; }
13575 cat >conftest.$ac_ext <<_ACEOF
13576 /* confdefs.h. */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13582 /* Override any gcc2 internal prototype to avoid an error. */
13583 #ifdef __cplusplus
13584 extern "C"
13585 #endif
13586 /* We use char because int might match the return type of a gcc2
13587 builtin and then its argument prototype would still apply. */
13588 char nextafter ();
13590 main ()
13592 nextafter ();
13594 return 0;
13596 _ACEOF
13597 rm -f conftest.$ac_objext conftest$ac_exeext
13598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13599 (eval $ac_link) 2>conftest.er1
13600 ac_status=$?
13601 grep -v '^ *+' conftest.er1 >conftest.err
13602 rm -f conftest.er1
13603 cat conftest.err >&5
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); } &&
13606 { ac_try='test -z "$ac_c_werror_flag"
13607 || test ! -s conftest.err'
13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609 (eval $ac_try) 2>&5
13610 ac_status=$?
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; } &&
13613 { ac_try='test -s conftest$ac_exeext'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13616 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; }; then
13619 ac_cv_lib_m_nextafter=yes
13620 else
13621 echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.$ac_ext >&5
13624 ac_cv_lib_m_nextafter=no
13626 rm -f conftest.err conftest.$ac_objext \
13627 conftest$ac_exeext conftest.$ac_ext
13628 LIBS=$ac_check_lib_save_LIBS
13630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13631 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13632 if test $ac_cv_lib_m_nextafter = yes; then
13634 cat >>confdefs.h <<\_ACEOF
13635 #define HAVE_NEXTAFTER 1
13636 _ACEOF
13640 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13641 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13642 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645 ac_check_lib_save_LIBS=$LIBS
13646 LIBS="-lm $LIBS"
13647 if test x$gcc_no_link = xyes; then
13648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13650 { (exit 1); exit 1; }; }
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13659 /* Override any gcc2 internal prototype to avoid an error. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 /* We use char because int might match the return type of a gcc2
13664 builtin and then its argument prototype would still apply. */
13665 char nextafterl ();
13667 main ()
13669 nextafterl ();
13671 return 0;
13673 _ACEOF
13674 rm -f conftest.$ac_objext conftest$ac_exeext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13676 (eval $ac_link) 2>conftest.er1
13677 ac_status=$?
13678 grep -v '^ *+' conftest.er1 >conftest.err
13679 rm -f conftest.er1
13680 cat conftest.err >&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); } &&
13683 { ac_try='test -z "$ac_c_werror_flag"
13684 || test ! -s conftest.err'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13687 ac_status=$?
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; } &&
13690 { ac_try='test -s conftest$ac_exeext'
13691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692 (eval $ac_try) 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; }; then
13696 ac_cv_lib_m_nextafterl=yes
13697 else
13698 echo "$as_me: failed program was:" >&5
13699 sed 's/^/| /' conftest.$ac_ext >&5
13701 ac_cv_lib_m_nextafterl=no
13703 rm -f conftest.err conftest.$ac_objext \
13704 conftest$ac_exeext conftest.$ac_ext
13705 LIBS=$ac_check_lib_save_LIBS
13707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13708 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13709 if test $ac_cv_lib_m_nextafterl = yes; then
13711 cat >>confdefs.h <<\_ACEOF
13712 #define HAVE_NEXTAFTERL 1
13713 _ACEOF
13717 echo "$as_me:$LINENO: checking for powf in -lm" >&5
13718 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13719 if test "${ac_cv_lib_m_powf+set}" = set; then
13720 echo $ECHO_N "(cached) $ECHO_C" >&6
13721 else
13722 ac_check_lib_save_LIBS=$LIBS
13723 LIBS="-lm $LIBS"
13724 if test x$gcc_no_link = xyes; then
13725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13727 { (exit 1); exit 1; }; }
13729 cat >conftest.$ac_ext <<_ACEOF
13730 /* confdefs.h. */
13731 _ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13736 /* Override any gcc2 internal prototype to avoid an error. */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 /* We use char because int might match the return type of a gcc2
13741 builtin and then its argument prototype would still apply. */
13742 char powf ();
13744 main ()
13746 powf ();
13748 return 0;
13750 _ACEOF
13751 rm -f conftest.$ac_objext conftest$ac_exeext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13753 (eval $ac_link) 2>conftest.er1
13754 ac_status=$?
13755 grep -v '^ *+' conftest.er1 >conftest.err
13756 rm -f conftest.er1
13757 cat conftest.err >&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try='test -z "$ac_c_werror_flag"
13761 || test ! -s conftest.err'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13764 ac_status=$?
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; } &&
13767 { ac_try='test -s conftest$ac_exeext'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; }; then
13773 ac_cv_lib_m_powf=yes
13774 else
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13778 ac_cv_lib_m_powf=no
13780 rm -f conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 LIBS=$ac_check_lib_save_LIBS
13784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13785 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13786 if test $ac_cv_lib_m_powf = yes; then
13788 cat >>confdefs.h <<\_ACEOF
13789 #define HAVE_POWF 1
13790 _ACEOF
13794 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13795 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13796 if test "${ac_cv_lib_m_pow+set}" = set; then
13797 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 else
13799 ac_check_lib_save_LIBS=$LIBS
13800 LIBS="-lm $LIBS"
13801 if test x$gcc_no_link = xyes; then
13802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13804 { (exit 1); exit 1; }; }
13806 cat >conftest.$ac_ext <<_ACEOF
13807 /* confdefs.h. */
13808 _ACEOF
13809 cat confdefs.h >>conftest.$ac_ext
13810 cat >>conftest.$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13813 /* Override any gcc2 internal prototype to avoid an error. */
13814 #ifdef __cplusplus
13815 extern "C"
13816 #endif
13817 /* We use char because int might match the return type of a gcc2
13818 builtin and then its argument prototype would still apply. */
13819 char pow ();
13821 main ()
13823 pow ();
13825 return 0;
13827 _ACEOF
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13830 (eval $ac_link) 2>conftest.er1
13831 ac_status=$?
13832 grep -v '^ *+' conftest.er1 >conftest.err
13833 rm -f conftest.er1
13834 cat conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -z "$ac_c_werror_flag"
13838 || test ! -s conftest.err'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13841 ac_status=$?
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; } &&
13844 { ac_try='test -s conftest$ac_exeext'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; }; then
13850 ac_cv_lib_m_pow=yes
13851 else
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13855 ac_cv_lib_m_pow=no
13857 rm -f conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_lib_save_LIBS
13861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13862 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
13863 if test $ac_cv_lib_m_pow = yes; then
13865 cat >>confdefs.h <<\_ACEOF
13866 #define HAVE_POW 1
13867 _ACEOF
13871 echo "$as_me:$LINENO: checking for powl in -lm" >&5
13872 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
13873 if test "${ac_cv_lib_m_powl+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 else
13876 ac_check_lib_save_LIBS=$LIBS
13877 LIBS="-lm $LIBS"
13878 if test x$gcc_no_link = xyes; then
13879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13881 { (exit 1); exit 1; }; }
13883 cat >conftest.$ac_ext <<_ACEOF
13884 /* confdefs.h. */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13890 /* Override any gcc2 internal prototype to avoid an error. */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 /* We use char because int might match the return type of a gcc2
13895 builtin and then its argument prototype would still apply. */
13896 char powl ();
13898 main ()
13900 powl ();
13902 return 0;
13904 _ACEOF
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13907 (eval $ac_link) 2>conftest.er1
13908 ac_status=$?
13909 grep -v '^ *+' conftest.er1 >conftest.err
13910 rm -f conftest.er1
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try='test -z "$ac_c_werror_flag"
13915 || test ! -s conftest.err'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13918 ac_status=$?
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; } &&
13921 { ac_try='test -s conftest$ac_exeext'
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923 (eval $ac_try) 2>&5
13924 ac_status=$?
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; }; then
13927 ac_cv_lib_m_powl=yes
13928 else
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13932 ac_cv_lib_m_powl=no
13934 rm -f conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 LIBS=$ac_check_lib_save_LIBS
13938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
13939 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
13940 if test $ac_cv_lib_m_powl = yes; then
13942 cat >>confdefs.h <<\_ACEOF
13943 #define HAVE_POWL 1
13944 _ACEOF
13948 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
13949 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
13950 if test "${ac_cv_lib_m_cpowf+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 else
13953 ac_check_lib_save_LIBS=$LIBS
13954 LIBS="-lm $LIBS"
13955 if test x$gcc_no_link = xyes; then
13956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13958 { (exit 1); exit 1; }; }
13960 cat >conftest.$ac_ext <<_ACEOF
13961 /* confdefs.h. */
13962 _ACEOF
13963 cat confdefs.h >>conftest.$ac_ext
13964 cat >>conftest.$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13967 /* Override any gcc2 internal prototype to avoid an error. */
13968 #ifdef __cplusplus
13969 extern "C"
13970 #endif
13971 /* We use char because int might match the return type of a gcc2
13972 builtin and then its argument prototype would still apply. */
13973 char cpowf ();
13975 main ()
13977 cpowf ();
13979 return 0;
13981 _ACEOF
13982 rm -f conftest.$ac_objext conftest$ac_exeext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13984 (eval $ac_link) 2>conftest.er1
13985 ac_status=$?
13986 grep -v '^ *+' conftest.er1 >conftest.err
13987 rm -f conftest.er1
13988 cat conftest.err >&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try='test -z "$ac_c_werror_flag"
13992 || test ! -s conftest.err'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13995 ac_status=$?
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; } &&
13998 { ac_try='test -s conftest$ac_exeext'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14001 ac_status=$?
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; }; then
14004 ac_cv_lib_m_cpowf=yes
14005 else
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14009 ac_cv_lib_m_cpowf=no
14011 rm -f conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_lib_save_LIBS
14015 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14016 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14017 if test $ac_cv_lib_m_cpowf = yes; then
14019 cat >>confdefs.h <<\_ACEOF
14020 #define HAVE_CPOWF 1
14021 _ACEOF
14025 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14026 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14027 if test "${ac_cv_lib_m_cpow+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 else
14030 ac_check_lib_save_LIBS=$LIBS
14031 LIBS="-lm $LIBS"
14032 if test x$gcc_no_link = xyes; then
14033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14035 { (exit 1); exit 1; }; }
14037 cat >conftest.$ac_ext <<_ACEOF
14038 /* confdefs.h. */
14039 _ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14044 /* Override any gcc2 internal prototype to avoid an error. */
14045 #ifdef __cplusplus
14046 extern "C"
14047 #endif
14048 /* We use char because int might match the return type of a gcc2
14049 builtin and then its argument prototype would still apply. */
14050 char cpow ();
14052 main ()
14054 cpow ();
14056 return 0;
14058 _ACEOF
14059 rm -f conftest.$ac_objext conftest$ac_exeext
14060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14061 (eval $ac_link) 2>conftest.er1
14062 ac_status=$?
14063 grep -v '^ *+' conftest.er1 >conftest.err
14064 rm -f conftest.er1
14065 cat conftest.err >&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); } &&
14068 { ac_try='test -z "$ac_c_werror_flag"
14069 || test ! -s conftest.err'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14072 ac_status=$?
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; } &&
14075 { ac_try='test -s conftest$ac_exeext'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14078 ac_status=$?
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; }; then
14081 ac_cv_lib_m_cpow=yes
14082 else
14083 echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.$ac_ext >&5
14086 ac_cv_lib_m_cpow=no
14088 rm -f conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14093 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14094 if test $ac_cv_lib_m_cpow = yes; then
14096 cat >>confdefs.h <<\_ACEOF
14097 #define HAVE_CPOW 1
14098 _ACEOF
14102 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14103 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14104 if test "${ac_cv_lib_m_cpowl+set}" = set; then
14105 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 else
14107 ac_check_lib_save_LIBS=$LIBS
14108 LIBS="-lm $LIBS"
14109 if test x$gcc_no_link = xyes; then
14110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14112 { (exit 1); exit 1; }; }
14114 cat >conftest.$ac_ext <<_ACEOF
14115 /* confdefs.h. */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14121 /* Override any gcc2 internal prototype to avoid an error. */
14122 #ifdef __cplusplus
14123 extern "C"
14124 #endif
14125 /* We use char because int might match the return type of a gcc2
14126 builtin and then its argument prototype would still apply. */
14127 char cpowl ();
14129 main ()
14131 cpowl ();
14133 return 0;
14135 _ACEOF
14136 rm -f conftest.$ac_objext conftest$ac_exeext
14137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14138 (eval $ac_link) 2>conftest.er1
14139 ac_status=$?
14140 grep -v '^ *+' conftest.er1 >conftest.err
14141 rm -f conftest.er1
14142 cat conftest.err >&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } &&
14145 { ac_try='test -z "$ac_c_werror_flag"
14146 || test ! -s conftest.err'
14147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; } &&
14152 { ac_try='test -s conftest$ac_exeext'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14155 ac_status=$?
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; }; then
14158 ac_cv_lib_m_cpowl=yes
14159 else
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.$ac_ext >&5
14163 ac_cv_lib_m_cpowl=no
14165 rm -f conftest.err conftest.$ac_objext \
14166 conftest$ac_exeext conftest.$ac_ext
14167 LIBS=$ac_check_lib_save_LIBS
14169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14170 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14171 if test $ac_cv_lib_m_cpowl = yes; then
14173 cat >>confdefs.h <<\_ACEOF
14174 #define HAVE_CPOWL 1
14175 _ACEOF
14179 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14180 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14181 if test "${ac_cv_lib_m_roundf+set}" = set; then
14182 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 else
14184 ac_check_lib_save_LIBS=$LIBS
14185 LIBS="-lm $LIBS"
14186 if test x$gcc_no_link = xyes; then
14187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14189 { (exit 1); exit 1; }; }
14191 cat >conftest.$ac_ext <<_ACEOF
14192 /* confdefs.h. */
14193 _ACEOF
14194 cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14198 /* Override any gcc2 internal prototype to avoid an error. */
14199 #ifdef __cplusplus
14200 extern "C"
14201 #endif
14202 /* We use char because int might match the return type of a gcc2
14203 builtin and then its argument prototype would still apply. */
14204 char roundf ();
14206 main ()
14208 roundf ();
14210 return 0;
14212 _ACEOF
14213 rm -f conftest.$ac_objext conftest$ac_exeext
14214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14215 (eval $ac_link) 2>conftest.er1
14216 ac_status=$?
14217 grep -v '^ *+' conftest.er1 >conftest.err
14218 rm -f conftest.er1
14219 cat conftest.err >&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); } &&
14222 { ac_try='test -z "$ac_c_werror_flag"
14223 || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14226 ac_status=$?
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try='test -s conftest$ac_exeext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 ac_cv_lib_m_roundf=yes
14236 else
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.$ac_ext >&5
14240 ac_cv_lib_m_roundf=no
14242 rm -f conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14247 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14248 if test $ac_cv_lib_m_roundf = yes; then
14250 cat >>confdefs.h <<\_ACEOF
14251 #define HAVE_ROUNDF 1
14252 _ACEOF
14256 echo "$as_me:$LINENO: checking for round in -lm" >&5
14257 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14258 if test "${ac_cv_lib_m_round+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14260 else
14261 ac_check_lib_save_LIBS=$LIBS
14262 LIBS="-lm $LIBS"
14263 if test x$gcc_no_link = xyes; then
14264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14266 { (exit 1); exit 1; }; }
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14275 /* Override any gcc2 internal prototype to avoid an error. */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 /* We use char because int might match the return type of a gcc2
14280 builtin and then its argument prototype would still apply. */
14281 char round ();
14283 main ()
14285 round ();
14287 return 0;
14289 _ACEOF
14290 rm -f conftest.$ac_objext conftest$ac_exeext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14292 (eval $ac_link) 2>conftest.er1
14293 ac_status=$?
14294 grep -v '^ *+' conftest.er1 >conftest.err
14295 rm -f conftest.er1
14296 cat conftest.err >&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } &&
14299 { ac_try='test -z "$ac_c_werror_flag"
14300 || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14303 ac_status=$?
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try='test -s conftest$ac_exeext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_lib_m_round=yes
14313 else
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14317 ac_cv_lib_m_round=no
14319 rm -f conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext conftest.$ac_ext
14321 LIBS=$ac_check_lib_save_LIBS
14323 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14324 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14325 if test $ac_cv_lib_m_round = yes; then
14327 cat >>confdefs.h <<\_ACEOF
14328 #define HAVE_ROUND 1
14329 _ACEOF
14333 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14334 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14335 if test "${ac_cv_lib_m_roundl+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338 ac_check_lib_save_LIBS=$LIBS
14339 LIBS="-lm $LIBS"
14340 if test x$gcc_no_link = xyes; then
14341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14343 { (exit 1); exit 1; }; }
14345 cat >conftest.$ac_ext <<_ACEOF
14346 /* confdefs.h. */
14347 _ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14352 /* Override any gcc2 internal prototype to avoid an error. */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14358 char roundl ();
14360 main ()
14362 roundl ();
14364 return 0;
14366 _ACEOF
14367 rm -f conftest.$ac_objext conftest$ac_exeext
14368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14369 (eval $ac_link) 2>conftest.er1
14370 ac_status=$?
14371 grep -v '^ *+' conftest.er1 >conftest.err
14372 rm -f conftest.er1
14373 cat conftest.err >&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); } &&
14376 { ac_try='test -z "$ac_c_werror_flag"
14377 || test ! -s conftest.err'
14378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14379 (eval $ac_try) 2>&5
14380 ac_status=$?
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); }; } &&
14383 { ac_try='test -s conftest$ac_exeext'
14384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385 (eval $ac_try) 2>&5
14386 ac_status=$?
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; }; then
14389 ac_cv_lib_m_roundl=yes
14390 else
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.$ac_ext >&5
14394 ac_cv_lib_m_roundl=no
14396 rm -f conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14401 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14402 if test $ac_cv_lib_m_roundl = yes; then
14404 cat >>confdefs.h <<\_ACEOF
14405 #define HAVE_ROUNDL 1
14406 _ACEOF
14410 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14411 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14412 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14414 else
14415 ac_check_lib_save_LIBS=$LIBS
14416 LIBS="-lm $LIBS"
14417 if test x$gcc_no_link = xyes; then
14418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14420 { (exit 1); exit 1; }; }
14422 cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h. */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14429 /* Override any gcc2 internal prototype to avoid an error. */
14430 #ifdef __cplusplus
14431 extern "C"
14432 #endif
14433 /* We use char because int might match the return type of a gcc2
14434 builtin and then its argument prototype would still apply. */
14435 char scalbnf ();
14437 main ()
14439 scalbnf ();
14441 return 0;
14443 _ACEOF
14444 rm -f conftest.$ac_objext conftest$ac_exeext
14445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446 (eval $ac_link) 2>conftest.er1
14447 ac_status=$?
14448 grep -v '^ *+' conftest.er1 >conftest.err
14449 rm -f conftest.er1
14450 cat conftest.err >&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); } &&
14453 { ac_try='test -z "$ac_c_werror_flag"
14454 || test ! -s conftest.err'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14457 ac_status=$?
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; } &&
14460 { ac_try='test -s conftest$ac_exeext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14466 ac_cv_lib_m_scalbnf=yes
14467 else
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.$ac_ext >&5
14471 ac_cv_lib_m_scalbnf=no
14473 rm -f conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_lib_save_LIBS
14477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14478 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14479 if test $ac_cv_lib_m_scalbnf = yes; then
14481 cat >>confdefs.h <<\_ACEOF
14482 #define HAVE_SCALBNF 1
14483 _ACEOF
14487 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14488 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14489 if test "${ac_cv_lib_m_scalbn+set}" = set; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14491 else
14492 ac_check_lib_save_LIBS=$LIBS
14493 LIBS="-lm $LIBS"
14494 if test x$gcc_no_link = xyes; then
14495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14497 { (exit 1); exit 1; }; }
14499 cat >conftest.$ac_ext <<_ACEOF
14500 /* confdefs.h. */
14501 _ACEOF
14502 cat confdefs.h >>conftest.$ac_ext
14503 cat >>conftest.$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14506 /* Override any gcc2 internal prototype to avoid an error. */
14507 #ifdef __cplusplus
14508 extern "C"
14509 #endif
14510 /* We use char because int might match the return type of a gcc2
14511 builtin and then its argument prototype would still apply. */
14512 char scalbn ();
14514 main ()
14516 scalbn ();
14518 return 0;
14520 _ACEOF
14521 rm -f conftest.$ac_objext conftest$ac_exeext
14522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14523 (eval $ac_link) 2>conftest.er1
14524 ac_status=$?
14525 grep -v '^ *+' conftest.er1 >conftest.err
14526 rm -f conftest.er1
14527 cat conftest.err >&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } &&
14530 { ac_try='test -z "$ac_c_werror_flag"
14531 || test ! -s conftest.err'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; } &&
14537 { ac_try='test -s conftest$ac_exeext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14540 ac_status=$?
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_cv_lib_m_scalbn=yes
14544 else
14545 echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.$ac_ext >&5
14548 ac_cv_lib_m_scalbn=no
14550 rm -f conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 LIBS=$ac_check_lib_save_LIBS
14554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14555 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14556 if test $ac_cv_lib_m_scalbn = yes; then
14558 cat >>confdefs.h <<\_ACEOF
14559 #define HAVE_SCALBN 1
14560 _ACEOF
14564 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14565 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14566 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569 ac_check_lib_save_LIBS=$LIBS
14570 LIBS="-lm $LIBS"
14571 if test x$gcc_no_link = xyes; then
14572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14574 { (exit 1); exit 1; }; }
14576 cat >conftest.$ac_ext <<_ACEOF
14577 /* confdefs.h. */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14583 /* Override any gcc2 internal prototype to avoid an error. */
14584 #ifdef __cplusplus
14585 extern "C"
14586 #endif
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14589 char scalbnl ();
14591 main ()
14593 scalbnl ();
14595 return 0;
14597 _ACEOF
14598 rm -f conftest.$ac_objext conftest$ac_exeext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14600 (eval $ac_link) 2>conftest.er1
14601 ac_status=$?
14602 grep -v '^ *+' conftest.er1 >conftest.err
14603 rm -f conftest.er1
14604 cat conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } &&
14607 { ac_try='test -z "$ac_c_werror_flag"
14608 || test ! -s conftest.err'
14609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610 (eval $ac_try) 2>&5
14611 ac_status=$?
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; } &&
14614 { ac_try='test -s conftest$ac_exeext'
14615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616 (eval $ac_try) 2>&5
14617 ac_status=$?
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); }; }; then
14620 ac_cv_lib_m_scalbnl=yes
14621 else
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14625 ac_cv_lib_m_scalbnl=no
14627 rm -f conftest.err conftest.$ac_objext \
14628 conftest$ac_exeext conftest.$ac_ext
14629 LIBS=$ac_check_lib_save_LIBS
14631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14632 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14633 if test $ac_cv_lib_m_scalbnl = yes; then
14635 cat >>confdefs.h <<\_ACEOF
14636 #define HAVE_SCALBNL 1
14637 _ACEOF
14641 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14642 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14643 if test "${ac_cv_lib_m_sinf+set}" = set; then
14644 echo $ECHO_N "(cached) $ECHO_C" >&6
14645 else
14646 ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-lm $LIBS"
14648 if test x$gcc_no_link = xyes; then
14649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14651 { (exit 1); exit 1; }; }
14653 cat >conftest.$ac_ext <<_ACEOF
14654 /* confdefs.h. */
14655 _ACEOF
14656 cat confdefs.h >>conftest.$ac_ext
14657 cat >>conftest.$ac_ext <<_ACEOF
14658 /* end confdefs.h. */
14660 /* Override any gcc2 internal prototype to avoid an error. */
14661 #ifdef __cplusplus
14662 extern "C"
14663 #endif
14664 /* We use char because int might match the return type of a gcc2
14665 builtin and then its argument prototype would still apply. */
14666 char sinf ();
14668 main ()
14670 sinf ();
14672 return 0;
14674 _ACEOF
14675 rm -f conftest.$ac_objext conftest$ac_exeext
14676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14677 (eval $ac_link) 2>conftest.er1
14678 ac_status=$?
14679 grep -v '^ *+' conftest.er1 >conftest.err
14680 rm -f conftest.er1
14681 cat conftest.err >&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } &&
14684 { ac_try='test -z "$ac_c_werror_flag"
14685 || test ! -s conftest.err'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14688 ac_status=$?
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; } &&
14691 { ac_try='test -s conftest$ac_exeext'
14692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693 (eval $ac_try) 2>&5
14694 ac_status=$?
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); }; }; then
14697 ac_cv_lib_m_sinf=yes
14698 else
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14702 ac_cv_lib_m_sinf=no
14704 rm -f conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14706 LIBS=$ac_check_lib_save_LIBS
14708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14709 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14710 if test $ac_cv_lib_m_sinf = yes; then
14712 cat >>confdefs.h <<\_ACEOF
14713 #define HAVE_SINF 1
14714 _ACEOF
14718 echo "$as_me:$LINENO: checking for sin in -lm" >&5
14719 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14720 if test "${ac_cv_lib_m_sin+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14722 else
14723 ac_check_lib_save_LIBS=$LIBS
14724 LIBS="-lm $LIBS"
14725 if test x$gcc_no_link = xyes; then
14726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14728 { (exit 1); exit 1; }; }
14730 cat >conftest.$ac_ext <<_ACEOF
14731 /* confdefs.h. */
14732 _ACEOF
14733 cat confdefs.h >>conftest.$ac_ext
14734 cat >>conftest.$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14737 /* Override any gcc2 internal prototype to avoid an error. */
14738 #ifdef __cplusplus
14739 extern "C"
14740 #endif
14741 /* We use char because int might match the return type of a gcc2
14742 builtin and then its argument prototype would still apply. */
14743 char sin ();
14745 main ()
14747 sin ();
14749 return 0;
14751 _ACEOF
14752 rm -f conftest.$ac_objext conftest$ac_exeext
14753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14754 (eval $ac_link) 2>conftest.er1
14755 ac_status=$?
14756 grep -v '^ *+' conftest.er1 >conftest.err
14757 rm -f conftest.er1
14758 cat conftest.err >&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try='test -z "$ac_c_werror_flag"
14762 || test ! -s conftest.err'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; } &&
14768 { ac_try='test -s conftest$ac_exeext'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14771 ac_status=$?
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; }; then
14774 ac_cv_lib_m_sin=yes
14775 else
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.$ac_ext >&5
14779 ac_cv_lib_m_sin=no
14781 rm -f conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_lib_save_LIBS
14785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14786 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14787 if test $ac_cv_lib_m_sin = yes; then
14789 cat >>confdefs.h <<\_ACEOF
14790 #define HAVE_SIN 1
14791 _ACEOF
14795 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14796 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14797 if test "${ac_cv_lib_m_sinl+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14799 else
14800 ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-lm $LIBS"
14802 if test x$gcc_no_link = xyes; then
14803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14805 { (exit 1); exit 1; }; }
14807 cat >conftest.$ac_ext <<_ACEOF
14808 /* confdefs.h. */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14814 /* Override any gcc2 internal prototype to avoid an error. */
14815 #ifdef __cplusplus
14816 extern "C"
14817 #endif
14818 /* We use char because int might match the return type of a gcc2
14819 builtin and then its argument prototype would still apply. */
14820 char sinl ();
14822 main ()
14824 sinl ();
14826 return 0;
14828 _ACEOF
14829 rm -f conftest.$ac_objext conftest$ac_exeext
14830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14831 (eval $ac_link) 2>conftest.er1
14832 ac_status=$?
14833 grep -v '^ *+' conftest.er1 >conftest.err
14834 rm -f conftest.er1
14835 cat conftest.err >&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); } &&
14838 { ac_try='test -z "$ac_c_werror_flag"
14839 || test ! -s conftest.err'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14842 ac_status=$?
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; } &&
14845 { ac_try='test -s conftest$ac_exeext'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14848 ac_status=$?
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; }; then
14851 ac_cv_lib_m_sinl=yes
14852 else
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.$ac_ext >&5
14856 ac_cv_lib_m_sinl=no
14858 rm -f conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 LIBS=$ac_check_lib_save_LIBS
14862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
14863 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
14864 if test $ac_cv_lib_m_sinl = yes; then
14866 cat >>confdefs.h <<\_ACEOF
14867 #define HAVE_SINL 1
14868 _ACEOF
14872 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
14873 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
14874 if test "${ac_cv_lib_m_csinf+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 else
14877 ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-lm $LIBS"
14879 if test x$gcc_no_link = xyes; then
14880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14882 { (exit 1); exit 1; }; }
14884 cat >conftest.$ac_ext <<_ACEOF
14885 /* confdefs.h. */
14886 _ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14891 /* Override any gcc2 internal prototype to avoid an error. */
14892 #ifdef __cplusplus
14893 extern "C"
14894 #endif
14895 /* We use char because int might match the return type of a gcc2
14896 builtin and then its argument prototype would still apply. */
14897 char csinf ();
14899 main ()
14901 csinf ();
14903 return 0;
14905 _ACEOF
14906 rm -f conftest.$ac_objext conftest$ac_exeext
14907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14908 (eval $ac_link) 2>conftest.er1
14909 ac_status=$?
14910 grep -v '^ *+' conftest.er1 >conftest.err
14911 rm -f conftest.er1
14912 cat conftest.err >&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); } &&
14915 { ac_try='test -z "$ac_c_werror_flag"
14916 || test ! -s conftest.err'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14919 ac_status=$?
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; } &&
14922 { ac_try='test -s conftest$ac_exeext'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; }; then
14928 ac_cv_lib_m_csinf=yes
14929 else
14930 echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.$ac_ext >&5
14933 ac_cv_lib_m_csinf=no
14935 rm -f conftest.err conftest.$ac_objext \
14936 conftest$ac_exeext conftest.$ac_ext
14937 LIBS=$ac_check_lib_save_LIBS
14939 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
14940 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
14941 if test $ac_cv_lib_m_csinf = yes; then
14943 cat >>confdefs.h <<\_ACEOF
14944 #define HAVE_CSINF 1
14945 _ACEOF
14949 echo "$as_me:$LINENO: checking for csin in -lm" >&5
14950 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
14951 if test "${ac_cv_lib_m_csin+set}" = set; then
14952 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 else
14954 ac_check_lib_save_LIBS=$LIBS
14955 LIBS="-lm $LIBS"
14956 if test x$gcc_no_link = xyes; then
14957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14959 { (exit 1); exit 1; }; }
14961 cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h. */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h. */
14968 /* Override any gcc2 internal prototype to avoid an error. */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 /* We use char because int might match the return type of a gcc2
14973 builtin and then its argument prototype would still apply. */
14974 char csin ();
14976 main ()
14978 csin ();
14980 return 0;
14982 _ACEOF
14983 rm -f conftest.$ac_objext conftest$ac_exeext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14985 (eval $ac_link) 2>conftest.er1
14986 ac_status=$?
14987 grep -v '^ *+' conftest.er1 >conftest.err
14988 rm -f conftest.er1
14989 cat conftest.err >&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); } &&
14992 { ac_try='test -z "$ac_c_werror_flag"
14993 || test ! -s conftest.err'
14994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 (eval $ac_try) 2>&5
14996 ac_status=$?
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; } &&
14999 { ac_try='test -s conftest$ac_exeext'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15002 ac_status=$?
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; }; then
15005 ac_cv_lib_m_csin=yes
15006 else
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.$ac_ext >&5
15010 ac_cv_lib_m_csin=no
15012 rm -f conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15014 LIBS=$ac_check_lib_save_LIBS
15016 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15017 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15018 if test $ac_cv_lib_m_csin = yes; then
15020 cat >>confdefs.h <<\_ACEOF
15021 #define HAVE_CSIN 1
15022 _ACEOF
15026 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15027 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15028 if test "${ac_cv_lib_m_csinl+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 else
15031 ac_check_lib_save_LIBS=$LIBS
15032 LIBS="-lm $LIBS"
15033 if test x$gcc_no_link = xyes; then
15034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15036 { (exit 1); exit 1; }; }
15038 cat >conftest.$ac_ext <<_ACEOF
15039 /* confdefs.h. */
15040 _ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15045 /* Override any gcc2 internal prototype to avoid an error. */
15046 #ifdef __cplusplus
15047 extern "C"
15048 #endif
15049 /* We use char because int might match the return type of a gcc2
15050 builtin and then its argument prototype would still apply. */
15051 char csinl ();
15053 main ()
15055 csinl ();
15057 return 0;
15059 _ACEOF
15060 rm -f conftest.$ac_objext conftest$ac_exeext
15061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15062 (eval $ac_link) 2>conftest.er1
15063 ac_status=$?
15064 grep -v '^ *+' conftest.er1 >conftest.err
15065 rm -f conftest.er1
15066 cat conftest.err >&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); } &&
15069 { ac_try='test -z "$ac_c_werror_flag"
15070 || test ! -s conftest.err'
15071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072 (eval $ac_try) 2>&5
15073 ac_status=$?
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; } &&
15076 { ac_try='test -s conftest$ac_exeext'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15079 ac_status=$?
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; }; then
15082 ac_cv_lib_m_csinl=yes
15083 else
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15087 ac_cv_lib_m_csinl=no
15089 rm -f conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15091 LIBS=$ac_check_lib_save_LIBS
15093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15094 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15095 if test $ac_cv_lib_m_csinl = yes; then
15097 cat >>confdefs.h <<\_ACEOF
15098 #define HAVE_CSINL 1
15099 _ACEOF
15103 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15104 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15105 if test "${ac_cv_lib_m_sinhf+set}" = set; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 else
15108 ac_check_lib_save_LIBS=$LIBS
15109 LIBS="-lm $LIBS"
15110 if test x$gcc_no_link = xyes; then
15111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15113 { (exit 1); exit 1; }; }
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h. */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15122 /* Override any gcc2 internal prototype to avoid an error. */
15123 #ifdef __cplusplus
15124 extern "C"
15125 #endif
15126 /* We use char because int might match the return type of a gcc2
15127 builtin and then its argument prototype would still apply. */
15128 char sinhf ();
15130 main ()
15132 sinhf ();
15134 return 0;
15136 _ACEOF
15137 rm -f conftest.$ac_objext conftest$ac_exeext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15139 (eval $ac_link) 2>conftest.er1
15140 ac_status=$?
15141 grep -v '^ *+' conftest.er1 >conftest.err
15142 rm -f conftest.er1
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try='test -z "$ac_c_werror_flag"
15147 || test ! -s conftest.err'
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149 (eval $ac_try) 2>&5
15150 ac_status=$?
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; } &&
15153 { ac_try='test -s conftest$ac_exeext'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15156 ac_status=$?
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 ac_cv_lib_m_sinhf=yes
15160 else
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15164 ac_cv_lib_m_sinhf=no
15166 rm -f conftest.err conftest.$ac_objext \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_check_lib_save_LIBS
15170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15171 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15172 if test $ac_cv_lib_m_sinhf = yes; then
15174 cat >>confdefs.h <<\_ACEOF
15175 #define HAVE_SINHF 1
15176 _ACEOF
15180 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15181 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15182 if test "${ac_cv_lib_m_sinh+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185 ac_check_lib_save_LIBS=$LIBS
15186 LIBS="-lm $LIBS"
15187 if test x$gcc_no_link = xyes; then
15188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15190 { (exit 1); exit 1; }; }
15192 cat >conftest.$ac_ext <<_ACEOF
15193 /* confdefs.h. */
15194 _ACEOF
15195 cat confdefs.h >>conftest.$ac_ext
15196 cat >>conftest.$ac_ext <<_ACEOF
15197 /* end confdefs.h. */
15199 /* Override any gcc2 internal prototype to avoid an error. */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 /* We use char because int might match the return type of a gcc2
15204 builtin and then its argument prototype would still apply. */
15205 char sinh ();
15207 main ()
15209 sinh ();
15211 return 0;
15213 _ACEOF
15214 rm -f conftest.$ac_objext conftest$ac_exeext
15215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15216 (eval $ac_link) 2>conftest.er1
15217 ac_status=$?
15218 grep -v '^ *+' conftest.er1 >conftest.err
15219 rm -f conftest.er1
15220 cat conftest.err >&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } &&
15223 { ac_try='test -z "$ac_c_werror_flag"
15224 || test ! -s conftest.err'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15227 ac_status=$?
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; } &&
15230 { ac_try='test -s conftest$ac_exeext'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15233 ac_status=$?
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; }; then
15236 ac_cv_lib_m_sinh=yes
15237 else
15238 echo "$as_me: failed program was:" >&5
15239 sed 's/^/| /' conftest.$ac_ext >&5
15241 ac_cv_lib_m_sinh=no
15243 rm -f conftest.err conftest.$ac_objext \
15244 conftest$ac_exeext conftest.$ac_ext
15245 LIBS=$ac_check_lib_save_LIBS
15247 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15248 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15249 if test $ac_cv_lib_m_sinh = yes; then
15251 cat >>confdefs.h <<\_ACEOF
15252 #define HAVE_SINH 1
15253 _ACEOF
15257 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15258 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15259 if test "${ac_cv_lib_m_sinhl+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 ac_check_lib_save_LIBS=$LIBS
15263 LIBS="-lm $LIBS"
15264 if test x$gcc_no_link = xyes; then
15265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15267 { (exit 1); exit 1; }; }
15269 cat >conftest.$ac_ext <<_ACEOF
15270 /* confdefs.h. */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15276 /* Override any gcc2 internal prototype to avoid an error. */
15277 #ifdef __cplusplus
15278 extern "C"
15279 #endif
15280 /* We use char because int might match the return type of a gcc2
15281 builtin and then its argument prototype would still apply. */
15282 char sinhl ();
15284 main ()
15286 sinhl ();
15288 return 0;
15290 _ACEOF
15291 rm -f conftest.$ac_objext conftest$ac_exeext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293 (eval $ac_link) 2>conftest.er1
15294 ac_status=$?
15295 grep -v '^ *+' conftest.er1 >conftest.err
15296 rm -f conftest.er1
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -z "$ac_c_werror_flag"
15301 || test ! -s conftest.err'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15304 ac_status=$?
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; } &&
15307 { ac_try='test -s conftest$ac_exeext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15313 ac_cv_lib_m_sinhl=yes
15314 else
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15318 ac_cv_lib_m_sinhl=no
15320 rm -f conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_check_lib_save_LIBS
15324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15325 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15326 if test $ac_cv_lib_m_sinhl = yes; then
15328 cat >>confdefs.h <<\_ACEOF
15329 #define HAVE_SINHL 1
15330 _ACEOF
15334 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15335 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15336 if test "${ac_cv_lib_m_csinhf+set}" = set; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 else
15339 ac_check_lib_save_LIBS=$LIBS
15340 LIBS="-lm $LIBS"
15341 if test x$gcc_no_link = xyes; then
15342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15344 { (exit 1); exit 1; }; }
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15353 /* Override any gcc2 internal prototype to avoid an error. */
15354 #ifdef __cplusplus
15355 extern "C"
15356 #endif
15357 /* We use char because int might match the return type of a gcc2
15358 builtin and then its argument prototype would still apply. */
15359 char csinhf ();
15361 main ()
15363 csinhf ();
15365 return 0;
15367 _ACEOF
15368 rm -f conftest.$ac_objext conftest$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370 (eval $ac_link) 2>conftest.er1
15371 ac_status=$?
15372 grep -v '^ *+' conftest.er1 >conftest.err
15373 rm -f conftest.er1
15374 cat conftest.err >&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try='test -z "$ac_c_werror_flag"
15378 || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_lib_m_csinhf=yes
15391 else
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15395 ac_cv_lib_m_csinhf=no
15397 rm -f conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_lib_save_LIBS
15401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15402 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15403 if test $ac_cv_lib_m_csinhf = yes; then
15405 cat >>confdefs.h <<\_ACEOF
15406 #define HAVE_CSINHF 1
15407 _ACEOF
15411 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15412 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15413 if test "${ac_cv_lib_m_csinh+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 else
15416 ac_check_lib_save_LIBS=$LIBS
15417 LIBS="-lm $LIBS"
15418 if test x$gcc_no_link = xyes; then
15419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15421 { (exit 1); exit 1; }; }
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15430 /* Override any gcc2 internal prototype to avoid an error. */
15431 #ifdef __cplusplus
15432 extern "C"
15433 #endif
15434 /* We use char because int might match the return type of a gcc2
15435 builtin and then its argument prototype would still apply. */
15436 char csinh ();
15438 main ()
15440 csinh ();
15442 return 0;
15444 _ACEOF
15445 rm -f conftest.$ac_objext conftest$ac_exeext
15446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15447 (eval $ac_link) 2>conftest.er1
15448 ac_status=$?
15449 grep -v '^ *+' conftest.er1 >conftest.err
15450 rm -f conftest.er1
15451 cat conftest.err >&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } &&
15454 { ac_try='test -z "$ac_c_werror_flag"
15455 || test ! -s conftest.err'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; } &&
15461 { ac_try='test -s conftest$ac_exeext'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15464 ac_status=$?
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; }; then
15467 ac_cv_lib_m_csinh=yes
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15472 ac_cv_lib_m_csinh=no
15474 rm -f conftest.err conftest.$ac_objext \
15475 conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_lib_save_LIBS
15478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15479 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15480 if test $ac_cv_lib_m_csinh = yes; then
15482 cat >>confdefs.h <<\_ACEOF
15483 #define HAVE_CSINH 1
15484 _ACEOF
15488 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15489 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15490 if test "${ac_cv_lib_m_csinhl+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493 ac_check_lib_save_LIBS=$LIBS
15494 LIBS="-lm $LIBS"
15495 if test x$gcc_no_link = xyes; then
15496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15498 { (exit 1); exit 1; }; }
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h. */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15507 /* Override any gcc2 internal prototype to avoid an error. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 /* We use char because int might match the return type of a gcc2
15512 builtin and then its argument prototype would still apply. */
15513 char csinhl ();
15515 main ()
15517 csinhl ();
15519 return 0;
15521 _ACEOF
15522 rm -f conftest.$ac_objext conftest$ac_exeext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15524 (eval $ac_link) 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -z "$ac_c_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15541 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_cv_lib_m_csinhl=yes
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15549 ac_cv_lib_m_csinhl=no
15551 rm -f conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_lib_save_LIBS
15555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15556 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15557 if test $ac_cv_lib_m_csinhl = yes; then
15559 cat >>confdefs.h <<\_ACEOF
15560 #define HAVE_CSINHL 1
15561 _ACEOF
15565 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15566 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15567 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 else
15570 ac_check_lib_save_LIBS=$LIBS
15571 LIBS="-lm $LIBS"
15572 if test x$gcc_no_link = xyes; then
15573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15575 { (exit 1); exit 1; }; }
15577 cat >conftest.$ac_ext <<_ACEOF
15578 /* confdefs.h. */
15579 _ACEOF
15580 cat confdefs.h >>conftest.$ac_ext
15581 cat >>conftest.$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15584 /* Override any gcc2 internal prototype to avoid an error. */
15585 #ifdef __cplusplus
15586 extern "C"
15587 #endif
15588 /* We use char because int might match the return type of a gcc2
15589 builtin and then its argument prototype would still apply. */
15590 char sqrtf ();
15592 main ()
15594 sqrtf ();
15596 return 0;
15598 _ACEOF
15599 rm -f conftest.$ac_objext conftest$ac_exeext
15600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15601 (eval $ac_link) 2>conftest.er1
15602 ac_status=$?
15603 grep -v '^ *+' conftest.er1 >conftest.err
15604 rm -f conftest.er1
15605 cat conftest.err >&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } &&
15608 { ac_try='test -z "$ac_c_werror_flag"
15609 || test ! -s conftest.err'
15610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15611 (eval $ac_try) 2>&5
15612 ac_status=$?
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); }; } &&
15615 { ac_try='test -s conftest$ac_exeext'
15616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15617 (eval $ac_try) 2>&5
15618 ac_status=$?
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; }; then
15621 ac_cv_lib_m_sqrtf=yes
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15626 ac_cv_lib_m_sqrtf=no
15628 rm -f conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_lib_save_LIBS
15632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15633 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15634 if test $ac_cv_lib_m_sqrtf = yes; then
15636 cat >>confdefs.h <<\_ACEOF
15637 #define HAVE_SQRTF 1
15638 _ACEOF
15642 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15643 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15644 if test "${ac_cv_lib_m_sqrt+set}" = set; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647 ac_check_lib_save_LIBS=$LIBS
15648 LIBS="-lm $LIBS"
15649 if test x$gcc_no_link = xyes; then
15650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15652 { (exit 1); exit 1; }; }
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15661 /* Override any gcc2 internal prototype to avoid an error. */
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 /* We use char because int might match the return type of a gcc2
15666 builtin and then its argument prototype would still apply. */
15667 char sqrt ();
15669 main ()
15671 sqrt ();
15673 return 0;
15675 _ACEOF
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678 (eval $ac_link) 2>conftest.er1
15679 ac_status=$?
15680 grep -v '^ *+' conftest.er1 >conftest.err
15681 rm -f conftest.er1
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try='test -s conftest$ac_exeext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_cv_lib_m_sqrt=yes
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15703 ac_cv_lib_m_sqrt=no
15705 rm -f conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_lib_save_LIBS
15709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15710 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15711 if test $ac_cv_lib_m_sqrt = yes; then
15713 cat >>confdefs.h <<\_ACEOF
15714 #define HAVE_SQRT 1
15715 _ACEOF
15719 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15720 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15721 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 else
15724 ac_check_lib_save_LIBS=$LIBS
15725 LIBS="-lm $LIBS"
15726 if test x$gcc_no_link = xyes; then
15727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15729 { (exit 1); exit 1; }; }
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15738 /* Override any gcc2 internal prototype to avoid an error. */
15739 #ifdef __cplusplus
15740 extern "C"
15741 #endif
15742 /* We use char because int might match the return type of a gcc2
15743 builtin and then its argument prototype would still apply. */
15744 char sqrtl ();
15746 main ()
15748 sqrtl ();
15750 return 0;
15752 _ACEOF
15753 rm -f conftest.$ac_objext conftest$ac_exeext
15754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15755 (eval $ac_link) 2>conftest.er1
15756 ac_status=$?
15757 grep -v '^ *+' conftest.er1 >conftest.err
15758 rm -f conftest.er1
15759 cat conftest.err >&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } &&
15762 { ac_try='test -z "$ac_c_werror_flag"
15763 || test ! -s conftest.err'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15766 ac_status=$?
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; } &&
15769 { ac_try='test -s conftest$ac_exeext'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; }; then
15775 ac_cv_lib_m_sqrtl=yes
15776 else
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15780 ac_cv_lib_m_sqrtl=no
15782 rm -f conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_lib_save_LIBS
15786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15787 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15788 if test $ac_cv_lib_m_sqrtl = yes; then
15790 cat >>confdefs.h <<\_ACEOF
15791 #define HAVE_SQRTL 1
15792 _ACEOF
15796 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15797 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15798 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801 ac_check_lib_save_LIBS=$LIBS
15802 LIBS="-lm $LIBS"
15803 if test x$gcc_no_link = xyes; then
15804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15806 { (exit 1); exit 1; }; }
15808 cat >conftest.$ac_ext <<_ACEOF
15809 /* confdefs.h. */
15810 _ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15815 /* Override any gcc2 internal prototype to avoid an error. */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 /* We use char because int might match the return type of a gcc2
15820 builtin and then its argument prototype would still apply. */
15821 char csqrtf ();
15823 main ()
15825 csqrtf ();
15827 return 0;
15829 _ACEOF
15830 rm -f conftest.$ac_objext conftest$ac_exeext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15832 (eval $ac_link) 2>conftest.er1
15833 ac_status=$?
15834 grep -v '^ *+' conftest.er1 >conftest.err
15835 rm -f conftest.er1
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } &&
15839 { ac_try='test -z "$ac_c_werror_flag"
15840 || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try='test -s conftest$ac_exeext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15849 ac_status=$?
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_cv_lib_m_csqrtf=yes
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15857 ac_cv_lib_m_csqrtf=no
15859 rm -f conftest.err conftest.$ac_objext \
15860 conftest$ac_exeext conftest.$ac_ext
15861 LIBS=$ac_check_lib_save_LIBS
15863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
15864 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
15865 if test $ac_cv_lib_m_csqrtf = yes; then
15867 cat >>confdefs.h <<\_ACEOF
15868 #define HAVE_CSQRTF 1
15869 _ACEOF
15873 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
15874 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
15875 if test "${ac_cv_lib_m_csqrt+set}" = set; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 else
15878 ac_check_lib_save_LIBS=$LIBS
15879 LIBS="-lm $LIBS"
15880 if test x$gcc_no_link = xyes; then
15881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15883 { (exit 1); exit 1; }; }
15885 cat >conftest.$ac_ext <<_ACEOF
15886 /* confdefs.h. */
15887 _ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15892 /* Override any gcc2 internal prototype to avoid an error. */
15893 #ifdef __cplusplus
15894 extern "C"
15895 #endif
15896 /* We use char because int might match the return type of a gcc2
15897 builtin and then its argument prototype would still apply. */
15898 char csqrt ();
15900 main ()
15902 csqrt ();
15904 return 0;
15906 _ACEOF
15907 rm -f conftest.$ac_objext conftest$ac_exeext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15909 (eval $ac_link) 2>conftest.er1
15910 ac_status=$?
15911 grep -v '^ *+' conftest.er1 >conftest.err
15912 rm -f conftest.er1
15913 cat conftest.err >&5
15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915 (exit $ac_status); } &&
15916 { ac_try='test -z "$ac_c_werror_flag"
15917 || test ! -s conftest.err'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15920 ac_status=$?
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; } &&
15923 { ac_try='test -s conftest$ac_exeext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15926 ac_status=$?
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15929 ac_cv_lib_m_csqrt=yes
15930 else
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15934 ac_cv_lib_m_csqrt=no
15936 rm -f conftest.err conftest.$ac_objext \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_lib_save_LIBS
15940 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
15941 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
15942 if test $ac_cv_lib_m_csqrt = yes; then
15944 cat >>confdefs.h <<\_ACEOF
15945 #define HAVE_CSQRT 1
15946 _ACEOF
15950 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
15951 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
15952 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955 ac_check_lib_save_LIBS=$LIBS
15956 LIBS="-lm $LIBS"
15957 if test x$gcc_no_link = xyes; then
15958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15960 { (exit 1); exit 1; }; }
15962 cat >conftest.$ac_ext <<_ACEOF
15963 /* confdefs.h. */
15964 _ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15969 /* Override any gcc2 internal prototype to avoid an error. */
15970 #ifdef __cplusplus
15971 extern "C"
15972 #endif
15973 /* We use char because int might match the return type of a gcc2
15974 builtin and then its argument prototype would still apply. */
15975 char csqrtl ();
15977 main ()
15979 csqrtl ();
15981 return 0;
15983 _ACEOF
15984 rm -f conftest.$ac_objext conftest$ac_exeext
15985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15986 (eval $ac_link) 2>conftest.er1
15987 ac_status=$?
15988 grep -v '^ *+' conftest.er1 >conftest.err
15989 rm -f conftest.er1
15990 cat conftest.err >&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } &&
15993 { ac_try='test -z "$ac_c_werror_flag"
15994 || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15997 ac_status=$?
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try='test -s conftest$ac_exeext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16003 ac_status=$?
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16006 ac_cv_lib_m_csqrtl=yes
16007 else
16008 echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.$ac_ext >&5
16011 ac_cv_lib_m_csqrtl=no
16013 rm -f conftest.err conftest.$ac_objext \
16014 conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_lib_save_LIBS
16017 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16018 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16019 if test $ac_cv_lib_m_csqrtl = yes; then
16021 cat >>confdefs.h <<\_ACEOF
16022 #define HAVE_CSQRTL 1
16023 _ACEOF
16027 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16028 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16029 if test "${ac_cv_lib_m_tanf+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032 ac_check_lib_save_LIBS=$LIBS
16033 LIBS="-lm $LIBS"
16034 if test x$gcc_no_link = xyes; then
16035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16037 { (exit 1); exit 1; }; }
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16046 /* Override any gcc2 internal prototype to avoid an error. */
16047 #ifdef __cplusplus
16048 extern "C"
16049 #endif
16050 /* We use char because int might match the return type of a gcc2
16051 builtin and then its argument prototype would still apply. */
16052 char tanf ();
16054 main ()
16056 tanf ();
16058 return 0;
16060 _ACEOF
16061 rm -f conftest.$ac_objext conftest$ac_exeext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16063 (eval $ac_link) 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try='test -z "$ac_c_werror_flag"
16071 || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try='test -s conftest$ac_exeext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_cv_lib_m_tanf=yes
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16088 ac_cv_lib_m_tanf=no
16090 rm -f conftest.err conftest.$ac_objext \
16091 conftest$ac_exeext conftest.$ac_ext
16092 LIBS=$ac_check_lib_save_LIBS
16094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16095 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16096 if test $ac_cv_lib_m_tanf = yes; then
16098 cat >>confdefs.h <<\_ACEOF
16099 #define HAVE_TANF 1
16100 _ACEOF
16104 echo "$as_me:$LINENO: checking for tan in -lm" >&5
16105 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16106 if test "${ac_cv_lib_m_tan+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109 ac_check_lib_save_LIBS=$LIBS
16110 LIBS="-lm $LIBS"
16111 if test x$gcc_no_link = xyes; then
16112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16114 { (exit 1); exit 1; }; }
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16123 /* Override any gcc2 internal prototype to avoid an error. */
16124 #ifdef __cplusplus
16125 extern "C"
16126 #endif
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16129 char tan ();
16131 main ()
16133 tan ();
16135 return 0;
16137 _ACEOF
16138 rm -f conftest.$ac_objext conftest$ac_exeext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16140 (eval $ac_link) 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try='test -z "$ac_c_werror_flag"
16148 || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16151 ac_status=$?
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try='test -s conftest$ac_exeext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_lib_m_tan=yes
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16165 ac_cv_lib_m_tan=no
16167 rm -f conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16169 LIBS=$ac_check_lib_save_LIBS
16171 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16172 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16173 if test $ac_cv_lib_m_tan = yes; then
16175 cat >>confdefs.h <<\_ACEOF
16176 #define HAVE_TAN 1
16177 _ACEOF
16181 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16182 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16183 if test "${ac_cv_lib_m_tanl+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 else
16186 ac_check_lib_save_LIBS=$LIBS
16187 LIBS="-lm $LIBS"
16188 if test x$gcc_no_link = xyes; then
16189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16191 { (exit 1); exit 1; }; }
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h. */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16200 /* Override any gcc2 internal prototype to avoid an error. */
16201 #ifdef __cplusplus
16202 extern "C"
16203 #endif
16204 /* We use char because int might match the return type of a gcc2
16205 builtin and then its argument prototype would still apply. */
16206 char tanl ();
16208 main ()
16210 tanl ();
16212 return 0;
16214 _ACEOF
16215 rm -f conftest.$ac_objext conftest$ac_exeext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16217 (eval $ac_link) 2>conftest.er1
16218 ac_status=$?
16219 grep -v '^ *+' conftest.er1 >conftest.err
16220 rm -f conftest.er1
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } &&
16224 { ac_try='test -z "$ac_c_werror_flag"
16225 || test ! -s conftest.err'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try='test -s conftest$ac_exeext'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16234 ac_status=$?
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; }; then
16237 ac_cv_lib_m_tanl=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16242 ac_cv_lib_m_tanl=no
16244 rm -f conftest.err conftest.$ac_objext \
16245 conftest$ac_exeext conftest.$ac_ext
16246 LIBS=$ac_check_lib_save_LIBS
16248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16249 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16250 if test $ac_cv_lib_m_tanl = yes; then
16252 cat >>confdefs.h <<\_ACEOF
16253 #define HAVE_TANL 1
16254 _ACEOF
16258 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16259 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16260 if test "${ac_cv_lib_m_ctanf+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 else
16263 ac_check_lib_save_LIBS=$LIBS
16264 LIBS="-lm $LIBS"
16265 if test x$gcc_no_link = xyes; then
16266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16268 { (exit 1); exit 1; }; }
16270 cat >conftest.$ac_ext <<_ACEOF
16271 /* confdefs.h. */
16272 _ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16277 /* Override any gcc2 internal prototype to avoid an error. */
16278 #ifdef __cplusplus
16279 extern "C"
16280 #endif
16281 /* We use char because int might match the return type of a gcc2
16282 builtin and then its argument prototype would still apply. */
16283 char ctanf ();
16285 main ()
16287 ctanf ();
16289 return 0;
16291 _ACEOF
16292 rm -f conftest.$ac_objext conftest$ac_exeext
16293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16294 (eval $ac_link) 2>conftest.er1
16295 ac_status=$?
16296 grep -v '^ *+' conftest.er1 >conftest.err
16297 rm -f conftest.er1
16298 cat conftest.err >&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } &&
16301 { ac_try='test -z "$ac_c_werror_flag"
16302 || test ! -s conftest.err'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16305 ac_status=$?
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; } &&
16308 { ac_try='test -s conftest$ac_exeext'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16314 ac_cv_lib_m_ctanf=yes
16315 else
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16319 ac_cv_lib_m_ctanf=no
16321 rm -f conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_lib_save_LIBS
16325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16326 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16327 if test $ac_cv_lib_m_ctanf = yes; then
16329 cat >>confdefs.h <<\_ACEOF
16330 #define HAVE_CTANF 1
16331 _ACEOF
16335 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16336 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16337 if test "${ac_cv_lib_m_ctan+set}" = set; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16340 ac_check_lib_save_LIBS=$LIBS
16341 LIBS="-lm $LIBS"
16342 if test x$gcc_no_link = xyes; then
16343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16345 { (exit 1); exit 1; }; }
16347 cat >conftest.$ac_ext <<_ACEOF
16348 /* confdefs.h. */
16349 _ACEOF
16350 cat confdefs.h >>conftest.$ac_ext
16351 cat >>conftest.$ac_ext <<_ACEOF
16352 /* end confdefs.h. */
16354 /* Override any gcc2 internal prototype to avoid an error. */
16355 #ifdef __cplusplus
16356 extern "C"
16357 #endif
16358 /* We use char because int might match the return type of a gcc2
16359 builtin and then its argument prototype would still apply. */
16360 char ctan ();
16362 main ()
16364 ctan ();
16366 return 0;
16368 _ACEOF
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16371 (eval $ac_link) 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try='test -z "$ac_c_werror_flag"
16379 || test ! -s conftest.err'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16382 ac_status=$?
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } &&
16385 { ac_try='test -s conftest$ac_exeext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16388 ac_status=$?
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_cv_lib_m_ctan=yes
16392 else
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.$ac_ext >&5
16396 ac_cv_lib_m_ctan=no
16398 rm -f conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_lib_save_LIBS
16402 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16403 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16404 if test $ac_cv_lib_m_ctan = yes; then
16406 cat >>confdefs.h <<\_ACEOF
16407 #define HAVE_CTAN 1
16408 _ACEOF
16412 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16413 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16414 if test "${ac_cv_lib_m_ctanl+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417 ac_check_lib_save_LIBS=$LIBS
16418 LIBS="-lm $LIBS"
16419 if test x$gcc_no_link = xyes; then
16420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16422 { (exit 1); exit 1; }; }
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h. */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16431 /* Override any gcc2 internal prototype to avoid an error. */
16432 #ifdef __cplusplus
16433 extern "C"
16434 #endif
16435 /* We use char because int might match the return type of a gcc2
16436 builtin and then its argument prototype would still apply. */
16437 char ctanl ();
16439 main ()
16441 ctanl ();
16443 return 0;
16445 _ACEOF
16446 rm -f conftest.$ac_objext conftest$ac_exeext
16447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16448 (eval $ac_link) 2>conftest.er1
16449 ac_status=$?
16450 grep -v '^ *+' conftest.er1 >conftest.err
16451 rm -f conftest.er1
16452 cat conftest.err >&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } &&
16455 { ac_try='test -z "$ac_c_werror_flag"
16456 || test ! -s conftest.err'
16457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16458 (eval $ac_try) 2>&5
16459 ac_status=$?
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; } &&
16462 { ac_try='test -s conftest$ac_exeext'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16465 ac_status=$?
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16468 ac_cv_lib_m_ctanl=yes
16469 else
16470 echo "$as_me: failed program was:" >&5
16471 sed 's/^/| /' conftest.$ac_ext >&5
16473 ac_cv_lib_m_ctanl=no
16475 rm -f conftest.err conftest.$ac_objext \
16476 conftest$ac_exeext conftest.$ac_ext
16477 LIBS=$ac_check_lib_save_LIBS
16479 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16480 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16481 if test $ac_cv_lib_m_ctanl = yes; then
16483 cat >>confdefs.h <<\_ACEOF
16484 #define HAVE_CTANL 1
16485 _ACEOF
16489 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16490 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16491 if test "${ac_cv_lib_m_tanhf+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16494 ac_check_lib_save_LIBS=$LIBS
16495 LIBS="-lm $LIBS"
16496 if test x$gcc_no_link = xyes; then
16497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16499 { (exit 1); exit 1; }; }
16501 cat >conftest.$ac_ext <<_ACEOF
16502 /* confdefs.h. */
16503 _ACEOF
16504 cat confdefs.h >>conftest.$ac_ext
16505 cat >>conftest.$ac_ext <<_ACEOF
16506 /* end confdefs.h. */
16508 /* Override any gcc2 internal prototype to avoid an error. */
16509 #ifdef __cplusplus
16510 extern "C"
16511 #endif
16512 /* We use char because int might match the return type of a gcc2
16513 builtin and then its argument prototype would still apply. */
16514 char tanhf ();
16516 main ()
16518 tanhf ();
16520 return 0;
16522 _ACEOF
16523 rm -f conftest.$ac_objext conftest$ac_exeext
16524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16525 (eval $ac_link) 2>conftest.er1
16526 ac_status=$?
16527 grep -v '^ *+' conftest.er1 >conftest.err
16528 rm -f conftest.er1
16529 cat conftest.err >&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } &&
16532 { ac_try='test -z "$ac_c_werror_flag"
16533 || test ! -s conftest.err'
16534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16535 (eval $ac_try) 2>&5
16536 ac_status=$?
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; } &&
16539 { ac_try='test -s conftest$ac_exeext'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16542 ac_status=$?
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; }; then
16545 ac_cv_lib_m_tanhf=yes
16546 else
16547 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.$ac_ext >&5
16550 ac_cv_lib_m_tanhf=no
16552 rm -f conftest.err conftest.$ac_objext \
16553 conftest$ac_exeext conftest.$ac_ext
16554 LIBS=$ac_check_lib_save_LIBS
16556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16557 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16558 if test $ac_cv_lib_m_tanhf = yes; then
16560 cat >>confdefs.h <<\_ACEOF
16561 #define HAVE_TANHF 1
16562 _ACEOF
16566 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16567 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16568 if test "${ac_cv_lib_m_tanh+set}" = set; then
16569 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 else
16571 ac_check_lib_save_LIBS=$LIBS
16572 LIBS="-lm $LIBS"
16573 if test x$gcc_no_link = xyes; then
16574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16576 { (exit 1); exit 1; }; }
16578 cat >conftest.$ac_ext <<_ACEOF
16579 /* confdefs.h. */
16580 _ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16585 /* Override any gcc2 internal prototype to avoid an error. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 /* We use char because int might match the return type of a gcc2
16590 builtin and then its argument prototype would still apply. */
16591 char tanh ();
16593 main ()
16595 tanh ();
16597 return 0;
16599 _ACEOF
16600 rm -f conftest.$ac_objext conftest$ac_exeext
16601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16602 (eval $ac_link) 2>conftest.er1
16603 ac_status=$?
16604 grep -v '^ *+' conftest.er1 >conftest.err
16605 rm -f conftest.er1
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try='test -z "$ac_c_werror_flag"
16610 || test ! -s conftest.err'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; } &&
16616 { ac_try='test -s conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 ac_cv_lib_m_tanh=yes
16623 else
16624 echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.$ac_ext >&5
16627 ac_cv_lib_m_tanh=no
16629 rm -f conftest.err conftest.$ac_objext \
16630 conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_check_lib_save_LIBS
16633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
16634 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16635 if test $ac_cv_lib_m_tanh = yes; then
16637 cat >>confdefs.h <<\_ACEOF
16638 #define HAVE_TANH 1
16639 _ACEOF
16643 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16644 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16645 if test "${ac_cv_lib_m_tanhl+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648 ac_check_lib_save_LIBS=$LIBS
16649 LIBS="-lm $LIBS"
16650 if test x$gcc_no_link = xyes; then
16651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16653 { (exit 1); exit 1; }; }
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h. */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16662 /* Override any gcc2 internal prototype to avoid an error. */
16663 #ifdef __cplusplus
16664 extern "C"
16665 #endif
16666 /* We use char because int might match the return type of a gcc2
16667 builtin and then its argument prototype would still apply. */
16668 char tanhl ();
16670 main ()
16672 tanhl ();
16674 return 0;
16676 _ACEOF
16677 rm -f conftest.$ac_objext conftest$ac_exeext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16679 (eval $ac_link) 2>conftest.er1
16680 ac_status=$?
16681 grep -v '^ *+' conftest.er1 >conftest.err
16682 rm -f conftest.er1
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try='test -z "$ac_c_werror_flag"
16687 || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16690 ac_status=$?
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try='test -s conftest$ac_exeext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16696 ac_status=$?
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16699 ac_cv_lib_m_tanhl=yes
16700 else
16701 echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.$ac_ext >&5
16704 ac_cv_lib_m_tanhl=no
16706 rm -f conftest.err conftest.$ac_objext \
16707 conftest$ac_exeext conftest.$ac_ext
16708 LIBS=$ac_check_lib_save_LIBS
16710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16711 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16712 if test $ac_cv_lib_m_tanhl = yes; then
16714 cat >>confdefs.h <<\_ACEOF
16715 #define HAVE_TANHL 1
16716 _ACEOF
16720 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16721 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16722 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16725 ac_check_lib_save_LIBS=$LIBS
16726 LIBS="-lm $LIBS"
16727 if test x$gcc_no_link = xyes; then
16728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16730 { (exit 1); exit 1; }; }
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h. */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16739 /* Override any gcc2 internal prototype to avoid an error. */
16740 #ifdef __cplusplus
16741 extern "C"
16742 #endif
16743 /* We use char because int might match the return type of a gcc2
16744 builtin and then its argument prototype would still apply. */
16745 char ctanhf ();
16747 main ()
16749 ctanhf ();
16751 return 0;
16753 _ACEOF
16754 rm -f conftest.$ac_objext conftest$ac_exeext
16755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16756 (eval $ac_link) 2>conftest.er1
16757 ac_status=$?
16758 grep -v '^ *+' conftest.er1 >conftest.err
16759 rm -f conftest.er1
16760 cat conftest.err >&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); } &&
16763 { ac_try='test -z "$ac_c_werror_flag"
16764 || test ! -s conftest.err'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16767 ac_status=$?
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; } &&
16770 { ac_try='test -s conftest$ac_exeext'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; }; then
16776 ac_cv_lib_m_ctanhf=yes
16777 else
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16781 ac_cv_lib_m_ctanhf=no
16783 rm -f conftest.err conftest.$ac_objext \
16784 conftest$ac_exeext conftest.$ac_ext
16785 LIBS=$ac_check_lib_save_LIBS
16787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16788 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16789 if test $ac_cv_lib_m_ctanhf = yes; then
16791 cat >>confdefs.h <<\_ACEOF
16792 #define HAVE_CTANHF 1
16793 _ACEOF
16797 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16798 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16799 if test "${ac_cv_lib_m_ctanh+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802 ac_check_lib_save_LIBS=$LIBS
16803 LIBS="-lm $LIBS"
16804 if test x$gcc_no_link = xyes; then
16805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16807 { (exit 1); exit 1; }; }
16809 cat >conftest.$ac_ext <<_ACEOF
16810 /* confdefs.h. */
16811 _ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16816 /* Override any gcc2 internal prototype to avoid an error. */
16817 #ifdef __cplusplus
16818 extern "C"
16819 #endif
16820 /* We use char because int might match the return type of a gcc2
16821 builtin and then its argument prototype would still apply. */
16822 char ctanh ();
16824 main ()
16826 ctanh ();
16828 return 0;
16830 _ACEOF
16831 rm -f conftest.$ac_objext conftest$ac_exeext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16833 (eval $ac_link) 2>conftest.er1
16834 ac_status=$?
16835 grep -v '^ *+' conftest.er1 >conftest.err
16836 rm -f conftest.er1
16837 cat conftest.err >&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } &&
16840 { ac_try='test -z "$ac_c_werror_flag"
16841 || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest$ac_exeext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_cv_lib_m_ctanh=yes
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16858 ac_cv_lib_m_ctanh=no
16860 rm -f conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16862 LIBS=$ac_check_lib_save_LIBS
16864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
16865 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
16866 if test $ac_cv_lib_m_ctanh = yes; then
16868 cat >>confdefs.h <<\_ACEOF
16869 #define HAVE_CTANH 1
16870 _ACEOF
16874 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
16875 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
16876 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 else
16879 ac_check_lib_save_LIBS=$LIBS
16880 LIBS="-lm $LIBS"
16881 if test x$gcc_no_link = xyes; then
16882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16884 { (exit 1); exit 1; }; }
16886 cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h. */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16893 /* Override any gcc2 internal prototype to avoid an error. */
16894 #ifdef __cplusplus
16895 extern "C"
16896 #endif
16897 /* We use char because int might match the return type of a gcc2
16898 builtin and then its argument prototype would still apply. */
16899 char ctanhl ();
16901 main ()
16903 ctanhl ();
16905 return 0;
16907 _ACEOF
16908 rm -f conftest.$ac_objext conftest$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910 (eval $ac_link) 2>conftest.er1
16911 ac_status=$?
16912 grep -v '^ *+' conftest.er1 >conftest.err
16913 rm -f conftest.er1
16914 cat conftest.err >&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
16917 { ac_try='test -z "$ac_c_werror_flag"
16918 || test ! -s conftest.err'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16921 ac_status=$?
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; } &&
16924 { ac_try='test -s conftest$ac_exeext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_cv_lib_m_ctanhl=yes
16931 else
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16935 ac_cv_lib_m_ctanhl=no
16937 rm -f conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 LIBS=$ac_check_lib_save_LIBS
16941 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
16942 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
16943 if test $ac_cv_lib_m_ctanhl = yes; then
16945 cat >>confdefs.h <<\_ACEOF
16946 #define HAVE_CTANHL 1
16947 _ACEOF
16951 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
16952 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
16953 if test "${ac_cv_lib_m_truncf+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 ac_check_lib_save_LIBS=$LIBS
16957 LIBS="-lm $LIBS"
16958 if test x$gcc_no_link = xyes; then
16959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16961 { (exit 1); exit 1; }; }
16963 cat >conftest.$ac_ext <<_ACEOF
16964 /* confdefs.h. */
16965 _ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16970 /* Override any gcc2 internal prototype to avoid an error. */
16971 #ifdef __cplusplus
16972 extern "C"
16973 #endif
16974 /* We use char because int might match the return type of a gcc2
16975 builtin and then its argument prototype would still apply. */
16976 char truncf ();
16978 main ()
16980 truncf ();
16982 return 0;
16984 _ACEOF
16985 rm -f conftest.$ac_objext conftest$ac_exeext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987 (eval $ac_link) 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } &&
16994 { ac_try='test -z "$ac_c_werror_flag"
16995 || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16998 ac_status=$?
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try='test -s conftest$ac_exeext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_lib_m_truncf=yes
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 ac_cv_lib_m_truncf=no
17014 rm -f conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17016 LIBS=$ac_check_lib_save_LIBS
17018 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17019 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17020 if test $ac_cv_lib_m_truncf = yes; then
17022 cat >>confdefs.h <<\_ACEOF
17023 #define HAVE_TRUNCF 1
17024 _ACEOF
17028 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17029 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17030 if test "${ac_cv_lib_m_trunc+set}" = set; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 else
17033 ac_check_lib_save_LIBS=$LIBS
17034 LIBS="-lm $LIBS"
17035 if test x$gcc_no_link = xyes; then
17036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17038 { (exit 1); exit 1; }; }
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17047 /* Override any gcc2 internal prototype to avoid an error. */
17048 #ifdef __cplusplus
17049 extern "C"
17050 #endif
17051 /* We use char because int might match the return type of a gcc2
17052 builtin and then its argument prototype would still apply. */
17053 char trunc ();
17055 main ()
17057 trunc ();
17059 return 0;
17061 _ACEOF
17062 rm -f conftest.$ac_objext conftest$ac_exeext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17064 (eval $ac_link) 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } &&
17071 { ac_try='test -z "$ac_c_werror_flag"
17072 || test ! -s conftest.err'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try='test -s conftest$ac_exeext'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17081 ac_status=$?
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; }; then
17084 ac_cv_lib_m_trunc=yes
17085 else
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17089 ac_cv_lib_m_trunc=no
17091 rm -f conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 LIBS=$ac_check_lib_save_LIBS
17095 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17096 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17097 if test $ac_cv_lib_m_trunc = yes; then
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_TRUNC 1
17101 _ACEOF
17105 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17106 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17107 if test "${ac_cv_lib_m_truncl+set}" = set; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110 ac_check_lib_save_LIBS=$LIBS
17111 LIBS="-lm $LIBS"
17112 if test x$gcc_no_link = xyes; then
17113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17115 { (exit 1); exit 1; }; }
17117 cat >conftest.$ac_ext <<_ACEOF
17118 /* confdefs.h. */
17119 _ACEOF
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17124 /* Override any gcc2 internal prototype to avoid an error. */
17125 #ifdef __cplusplus
17126 extern "C"
17127 #endif
17128 /* We use char because int might match the return type of a gcc2
17129 builtin and then its argument prototype would still apply. */
17130 char truncl ();
17132 main ()
17134 truncl ();
17136 return 0;
17138 _ACEOF
17139 rm -f conftest.$ac_objext conftest$ac_exeext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17141 (eval $ac_link) 2>conftest.er1
17142 ac_status=$?
17143 grep -v '^ *+' conftest.er1 >conftest.err
17144 rm -f conftest.er1
17145 cat conftest.err >&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try='test -z "$ac_c_werror_flag"
17149 || test ! -s conftest.err'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17152 ac_status=$?
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; } &&
17155 { ac_try='test -s conftest$ac_exeext'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; }; then
17161 ac_cv_lib_m_truncl=yes
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 ac_cv_lib_m_truncl=no
17168 rm -f conftest.err conftest.$ac_objext \
17169 conftest$ac_exeext conftest.$ac_ext
17170 LIBS=$ac_check_lib_save_LIBS
17172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17173 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17174 if test $ac_cv_lib_m_truncl = yes; then
17176 cat >>confdefs.h <<\_ACEOF
17177 #define HAVE_TRUNCL 1
17178 _ACEOF
17182 echo "$as_me:$LINENO: checking for erff in -lm" >&5
17183 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17184 if test "${ac_cv_lib_m_erff+set}" = set; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 else
17187 ac_check_lib_save_LIBS=$LIBS
17188 LIBS="-lm $LIBS"
17189 if test x$gcc_no_link = xyes; then
17190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17192 { (exit 1); exit 1; }; }
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h. */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17201 /* Override any gcc2 internal prototype to avoid an error. */
17202 #ifdef __cplusplus
17203 extern "C"
17204 #endif
17205 /* We use char because int might match the return type of a gcc2
17206 builtin and then its argument prototype would still apply. */
17207 char erff ();
17209 main ()
17211 erff ();
17213 return 0;
17215 _ACEOF
17216 rm -f conftest.$ac_objext conftest$ac_exeext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17218 (eval $ac_link) 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try='test -z "$ac_c_werror_flag"
17226 || test ! -s conftest.err'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17229 ac_status=$?
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; } &&
17232 { ac_try='test -s conftest$ac_exeext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17235 ac_status=$?
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_cv_lib_m_erff=yes
17239 else
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17243 ac_cv_lib_m_erff=no
17245 rm -f conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 LIBS=$ac_check_lib_save_LIBS
17249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17250 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17251 if test $ac_cv_lib_m_erff = yes; then
17253 cat >>confdefs.h <<\_ACEOF
17254 #define HAVE_ERFF 1
17255 _ACEOF
17259 echo "$as_me:$LINENO: checking for erf in -lm" >&5
17260 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17261 if test "${ac_cv_lib_m_erf+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 else
17264 ac_check_lib_save_LIBS=$LIBS
17265 LIBS="-lm $LIBS"
17266 if test x$gcc_no_link = xyes; then
17267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17269 { (exit 1); exit 1; }; }
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17278 /* Override any gcc2 internal prototype to avoid an error. */
17279 #ifdef __cplusplus
17280 extern "C"
17281 #endif
17282 /* We use char because int might match the return type of a gcc2
17283 builtin and then its argument prototype would still apply. */
17284 char erf ();
17286 main ()
17288 erf ();
17290 return 0;
17292 _ACEOF
17293 rm -f conftest.$ac_objext conftest$ac_exeext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17295 (eval $ac_link) 2>conftest.er1
17296 ac_status=$?
17297 grep -v '^ *+' conftest.er1 >conftest.err
17298 rm -f conftest.er1
17299 cat conftest.err >&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try='test -z "$ac_c_werror_flag"
17303 || test ! -s conftest.err'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } &&
17309 { ac_try='test -s conftest$ac_exeext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17315 ac_cv_lib_m_erf=yes
17316 else
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17320 ac_cv_lib_m_erf=no
17322 rm -f conftest.err conftest.$ac_objext \
17323 conftest$ac_exeext conftest.$ac_ext
17324 LIBS=$ac_check_lib_save_LIBS
17326 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17327 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17328 if test $ac_cv_lib_m_erf = yes; then
17330 cat >>confdefs.h <<\_ACEOF
17331 #define HAVE_ERF 1
17332 _ACEOF
17336 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17337 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17338 if test "${ac_cv_lib_m_erfl+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17341 ac_check_lib_save_LIBS=$LIBS
17342 LIBS="-lm $LIBS"
17343 if test x$gcc_no_link = xyes; then
17344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17346 { (exit 1); exit 1; }; }
17348 cat >conftest.$ac_ext <<_ACEOF
17349 /* confdefs.h. */
17350 _ACEOF
17351 cat confdefs.h >>conftest.$ac_ext
17352 cat >>conftest.$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17355 /* Override any gcc2 internal prototype to avoid an error. */
17356 #ifdef __cplusplus
17357 extern "C"
17358 #endif
17359 /* We use char because int might match the return type of a gcc2
17360 builtin and then its argument prototype would still apply. */
17361 char erfl ();
17363 main ()
17365 erfl ();
17367 return 0;
17369 _ACEOF
17370 rm -f conftest.$ac_objext conftest$ac_exeext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17372 (eval $ac_link) 2>conftest.er1
17373 ac_status=$?
17374 grep -v '^ *+' conftest.er1 >conftest.err
17375 rm -f conftest.er1
17376 cat conftest.err >&5
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); } &&
17379 { ac_try='test -z "$ac_c_werror_flag"
17380 || test ! -s conftest.err'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; } &&
17386 { ac_try='test -s conftest$ac_exeext'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17389 ac_status=$?
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 ac_cv_lib_m_erfl=yes
17393 else
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17397 ac_cv_lib_m_erfl=no
17399 rm -f conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 LIBS=$ac_check_lib_save_LIBS
17403 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17404 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17405 if test $ac_cv_lib_m_erfl = yes; then
17407 cat >>confdefs.h <<\_ACEOF
17408 #define HAVE_ERFL 1
17409 _ACEOF
17413 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17414 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17415 if test "${ac_cv_lib_m_erfcf+set}" = set; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 else
17418 ac_check_lib_save_LIBS=$LIBS
17419 LIBS="-lm $LIBS"
17420 if test x$gcc_no_link = xyes; then
17421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17423 { (exit 1); exit 1; }; }
17425 cat >conftest.$ac_ext <<_ACEOF
17426 /* confdefs.h. */
17427 _ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17432 /* Override any gcc2 internal prototype to avoid an error. */
17433 #ifdef __cplusplus
17434 extern "C"
17435 #endif
17436 /* We use char because int might match the return type of a gcc2
17437 builtin and then its argument prototype would still apply. */
17438 char erfcf ();
17440 main ()
17442 erfcf ();
17444 return 0;
17446 _ACEOF
17447 rm -f conftest.$ac_objext conftest$ac_exeext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17449 (eval $ac_link) 2>conftest.er1
17450 ac_status=$?
17451 grep -v '^ *+' conftest.er1 >conftest.err
17452 rm -f conftest.er1
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_c_werror_flag"
17457 || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest$ac_exeext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_cv_lib_m_erfcf=yes
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17474 ac_cv_lib_m_erfcf=no
17476 rm -f conftest.err conftest.$ac_objext \
17477 conftest$ac_exeext conftest.$ac_ext
17478 LIBS=$ac_check_lib_save_LIBS
17480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17481 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17482 if test $ac_cv_lib_m_erfcf = yes; then
17484 cat >>confdefs.h <<\_ACEOF
17485 #define HAVE_ERFCF 1
17486 _ACEOF
17490 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17491 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17492 if test "${ac_cv_lib_m_erfc+set}" = set; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 else
17495 ac_check_lib_save_LIBS=$LIBS
17496 LIBS="-lm $LIBS"
17497 if test x$gcc_no_link = xyes; then
17498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17500 { (exit 1); exit 1; }; }
17502 cat >conftest.$ac_ext <<_ACEOF
17503 /* confdefs.h. */
17504 _ACEOF
17505 cat confdefs.h >>conftest.$ac_ext
17506 cat >>conftest.$ac_ext <<_ACEOF
17507 /* end confdefs.h. */
17509 /* Override any gcc2 internal prototype to avoid an error. */
17510 #ifdef __cplusplus
17511 extern "C"
17512 #endif
17513 /* We use char because int might match the return type of a gcc2
17514 builtin and then its argument prototype would still apply. */
17515 char erfc ();
17517 main ()
17519 erfc ();
17521 return 0;
17523 _ACEOF
17524 rm -f conftest.$ac_objext conftest$ac_exeext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17526 (eval $ac_link) 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try='test -z "$ac_c_werror_flag"
17534 || test ! -s conftest.err'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; } &&
17540 { ac_try='test -s conftest$ac_exeext'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; }; then
17546 ac_cv_lib_m_erfc=yes
17547 else
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17551 ac_cv_lib_m_erfc=no
17553 rm -f conftest.err conftest.$ac_objext \
17554 conftest$ac_exeext conftest.$ac_ext
17555 LIBS=$ac_check_lib_save_LIBS
17557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17558 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17559 if test $ac_cv_lib_m_erfc = yes; then
17561 cat >>confdefs.h <<\_ACEOF
17562 #define HAVE_ERFC 1
17563 _ACEOF
17567 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17568 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17569 if test "${ac_cv_lib_m_erfcl+set}" = set; then
17570 echo $ECHO_N "(cached) $ECHO_C" >&6
17571 else
17572 ac_check_lib_save_LIBS=$LIBS
17573 LIBS="-lm $LIBS"
17574 if test x$gcc_no_link = xyes; then
17575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17577 { (exit 1); exit 1; }; }
17579 cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h. */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17586 /* Override any gcc2 internal prototype to avoid an error. */
17587 #ifdef __cplusplus
17588 extern "C"
17589 #endif
17590 /* We use char because int might match the return type of a gcc2
17591 builtin and then its argument prototype would still apply. */
17592 char erfcl ();
17594 main ()
17596 erfcl ();
17598 return 0;
17600 _ACEOF
17601 rm -f conftest.$ac_objext conftest$ac_exeext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17603 (eval $ac_link) 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_c_werror_flag"
17611 || test ! -s conftest.err'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; } &&
17617 { ac_try='test -s conftest$ac_exeext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17620 ac_status=$?
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17623 ac_cv_lib_m_erfcl=yes
17624 else
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17628 ac_cv_lib_m_erfcl=no
17630 rm -f conftest.err conftest.$ac_objext \
17631 conftest$ac_exeext conftest.$ac_ext
17632 LIBS=$ac_check_lib_save_LIBS
17634 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17635 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17636 if test $ac_cv_lib_m_erfcl = yes; then
17638 cat >>confdefs.h <<\_ACEOF
17639 #define HAVE_ERFCL 1
17640 _ACEOF
17644 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17645 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17646 if test "${ac_cv_lib_m_j0f+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 ac_check_lib_save_LIBS=$LIBS
17650 LIBS="-lm $LIBS"
17651 if test x$gcc_no_link = xyes; then
17652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17654 { (exit 1); exit 1; }; }
17656 cat >conftest.$ac_ext <<_ACEOF
17657 /* confdefs.h. */
17658 _ACEOF
17659 cat confdefs.h >>conftest.$ac_ext
17660 cat >>conftest.$ac_ext <<_ACEOF
17661 /* end confdefs.h. */
17663 /* Override any gcc2 internal prototype to avoid an error. */
17664 #ifdef __cplusplus
17665 extern "C"
17666 #endif
17667 /* We use char because int might match the return type of a gcc2
17668 builtin and then its argument prototype would still apply. */
17669 char j0f ();
17671 main ()
17673 j0f ();
17675 return 0;
17677 _ACEOF
17678 rm -f conftest.$ac_objext conftest$ac_exeext
17679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17680 (eval $ac_link) 2>conftest.er1
17681 ac_status=$?
17682 grep -v '^ *+' conftest.er1 >conftest.err
17683 rm -f conftest.er1
17684 cat conftest.err >&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try='test -z "$ac_c_werror_flag"
17688 || test ! -s conftest.err'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; } &&
17694 { ac_try='test -s conftest$ac_exeext'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17697 ac_status=$?
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; }; then
17700 ac_cv_lib_m_j0f=yes
17701 else
17702 echo "$as_me: failed program was:" >&5
17703 sed 's/^/| /' conftest.$ac_ext >&5
17705 ac_cv_lib_m_j0f=no
17707 rm -f conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_check_lib_save_LIBS
17711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17712 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17713 if test $ac_cv_lib_m_j0f = yes; then
17715 cat >>confdefs.h <<\_ACEOF
17716 #define HAVE_J0F 1
17717 _ACEOF
17721 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17722 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17723 if test "${ac_cv_lib_m_j0+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 else
17726 ac_check_lib_save_LIBS=$LIBS
17727 LIBS="-lm $LIBS"
17728 if test x$gcc_no_link = xyes; then
17729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17731 { (exit 1); exit 1; }; }
17733 cat >conftest.$ac_ext <<_ACEOF
17734 /* confdefs.h. */
17735 _ACEOF
17736 cat confdefs.h >>conftest.$ac_ext
17737 cat >>conftest.$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17740 /* Override any gcc2 internal prototype to avoid an error. */
17741 #ifdef __cplusplus
17742 extern "C"
17743 #endif
17744 /* We use char because int might match the return type of a gcc2
17745 builtin and then its argument prototype would still apply. */
17746 char j0 ();
17748 main ()
17750 j0 ();
17752 return 0;
17754 _ACEOF
17755 rm -f conftest.$ac_objext conftest$ac_exeext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17757 (eval $ac_link) 2>conftest.er1
17758 ac_status=$?
17759 grep -v '^ *+' conftest.er1 >conftest.err
17760 rm -f conftest.er1
17761 cat conftest.err >&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try='test -z "$ac_c_werror_flag"
17765 || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17768 ac_status=$?
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try='test -s conftest$ac_exeext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17774 ac_status=$?
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17777 ac_cv_lib_m_j0=yes
17778 else
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17782 ac_cv_lib_m_j0=no
17784 rm -f conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 LIBS=$ac_check_lib_save_LIBS
17788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17789 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17790 if test $ac_cv_lib_m_j0 = yes; then
17792 cat >>confdefs.h <<\_ACEOF
17793 #define HAVE_J0 1
17794 _ACEOF
17798 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17799 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17800 if test "${ac_cv_lib_m_j0l+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 else
17803 ac_check_lib_save_LIBS=$LIBS
17804 LIBS="-lm $LIBS"
17805 if test x$gcc_no_link = xyes; then
17806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17808 { (exit 1); exit 1; }; }
17810 cat >conftest.$ac_ext <<_ACEOF
17811 /* confdefs.h. */
17812 _ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17817 /* Override any gcc2 internal prototype to avoid an error. */
17818 #ifdef __cplusplus
17819 extern "C"
17820 #endif
17821 /* We use char because int might match the return type of a gcc2
17822 builtin and then its argument prototype would still apply. */
17823 char j0l ();
17825 main ()
17827 j0l ();
17829 return 0;
17831 _ACEOF
17832 rm -f conftest.$ac_objext conftest$ac_exeext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17834 (eval $ac_link) 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try='test -z "$ac_c_werror_flag"
17842 || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17845 ac_status=$?
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try='test -s conftest$ac_exeext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17851 ac_status=$?
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 ac_cv_lib_m_j0l=yes
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 ac_cv_lib_m_j0l=no
17861 rm -f conftest.err conftest.$ac_objext \
17862 conftest$ac_exeext conftest.$ac_ext
17863 LIBS=$ac_check_lib_save_LIBS
17865 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
17866 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
17867 if test $ac_cv_lib_m_j0l = yes; then
17869 cat >>confdefs.h <<\_ACEOF
17870 #define HAVE_J0L 1
17871 _ACEOF
17875 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
17876 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
17877 if test "${ac_cv_lib_m_j1f+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 else
17880 ac_check_lib_save_LIBS=$LIBS
17881 LIBS="-lm $LIBS"
17882 if test x$gcc_no_link = xyes; then
17883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17885 { (exit 1); exit 1; }; }
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17894 /* Override any gcc2 internal prototype to avoid an error. */
17895 #ifdef __cplusplus
17896 extern "C"
17897 #endif
17898 /* We use char because int might match the return type of a gcc2
17899 builtin and then its argument prototype would still apply. */
17900 char j1f ();
17902 main ()
17904 j1f ();
17906 return 0;
17908 _ACEOF
17909 rm -f conftest.$ac_objext conftest$ac_exeext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17911 (eval $ac_link) 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } &&
17918 { ac_try='test -z "$ac_c_werror_flag"
17919 || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17922 ac_status=$?
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try='test -s conftest$ac_exeext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17928 ac_status=$?
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17931 ac_cv_lib_m_j1f=yes
17932 else
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17936 ac_cv_lib_m_j1f=no
17938 rm -f conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext conftest.$ac_ext
17940 LIBS=$ac_check_lib_save_LIBS
17942 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
17943 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
17944 if test $ac_cv_lib_m_j1f = yes; then
17946 cat >>confdefs.h <<\_ACEOF
17947 #define HAVE_J1F 1
17948 _ACEOF
17952 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
17953 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
17954 if test "${ac_cv_lib_m_j1+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957 ac_check_lib_save_LIBS=$LIBS
17958 LIBS="-lm $LIBS"
17959 if test x$gcc_no_link = xyes; then
17960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17962 { (exit 1); exit 1; }; }
17964 cat >conftest.$ac_ext <<_ACEOF
17965 /* confdefs.h. */
17966 _ACEOF
17967 cat confdefs.h >>conftest.$ac_ext
17968 cat >>conftest.$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17971 /* Override any gcc2 internal prototype to avoid an error. */
17972 #ifdef __cplusplus
17973 extern "C"
17974 #endif
17975 /* We use char because int might match the return type of a gcc2
17976 builtin and then its argument prototype would still apply. */
17977 char j1 ();
17979 main ()
17981 j1 ();
17983 return 0;
17985 _ACEOF
17986 rm -f conftest.$ac_objext conftest$ac_exeext
17987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17988 (eval $ac_link) 2>conftest.er1
17989 ac_status=$?
17990 grep -v '^ *+' conftest.er1 >conftest.err
17991 rm -f conftest.er1
17992 cat conftest.err >&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } &&
17995 { ac_try='test -z "$ac_c_werror_flag"
17996 || test ! -s conftest.err'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
17999 ac_status=$?
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; } &&
18002 { ac_try='test -s conftest$ac_exeext'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18005 ac_status=$?
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; }; then
18008 ac_cv_lib_m_j1=yes
18009 else
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18013 ac_cv_lib_m_j1=no
18015 rm -f conftest.err conftest.$ac_objext \
18016 conftest$ac_exeext conftest.$ac_ext
18017 LIBS=$ac_check_lib_save_LIBS
18019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18020 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18021 if test $ac_cv_lib_m_j1 = yes; then
18023 cat >>confdefs.h <<\_ACEOF
18024 #define HAVE_J1 1
18025 _ACEOF
18029 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18030 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18031 if test "${ac_cv_lib_m_j1l+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034 ac_check_lib_save_LIBS=$LIBS
18035 LIBS="-lm $LIBS"
18036 if test x$gcc_no_link = xyes; then
18037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18039 { (exit 1); exit 1; }; }
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h. */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18048 /* Override any gcc2 internal prototype to avoid an error. */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 /* We use char because int might match the return type of a gcc2
18053 builtin and then its argument prototype would still apply. */
18054 char j1l ();
18056 main ()
18058 j1l ();
18060 return 0;
18062 _ACEOF
18063 rm -f conftest.$ac_objext conftest$ac_exeext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18065 (eval $ac_link) 2>conftest.er1
18066 ac_status=$?
18067 grep -v '^ *+' conftest.er1 >conftest.err
18068 rm -f conftest.er1
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -z "$ac_c_werror_flag"
18073 || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try='test -s conftest$ac_exeext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 ac_cv_lib_m_j1l=yes
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18090 ac_cv_lib_m_j1l=no
18092 rm -f conftest.err conftest.$ac_objext \
18093 conftest$ac_exeext conftest.$ac_ext
18094 LIBS=$ac_check_lib_save_LIBS
18096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18097 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18098 if test $ac_cv_lib_m_j1l = yes; then
18100 cat >>confdefs.h <<\_ACEOF
18101 #define HAVE_J1L 1
18102 _ACEOF
18106 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18107 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18108 if test "${ac_cv_lib_m_jnf+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 else
18111 ac_check_lib_save_LIBS=$LIBS
18112 LIBS="-lm $LIBS"
18113 if test x$gcc_no_link = xyes; then
18114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18116 { (exit 1); exit 1; }; }
18118 cat >conftest.$ac_ext <<_ACEOF
18119 /* confdefs.h. */
18120 _ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18125 /* Override any gcc2 internal prototype to avoid an error. */
18126 #ifdef __cplusplus
18127 extern "C"
18128 #endif
18129 /* We use char because int might match the return type of a gcc2
18130 builtin and then its argument prototype would still apply. */
18131 char jnf ();
18133 main ()
18135 jnf ();
18137 return 0;
18139 _ACEOF
18140 rm -f conftest.$ac_objext conftest$ac_exeext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18142 (eval $ac_link) 2>conftest.er1
18143 ac_status=$?
18144 grep -v '^ *+' conftest.er1 >conftest.err
18145 rm -f conftest.er1
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } &&
18149 { ac_try='test -z "$ac_c_werror_flag"
18150 || test ! -s conftest.err'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18153 ac_status=$?
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; } &&
18156 { ac_try='test -s conftest$ac_exeext'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; }; then
18162 ac_cv_lib_m_jnf=yes
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18167 ac_cv_lib_m_jnf=no
18169 rm -f conftest.err conftest.$ac_objext \
18170 conftest$ac_exeext conftest.$ac_ext
18171 LIBS=$ac_check_lib_save_LIBS
18173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18174 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18175 if test $ac_cv_lib_m_jnf = yes; then
18177 cat >>confdefs.h <<\_ACEOF
18178 #define HAVE_JNF 1
18179 _ACEOF
18183 echo "$as_me:$LINENO: checking for jn in -lm" >&5
18184 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18185 if test "${ac_cv_lib_m_jn+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18187 else
18188 ac_check_lib_save_LIBS=$LIBS
18189 LIBS="-lm $LIBS"
18190 if test x$gcc_no_link = xyes; then
18191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18193 { (exit 1); exit 1; }; }
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18202 /* Override any gcc2 internal prototype to avoid an error. */
18203 #ifdef __cplusplus
18204 extern "C"
18205 #endif
18206 /* We use char because int might match the return type of a gcc2
18207 builtin and then its argument prototype would still apply. */
18208 char jn ();
18210 main ()
18212 jn ();
18214 return 0;
18216 _ACEOF
18217 rm -f conftest.$ac_objext conftest$ac_exeext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18219 (eval $ac_link) 2>conftest.er1
18220 ac_status=$?
18221 grep -v '^ *+' conftest.er1 >conftest.err
18222 rm -f conftest.er1
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } &&
18226 { ac_try='test -z "$ac_c_werror_flag"
18227 || test ! -s conftest.err'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18230 ac_status=$?
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; } &&
18233 { ac_try='test -s conftest$ac_exeext'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18236 ac_status=$?
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; }; then
18239 ac_cv_lib_m_jn=yes
18240 else
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18244 ac_cv_lib_m_jn=no
18246 rm -f conftest.err conftest.$ac_objext \
18247 conftest$ac_exeext conftest.$ac_ext
18248 LIBS=$ac_check_lib_save_LIBS
18250 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18251 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18252 if test $ac_cv_lib_m_jn = yes; then
18254 cat >>confdefs.h <<\_ACEOF
18255 #define HAVE_JN 1
18256 _ACEOF
18260 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18261 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18262 if test "${ac_cv_lib_m_jnl+set}" = set; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265 ac_check_lib_save_LIBS=$LIBS
18266 LIBS="-lm $LIBS"
18267 if test x$gcc_no_link = xyes; then
18268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18270 { (exit 1); exit 1; }; }
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18279 /* Override any gcc2 internal prototype to avoid an error. */
18280 #ifdef __cplusplus
18281 extern "C"
18282 #endif
18283 /* We use char because int might match the return type of a gcc2
18284 builtin and then its argument prototype would still apply. */
18285 char jnl ();
18287 main ()
18289 jnl ();
18291 return 0;
18293 _ACEOF
18294 rm -f conftest.$ac_objext conftest$ac_exeext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296 (eval $ac_link) 2>conftest.er1
18297 ac_status=$?
18298 grep -v '^ *+' conftest.er1 >conftest.err
18299 rm -f conftest.er1
18300 cat conftest.err >&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try='test -z "$ac_c_werror_flag"
18304 || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18307 ac_status=$?
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; } &&
18310 { ac_try='test -s conftest$ac_exeext'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18316 ac_cv_lib_m_jnl=yes
18317 else
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18321 ac_cv_lib_m_jnl=no
18323 rm -f conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18325 LIBS=$ac_check_lib_save_LIBS
18327 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18328 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18329 if test $ac_cv_lib_m_jnl = yes; then
18331 cat >>confdefs.h <<\_ACEOF
18332 #define HAVE_JNL 1
18333 _ACEOF
18337 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18338 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18339 if test "${ac_cv_lib_m_y0f+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 else
18342 ac_check_lib_save_LIBS=$LIBS
18343 LIBS="-lm $LIBS"
18344 if test x$gcc_no_link = xyes; then
18345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18347 { (exit 1); exit 1; }; }
18349 cat >conftest.$ac_ext <<_ACEOF
18350 /* confdefs.h. */
18351 _ACEOF
18352 cat confdefs.h >>conftest.$ac_ext
18353 cat >>conftest.$ac_ext <<_ACEOF
18354 /* end confdefs.h. */
18356 /* Override any gcc2 internal prototype to avoid an error. */
18357 #ifdef __cplusplus
18358 extern "C"
18359 #endif
18360 /* We use char because int might match the return type of a gcc2
18361 builtin and then its argument prototype would still apply. */
18362 char y0f ();
18364 main ()
18366 y0f ();
18368 return 0;
18370 _ACEOF
18371 rm -f conftest.$ac_objext conftest$ac_exeext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18373 (eval $ac_link) 2>conftest.er1
18374 ac_status=$?
18375 grep -v '^ *+' conftest.er1 >conftest.err
18376 rm -f conftest.er1
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } &&
18380 { ac_try='test -z "$ac_c_werror_flag"
18381 || test ! -s conftest.err'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18384 ac_status=$?
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try='test -s conftest$ac_exeext'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18390 ac_status=$?
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18393 ac_cv_lib_m_y0f=yes
18394 else
18395 echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18398 ac_cv_lib_m_y0f=no
18400 rm -f conftest.err conftest.$ac_objext \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18405 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18406 if test $ac_cv_lib_m_y0f = yes; then
18408 cat >>confdefs.h <<\_ACEOF
18409 #define HAVE_Y0F 1
18410 _ACEOF
18414 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18415 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18416 if test "${ac_cv_lib_m_y0+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18418 else
18419 ac_check_lib_save_LIBS=$LIBS
18420 LIBS="-lm $LIBS"
18421 if test x$gcc_no_link = xyes; then
18422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18424 { (exit 1); exit 1; }; }
18426 cat >conftest.$ac_ext <<_ACEOF
18427 /* confdefs.h. */
18428 _ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18433 /* Override any gcc2 internal prototype to avoid an error. */
18434 #ifdef __cplusplus
18435 extern "C"
18436 #endif
18437 /* We use char because int might match the return type of a gcc2
18438 builtin and then its argument prototype would still apply. */
18439 char y0 ();
18441 main ()
18443 y0 ();
18445 return 0;
18447 _ACEOF
18448 rm -f conftest.$ac_objext conftest$ac_exeext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18450 (eval $ac_link) 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try='test -z "$ac_c_werror_flag"
18458 || test ! -s conftest.err'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; } &&
18464 { ac_try='test -s conftest$ac_exeext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 ac_cv_lib_m_y0=yes
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18475 ac_cv_lib_m_y0=no
18477 rm -f conftest.err conftest.$ac_objext \
18478 conftest$ac_exeext conftest.$ac_ext
18479 LIBS=$ac_check_lib_save_LIBS
18481 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18482 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18483 if test $ac_cv_lib_m_y0 = yes; then
18485 cat >>confdefs.h <<\_ACEOF
18486 #define HAVE_Y0 1
18487 _ACEOF
18491 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18492 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18493 if test "${ac_cv_lib_m_y0l+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 else
18496 ac_check_lib_save_LIBS=$LIBS
18497 LIBS="-lm $LIBS"
18498 if test x$gcc_no_link = xyes; then
18499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18501 { (exit 1); exit 1; }; }
18503 cat >conftest.$ac_ext <<_ACEOF
18504 /* confdefs.h. */
18505 _ACEOF
18506 cat confdefs.h >>conftest.$ac_ext
18507 cat >>conftest.$ac_ext <<_ACEOF
18508 /* end confdefs.h. */
18510 /* Override any gcc2 internal prototype to avoid an error. */
18511 #ifdef __cplusplus
18512 extern "C"
18513 #endif
18514 /* We use char because int might match the return type of a gcc2
18515 builtin and then its argument prototype would still apply. */
18516 char y0l ();
18518 main ()
18520 y0l ();
18522 return 0;
18524 _ACEOF
18525 rm -f conftest.$ac_objext conftest$ac_exeext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18527 (eval $ac_link) 2>conftest.er1
18528 ac_status=$?
18529 grep -v '^ *+' conftest.er1 >conftest.err
18530 rm -f conftest.er1
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18538 ac_status=$?
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; } &&
18541 { ac_try='test -s conftest$ac_exeext'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18544 ac_status=$?
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_cv_lib_m_y0l=yes
18548 else
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18552 ac_cv_lib_m_y0l=no
18554 rm -f conftest.err conftest.$ac_objext \
18555 conftest$ac_exeext conftest.$ac_ext
18556 LIBS=$ac_check_lib_save_LIBS
18558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18559 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18560 if test $ac_cv_lib_m_y0l = yes; then
18562 cat >>confdefs.h <<\_ACEOF
18563 #define HAVE_Y0L 1
18564 _ACEOF
18568 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18569 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18570 if test "${ac_cv_lib_m_y1f+set}" = set; then
18571 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 else
18573 ac_check_lib_save_LIBS=$LIBS
18574 LIBS="-lm $LIBS"
18575 if test x$gcc_no_link = xyes; then
18576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18578 { (exit 1); exit 1; }; }
18580 cat >conftest.$ac_ext <<_ACEOF
18581 /* confdefs.h. */
18582 _ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18587 /* Override any gcc2 internal prototype to avoid an error. */
18588 #ifdef __cplusplus
18589 extern "C"
18590 #endif
18591 /* We use char because int might match the return type of a gcc2
18592 builtin and then its argument prototype would still apply. */
18593 char y1f ();
18595 main ()
18597 y1f ();
18599 return 0;
18601 _ACEOF
18602 rm -f conftest.$ac_objext conftest$ac_exeext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18604 (eval $ac_link) 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try='test -z "$ac_c_werror_flag"
18612 || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try='test -s conftest$ac_exeext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18621 ac_status=$?
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 ac_cv_lib_m_y1f=yes
18625 else
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18629 ac_cv_lib_m_y1f=no
18631 rm -f conftest.err conftest.$ac_objext \
18632 conftest$ac_exeext conftest.$ac_ext
18633 LIBS=$ac_check_lib_save_LIBS
18635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18636 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18637 if test $ac_cv_lib_m_y1f = yes; then
18639 cat >>confdefs.h <<\_ACEOF
18640 #define HAVE_Y1F 1
18641 _ACEOF
18645 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18646 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18647 if test "${ac_cv_lib_m_y1+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 else
18650 ac_check_lib_save_LIBS=$LIBS
18651 LIBS="-lm $LIBS"
18652 if test x$gcc_no_link = xyes; then
18653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18655 { (exit 1); exit 1; }; }
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h. */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18664 /* Override any gcc2 internal prototype to avoid an error. */
18665 #ifdef __cplusplus
18666 extern "C"
18667 #endif
18668 /* We use char because int might match the return type of a gcc2
18669 builtin and then its argument prototype would still apply. */
18670 char y1 ();
18672 main ()
18674 y1 ();
18676 return 0;
18678 _ACEOF
18679 rm -f conftest.$ac_objext conftest$ac_exeext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18681 (eval $ac_link) 2>conftest.er1
18682 ac_status=$?
18683 grep -v '^ *+' conftest.er1 >conftest.err
18684 rm -f conftest.er1
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try='test -z "$ac_c_werror_flag"
18689 || test ! -s conftest.err'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18692 ac_status=$?
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try='test -s conftest$ac_exeext'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18698 ac_status=$?
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
18701 ac_cv_lib_m_y1=yes
18702 else
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18706 ac_cv_lib_m_y1=no
18708 rm -f conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18710 LIBS=$ac_check_lib_save_LIBS
18712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18713 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18714 if test $ac_cv_lib_m_y1 = yes; then
18716 cat >>confdefs.h <<\_ACEOF
18717 #define HAVE_Y1 1
18718 _ACEOF
18722 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18723 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18724 if test "${ac_cv_lib_m_y1l+set}" = set; then
18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18726 else
18727 ac_check_lib_save_LIBS=$LIBS
18728 LIBS="-lm $LIBS"
18729 if test x$gcc_no_link = xyes; then
18730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18732 { (exit 1); exit 1; }; }
18734 cat >conftest.$ac_ext <<_ACEOF
18735 /* confdefs.h. */
18736 _ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18741 /* Override any gcc2 internal prototype to avoid an error. */
18742 #ifdef __cplusplus
18743 extern "C"
18744 #endif
18745 /* We use char because int might match the return type of a gcc2
18746 builtin and then its argument prototype would still apply. */
18747 char y1l ();
18749 main ()
18751 y1l ();
18753 return 0;
18755 _ACEOF
18756 rm -f conftest.$ac_objext conftest$ac_exeext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18758 (eval $ac_link) 2>conftest.er1
18759 ac_status=$?
18760 grep -v '^ *+' conftest.er1 >conftest.err
18761 rm -f conftest.er1
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try='test -z "$ac_c_werror_flag"
18766 || test ! -s conftest.err'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18769 ac_status=$?
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; } &&
18772 { ac_try='test -s conftest$ac_exeext'
18773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774 (eval $ac_try) 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; }; then
18778 ac_cv_lib_m_y1l=yes
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 ac_cv_lib_m_y1l=no
18785 rm -f conftest.err conftest.$ac_objext \
18786 conftest$ac_exeext conftest.$ac_ext
18787 LIBS=$ac_check_lib_save_LIBS
18789 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18790 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18791 if test $ac_cv_lib_m_y1l = yes; then
18793 cat >>confdefs.h <<\_ACEOF
18794 #define HAVE_Y1L 1
18795 _ACEOF
18799 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18800 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18801 if test "${ac_cv_lib_m_ynf+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 else
18804 ac_check_lib_save_LIBS=$LIBS
18805 LIBS="-lm $LIBS"
18806 if test x$gcc_no_link = xyes; then
18807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18809 { (exit 1); exit 1; }; }
18811 cat >conftest.$ac_ext <<_ACEOF
18812 /* confdefs.h. */
18813 _ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18818 /* Override any gcc2 internal prototype to avoid an error. */
18819 #ifdef __cplusplus
18820 extern "C"
18821 #endif
18822 /* We use char because int might match the return type of a gcc2
18823 builtin and then its argument prototype would still apply. */
18824 char ynf ();
18826 main ()
18828 ynf ();
18830 return 0;
18832 _ACEOF
18833 rm -f conftest.$ac_objext conftest$ac_exeext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18835 (eval $ac_link) 2>conftest.er1
18836 ac_status=$?
18837 grep -v '^ *+' conftest.er1 >conftest.err
18838 rm -f conftest.er1
18839 cat conftest.err >&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try='test -z "$ac_c_werror_flag"
18843 || test ! -s conftest.err'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18846 ac_status=$?
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; } &&
18849 { ac_try='test -s conftest$ac_exeext'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18852 ac_status=$?
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; }; then
18855 ac_cv_lib_m_ynf=yes
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 ac_cv_lib_m_ynf=no
18862 rm -f conftest.err conftest.$ac_objext \
18863 conftest$ac_exeext conftest.$ac_ext
18864 LIBS=$ac_check_lib_save_LIBS
18866 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
18867 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
18868 if test $ac_cv_lib_m_ynf = yes; then
18870 cat >>confdefs.h <<\_ACEOF
18871 #define HAVE_YNF 1
18872 _ACEOF
18876 echo "$as_me:$LINENO: checking for yn in -lm" >&5
18877 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
18878 if test "${ac_cv_lib_m_yn+set}" = set; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881 ac_check_lib_save_LIBS=$LIBS
18882 LIBS="-lm $LIBS"
18883 if test x$gcc_no_link = xyes; then
18884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18886 { (exit 1); exit 1; }; }
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h. */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18895 /* Override any gcc2 internal prototype to avoid an error. */
18896 #ifdef __cplusplus
18897 extern "C"
18898 #endif
18899 /* We use char because int might match the return type of a gcc2
18900 builtin and then its argument prototype would still apply. */
18901 char yn ();
18903 main ()
18905 yn ();
18907 return 0;
18909 _ACEOF
18910 rm -f conftest.$ac_objext conftest$ac_exeext
18911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18912 (eval $ac_link) 2>conftest.er1
18913 ac_status=$?
18914 grep -v '^ *+' conftest.er1 >conftest.err
18915 rm -f conftest.er1
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } &&
18919 { ac_try='test -z "$ac_c_werror_flag"
18920 || test ! -s conftest.err'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18923 ac_status=$?
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; } &&
18926 { ac_try='test -s conftest$ac_exeext'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; }; then
18932 ac_cv_lib_m_yn=yes
18933 else
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 ac_cv_lib_m_yn=no
18939 rm -f conftest.err conftest.$ac_objext \
18940 conftest$ac_exeext conftest.$ac_ext
18941 LIBS=$ac_check_lib_save_LIBS
18943 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
18944 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
18945 if test $ac_cv_lib_m_yn = yes; then
18947 cat >>confdefs.h <<\_ACEOF
18948 #define HAVE_YN 1
18949 _ACEOF
18953 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
18954 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
18955 if test "${ac_cv_lib_m_ynl+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958 ac_check_lib_save_LIBS=$LIBS
18959 LIBS="-lm $LIBS"
18960 if test x$gcc_no_link = xyes; then
18961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18963 { (exit 1); exit 1; }; }
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18972 /* Override any gcc2 internal prototype to avoid an error. */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 /* We use char because int might match the return type of a gcc2
18977 builtin and then its argument prototype would still apply. */
18978 char ynl ();
18980 main ()
18982 ynl ();
18984 return 0;
18986 _ACEOF
18987 rm -f conftest.$ac_objext conftest$ac_exeext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18989 (eval $ac_link) 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try='test -z "$ac_c_werror_flag"
18997 || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try='test -s conftest$ac_exeext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 ac_cv_lib_m_ynl=yes
19010 else
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19014 ac_cv_lib_m_ynl=no
19016 rm -f conftest.err conftest.$ac_objext \
19017 conftest$ac_exeext conftest.$ac_ext
19018 LIBS=$ac_check_lib_save_LIBS
19020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19021 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19022 if test $ac_cv_lib_m_ynl = yes; then
19024 cat >>confdefs.h <<\_ACEOF
19025 #define HAVE_YNL 1
19026 _ACEOF
19031 # Hack for AIX
19032 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19033 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19034 if test "${ac_cv_lib_m___clog+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037 ac_check_lib_save_LIBS=$LIBS
19038 LIBS="-lm $LIBS"
19039 if test x$gcc_no_link = xyes; then
19040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19042 { (exit 1); exit 1; }; }
19044 cat >conftest.$ac_ext <<_ACEOF
19045 /* confdefs.h. */
19046 _ACEOF
19047 cat confdefs.h >>conftest.$ac_ext
19048 cat >>conftest.$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19051 /* Override any gcc2 internal prototype to avoid an error. */
19052 #ifdef __cplusplus
19053 extern "C"
19054 #endif
19055 /* We use char because int might match the return type of a gcc2
19056 builtin and then its argument prototype would still apply. */
19057 char __clog ();
19059 main ()
19061 __clog ();
19063 return 0;
19065 _ACEOF
19066 rm -f conftest.$ac_objext conftest$ac_exeext
19067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19068 (eval $ac_link) 2>conftest.er1
19069 ac_status=$?
19070 grep -v '^ *+' conftest.er1 >conftest.err
19071 rm -f conftest.er1
19072 cat conftest.err >&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } &&
19075 { ac_try='test -z "$ac_c_werror_flag"
19076 || test ! -s conftest.err'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19079 ac_status=$?
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; } &&
19082 { ac_try='test -s conftest$ac_exeext'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 ac_cv_lib_m___clog=yes
19089 else
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19093 ac_cv_lib_m___clog=no
19095 rm -f conftest.err conftest.$ac_objext \
19096 conftest$ac_exeext conftest.$ac_ext
19097 LIBS=$ac_check_lib_save_LIBS
19099 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19100 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19101 if test $ac_cv_lib_m___clog = yes; then
19103 cat >>confdefs.h <<\_ACEOF
19104 #define HAVE_CLOG 1
19105 _ACEOF
19110 # Fallback in case isfinite is not available.
19111 echo "$as_me:$LINENO: checking for finite in -lm" >&5
19112 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19113 if test "${ac_cv_lib_m_finite+set}" = set; then
19114 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 else
19116 ac_check_lib_save_LIBS=$LIBS
19117 LIBS="-lm $LIBS"
19118 if test x$gcc_no_link = xyes; then
19119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19121 { (exit 1); exit 1; }; }
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19130 /* Override any gcc2 internal prototype to avoid an error. */
19131 #ifdef __cplusplus
19132 extern "C"
19133 #endif
19134 /* We use char because int might match the return type of a gcc2
19135 builtin and then its argument prototype would still apply. */
19136 char finite ();
19138 main ()
19140 finite ();
19142 return 0;
19144 _ACEOF
19145 rm -f conftest.$ac_objext conftest$ac_exeext
19146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19147 (eval $ac_link) 2>conftest.er1
19148 ac_status=$?
19149 grep -v '^ *+' conftest.er1 >conftest.err
19150 rm -f conftest.er1
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } &&
19154 { ac_try='test -z "$ac_c_werror_flag"
19155 || test ! -s conftest.err'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; } &&
19161 { ac_try='test -s conftest$ac_exeext'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19164 ac_status=$?
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; }; then
19167 ac_cv_lib_m_finite=yes
19168 else
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19172 ac_cv_lib_m_finite=no
19174 rm -f conftest.err conftest.$ac_objext \
19175 conftest$ac_exeext conftest.$ac_ext
19176 LIBS=$ac_check_lib_save_LIBS
19178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19179 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19180 if test $ac_cv_lib_m_finite = yes; then
19182 cat >>confdefs.h <<\_ACEOF
19183 #define HAVE_FINITE 1
19184 _ACEOF
19189 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
19190 # for struct timezone, as you might think. We also need to check how
19191 # to call gettimeofday if we have it.
19192 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19193 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
19194 if test "${ac_cv_header_time+set}" = set; then
19195 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 else
19197 cat >conftest.$ac_ext <<_ACEOF
19198 /* confdefs.h. */
19199 _ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 #include <sys/types.h>
19204 #include <sys/time.h>
19205 #include <time.h>
19208 main ()
19210 if ((struct tm *) 0)
19211 return 0;
19213 return 0;
19215 _ACEOF
19216 rm -f conftest.$ac_objext
19217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19218 (eval $ac_compile) 2>conftest.er1
19219 ac_status=$?
19220 grep -v '^ *+' conftest.er1 >conftest.err
19221 rm -f conftest.er1
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } &&
19225 { ac_try='test -z "$ac_c_werror_flag"
19226 || test ! -s conftest.err'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; } &&
19232 { ac_try='test -s conftest.$ac_objext'
19233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19234 (eval $ac_try) 2>&5
19235 ac_status=$?
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); }; }; then
19238 ac_cv_header_time=yes
19239 else
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19243 ac_cv_header_time=no
19245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19247 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19248 echo "${ECHO_T}$ac_cv_header_time" >&6
19249 if test $ac_cv_header_time = yes; then
19251 cat >>confdefs.h <<\_ACEOF
19252 #define TIME_WITH_SYS_TIME 1
19253 _ACEOF
19259 for ac_func in gettimeofday
19261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19262 echo "$as_me:$LINENO: checking for $ac_func" >&5
19263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19264 if eval "test \"\${$as_ac_var+set}\" = set"; then
19265 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 else
19267 if test x$gcc_no_link = xyes; then
19268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19270 { (exit 1); exit 1; }; }
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19280 #define $ac_func innocuous_$ac_func
19282 /* System header to define __stub macros and hopefully few prototypes,
19283 which can conflict with char $ac_func (); below.
19284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19285 <limits.h> exists even on freestanding compilers. */
19287 #ifdef __STDC__
19288 # include <limits.h>
19289 #else
19290 # include <assert.h>
19291 #endif
19293 #undef $ac_func
19295 /* Override any gcc2 internal prototype to avoid an error. */
19296 #ifdef __cplusplus
19297 extern "C"
19299 #endif
19300 /* We use char because int might match the return type of a gcc2
19301 builtin and then its argument prototype would still apply. */
19302 char $ac_func ();
19303 /* The GNU C library defines this for functions which it implements
19304 to always fail with ENOSYS. Some functions are actually named
19305 something starting with __ and the normal name is an alias. */
19306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19307 choke me
19308 #else
19309 char (*f) () = $ac_func;
19310 #endif
19311 #ifdef __cplusplus
19313 #endif
19316 main ()
19318 return f != $ac_func;
19320 return 0;
19322 _ACEOF
19323 rm -f conftest.$ac_objext conftest$ac_exeext
19324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19325 (eval $ac_link) 2>conftest.er1
19326 ac_status=$?
19327 grep -v '^ *+' conftest.er1 >conftest.err
19328 rm -f conftest.er1
19329 cat conftest.err >&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } &&
19332 { ac_try='test -z "$ac_c_werror_flag"
19333 || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try='test -s conftest$ac_exeext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19342 ac_status=$?
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19345 eval "$as_ac_var=yes"
19346 else
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19350 eval "$as_ac_var=no"
19352 rm -f conftest.err conftest.$ac_objext \
19353 conftest$ac_exeext conftest.$ac_ext
19355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19357 if test `eval echo '${'$as_ac_var'}'` = yes; then
19358 cat >>confdefs.h <<_ACEOF
19359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19360 _ACEOF
19363 done
19365 if test "$ac_cv_func_gettimeofday" = yes; then
19366 echo "$as_me:$LINENO: checking for struct timezone" >&5
19367 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
19368 if test "${gfor_cv_struct_timezone+set}" = set; then
19369 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 else
19371 cat >conftest.$ac_ext <<_ACEOF
19372 /* confdefs.h. */
19373 _ACEOF
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 #include <sys/time.h>
19379 main ()
19381 struct timezone tz;
19383 return 0;
19385 _ACEOF
19386 rm -f conftest.$ac_objext
19387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19388 (eval $ac_compile) 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } &&
19395 { ac_try='test -z "$ac_c_werror_flag"
19396 || test ! -s conftest.err'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest.$ac_objext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19408 gfor_cv_struct_timezone=yes
19409 else
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 gfor_cv_struct_timezone=no
19415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19417 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
19418 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
19419 if test $gfor_cv_struct_timezone = yes; then
19420 if test "$cross_compiling" = yes; then
19421 gfor_have_struct_timezone=yes
19422 else
19423 cat >conftest.$ac_ext <<_ACEOF
19424 /* confdefs.h. */
19425 _ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19430 #ifdef TIME_WITH_SYS_TIME
19431 #include <sys/time.h>
19432 #include <time.h>
19433 #else
19434 #ifdef HAVE_SYS_TIME_H
19435 #include <sys/time.h>
19436 #else
19437 #include <time.h>
19438 #endif
19439 #endif
19440 main ()
19442 struct timeval time;
19443 struct timezone dummy;
19444 if (gettimeofday (&time, &dummy))
19445 exit (1);
19446 else
19447 exit (0);
19449 _ACEOF
19450 rm -f conftest$ac_exeext
19451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19452 (eval $ac_link) 2>&5
19453 ac_status=$?
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19458 ac_status=$?
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; }; then
19461 gfor_have_struct_timezone=yes
19462 else
19463 echo "$as_me: program exited with status $ac_status" >&5
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19467 ( exit $ac_status )
19468 gfor_have_struct_timezone=no
19470 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19472 if test $gfor_have_struct_timezone = yes; then
19474 cat >>confdefs.h <<\_ACEOF
19475 #define HAVE_TIMEZONE 1
19476 _ACEOF
19481 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19482 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19483 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 else
19486 if test x$gcc_no_link = xyes; then
19487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19489 { (exit 1); exit 1; }; }
19491 cat >conftest.$ac_ext <<_ACEOF
19492 /* confdefs.h. */
19493 _ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19498 #ifdef TIME_WITH_SYS_TIME
19499 #include <sys/time.h>
19500 #include <time.h>
19501 #else
19502 #ifdef HAVE_SYS_TIME_H
19503 #include <sys/time.h>
19504 #else
19505 #include <time.h>
19506 #endif
19507 #endif
19510 main ()
19513 struct timeval time;
19514 #ifdef HAVE_TIMEZONE
19515 struct timezone dummy;
19516 #define DUMMY &dummy
19517 #else
19518 #define DUMMY NULL
19519 #endif
19520 gettimeofday (&time, DUMMY);
19522 return 0;
19524 _ACEOF
19525 rm -f conftest.$ac_objext conftest$ac_exeext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19527 (eval $ac_link) 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try='test -z "$ac_c_werror_flag"
19535 || test ! -s conftest.err'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19538 ac_status=$?
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; } &&
19541 { ac_try='test -s conftest$ac_exeext'
19542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 (eval $ac_try) 2>&5
19544 ac_status=$?
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); }; }; then
19547 emacs_cv_gettimeofday_two_arguments=yes
19548 else
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19552 emacs_cv_gettimeofday_two_arguments=no
19554 rm -f conftest.err conftest.$ac_objext \
19555 conftest$ac_exeext conftest.$ac_ext
19557 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
19558 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
19559 if test $emacs_cv_gettimeofday_two_arguments = no; then
19561 cat >>confdefs.h <<\_ACEOF
19562 #define GETTIMEOFDAY_ONE_ARGUMENT 1
19563 _ACEOF
19568 # Attempt to assert that the target is of common type in case we don't
19569 # have C99 integer types at all.
19571 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
19572 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
19573 if test "${target_ilp32+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 else
19577 save_CFLAGS="$CFLAGS"
19578 CFLAGS="-O2"
19579 if test x$gcc_no_link = xyes; then
19580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19582 { (exit 1); exit 1; }; }
19584 cat >conftest.$ac_ext <<_ACEOF
19585 /* confdefs.h. */
19586 _ACEOF
19587 cat confdefs.h >>conftest.$ac_ext
19588 cat >>conftest.$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19592 main ()
19595 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
19597 else
19598 undefined_function ();
19601 return 0;
19603 _ACEOF
19604 rm -f conftest.$ac_objext conftest$ac_exeext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19606 (eval $ac_link) 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try='test -z "$ac_c_werror_flag"
19614 || test ! -s conftest.err'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try='test -s conftest$ac_exeext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 target_ilp32=yes
19627 else
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.$ac_ext >&5
19631 target_ilp32=no
19633 rm -f conftest.err conftest.$ac_objext \
19634 conftest$ac_exeext conftest.$ac_ext
19635 CFLAGS="$save_CFLAGS"
19637 echo "$as_me:$LINENO: result: $target_ilp32" >&5
19638 echo "${ECHO_T}$target_ilp32" >&6
19639 if test $target_ilp32 = yes; then
19641 cat >>confdefs.h <<\_ACEOF
19642 #define TARGET_ILP32 1
19643 _ACEOF
19648 # Check out attribute support.
19650 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
19651 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
19652 if test "${have_attribute_visibility+set}" = set; then
19653 echo $ECHO_N "(cached) $ECHO_C" >&6
19654 else
19656 save_CFLAGS="$CFLAGS"
19657 CFLAGS="$CFLAGS -Werror"
19658 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */
19660 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 void __attribute__((visibility("hidden"))) foo(void) { }
19666 main ()
19670 return 0;
19672 _ACEOF
19673 rm -f conftest.$ac_objext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19675 (eval $ac_compile) 2>conftest.er1
19676 ac_status=$?
19677 grep -v '^ *+' conftest.er1 >conftest.err
19678 rm -f conftest.er1
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try='test -z "$ac_c_werror_flag"
19683 || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19686 ac_status=$?
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try='test -s conftest.$ac_objext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19695 have_attribute_visibility=yes
19696 else
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19700 have_attribute_visibility=no
19702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19703 CFLAGS="$save_CFLAGS"
19705 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
19706 echo "${ECHO_T}$have_attribute_visibility" >&6
19707 if test $have_attribute_visibility = yes; then
19709 cat >>confdefs.h <<\_ACEOF
19710 #define HAVE_ATTRIBUTE_VISIBILITY 1
19711 _ACEOF
19715 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
19716 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
19717 if test "${have_attribute_dllexport+set}" = set; then
19718 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 else
19721 save_CFLAGS="$CFLAGS"
19722 CFLAGS="$CFLAGS -Werror"
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 void __attribute__((dllexport)) foo(void) { }
19731 main ()
19735 return 0;
19737 _ACEOF
19738 rm -f conftest.$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>conftest.er1
19741 ac_status=$?
19742 grep -v '^ *+' conftest.er1 >conftest.err
19743 rm -f conftest.er1
19744 cat conftest.err >&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try='test -z "$ac_c_werror_flag"
19748 || test ! -s conftest.err'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19751 ac_status=$?
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; } &&
19754 { ac_try='test -s conftest.$ac_objext'
19755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756 (eval $ac_try) 2>&5
19757 ac_status=$?
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; }; then
19760 have_attribute_dllexport=yes
19761 else
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 have_attribute_dllexport=no
19767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19768 CFLAGS="$save_CFLAGS"
19770 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
19771 echo "${ECHO_T}$have_attribute_dllexport" >&6
19772 if test $have_attribute_dllexport = yes; then
19774 cat >>confdefs.h <<\_ACEOF
19775 #define HAVE_ATTRIBUTE_DLLEXPORT 1
19776 _ACEOF
19780 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
19781 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
19782 if test "${have_attribute_alias+set}" = set; then
19783 echo $ECHO_N "(cached) $ECHO_C" >&6
19784 else
19786 if test x$gcc_no_link = xyes; then
19787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19789 { (exit 1); exit 1; }; }
19791 cat >conftest.$ac_ext <<_ACEOF
19792 /* confdefs.h. */
19793 _ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19798 #define ULP STR1(__USER_LABEL_PREFIX__)
19799 #define STR1(x) STR2(x)
19800 #define STR2(x) #x
19801 void foo(void) { }
19802 extern void bar(void) __attribute__((alias(ULP "foo")));
19804 main ()
19806 bar();
19808 return 0;
19810 _ACEOF
19811 rm -f conftest.$ac_objext conftest$ac_exeext
19812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19813 (eval $ac_link) 2>conftest.er1
19814 ac_status=$?
19815 grep -v '^ *+' conftest.er1 >conftest.err
19816 rm -f conftest.er1
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } &&
19820 { ac_try='test -z "$ac_c_werror_flag"
19821 || test ! -s conftest.err'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19824 ac_status=$?
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); }; } &&
19827 { ac_try='test -s conftest$ac_exeext'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19830 ac_status=$?
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; }; then
19833 have_attribute_alias=yes
19834 else
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.$ac_ext >&5
19838 have_attribute_alias=no
19840 rm -f conftest.err conftest.$ac_objext \
19841 conftest$ac_exeext conftest.$ac_ext
19843 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
19844 echo "${ECHO_T}$have_attribute_alias" >&6
19845 if test $have_attribute_alias = yes; then
19847 cat >>confdefs.h <<\_ACEOF
19848 #define HAVE_ATTRIBUTE_ALIAS 1
19849 _ACEOF
19853 # Various other checks on target
19855 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
19856 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
19857 if test "${have_unlink_open_file+set}" = set; then
19858 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 else
19861 if test "$cross_compiling" = yes; then
19863 case "${target}" in
19864 *mingw*) have_unlink_open_file=no ;;
19865 *) have_unlink_open_file=yes;;
19866 esac
19867 else
19868 cat >conftest.$ac_ext <<_ACEOF
19869 /* confdefs.h. */
19870 _ACEOF
19871 cat confdefs.h >>conftest.$ac_ext
19872 cat >>conftest.$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19875 #include <errno.h>
19876 #include <fcntl.h>
19877 #include <unistd.h>
19878 #include <sys/stat.h>
19880 int main ()
19882 int fd;
19884 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
19885 if (fd <= 0)
19886 return 0;
19887 if (unlink ("testfile") == -1)
19888 return 1;
19889 write (fd, "This is a test\n", 15);
19890 close (fd);
19892 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
19893 return 0;
19894 else
19895 return 1;
19897 _ACEOF
19898 rm -f conftest$ac_exeext
19899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19900 (eval $ac_link) 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19906 ac_status=$?
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; }; then
19909 have_unlink_open_file=yes
19910 else
19911 echo "$as_me: program exited with status $ac_status" >&5
19912 echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.$ac_ext >&5
19915 ( exit $ac_status )
19916 have_unlink_open_file=no
19918 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19921 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
19922 echo "${ECHO_T}$have_unlink_open_file" >&6
19923 if test x"$have_unlink_open_file" = xyes; then
19925 cat >>confdefs.h <<\_ACEOF
19926 #define HAVE_UNLINK_OPEN_FILE 1
19927 _ACEOF
19931 # Check whether line terminator is LF or CRLF
19933 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
19934 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
19935 if test "${have_crlf+set}" = set; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 else
19939 if test "$cross_compiling" = yes; then
19941 case "${target}" in
19942 *mingw*) have_crlf=yes ;;
19943 *) have_crlf=no;;
19944 esac
19945 else
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19953 /* This test program should exit with status 0 if system uses a CRLF as
19954 line terminator, and status 1 otherwise.
19955 Since it is used to check for mingw systems, and should return 0 in any
19956 other case, in case of a failure we will not use CRLF. */
19957 #include <sys/stat.h>
19958 #include <stdlib.h>
19959 #include <fcntl.h>
19960 #include <stdio.h>
19962 int main ()
19964 #ifndef O_BINARY
19965 exit(1);
19966 #else
19967 int fd, bytes;
19968 char buff[5];
19970 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
19971 if (fd < 0)
19972 exit(1);
19973 if (write (fd, "\n", 1) < 0)
19974 perror ("write");
19976 close (fd);
19978 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
19979 exit(1);
19980 bytes = read (fd, buff, 5);
19981 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
19982 exit(0);
19983 else
19984 exit(1);
19985 #endif
19987 _ACEOF
19988 rm -f conftest$ac_exeext
19989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19990 (eval $ac_link) 2>&5
19991 ac_status=$?
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19996 ac_status=$?
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; }; then
19999 have_crlf=yes
20000 else
20001 echo "$as_me: program exited with status $ac_status" >&5
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20005 ( exit $ac_status )
20006 have_crlf=no
20008 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20011 echo "$as_me:$LINENO: result: $have_crlf" >&5
20012 echo "${ECHO_T}$have_crlf" >&6
20013 if test x"$have_crlf" = xyes; then
20015 cat >>confdefs.h <<\_ACEOF
20016 #define HAVE_CRLF 1
20017 _ACEOF
20021 cat >confcache <<\_ACEOF
20022 # This file is a shell script that caches the results of configure
20023 # tests run on this system so they can be shared between configure
20024 # scripts and configure runs, see configure's option --config-cache.
20025 # It is not useful on other systems. If it contains results you don't
20026 # want to keep, you may remove or edit it.
20028 # config.status only pays attention to the cache file if you give it
20029 # the --recheck option to rerun configure.
20031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20033 # following values.
20035 _ACEOF
20037 # The following way of writing the cache mishandles newlines in values,
20038 # but we know of no workaround that is simple, portable, and efficient.
20039 # So, don't put newlines in cache variables' values.
20040 # Ultrix sh set writes to stderr and can't be redirected directly,
20041 # and sets the high bit in the cache file unless we assign to the vars.
20043 (set) 2>&1 |
20044 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20045 *ac_space=\ *)
20046 # `set' does not quote correctly, so add quotes (double-quote
20047 # substitution turns \\\\ into \\, and sed turns \\ into \).
20048 sed -n \
20049 "s/'/'\\\\''/g;
20050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20053 # `set' quotes correctly as required by POSIX, so do not add quotes.
20054 sed -n \
20055 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20057 esac;
20059 sed '
20060 t clear
20061 : clear
20062 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20063 t end
20064 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20065 : end' >>confcache
20066 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20067 if test -w $cache_file; then
20068 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20069 cat confcache >$cache_file
20070 else
20071 echo "not updating unwritable cache $cache_file"
20074 rm -f confcache
20076 if test ${multilib} = yes; then
20077 multilib_arg="--enable-multilib"
20078 else
20079 multilib_arg=
20082 # Write our Makefile.
20083 ac_config_files="$ac_config_files Makefile"
20085 cat >confcache <<\_ACEOF
20086 # This file is a shell script that caches the results of configure
20087 # tests run on this system so they can be shared between configure
20088 # scripts and configure runs, see configure's option --config-cache.
20089 # It is not useful on other systems. If it contains results you don't
20090 # want to keep, you may remove or edit it.
20092 # config.status only pays attention to the cache file if you give it
20093 # the --recheck option to rerun configure.
20095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20097 # following values.
20099 _ACEOF
20101 # The following way of writing the cache mishandles newlines in values,
20102 # but we know of no workaround that is simple, portable, and efficient.
20103 # So, don't put newlines in cache variables' values.
20104 # Ultrix sh set writes to stderr and can't be redirected directly,
20105 # and sets the high bit in the cache file unless we assign to the vars.
20107 (set) 2>&1 |
20108 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20109 *ac_space=\ *)
20110 # `set' does not quote correctly, so add quotes (double-quote
20111 # substitution turns \\\\ into \\, and sed turns \\ into \).
20112 sed -n \
20113 "s/'/'\\\\''/g;
20114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20117 # `set' quotes correctly as required by POSIX, so do not add quotes.
20118 sed -n \
20119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20121 esac;
20123 sed '
20124 t clear
20125 : clear
20126 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20127 t end
20128 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20129 : end' >>confcache
20130 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20131 if test -w $cache_file; then
20132 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20133 cat confcache >$cache_file
20134 else
20135 echo "not updating unwritable cache $cache_file"
20138 rm -f confcache
20140 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20141 # Let make expand exec_prefix.
20142 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20144 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20145 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20146 # trailing colons and then remove the whole line if VPATH becomes empty
20147 # (actually we leave an empty line to preserve line numbers).
20148 if test "x$srcdir" = x.; then
20149 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20150 s/:*\$(srcdir):*/:/;
20151 s/:*\${srcdir}:*/:/;
20152 s/:*@srcdir@:*/:/;
20153 s/^\([^=]*=[ ]*\):*/\1/;
20154 s/:*$//;
20155 s/^[^=]*=[ ]*$//;
20159 DEFS=-DHAVE_CONFIG_H
20161 ac_libobjs=
20162 ac_ltlibobjs=
20163 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20164 # 1. Remove the extension, and $U if already installed.
20165 ac_i=`echo "$ac_i" |
20166 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20167 # 2. Add them.
20168 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20169 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20170 done
20171 LIBOBJS=$ac_libobjs
20173 LTLIBOBJS=$ac_ltlibobjs
20176 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20177 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20178 Usually this means the macro was only invoked conditionally." >&5
20179 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20180 Usually this means the macro was only invoked conditionally." >&2;}
20181 { (exit 1); exit 1; }; }
20184 : ${CONFIG_STATUS=./config.status}
20185 ac_clean_files_save=$ac_clean_files
20186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20187 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20188 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20189 cat >$CONFIG_STATUS <<_ACEOF
20190 #! $SHELL
20191 # Generated by $as_me.
20192 # Run this file to recreate the current configuration.
20193 # Compiler output produced by configure, useful for debugging
20194 # configure, is in config.log if it exists.
20196 debug=false
20197 ac_cs_recheck=false
20198 ac_cs_silent=false
20199 SHELL=\${CONFIG_SHELL-$SHELL}
20200 _ACEOF
20202 cat >>$CONFIG_STATUS <<\_ACEOF
20203 ## --------------------- ##
20204 ## M4sh Initialization. ##
20205 ## --------------------- ##
20207 # Be Bourne compatible
20208 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20209 emulate sh
20210 NULLCMD=:
20211 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20212 # is contrary to our usage. Disable this feature.
20213 alias -g '${1+"$@"}'='"$@"'
20214 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20215 set -o posix
20217 DUALCASE=1; export DUALCASE # for MKS sh
20219 # Support unset when possible.
20220 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20221 as_unset=unset
20222 else
20223 as_unset=false
20227 # Work around bugs in pre-3.0 UWIN ksh.
20228 $as_unset ENV MAIL MAILPATH
20229 PS1='$ '
20230 PS2='> '
20231 PS4='+ '
20233 # NLS nuisances.
20234 for as_var in \
20235 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20236 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20237 LC_TELEPHONE LC_TIME
20239 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20240 eval $as_var=C; export $as_var
20241 else
20242 $as_unset $as_var
20244 done
20246 # Required to use basename.
20247 if expr a : '\(a\)' >/dev/null 2>&1; then
20248 as_expr=expr
20249 else
20250 as_expr=false
20253 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20254 as_basename=basename
20255 else
20256 as_basename=false
20260 # Name of the executable.
20261 as_me=`$as_basename "$0" ||
20262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20263 X"$0" : 'X\(//\)$' \| \
20264 X"$0" : 'X\(/\)$' \| \
20265 . : '\(.\)' 2>/dev/null ||
20266 echo X/"$0" |
20267 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20268 /^X\/\(\/\/\)$/{ s//\1/; q; }
20269 /^X\/\(\/\).*/{ s//\1/; q; }
20270 s/.*/./; q'`
20273 # PATH needs CR, and LINENO needs CR and PATH.
20274 # Avoid depending upon Character Ranges.
20275 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20276 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20277 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20278 as_cr_digits='0123456789'
20279 as_cr_alnum=$as_cr_Letters$as_cr_digits
20281 # The user is always right.
20282 if test "${PATH_SEPARATOR+set}" != set; then
20283 echo "#! /bin/sh" >conf$$.sh
20284 echo "exit 0" >>conf$$.sh
20285 chmod +x conf$$.sh
20286 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20287 PATH_SEPARATOR=';'
20288 else
20289 PATH_SEPARATOR=:
20291 rm -f conf$$.sh
20295 as_lineno_1=$LINENO
20296 as_lineno_2=$LINENO
20297 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20298 test "x$as_lineno_1" != "x$as_lineno_2" &&
20299 test "x$as_lineno_3" = "x$as_lineno_2" || {
20300 # Find who we are. Look in the path if we contain no path at all
20301 # relative or not.
20302 case $0 in
20303 *[\\/]* ) as_myself=$0 ;;
20304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20305 for as_dir in $PATH
20307 IFS=$as_save_IFS
20308 test -z "$as_dir" && as_dir=.
20309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20310 done
20313 esac
20314 # We did not find ourselves, most probably we were run as `sh COMMAND'
20315 # in which case we are not to be found in the path.
20316 if test "x$as_myself" = x; then
20317 as_myself=$0
20319 if test ! -f "$as_myself"; then
20320 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20321 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20322 { (exit 1); exit 1; }; }
20324 case $CONFIG_SHELL in
20326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20327 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20329 IFS=$as_save_IFS
20330 test -z "$as_dir" && as_dir=.
20331 for as_base in sh bash ksh sh5; do
20332 case $as_dir in
20334 if ("$as_dir/$as_base" -c '
20335 as_lineno_1=$LINENO
20336 as_lineno_2=$LINENO
20337 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20338 test "x$as_lineno_1" != "x$as_lineno_2" &&
20339 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20340 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20341 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20342 CONFIG_SHELL=$as_dir/$as_base
20343 export CONFIG_SHELL
20344 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20345 fi;;
20346 esac
20347 done
20348 done
20350 esac
20352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20353 # uniformly replaced by the line number. The first 'sed' inserts a
20354 # line-number line before each line; the second 'sed' does the real
20355 # work. The second script uses 'N' to pair each line-number line
20356 # with the numbered line, and appends trailing '-' during
20357 # substitution so that $LINENO is not a special case at line end.
20358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20359 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20360 sed '=' <$as_myself |
20361 sed '
20363 s,$,-,
20364 : loop
20365 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20366 t loop
20367 s,-$,,
20368 s,^['$as_cr_digits']*\n,,
20369 ' >$as_me.lineno &&
20370 chmod +x $as_me.lineno ||
20371 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20372 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20373 { (exit 1); exit 1; }; }
20375 # Don't try to exec as it changes $[0], causing all sort of problems
20376 # (the dirname of $[0] is not the place where we might find the
20377 # original and so on. Autoconf is especially sensible to this).
20378 . ./$as_me.lineno
20379 # Exit status is that of the last command.
20380 exit
20384 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20385 *c*,-n*) ECHO_N= ECHO_C='
20386 ' ECHO_T=' ' ;;
20387 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20388 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20389 esac
20391 if expr a : '\(a\)' >/dev/null 2>&1; then
20392 as_expr=expr
20393 else
20394 as_expr=false
20397 rm -f conf$$ conf$$.exe conf$$.file
20398 echo >conf$$.file
20399 if ln -s conf$$.file conf$$ 2>/dev/null; then
20400 # We could just check for DJGPP; but this test a) works b) is more generic
20401 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20402 if test -f conf$$.exe; then
20403 # Don't use ln at all; we don't have any links
20404 as_ln_s='cp -p'
20405 else
20406 as_ln_s='ln -s'
20408 elif ln conf$$.file conf$$ 2>/dev/null; then
20409 as_ln_s=ln
20410 else
20411 as_ln_s='cp -p'
20413 rm -f conf$$ conf$$.exe conf$$.file
20415 if mkdir -p . 2>/dev/null; then
20416 as_mkdir_p=:
20417 else
20418 test -d ./-p && rmdir ./-p
20419 as_mkdir_p=false
20422 as_executable_p="test -f"
20424 # Sed expression to map a string onto a valid CPP name.
20425 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20427 # Sed expression to map a string onto a valid variable name.
20428 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20431 # IFS
20432 # We need space, tab and new line, in precisely that order.
20433 as_nl='
20435 IFS=" $as_nl"
20437 # CDPATH.
20438 $as_unset CDPATH
20440 exec 6>&1
20442 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20443 # report actual input values of CONFIG_FILES etc. instead of their
20444 # values after options handling. Logging --version etc. is OK.
20445 exec 5>>config.log
20447 echo
20448 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20449 ## Running $as_me. ##
20450 _ASBOX
20451 } >&5
20452 cat >&5 <<_CSEOF
20454 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
20455 generated by GNU Autoconf 2.59. Invocation command line was
20457 CONFIG_FILES = $CONFIG_FILES
20458 CONFIG_HEADERS = $CONFIG_HEADERS
20459 CONFIG_LINKS = $CONFIG_LINKS
20460 CONFIG_COMMANDS = $CONFIG_COMMANDS
20461 $ $0 $@
20463 _CSEOF
20464 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20465 echo >&5
20466 _ACEOF
20468 # Files that config.status was made for.
20469 if test -n "$ac_config_files"; then
20470 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20473 if test -n "$ac_config_headers"; then
20474 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20477 if test -n "$ac_config_links"; then
20478 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20481 if test -n "$ac_config_commands"; then
20482 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20485 cat >>$CONFIG_STATUS <<\_ACEOF
20487 ac_cs_usage="\
20488 \`$as_me' instantiates files from templates according to the
20489 current configuration.
20491 Usage: $0 [OPTIONS] [FILE]...
20493 -h, --help print this help, then exit
20494 -V, --version print version number, then exit
20495 -q, --quiet do not print progress messages
20496 -d, --debug don't remove temporary files
20497 --recheck update $as_me by reconfiguring in the same conditions
20498 --file=FILE[:TEMPLATE]
20499 instantiate the configuration file FILE
20500 --header=FILE[:TEMPLATE]
20501 instantiate the configuration header FILE
20503 Configuration files:
20504 $config_files
20506 Configuration headers:
20507 $config_headers
20509 Configuration commands:
20510 $config_commands
20512 Report bugs to <bug-autoconf@gnu.org>."
20513 _ACEOF
20515 cat >>$CONFIG_STATUS <<_ACEOF
20516 ac_cs_version="\\
20517 GNU Fortran Runtime Library config.status 0.2
20518 configured by $0, generated by GNU Autoconf 2.59,
20519 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20521 Copyright (C) 2003 Free Software Foundation, Inc.
20522 This config.status script is free software; the Free Software Foundation
20523 gives unlimited permission to copy, distribute and modify it."
20524 srcdir=$srcdir
20525 INSTALL="$INSTALL"
20526 _ACEOF
20528 cat >>$CONFIG_STATUS <<\_ACEOF
20529 # If no file are specified by the user, then we need to provide default
20530 # value. By we need to know if files were specified by the user.
20531 ac_need_defaults=:
20532 while test $# != 0
20534 case $1 in
20535 --*=*)
20536 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20537 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20538 ac_shift=:
20541 ac_option=$1
20542 ac_optarg=$2
20543 ac_shift=shift
20545 *) # This is not an option, so the user has probably given explicit
20546 # arguments.
20547 ac_option=$1
20548 ac_need_defaults=false;;
20549 esac
20551 case $ac_option in
20552 # Handling of the options.
20553 _ACEOF
20554 cat >>$CONFIG_STATUS <<\_ACEOF
20555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20556 ac_cs_recheck=: ;;
20557 --version | --vers* | -V )
20558 echo "$ac_cs_version"; exit 0 ;;
20559 --he | --h)
20560 # Conflict between --help and --header
20561 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20562 Try \`$0 --help' for more information." >&5
20563 echo "$as_me: error: ambiguous option: $1
20564 Try \`$0 --help' for more information." >&2;}
20565 { (exit 1); exit 1; }; };;
20566 --help | --hel | -h )
20567 echo "$ac_cs_usage"; exit 0 ;;
20568 --debug | --d* | -d )
20569 debug=: ;;
20570 --file | --fil | --fi | --f )
20571 $ac_shift
20572 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20573 ac_need_defaults=false;;
20574 --header | --heade | --head | --hea )
20575 $ac_shift
20576 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20577 ac_need_defaults=false;;
20578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20579 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20580 ac_cs_silent=: ;;
20582 # This is an error.
20583 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20584 Try \`$0 --help' for more information." >&5
20585 echo "$as_me: error: unrecognized option: $1
20586 Try \`$0 --help' for more information." >&2;}
20587 { (exit 1); exit 1; }; } ;;
20589 *) ac_config_targets="$ac_config_targets $1" ;;
20591 esac
20592 shift
20593 done
20595 ac_configure_extra_args=
20597 if $ac_cs_silent; then
20598 exec 6>/dev/null
20599 ac_configure_extra_args="$ac_configure_extra_args --silent"
20602 _ACEOF
20603 cat >>$CONFIG_STATUS <<_ACEOF
20604 if \$ac_cs_recheck; then
20605 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20606 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20609 _ACEOF
20611 cat >>$CONFIG_STATUS <<_ACEOF
20613 # INIT-COMMANDS section.
20617 srcdir="$srcdir"
20618 host="$host"
20619 target="$target"
20620 with_multisubdir="$with_multisubdir"
20621 with_multisrctop="$with_multisrctop"
20622 with_target_subdir="$with_target_subdir"
20623 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20624 multi_basedir="$multi_basedir"
20625 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20626 CC="$CC"
20628 _ACEOF
20632 cat >>$CONFIG_STATUS <<\_ACEOF
20633 for ac_config_target in $ac_config_targets
20635 case "$ac_config_target" in
20636 # Handling of arguments.
20637 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20638 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20639 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20640 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20641 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20642 { (exit 1); exit 1; }; };;
20643 esac
20644 done
20646 # If the user did not use the arguments to specify the items to instantiate,
20647 # then the envvar interface is used. Set only those that are not.
20648 # We use the long form for the default assignment because of an extremely
20649 # bizarre bug on SunOS 4.1.3.
20650 if $ac_need_defaults; then
20651 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20652 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20653 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20656 # Have a temporary directory for convenience. Make it in the build tree
20657 # simply because there is no reason to put it here, and in addition,
20658 # creating and moving files from /tmp can sometimes cause problems.
20659 # Create a temporary directory, and hook for its removal unless debugging.
20660 $debug ||
20662 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20663 trap '{ (exit 1); exit 1; }' 1 2 13 15
20666 # Create a (secure) tmp directory for tmp files.
20669 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20670 test -n "$tmp" && test -d "$tmp"
20671 } ||
20673 tmp=./confstat$$-$RANDOM
20674 (umask 077 && mkdir $tmp)
20675 } ||
20677 echo "$me: cannot create a temporary directory in ." >&2
20678 { (exit 1); exit 1; }
20681 _ACEOF
20683 cat >>$CONFIG_STATUS <<_ACEOF
20686 # CONFIG_FILES section.
20689 # No need to generate the scripts if there are no CONFIG_FILES.
20690 # This happens for instance when ./config.status config.h
20691 if test -n "\$CONFIG_FILES"; then
20692 # Protect against being on the right side of a sed subst in config.status.
20693 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20694 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20695 s,@SHELL@,$SHELL,;t t
20696 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20697 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20698 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20699 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20700 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20701 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20702 s,@exec_prefix@,$exec_prefix,;t t
20703 s,@prefix@,$prefix,;t t
20704 s,@program_transform_name@,$program_transform_name,;t t
20705 s,@bindir@,$bindir,;t t
20706 s,@sbindir@,$sbindir,;t t
20707 s,@libexecdir@,$libexecdir,;t t
20708 s,@datadir@,$datadir,;t t
20709 s,@sysconfdir@,$sysconfdir,;t t
20710 s,@sharedstatedir@,$sharedstatedir,;t t
20711 s,@localstatedir@,$localstatedir,;t t
20712 s,@libdir@,$libdir,;t t
20713 s,@includedir@,$includedir,;t t
20714 s,@oldincludedir@,$oldincludedir,;t t
20715 s,@infodir@,$infodir,;t t
20716 s,@mandir@,$mandir,;t t
20717 s,@build_alias@,$build_alias,;t t
20718 s,@host_alias@,$host_alias,;t t
20719 s,@target_alias@,$target_alias,;t t
20720 s,@DEFS@,$DEFS,;t t
20721 s,@ECHO_C@,$ECHO_C,;t t
20722 s,@ECHO_N@,$ECHO_N,;t t
20723 s,@ECHO_T@,$ECHO_T,;t t
20724 s,@LIBS@,$LIBS,;t t
20725 s,@build@,$build,;t t
20726 s,@build_cpu@,$build_cpu,;t t
20727 s,@build_vendor@,$build_vendor,;t t
20728 s,@build_os@,$build_os,;t t
20729 s,@host@,$host,;t t
20730 s,@host_cpu@,$host_cpu,;t t
20731 s,@host_vendor@,$host_vendor,;t t
20732 s,@host_os@,$host_os,;t t
20733 s,@target@,$target,;t t
20734 s,@target_cpu@,$target_cpu,;t t
20735 s,@target_vendor@,$target_vendor,;t t
20736 s,@target_os@,$target_os,;t t
20737 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20738 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20739 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20740 s,@CYGPATH_W@,$CYGPATH_W,;t t
20741 s,@PACKAGE@,$PACKAGE,;t t
20742 s,@VERSION@,$VERSION,;t t
20743 s,@ACLOCAL@,$ACLOCAL,;t t
20744 s,@AUTOCONF@,$AUTOCONF,;t t
20745 s,@AUTOMAKE@,$AUTOMAKE,;t t
20746 s,@AUTOHEADER@,$AUTOHEADER,;t t
20747 s,@MAKEINFO@,$MAKEINFO,;t t
20748 s,@install_sh@,$install_sh,;t t
20749 s,@STRIP@,$STRIP,;t t
20750 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20751 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20752 s,@mkdir_p@,$mkdir_p,;t t
20753 s,@AWK@,$AWK,;t t
20754 s,@SET_MAKE@,$SET_MAKE,;t t
20755 s,@am__leading_dot@,$am__leading_dot,;t t
20756 s,@AMTAR@,$AMTAR,;t t
20757 s,@am__tar@,$am__tar,;t t
20758 s,@am__untar@,$am__untar,;t t
20759 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20760 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20761 s,@MAINT@,$MAINT,;t t
20762 s,@multi_basedir@,$multi_basedir,;t t
20763 s,@toolexecdir@,$toolexecdir,;t t
20764 s,@toolexeclibdir@,$toolexeclibdir,;t t
20765 s,@CC@,$CC,;t t
20766 s,@ac_ct_CC@,$ac_ct_CC,;t t
20767 s,@EXEEXT@,$EXEEXT,;t t
20768 s,@OBJEXT@,$OBJEXT,;t t
20769 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
20770 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
20771 s,@AS@,$AS,;t t
20772 s,@ac_ct_AS@,$ac_ct_AS,;t t
20773 s,@AR@,$AR,;t t
20774 s,@ac_ct_AR@,$ac_ct_AR,;t t
20775 s,@RANLIB@,$RANLIB,;t t
20776 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20777 s,@LN_S@,$LN_S,;t t
20778 s,@LIBTOOL@,$LIBTOOL,;t t
20779 s,@enable_shared@,$enable_shared,;t t
20780 s,@enable_static@,$enable_static,;t t
20781 s,@FC@,$FC,;t t
20782 s,@FCFLAGS@,$FCFLAGS,;t t
20783 s,@LDFLAGS@,$LDFLAGS,;t t
20784 s,@ac_ct_FC@,$ac_ct_FC,;t t
20785 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
20786 s,@CPP@,$CPP,;t t
20787 s,@CPPFLAGS@,$CPPFLAGS,;t t
20788 s,@EGREP@,$EGREP,;t t
20789 s,@LIBOBJS@,$LIBOBJS,;t t
20790 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20791 CEOF
20793 _ACEOF
20795 cat >>$CONFIG_STATUS <<\_ACEOF
20796 # Split the substitutions into bite-sized pieces for seds with
20797 # small command number limits, like on Digital OSF/1 and HP-UX.
20798 ac_max_sed_lines=48
20799 ac_sed_frag=1 # Number of current file.
20800 ac_beg=1 # First line for current file.
20801 ac_end=$ac_max_sed_lines # Line after last line for current file.
20802 ac_more_lines=:
20803 ac_sed_cmds=
20804 while $ac_more_lines; do
20805 if test $ac_beg -gt 1; then
20806 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20807 else
20808 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20810 if test ! -s $tmp/subs.frag; then
20811 ac_more_lines=false
20812 else
20813 # The purpose of the label and of the branching condition is to
20814 # speed up the sed processing (if there are no `@' at all, there
20815 # is no need to browse any of the substitutions).
20816 # These are the two extra sed commands mentioned above.
20817 (echo ':t
20818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20819 if test -z "$ac_sed_cmds"; then
20820 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20821 else
20822 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20824 ac_sed_frag=`expr $ac_sed_frag + 1`
20825 ac_beg=$ac_end
20826 ac_end=`expr $ac_end + $ac_max_sed_lines`
20828 done
20829 if test -z "$ac_sed_cmds"; then
20830 ac_sed_cmds=cat
20832 fi # test -n "$CONFIG_FILES"
20834 _ACEOF
20835 cat >>$CONFIG_STATUS <<\_ACEOF
20836 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20837 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20838 case $ac_file in
20839 - | *:- | *:-:* ) # input from stdin
20840 cat >$tmp/stdin
20841 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20842 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20843 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20844 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20845 * ) ac_file_in=$ac_file.in ;;
20846 esac
20848 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20849 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20850 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20851 X"$ac_file" : 'X\(//\)[^/]' \| \
20852 X"$ac_file" : 'X\(//\)$' \| \
20853 X"$ac_file" : 'X\(/\)' \| \
20854 . : '\(.\)' 2>/dev/null ||
20855 echo X"$ac_file" |
20856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20857 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20858 /^X\(\/\/\)$/{ s//\1/; q; }
20859 /^X\(\/\).*/{ s//\1/; q; }
20860 s/.*/./; q'`
20861 { if $as_mkdir_p; then
20862 mkdir -p "$ac_dir"
20863 else
20864 as_dir="$ac_dir"
20865 as_dirs=
20866 while test ! -d "$as_dir"; do
20867 as_dirs="$as_dir $as_dirs"
20868 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20870 X"$as_dir" : 'X\(//\)[^/]' \| \
20871 X"$as_dir" : 'X\(//\)$' \| \
20872 X"$as_dir" : 'X\(/\)' \| \
20873 . : '\(.\)' 2>/dev/null ||
20874 echo X"$as_dir" |
20875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20877 /^X\(\/\/\)$/{ s//\1/; q; }
20878 /^X\(\/\).*/{ s//\1/; q; }
20879 s/.*/./; q'`
20880 done
20881 test ! -n "$as_dirs" || mkdir $as_dirs
20882 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20883 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20884 { (exit 1); exit 1; }; }; }
20886 ac_builddir=.
20888 if test "$ac_dir" != .; then
20889 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20890 # A "../" for each directory in $ac_dir_suffix.
20891 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20892 else
20893 ac_dir_suffix= ac_top_builddir=
20896 case $srcdir in
20897 .) # No --srcdir option. We are building in place.
20898 ac_srcdir=.
20899 if test -z "$ac_top_builddir"; then
20900 ac_top_srcdir=.
20901 else
20902 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20903 fi ;;
20904 [\\/]* | ?:[\\/]* ) # Absolute path.
20905 ac_srcdir=$srcdir$ac_dir_suffix;
20906 ac_top_srcdir=$srcdir ;;
20907 *) # Relative path.
20908 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20909 ac_top_srcdir=$ac_top_builddir$srcdir ;;
20910 esac
20912 # Do not use `cd foo && pwd` to compute absolute paths, because
20913 # the directories may not exist.
20914 case `pwd` in
20915 .) ac_abs_builddir="$ac_dir";;
20917 case "$ac_dir" in
20918 .) ac_abs_builddir=`pwd`;;
20919 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20920 *) ac_abs_builddir=`pwd`/"$ac_dir";;
20921 esac;;
20922 esac
20923 case $ac_abs_builddir in
20924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
20926 case ${ac_top_builddir}. in
20927 .) ac_abs_top_builddir=$ac_abs_builddir;;
20928 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20929 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20930 esac;;
20931 esac
20932 case $ac_abs_builddir in
20933 .) ac_abs_srcdir=$ac_srcdir;;
20935 case $ac_srcdir in
20936 .) ac_abs_srcdir=$ac_abs_builddir;;
20937 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20938 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20939 esac;;
20940 esac
20941 case $ac_abs_builddir in
20942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
20944 case $ac_top_srcdir in
20945 .) ac_abs_top_srcdir=$ac_abs_builddir;;
20946 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20947 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20948 esac;;
20949 esac
20952 case $INSTALL in
20953 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20954 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20955 esac
20957 if test x"$ac_file" != x-; then
20958 { echo "$as_me:$LINENO: creating $ac_file" >&5
20959 echo "$as_me: creating $ac_file" >&6;}
20960 rm -f "$ac_file"
20962 # Let's still pretend it is `configure' which instantiates (i.e., don't
20963 # use $as_me), people would be surprised to read:
20964 # /* config.h. Generated by config.status. */
20965 if test x"$ac_file" = x-; then
20966 configure_input=
20967 else
20968 configure_input="$ac_file. "
20970 configure_input=$configure_input"Generated from `echo $ac_file_in |
20971 sed 's,.*/,,'` by configure."
20973 # First look for the input files in the build tree, otherwise in the
20974 # src tree.
20975 ac_file_inputs=`IFS=:
20976 for f in $ac_file_in; do
20977 case $f in
20978 -) echo $tmp/stdin ;;
20979 [\\/$]*)
20980 # Absolute (can't be DOS-style, as IFS=:)
20981 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20982 echo "$as_me: error: cannot find input file: $f" >&2;}
20983 { (exit 1); exit 1; }; }
20984 echo "$f";;
20985 *) # Relative
20986 if test -f "$f"; then
20987 # Build tree
20988 echo "$f"
20989 elif test -f "$srcdir/$f"; then
20990 # Source tree
20991 echo "$srcdir/$f"
20992 else
20993 # /dev/null tree
20994 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20995 echo "$as_me: error: cannot find input file: $f" >&2;}
20996 { (exit 1); exit 1; }; }
20997 fi;;
20998 esac
20999 done` || { (exit 1); exit 1; }
21000 _ACEOF
21001 cat >>$CONFIG_STATUS <<_ACEOF
21002 sed "$ac_vpsub
21003 $extrasub
21004 _ACEOF
21005 cat >>$CONFIG_STATUS <<\_ACEOF
21007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21008 s,@configure_input@,$configure_input,;t t
21009 s,@srcdir@,$ac_srcdir,;t t
21010 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21011 s,@top_srcdir@,$ac_top_srcdir,;t t
21012 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21013 s,@builddir@,$ac_builddir,;t t
21014 s,@abs_builddir@,$ac_abs_builddir,;t t
21015 s,@top_builddir@,$ac_top_builddir,;t t
21016 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21017 s,@INSTALL@,$ac_INSTALL,;t t
21018 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21019 rm -f $tmp/stdin
21020 if test x"$ac_file" != x-; then
21021 mv $tmp/out $ac_file
21022 else
21023 cat $tmp/out
21024 rm -f $tmp/out
21027 done
21028 _ACEOF
21029 cat >>$CONFIG_STATUS <<\_ACEOF
21032 # CONFIG_HEADER section.
21035 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21036 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21038 # ac_d sets the value in "#define NAME VALUE" lines.
21039 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21040 ac_dB='[ ].*$,\1#\2'
21041 ac_dC=' '
21042 ac_dD=',;t'
21043 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21044 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21045 ac_uB='$,\1#\2define\3'
21046 ac_uC=' '
21047 ac_uD=',;t'
21049 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21050 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21051 case $ac_file in
21052 - | *:- | *:-:* ) # input from stdin
21053 cat >$tmp/stdin
21054 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21055 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21056 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21057 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21058 * ) ac_file_in=$ac_file.in ;;
21059 esac
21061 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21062 echo "$as_me: creating $ac_file" >&6;}
21064 # First look for the input files in the build tree, otherwise in the
21065 # src tree.
21066 ac_file_inputs=`IFS=:
21067 for f in $ac_file_in; do
21068 case $f in
21069 -) echo $tmp/stdin ;;
21070 [\\/$]*)
21071 # Absolute (can't be DOS-style, as IFS=:)
21072 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21073 echo "$as_me: error: cannot find input file: $f" >&2;}
21074 { (exit 1); exit 1; }; }
21075 # Do quote $f, to prevent DOS paths from being IFS'd.
21076 echo "$f";;
21077 *) # Relative
21078 if test -f "$f"; then
21079 # Build tree
21080 echo "$f"
21081 elif test -f "$srcdir/$f"; then
21082 # Source tree
21083 echo "$srcdir/$f"
21084 else
21085 # /dev/null tree
21086 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21087 echo "$as_me: error: cannot find input file: $f" >&2;}
21088 { (exit 1); exit 1; }; }
21089 fi;;
21090 esac
21091 done` || { (exit 1); exit 1; }
21092 # Remove the trailing spaces.
21093 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21095 _ACEOF
21097 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21098 # `conftest.undefs', that substitutes the proper values into
21099 # config.h.in to produce config.h. The first handles `#define'
21100 # templates, and the second `#undef' templates.
21101 # And first: Protect against being on the right side of a sed subst in
21102 # config.status. Protect against being in an unquoted here document
21103 # in config.status.
21104 rm -f conftest.defines conftest.undefs
21105 # Using a here document instead of a string reduces the quoting nightmare.
21106 # Putting comments in sed scripts is not portable.
21108 # `end' is used to avoid that the second main sed command (meant for
21109 # 0-ary CPP macros) applies to n-ary macro definitions.
21110 # See the Autoconf documentation for `clear'.
21111 cat >confdef2sed.sed <<\_ACEOF
21112 s/[\\&,]/\\&/g
21113 s,[\\$`],\\&,g
21114 t clear
21115 : clear
21116 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21117 t end
21118 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21119 : end
21120 _ACEOF
21121 # If some macros were called several times there might be several times
21122 # the same #defines, which is useless. Nevertheless, we may not want to
21123 # sort them, since we want the *last* AC-DEFINE to be honored.
21124 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21125 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21126 rm -f confdef2sed.sed
21128 # This sed command replaces #undef with comments. This is necessary, for
21129 # example, in the case of _POSIX_SOURCE, which is predefined and required
21130 # on some systems where configure will not decide to define it.
21131 cat >>conftest.undefs <<\_ACEOF
21132 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21133 _ACEOF
21135 # Break up conftest.defines because some shells have a limit on the size
21136 # of here documents, and old seds have small limits too (100 cmds).
21137 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21138 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21139 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21140 echo ' :' >>$CONFIG_STATUS
21141 rm -f conftest.tail
21142 while grep . conftest.defines >/dev/null
21144 # Write a limited-size here document to $tmp/defines.sed.
21145 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21146 # Speed up: don't consider the non `#define' lines.
21147 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21148 # Work around the forget-to-reset-the-flag bug.
21149 echo 't clr' >>$CONFIG_STATUS
21150 echo ': clr' >>$CONFIG_STATUS
21151 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21152 echo 'CEOF
21153 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21154 rm -f $tmp/in
21155 mv $tmp/out $tmp/in
21156 ' >>$CONFIG_STATUS
21157 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21158 rm -f conftest.defines
21159 mv conftest.tail conftest.defines
21160 done
21161 rm -f conftest.defines
21162 echo ' fi # grep' >>$CONFIG_STATUS
21163 echo >>$CONFIG_STATUS
21165 # Break up conftest.undefs because some shells have a limit on the size
21166 # of here documents, and old seds have small limits too (100 cmds).
21167 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21168 rm -f conftest.tail
21169 while grep . conftest.undefs >/dev/null
21171 # Write a limited-size here document to $tmp/undefs.sed.
21172 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21173 # Speed up: don't consider the non `#undef'
21174 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21175 # Work around the forget-to-reset-the-flag bug.
21176 echo 't clr' >>$CONFIG_STATUS
21177 echo ': clr' >>$CONFIG_STATUS
21178 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21179 echo 'CEOF
21180 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21181 rm -f $tmp/in
21182 mv $tmp/out $tmp/in
21183 ' >>$CONFIG_STATUS
21184 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21185 rm -f conftest.undefs
21186 mv conftest.tail conftest.undefs
21187 done
21188 rm -f conftest.undefs
21190 cat >>$CONFIG_STATUS <<\_ACEOF
21191 # Let's still pretend it is `configure' which instantiates (i.e., don't
21192 # use $as_me), people would be surprised to read:
21193 # /* config.h. Generated by config.status. */
21194 if test x"$ac_file" = x-; then
21195 echo "/* Generated by configure. */" >$tmp/config.h
21196 else
21197 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21199 cat $tmp/in >>$tmp/config.h
21200 rm -f $tmp/in
21201 if test x"$ac_file" != x-; then
21202 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21203 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21204 echo "$as_me: $ac_file is unchanged" >&6;}
21205 else
21206 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21207 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21208 X"$ac_file" : 'X\(//\)[^/]' \| \
21209 X"$ac_file" : 'X\(//\)$' \| \
21210 X"$ac_file" : 'X\(/\)' \| \
21211 . : '\(.\)' 2>/dev/null ||
21212 echo X"$ac_file" |
21213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21214 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21215 /^X\(\/\/\)$/{ s//\1/; q; }
21216 /^X\(\/\).*/{ s//\1/; q; }
21217 s/.*/./; q'`
21218 { if $as_mkdir_p; then
21219 mkdir -p "$ac_dir"
21220 else
21221 as_dir="$ac_dir"
21222 as_dirs=
21223 while test ! -d "$as_dir"; do
21224 as_dirs="$as_dir $as_dirs"
21225 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21226 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21227 X"$as_dir" : 'X\(//\)[^/]' \| \
21228 X"$as_dir" : 'X\(//\)$' \| \
21229 X"$as_dir" : 'X\(/\)' \| \
21230 . : '\(.\)' 2>/dev/null ||
21231 echo X"$as_dir" |
21232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21233 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21234 /^X\(\/\/\)$/{ s//\1/; q; }
21235 /^X\(\/\).*/{ s//\1/; q; }
21236 s/.*/./; q'`
21237 done
21238 test ! -n "$as_dirs" || mkdir $as_dirs
21239 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21240 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21241 { (exit 1); exit 1; }; }; }
21243 rm -f $ac_file
21244 mv $tmp/config.h $ac_file
21246 else
21247 cat $tmp/config.h
21248 rm -f $tmp/config.h
21250 # Compute $ac_file's index in $config_headers.
21251 _am_stamp_count=1
21252 for _am_header in $config_headers :; do
21253 case $_am_header in
21254 $ac_file | $ac_file:* )
21255 break ;;
21257 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21258 esac
21259 done
21260 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21261 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21262 X$ac_file : 'X\(//\)[^/]' \| \
21263 X$ac_file : 'X\(//\)$' \| \
21264 X$ac_file : 'X\(/\)' \| \
21265 . : '\(.\)' 2>/dev/null ||
21266 echo X$ac_file |
21267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21269 /^X\(\/\/\)$/{ s//\1/; q; }
21270 /^X\(\/\).*/{ s//\1/; q; }
21271 s/.*/./; q'`/stamp-h$_am_stamp_count
21272 done
21273 _ACEOF
21274 cat >>$CONFIG_STATUS <<\_ACEOF
21277 # CONFIG_COMMANDS section.
21279 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21280 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21281 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21282 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21283 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21284 X"$ac_dest" : 'X\(//\)[^/]' \| \
21285 X"$ac_dest" : 'X\(//\)$' \| \
21286 X"$ac_dest" : 'X\(/\)' \| \
21287 . : '\(.\)' 2>/dev/null ||
21288 echo X"$ac_dest" |
21289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21291 /^X\(\/\/\)$/{ s//\1/; q; }
21292 /^X\(\/\).*/{ s//\1/; q; }
21293 s/.*/./; q'`
21294 { if $as_mkdir_p; then
21295 mkdir -p "$ac_dir"
21296 else
21297 as_dir="$ac_dir"
21298 as_dirs=
21299 while test ! -d "$as_dir"; do
21300 as_dirs="$as_dir $as_dirs"
21301 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21303 X"$as_dir" : 'X\(//\)[^/]' \| \
21304 X"$as_dir" : 'X\(//\)$' \| \
21305 X"$as_dir" : 'X\(/\)' \| \
21306 . : '\(.\)' 2>/dev/null ||
21307 echo X"$as_dir" |
21308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21310 /^X\(\/\/\)$/{ s//\1/; q; }
21311 /^X\(\/\).*/{ s//\1/; q; }
21312 s/.*/./; q'`
21313 done
21314 test ! -n "$as_dirs" || mkdir $as_dirs
21315 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21316 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21317 { (exit 1); exit 1; }; }; }
21319 ac_builddir=.
21321 if test "$ac_dir" != .; then
21322 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21323 # A "../" for each directory in $ac_dir_suffix.
21324 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21325 else
21326 ac_dir_suffix= ac_top_builddir=
21329 case $srcdir in
21330 .) # No --srcdir option. We are building in place.
21331 ac_srcdir=.
21332 if test -z "$ac_top_builddir"; then
21333 ac_top_srcdir=.
21334 else
21335 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21336 fi ;;
21337 [\\/]* | ?:[\\/]* ) # Absolute path.
21338 ac_srcdir=$srcdir$ac_dir_suffix;
21339 ac_top_srcdir=$srcdir ;;
21340 *) # Relative path.
21341 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21342 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21343 esac
21345 # Do not use `cd foo && pwd` to compute absolute paths, because
21346 # the directories may not exist.
21347 case `pwd` in
21348 .) ac_abs_builddir="$ac_dir";;
21350 case "$ac_dir" in
21351 .) ac_abs_builddir=`pwd`;;
21352 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21353 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21354 esac;;
21355 esac
21356 case $ac_abs_builddir in
21357 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21359 case ${ac_top_builddir}. in
21360 .) ac_abs_top_builddir=$ac_abs_builddir;;
21361 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21362 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21363 esac;;
21364 esac
21365 case $ac_abs_builddir in
21366 .) ac_abs_srcdir=$ac_srcdir;;
21368 case $ac_srcdir in
21369 .) ac_abs_srcdir=$ac_abs_builddir;;
21370 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21371 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21372 esac;;
21373 esac
21374 case $ac_abs_builddir in
21375 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21377 case $ac_top_srcdir in
21378 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21379 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21380 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21381 esac;;
21382 esac
21385 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21386 echo "$as_me: executing $ac_dest commands" >&6;}
21387 case $ac_dest in
21388 default-1 )
21389 # Only add multilib support code if we just rebuilt the top-level
21390 # Makefile.
21391 case " $CONFIG_FILES " in
21392 *" Makefile "*)
21393 ac_file=Makefile . ${multi_basedir}/config-ml.in
21395 esac ;;
21396 esac
21397 done
21398 _ACEOF
21400 cat >>$CONFIG_STATUS <<\_ACEOF
21402 { (exit 0); exit 0; }
21403 _ACEOF
21404 chmod +x $CONFIG_STATUS
21405 ac_clean_files=$ac_clean_files_save
21408 # configure is writing to config.log, and then calls config.status.
21409 # config.status does its own redirection, appending to config.log.
21410 # Unfortunately, on DOS this fails, as config.log is still kept open
21411 # by configure, so config.status won't be able to write to it; its
21412 # output is simply discarded. So we exec the FD to /dev/null,
21413 # effectively closing config.log, so it can be properly (re)opened and
21414 # appended to by config.status. When coming back to configure, we
21415 # need to make the FD available again.
21416 if test "$no_create" != yes; then
21417 ac_cs_success=:
21418 ac_config_status_args=
21419 test "$silent" = yes &&
21420 ac_config_status_args="$ac_config_status_args --quiet"
21421 exec 5>/dev/null
21422 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21423 exec 5>>config.log
21424 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21425 # would make configure fail if this is the last instruction.
21426 $ac_cs_success || { (exit 1); exit 1; }