]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgfortran/configure
re PR libfortran/27107 (Make dependency on io/io.h broken)
[thirdparty/gcc.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
4 #
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 ## --------------------- ##
11
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
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
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
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
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
43 do
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
48 fi
49 done
50
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
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
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'`
76
77
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
85
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=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
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
111 do
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
116
117 ;;
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
123 fi
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; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
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
137 /*)
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
153 ;;
154 esac
155
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 '
166 N
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; }; }
177
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
184 }
185
186
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
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
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'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
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
223 fi
224
225 as_executable_p="test -f"
226
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'"
229
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'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
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`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
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}
261
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}
266
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.3'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
272 PACKAGE_BUGREPORT=''
273
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"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
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
333
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'
351
352 ac_prev=
353 for ac_option
354 do
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
360 fi
361
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364 # Accept the important Cygnus configure options, so we can diagnose typos.
365
366 case $ac_option in
367
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
372
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
377
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 ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
387
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 ;;
393
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" ;;
402
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'" ;;
415
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 ;;
424
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
428
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 ;;
435
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
440
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 ;;
447
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
452
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
457
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 ;;
464
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 ;;
473
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
478
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
482
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
486
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 ;;
490
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 ;;
499
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
504
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 ;;
511
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 ;;
518
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 ;;
535
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
539
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 ;;
545
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 ;;
556
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
561
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
566
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 ;;
573
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 ;;
578
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
581
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
584
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'" ;;
597
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" ;;
606
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
610
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 ;;
617
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 ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
628 ;;
629
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 ;;
639
640 *)
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}
646 ;;
647
648 esac
649 done
650
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; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
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
667
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
671 do
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
679
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
686
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
695 fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
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=..
723 fi
724 else
725 ac_srcdir_defaulted=no
726 fi
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; }; }
734 fi
735 fi
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
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
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.
786
787 Defaults for the options are specified in brackets.
788
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 \`..']
799
800 _ACEOF
801
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]
808
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'.
813
814 For better control, use the options below.
815
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
830
831 cat <<\_ACEOF
832
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
837
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
843 fi
844
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
848 esac
849 cat <<\_ACEOF
850
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
863
864 Optional Packages:
865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
867 --with-build-libsubdir=DIR Directory where to find libraries for build system
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
870
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
880 CPP C preprocessor
881
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
884
885 _ACEOF
886 fi
887
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
890 ac_popdir=`pwd`
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
893 ac_builddir=.
894
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 else
900 ac_dir_suffix= ac_top_builddir=
901 fi
902
903 case $srcdir in
904 .) # No --srcdir option. We are building in place.
905 ac_srcdir=.
906 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=.
908 else
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910 fi ;;
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
914 *) # Relative path.
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 esac
918
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
921 case `pwd` in
922 .) ac_abs_builddir="$ac_dir";;
923 *)
924 case "$ac_dir" in
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *)
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 esac;;
938 esac
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
941 *)
942 case $ac_srcdir in
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 esac;;
947 esac
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *)
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 esac;;
956 esac
957
958 cd $ac_dir
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
961 echo
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
964 echo
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
968 echo
969 $ac_configure --help
970 else
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 fi
973 cd $ac_popdir
974 done
975 fi
976
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
979 cat <<\_ACEOF
980 GNU Fortran Runtime Library configure 0.3
981 generated by GNU Autoconf 2.59
982
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987 exit 0
988 fi
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
993
994 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
996
997 $ $0 $@
998
999 _ACEOF
1000 {
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1005
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1022
1023 _ASUNAME
1024
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1027 do
1028 IFS=$as_save_IFS
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1031 done
1032
1033 } >&5
1034
1035 cat >&5 <<_ACEOF
1036
1037
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1041
1042 _ACEOF
1043
1044
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1056 do
1057 for ac_arg
1058 do
1059 case $ac_arg in
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 continue ;;
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066 esac
1067 case $ac_pass in
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 2)
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1073 else
1074 case $ac_arg in
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 esac
1082 ;;
1083 -* ) ac_must_keep_next=true ;;
1084 esac
1085 fi
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1088 ac_sep=" "
1089 ;;
1090 esac
1091 done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1103 {
1104 echo
1105
1106 cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111 echo
1112 # The following way of writing the cache mishandles newlines in values,
1113 {
1114 (set) 2>&1 |
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 *ac_space=\ *)
1117 sed -n \
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 ;;
1121 *)
1122 sed -n \
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ;;
1125 esac;
1126 }
1127 echo
1128
1129 cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134 echo
1135 for ac_var in $ac_subst_vars
1136 do
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1139 done | sort
1140 echo
1141
1142 if test -n "$ac_subst_files"; then
1143 cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148 echo
1149 for ac_var in $ac_subst_files
1150 do
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1153 done | sort
1154 echo
1155 fi
1156
1157 if test -s confdefs.h; then
1158 cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163 echo
1164 sed "/^$/d" confdefs.h | sort
1165 echo
1166 fi
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1170 } >&5
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173 exit $exit_status
1174 ' 0
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1179
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1184
1185 # Predefined preprocessor variables.
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1200
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1205
1206
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1210
1211
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 else
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219 fi
1220 fi
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1226 . "$ac_site_file"
1227 fi
1228 done
1229
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236 case $cache_file in
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1239 esac
1240 fi
1241 else
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244 >$cache_file
1245 fi
1246
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1257 set,)
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1261 ,set)
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1265 ,);;
1266 *)
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1275 fi;;
1276 esac
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1279 case $ac_new_val in
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1283 esac
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 esac
1288 fi
1289 done
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1296 fi
1297
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330 ac_config_headers="$ac_config_headers config.h"
1331
1332 ac_aux_dir=
1333 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334 if test -f $ac_dir/install-sh; then
1335 ac_aux_dir=$ac_dir
1336 ac_install_sh="$ac_aux_dir/install-sh -c"
1337 break
1338 elif test -f $ac_dir/install.sh; then
1339 ac_aux_dir=$ac_dir
1340 ac_install_sh="$ac_aux_dir/install.sh -c"
1341 break
1342 elif test -f $ac_dir/shtool; then
1343 ac_aux_dir=$ac_dir
1344 ac_install_sh="$ac_aux_dir/shtool install -c"
1345 break
1346 fi
1347 done
1348 if test -z "$ac_aux_dir"; then
1349 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351 { (exit 1); exit 1; }; }
1352 fi
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1356
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361 { (exit 1); exit 1; }; }
1362
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 else
1368 ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370 ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374 { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378 { (exit 1); exit 1; }; }
1379
1380 fi
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1383 build=$ac_cv_build
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1387
1388
1389 case ${build_alias} in
1390 "") build_noncanonical=${build} ;;
1391 *) build_noncanonical=${build_alias} ;;
1392 esac
1393
1394 case ${host_alias} in
1395 "") host_noncanonical=${build_noncanonical} ;;
1396 *) host_noncanonical=${host_alias} ;;
1397 esac
1398
1399 case ${target_alias} in
1400 "") target_noncanonical=${host_noncanonical} ;;
1401 *) target_noncanonical=${target_alias} ;;
1402 esac
1403
1404
1405 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1406 # have matching libraries, they should use host libraries: Makefile.tpl
1407 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1408 # However, they still use the build modules, because the corresponding
1409 # host modules (e.g. bison) are only built for the host when bootstrap
1410 # finishes. So:
1411 # - build_subdir is where we find build modules, and never changes.
1412 # - build_libsubdir is where we find build libraries, and can be overridden.
1413
1414 # Prefix 'build-' so this never conflicts with target_subdir.
1415 build_subdir="build-${build_noncanonical}"
1416
1417 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1418 if test "${with_build_libsubdir+set}" = set; then
1419 withval="$with_build_libsubdir"
1420 build_libsubdir="$withval"
1421 else
1422 build_libsubdir="$build_subdir"
1423 fi;
1424 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1425 if ( test $srcdir = . && test -d gcc ) \
1426 || test -d $srcdir/../host-${host_noncanonical}; then
1427 host_subdir="host-${host_noncanonical}"
1428 else
1429 host_subdir=.
1430 fi
1431 # No prefix.
1432 target_subdir=${target_noncanonical}
1433
1434
1435 # -------
1436 # Options
1437 # -------
1438
1439 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1440 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1441 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1442 if test "${enable_version_specific_runtime_libs+set}" = set; then
1443 enableval="$enable_version_specific_runtime_libs"
1444 case "$enableval" in
1445 yes) version_specific_libs=yes ;;
1446 no) version_specific_libs=no ;;
1447 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1448 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1449 { (exit 1); exit 1; }; };;
1450 esac
1451 else
1452 version_specific_libs=no
1453 fi;
1454 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1455 echo "${ECHO_T}$version_specific_libs" >&6
1456
1457
1458 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1459 #
1460 # You will slowly go insane if you do not grok the following fact: when
1461 # building this library, the top-level /target/ becomes the library's /host/.
1462 #
1463 # configure then causes --target to default to --host, exactly like any
1464 # other package using autoconf. Therefore, 'target' and 'host' will
1465 # always be the same. This makes sense both for native and cross compilers
1466 # just think about it for a little while. :-)
1467 #
1468 # Also, if this library is being configured as part of a cross compiler, the
1469 # top-level configure script will pass the "real" host as $with_cross_host.
1470 #
1471 # Do not delete or change the following two lines. For why, see
1472 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1473 echo "$as_me:$LINENO: checking host system type" >&5
1474 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1475 if test "${ac_cv_host+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 ac_cv_host_alias=$host_alias
1479 test -z "$ac_cv_host_alias" &&
1480 ac_cv_host_alias=$ac_cv_build_alias
1481 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1482 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1483 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1484 { (exit 1); exit 1; }; }
1485
1486 fi
1487 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1488 echo "${ECHO_T}$ac_cv_host" >&6
1489 host=$ac_cv_host
1490 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1491 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1492 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1493
1494
1495 echo "$as_me:$LINENO: checking target system type" >&5
1496 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1497 if test "${ac_cv_target+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 else
1500 ac_cv_target_alias=$target_alias
1501 test "x$ac_cv_target_alias" = "x" &&
1502 ac_cv_target_alias=$ac_cv_host_alias
1503 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1504 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1505 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1506 { (exit 1); exit 1; }; }
1507
1508 fi
1509 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1510 echo "${ECHO_T}$ac_cv_target" >&6
1511 target=$ac_cv_target
1512 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1513 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1514 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1515
1516
1517 # The aliases save the names the user supplied, while $host etc.
1518 # will get canonicalized.
1519 test -n "$target_alias" &&
1520 test "$program_prefix$program_suffix$program_transform_name" = \
1521 NONENONEs,x,x, &&
1522 program_prefix=${target_alias}-
1523 target_alias=${target_alias-$host_alias}
1524
1525 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1526 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1527 # 1.8.2: minimum required version
1528 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1529 # of other PACKAGE_* variables will, however, and there's nothing
1530 # we can do about that; they come from AC_INIT).
1531 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1532 # file in the top srcdir, etc, etc), so stop complaining.
1533 # no-dependencies: turns off auto dependency generation (just for now)
1534 # -Wall: turns on all automake warnings...
1535 # -Wno-portability: ...except this one, since GNU make is required.
1536 am__api_version="1.9"
1537 # Find a good install program. We prefer a C program (faster),
1538 # so one script is as good as another. But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1543 # AIX /bin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1558 do
1559 IFS=$as_save_IFS
1560 test -z "$as_dir" && as_dir=.
1561 # Account for people who put trailing slashes in PATH elements.
1562 case $as_dir/ in
1563 ./ | .// | /cC/* | \
1564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1566 /usr/ucb/* ) ;;
1567 *)
1568 # OSF1 and SCO ODT 3.0 have their own names for install.
1569 # Don't use installbsd from OSF since it installs stuff as root
1570 # by default.
1571 for ac_prog in ginstall scoinst install; do
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574 if test $ac_prog = install &&
1575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1576 # AIX install. It has an incompatible calling convention.
1577 :
1578 elif test $ac_prog = install &&
1579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1580 # program-specific install script used by HP pwplus--don't use.
1581 :
1582 else
1583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1584 break 3
1585 fi
1586 fi
1587 done
1588 done
1589 ;;
1590 esac
1591 done
1592
1593
1594 fi
1595 if test "${ac_cv_path_install+set}" = set; then
1596 INSTALL=$ac_cv_path_install
1597 else
1598 # As a last resort, use the slow shell script. We don't cache a
1599 # path for INSTALL within a source directory, because that will
1600 # break other packages using the cache if that directory is
1601 # removed, or if the path is relative.
1602 INSTALL=$ac_install_sh
1603 fi
1604 fi
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1607
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1611
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1613
1614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1615
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1618 # Just in case
1619 sleep 1
1620 echo timestamp > conftest.file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments. Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1625 # directory).
1626 if (
1627 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628 if test "$*" = "X"; then
1629 # -L didn't work.
1630 set X `ls -t $srcdir/configure conftest.file`
1631 fi
1632 rm -f conftest.file
1633 if test "$*" != "X $srcdir/configure conftest.file" \
1634 && test "$*" != "X conftest.file $srcdir/configure"; then
1635
1636 # If neither matched, then we have a broken ls. This can happen
1637 # if, for instance, CONFIG_SHELL is bash and it inherits a
1638 # broken ls alias from the environment. This has actually
1639 # happened. Such a system could not be considered "sane".
1640 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1643 alias in your environment" >&2;}
1644 { (exit 1); exit 1; }; }
1645 fi
1646
1647 test "$2" = conftest.file
1648 )
1649 then
1650 # Ok.
1651 :
1652 else
1653 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657 { (exit 1); exit 1; }; }
1658 fi
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE &&
1662 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE &&
1665 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $. echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF >conftest.sed
1669 s/[\\$]/&&/g;s/;s,x,x,$//
1670 _ACEOF
1671 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1672 rm conftest.sed
1673
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir=`cd $ac_aux_dir && pwd`
1676
1677 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680 am_missing_run="$MISSING --run "
1681 else
1682 am_missing_run=
1683 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1685 fi
1686
1687 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1688 # We used to keeping the `.' as first argument, in order to
1689 # allow $(mkdir_p) to be used without argument. As in
1690 # $(mkdir_p) $(somedir)
1691 # where $(somedir) is conditionally defined. However this is wrong
1692 # for two reasons:
1693 # 1. if the package is installed by a user who cannot write `.'
1694 # make install will fail,
1695 # 2. the above comment should most certainly read
1696 # $(mkdir_p) $(DESTDIR)$(somedir)
1697 # so it does not work when $(somedir) is undefined and
1698 # $(DESTDIR) is not.
1699 # To support the latter case, we have to write
1700 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701 # so the `.' trick is pointless.
1702 mkdir_p='mkdir -p --'
1703 else
1704 # On NextStep and OpenStep, the `mkdir' command does not
1705 # recognize any option. It will interpret all options as
1706 # directories to create, and then abort because `.' already
1707 # exists.
1708 for d in ./-p ./--version;
1709 do
1710 test -d $d && rmdir $d
1711 done
1712 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713 if test -f "$ac_aux_dir/mkinstalldirs"; then
1714 mkdir_p='$(mkinstalldirs)'
1715 else
1716 mkdir_p='$(install_sh) -d'
1717 fi
1718 fi
1719
1720 for ac_prog in gawk mawk nawk awk
1721 do
1722 # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy $ac_prog; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 if test -n "$AWK"; then
1730 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1731 else
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 for as_dir in $PATH
1734 do
1735 IFS=$as_save_IFS
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_AWK="$ac_prog"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741 break 2
1742 fi
1743 done
1744 done
1745
1746 fi
1747 fi
1748 AWK=$ac_cv_prog_AWK
1749 if test -n "$AWK"; then
1750 echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1752 else
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1755 fi
1756
1757 test -n "$AWK" && break
1758 done
1759
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766 cat >conftest.make <<\_ACEOF
1767 all:
1768 @echo 'ac_maketemp="$(MAKE)"'
1769 _ACEOF
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773 eval ac_cv_prog_make_${ac_make}_set=yes
1774 else
1775 eval ac_cv_prog_make_${ac_make}_set=no
1776 fi
1777 rm -f conftest.make
1778 fi
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780 echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1782 SET_MAKE=
1783 else
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786 SET_MAKE="MAKE=${MAKE-make}"
1787 fi
1788
1789 rm -rf .tst 2>/dev/null
1790 mkdir .tst 2>/dev/null
1791 if test -d .tst; then
1792 am__leading_dot=.
1793 else
1794 am__leading_dot=_
1795 fi
1796 rmdir .tst 2>/dev/null
1797
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800 test -f $srcdir/config.status; then
1801 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803 { (exit 1); exit 1; }; }
1804 fi
1805
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808 if (cygpath --version) >/dev/null 2>/dev/null; then
1809 CYGPATH_W='cygpath -w'
1810 else
1811 CYGPATH_W=echo
1812 fi
1813 fi
1814
1815
1816 # Define the identity of the package.
1817 PACKAGE='libgfortran'
1818 VERSION='0.3'
1819
1820
1821 # Some tools Automake needs.
1822
1823 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1824
1825
1826 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1827
1828
1829 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1830
1831
1832 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1833
1834
1835 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1836
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1838
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'. However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852 if test -n "$STRIP"; then
1853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858 IFS=$as_save_IFS
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 break 2
1865 fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873 echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880 fi
1881 if test -z "$ac_cv_prog_STRIP"; then
1882 ac_ct_STRIP=$STRIP
1883 # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890 if test -n "$ac_ct_STRIP"; then
1891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1895 do
1896 IFS=$as_save_IFS
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_ac_ct_STRIP="strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902 break 2
1903 fi
1904 done
1905 done
1906
1907 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1908 fi
1909 fi
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1917 fi
1918
1919 STRIP=$ac_ct_STRIP
1920 else
1921 STRIP="$ac_cv_prog_STRIP"
1922 fi
1923
1924 fi
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1926
1927 # We need awk for the "check" target. The system "awk" is bad on
1928 # some platforms.
1929 # Always define AMTAR for backward compatibility.
1930
1931 AMTAR=${AMTAR-"${am_missing_run}tar"}
1932
1933 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1934
1935
1936
1937
1938
1939
1940 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1941 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1942 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1943 if test "${enable_maintainer_mode+set}" = set; then
1944 enableval="$enable_maintainer_mode"
1945 USE_MAINTAINER_MODE=$enableval
1946 else
1947 USE_MAINTAINER_MODE=no
1948 fi;
1949 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1950 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1951
1952
1953 if test $USE_MAINTAINER_MODE = yes; then
1954 MAINTAINER_MODE_TRUE=
1955 MAINTAINER_MODE_FALSE='#'
1956 else
1957 MAINTAINER_MODE_TRUE='#'
1958 MAINTAINER_MODE_FALSE=
1959 fi
1960
1961 MAINT=$MAINTAINER_MODE_TRUE
1962
1963
1964 # Default to --enable-multilib
1965 # Check whether --enable-multilib or --disable-multilib was given.
1966 if test "${enable_multilib+set}" = set; then
1967 enableval="$enable_multilib"
1968 case "$enableval" in
1969 yes) multilib=yes ;;
1970 no) multilib=no ;;
1971 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1972 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1973 { (exit 1); exit 1; }; } ;;
1974 esac
1975 else
1976 multilib=yes
1977 fi;
1978
1979 # We may get other options which we leave undocumented:
1980 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1981 # See config-ml.in if you want the gory details.
1982
1983 if test "$srcdir" = "."; then
1984 if test "$with_target_subdir" != "."; then
1985 multi_basedir="$srcdir/$with_multisrctop../.."
1986 else
1987 multi_basedir="$srcdir/$with_multisrctop.."
1988 fi
1989 else
1990 multi_basedir="$srcdir/.."
1991 fi
1992
1993
1994 # Even if the default multilib is not a cross compilation,
1995 # it may be that some of the other multilibs are.
1996 if test $cross_compiling = no && test $multilib = yes \
1997 && test "x${with_multisubdir}" != x ; then
1998 cross_compiling=maybe
1999 fi
2000
2001 ac_config_commands="$ac_config_commands default-1"
2002
2003
2004 # Handy for debugging:
2005 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2006
2007 # Are we being configured with some form of cross compiler?
2008 # NB: We don't actually need to know this just now, but when, say, a test
2009 # suite is included, we'll have to know.
2010 if test "$build" != "$host"; then
2011 LIBGFOR_IS_NATIVE=false
2012
2013 else
2014 LIBGFOR_IS_NATIVE=true
2015 fi
2016
2017 # Calculate toolexeclibdir
2018 # Also toolexecdir, though it's only used in toolexeclibdir
2019 case ${version_specific_libs} in
2020 yes)
2021 # Need the gcc compiler version to know where to install libraries
2022 # and header files if --enable-version-specific-runtime-libs option
2023 # is selected.
2024 toolexecdir='$(libdir)/gcc/$(target_alias)'
2025 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2026 ;;
2027 no)
2028 if test -n "$with_cross_host" &&
2029 test x"$with_cross_host" != x"no"; then
2030 # Install a library built with a cross compiler in tooldir, not libdir.
2031 toolexecdir='$(exec_prefix)/$(target_alias)'
2032 toolexeclibdir='$(toolexecdir)/lib'
2033 else
2034 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2035 toolexeclibdir='$(libdir)'
2036 fi
2037 multi_os_directory=`$CC -print-multi-os-directory`
2038 case $multi_os_directory in
2039 .) ;; # Avoid trailing /.
2040 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2041 esac
2042 ;;
2043 esac
2044
2045
2046
2047 # Check the compiler.
2048 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2049 # We must force CC to /not/ be precious variables; otherwise
2050 # the wrong, non-multilib-adjusted value will be used in multilibs.
2051 # As a side effect, we have to subst CFLAGS ourselves.
2052
2053
2054
2055 ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 if test -n "$ac_tool_prefix"; then
2061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$CC"; then
2069 ac_cv_prog_CC="$CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2073 do
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2081 fi
2082 done
2083 done
2084
2085 fi
2086 fi
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089 echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2094 fi
2095
2096 fi
2097 if test -z "$ac_cv_prog_CC"; then
2098 ac_ct_CC=$CC
2099 # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106 if test -n "$ac_ct_CC"; then
2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2111 do
2112 IFS=$as_save_IFS
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116 ac_cv_prog_ac_ct_CC="gcc"
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 break 2
2119 fi
2120 done
2121 done
2122
2123 fi
2124 fi
2125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126 if test -n "$ac_ct_CC"; then
2127 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128 echo "${ECHO_T}$ac_ct_CC" >&6
2129 else
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2132 fi
2133
2134 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2137 fi
2138
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2161 fi
2162 done
2163 done
2164
2165 fi
2166 fi
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169 echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2174 fi
2175
2176 fi
2177 if test -z "$ac_cv_prog_CC"; then
2178 ac_ct_CC=$CC
2179 # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 if test -n "$ac_ct_CC"; then
2187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2191 do
2192 IFS=$as_save_IFS
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_ac_ct_CC="cc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 break 2
2199 fi
2200 done
2201 done
2202
2203 fi
2204 fi
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2209 else
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2212 fi
2213
2214 CC=$ac_ct_CC
2215 else
2216 CC="$ac_cv_prog_CC"
2217 fi
2218
2219 fi
2220 if test -z "$CC"; then
2221 # Extract the first word of "cc", so it can be a program name with args.
2222 set dummy cc; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 ac_prog_rejected=no
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2234 do
2235 IFS=$as_save_IFS
2236 test -z "$as_dir" && as_dir=.
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2239 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2240 ac_prog_rejected=yes
2241 continue
2242 fi
2243 ac_cv_prog_CC="cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247 done
2248 done
2249
2250 if test $ac_prog_rejected = yes; then
2251 # We found a bogon in the path, so make sure we never use it.
2252 set dummy $ac_cv_prog_CC
2253 shift
2254 if test $# != 0; then
2255 # We chose a different compiler from the bogus one.
2256 # However, it has the same basename, so the bogon will be chosen
2257 # first if we set CC to just the basename; use the full file name.
2258 shift
2259 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2260 fi
2261 fi
2262 fi
2263 fi
2264 CC=$ac_cv_prog_CC
2265 if test -n "$CC"; then
2266 echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6
2268 else
2269 echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2271 fi
2272
2273 fi
2274 if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then
2276 for ac_prog in cl
2277 do
2278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2290 do
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2298 fi
2299 done
2300 done
2301
2302 fi
2303 fi
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306 echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309 echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2311 fi
2312
2313 test -n "$CC" && break
2314 done
2315 fi
2316 if test -z "$CC"; then
2317 ac_ct_CC=$CC
2318 for ac_prog in cl
2319 do
2320 # Extract the first word of "$ac_prog", so it can be a program name with args.
2321 set dummy $ac_prog; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327 if test -n "$ac_ct_CC"; then
2328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2332 do
2333 IFS=$as_save_IFS
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_ac_ct_CC="$ac_prog"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2
2340 fi
2341 done
2342 done
2343
2344 fi
2345 fi
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6
2350 else
2351 echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2353 fi
2354
2355 test -n "$ac_ct_CC" && break
2356 done
2357
2358 CC=$ac_ct_CC
2359 fi
2360
2361 fi
2362
2363
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&2;}
2368 { (exit 1); exit 1; }; }
2369
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO:" \
2372 "checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2375 (eval $ac_compiler --version </dev/null >&5) 2>&5
2376 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2380 (eval $ac_compiler -v </dev/null >&5) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2385 (eval $ac_compiler -V </dev/null >&5) 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2389
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h. */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2396
2397 int
2398 main ()
2399 {
2400
2401 ;
2402 return 0;
2403 }
2404 _ACEOF
2405 # FIXME: Cleanup?
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407 (eval $ac_link) 2>&5
2408 ac_status=$?
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; then
2411 gcc_no_link=no
2412 else
2413 gcc_no_link=yes
2414 fi
2415
2416 if test x$gcc_no_link = xyes; then
2417 # Setting cross_compile will disable run tests; it will
2418 # also disable AC_CHECK_FILE but that's generally
2419 # correct if we can't link.
2420 cross_compiling=yes
2421 EXEEXT=
2422 else
2423 cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h. */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2429
2430 int
2431 main ()
2432 {
2433
2434 ;
2435 return 0;
2436 }
2437 _ACEOF
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2442 # of exeext.
2443 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2444 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2447 (eval $ac_link_default) 2>&5
2448 ac_status=$?
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; then
2451 # Find the output, starting from the most likely. This scheme is
2452 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # resort.
2454
2455 # Be careful to initialize this variable, since it used to be cached.
2456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457 ac_cv_exeext=
2458 # b.out is created by i960 compilers.
2459 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2460 do
2461 test -f "$ac_file" || continue
2462 case $ac_file in
2463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2464 ;;
2465 conftest.$ac_ext )
2466 # This is the source file.
2467 ;;
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 # FIXME: I believe we export ac_cv_exeext for Libtool,
2475 # but it would be cool to find out if it's true. Does anybody
2476 # maintain Libtool? --akim.
2477 export ac_cv_exeext
2478 break;;
2479 * )
2480 break;;
2481 esac
2482 done
2483 else
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2486
2487 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&2;}
2491 { (exit 77); exit 77; }; }
2492 fi
2493
2494 ac_exeext=$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6
2497
2498 # Check the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2501 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2503 # If not cross compiling, check that we can run a simple program.
2504 if test "$cross_compiling" != yes; then
2505 if { ac_try='./$ac_file'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 (eval $ac_try) 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2511 cross_compiling=no
2512 else
2513 if test "$cross_compiling" = maybe; then
2514 cross_compiling=yes
2515 else
2516 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2523 fi
2524 fi
2525 fi
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2528
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6
2537
2538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2541 (eval $ac_link) 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550 test -f "$ac_file" || continue
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2553 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 export ac_cv_exeext
2555 break;;
2556 * ) break;;
2557 esac
2558 done
2559 else
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2565 fi
2566
2567 rm -f conftest$ac_cv_exeext
2568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6
2570
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2574 fi
2575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2586
2587 int
2588 main ()
2589 {
2590
2591 ;
2592 return 0;
2593 }
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; then
2601 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2602 case $ac_file in
2603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2604 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605 break;;
2606 esac
2607 done
2608 else
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2617 fi
2618
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2620 fi
2621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6
2623 OBJEXT=$ac_cv_objext
2624 ac_objext=$OBJEXT
2625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2636
2637 int
2638 main ()
2639 {
2640 #ifndef __GNUC__
2641 choke me
2642 #endif
2643
2644 ;
2645 return 0;
2646 }
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>conftest.er1
2651 ac_status=$?
2652 grep -v '^ *+' conftest.er1 >conftest.err
2653 rm -f conftest.er1
2654 cat conftest.err >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try='test -z "$ac_c_werror_flag"
2658 || test ! -s conftest.err'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 (eval $ac_try) 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; } &&
2664 { ac_try='test -s conftest.$ac_objext'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2674
2675 ac_compiler_gnu=no
2676 fi
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679
2680 fi
2681 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 CFLAGS="-g"
2687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h. */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2698
2699 int
2700 main ()
2701 {
2702
2703 ;
2704 return 0;
2705 }
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>conftest.er1
2710 ac_status=$?
2711 grep -v '^ *+' conftest.er1 >conftest.err
2712 rm -f conftest.er1
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag"
2717 || test ! -s conftest.err'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 (eval $ac_try) 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; } &&
2723 { ac_try='test -s conftest.$ac_objext'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 (eval $ac_try) 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2729 ac_cv_prog_cc_g=yes
2730 else
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2733
2734 ac_cv_prog_cc_g=no
2735 fi
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2737 fi
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2740 if test "$ac_test_CFLAGS" = set; then
2741 CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743 if test "$GCC" = yes; then
2744 CFLAGS="-g -O2"
2745 else
2746 CFLAGS="-g"
2747 fi
2748 else
2749 if test "$GCC" = yes; then
2750 CFLAGS="-O2"
2751 else
2752 CFLAGS=
2753 fi
2754 fi
2755 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else
2760 ac_cv_prog_cc_stdc=no
2761 ac_save_CC=$CC
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h. */
2764 _ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776 char **p;
2777 int i;
2778 {
2779 return p[i];
2780 }
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2782 {
2783 char *s;
2784 va_list v;
2785 va_start (v,p);
2786 s = g (p, va_arg (v,int));
2787 va_end (v);
2788 return s;
2789 }
2790
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2792 function prototypes and stuff, but not '\xHH' hex character constants.
2793 These don't provoke an error unfortunately, instead are silently treated
2794 as 'x'. The following induces an error, until -std1 is added to get
2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2796 array size at least. It's necessary to write '\x00'==0 to get something
2797 that's true only with -std1. */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2799
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2806 int
2807 main ()
2808 {
2809 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2810 ;
2811 return 0;
2812 }
2813 _ACEOF
2814 # Don't try gcc -ansi; that turns off useful extensions and
2815 # breaks some systems' header files.
2816 # AIX -qlanglvl=ansi
2817 # Ultrix and OSF/1 -std1
2818 # HP-UX 10.20 and later -Ae
2819 # HP-UX older versions -Aa -D_HPUX_SOURCE
2820 # SVR4 -Xc -D__EXTENSIONS__
2821 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2822 do
2823 CC="$ac_save_CC $ac_arg"
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2827 ac_status=$?
2828 grep -v '^ *+' conftest.er1 >conftest.err
2829 rm -f conftest.er1
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag"
2834 || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 (eval $ac_try) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2846 ac_cv_prog_cc_stdc=$ac_arg
2847 break
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2851
2852 fi
2853 rm -f conftest.err conftest.$ac_objext
2854 done
2855 rm -f conftest.$ac_ext conftest.$ac_objext
2856 CC=$ac_save_CC
2857
2858 fi
2859
2860 case "x$ac_cv_prog_cc_stdc" in
2861 x|xno)
2862 echo "$as_me:$LINENO: result: none needed" >&5
2863 echo "${ECHO_T}none needed" >&6 ;;
2864 *)
2865 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2866 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2867 CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 esac
2869
2870 # Some people use a C++ compiler to compile C. Since we use `exit',
2871 # in C++ we need to declare it. In case someone uses the same compiler
2872 # for both compiling C and C++ we need to have the C++ compiler decide
2873 # the declaration of exit, since it's the most demanding environment.
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #ifndef __cplusplus
2876 choke me
2877 #endif
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$?
2883 grep -v '^ *+' conftest.er1 >conftest.err
2884 rm -f conftest.er1
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 (eval $ac_try) 2>&5
2892 ac_status=$?
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 (eval $ac_try) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 for ac_declaration in \
2902 '' \
2903 'extern "C" void std::exit (int) throw (); using std::exit;' \
2904 'extern "C" void std::exit (int); using std::exit;' \
2905 'extern "C" void exit (int) throw ();' \
2906 'extern "C" void exit (int);' \
2907 'void exit (int);'
2908 do
2909 cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h. */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2915 $ac_declaration
2916 #include <stdlib.h>
2917 int
2918 main ()
2919 {
2920 exit (42);
2921 ;
2922 return 0;
2923 }
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2928 ac_status=$?
2929 grep -v '^ *+' conftest.er1 >conftest.err
2930 rm -f conftest.er1
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 (eval $ac_try) 2>&5
2944 ac_status=$?
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2947 :
2948 else
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 continue
2953 fi
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h. */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2961 $ac_declaration
2962 int
2963 main ()
2964 {
2965 exit (42);
2966 ;
2967 return 0;
2968 }
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2973 ac_status=$?
2974 grep -v '^ *+' conftest.er1 >conftest.err
2975 rm -f conftest.er1
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 (eval $ac_try) 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 (eval $ac_try) 2>&5
2989 ac_status=$?
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 break
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2996
2997 fi
2998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 done
3000 rm -f conftest*
3001 if test -n "$ac_declaration"; then
3002 echo '#ifdef __cplusplus' >>confdefs.h
3003 echo $ac_declaration >>confdefs.h
3004 echo '#endif' >>confdefs.h
3005 fi
3006
3007 else
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3010
3011 fi
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3018
3019
3020
3021 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3022 if test "x$GCC" = "xyes"; then
3023 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3024 ## We like to use C99 routines when available. This makes sure that
3025 ## __STDC_VERSION__ is set such that libc includes make them available.
3026 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3027 ## Compile the following tests with the same system header contents
3028 ## that we'll encounter when compiling our own source files.
3029 CFLAGS="-std=gnu99 $CFLAGS"
3030 fi
3031
3032
3033
3034 # Find other programs we need.
3035 if test -n "$ac_tool_prefix"; then
3036 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3037 set dummy ${ac_tool_prefix}as; ac_word=$2
3038 echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3040 if test "${ac_cv_prog_AS+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 else
3043 if test -n "$AS"; then
3044 ac_cv_prog_AS="$AS" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_AS="${ac_tool_prefix}as"
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 break 2
3056 fi
3057 done
3058 done
3059
3060 fi
3061 fi
3062 AS=$ac_cv_prog_AS
3063 if test -n "$AS"; then
3064 echo "$as_me:$LINENO: result: $AS" >&5
3065 echo "${ECHO_T}$AS" >&6
3066 else
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3069 fi
3070
3071 fi
3072 if test -z "$ac_cv_prog_AS"; then
3073 ac_ct_AS=$AS
3074 # Extract the first word of "as", so it can be a program name with args.
3075 set dummy as; ac_word=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 else
3081 if test -n "$ac_ct_AS"; then
3082 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3083 else
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 for as_dir in $PATH
3086 do
3087 IFS=$as_save_IFS
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_ac_ct_AS="as"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 break 2
3094 fi
3095 done
3096 done
3097
3098 fi
3099 fi
3100 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3101 if test -n "$ac_ct_AS"; then
3102 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3103 echo "${ECHO_T}$ac_ct_AS" >&6
3104 else
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3107 fi
3108
3109 AS=$ac_ct_AS
3110 else
3111 AS="$ac_cv_prog_AS"
3112 fi
3113
3114 if test -n "$ac_tool_prefix"; then
3115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3116 set dummy ${ac_tool_prefix}ar; ac_word=$2
3117 echo "$as_me:$LINENO: checking for $ac_word" >&5
3118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3119 if test "${ac_cv_prog_AR+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 else
3122 if test -n "$AR"; then
3123 ac_cv_prog_AR="$AR" # Let the user override the test.
3124 else
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 for as_dir in $PATH
3127 do
3128 IFS=$as_save_IFS
3129 test -z "$as_dir" && as_dir=.
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_AR="${ac_tool_prefix}ar"
3133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 break 2
3135 fi
3136 done
3137 done
3138
3139 fi
3140 fi
3141 AR=$ac_cv_prog_AR
3142 if test -n "$AR"; then
3143 echo "$as_me:$LINENO: result: $AR" >&5
3144 echo "${ECHO_T}$AR" >&6
3145 else
3146 echo "$as_me:$LINENO: result: no" >&5
3147 echo "${ECHO_T}no" >&6
3148 fi
3149
3150 fi
3151 if test -z "$ac_cv_prog_AR"; then
3152 ac_ct_AR=$AR
3153 # Extract the first word of "ar", so it can be a program name with args.
3154 set dummy ar; ac_word=$2
3155 echo "$as_me:$LINENO: checking for $ac_word" >&5
3156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3157 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160 if test -n "$ac_ct_AR"; then
3161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3162 else
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3165 do
3166 IFS=$as_save_IFS
3167 test -z "$as_dir" && as_dir=.
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170 ac_cv_prog_ac_ct_AR="ar"
3171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 break 2
3173 fi
3174 done
3175 done
3176
3177 fi
3178 fi
3179 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3180 if test -n "$ac_ct_AR"; then
3181 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3182 echo "${ECHO_T}$ac_ct_AR" >&6
3183 else
3184 echo "$as_me:$LINENO: result: no" >&5
3185 echo "${ECHO_T}no" >&6
3186 fi
3187
3188 AR=$ac_ct_AR
3189 else
3190 AR="$ac_cv_prog_AR"
3191 fi
3192
3193 if test -n "$ac_tool_prefix"; then
3194 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3195 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3196 echo "$as_me:$LINENO: checking for $ac_word" >&5
3197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3198 if test "${ac_cv_prog_RANLIB+set}" = set; then
3199 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 else
3201 if test -n "$RANLIB"; then
3202 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3203 else
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3206 do
3207 IFS=$as_save_IFS
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3211 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 break 2
3214 fi
3215 done
3216 done
3217
3218 fi
3219 fi
3220 RANLIB=$ac_cv_prog_RANLIB
3221 if test -n "$RANLIB"; then
3222 echo "$as_me:$LINENO: result: $RANLIB" >&5
3223 echo "${ECHO_T}$RANLIB" >&6
3224 else
3225 echo "$as_me:$LINENO: result: no" >&5
3226 echo "${ECHO_T}no" >&6
3227 fi
3228
3229 fi
3230 if test -z "$ac_cv_prog_RANLIB"; then
3231 ac_ct_RANLIB=$RANLIB
3232 # Extract the first word of "ranlib", so it can be a program name with args.
3233 set dummy ranlib; ac_word=$2
3234 echo "$as_me:$LINENO: checking for $ac_word" >&5
3235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3236 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 else
3239 if test -n "$ac_ct_RANLIB"; then
3240 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3241 else
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3244 do
3245 IFS=$as_save_IFS
3246 test -z "$as_dir" && as_dir=.
3247 for ac_exec_ext in '' $ac_executable_extensions; do
3248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3249 ac_cv_prog_ac_ct_RANLIB="ranlib"
3250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 break 2
3252 fi
3253 done
3254 done
3255
3256 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3257 fi
3258 fi
3259 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3260 if test -n "$ac_ct_RANLIB"; then
3261 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3262 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3263 else
3264 echo "$as_me:$LINENO: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3266 fi
3267
3268 RANLIB=$ac_ct_RANLIB
3269 else
3270 RANLIB="$ac_cv_prog_RANLIB"
3271 fi
3272
3273 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3274 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3275 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3276 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 else
3279 cat >conftest.make <<\_ACEOF
3280 all:
3281 @echo 'ac_maketemp="$(MAKE)"'
3282 _ACEOF
3283 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3284 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3285 if test -n "$ac_maketemp"; then
3286 eval ac_cv_prog_make_${ac_make}_set=yes
3287 else
3288 eval ac_cv_prog_make_${ac_make}_set=no
3289 fi
3290 rm -f conftest.make
3291 fi
3292 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3293 echo "$as_me:$LINENO: result: yes" >&5
3294 echo "${ECHO_T}yes" >&6
3295 SET_MAKE=
3296 else
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 SET_MAKE="MAKE=${MAKE-make}"
3300 fi
3301
3302 # Find a good install program. We prefer a C program (faster),
3303 # so one script is as good as another. But avoid the broken or
3304 # incompatible versions:
3305 # SysV /etc/install, /usr/sbin/install
3306 # SunOS /usr/etc/install
3307 # IRIX /sbin/install
3308 # AIX /bin/install
3309 # AmigaOS /C/install, which installs bootblocks on floppy discs
3310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3313 # OS/2's system install, which has a completely different semantic
3314 # ./install, which can be erroneously created by make from ./install.sh.
3315 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3316 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3317 if test -z "$INSTALL"; then
3318 if test "${ac_cv_path_install+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 else
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322 for as_dir in $PATH
3323 do
3324 IFS=$as_save_IFS
3325 test -z "$as_dir" && as_dir=.
3326 # Account for people who put trailing slashes in PATH elements.
3327 case $as_dir/ in
3328 ./ | .// | /cC/* | \
3329 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3330 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3331 /usr/ucb/* ) ;;
3332 *)
3333 # OSF1 and SCO ODT 3.0 have their own names for install.
3334 # Don't use installbsd from OSF since it installs stuff as root
3335 # by default.
3336 for ac_prog in ginstall scoinst install; do
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3339 if test $ac_prog = install &&
3340 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3341 # AIX install. It has an incompatible calling convention.
3342 :
3343 elif test $ac_prog = install &&
3344 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3345 # program-specific install script used by HP pwplus--don't use.
3346 :
3347 else
3348 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3349 break 3
3350 fi
3351 fi
3352 done
3353 done
3354 ;;
3355 esac
3356 done
3357
3358
3359 fi
3360 if test "${ac_cv_path_install+set}" = set; then
3361 INSTALL=$ac_cv_path_install
3362 else
3363 # As a last resort, use the slow shell script. We don't cache a
3364 # path for INSTALL within a source directory, because that will
3365 # break other packages using the cache if that directory is
3366 # removed, or if the path is relative.
3367 INSTALL=$ac_install_sh
3368 fi
3369 fi
3370 echo "$as_me:$LINENO: result: $INSTALL" >&5
3371 echo "${ECHO_T}$INSTALL" >&6
3372
3373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3374 # It thinks the first close brace ends the variable substitution.
3375 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3376
3377 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3378
3379 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3380
3381
3382 # Configure libtool
3383 #AC_MSG_NOTICE([====== Starting libtool configuration])
3384
3385 # Check whether --enable-shared or --disable-shared was given.
3386 if test "${enable_shared+set}" = set; then
3387 enableval="$enable_shared"
3388 p=${PACKAGE-default}
3389 case $enableval in
3390 yes) enable_shared=yes ;;
3391 no) enable_shared=no ;;
3392 *)
3393 enable_shared=no
3394 # Look at the argument we got. We use all the common list separators.
3395 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3396 for pkg in $enableval; do
3397 if test "X$pkg" = "X$p"; then
3398 enable_shared=yes
3399 fi
3400 done
3401 IFS="$ac_save_ifs"
3402 ;;
3403 esac
3404 else
3405 enable_shared=yes
3406 fi;
3407 # Check whether --enable-static or --disable-static was given.
3408 if test "${enable_static+set}" = set; then
3409 enableval="$enable_static"
3410 p=${PACKAGE-default}
3411 case $enableval in
3412 yes) enable_static=yes ;;
3413 no) enable_static=no ;;
3414 *)
3415 enable_static=no
3416 # Look at the argument we got. We use all the common list separators.
3417 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3418 for pkg in $enableval; do
3419 if test "X$pkg" = "X$p"; then
3420 enable_static=yes
3421 fi
3422 done
3423 IFS="$ac_save_ifs"
3424 ;;
3425 esac
3426 else
3427 enable_static=yes
3428 fi;
3429 # Check whether --enable-fast-install or --disable-fast-install was given.
3430 if test "${enable_fast_install+set}" = set; then
3431 enableval="$enable_fast_install"
3432 p=${PACKAGE-default}
3433 case $enableval in
3434 yes) enable_fast_install=yes ;;
3435 no) enable_fast_install=no ;;
3436 *)
3437 enable_fast_install=no
3438 # Look at the argument we got. We use all the common list separators.
3439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3440 for pkg in $enableval; do
3441 if test "X$pkg" = "X$p"; then
3442 enable_fast_install=yes
3443 fi
3444 done
3445 IFS="$ac_save_ifs"
3446 ;;
3447 esac
3448 else
3449 enable_fast_install=yes
3450 fi;
3451
3452 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3453 if test "${with_gnu_ld+set}" = set; then
3454 withval="$with_gnu_ld"
3455 test "$withval" = no || with_gnu_ld=yes
3456 else
3457 with_gnu_ld=no
3458 fi;
3459 ac_prog=ld
3460 if test "$GCC" = yes; then
3461 # Check if gcc -print-prog-name=ld gives a path.
3462 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3463 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3464 case $host in
3465 *-*-mingw*)
3466 # gcc leaves a trailing carriage return which upsets mingw
3467 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3468 *)
3469 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3470 esac
3471 case $ac_prog in
3472 # Accept absolute paths.
3473 [\\/]* | [A-Za-z]:[\\/]*)
3474 re_direlt='/[^/][^/]*/\.\./'
3475 # Canonicalize the path of ld
3476 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3477 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3478 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3479 done
3480 test -z "$LD" && LD="$ac_prog"
3481 ;;
3482 "")
3483 # If it fails, then pretend we aren't using GCC.
3484 ac_prog=ld
3485 ;;
3486 *)
3487 # If it is relative, then search for the first ld in PATH.
3488 with_gnu_ld=unknown
3489 ;;
3490 esac
3491 elif test "$with_gnu_ld" = yes; then
3492 echo "$as_me:$LINENO: checking for GNU ld" >&5
3493 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3494 else
3495 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3496 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3497 fi
3498 if test "${lt_cv_path_LD+set}" = set; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 else
3501 if test -z "$LD"; then
3502 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3503 for ac_dir in $PATH; do
3504 test -z "$ac_dir" && ac_dir=.
3505 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3506 lt_cv_path_LD="$ac_dir/$ac_prog"
3507 # Check to see if the program is GNU ld. I'd rather use --version,
3508 # but apparently some GNU ld's only accept -v.
3509 # Break only if it was the GNU/non-GNU ld that we prefer.
3510 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3511 test "$with_gnu_ld" != no && break
3512 else
3513 test "$with_gnu_ld" != yes && break
3514 fi
3515 fi
3516 done
3517 IFS="$ac_save_ifs"
3518 else
3519 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3520 fi
3521 fi
3522
3523 LD="$lt_cv_path_LD"
3524 if test -n "$LD"; then
3525 echo "$as_me:$LINENO: result: $LD" >&5
3526 echo "${ECHO_T}$LD" >&6
3527 else
3528 echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6
3530 fi
3531 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3532 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3533 { (exit 1); exit 1; }; }
3534 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3535 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3536 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 else
3539 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3540 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3541 lt_cv_prog_gnu_ld=yes
3542 else
3543 lt_cv_prog_gnu_ld=no
3544 fi
3545 fi
3546 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3547 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3548 with_gnu_ld=$lt_cv_prog_gnu_ld
3549
3550
3551 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3552 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3553 if test "${lt_cv_ld_reload_flag+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 else
3556 lt_cv_ld_reload_flag='-r'
3557 fi
3558 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3559 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3560 reload_flag=$lt_cv_ld_reload_flag
3561 test -n "$reload_flag" && reload_flag=" $reload_flag"
3562
3563 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3564 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3565 if test "${lt_cv_path_NM+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 else
3568 if test -n "$NM"; then
3569 # Let the user override the test.
3570 lt_cv_path_NM="$NM"
3571 else
3572 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3573 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3574 test -z "$ac_dir" && ac_dir=.
3575 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3576 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3577 # Check to see if the nm accepts a BSD-compat flag.
3578 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3579 # nm: unknown option "B" ignored
3580 # Tru64's nm complains that /dev/null is an invalid object file
3581 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3582 lt_cv_path_NM="$tmp_nm -B"
3583 break
3584 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3585 lt_cv_path_NM="$tmp_nm -p"
3586 break
3587 else
3588 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3589 continue # so that we can try to find one that supports BSD flags
3590 fi
3591 fi
3592 done
3593 IFS="$ac_save_ifs"
3594 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3595 fi
3596 fi
3597
3598 NM="$lt_cv_path_NM"
3599 echo "$as_me:$LINENO: result: $NM" >&5
3600 echo "${ECHO_T}$NM" >&6
3601
3602 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3603 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3604 LN_S=$as_ln_s
3605 if test "$LN_S" = "ln -s"; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3608 else
3609 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3610 echo "${ECHO_T}no, using $LN_S" >&6
3611 fi
3612
3613 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3614 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3615 if test "${lt_cv_deplibs_check_method+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 else
3618 lt_cv_file_magic_cmd='$MAGIC_CMD'
3619 lt_cv_file_magic_test_file=
3620 lt_cv_deplibs_check_method='unknown'
3621 # Need to set the preceding variable on all platforms that support
3622 # interlibrary dependencies.
3623 # 'none' -- dependencies not supported.
3624 # `unknown' -- same as none, but documents that we really don't know.
3625 # 'pass_all' -- all dependencies passed with no checks.
3626 # 'test_compile' -- check by making test program.
3627 # 'file_magic [regex]' -- check by looking for files in library path
3628 # which responds to the $file_magic_cmd with a given egrep regex.
3629 # If you have `file' or equivalent on your system and you're not sure
3630 # whether `pass_all' will *always* work, you probably want this one.
3631
3632 case $host_os in
3633 aix*)
3634 lt_cv_deplibs_check_method=pass_all
3635 ;;
3636
3637 beos*)
3638 lt_cv_deplibs_check_method=pass_all
3639 ;;
3640
3641 bsdi4*)
3642 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3643 lt_cv_file_magic_cmd='/usr/bin/file -L'
3644 lt_cv_file_magic_test_file=/shlib/libc.so
3645 ;;
3646
3647 cygwin* | mingw* |pw32*)
3648 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3649 lt_cv_file_magic_cmd='$OBJDUMP -f'
3650 ;;
3651
3652 darwin* | rhapsody*)
3653 # this will be overwritten by pass_all, but leave it in just in case
3654 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3655 lt_cv_file_magic_cmd='/usr/bin/file -L'
3656 case "$host_os" in
3657 rhapsody* | darwin1.012)
3658 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3659 ;;
3660 *) # Darwin 1.3 on
3661 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3662 ;;
3663 esac
3664 lt_cv_deplibs_check_method=pass_all
3665 ;;
3666
3667 freebsd* | kfreebsd*-gnu)
3668 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3669 case $host_cpu in
3670 i*86 )
3671 # Not sure whether the presence of OpenBSD here was a mistake.
3672 # Let's accept both of them until this is cleared up.
3673 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3674 lt_cv_file_magic_cmd=/usr/bin/file
3675 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3676 ;;
3677 esac
3678 else
3679 lt_cv_deplibs_check_method=pass_all
3680 fi
3681 ;;
3682
3683 gnu*)
3684 lt_cv_deplibs_check_method=pass_all
3685 ;;
3686
3687 hpux10.20*|hpux11*)
3688 case $host_cpu in
3689 hppa*)
3690 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3691 lt_cv_file_magic_cmd=/usr/bin/file
3692 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3693 ;;
3694 ia64*)
3695 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3696 lt_cv_file_magic_cmd=/usr/bin/file
3697 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3698 ;;
3699 esac
3700 ;;
3701
3702 irix5* | irix6*)
3703 case $host_os in
3704 irix5*)
3705 # this will be overridden with pass_all, but let us keep it just in case
3706 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3707 ;;
3708 *)
3709 case $LD in
3710 *-32|*"-32 ") libmagic=32-bit;;
3711 *-n32|*"-n32 ") libmagic=N32;;
3712 *-64|*"-64 ") libmagic=64-bit;;
3713 *) libmagic=never-match;;
3714 esac
3715 # this will be overridden with pass_all, but let us keep it just in case
3716 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3717 ;;
3718 esac
3719 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3720 lt_cv_deplibs_check_method=pass_all
3721 ;;
3722
3723 # This must be Linux ELF.
3724 linux-gnu*)
3725 lt_cv_deplibs_check_method=pass_all
3726 ;;
3727
3728 netbsd* | knetbsd*-gnu)
3729 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3730 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3731 else
3732 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3733 fi
3734 ;;
3735
3736 newsos6)
3737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3738 lt_cv_file_magic_cmd=/usr/bin/file
3739 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3740 ;;
3741
3742 osf3* | osf4* | osf5*)
3743 # this will be overridden with pass_all, but let us keep it just in case
3744 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3745 lt_cv_file_magic_test_file=/shlib/libc.so
3746 lt_cv_deplibs_check_method=pass_all
3747 ;;
3748
3749 sco3.2v5*)
3750 lt_cv_deplibs_check_method=pass_all
3751 ;;
3752
3753 solaris*)
3754 lt_cv_deplibs_check_method=pass_all
3755 lt_cv_file_magic_test_file=/lib/libc.so
3756 ;;
3757
3758 sysv5uw[78]* | sysv4*uw2*)
3759 lt_cv_deplibs_check_method=pass_all
3760 ;;
3761
3762 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3763 case $host_vendor in
3764 ncr)
3765 lt_cv_deplibs_check_method=pass_all
3766 ;;
3767 motorola)
3768 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3769 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3770 ;;
3771 esac
3772 ;;
3773 esac
3774
3775 fi
3776 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3777 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3778 file_magic_cmd=$lt_cv_file_magic_cmd
3779 deplibs_check_method=$lt_cv_deplibs_check_method
3780
3781
3782
3783
3784
3785 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3786
3787 # find the maximum length of command line arguments
3788 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3789 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3790 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 else
3793 i=0
3794 teststring="ABCD"
3795
3796 case $build_os in
3797 msdosdjgpp*)
3798 # On DJGPP, this test can blow up pretty badly due to problems in libc
3799 # (any single argument exceeding 2000 bytes causes a buffer overrun
3800 # during glob expansion). Even if it were fixed, the result of this
3801 # check would be larger than it should be.
3802 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3803 ;;
3804
3805 cygwin* | mingw*)
3806 # On Win9x/ME, this test blows up -- it succeeds, but takes
3807 # about 5 minutes as the teststring grows exponentially.
3808 # Worse, since 9x/ME are not pre-emptively multitasking,
3809 # you end up with a "frozen" computer, even though with patience
3810 # the test eventually succeeds (with a max line length of 256k).
3811 # Instead, let's just punt: use the minimum linelength reported by
3812 # all of the supported platforms: 8192 (on NT/2K/XP).
3813 lt_cv_sys_max_cmd_len=8192;
3814 ;;
3815
3816 amigaos*)
3817 # On AmigaOS with pdksh, this test takes hours, literally.
3818 # So we just punt and use a minimum line length of 8192.
3819 lt_cv_sys_max_cmd_len=8192;
3820 ;;
3821
3822 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3823 # This has been around since 386BSD, at least. Likely further.
3824 if test -x /sbin/sysctl; then
3825 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3826 elif test -x /usr/sbin/sysctl; then
3827 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3828 else
3829 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3830 fi
3831 # And add a safety zone
3832 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3833 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3834 ;;
3835 esac
3836
3837 fi
3838
3839 if test -n "$lt_cv_sys_max_cmd_len" ; then
3840 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3841 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3842 else
3843 echo "$as_me:$LINENO: result: none" >&5
3844 echo "${ECHO_T}none" >&6
3845 fi
3846
3847
3848 # Only perform the check for file, if the check method requires it
3849 case $deplibs_check_method in
3850 file_magic*)
3851 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3852 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3853 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3854 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 else
3857 case $MAGIC_CMD in
3858 /*)
3859 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3860 ;;
3861 ?:/*)
3862 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3863 ;;
3864 *)
3865 ac_save_MAGIC_CMD="$MAGIC_CMD"
3866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3867 ac_dummy="/usr/bin:$PATH"
3868 for ac_dir in $ac_dummy; do
3869 test -z "$ac_dir" && ac_dir=.
3870 if test -f $ac_dir/${ac_tool_prefix}file; then
3871 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3872 if test -n "$file_magic_test_file"; then
3873 case $deplibs_check_method in
3874 "file_magic "*)
3875 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3877 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3878 egrep "$file_magic_regex" > /dev/null; then
3879 :
3880 else
3881 cat <<EOF 1>&2
3882
3883 *** Warning: the command libtool uses to detect shared libraries,
3884 *** $file_magic_cmd, produces output that libtool cannot recognize.
3885 *** The result is that libtool may fail to recognize shared libraries
3886 *** as such. This will affect the creation of libtool libraries that
3887 *** depend on shared libraries, but programs linked with such libtool
3888 *** libraries will work regardless of this problem. Nevertheless, you
3889 *** may want to report the problem to your system manager and/or to
3890 *** bug-libtool@gnu.org
3891
3892 EOF
3893 fi ;;
3894 esac
3895 fi
3896 break
3897 fi
3898 done
3899 IFS="$ac_save_ifs"
3900 MAGIC_CMD="$ac_save_MAGIC_CMD"
3901 ;;
3902 esac
3903 fi
3904
3905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3906 if test -n "$MAGIC_CMD"; then
3907 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3908 echo "${ECHO_T}$MAGIC_CMD" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914 if test -z "$lt_cv_path_MAGIC_CMD"; then
3915 if test -n "$ac_tool_prefix"; then
3916 echo "$as_me:$LINENO: checking for file" >&5
3917 echo $ECHO_N "checking for file... $ECHO_C" >&6
3918 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 else
3921 case $MAGIC_CMD in
3922 /*)
3923 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3924 ;;
3925 ?:/*)
3926 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3927 ;;
3928 *)
3929 ac_save_MAGIC_CMD="$MAGIC_CMD"
3930 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3931 ac_dummy="/usr/bin:$PATH"
3932 for ac_dir in $ac_dummy; do
3933 test -z "$ac_dir" && ac_dir=.
3934 if test -f $ac_dir/file; then
3935 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3936 if test -n "$file_magic_test_file"; then
3937 case $deplibs_check_method in
3938 "file_magic "*)
3939 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3941 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3942 egrep "$file_magic_regex" > /dev/null; then
3943 :
3944 else
3945 cat <<EOF 1>&2
3946
3947 *** Warning: the command libtool uses to detect shared libraries,
3948 *** $file_magic_cmd, produces output that libtool cannot recognize.
3949 *** The result is that libtool may fail to recognize shared libraries
3950 *** as such. This will affect the creation of libtool libraries that
3951 *** depend on shared libraries, but programs linked with such libtool
3952 *** libraries will work regardless of this problem. Nevertheless, you
3953 *** may want to report the problem to your system manager and/or to
3954 *** bug-libtool@gnu.org
3955
3956 EOF
3957 fi ;;
3958 esac
3959 fi
3960 break
3961 fi
3962 done
3963 IFS="$ac_save_ifs"
3964 MAGIC_CMD="$ac_save_MAGIC_CMD"
3965 ;;
3966 esac
3967 fi
3968
3969 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3970 if test -n "$MAGIC_CMD"; then
3971 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3972 echo "${ECHO_T}$MAGIC_CMD" >&6
3973 else
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3976 fi
3977
3978 else
3979 MAGIC_CMD=:
3980 fi
3981 fi
3982
3983 fi
3984 ;;
3985 esac
3986
3987 if test -n "$ac_tool_prefix"; then
3988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3989 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3990 echo "$as_me:$LINENO: checking for $ac_word" >&5
3991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3992 if test "${ac_cv_prog_RANLIB+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3994 else
3995 if test -n "$RANLIB"; then
3996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3997 else
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4000 do
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 break 2
4008 fi
4009 done
4010 done
4011
4012 fi
4013 fi
4014 RANLIB=$ac_cv_prog_RANLIB
4015 if test -n "$RANLIB"; then
4016 echo "$as_me:$LINENO: result: $RANLIB" >&5
4017 echo "${ECHO_T}$RANLIB" >&6
4018 else
4019 echo "$as_me:$LINENO: result: no" >&5
4020 echo "${ECHO_T}no" >&6
4021 fi
4022
4023 fi
4024 if test -z "$ac_cv_prog_RANLIB"; then
4025 ac_ct_RANLIB=$RANLIB
4026 # Extract the first word of "ranlib", so it can be a program name with args.
4027 set dummy ranlib; ac_word=$2
4028 echo "$as_me:$LINENO: checking for $ac_word" >&5
4029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4030 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4032 else
4033 if test -n "$ac_ct_RANLIB"; then
4034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4035 else
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $PATH
4038 do
4039 IFS=$as_save_IFS
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_ac_ct_RANLIB="ranlib"
4044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 break 2
4046 fi
4047 done
4048 done
4049
4050 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4051 fi
4052 fi
4053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4054 if test -n "$ac_ct_RANLIB"; then
4055 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4056 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4060 fi
4061
4062 RANLIB=$ac_ct_RANLIB
4063 else
4064 RANLIB="$ac_cv_prog_RANLIB"
4065 fi
4066
4067 if test -n "$ac_tool_prefix"; then
4068 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4069 set dummy ${ac_tool_prefix}strip; ac_word=$2
4070 echo "$as_me:$LINENO: checking for $ac_word" >&5
4071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4072 if test "${ac_cv_prog_STRIP+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 else
4075 if test -n "$STRIP"; then
4076 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4077 else
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 for as_dir in $PATH
4080 do
4081 IFS=$as_save_IFS
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 break 2
4088 fi
4089 done
4090 done
4091
4092 fi
4093 fi
4094 STRIP=$ac_cv_prog_STRIP
4095 if test -n "$STRIP"; then
4096 echo "$as_me:$LINENO: result: $STRIP" >&5
4097 echo "${ECHO_T}$STRIP" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4101 fi
4102
4103 fi
4104 if test -z "$ac_cv_prog_STRIP"; then
4105 ac_ct_STRIP=$STRIP
4106 # Extract the first word of "strip", so it can be a program name with args.
4107 set dummy strip; ac_word=$2
4108 echo "$as_me:$LINENO: checking for $ac_word" >&5
4109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4110 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 else
4113 if test -n "$ac_ct_STRIP"; then
4114 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4115 else
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 for as_dir in $PATH
4118 do
4119 IFS=$as_save_IFS
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_ac_ct_STRIP="strip"
4124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 break 2
4126 fi
4127 done
4128 done
4129
4130 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4131 fi
4132 fi
4133 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4134 if test -n "$ac_ct_STRIP"; then
4135 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4136 echo "${ECHO_T}$ac_ct_STRIP" >&6
4137 else
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4140 fi
4141
4142 STRIP=$ac_ct_STRIP
4143 else
4144 STRIP="$ac_cv_prog_STRIP"
4145 fi
4146
4147
4148 # Check for any special flags to pass to ltconfig.
4149 libtool_flags="--cache-file=$cache_file"
4150 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4151 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4152 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4153 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4154 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4155
4156
4157 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4158 if test "${enable_libtool_lock+set}" = set; then
4159 enableval="$enable_libtool_lock"
4160
4161 fi;
4162 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4163 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4164
4165
4166 # Check whether --with-pic or --without-pic was given.
4167 if test "${with_pic+set}" = set; then
4168 withval="$with_pic"
4169 pic_mode="$withval"
4170 else
4171 pic_mode=default
4172 fi;
4173 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4174 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4175
4176 # Some flags need to be propagated to the compiler or linker for good
4177 # libtool support.
4178 case $host in
4179 *-*-irix6*)
4180 # Find out which ABI we are using.
4181 echo '#line 4181 "configure"' > conftest.$ac_ext
4182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4183 (eval $ac_compile) 2>&5
4184 ac_status=$?
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; then
4187 if test "$lt_cv_prog_gnu_ld" = yes; then
4188 case `/usr/bin/file conftest.$ac_objext` in
4189 *32-bit*)
4190 LD="${LD-ld} -melf32bsmip"
4191 ;;
4192 *N32*)
4193 LD="${LD-ld} -melf32bmipn32"
4194 ;;
4195 *64-bit*)
4196 LD="${LD-ld} -melf64bmip"
4197 ;;
4198 esac
4199 else
4200 case `/usr/bin/file conftest.$ac_objext` in
4201 *32-bit*)
4202 LD="${LD-ld} -32"
4203 ;;
4204 *N32*)
4205 LD="${LD-ld} -n32"
4206 ;;
4207 *64-bit*)
4208 LD="${LD-ld} -64"
4209 ;;
4210 esac
4211 fi
4212 fi
4213 rm -rf conftest*
4214 ;;
4215
4216 ia64-*-hpux*)
4217 # Find out which ABI we are using.
4218 echo 'int i;' > conftest.$ac_ext
4219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4220 (eval $ac_compile) 2>&5
4221 ac_status=$?
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; then
4224 case "`/usr/bin/file conftest.o`" in
4225 *ELF-32*)
4226 HPUX_IA64_MODE="32"
4227 ;;
4228 *ELF-64*)
4229 HPUX_IA64_MODE="64"
4230 ;;
4231 esac
4232 fi
4233 rm -rf conftest*
4234 ;;
4235
4236 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4237 # Find out which ABI we are using.
4238 echo 'int i;' > conftest.$ac_ext
4239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4240 (eval $ac_compile) 2>&5
4241 ac_status=$?
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; then
4244 case "`/usr/bin/file conftest.o`" in
4245 *32-bit*)
4246 case $host in
4247 x86_64-*linux*)
4248 LD="${LD-ld} -m elf_i386"
4249 ;;
4250 ppc64-*linux*|powerpc64-*linux*)
4251 LD="${LD-ld} -m elf32ppclinux"
4252 ;;
4253 s390x-*linux*)
4254 LD="${LD-ld} -m elf_s390"
4255 ;;
4256 sparc64-*linux*)
4257 LD="${LD-ld} -m elf32_sparc"
4258 ;;
4259 esac
4260 ;;
4261 *64-bit*)
4262 case $host in
4263 x86_64-*linux*)
4264 LD="${LD-ld} -m elf_x86_64"
4265 ;;
4266 ppc*-*linux*|powerpc*-*linux*)
4267 LD="${LD-ld} -m elf64ppc"
4268 ;;
4269 s390*-*linux*)
4270 LD="${LD-ld} -m elf64_s390"
4271 ;;
4272 sparc*-*linux*)
4273 LD="${LD-ld} -m elf64_sparc"
4274 ;;
4275 esac
4276 ;;
4277 esac
4278 fi
4279 rm -rf conftest*
4280 ;;
4281
4282 *-*-sco3.2v5*)
4283 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4284 SAVE_CFLAGS="$CFLAGS"
4285 CFLAGS="$CFLAGS -belf"
4286 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4287 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4288 if test "${lt_cv_cc_needs_belf+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 else
4291
4292
4293 ac_ext=c
4294 ac_cpp='$CPP $CPPFLAGS'
4295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4298
4299 if test x$gcc_no_link = xyes; then
4300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4302 { (exit 1); exit 1; }; }
4303 fi
4304 cat >conftest.$ac_ext <<_ACEOF
4305 /* confdefs.h. */
4306 _ACEOF
4307 cat confdefs.h >>conftest.$ac_ext
4308 cat >>conftest.$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4310
4311 int
4312 main ()
4313 {
4314
4315 ;
4316 return 0;
4317 }
4318 _ACEOF
4319 rm -f conftest.$ac_objext conftest$ac_exeext
4320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4321 (eval $ac_link) 2>conftest.er1
4322 ac_status=$?
4323 grep -v '^ *+' conftest.er1 >conftest.err
4324 rm -f conftest.er1
4325 cat conftest.err >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } &&
4328 { ac_try='test -z "$ac_c_werror_flag"
4329 || test ! -s conftest.err'
4330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 (eval $ac_try) 2>&5
4332 ac_status=$?
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; } &&
4335 { ac_try='test -s conftest$ac_exeext'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 (eval $ac_try) 2>&5
4338 ac_status=$?
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; }; then
4341 lt_cv_cc_needs_belf=yes
4342 else
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.$ac_ext >&5
4345
4346 lt_cv_cc_needs_belf=no
4347 fi
4348 rm -f conftest.err conftest.$ac_objext \
4349 conftest$ac_exeext conftest.$ac_ext
4350 ac_ext=c
4351 ac_cpp='$CPP $CPPFLAGS'
4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4355
4356 fi
4357 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4358 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4359 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4360 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4361 CFLAGS="$SAVE_CFLAGS"
4362 fi
4363 ;;
4364
4365
4366 esac
4367
4368
4369 # Save cache, so that ltconfig can load it
4370 cat >confcache <<\_ACEOF
4371 # This file is a shell script that caches the results of configure
4372 # tests run on this system so they can be shared between configure
4373 # scripts and configure runs, see configure's option --config-cache.
4374 # It is not useful on other systems. If it contains results you don't
4375 # want to keep, you may remove or edit it.
4376 #
4377 # config.status only pays attention to the cache file if you give it
4378 # the --recheck option to rerun configure.
4379 #
4380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4382 # following values.
4383
4384 _ACEOF
4385
4386 # The following way of writing the cache mishandles newlines in values,
4387 # but we know of no workaround that is simple, portable, and efficient.
4388 # So, don't put newlines in cache variables' values.
4389 # Ultrix sh set writes to stderr and can't be redirected directly,
4390 # and sets the high bit in the cache file unless we assign to the vars.
4391 {
4392 (set) 2>&1 |
4393 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4394 *ac_space=\ *)
4395 # `set' does not quote correctly, so add quotes (double-quote
4396 # substitution turns \\\\ into \\, and sed turns \\ into \).
4397 sed -n \
4398 "s/'/'\\\\''/g;
4399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4400 ;;
4401 *)
4402 # `set' quotes correctly as required by POSIX, so do not add quotes.
4403 sed -n \
4404 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4405 ;;
4406 esac;
4407 } |
4408 sed '
4409 t clear
4410 : clear
4411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4412 t end
4413 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4414 : end' >>confcache
4415 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4416 if test -w $cache_file; then
4417 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4418 cat confcache >$cache_file
4419 else
4420 echo "not updating unwritable cache $cache_file"
4421 fi
4422 fi
4423 rm -f confcache
4424
4425 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4426 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4427 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4428 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4429 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4430 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4431 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4432 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4433 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4434 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4435 echo "$as_me: error: libtool configure failed" >&2;}
4436 { (exit 1); exit 1; }; }
4437
4438 # Reload cache, that may have been modified by ltconfig
4439 if test -r "$cache_file"; then
4440 # Some versions of bash will fail to source /dev/null (special
4441 # files actually), so we avoid doing that.
4442 if test -f "$cache_file"; then
4443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4444 echo "$as_me: loading cache $cache_file" >&6;}
4445 case $cache_file in
4446 [\\/]* | ?:[\\/]* ) . $cache_file;;
4447 *) . ./$cache_file;;
4448 esac
4449 fi
4450 else
4451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4452 echo "$as_me: creating cache $cache_file" >&6;}
4453 >$cache_file
4454 fi
4455
4456
4457 # This can be used to rebuild libtool when needed
4458 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4459
4460 # Always use our own libtool.
4461 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4462
4463 # Redirect the config.log output again, so that the ltconfig log is not
4464 # clobbered by the next message.
4465 exec 5>>./config.log
4466
4467
4468
4469
4470
4471
4472
4473
4474 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4475
4476 # We need gfortran to compile parts of the library
4477 #AC_PROG_FC(gfortran)
4478 FC="$GFORTRAN"
4479 ac_ext=${FC_SRCEXT-f}
4480 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4481 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4482 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4483 if test -n "$ac_tool_prefix"; then
4484 for ac_prog in gfortran
4485 do
4486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4488 echo "$as_me:$LINENO: checking for $ac_word" >&5
4489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4490 if test "${ac_cv_prog_FC+set}" = set; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 else
4493 if test -n "$FC"; then
4494 ac_cv_prog_FC="$FC" # Let the user override the test.
4495 else
4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 for as_dir in $PATH
4498 do
4499 IFS=$as_save_IFS
4500 test -z "$as_dir" && as_dir=.
4501 for ac_exec_ext in '' $ac_executable_extensions; do
4502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4503 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 break 2
4506 fi
4507 done
4508 done
4509
4510 fi
4511 fi
4512 FC=$ac_cv_prog_FC
4513 if test -n "$FC"; then
4514 echo "$as_me:$LINENO: result: $FC" >&5
4515 echo "${ECHO_T}$FC" >&6
4516 else
4517 echo "$as_me:$LINENO: result: no" >&5
4518 echo "${ECHO_T}no" >&6
4519 fi
4520
4521 test -n "$FC" && break
4522 done
4523 fi
4524 if test -z "$FC"; then
4525 ac_ct_FC=$FC
4526 for ac_prog in gfortran
4527 do
4528 # Extract the first word of "$ac_prog", so it can be a program name with args.
4529 set dummy $ac_prog; ac_word=$2
4530 echo "$as_me:$LINENO: checking for $ac_word" >&5
4531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4532 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 else
4535 if test -n "$ac_ct_FC"; then
4536 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4537 else
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 for as_dir in $PATH
4540 do
4541 IFS=$as_save_IFS
4542 test -z "$as_dir" && as_dir=.
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4545 ac_cv_prog_ac_ct_FC="$ac_prog"
4546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 break 2
4548 fi
4549 done
4550 done
4551
4552 fi
4553 fi
4554 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4555 if test -n "$ac_ct_FC"; then
4556 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4557 echo "${ECHO_T}$ac_ct_FC" >&6
4558 else
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4561 fi
4562
4563 test -n "$ac_ct_FC" && break
4564 done
4565
4566 FC=$ac_ct_FC
4567 fi
4568
4569
4570 # Provide some information about the compiler.
4571 echo "$as_me:4571:" \
4572 "checking for Fortran compiler version" >&5
4573 ac_compiler=`set X $ac_compile; echo $2`
4574 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4575 (eval $ac_compiler --version </dev/null >&5) 2>&5
4576 ac_status=$?
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }
4579 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4580 (eval $ac_compiler -v </dev/null >&5) 2>&5
4581 ac_status=$?
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }
4584 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4585 (eval $ac_compiler -V </dev/null >&5) 2>&5
4586 ac_status=$?
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }
4589 rm -f a.out
4590
4591 # If we don't use `.F' as extension, the preprocessor is not run on the
4592 # input file. (Note that this only needs to work for GNU compilers.)
4593 ac_save_ext=$ac_ext
4594 ac_ext=F
4595 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4596 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4597 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 else
4600 cat >conftest.$ac_ext <<_ACEOF
4601 program main
4602 #ifndef __GNUC__
4603 choke me
4604 #endif
4605
4606 end
4607 _ACEOF
4608 rm -f conftest.$ac_objext
4609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4610 (eval $ac_compile) 2>conftest.er1
4611 ac_status=$?
4612 grep -v '^ *+' conftest.er1 >conftest.err
4613 rm -f conftest.er1
4614 cat conftest.err >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); } &&
4617 { ac_try='test -z "$ac_fc_werror_flag"
4618 || test ! -s conftest.err'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 (eval $ac_try) 2>&5
4621 ac_status=$?
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; } &&
4624 { ac_try='test -s conftest.$ac_objext'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4626 (eval $ac_try) 2>&5
4627 ac_status=$?
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; }; then
4630 ac_compiler_gnu=yes
4631 else
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.$ac_ext >&5
4634
4635 ac_compiler_gnu=no
4636 fi
4637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4638 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4639
4640 fi
4641 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4642 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4643 ac_ext=$ac_save_ext
4644 ac_test_FFLAGS=${FCFLAGS+set}
4645 ac_save_FFLAGS=$FCFLAGS
4646 FCFLAGS=
4647 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4648 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4649 if test "${ac_cv_prog_fc_g+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4651 else
4652 FCFLAGS=-g
4653 cat >conftest.$ac_ext <<_ACEOF
4654 program main
4655
4656 end
4657 _ACEOF
4658 rm -f conftest.$ac_objext
4659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4660 (eval $ac_compile) 2>conftest.er1
4661 ac_status=$?
4662 grep -v '^ *+' conftest.er1 >conftest.err
4663 rm -f conftest.er1
4664 cat conftest.err >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } &&
4667 { ac_try='test -z "$ac_fc_werror_flag"
4668 || test ! -s conftest.err'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 (eval $ac_try) 2>&5
4671 ac_status=$?
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; } &&
4674 { ac_try='test -s conftest.$ac_objext'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 (eval $ac_try) 2>&5
4677 ac_status=$?
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; }; then
4680 ac_cv_prog_fc_g=yes
4681 else
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4684
4685 ac_cv_prog_fc_g=no
4686 fi
4687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4688
4689 fi
4690 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4691 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4692 if test "$ac_test_FFLAGS" = set; then
4693 FCFLAGS=$ac_save_FFLAGS
4694 elif test $ac_cv_prog_fc_g = yes; then
4695 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4696 FCFLAGS="-g -O2"
4697 else
4698 FCFLAGS="-g"
4699 fi
4700 else
4701 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4702 FCFLAGS="-O2"
4703 else
4704 FCFLAGS=
4705 fi
4706 fi
4707
4708 ac_ext=c
4709 ac_cpp='$CPP $CPPFLAGS'
4710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4713
4714
4715 # extra LD Flags which are required for targets
4716 case "${host}" in
4717 *-darwin*)
4718 # Darwin needs -single_module when linking libgfortran
4719 extra_ldflags_libgfortran=-Wl,-single_module
4720 ;;
4721 esac
4722
4723
4724 # Check whether --enable-largefile or --disable-largefile was given.
4725 if test "${enable_largefile+set}" = set; then
4726 enableval="$enable_largefile"
4727
4728 fi;
4729 if test "$enable_largefile" != no; then
4730
4731 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4732 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4733 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 else
4736 ac_cv_sys_largefile_CC=no
4737 if test "$GCC" != yes; then
4738 ac_save_CC=$CC
4739 while :; do
4740 # IRIX 6.2 and later do not support large files by default,
4741 # so use the C compiler's -n32 option if that helps.
4742 cat >conftest.$ac_ext <<_ACEOF
4743 /* confdefs.h. */
4744 _ACEOF
4745 cat confdefs.h >>conftest.$ac_ext
4746 cat >>conftest.$ac_ext <<_ACEOF
4747 /* end confdefs.h. */
4748 #include <sys/types.h>
4749 /* Check that off_t can represent 2**63 - 1 correctly.
4750 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4751 since some C++ compilers masquerading as C compilers
4752 incorrectly reject 9223372036854775807. */
4753 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4754 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4755 && LARGE_OFF_T % 2147483647 == 1)
4756 ? 1 : -1];
4757 int
4758 main ()
4759 {
4760
4761 ;
4762 return 0;
4763 }
4764 _ACEOF
4765 rm -f conftest.$ac_objext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 (eval $ac_compile) 2>conftest.er1
4768 ac_status=$?
4769 grep -v '^ *+' conftest.er1 >conftest.err
4770 rm -f conftest.er1
4771 cat conftest.err >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try='test -z "$ac_c_werror_flag"
4775 || test ! -s conftest.err'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 (eval $ac_try) 2>&5
4778 ac_status=$?
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; } &&
4781 { ac_try='test -s conftest.$ac_objext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 (eval $ac_try) 2>&5
4784 ac_status=$?
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4787 break
4788 else
4789 echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.$ac_ext >&5
4791
4792 fi
4793 rm -f conftest.err conftest.$ac_objext
4794 CC="$CC -n32"
4795 rm -f conftest.$ac_objext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797 (eval $ac_compile) 2>conftest.er1
4798 ac_status=$?
4799 grep -v '^ *+' conftest.er1 >conftest.err
4800 rm -f conftest.er1
4801 cat conftest.err >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try='test -z "$ac_c_werror_flag"
4805 || test ! -s conftest.err'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 (eval $ac_try) 2>&5
4808 ac_status=$?
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; } &&
4811 { ac_try='test -s conftest.$ac_objext'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813 (eval $ac_try) 2>&5
4814 ac_status=$?
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; }; then
4817 ac_cv_sys_largefile_CC=' -n32'; break
4818 else
4819 echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4821
4822 fi
4823 rm -f conftest.err conftest.$ac_objext
4824 break
4825 done
4826 CC=$ac_save_CC
4827 rm -f conftest.$ac_ext
4828 fi
4829 fi
4830 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4831 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4832 if test "$ac_cv_sys_largefile_CC" != no; then
4833 CC=$CC$ac_cv_sys_largefile_CC
4834 fi
4835
4836 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4837 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4838 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 else
4841 while :; do
4842 ac_cv_sys_file_offset_bits=no
4843 cat >conftest.$ac_ext <<_ACEOF
4844 /* confdefs.h. */
4845 _ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 #include <sys/types.h>
4850 /* Check that off_t can represent 2**63 - 1 correctly.
4851 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4852 since some C++ compilers masquerading as C compilers
4853 incorrectly reject 9223372036854775807. */
4854 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4855 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4856 && LARGE_OFF_T % 2147483647 == 1)
4857 ? 1 : -1];
4858 int
4859 main ()
4860 {
4861
4862 ;
4863 return 0;
4864 }
4865 _ACEOF
4866 rm -f conftest.$ac_objext
4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4868 (eval $ac_compile) 2>conftest.er1
4869 ac_status=$?
4870 grep -v '^ *+' conftest.er1 >conftest.err
4871 rm -f conftest.er1
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } &&
4875 { ac_try='test -z "$ac_c_werror_flag"
4876 || test ! -s conftest.err'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 (eval $ac_try) 2>&5
4879 ac_status=$?
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; } &&
4882 { ac_try='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884 (eval $ac_try) 2>&5
4885 ac_status=$?
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4888 break
4889 else
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4892
4893 fi
4894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4895 cat >conftest.$ac_ext <<_ACEOF
4896 /* confdefs.h. */
4897 _ACEOF
4898 cat confdefs.h >>conftest.$ac_ext
4899 cat >>conftest.$ac_ext <<_ACEOF
4900 /* end confdefs.h. */
4901 #define _FILE_OFFSET_BITS 64
4902 #include <sys/types.h>
4903 /* Check that off_t can represent 2**63 - 1 correctly.
4904 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4905 since some C++ compilers masquerading as C compilers
4906 incorrectly reject 9223372036854775807. */
4907 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4908 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4909 && LARGE_OFF_T % 2147483647 == 1)
4910 ? 1 : -1];
4911 int
4912 main ()
4913 {
4914
4915 ;
4916 return 0;
4917 }
4918 _ACEOF
4919 rm -f conftest.$ac_objext
4920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4921 (eval $ac_compile) 2>conftest.er1
4922 ac_status=$?
4923 grep -v '^ *+' conftest.er1 >conftest.err
4924 rm -f conftest.er1
4925 cat conftest.err >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); } &&
4928 { ac_try='test -z "$ac_c_werror_flag"
4929 || test ! -s conftest.err'
4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 (eval $ac_try) 2>&5
4932 ac_status=$?
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); }; } &&
4935 { ac_try='test -s conftest.$ac_objext'
4936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 (eval $ac_try) 2>&5
4938 ac_status=$?
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4941 ac_cv_sys_file_offset_bits=64; break
4942 else
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4945
4946 fi
4947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4948 break
4949 done
4950 fi
4951 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4952 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4953 if test "$ac_cv_sys_file_offset_bits" != no; then
4954
4955 cat >>confdefs.h <<_ACEOF
4956 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4957 _ACEOF
4958
4959 fi
4960 rm -f conftest*
4961 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4962 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4963 if test "${ac_cv_sys_large_files+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 else
4966 while :; do
4967 ac_cv_sys_large_files=no
4968 cat >conftest.$ac_ext <<_ACEOF
4969 /* confdefs.h. */
4970 _ACEOF
4971 cat confdefs.h >>conftest.$ac_ext
4972 cat >>conftest.$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 #include <sys/types.h>
4975 /* Check that off_t can represent 2**63 - 1 correctly.
4976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4977 since some C++ compilers masquerading as C compilers
4978 incorrectly reject 9223372036854775807. */
4979 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4981 && LARGE_OFF_T % 2147483647 == 1)
4982 ? 1 : -1];
4983 int
4984 main ()
4985 {
4986
4987 ;
4988 return 0;
4989 }
4990 _ACEOF
4991 rm -f conftest.$ac_objext
4992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4993 (eval $ac_compile) 2>conftest.er1
4994 ac_status=$?
4995 grep -v '^ *+' conftest.er1 >conftest.err
4996 rm -f conftest.er1
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } &&
5000 { ac_try='test -z "$ac_c_werror_flag"
5001 || test ! -s conftest.err'
5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 (eval $ac_try) 2>&5
5004 ac_status=$?
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); }; } &&
5007 { ac_try='test -s conftest.$ac_objext'
5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009 (eval $ac_try) 2>&5
5010 ac_status=$?
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; }; then
5013 break
5014 else
5015 echo "$as_me: failed program was:" >&5
5016 sed 's/^/| /' conftest.$ac_ext >&5
5017
5018 fi
5019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5020 cat >conftest.$ac_ext <<_ACEOF
5021 /* confdefs.h. */
5022 _ACEOF
5023 cat confdefs.h >>conftest.$ac_ext
5024 cat >>conftest.$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 #define _LARGE_FILES 1
5027 #include <sys/types.h>
5028 /* Check that off_t can represent 2**63 - 1 correctly.
5029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5030 since some C++ compilers masquerading as C compilers
5031 incorrectly reject 9223372036854775807. */
5032 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5034 && LARGE_OFF_T % 2147483647 == 1)
5035 ? 1 : -1];
5036 int
5037 main ()
5038 {
5039
5040 ;
5041 return 0;
5042 }
5043 _ACEOF
5044 rm -f conftest.$ac_objext
5045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5046 (eval $ac_compile) 2>conftest.er1
5047 ac_status=$?
5048 grep -v '^ *+' conftest.er1 >conftest.err
5049 rm -f conftest.er1
5050 cat conftest.err >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } &&
5053 { ac_try='test -z "$ac_c_werror_flag"
5054 || test ! -s conftest.err'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 (eval $ac_try) 2>&5
5057 ac_status=$?
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; } &&
5060 { ac_try='test -s conftest.$ac_objext'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 (eval $ac_try) 2>&5
5063 ac_status=$?
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then
5066 ac_cv_sys_large_files=1; break
5067 else
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5070
5071 fi
5072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5073 break
5074 done
5075 fi
5076 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5077 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5078 if test "$ac_cv_sys_large_files" != no; then
5079
5080 cat >>confdefs.h <<_ACEOF
5081 #define _LARGE_FILES $ac_cv_sys_large_files
5082 _ACEOF
5083
5084 fi
5085 rm -f conftest*
5086 fi
5087
5088 ac_ext=c
5089 ac_cpp='$CPP $CPPFLAGS'
5090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5093 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5094 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5095 # On Suns, sometimes $CPP names a directory.
5096 if test -n "$CPP" && test -d "$CPP"; then
5097 CPP=
5098 fi
5099 if test -z "$CPP"; then
5100 if test "${ac_cv_prog_CPP+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 # Double quotes because CPP needs to be expanded
5104 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5105 do
5106 ac_preproc_ok=false
5107 for ac_c_preproc_warn_flag in '' yes
5108 do
5109 # Use a header file that comes with gcc, so configuring glibc
5110 # with a fresh cross-compiler works.
5111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5112 # <limits.h> exists even on freestanding compilers.
5113 # On the NeXT, cc -E runs the code through the compiler's parser,
5114 # not just through cpp. "Syntax error" is here to catch this case.
5115 cat >conftest.$ac_ext <<_ACEOF
5116 /* confdefs.h. */
5117 _ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5121 #ifdef __STDC__
5122 # include <limits.h>
5123 #else
5124 # include <assert.h>
5125 #endif
5126 Syntax error
5127 _ACEOF
5128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5130 ac_status=$?
5131 grep -v '^ *+' conftest.er1 >conftest.err
5132 rm -f conftest.er1
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev/null; then
5136 if test -s conftest.err; then
5137 ac_cpp_err=$ac_c_preproc_warn_flag
5138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5139 else
5140 ac_cpp_err=
5141 fi
5142 else
5143 ac_cpp_err=yes
5144 fi
5145 if test -z "$ac_cpp_err"; then
5146 :
5147 else
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5150
5151 # Broken: fails on valid input.
5152 continue
5153 fi
5154 rm -f conftest.err conftest.$ac_ext
5155
5156 # OK, works on sane cases. Now check whether non-existent headers
5157 # can be detected and how.
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #include <ac_nonexistent.h>
5165 _ACEOF
5166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5168 ac_status=$?
5169 grep -v '^ *+' conftest.er1 >conftest.err
5170 rm -f conftest.er1
5171 cat conftest.err >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); } >/dev/null; then
5174 if test -s conftest.err; then
5175 ac_cpp_err=$ac_c_preproc_warn_flag
5176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5177 else
5178 ac_cpp_err=
5179 fi
5180 else
5181 ac_cpp_err=yes
5182 fi
5183 if test -z "$ac_cpp_err"; then
5184 # Broken: success on invalid input.
5185 continue
5186 else
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5189
5190 # Passes both tests.
5191 ac_preproc_ok=:
5192 break
5193 fi
5194 rm -f conftest.err conftest.$ac_ext
5195
5196 done
5197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5198 rm -f conftest.err conftest.$ac_ext
5199 if $ac_preproc_ok; then
5200 break
5201 fi
5202
5203 done
5204 ac_cv_prog_CPP=$CPP
5205
5206 fi
5207 CPP=$ac_cv_prog_CPP
5208 else
5209 ac_cv_prog_CPP=$CPP
5210 fi
5211 echo "$as_me:$LINENO: result: $CPP" >&5
5212 echo "${ECHO_T}$CPP" >&6
5213 ac_preproc_ok=false
5214 for ac_c_preproc_warn_flag in '' yes
5215 do
5216 # Use a header file that comes with gcc, so configuring glibc
5217 # with a fresh cross-compiler works.
5218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 # <limits.h> exists even on freestanding compilers.
5220 # On the NeXT, cc -E runs the code through the compiler's parser,
5221 # not just through cpp. "Syntax error" is here to catch this case.
5222 cat >conftest.$ac_ext <<_ACEOF
5223 /* confdefs.h. */
5224 _ACEOF
5225 cat confdefs.h >>conftest.$ac_ext
5226 cat >>conftest.$ac_ext <<_ACEOF
5227 /* end confdefs.h. */
5228 #ifdef __STDC__
5229 # include <limits.h>
5230 #else
5231 # include <assert.h>
5232 #endif
5233 Syntax error
5234 _ACEOF
5235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5237 ac_status=$?
5238 grep -v '^ *+' conftest.er1 >conftest.err
5239 rm -f conftest.er1
5240 cat conftest.err >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } >/dev/null; then
5243 if test -s conftest.err; then
5244 ac_cpp_err=$ac_c_preproc_warn_flag
5245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5246 else
5247 ac_cpp_err=
5248 fi
5249 else
5250 ac_cpp_err=yes
5251 fi
5252 if test -z "$ac_cpp_err"; then
5253 :
5254 else
5255 echo "$as_me: failed program was:" >&5
5256 sed 's/^/| /' conftest.$ac_ext >&5
5257
5258 # Broken: fails on valid input.
5259 continue
5260 fi
5261 rm -f conftest.err conftest.$ac_ext
5262
5263 # OK, works on sane cases. Now check whether non-existent headers
5264 # can be detected and how.
5265 cat >conftest.$ac_ext <<_ACEOF
5266 /* confdefs.h. */
5267 _ACEOF
5268 cat confdefs.h >>conftest.$ac_ext
5269 cat >>conftest.$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5271 #include <ac_nonexistent.h>
5272 _ACEOF
5273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5275 ac_status=$?
5276 grep -v '^ *+' conftest.er1 >conftest.err
5277 rm -f conftest.er1
5278 cat conftest.err >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } >/dev/null; then
5281 if test -s conftest.err; then
5282 ac_cpp_err=$ac_c_preproc_warn_flag
5283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5284 else
5285 ac_cpp_err=
5286 fi
5287 else
5288 ac_cpp_err=yes
5289 fi
5290 if test -z "$ac_cpp_err"; then
5291 # Broken: success on invalid input.
5292 continue
5293 else
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.$ac_ext >&5
5296
5297 # Passes both tests.
5298 ac_preproc_ok=:
5299 break
5300 fi
5301 rm -f conftest.err conftest.$ac_ext
5302
5303 done
5304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5305 rm -f conftest.err conftest.$ac_ext
5306 if $ac_preproc_ok; then
5307 :
5308 else
5309 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5310 See \`config.log' for more details." >&5
5311 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5312 See \`config.log' for more details." >&2;}
5313 { (exit 1); exit 1; }; }
5314 fi
5315
5316 ac_ext=c
5317 ac_cpp='$CPP $CPPFLAGS'
5318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5321
5322
5323 echo "$as_me:$LINENO: checking for egrep" >&5
5324 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5325 if test "${ac_cv_prog_egrep+set}" = set; then
5326 echo $ECHO_N "(cached) $ECHO_C" >&6
5327 else
5328 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5329 then ac_cv_prog_egrep='grep -E'
5330 else ac_cv_prog_egrep='egrep'
5331 fi
5332 fi
5333 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5334 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5335 EGREP=$ac_cv_prog_egrep
5336
5337
5338 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5339 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5340 if test "${ac_cv_header_stdc+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 cat >conftest.$ac_ext <<_ACEOF
5344 /* confdefs.h. */
5345 _ACEOF
5346 cat confdefs.h >>conftest.$ac_ext
5347 cat >>conftest.$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5349 #include <stdlib.h>
5350 #include <stdarg.h>
5351 #include <string.h>
5352 #include <float.h>
5353
5354 int
5355 main ()
5356 {
5357
5358 ;
5359 return 0;
5360 }
5361 _ACEOF
5362 rm -f conftest.$ac_objext
5363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5364 (eval $ac_compile) 2>conftest.er1
5365 ac_status=$?
5366 grep -v '^ *+' conftest.er1 >conftest.err
5367 rm -f conftest.er1
5368 cat conftest.err >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } &&
5371 { ac_try='test -z "$ac_c_werror_flag"
5372 || test ! -s conftest.err'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5374 (eval $ac_try) 2>&5
5375 ac_status=$?
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; } &&
5378 { ac_try='test -s conftest.$ac_objext'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5380 (eval $ac_try) 2>&5
5381 ac_status=$?
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; }; then
5384 ac_cv_header_stdc=yes
5385 else
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.$ac_ext >&5
5388
5389 ac_cv_header_stdc=no
5390 fi
5391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5392
5393 if test $ac_cv_header_stdc = yes; then
5394 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5395 cat >conftest.$ac_ext <<_ACEOF
5396 /* confdefs.h. */
5397 _ACEOF
5398 cat confdefs.h >>conftest.$ac_ext
5399 cat >>conftest.$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5401 #include <string.h>
5402
5403 _ACEOF
5404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5405 $EGREP "memchr" >/dev/null 2>&1; then
5406 :
5407 else
5408 ac_cv_header_stdc=no
5409 fi
5410 rm -f conftest*
5411
5412 fi
5413
5414 if test $ac_cv_header_stdc = yes; then
5415 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5416 cat >conftest.$ac_ext <<_ACEOF
5417 /* confdefs.h. */
5418 _ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5422 #include <stdlib.h>
5423
5424 _ACEOF
5425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5426 $EGREP "free" >/dev/null 2>&1; then
5427 :
5428 else
5429 ac_cv_header_stdc=no
5430 fi
5431 rm -f conftest*
5432
5433 fi
5434
5435 if test $ac_cv_header_stdc = yes; then
5436 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5437 if test "$cross_compiling" = yes; then
5438 :
5439 else
5440 cat >conftest.$ac_ext <<_ACEOF
5441 /* confdefs.h. */
5442 _ACEOF
5443 cat confdefs.h >>conftest.$ac_ext
5444 cat >>conftest.$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5446 #include <ctype.h>
5447 #if ((' ' & 0x0FF) == 0x020)
5448 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5449 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5450 #else
5451 # define ISLOWER(c) \
5452 (('a' <= (c) && (c) <= 'i') \
5453 || ('j' <= (c) && (c) <= 'r') \
5454 || ('s' <= (c) && (c) <= 'z'))
5455 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5456 #endif
5457
5458 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5459 int
5460 main ()
5461 {
5462 int i;
5463 for (i = 0; i < 256; i++)
5464 if (XOR (islower (i), ISLOWER (i))
5465 || toupper (i) != TOUPPER (i))
5466 exit(2);
5467 exit (0);
5468 }
5469 _ACEOF
5470 rm -f conftest$ac_exeext
5471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5472 (eval $ac_link) 2>&5
5473 ac_status=$?
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5477 (eval $ac_try) 2>&5
5478 ac_status=$?
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); }; }; then
5481 :
5482 else
5483 echo "$as_me: program exited with status $ac_status" >&5
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5486
5487 ( exit $ac_status )
5488 ac_cv_header_stdc=no
5489 fi
5490 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5491 fi
5492 fi
5493 fi
5494 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5495 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5496 if test $ac_cv_header_stdc = yes; then
5497
5498 cat >>confdefs.h <<\_ACEOF
5499 #define STDC_HEADERS 1
5500 _ACEOF
5501
5502 fi
5503
5504 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5515 inttypes.h stdint.h unistd.h
5516 do
5517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5518 echo "$as_me:$LINENO: checking for $ac_header" >&5
5519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 else
5523 cat >conftest.$ac_ext <<_ACEOF
5524 /* confdefs.h. */
5525 _ACEOF
5526 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5529 $ac_includes_default
5530
5531 #include <$ac_header>
5532 _ACEOF
5533 rm -f conftest.$ac_objext
5534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5535 (eval $ac_compile) 2>conftest.er1
5536 ac_status=$?
5537 grep -v '^ *+' conftest.er1 >conftest.err
5538 rm -f conftest.er1
5539 cat conftest.err >&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); } &&
5542 { ac_try='test -z "$ac_c_werror_flag"
5543 || test ! -s conftest.err'
5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 (eval $ac_try) 2>&5
5546 ac_status=$?
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); }; } &&
5549 { ac_try='test -s conftest.$ac_objext'
5550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 (eval $ac_try) 2>&5
5552 ac_status=$?
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; }; then
5555 eval "$as_ac_Header=yes"
5556 else
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5559
5560 eval "$as_ac_Header=no"
5561 fi
5562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5563 fi
5564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5567 cat >>confdefs.h <<_ACEOF
5568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5569 _ACEOF
5570
5571 fi
5572
5573 done
5574
5575
5576 echo "$as_me:$LINENO: checking for off_t" >&5
5577 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5578 if test "${ac_cv_type_off_t+set}" = set; then
5579 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 else
5581 cat >conftest.$ac_ext <<_ACEOF
5582 /* confdefs.h. */
5583 _ACEOF
5584 cat confdefs.h >>conftest.$ac_ext
5585 cat >>conftest.$ac_ext <<_ACEOF
5586 /* end confdefs.h. */
5587 $ac_includes_default
5588 int
5589 main ()
5590 {
5591 if ((off_t *) 0)
5592 return 0;
5593 if (sizeof (off_t))
5594 return 0;
5595 ;
5596 return 0;
5597 }
5598 _ACEOF
5599 rm -f conftest.$ac_objext
5600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5601 (eval $ac_compile) 2>conftest.er1
5602 ac_status=$?
5603 grep -v '^ *+' conftest.er1 >conftest.err
5604 rm -f conftest.er1
5605 cat conftest.err >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } &&
5608 { ac_try='test -z "$ac_c_werror_flag"
5609 || test ! -s conftest.err'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611 (eval $ac_try) 2>&5
5612 ac_status=$?
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; } &&
5615 { ac_try='test -s conftest.$ac_objext'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 (eval $ac_try) 2>&5
5618 ac_status=$?
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; }; then
5621 ac_cv_type_off_t=yes
5622 else
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5625
5626 ac_cv_type_off_t=no
5627 fi
5628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5629 fi
5630 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5631 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5632 if test $ac_cv_type_off_t = yes; then
5633 :
5634 else
5635
5636 cat >>confdefs.h <<_ACEOF
5637 #define off_t long
5638 _ACEOF
5639
5640 fi
5641
5642
5643 # check header files
5644 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5645 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5646 if test "${ac_cv_header_stdc+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 else
5649 cat >conftest.$ac_ext <<_ACEOF
5650 /* confdefs.h. */
5651 _ACEOF
5652 cat confdefs.h >>conftest.$ac_ext
5653 cat >>conftest.$ac_ext <<_ACEOF
5654 /* end confdefs.h. */
5655 #include <stdlib.h>
5656 #include <stdarg.h>
5657 #include <string.h>
5658 #include <float.h>
5659
5660 int
5661 main ()
5662 {
5663
5664 ;
5665 return 0;
5666 }
5667 _ACEOF
5668 rm -f conftest.$ac_objext
5669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5670 (eval $ac_compile) 2>conftest.er1
5671 ac_status=$?
5672 grep -v '^ *+' conftest.er1 >conftest.err
5673 rm -f conftest.er1
5674 cat conftest.err >&5
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); } &&
5677 { ac_try='test -z "$ac_c_werror_flag"
5678 || test ! -s conftest.err'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5680 (eval $ac_try) 2>&5
5681 ac_status=$?
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; } &&
5684 { ac_try='test -s conftest.$ac_objext'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5686 (eval $ac_try) 2>&5
5687 ac_status=$?
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; }; then
5690 ac_cv_header_stdc=yes
5691 else
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.$ac_ext >&5
5694
5695 ac_cv_header_stdc=no
5696 fi
5697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5698
5699 if test $ac_cv_header_stdc = yes; then
5700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5701 cat >conftest.$ac_ext <<_ACEOF
5702 /* confdefs.h. */
5703 _ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5707 #include <string.h>
5708
5709 _ACEOF
5710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5711 $EGREP "memchr" >/dev/null 2>&1; then
5712 :
5713 else
5714 ac_cv_header_stdc=no
5715 fi
5716 rm -f conftest*
5717
5718 fi
5719
5720 if test $ac_cv_header_stdc = yes; then
5721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5722 cat >conftest.$ac_ext <<_ACEOF
5723 /* confdefs.h. */
5724 _ACEOF
5725 cat confdefs.h >>conftest.$ac_ext
5726 cat >>conftest.$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5728 #include <stdlib.h>
5729
5730 _ACEOF
5731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5732 $EGREP "free" >/dev/null 2>&1; then
5733 :
5734 else
5735 ac_cv_header_stdc=no
5736 fi
5737 rm -f conftest*
5738
5739 fi
5740
5741 if test $ac_cv_header_stdc = yes; then
5742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5743 if test "$cross_compiling" = yes; then
5744 :
5745 else
5746 cat >conftest.$ac_ext <<_ACEOF
5747 /* confdefs.h. */
5748 _ACEOF
5749 cat confdefs.h >>conftest.$ac_ext
5750 cat >>conftest.$ac_ext <<_ACEOF
5751 /* end confdefs.h. */
5752 #include <ctype.h>
5753 #if ((' ' & 0x0FF) == 0x020)
5754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5756 #else
5757 # define ISLOWER(c) \
5758 (('a' <= (c) && (c) <= 'i') \
5759 || ('j' <= (c) && (c) <= 'r') \
5760 || ('s' <= (c) && (c) <= 'z'))
5761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5762 #endif
5763
5764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5765 int
5766 main ()
5767 {
5768 int i;
5769 for (i = 0; i < 256; i++)
5770 if (XOR (islower (i), ISLOWER (i))
5771 || toupper (i) != TOUPPER (i))
5772 exit(2);
5773 exit (0);
5774 }
5775 _ACEOF
5776 rm -f conftest$ac_exeext
5777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5778 (eval $ac_link) 2>&5
5779 ac_status=$?
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 (eval $ac_try) 2>&5
5784 ac_status=$?
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; }; then
5787 :
5788 else
5789 echo "$as_me: program exited with status $ac_status" >&5
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.$ac_ext >&5
5792
5793 ( exit $ac_status )
5794 ac_cv_header_stdc=no
5795 fi
5796 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5797 fi
5798 fi
5799 fi
5800 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5801 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5802 if test $ac_cv_header_stdc = yes; then
5803
5804 cat >>confdefs.h <<\_ACEOF
5805 #define STDC_HEADERS 1
5806 _ACEOF
5807
5808 fi
5809
5810
5811
5812
5813
5814
5815
5816
5817 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5818 do
5819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5821 echo "$as_me:$LINENO: checking for $ac_header" >&5
5822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 fi
5826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5828 else
5829 # Is the header compilable?
5830 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5832 cat >conftest.$ac_ext <<_ACEOF
5833 /* confdefs.h. */
5834 _ACEOF
5835 cat confdefs.h >>conftest.$ac_ext
5836 cat >>conftest.$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5838 $ac_includes_default
5839 #include <$ac_header>
5840 _ACEOF
5841 rm -f conftest.$ac_objext
5842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5843 (eval $ac_compile) 2>conftest.er1
5844 ac_status=$?
5845 grep -v '^ *+' conftest.er1 >conftest.err
5846 rm -f conftest.er1
5847 cat conftest.err >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try='test -z "$ac_c_werror_flag"
5851 || test ! -s conftest.err'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 (eval $ac_try) 2>&5
5854 ac_status=$?
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; } &&
5857 { ac_try='test -s conftest.$ac_objext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859 (eval $ac_try) 2>&5
5860 ac_status=$?
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 ac_header_compiler=yes
5864 else
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5867
5868 ac_header_compiler=no
5869 fi
5870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5872 echo "${ECHO_T}$ac_header_compiler" >&6
5873
5874 # Is the header present?
5875 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5877 cat >conftest.$ac_ext <<_ACEOF
5878 /* confdefs.h. */
5879 _ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 #include <$ac_header>
5884 _ACEOF
5885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5887 ac_status=$?
5888 grep -v '^ *+' conftest.er1 >conftest.err
5889 rm -f conftest.er1
5890 cat conftest.err >&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } >/dev/null; then
5893 if test -s conftest.err; then
5894 ac_cpp_err=$ac_c_preproc_warn_flag
5895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5896 else
5897 ac_cpp_err=
5898 fi
5899 else
5900 ac_cpp_err=yes
5901 fi
5902 if test -z "$ac_cpp_err"; then
5903 ac_header_preproc=yes
5904 else
5905 echo "$as_me: failed program was:" >&5
5906 sed 's/^/| /' conftest.$ac_ext >&5
5907
5908 ac_header_preproc=no
5909 fi
5910 rm -f conftest.err conftest.$ac_ext
5911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5912 echo "${ECHO_T}$ac_header_preproc" >&6
5913
5914 # So? What about this header?
5915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5916 yes:no: )
5917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5921 ac_header_preproc=yes
5922 ;;
5923 no:yes:* )
5924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5936 (
5937 cat <<\_ASBOX
5938 ## ------------------------------------------------------ ##
5939 ## Report this to the GNU Fortran Runtime Library lists. ##
5940 ## ------------------------------------------------------ ##
5941 _ASBOX
5942 ) |
5943 sed "s/^/$as_me: WARNING: /" >&2
5944 ;;
5945 esac
5946 echo "$as_me:$LINENO: checking for $ac_header" >&5
5947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 else
5951 eval "$as_ac_Header=\$ac_header_preproc"
5952 fi
5953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5955
5956 fi
5957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5958 cat >>confdefs.h <<_ACEOF
5959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5960 _ACEOF
5961
5962 fi
5963
5964 done
5965
5966
5967
5968
5969
5970
5971 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
5972 do
5973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5975 echo "$as_me:$LINENO: checking for $ac_header" >&5
5976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 fi
5980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5982 else
5983 # Is the header compilable?
5984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5986 cat >conftest.$ac_ext <<_ACEOF
5987 /* confdefs.h. */
5988 _ACEOF
5989 cat confdefs.h >>conftest.$ac_ext
5990 cat >>conftest.$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5992 $ac_includes_default
5993 #include <$ac_header>
5994 _ACEOF
5995 rm -f conftest.$ac_objext
5996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5997 (eval $ac_compile) 2>conftest.er1
5998 ac_status=$?
5999 grep -v '^ *+' conftest.er1 >conftest.err
6000 rm -f conftest.er1
6001 cat conftest.err >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try='test -z "$ac_c_werror_flag"
6005 || test ! -s conftest.err'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 (eval $ac_try) 2>&5
6008 ac_status=$?
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; } &&
6011 { ac_try='test -s conftest.$ac_objext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 (eval $ac_try) 2>&5
6014 ac_status=$?
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 ac_header_compiler=yes
6018 else
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.$ac_ext >&5
6021
6022 ac_header_compiler=no
6023 fi
6024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6026 echo "${ECHO_T}$ac_header_compiler" >&6
6027
6028 # Is the header present?
6029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6031 cat >conftest.$ac_ext <<_ACEOF
6032 /* confdefs.h. */
6033 _ACEOF
6034 cat confdefs.h >>conftest.$ac_ext
6035 cat >>conftest.$ac_ext <<_ACEOF
6036 /* end confdefs.h. */
6037 #include <$ac_header>
6038 _ACEOF
6039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6041 ac_status=$?
6042 grep -v '^ *+' conftest.er1 >conftest.err
6043 rm -f conftest.er1
6044 cat conftest.err >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } >/dev/null; then
6047 if test -s conftest.err; then
6048 ac_cpp_err=$ac_c_preproc_warn_flag
6049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6050 else
6051 ac_cpp_err=
6052 fi
6053 else
6054 ac_cpp_err=yes
6055 fi
6056 if test -z "$ac_cpp_err"; then
6057 ac_header_preproc=yes
6058 else
6059 echo "$as_me: failed program was:" >&5
6060 sed 's/^/| /' conftest.$ac_ext >&5
6061
6062 ac_header_preproc=no
6063 fi
6064 rm -f conftest.err conftest.$ac_ext
6065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6066 echo "${ECHO_T}$ac_header_preproc" >&6
6067
6068 # So? What about this header?
6069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6070 yes:no: )
6071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6075 ac_header_preproc=yes
6076 ;;
6077 no:yes:* )
6078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6090 (
6091 cat <<\_ASBOX
6092 ## ------------------------------------------------------ ##
6093 ## Report this to the GNU Fortran Runtime Library lists. ##
6094 ## ------------------------------------------------------ ##
6095 _ASBOX
6096 ) |
6097 sed "s/^/$as_me: WARNING: /" >&2
6098 ;;
6099 esac
6100 echo "$as_me:$LINENO: checking for $ac_header" >&5
6101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 else
6105 eval "$as_ac_Header=\$ac_header_preproc"
6106 fi
6107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6109
6110 fi
6111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6112 cat >>confdefs.h <<_ACEOF
6113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6114 _ACEOF
6115
6116 fi
6117
6118 done
6119
6120
6121
6122
6123
6124
6125 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6126 do
6127 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6129 echo "$as_me:$LINENO: checking for $ac_header" >&5
6130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 fi
6134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6136 else
6137 # Is the header compilable?
6138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6140 cat >conftest.$ac_ext <<_ACEOF
6141 /* confdefs.h. */
6142 _ACEOF
6143 cat confdefs.h >>conftest.$ac_ext
6144 cat >>conftest.$ac_ext <<_ACEOF
6145 /* end confdefs.h. */
6146 $ac_includes_default
6147 #include <$ac_header>
6148 _ACEOF
6149 rm -f conftest.$ac_objext
6150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6151 (eval $ac_compile) 2>conftest.er1
6152 ac_status=$?
6153 grep -v '^ *+' conftest.er1 >conftest.err
6154 rm -f conftest.er1
6155 cat conftest.err >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); } &&
6158 { ac_try='test -z "$ac_c_werror_flag"
6159 || test ! -s conftest.err'
6160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6161 (eval $ac_try) 2>&5
6162 ac_status=$?
6163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); }; } &&
6165 { ac_try='test -s conftest.$ac_objext'
6166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6167 (eval $ac_try) 2>&5
6168 ac_status=$?
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); }; }; then
6171 ac_header_compiler=yes
6172 else
6173 echo "$as_me: failed program was:" >&5
6174 sed 's/^/| /' conftest.$ac_ext >&5
6175
6176 ac_header_compiler=no
6177 fi
6178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6180 echo "${ECHO_T}$ac_header_compiler" >&6
6181
6182 # Is the header present?
6183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h. */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6191 #include <$ac_header>
6192 _ACEOF
6193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6195 ac_status=$?
6196 grep -v '^ *+' conftest.er1 >conftest.err
6197 rm -f conftest.er1
6198 cat conftest.err >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } >/dev/null; then
6201 if test -s conftest.err; then
6202 ac_cpp_err=$ac_c_preproc_warn_flag
6203 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6204 else
6205 ac_cpp_err=
6206 fi
6207 else
6208 ac_cpp_err=yes
6209 fi
6210 if test -z "$ac_cpp_err"; then
6211 ac_header_preproc=yes
6212 else
6213 echo "$as_me: failed program was:" >&5
6214 sed 's/^/| /' conftest.$ac_ext >&5
6215
6216 ac_header_preproc=no
6217 fi
6218 rm -f conftest.err conftest.$ac_ext
6219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6220 echo "${ECHO_T}$ac_header_preproc" >&6
6221
6222 # So? What about this header?
6223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6224 yes:no: )
6225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6229 ac_header_preproc=yes
6230 ;;
6231 no:yes:* )
6232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6244 (
6245 cat <<\_ASBOX
6246 ## ------------------------------------------------------ ##
6247 ## Report this to the GNU Fortran Runtime Library lists. ##
6248 ## ------------------------------------------------------ ##
6249 _ASBOX
6250 ) |
6251 sed "s/^/$as_me: WARNING: /" >&2
6252 ;;
6253 esac
6254 echo "$as_me:$LINENO: checking for $ac_header" >&5
6255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 eval "$as_ac_Header=\$ac_header_preproc"
6260 fi
6261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6263
6264 fi
6265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6266 cat >>confdefs.h <<_ACEOF
6267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6268 _ACEOF
6269
6270 fi
6271
6272 done
6273
6274
6275
6276
6277 for ac_header in fenv.h fptrap.h float.h
6278 do
6279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6281 echo "$as_me:$LINENO: checking for $ac_header" >&5
6282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 fi
6286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6288 else
6289 # Is the header compilable?
6290 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6292 cat >conftest.$ac_ext <<_ACEOF
6293 /* confdefs.h. */
6294 _ACEOF
6295 cat confdefs.h >>conftest.$ac_ext
6296 cat >>conftest.$ac_ext <<_ACEOF
6297 /* end confdefs.h. */
6298 $ac_includes_default
6299 #include <$ac_header>
6300 _ACEOF
6301 rm -f conftest.$ac_objext
6302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6303 (eval $ac_compile) 2>conftest.er1
6304 ac_status=$?
6305 grep -v '^ *+' conftest.er1 >conftest.err
6306 rm -f conftest.er1
6307 cat conftest.err >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } &&
6310 { ac_try='test -z "$ac_c_werror_flag"
6311 || test ! -s conftest.err'
6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 (eval $ac_try) 2>&5
6314 ac_status=$?
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }; } &&
6317 { ac_try='test -s conftest.$ac_objext'
6318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 (eval $ac_try) 2>&5
6320 ac_status=$?
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); }; }; then
6323 ac_header_compiler=yes
6324 else
6325 echo "$as_me: failed program was:" >&5
6326 sed 's/^/| /' conftest.$ac_ext >&5
6327
6328 ac_header_compiler=no
6329 fi
6330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6332 echo "${ECHO_T}$ac_header_compiler" >&6
6333
6334 # Is the header present?
6335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6337 cat >conftest.$ac_ext <<_ACEOF
6338 /* confdefs.h. */
6339 _ACEOF
6340 cat confdefs.h >>conftest.$ac_ext
6341 cat >>conftest.$ac_ext <<_ACEOF
6342 /* end confdefs.h. */
6343 #include <$ac_header>
6344 _ACEOF
6345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6347 ac_status=$?
6348 grep -v '^ *+' conftest.er1 >conftest.err
6349 rm -f conftest.er1
6350 cat conftest.err >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } >/dev/null; then
6353 if test -s conftest.err; then
6354 ac_cpp_err=$ac_c_preproc_warn_flag
6355 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6356 else
6357 ac_cpp_err=
6358 fi
6359 else
6360 ac_cpp_err=yes
6361 fi
6362 if test -z "$ac_cpp_err"; then
6363 ac_header_preproc=yes
6364 else
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.$ac_ext >&5
6367
6368 ac_header_preproc=no
6369 fi
6370 rm -f conftest.err conftest.$ac_ext
6371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6372 echo "${ECHO_T}$ac_header_preproc" >&6
6373
6374 # So? What about this header?
6375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6376 yes:no: )
6377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6381 ac_header_preproc=yes
6382 ;;
6383 no:yes:* )
6384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6388 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6389 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6390 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6391 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6394 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6395 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6396 (
6397 cat <<\_ASBOX
6398 ## ------------------------------------------------------ ##
6399 ## Report this to the GNU Fortran Runtime Library lists. ##
6400 ## ------------------------------------------------------ ##
6401 _ASBOX
6402 ) |
6403 sed "s/^/$as_me: WARNING: /" >&2
6404 ;;
6405 esac
6406 echo "$as_me:$LINENO: checking for $ac_header" >&5
6407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6410 else
6411 eval "$as_ac_Header=\$ac_header_preproc"
6412 fi
6413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6415
6416 fi
6417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6418 cat >>confdefs.h <<_ACEOF
6419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6420 _ACEOF
6421
6422 fi
6423
6424 done
6425
6426 if test "${ac_cv_header_complex_h+set}" = set; then
6427 echo "$as_me:$LINENO: checking for complex.h" >&5
6428 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6429 if test "${ac_cv_header_complex_h+set}" = set; then
6430 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 fi
6432 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6433 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6434 else
6435 # Is the header compilable?
6436 echo "$as_me:$LINENO: checking complex.h usability" >&5
6437 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6438 cat >conftest.$ac_ext <<_ACEOF
6439 /* confdefs.h. */
6440 _ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6444 $ac_includes_default
6445 #include <complex.h>
6446 _ACEOF
6447 rm -f conftest.$ac_objext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449 (eval $ac_compile) 2>conftest.er1
6450 ac_status=$?
6451 grep -v '^ *+' conftest.er1 >conftest.err
6452 rm -f conftest.er1
6453 cat conftest.err >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } &&
6456 { ac_try='test -z "$ac_c_werror_flag"
6457 || test ! -s conftest.err'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 (eval $ac_try) 2>&5
6460 ac_status=$?
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; } &&
6463 { ac_try='test -s conftest.$ac_objext'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465 (eval $ac_try) 2>&5
6466 ac_status=$?
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }; then
6469 ac_header_compiler=yes
6470 else
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.$ac_ext >&5
6473
6474 ac_header_compiler=no
6475 fi
6476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6478 echo "${ECHO_T}$ac_header_compiler" >&6
6479
6480 # Is the header present?
6481 echo "$as_me:$LINENO: checking complex.h presence" >&5
6482 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6483 cat >conftest.$ac_ext <<_ACEOF
6484 /* confdefs.h. */
6485 _ACEOF
6486 cat confdefs.h >>conftest.$ac_ext
6487 cat >>conftest.$ac_ext <<_ACEOF
6488 /* end confdefs.h. */
6489 #include <complex.h>
6490 _ACEOF
6491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6493 ac_status=$?
6494 grep -v '^ *+' conftest.er1 >conftest.err
6495 rm -f conftest.er1
6496 cat conftest.err >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } >/dev/null; then
6499 if test -s conftest.err; then
6500 ac_cpp_err=$ac_c_preproc_warn_flag
6501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6502 else
6503 ac_cpp_err=
6504 fi
6505 else
6506 ac_cpp_err=yes
6507 fi
6508 if test -z "$ac_cpp_err"; then
6509 ac_header_preproc=yes
6510 else
6511 echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.$ac_ext >&5
6513
6514 ac_header_preproc=no
6515 fi
6516 rm -f conftest.err conftest.$ac_ext
6517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6518 echo "${ECHO_T}$ac_header_preproc" >&6
6519
6520 # So? What about this header?
6521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6522 yes:no: )
6523 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6524 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6525 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6526 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6527 ac_header_preproc=yes
6528 ;;
6529 no:yes:* )
6530 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6531 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6532 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6533 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6534 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6535 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6536 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6537 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6538 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6539 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6540 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6541 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6542 (
6543 cat <<\_ASBOX
6544 ## ------------------------------------------------------ ##
6545 ## Report this to the GNU Fortran Runtime Library lists. ##
6546 ## ------------------------------------------------------ ##
6547 _ASBOX
6548 ) |
6549 sed "s/^/$as_me: WARNING: /" >&2
6550 ;;
6551 esac
6552 echo "$as_me:$LINENO: checking for complex.h" >&5
6553 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6554 if test "${ac_cv_header_complex_h+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 ac_cv_header_complex_h=$ac_header_preproc
6558 fi
6559 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6560 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6561
6562 fi
6563 if test $ac_cv_header_complex_h = yes; then
6564
6565 cat >>confdefs.h <<\_ACEOF
6566 #define HAVE_COMPLEX_H 1
6567 _ACEOF
6568
6569 fi
6570
6571
6572
6573
6574 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6575
6576 acx_cv_header_stdint=stddef.h
6577 acx_cv_header_stdint_kind="(already complete)"
6578 for i in stdint.h $inttype_headers; do
6579 unset ac_cv_type_uintptr_t
6580 unset ac_cv_type_uintmax_t
6581 unset ac_cv_type_int_least32_t
6582 unset ac_cv_type_int_fast32_t
6583 unset ac_cv_type_uint64_t
6584 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6585 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6586 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6587 if test "${ac_cv_type_uintmax_t+set}" = set; then
6588 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 else
6590 cat >conftest.$ac_ext <<_ACEOF
6591 /* confdefs.h. */
6592 _ACEOF
6593 cat confdefs.h >>conftest.$ac_ext
6594 cat >>conftest.$ac_ext <<_ACEOF
6595 /* end confdefs.h. */
6596 #include <sys/types.h>
6597 #include <$i>
6598
6599 int
6600 main ()
6601 {
6602 if ((uintmax_t *) 0)
6603 return 0;
6604 if (sizeof (uintmax_t))
6605 return 0;
6606 ;
6607 return 0;
6608 }
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>conftest.er1
6613 ac_status=$?
6614 grep -v '^ *+' conftest.er1 >conftest.err
6615 rm -f conftest.er1
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try='test -z "$ac_c_werror_flag"
6620 || test ! -s conftest.err'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 (eval $ac_try) 2>&5
6623 ac_status=$?
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; } &&
6626 { ac_try='test -s conftest.$ac_objext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628 (eval $ac_try) 2>&5
6629 ac_status=$?
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6632 ac_cv_type_uintmax_t=yes
6633 else
6634 echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637 ac_cv_type_uintmax_t=no
6638 fi
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640 fi
6641 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6642 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6643 if test $ac_cv_type_uintmax_t = yes; then
6644 acx_cv_header_stdint=$i
6645 else
6646 continue
6647 fi
6648
6649 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6650 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6651 if test "${ac_cv_type_uintptr_t+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6653 else
6654 cat >conftest.$ac_ext <<_ACEOF
6655 /* confdefs.h. */
6656 _ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6660 #include <sys/types.h>
6661 #include <$i>
6662
6663 int
6664 main ()
6665 {
6666 if ((uintptr_t *) 0)
6667 return 0;
6668 if (sizeof (uintptr_t))
6669 return 0;
6670 ;
6671 return 0;
6672 }
6673 _ACEOF
6674 rm -f conftest.$ac_objext
6675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6676 (eval $ac_compile) 2>conftest.er1
6677 ac_status=$?
6678 grep -v '^ *+' conftest.er1 >conftest.err
6679 rm -f conftest.er1
6680 cat conftest.err >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); } &&
6683 { ac_try='test -z "$ac_c_werror_flag"
6684 || test ! -s conftest.err'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 (eval $ac_try) 2>&5
6687 ac_status=$?
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; } &&
6690 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6696 ac_cv_type_uintptr_t=yes
6697 else
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5
6700
6701 ac_cv_type_uintptr_t=no
6702 fi
6703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6704 fi
6705 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6706 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6707 if test $ac_cv_type_uintptr_t = yes; then
6708 :
6709 else
6710 acx_cv_header_stdint_kind="(mostly complete)"
6711 fi
6712
6713 echo "$as_me:$LINENO: checking for int_least32_t" >&5
6714 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6715 if test "${ac_cv_type_int_least32_t+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 else
6718 cat >conftest.$ac_ext <<_ACEOF
6719 /* confdefs.h. */
6720 _ACEOF
6721 cat confdefs.h >>conftest.$ac_ext
6722 cat >>conftest.$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6724 #include <sys/types.h>
6725 #include <$i>
6726
6727 int
6728 main ()
6729 {
6730 if ((int_least32_t *) 0)
6731 return 0;
6732 if (sizeof (int_least32_t))
6733 return 0;
6734 ;
6735 return 0;
6736 }
6737 _ACEOF
6738 rm -f conftest.$ac_objext
6739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6740 (eval $ac_compile) 2>conftest.er1
6741 ac_status=$?
6742 grep -v '^ *+' conftest.er1 >conftest.err
6743 rm -f conftest.er1
6744 cat conftest.err >&5
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); } &&
6747 { ac_try='test -z "$ac_c_werror_flag"
6748 || test ! -s conftest.err'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 (eval $ac_try) 2>&5
6751 ac_status=$?
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; } &&
6754 { ac_try='test -s conftest.$ac_objext'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 (eval $ac_try) 2>&5
6757 ac_status=$?
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; }; then
6760 ac_cv_type_int_least32_t=yes
6761 else
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.$ac_ext >&5
6764
6765 ac_cv_type_int_least32_t=no
6766 fi
6767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6768 fi
6769 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6770 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6771 if test $ac_cv_type_int_least32_t = yes; then
6772 :
6773 else
6774 acx_cv_header_stdint_kind="(mostly complete)"
6775 fi
6776
6777 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6778 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6779 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6780 echo $ECHO_N "(cached) $ECHO_C" >&6
6781 else
6782 cat >conftest.$ac_ext <<_ACEOF
6783 /* confdefs.h. */
6784 _ACEOF
6785 cat confdefs.h >>conftest.$ac_ext
6786 cat >>conftest.$ac_ext <<_ACEOF
6787 /* end confdefs.h. */
6788 #include <sys/types.h>
6789 #include <$i>
6790
6791 int
6792 main ()
6793 {
6794 if ((int_fast32_t *) 0)
6795 return 0;
6796 if (sizeof (int_fast32_t))
6797 return 0;
6798 ;
6799 return 0;
6800 }
6801 _ACEOF
6802 rm -f conftest.$ac_objext
6803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6804 (eval $ac_compile) 2>conftest.er1
6805 ac_status=$?
6806 grep -v '^ *+' conftest.er1 >conftest.err
6807 rm -f conftest.er1
6808 cat conftest.err >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } &&
6811 { ac_try='test -z "$ac_c_werror_flag"
6812 || test ! -s conftest.err'
6813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 (eval $ac_try) 2>&5
6815 ac_status=$?
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); }; } &&
6818 { ac_try='test -s conftest.$ac_objext'
6819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 (eval $ac_try) 2>&5
6821 ac_status=$?
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); }; }; then
6824 ac_cv_type_int_fast32_t=yes
6825 else
6826 echo "$as_me: failed program was:" >&5
6827 sed 's/^/| /' conftest.$ac_ext >&5
6828
6829 ac_cv_type_int_fast32_t=no
6830 fi
6831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6832 fi
6833 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
6834 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
6835 if test $ac_cv_type_int_fast32_t = yes; then
6836 :
6837 else
6838 acx_cv_header_stdint_kind="(mostly complete)"
6839 fi
6840
6841 echo "$as_me:$LINENO: checking for uint64_t" >&5
6842 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6843 if test "${ac_cv_type_uint64_t+set}" = set; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 else
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
6851 /* end confdefs.h. */
6852 #include <sys/types.h>
6853 #include <$i>
6854
6855 int
6856 main ()
6857 {
6858 if ((uint64_t *) 0)
6859 return 0;
6860 if (sizeof (uint64_t))
6861 return 0;
6862 ;
6863 return 0;
6864 }
6865 _ACEOF
6866 rm -f conftest.$ac_objext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6868 (eval $ac_compile) 2>conftest.er1
6869 ac_status=$?
6870 grep -v '^ *+' conftest.er1 >conftest.err
6871 rm -f conftest.er1
6872 cat conftest.err >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } &&
6875 { ac_try='test -z "$ac_c_werror_flag"
6876 || test ! -s conftest.err'
6877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 (eval $ac_try) 2>&5
6879 ac_status=$?
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); }; } &&
6882 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6888 ac_cv_type_uint64_t=yes
6889 else
6890 echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6892
6893 ac_cv_type_uint64_t=no
6894 fi
6895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6896 fi
6897 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
6898 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
6899 if test $ac_cv_type_uint64_t = yes; then
6900 :
6901 else
6902 acx_cv_header_stdint_kind="(lacks uint64_t)"
6903 fi
6904
6905 break
6906 done
6907 if test "$acx_cv_header_stdint" = stddef.h; then
6908 acx_cv_header_stdint_kind="(lacks uintmax_t)"
6909 for i in stdint.h $inttype_headers; do
6910 unset ac_cv_type_uintptr_t
6911 unset ac_cv_type_uint32_t
6912 unset ac_cv_type_uint64_t
6913 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
6914 echo "$as_me:$LINENO: checking for uint32_t" >&5
6915 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6916 if test "${ac_cv_type_uint32_t+set}" = set; then
6917 echo $ECHO_N "(cached) $ECHO_C" >&6
6918 else
6919 cat >conftest.$ac_ext <<_ACEOF
6920 /* confdefs.h. */
6921 _ACEOF
6922 cat confdefs.h >>conftest.$ac_ext
6923 cat >>conftest.$ac_ext <<_ACEOF
6924 /* end confdefs.h. */
6925 #include <sys/types.h>
6926 #include <$i>
6927
6928 int
6929 main ()
6930 {
6931 if ((uint32_t *) 0)
6932 return 0;
6933 if (sizeof (uint32_t))
6934 return 0;
6935 ;
6936 return 0;
6937 }
6938 _ACEOF
6939 rm -f conftest.$ac_objext
6940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6941 (eval $ac_compile) 2>conftest.er1
6942 ac_status=$?
6943 grep -v '^ *+' conftest.er1 >conftest.err
6944 rm -f conftest.er1
6945 cat conftest.err >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); } &&
6948 { ac_try='test -z "$ac_c_werror_flag"
6949 || test ! -s conftest.err'
6950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 (eval $ac_try) 2>&5
6952 ac_status=$?
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); }; } &&
6955 { ac_try='test -s conftest.$ac_objext'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6957 (eval $ac_try) 2>&5
6958 ac_status=$?
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; }; then
6961 ac_cv_type_uint32_t=yes
6962 else
6963 echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6965
6966 ac_cv_type_uint32_t=no
6967 fi
6968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6969 fi
6970 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6971 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
6972 if test $ac_cv_type_uint32_t = yes; then
6973 acx_cv_header_stdint=$i
6974 else
6975 continue
6976 fi
6977
6978 echo "$as_me:$LINENO: checking for uint64_t" >&5
6979 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6980 if test "${ac_cv_type_uint64_t+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 else
6983 cat >conftest.$ac_ext <<_ACEOF
6984 /* confdefs.h. */
6985 _ACEOF
6986 cat confdefs.h >>conftest.$ac_ext
6987 cat >>conftest.$ac_ext <<_ACEOF
6988 /* end confdefs.h. */
6989 #include <sys/types.h>
6990 #include <$i>
6991
6992 int
6993 main ()
6994 {
6995 if ((uint64_t *) 0)
6996 return 0;
6997 if (sizeof (uint64_t))
6998 return 0;
6999 ;
7000 return 0;
7001 }
7002 _ACEOF
7003 rm -f conftest.$ac_objext
7004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7005 (eval $ac_compile) 2>conftest.er1
7006 ac_status=$?
7007 grep -v '^ *+' conftest.er1 >conftest.err
7008 rm -f conftest.er1
7009 cat conftest.err >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try='test -z "$ac_c_werror_flag"
7013 || test ! -s conftest.err'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 (eval $ac_try) 2>&5
7016 ac_status=$?
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; } &&
7019 { ac_try='test -s conftest.$ac_objext'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021 (eval $ac_try) 2>&5
7022 ac_status=$?
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); }; }; then
7025 ac_cv_type_uint64_t=yes
7026 else
7027 echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.$ac_ext >&5
7029
7030 ac_cv_type_uint64_t=no
7031 fi
7032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7033 fi
7034 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7035 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7036
7037 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7038 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7039 if test "${ac_cv_type_uintptr_t+set}" = set; then
7040 echo $ECHO_N "(cached) $ECHO_C" >&6
7041 else
7042 cat >conftest.$ac_ext <<_ACEOF
7043 /* confdefs.h. */
7044 _ACEOF
7045 cat confdefs.h >>conftest.$ac_ext
7046 cat >>conftest.$ac_ext <<_ACEOF
7047 /* end confdefs.h. */
7048 #include <sys/types.h>
7049 #include <$i>
7050
7051 int
7052 main ()
7053 {
7054 if ((uintptr_t *) 0)
7055 return 0;
7056 if (sizeof (uintptr_t))
7057 return 0;
7058 ;
7059 return 0;
7060 }
7061 _ACEOF
7062 rm -f conftest.$ac_objext
7063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7064 (eval $ac_compile) 2>conftest.er1
7065 ac_status=$?
7066 grep -v '^ *+' conftest.er1 >conftest.err
7067 rm -f conftest.er1
7068 cat conftest.err >&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); } &&
7071 { ac_try='test -z "$ac_c_werror_flag"
7072 || test ! -s conftest.err'
7073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 (eval $ac_try) 2>&5
7075 ac_status=$?
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); }; } &&
7078 { ac_try='test -s conftest.$ac_objext'
7079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 (eval $ac_try) 2>&5
7081 ac_status=$?
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }; }; then
7084 ac_cv_type_uintptr_t=yes
7085 else
7086 echo "$as_me: failed program was:" >&5
7087 sed 's/^/| /' conftest.$ac_ext >&5
7088
7089 ac_cv_type_uintptr_t=no
7090 fi
7091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7092 fi
7093 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7094 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7095
7096 break
7097 done
7098 fi
7099 if test "$acx_cv_header_stdint" = stddef.h; then
7100 acx_cv_header_stdint_kind="(u_intXX_t style)"
7101 for i in sys/types.h $inttype_headers; do
7102 unset ac_cv_type_u_int32_t
7103 unset ac_cv_type_u_int64_t
7104 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7105 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7106 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7107 if test "${ac_cv_type_u_int32_t+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 else
7110 cat >conftest.$ac_ext <<_ACEOF
7111 /* confdefs.h. */
7112 _ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7116 #include <sys/types.h>
7117 #include <$i>
7118
7119 int
7120 main ()
7121 {
7122 if ((u_int32_t *) 0)
7123 return 0;
7124 if (sizeof (u_int32_t))
7125 return 0;
7126 ;
7127 return 0;
7128 }
7129 _ACEOF
7130 rm -f conftest.$ac_objext
7131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7132 (eval $ac_compile) 2>conftest.er1
7133 ac_status=$?
7134 grep -v '^ *+' conftest.er1 >conftest.err
7135 rm -f conftest.er1
7136 cat conftest.err >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } &&
7139 { ac_try='test -z "$ac_c_werror_flag"
7140 || test ! -s conftest.err'
7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 (eval $ac_try) 2>&5
7143 ac_status=$?
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; } &&
7146 { ac_try='test -s conftest.$ac_objext'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 (eval $ac_try) 2>&5
7149 ac_status=$?
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }; then
7152 ac_cv_type_u_int32_t=yes
7153 else
7154 echo "$as_me: failed program was:" >&5
7155 sed 's/^/| /' conftest.$ac_ext >&5
7156
7157 ac_cv_type_u_int32_t=no
7158 fi
7159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7160 fi
7161 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7162 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7163 if test $ac_cv_type_u_int32_t = yes; then
7164 acx_cv_header_stdint=$i
7165 else
7166 continue
7167 fi
7168
7169 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7170 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7171 if test "${ac_cv_type_u_int64_t+set}" = set; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 else
7174 cat >conftest.$ac_ext <<_ACEOF
7175 /* confdefs.h. */
7176 _ACEOF
7177 cat confdefs.h >>conftest.$ac_ext
7178 cat >>conftest.$ac_ext <<_ACEOF
7179 /* end confdefs.h. */
7180 #include <sys/types.h>
7181 #include <$i>
7182
7183 int
7184 main ()
7185 {
7186 if ((u_int64_t *) 0)
7187 return 0;
7188 if (sizeof (u_int64_t))
7189 return 0;
7190 ;
7191 return 0;
7192 }
7193 _ACEOF
7194 rm -f conftest.$ac_objext
7195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7196 (eval $ac_compile) 2>conftest.er1
7197 ac_status=$?
7198 grep -v '^ *+' conftest.er1 >conftest.err
7199 rm -f conftest.er1
7200 cat conftest.err >&5
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); } &&
7203 { ac_try='test -z "$ac_c_werror_flag"
7204 || test ! -s conftest.err'
7205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 (eval $ac_try) 2>&5
7207 ac_status=$?
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); }; } &&
7210 { ac_try='test -s conftest.$ac_objext'
7211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7212 (eval $ac_try) 2>&5
7213 ac_status=$?
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); }; }; then
7216 ac_cv_type_u_int64_t=yes
7217 else
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7220
7221 ac_cv_type_u_int64_t=no
7222 fi
7223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7224 fi
7225 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7226 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7227
7228 break
7229 done
7230 fi
7231 if test "$acx_cv_header_stdint" = stddef.h; then
7232 acx_cv_header_stdint_kind="(using manual detection)"
7233 fi
7234
7235 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7236 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7237 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7238 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7239 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7240
7241 # ----------------- Summarize what we found so far
7242
7243 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7244 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7245
7246 case `$as_basename gstdint.h ||
7247 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7248 Xgstdint.h : 'X\(//\)$' \| \
7249 Xgstdint.h : 'X\(/\)$' \| \
7250 . : '\(.\)' 2>/dev/null ||
7251 echo X/gstdint.h |
7252 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7253 /^X\/\(\/\/\)$/{ s//\1/; q; }
7254 /^X\/\(\/\).*/{ s//\1/; q; }
7255 s/.*/./; q'` in
7256 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7257 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7258 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7259 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7260 *) ;;
7261 esac
7262
7263 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7264 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7265
7266 # ----------------- done included file, check C basic types --------
7267
7268 # Lacking an uintptr_t? Test size of void *
7269 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7270 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7271 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7272 if test "${ac_cv_type_void_p+set}" = set; then
7273 echo $ECHO_N "(cached) $ECHO_C" >&6
7274 else
7275 cat >conftest.$ac_ext <<_ACEOF
7276 /* confdefs.h. */
7277 _ACEOF
7278 cat confdefs.h >>conftest.$ac_ext
7279 cat >>conftest.$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 $ac_includes_default
7282 int
7283 main ()
7284 {
7285 if ((void * *) 0)
7286 return 0;
7287 if (sizeof (void *))
7288 return 0;
7289 ;
7290 return 0;
7291 }
7292 _ACEOF
7293 rm -f conftest.$ac_objext
7294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7295 (eval $ac_compile) 2>conftest.er1
7296 ac_status=$?
7297 grep -v '^ *+' conftest.er1 >conftest.err
7298 rm -f conftest.er1
7299 cat conftest.err >&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } &&
7302 { ac_try='test -z "$ac_c_werror_flag"
7303 || test ! -s conftest.err'
7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7305 (eval $ac_try) 2>&5
7306 ac_status=$?
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); }; } &&
7309 { ac_try='test -s conftest.$ac_objext'
7310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311 (eval $ac_try) 2>&5
7312 ac_status=$?
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); }; }; then
7315 ac_cv_type_void_p=yes
7316 else
7317 echo "$as_me: failed program was:" >&5
7318 sed 's/^/| /' conftest.$ac_ext >&5
7319
7320 ac_cv_type_void_p=no
7321 fi
7322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7323 fi
7324 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7325 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7326
7327 echo "$as_me:$LINENO: checking size of void *" >&5
7328 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7329 if test "${ac_cv_sizeof_void_p+set}" = set; then
7330 echo $ECHO_N "(cached) $ECHO_C" >&6
7331 else
7332 if test "$ac_cv_type_void_p" = yes; then
7333 # The cast to unsigned long works around a bug in the HP C Compiler
7334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7336 # This bug is HP SR number 8606223364.
7337 if test "$cross_compiling" = yes; then
7338 # Depending upon the size, compute the lo and hi bounds.
7339 cat >conftest.$ac_ext <<_ACEOF
7340 /* confdefs.h. */
7341 _ACEOF
7342 cat confdefs.h >>conftest.$ac_ext
7343 cat >>conftest.$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7345 $ac_includes_default
7346 int
7347 main ()
7348 {
7349 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7350 test_array [0] = 0
7351
7352 ;
7353 return 0;
7354 }
7355 _ACEOF
7356 rm -f conftest.$ac_objext
7357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7358 (eval $ac_compile) 2>conftest.er1
7359 ac_status=$?
7360 grep -v '^ *+' conftest.er1 >conftest.err
7361 rm -f conftest.er1
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try='test -z "$ac_c_werror_flag"
7366 || test ! -s conftest.err'
7367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 (eval $ac_try) 2>&5
7369 ac_status=$?
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); }; } &&
7372 { ac_try='test -s conftest.$ac_objext'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 (eval $ac_try) 2>&5
7375 ac_status=$?
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; }; then
7378 ac_lo=0 ac_mid=0
7379 while :; do
7380 cat >conftest.$ac_ext <<_ACEOF
7381 /* confdefs.h. */
7382 _ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 $ac_includes_default
7387 int
7388 main ()
7389 {
7390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7391 test_array [0] = 0
7392
7393 ;
7394 return 0;
7395 }
7396 _ACEOF
7397 rm -f conftest.$ac_objext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399 (eval $ac_compile) 2>conftest.er1
7400 ac_status=$?
7401 grep -v '^ *+' conftest.er1 >conftest.err
7402 rm -f conftest.er1
7403 cat conftest.err >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } &&
7406 { ac_try='test -z "$ac_c_werror_flag"
7407 || test ! -s conftest.err'
7408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409 (eval $ac_try) 2>&5
7410 ac_status=$?
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); }; } &&
7413 { ac_try='test -s conftest.$ac_objext'
7414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 (eval $ac_try) 2>&5
7416 ac_status=$?
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); }; }; then
7419 ac_hi=$ac_mid; break
7420 else
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.$ac_ext >&5
7423
7424 ac_lo=`expr $ac_mid + 1`
7425 if test $ac_lo -le $ac_mid; then
7426 ac_lo= ac_hi=
7427 break
7428 fi
7429 ac_mid=`expr 2 '*' $ac_mid + 1`
7430 fi
7431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7432 done
7433 else
7434 echo "$as_me: failed program was:" >&5
7435 sed 's/^/| /' conftest.$ac_ext >&5
7436
7437 cat >conftest.$ac_ext <<_ACEOF
7438 /* confdefs.h. */
7439 _ACEOF
7440 cat confdefs.h >>conftest.$ac_ext
7441 cat >>conftest.$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 $ac_includes_default
7444 int
7445 main ()
7446 {
7447 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7448 test_array [0] = 0
7449
7450 ;
7451 return 0;
7452 }
7453 _ACEOF
7454 rm -f conftest.$ac_objext
7455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7456 (eval $ac_compile) 2>conftest.er1
7457 ac_status=$?
7458 grep -v '^ *+' conftest.er1 >conftest.err
7459 rm -f conftest.er1
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } &&
7463 { ac_try='test -z "$ac_c_werror_flag"
7464 || test ! -s conftest.err'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 (eval $ac_try) 2>&5
7467 ac_status=$?
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; } &&
7470 { ac_try='test -s conftest.$ac_objext'
7471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 (eval $ac_try) 2>&5
7473 ac_status=$?
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_hi=-1 ac_mid=-1
7477 while :; do
7478 cat >conftest.$ac_ext <<_ACEOF
7479 /* confdefs.h. */
7480 _ACEOF
7481 cat confdefs.h >>conftest.$ac_ext
7482 cat >>conftest.$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7484 $ac_includes_default
7485 int
7486 main ()
7487 {
7488 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7489 test_array [0] = 0
7490
7491 ;
7492 return 0;
7493 }
7494 _ACEOF
7495 rm -f conftest.$ac_objext
7496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7497 (eval $ac_compile) 2>conftest.er1
7498 ac_status=$?
7499 grep -v '^ *+' conftest.er1 >conftest.err
7500 rm -f conftest.er1
7501 cat conftest.err >&5
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); } &&
7504 { ac_try='test -z "$ac_c_werror_flag"
7505 || test ! -s conftest.err'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 (eval $ac_try) 2>&5
7508 ac_status=$?
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; } &&
7511 { ac_try='test -s conftest.$ac_objext'
7512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 (eval $ac_try) 2>&5
7514 ac_status=$?
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }; }; then
7517 ac_lo=$ac_mid; break
7518 else
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.$ac_ext >&5
7521
7522 ac_hi=`expr '(' $ac_mid ')' - 1`
7523 if test $ac_mid -le $ac_hi; then
7524 ac_lo= ac_hi=
7525 break
7526 fi
7527 ac_mid=`expr 2 '*' $ac_mid`
7528 fi
7529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7530 done
7531 else
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7534
7535 ac_lo= ac_hi=
7536 fi
7537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7538 fi
7539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7540 # Binary search between lo and hi bounds.
7541 while test "x$ac_lo" != "x$ac_hi"; do
7542 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7543 cat >conftest.$ac_ext <<_ACEOF
7544 /* confdefs.h. */
7545 _ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 $ac_includes_default
7550 int
7551 main ()
7552 {
7553 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7554 test_array [0] = 0
7555
7556 ;
7557 return 0;
7558 }
7559 _ACEOF
7560 rm -f conftest.$ac_objext
7561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7562 (eval $ac_compile) 2>conftest.er1
7563 ac_status=$?
7564 grep -v '^ *+' conftest.er1 >conftest.err
7565 rm -f conftest.er1
7566 cat conftest.err >&5
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); } &&
7569 { ac_try='test -z "$ac_c_werror_flag"
7570 || test ! -s conftest.err'
7571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 (eval $ac_try) 2>&5
7573 ac_status=$?
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); }; } &&
7576 { ac_try='test -s conftest.$ac_objext'
7577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7578 (eval $ac_try) 2>&5
7579 ac_status=$?
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); }; }; then
7582 ac_hi=$ac_mid
7583 else
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.$ac_ext >&5
7586
7587 ac_lo=`expr '(' $ac_mid ')' + 1`
7588 fi
7589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7590 done
7591 case $ac_lo in
7592 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7593 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7594 See \`config.log' for more details." >&5
7595 echo "$as_me: error: cannot compute sizeof (void *), 77
7596 See \`config.log' for more details." >&2;}
7597 { (exit 1); exit 1; }; } ;;
7598 esac
7599 else
7600 if test "$cross_compiling" = yes; then
7601 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7602 See \`config.log' for more details." >&5
7603 echo "$as_me: error: cannot run test program while cross compiling
7604 See \`config.log' for more details." >&2;}
7605 { (exit 1); exit 1; }; }
7606 else
7607 cat >conftest.$ac_ext <<_ACEOF
7608 /* confdefs.h. */
7609 _ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 $ac_includes_default
7614 long longval () { return (long) (sizeof (void *)); }
7615 unsigned long ulongval () { return (long) (sizeof (void *)); }
7616 #include <stdio.h>
7617 #include <stdlib.h>
7618 int
7619 main ()
7620 {
7621
7622 FILE *f = fopen ("conftest.val", "w");
7623 if (! f)
7624 exit (1);
7625 if (((long) (sizeof (void *))) < 0)
7626 {
7627 long i = longval ();
7628 if (i != ((long) (sizeof (void *))))
7629 exit (1);
7630 fprintf (f, "%ld\n", i);
7631 }
7632 else
7633 {
7634 unsigned long i = ulongval ();
7635 if (i != ((long) (sizeof (void *))))
7636 exit (1);
7637 fprintf (f, "%lu\n", i);
7638 }
7639 exit (ferror (f) || fclose (f) != 0);
7640
7641 ;
7642 return 0;
7643 }
7644 _ACEOF
7645 rm -f conftest$ac_exeext
7646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7647 (eval $ac_link) 2>&5
7648 ac_status=$?
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 (eval $ac_try) 2>&5
7653 ac_status=$?
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }; }; then
7656 ac_cv_sizeof_void_p=`cat conftest.val`
7657 else
7658 echo "$as_me: program exited with status $ac_status" >&5
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7661
7662 ( exit $ac_status )
7663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7664 See \`config.log' for more details." >&5
7665 echo "$as_me: error: cannot compute sizeof (void *), 77
7666 See \`config.log' for more details." >&2;}
7667 { (exit 1); exit 1; }; }
7668 fi
7669 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7670 fi
7671 fi
7672 rm -f conftest.val
7673 else
7674 ac_cv_sizeof_void_p=0
7675 fi
7676 fi
7677 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7678 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7679 cat >>confdefs.h <<_ACEOF
7680 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7681 _ACEOF
7682
7683 ;;
7684 esac
7685
7686 # Lacking an uint64_t? Test size of long
7687 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7688 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7689 echo $ECHO_N "checking for long... $ECHO_C" >&6
7690 if test "${ac_cv_type_long+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 else
7693 cat >conftest.$ac_ext <<_ACEOF
7694 /* confdefs.h. */
7695 _ACEOF
7696 cat confdefs.h >>conftest.$ac_ext
7697 cat >>conftest.$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7699 $ac_includes_default
7700 int
7701 main ()
7702 {
7703 if ((long *) 0)
7704 return 0;
7705 if (sizeof (long))
7706 return 0;
7707 ;
7708 return 0;
7709 }
7710 _ACEOF
7711 rm -f conftest.$ac_objext
7712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7713 (eval $ac_compile) 2>conftest.er1
7714 ac_status=$?
7715 grep -v '^ *+' conftest.er1 >conftest.err
7716 rm -f conftest.er1
7717 cat conftest.err >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } &&
7720 { ac_try='test -z "$ac_c_werror_flag"
7721 || test ! -s conftest.err'
7722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7723 (eval $ac_try) 2>&5
7724 ac_status=$?
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); }; } &&
7727 { ac_try='test -s conftest.$ac_objext'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7729 (eval $ac_try) 2>&5
7730 ac_status=$?
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; }; then
7733 ac_cv_type_long=yes
7734 else
7735 echo "$as_me: failed program was:" >&5
7736 sed 's/^/| /' conftest.$ac_ext >&5
7737
7738 ac_cv_type_long=no
7739 fi
7740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7741 fi
7742 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7743 echo "${ECHO_T}$ac_cv_type_long" >&6
7744
7745 echo "$as_me:$LINENO: checking size of long" >&5
7746 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7747 if test "${ac_cv_sizeof_long+set}" = set; then
7748 echo $ECHO_N "(cached) $ECHO_C" >&6
7749 else
7750 if test "$ac_cv_type_long" = yes; then
7751 # The cast to unsigned long works around a bug in the HP C Compiler
7752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7754 # This bug is HP SR number 8606223364.
7755 if test "$cross_compiling" = yes; then
7756 # Depending upon the size, compute the lo and hi bounds.
7757 cat >conftest.$ac_ext <<_ACEOF
7758 /* confdefs.h. */
7759 _ACEOF
7760 cat confdefs.h >>conftest.$ac_ext
7761 cat >>conftest.$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7763 $ac_includes_default
7764 int
7765 main ()
7766 {
7767 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7768 test_array [0] = 0
7769
7770 ;
7771 return 0;
7772 }
7773 _ACEOF
7774 rm -f conftest.$ac_objext
7775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7776 (eval $ac_compile) 2>conftest.er1
7777 ac_status=$?
7778 grep -v '^ *+' conftest.er1 >conftest.err
7779 rm -f conftest.er1
7780 cat conftest.err >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } &&
7783 { ac_try='test -z "$ac_c_werror_flag"
7784 || test ! -s conftest.err'
7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7786 (eval $ac_try) 2>&5
7787 ac_status=$?
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }; } &&
7790 { ac_try='test -s conftest.$ac_objext'
7791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7792 (eval $ac_try) 2>&5
7793 ac_status=$?
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); }; }; then
7796 ac_lo=0 ac_mid=0
7797 while :; do
7798 cat >conftest.$ac_ext <<_ACEOF
7799 /* confdefs.h. */
7800 _ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7804 $ac_includes_default
7805 int
7806 main ()
7807 {
7808 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7809 test_array [0] = 0
7810
7811 ;
7812 return 0;
7813 }
7814 _ACEOF
7815 rm -f conftest.$ac_objext
7816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7817 (eval $ac_compile) 2>conftest.er1
7818 ac_status=$?
7819 grep -v '^ *+' conftest.er1 >conftest.err
7820 rm -f conftest.er1
7821 cat conftest.err >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try='test -z "$ac_c_werror_flag"
7825 || test ! -s conftest.err'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7827 (eval $ac_try) 2>&5
7828 ac_status=$?
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try='test -s conftest.$ac_objext'
7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 (eval $ac_try) 2>&5
7834 ac_status=$?
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then
7837 ac_hi=$ac_mid; break
7838 else
7839 echo "$as_me: failed program was:" >&5
7840 sed 's/^/| /' conftest.$ac_ext >&5
7841
7842 ac_lo=`expr $ac_mid + 1`
7843 if test $ac_lo -le $ac_mid; then
7844 ac_lo= ac_hi=
7845 break
7846 fi
7847 ac_mid=`expr 2 '*' $ac_mid + 1`
7848 fi
7849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7850 done
7851 else
7852 echo "$as_me: failed program was:" >&5
7853 sed 's/^/| /' conftest.$ac_ext >&5
7854
7855 cat >conftest.$ac_ext <<_ACEOF
7856 /* confdefs.h. */
7857 _ACEOF
7858 cat confdefs.h >>conftest.$ac_ext
7859 cat >>conftest.$ac_ext <<_ACEOF
7860 /* end confdefs.h. */
7861 $ac_includes_default
7862 int
7863 main ()
7864 {
7865 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7866 test_array [0] = 0
7867
7868 ;
7869 return 0;
7870 }
7871 _ACEOF
7872 rm -f conftest.$ac_objext
7873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7874 (eval $ac_compile) 2>conftest.er1
7875 ac_status=$?
7876 grep -v '^ *+' conftest.er1 >conftest.err
7877 rm -f conftest.er1
7878 cat conftest.err >&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } &&
7881 { ac_try='test -z "$ac_c_werror_flag"
7882 || test ! -s conftest.err'
7883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7884 (eval $ac_try) 2>&5
7885 ac_status=$?
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); }; } &&
7888 { ac_try='test -s conftest.$ac_objext'
7889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7890 (eval $ac_try) 2>&5
7891 ac_status=$?
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); }; }; then
7894 ac_hi=-1 ac_mid=-1
7895 while :; do
7896 cat >conftest.$ac_ext <<_ACEOF
7897 /* confdefs.h. */
7898 _ACEOF
7899 cat confdefs.h >>conftest.$ac_ext
7900 cat >>conftest.$ac_ext <<_ACEOF
7901 /* end confdefs.h. */
7902 $ac_includes_default
7903 int
7904 main ()
7905 {
7906 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7907 test_array [0] = 0
7908
7909 ;
7910 return 0;
7911 }
7912 _ACEOF
7913 rm -f conftest.$ac_objext
7914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7915 (eval $ac_compile) 2>conftest.er1
7916 ac_status=$?
7917 grep -v '^ *+' conftest.er1 >conftest.err
7918 rm -f conftest.er1
7919 cat conftest.err >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); } &&
7922 { ac_try='test -z "$ac_c_werror_flag"
7923 || test ! -s conftest.err'
7924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 (eval $ac_try) 2>&5
7926 ac_status=$?
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); }; } &&
7929 { ac_try='test -s conftest.$ac_objext'
7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7931 (eval $ac_try) 2>&5
7932 ac_status=$?
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; }; then
7935 ac_lo=$ac_mid; break
7936 else
7937 echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.$ac_ext >&5
7939
7940 ac_hi=`expr '(' $ac_mid ')' - 1`
7941 if test $ac_mid -le $ac_hi; then
7942 ac_lo= ac_hi=
7943 break
7944 fi
7945 ac_mid=`expr 2 '*' $ac_mid`
7946 fi
7947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7948 done
7949 else
7950 echo "$as_me: failed program was:" >&5
7951 sed 's/^/| /' conftest.$ac_ext >&5
7952
7953 ac_lo= ac_hi=
7954 fi
7955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7956 fi
7957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7958 # Binary search between lo and hi bounds.
7959 while test "x$ac_lo" != "x$ac_hi"; do
7960 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7961 cat >conftest.$ac_ext <<_ACEOF
7962 /* confdefs.h. */
7963 _ACEOF
7964 cat confdefs.h >>conftest.$ac_ext
7965 cat >>conftest.$ac_ext <<_ACEOF
7966 /* end confdefs.h. */
7967 $ac_includes_default
7968 int
7969 main ()
7970 {
7971 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7972 test_array [0] = 0
7973
7974 ;
7975 return 0;
7976 }
7977 _ACEOF
7978 rm -f conftest.$ac_objext
7979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7980 (eval $ac_compile) 2>conftest.er1
7981 ac_status=$?
7982 grep -v '^ *+' conftest.er1 >conftest.err
7983 rm -f conftest.er1
7984 cat conftest.err >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } &&
7987 { ac_try='test -z "$ac_c_werror_flag"
7988 || test ! -s conftest.err'
7989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 (eval $ac_try) 2>&5
7991 ac_status=$?
7992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993 (exit $ac_status); }; } &&
7994 { ac_try='test -s conftest.$ac_objext'
7995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7996 (eval $ac_try) 2>&5
7997 ac_status=$?
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); }; }; then
8000 ac_hi=$ac_mid
8001 else
8002 echo "$as_me: failed program was:" >&5
8003 sed 's/^/| /' conftest.$ac_ext >&5
8004
8005 ac_lo=`expr '(' $ac_mid ')' + 1`
8006 fi
8007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8008 done
8009 case $ac_lo in
8010 ?*) ac_cv_sizeof_long=$ac_lo;;
8011 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8012 See \`config.log' for more details." >&5
8013 echo "$as_me: error: cannot compute sizeof (long), 77
8014 See \`config.log' for more details." >&2;}
8015 { (exit 1); exit 1; }; } ;;
8016 esac
8017 else
8018 if test "$cross_compiling" = yes; then
8019 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8020 See \`config.log' for more details." >&5
8021 echo "$as_me: error: cannot run test program while cross compiling
8022 See \`config.log' for more details." >&2;}
8023 { (exit 1); exit 1; }; }
8024 else
8025 cat >conftest.$ac_ext <<_ACEOF
8026 /* confdefs.h. */
8027 _ACEOF
8028 cat confdefs.h >>conftest.$ac_ext
8029 cat >>conftest.$ac_ext <<_ACEOF
8030 /* end confdefs.h. */
8031 $ac_includes_default
8032 long longval () { return (long) (sizeof (long)); }
8033 unsigned long ulongval () { return (long) (sizeof (long)); }
8034 #include <stdio.h>
8035 #include <stdlib.h>
8036 int
8037 main ()
8038 {
8039
8040 FILE *f = fopen ("conftest.val", "w");
8041 if (! f)
8042 exit (1);
8043 if (((long) (sizeof (long))) < 0)
8044 {
8045 long i = longval ();
8046 if (i != ((long) (sizeof (long))))
8047 exit (1);
8048 fprintf (f, "%ld\n", i);
8049 }
8050 else
8051 {
8052 unsigned long i = ulongval ();
8053 if (i != ((long) (sizeof (long))))
8054 exit (1);
8055 fprintf (f, "%lu\n", i);
8056 }
8057 exit (ferror (f) || fclose (f) != 0);
8058
8059 ;
8060 return 0;
8061 }
8062 _ACEOF
8063 rm -f conftest$ac_exeext
8064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8065 (eval $ac_link) 2>&5
8066 ac_status=$?
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8070 (eval $ac_try) 2>&5
8071 ac_status=$?
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; }; then
8074 ac_cv_sizeof_long=`cat conftest.val`
8075 else
8076 echo "$as_me: program exited with status $ac_status" >&5
8077 echo "$as_me: failed program was:" >&5
8078 sed 's/^/| /' conftest.$ac_ext >&5
8079
8080 ( exit $ac_status )
8081 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8082 See \`config.log' for more details." >&5
8083 echo "$as_me: error: cannot compute sizeof (long), 77
8084 See \`config.log' for more details." >&2;}
8085 { (exit 1); exit 1; }; }
8086 fi
8087 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8088 fi
8089 fi
8090 rm -f conftest.val
8091 else
8092 ac_cv_sizeof_long=0
8093 fi
8094 fi
8095 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8096 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8097 cat >>confdefs.h <<_ACEOF
8098 #define SIZEOF_LONG $ac_cv_sizeof_long
8099 _ACEOF
8100
8101 ;;
8102 esac
8103
8104 if test $acx_cv_header_stdint = stddef.h; then
8105 # Lacking a good header? Test size of everything and deduce all types.
8106 echo "$as_me:$LINENO: checking for int" >&5
8107 echo $ECHO_N "checking for int... $ECHO_C" >&6
8108 if test "${ac_cv_type_int+set}" = set; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8110 else
8111 cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h. */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8117 $ac_includes_default
8118 int
8119 main ()
8120 {
8121 if ((int *) 0)
8122 return 0;
8123 if (sizeof (int))
8124 return 0;
8125 ;
8126 return 0;
8127 }
8128 _ACEOF
8129 rm -f conftest.$ac_objext
8130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8131 (eval $ac_compile) 2>conftest.er1
8132 ac_status=$?
8133 grep -v '^ *+' conftest.er1 >conftest.err
8134 rm -f conftest.er1
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } &&
8138 { ac_try='test -z "$ac_c_werror_flag"
8139 || test ! -s conftest.err'
8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 (eval $ac_try) 2>&5
8142 ac_status=$?
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); }; } &&
8145 { ac_try='test -s conftest.$ac_objext'
8146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 (eval $ac_try) 2>&5
8148 ac_status=$?
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); }; }; then
8151 ac_cv_type_int=yes
8152 else
8153 echo "$as_me: failed program was:" >&5
8154 sed 's/^/| /' conftest.$ac_ext >&5
8155
8156 ac_cv_type_int=no
8157 fi
8158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8159 fi
8160 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8161 echo "${ECHO_T}$ac_cv_type_int" >&6
8162
8163 echo "$as_me:$LINENO: checking size of int" >&5
8164 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8165 if test "${ac_cv_sizeof_int+set}" = set; then
8166 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 else
8168 if test "$ac_cv_type_int" = yes; then
8169 # The cast to unsigned long works around a bug in the HP C Compiler
8170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8172 # This bug is HP SR number 8606223364.
8173 if test "$cross_compiling" = yes; then
8174 # Depending upon the size, compute the lo and hi bounds.
8175 cat >conftest.$ac_ext <<_ACEOF
8176 /* confdefs.h. */
8177 _ACEOF
8178 cat confdefs.h >>conftest.$ac_ext
8179 cat >>conftest.$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8181 $ac_includes_default
8182 int
8183 main ()
8184 {
8185 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8186 test_array [0] = 0
8187
8188 ;
8189 return 0;
8190 }
8191 _ACEOF
8192 rm -f conftest.$ac_objext
8193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8194 (eval $ac_compile) 2>conftest.er1
8195 ac_status=$?
8196 grep -v '^ *+' conftest.er1 >conftest.err
8197 rm -f conftest.er1
8198 cat conftest.err >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } &&
8201 { ac_try='test -z "$ac_c_werror_flag"
8202 || test ! -s conftest.err'
8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 (eval $ac_try) 2>&5
8205 ac_status=$?
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; } &&
8208 { ac_try='test -s conftest.$ac_objext'
8209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210 (eval $ac_try) 2>&5
8211 ac_status=$?
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); }; }; then
8214 ac_lo=0 ac_mid=0
8215 while :; do
8216 cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h. */
8218 _ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 $ac_includes_default
8223 int
8224 main ()
8225 {
8226 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8227 test_array [0] = 0
8228
8229 ;
8230 return 0;
8231 }
8232 _ACEOF
8233 rm -f conftest.$ac_objext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8235 (eval $ac_compile) 2>conftest.er1
8236 ac_status=$?
8237 grep -v '^ *+' conftest.er1 >conftest.err
8238 rm -f conftest.er1
8239 cat conftest.err >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try='test -s conftest.$ac_objext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 (eval $ac_try) 2>&5
8252 ac_status=$?
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_hi=$ac_mid; break
8256 else
8257 echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.$ac_ext >&5
8259
8260 ac_lo=`expr $ac_mid + 1`
8261 if test $ac_lo -le $ac_mid; then
8262 ac_lo= ac_hi=
8263 break
8264 fi
8265 ac_mid=`expr 2 '*' $ac_mid + 1`
8266 fi
8267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8268 done
8269 else
8270 echo "$as_me: failed program was:" >&5
8271 sed 's/^/| /' conftest.$ac_ext >&5
8272
8273 cat >conftest.$ac_ext <<_ACEOF
8274 /* confdefs.h. */
8275 _ACEOF
8276 cat confdefs.h >>conftest.$ac_ext
8277 cat >>conftest.$ac_ext <<_ACEOF
8278 /* end confdefs.h. */
8279 $ac_includes_default
8280 int
8281 main ()
8282 {
8283 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8284 test_array [0] = 0
8285
8286 ;
8287 return 0;
8288 }
8289 _ACEOF
8290 rm -f conftest.$ac_objext
8291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8292 (eval $ac_compile) 2>conftest.er1
8293 ac_status=$?
8294 grep -v '^ *+' conftest.er1 >conftest.err
8295 rm -f conftest.er1
8296 cat conftest.err >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); } &&
8299 { ac_try='test -z "$ac_c_werror_flag"
8300 || test ! -s conftest.err'
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); }; } &&
8306 { ac_try='test -s conftest.$ac_objext'
8307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8308 (eval $ac_try) 2>&5
8309 ac_status=$?
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); }; }; then
8312 ac_hi=-1 ac_mid=-1
8313 while :; do
8314 cat >conftest.$ac_ext <<_ACEOF
8315 /* confdefs.h. */
8316 _ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8320 $ac_includes_default
8321 int
8322 main ()
8323 {
8324 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8325 test_array [0] = 0
8326
8327 ;
8328 return 0;
8329 }
8330 _ACEOF
8331 rm -f conftest.$ac_objext
8332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8333 (eval $ac_compile) 2>conftest.er1
8334 ac_status=$?
8335 grep -v '^ *+' conftest.er1 >conftest.err
8336 rm -f conftest.er1
8337 cat conftest.err >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } &&
8340 { ac_try='test -z "$ac_c_werror_flag"
8341 || test ! -s conftest.err'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343 (eval $ac_try) 2>&5
8344 ac_status=$?
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; } &&
8347 { ac_try='test -s conftest.$ac_objext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8349 (eval $ac_try) 2>&5
8350 ac_status=$?
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 ac_lo=$ac_mid; break
8354 else
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.$ac_ext >&5
8357
8358 ac_hi=`expr '(' $ac_mid ')' - 1`
8359 if test $ac_mid -le $ac_hi; then
8360 ac_lo= ac_hi=
8361 break
8362 fi
8363 ac_mid=`expr 2 '*' $ac_mid`
8364 fi
8365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8366 done
8367 else
8368 echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.$ac_ext >&5
8370
8371 ac_lo= ac_hi=
8372 fi
8373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8374 fi
8375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8376 # Binary search between lo and hi bounds.
8377 while test "x$ac_lo" != "x$ac_hi"; do
8378 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8379 cat >conftest.$ac_ext <<_ACEOF
8380 /* confdefs.h. */
8381 _ACEOF
8382 cat confdefs.h >>conftest.$ac_ext
8383 cat >>conftest.$ac_ext <<_ACEOF
8384 /* end confdefs.h. */
8385 $ac_includes_default
8386 int
8387 main ()
8388 {
8389 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8390 test_array [0] = 0
8391
8392 ;
8393 return 0;
8394 }
8395 _ACEOF
8396 rm -f conftest.$ac_objext
8397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8398 (eval $ac_compile) 2>conftest.er1
8399 ac_status=$?
8400 grep -v '^ *+' conftest.er1 >conftest.err
8401 rm -f conftest.er1
8402 cat conftest.err >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); } &&
8405 { ac_try='test -z "$ac_c_werror_flag"
8406 || test ! -s conftest.err'
8407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 (eval $ac_try) 2>&5
8409 ac_status=$?
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); }; } &&
8412 { ac_try='test -s conftest.$ac_objext'
8413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414 (eval $ac_try) 2>&5
8415 ac_status=$?
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); }; }; then
8418 ac_hi=$ac_mid
8419 else
8420 echo "$as_me: failed program was:" >&5
8421 sed 's/^/| /' conftest.$ac_ext >&5
8422
8423 ac_lo=`expr '(' $ac_mid ')' + 1`
8424 fi
8425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8426 done
8427 case $ac_lo in
8428 ?*) ac_cv_sizeof_int=$ac_lo;;
8429 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8430 See \`config.log' for more details." >&5
8431 echo "$as_me: error: cannot compute sizeof (int), 77
8432 See \`config.log' for more details." >&2;}
8433 { (exit 1); exit 1; }; } ;;
8434 esac
8435 else
8436 if test "$cross_compiling" = yes; then
8437 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8438 See \`config.log' for more details." >&5
8439 echo "$as_me: error: cannot run test program while cross compiling
8440 See \`config.log' for more details." >&2;}
8441 { (exit 1); exit 1; }; }
8442 else
8443 cat >conftest.$ac_ext <<_ACEOF
8444 /* confdefs.h. */
8445 _ACEOF
8446 cat confdefs.h >>conftest.$ac_ext
8447 cat >>conftest.$ac_ext <<_ACEOF
8448 /* end confdefs.h. */
8449 $ac_includes_default
8450 long longval () { return (long) (sizeof (int)); }
8451 unsigned long ulongval () { return (long) (sizeof (int)); }
8452 #include <stdio.h>
8453 #include <stdlib.h>
8454 int
8455 main ()
8456 {
8457
8458 FILE *f = fopen ("conftest.val", "w");
8459 if (! f)
8460 exit (1);
8461 if (((long) (sizeof (int))) < 0)
8462 {
8463 long i = longval ();
8464 if (i != ((long) (sizeof (int))))
8465 exit (1);
8466 fprintf (f, "%ld\n", i);
8467 }
8468 else
8469 {
8470 unsigned long i = ulongval ();
8471 if (i != ((long) (sizeof (int))))
8472 exit (1);
8473 fprintf (f, "%lu\n", i);
8474 }
8475 exit (ferror (f) || fclose (f) != 0);
8476
8477 ;
8478 return 0;
8479 }
8480 _ACEOF
8481 rm -f conftest$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>&5
8484 ac_status=$?
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 (eval $ac_try) 2>&5
8489 ac_status=$?
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; }; then
8492 ac_cv_sizeof_int=`cat conftest.val`
8493 else
8494 echo "$as_me: program exited with status $ac_status" >&5
8495 echo "$as_me: failed program was:" >&5
8496 sed 's/^/| /' conftest.$ac_ext >&5
8497
8498 ( exit $ac_status )
8499 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8500 See \`config.log' for more details." >&5
8501 echo "$as_me: error: cannot compute sizeof (int), 77
8502 See \`config.log' for more details." >&2;}
8503 { (exit 1); exit 1; }; }
8504 fi
8505 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8506 fi
8507 fi
8508 rm -f conftest.val
8509 else
8510 ac_cv_sizeof_int=0
8511 fi
8512 fi
8513 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8514 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8515 cat >>confdefs.h <<_ACEOF
8516 #define SIZEOF_INT $ac_cv_sizeof_int
8517 _ACEOF
8518
8519
8520 echo "$as_me:$LINENO: checking for short" >&5
8521 echo $ECHO_N "checking for short... $ECHO_C" >&6
8522 if test "${ac_cv_type_short+set}" = set; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 else
8525 cat >conftest.$ac_ext <<_ACEOF
8526 /* confdefs.h. */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8531 $ac_includes_default
8532 int
8533 main ()
8534 {
8535 if ((short *) 0)
8536 return 0;
8537 if (sizeof (short))
8538 return 0;
8539 ;
8540 return 0;
8541 }
8542 _ACEOF
8543 rm -f conftest.$ac_objext
8544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8545 (eval $ac_compile) 2>conftest.er1
8546 ac_status=$?
8547 grep -v '^ *+' conftest.er1 >conftest.err
8548 rm -f conftest.er1
8549 cat conftest.err >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } &&
8552 { ac_try='test -z "$ac_c_werror_flag"
8553 || test ! -s conftest.err'
8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 (eval $ac_try) 2>&5
8556 ac_status=$?
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; } &&
8559 { ac_try='test -s conftest.$ac_objext'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8561 (eval $ac_try) 2>&5
8562 ac_status=$?
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; }; then
8565 ac_cv_type_short=yes
8566 else
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8569
8570 ac_cv_type_short=no
8571 fi
8572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8573 fi
8574 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8575 echo "${ECHO_T}$ac_cv_type_short" >&6
8576
8577 echo "$as_me:$LINENO: checking size of short" >&5
8578 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8579 if test "${ac_cv_sizeof_short+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8581 else
8582 if test "$ac_cv_type_short" = yes; then
8583 # The cast to unsigned long works around a bug in the HP C Compiler
8584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8586 # This bug is HP SR number 8606223364.
8587 if test "$cross_compiling" = yes; then
8588 # Depending upon the size, compute the lo and hi bounds.
8589 cat >conftest.$ac_ext <<_ACEOF
8590 /* confdefs.h. */
8591 _ACEOF
8592 cat confdefs.h >>conftest.$ac_ext
8593 cat >>conftest.$ac_ext <<_ACEOF
8594 /* end confdefs.h. */
8595 $ac_includes_default
8596 int
8597 main ()
8598 {
8599 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8600 test_array [0] = 0
8601
8602 ;
8603 return 0;
8604 }
8605 _ACEOF
8606 rm -f conftest.$ac_objext
8607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8608 (eval $ac_compile) 2>conftest.er1
8609 ac_status=$?
8610 grep -v '^ *+' conftest.er1 >conftest.err
8611 rm -f conftest.er1
8612 cat conftest.err >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } &&
8615 { ac_try='test -z "$ac_c_werror_flag"
8616 || test ! -s conftest.err'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 (eval $ac_try) 2>&5
8619 ac_status=$?
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; } &&
8622 { ac_try='test -s conftest.$ac_objext'
8623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624 (eval $ac_try) 2>&5
8625 ac_status=$?
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; }; then
8628 ac_lo=0 ac_mid=0
8629 while :; do
8630 cat >conftest.$ac_ext <<_ACEOF
8631 /* confdefs.h. */
8632 _ACEOF
8633 cat confdefs.h >>conftest.$ac_ext
8634 cat >>conftest.$ac_ext <<_ACEOF
8635 /* end confdefs.h. */
8636 $ac_includes_default
8637 int
8638 main ()
8639 {
8640 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8641 test_array [0] = 0
8642
8643 ;
8644 return 0;
8645 }
8646 _ACEOF
8647 rm -f conftest.$ac_objext
8648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8649 (eval $ac_compile) 2>conftest.er1
8650 ac_status=$?
8651 grep -v '^ *+' conftest.er1 >conftest.err
8652 rm -f conftest.er1
8653 cat conftest.err >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } &&
8656 { ac_try='test -z "$ac_c_werror_flag"
8657 || test ! -s conftest.err'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 (eval $ac_try) 2>&5
8660 ac_status=$?
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; } &&
8663 { ac_try='test -s conftest.$ac_objext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 (eval $ac_try) 2>&5
8666 ac_status=$?
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 ac_hi=$ac_mid; break
8670 else
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.$ac_ext >&5
8673
8674 ac_lo=`expr $ac_mid + 1`
8675 if test $ac_lo -le $ac_mid; then
8676 ac_lo= ac_hi=
8677 break
8678 fi
8679 ac_mid=`expr 2 '*' $ac_mid + 1`
8680 fi
8681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8682 done
8683 else
8684 echo "$as_me: failed program was:" >&5
8685 sed 's/^/| /' conftest.$ac_ext >&5
8686
8687 cat >conftest.$ac_ext <<_ACEOF
8688 /* confdefs.h. */
8689 _ACEOF
8690 cat confdefs.h >>conftest.$ac_ext
8691 cat >>conftest.$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8693 $ac_includes_default
8694 int
8695 main ()
8696 {
8697 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8698 test_array [0] = 0
8699
8700 ;
8701 return 0;
8702 }
8703 _ACEOF
8704 rm -f conftest.$ac_objext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8706 (eval $ac_compile) 2>conftest.er1
8707 ac_status=$?
8708 grep -v '^ *+' conftest.er1 >conftest.err
8709 rm -f conftest.er1
8710 cat conftest.err >&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); } &&
8713 { ac_try='test -z "$ac_c_werror_flag"
8714 || test ! -s conftest.err'
8715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 (eval $ac_try) 2>&5
8717 ac_status=$?
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); }; } &&
8720 { ac_try='test -s conftest.$ac_objext'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722 (eval $ac_try) 2>&5
8723 ac_status=$?
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; }; then
8726 ac_hi=-1 ac_mid=-1
8727 while :; do
8728 cat >conftest.$ac_ext <<_ACEOF
8729 /* confdefs.h. */
8730 _ACEOF
8731 cat confdefs.h >>conftest.$ac_ext
8732 cat >>conftest.$ac_ext <<_ACEOF
8733 /* end confdefs.h. */
8734 $ac_includes_default
8735 int
8736 main ()
8737 {
8738 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8739 test_array [0] = 0
8740
8741 ;
8742 return 0;
8743 }
8744 _ACEOF
8745 rm -f conftest.$ac_objext
8746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8747 (eval $ac_compile) 2>conftest.er1
8748 ac_status=$?
8749 grep -v '^ *+' conftest.er1 >conftest.err
8750 rm -f conftest.er1
8751 cat conftest.err >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } &&
8754 { ac_try='test -z "$ac_c_werror_flag"
8755 || test ! -s conftest.err'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 (eval $ac_try) 2>&5
8758 ac_status=$?
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; } &&
8761 { ac_try='test -s conftest.$ac_objext'
8762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763 (eval $ac_try) 2>&5
8764 ac_status=$?
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); }; }; then
8767 ac_lo=$ac_mid; break
8768 else
8769 echo "$as_me: failed program was:" >&5
8770 sed 's/^/| /' conftest.$ac_ext >&5
8771
8772 ac_hi=`expr '(' $ac_mid ')' - 1`
8773 if test $ac_mid -le $ac_hi; then
8774 ac_lo= ac_hi=
8775 break
8776 fi
8777 ac_mid=`expr 2 '*' $ac_mid`
8778 fi
8779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8780 done
8781 else
8782 echo "$as_me: failed program was:" >&5
8783 sed 's/^/| /' conftest.$ac_ext >&5
8784
8785 ac_lo= ac_hi=
8786 fi
8787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8788 fi
8789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8790 # Binary search between lo and hi bounds.
8791 while test "x$ac_lo" != "x$ac_hi"; do
8792 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8793 cat >conftest.$ac_ext <<_ACEOF
8794 /* confdefs.h. */
8795 _ACEOF
8796 cat confdefs.h >>conftest.$ac_ext
8797 cat >>conftest.$ac_ext <<_ACEOF
8798 /* end confdefs.h. */
8799 $ac_includes_default
8800 int
8801 main ()
8802 {
8803 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8804 test_array [0] = 0
8805
8806 ;
8807 return 0;
8808 }
8809 _ACEOF
8810 rm -f conftest.$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>conftest.er1
8813 ac_status=$?
8814 grep -v '^ *+' conftest.er1 >conftest.err
8815 rm -f conftest.er1
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try='test -z "$ac_c_werror_flag"
8820 || test ! -s conftest.err'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 (eval $ac_try) 2>&5
8823 ac_status=$?
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; } &&
8826 { ac_try='test -s conftest.$ac_objext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 (eval $ac_try) 2>&5
8829 ac_status=$?
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 ac_hi=$ac_mid
8833 else
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8836
8837 ac_lo=`expr '(' $ac_mid ')' + 1`
8838 fi
8839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8840 done
8841 case $ac_lo in
8842 ?*) ac_cv_sizeof_short=$ac_lo;;
8843 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8844 See \`config.log' for more details." >&5
8845 echo "$as_me: error: cannot compute sizeof (short), 77
8846 See \`config.log' for more details." >&2;}
8847 { (exit 1); exit 1; }; } ;;
8848 esac
8849 else
8850 if test "$cross_compiling" = yes; then
8851 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8852 See \`config.log' for more details." >&5
8853 echo "$as_me: error: cannot run test program while cross compiling
8854 See \`config.log' for more details." >&2;}
8855 { (exit 1); exit 1; }; }
8856 else
8857 cat >conftest.$ac_ext <<_ACEOF
8858 /* confdefs.h. */
8859 _ACEOF
8860 cat confdefs.h >>conftest.$ac_ext
8861 cat >>conftest.$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8863 $ac_includes_default
8864 long longval () { return (long) (sizeof (short)); }
8865 unsigned long ulongval () { return (long) (sizeof (short)); }
8866 #include <stdio.h>
8867 #include <stdlib.h>
8868 int
8869 main ()
8870 {
8871
8872 FILE *f = fopen ("conftest.val", "w");
8873 if (! f)
8874 exit (1);
8875 if (((long) (sizeof (short))) < 0)
8876 {
8877 long i = longval ();
8878 if (i != ((long) (sizeof (short))))
8879 exit (1);
8880 fprintf (f, "%ld\n", i);
8881 }
8882 else
8883 {
8884 unsigned long i = ulongval ();
8885 if (i != ((long) (sizeof (short))))
8886 exit (1);
8887 fprintf (f, "%lu\n", i);
8888 }
8889 exit (ferror (f) || fclose (f) != 0);
8890
8891 ;
8892 return 0;
8893 }
8894 _ACEOF
8895 rm -f conftest$ac_exeext
8896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8897 (eval $ac_link) 2>&5
8898 ac_status=$?
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 (eval $ac_try) 2>&5
8903 ac_status=$?
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); }; }; then
8906 ac_cv_sizeof_short=`cat conftest.val`
8907 else
8908 echo "$as_me: program exited with status $ac_status" >&5
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.$ac_ext >&5
8911
8912 ( exit $ac_status )
8913 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8914 See \`config.log' for more details." >&5
8915 echo "$as_me: error: cannot compute sizeof (short), 77
8916 See \`config.log' for more details." >&2;}
8917 { (exit 1); exit 1; }; }
8918 fi
8919 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8920 fi
8921 fi
8922 rm -f conftest.val
8923 else
8924 ac_cv_sizeof_short=0
8925 fi
8926 fi
8927 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8928 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8929 cat >>confdefs.h <<_ACEOF
8930 #define SIZEOF_SHORT $ac_cv_sizeof_short
8931 _ACEOF
8932
8933
8934 echo "$as_me:$LINENO: checking for char" >&5
8935 echo $ECHO_N "checking for char... $ECHO_C" >&6
8936 if test "${ac_cv_type_char+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8938 else
8939 cat >conftest.$ac_ext <<_ACEOF
8940 /* confdefs.h. */
8941 _ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8945 $ac_includes_default
8946 int
8947 main ()
8948 {
8949 if ((char *) 0)
8950 return 0;
8951 if (sizeof (char))
8952 return 0;
8953 ;
8954 return 0;
8955 }
8956 _ACEOF
8957 rm -f conftest.$ac_objext
8958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8959 (eval $ac_compile) 2>conftest.er1
8960 ac_status=$?
8961 grep -v '^ *+' conftest.er1 >conftest.err
8962 rm -f conftest.er1
8963 cat conftest.err >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } &&
8966 { ac_try='test -z "$ac_c_werror_flag"
8967 || test ! -s conftest.err'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 (eval $ac_try) 2>&5
8970 ac_status=$?
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; } &&
8973 { ac_try='test -s conftest.$ac_objext'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 (eval $ac_try) 2>&5
8976 ac_status=$?
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; }; then
8979 ac_cv_type_char=yes
8980 else
8981 echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.$ac_ext >&5
8983
8984 ac_cv_type_char=no
8985 fi
8986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8987 fi
8988 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
8989 echo "${ECHO_T}$ac_cv_type_char" >&6
8990
8991 echo "$as_me:$LINENO: checking size of char" >&5
8992 echo $ECHO_N "checking size of char... $ECHO_C" >&6
8993 if test "${ac_cv_sizeof_char+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 else
8996 if test "$ac_cv_type_char" = yes; then
8997 # The cast to unsigned long works around a bug in the HP C Compiler
8998 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8999 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9000 # This bug is HP SR number 8606223364.
9001 if test "$cross_compiling" = yes; then
9002 # Depending upon the size, compute the lo and hi bounds.
9003 cat >conftest.$ac_ext <<_ACEOF
9004 /* confdefs.h. */
9005 _ACEOF
9006 cat confdefs.h >>conftest.$ac_ext
9007 cat >>conftest.$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9009 $ac_includes_default
9010 int
9011 main ()
9012 {
9013 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9014 test_array [0] = 0
9015
9016 ;
9017 return 0;
9018 }
9019 _ACEOF
9020 rm -f conftest.$ac_objext
9021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9022 (eval $ac_compile) 2>conftest.er1
9023 ac_status=$?
9024 grep -v '^ *+' conftest.er1 >conftest.err
9025 rm -f conftest.er1
9026 cat conftest.err >&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); } &&
9029 { ac_try='test -z "$ac_c_werror_flag"
9030 || test ! -s conftest.err'
9031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032 (eval $ac_try) 2>&5
9033 ac_status=$?
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 (exit $ac_status); }; } &&
9036 { ac_try='test -s conftest.$ac_objext'
9037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9038 (eval $ac_try) 2>&5
9039 ac_status=$?
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); }; }; then
9042 ac_lo=0 ac_mid=0
9043 while :; do
9044 cat >conftest.$ac_ext <<_ACEOF
9045 /* confdefs.h. */
9046 _ACEOF
9047 cat confdefs.h >>conftest.$ac_ext
9048 cat >>conftest.$ac_ext <<_ACEOF
9049 /* end confdefs.h. */
9050 $ac_includes_default
9051 int
9052 main ()
9053 {
9054 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9055 test_array [0] = 0
9056
9057 ;
9058 return 0;
9059 }
9060 _ACEOF
9061 rm -f conftest.$ac_objext
9062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9063 (eval $ac_compile) 2>conftest.er1
9064 ac_status=$?
9065 grep -v '^ *+' conftest.er1 >conftest.err
9066 rm -f conftest.er1
9067 cat conftest.err >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try='test -z "$ac_c_werror_flag"
9071 || test ! -s conftest.err'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 (eval $ac_try) 2>&5
9074 ac_status=$?
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; } &&
9077 { ac_try='test -s conftest.$ac_objext'
9078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079 (eval $ac_try) 2>&5
9080 ac_status=$?
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); }; }; then
9083 ac_hi=$ac_mid; break
9084 else
9085 echo "$as_me: failed program was:" >&5
9086 sed 's/^/| /' conftest.$ac_ext >&5
9087
9088 ac_lo=`expr $ac_mid + 1`
9089 if test $ac_lo -le $ac_mid; then
9090 ac_lo= ac_hi=
9091 break
9092 fi
9093 ac_mid=`expr 2 '*' $ac_mid + 1`
9094 fi
9095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9096 done
9097 else
9098 echo "$as_me: failed program was:" >&5
9099 sed 's/^/| /' conftest.$ac_ext >&5
9100
9101 cat >conftest.$ac_ext <<_ACEOF
9102 /* confdefs.h. */
9103 _ACEOF
9104 cat confdefs.h >>conftest.$ac_ext
9105 cat >>conftest.$ac_ext <<_ACEOF
9106 /* end confdefs.h. */
9107 $ac_includes_default
9108 int
9109 main ()
9110 {
9111 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9112 test_array [0] = 0
9113
9114 ;
9115 return 0;
9116 }
9117 _ACEOF
9118 rm -f conftest.$ac_objext
9119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9120 (eval $ac_compile) 2>conftest.er1
9121 ac_status=$?
9122 grep -v '^ *+' conftest.er1 >conftest.err
9123 rm -f conftest.er1
9124 cat conftest.err >&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); } &&
9127 { ac_try='test -z "$ac_c_werror_flag"
9128 || test ! -s conftest.err'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 (eval $ac_try) 2>&5
9131 ac_status=$?
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; } &&
9134 { ac_try='test -s conftest.$ac_objext'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9136 (eval $ac_try) 2>&5
9137 ac_status=$?
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 ac_hi=-1 ac_mid=-1
9141 while :; do
9142 cat >conftest.$ac_ext <<_ACEOF
9143 /* confdefs.h. */
9144 _ACEOF
9145 cat confdefs.h >>conftest.$ac_ext
9146 cat >>conftest.$ac_ext <<_ACEOF
9147 /* end confdefs.h. */
9148 $ac_includes_default
9149 int
9150 main ()
9151 {
9152 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9153 test_array [0] = 0
9154
9155 ;
9156 return 0;
9157 }
9158 _ACEOF
9159 rm -f conftest.$ac_objext
9160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9161 (eval $ac_compile) 2>conftest.er1
9162 ac_status=$?
9163 grep -v '^ *+' conftest.er1 >conftest.err
9164 rm -f conftest.er1
9165 cat conftest.err >&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } &&
9168 { ac_try='test -z "$ac_c_werror_flag"
9169 || test ! -s conftest.err'
9170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 (eval $ac_try) 2>&5
9172 ac_status=$?
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); }; } &&
9175 { ac_try='test -s conftest.$ac_objext'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 (eval $ac_try) 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; }; then
9181 ac_lo=$ac_mid; break
9182 else
9183 echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.$ac_ext >&5
9185
9186 ac_hi=`expr '(' $ac_mid ')' - 1`
9187 if test $ac_mid -le $ac_hi; then
9188 ac_lo= ac_hi=
9189 break
9190 fi
9191 ac_mid=`expr 2 '*' $ac_mid`
9192 fi
9193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9194 done
9195 else
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9198
9199 ac_lo= ac_hi=
9200 fi
9201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9202 fi
9203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9204 # Binary search between lo and hi bounds.
9205 while test "x$ac_lo" != "x$ac_hi"; do
9206 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9207 cat >conftest.$ac_ext <<_ACEOF
9208 /* confdefs.h. */
9209 _ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9213 $ac_includes_default
9214 int
9215 main ()
9216 {
9217 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9218 test_array [0] = 0
9219
9220 ;
9221 return 0;
9222 }
9223 _ACEOF
9224 rm -f conftest.$ac_objext
9225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9226 (eval $ac_compile) 2>conftest.er1
9227 ac_status=$?
9228 grep -v '^ *+' conftest.er1 >conftest.err
9229 rm -f conftest.er1
9230 cat conftest.err >&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } &&
9233 { ac_try='test -z "$ac_c_werror_flag"
9234 || test ! -s conftest.err'
9235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9236 (eval $ac_try) 2>&5
9237 ac_status=$?
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; } &&
9240 { ac_try='test -s conftest.$ac_objext'
9241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9242 (eval $ac_try) 2>&5
9243 ac_status=$?
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); }; }; then
9246 ac_hi=$ac_mid
9247 else
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.$ac_ext >&5
9250
9251 ac_lo=`expr '(' $ac_mid ')' + 1`
9252 fi
9253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9254 done
9255 case $ac_lo in
9256 ?*) ac_cv_sizeof_char=$ac_lo;;
9257 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9258 See \`config.log' for more details." >&5
9259 echo "$as_me: error: cannot compute sizeof (char), 77
9260 See \`config.log' for more details." >&2;}
9261 { (exit 1); exit 1; }; } ;;
9262 esac
9263 else
9264 if test "$cross_compiling" = yes; then
9265 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9266 See \`config.log' for more details." >&5
9267 echo "$as_me: error: cannot run test program while cross compiling
9268 See \`config.log' for more details." >&2;}
9269 { (exit 1); exit 1; }; }
9270 else
9271 cat >conftest.$ac_ext <<_ACEOF
9272 /* confdefs.h. */
9273 _ACEOF
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9277 $ac_includes_default
9278 long longval () { return (long) (sizeof (char)); }
9279 unsigned long ulongval () { return (long) (sizeof (char)); }
9280 #include <stdio.h>
9281 #include <stdlib.h>
9282 int
9283 main ()
9284 {
9285
9286 FILE *f = fopen ("conftest.val", "w");
9287 if (! f)
9288 exit (1);
9289 if (((long) (sizeof (char))) < 0)
9290 {
9291 long i = longval ();
9292 if (i != ((long) (sizeof (char))))
9293 exit (1);
9294 fprintf (f, "%ld\n", i);
9295 }
9296 else
9297 {
9298 unsigned long i = ulongval ();
9299 if (i != ((long) (sizeof (char))))
9300 exit (1);
9301 fprintf (f, "%lu\n", i);
9302 }
9303 exit (ferror (f) || fclose (f) != 0);
9304
9305 ;
9306 return 0;
9307 }
9308 _ACEOF
9309 rm -f conftest$ac_exeext
9310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9311 (eval $ac_link) 2>&5
9312 ac_status=$?
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9316 (eval $ac_try) 2>&5
9317 ac_status=$?
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; }; then
9320 ac_cv_sizeof_char=`cat conftest.val`
9321 else
9322 echo "$as_me: program exited with status $ac_status" >&5
9323 echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.$ac_ext >&5
9325
9326 ( exit $ac_status )
9327 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9328 See \`config.log' for more details." >&5
9329 echo "$as_me: error: cannot compute sizeof (char), 77
9330 See \`config.log' for more details." >&2;}
9331 { (exit 1); exit 1; }; }
9332 fi
9333 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9334 fi
9335 fi
9336 rm -f conftest.val
9337 else
9338 ac_cv_sizeof_char=0
9339 fi
9340 fi
9341 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9342 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9343 cat >>confdefs.h <<_ACEOF
9344 #define SIZEOF_CHAR $ac_cv_sizeof_char
9345 _ACEOF
9346
9347
9348
9349 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9350 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9351 case "$ac_cv_sizeof_char" in
9352 1) acx_cv_type_int8_t=char ;;
9353 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9354 echo "$as_me: error: no 8-bit type" >&2;}
9355 { (exit please report a bug); exit please report a bug; }; }
9356 esac
9357 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9358 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9359
9360 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9361 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9362 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9363 2:*) acx_cv_type_int16_t=int ;;
9364 *:2) acx_cv_type_int16_t=short ;;
9365 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9366 echo "$as_me: error: no 16-bit type" >&2;}
9367 { (exit please report a bug); exit please report a bug; }; }
9368 esac
9369 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9370 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9371
9372 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9373 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9374 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9375 4:*) acx_cv_type_int32_t=int ;;
9376 *:4) acx_cv_type_int32_t=long ;;
9377 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9378 echo "$as_me: error: no 32-bit type" >&2;}
9379 { (exit please report a bug); exit please report a bug; }; }
9380 esac
9381 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9382 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9383 fi
9384
9385 # These tests are here to make the output prettier
9386
9387 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9388 case "$ac_cv_sizeof_long" in
9389 8) acx_cv_type_int64_t=long ;;
9390 esac
9391 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9392 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9393 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9394 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9395 fi
9396
9397 # Now we can use the above types
9398
9399 if test "$ac_cv_type_uintptr_t" != yes; then
9400 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9401 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9402 case $ac_cv_sizeof_void_p in
9403 2) acx_cv_type_intptr_t=int16_t ;;
9404 4) acx_cv_type_intptr_t=int32_t ;;
9405 8) acx_cv_type_intptr_t=int64_t ;;
9406 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9407 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9408 { (exit please report a bug); exit please report a bug; }; }
9409 esac
9410 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9411 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9412 fi
9413
9414 # ----------------- done all checks, emit header -------------
9415 ac_config_commands="$ac_config_commands gstdint.h"
9416
9417
9418
9419
9420 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9421 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9422 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9423 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 else
9425 cat >conftest.$ac_ext <<_ACEOF
9426 /* confdefs.h. */
9427 _ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9431 $ac_includes_default
9432 int
9433 main ()
9434 {
9435 static struct stat ac_aggr;
9436 if (ac_aggr.st_blksize)
9437 return 0;
9438 ;
9439 return 0;
9440 }
9441 _ACEOF
9442 rm -f conftest.$ac_objext
9443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9444 (eval $ac_compile) 2>conftest.er1
9445 ac_status=$?
9446 grep -v '^ *+' conftest.er1 >conftest.err
9447 rm -f conftest.er1
9448 cat conftest.err >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } &&
9451 { ac_try='test -z "$ac_c_werror_flag"
9452 || test ! -s conftest.err'
9453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 (eval $ac_try) 2>&5
9455 ac_status=$?
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); }; } &&
9458 { ac_try='test -s conftest.$ac_objext'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 (eval $ac_try) 2>&5
9461 ac_status=$?
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 ac_cv_member_struct_stat_st_blksize=yes
9465 else
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9468
9469 cat >conftest.$ac_ext <<_ACEOF
9470 /* confdefs.h. */
9471 _ACEOF
9472 cat confdefs.h >>conftest.$ac_ext
9473 cat >>conftest.$ac_ext <<_ACEOF
9474 /* end confdefs.h. */
9475 $ac_includes_default
9476 int
9477 main ()
9478 {
9479 static struct stat ac_aggr;
9480 if (sizeof ac_aggr.st_blksize)
9481 return 0;
9482 ;
9483 return 0;
9484 }
9485 _ACEOF
9486 rm -f conftest.$ac_objext
9487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9488 (eval $ac_compile) 2>conftest.er1
9489 ac_status=$?
9490 grep -v '^ *+' conftest.er1 >conftest.err
9491 rm -f conftest.er1
9492 cat conftest.err >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } &&
9495 { ac_try='test -z "$ac_c_werror_flag"
9496 || test ! -s conftest.err'
9497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 (eval $ac_try) 2>&5
9499 ac_status=$?
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; } &&
9502 { ac_try='test -s conftest.$ac_objext'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 (eval $ac_try) 2>&5
9505 ac_status=$?
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; }; then
9508 ac_cv_member_struct_stat_st_blksize=yes
9509 else
9510 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.$ac_ext >&5
9512
9513 ac_cv_member_struct_stat_st_blksize=no
9514 fi
9515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9516 fi
9517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9518 fi
9519 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9520 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9521 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9522
9523 cat >>confdefs.h <<_ACEOF
9524 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9525 _ACEOF
9526
9527
9528 fi
9529
9530 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9531 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9532 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9534 else
9535 cat >conftest.$ac_ext <<_ACEOF
9536 /* confdefs.h. */
9537 _ACEOF
9538 cat confdefs.h >>conftest.$ac_ext
9539 cat >>conftest.$ac_ext <<_ACEOF
9540 /* end confdefs.h. */
9541 $ac_includes_default
9542 int
9543 main ()
9544 {
9545 static struct stat ac_aggr;
9546 if (ac_aggr.st_blocks)
9547 return 0;
9548 ;
9549 return 0;
9550 }
9551 _ACEOF
9552 rm -f conftest.$ac_objext
9553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9554 (eval $ac_compile) 2>conftest.er1
9555 ac_status=$?
9556 grep -v '^ *+' conftest.er1 >conftest.err
9557 rm -f conftest.er1
9558 cat conftest.err >&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); } &&
9561 { ac_try='test -z "$ac_c_werror_flag"
9562 || test ! -s conftest.err'
9563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9564 (eval $ac_try) 2>&5
9565 ac_status=$?
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); }; } &&
9568 { ac_try='test -s conftest.$ac_objext'
9569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 (eval $ac_try) 2>&5
9571 ac_status=$?
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); }; }; then
9574 ac_cv_member_struct_stat_st_blocks=yes
9575 else
9576 echo "$as_me: failed program was:" >&5
9577 sed 's/^/| /' conftest.$ac_ext >&5
9578
9579 cat >conftest.$ac_ext <<_ACEOF
9580 /* confdefs.h. */
9581 _ACEOF
9582 cat confdefs.h >>conftest.$ac_ext
9583 cat >>conftest.$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9585 $ac_includes_default
9586 int
9587 main ()
9588 {
9589 static struct stat ac_aggr;
9590 if (sizeof ac_aggr.st_blocks)
9591 return 0;
9592 ;
9593 return 0;
9594 }
9595 _ACEOF
9596 rm -f conftest.$ac_objext
9597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9598 (eval $ac_compile) 2>conftest.er1
9599 ac_status=$?
9600 grep -v '^ *+' conftest.er1 >conftest.err
9601 rm -f conftest.er1
9602 cat conftest.err >&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); } &&
9605 { ac_try='test -z "$ac_c_werror_flag"
9606 || test ! -s conftest.err'
9607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 (eval $ac_try) 2>&5
9609 ac_status=$?
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); }; } &&
9612 { ac_try='test -s conftest.$ac_objext'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9614 (eval $ac_try) 2>&5
9615 ac_status=$?
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; }; then
9618 ac_cv_member_struct_stat_st_blocks=yes
9619 else
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.$ac_ext >&5
9622
9623 ac_cv_member_struct_stat_st_blocks=no
9624 fi
9625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9626 fi
9627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9628 fi
9629 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9630 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9631 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9632
9633 cat >>confdefs.h <<_ACEOF
9634 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9635 _ACEOF
9636
9637
9638 fi
9639
9640 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9641 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9642 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 else
9645 cat >conftest.$ac_ext <<_ACEOF
9646 /* confdefs.h. */
9647 _ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9651 $ac_includes_default
9652 int
9653 main ()
9654 {
9655 static struct stat ac_aggr;
9656 if (ac_aggr.st_rdev)
9657 return 0;
9658 ;
9659 return 0;
9660 }
9661 _ACEOF
9662 rm -f conftest.$ac_objext
9663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9664 (eval $ac_compile) 2>conftest.er1
9665 ac_status=$?
9666 grep -v '^ *+' conftest.er1 >conftest.err
9667 rm -f conftest.er1
9668 cat conftest.err >&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); } &&
9671 { ac_try='test -z "$ac_c_werror_flag"
9672 || test ! -s conftest.err'
9673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9674 (eval $ac_try) 2>&5
9675 ac_status=$?
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; } &&
9678 { ac_try='test -s conftest.$ac_objext'
9679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9680 (eval $ac_try) 2>&5
9681 ac_status=$?
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); }; }; then
9684 ac_cv_member_struct_stat_st_rdev=yes
9685 else
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9688
9689 cat >conftest.$ac_ext <<_ACEOF
9690 /* confdefs.h. */
9691 _ACEOF
9692 cat confdefs.h >>conftest.$ac_ext
9693 cat >>conftest.$ac_ext <<_ACEOF
9694 /* end confdefs.h. */
9695 $ac_includes_default
9696 int
9697 main ()
9698 {
9699 static struct stat ac_aggr;
9700 if (sizeof ac_aggr.st_rdev)
9701 return 0;
9702 ;
9703 return 0;
9704 }
9705 _ACEOF
9706 rm -f conftest.$ac_objext
9707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9708 (eval $ac_compile) 2>conftest.er1
9709 ac_status=$?
9710 grep -v '^ *+' conftest.er1 >conftest.err
9711 rm -f conftest.er1
9712 cat conftest.err >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); } &&
9715 { ac_try='test -z "$ac_c_werror_flag"
9716 || test ! -s conftest.err'
9717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9718 (eval $ac_try) 2>&5
9719 ac_status=$?
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); }; } &&
9722 { ac_try='test -s conftest.$ac_objext'
9723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9724 (eval $ac_try) 2>&5
9725 ac_status=$?
9726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727 (exit $ac_status); }; }; then
9728 ac_cv_member_struct_stat_st_rdev=yes
9729 else
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.$ac_ext >&5
9732
9733 ac_cv_member_struct_stat_st_rdev=no
9734 fi
9735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9736 fi
9737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9738 fi
9739 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9740 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9741 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9742
9743 cat >>confdefs.h <<_ACEOF
9744 #define HAVE_STRUCT_STAT_ST_RDEV 1
9745 _ACEOF
9746
9747
9748 fi
9749
9750
9751 # Check for library functions.
9752
9753
9754
9755
9756
9757
9758
9759
9760 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9761 do
9762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9763 echo "$as_me:$LINENO: checking for $ac_func" >&5
9764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9765 if eval "test \"\${$as_ac_var+set}\" = set"; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 else
9768 if test x$gcc_no_link = xyes; then
9769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9771 { (exit 1); exit 1; }; }
9772 fi
9773 cat >conftest.$ac_ext <<_ACEOF
9774 /* confdefs.h. */
9775 _ACEOF
9776 cat confdefs.h >>conftest.$ac_ext
9777 cat >>conftest.$ac_ext <<_ACEOF
9778 /* end confdefs.h. */
9779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9781 #define $ac_func innocuous_$ac_func
9782
9783 /* System header to define __stub macros and hopefully few prototypes,
9784 which can conflict with char $ac_func (); below.
9785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9786 <limits.h> exists even on freestanding compilers. */
9787
9788 #ifdef __STDC__
9789 # include <limits.h>
9790 #else
9791 # include <assert.h>
9792 #endif
9793
9794 #undef $ac_func
9795
9796 /* Override any gcc2 internal prototype to avoid an error. */
9797 #ifdef __cplusplus
9798 extern "C"
9799 {
9800 #endif
9801 /* We use char because int might match the return type of a gcc2
9802 builtin and then its argument prototype would still apply. */
9803 char $ac_func ();
9804 /* The GNU C library defines this for functions which it implements
9805 to always fail with ENOSYS. Some functions are actually named
9806 something starting with __ and the normal name is an alias. */
9807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9808 choke me
9809 #else
9810 char (*f) () = $ac_func;
9811 #endif
9812 #ifdef __cplusplus
9813 }
9814 #endif
9815
9816 int
9817 main ()
9818 {
9819 return f != $ac_func;
9820 ;
9821 return 0;
9822 }
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 eval "$as_ac_var=yes"
9847 else
9848 echo "$as_me: failed program was:" >&5
9849 sed 's/^/| /' conftest.$ac_ext >&5
9850
9851 eval "$as_ac_var=no"
9852 fi
9853 rm -f conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 fi
9856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9858 if test `eval echo '${'$as_ac_var'}'` = yes; then
9859 cat >>confdefs.h <<_ACEOF
9860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9861 _ACEOF
9862
9863 fi
9864 done
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
9875 do
9876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9877 echo "$as_me:$LINENO: checking for $ac_func" >&5
9878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9879 if eval "test \"\${$as_ac_var+set}\" = set"; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9881 else
9882 if test x$gcc_no_link = xyes; then
9883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9885 { (exit 1); exit 1; }; }
9886 fi
9887 cat >conftest.$ac_ext <<_ACEOF
9888 /* confdefs.h. */
9889 _ACEOF
9890 cat confdefs.h >>conftest.$ac_ext
9891 cat >>conftest.$ac_ext <<_ACEOF
9892 /* end confdefs.h. */
9893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9895 #define $ac_func innocuous_$ac_func
9896
9897 /* System header to define __stub macros and hopefully few prototypes,
9898 which can conflict with char $ac_func (); below.
9899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9900 <limits.h> exists even on freestanding compilers. */
9901
9902 #ifdef __STDC__
9903 # include <limits.h>
9904 #else
9905 # include <assert.h>
9906 #endif
9907
9908 #undef $ac_func
9909
9910 /* Override any gcc2 internal prototype to avoid an error. */
9911 #ifdef __cplusplus
9912 extern "C"
9913 {
9914 #endif
9915 /* We use char because int might match the return type of a gcc2
9916 builtin and then its argument prototype would still apply. */
9917 char $ac_func ();
9918 /* The GNU C library defines this for functions which it implements
9919 to always fail with ENOSYS. Some functions are actually named
9920 something starting with __ and the normal name is an alias. */
9921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9922 choke me
9923 #else
9924 char (*f) () = $ac_func;
9925 #endif
9926 #ifdef __cplusplus
9927 }
9928 #endif
9929
9930 int
9931 main ()
9932 {
9933 return f != $ac_func;
9934 ;
9935 return 0;
9936 }
9937 _ACEOF
9938 rm -f conftest.$ac_objext conftest$ac_exeext
9939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9940 (eval $ac_link) 2>conftest.er1
9941 ac_status=$?
9942 grep -v '^ *+' conftest.er1 >conftest.err
9943 rm -f conftest.er1
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } &&
9947 { ac_try='test -z "$ac_c_werror_flag"
9948 || test ! -s conftest.err'
9949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950 (eval $ac_try) 2>&5
9951 ac_status=$?
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); }; } &&
9954 { ac_try='test -s conftest$ac_exeext'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 (eval $ac_try) 2>&5
9957 ac_status=$?
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; }; then
9960 eval "$as_ac_var=yes"
9961 else
9962 echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.$ac_ext >&5
9964
9965 eval "$as_ac_var=no"
9966 fi
9967 rm -f conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 fi
9970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9972 if test `eval echo '${'$as_ac_var'}'` = yes; then
9973 cat >>confdefs.h <<_ACEOF
9974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9975 _ACEOF
9976
9977 fi
9978 done
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
9991 do
9992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9993 echo "$as_me:$LINENO: checking for $ac_func" >&5
9994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9995 if eval "test \"\${$as_ac_var+set}\" = set"; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 else
9998 if test x$gcc_no_link = xyes; then
9999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10001 { (exit 1); exit 1; }; }
10002 fi
10003 cat >conftest.$ac_ext <<_ACEOF
10004 /* confdefs.h. */
10005 _ACEOF
10006 cat confdefs.h >>conftest.$ac_ext
10007 cat >>conftest.$ac_ext <<_ACEOF
10008 /* end confdefs.h. */
10009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10011 #define $ac_func innocuous_$ac_func
10012
10013 /* System header to define __stub macros and hopefully few prototypes,
10014 which can conflict with char $ac_func (); below.
10015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10016 <limits.h> exists even on freestanding compilers. */
10017
10018 #ifdef __STDC__
10019 # include <limits.h>
10020 #else
10021 # include <assert.h>
10022 #endif
10023
10024 #undef $ac_func
10025
10026 /* Override any gcc2 internal prototype to avoid an error. */
10027 #ifdef __cplusplus
10028 extern "C"
10029 {
10030 #endif
10031 /* We use char because int might match the return type of a gcc2
10032 builtin and then its argument prototype would still apply. */
10033 char $ac_func ();
10034 /* The GNU C library defines this for functions which it implements
10035 to always fail with ENOSYS. Some functions are actually named
10036 something starting with __ and the normal name is an alias. */
10037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10038 choke me
10039 #else
10040 char (*f) () = $ac_func;
10041 #endif
10042 #ifdef __cplusplus
10043 }
10044 #endif
10045
10046 int
10047 main ()
10048 {
10049 return f != $ac_func;
10050 ;
10051 return 0;
10052 }
10053 _ACEOF
10054 rm -f conftest.$ac_objext conftest$ac_exeext
10055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10056 (eval $ac_link) 2>conftest.er1
10057 ac_status=$?
10058 grep -v '^ *+' conftest.er1 >conftest.err
10059 rm -f conftest.er1
10060 cat conftest.err >&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); } &&
10063 { ac_try='test -z "$ac_c_werror_flag"
10064 || test ! -s conftest.err'
10065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066 (eval $ac_try) 2>&5
10067 ac_status=$?
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); }; } &&
10070 { ac_try='test -s conftest$ac_exeext'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10073 ac_status=$?
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; }; then
10076 eval "$as_ac_var=yes"
10077 else
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10080
10081 eval "$as_ac_var=no"
10082 fi
10083 rm -f conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 fi
10086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10088 if test `eval echo '${'$as_ac_var'}'` = yes; then
10089 cat >>confdefs.h <<_ACEOF
10090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10091 _ACEOF
10092
10093 fi
10094 done
10095
10096
10097
10098 for ac_func in wait setmode
10099 do
10100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10101 echo "$as_me:$LINENO: checking for $ac_func" >&5
10102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10103 if eval "test \"\${$as_ac_var+set}\" = set"; then
10104 echo $ECHO_N "(cached) $ECHO_C" >&6
10105 else
10106 if test x$gcc_no_link = xyes; then
10107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10109 { (exit 1); exit 1; }; }
10110 fi
10111 cat >conftest.$ac_ext <<_ACEOF
10112 /* confdefs.h. */
10113 _ACEOF
10114 cat confdefs.h >>conftest.$ac_ext
10115 cat >>conftest.$ac_ext <<_ACEOF
10116 /* end confdefs.h. */
10117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10119 #define $ac_func innocuous_$ac_func
10120
10121 /* System header to define __stub macros and hopefully few prototypes,
10122 which can conflict with char $ac_func (); below.
10123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10124 <limits.h> exists even on freestanding compilers. */
10125
10126 #ifdef __STDC__
10127 # include <limits.h>
10128 #else
10129 # include <assert.h>
10130 #endif
10131
10132 #undef $ac_func
10133
10134 /* Override any gcc2 internal prototype to avoid an error. */
10135 #ifdef __cplusplus
10136 extern "C"
10137 {
10138 #endif
10139 /* We use char because int might match the return type of a gcc2
10140 builtin and then its argument prototype would still apply. */
10141 char $ac_func ();
10142 /* The GNU C library defines this for functions which it implements
10143 to always fail with ENOSYS. Some functions are actually named
10144 something starting with __ and the normal name is an alias. */
10145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10146 choke me
10147 #else
10148 char (*f) () = $ac_func;
10149 #endif
10150 #ifdef __cplusplus
10151 }
10152 #endif
10153
10154 int
10155 main ()
10156 {
10157 return f != $ac_func;
10158 ;
10159 return 0;
10160 }
10161 _ACEOF
10162 rm -f conftest.$ac_objext conftest$ac_exeext
10163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10164 (eval $ac_link) 2>conftest.er1
10165 ac_status=$?
10166 grep -v '^ *+' conftest.er1 >conftest.err
10167 rm -f conftest.er1
10168 cat conftest.err >&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); } &&
10171 { ac_try='test -z "$ac_c_werror_flag"
10172 || test ! -s conftest.err'
10173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10174 (eval $ac_try) 2>&5
10175 ac_status=$?
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); }; } &&
10178 { ac_try='test -s conftest$ac_exeext'
10179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10180 (eval $ac_try) 2>&5
10181 ac_status=$?
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); }; }; then
10184 eval "$as_ac_var=yes"
10185 else
10186 echo "$as_me: failed program was:" >&5
10187 sed 's/^/| /' conftest.$ac_ext >&5
10188
10189 eval "$as_ac_var=no"
10190 fi
10191 rm -f conftest.err conftest.$ac_objext \
10192 conftest$ac_exeext conftest.$ac_ext
10193 fi
10194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10196 if test `eval echo '${'$as_ac_var'}'` = yes; then
10197 cat >>confdefs.h <<_ACEOF
10198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10199 _ACEOF
10200
10201 fi
10202 done
10203
10204
10205 # Check for types
10206 echo "$as_me:$LINENO: checking for intptr_t" >&5
10207 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10208 if test "${ac_cv_type_intptr_t+set}" = set; then
10209 echo $ECHO_N "(cached) $ECHO_C" >&6
10210 else
10211 cat >conftest.$ac_ext <<_ACEOF
10212 /* confdefs.h. */
10213 _ACEOF
10214 cat confdefs.h >>conftest.$ac_ext
10215 cat >>conftest.$ac_ext <<_ACEOF
10216 /* end confdefs.h. */
10217 $ac_includes_default
10218 int
10219 main ()
10220 {
10221 if ((intptr_t *) 0)
10222 return 0;
10223 if (sizeof (intptr_t))
10224 return 0;
10225 ;
10226 return 0;
10227 }
10228 _ACEOF
10229 rm -f conftest.$ac_objext
10230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10231 (eval $ac_compile) 2>conftest.er1
10232 ac_status=$?
10233 grep -v '^ *+' conftest.er1 >conftest.err
10234 rm -f conftest.er1
10235 cat conftest.err >&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } &&
10238 { ac_try='test -z "$ac_c_werror_flag"
10239 || test ! -s conftest.err'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10242 ac_status=$?
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; } &&
10245 { ac_try='test -s conftest.$ac_objext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10248 ac_status=$?
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 ac_cv_type_intptr_t=yes
10252 else
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.$ac_ext >&5
10255
10256 ac_cv_type_intptr_t=no
10257 fi
10258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10259 fi
10260 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10261 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10262 if test $ac_cv_type_intptr_t = yes; then
10263
10264 cat >>confdefs.h <<_ACEOF
10265 #define HAVE_INTPTR_T 1
10266 _ACEOF
10267
10268
10269 fi
10270
10271
10272 # Check libc for getgid, getpid, getuid
10273 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10274 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10275 if test "${ac_cv_lib_c_getgid+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 else
10278 ac_check_lib_save_LIBS=$LIBS
10279 LIBS="-lc $LIBS"
10280 if test x$gcc_no_link = xyes; then
10281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10283 { (exit 1); exit 1; }; }
10284 fi
10285 cat >conftest.$ac_ext <<_ACEOF
10286 /* confdefs.h. */
10287 _ACEOF
10288 cat confdefs.h >>conftest.$ac_ext
10289 cat >>conftest.$ac_ext <<_ACEOF
10290 /* end confdefs.h. */
10291
10292 /* Override any gcc2 internal prototype to avoid an error. */
10293 #ifdef __cplusplus
10294 extern "C"
10295 #endif
10296 /* We use char because int might match the return type of a gcc2
10297 builtin and then its argument prototype would still apply. */
10298 char getgid ();
10299 int
10300 main ()
10301 {
10302 getgid ();
10303 ;
10304 return 0;
10305 }
10306 _ACEOF
10307 rm -f conftest.$ac_objext conftest$ac_exeext
10308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10309 (eval $ac_link) 2>conftest.er1
10310 ac_status=$?
10311 grep -v '^ *+' conftest.er1 >conftest.err
10312 rm -f conftest.er1
10313 cat conftest.err >&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } &&
10316 { ac_try='test -z "$ac_c_werror_flag"
10317 || test ! -s conftest.err'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10320 ac_status=$?
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; } &&
10323 { ac_try='test -s conftest$ac_exeext'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10326 ac_status=$?
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; }; then
10329 ac_cv_lib_c_getgid=yes
10330 else
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.$ac_ext >&5
10333
10334 ac_cv_lib_c_getgid=no
10335 fi
10336 rm -f conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_lib_save_LIBS
10339 fi
10340 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10341 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10342 if test $ac_cv_lib_c_getgid = yes; then
10343
10344 cat >>confdefs.h <<\_ACEOF
10345 #define HAVE_GETGID 1
10346 _ACEOF
10347
10348 fi
10349
10350 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10351 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10352 if test "${ac_cv_lib_c_getpid+set}" = set; then
10353 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 else
10355 ac_check_lib_save_LIBS=$LIBS
10356 LIBS="-lc $LIBS"
10357 if test x$gcc_no_link = xyes; then
10358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10360 { (exit 1); exit 1; }; }
10361 fi
10362 cat >conftest.$ac_ext <<_ACEOF
10363 /* confdefs.h. */
10364 _ACEOF
10365 cat confdefs.h >>conftest.$ac_ext
10366 cat >>conftest.$ac_ext <<_ACEOF
10367 /* end confdefs.h. */
10368
10369 /* Override any gcc2 internal prototype to avoid an error. */
10370 #ifdef __cplusplus
10371 extern "C"
10372 #endif
10373 /* We use char because int might match the return type of a gcc2
10374 builtin and then its argument prototype would still apply. */
10375 char getpid ();
10376 int
10377 main ()
10378 {
10379 getpid ();
10380 ;
10381 return 0;
10382 }
10383 _ACEOF
10384 rm -f conftest.$ac_objext conftest$ac_exeext
10385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10386 (eval $ac_link) 2>conftest.er1
10387 ac_status=$?
10388 grep -v '^ *+' conftest.er1 >conftest.err
10389 rm -f conftest.er1
10390 cat conftest.err >&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } &&
10393 { ac_try='test -z "$ac_c_werror_flag"
10394 || test ! -s conftest.err'
10395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10396 (eval $ac_try) 2>&5
10397 ac_status=$?
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); }; } &&
10400 { ac_try='test -s conftest$ac_exeext'
10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10402 (eval $ac_try) 2>&5
10403 ac_status=$?
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); }; }; then
10406 ac_cv_lib_c_getpid=yes
10407 else
10408 echo "$as_me: failed program was:" >&5
10409 sed 's/^/| /' conftest.$ac_ext >&5
10410
10411 ac_cv_lib_c_getpid=no
10412 fi
10413 rm -f conftest.err conftest.$ac_objext \
10414 conftest$ac_exeext conftest.$ac_ext
10415 LIBS=$ac_check_lib_save_LIBS
10416 fi
10417 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10418 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10419 if test $ac_cv_lib_c_getpid = yes; then
10420
10421 cat >>confdefs.h <<\_ACEOF
10422 #define HAVE_GETPID 1
10423 _ACEOF
10424
10425 fi
10426
10427 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10428 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10429 if test "${ac_cv_lib_c_getuid+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10431 else
10432 ac_check_lib_save_LIBS=$LIBS
10433 LIBS="-lc $LIBS"
10434 if test x$gcc_no_link = xyes; then
10435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10437 { (exit 1); exit 1; }; }
10438 fi
10439 cat >conftest.$ac_ext <<_ACEOF
10440 /* confdefs.h. */
10441 _ACEOF
10442 cat confdefs.h >>conftest.$ac_ext
10443 cat >>conftest.$ac_ext <<_ACEOF
10444 /* end confdefs.h. */
10445
10446 /* Override any gcc2 internal prototype to avoid an error. */
10447 #ifdef __cplusplus
10448 extern "C"
10449 #endif
10450 /* We use char because int might match the return type of a gcc2
10451 builtin and then its argument prototype would still apply. */
10452 char getuid ();
10453 int
10454 main ()
10455 {
10456 getuid ();
10457 ;
10458 return 0;
10459 }
10460 _ACEOF
10461 rm -f conftest.$ac_objext conftest$ac_exeext
10462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10463 (eval $ac_link) 2>conftest.er1
10464 ac_status=$?
10465 grep -v '^ *+' conftest.er1 >conftest.err
10466 rm -f conftest.er1
10467 cat conftest.err >&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } &&
10470 { ac_try='test -z "$ac_c_werror_flag"
10471 || test ! -s conftest.err'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10474 ac_status=$?
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; } &&
10477 { ac_try='test -s conftest$ac_exeext'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10480 ac_status=$?
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; }; then
10483 ac_cv_lib_c_getuid=yes
10484 else
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.$ac_ext >&5
10487
10488 ac_cv_lib_c_getuid=no
10489 fi
10490 rm -f conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10492 LIBS=$ac_check_lib_save_LIBS
10493 fi
10494 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10495 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10496 if test $ac_cv_lib_c_getuid = yes; then
10497
10498 cat >>confdefs.h <<\_ACEOF
10499 #define HAVE_GETUID 1
10500 _ACEOF
10501
10502 fi
10503
10504
10505 # Check for C99 (and other IEEE) math functions
10506 # ??? This list seems awful long. Is there a better way to test for these?
10507 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10508 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10509 if test "${ac_cv_lib_m_acosf+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10511 else
10512 ac_check_lib_save_LIBS=$LIBS
10513 LIBS="-lm $LIBS"
10514 if test x$gcc_no_link = xyes; then
10515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10517 { (exit 1); exit 1; }; }
10518 fi
10519 cat >conftest.$ac_ext <<_ACEOF
10520 /* confdefs.h. */
10521 _ACEOF
10522 cat confdefs.h >>conftest.$ac_ext
10523 cat >>conftest.$ac_ext <<_ACEOF
10524 /* end confdefs.h. */
10525
10526 /* Override any gcc2 internal prototype to avoid an error. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 /* We use char because int might match the return type of a gcc2
10531 builtin and then its argument prototype would still apply. */
10532 char acosf ();
10533 int
10534 main ()
10535 {
10536 acosf ();
10537 ;
10538 return 0;
10539 }
10540 _ACEOF
10541 rm -f conftest.$ac_objext conftest$ac_exeext
10542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10543 (eval $ac_link) 2>conftest.er1
10544 ac_status=$?
10545 grep -v '^ *+' conftest.er1 >conftest.err
10546 rm -f conftest.er1
10547 cat conftest.err >&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } &&
10550 { ac_try='test -z "$ac_c_werror_flag"
10551 || test ! -s conftest.err'
10552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10554 ac_status=$?
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); }; } &&
10557 { ac_try='test -s conftest$ac_exeext'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10560 ac_status=$?
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10563 ac_cv_lib_m_acosf=yes
10564 else
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.$ac_ext >&5
10567
10568 ac_cv_lib_m_acosf=no
10569 fi
10570 rm -f conftest.err conftest.$ac_objext \
10571 conftest$ac_exeext conftest.$ac_ext
10572 LIBS=$ac_check_lib_save_LIBS
10573 fi
10574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10575 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10576 if test $ac_cv_lib_m_acosf = yes; then
10577
10578 cat >>confdefs.h <<\_ACEOF
10579 #define HAVE_ACOSF 1
10580 _ACEOF
10581
10582 fi
10583
10584 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10585 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10586 if test "${ac_cv_lib_m_acos+set}" = set; then
10587 echo $ECHO_N "(cached) $ECHO_C" >&6
10588 else
10589 ac_check_lib_save_LIBS=$LIBS
10590 LIBS="-lm $LIBS"
10591 if test x$gcc_no_link = xyes; then
10592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10594 { (exit 1); exit 1; }; }
10595 fi
10596 cat >conftest.$ac_ext <<_ACEOF
10597 /* confdefs.h. */
10598 _ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10602
10603 /* Override any gcc2 internal prototype to avoid an error. */
10604 #ifdef __cplusplus
10605 extern "C"
10606 #endif
10607 /* We use char because int might match the return type of a gcc2
10608 builtin and then its argument prototype would still apply. */
10609 char acos ();
10610 int
10611 main ()
10612 {
10613 acos ();
10614 ;
10615 return 0;
10616 }
10617 _ACEOF
10618 rm -f conftest.$ac_objext conftest$ac_exeext
10619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10620 (eval $ac_link) 2>conftest.er1
10621 ac_status=$?
10622 grep -v '^ *+' conftest.er1 >conftest.err
10623 rm -f conftest.er1
10624 cat conftest.err >&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); } &&
10627 { ac_try='test -z "$ac_c_werror_flag"
10628 || test ! -s conftest.err'
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630 (eval $ac_try) 2>&5
10631 ac_status=$?
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; } &&
10634 { ac_try='test -s conftest$ac_exeext'
10635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636 (eval $ac_try) 2>&5
10637 ac_status=$?
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; }; then
10640 ac_cv_lib_m_acos=yes
10641 else
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.$ac_ext >&5
10644
10645 ac_cv_lib_m_acos=no
10646 fi
10647 rm -f conftest.err conftest.$ac_objext \
10648 conftest$ac_exeext conftest.$ac_ext
10649 LIBS=$ac_check_lib_save_LIBS
10650 fi
10651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10652 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10653 if test $ac_cv_lib_m_acos = yes; then
10654
10655 cat >>confdefs.h <<\_ACEOF
10656 #define HAVE_ACOS 1
10657 _ACEOF
10658
10659 fi
10660
10661 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10662 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10663 if test "${ac_cv_lib_m_acosl+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 else
10666 ac_check_lib_save_LIBS=$LIBS
10667 LIBS="-lm $LIBS"
10668 if test x$gcc_no_link = xyes; then
10669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10671 { (exit 1); exit 1; }; }
10672 fi
10673 cat >conftest.$ac_ext <<_ACEOF
10674 /* confdefs.h. */
10675 _ACEOF
10676 cat confdefs.h >>conftest.$ac_ext
10677 cat >>conftest.$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10679
10680 /* Override any gcc2 internal prototype to avoid an error. */
10681 #ifdef __cplusplus
10682 extern "C"
10683 #endif
10684 /* We use char because int might match the return type of a gcc2
10685 builtin and then its argument prototype would still apply. */
10686 char acosl ();
10687 int
10688 main ()
10689 {
10690 acosl ();
10691 ;
10692 return 0;
10693 }
10694 _ACEOF
10695 rm -f conftest.$ac_objext conftest$ac_exeext
10696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10697 (eval $ac_link) 2>conftest.er1
10698 ac_status=$?
10699 grep -v '^ *+' conftest.er1 >conftest.err
10700 rm -f conftest.er1
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } &&
10704 { ac_try='test -z "$ac_c_werror_flag"
10705 || test ! -s conftest.err'
10706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707 (eval $ac_try) 2>&5
10708 ac_status=$?
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); }; } &&
10711 { ac_try='test -s conftest$ac_exeext'
10712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10713 (eval $ac_try) 2>&5
10714 ac_status=$?
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }; }; then
10717 ac_cv_lib_m_acosl=yes
10718 else
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.$ac_ext >&5
10721
10722 ac_cv_lib_m_acosl=no
10723 fi
10724 rm -f conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_lib_save_LIBS
10727 fi
10728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10729 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10730 if test $ac_cv_lib_m_acosl = yes; then
10731
10732 cat >>confdefs.h <<\_ACEOF
10733 #define HAVE_ACOSL 1
10734 _ACEOF
10735
10736 fi
10737
10738 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10739 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10740 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10741 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 else
10743 ac_check_lib_save_LIBS=$LIBS
10744 LIBS="-lm $LIBS"
10745 if test x$gcc_no_link = xyes; then
10746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10748 { (exit 1); exit 1; }; }
10749 fi
10750 cat >conftest.$ac_ext <<_ACEOF
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756
10757 /* Override any gcc2 internal prototype to avoid an error. */
10758 #ifdef __cplusplus
10759 extern "C"
10760 #endif
10761 /* We use char because int might match the return type of a gcc2
10762 builtin and then its argument prototype would still apply. */
10763 char acoshf ();
10764 int
10765 main ()
10766 {
10767 acoshf ();
10768 ;
10769 return 0;
10770 }
10771 _ACEOF
10772 rm -f conftest.$ac_objext conftest$ac_exeext
10773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10774 (eval $ac_link) 2>conftest.er1
10775 ac_status=$?
10776 grep -v '^ *+' conftest.er1 >conftest.err
10777 rm -f conftest.er1
10778 cat conftest.err >&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); } &&
10781 { ac_try='test -z "$ac_c_werror_flag"
10782 || test ! -s conftest.err'
10783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10784 (eval $ac_try) 2>&5
10785 ac_status=$?
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); }; } &&
10788 { ac_try='test -s conftest$ac_exeext'
10789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 (eval $ac_try) 2>&5
10791 ac_status=$?
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; }; then
10794 ac_cv_lib_m_acoshf=yes
10795 else
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10798
10799 ac_cv_lib_m_acoshf=no
10800 fi
10801 rm -f conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_lib_save_LIBS
10804 fi
10805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10806 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10807 if test $ac_cv_lib_m_acoshf = yes; then
10808
10809 cat >>confdefs.h <<\_ACEOF
10810 #define HAVE_ACOSHF 1
10811 _ACEOF
10812
10813 fi
10814
10815 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10816 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10817 if test "${ac_cv_lib_m_acosh+set}" = set; then
10818 echo $ECHO_N "(cached) $ECHO_C" >&6
10819 else
10820 ac_check_lib_save_LIBS=$LIBS
10821 LIBS="-lm $LIBS"
10822 if test x$gcc_no_link = xyes; then
10823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10825 { (exit 1); exit 1; }; }
10826 fi
10827 cat >conftest.$ac_ext <<_ACEOF
10828 /* confdefs.h. */
10829 _ACEOF
10830 cat confdefs.h >>conftest.$ac_ext
10831 cat >>conftest.$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10833
10834 /* Override any gcc2 internal prototype to avoid an error. */
10835 #ifdef __cplusplus
10836 extern "C"
10837 #endif
10838 /* We use char because int might match the return type of a gcc2
10839 builtin and then its argument prototype would still apply. */
10840 char acosh ();
10841 int
10842 main ()
10843 {
10844 acosh ();
10845 ;
10846 return 0;
10847 }
10848 _ACEOF
10849 rm -f conftest.$ac_objext conftest$ac_exeext
10850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10851 (eval $ac_link) 2>conftest.er1
10852 ac_status=$?
10853 grep -v '^ *+' conftest.er1 >conftest.err
10854 rm -f conftest.er1
10855 cat conftest.err >&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); } &&
10858 { ac_try='test -z "$ac_c_werror_flag"
10859 || test ! -s conftest.err'
10860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10861 (eval $ac_try) 2>&5
10862 ac_status=$?
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); }; } &&
10865 { ac_try='test -s conftest$ac_exeext'
10866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10867 (eval $ac_try) 2>&5
10868 ac_status=$?
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; }; then
10871 ac_cv_lib_m_acosh=yes
10872 else
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.$ac_ext >&5
10875
10876 ac_cv_lib_m_acosh=no
10877 fi
10878 rm -f conftest.err conftest.$ac_objext \
10879 conftest$ac_exeext conftest.$ac_ext
10880 LIBS=$ac_check_lib_save_LIBS
10881 fi
10882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
10883 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
10884 if test $ac_cv_lib_m_acosh = yes; then
10885
10886 cat >>confdefs.h <<\_ACEOF
10887 #define HAVE_ACOSH 1
10888 _ACEOF
10889
10890 fi
10891
10892 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
10893 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
10894 if test "${ac_cv_lib_m_acoshl+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 else
10897 ac_check_lib_save_LIBS=$LIBS
10898 LIBS="-lm $LIBS"
10899 if test x$gcc_no_link = xyes; then
10900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10902 { (exit 1); exit 1; }; }
10903 fi
10904 cat >conftest.$ac_ext <<_ACEOF
10905 /* confdefs.h. */
10906 _ACEOF
10907 cat confdefs.h >>conftest.$ac_ext
10908 cat >>conftest.$ac_ext <<_ACEOF
10909 /* end confdefs.h. */
10910
10911 /* Override any gcc2 internal prototype to avoid an error. */
10912 #ifdef __cplusplus
10913 extern "C"
10914 #endif
10915 /* We use char because int might match the return type of a gcc2
10916 builtin and then its argument prototype would still apply. */
10917 char acoshl ();
10918 int
10919 main ()
10920 {
10921 acoshl ();
10922 ;
10923 return 0;
10924 }
10925 _ACEOF
10926 rm -f conftest.$ac_objext conftest$ac_exeext
10927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10928 (eval $ac_link) 2>conftest.er1
10929 ac_status=$?
10930 grep -v '^ *+' conftest.er1 >conftest.err
10931 rm -f conftest.er1
10932 cat conftest.err >&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } &&
10935 { ac_try='test -z "$ac_c_werror_flag"
10936 || test ! -s conftest.err'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10939 ac_status=$?
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; } &&
10942 { ac_try='test -s conftest$ac_exeext'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10945 ac_status=$?
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; }; then
10948 ac_cv_lib_m_acoshl=yes
10949 else
10950 echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.$ac_ext >&5
10952
10953 ac_cv_lib_m_acoshl=no
10954 fi
10955 rm -f conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_lib_save_LIBS
10958 fi
10959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
10960 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
10961 if test $ac_cv_lib_m_acoshl = yes; then
10962
10963 cat >>confdefs.h <<\_ACEOF
10964 #define HAVE_ACOSHL 1
10965 _ACEOF
10966
10967 fi
10968
10969 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
10970 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
10971 if test "${ac_cv_lib_m_asinf+set}" = set; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 else
10974 ac_check_lib_save_LIBS=$LIBS
10975 LIBS="-lm $LIBS"
10976 if test x$gcc_no_link = xyes; then
10977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10979 { (exit 1); exit 1; }; }
10980 fi
10981 cat >conftest.$ac_ext <<_ACEOF
10982 /* confdefs.h. */
10983 _ACEOF
10984 cat confdefs.h >>conftest.$ac_ext
10985 cat >>conftest.$ac_ext <<_ACEOF
10986 /* end confdefs.h. */
10987
10988 /* Override any gcc2 internal prototype to avoid an error. */
10989 #ifdef __cplusplus
10990 extern "C"
10991 #endif
10992 /* We use char because int might match the return type of a gcc2
10993 builtin and then its argument prototype would still apply. */
10994 char asinf ();
10995 int
10996 main ()
10997 {
10998 asinf ();
10999 ;
11000 return 0;
11001 }
11002 _ACEOF
11003 rm -f conftest.$ac_objext conftest$ac_exeext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11005 (eval $ac_link) 2>conftest.er1
11006 ac_status=$?
11007 grep -v '^ *+' conftest.er1 >conftest.err
11008 rm -f conftest.er1
11009 cat conftest.err >&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try='test -z "$ac_c_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try='test -s conftest$ac_exeext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_lib_m_asinf=yes
11026 else
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.$ac_ext >&5
11029
11030 ac_cv_lib_m_asinf=no
11031 fi
11032 rm -f conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11035 fi
11036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11037 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11038 if test $ac_cv_lib_m_asinf = yes; then
11039
11040 cat >>confdefs.h <<\_ACEOF
11041 #define HAVE_ASINF 1
11042 _ACEOF
11043
11044 fi
11045
11046 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11047 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11048 if test "${ac_cv_lib_m_asin+set}" = set; then
11049 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 else
11051 ac_check_lib_save_LIBS=$LIBS
11052 LIBS="-lm $LIBS"
11053 if test x$gcc_no_link = xyes; then
11054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11056 { (exit 1); exit 1; }; }
11057 fi
11058 cat >conftest.$ac_ext <<_ACEOF
11059 /* confdefs.h. */
11060 _ACEOF
11061 cat confdefs.h >>conftest.$ac_ext
11062 cat >>conftest.$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11064
11065 /* Override any gcc2 internal prototype to avoid an error. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 /* We use char because int might match the return type of a gcc2
11070 builtin and then its argument prototype would still apply. */
11071 char asin ();
11072 int
11073 main ()
11074 {
11075 asin ();
11076 ;
11077 return 0;
11078 }
11079 _ACEOF
11080 rm -f conftest.$ac_objext conftest$ac_exeext
11081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11082 (eval $ac_link) 2>conftest.er1
11083 ac_status=$?
11084 grep -v '^ *+' conftest.er1 >conftest.err
11085 rm -f conftest.er1
11086 cat conftest.err >&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); } &&
11089 { ac_try='test -z "$ac_c_werror_flag"
11090 || test ! -s conftest.err'
11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092 (eval $ac_try) 2>&5
11093 ac_status=$?
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }; } &&
11096 { ac_try='test -s conftest$ac_exeext'
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11098 (eval $ac_try) 2>&5
11099 ac_status=$?
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; }; then
11102 ac_cv_lib_m_asin=yes
11103 else
11104 echo "$as_me: failed program was:" >&5
11105 sed 's/^/| /' conftest.$ac_ext >&5
11106
11107 ac_cv_lib_m_asin=no
11108 fi
11109 rm -f conftest.err conftest.$ac_objext \
11110 conftest$ac_exeext conftest.$ac_ext
11111 LIBS=$ac_check_lib_save_LIBS
11112 fi
11113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11114 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11115 if test $ac_cv_lib_m_asin = yes; then
11116
11117 cat >>confdefs.h <<\_ACEOF
11118 #define HAVE_ASIN 1
11119 _ACEOF
11120
11121 fi
11122
11123 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11124 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11125 if test "${ac_cv_lib_m_asinl+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 else
11128 ac_check_lib_save_LIBS=$LIBS
11129 LIBS="-lm $LIBS"
11130 if test x$gcc_no_link = xyes; then
11131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11133 { (exit 1); exit 1; }; }
11134 fi
11135 cat >conftest.$ac_ext <<_ACEOF
11136 /* confdefs.h. */
11137 _ACEOF
11138 cat confdefs.h >>conftest.$ac_ext
11139 cat >>conftest.$ac_ext <<_ACEOF
11140 /* end confdefs.h. */
11141
11142 /* Override any gcc2 internal prototype to avoid an error. */
11143 #ifdef __cplusplus
11144 extern "C"
11145 #endif
11146 /* We use char because int might match the return type of a gcc2
11147 builtin and then its argument prototype would still apply. */
11148 char asinl ();
11149 int
11150 main ()
11151 {
11152 asinl ();
11153 ;
11154 return 0;
11155 }
11156 _ACEOF
11157 rm -f conftest.$ac_objext conftest$ac_exeext
11158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11159 (eval $ac_link) 2>conftest.er1
11160 ac_status=$?
11161 grep -v '^ *+' conftest.er1 >conftest.err
11162 rm -f conftest.er1
11163 cat conftest.err >&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); } &&
11166 { ac_try='test -z "$ac_c_werror_flag"
11167 || test ! -s conftest.err'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11170 ac_status=$?
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; } &&
11173 { ac_try='test -s conftest$ac_exeext'
11174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11175 (eval $ac_try) 2>&5
11176 ac_status=$?
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; }; then
11179 ac_cv_lib_m_asinl=yes
11180 else
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.$ac_ext >&5
11183
11184 ac_cv_lib_m_asinl=no
11185 fi
11186 rm -f conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11189 fi
11190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11191 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11192 if test $ac_cv_lib_m_asinl = yes; then
11193
11194 cat >>confdefs.h <<\_ACEOF
11195 #define HAVE_ASINL 1
11196 _ACEOF
11197
11198 fi
11199
11200 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11201 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11202 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 else
11205 ac_check_lib_save_LIBS=$LIBS
11206 LIBS="-lm $LIBS"
11207 if test x$gcc_no_link = xyes; then
11208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11210 { (exit 1); exit 1; }; }
11211 fi
11212 cat >conftest.$ac_ext <<_ACEOF
11213 /* confdefs.h. */
11214 _ACEOF
11215 cat confdefs.h >>conftest.$ac_ext
11216 cat >>conftest.$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11218
11219 /* Override any gcc2 internal prototype to avoid an error. */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 /* We use char because int might match the return type of a gcc2
11224 builtin and then its argument prototype would still apply. */
11225 char asinhf ();
11226 int
11227 main ()
11228 {
11229 asinhf ();
11230 ;
11231 return 0;
11232 }
11233 _ACEOF
11234 rm -f conftest.$ac_objext conftest$ac_exeext
11235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11236 (eval $ac_link) 2>conftest.er1
11237 ac_status=$?
11238 grep -v '^ *+' conftest.er1 >conftest.err
11239 rm -f conftest.er1
11240 cat conftest.err >&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } &&
11243 { ac_try='test -z "$ac_c_werror_flag"
11244 || test ! -s conftest.err'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11247 ac_status=$?
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; } &&
11250 { ac_try='test -s conftest$ac_exeext'
11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11252 (eval $ac_try) 2>&5
11253 ac_status=$?
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); }; }; then
11256 ac_cv_lib_m_asinhf=yes
11257 else
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.$ac_ext >&5
11260
11261 ac_cv_lib_m_asinhf=no
11262 fi
11263 rm -f conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11266 fi
11267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11268 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11269 if test $ac_cv_lib_m_asinhf = yes; then
11270
11271 cat >>confdefs.h <<\_ACEOF
11272 #define HAVE_ASINHF 1
11273 _ACEOF
11274
11275 fi
11276
11277 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11278 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11279 if test "${ac_cv_lib_m_asinh+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 else
11282 ac_check_lib_save_LIBS=$LIBS
11283 LIBS="-lm $LIBS"
11284 if test x$gcc_no_link = xyes; then
11285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11287 { (exit 1); exit 1; }; }
11288 fi
11289 cat >conftest.$ac_ext <<_ACEOF
11290 /* confdefs.h. */
11291 _ACEOF
11292 cat confdefs.h >>conftest.$ac_ext
11293 cat >>conftest.$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11295
11296 /* Override any gcc2 internal prototype to avoid an error. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 /* We use char because int might match the return type of a gcc2
11301 builtin and then its argument prototype would still apply. */
11302 char asinh ();
11303 int
11304 main ()
11305 {
11306 asinh ();
11307 ;
11308 return 0;
11309 }
11310 _ACEOF
11311 rm -f conftest.$ac_objext conftest$ac_exeext
11312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11313 (eval $ac_link) 2>conftest.er1
11314 ac_status=$?
11315 grep -v '^ *+' conftest.er1 >conftest.err
11316 rm -f conftest.er1
11317 cat conftest.err >&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } &&
11320 { ac_try='test -z "$ac_c_werror_flag"
11321 || test ! -s conftest.err'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11324 ac_status=$?
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; } &&
11327 { ac_try='test -s conftest$ac_exeext'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11330 ac_status=$?
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; }; then
11333 ac_cv_lib_m_asinh=yes
11334 else
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.$ac_ext >&5
11337
11338 ac_cv_lib_m_asinh=no
11339 fi
11340 rm -f conftest.err conftest.$ac_objext \
11341 conftest$ac_exeext conftest.$ac_ext
11342 LIBS=$ac_check_lib_save_LIBS
11343 fi
11344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11345 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11346 if test $ac_cv_lib_m_asinh = yes; then
11347
11348 cat >>confdefs.h <<\_ACEOF
11349 #define HAVE_ASINH 1
11350 _ACEOF
11351
11352 fi
11353
11354 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11355 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11356 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11357 echo $ECHO_N "(cached) $ECHO_C" >&6
11358 else
11359 ac_check_lib_save_LIBS=$LIBS
11360 LIBS="-lm $LIBS"
11361 if test x$gcc_no_link = xyes; then
11362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11364 { (exit 1); exit 1; }; }
11365 fi
11366 cat >conftest.$ac_ext <<_ACEOF
11367 /* confdefs.h. */
11368 _ACEOF
11369 cat confdefs.h >>conftest.$ac_ext
11370 cat >>conftest.$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11372
11373 /* Override any gcc2 internal prototype to avoid an error. */
11374 #ifdef __cplusplus
11375 extern "C"
11376 #endif
11377 /* We use char because int might match the return type of a gcc2
11378 builtin and then its argument prototype would still apply. */
11379 char asinhl ();
11380 int
11381 main ()
11382 {
11383 asinhl ();
11384 ;
11385 return 0;
11386 }
11387 _ACEOF
11388 rm -f conftest.$ac_objext conftest$ac_exeext
11389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11390 (eval $ac_link) 2>conftest.er1
11391 ac_status=$?
11392 grep -v '^ *+' conftest.er1 >conftest.err
11393 rm -f conftest.er1
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try='test -z "$ac_c_werror_flag"
11398 || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try='test -s conftest$ac_exeext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_cv_lib_m_asinhl=yes
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11414
11415 ac_cv_lib_m_asinhl=no
11416 fi
11417 rm -f conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11420 fi
11421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11422 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11423 if test $ac_cv_lib_m_asinhl = yes; then
11424
11425 cat >>confdefs.h <<\_ACEOF
11426 #define HAVE_ASINHL 1
11427 _ACEOF
11428
11429 fi
11430
11431 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11432 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11433 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11434 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 else
11436 ac_check_lib_save_LIBS=$LIBS
11437 LIBS="-lm $LIBS"
11438 if test x$gcc_no_link = xyes; then
11439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11441 { (exit 1); exit 1; }; }
11442 fi
11443 cat >conftest.$ac_ext <<_ACEOF
11444 /* confdefs.h. */
11445 _ACEOF
11446 cat confdefs.h >>conftest.$ac_ext
11447 cat >>conftest.$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449
11450 /* Override any gcc2 internal prototype to avoid an error. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 /* We use char because int might match the return type of a gcc2
11455 builtin and then its argument prototype would still apply. */
11456 char atan2f ();
11457 int
11458 main ()
11459 {
11460 atan2f ();
11461 ;
11462 return 0;
11463 }
11464 _ACEOF
11465 rm -f conftest.$ac_objext conftest$ac_exeext
11466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11467 (eval $ac_link) 2>conftest.er1
11468 ac_status=$?
11469 grep -v '^ *+' conftest.er1 >conftest.err
11470 rm -f conftest.er1
11471 cat conftest.err >&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); } &&
11474 { ac_try='test -z "$ac_c_werror_flag"
11475 || test ! -s conftest.err'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11478 ac_status=$?
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; } &&
11481 { ac_try='test -s conftest$ac_exeext'
11482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11483 (eval $ac_try) 2>&5
11484 ac_status=$?
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); }; }; then
11487 ac_cv_lib_m_atan2f=yes
11488 else
11489 echo "$as_me: failed program was:" >&5
11490 sed 's/^/| /' conftest.$ac_ext >&5
11491
11492 ac_cv_lib_m_atan2f=no
11493 fi
11494 rm -f conftest.err conftest.$ac_objext \
11495 conftest$ac_exeext conftest.$ac_ext
11496 LIBS=$ac_check_lib_save_LIBS
11497 fi
11498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11499 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11500 if test $ac_cv_lib_m_atan2f = yes; then
11501
11502 cat >>confdefs.h <<\_ACEOF
11503 #define HAVE_ATAN2F 1
11504 _ACEOF
11505
11506 fi
11507
11508 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11509 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11510 if test "${ac_cv_lib_m_atan2+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-lm $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11518 { (exit 1); exit 1; }; }
11519 fi
11520 cat >conftest.$ac_ext <<_ACEOF
11521 /* confdefs.h. */
11522 _ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526
11527 /* Override any gcc2 internal prototype to avoid an error. */
11528 #ifdef __cplusplus
11529 extern "C"
11530 #endif
11531 /* We use char because int might match the return type of a gcc2
11532 builtin and then its argument prototype would still apply. */
11533 char atan2 ();
11534 int
11535 main ()
11536 {
11537 atan2 ();
11538 ;
11539 return 0;
11540 }
11541 _ACEOF
11542 rm -f conftest.$ac_objext conftest$ac_exeext
11543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11544 (eval $ac_link) 2>conftest.er1
11545 ac_status=$?
11546 grep -v '^ *+' conftest.er1 >conftest.err
11547 rm -f conftest.er1
11548 cat conftest.err >&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } &&
11551 { ac_try='test -z "$ac_c_werror_flag"
11552 || test ! -s conftest.err'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11555 ac_status=$?
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; } &&
11558 { ac_try='test -s conftest$ac_exeext'
11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11560 (eval $ac_try) 2>&5
11561 ac_status=$?
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); }; }; then
11564 ac_cv_lib_m_atan2=yes
11565 else
11566 echo "$as_me: failed program was:" >&5
11567 sed 's/^/| /' conftest.$ac_ext >&5
11568
11569 ac_cv_lib_m_atan2=no
11570 fi
11571 rm -f conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_lib_save_LIBS
11574 fi
11575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11576 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11577 if test $ac_cv_lib_m_atan2 = yes; then
11578
11579 cat >>confdefs.h <<\_ACEOF
11580 #define HAVE_ATAN2 1
11581 _ACEOF
11582
11583 fi
11584
11585 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11586 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11587 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11588 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 else
11590 ac_check_lib_save_LIBS=$LIBS
11591 LIBS="-lm $LIBS"
11592 if test x$gcc_no_link = xyes; then
11593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11595 { (exit 1); exit 1; }; }
11596 fi
11597 cat >conftest.$ac_ext <<_ACEOF
11598 /* confdefs.h. */
11599 _ACEOF
11600 cat confdefs.h >>conftest.$ac_ext
11601 cat >>conftest.$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603
11604 /* Override any gcc2 internal prototype to avoid an error. */
11605 #ifdef __cplusplus
11606 extern "C"
11607 #endif
11608 /* We use char because int might match the return type of a gcc2
11609 builtin and then its argument prototype would still apply. */
11610 char atan2l ();
11611 int
11612 main ()
11613 {
11614 atan2l ();
11615 ;
11616 return 0;
11617 }
11618 _ACEOF
11619 rm -f conftest.$ac_objext conftest$ac_exeext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11621 (eval $ac_link) 2>conftest.er1
11622 ac_status=$?
11623 grep -v '^ *+' conftest.er1 >conftest.err
11624 rm -f conftest.er1
11625 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try='test -z "$ac_c_werror_flag"
11629 || test ! -s conftest.err'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11632 ac_status=$?
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; } &&
11635 { ac_try='test -s conftest$ac_exeext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11638 ac_status=$?
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 ac_cv_lib_m_atan2l=yes
11642 else
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11645
11646 ac_cv_lib_m_atan2l=no
11647 fi
11648 rm -f conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_lib_save_LIBS
11651 fi
11652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11653 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11654 if test $ac_cv_lib_m_atan2l = yes; then
11655
11656 cat >>confdefs.h <<\_ACEOF
11657 #define HAVE_ATAN2L 1
11658 _ACEOF
11659
11660 fi
11661
11662 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11663 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11664 if test "${ac_cv_lib_m_atanf+set}" = set; then
11665 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 else
11667 ac_check_lib_save_LIBS=$LIBS
11668 LIBS="-lm $LIBS"
11669 if test x$gcc_no_link = xyes; then
11670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11672 { (exit 1); exit 1; }; }
11673 fi
11674 cat >conftest.$ac_ext <<_ACEOF
11675 /* confdefs.h. */
11676 _ACEOF
11677 cat confdefs.h >>conftest.$ac_ext
11678 cat >>conftest.$ac_ext <<_ACEOF
11679 /* end confdefs.h. */
11680
11681 /* Override any gcc2 internal prototype to avoid an error. */
11682 #ifdef __cplusplus
11683 extern "C"
11684 #endif
11685 /* We use char because int might match the return type of a gcc2
11686 builtin and then its argument prototype would still apply. */
11687 char atanf ();
11688 int
11689 main ()
11690 {
11691 atanf ();
11692 ;
11693 return 0;
11694 }
11695 _ACEOF
11696 rm -f conftest.$ac_objext conftest$ac_exeext
11697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11698 (eval $ac_link) 2>conftest.er1
11699 ac_status=$?
11700 grep -v '^ *+' conftest.er1 >conftest.err
11701 rm -f conftest.er1
11702 cat conftest.err >&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } &&
11705 { ac_try='test -z "$ac_c_werror_flag"
11706 || test ! -s conftest.err'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11709 ac_status=$?
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; } &&
11712 { ac_try='test -s conftest$ac_exeext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11715 ac_status=$?
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11718 ac_cv_lib_m_atanf=yes
11719 else
11720 echo "$as_me: failed program was:" >&5
11721 sed 's/^/| /' conftest.$ac_ext >&5
11722
11723 ac_cv_lib_m_atanf=no
11724 fi
11725 rm -f conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_lib_save_LIBS
11728 fi
11729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11730 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11731 if test $ac_cv_lib_m_atanf = yes; then
11732
11733 cat >>confdefs.h <<\_ACEOF
11734 #define HAVE_ATANF 1
11735 _ACEOF
11736
11737 fi
11738
11739 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11740 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11741 if test "${ac_cv_lib_m_atan+set}" = set; then
11742 echo $ECHO_N "(cached) $ECHO_C" >&6
11743 else
11744 ac_check_lib_save_LIBS=$LIBS
11745 LIBS="-lm $LIBS"
11746 if test x$gcc_no_link = xyes; then
11747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11749 { (exit 1); exit 1; }; }
11750 fi
11751 cat >conftest.$ac_ext <<_ACEOF
11752 /* confdefs.h. */
11753 _ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11757
11758 /* Override any gcc2 internal prototype to avoid an error. */
11759 #ifdef __cplusplus
11760 extern "C"
11761 #endif
11762 /* We use char because int might match the return type of a gcc2
11763 builtin and then its argument prototype would still apply. */
11764 char atan ();
11765 int
11766 main ()
11767 {
11768 atan ();
11769 ;
11770 return 0;
11771 }
11772 _ACEOF
11773 rm -f conftest.$ac_objext conftest$ac_exeext
11774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11775 (eval $ac_link) 2>conftest.er1
11776 ac_status=$?
11777 grep -v '^ *+' conftest.er1 >conftest.err
11778 rm -f conftest.er1
11779 cat conftest.err >&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } &&
11782 { ac_try='test -z "$ac_c_werror_flag"
11783 || test ! -s conftest.err'
11784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11785 (eval $ac_try) 2>&5
11786 ac_status=$?
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); }; } &&
11789 { ac_try='test -s conftest$ac_exeext'
11790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791 (eval $ac_try) 2>&5
11792 ac_status=$?
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); }; }; then
11795 ac_cv_lib_m_atan=yes
11796 else
11797 echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.$ac_ext >&5
11799
11800 ac_cv_lib_m_atan=no
11801 fi
11802 rm -f conftest.err conftest.$ac_objext \
11803 conftest$ac_exeext conftest.$ac_ext
11804 LIBS=$ac_check_lib_save_LIBS
11805 fi
11806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11807 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11808 if test $ac_cv_lib_m_atan = yes; then
11809
11810 cat >>confdefs.h <<\_ACEOF
11811 #define HAVE_ATAN 1
11812 _ACEOF
11813
11814 fi
11815
11816 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11817 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11818 if test "${ac_cv_lib_m_atanl+set}" = set; then
11819 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 else
11821 ac_check_lib_save_LIBS=$LIBS
11822 LIBS="-lm $LIBS"
11823 if test x$gcc_no_link = xyes; then
11824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11826 { (exit 1); exit 1; }; }
11827 fi
11828 cat >conftest.$ac_ext <<_ACEOF
11829 /* confdefs.h. */
11830 _ACEOF
11831 cat confdefs.h >>conftest.$ac_ext
11832 cat >>conftest.$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11834
11835 /* Override any gcc2 internal prototype to avoid an error. */
11836 #ifdef __cplusplus
11837 extern "C"
11838 #endif
11839 /* We use char because int might match the return type of a gcc2
11840 builtin and then its argument prototype would still apply. */
11841 char atanl ();
11842 int
11843 main ()
11844 {
11845 atanl ();
11846 ;
11847 return 0;
11848 }
11849 _ACEOF
11850 rm -f conftest.$ac_objext conftest$ac_exeext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11852 (eval $ac_link) 2>conftest.er1
11853 ac_status=$?
11854 grep -v '^ *+' conftest.er1 >conftest.err
11855 rm -f conftest.er1
11856 cat conftest.err >&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try='test -z "$ac_c_werror_flag"
11860 || test ! -s conftest.err'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11863 ac_status=$?
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; } &&
11866 { ac_try='test -s conftest$ac_exeext'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11869 ac_status=$?
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; }; then
11872 ac_cv_lib_m_atanl=yes
11873 else
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11876
11877 ac_cv_lib_m_atanl=no
11878 fi
11879 rm -f conftest.err conftest.$ac_objext \
11880 conftest$ac_exeext conftest.$ac_ext
11881 LIBS=$ac_check_lib_save_LIBS
11882 fi
11883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
11884 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
11885 if test $ac_cv_lib_m_atanl = yes; then
11886
11887 cat >>confdefs.h <<\_ACEOF
11888 #define HAVE_ATANL 1
11889 _ACEOF
11890
11891 fi
11892
11893 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
11894 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
11895 if test "${ac_cv_lib_m_atanhf+set}" = set; then
11896 echo $ECHO_N "(cached) $ECHO_C" >&6
11897 else
11898 ac_check_lib_save_LIBS=$LIBS
11899 LIBS="-lm $LIBS"
11900 if test x$gcc_no_link = xyes; then
11901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11903 { (exit 1); exit 1; }; }
11904 fi
11905 cat >conftest.$ac_ext <<_ACEOF
11906 /* confdefs.h. */
11907 _ACEOF
11908 cat confdefs.h >>conftest.$ac_ext
11909 cat >>conftest.$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11911
11912 /* Override any gcc2 internal prototype to avoid an error. */
11913 #ifdef __cplusplus
11914 extern "C"
11915 #endif
11916 /* We use char because int might match the return type of a gcc2
11917 builtin and then its argument prototype would still apply. */
11918 char atanhf ();
11919 int
11920 main ()
11921 {
11922 atanhf ();
11923 ;
11924 return 0;
11925 }
11926 _ACEOF
11927 rm -f conftest.$ac_objext conftest$ac_exeext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11929 (eval $ac_link) 2>conftest.er1
11930 ac_status=$?
11931 grep -v '^ *+' conftest.er1 >conftest.err
11932 rm -f conftest.er1
11933 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try='test -z "$ac_c_werror_flag"
11937 || test ! -s conftest.err'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11940 ac_status=$?
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; } &&
11943 { ac_try='test -s conftest$ac_exeext'
11944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945 (eval $ac_try) 2>&5
11946 ac_status=$?
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); }; }; then
11949 ac_cv_lib_m_atanhf=yes
11950 else
11951 echo "$as_me: failed program was:" >&5
11952 sed 's/^/| /' conftest.$ac_ext >&5
11953
11954 ac_cv_lib_m_atanhf=no
11955 fi
11956 rm -f conftest.err conftest.$ac_objext \
11957 conftest$ac_exeext conftest.$ac_ext
11958 LIBS=$ac_check_lib_save_LIBS
11959 fi
11960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
11961 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
11962 if test $ac_cv_lib_m_atanhf = yes; then
11963
11964 cat >>confdefs.h <<\_ACEOF
11965 #define HAVE_ATANHF 1
11966 _ACEOF
11967
11968 fi
11969
11970 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
11971 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
11972 if test "${ac_cv_lib_m_atanh+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 else
11975 ac_check_lib_save_LIBS=$LIBS
11976 LIBS="-lm $LIBS"
11977 if test x$gcc_no_link = xyes; then
11978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11980 { (exit 1); exit 1; }; }
11981 fi
11982 cat >conftest.$ac_ext <<_ACEOF
11983 /* confdefs.h. */
11984 _ACEOF
11985 cat confdefs.h >>conftest.$ac_ext
11986 cat >>conftest.$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11988
11989 /* Override any gcc2 internal prototype to avoid an error. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 /* We use char because int might match the return type of a gcc2
11994 builtin and then its argument prototype would still apply. */
11995 char atanh ();
11996 int
11997 main ()
11998 {
11999 atanh ();
12000 ;
12001 return 0;
12002 }
12003 _ACEOF
12004 rm -f conftest.$ac_objext conftest$ac_exeext
12005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12006 (eval $ac_link) 2>conftest.er1
12007 ac_status=$?
12008 grep -v '^ *+' conftest.er1 >conftest.err
12009 rm -f conftest.er1
12010 cat conftest.err >&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } &&
12013 { ac_try='test -z "$ac_c_werror_flag"
12014 || test ! -s conftest.err'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; } &&
12020 { ac_try='test -s conftest$ac_exeext'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12023 ac_status=$?
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; }; then
12026 ac_cv_lib_m_atanh=yes
12027 else
12028 echo "$as_me: failed program was:" >&5
12029 sed 's/^/| /' conftest.$ac_ext >&5
12030
12031 ac_cv_lib_m_atanh=no
12032 fi
12033 rm -f conftest.err conftest.$ac_objext \
12034 conftest$ac_exeext conftest.$ac_ext
12035 LIBS=$ac_check_lib_save_LIBS
12036 fi
12037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12038 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12039 if test $ac_cv_lib_m_atanh = yes; then
12040
12041 cat >>confdefs.h <<\_ACEOF
12042 #define HAVE_ATANH 1
12043 _ACEOF
12044
12045 fi
12046
12047 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12048 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12049 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 else
12052 ac_check_lib_save_LIBS=$LIBS
12053 LIBS="-lm $LIBS"
12054 if test x$gcc_no_link = xyes; then
12055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12057 { (exit 1); exit 1; }; }
12058 fi
12059 cat >conftest.$ac_ext <<_ACEOF
12060 /* confdefs.h. */
12061 _ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065
12066 /* Override any gcc2 internal prototype to avoid an error. */
12067 #ifdef __cplusplus
12068 extern "C"
12069 #endif
12070 /* We use char because int might match the return type of a gcc2
12071 builtin and then its argument prototype would still apply. */
12072 char atanhl ();
12073 int
12074 main ()
12075 {
12076 atanhl ();
12077 ;
12078 return 0;
12079 }
12080 _ACEOF
12081 rm -f conftest.$ac_objext conftest$ac_exeext
12082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12083 (eval $ac_link) 2>conftest.er1
12084 ac_status=$?
12085 grep -v '^ *+' conftest.er1 >conftest.err
12086 rm -f conftest.er1
12087 cat conftest.err >&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } &&
12090 { ac_try='test -z "$ac_c_werror_flag"
12091 || test ! -s conftest.err'
12092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12093 (eval $ac_try) 2>&5
12094 ac_status=$?
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; } &&
12097 { ac_try='test -s conftest$ac_exeext'
12098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12099 (eval $ac_try) 2>&5
12100 ac_status=$?
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); }; }; then
12103 ac_cv_lib_m_atanhl=yes
12104 else
12105 echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.$ac_ext >&5
12107
12108 ac_cv_lib_m_atanhl=no
12109 fi
12110 rm -f conftest.err conftest.$ac_objext \
12111 conftest$ac_exeext conftest.$ac_ext
12112 LIBS=$ac_check_lib_save_LIBS
12113 fi
12114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12115 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12116 if test $ac_cv_lib_m_atanhl = yes; then
12117
12118 cat >>confdefs.h <<\_ACEOF
12119 #define HAVE_ATANHL 1
12120 _ACEOF
12121
12122 fi
12123
12124 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12125 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12126 if test "${ac_cv_lib_m_cargf+set}" = set; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 else
12129 ac_check_lib_save_LIBS=$LIBS
12130 LIBS="-lm $LIBS"
12131 if test x$gcc_no_link = xyes; then
12132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12134 { (exit 1); exit 1; }; }
12135 fi
12136 cat >conftest.$ac_ext <<_ACEOF
12137 /* confdefs.h. */
12138 _ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142
12143 /* Override any gcc2 internal prototype to avoid an error. */
12144 #ifdef __cplusplus
12145 extern "C"
12146 #endif
12147 /* We use char because int might match the return type of a gcc2
12148 builtin and then its argument prototype would still apply. */
12149 char cargf ();
12150 int
12151 main ()
12152 {
12153 cargf ();
12154 ;
12155 return 0;
12156 }
12157 _ACEOF
12158 rm -f conftest.$ac_objext conftest$ac_exeext
12159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12160 (eval $ac_link) 2>conftest.er1
12161 ac_status=$?
12162 grep -v '^ *+' conftest.er1 >conftest.err
12163 rm -f conftest.er1
12164 cat conftest.err >&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); } &&
12167 { ac_try='test -z "$ac_c_werror_flag"
12168 || test ! -s conftest.err'
12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12170 (eval $ac_try) 2>&5
12171 ac_status=$?
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; } &&
12174 { ac_try='test -s conftest$ac_exeext'
12175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12176 (eval $ac_try) 2>&5
12177 ac_status=$?
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_cv_lib_m_cargf=yes
12181 else
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12184
12185 ac_cv_lib_m_cargf=no
12186 fi
12187 rm -f conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12190 fi
12191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12192 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12193 if test $ac_cv_lib_m_cargf = yes; then
12194
12195 cat >>confdefs.h <<\_ACEOF
12196 #define HAVE_CARGF 1
12197 _ACEOF
12198
12199 fi
12200
12201 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12202 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12203 if test "${ac_cv_lib_m_carg+set}" = set; then
12204 echo $ECHO_N "(cached) $ECHO_C" >&6
12205 else
12206 ac_check_lib_save_LIBS=$LIBS
12207 LIBS="-lm $LIBS"
12208 if test x$gcc_no_link = xyes; then
12209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12211 { (exit 1); exit 1; }; }
12212 fi
12213 cat >conftest.$ac_ext <<_ACEOF
12214 /* confdefs.h. */
12215 _ACEOF
12216 cat confdefs.h >>conftest.$ac_ext
12217 cat >>conftest.$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12219
12220 /* Override any gcc2 internal prototype to avoid an error. */
12221 #ifdef __cplusplus
12222 extern "C"
12223 #endif
12224 /* We use char because int might match the return type of a gcc2
12225 builtin and then its argument prototype would still apply. */
12226 char carg ();
12227 int
12228 main ()
12229 {
12230 carg ();
12231 ;
12232 return 0;
12233 }
12234 _ACEOF
12235 rm -f conftest.$ac_objext conftest$ac_exeext
12236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12237 (eval $ac_link) 2>conftest.er1
12238 ac_status=$?
12239 grep -v '^ *+' conftest.er1 >conftest.err
12240 rm -f conftest.er1
12241 cat conftest.err >&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } &&
12244 { ac_try='test -z "$ac_c_werror_flag"
12245 || test ! -s conftest.err'
12246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12247 (eval $ac_try) 2>&5
12248 ac_status=$?
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); }; } &&
12251 { ac_try='test -s conftest$ac_exeext'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; }; then
12257 ac_cv_lib_m_carg=yes
12258 else
12259 echo "$as_me: failed program was:" >&5
12260 sed 's/^/| /' conftest.$ac_ext >&5
12261
12262 ac_cv_lib_m_carg=no
12263 fi
12264 rm -f conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_lib_save_LIBS
12267 fi
12268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12269 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12270 if test $ac_cv_lib_m_carg = yes; then
12271
12272 cat >>confdefs.h <<\_ACEOF
12273 #define HAVE_CARG 1
12274 _ACEOF
12275
12276 fi
12277
12278 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12279 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12280 if test "${ac_cv_lib_m_cargl+set}" = set; then
12281 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 else
12283 ac_check_lib_save_LIBS=$LIBS
12284 LIBS="-lm $LIBS"
12285 if test x$gcc_no_link = xyes; then
12286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12288 { (exit 1); exit 1; }; }
12289 fi
12290 cat >conftest.$ac_ext <<_ACEOF
12291 /* confdefs.h. */
12292 _ACEOF
12293 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296
12297 /* Override any gcc2 internal prototype to avoid an error. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 /* We use char because int might match the return type of a gcc2
12302 builtin and then its argument prototype would still apply. */
12303 char cargl ();
12304 int
12305 main ()
12306 {
12307 cargl ();
12308 ;
12309 return 0;
12310 }
12311 _ACEOF
12312 rm -f conftest.$ac_objext conftest$ac_exeext
12313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12314 (eval $ac_link) 2>conftest.er1
12315 ac_status=$?
12316 grep -v '^ *+' conftest.er1 >conftest.err
12317 rm -f conftest.er1
12318 cat conftest.err >&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } &&
12321 { ac_try='test -z "$ac_c_werror_flag"
12322 || test ! -s conftest.err'
12323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5
12325 ac_status=$?
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; } &&
12328 { ac_try='test -s conftest$ac_exeext'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12331 ac_status=$?
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12334 ac_cv_lib_m_cargl=yes
12335 else
12336 echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.$ac_ext >&5
12338
12339 ac_cv_lib_m_cargl=no
12340 fi
12341 rm -f conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_lib_save_LIBS
12344 fi
12345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12346 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12347 if test $ac_cv_lib_m_cargl = yes; then
12348
12349 cat >>confdefs.h <<\_ACEOF
12350 #define HAVE_CARGL 1
12351 _ACEOF
12352
12353 fi
12354
12355 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12356 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12357 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12358 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 else
12360 ac_check_lib_save_LIBS=$LIBS
12361 LIBS="-lm $LIBS"
12362 if test x$gcc_no_link = xyes; then
12363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12365 { (exit 1); exit 1; }; }
12366 fi
12367 cat >conftest.$ac_ext <<_ACEOF
12368 /* confdefs.h. */
12369 _ACEOF
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12373
12374 /* Override any gcc2 internal prototype to avoid an error. */
12375 #ifdef __cplusplus
12376 extern "C"
12377 #endif
12378 /* We use char because int might match the return type of a gcc2
12379 builtin and then its argument prototype would still apply. */
12380 char ceilf ();
12381 int
12382 main ()
12383 {
12384 ceilf ();
12385 ;
12386 return 0;
12387 }
12388 _ACEOF
12389 rm -f conftest.$ac_objext conftest$ac_exeext
12390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12391 (eval $ac_link) 2>conftest.er1
12392 ac_status=$?
12393 grep -v '^ *+' conftest.er1 >conftest.err
12394 rm -f conftest.er1
12395 cat conftest.err >&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); } &&
12398 { ac_try='test -z "$ac_c_werror_flag"
12399 || test ! -s conftest.err'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12402 ac_status=$?
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; } &&
12405 { ac_try='test -s conftest$ac_exeext'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12408 ac_status=$?
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; }; then
12411 ac_cv_lib_m_ceilf=yes
12412 else
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.$ac_ext >&5
12415
12416 ac_cv_lib_m_ceilf=no
12417 fi
12418 rm -f conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420 LIBS=$ac_check_lib_save_LIBS
12421 fi
12422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12423 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12424 if test $ac_cv_lib_m_ceilf = yes; then
12425
12426 cat >>confdefs.h <<\_ACEOF
12427 #define HAVE_CEILF 1
12428 _ACEOF
12429
12430 fi
12431
12432 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12433 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12434 if test "${ac_cv_lib_m_ceil+set}" = set; then
12435 echo $ECHO_N "(cached) $ECHO_C" >&6
12436 else
12437 ac_check_lib_save_LIBS=$LIBS
12438 LIBS="-lm $LIBS"
12439 if test x$gcc_no_link = xyes; then
12440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12442 { (exit 1); exit 1; }; }
12443 fi
12444 cat >conftest.$ac_ext <<_ACEOF
12445 /* confdefs.h. */
12446 _ACEOF
12447 cat confdefs.h >>conftest.$ac_ext
12448 cat >>conftest.$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450
12451 /* Override any gcc2 internal prototype to avoid an error. */
12452 #ifdef __cplusplus
12453 extern "C"
12454 #endif
12455 /* We use char because int might match the return type of a gcc2
12456 builtin and then its argument prototype would still apply. */
12457 char ceil ();
12458 int
12459 main ()
12460 {
12461 ceil ();
12462 ;
12463 return 0;
12464 }
12465 _ACEOF
12466 rm -f conftest.$ac_objext conftest$ac_exeext
12467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12468 (eval $ac_link) 2>conftest.er1
12469 ac_status=$?
12470 grep -v '^ *+' conftest.er1 >conftest.err
12471 rm -f conftest.er1
12472 cat conftest.err >&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); } &&
12475 { ac_try='test -z "$ac_c_werror_flag"
12476 || test ! -s conftest.err'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12479 ac_status=$?
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; } &&
12482 { ac_try='test -s conftest$ac_exeext'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12485 ac_status=$?
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; }; then
12488 ac_cv_lib_m_ceil=yes
12489 else
12490 echo "$as_me: failed program was:" >&5
12491 sed 's/^/| /' conftest.$ac_ext >&5
12492
12493 ac_cv_lib_m_ceil=no
12494 fi
12495 rm -f conftest.err conftest.$ac_objext \
12496 conftest$ac_exeext conftest.$ac_ext
12497 LIBS=$ac_check_lib_save_LIBS
12498 fi
12499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12500 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12501 if test $ac_cv_lib_m_ceil = yes; then
12502
12503 cat >>confdefs.h <<\_ACEOF
12504 #define HAVE_CEIL 1
12505 _ACEOF
12506
12507 fi
12508
12509 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12510 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12511 if test "${ac_cv_lib_m_ceill+set}" = set; then
12512 echo $ECHO_N "(cached) $ECHO_C" >&6
12513 else
12514 ac_check_lib_save_LIBS=$LIBS
12515 LIBS="-lm $LIBS"
12516 if test x$gcc_no_link = xyes; then
12517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12519 { (exit 1); exit 1; }; }
12520 fi
12521 cat >conftest.$ac_ext <<_ACEOF
12522 /* confdefs.h. */
12523 _ACEOF
12524 cat confdefs.h >>conftest.$ac_ext
12525 cat >>conftest.$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12527
12528 /* Override any gcc2 internal prototype to avoid an error. */
12529 #ifdef __cplusplus
12530 extern "C"
12531 #endif
12532 /* We use char because int might match the return type of a gcc2
12533 builtin and then its argument prototype would still apply. */
12534 char ceill ();
12535 int
12536 main ()
12537 {
12538 ceill ();
12539 ;
12540 return 0;
12541 }
12542 _ACEOF
12543 rm -f conftest.$ac_objext conftest$ac_exeext
12544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12545 (eval $ac_link) 2>conftest.er1
12546 ac_status=$?
12547 grep -v '^ *+' conftest.er1 >conftest.err
12548 rm -f conftest.er1
12549 cat conftest.err >&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); } &&
12552 { ac_try='test -z "$ac_c_werror_flag"
12553 || test ! -s conftest.err'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12556 ac_status=$?
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; } &&
12559 { ac_try='test -s conftest$ac_exeext'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12562 ac_status=$?
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12565 ac_cv_lib_m_ceill=yes
12566 else
12567 echo "$as_me: failed program was:" >&5
12568 sed 's/^/| /' conftest.$ac_ext >&5
12569
12570 ac_cv_lib_m_ceill=no
12571 fi
12572 rm -f conftest.err conftest.$ac_objext \
12573 conftest$ac_exeext conftest.$ac_ext
12574 LIBS=$ac_check_lib_save_LIBS
12575 fi
12576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12577 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12578 if test $ac_cv_lib_m_ceill = yes; then
12579
12580 cat >>confdefs.h <<\_ACEOF
12581 #define HAVE_CEILL 1
12582 _ACEOF
12583
12584 fi
12585
12586 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12587 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12588 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 else
12591 ac_check_lib_save_LIBS=$LIBS
12592 LIBS="-lm $LIBS"
12593 if test x$gcc_no_link = xyes; then
12594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12596 { (exit 1); exit 1; }; }
12597 fi
12598 cat >conftest.$ac_ext <<_ACEOF
12599 /* confdefs.h. */
12600 _ACEOF
12601 cat confdefs.h >>conftest.$ac_ext
12602 cat >>conftest.$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12604
12605 /* Override any gcc2 internal prototype to avoid an error. */
12606 #ifdef __cplusplus
12607 extern "C"
12608 #endif
12609 /* We use char because int might match the return type of a gcc2
12610 builtin and then its argument prototype would still apply. */
12611 char copysignf ();
12612 int
12613 main ()
12614 {
12615 copysignf ();
12616 ;
12617 return 0;
12618 }
12619 _ACEOF
12620 rm -f conftest.$ac_objext conftest$ac_exeext
12621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12622 (eval $ac_link) 2>conftest.er1
12623 ac_status=$?
12624 grep -v '^ *+' conftest.er1 >conftest.err
12625 rm -f conftest.er1
12626 cat conftest.err >&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); } &&
12629 { ac_try='test -z "$ac_c_werror_flag"
12630 || test ! -s conftest.err'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12633 ac_status=$?
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; } &&
12636 { ac_try='test -s conftest$ac_exeext'
12637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12638 (eval $ac_try) 2>&5
12639 ac_status=$?
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); }; }; then
12642 ac_cv_lib_m_copysignf=yes
12643 else
12644 echo "$as_me: failed program was:" >&5
12645 sed 's/^/| /' conftest.$ac_ext >&5
12646
12647 ac_cv_lib_m_copysignf=no
12648 fi
12649 rm -f conftest.err conftest.$ac_objext \
12650 conftest$ac_exeext conftest.$ac_ext
12651 LIBS=$ac_check_lib_save_LIBS
12652 fi
12653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12654 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12655 if test $ac_cv_lib_m_copysignf = yes; then
12656
12657 cat >>confdefs.h <<\_ACEOF
12658 #define HAVE_COPYSIGNF 1
12659 _ACEOF
12660
12661 fi
12662
12663 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12664 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12665 if test "${ac_cv_lib_m_copysign+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 else
12668 ac_check_lib_save_LIBS=$LIBS
12669 LIBS="-lm $LIBS"
12670 if test x$gcc_no_link = xyes; then
12671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12673 { (exit 1); exit 1; }; }
12674 fi
12675 cat >conftest.$ac_ext <<_ACEOF
12676 /* confdefs.h. */
12677 _ACEOF
12678 cat confdefs.h >>conftest.$ac_ext
12679 cat >>conftest.$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681
12682 /* Override any gcc2 internal prototype to avoid an error. */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 /* We use char because int might match the return type of a gcc2
12687 builtin and then its argument prototype would still apply. */
12688 char copysign ();
12689 int
12690 main ()
12691 {
12692 copysign ();
12693 ;
12694 return 0;
12695 }
12696 _ACEOF
12697 rm -f conftest.$ac_objext conftest$ac_exeext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12699 (eval $ac_link) 2>conftest.er1
12700 ac_status=$?
12701 grep -v '^ *+' conftest.er1 >conftest.err
12702 rm -f conftest.er1
12703 cat conftest.err >&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try='test -z "$ac_c_werror_flag"
12707 || test ! -s conftest.err'
12708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12709 (eval $ac_try) 2>&5
12710 ac_status=$?
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); }; } &&
12713 { ac_try='test -s conftest$ac_exeext'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12716 ac_status=$?
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12719 ac_cv_lib_m_copysign=yes
12720 else
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.$ac_ext >&5
12723
12724 ac_cv_lib_m_copysign=no
12725 fi
12726 rm -f conftest.err conftest.$ac_objext \
12727 conftest$ac_exeext conftest.$ac_ext
12728 LIBS=$ac_check_lib_save_LIBS
12729 fi
12730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12731 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12732 if test $ac_cv_lib_m_copysign = yes; then
12733
12734 cat >>confdefs.h <<\_ACEOF
12735 #define HAVE_COPYSIGN 1
12736 _ACEOF
12737
12738 fi
12739
12740 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12741 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12742 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12745 ac_check_lib_save_LIBS=$LIBS
12746 LIBS="-lm $LIBS"
12747 if test x$gcc_no_link = xyes; then
12748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12750 { (exit 1); exit 1; }; }
12751 fi
12752 cat >conftest.$ac_ext <<_ACEOF
12753 /* confdefs.h. */
12754 _ACEOF
12755 cat confdefs.h >>conftest.$ac_ext
12756 cat >>conftest.$ac_ext <<_ACEOF
12757 /* end confdefs.h. */
12758
12759 /* Override any gcc2 internal prototype to avoid an error. */
12760 #ifdef __cplusplus
12761 extern "C"
12762 #endif
12763 /* We use char because int might match the return type of a gcc2
12764 builtin and then its argument prototype would still apply. */
12765 char copysignl ();
12766 int
12767 main ()
12768 {
12769 copysignl ();
12770 ;
12771 return 0;
12772 }
12773 _ACEOF
12774 rm -f conftest.$ac_objext conftest$ac_exeext
12775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12776 (eval $ac_link) 2>conftest.er1
12777 ac_status=$?
12778 grep -v '^ *+' conftest.er1 >conftest.err
12779 rm -f conftest.er1
12780 cat conftest.err >&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); } &&
12783 { ac_try='test -z "$ac_c_werror_flag"
12784 || test ! -s conftest.err'
12785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12786 (eval $ac_try) 2>&5
12787 ac_status=$?
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); }; } &&
12790 { ac_try='test -s conftest$ac_exeext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12793 ac_status=$?
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12796 ac_cv_lib_m_copysignl=yes
12797 else
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.$ac_ext >&5
12800
12801 ac_cv_lib_m_copysignl=no
12802 fi
12803 rm -f conftest.err conftest.$ac_objext \
12804 conftest$ac_exeext conftest.$ac_ext
12805 LIBS=$ac_check_lib_save_LIBS
12806 fi
12807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12808 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12809 if test $ac_cv_lib_m_copysignl = yes; then
12810
12811 cat >>confdefs.h <<\_ACEOF
12812 #define HAVE_COPYSIGNL 1
12813 _ACEOF
12814
12815 fi
12816
12817 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12818 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12819 if test "${ac_cv_lib_m_cosf+set}" = set; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12821 else
12822 ac_check_lib_save_LIBS=$LIBS
12823 LIBS="-lm $LIBS"
12824 if test x$gcc_no_link = xyes; then
12825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12827 { (exit 1); exit 1; }; }
12828 fi
12829 cat >conftest.$ac_ext <<_ACEOF
12830 /* confdefs.h. */
12831 _ACEOF
12832 cat confdefs.h >>conftest.$ac_ext
12833 cat >>conftest.$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12835
12836 /* Override any gcc2 internal prototype to avoid an error. */
12837 #ifdef __cplusplus
12838 extern "C"
12839 #endif
12840 /* We use char because int might match the return type of a gcc2
12841 builtin and then its argument prototype would still apply. */
12842 char cosf ();
12843 int
12844 main ()
12845 {
12846 cosf ();
12847 ;
12848 return 0;
12849 }
12850 _ACEOF
12851 rm -f conftest.$ac_objext conftest$ac_exeext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12853 (eval $ac_link) 2>conftest.er1
12854 ac_status=$?
12855 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1
12857 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try='test -z "$ac_c_werror_flag"
12861 || test ! -s conftest.err'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12864 ac_status=$?
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } &&
12867 { ac_try='test -s conftest$ac_exeext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12870 ac_status=$?
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 ac_cv_lib_m_cosf=yes
12874 else
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12877
12878 ac_cv_lib_m_cosf=no
12879 fi
12880 rm -f conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12883 fi
12884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
12885 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
12886 if test $ac_cv_lib_m_cosf = yes; then
12887
12888 cat >>confdefs.h <<\_ACEOF
12889 #define HAVE_COSF 1
12890 _ACEOF
12891
12892 fi
12893
12894 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12895 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12896 if test "${ac_cv_lib_m_cos+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 else
12899 ac_check_lib_save_LIBS=$LIBS
12900 LIBS="-lm $LIBS"
12901 if test x$gcc_no_link = xyes; then
12902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12904 { (exit 1); exit 1; }; }
12905 fi
12906 cat >conftest.$ac_ext <<_ACEOF
12907 /* confdefs.h. */
12908 _ACEOF
12909 cat confdefs.h >>conftest.$ac_ext
12910 cat >>conftest.$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12912
12913 /* Override any gcc2 internal prototype to avoid an error. */
12914 #ifdef __cplusplus
12915 extern "C"
12916 #endif
12917 /* We use char because int might match the return type of a gcc2
12918 builtin and then its argument prototype would still apply. */
12919 char cos ();
12920 int
12921 main ()
12922 {
12923 cos ();
12924 ;
12925 return 0;
12926 }
12927 _ACEOF
12928 rm -f conftest.$ac_objext conftest$ac_exeext
12929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12930 (eval $ac_link) 2>conftest.er1
12931 ac_status=$?
12932 grep -v '^ *+' conftest.er1 >conftest.err
12933 rm -f conftest.er1
12934 cat conftest.err >&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); } &&
12937 { ac_try='test -z "$ac_c_werror_flag"
12938 || test ! -s conftest.err'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; } &&
12944 { ac_try='test -s conftest$ac_exeext'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; }; then
12950 ac_cv_lib_m_cos=yes
12951 else
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.$ac_ext >&5
12954
12955 ac_cv_lib_m_cos=no
12956 fi
12957 rm -f conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 LIBS=$ac_check_lib_save_LIBS
12960 fi
12961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12962 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12963 if test $ac_cv_lib_m_cos = yes; then
12964
12965 cat >>confdefs.h <<\_ACEOF
12966 #define HAVE_COS 1
12967 _ACEOF
12968
12969 fi
12970
12971 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
12972 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
12973 if test "${ac_cv_lib_m_cosl+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 else
12976 ac_check_lib_save_LIBS=$LIBS
12977 LIBS="-lm $LIBS"
12978 if test x$gcc_no_link = xyes; then
12979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12981 { (exit 1); exit 1; }; }
12982 fi
12983 cat >conftest.$ac_ext <<_ACEOF
12984 /* confdefs.h. */
12985 _ACEOF
12986 cat confdefs.h >>conftest.$ac_ext
12987 cat >>conftest.$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12989
12990 /* Override any gcc2 internal prototype to avoid an error. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 /* We use char because int might match the return type of a gcc2
12995 builtin and then its argument prototype would still apply. */
12996 char cosl ();
12997 int
12998 main ()
12999 {
13000 cosl ();
13001 ;
13002 return 0;
13003 }
13004 _ACEOF
13005 rm -f conftest.$ac_objext conftest$ac_exeext
13006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13007 (eval $ac_link) 2>conftest.er1
13008 ac_status=$?
13009 grep -v '^ *+' conftest.er1 >conftest.err
13010 rm -f conftest.er1
13011 cat conftest.err >&5
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); } &&
13014 { ac_try='test -z "$ac_c_werror_flag"
13015 || test ! -s conftest.err'
13016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13017 (eval $ac_try) 2>&5
13018 ac_status=$?
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); }; } &&
13021 { ac_try='test -s conftest$ac_exeext'
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023 (eval $ac_try) 2>&5
13024 ac_status=$?
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); }; }; then
13027 ac_cv_lib_m_cosl=yes
13028 else
13029 echo "$as_me: failed program was:" >&5
13030 sed 's/^/| /' conftest.$ac_ext >&5
13031
13032 ac_cv_lib_m_cosl=no
13033 fi
13034 rm -f conftest.err conftest.$ac_objext \
13035 conftest$ac_exeext conftest.$ac_ext
13036 LIBS=$ac_check_lib_save_LIBS
13037 fi
13038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13039 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13040 if test $ac_cv_lib_m_cosl = yes; then
13041
13042 cat >>confdefs.h <<\_ACEOF
13043 #define HAVE_COSL 1
13044 _ACEOF
13045
13046 fi
13047
13048 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13049 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13050 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13051 echo $ECHO_N "(cached) $ECHO_C" >&6
13052 else
13053 ac_check_lib_save_LIBS=$LIBS
13054 LIBS="-lm $LIBS"
13055 if test x$gcc_no_link = xyes; then
13056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13058 { (exit 1); exit 1; }; }
13059 fi
13060 cat >conftest.$ac_ext <<_ACEOF
13061 /* confdefs.h. */
13062 _ACEOF
13063 cat confdefs.h >>conftest.$ac_ext
13064 cat >>conftest.$ac_ext <<_ACEOF
13065 /* end confdefs.h. */
13066
13067 /* Override any gcc2 internal prototype to avoid an error. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 /* We use char because int might match the return type of a gcc2
13072 builtin and then its argument prototype would still apply. */
13073 char ccosf ();
13074 int
13075 main ()
13076 {
13077 ccosf ();
13078 ;
13079 return 0;
13080 }
13081 _ACEOF
13082 rm -f conftest.$ac_objext conftest$ac_exeext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13084 (eval $ac_link) 2>conftest.er1
13085 ac_status=$?
13086 grep -v '^ *+' conftest.er1 >conftest.err
13087 rm -f conftest.er1
13088 cat conftest.err >&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } &&
13091 { ac_try='test -z "$ac_c_werror_flag"
13092 || test ! -s conftest.err'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; } &&
13098 { ac_try='test -s conftest$ac_exeext'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13101 ac_status=$?
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13104 ac_cv_lib_m_ccosf=yes
13105 else
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.$ac_ext >&5
13108
13109 ac_cv_lib_m_ccosf=no
13110 fi
13111 rm -f conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 LIBS=$ac_check_lib_save_LIBS
13114 fi
13115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13116 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13117 if test $ac_cv_lib_m_ccosf = yes; then
13118
13119 cat >>confdefs.h <<\_ACEOF
13120 #define HAVE_CCOSF 1
13121 _ACEOF
13122
13123 fi
13124
13125 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13126 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13127 if test "${ac_cv_lib_m_ccos+set}" = set; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 else
13130 ac_check_lib_save_LIBS=$LIBS
13131 LIBS="-lm $LIBS"
13132 if test x$gcc_no_link = xyes; then
13133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13135 { (exit 1); exit 1; }; }
13136 fi
13137 cat >conftest.$ac_ext <<_ACEOF
13138 /* confdefs.h. */
13139 _ACEOF
13140 cat confdefs.h >>conftest.$ac_ext
13141 cat >>conftest.$ac_ext <<_ACEOF
13142 /* end confdefs.h. */
13143
13144 /* Override any gcc2 internal prototype to avoid an error. */
13145 #ifdef __cplusplus
13146 extern "C"
13147 #endif
13148 /* We use char because int might match the return type of a gcc2
13149 builtin and then its argument prototype would still apply. */
13150 char ccos ();
13151 int
13152 main ()
13153 {
13154 ccos ();
13155 ;
13156 return 0;
13157 }
13158 _ACEOF
13159 rm -f conftest.$ac_objext conftest$ac_exeext
13160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13161 (eval $ac_link) 2>conftest.er1
13162 ac_status=$?
13163 grep -v '^ *+' conftest.er1 >conftest.err
13164 rm -f conftest.er1
13165 cat conftest.err >&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } &&
13168 { ac_try='test -z "$ac_c_werror_flag"
13169 || test ! -s conftest.err'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; } &&
13175 { ac_try='test -s conftest$ac_exeext'
13176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13177 (eval $ac_try) 2>&5
13178 ac_status=$?
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; }; then
13181 ac_cv_lib_m_ccos=yes
13182 else
13183 echo "$as_me: failed program was:" >&5
13184 sed 's/^/| /' conftest.$ac_ext >&5
13185
13186 ac_cv_lib_m_ccos=no
13187 fi
13188 rm -f conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13191 fi
13192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13193 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13194 if test $ac_cv_lib_m_ccos = yes; then
13195
13196 cat >>confdefs.h <<\_ACEOF
13197 #define HAVE_CCOS 1
13198 _ACEOF
13199
13200 fi
13201
13202 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13203 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13204 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13206 else
13207 ac_check_lib_save_LIBS=$LIBS
13208 LIBS="-lm $LIBS"
13209 if test x$gcc_no_link = xyes; then
13210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13212 { (exit 1); exit 1; }; }
13213 fi
13214 cat >conftest.$ac_ext <<_ACEOF
13215 /* confdefs.h. */
13216 _ACEOF
13217 cat confdefs.h >>conftest.$ac_ext
13218 cat >>conftest.$ac_ext <<_ACEOF
13219 /* end confdefs.h. */
13220
13221 /* Override any gcc2 internal prototype to avoid an error. */
13222 #ifdef __cplusplus
13223 extern "C"
13224 #endif
13225 /* We use char because int might match the return type of a gcc2
13226 builtin and then its argument prototype would still apply. */
13227 char ccosl ();
13228 int
13229 main ()
13230 {
13231 ccosl ();
13232 ;
13233 return 0;
13234 }
13235 _ACEOF
13236 rm -f conftest.$ac_objext conftest$ac_exeext
13237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13238 (eval $ac_link) 2>conftest.er1
13239 ac_status=$?
13240 grep -v '^ *+' conftest.er1 >conftest.err
13241 rm -f conftest.er1
13242 cat conftest.err >&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } &&
13245 { ac_try='test -z "$ac_c_werror_flag"
13246 || test ! -s conftest.err'
13247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13248 (eval $ac_try) 2>&5
13249 ac_status=$?
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; } &&
13252 { ac_try='test -s conftest$ac_exeext'
13253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13254 (eval $ac_try) 2>&5
13255 ac_status=$?
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); }; }; then
13258 ac_cv_lib_m_ccosl=yes
13259 else
13260 echo "$as_me: failed program was:" >&5
13261 sed 's/^/| /' conftest.$ac_ext >&5
13262
13263 ac_cv_lib_m_ccosl=no
13264 fi
13265 rm -f conftest.err conftest.$ac_objext \
13266 conftest$ac_exeext conftest.$ac_ext
13267 LIBS=$ac_check_lib_save_LIBS
13268 fi
13269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13270 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13271 if test $ac_cv_lib_m_ccosl = yes; then
13272
13273 cat >>confdefs.h <<\_ACEOF
13274 #define HAVE_CCOSL 1
13275 _ACEOF
13276
13277 fi
13278
13279 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13280 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13281 if test "${ac_cv_lib_m_coshf+set}" = set; then
13282 echo $ECHO_N "(cached) $ECHO_C" >&6
13283 else
13284 ac_check_lib_save_LIBS=$LIBS
13285 LIBS="-lm $LIBS"
13286 if test x$gcc_no_link = xyes; then
13287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13289 { (exit 1); exit 1; }; }
13290 fi
13291 cat >conftest.$ac_ext <<_ACEOF
13292 /* confdefs.h. */
13293 _ACEOF
13294 cat confdefs.h >>conftest.$ac_ext
13295 cat >>conftest.$ac_ext <<_ACEOF
13296 /* end confdefs.h. */
13297
13298 /* Override any gcc2 internal prototype to avoid an error. */
13299 #ifdef __cplusplus
13300 extern "C"
13301 #endif
13302 /* We use char because int might match the return type of a gcc2
13303 builtin and then its argument prototype would still apply. */
13304 char coshf ();
13305 int
13306 main ()
13307 {
13308 coshf ();
13309 ;
13310 return 0;
13311 }
13312 _ACEOF
13313 rm -f conftest.$ac_objext conftest$ac_exeext
13314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13315 (eval $ac_link) 2>conftest.er1
13316 ac_status=$?
13317 grep -v '^ *+' conftest.er1 >conftest.err
13318 rm -f conftest.er1
13319 cat conftest.err >&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); } &&
13322 { ac_try='test -z "$ac_c_werror_flag"
13323 || test ! -s conftest.err'
13324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13325 (eval $ac_try) 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); }; } &&
13329 { ac_try='test -s conftest$ac_exeext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_cv_lib_m_coshf=yes
13336 else
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13339
13340 ac_cv_lib_m_coshf=no
13341 fi
13342 rm -f conftest.err conftest.$ac_objext \
13343 conftest$ac_exeext conftest.$ac_ext
13344 LIBS=$ac_check_lib_save_LIBS
13345 fi
13346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13347 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13348 if test $ac_cv_lib_m_coshf = yes; then
13349
13350 cat >>confdefs.h <<\_ACEOF
13351 #define HAVE_COSHF 1
13352 _ACEOF
13353
13354 fi
13355
13356 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13357 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13358 if test "${ac_cv_lib_m_cosh+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13360 else
13361 ac_check_lib_save_LIBS=$LIBS
13362 LIBS="-lm $LIBS"
13363 if test x$gcc_no_link = xyes; then
13364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13366 { (exit 1); exit 1; }; }
13367 fi
13368 cat >conftest.$ac_ext <<_ACEOF
13369 /* confdefs.h. */
13370 _ACEOF
13371 cat confdefs.h >>conftest.$ac_ext
13372 cat >>conftest.$ac_ext <<_ACEOF
13373 /* end confdefs.h. */
13374
13375 /* Override any gcc2 internal prototype to avoid an error. */
13376 #ifdef __cplusplus
13377 extern "C"
13378 #endif
13379 /* We use char because int might match the return type of a gcc2
13380 builtin and then its argument prototype would still apply. */
13381 char cosh ();
13382 int
13383 main ()
13384 {
13385 cosh ();
13386 ;
13387 return 0;
13388 }
13389 _ACEOF
13390 rm -f conftest.$ac_objext conftest$ac_exeext
13391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13392 (eval $ac_link) 2>conftest.er1
13393 ac_status=$?
13394 grep -v '^ *+' conftest.er1 >conftest.err
13395 rm -f conftest.er1
13396 cat conftest.err >&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); } &&
13399 { ac_try='test -z "$ac_c_werror_flag"
13400 || test ! -s conftest.err'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13403 ac_status=$?
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; } &&
13406 { ac_try='test -s conftest$ac_exeext'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13409 ac_status=$?
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; }; then
13412 ac_cv_lib_m_cosh=yes
13413 else
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13416
13417 ac_cv_lib_m_cosh=no
13418 fi
13419 rm -f conftest.err conftest.$ac_objext \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_lib_save_LIBS
13422 fi
13423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13424 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13425 if test $ac_cv_lib_m_cosh = yes; then
13426
13427 cat >>confdefs.h <<\_ACEOF
13428 #define HAVE_COSH 1
13429 _ACEOF
13430
13431 fi
13432
13433 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13434 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13435 if test "${ac_cv_lib_m_coshl+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13437 else
13438 ac_check_lib_save_LIBS=$LIBS
13439 LIBS="-lm $LIBS"
13440 if test x$gcc_no_link = xyes; then
13441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13443 { (exit 1); exit 1; }; }
13444 fi
13445 cat >conftest.$ac_ext <<_ACEOF
13446 /* confdefs.h. */
13447 _ACEOF
13448 cat confdefs.h >>conftest.$ac_ext
13449 cat >>conftest.$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13451
13452 /* Override any gcc2 internal prototype to avoid an error. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 /* We use char because int might match the return type of a gcc2
13457 builtin and then its argument prototype would still apply. */
13458 char coshl ();
13459 int
13460 main ()
13461 {
13462 coshl ();
13463 ;
13464 return 0;
13465 }
13466 _ACEOF
13467 rm -f conftest.$ac_objext conftest$ac_exeext
13468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13469 (eval $ac_link) 2>conftest.er1
13470 ac_status=$?
13471 grep -v '^ *+' conftest.er1 >conftest.err
13472 rm -f conftest.er1
13473 cat conftest.err >&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); } &&
13476 { ac_try='test -z "$ac_c_werror_flag"
13477 || test ! -s conftest.err'
13478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13479 (eval $ac_try) 2>&5
13480 ac_status=$?
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); }; } &&
13483 { ac_try='test -s conftest$ac_exeext'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13486 ac_status=$?
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; }; then
13489 ac_cv_lib_m_coshl=yes
13490 else
13491 echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.$ac_ext >&5
13493
13494 ac_cv_lib_m_coshl=no
13495 fi
13496 rm -f conftest.err conftest.$ac_objext \
13497 conftest$ac_exeext conftest.$ac_ext
13498 LIBS=$ac_check_lib_save_LIBS
13499 fi
13500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13501 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13502 if test $ac_cv_lib_m_coshl = yes; then
13503
13504 cat >>confdefs.h <<\_ACEOF
13505 #define HAVE_COSHL 1
13506 _ACEOF
13507
13508 fi
13509
13510 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13511 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13512 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13513 echo $ECHO_N "(cached) $ECHO_C" >&6
13514 else
13515 ac_check_lib_save_LIBS=$LIBS
13516 LIBS="-lm $LIBS"
13517 if test x$gcc_no_link = xyes; then
13518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13520 { (exit 1); exit 1; }; }
13521 fi
13522 cat >conftest.$ac_ext <<_ACEOF
13523 /* confdefs.h. */
13524 _ACEOF
13525 cat confdefs.h >>conftest.$ac_ext
13526 cat >>conftest.$ac_ext <<_ACEOF
13527 /* end confdefs.h. */
13528
13529 /* Override any gcc2 internal prototype to avoid an error. */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 /* We use char because int might match the return type of a gcc2
13534 builtin and then its argument prototype would still apply. */
13535 char ccoshf ();
13536 int
13537 main ()
13538 {
13539 ccoshf ();
13540 ;
13541 return 0;
13542 }
13543 _ACEOF
13544 rm -f conftest.$ac_objext conftest$ac_exeext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13546 (eval $ac_link) 2>conftest.er1
13547 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try='test -z "$ac_c_werror_flag"
13554 || test ! -s conftest.err'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13557 ac_status=$?
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; } &&
13560 { ac_try='test -s conftest$ac_exeext'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; }; then
13566 ac_cv_lib_m_ccoshf=yes
13567 else
13568 echo "$as_me: failed program was:" >&5
13569 sed 's/^/| /' conftest.$ac_ext >&5
13570
13571 ac_cv_lib_m_ccoshf=no
13572 fi
13573 rm -f conftest.err conftest.$ac_objext \
13574 conftest$ac_exeext conftest.$ac_ext
13575 LIBS=$ac_check_lib_save_LIBS
13576 fi
13577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13578 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13579 if test $ac_cv_lib_m_ccoshf = yes; then
13580
13581 cat >>confdefs.h <<\_ACEOF
13582 #define HAVE_CCOSHF 1
13583 _ACEOF
13584
13585 fi
13586
13587 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13588 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13589 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 ac_check_lib_save_LIBS=$LIBS
13593 LIBS="-lm $LIBS"
13594 if test x$gcc_no_link = xyes; then
13595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13597 { (exit 1); exit 1; }; }
13598 fi
13599 cat >conftest.$ac_ext <<_ACEOF
13600 /* confdefs.h. */
13601 _ACEOF
13602 cat confdefs.h >>conftest.$ac_ext
13603 cat >>conftest.$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13605
13606 /* Override any gcc2 internal prototype to avoid an error. */
13607 #ifdef __cplusplus
13608 extern "C"
13609 #endif
13610 /* We use char because int might match the return type of a gcc2
13611 builtin and then its argument prototype would still apply. */
13612 char ccosh ();
13613 int
13614 main ()
13615 {
13616 ccosh ();
13617 ;
13618 return 0;
13619 }
13620 _ACEOF
13621 rm -f conftest.$ac_objext conftest$ac_exeext
13622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13623 (eval $ac_link) 2>conftest.er1
13624 ac_status=$?
13625 grep -v '^ *+' conftest.er1 >conftest.err
13626 rm -f conftest.er1
13627 cat conftest.err >&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } &&
13630 { ac_try='test -z "$ac_c_werror_flag"
13631 || test ! -s conftest.err'
13632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13633 (eval $ac_try) 2>&5
13634 ac_status=$?
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); }; } &&
13637 { ac_try='test -s conftest$ac_exeext'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13640 ac_status=$?
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; }; then
13643 ac_cv_lib_m_ccosh=yes
13644 else
13645 echo "$as_me: failed program was:" >&5
13646 sed 's/^/| /' conftest.$ac_ext >&5
13647
13648 ac_cv_lib_m_ccosh=no
13649 fi
13650 rm -f conftest.err conftest.$ac_objext \
13651 conftest$ac_exeext conftest.$ac_ext
13652 LIBS=$ac_check_lib_save_LIBS
13653 fi
13654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13655 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13656 if test $ac_cv_lib_m_ccosh = yes; then
13657
13658 cat >>confdefs.h <<\_ACEOF
13659 #define HAVE_CCOSH 1
13660 _ACEOF
13661
13662 fi
13663
13664 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13665 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13666 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13667 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 else
13669 ac_check_lib_save_LIBS=$LIBS
13670 LIBS="-lm $LIBS"
13671 if test x$gcc_no_link = xyes; then
13672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13674 { (exit 1); exit 1; }; }
13675 fi
13676 cat >conftest.$ac_ext <<_ACEOF
13677 /* confdefs.h. */
13678 _ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13682
13683 /* Override any gcc2 internal prototype to avoid an error. */
13684 #ifdef __cplusplus
13685 extern "C"
13686 #endif
13687 /* We use char because int might match the return type of a gcc2
13688 builtin and then its argument prototype would still apply. */
13689 char ccoshl ();
13690 int
13691 main ()
13692 {
13693 ccoshl ();
13694 ;
13695 return 0;
13696 }
13697 _ACEOF
13698 rm -f conftest.$ac_objext conftest$ac_exeext
13699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13700 (eval $ac_link) 2>conftest.er1
13701 ac_status=$?
13702 grep -v '^ *+' conftest.er1 >conftest.err
13703 rm -f conftest.er1
13704 cat conftest.err >&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } &&
13707 { ac_try='test -z "$ac_c_werror_flag"
13708 || test ! -s conftest.err'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13711 ac_status=$?
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; } &&
13714 { ac_try='test -s conftest$ac_exeext'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13717 ac_status=$?
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; }; then
13720 ac_cv_lib_m_ccoshl=yes
13721 else
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13724
13725 ac_cv_lib_m_ccoshl=no
13726 fi
13727 rm -f conftest.err conftest.$ac_objext \
13728 conftest$ac_exeext conftest.$ac_ext
13729 LIBS=$ac_check_lib_save_LIBS
13730 fi
13731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13732 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13733 if test $ac_cv_lib_m_ccoshl = yes; then
13734
13735 cat >>confdefs.h <<\_ACEOF
13736 #define HAVE_CCOSHL 1
13737 _ACEOF
13738
13739 fi
13740
13741 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13742 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13743 if test "${ac_cv_lib_m_expf+set}" = set; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13745 else
13746 ac_check_lib_save_LIBS=$LIBS
13747 LIBS="-lm $LIBS"
13748 if test x$gcc_no_link = xyes; then
13749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13751 { (exit 1); exit 1; }; }
13752 fi
13753 cat >conftest.$ac_ext <<_ACEOF
13754 /* confdefs.h. */
13755 _ACEOF
13756 cat confdefs.h >>conftest.$ac_ext
13757 cat >>conftest.$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13759
13760 /* Override any gcc2 internal prototype to avoid an error. */
13761 #ifdef __cplusplus
13762 extern "C"
13763 #endif
13764 /* We use char because int might match the return type of a gcc2
13765 builtin and then its argument prototype would still apply. */
13766 char expf ();
13767 int
13768 main ()
13769 {
13770 expf ();
13771 ;
13772 return 0;
13773 }
13774 _ACEOF
13775 rm -f conftest.$ac_objext conftest$ac_exeext
13776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13777 (eval $ac_link) 2>conftest.er1
13778 ac_status=$?
13779 grep -v '^ *+' conftest.er1 >conftest.err
13780 rm -f conftest.er1
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } &&
13784 { ac_try='test -z "$ac_c_werror_flag"
13785 || test ! -s conftest.err'
13786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13787 (eval $ac_try) 2>&5
13788 ac_status=$?
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); }; } &&
13791 { ac_try='test -s conftest$ac_exeext'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13794 ac_status=$?
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; }; then
13797 ac_cv_lib_m_expf=yes
13798 else
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.$ac_ext >&5
13801
13802 ac_cv_lib_m_expf=no
13803 fi
13804 rm -f conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 LIBS=$ac_check_lib_save_LIBS
13807 fi
13808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13809 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13810 if test $ac_cv_lib_m_expf = yes; then
13811
13812 cat >>confdefs.h <<\_ACEOF
13813 #define HAVE_EXPF 1
13814 _ACEOF
13815
13816 fi
13817
13818 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13819 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13820 if test "${ac_cv_lib_m_exp+set}" = set; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13822 else
13823 ac_check_lib_save_LIBS=$LIBS
13824 LIBS="-lm $LIBS"
13825 if test x$gcc_no_link = xyes; then
13826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13828 { (exit 1); exit 1; }; }
13829 fi
13830 cat >conftest.$ac_ext <<_ACEOF
13831 /* confdefs.h. */
13832 _ACEOF
13833 cat confdefs.h >>conftest.$ac_ext
13834 cat >>conftest.$ac_ext <<_ACEOF
13835 /* end confdefs.h. */
13836
13837 /* Override any gcc2 internal prototype to avoid an error. */
13838 #ifdef __cplusplus
13839 extern "C"
13840 #endif
13841 /* We use char because int might match the return type of a gcc2
13842 builtin and then its argument prototype would still apply. */
13843 char exp ();
13844 int
13845 main ()
13846 {
13847 exp ();
13848 ;
13849 return 0;
13850 }
13851 _ACEOF
13852 rm -f conftest.$ac_objext conftest$ac_exeext
13853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13854 (eval $ac_link) 2>conftest.er1
13855 ac_status=$?
13856 grep -v '^ *+' conftest.er1 >conftest.err
13857 rm -f conftest.er1
13858 cat conftest.err >&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try='test -z "$ac_c_werror_flag"
13862 || test ! -s conftest.err'
13863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13864 (eval $ac_try) 2>&5
13865 ac_status=$?
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); }; } &&
13868 { ac_try='test -s conftest$ac_exeext'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13871 ac_status=$?
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; }; then
13874 ac_cv_lib_m_exp=yes
13875 else
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.$ac_ext >&5
13878
13879 ac_cv_lib_m_exp=no
13880 fi
13881 rm -f conftest.err conftest.$ac_objext \
13882 conftest$ac_exeext conftest.$ac_ext
13883 LIBS=$ac_check_lib_save_LIBS
13884 fi
13885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
13886 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
13887 if test $ac_cv_lib_m_exp = yes; then
13888
13889 cat >>confdefs.h <<\_ACEOF
13890 #define HAVE_EXP 1
13891 _ACEOF
13892
13893 fi
13894
13895 echo "$as_me:$LINENO: checking for expl in -lm" >&5
13896 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
13897 if test "${ac_cv_lib_m_expl+set}" = set; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 else
13900 ac_check_lib_save_LIBS=$LIBS
13901 LIBS="-lm $LIBS"
13902 if test x$gcc_no_link = xyes; then
13903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13905 { (exit 1); exit 1; }; }
13906 fi
13907 cat >conftest.$ac_ext <<_ACEOF
13908 /* confdefs.h. */
13909 _ACEOF
13910 cat confdefs.h >>conftest.$ac_ext
13911 cat >>conftest.$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13913
13914 /* Override any gcc2 internal prototype to avoid an error. */
13915 #ifdef __cplusplus
13916 extern "C"
13917 #endif
13918 /* We use char because int might match the return type of a gcc2
13919 builtin and then its argument prototype would still apply. */
13920 char expl ();
13921 int
13922 main ()
13923 {
13924 expl ();
13925 ;
13926 return 0;
13927 }
13928 _ACEOF
13929 rm -f conftest.$ac_objext conftest$ac_exeext
13930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13931 (eval $ac_link) 2>conftest.er1
13932 ac_status=$?
13933 grep -v '^ *+' conftest.er1 >conftest.err
13934 rm -f conftest.er1
13935 cat conftest.err >&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } &&
13938 { ac_try='test -z "$ac_c_werror_flag"
13939 || test ! -s conftest.err'
13940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13941 (eval $ac_try) 2>&5
13942 ac_status=$?
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); }; } &&
13945 { ac_try='test -s conftest$ac_exeext'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13948 ac_status=$?
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; }; then
13951 ac_cv_lib_m_expl=yes
13952 else
13953 echo "$as_me: failed program was:" >&5
13954 sed 's/^/| /' conftest.$ac_ext >&5
13955
13956 ac_cv_lib_m_expl=no
13957 fi
13958 rm -f conftest.err conftest.$ac_objext \
13959 conftest$ac_exeext conftest.$ac_ext
13960 LIBS=$ac_check_lib_save_LIBS
13961 fi
13962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
13963 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
13964 if test $ac_cv_lib_m_expl = yes; then
13965
13966 cat >>confdefs.h <<\_ACEOF
13967 #define HAVE_EXPL 1
13968 _ACEOF
13969
13970 fi
13971
13972 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
13973 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
13974 if test "${ac_cv_lib_m_cexpf+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 else
13977 ac_check_lib_save_LIBS=$LIBS
13978 LIBS="-lm $LIBS"
13979 if test x$gcc_no_link = xyes; then
13980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13982 { (exit 1); exit 1; }; }
13983 fi
13984 cat >conftest.$ac_ext <<_ACEOF
13985 /* confdefs.h. */
13986 _ACEOF
13987 cat confdefs.h >>conftest.$ac_ext
13988 cat >>conftest.$ac_ext <<_ACEOF
13989 /* end confdefs.h. */
13990
13991 /* Override any gcc2 internal prototype to avoid an error. */
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 /* We use char because int might match the return type of a gcc2
13996 builtin and then its argument prototype would still apply. */
13997 char cexpf ();
13998 int
13999 main ()
14000 {
14001 cexpf ();
14002 ;
14003 return 0;
14004 }
14005 _ACEOF
14006 rm -f conftest.$ac_objext conftest$ac_exeext
14007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14008 (eval $ac_link) 2>conftest.er1
14009 ac_status=$?
14010 grep -v '^ *+' conftest.er1 >conftest.err
14011 rm -f conftest.er1
14012 cat conftest.err >&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } &&
14015 { ac_try='test -z "$ac_c_werror_flag"
14016 || test ! -s conftest.err'
14017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 (eval $ac_try) 2>&5
14019 ac_status=$?
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); }; } &&
14022 { ac_try='test -s conftest$ac_exeext'
14023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14024 (eval $ac_try) 2>&5
14025 ac_status=$?
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); }; }; then
14028 ac_cv_lib_m_cexpf=yes
14029 else
14030 echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.$ac_ext >&5
14032
14033 ac_cv_lib_m_cexpf=no
14034 fi
14035 rm -f conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 LIBS=$ac_check_lib_save_LIBS
14038 fi
14039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14040 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14041 if test $ac_cv_lib_m_cexpf = yes; then
14042
14043 cat >>confdefs.h <<\_ACEOF
14044 #define HAVE_CEXPF 1
14045 _ACEOF
14046
14047 fi
14048
14049 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14050 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14051 if test "${ac_cv_lib_m_cexp+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 else
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-lm $LIBS"
14056 if test x$gcc_no_link = xyes; then
14057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14059 { (exit 1); exit 1; }; }
14060 fi
14061 cat >conftest.$ac_ext <<_ACEOF
14062 /* confdefs.h. */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067
14068 /* Override any gcc2 internal prototype to avoid an error. */
14069 #ifdef __cplusplus
14070 extern "C"
14071 #endif
14072 /* We use char because int might match the return type of a gcc2
14073 builtin and then its argument prototype would still apply. */
14074 char cexp ();
14075 int
14076 main ()
14077 {
14078 cexp ();
14079 ;
14080 return 0;
14081 }
14082 _ACEOF
14083 rm -f conftest.$ac_objext conftest$ac_exeext
14084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14085 (eval $ac_link) 2>conftest.er1
14086 ac_status=$?
14087 grep -v '^ *+' conftest.er1 >conftest.err
14088 rm -f conftest.er1
14089 cat conftest.err >&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } &&
14092 { ac_try='test -z "$ac_c_werror_flag"
14093 || test ! -s conftest.err'
14094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14095 (eval $ac_try) 2>&5
14096 ac_status=$?
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); }; } &&
14099 { ac_try='test -s conftest$ac_exeext'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14102 ac_status=$?
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; }; then
14105 ac_cv_lib_m_cexp=yes
14106 else
14107 echo "$as_me: failed program was:" >&5
14108 sed 's/^/| /' conftest.$ac_ext >&5
14109
14110 ac_cv_lib_m_cexp=no
14111 fi
14112 rm -f conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14114 LIBS=$ac_check_lib_save_LIBS
14115 fi
14116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14117 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14118 if test $ac_cv_lib_m_cexp = yes; then
14119
14120 cat >>confdefs.h <<\_ACEOF
14121 #define HAVE_CEXP 1
14122 _ACEOF
14123
14124 fi
14125
14126 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14127 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14128 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14129 echo $ECHO_N "(cached) $ECHO_C" >&6
14130 else
14131 ac_check_lib_save_LIBS=$LIBS
14132 LIBS="-lm $LIBS"
14133 if test x$gcc_no_link = xyes; then
14134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14136 { (exit 1); exit 1; }; }
14137 fi
14138 cat >conftest.$ac_ext <<_ACEOF
14139 /* confdefs.h. */
14140 _ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144
14145 /* Override any gcc2 internal prototype to avoid an error. */
14146 #ifdef __cplusplus
14147 extern "C"
14148 #endif
14149 /* We use char because int might match the return type of a gcc2
14150 builtin and then its argument prototype would still apply. */
14151 char cexpl ();
14152 int
14153 main ()
14154 {
14155 cexpl ();
14156 ;
14157 return 0;
14158 }
14159 _ACEOF
14160 rm -f conftest.$ac_objext conftest$ac_exeext
14161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14162 (eval $ac_link) 2>conftest.er1
14163 ac_status=$?
14164 grep -v '^ *+' conftest.er1 >conftest.err
14165 rm -f conftest.er1
14166 cat conftest.err >&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); } &&
14169 { ac_try='test -z "$ac_c_werror_flag"
14170 || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14173 ac_status=$?
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try='test -s conftest$ac_exeext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14179 ac_status=$?
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_cv_lib_m_cexpl=yes
14183 else
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.$ac_ext >&5
14186
14187 ac_cv_lib_m_cexpl=no
14188 fi
14189 rm -f conftest.err conftest.$ac_objext \
14190 conftest$ac_exeext conftest.$ac_ext
14191 LIBS=$ac_check_lib_save_LIBS
14192 fi
14193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14194 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14195 if test $ac_cv_lib_m_cexpl = yes; then
14196
14197 cat >>confdefs.h <<\_ACEOF
14198 #define HAVE_CEXPL 1
14199 _ACEOF
14200
14201 fi
14202
14203 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14204 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14205 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14206 echo $ECHO_N "(cached) $ECHO_C" >&6
14207 else
14208 ac_check_lib_save_LIBS=$LIBS
14209 LIBS="-lm $LIBS"
14210 if test x$gcc_no_link = xyes; then
14211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14213 { (exit 1); exit 1; }; }
14214 fi
14215 cat >conftest.$ac_ext <<_ACEOF
14216 /* confdefs.h. */
14217 _ACEOF
14218 cat confdefs.h >>conftest.$ac_ext
14219 cat >>conftest.$ac_ext <<_ACEOF
14220 /* end confdefs.h. */
14221
14222 /* Override any gcc2 internal prototype to avoid an error. */
14223 #ifdef __cplusplus
14224 extern "C"
14225 #endif
14226 /* We use char because int might match the return type of a gcc2
14227 builtin and then its argument prototype would still apply. */
14228 char fabsf ();
14229 int
14230 main ()
14231 {
14232 fabsf ();
14233 ;
14234 return 0;
14235 }
14236 _ACEOF
14237 rm -f conftest.$ac_objext conftest$ac_exeext
14238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14239 (eval $ac_link) 2>conftest.er1
14240 ac_status=$?
14241 grep -v '^ *+' conftest.er1 >conftest.err
14242 rm -f conftest.er1
14243 cat conftest.err >&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); } &&
14246 { ac_try='test -z "$ac_c_werror_flag"
14247 || test ! -s conftest.err'
14248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14249 (eval $ac_try) 2>&5
14250 ac_status=$?
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); }; } &&
14253 { ac_try='test -s conftest$ac_exeext'
14254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14255 (eval $ac_try) 2>&5
14256 ac_status=$?
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); }; }; then
14259 ac_cv_lib_m_fabsf=yes
14260 else
14261 echo "$as_me: failed program was:" >&5
14262 sed 's/^/| /' conftest.$ac_ext >&5
14263
14264 ac_cv_lib_m_fabsf=no
14265 fi
14266 rm -f conftest.err conftest.$ac_objext \
14267 conftest$ac_exeext conftest.$ac_ext
14268 LIBS=$ac_check_lib_save_LIBS
14269 fi
14270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14271 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14272 if test $ac_cv_lib_m_fabsf = yes; then
14273
14274 cat >>confdefs.h <<\_ACEOF
14275 #define HAVE_FABSF 1
14276 _ACEOF
14277
14278 fi
14279
14280 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14281 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14282 if test "${ac_cv_lib_m_fabs+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 else
14285 ac_check_lib_save_LIBS=$LIBS
14286 LIBS="-lm $LIBS"
14287 if test x$gcc_no_link = xyes; then
14288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14290 { (exit 1); exit 1; }; }
14291 fi
14292 cat >conftest.$ac_ext <<_ACEOF
14293 /* confdefs.h. */
14294 _ACEOF
14295 cat confdefs.h >>conftest.$ac_ext
14296 cat >>conftest.$ac_ext <<_ACEOF
14297 /* end confdefs.h. */
14298
14299 /* Override any gcc2 internal prototype to avoid an error. */
14300 #ifdef __cplusplus
14301 extern "C"
14302 #endif
14303 /* We use char because int might match the return type of a gcc2
14304 builtin and then its argument prototype would still apply. */
14305 char fabs ();
14306 int
14307 main ()
14308 {
14309 fabs ();
14310 ;
14311 return 0;
14312 }
14313 _ACEOF
14314 rm -f conftest.$ac_objext conftest$ac_exeext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14316 (eval $ac_link) 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try='test -z "$ac_c_werror_flag"
14324 || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14327 ac_status=$?
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try='test -s conftest$ac_exeext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14333 ac_status=$?
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 ac_cv_lib_m_fabs=yes
14337 else
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.$ac_ext >&5
14340
14341 ac_cv_lib_m_fabs=no
14342 fi
14343 rm -f conftest.err conftest.$ac_objext \
14344 conftest$ac_exeext conftest.$ac_ext
14345 LIBS=$ac_check_lib_save_LIBS
14346 fi
14347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14348 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14349 if test $ac_cv_lib_m_fabs = yes; then
14350
14351 cat >>confdefs.h <<\_ACEOF
14352 #define HAVE_FABS 1
14353 _ACEOF
14354
14355 fi
14356
14357 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14358 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14359 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14360 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 else
14362 ac_check_lib_save_LIBS=$LIBS
14363 LIBS="-lm $LIBS"
14364 if test x$gcc_no_link = xyes; then
14365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14367 { (exit 1); exit 1; }; }
14368 fi
14369 cat >conftest.$ac_ext <<_ACEOF
14370 /* confdefs.h. */
14371 _ACEOF
14372 cat confdefs.h >>conftest.$ac_ext
14373 cat >>conftest.$ac_ext <<_ACEOF
14374 /* end confdefs.h. */
14375
14376 /* Override any gcc2 internal prototype to avoid an error. */
14377 #ifdef __cplusplus
14378 extern "C"
14379 #endif
14380 /* We use char because int might match the return type of a gcc2
14381 builtin and then its argument prototype would still apply. */
14382 char fabsl ();
14383 int
14384 main ()
14385 {
14386 fabsl ();
14387 ;
14388 return 0;
14389 }
14390 _ACEOF
14391 rm -f conftest.$ac_objext conftest$ac_exeext
14392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14393 (eval $ac_link) 2>conftest.er1
14394 ac_status=$?
14395 grep -v '^ *+' conftest.er1 >conftest.err
14396 rm -f conftest.er1
14397 cat conftest.err >&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } &&
14400 { ac_try='test -z "$ac_c_werror_flag"
14401 || test ! -s conftest.err'
14402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14403 (eval $ac_try) 2>&5
14404 ac_status=$?
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); }; } &&
14407 { ac_try='test -s conftest$ac_exeext'
14408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14409 (eval $ac_try) 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; }; then
14413 ac_cv_lib_m_fabsl=yes
14414 else
14415 echo "$as_me: failed program was:" >&5
14416 sed 's/^/| /' conftest.$ac_ext >&5
14417
14418 ac_cv_lib_m_fabsl=no
14419 fi
14420 rm -f conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14422 LIBS=$ac_check_lib_save_LIBS
14423 fi
14424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14425 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14426 if test $ac_cv_lib_m_fabsl = yes; then
14427
14428 cat >>confdefs.h <<\_ACEOF
14429 #define HAVE_FABSL 1
14430 _ACEOF
14431
14432 fi
14433
14434 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14435 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14436 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14438 else
14439 ac_check_lib_save_LIBS=$LIBS
14440 LIBS="-lm $LIBS"
14441 if test x$gcc_no_link = xyes; then
14442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14444 { (exit 1); exit 1; }; }
14445 fi
14446 cat >conftest.$ac_ext <<_ACEOF
14447 /* confdefs.h. */
14448 _ACEOF
14449 cat confdefs.h >>conftest.$ac_ext
14450 cat >>conftest.$ac_ext <<_ACEOF
14451 /* end confdefs.h. */
14452
14453 /* Override any gcc2 internal prototype to avoid an error. */
14454 #ifdef __cplusplus
14455 extern "C"
14456 #endif
14457 /* We use char because int might match the return type of a gcc2
14458 builtin and then its argument prototype would still apply. */
14459 char cabsf ();
14460 int
14461 main ()
14462 {
14463 cabsf ();
14464 ;
14465 return 0;
14466 }
14467 _ACEOF
14468 rm -f conftest.$ac_objext conftest$ac_exeext
14469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14470 (eval $ac_link) 2>conftest.er1
14471 ac_status=$?
14472 grep -v '^ *+' conftest.er1 >conftest.err
14473 rm -f conftest.er1
14474 cat conftest.err >&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } &&
14477 { ac_try='test -z "$ac_c_werror_flag"
14478 || test ! -s conftest.err'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14481 ac_status=$?
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; } &&
14484 { ac_try='test -s conftest$ac_exeext'
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486 (eval $ac_try) 2>&5
14487 ac_status=$?
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; }; then
14490 ac_cv_lib_m_cabsf=yes
14491 else
14492 echo "$as_me: failed program was:" >&5
14493 sed 's/^/| /' conftest.$ac_ext >&5
14494
14495 ac_cv_lib_m_cabsf=no
14496 fi
14497 rm -f conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 LIBS=$ac_check_lib_save_LIBS
14500 fi
14501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14502 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14503 if test $ac_cv_lib_m_cabsf = yes; then
14504
14505 cat >>confdefs.h <<\_ACEOF
14506 #define HAVE_CABSF 1
14507 _ACEOF
14508
14509 fi
14510
14511 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14512 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14513 if test "${ac_cv_lib_m_cabs+set}" = set; then
14514 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 else
14516 ac_check_lib_save_LIBS=$LIBS
14517 LIBS="-lm $LIBS"
14518 if test x$gcc_no_link = xyes; then
14519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14521 { (exit 1); exit 1; }; }
14522 fi
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14529
14530 /* Override any gcc2 internal prototype to avoid an error. */
14531 #ifdef __cplusplus
14532 extern "C"
14533 #endif
14534 /* We use char because int might match the return type of a gcc2
14535 builtin and then its argument prototype would still apply. */
14536 char cabs ();
14537 int
14538 main ()
14539 {
14540 cabs ();
14541 ;
14542 return 0;
14543 }
14544 _ACEOF
14545 rm -f conftest.$ac_objext conftest$ac_exeext
14546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14547 (eval $ac_link) 2>conftest.er1
14548 ac_status=$?
14549 grep -v '^ *+' conftest.er1 >conftest.err
14550 rm -f conftest.er1
14551 cat conftest.err >&5
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); } &&
14554 { ac_try='test -z "$ac_c_werror_flag"
14555 || test ! -s conftest.err'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14558 ac_status=$?
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; } &&
14561 { ac_try='test -s conftest$ac_exeext'
14562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563 (eval $ac_try) 2>&5
14564 ac_status=$?
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); }; }; then
14567 ac_cv_lib_m_cabs=yes
14568 else
14569 echo "$as_me: failed program was:" >&5
14570 sed 's/^/| /' conftest.$ac_ext >&5
14571
14572 ac_cv_lib_m_cabs=no
14573 fi
14574 rm -f conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14576 LIBS=$ac_check_lib_save_LIBS
14577 fi
14578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14579 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14580 if test $ac_cv_lib_m_cabs = yes; then
14581
14582 cat >>confdefs.h <<\_ACEOF
14583 #define HAVE_CABS 1
14584 _ACEOF
14585
14586 fi
14587
14588 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14589 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14590 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14591 echo $ECHO_N "(cached) $ECHO_C" >&6
14592 else
14593 ac_check_lib_save_LIBS=$LIBS
14594 LIBS="-lm $LIBS"
14595 if test x$gcc_no_link = xyes; then
14596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14598 { (exit 1); exit 1; }; }
14599 fi
14600 cat >conftest.$ac_ext <<_ACEOF
14601 /* confdefs.h. */
14602 _ACEOF
14603 cat confdefs.h >>conftest.$ac_ext
14604 cat >>conftest.$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606
14607 /* Override any gcc2 internal prototype to avoid an error. */
14608 #ifdef __cplusplus
14609 extern "C"
14610 #endif
14611 /* We use char because int might match the return type of a gcc2
14612 builtin and then its argument prototype would still apply. */
14613 char cabsl ();
14614 int
14615 main ()
14616 {
14617 cabsl ();
14618 ;
14619 return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext conftest$ac_exeext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14624 (eval $ac_link) 2>conftest.er1
14625 ac_status=$?
14626 grep -v '^ *+' conftest.er1 >conftest.err
14627 rm -f conftest.er1
14628 cat conftest.err >&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } &&
14631 { ac_try='test -z "$ac_c_werror_flag"
14632 || test ! -s conftest.err'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14635 ac_status=$?
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try='test -s conftest$ac_exeext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14641 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14644 ac_cv_lib_m_cabsl=yes
14645 else
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14648
14649 ac_cv_lib_m_cabsl=no
14650 fi
14651 rm -f conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14653 LIBS=$ac_check_lib_save_LIBS
14654 fi
14655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14656 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14657 if test $ac_cv_lib_m_cabsl = yes; then
14658
14659 cat >>confdefs.h <<\_ACEOF
14660 #define HAVE_CABSL 1
14661 _ACEOF
14662
14663 fi
14664
14665 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14666 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14667 if test "${ac_cv_lib_m_floorf+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 else
14670 ac_check_lib_save_LIBS=$LIBS
14671 LIBS="-lm $LIBS"
14672 if test x$gcc_no_link = xyes; then
14673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14675 { (exit 1); exit 1; }; }
14676 fi
14677 cat >conftest.$ac_ext <<_ACEOF
14678 /* confdefs.h. */
14679 _ACEOF
14680 cat confdefs.h >>conftest.$ac_ext
14681 cat >>conftest.$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14683
14684 /* Override any gcc2 internal prototype to avoid an error. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 /* We use char because int might match the return type of a gcc2
14689 builtin and then its argument prototype would still apply. */
14690 char floorf ();
14691 int
14692 main ()
14693 {
14694 floorf ();
14695 ;
14696 return 0;
14697 }
14698 _ACEOF
14699 rm -f conftest.$ac_objext conftest$ac_exeext
14700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14701 (eval $ac_link) 2>conftest.er1
14702 ac_status=$?
14703 grep -v '^ *+' conftest.er1 >conftest.err
14704 rm -f conftest.er1
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } &&
14708 { ac_try='test -z "$ac_c_werror_flag"
14709 || test ! -s conftest.err'
14710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14711 (eval $ac_try) 2>&5
14712 ac_status=$?
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); }; } &&
14715 { ac_try='test -s conftest$ac_exeext'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14718 ac_status=$?
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; }; then
14721 ac_cv_lib_m_floorf=yes
14722 else
14723 echo "$as_me: failed program was:" >&5
14724 sed 's/^/| /' conftest.$ac_ext >&5
14725
14726 ac_cv_lib_m_floorf=no
14727 fi
14728 rm -f conftest.err conftest.$ac_objext \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_lib_save_LIBS
14731 fi
14732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14733 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14734 if test $ac_cv_lib_m_floorf = yes; then
14735
14736 cat >>confdefs.h <<\_ACEOF
14737 #define HAVE_FLOORF 1
14738 _ACEOF
14739
14740 fi
14741
14742 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14743 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14744 if test "${ac_cv_lib_m_floor+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 else
14747 ac_check_lib_save_LIBS=$LIBS
14748 LIBS="-lm $LIBS"
14749 if test x$gcc_no_link = xyes; then
14750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14752 { (exit 1); exit 1; }; }
14753 fi
14754 cat >conftest.$ac_ext <<_ACEOF
14755 /* confdefs.h. */
14756 _ACEOF
14757 cat confdefs.h >>conftest.$ac_ext
14758 cat >>conftest.$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14760
14761 /* Override any gcc2 internal prototype to avoid an error. */
14762 #ifdef __cplusplus
14763 extern "C"
14764 #endif
14765 /* We use char because int might match the return type of a gcc2
14766 builtin and then its argument prototype would still apply. */
14767 char floor ();
14768 int
14769 main ()
14770 {
14771 floor ();
14772 ;
14773 return 0;
14774 }
14775 _ACEOF
14776 rm -f conftest.$ac_objext conftest$ac_exeext
14777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14778 (eval $ac_link) 2>conftest.er1
14779 ac_status=$?
14780 grep -v '^ *+' conftest.er1 >conftest.err
14781 rm -f conftest.er1
14782 cat conftest.err >&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } &&
14785 { ac_try='test -z "$ac_c_werror_flag"
14786 || test ! -s conftest.err'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14789 ac_status=$?
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; } &&
14792 { ac_try='test -s conftest$ac_exeext'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14795 ac_status=$?
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14798 ac_cv_lib_m_floor=yes
14799 else
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14802
14803 ac_cv_lib_m_floor=no
14804 fi
14805 rm -f conftest.err conftest.$ac_objext \
14806 conftest$ac_exeext conftest.$ac_ext
14807 LIBS=$ac_check_lib_save_LIBS
14808 fi
14809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14810 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14811 if test $ac_cv_lib_m_floor = yes; then
14812
14813 cat >>confdefs.h <<\_ACEOF
14814 #define HAVE_FLOOR 1
14815 _ACEOF
14816
14817 fi
14818
14819 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14820 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14821 if test "${ac_cv_lib_m_floorl+set}" = set; then
14822 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 else
14824 ac_check_lib_save_LIBS=$LIBS
14825 LIBS="-lm $LIBS"
14826 if test x$gcc_no_link = xyes; then
14827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14829 { (exit 1); exit 1; }; }
14830 fi
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837
14838 /* Override any gcc2 internal prototype to avoid an error. */
14839 #ifdef __cplusplus
14840 extern "C"
14841 #endif
14842 /* We use char because int might match the return type of a gcc2
14843 builtin and then its argument prototype would still apply. */
14844 char floorl ();
14845 int
14846 main ()
14847 {
14848 floorl ();
14849 ;
14850 return 0;
14851 }
14852 _ACEOF
14853 rm -f conftest.$ac_objext conftest$ac_exeext
14854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14855 (eval $ac_link) 2>conftest.er1
14856 ac_status=$?
14857 grep -v '^ *+' conftest.er1 >conftest.err
14858 rm -f conftest.er1
14859 cat conftest.err >&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); } &&
14862 { ac_try='test -z "$ac_c_werror_flag"
14863 || test ! -s conftest.err'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14866 ac_status=$?
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; } &&
14869 { ac_try='test -s conftest$ac_exeext'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14872 ac_status=$?
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; }; then
14875 ac_cv_lib_m_floorl=yes
14876 else
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.$ac_ext >&5
14879
14880 ac_cv_lib_m_floorl=no
14881 fi
14882 rm -f conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_lib_save_LIBS
14885 fi
14886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
14887 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
14888 if test $ac_cv_lib_m_floorl = yes; then
14889
14890 cat >>confdefs.h <<\_ACEOF
14891 #define HAVE_FLOORL 1
14892 _ACEOF
14893
14894 fi
14895
14896 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
14897 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
14898 if test "${ac_cv_lib_m_fmodf+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14900 else
14901 ac_check_lib_save_LIBS=$LIBS
14902 LIBS="-lm $LIBS"
14903 if test x$gcc_no_link = xyes; then
14904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14906 { (exit 1); exit 1; }; }
14907 fi
14908 cat >conftest.$ac_ext <<_ACEOF
14909 /* confdefs.h. */
14910 _ACEOF
14911 cat confdefs.h >>conftest.$ac_ext
14912 cat >>conftest.$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14914
14915 /* Override any gcc2 internal prototype to avoid an error. */
14916 #ifdef __cplusplus
14917 extern "C"
14918 #endif
14919 /* We use char because int might match the return type of a gcc2
14920 builtin and then its argument prototype would still apply. */
14921 char fmodf ();
14922 int
14923 main ()
14924 {
14925 fmodf ();
14926 ;
14927 return 0;
14928 }
14929 _ACEOF
14930 rm -f conftest.$ac_objext conftest$ac_exeext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14932 (eval $ac_link) 2>conftest.er1
14933 ac_status=$?
14934 grep -v '^ *+' conftest.er1 >conftest.err
14935 rm -f conftest.er1
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -z "$ac_c_werror_flag"
14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14943 ac_status=$?
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try='test -s conftest$ac_exeext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_cv_lib_m_fmodf=yes
14953 else
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14956
14957 ac_cv_lib_m_fmodf=no
14958 fi
14959 rm -f conftest.err conftest.$ac_objext \
14960 conftest$ac_exeext conftest.$ac_ext
14961 LIBS=$ac_check_lib_save_LIBS
14962 fi
14963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
14964 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
14965 if test $ac_cv_lib_m_fmodf = yes; then
14966
14967 cat >>confdefs.h <<\_ACEOF
14968 #define HAVE_FMODF 1
14969 _ACEOF
14970
14971 fi
14972
14973 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
14974 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
14975 if test "${ac_cv_lib_m_fmod+set}" = set; then
14976 echo $ECHO_N "(cached) $ECHO_C" >&6
14977 else
14978 ac_check_lib_save_LIBS=$LIBS
14979 LIBS="-lm $LIBS"
14980 if test x$gcc_no_link = xyes; then
14981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14983 { (exit 1); exit 1; }; }
14984 fi
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991
14992 /* Override any gcc2 internal prototype to avoid an error. */
14993 #ifdef __cplusplus
14994 extern "C"
14995 #endif
14996 /* We use char because int might match the return type of a gcc2
14997 builtin and then its argument prototype would still apply. */
14998 char fmod ();
14999 int
15000 main ()
15001 {
15002 fmod ();
15003 ;
15004 return 0;
15005 }
15006 _ACEOF
15007 rm -f conftest.$ac_objext conftest$ac_exeext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15009 (eval $ac_link) 2>conftest.er1
15010 ac_status=$?
15011 grep -v '^ *+' conftest.er1 >conftest.err
15012 rm -f conftest.er1
15013 cat conftest.err >&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } &&
15016 { ac_try='test -z "$ac_c_werror_flag"
15017 || test ! -s conftest.err'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15020 ac_status=$?
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; } &&
15023 { ac_try='test -s conftest$ac_exeext'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15026 ac_status=$?
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; }; then
15029 ac_cv_lib_m_fmod=yes
15030 else
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.$ac_ext >&5
15033
15034 ac_cv_lib_m_fmod=no
15035 fi
15036 rm -f conftest.err conftest.$ac_objext \
15037 conftest$ac_exeext conftest.$ac_ext
15038 LIBS=$ac_check_lib_save_LIBS
15039 fi
15040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15041 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15042 if test $ac_cv_lib_m_fmod = yes; then
15043
15044 cat >>confdefs.h <<\_ACEOF
15045 #define HAVE_FMOD 1
15046 _ACEOF
15047
15048 fi
15049
15050 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15051 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15052 if test "${ac_cv_lib_m_fmodl+set}" = set; then
15053 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 else
15055 ac_check_lib_save_LIBS=$LIBS
15056 LIBS="-lm $LIBS"
15057 if test x$gcc_no_link = xyes; then
15058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15060 { (exit 1); exit 1; }; }
15061 fi
15062 cat >conftest.$ac_ext <<_ACEOF
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068
15069 /* Override any gcc2 internal prototype to avoid an error. */
15070 #ifdef __cplusplus
15071 extern "C"
15072 #endif
15073 /* We use char because int might match the return type of a gcc2
15074 builtin and then its argument prototype would still apply. */
15075 char fmodl ();
15076 int
15077 main ()
15078 {
15079 fmodl ();
15080 ;
15081 return 0;
15082 }
15083 _ACEOF
15084 rm -f conftest.$ac_objext conftest$ac_exeext
15085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15086 (eval $ac_link) 2>conftest.er1
15087 ac_status=$?
15088 grep -v '^ *+' conftest.er1 >conftest.err
15089 rm -f conftest.er1
15090 cat conftest.err >&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } &&
15093 { ac_try='test -z "$ac_c_werror_flag"
15094 || test ! -s conftest.err'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; } &&
15100 { ac_try='test -s conftest$ac_exeext'
15101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15102 (eval $ac_try) 2>&5
15103 ac_status=$?
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); }; }; then
15106 ac_cv_lib_m_fmodl=yes
15107 else
15108 echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.$ac_ext >&5
15110
15111 ac_cv_lib_m_fmodl=no
15112 fi
15113 rm -f conftest.err conftest.$ac_objext \
15114 conftest$ac_exeext conftest.$ac_ext
15115 LIBS=$ac_check_lib_save_LIBS
15116 fi
15117 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15118 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15119 if test $ac_cv_lib_m_fmodl = yes; then
15120
15121 cat >>confdefs.h <<\_ACEOF
15122 #define HAVE_FMODL 1
15123 _ACEOF
15124
15125 fi
15126
15127 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15128 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15129 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15130 echo $ECHO_N "(cached) $ECHO_C" >&6
15131 else
15132 ac_check_lib_save_LIBS=$LIBS
15133 LIBS="-lm $LIBS"
15134 if test x$gcc_no_link = xyes; then
15135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15137 { (exit 1); exit 1; }; }
15138 fi
15139 cat >conftest.$ac_ext <<_ACEOF
15140 /* confdefs.h. */
15141 _ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145
15146 /* Override any gcc2 internal prototype to avoid an error. */
15147 #ifdef __cplusplus
15148 extern "C"
15149 #endif
15150 /* We use char because int might match the return type of a gcc2
15151 builtin and then its argument prototype would still apply. */
15152 char frexpf ();
15153 int
15154 main ()
15155 {
15156 frexpf ();
15157 ;
15158 return 0;
15159 }
15160 _ACEOF
15161 rm -f conftest.$ac_objext conftest$ac_exeext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15163 (eval $ac_link) 2>conftest.er1
15164 ac_status=$?
15165 grep -v '^ *+' conftest.er1 >conftest.err
15166 rm -f conftest.er1
15167 cat conftest.err >&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } &&
15170 { ac_try='test -z "$ac_c_werror_flag"
15171 || test ! -s conftest.err'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15174 ac_status=$?
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; } &&
15177 { ac_try='test -s conftest$ac_exeext'
15178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15179 (eval $ac_try) 2>&5
15180 ac_status=$?
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }; }; then
15183 ac_cv_lib_m_frexpf=yes
15184 else
15185 echo "$as_me: failed program was:" >&5
15186 sed 's/^/| /' conftest.$ac_ext >&5
15187
15188 ac_cv_lib_m_frexpf=no
15189 fi
15190 rm -f conftest.err conftest.$ac_objext \
15191 conftest$ac_exeext conftest.$ac_ext
15192 LIBS=$ac_check_lib_save_LIBS
15193 fi
15194 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15195 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15196 if test $ac_cv_lib_m_frexpf = yes; then
15197
15198 cat >>confdefs.h <<\_ACEOF
15199 #define HAVE_FREXPF 1
15200 _ACEOF
15201
15202 fi
15203
15204 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15205 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15206 if test "${ac_cv_lib_m_frexp+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 else
15209 ac_check_lib_save_LIBS=$LIBS
15210 LIBS="-lm $LIBS"
15211 if test x$gcc_no_link = xyes; then
15212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15214 { (exit 1); exit 1; }; }
15215 fi
15216 cat >conftest.$ac_ext <<_ACEOF
15217 /* confdefs.h. */
15218 _ACEOF
15219 cat confdefs.h >>conftest.$ac_ext
15220 cat >>conftest.$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222
15223 /* Override any gcc2 internal prototype to avoid an error. */
15224 #ifdef __cplusplus
15225 extern "C"
15226 #endif
15227 /* We use char because int might match the return type of a gcc2
15228 builtin and then its argument prototype would still apply. */
15229 char frexp ();
15230 int
15231 main ()
15232 {
15233 frexp ();
15234 ;
15235 return 0;
15236 }
15237 _ACEOF
15238 rm -f conftest.$ac_objext conftest$ac_exeext
15239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15240 (eval $ac_link) 2>conftest.er1
15241 ac_status=$?
15242 grep -v '^ *+' conftest.er1 >conftest.err
15243 rm -f conftest.er1
15244 cat conftest.err >&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } &&
15247 { ac_try='test -z "$ac_c_werror_flag"
15248 || test ! -s conftest.err'
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15250 (eval $ac_try) 2>&5
15251 ac_status=$?
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; } &&
15254 { ac_try='test -s conftest$ac_exeext'
15255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15256 (eval $ac_try) 2>&5
15257 ac_status=$?
15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15259 (exit $ac_status); }; }; then
15260 ac_cv_lib_m_frexp=yes
15261 else
15262 echo "$as_me: failed program was:" >&5
15263 sed 's/^/| /' conftest.$ac_ext >&5
15264
15265 ac_cv_lib_m_frexp=no
15266 fi
15267 rm -f conftest.err conftest.$ac_objext \
15268 conftest$ac_exeext conftest.$ac_ext
15269 LIBS=$ac_check_lib_save_LIBS
15270 fi
15271 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15272 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15273 if test $ac_cv_lib_m_frexp = yes; then
15274
15275 cat >>confdefs.h <<\_ACEOF
15276 #define HAVE_FREXP 1
15277 _ACEOF
15278
15279 fi
15280
15281 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15282 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15283 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15284 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 else
15286 ac_check_lib_save_LIBS=$LIBS
15287 LIBS="-lm $LIBS"
15288 if test x$gcc_no_link = xyes; then
15289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15291 { (exit 1); exit 1; }; }
15292 fi
15293 cat >conftest.$ac_ext <<_ACEOF
15294 /* confdefs.h. */
15295 _ACEOF
15296 cat confdefs.h >>conftest.$ac_ext
15297 cat >>conftest.$ac_ext <<_ACEOF
15298 /* end confdefs.h. */
15299
15300 /* Override any gcc2 internal prototype to avoid an error. */
15301 #ifdef __cplusplus
15302 extern "C"
15303 #endif
15304 /* We use char because int might match the return type of a gcc2
15305 builtin and then its argument prototype would still apply. */
15306 char frexpl ();
15307 int
15308 main ()
15309 {
15310 frexpl ();
15311 ;
15312 return 0;
15313 }
15314 _ACEOF
15315 rm -f conftest.$ac_objext conftest$ac_exeext
15316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15317 (eval $ac_link) 2>conftest.er1
15318 ac_status=$?
15319 grep -v '^ *+' conftest.er1 >conftest.err
15320 rm -f conftest.er1
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } &&
15324 { ac_try='test -z "$ac_c_werror_flag"
15325 || test ! -s conftest.err'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15328 ac_status=$?
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; } &&
15331 { ac_try='test -s conftest$ac_exeext'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15334 ac_status=$?
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; }; then
15337 ac_cv_lib_m_frexpl=yes
15338 else
15339 echo "$as_me: failed program was:" >&5
15340 sed 's/^/| /' conftest.$ac_ext >&5
15341
15342 ac_cv_lib_m_frexpl=no
15343 fi
15344 rm -f conftest.err conftest.$ac_objext \
15345 conftest$ac_exeext conftest.$ac_ext
15346 LIBS=$ac_check_lib_save_LIBS
15347 fi
15348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15349 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15350 if test $ac_cv_lib_m_frexpl = yes; then
15351
15352 cat >>confdefs.h <<\_ACEOF
15353 #define HAVE_FREXPL 1
15354 _ACEOF
15355
15356 fi
15357
15358 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15359 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15360 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6
15362 else
15363 ac_check_lib_save_LIBS=$LIBS
15364 LIBS="-lm $LIBS"
15365 if test x$gcc_no_link = xyes; then
15366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15368 { (exit 1); exit 1; }; }
15369 fi
15370 cat >conftest.$ac_ext <<_ACEOF
15371 /* confdefs.h. */
15372 _ACEOF
15373 cat confdefs.h >>conftest.$ac_ext
15374 cat >>conftest.$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376
15377 /* Override any gcc2 internal prototype to avoid an error. */
15378 #ifdef __cplusplus
15379 extern "C"
15380 #endif
15381 /* We use char because int might match the return type of a gcc2
15382 builtin and then its argument prototype would still apply. */
15383 char hypotf ();
15384 int
15385 main ()
15386 {
15387 hypotf ();
15388 ;
15389 return 0;
15390 }
15391 _ACEOF
15392 rm -f conftest.$ac_objext conftest$ac_exeext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15394 (eval $ac_link) 2>conftest.er1
15395 ac_status=$?
15396 grep -v '^ *+' conftest.er1 >conftest.err
15397 rm -f conftest.er1
15398 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } &&
15401 { ac_try='test -z "$ac_c_werror_flag"
15402 || test ! -s conftest.err'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15405 ac_status=$?
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; } &&
15408 { ac_try='test -s conftest$ac_exeext'
15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15410 (eval $ac_try) 2>&5
15411 ac_status=$?
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; }; then
15414 ac_cv_lib_m_hypotf=yes
15415 else
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.$ac_ext >&5
15418
15419 ac_cv_lib_m_hypotf=no
15420 fi
15421 rm -f conftest.err conftest.$ac_objext \
15422 conftest$ac_exeext conftest.$ac_ext
15423 LIBS=$ac_check_lib_save_LIBS
15424 fi
15425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15426 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15427 if test $ac_cv_lib_m_hypotf = yes; then
15428
15429 cat >>confdefs.h <<\_ACEOF
15430 #define HAVE_HYPOTF 1
15431 _ACEOF
15432
15433 fi
15434
15435 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15436 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15437 if test "${ac_cv_lib_m_hypot+set}" = set; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 else
15440 ac_check_lib_save_LIBS=$LIBS
15441 LIBS="-lm $LIBS"
15442 if test x$gcc_no_link = xyes; then
15443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15445 { (exit 1); exit 1; }; }
15446 fi
15447 cat >conftest.$ac_ext <<_ACEOF
15448 /* confdefs.h. */
15449 _ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453
15454 /* Override any gcc2 internal prototype to avoid an error. */
15455 #ifdef __cplusplus
15456 extern "C"
15457 #endif
15458 /* We use char because int might match the return type of a gcc2
15459 builtin and then its argument prototype would still apply. */
15460 char hypot ();
15461 int
15462 main ()
15463 {
15464 hypot ();
15465 ;
15466 return 0;
15467 }
15468 _ACEOF
15469 rm -f conftest.$ac_objext conftest$ac_exeext
15470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15471 (eval $ac_link) 2>conftest.er1
15472 ac_status=$?
15473 grep -v '^ *+' conftest.er1 >conftest.err
15474 rm -f conftest.er1
15475 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try='test -z "$ac_c_werror_flag"
15479 || test ! -s conftest.err'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15482 ac_status=$?
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; } &&
15485 { ac_try='test -s conftest$ac_exeext'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15488 ac_status=$?
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; }; then
15491 ac_cv_lib_m_hypot=yes
15492 else
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.$ac_ext >&5
15495
15496 ac_cv_lib_m_hypot=no
15497 fi
15498 rm -f conftest.err conftest.$ac_objext \
15499 conftest$ac_exeext conftest.$ac_ext
15500 LIBS=$ac_check_lib_save_LIBS
15501 fi
15502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15503 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15504 if test $ac_cv_lib_m_hypot = yes; then
15505
15506 cat >>confdefs.h <<\_ACEOF
15507 #define HAVE_HYPOT 1
15508 _ACEOF
15509
15510 fi
15511
15512 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15513 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15514 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 else
15517 ac_check_lib_save_LIBS=$LIBS
15518 LIBS="-lm $LIBS"
15519 if test x$gcc_no_link = xyes; then
15520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15522 { (exit 1); exit 1; }; }
15523 fi
15524 cat >conftest.$ac_ext <<_ACEOF
15525 /* confdefs.h. */
15526 _ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530
15531 /* Override any gcc2 internal prototype to avoid an error. */
15532 #ifdef __cplusplus
15533 extern "C"
15534 #endif
15535 /* We use char because int might match the return type of a gcc2
15536 builtin and then its argument prototype would still apply. */
15537 char hypotl ();
15538 int
15539 main ()
15540 {
15541 hypotl ();
15542 ;
15543 return 0;
15544 }
15545 _ACEOF
15546 rm -f conftest.$ac_objext conftest$ac_exeext
15547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15548 (eval $ac_link) 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } &&
15555 { ac_try='test -z "$ac_c_werror_flag"
15556 || test ! -s conftest.err'
15557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15558 (eval $ac_try) 2>&5
15559 ac_status=$?
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }; } &&
15562 { ac_try='test -s conftest$ac_exeext'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15565 ac_status=$?
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; }; then
15568 ac_cv_lib_m_hypotl=yes
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15572
15573 ac_cv_lib_m_hypotl=no
15574 fi
15575 rm -f conftest.err conftest.$ac_objext \
15576 conftest$ac_exeext conftest.$ac_ext
15577 LIBS=$ac_check_lib_save_LIBS
15578 fi
15579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15580 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15581 if test $ac_cv_lib_m_hypotl = yes; then
15582
15583 cat >>confdefs.h <<\_ACEOF
15584 #define HAVE_HYPOTL 1
15585 _ACEOF
15586
15587 fi
15588
15589 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
15590 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
15591 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
15592 echo $ECHO_N "(cached) $ECHO_C" >&6
15593 else
15594 ac_check_lib_save_LIBS=$LIBS
15595 LIBS="-lm $LIBS"
15596 if test x$gcc_no_link = xyes; then
15597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15599 { (exit 1); exit 1; }; }
15600 fi
15601 cat >conftest.$ac_ext <<_ACEOF
15602 /* confdefs.h. */
15603 _ACEOF
15604 cat confdefs.h >>conftest.$ac_ext
15605 cat >>conftest.$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15607
15608 /* Override any gcc2 internal prototype to avoid an error. */
15609 #ifdef __cplusplus
15610 extern "C"
15611 #endif
15612 /* We use char because int might match the return type of a gcc2
15613 builtin and then its argument prototype would still apply. */
15614 char ldexpf ();
15615 int
15616 main ()
15617 {
15618 ldexpf ();
15619 ;
15620 return 0;
15621 }
15622 _ACEOF
15623 rm -f conftest.$ac_objext conftest$ac_exeext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15625 (eval $ac_link) 2>conftest.er1
15626 ac_status=$?
15627 grep -v '^ *+' conftest.er1 >conftest.err
15628 rm -f conftest.er1
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try='test -z "$ac_c_werror_flag"
15633 || test ! -s conftest.err'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15636 ac_status=$?
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; } &&
15639 { ac_try='test -s conftest$ac_exeext'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15642 ac_status=$?
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15645 ac_cv_lib_m_ldexpf=yes
15646 else
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.$ac_ext >&5
15649
15650 ac_cv_lib_m_ldexpf=no
15651 fi
15652 rm -f conftest.err conftest.$ac_objext \
15653 conftest$ac_exeext conftest.$ac_ext
15654 LIBS=$ac_check_lib_save_LIBS
15655 fi
15656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
15657 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
15658 if test $ac_cv_lib_m_ldexpf = yes; then
15659
15660 cat >>confdefs.h <<\_ACEOF
15661 #define HAVE_LDEXPF 1
15662 _ACEOF
15663
15664 fi
15665
15666 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
15667 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
15668 if test "${ac_cv_lib_m_ldexp+set}" = set; then
15669 echo $ECHO_N "(cached) $ECHO_C" >&6
15670 else
15671 ac_check_lib_save_LIBS=$LIBS
15672 LIBS="-lm $LIBS"
15673 if test x$gcc_no_link = xyes; then
15674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15676 { (exit 1); exit 1; }; }
15677 fi
15678 cat >conftest.$ac_ext <<_ACEOF
15679 /* confdefs.h. */
15680 _ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15684
15685 /* Override any gcc2 internal prototype to avoid an error. */
15686 #ifdef __cplusplus
15687 extern "C"
15688 #endif
15689 /* We use char because int might match the return type of a gcc2
15690 builtin and then its argument prototype would still apply. */
15691 char ldexp ();
15692 int
15693 main ()
15694 {
15695 ldexp ();
15696 ;
15697 return 0;
15698 }
15699 _ACEOF
15700 rm -f conftest.$ac_objext conftest$ac_exeext
15701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15702 (eval $ac_link) 2>conftest.er1
15703 ac_status=$?
15704 grep -v '^ *+' conftest.er1 >conftest.err
15705 rm -f conftest.er1
15706 cat conftest.err >&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); } &&
15709 { ac_try='test -z "$ac_c_werror_flag"
15710 || test ! -s conftest.err'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; } &&
15716 { ac_try='test -s conftest$ac_exeext'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15719 ac_status=$?
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15722 ac_cv_lib_m_ldexp=yes
15723 else
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.$ac_ext >&5
15726
15727 ac_cv_lib_m_ldexp=no
15728 fi
15729 rm -f conftest.err conftest.$ac_objext \
15730 conftest$ac_exeext conftest.$ac_ext
15731 LIBS=$ac_check_lib_save_LIBS
15732 fi
15733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
15734 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
15735 if test $ac_cv_lib_m_ldexp = yes; then
15736
15737 cat >>confdefs.h <<\_ACEOF
15738 #define HAVE_LDEXP 1
15739 _ACEOF
15740
15741 fi
15742
15743 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
15744 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
15745 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
15746 echo $ECHO_N "(cached) $ECHO_C" >&6
15747 else
15748 ac_check_lib_save_LIBS=$LIBS
15749 LIBS="-lm $LIBS"
15750 if test x$gcc_no_link = xyes; then
15751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15753 { (exit 1); exit 1; }; }
15754 fi
15755 cat >conftest.$ac_ext <<_ACEOF
15756 /* confdefs.h. */
15757 _ACEOF
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15761
15762 /* Override any gcc2 internal prototype to avoid an error. */
15763 #ifdef __cplusplus
15764 extern "C"
15765 #endif
15766 /* We use char because int might match the return type of a gcc2
15767 builtin and then its argument prototype would still apply. */
15768 char ldexpl ();
15769 int
15770 main ()
15771 {
15772 ldexpl ();
15773 ;
15774 return 0;
15775 }
15776 _ACEOF
15777 rm -f conftest.$ac_objext conftest$ac_exeext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15779 (eval $ac_link) 2>conftest.er1
15780 ac_status=$?
15781 grep -v '^ *+' conftest.er1 >conftest.err
15782 rm -f conftest.er1
15783 cat conftest.err >&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } &&
15786 { ac_try='test -z "$ac_c_werror_flag"
15787 || test ! -s conftest.err'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try='test -s conftest$ac_exeext'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15796 ac_status=$?
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15799 ac_cv_lib_m_ldexpl=yes
15800 else
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15803
15804 ac_cv_lib_m_ldexpl=no
15805 fi
15806 rm -f conftest.err conftest.$ac_objext \
15807 conftest$ac_exeext conftest.$ac_ext
15808 LIBS=$ac_check_lib_save_LIBS
15809 fi
15810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
15811 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
15812 if test $ac_cv_lib_m_ldexpl = yes; then
15813
15814 cat >>confdefs.h <<\_ACEOF
15815 #define HAVE_LDEXPL 1
15816 _ACEOF
15817
15818 fi
15819
15820 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15821 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15822 if test "${ac_cv_lib_m_logf+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 else
15825 ac_check_lib_save_LIBS=$LIBS
15826 LIBS="-lm $LIBS"
15827 if test x$gcc_no_link = xyes; then
15828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15830 { (exit 1); exit 1; }; }
15831 fi
15832 cat >conftest.$ac_ext <<_ACEOF
15833 /* confdefs.h. */
15834 _ACEOF
15835 cat confdefs.h >>conftest.$ac_ext
15836 cat >>conftest.$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15838
15839 /* Override any gcc2 internal prototype to avoid an error. */
15840 #ifdef __cplusplus
15841 extern "C"
15842 #endif
15843 /* We use char because int might match the return type of a gcc2
15844 builtin and then its argument prototype would still apply. */
15845 char logf ();
15846 int
15847 main ()
15848 {
15849 logf ();
15850 ;
15851 return 0;
15852 }
15853 _ACEOF
15854 rm -f conftest.$ac_objext conftest$ac_exeext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15856 (eval $ac_link) 2>conftest.er1
15857 ac_status=$?
15858 grep -v '^ *+' conftest.er1 >conftest.err
15859 rm -f conftest.er1
15860 cat conftest.err >&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } &&
15863 { ac_try='test -z "$ac_c_werror_flag"
15864 || test ! -s conftest.err'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15867 ac_status=$?
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try='test -s conftest$ac_exeext'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15873 ac_status=$?
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; }; then
15876 ac_cv_lib_m_logf=yes
15877 else
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15880
15881 ac_cv_lib_m_logf=no
15882 fi
15883 rm -f conftest.err conftest.$ac_objext \
15884 conftest$ac_exeext conftest.$ac_ext
15885 LIBS=$ac_check_lib_save_LIBS
15886 fi
15887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15888 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15889 if test $ac_cv_lib_m_logf = yes; then
15890
15891 cat >>confdefs.h <<\_ACEOF
15892 #define HAVE_LOGF 1
15893 _ACEOF
15894
15895 fi
15896
15897 echo "$as_me:$LINENO: checking for log in -lm" >&5
15898 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15899 if test "${ac_cv_lib_m_log+set}" = set; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 else
15902 ac_check_lib_save_LIBS=$LIBS
15903 LIBS="-lm $LIBS"
15904 if test x$gcc_no_link = xyes; then
15905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15907 { (exit 1); exit 1; }; }
15908 fi
15909 cat >conftest.$ac_ext <<_ACEOF
15910 /* confdefs.h. */
15911 _ACEOF
15912 cat confdefs.h >>conftest.$ac_ext
15913 cat >>conftest.$ac_ext <<_ACEOF
15914 /* end confdefs.h. */
15915
15916 /* Override any gcc2 internal prototype to avoid an error. */
15917 #ifdef __cplusplus
15918 extern "C"
15919 #endif
15920 /* We use char because int might match the return type of a gcc2
15921 builtin and then its argument prototype would still apply. */
15922 char log ();
15923 int
15924 main ()
15925 {
15926 log ();
15927 ;
15928 return 0;
15929 }
15930 _ACEOF
15931 rm -f conftest.$ac_objext conftest$ac_exeext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15933 (eval $ac_link) 2>conftest.er1
15934 ac_status=$?
15935 grep -v '^ *+' conftest.er1 >conftest.err
15936 rm -f conftest.er1
15937 cat conftest.err >&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } &&
15940 { ac_try='test -z "$ac_c_werror_flag"
15941 || test ! -s conftest.err'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15944 ac_status=$?
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; } &&
15947 { ac_try='test -s conftest$ac_exeext'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15953 ac_cv_lib_m_log=yes
15954 else
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.$ac_ext >&5
15957
15958 ac_cv_lib_m_log=no
15959 fi
15960 rm -f conftest.err conftest.$ac_objext \
15961 conftest$ac_exeext conftest.$ac_ext
15962 LIBS=$ac_check_lib_save_LIBS
15963 fi
15964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15965 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15966 if test $ac_cv_lib_m_log = yes; then
15967
15968 cat >>confdefs.h <<\_ACEOF
15969 #define HAVE_LOG 1
15970 _ACEOF
15971
15972 fi
15973
15974 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15975 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15976 if test "${ac_cv_lib_m_logl+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979 ac_check_lib_save_LIBS=$LIBS
15980 LIBS="-lm $LIBS"
15981 if test x$gcc_no_link = xyes; then
15982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15984 { (exit 1); exit 1; }; }
15985 fi
15986 cat >conftest.$ac_ext <<_ACEOF
15987 /* confdefs.h. */
15988 _ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992
15993 /* Override any gcc2 internal prototype to avoid an error. */
15994 #ifdef __cplusplus
15995 extern "C"
15996 #endif
15997 /* We use char because int might match the return type of a gcc2
15998 builtin and then its argument prototype would still apply. */
15999 char logl ();
16000 int
16001 main ()
16002 {
16003 logl ();
16004 ;
16005 return 0;
16006 }
16007 _ACEOF
16008 rm -f conftest.$ac_objext conftest$ac_exeext
16009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16010 (eval $ac_link) 2>conftest.er1
16011 ac_status=$?
16012 grep -v '^ *+' conftest.er1 >conftest.err
16013 rm -f conftest.er1
16014 cat conftest.err >&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); } &&
16017 { ac_try='test -z "$ac_c_werror_flag"
16018 || test ! -s conftest.err'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16021 ac_status=$?
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; } &&
16024 { ac_try='test -s conftest$ac_exeext'
16025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16026 (eval $ac_try) 2>&5
16027 ac_status=$?
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; }; then
16030 ac_cv_lib_m_logl=yes
16031 else
16032 echo "$as_me: failed program was:" >&5
16033 sed 's/^/| /' conftest.$ac_ext >&5
16034
16035 ac_cv_lib_m_logl=no
16036 fi
16037 rm -f conftest.err conftest.$ac_objext \
16038 conftest$ac_exeext conftest.$ac_ext
16039 LIBS=$ac_check_lib_save_LIBS
16040 fi
16041 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16042 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16043 if test $ac_cv_lib_m_logl = yes; then
16044
16045 cat >>confdefs.h <<\_ACEOF
16046 #define HAVE_LOGL 1
16047 _ACEOF
16048
16049 fi
16050
16051 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16052 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16053 if test "${ac_cv_lib_m_clogf+set}" = set; then
16054 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 else
16056 ac_check_lib_save_LIBS=$LIBS
16057 LIBS="-lm $LIBS"
16058 if test x$gcc_no_link = xyes; then
16059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16061 { (exit 1); exit 1; }; }
16062 fi
16063 cat >conftest.$ac_ext <<_ACEOF
16064 /* confdefs.h. */
16065 _ACEOF
16066 cat confdefs.h >>conftest.$ac_ext
16067 cat >>conftest.$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069
16070 /* Override any gcc2 internal prototype to avoid an error. */
16071 #ifdef __cplusplus
16072 extern "C"
16073 #endif
16074 /* We use char because int might match the return type of a gcc2
16075 builtin and then its argument prototype would still apply. */
16076 char clogf ();
16077 int
16078 main ()
16079 {
16080 clogf ();
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 rm -f conftest.$ac_objext conftest$ac_exeext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16087 (eval $ac_link) 2>conftest.er1
16088 ac_status=$?
16089 grep -v '^ *+' conftest.er1 >conftest.err
16090 rm -f conftest.er1
16091 cat conftest.err >&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -z "$ac_c_werror_flag"
16095 || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest$ac_exeext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 ac_cv_lib_m_clogf=yes
16108 else
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16111
16112 ac_cv_lib_m_clogf=no
16113 fi
16114 rm -f conftest.err conftest.$ac_objext \
16115 conftest$ac_exeext conftest.$ac_ext
16116 LIBS=$ac_check_lib_save_LIBS
16117 fi
16118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16119 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16120 if test $ac_cv_lib_m_clogf = yes; then
16121
16122 cat >>confdefs.h <<\_ACEOF
16123 #define HAVE_CLOGF 1
16124 _ACEOF
16125
16126 fi
16127
16128 echo "$as_me:$LINENO: checking for clog in -lm" >&5
16129 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16130 if test "${ac_cv_lib_m_clog+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 else
16133 ac_check_lib_save_LIBS=$LIBS
16134 LIBS="-lm $LIBS"
16135 if test x$gcc_no_link = xyes; then
16136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16138 { (exit 1); exit 1; }; }
16139 fi
16140 cat >conftest.$ac_ext <<_ACEOF
16141 /* confdefs.h. */
16142 _ACEOF
16143 cat confdefs.h >>conftest.$ac_ext
16144 cat >>conftest.$ac_ext <<_ACEOF
16145 /* end confdefs.h. */
16146
16147 /* Override any gcc2 internal prototype to avoid an error. */
16148 #ifdef __cplusplus
16149 extern "C"
16150 #endif
16151 /* We use char because int might match the return type of a gcc2
16152 builtin and then its argument prototype would still apply. */
16153 char clog ();
16154 int
16155 main ()
16156 {
16157 clog ();
16158 ;
16159 return 0;
16160 }
16161 _ACEOF
16162 rm -f conftest.$ac_objext conftest$ac_exeext
16163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16164 (eval $ac_link) 2>conftest.er1
16165 ac_status=$?
16166 grep -v '^ *+' conftest.er1 >conftest.err
16167 rm -f conftest.er1
16168 cat conftest.err >&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } &&
16171 { ac_try='test -z "$ac_c_werror_flag"
16172 || test ! -s conftest.err'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16175 ac_status=$?
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; } &&
16178 { ac_try='test -s conftest$ac_exeext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16184 ac_cv_lib_m_clog=yes
16185 else
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.$ac_ext >&5
16188
16189 ac_cv_lib_m_clog=no
16190 fi
16191 rm -f conftest.err conftest.$ac_objext \
16192 conftest$ac_exeext conftest.$ac_ext
16193 LIBS=$ac_check_lib_save_LIBS
16194 fi
16195 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16196 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16197 if test $ac_cv_lib_m_clog = yes; then
16198
16199 cat >>confdefs.h <<\_ACEOF
16200 #define HAVE_CLOG 1
16201 _ACEOF
16202
16203 fi
16204
16205 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16206 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16207 if test "${ac_cv_lib_m_clogl+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 else
16210 ac_check_lib_save_LIBS=$LIBS
16211 LIBS="-lm $LIBS"
16212 if test x$gcc_no_link = xyes; then
16213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16215 { (exit 1); exit 1; }; }
16216 fi
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223
16224 /* Override any gcc2 internal prototype to avoid an error. */
16225 #ifdef __cplusplus
16226 extern "C"
16227 #endif
16228 /* We use char because int might match the return type of a gcc2
16229 builtin and then its argument prototype would still apply. */
16230 char clogl ();
16231 int
16232 main ()
16233 {
16234 clogl ();
16235 ;
16236 return 0;
16237 }
16238 _ACEOF
16239 rm -f conftest.$ac_objext conftest$ac_exeext
16240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16241 (eval $ac_link) 2>conftest.er1
16242 ac_status=$?
16243 grep -v '^ *+' conftest.er1 >conftest.err
16244 rm -f conftest.er1
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } &&
16248 { ac_try='test -z "$ac_c_werror_flag"
16249 || test ! -s conftest.err'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; } &&
16255 { ac_try='test -s conftest$ac_exeext'
16256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16257 (eval $ac_try) 2>&5
16258 ac_status=$?
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }; }; then
16261 ac_cv_lib_m_clogl=yes
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16265
16266 ac_cv_lib_m_clogl=no
16267 fi
16268 rm -f conftest.err conftest.$ac_objext \
16269 conftest$ac_exeext conftest.$ac_ext
16270 LIBS=$ac_check_lib_save_LIBS
16271 fi
16272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16273 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16274 if test $ac_cv_lib_m_clogl = yes; then
16275
16276 cat >>confdefs.h <<\_ACEOF
16277 #define HAVE_CLOGL 1
16278 _ACEOF
16279
16280 fi
16281
16282 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16283 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16284 if test "${ac_cv_lib_m_log10f+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287 ac_check_lib_save_LIBS=$LIBS
16288 LIBS="-lm $LIBS"
16289 if test x$gcc_no_link = xyes; then
16290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16292 { (exit 1); exit 1; }; }
16293 fi
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h. */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300
16301 /* Override any gcc2 internal prototype to avoid an error. */
16302 #ifdef __cplusplus
16303 extern "C"
16304 #endif
16305 /* We use char because int might match the return type of a gcc2
16306 builtin and then its argument prototype would still apply. */
16307 char log10f ();
16308 int
16309 main ()
16310 {
16311 log10f ();
16312 ;
16313 return 0;
16314 }
16315 _ACEOF
16316 rm -f conftest.$ac_objext conftest$ac_exeext
16317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16318 (eval $ac_link) 2>conftest.er1
16319 ac_status=$?
16320 grep -v '^ *+' conftest.er1 >conftest.err
16321 rm -f conftest.er1
16322 cat conftest.err >&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } &&
16325 { ac_try='test -z "$ac_c_werror_flag"
16326 || test ! -s conftest.err'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16329 ac_status=$?
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; } &&
16332 { ac_try='test -s conftest$ac_exeext'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; }; then
16338 ac_cv_lib_m_log10f=yes
16339 else
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.$ac_ext >&5
16342
16343 ac_cv_lib_m_log10f=no
16344 fi
16345 rm -f conftest.err conftest.$ac_objext \
16346 conftest$ac_exeext conftest.$ac_ext
16347 LIBS=$ac_check_lib_save_LIBS
16348 fi
16349 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16350 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16351 if test $ac_cv_lib_m_log10f = yes; then
16352
16353 cat >>confdefs.h <<\_ACEOF
16354 #define HAVE_LOG10F 1
16355 _ACEOF
16356
16357 fi
16358
16359 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16360 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16361 if test "${ac_cv_lib_m_log10+set}" = set; then
16362 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 else
16364 ac_check_lib_save_LIBS=$LIBS
16365 LIBS="-lm $LIBS"
16366 if test x$gcc_no_link = xyes; then
16367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16369 { (exit 1); exit 1; }; }
16370 fi
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h. */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377
16378 /* Override any gcc2 internal prototype to avoid an error. */
16379 #ifdef __cplusplus
16380 extern "C"
16381 #endif
16382 /* We use char because int might match the return type of a gcc2
16383 builtin and then its argument prototype would still apply. */
16384 char log10 ();
16385 int
16386 main ()
16387 {
16388 log10 ();
16389 ;
16390 return 0;
16391 }
16392 _ACEOF
16393 rm -f conftest.$ac_objext conftest$ac_exeext
16394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16395 (eval $ac_link) 2>conftest.er1
16396 ac_status=$?
16397 grep -v '^ *+' conftest.er1 >conftest.err
16398 rm -f conftest.er1
16399 cat conftest.err >&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } &&
16402 { ac_try='test -z "$ac_c_werror_flag"
16403 || test ! -s conftest.err'
16404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16405 (eval $ac_try) 2>&5
16406 ac_status=$?
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); }; } &&
16409 { ac_try='test -s conftest$ac_exeext'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16412 ac_status=$?
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; }; then
16415 ac_cv_lib_m_log10=yes
16416 else
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.$ac_ext >&5
16419
16420 ac_cv_lib_m_log10=no
16421 fi
16422 rm -f conftest.err conftest.$ac_objext \
16423 conftest$ac_exeext conftest.$ac_ext
16424 LIBS=$ac_check_lib_save_LIBS
16425 fi
16426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16427 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16428 if test $ac_cv_lib_m_log10 = yes; then
16429
16430 cat >>confdefs.h <<\_ACEOF
16431 #define HAVE_LOG10 1
16432 _ACEOF
16433
16434 fi
16435
16436 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16437 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16438 if test "${ac_cv_lib_m_log10l+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 else
16441 ac_check_lib_save_LIBS=$LIBS
16442 LIBS="-lm $LIBS"
16443 if test x$gcc_no_link = xyes; then
16444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16446 { (exit 1); exit 1; }; }
16447 fi
16448 cat >conftest.$ac_ext <<_ACEOF
16449 /* confdefs.h. */
16450 _ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454
16455 /* Override any gcc2 internal prototype to avoid an error. */
16456 #ifdef __cplusplus
16457 extern "C"
16458 #endif
16459 /* We use char because int might match the return type of a gcc2
16460 builtin and then its argument prototype would still apply. */
16461 char log10l ();
16462 int
16463 main ()
16464 {
16465 log10l ();
16466 ;
16467 return 0;
16468 }
16469 _ACEOF
16470 rm -f conftest.$ac_objext conftest$ac_exeext
16471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16472 (eval $ac_link) 2>conftest.er1
16473 ac_status=$?
16474 grep -v '^ *+' conftest.er1 >conftest.err
16475 rm -f conftest.er1
16476 cat conftest.err >&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } &&
16479 { ac_try='test -z "$ac_c_werror_flag"
16480 || test ! -s conftest.err'
16481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482 (eval $ac_try) 2>&5
16483 ac_status=$?
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; } &&
16486 { ac_try='test -s conftest$ac_exeext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 ac_cv_lib_m_log10l=yes
16493 else
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.$ac_ext >&5
16496
16497 ac_cv_lib_m_log10l=no
16498 fi
16499 rm -f conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16501 LIBS=$ac_check_lib_save_LIBS
16502 fi
16503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
16504 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
16505 if test $ac_cv_lib_m_log10l = yes; then
16506
16507 cat >>confdefs.h <<\_ACEOF
16508 #define HAVE_LOG10L 1
16509 _ACEOF
16510
16511 fi
16512
16513 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
16514 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
16515 if test "${ac_cv_lib_m_clog10f+set}" = set; then
16516 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 else
16518 ac_check_lib_save_LIBS=$LIBS
16519 LIBS="-lm $LIBS"
16520 if test x$gcc_no_link = xyes; then
16521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16523 { (exit 1); exit 1; }; }
16524 fi
16525 cat >conftest.$ac_ext <<_ACEOF
16526 /* confdefs.h. */
16527 _ACEOF
16528 cat confdefs.h >>conftest.$ac_ext
16529 cat >>conftest.$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531
16532 /* Override any gcc2 internal prototype to avoid an error. */
16533 #ifdef __cplusplus
16534 extern "C"
16535 #endif
16536 /* We use char because int might match the return type of a gcc2
16537 builtin and then its argument prototype would still apply. */
16538 char clog10f ();
16539 int
16540 main ()
16541 {
16542 clog10f ();
16543 ;
16544 return 0;
16545 }
16546 _ACEOF
16547 rm -f conftest.$ac_objext conftest$ac_exeext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16549 (eval $ac_link) 2>conftest.er1
16550 ac_status=$?
16551 grep -v '^ *+' conftest.er1 >conftest.err
16552 rm -f conftest.er1
16553 cat conftest.err >&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try='test -z "$ac_c_werror_flag"
16557 || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try='test -s conftest$ac_exeext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 ac_cv_lib_m_clog10f=yes
16570 else
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16573
16574 ac_cv_lib_m_clog10f=no
16575 fi
16576 rm -f conftest.err conftest.$ac_objext \
16577 conftest$ac_exeext conftest.$ac_ext
16578 LIBS=$ac_check_lib_save_LIBS
16579 fi
16580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
16581 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
16582 if test $ac_cv_lib_m_clog10f = yes; then
16583
16584 cat >>confdefs.h <<\_ACEOF
16585 #define HAVE_CLOG10F 1
16586 _ACEOF
16587
16588 fi
16589
16590 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16591 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16592 if test "${ac_cv_lib_m_clog10+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 else
16595 ac_check_lib_save_LIBS=$LIBS
16596 LIBS="-lm $LIBS"
16597 if test x$gcc_no_link = xyes; then
16598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16600 { (exit 1); exit 1; }; }
16601 fi
16602 cat >conftest.$ac_ext <<_ACEOF
16603 /* confdefs.h. */
16604 _ACEOF
16605 cat confdefs.h >>conftest.$ac_ext
16606 cat >>conftest.$ac_ext <<_ACEOF
16607 /* end confdefs.h. */
16608
16609 /* Override any gcc2 internal prototype to avoid an error. */
16610 #ifdef __cplusplus
16611 extern "C"
16612 #endif
16613 /* We use char because int might match the return type of a gcc2
16614 builtin and then its argument prototype would still apply. */
16615 char clog10 ();
16616 int
16617 main ()
16618 {
16619 clog10 ();
16620 ;
16621 return 0;
16622 }
16623 _ACEOF
16624 rm -f conftest.$ac_objext conftest$ac_exeext
16625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16626 (eval $ac_link) 2>conftest.er1
16627 ac_status=$?
16628 grep -v '^ *+' conftest.er1 >conftest.err
16629 rm -f conftest.er1
16630 cat conftest.err >&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } &&
16633 { ac_try='test -z "$ac_c_werror_flag"
16634 || test ! -s conftest.err'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16637 ac_status=$?
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; } &&
16640 { ac_try='test -s conftest$ac_exeext'
16641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16642 (eval $ac_try) 2>&5
16643 ac_status=$?
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; }; then
16646 ac_cv_lib_m_clog10=yes
16647 else
16648 echo "$as_me: failed program was:" >&5
16649 sed 's/^/| /' conftest.$ac_ext >&5
16650
16651 ac_cv_lib_m_clog10=no
16652 fi
16653 rm -f conftest.err conftest.$ac_objext \
16654 conftest$ac_exeext conftest.$ac_ext
16655 LIBS=$ac_check_lib_save_LIBS
16656 fi
16657 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16658 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16659 if test $ac_cv_lib_m_clog10 = yes; then
16660
16661 cat >>confdefs.h <<\_ACEOF
16662 #define HAVE_CLOG10 1
16663 _ACEOF
16664
16665 fi
16666
16667 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16668 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16669 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 else
16672 ac_check_lib_save_LIBS=$LIBS
16673 LIBS="-lm $LIBS"
16674 if test x$gcc_no_link = xyes; then
16675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16677 { (exit 1); exit 1; }; }
16678 fi
16679 cat >conftest.$ac_ext <<_ACEOF
16680 /* confdefs.h. */
16681 _ACEOF
16682 cat confdefs.h >>conftest.$ac_ext
16683 cat >>conftest.$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685
16686 /* Override any gcc2 internal prototype to avoid an error. */
16687 #ifdef __cplusplus
16688 extern "C"
16689 #endif
16690 /* We use char because int might match the return type of a gcc2
16691 builtin and then its argument prototype would still apply. */
16692 char clog10l ();
16693 int
16694 main ()
16695 {
16696 clog10l ();
16697 ;
16698 return 0;
16699 }
16700 _ACEOF
16701 rm -f conftest.$ac_objext conftest$ac_exeext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16703 (eval $ac_link) 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_c_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try='test -s conftest$ac_exeext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 ac_cv_lib_m_clog10l=yes
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16727
16728 ac_cv_lib_m_clog10l=no
16729 fi
16730 rm -f conftest.err conftest.$ac_objext \
16731 conftest$ac_exeext conftest.$ac_ext
16732 LIBS=$ac_check_lib_save_LIBS
16733 fi
16734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16735 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16736 if test $ac_cv_lib_m_clog10l = yes; then
16737
16738 cat >>confdefs.h <<\_ACEOF
16739 #define HAVE_CLOG10L 1
16740 _ACEOF
16741
16742 fi
16743
16744 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16745 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16746 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 else
16749 ac_check_lib_save_LIBS=$LIBS
16750 LIBS="-lm $LIBS"
16751 if test x$gcc_no_link = xyes; then
16752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16754 { (exit 1); exit 1; }; }
16755 fi
16756 cat >conftest.$ac_ext <<_ACEOF
16757 /* confdefs.h. */
16758 _ACEOF
16759 cat confdefs.h >>conftest.$ac_ext
16760 cat >>conftest.$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762
16763 /* Override any gcc2 internal prototype to avoid an error. */
16764 #ifdef __cplusplus
16765 extern "C"
16766 #endif
16767 /* We use char because int might match the return type of a gcc2
16768 builtin and then its argument prototype would still apply. */
16769 char nextafterf ();
16770 int
16771 main ()
16772 {
16773 nextafterf ();
16774 ;
16775 return 0;
16776 }
16777 _ACEOF
16778 rm -f conftest.$ac_objext conftest$ac_exeext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16780 (eval $ac_link) 2>conftest.er1
16781 ac_status=$?
16782 grep -v '^ *+' conftest.er1 >conftest.err
16783 rm -f conftest.er1
16784 cat conftest.err >&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } &&
16787 { ac_try='test -z "$ac_c_werror_flag"
16788 || test ! -s conftest.err'
16789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790 (eval $ac_try) 2>&5
16791 ac_status=$?
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); }; } &&
16794 { ac_try='test -s conftest$ac_exeext'
16795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16796 (eval $ac_try) 2>&5
16797 ac_status=$?
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); }; }; then
16800 ac_cv_lib_m_nextafterf=yes
16801 else
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16804
16805 ac_cv_lib_m_nextafterf=no
16806 fi
16807 rm -f conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16809 LIBS=$ac_check_lib_save_LIBS
16810 fi
16811 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16812 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16813 if test $ac_cv_lib_m_nextafterf = yes; then
16814
16815 cat >>confdefs.h <<\_ACEOF
16816 #define HAVE_NEXTAFTERF 1
16817 _ACEOF
16818
16819 fi
16820
16821 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16822 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16823 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 else
16826 ac_check_lib_save_LIBS=$LIBS
16827 LIBS="-lm $LIBS"
16828 if test x$gcc_no_link = xyes; then
16829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16831 { (exit 1); exit 1; }; }
16832 fi
16833 cat >conftest.$ac_ext <<_ACEOF
16834 /* confdefs.h. */
16835 _ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839
16840 /* Override any gcc2 internal prototype to avoid an error. */
16841 #ifdef __cplusplus
16842 extern "C"
16843 #endif
16844 /* We use char because int might match the return type of a gcc2
16845 builtin and then its argument prototype would still apply. */
16846 char nextafter ();
16847 int
16848 main ()
16849 {
16850 nextafter ();
16851 ;
16852 return 0;
16853 }
16854 _ACEOF
16855 rm -f conftest.$ac_objext conftest$ac_exeext
16856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16857 (eval $ac_link) 2>conftest.er1
16858 ac_status=$?
16859 grep -v '^ *+' conftest.er1 >conftest.err
16860 rm -f conftest.er1
16861 cat conftest.err >&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); } &&
16864 { ac_try='test -z "$ac_c_werror_flag"
16865 || test ! -s conftest.err'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16868 ac_status=$?
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; } &&
16871 { ac_try='test -s conftest$ac_exeext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16874 ac_status=$?
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16877 ac_cv_lib_m_nextafter=yes
16878 else
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16881
16882 ac_cv_lib_m_nextafter=no
16883 fi
16884 rm -f conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16886 LIBS=$ac_check_lib_save_LIBS
16887 fi
16888 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
16889 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16890 if test $ac_cv_lib_m_nextafter = yes; then
16891
16892 cat >>confdefs.h <<\_ACEOF
16893 #define HAVE_NEXTAFTER 1
16894 _ACEOF
16895
16896 fi
16897
16898 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16899 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16900 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 else
16903 ac_check_lib_save_LIBS=$LIBS
16904 LIBS="-lm $LIBS"
16905 if test x$gcc_no_link = xyes; then
16906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16908 { (exit 1); exit 1; }; }
16909 fi
16910 cat >conftest.$ac_ext <<_ACEOF
16911 /* confdefs.h. */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916
16917 /* Override any gcc2 internal prototype to avoid an error. */
16918 #ifdef __cplusplus
16919 extern "C"
16920 #endif
16921 /* We use char because int might match the return type of a gcc2
16922 builtin and then its argument prototype would still apply. */
16923 char nextafterl ();
16924 int
16925 main ()
16926 {
16927 nextafterl ();
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 rm -f conftest.$ac_objext conftest$ac_exeext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16934 (eval $ac_link) 2>conftest.er1
16935 ac_status=$?
16936 grep -v '^ *+' conftest.er1 >conftest.err
16937 rm -f conftest.er1
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try='test -z "$ac_c_werror_flag"
16942 || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try='test -s conftest$ac_exeext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_cv_lib_m_nextafterl=yes
16955 else
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.$ac_ext >&5
16958
16959 ac_cv_lib_m_nextafterl=no
16960 fi
16961 rm -f conftest.err conftest.$ac_objext \
16962 conftest$ac_exeext conftest.$ac_ext
16963 LIBS=$ac_check_lib_save_LIBS
16964 fi
16965 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16966 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16967 if test $ac_cv_lib_m_nextafterl = yes; then
16968
16969 cat >>confdefs.h <<\_ACEOF
16970 #define HAVE_NEXTAFTERL 1
16971 _ACEOF
16972
16973 fi
16974
16975 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16976 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16977 if test "${ac_cv_lib_m_powf+set}" = set; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 else
16980 ac_check_lib_save_LIBS=$LIBS
16981 LIBS="-lm $LIBS"
16982 if test x$gcc_no_link = xyes; then
16983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16985 { (exit 1); exit 1; }; }
16986 fi
16987 cat >conftest.$ac_ext <<_ACEOF
16988 /* confdefs.h. */
16989 _ACEOF
16990 cat confdefs.h >>conftest.$ac_ext
16991 cat >>conftest.$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993
16994 /* Override any gcc2 internal prototype to avoid an error. */
16995 #ifdef __cplusplus
16996 extern "C"
16997 #endif
16998 /* We use char because int might match the return type of a gcc2
16999 builtin and then its argument prototype would still apply. */
17000 char powf ();
17001 int
17002 main ()
17003 {
17004 powf ();
17005 ;
17006 return 0;
17007 }
17008 _ACEOF
17009 rm -f conftest.$ac_objext conftest$ac_exeext
17010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17011 (eval $ac_link) 2>conftest.er1
17012 ac_status=$?
17013 grep -v '^ *+' conftest.er1 >conftest.err
17014 rm -f conftest.er1
17015 cat conftest.err >&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } &&
17018 { ac_try='test -z "$ac_c_werror_flag"
17019 || test ! -s conftest.err'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try='test -s conftest$ac_exeext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_cv_lib_m_powf=yes
17032 else
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.$ac_ext >&5
17035
17036 ac_cv_lib_m_powf=no
17037 fi
17038 rm -f conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17040 LIBS=$ac_check_lib_save_LIBS
17041 fi
17042 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17043 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17044 if test $ac_cv_lib_m_powf = yes; then
17045
17046 cat >>confdefs.h <<\_ACEOF
17047 #define HAVE_POWF 1
17048 _ACEOF
17049
17050 fi
17051
17052 echo "$as_me:$LINENO: checking for pow in -lm" >&5
17053 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17054 if test "${ac_cv_lib_m_pow+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 else
17057 ac_check_lib_save_LIBS=$LIBS
17058 LIBS="-lm $LIBS"
17059 if test x$gcc_no_link = xyes; then
17060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17062 { (exit 1); exit 1; }; }
17063 fi
17064 cat >conftest.$ac_ext <<_ACEOF
17065 /* confdefs.h. */
17066 _ACEOF
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070
17071 /* Override any gcc2 internal prototype to avoid an error. */
17072 #ifdef __cplusplus
17073 extern "C"
17074 #endif
17075 /* We use char because int might match the return type of a gcc2
17076 builtin and then its argument prototype would still apply. */
17077 char pow ();
17078 int
17079 main ()
17080 {
17081 pow ();
17082 ;
17083 return 0;
17084 }
17085 _ACEOF
17086 rm -f conftest.$ac_objext conftest$ac_exeext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17088 (eval $ac_link) 2>conftest.er1
17089 ac_status=$?
17090 grep -v '^ *+' conftest.er1 >conftest.err
17091 rm -f conftest.er1
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -z "$ac_c_werror_flag"
17096 || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17099 ac_status=$?
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try='test -s conftest$ac_exeext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17105 ac_status=$?
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_cv_lib_m_pow=yes
17109 else
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 ac_cv_lib_m_pow=no
17114 fi
17115 rm -f conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17117 LIBS=$ac_check_lib_save_LIBS
17118 fi
17119 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17120 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17121 if test $ac_cv_lib_m_pow = yes; then
17122
17123 cat >>confdefs.h <<\_ACEOF
17124 #define HAVE_POW 1
17125 _ACEOF
17126
17127 fi
17128
17129 echo "$as_me:$LINENO: checking for powl in -lm" >&5
17130 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17131 if test "${ac_cv_lib_m_powl+set}" = set; then
17132 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 else
17134 ac_check_lib_save_LIBS=$LIBS
17135 LIBS="-lm $LIBS"
17136 if test x$gcc_no_link = xyes; then
17137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17139 { (exit 1); exit 1; }; }
17140 fi
17141 cat >conftest.$ac_ext <<_ACEOF
17142 /* confdefs.h. */
17143 _ACEOF
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17147
17148 /* Override any gcc2 internal prototype to avoid an error. */
17149 #ifdef __cplusplus
17150 extern "C"
17151 #endif
17152 /* We use char because int might match the return type of a gcc2
17153 builtin and then its argument prototype would still apply. */
17154 char powl ();
17155 int
17156 main ()
17157 {
17158 powl ();
17159 ;
17160 return 0;
17161 }
17162 _ACEOF
17163 rm -f conftest.$ac_objext conftest$ac_exeext
17164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17165 (eval $ac_link) 2>conftest.er1
17166 ac_status=$?
17167 grep -v '^ *+' conftest.er1 >conftest.err
17168 rm -f conftest.er1
17169 cat conftest.err >&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } &&
17172 { ac_try='test -z "$ac_c_werror_flag"
17173 || test ! -s conftest.err'
17174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17175 (eval $ac_try) 2>&5
17176 ac_status=$?
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); }; } &&
17179 { ac_try='test -s conftest$ac_exeext'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17182 ac_status=$?
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; }; then
17185 ac_cv_lib_m_powl=yes
17186 else
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.$ac_ext >&5
17189
17190 ac_cv_lib_m_powl=no
17191 fi
17192 rm -f conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 LIBS=$ac_check_lib_save_LIBS
17195 fi
17196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17197 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17198 if test $ac_cv_lib_m_powl = yes; then
17199
17200 cat >>confdefs.h <<\_ACEOF
17201 #define HAVE_POWL 1
17202 _ACEOF
17203
17204 fi
17205
17206 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17207 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17208 if test "${ac_cv_lib_m_cpowf+set}" = set; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17210 else
17211 ac_check_lib_save_LIBS=$LIBS
17212 LIBS="-lm $LIBS"
17213 if test x$gcc_no_link = xyes; then
17214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17216 { (exit 1); exit 1; }; }
17217 fi
17218 cat >conftest.$ac_ext <<_ACEOF
17219 /* confdefs.h. */
17220 _ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224
17225 /* Override any gcc2 internal prototype to avoid an error. */
17226 #ifdef __cplusplus
17227 extern "C"
17228 #endif
17229 /* We use char because int might match the return type of a gcc2
17230 builtin and then its argument prototype would still apply. */
17231 char cpowf ();
17232 int
17233 main ()
17234 {
17235 cpowf ();
17236 ;
17237 return 0;
17238 }
17239 _ACEOF
17240 rm -f conftest.$ac_objext conftest$ac_exeext
17241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17242 (eval $ac_link) 2>conftest.er1
17243 ac_status=$?
17244 grep -v '^ *+' conftest.er1 >conftest.err
17245 rm -f conftest.er1
17246 cat conftest.err >&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } &&
17249 { ac_try='test -z "$ac_c_werror_flag"
17250 || test ! -s conftest.err'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; } &&
17256 { ac_try='test -s conftest$ac_exeext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 ac_cv_lib_m_cpowf=yes
17263 else
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17266
17267 ac_cv_lib_m_cpowf=no
17268 fi
17269 rm -f conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17271 LIBS=$ac_check_lib_save_LIBS
17272 fi
17273 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17274 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17275 if test $ac_cv_lib_m_cpowf = yes; then
17276
17277 cat >>confdefs.h <<\_ACEOF
17278 #define HAVE_CPOWF 1
17279 _ACEOF
17280
17281 fi
17282
17283 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17284 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17285 if test "${ac_cv_lib_m_cpow+set}" = set; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 else
17288 ac_check_lib_save_LIBS=$LIBS
17289 LIBS="-lm $LIBS"
17290 if test x$gcc_no_link = xyes; then
17291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17293 { (exit 1); exit 1; }; }
17294 fi
17295 cat >conftest.$ac_ext <<_ACEOF
17296 /* confdefs.h. */
17297 _ACEOF
17298 cat confdefs.h >>conftest.$ac_ext
17299 cat >>conftest.$ac_ext <<_ACEOF
17300 /* end confdefs.h. */
17301
17302 /* Override any gcc2 internal prototype to avoid an error. */
17303 #ifdef __cplusplus
17304 extern "C"
17305 #endif
17306 /* We use char because int might match the return type of a gcc2
17307 builtin and then its argument prototype would still apply. */
17308 char cpow ();
17309 int
17310 main ()
17311 {
17312 cpow ();
17313 ;
17314 return 0;
17315 }
17316 _ACEOF
17317 rm -f conftest.$ac_objext conftest$ac_exeext
17318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17319 (eval $ac_link) 2>conftest.er1
17320 ac_status=$?
17321 grep -v '^ *+' conftest.er1 >conftest.err
17322 rm -f conftest.er1
17323 cat conftest.err >&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } &&
17326 { ac_try='test -z "$ac_c_werror_flag"
17327 || test ! -s conftest.err'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; } &&
17333 { ac_try='test -s conftest$ac_exeext'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17336 ac_status=$?
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; }; then
17339 ac_cv_lib_m_cpow=yes
17340 else
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17343
17344 ac_cv_lib_m_cpow=no
17345 fi
17346 rm -f conftest.err conftest.$ac_objext \
17347 conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17349 fi
17350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17351 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17352 if test $ac_cv_lib_m_cpow = yes; then
17353
17354 cat >>confdefs.h <<\_ACEOF
17355 #define HAVE_CPOW 1
17356 _ACEOF
17357
17358 fi
17359
17360 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17361 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17362 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17363 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 else
17365 ac_check_lib_save_LIBS=$LIBS
17366 LIBS="-lm $LIBS"
17367 if test x$gcc_no_link = xyes; then
17368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17370 { (exit 1); exit 1; }; }
17371 fi
17372 cat >conftest.$ac_ext <<_ACEOF
17373 /* confdefs.h. */
17374 _ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17378
17379 /* Override any gcc2 internal prototype to avoid an error. */
17380 #ifdef __cplusplus
17381 extern "C"
17382 #endif
17383 /* We use char because int might match the return type of a gcc2
17384 builtin and then its argument prototype would still apply. */
17385 char cpowl ();
17386 int
17387 main ()
17388 {
17389 cpowl ();
17390 ;
17391 return 0;
17392 }
17393 _ACEOF
17394 rm -f conftest.$ac_objext conftest$ac_exeext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17396 (eval $ac_link) 2>conftest.er1
17397 ac_status=$?
17398 grep -v '^ *+' conftest.er1 >conftest.err
17399 rm -f conftest.er1
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } &&
17403 { ac_try='test -z "$ac_c_werror_flag"
17404 || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try='test -s conftest$ac_exeext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17413 ac_status=$?
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_cv_lib_m_cpowl=yes
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17420
17421 ac_cv_lib_m_cpowl=no
17422 fi
17423 rm -f conftest.err conftest.$ac_objext \
17424 conftest$ac_exeext conftest.$ac_ext
17425 LIBS=$ac_check_lib_save_LIBS
17426 fi
17427 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17428 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17429 if test $ac_cv_lib_m_cpowl = yes; then
17430
17431 cat >>confdefs.h <<\_ACEOF
17432 #define HAVE_CPOWL 1
17433 _ACEOF
17434
17435 fi
17436
17437 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17438 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17439 if test "${ac_cv_lib_m_roundf+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17442 ac_check_lib_save_LIBS=$LIBS
17443 LIBS="-lm $LIBS"
17444 if test x$gcc_no_link = xyes; then
17445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17447 { (exit 1); exit 1; }; }
17448 fi
17449 cat >conftest.$ac_ext <<_ACEOF
17450 /* confdefs.h. */
17451 _ACEOF
17452 cat confdefs.h >>conftest.$ac_ext
17453 cat >>conftest.$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17455
17456 /* Override any gcc2 internal prototype to avoid an error. */
17457 #ifdef __cplusplus
17458 extern "C"
17459 #endif
17460 /* We use char because int might match the return type of a gcc2
17461 builtin and then its argument prototype would still apply. */
17462 char roundf ();
17463 int
17464 main ()
17465 {
17466 roundf ();
17467 ;
17468 return 0;
17469 }
17470 _ACEOF
17471 rm -f conftest.$ac_objext conftest$ac_exeext
17472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17473 (eval $ac_link) 2>conftest.er1
17474 ac_status=$?
17475 grep -v '^ *+' conftest.er1 >conftest.err
17476 rm -f conftest.er1
17477 cat conftest.err >&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } &&
17480 { ac_try='test -z "$ac_c_werror_flag"
17481 || test ! -s conftest.err'
17482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483 (eval $ac_try) 2>&5
17484 ac_status=$?
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; } &&
17487 { ac_try='test -s conftest$ac_exeext'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; }; then
17493 ac_cv_lib_m_roundf=yes
17494 else
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17497
17498 ac_cv_lib_m_roundf=no
17499 fi
17500 rm -f conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17502 LIBS=$ac_check_lib_save_LIBS
17503 fi
17504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
17505 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
17506 if test $ac_cv_lib_m_roundf = yes; then
17507
17508 cat >>confdefs.h <<\_ACEOF
17509 #define HAVE_ROUNDF 1
17510 _ACEOF
17511
17512 fi
17513
17514 echo "$as_me:$LINENO: checking for round in -lm" >&5
17515 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
17516 if test "${ac_cv_lib_m_round+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 else
17519 ac_check_lib_save_LIBS=$LIBS
17520 LIBS="-lm $LIBS"
17521 if test x$gcc_no_link = xyes; then
17522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17524 { (exit 1); exit 1; }; }
17525 fi
17526 cat >conftest.$ac_ext <<_ACEOF
17527 /* confdefs.h. */
17528 _ACEOF
17529 cat confdefs.h >>conftest.$ac_ext
17530 cat >>conftest.$ac_ext <<_ACEOF
17531 /* end confdefs.h. */
17532
17533 /* Override any gcc2 internal prototype to avoid an error. */
17534 #ifdef __cplusplus
17535 extern "C"
17536 #endif
17537 /* We use char because int might match the return type of a gcc2
17538 builtin and then its argument prototype would still apply. */
17539 char round ();
17540 int
17541 main ()
17542 {
17543 round ();
17544 ;
17545 return 0;
17546 }
17547 _ACEOF
17548 rm -f conftest.$ac_objext conftest$ac_exeext
17549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17550 (eval $ac_link) 2>conftest.er1
17551 ac_status=$?
17552 grep -v '^ *+' conftest.er1 >conftest.err
17553 rm -f conftest.er1
17554 cat conftest.err >&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); } &&
17557 { ac_try='test -z "$ac_c_werror_flag"
17558 || test ! -s conftest.err'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17561 ac_status=$?
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; } &&
17564 { ac_try='test -s conftest$ac_exeext'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17567 ac_status=$?
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; }; then
17570 ac_cv_lib_m_round=yes
17571 else
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17574
17575 ac_cv_lib_m_round=no
17576 fi
17577 rm -f conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17579 LIBS=$ac_check_lib_save_LIBS
17580 fi
17581 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
17582 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
17583 if test $ac_cv_lib_m_round = yes; then
17584
17585 cat >>confdefs.h <<\_ACEOF
17586 #define HAVE_ROUND 1
17587 _ACEOF
17588
17589 fi
17590
17591 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17592 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17593 if test "${ac_cv_lib_m_roundl+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 else
17596 ac_check_lib_save_LIBS=$LIBS
17597 LIBS="-lm $LIBS"
17598 if test x$gcc_no_link = xyes; then
17599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17601 { (exit 1); exit 1; }; }
17602 fi
17603 cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h. */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609
17610 /* Override any gcc2 internal prototype to avoid an error. */
17611 #ifdef __cplusplus
17612 extern "C"
17613 #endif
17614 /* We use char because int might match the return type of a gcc2
17615 builtin and then its argument prototype would still apply. */
17616 char roundl ();
17617 int
17618 main ()
17619 {
17620 roundl ();
17621 ;
17622 return 0;
17623 }
17624 _ACEOF
17625 rm -f conftest.$ac_objext conftest$ac_exeext
17626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17627 (eval $ac_link) 2>conftest.er1
17628 ac_status=$?
17629 grep -v '^ *+' conftest.er1 >conftest.err
17630 rm -f conftest.er1
17631 cat conftest.err >&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); } &&
17634 { ac_try='test -z "$ac_c_werror_flag"
17635 || test ! -s conftest.err'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17638 ac_status=$?
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; } &&
17641 { ac_try='test -s conftest$ac_exeext'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17644 ac_status=$?
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; }; then
17647 ac_cv_lib_m_roundl=yes
17648 else
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.$ac_ext >&5
17651
17652 ac_cv_lib_m_roundl=no
17653 fi
17654 rm -f conftest.err conftest.$ac_objext \
17655 conftest$ac_exeext conftest.$ac_ext
17656 LIBS=$ac_check_lib_save_LIBS
17657 fi
17658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17659 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17660 if test $ac_cv_lib_m_roundl = yes; then
17661
17662 cat >>confdefs.h <<\_ACEOF
17663 #define HAVE_ROUNDL 1
17664 _ACEOF
17665
17666 fi
17667
17668 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17669 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17670 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673 ac_check_lib_save_LIBS=$LIBS
17674 LIBS="-lm $LIBS"
17675 if test x$gcc_no_link = xyes; then
17676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17678 { (exit 1); exit 1; }; }
17679 fi
17680 cat >conftest.$ac_ext <<_ACEOF
17681 /* confdefs.h. */
17682 _ACEOF
17683 cat confdefs.h >>conftest.$ac_ext
17684 cat >>conftest.$ac_ext <<_ACEOF
17685 /* end confdefs.h. */
17686
17687 /* Override any gcc2 internal prototype to avoid an error. */
17688 #ifdef __cplusplus
17689 extern "C"
17690 #endif
17691 /* We use char because int might match the return type of a gcc2
17692 builtin and then its argument prototype would still apply. */
17693 char scalbnf ();
17694 int
17695 main ()
17696 {
17697 scalbnf ();
17698 ;
17699 return 0;
17700 }
17701 _ACEOF
17702 rm -f conftest.$ac_objext conftest$ac_exeext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17704 (eval $ac_link) 2>conftest.er1
17705 ac_status=$?
17706 grep -v '^ *+' conftest.er1 >conftest.err
17707 rm -f conftest.er1
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } &&
17711 { ac_try='test -z "$ac_c_werror_flag"
17712 || test ! -s conftest.err'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17715 ac_status=$?
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; } &&
17718 { ac_try='test -s conftest$ac_exeext'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17721 ac_status=$?
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; }; then
17724 ac_cv_lib_m_scalbnf=yes
17725 else
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17728
17729 ac_cv_lib_m_scalbnf=no
17730 fi
17731 rm -f conftest.err conftest.$ac_objext \
17732 conftest$ac_exeext conftest.$ac_ext
17733 LIBS=$ac_check_lib_save_LIBS
17734 fi
17735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17736 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17737 if test $ac_cv_lib_m_scalbnf = yes; then
17738
17739 cat >>confdefs.h <<\_ACEOF
17740 #define HAVE_SCALBNF 1
17741 _ACEOF
17742
17743 fi
17744
17745 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17746 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17747 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750 ac_check_lib_save_LIBS=$LIBS
17751 LIBS="-lm $LIBS"
17752 if test x$gcc_no_link = xyes; then
17753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17755 { (exit 1); exit 1; }; }
17756 fi
17757 cat >conftest.$ac_ext <<_ACEOF
17758 /* confdefs.h. */
17759 _ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763
17764 /* Override any gcc2 internal prototype to avoid an error. */
17765 #ifdef __cplusplus
17766 extern "C"
17767 #endif
17768 /* We use char because int might match the return type of a gcc2
17769 builtin and then its argument prototype would still apply. */
17770 char scalbn ();
17771 int
17772 main ()
17773 {
17774 scalbn ();
17775 ;
17776 return 0;
17777 }
17778 _ACEOF
17779 rm -f conftest.$ac_objext conftest$ac_exeext
17780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17781 (eval $ac_link) 2>conftest.er1
17782 ac_status=$?
17783 grep -v '^ *+' conftest.er1 >conftest.err
17784 rm -f conftest.er1
17785 cat conftest.err >&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); } &&
17788 { ac_try='test -z "$ac_c_werror_flag"
17789 || test ! -s conftest.err'
17790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17791 (eval $ac_try) 2>&5
17792 ac_status=$?
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); }; } &&
17795 { ac_try='test -s conftest$ac_exeext'
17796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17797 (eval $ac_try) 2>&5
17798 ac_status=$?
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); }; }; then
17801 ac_cv_lib_m_scalbn=yes
17802 else
17803 echo "$as_me: failed program was:" >&5
17804 sed 's/^/| /' conftest.$ac_ext >&5
17805
17806 ac_cv_lib_m_scalbn=no
17807 fi
17808 rm -f conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17810 LIBS=$ac_check_lib_save_LIBS
17811 fi
17812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17813 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17814 if test $ac_cv_lib_m_scalbn = yes; then
17815
17816 cat >>confdefs.h <<\_ACEOF
17817 #define HAVE_SCALBN 1
17818 _ACEOF
17819
17820 fi
17821
17822 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17823 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17824 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17825 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 else
17827 ac_check_lib_save_LIBS=$LIBS
17828 LIBS="-lm $LIBS"
17829 if test x$gcc_no_link = xyes; then
17830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17832 { (exit 1); exit 1; }; }
17833 fi
17834 cat >conftest.$ac_ext <<_ACEOF
17835 /* confdefs.h. */
17836 _ACEOF
17837 cat confdefs.h >>conftest.$ac_ext
17838 cat >>conftest.$ac_ext <<_ACEOF
17839 /* end confdefs.h. */
17840
17841 /* Override any gcc2 internal prototype to avoid an error. */
17842 #ifdef __cplusplus
17843 extern "C"
17844 #endif
17845 /* We use char because int might match the return type of a gcc2
17846 builtin and then its argument prototype would still apply. */
17847 char scalbnl ();
17848 int
17849 main ()
17850 {
17851 scalbnl ();
17852 ;
17853 return 0;
17854 }
17855 _ACEOF
17856 rm -f conftest.$ac_objext conftest$ac_exeext
17857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17858 (eval $ac_link) 2>conftest.er1
17859 ac_status=$?
17860 grep -v '^ *+' conftest.er1 >conftest.err
17861 rm -f conftest.er1
17862 cat conftest.err >&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } &&
17865 { ac_try='test -z "$ac_c_werror_flag"
17866 || test ! -s conftest.err'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17869 ac_status=$?
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; } &&
17872 { ac_try='test -s conftest$ac_exeext'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17875 ac_status=$?
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 ac_cv_lib_m_scalbnl=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 ac_cv_lib_m_scalbnl=no
17884 fi
17885 rm -f conftest.err conftest.$ac_objext \
17886 conftest$ac_exeext conftest.$ac_ext
17887 LIBS=$ac_check_lib_save_LIBS
17888 fi
17889 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
17890 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
17891 if test $ac_cv_lib_m_scalbnl = yes; then
17892
17893 cat >>confdefs.h <<\_ACEOF
17894 #define HAVE_SCALBNL 1
17895 _ACEOF
17896
17897 fi
17898
17899 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17900 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17901 if test "${ac_cv_lib_m_sinf+set}" = set; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17903 else
17904 ac_check_lib_save_LIBS=$LIBS
17905 LIBS="-lm $LIBS"
17906 if test x$gcc_no_link = xyes; then
17907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17909 { (exit 1); exit 1; }; }
17910 fi
17911 cat >conftest.$ac_ext <<_ACEOF
17912 /* confdefs.h. */
17913 _ACEOF
17914 cat confdefs.h >>conftest.$ac_ext
17915 cat >>conftest.$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17917
17918 /* Override any gcc2 internal prototype to avoid an error. */
17919 #ifdef __cplusplus
17920 extern "C"
17921 #endif
17922 /* We use char because int might match the return type of a gcc2
17923 builtin and then its argument prototype would still apply. */
17924 char sinf ();
17925 int
17926 main ()
17927 {
17928 sinf ();
17929 ;
17930 return 0;
17931 }
17932 _ACEOF
17933 rm -f conftest.$ac_objext conftest$ac_exeext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17935 (eval $ac_link) 2>conftest.er1
17936 ac_status=$?
17937 grep -v '^ *+' conftest.er1 >conftest.err
17938 rm -f conftest.er1
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try='test -z "$ac_c_werror_flag"
17943 || test ! -s conftest.err'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17946 ac_status=$?
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; } &&
17949 { ac_try='test -s conftest$ac_exeext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 ac_cv_lib_m_sinf=yes
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17959
17960 ac_cv_lib_m_sinf=no
17961 fi
17962 rm -f conftest.err conftest.$ac_objext \
17963 conftest$ac_exeext conftest.$ac_ext
17964 LIBS=$ac_check_lib_save_LIBS
17965 fi
17966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17967 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17968 if test $ac_cv_lib_m_sinf = yes; then
17969
17970 cat >>confdefs.h <<\_ACEOF
17971 #define HAVE_SINF 1
17972 _ACEOF
17973
17974 fi
17975
17976 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17977 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17978 if test "${ac_cv_lib_m_sin+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 else
17981 ac_check_lib_save_LIBS=$LIBS
17982 LIBS="-lm $LIBS"
17983 if test x$gcc_no_link = xyes; then
17984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17986 { (exit 1); exit 1; }; }
17987 fi
17988 cat >conftest.$ac_ext <<_ACEOF
17989 /* confdefs.h. */
17990 _ACEOF
17991 cat confdefs.h >>conftest.$ac_ext
17992 cat >>conftest.$ac_ext <<_ACEOF
17993 /* end confdefs.h. */
17994
17995 /* Override any gcc2 internal prototype to avoid an error. */
17996 #ifdef __cplusplus
17997 extern "C"
17998 #endif
17999 /* We use char because int might match the return type of a gcc2
18000 builtin and then its argument prototype would still apply. */
18001 char sin ();
18002 int
18003 main ()
18004 {
18005 sin ();
18006 ;
18007 return 0;
18008 }
18009 _ACEOF
18010 rm -f conftest.$ac_objext conftest$ac_exeext
18011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18012 (eval $ac_link) 2>conftest.er1
18013 ac_status=$?
18014 grep -v '^ *+' conftest.er1 >conftest.err
18015 rm -f conftest.er1
18016 cat conftest.err >&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); } &&
18019 { ac_try='test -z "$ac_c_werror_flag"
18020 || test ! -s conftest.err'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18023 ac_status=$?
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; } &&
18026 { ac_try='test -s conftest$ac_exeext'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18029 ac_status=$?
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; }; then
18032 ac_cv_lib_m_sin=yes
18033 else
18034 echo "$as_me: failed program was:" >&5
18035 sed 's/^/| /' conftest.$ac_ext >&5
18036
18037 ac_cv_lib_m_sin=no
18038 fi
18039 rm -f conftest.err conftest.$ac_objext \
18040 conftest$ac_exeext conftest.$ac_ext
18041 LIBS=$ac_check_lib_save_LIBS
18042 fi
18043 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18044 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18045 if test $ac_cv_lib_m_sin = yes; then
18046
18047 cat >>confdefs.h <<\_ACEOF
18048 #define HAVE_SIN 1
18049 _ACEOF
18050
18051 fi
18052
18053 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18054 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18055 if test "${ac_cv_lib_m_sinl+set}" = set; then
18056 echo $ECHO_N "(cached) $ECHO_C" >&6
18057 else
18058 ac_check_lib_save_LIBS=$LIBS
18059 LIBS="-lm $LIBS"
18060 if test x$gcc_no_link = xyes; then
18061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18063 { (exit 1); exit 1; }; }
18064 fi
18065 cat >conftest.$ac_ext <<_ACEOF
18066 /* confdefs.h. */
18067 _ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18071
18072 /* Override any gcc2 internal prototype to avoid an error. */
18073 #ifdef __cplusplus
18074 extern "C"
18075 #endif
18076 /* We use char because int might match the return type of a gcc2
18077 builtin and then its argument prototype would still apply. */
18078 char sinl ();
18079 int
18080 main ()
18081 {
18082 sinl ();
18083 ;
18084 return 0;
18085 }
18086 _ACEOF
18087 rm -f conftest.$ac_objext conftest$ac_exeext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18089 (eval $ac_link) 2>conftest.er1
18090 ac_status=$?
18091 grep -v '^ *+' conftest.er1 >conftest.err
18092 rm -f conftest.er1
18093 cat conftest.err >&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } &&
18096 { ac_try='test -z "$ac_c_werror_flag"
18097 || test ! -s conftest.err'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; } &&
18103 { ac_try='test -s conftest$ac_exeext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18106 ac_status=$?
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_lib_m_sinl=yes
18110 else
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18113
18114 ac_cv_lib_m_sinl=no
18115 fi
18116 rm -f conftest.err conftest.$ac_objext \
18117 conftest$ac_exeext conftest.$ac_ext
18118 LIBS=$ac_check_lib_save_LIBS
18119 fi
18120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18121 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18122 if test $ac_cv_lib_m_sinl = yes; then
18123
18124 cat >>confdefs.h <<\_ACEOF
18125 #define HAVE_SINL 1
18126 _ACEOF
18127
18128 fi
18129
18130 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18131 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18132 if test "${ac_cv_lib_m_csinf+set}" = set; then
18133 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 else
18135 ac_check_lib_save_LIBS=$LIBS
18136 LIBS="-lm $LIBS"
18137 if test x$gcc_no_link = xyes; then
18138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18140 { (exit 1); exit 1; }; }
18141 fi
18142 cat >conftest.$ac_ext <<_ACEOF
18143 /* confdefs.h. */
18144 _ACEOF
18145 cat confdefs.h >>conftest.$ac_ext
18146 cat >>conftest.$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18148
18149 /* Override any gcc2 internal prototype to avoid an error. */
18150 #ifdef __cplusplus
18151 extern "C"
18152 #endif
18153 /* We use char because int might match the return type of a gcc2
18154 builtin and then its argument prototype would still apply. */
18155 char csinf ();
18156 int
18157 main ()
18158 {
18159 csinf ();
18160 ;
18161 return 0;
18162 }
18163 _ACEOF
18164 rm -f conftest.$ac_objext conftest$ac_exeext
18165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18166 (eval $ac_link) 2>conftest.er1
18167 ac_status=$?
18168 grep -v '^ *+' conftest.er1 >conftest.err
18169 rm -f conftest.er1
18170 cat conftest.err >&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } &&
18173 { ac_try='test -z "$ac_c_werror_flag"
18174 || test ! -s conftest.err'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18177 ac_status=$?
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; } &&
18180 { ac_try='test -s conftest$ac_exeext'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18183 ac_status=$?
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; }; then
18186 ac_cv_lib_m_csinf=yes
18187 else
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.$ac_ext >&5
18190
18191 ac_cv_lib_m_csinf=no
18192 fi
18193 rm -f conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext conftest.$ac_ext
18195 LIBS=$ac_check_lib_save_LIBS
18196 fi
18197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18198 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18199 if test $ac_cv_lib_m_csinf = yes; then
18200
18201 cat >>confdefs.h <<\_ACEOF
18202 #define HAVE_CSINF 1
18203 _ACEOF
18204
18205 fi
18206
18207 echo "$as_me:$LINENO: checking for csin in -lm" >&5
18208 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18209 if test "${ac_cv_lib_m_csin+set}" = set; then
18210 echo $ECHO_N "(cached) $ECHO_C" >&6
18211 else
18212 ac_check_lib_save_LIBS=$LIBS
18213 LIBS="-lm $LIBS"
18214 if test x$gcc_no_link = xyes; then
18215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18217 { (exit 1); exit 1; }; }
18218 fi
18219 cat >conftest.$ac_ext <<_ACEOF
18220 /* confdefs.h. */
18221 _ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225
18226 /* Override any gcc2 internal prototype to avoid an error. */
18227 #ifdef __cplusplus
18228 extern "C"
18229 #endif
18230 /* We use char because int might match the return type of a gcc2
18231 builtin and then its argument prototype would still apply. */
18232 char csin ();
18233 int
18234 main ()
18235 {
18236 csin ();
18237 ;
18238 return 0;
18239 }
18240 _ACEOF
18241 rm -f conftest.$ac_objext conftest$ac_exeext
18242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18243 (eval $ac_link) 2>conftest.er1
18244 ac_status=$?
18245 grep -v '^ *+' conftest.er1 >conftest.err
18246 rm -f conftest.er1
18247 cat conftest.err >&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } &&
18250 { ac_try='test -z "$ac_c_werror_flag"
18251 || test ! -s conftest.err'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18254 ac_status=$?
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; } &&
18257 { ac_try='test -s conftest$ac_exeext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 ac_cv_lib_m_csin=yes
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18267
18268 ac_cv_lib_m_csin=no
18269 fi
18270 rm -f conftest.err conftest.$ac_objext \
18271 conftest$ac_exeext conftest.$ac_ext
18272 LIBS=$ac_check_lib_save_LIBS
18273 fi
18274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18275 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18276 if test $ac_cv_lib_m_csin = yes; then
18277
18278 cat >>confdefs.h <<\_ACEOF
18279 #define HAVE_CSIN 1
18280 _ACEOF
18281
18282 fi
18283
18284 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18285 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18286 if test "${ac_cv_lib_m_csinl+set}" = set; then
18287 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 else
18289 ac_check_lib_save_LIBS=$LIBS
18290 LIBS="-lm $LIBS"
18291 if test x$gcc_no_link = xyes; then
18292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18294 { (exit 1); exit 1; }; }
18295 fi
18296 cat >conftest.$ac_ext <<_ACEOF
18297 /* confdefs.h. */
18298 _ACEOF
18299 cat confdefs.h >>conftest.$ac_ext
18300 cat >>conftest.$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302
18303 /* Override any gcc2 internal prototype to avoid an error. */
18304 #ifdef __cplusplus
18305 extern "C"
18306 #endif
18307 /* We use char because int might match the return type of a gcc2
18308 builtin and then its argument prototype would still apply. */
18309 char csinl ();
18310 int
18311 main ()
18312 {
18313 csinl ();
18314 ;
18315 return 0;
18316 }
18317 _ACEOF
18318 rm -f conftest.$ac_objext conftest$ac_exeext
18319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18320 (eval $ac_link) 2>conftest.er1
18321 ac_status=$?
18322 grep -v '^ *+' conftest.er1 >conftest.err
18323 rm -f conftest.er1
18324 cat conftest.err >&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -z "$ac_c_werror_flag"
18328 || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try='test -s conftest$ac_exeext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 ac_cv_lib_m_csinl=yes
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_cv_lib_m_csinl=no
18346 fi
18347 rm -f conftest.err conftest.$ac_objext \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_lib_save_LIBS
18350 fi
18351 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18352 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18353 if test $ac_cv_lib_m_csinl = yes; then
18354
18355 cat >>confdefs.h <<\_ACEOF
18356 #define HAVE_CSINL 1
18357 _ACEOF
18358
18359 fi
18360
18361 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18362 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18363 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 ac_check_lib_save_LIBS=$LIBS
18367 LIBS="-lm $LIBS"
18368 if test x$gcc_no_link = xyes; then
18369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18371 { (exit 1); exit 1; }; }
18372 fi
18373 cat >conftest.$ac_ext <<_ACEOF
18374 /* confdefs.h. */
18375 _ACEOF
18376 cat confdefs.h >>conftest.$ac_ext
18377 cat >>conftest.$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379
18380 /* Override any gcc2 internal prototype to avoid an error. */
18381 #ifdef __cplusplus
18382 extern "C"
18383 #endif
18384 /* We use char because int might match the return type of a gcc2
18385 builtin and then its argument prototype would still apply. */
18386 char sinhf ();
18387 int
18388 main ()
18389 {
18390 sinhf ();
18391 ;
18392 return 0;
18393 }
18394 _ACEOF
18395 rm -f conftest.$ac_objext conftest$ac_exeext
18396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18397 (eval $ac_link) 2>conftest.er1
18398 ac_status=$?
18399 grep -v '^ *+' conftest.er1 >conftest.err
18400 rm -f conftest.er1
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } &&
18404 { ac_try='test -z "$ac_c_werror_flag"
18405 || test ! -s conftest.err'
18406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18407 (eval $ac_try) 2>&5
18408 ac_status=$?
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; } &&
18411 { ac_try='test -s conftest$ac_exeext'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18414 ac_status=$?
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; }; then
18417 ac_cv_lib_m_sinhf=yes
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422 ac_cv_lib_m_sinhf=no
18423 fi
18424 rm -f conftest.err conftest.$ac_objext \
18425 conftest$ac_exeext conftest.$ac_ext
18426 LIBS=$ac_check_lib_save_LIBS
18427 fi
18428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18429 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18430 if test $ac_cv_lib_m_sinhf = yes; then
18431
18432 cat >>confdefs.h <<\_ACEOF
18433 #define HAVE_SINHF 1
18434 _ACEOF
18435
18436 fi
18437
18438 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18439 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18440 if test "${ac_cv_lib_m_sinh+set}" = set; then
18441 echo $ECHO_N "(cached) $ECHO_C" >&6
18442 else
18443 ac_check_lib_save_LIBS=$LIBS
18444 LIBS="-lm $LIBS"
18445 if test x$gcc_no_link = xyes; then
18446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18448 { (exit 1); exit 1; }; }
18449 fi
18450 cat >conftest.$ac_ext <<_ACEOF
18451 /* confdefs.h. */
18452 _ACEOF
18453 cat confdefs.h >>conftest.$ac_ext
18454 cat >>conftest.$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18456
18457 /* Override any gcc2 internal prototype to avoid an error. */
18458 #ifdef __cplusplus
18459 extern "C"
18460 #endif
18461 /* We use char because int might match the return type of a gcc2
18462 builtin and then its argument prototype would still apply. */
18463 char sinh ();
18464 int
18465 main ()
18466 {
18467 sinh ();
18468 ;
18469 return 0;
18470 }
18471 _ACEOF
18472 rm -f conftest.$ac_objext conftest$ac_exeext
18473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18474 (eval $ac_link) 2>conftest.er1
18475 ac_status=$?
18476 grep -v '^ *+' conftest.er1 >conftest.err
18477 rm -f conftest.er1
18478 cat conftest.err >&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } &&
18481 { ac_try='test -z "$ac_c_werror_flag"
18482 || test ! -s conftest.err'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; } &&
18488 { ac_try='test -s conftest$ac_exeext'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18491 ac_status=$?
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; }; then
18494 ac_cv_lib_m_sinh=yes
18495 else
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18498
18499 ac_cv_lib_m_sinh=no
18500 fi
18501 rm -f conftest.err conftest.$ac_objext \
18502 conftest$ac_exeext conftest.$ac_ext
18503 LIBS=$ac_check_lib_save_LIBS
18504 fi
18505 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
18506 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
18507 if test $ac_cv_lib_m_sinh = yes; then
18508
18509 cat >>confdefs.h <<\_ACEOF
18510 #define HAVE_SINH 1
18511 _ACEOF
18512
18513 fi
18514
18515 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
18516 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
18517 if test "${ac_cv_lib_m_sinhl+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520 ac_check_lib_save_LIBS=$LIBS
18521 LIBS="-lm $LIBS"
18522 if test x$gcc_no_link = xyes; then
18523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18525 { (exit 1); exit 1; }; }
18526 fi
18527 cat >conftest.$ac_ext <<_ACEOF
18528 /* confdefs.h. */
18529 _ACEOF
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533
18534 /* Override any gcc2 internal prototype to avoid an error. */
18535 #ifdef __cplusplus
18536 extern "C"
18537 #endif
18538 /* We use char because int might match the return type of a gcc2
18539 builtin and then its argument prototype would still apply. */
18540 char sinhl ();
18541 int
18542 main ()
18543 {
18544 sinhl ();
18545 ;
18546 return 0;
18547 }
18548 _ACEOF
18549 rm -f conftest.$ac_objext conftest$ac_exeext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18551 (eval $ac_link) 2>conftest.er1
18552 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1
18555 cat conftest.err >&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } &&
18558 { ac_try='test -z "$ac_c_werror_flag"
18559 || test ! -s conftest.err'
18560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18561 (eval $ac_try) 2>&5
18562 ac_status=$?
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); }; } &&
18565 { ac_try='test -s conftest$ac_exeext'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; }; then
18571 ac_cv_lib_m_sinhl=yes
18572 else
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.$ac_ext >&5
18575
18576 ac_cv_lib_m_sinhl=no
18577 fi
18578 rm -f conftest.err conftest.$ac_objext \
18579 conftest$ac_exeext conftest.$ac_ext
18580 LIBS=$ac_check_lib_save_LIBS
18581 fi
18582 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
18583 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
18584 if test $ac_cv_lib_m_sinhl = yes; then
18585
18586 cat >>confdefs.h <<\_ACEOF
18587 #define HAVE_SINHL 1
18588 _ACEOF
18589
18590 fi
18591
18592 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18593 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18594 if test "${ac_cv_lib_m_csinhf+set}" = set; then
18595 echo $ECHO_N "(cached) $ECHO_C" >&6
18596 else
18597 ac_check_lib_save_LIBS=$LIBS
18598 LIBS="-lm $LIBS"
18599 if test x$gcc_no_link = xyes; then
18600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18602 { (exit 1); exit 1; }; }
18603 fi
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610
18611 /* Override any gcc2 internal prototype to avoid an error. */
18612 #ifdef __cplusplus
18613 extern "C"
18614 #endif
18615 /* We use char because int might match the return type of a gcc2
18616 builtin and then its argument prototype would still apply. */
18617 char csinhf ();
18618 int
18619 main ()
18620 {
18621 csinhf ();
18622 ;
18623 return 0;
18624 }
18625 _ACEOF
18626 rm -f conftest.$ac_objext conftest$ac_exeext
18627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18628 (eval $ac_link) 2>conftest.er1
18629 ac_status=$?
18630 grep -v '^ *+' conftest.er1 >conftest.err
18631 rm -f conftest.er1
18632 cat conftest.err >&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try='test -z "$ac_c_werror_flag"
18636 || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try='test -s conftest$ac_exeext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_cv_lib_m_csinhf=yes
18649 else
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18652
18653 ac_cv_lib_m_csinhf=no
18654 fi
18655 rm -f conftest.err conftest.$ac_objext \
18656 conftest$ac_exeext conftest.$ac_ext
18657 LIBS=$ac_check_lib_save_LIBS
18658 fi
18659 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18660 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18661 if test $ac_cv_lib_m_csinhf = yes; then
18662
18663 cat >>confdefs.h <<\_ACEOF
18664 #define HAVE_CSINHF 1
18665 _ACEOF
18666
18667 fi
18668
18669 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18670 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18671 if test "${ac_cv_lib_m_csinh+set}" = set; then
18672 echo $ECHO_N "(cached) $ECHO_C" >&6
18673 else
18674 ac_check_lib_save_LIBS=$LIBS
18675 LIBS="-lm $LIBS"
18676 if test x$gcc_no_link = xyes; then
18677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18679 { (exit 1); exit 1; }; }
18680 fi
18681 cat >conftest.$ac_ext <<_ACEOF
18682 /* confdefs.h. */
18683 _ACEOF
18684 cat confdefs.h >>conftest.$ac_ext
18685 cat >>conftest.$ac_ext <<_ACEOF
18686 /* end confdefs.h. */
18687
18688 /* Override any gcc2 internal prototype to avoid an error. */
18689 #ifdef __cplusplus
18690 extern "C"
18691 #endif
18692 /* We use char because int might match the return type of a gcc2
18693 builtin and then its argument prototype would still apply. */
18694 char csinh ();
18695 int
18696 main ()
18697 {
18698 csinh ();
18699 ;
18700 return 0;
18701 }
18702 _ACEOF
18703 rm -f conftest.$ac_objext conftest$ac_exeext
18704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18705 (eval $ac_link) 2>conftest.er1
18706 ac_status=$?
18707 grep -v '^ *+' conftest.er1 >conftest.err
18708 rm -f conftest.er1
18709 cat conftest.err >&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); } &&
18712 { ac_try='test -z "$ac_c_werror_flag"
18713 || test ! -s conftest.err'
18714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18715 (eval $ac_try) 2>&5
18716 ac_status=$?
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); }; } &&
18719 { ac_try='test -s conftest$ac_exeext'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_cv_lib_m_csinh=yes
18726 else
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18729
18730 ac_cv_lib_m_csinh=no
18731 fi
18732 rm -f conftest.err conftest.$ac_objext \
18733 conftest$ac_exeext conftest.$ac_ext
18734 LIBS=$ac_check_lib_save_LIBS
18735 fi
18736 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18737 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18738 if test $ac_cv_lib_m_csinh = yes; then
18739
18740 cat >>confdefs.h <<\_ACEOF
18741 #define HAVE_CSINH 1
18742 _ACEOF
18743
18744 fi
18745
18746 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18747 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18748 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 else
18751 ac_check_lib_save_LIBS=$LIBS
18752 LIBS="-lm $LIBS"
18753 if test x$gcc_no_link = xyes; then
18754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18756 { (exit 1); exit 1; }; }
18757 fi
18758 cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h. */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764
18765 /* Override any gcc2 internal prototype to avoid an error. */
18766 #ifdef __cplusplus
18767 extern "C"
18768 #endif
18769 /* We use char because int might match the return type of a gcc2
18770 builtin and then its argument prototype would still apply. */
18771 char csinhl ();
18772 int
18773 main ()
18774 {
18775 csinhl ();
18776 ;
18777 return 0;
18778 }
18779 _ACEOF
18780 rm -f conftest.$ac_objext conftest$ac_exeext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18782 (eval $ac_link) 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try='test -z "$ac_c_werror_flag"
18790 || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest$ac_exeext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 ac_cv_lib_m_csinhl=yes
18803 else
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18806
18807 ac_cv_lib_m_csinhl=no
18808 fi
18809 rm -f conftest.err conftest.$ac_objext \
18810 conftest$ac_exeext conftest.$ac_ext
18811 LIBS=$ac_check_lib_save_LIBS
18812 fi
18813 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18814 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18815 if test $ac_cv_lib_m_csinhl = yes; then
18816
18817 cat >>confdefs.h <<\_ACEOF
18818 #define HAVE_CSINHL 1
18819 _ACEOF
18820
18821 fi
18822
18823 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18824 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18825 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 else
18828 ac_check_lib_save_LIBS=$LIBS
18829 LIBS="-lm $LIBS"
18830 if test x$gcc_no_link = xyes; then
18831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18833 { (exit 1); exit 1; }; }
18834 fi
18835 cat >conftest.$ac_ext <<_ACEOF
18836 /* confdefs.h. */
18837 _ACEOF
18838 cat confdefs.h >>conftest.$ac_ext
18839 cat >>conftest.$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841
18842 /* Override any gcc2 internal prototype to avoid an error. */
18843 #ifdef __cplusplus
18844 extern "C"
18845 #endif
18846 /* We use char because int might match the return type of a gcc2
18847 builtin and then its argument prototype would still apply. */
18848 char sqrtf ();
18849 int
18850 main ()
18851 {
18852 sqrtf ();
18853 ;
18854 return 0;
18855 }
18856 _ACEOF
18857 rm -f conftest.$ac_objext conftest$ac_exeext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18859 (eval $ac_link) 2>conftest.er1
18860 ac_status=$?
18861 grep -v '^ *+' conftest.er1 >conftest.err
18862 rm -f conftest.er1
18863 cat conftest.err >&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } &&
18866 { ac_try='test -z "$ac_c_werror_flag"
18867 || test ! -s conftest.err'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18870 ac_status=$?
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; } &&
18873 { ac_try='test -s conftest$ac_exeext'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18876 ac_status=$?
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; }; then
18879 ac_cv_lib_m_sqrtf=yes
18880 else
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18883
18884 ac_cv_lib_m_sqrtf=no
18885 fi
18886 rm -f conftest.err conftest.$ac_objext \
18887 conftest$ac_exeext conftest.$ac_ext
18888 LIBS=$ac_check_lib_save_LIBS
18889 fi
18890 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
18891 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
18892 if test $ac_cv_lib_m_sqrtf = yes; then
18893
18894 cat >>confdefs.h <<\_ACEOF
18895 #define HAVE_SQRTF 1
18896 _ACEOF
18897
18898 fi
18899
18900 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
18901 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
18902 if test "${ac_cv_lib_m_sqrt+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 else
18905 ac_check_lib_save_LIBS=$LIBS
18906 LIBS="-lm $LIBS"
18907 if test x$gcc_no_link = xyes; then
18908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18910 { (exit 1); exit 1; }; }
18911 fi
18912 cat >conftest.$ac_ext <<_ACEOF
18913 /* confdefs.h. */
18914 _ACEOF
18915 cat confdefs.h >>conftest.$ac_ext
18916 cat >>conftest.$ac_ext <<_ACEOF
18917 /* end confdefs.h. */
18918
18919 /* Override any gcc2 internal prototype to avoid an error. */
18920 #ifdef __cplusplus
18921 extern "C"
18922 #endif
18923 /* We use char because int might match the return type of a gcc2
18924 builtin and then its argument prototype would still apply. */
18925 char sqrt ();
18926 int
18927 main ()
18928 {
18929 sqrt ();
18930 ;
18931 return 0;
18932 }
18933 _ACEOF
18934 rm -f conftest.$ac_objext conftest$ac_exeext
18935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18936 (eval $ac_link) 2>conftest.er1
18937 ac_status=$?
18938 grep -v '^ *+' conftest.er1 >conftest.err
18939 rm -f conftest.er1
18940 cat conftest.err >&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } &&
18943 { ac_try='test -z "$ac_c_werror_flag"
18944 || test ! -s conftest.err'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18947 ac_status=$?
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try='test -s conftest$ac_exeext'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18953 ac_status=$?
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; }; then
18956 ac_cv_lib_m_sqrt=yes
18957 else
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.$ac_ext >&5
18960
18961 ac_cv_lib_m_sqrt=no
18962 fi
18963 rm -f conftest.err conftest.$ac_objext \
18964 conftest$ac_exeext conftest.$ac_ext
18965 LIBS=$ac_check_lib_save_LIBS
18966 fi
18967 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18968 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18969 if test $ac_cv_lib_m_sqrt = yes; then
18970
18971 cat >>confdefs.h <<\_ACEOF
18972 #define HAVE_SQRT 1
18973 _ACEOF
18974
18975 fi
18976
18977 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18978 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18979 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 else
18982 ac_check_lib_save_LIBS=$LIBS
18983 LIBS="-lm $LIBS"
18984 if test x$gcc_no_link = xyes; then
18985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18987 { (exit 1); exit 1; }; }
18988 fi
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995
18996 /* Override any gcc2 internal prototype to avoid an error. */
18997 #ifdef __cplusplus
18998 extern "C"
18999 #endif
19000 /* We use char because int might match the return type of a gcc2
19001 builtin and then its argument prototype would still apply. */
19002 char sqrtl ();
19003 int
19004 main ()
19005 {
19006 sqrtl ();
19007 ;
19008 return 0;
19009 }
19010 _ACEOF
19011 rm -f conftest.$ac_objext conftest$ac_exeext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19013 (eval $ac_link) 2>conftest.er1
19014 ac_status=$?
19015 grep -v '^ *+' conftest.er1 >conftest.err
19016 rm -f conftest.er1
19017 cat conftest.err >&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try='test -z "$ac_c_werror_flag"
19021 || test ! -s conftest.err'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19024 ac_status=$?
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; } &&
19027 { ac_try='test -s conftest$ac_exeext'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; }; then
19033 ac_cv_lib_m_sqrtl=yes
19034 else
19035 echo "$as_me: failed program was:" >&5
19036 sed 's/^/| /' conftest.$ac_ext >&5
19037
19038 ac_cv_lib_m_sqrtl=no
19039 fi
19040 rm -f conftest.err conftest.$ac_objext \
19041 conftest$ac_exeext conftest.$ac_ext
19042 LIBS=$ac_check_lib_save_LIBS
19043 fi
19044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19045 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19046 if test $ac_cv_lib_m_sqrtl = yes; then
19047
19048 cat >>confdefs.h <<\_ACEOF
19049 #define HAVE_SQRTL 1
19050 _ACEOF
19051
19052 fi
19053
19054 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19055 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19056 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 else
19059 ac_check_lib_save_LIBS=$LIBS
19060 LIBS="-lm $LIBS"
19061 if test x$gcc_no_link = xyes; then
19062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19064 { (exit 1); exit 1; }; }
19065 fi
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072
19073 /* Override any gcc2 internal prototype to avoid an error. */
19074 #ifdef __cplusplus
19075 extern "C"
19076 #endif
19077 /* We use char because int might match the return type of a gcc2
19078 builtin and then its argument prototype would still apply. */
19079 char csqrtf ();
19080 int
19081 main ()
19082 {
19083 csqrtf ();
19084 ;
19085 return 0;
19086 }
19087 _ACEOF
19088 rm -f conftest.$ac_objext conftest$ac_exeext
19089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19090 (eval $ac_link) 2>conftest.er1
19091 ac_status=$?
19092 grep -v '^ *+' conftest.er1 >conftest.err
19093 rm -f conftest.er1
19094 cat conftest.err >&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } &&
19097 { ac_try='test -z "$ac_c_werror_flag"
19098 || test ! -s conftest.err'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; } &&
19104 { ac_try='test -s conftest$ac_exeext'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19110 ac_cv_lib_m_csqrtf=yes
19111 else
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19114
19115 ac_cv_lib_m_csqrtf=no
19116 fi
19117 rm -f conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext conftest.$ac_ext
19119 LIBS=$ac_check_lib_save_LIBS
19120 fi
19121 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19122 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19123 if test $ac_cv_lib_m_csqrtf = yes; then
19124
19125 cat >>confdefs.h <<\_ACEOF
19126 #define HAVE_CSQRTF 1
19127 _ACEOF
19128
19129 fi
19130
19131 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19132 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19133 if test "${ac_cv_lib_m_csqrt+set}" = set; then
19134 echo $ECHO_N "(cached) $ECHO_C" >&6
19135 else
19136 ac_check_lib_save_LIBS=$LIBS
19137 LIBS="-lm $LIBS"
19138 if test x$gcc_no_link = xyes; then
19139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19141 { (exit 1); exit 1; }; }
19142 fi
19143 cat >conftest.$ac_ext <<_ACEOF
19144 /* confdefs.h. */
19145 _ACEOF
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149
19150 /* Override any gcc2 internal prototype to avoid an error. */
19151 #ifdef __cplusplus
19152 extern "C"
19153 #endif
19154 /* We use char because int might match the return type of a gcc2
19155 builtin and then its argument prototype would still apply. */
19156 char csqrt ();
19157 int
19158 main ()
19159 {
19160 csqrt ();
19161 ;
19162 return 0;
19163 }
19164 _ACEOF
19165 rm -f conftest.$ac_objext conftest$ac_exeext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19167 (eval $ac_link) 2>conftest.er1
19168 ac_status=$?
19169 grep -v '^ *+' conftest.er1 >conftest.err
19170 rm -f conftest.er1
19171 cat conftest.err >&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try='test -z "$ac_c_werror_flag"
19175 || test ! -s conftest.err'
19176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177 (eval $ac_try) 2>&5
19178 ac_status=$?
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); }; } &&
19181 { ac_try='test -s conftest$ac_exeext'
19182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183 (eval $ac_try) 2>&5
19184 ac_status=$?
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; }; then
19187 ac_cv_lib_m_csqrt=yes
19188 else
19189 echo "$as_me: failed program was:" >&5
19190 sed 's/^/| /' conftest.$ac_ext >&5
19191
19192 ac_cv_lib_m_csqrt=no
19193 fi
19194 rm -f conftest.err conftest.$ac_objext \
19195 conftest$ac_exeext conftest.$ac_ext
19196 LIBS=$ac_check_lib_save_LIBS
19197 fi
19198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19199 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19200 if test $ac_cv_lib_m_csqrt = yes; then
19201
19202 cat >>confdefs.h <<\_ACEOF
19203 #define HAVE_CSQRT 1
19204 _ACEOF
19205
19206 fi
19207
19208 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19209 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19210 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 else
19213 ac_check_lib_save_LIBS=$LIBS
19214 LIBS="-lm $LIBS"
19215 if test x$gcc_no_link = xyes; then
19216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19218 { (exit 1); exit 1; }; }
19219 fi
19220 cat >conftest.$ac_ext <<_ACEOF
19221 /* confdefs.h. */
19222 _ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226
19227 /* Override any gcc2 internal prototype to avoid an error. */
19228 #ifdef __cplusplus
19229 extern "C"
19230 #endif
19231 /* We use char because int might match the return type of a gcc2
19232 builtin and then its argument prototype would still apply. */
19233 char csqrtl ();
19234 int
19235 main ()
19236 {
19237 csqrtl ();
19238 ;
19239 return 0;
19240 }
19241 _ACEOF
19242 rm -f conftest.$ac_objext conftest$ac_exeext
19243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19244 (eval $ac_link) 2>conftest.er1
19245 ac_status=$?
19246 grep -v '^ *+' conftest.er1 >conftest.err
19247 rm -f conftest.er1
19248 cat conftest.err >&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try='test -z "$ac_c_werror_flag"
19252 || test ! -s conftest.err'
19253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19254 (eval $ac_try) 2>&5
19255 ac_status=$?
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; } &&
19258 { ac_try='test -s conftest$ac_exeext'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19261 ac_status=$?
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; }; then
19264 ac_cv_lib_m_csqrtl=yes
19265 else
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.$ac_ext >&5
19268
19269 ac_cv_lib_m_csqrtl=no
19270 fi
19271 rm -f conftest.err conftest.$ac_objext \
19272 conftest$ac_exeext conftest.$ac_ext
19273 LIBS=$ac_check_lib_save_LIBS
19274 fi
19275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19276 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19277 if test $ac_cv_lib_m_csqrtl = yes; then
19278
19279 cat >>confdefs.h <<\_ACEOF
19280 #define HAVE_CSQRTL 1
19281 _ACEOF
19282
19283 fi
19284
19285 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19286 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19287 if test "${ac_cv_lib_m_tanf+set}" = set; then
19288 echo $ECHO_N "(cached) $ECHO_C" >&6
19289 else
19290 ac_check_lib_save_LIBS=$LIBS
19291 LIBS="-lm $LIBS"
19292 if test x$gcc_no_link = xyes; then
19293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19295 { (exit 1); exit 1; }; }
19296 fi
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303
19304 /* Override any gcc2 internal prototype to avoid an error. */
19305 #ifdef __cplusplus
19306 extern "C"
19307 #endif
19308 /* We use char because int might match the return type of a gcc2
19309 builtin and then its argument prototype would still apply. */
19310 char tanf ();
19311 int
19312 main ()
19313 {
19314 tanf ();
19315 ;
19316 return 0;
19317 }
19318 _ACEOF
19319 rm -f conftest.$ac_objext conftest$ac_exeext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19321 (eval $ac_link) 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } &&
19328 { ac_try='test -z "$ac_c_werror_flag"
19329 || test ! -s conftest.err'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; } &&
19335 { ac_try='test -s conftest$ac_exeext'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; }; then
19341 ac_cv_lib_m_tanf=yes
19342 else
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.$ac_ext >&5
19345
19346 ac_cv_lib_m_tanf=no
19347 fi
19348 rm -f conftest.err conftest.$ac_objext \
19349 conftest$ac_exeext conftest.$ac_ext
19350 LIBS=$ac_check_lib_save_LIBS
19351 fi
19352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19353 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19354 if test $ac_cv_lib_m_tanf = yes; then
19355
19356 cat >>confdefs.h <<\_ACEOF
19357 #define HAVE_TANF 1
19358 _ACEOF
19359
19360 fi
19361
19362 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19363 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19364 if test "${ac_cv_lib_m_tan+set}" = set; then
19365 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 else
19367 ac_check_lib_save_LIBS=$LIBS
19368 LIBS="-lm $LIBS"
19369 if test x$gcc_no_link = xyes; then
19370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19372 { (exit 1); exit 1; }; }
19373 fi
19374 cat >conftest.$ac_ext <<_ACEOF
19375 /* confdefs.h. */
19376 _ACEOF
19377 cat confdefs.h >>conftest.$ac_ext
19378 cat >>conftest.$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19380
19381 /* Override any gcc2 internal prototype to avoid an error. */
19382 #ifdef __cplusplus
19383 extern "C"
19384 #endif
19385 /* We use char because int might match the return type of a gcc2
19386 builtin and then its argument prototype would still apply. */
19387 char tan ();
19388 int
19389 main ()
19390 {
19391 tan ();
19392 ;
19393 return 0;
19394 }
19395 _ACEOF
19396 rm -f conftest.$ac_objext conftest$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398 (eval $ac_link) 2>conftest.er1
19399 ac_status=$?
19400 grep -v '^ *+' conftest.er1 >conftest.err
19401 rm -f conftest.er1
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try='test -z "$ac_c_werror_flag"
19406 || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19409 ac_status=$?
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try='test -s conftest$ac_exeext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19415 ac_status=$?
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 ac_cv_lib_m_tan=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423 ac_cv_lib_m_tan=no
19424 fi
19425 rm -f conftest.err conftest.$ac_objext \
19426 conftest$ac_exeext conftest.$ac_ext
19427 LIBS=$ac_check_lib_save_LIBS
19428 fi
19429 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19430 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19431 if test $ac_cv_lib_m_tan = yes; then
19432
19433 cat >>confdefs.h <<\_ACEOF
19434 #define HAVE_TAN 1
19435 _ACEOF
19436
19437 fi
19438
19439 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19440 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19441 if test "${ac_cv_lib_m_tanl+set}" = set; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 else
19444 ac_check_lib_save_LIBS=$LIBS
19445 LIBS="-lm $LIBS"
19446 if test x$gcc_no_link = xyes; then
19447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19449 { (exit 1); exit 1; }; }
19450 fi
19451 cat >conftest.$ac_ext <<_ACEOF
19452 /* confdefs.h. */
19453 _ACEOF
19454 cat confdefs.h >>conftest.$ac_ext
19455 cat >>conftest.$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19457
19458 /* Override any gcc2 internal prototype to avoid an error. */
19459 #ifdef __cplusplus
19460 extern "C"
19461 #endif
19462 /* We use char because int might match the return type of a gcc2
19463 builtin and then its argument prototype would still apply. */
19464 char tanl ();
19465 int
19466 main ()
19467 {
19468 tanl ();
19469 ;
19470 return 0;
19471 }
19472 _ACEOF
19473 rm -f conftest.$ac_objext conftest$ac_exeext
19474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19475 (eval $ac_link) 2>conftest.er1
19476 ac_status=$?
19477 grep -v '^ *+' conftest.er1 >conftest.err
19478 rm -f conftest.er1
19479 cat conftest.err >&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } &&
19482 { ac_try='test -z "$ac_c_werror_flag"
19483 || test ! -s conftest.err'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; } &&
19489 { ac_try='test -s conftest$ac_exeext'
19490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19491 (eval $ac_try) 2>&5
19492 ac_status=$?
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); }; }; then
19495 ac_cv_lib_m_tanl=yes
19496 else
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.$ac_ext >&5
19499
19500 ac_cv_lib_m_tanl=no
19501 fi
19502 rm -f conftest.err conftest.$ac_objext \
19503 conftest$ac_exeext conftest.$ac_ext
19504 LIBS=$ac_check_lib_save_LIBS
19505 fi
19506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
19507 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
19508 if test $ac_cv_lib_m_tanl = yes; then
19509
19510 cat >>confdefs.h <<\_ACEOF
19511 #define HAVE_TANL 1
19512 _ACEOF
19513
19514 fi
19515
19516 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
19517 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
19518 if test "${ac_cv_lib_m_ctanf+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19520 else
19521 ac_check_lib_save_LIBS=$LIBS
19522 LIBS="-lm $LIBS"
19523 if test x$gcc_no_link = xyes; then
19524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19526 { (exit 1); exit 1; }; }
19527 fi
19528 cat >conftest.$ac_ext <<_ACEOF
19529 /* confdefs.h. */
19530 _ACEOF
19531 cat confdefs.h >>conftest.$ac_ext
19532 cat >>conftest.$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534
19535 /* Override any gcc2 internal prototype to avoid an error. */
19536 #ifdef __cplusplus
19537 extern "C"
19538 #endif
19539 /* We use char because int might match the return type of a gcc2
19540 builtin and then its argument prototype would still apply. */
19541 char ctanf ();
19542 int
19543 main ()
19544 {
19545 ctanf ();
19546 ;
19547 return 0;
19548 }
19549 _ACEOF
19550 rm -f conftest.$ac_objext conftest$ac_exeext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19552 (eval $ac_link) 2>conftest.er1
19553 ac_status=$?
19554 grep -v '^ *+' conftest.er1 >conftest.err
19555 rm -f conftest.er1
19556 cat conftest.err >&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } &&
19559 { ac_try='test -z "$ac_c_werror_flag"
19560 || test ! -s conftest.err'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19563 ac_status=$?
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try='test -s conftest$ac_exeext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19569 ac_status=$?
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_lib_m_ctanf=yes
19573 else
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19576
19577 ac_cv_lib_m_ctanf=no
19578 fi
19579 rm -f conftest.err conftest.$ac_objext \
19580 conftest$ac_exeext conftest.$ac_ext
19581 LIBS=$ac_check_lib_save_LIBS
19582 fi
19583 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
19584 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
19585 if test $ac_cv_lib_m_ctanf = yes; then
19586
19587 cat >>confdefs.h <<\_ACEOF
19588 #define HAVE_CTANF 1
19589 _ACEOF
19590
19591 fi
19592
19593 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19594 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19595 if test "${ac_cv_lib_m_ctan+set}" = set; then
19596 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 else
19598 ac_check_lib_save_LIBS=$LIBS
19599 LIBS="-lm $LIBS"
19600 if test x$gcc_no_link = xyes; then
19601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19603 { (exit 1); exit 1; }; }
19604 fi
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611
19612 /* Override any gcc2 internal prototype to avoid an error. */
19613 #ifdef __cplusplus
19614 extern "C"
19615 #endif
19616 /* We use char because int might match the return type of a gcc2
19617 builtin and then its argument prototype would still apply. */
19618 char ctan ();
19619 int
19620 main ()
19621 {
19622 ctan ();
19623 ;
19624 return 0;
19625 }
19626 _ACEOF
19627 rm -f conftest.$ac_objext conftest$ac_exeext
19628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19629 (eval $ac_link) 2>conftest.er1
19630 ac_status=$?
19631 grep -v '^ *+' conftest.er1 >conftest.err
19632 rm -f conftest.er1
19633 cat conftest.err >&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); } &&
19636 { ac_try='test -z "$ac_c_werror_flag"
19637 || test ! -s conftest.err'
19638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19639 (eval $ac_try) 2>&5
19640 ac_status=$?
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; } &&
19643 { ac_try='test -s conftest$ac_exeext'
19644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19645 (eval $ac_try) 2>&5
19646 ac_status=$?
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); }; }; then
19649 ac_cv_lib_m_ctan=yes
19650 else
19651 echo "$as_me: failed program was:" >&5
19652 sed 's/^/| /' conftest.$ac_ext >&5
19653
19654 ac_cv_lib_m_ctan=no
19655 fi
19656 rm -f conftest.err conftest.$ac_objext \
19657 conftest$ac_exeext conftest.$ac_ext
19658 LIBS=$ac_check_lib_save_LIBS
19659 fi
19660 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19661 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19662 if test $ac_cv_lib_m_ctan = yes; then
19663
19664 cat >>confdefs.h <<\_ACEOF
19665 #define HAVE_CTAN 1
19666 _ACEOF
19667
19668 fi
19669
19670 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19671 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19672 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 else
19675 ac_check_lib_save_LIBS=$LIBS
19676 LIBS="-lm $LIBS"
19677 if test x$gcc_no_link = xyes; then
19678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19680 { (exit 1); exit 1; }; }
19681 fi
19682 cat >conftest.$ac_ext <<_ACEOF
19683 /* confdefs.h. */
19684 _ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688
19689 /* Override any gcc2 internal prototype to avoid an error. */
19690 #ifdef __cplusplus
19691 extern "C"
19692 #endif
19693 /* We use char because int might match the return type of a gcc2
19694 builtin and then its argument prototype would still apply. */
19695 char ctanl ();
19696 int
19697 main ()
19698 {
19699 ctanl ();
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 rm -f conftest.$ac_objext conftest$ac_exeext
19705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19706 (eval $ac_link) 2>conftest.er1
19707 ac_status=$?
19708 grep -v '^ *+' conftest.er1 >conftest.err
19709 rm -f conftest.er1
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try='test -z "$ac_c_werror_flag"
19714 || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try='test -s conftest$ac_exeext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19723 ac_status=$?
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 ac_cv_lib_m_ctanl=yes
19727 else
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19730
19731 ac_cv_lib_m_ctanl=no
19732 fi
19733 rm -f conftest.err conftest.$ac_objext \
19734 conftest$ac_exeext conftest.$ac_ext
19735 LIBS=$ac_check_lib_save_LIBS
19736 fi
19737 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19738 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19739 if test $ac_cv_lib_m_ctanl = yes; then
19740
19741 cat >>confdefs.h <<\_ACEOF
19742 #define HAVE_CTANL 1
19743 _ACEOF
19744
19745 fi
19746
19747 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19748 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19749 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 else
19752 ac_check_lib_save_LIBS=$LIBS
19753 LIBS="-lm $LIBS"
19754 if test x$gcc_no_link = xyes; then
19755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19757 { (exit 1); exit 1; }; }
19758 fi
19759 cat >conftest.$ac_ext <<_ACEOF
19760 /* confdefs.h. */
19761 _ACEOF
19762 cat confdefs.h >>conftest.$ac_ext
19763 cat >>conftest.$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19765
19766 /* Override any gcc2 internal prototype to avoid an error. */
19767 #ifdef __cplusplus
19768 extern "C"
19769 #endif
19770 /* We use char because int might match the return type of a gcc2
19771 builtin and then its argument prototype would still apply. */
19772 char tanhf ();
19773 int
19774 main ()
19775 {
19776 tanhf ();
19777 ;
19778 return 0;
19779 }
19780 _ACEOF
19781 rm -f conftest.$ac_objext conftest$ac_exeext
19782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19783 (eval $ac_link) 2>conftest.er1
19784 ac_status=$?
19785 grep -v '^ *+' conftest.er1 >conftest.err
19786 rm -f conftest.er1
19787 cat conftest.err >&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); } &&
19790 { ac_try='test -z "$ac_c_werror_flag"
19791 || test ! -s conftest.err'
19792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19793 (eval $ac_try) 2>&5
19794 ac_status=$?
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; } &&
19797 { ac_try='test -s conftest$ac_exeext'
19798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799 (eval $ac_try) 2>&5
19800 ac_status=$?
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); }; }; then
19803 ac_cv_lib_m_tanhf=yes
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 ac_cv_lib_m_tanhf=no
19809 fi
19810 rm -f conftest.err conftest.$ac_objext \
19811 conftest$ac_exeext conftest.$ac_ext
19812 LIBS=$ac_check_lib_save_LIBS
19813 fi
19814 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19815 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19816 if test $ac_cv_lib_m_tanhf = yes; then
19817
19818 cat >>confdefs.h <<\_ACEOF
19819 #define HAVE_TANHF 1
19820 _ACEOF
19821
19822 fi
19823
19824 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19825 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19826 if test "${ac_cv_lib_m_tanh+set}" = set; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 else
19829 ac_check_lib_save_LIBS=$LIBS
19830 LIBS="-lm $LIBS"
19831 if test x$gcc_no_link = xyes; then
19832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19834 { (exit 1); exit 1; }; }
19835 fi
19836 cat >conftest.$ac_ext <<_ACEOF
19837 /* confdefs.h. */
19838 _ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842
19843 /* Override any gcc2 internal prototype to avoid an error. */
19844 #ifdef __cplusplus
19845 extern "C"
19846 #endif
19847 /* We use char because int might match the return type of a gcc2
19848 builtin and then its argument prototype would still apply. */
19849 char tanh ();
19850 int
19851 main ()
19852 {
19853 tanh ();
19854 ;
19855 return 0;
19856 }
19857 _ACEOF
19858 rm -f conftest.$ac_objext conftest$ac_exeext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19860 (eval $ac_link) 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try='test -z "$ac_c_werror_flag"
19868 || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19871 ac_status=$?
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest$ac_exeext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19877 ac_status=$?
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19880 ac_cv_lib_m_tanh=yes
19881 else
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19884
19885 ac_cv_lib_m_tanh=no
19886 fi
19887 rm -f conftest.err conftest.$ac_objext \
19888 conftest$ac_exeext conftest.$ac_ext
19889 LIBS=$ac_check_lib_save_LIBS
19890 fi
19891 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
19892 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
19893 if test $ac_cv_lib_m_tanh = yes; then
19894
19895 cat >>confdefs.h <<\_ACEOF
19896 #define HAVE_TANH 1
19897 _ACEOF
19898
19899 fi
19900
19901 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
19902 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
19903 if test "${ac_cv_lib_m_tanhl+set}" = set; then
19904 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 else
19906 ac_check_lib_save_LIBS=$LIBS
19907 LIBS="-lm $LIBS"
19908 if test x$gcc_no_link = xyes; then
19909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19911 { (exit 1); exit 1; }; }
19912 fi
19913 cat >conftest.$ac_ext <<_ACEOF
19914 /* confdefs.h. */
19915 _ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919
19920 /* Override any gcc2 internal prototype to avoid an error. */
19921 #ifdef __cplusplus
19922 extern "C"
19923 #endif
19924 /* We use char because int might match the return type of a gcc2
19925 builtin and then its argument prototype would still apply. */
19926 char tanhl ();
19927 int
19928 main ()
19929 {
19930 tanhl ();
19931 ;
19932 return 0;
19933 }
19934 _ACEOF
19935 rm -f conftest.$ac_objext conftest$ac_exeext
19936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19937 (eval $ac_link) 2>conftest.er1
19938 ac_status=$?
19939 grep -v '^ *+' conftest.er1 >conftest.err
19940 rm -f conftest.er1
19941 cat conftest.err >&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } &&
19944 { ac_try='test -z "$ac_c_werror_flag"
19945 || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try='test -s conftest$ac_exeext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19954 ac_status=$?
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19957 ac_cv_lib_m_tanhl=yes
19958 else
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19961
19962 ac_cv_lib_m_tanhl=no
19963 fi
19964 rm -f conftest.err conftest.$ac_objext \
19965 conftest$ac_exeext conftest.$ac_ext
19966 LIBS=$ac_check_lib_save_LIBS
19967 fi
19968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19969 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19970 if test $ac_cv_lib_m_tanhl = yes; then
19971
19972 cat >>confdefs.h <<\_ACEOF
19973 #define HAVE_TANHL 1
19974 _ACEOF
19975
19976 fi
19977
19978 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19979 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19980 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19981 echo $ECHO_N "(cached) $ECHO_C" >&6
19982 else
19983 ac_check_lib_save_LIBS=$LIBS
19984 LIBS="-lm $LIBS"
19985 if test x$gcc_no_link = xyes; then
19986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19988 { (exit 1); exit 1; }; }
19989 fi
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996
19997 /* Override any gcc2 internal prototype to avoid an error. */
19998 #ifdef __cplusplus
19999 extern "C"
20000 #endif
20001 /* We use char because int might match the return type of a gcc2
20002 builtin and then its argument prototype would still apply. */
20003 char ctanhf ();
20004 int
20005 main ()
20006 {
20007 ctanhf ();
20008 ;
20009 return 0;
20010 }
20011 _ACEOF
20012 rm -f conftest.$ac_objext conftest$ac_exeext
20013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20014 (eval $ac_link) 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } &&
20021 { ac_try='test -z "$ac_c_werror_flag"
20022 || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try='test -s conftest$ac_exeext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_cv_lib_m_ctanhf=yes
20035 else
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20038
20039 ac_cv_lib_m_ctanhf=no
20040 fi
20041 rm -f conftest.err conftest.$ac_objext \
20042 conftest$ac_exeext conftest.$ac_ext
20043 LIBS=$ac_check_lib_save_LIBS
20044 fi
20045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20046 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20047 if test $ac_cv_lib_m_ctanhf = yes; then
20048
20049 cat >>confdefs.h <<\_ACEOF
20050 #define HAVE_CTANHF 1
20051 _ACEOF
20052
20053 fi
20054
20055 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20056 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20057 if test "${ac_cv_lib_m_ctanh+set}" = set; then
20058 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 else
20060 ac_check_lib_save_LIBS=$LIBS
20061 LIBS="-lm $LIBS"
20062 if test x$gcc_no_link = xyes; then
20063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20065 { (exit 1); exit 1; }; }
20066 fi
20067 cat >conftest.$ac_ext <<_ACEOF
20068 /* confdefs.h. */
20069 _ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073
20074 /* Override any gcc2 internal prototype to avoid an error. */
20075 #ifdef __cplusplus
20076 extern "C"
20077 #endif
20078 /* We use char because int might match the return type of a gcc2
20079 builtin and then its argument prototype would still apply. */
20080 char ctanh ();
20081 int
20082 main ()
20083 {
20084 ctanh ();
20085 ;
20086 return 0;
20087 }
20088 _ACEOF
20089 rm -f conftest.$ac_objext conftest$ac_exeext
20090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20091 (eval $ac_link) 2>conftest.er1
20092 ac_status=$?
20093 grep -v '^ *+' conftest.er1 >conftest.err
20094 rm -f conftest.er1
20095 cat conftest.err >&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } &&
20098 { ac_try='test -z "$ac_c_werror_flag"
20099 || test ! -s conftest.err'
20100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101 (eval $ac_try) 2>&5
20102 ac_status=$?
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; } &&
20105 { ac_try='test -s conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20108 ac_status=$?
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 ac_cv_lib_m_ctanh=yes
20112 else
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20115
20116 ac_cv_lib_m_ctanh=no
20117 fi
20118 rm -f conftest.err conftest.$ac_objext \
20119 conftest$ac_exeext conftest.$ac_ext
20120 LIBS=$ac_check_lib_save_LIBS
20121 fi
20122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20123 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20124 if test $ac_cv_lib_m_ctanh = yes; then
20125
20126 cat >>confdefs.h <<\_ACEOF
20127 #define HAVE_CTANH 1
20128 _ACEOF
20129
20130 fi
20131
20132 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20133 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20134 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20135 echo $ECHO_N "(cached) $ECHO_C" >&6
20136 else
20137 ac_check_lib_save_LIBS=$LIBS
20138 LIBS="-lm $LIBS"
20139 if test x$gcc_no_link = xyes; then
20140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20142 { (exit 1); exit 1; }; }
20143 fi
20144 cat >conftest.$ac_ext <<_ACEOF
20145 /* confdefs.h. */
20146 _ACEOF
20147 cat confdefs.h >>conftest.$ac_ext
20148 cat >>conftest.$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150
20151 /* Override any gcc2 internal prototype to avoid an error. */
20152 #ifdef __cplusplus
20153 extern "C"
20154 #endif
20155 /* We use char because int might match the return type of a gcc2
20156 builtin and then its argument prototype would still apply. */
20157 char ctanhl ();
20158 int
20159 main ()
20160 {
20161 ctanhl ();
20162 ;
20163 return 0;
20164 }
20165 _ACEOF
20166 rm -f conftest.$ac_objext conftest$ac_exeext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168 (eval $ac_link) 2>conftest.er1
20169 ac_status=$?
20170 grep -v '^ *+' conftest.er1 >conftest.err
20171 rm -f conftest.er1
20172 cat conftest.err >&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try='test -z "$ac_c_werror_flag"
20176 || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20179 ac_status=$?
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try='test -s conftest$ac_exeext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 ac_cv_lib_m_ctanhl=yes
20189 else
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.$ac_ext >&5
20192
20193 ac_cv_lib_m_ctanhl=no
20194 fi
20195 rm -f conftest.err conftest.$ac_objext \
20196 conftest$ac_exeext conftest.$ac_ext
20197 LIBS=$ac_check_lib_save_LIBS
20198 fi
20199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20200 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20201 if test $ac_cv_lib_m_ctanhl = yes; then
20202
20203 cat >>confdefs.h <<\_ACEOF
20204 #define HAVE_CTANHL 1
20205 _ACEOF
20206
20207 fi
20208
20209 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20210 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20211 if test "${ac_cv_lib_m_truncf+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 else
20214 ac_check_lib_save_LIBS=$LIBS
20215 LIBS="-lm $LIBS"
20216 if test x$gcc_no_link = xyes; then
20217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20219 { (exit 1); exit 1; }; }
20220 fi
20221 cat >conftest.$ac_ext <<_ACEOF
20222 /* confdefs.h. */
20223 _ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227
20228 /* Override any gcc2 internal prototype to avoid an error. */
20229 #ifdef __cplusplus
20230 extern "C"
20231 #endif
20232 /* We use char because int might match the return type of a gcc2
20233 builtin and then its argument prototype would still apply. */
20234 char truncf ();
20235 int
20236 main ()
20237 {
20238 truncf ();
20239 ;
20240 return 0;
20241 }
20242 _ACEOF
20243 rm -f conftest.$ac_objext conftest$ac_exeext
20244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20245 (eval $ac_link) 2>conftest.er1
20246 ac_status=$?
20247 grep -v '^ *+' conftest.er1 >conftest.err
20248 rm -f conftest.er1
20249 cat conftest.err >&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } &&
20252 { ac_try='test -z "$ac_c_werror_flag"
20253 || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try='test -s conftest$ac_exeext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20262 ac_status=$?
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_cv_lib_m_truncf=yes
20266 else
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20269
20270 ac_cv_lib_m_truncf=no
20271 fi
20272 rm -f conftest.err conftest.$ac_objext \
20273 conftest$ac_exeext conftest.$ac_ext
20274 LIBS=$ac_check_lib_save_LIBS
20275 fi
20276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20277 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20278 if test $ac_cv_lib_m_truncf = yes; then
20279
20280 cat >>confdefs.h <<\_ACEOF
20281 #define HAVE_TRUNCF 1
20282 _ACEOF
20283
20284 fi
20285
20286 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20287 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20288 if test "${ac_cv_lib_m_trunc+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 else
20291 ac_check_lib_save_LIBS=$LIBS
20292 LIBS="-lm $LIBS"
20293 if test x$gcc_no_link = xyes; then
20294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20296 { (exit 1); exit 1; }; }
20297 fi
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304
20305 /* Override any gcc2 internal prototype to avoid an error. */
20306 #ifdef __cplusplus
20307 extern "C"
20308 #endif
20309 /* We use char because int might match the return type of a gcc2
20310 builtin and then its argument prototype would still apply. */
20311 char trunc ();
20312 int
20313 main ()
20314 {
20315 trunc ();
20316 ;
20317 return 0;
20318 }
20319 _ACEOF
20320 rm -f conftest.$ac_objext conftest$ac_exeext
20321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20322 (eval $ac_link) 2>conftest.er1
20323 ac_status=$?
20324 grep -v '^ *+' conftest.er1 >conftest.err
20325 rm -f conftest.er1
20326 cat conftest.err >&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } &&
20329 { ac_try='test -z "$ac_c_werror_flag"
20330 || test ! -s conftest.err'
20331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20332 (eval $ac_try) 2>&5
20333 ac_status=$?
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); }; } &&
20336 { ac_try='test -s conftest$ac_exeext'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20339 ac_status=$?
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; }; then
20342 ac_cv_lib_m_trunc=yes
20343 else
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20346
20347 ac_cv_lib_m_trunc=no
20348 fi
20349 rm -f conftest.err conftest.$ac_objext \
20350 conftest$ac_exeext conftest.$ac_ext
20351 LIBS=$ac_check_lib_save_LIBS
20352 fi
20353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20354 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20355 if test $ac_cv_lib_m_trunc = yes; then
20356
20357 cat >>confdefs.h <<\_ACEOF
20358 #define HAVE_TRUNC 1
20359 _ACEOF
20360
20361 fi
20362
20363 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20364 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20365 if test "${ac_cv_lib_m_truncl+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 else
20368 ac_check_lib_save_LIBS=$LIBS
20369 LIBS="-lm $LIBS"
20370 if test x$gcc_no_link = xyes; then
20371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20373 { (exit 1); exit 1; }; }
20374 fi
20375 cat >conftest.$ac_ext <<_ACEOF
20376 /* confdefs.h. */
20377 _ACEOF
20378 cat confdefs.h >>conftest.$ac_ext
20379 cat >>conftest.$ac_ext <<_ACEOF
20380 /* end confdefs.h. */
20381
20382 /* Override any gcc2 internal prototype to avoid an error. */
20383 #ifdef __cplusplus
20384 extern "C"
20385 #endif
20386 /* We use char because int might match the return type of a gcc2
20387 builtin and then its argument prototype would still apply. */
20388 char truncl ();
20389 int
20390 main ()
20391 {
20392 truncl ();
20393 ;
20394 return 0;
20395 }
20396 _ACEOF
20397 rm -f conftest.$ac_objext conftest$ac_exeext
20398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20399 (eval $ac_link) 2>conftest.er1
20400 ac_status=$?
20401 grep -v '^ *+' conftest.er1 >conftest.err
20402 rm -f conftest.er1
20403 cat conftest.err >&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } &&
20406 { ac_try='test -z "$ac_c_werror_flag"
20407 || test ! -s conftest.err'
20408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20409 (eval $ac_try) 2>&5
20410 ac_status=$?
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); }; } &&
20413 { ac_try='test -s conftest$ac_exeext'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; }; then
20419 ac_cv_lib_m_truncl=yes
20420 else
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.$ac_ext >&5
20423
20424 ac_cv_lib_m_truncl=no
20425 fi
20426 rm -f conftest.err conftest.$ac_objext \
20427 conftest$ac_exeext conftest.$ac_ext
20428 LIBS=$ac_check_lib_save_LIBS
20429 fi
20430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20431 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20432 if test $ac_cv_lib_m_truncl = yes; then
20433
20434 cat >>confdefs.h <<\_ACEOF
20435 #define HAVE_TRUNCL 1
20436 _ACEOF
20437
20438 fi
20439
20440 echo "$as_me:$LINENO: checking for erff in -lm" >&5
20441 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20442 if test "${ac_cv_lib_m_erff+set}" = set; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20444 else
20445 ac_check_lib_save_LIBS=$LIBS
20446 LIBS="-lm $LIBS"
20447 if test x$gcc_no_link = xyes; then
20448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20450 { (exit 1); exit 1; }; }
20451 fi
20452 cat >conftest.$ac_ext <<_ACEOF
20453 /* confdefs.h. */
20454 _ACEOF
20455 cat confdefs.h >>conftest.$ac_ext
20456 cat >>conftest.$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458
20459 /* Override any gcc2 internal prototype to avoid an error. */
20460 #ifdef __cplusplus
20461 extern "C"
20462 #endif
20463 /* We use char because int might match the return type of a gcc2
20464 builtin and then its argument prototype would still apply. */
20465 char erff ();
20466 int
20467 main ()
20468 {
20469 erff ();
20470 ;
20471 return 0;
20472 }
20473 _ACEOF
20474 rm -f conftest.$ac_objext conftest$ac_exeext
20475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20476 (eval $ac_link) 2>conftest.er1
20477 ac_status=$?
20478 grep -v '^ *+' conftest.er1 >conftest.err
20479 rm -f conftest.er1
20480 cat conftest.err >&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try='test -z "$ac_c_werror_flag"
20484 || test ! -s conftest.err'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try='test -s conftest$ac_exeext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 ac_cv_lib_m_erff=yes
20497 else
20498 echo "$as_me: failed program was:" >&5
20499 sed 's/^/| /' conftest.$ac_ext >&5
20500
20501 ac_cv_lib_m_erff=no
20502 fi
20503 rm -f conftest.err conftest.$ac_objext \
20504 conftest$ac_exeext conftest.$ac_ext
20505 LIBS=$ac_check_lib_save_LIBS
20506 fi
20507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
20508 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
20509 if test $ac_cv_lib_m_erff = yes; then
20510
20511 cat >>confdefs.h <<\_ACEOF
20512 #define HAVE_ERFF 1
20513 _ACEOF
20514
20515 fi
20516
20517 echo "$as_me:$LINENO: checking for erf in -lm" >&5
20518 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
20519 if test "${ac_cv_lib_m_erf+set}" = set; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 else
20522 ac_check_lib_save_LIBS=$LIBS
20523 LIBS="-lm $LIBS"
20524 if test x$gcc_no_link = xyes; then
20525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20527 { (exit 1); exit 1; }; }
20528 fi
20529 cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h. */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535
20536 /* Override any gcc2 internal prototype to avoid an error. */
20537 #ifdef __cplusplus
20538 extern "C"
20539 #endif
20540 /* We use char because int might match the return type of a gcc2
20541 builtin and then its argument prototype would still apply. */
20542 char erf ();
20543 int
20544 main ()
20545 {
20546 erf ();
20547 ;
20548 return 0;
20549 }
20550 _ACEOF
20551 rm -f conftest.$ac_objext conftest$ac_exeext
20552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20553 (eval $ac_link) 2>conftest.er1
20554 ac_status=$?
20555 grep -v '^ *+' conftest.er1 >conftest.err
20556 rm -f conftest.er1
20557 cat conftest.err >&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } &&
20560 { ac_try='test -z "$ac_c_werror_flag"
20561 || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20564 ac_status=$?
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try='test -s conftest$ac_exeext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20570 ac_status=$?
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_cv_lib_m_erf=yes
20574 else
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 ac_cv_lib_m_erf=no
20579 fi
20580 rm -f conftest.err conftest.$ac_objext \
20581 conftest$ac_exeext conftest.$ac_ext
20582 LIBS=$ac_check_lib_save_LIBS
20583 fi
20584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
20585 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
20586 if test $ac_cv_lib_m_erf = yes; then
20587
20588 cat >>confdefs.h <<\_ACEOF
20589 #define HAVE_ERF 1
20590 _ACEOF
20591
20592 fi
20593
20594 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20595 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20596 if test "${ac_cv_lib_m_erfl+set}" = set; then
20597 echo $ECHO_N "(cached) $ECHO_C" >&6
20598 else
20599 ac_check_lib_save_LIBS=$LIBS
20600 LIBS="-lm $LIBS"
20601 if test x$gcc_no_link = xyes; then
20602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20604 { (exit 1); exit 1; }; }
20605 fi
20606 cat >conftest.$ac_ext <<_ACEOF
20607 /* confdefs.h. */
20608 _ACEOF
20609 cat confdefs.h >>conftest.$ac_ext
20610 cat >>conftest.$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612
20613 /* Override any gcc2 internal prototype to avoid an error. */
20614 #ifdef __cplusplus
20615 extern "C"
20616 #endif
20617 /* We use char because int might match the return type of a gcc2
20618 builtin and then its argument prototype would still apply. */
20619 char erfl ();
20620 int
20621 main ()
20622 {
20623 erfl ();
20624 ;
20625 return 0;
20626 }
20627 _ACEOF
20628 rm -f conftest.$ac_objext conftest$ac_exeext
20629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20630 (eval $ac_link) 2>conftest.er1
20631 ac_status=$?
20632 grep -v '^ *+' conftest.er1 >conftest.err
20633 rm -f conftest.er1
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } &&
20637 { ac_try='test -z "$ac_c_werror_flag"
20638 || test ! -s conftest.err'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20641 ac_status=$?
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; } &&
20644 { ac_try='test -s conftest$ac_exeext'
20645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20646 (eval $ac_try) 2>&5
20647 ac_status=$?
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; }; then
20650 ac_cv_lib_m_erfl=yes
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 ac_cv_lib_m_erfl=no
20656 fi
20657 rm -f conftest.err conftest.$ac_objext \
20658 conftest$ac_exeext conftest.$ac_ext
20659 LIBS=$ac_check_lib_save_LIBS
20660 fi
20661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20662 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20663 if test $ac_cv_lib_m_erfl = yes; then
20664
20665 cat >>confdefs.h <<\_ACEOF
20666 #define HAVE_ERFL 1
20667 _ACEOF
20668
20669 fi
20670
20671 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20672 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20673 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20674 echo $ECHO_N "(cached) $ECHO_C" >&6
20675 else
20676 ac_check_lib_save_LIBS=$LIBS
20677 LIBS="-lm $LIBS"
20678 if test x$gcc_no_link = xyes; then
20679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20681 { (exit 1); exit 1; }; }
20682 fi
20683 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */
20685 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689
20690 /* Override any gcc2 internal prototype to avoid an error. */
20691 #ifdef __cplusplus
20692 extern "C"
20693 #endif
20694 /* We use char because int might match the return type of a gcc2
20695 builtin and then its argument prototype would still apply. */
20696 char erfcf ();
20697 int
20698 main ()
20699 {
20700 erfcf ();
20701 ;
20702 return 0;
20703 }
20704 _ACEOF
20705 rm -f conftest.$ac_objext conftest$ac_exeext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20707 (eval $ac_link) 2>conftest.er1
20708 ac_status=$?
20709 grep -v '^ *+' conftest.er1 >conftest.err
20710 rm -f conftest.er1
20711 cat conftest.err >&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try='test -z "$ac_c_werror_flag"
20715 || test ! -s conftest.err'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; } &&
20721 { ac_try='test -s conftest$ac_exeext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20724 ac_status=$?
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 ac_cv_lib_m_erfcf=yes
20728 else
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.$ac_ext >&5
20731
20732 ac_cv_lib_m_erfcf=no
20733 fi
20734 rm -f conftest.err conftest.$ac_objext \
20735 conftest$ac_exeext conftest.$ac_ext
20736 LIBS=$ac_check_lib_save_LIBS
20737 fi
20738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20739 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20740 if test $ac_cv_lib_m_erfcf = yes; then
20741
20742 cat >>confdefs.h <<\_ACEOF
20743 #define HAVE_ERFCF 1
20744 _ACEOF
20745
20746 fi
20747
20748 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20749 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20750 if test "${ac_cv_lib_m_erfc+set}" = set; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 else
20753 ac_check_lib_save_LIBS=$LIBS
20754 LIBS="-lm $LIBS"
20755 if test x$gcc_no_link = xyes; then
20756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20758 { (exit 1); exit 1; }; }
20759 fi
20760 cat >conftest.$ac_ext <<_ACEOF
20761 /* confdefs.h. */
20762 _ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766
20767 /* Override any gcc2 internal prototype to avoid an error. */
20768 #ifdef __cplusplus
20769 extern "C"
20770 #endif
20771 /* We use char because int might match the return type of a gcc2
20772 builtin and then its argument prototype would still apply. */
20773 char erfc ();
20774 int
20775 main ()
20776 {
20777 erfc ();
20778 ;
20779 return 0;
20780 }
20781 _ACEOF
20782 rm -f conftest.$ac_objext conftest$ac_exeext
20783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20784 (eval $ac_link) 2>conftest.er1
20785 ac_status=$?
20786 grep -v '^ *+' conftest.er1 >conftest.err
20787 rm -f conftest.er1
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } &&
20791 { ac_try='test -z "$ac_c_werror_flag"
20792 || test ! -s conftest.err'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; } &&
20798 { ac_try='test -s conftest$ac_exeext'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; }; then
20804 ac_cv_lib_m_erfc=yes
20805 else
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.$ac_ext >&5
20808
20809 ac_cv_lib_m_erfc=no
20810 fi
20811 rm -f conftest.err conftest.$ac_objext \
20812 conftest$ac_exeext conftest.$ac_ext
20813 LIBS=$ac_check_lib_save_LIBS
20814 fi
20815 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20816 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20817 if test $ac_cv_lib_m_erfc = yes; then
20818
20819 cat >>confdefs.h <<\_ACEOF
20820 #define HAVE_ERFC 1
20821 _ACEOF
20822
20823 fi
20824
20825 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20826 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20827 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20828 echo $ECHO_N "(cached) $ECHO_C" >&6
20829 else
20830 ac_check_lib_save_LIBS=$LIBS
20831 LIBS="-lm $LIBS"
20832 if test x$gcc_no_link = xyes; then
20833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20835 { (exit 1); exit 1; }; }
20836 fi
20837 cat >conftest.$ac_ext <<_ACEOF
20838 /* confdefs.h. */
20839 _ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843
20844 /* Override any gcc2 internal prototype to avoid an error. */
20845 #ifdef __cplusplus
20846 extern "C"
20847 #endif
20848 /* We use char because int might match the return type of a gcc2
20849 builtin and then its argument prototype would still apply. */
20850 char erfcl ();
20851 int
20852 main ()
20853 {
20854 erfcl ();
20855 ;
20856 return 0;
20857 }
20858 _ACEOF
20859 rm -f conftest.$ac_objext conftest$ac_exeext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20861 (eval $ac_link) 2>conftest.er1
20862 ac_status=$?
20863 grep -v '^ *+' conftest.er1 >conftest.err
20864 rm -f conftest.er1
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try='test -z "$ac_c_werror_flag"
20869 || test ! -s conftest.err'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20872 ac_status=$?
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; } &&
20875 { ac_try='test -s conftest$ac_exeext'
20876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20877 (eval $ac_try) 2>&5
20878 ac_status=$?
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); }; }; then
20881 ac_cv_lib_m_erfcl=yes
20882 else
20883 echo "$as_me: failed program was:" >&5
20884 sed 's/^/| /' conftest.$ac_ext >&5
20885
20886 ac_cv_lib_m_erfcl=no
20887 fi
20888 rm -f conftest.err conftest.$ac_objext \
20889 conftest$ac_exeext conftest.$ac_ext
20890 LIBS=$ac_check_lib_save_LIBS
20891 fi
20892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
20893 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
20894 if test $ac_cv_lib_m_erfcl = yes; then
20895
20896 cat >>confdefs.h <<\_ACEOF
20897 #define HAVE_ERFCL 1
20898 _ACEOF
20899
20900 fi
20901
20902 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
20903 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
20904 if test "${ac_cv_lib_m_j0f+set}" = set; then
20905 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 else
20907 ac_check_lib_save_LIBS=$LIBS
20908 LIBS="-lm $LIBS"
20909 if test x$gcc_no_link = xyes; then
20910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20912 { (exit 1); exit 1; }; }
20913 fi
20914 cat >conftest.$ac_ext <<_ACEOF
20915 /* confdefs.h. */
20916 _ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920
20921 /* Override any gcc2 internal prototype to avoid an error. */
20922 #ifdef __cplusplus
20923 extern "C"
20924 #endif
20925 /* We use char because int might match the return type of a gcc2
20926 builtin and then its argument prototype would still apply. */
20927 char j0f ();
20928 int
20929 main ()
20930 {
20931 j0f ();
20932 ;
20933 return 0;
20934 }
20935 _ACEOF
20936 rm -f conftest.$ac_objext conftest$ac_exeext
20937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20938 (eval $ac_link) 2>conftest.er1
20939 ac_status=$?
20940 grep -v '^ *+' conftest.er1 >conftest.err
20941 rm -f conftest.er1
20942 cat conftest.err >&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try='test -z "$ac_c_werror_flag"
20946 || test ! -s conftest.err'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; } &&
20952 { ac_try='test -s conftest$ac_exeext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20955 ac_status=$?
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_cv_lib_m_j0f=yes
20959 else
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20962
20963 ac_cv_lib_m_j0f=no
20964 fi
20965 rm -f conftest.err conftest.$ac_objext \
20966 conftest$ac_exeext conftest.$ac_ext
20967 LIBS=$ac_check_lib_save_LIBS
20968 fi
20969 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20970 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20971 if test $ac_cv_lib_m_j0f = yes; then
20972
20973 cat >>confdefs.h <<\_ACEOF
20974 #define HAVE_J0F 1
20975 _ACEOF
20976
20977 fi
20978
20979 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20980 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20981 if test "${ac_cv_lib_m_j0+set}" = set; then
20982 echo $ECHO_N "(cached) $ECHO_C" >&6
20983 else
20984 ac_check_lib_save_LIBS=$LIBS
20985 LIBS="-lm $LIBS"
20986 if test x$gcc_no_link = xyes; then
20987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20989 { (exit 1); exit 1; }; }
20990 fi
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997
20998 /* Override any gcc2 internal prototype to avoid an error. */
20999 #ifdef __cplusplus
21000 extern "C"
21001 #endif
21002 /* We use char because int might match the return type of a gcc2
21003 builtin and then its argument prototype would still apply. */
21004 char j0 ();
21005 int
21006 main ()
21007 {
21008 j0 ();
21009 ;
21010 return 0;
21011 }
21012 _ACEOF
21013 rm -f conftest.$ac_objext conftest$ac_exeext
21014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21015 (eval $ac_link) 2>conftest.er1
21016 ac_status=$?
21017 grep -v '^ *+' conftest.er1 >conftest.err
21018 rm -f conftest.er1
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } &&
21022 { ac_try='test -z "$ac_c_werror_flag"
21023 || test ! -s conftest.err'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; } &&
21029 { ac_try='test -s conftest$ac_exeext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21032 ac_status=$?
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_cv_lib_m_j0=yes
21036 else
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ac_cv_lib_m_j0=no
21041 fi
21042 rm -f conftest.err conftest.$ac_objext \
21043 conftest$ac_exeext conftest.$ac_ext
21044 LIBS=$ac_check_lib_save_LIBS
21045 fi
21046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21047 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21048 if test $ac_cv_lib_m_j0 = yes; then
21049
21050 cat >>confdefs.h <<\_ACEOF
21051 #define HAVE_J0 1
21052 _ACEOF
21053
21054 fi
21055
21056 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21057 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21058 if test "${ac_cv_lib_m_j0l+set}" = set; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 else
21061 ac_check_lib_save_LIBS=$LIBS
21062 LIBS="-lm $LIBS"
21063 if test x$gcc_no_link = xyes; then
21064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21066 { (exit 1); exit 1; }; }
21067 fi
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074
21075 /* Override any gcc2 internal prototype to avoid an error. */
21076 #ifdef __cplusplus
21077 extern "C"
21078 #endif
21079 /* We use char because int might match the return type of a gcc2
21080 builtin and then its argument prototype would still apply. */
21081 char j0l ();
21082 int
21083 main ()
21084 {
21085 j0l ();
21086 ;
21087 return 0;
21088 }
21089 _ACEOF
21090 rm -f conftest.$ac_objext conftest$ac_exeext
21091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21092 (eval $ac_link) 2>conftest.er1
21093 ac_status=$?
21094 grep -v '^ *+' conftest.er1 >conftest.err
21095 rm -f conftest.er1
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try='test -z "$ac_c_werror_flag"
21100 || test ! -s conftest.err'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21103 ac_status=$?
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; } &&
21106 { ac_try='test -s conftest$ac_exeext'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21109 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 ac_cv_lib_m_j0l=yes
21113 else
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.$ac_ext >&5
21116
21117 ac_cv_lib_m_j0l=no
21118 fi
21119 rm -f conftest.err conftest.$ac_objext \
21120 conftest$ac_exeext conftest.$ac_ext
21121 LIBS=$ac_check_lib_save_LIBS
21122 fi
21123 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21124 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21125 if test $ac_cv_lib_m_j0l = yes; then
21126
21127 cat >>confdefs.h <<\_ACEOF
21128 #define HAVE_J0L 1
21129 _ACEOF
21130
21131 fi
21132
21133 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21134 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21135 if test "${ac_cv_lib_m_j1f+set}" = set; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 else
21138 ac_check_lib_save_LIBS=$LIBS
21139 LIBS="-lm $LIBS"
21140 if test x$gcc_no_link = xyes; then
21141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21143 { (exit 1); exit 1; }; }
21144 fi
21145 cat >conftest.$ac_ext <<_ACEOF
21146 /* confdefs.h. */
21147 _ACEOF
21148 cat confdefs.h >>conftest.$ac_ext
21149 cat >>conftest.$ac_ext <<_ACEOF
21150 /* end confdefs.h. */
21151
21152 /* Override any gcc2 internal prototype to avoid an error. */
21153 #ifdef __cplusplus
21154 extern "C"
21155 #endif
21156 /* We use char because int might match the return type of a gcc2
21157 builtin and then its argument prototype would still apply. */
21158 char j1f ();
21159 int
21160 main ()
21161 {
21162 j1f ();
21163 ;
21164 return 0;
21165 }
21166 _ACEOF
21167 rm -f conftest.$ac_objext conftest$ac_exeext
21168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21169 (eval $ac_link) 2>conftest.er1
21170 ac_status=$?
21171 grep -v '^ *+' conftest.er1 >conftest.err
21172 rm -f conftest.er1
21173 cat conftest.err >&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); } &&
21176 { ac_try='test -z "$ac_c_werror_flag"
21177 || test ! -s conftest.err'
21178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21179 (eval $ac_try) 2>&5
21180 ac_status=$?
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); }; } &&
21183 { ac_try='test -s conftest$ac_exeext'
21184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185 (eval $ac_try) 2>&5
21186 ac_status=$?
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; }; then
21189 ac_cv_lib_m_j1f=yes
21190 else
21191 echo "$as_me: failed program was:" >&5
21192 sed 's/^/| /' conftest.$ac_ext >&5
21193
21194 ac_cv_lib_m_j1f=no
21195 fi
21196 rm -f conftest.err conftest.$ac_objext \
21197 conftest$ac_exeext conftest.$ac_ext
21198 LIBS=$ac_check_lib_save_LIBS
21199 fi
21200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21201 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21202 if test $ac_cv_lib_m_j1f = yes; then
21203
21204 cat >>confdefs.h <<\_ACEOF
21205 #define HAVE_J1F 1
21206 _ACEOF
21207
21208 fi
21209
21210 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21211 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21212 if test "${ac_cv_lib_m_j1+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 else
21215 ac_check_lib_save_LIBS=$LIBS
21216 LIBS="-lm $LIBS"
21217 if test x$gcc_no_link = xyes; then
21218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21220 { (exit 1); exit 1; }; }
21221 fi
21222 cat >conftest.$ac_ext <<_ACEOF
21223 /* confdefs.h. */
21224 _ACEOF
21225 cat confdefs.h >>conftest.$ac_ext
21226 cat >>conftest.$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228
21229 /* Override any gcc2 internal prototype to avoid an error. */
21230 #ifdef __cplusplus
21231 extern "C"
21232 #endif
21233 /* We use char because int might match the return type of a gcc2
21234 builtin and then its argument prototype would still apply. */
21235 char j1 ();
21236 int
21237 main ()
21238 {
21239 j1 ();
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 rm -f conftest.$ac_objext conftest$ac_exeext
21245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21246 (eval $ac_link) 2>conftest.er1
21247 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } &&
21253 { ac_try='test -z "$ac_c_werror_flag"
21254 || test ! -s conftest.err'
21255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21256 (eval $ac_try) 2>&5
21257 ac_status=$?
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; } &&
21260 { ac_try='test -s conftest$ac_exeext'
21261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262 (eval $ac_try) 2>&5
21263 ac_status=$?
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); }; }; then
21266 ac_cv_lib_m_j1=yes
21267 else
21268 echo "$as_me: failed program was:" >&5
21269 sed 's/^/| /' conftest.$ac_ext >&5
21270
21271 ac_cv_lib_m_j1=no
21272 fi
21273 rm -f conftest.err conftest.$ac_objext \
21274 conftest$ac_exeext conftest.$ac_ext
21275 LIBS=$ac_check_lib_save_LIBS
21276 fi
21277 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21278 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21279 if test $ac_cv_lib_m_j1 = yes; then
21280
21281 cat >>confdefs.h <<\_ACEOF
21282 #define HAVE_J1 1
21283 _ACEOF
21284
21285 fi
21286
21287 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21288 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21289 if test "${ac_cv_lib_m_j1l+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21291 else
21292 ac_check_lib_save_LIBS=$LIBS
21293 LIBS="-lm $LIBS"
21294 if test x$gcc_no_link = xyes; then
21295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21297 { (exit 1); exit 1; }; }
21298 fi
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305
21306 /* Override any gcc2 internal prototype to avoid an error. */
21307 #ifdef __cplusplus
21308 extern "C"
21309 #endif
21310 /* We use char because int might match the return type of a gcc2
21311 builtin and then its argument prototype would still apply. */
21312 char j1l ();
21313 int
21314 main ()
21315 {
21316 j1l ();
21317 ;
21318 return 0;
21319 }
21320 _ACEOF
21321 rm -f conftest.$ac_objext conftest$ac_exeext
21322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21323 (eval $ac_link) 2>conftest.er1
21324 ac_status=$?
21325 grep -v '^ *+' conftest.er1 >conftest.err
21326 rm -f conftest.er1
21327 cat conftest.err >&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } &&
21330 { ac_try='test -z "$ac_c_werror_flag"
21331 || test ! -s conftest.err'
21332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21333 (eval $ac_try) 2>&5
21334 ac_status=$?
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); }; } &&
21337 { ac_try='test -s conftest$ac_exeext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 ac_cv_lib_m_j1l=yes
21344 else
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21347
21348 ac_cv_lib_m_j1l=no
21349 fi
21350 rm -f conftest.err conftest.$ac_objext \
21351 conftest$ac_exeext conftest.$ac_ext
21352 LIBS=$ac_check_lib_save_LIBS
21353 fi
21354 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21355 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21356 if test $ac_cv_lib_m_j1l = yes; then
21357
21358 cat >>confdefs.h <<\_ACEOF
21359 #define HAVE_J1L 1
21360 _ACEOF
21361
21362 fi
21363
21364 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21365 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21366 if test "${ac_cv_lib_m_jnf+set}" = set; then
21367 echo $ECHO_N "(cached) $ECHO_C" >&6
21368 else
21369 ac_check_lib_save_LIBS=$LIBS
21370 LIBS="-lm $LIBS"
21371 if test x$gcc_no_link = xyes; then
21372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21374 { (exit 1); exit 1; }; }
21375 fi
21376 cat >conftest.$ac_ext <<_ACEOF
21377 /* confdefs.h. */
21378 _ACEOF
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21382
21383 /* Override any gcc2 internal prototype to avoid an error. */
21384 #ifdef __cplusplus
21385 extern "C"
21386 #endif
21387 /* We use char because int might match the return type of a gcc2
21388 builtin and then its argument prototype would still apply. */
21389 char jnf ();
21390 int
21391 main ()
21392 {
21393 jnf ();
21394 ;
21395 return 0;
21396 }
21397 _ACEOF
21398 rm -f conftest.$ac_objext conftest$ac_exeext
21399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21400 (eval $ac_link) 2>conftest.er1
21401 ac_status=$?
21402 grep -v '^ *+' conftest.er1 >conftest.err
21403 rm -f conftest.er1
21404 cat conftest.err >&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } &&
21407 { ac_try='test -z "$ac_c_werror_flag"
21408 || test ! -s conftest.err'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21411 ac_status=$?
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; } &&
21414 { ac_try='test -s conftest$ac_exeext'
21415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 (eval $ac_try) 2>&5
21417 ac_status=$?
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; }; then
21420 ac_cv_lib_m_jnf=yes
21421 else
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.$ac_ext >&5
21424
21425 ac_cv_lib_m_jnf=no
21426 fi
21427 rm -f conftest.err conftest.$ac_objext \
21428 conftest$ac_exeext conftest.$ac_ext
21429 LIBS=$ac_check_lib_save_LIBS
21430 fi
21431 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21432 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21433 if test $ac_cv_lib_m_jnf = yes; then
21434
21435 cat >>confdefs.h <<\_ACEOF
21436 #define HAVE_JNF 1
21437 _ACEOF
21438
21439 fi
21440
21441 echo "$as_me:$LINENO: checking for jn in -lm" >&5
21442 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21443 if test "${ac_cv_lib_m_jn+set}" = set; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 else
21446 ac_check_lib_save_LIBS=$LIBS
21447 LIBS="-lm $LIBS"
21448 if test x$gcc_no_link = xyes; then
21449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21451 { (exit 1); exit 1; }; }
21452 fi
21453 cat >conftest.$ac_ext <<_ACEOF
21454 /* confdefs.h. */
21455 _ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459
21460 /* Override any gcc2 internal prototype to avoid an error. */
21461 #ifdef __cplusplus
21462 extern "C"
21463 #endif
21464 /* We use char because int might match the return type of a gcc2
21465 builtin and then its argument prototype would still apply. */
21466 char jn ();
21467 int
21468 main ()
21469 {
21470 jn ();
21471 ;
21472 return 0;
21473 }
21474 _ACEOF
21475 rm -f conftest.$ac_objext conftest$ac_exeext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21477 (eval $ac_link) 2>conftest.er1
21478 ac_status=$?
21479 grep -v '^ *+' conftest.er1 >conftest.err
21480 rm -f conftest.er1
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } &&
21484 { ac_try='test -z "$ac_c_werror_flag"
21485 || test ! -s conftest.err'
21486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21487 (eval $ac_try) 2>&5
21488 ac_status=$?
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); }; } &&
21491 { ac_try='test -s conftest$ac_exeext'
21492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21493 (eval $ac_try) 2>&5
21494 ac_status=$?
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); }; }; then
21497 ac_cv_lib_m_jn=yes
21498 else
21499 echo "$as_me: failed program was:" >&5
21500 sed 's/^/| /' conftest.$ac_ext >&5
21501
21502 ac_cv_lib_m_jn=no
21503 fi
21504 rm -f conftest.err conftest.$ac_objext \
21505 conftest$ac_exeext conftest.$ac_ext
21506 LIBS=$ac_check_lib_save_LIBS
21507 fi
21508 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
21509 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
21510 if test $ac_cv_lib_m_jn = yes; then
21511
21512 cat >>confdefs.h <<\_ACEOF
21513 #define HAVE_JN 1
21514 _ACEOF
21515
21516 fi
21517
21518 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
21519 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
21520 if test "${ac_cv_lib_m_jnl+set}" = set; then
21521 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 else
21523 ac_check_lib_save_LIBS=$LIBS
21524 LIBS="-lm $LIBS"
21525 if test x$gcc_no_link = xyes; then
21526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21528 { (exit 1); exit 1; }; }
21529 fi
21530 cat >conftest.$ac_ext <<_ACEOF
21531 /* confdefs.h. */
21532 _ACEOF
21533 cat confdefs.h >>conftest.$ac_ext
21534 cat >>conftest.$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21536
21537 /* Override any gcc2 internal prototype to avoid an error. */
21538 #ifdef __cplusplus
21539 extern "C"
21540 #endif
21541 /* We use char because int might match the return type of a gcc2
21542 builtin and then its argument prototype would still apply. */
21543 char jnl ();
21544 int
21545 main ()
21546 {
21547 jnl ();
21548 ;
21549 return 0;
21550 }
21551 _ACEOF
21552 rm -f conftest.$ac_objext conftest$ac_exeext
21553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21554 (eval $ac_link) 2>conftest.er1
21555 ac_status=$?
21556 grep -v '^ *+' conftest.er1 >conftest.err
21557 rm -f conftest.er1
21558 cat conftest.err >&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); } &&
21561 { ac_try='test -z "$ac_c_werror_flag"
21562 || test ! -s conftest.err'
21563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21564 (eval $ac_try) 2>&5
21565 ac_status=$?
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); }; } &&
21568 { ac_try='test -s conftest$ac_exeext'
21569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570 (eval $ac_try) 2>&5
21571 ac_status=$?
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); }; }; then
21574 ac_cv_lib_m_jnl=yes
21575 else
21576 echo "$as_me: failed program was:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21578
21579 ac_cv_lib_m_jnl=no
21580 fi
21581 rm -f conftest.err conftest.$ac_objext \
21582 conftest$ac_exeext conftest.$ac_ext
21583 LIBS=$ac_check_lib_save_LIBS
21584 fi
21585 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
21586 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21587 if test $ac_cv_lib_m_jnl = yes; then
21588
21589 cat >>confdefs.h <<\_ACEOF
21590 #define HAVE_JNL 1
21591 _ACEOF
21592
21593 fi
21594
21595 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21596 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21597 if test "${ac_cv_lib_m_y0f+set}" = set; then
21598 echo $ECHO_N "(cached) $ECHO_C" >&6
21599 else
21600 ac_check_lib_save_LIBS=$LIBS
21601 LIBS="-lm $LIBS"
21602 if test x$gcc_no_link = xyes; then
21603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21605 { (exit 1); exit 1; }; }
21606 fi
21607 cat >conftest.$ac_ext <<_ACEOF
21608 /* confdefs.h. */
21609 _ACEOF
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21613
21614 /* Override any gcc2 internal prototype to avoid an error. */
21615 #ifdef __cplusplus
21616 extern "C"
21617 #endif
21618 /* We use char because int might match the return type of a gcc2
21619 builtin and then its argument prototype would still apply. */
21620 char y0f ();
21621 int
21622 main ()
21623 {
21624 y0f ();
21625 ;
21626 return 0;
21627 }
21628 _ACEOF
21629 rm -f conftest.$ac_objext conftest$ac_exeext
21630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21631 (eval $ac_link) 2>conftest.er1
21632 ac_status=$?
21633 grep -v '^ *+' conftest.er1 >conftest.err
21634 rm -f conftest.er1
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try='test -z "$ac_c_werror_flag"
21639 || test ! -s conftest.err'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; } &&
21645 { ac_try='test -s conftest$ac_exeext'
21646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21647 (eval $ac_try) 2>&5
21648 ac_status=$?
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); }; }; then
21651 ac_cv_lib_m_y0f=yes
21652 else
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21655
21656 ac_cv_lib_m_y0f=no
21657 fi
21658 rm -f conftest.err conftest.$ac_objext \
21659 conftest$ac_exeext conftest.$ac_ext
21660 LIBS=$ac_check_lib_save_LIBS
21661 fi
21662 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21663 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21664 if test $ac_cv_lib_m_y0f = yes; then
21665
21666 cat >>confdefs.h <<\_ACEOF
21667 #define HAVE_Y0F 1
21668 _ACEOF
21669
21670 fi
21671
21672 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21673 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21674 if test "${ac_cv_lib_m_y0+set}" = set; then
21675 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 else
21677 ac_check_lib_save_LIBS=$LIBS
21678 LIBS="-lm $LIBS"
21679 if test x$gcc_no_link = xyes; then
21680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21682 { (exit 1); exit 1; }; }
21683 fi
21684 cat >conftest.$ac_ext <<_ACEOF
21685 /* confdefs.h. */
21686 _ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690
21691 /* Override any gcc2 internal prototype to avoid an error. */
21692 #ifdef __cplusplus
21693 extern "C"
21694 #endif
21695 /* We use char because int might match the return type of a gcc2
21696 builtin and then its argument prototype would still apply. */
21697 char y0 ();
21698 int
21699 main ()
21700 {
21701 y0 ();
21702 ;
21703 return 0;
21704 }
21705 _ACEOF
21706 rm -f conftest.$ac_objext conftest$ac_exeext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>conftest.er1
21709 ac_status=$?
21710 grep -v '^ *+' conftest.er1 >conftest.err
21711 rm -f conftest.er1
21712 cat conftest.err >&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); } &&
21715 { ac_try='test -z "$ac_c_werror_flag"
21716 || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21719 ac_status=$?
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try='test -s conftest$ac_exeext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21725 ac_status=$?
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21728 ac_cv_lib_m_y0=yes
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_cv_lib_m_y0=no
21734 fi
21735 rm -f conftest.err conftest.$ac_objext \
21736 conftest$ac_exeext conftest.$ac_ext
21737 LIBS=$ac_check_lib_save_LIBS
21738 fi
21739 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21740 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21741 if test $ac_cv_lib_m_y0 = yes; then
21742
21743 cat >>confdefs.h <<\_ACEOF
21744 #define HAVE_Y0 1
21745 _ACEOF
21746
21747 fi
21748
21749 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21750 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21751 if test "${ac_cv_lib_m_y0l+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 else
21754 ac_check_lib_save_LIBS=$LIBS
21755 LIBS="-lm $LIBS"
21756 if test x$gcc_no_link = xyes; then
21757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21759 { (exit 1); exit 1; }; }
21760 fi
21761 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767
21768 /* Override any gcc2 internal prototype to avoid an error. */
21769 #ifdef __cplusplus
21770 extern "C"
21771 #endif
21772 /* We use char because int might match the return type of a gcc2
21773 builtin and then its argument prototype would still apply. */
21774 char y0l ();
21775 int
21776 main ()
21777 {
21778 y0l ();
21779 ;
21780 return 0;
21781 }
21782 _ACEOF
21783 rm -f conftest.$ac_objext conftest$ac_exeext
21784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21785 (eval $ac_link) 2>conftest.er1
21786 ac_status=$?
21787 grep -v '^ *+' conftest.er1 >conftest.err
21788 rm -f conftest.er1
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } &&
21792 { ac_try='test -z "$ac_c_werror_flag"
21793 || test ! -s conftest.err'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; } &&
21799 { ac_try='test -s conftest$ac_exeext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 ac_cv_lib_m_y0l=yes
21806 else
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.$ac_ext >&5
21809
21810 ac_cv_lib_m_y0l=no
21811 fi
21812 rm -f conftest.err conftest.$ac_objext \
21813 conftest$ac_exeext conftest.$ac_ext
21814 LIBS=$ac_check_lib_save_LIBS
21815 fi
21816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21817 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21818 if test $ac_cv_lib_m_y0l = yes; then
21819
21820 cat >>confdefs.h <<\_ACEOF
21821 #define HAVE_Y0L 1
21822 _ACEOF
21823
21824 fi
21825
21826 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21827 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21828 if test "${ac_cv_lib_m_y1f+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21830 else
21831 ac_check_lib_save_LIBS=$LIBS
21832 LIBS="-lm $LIBS"
21833 if test x$gcc_no_link = xyes; then
21834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21836 { (exit 1); exit 1; }; }
21837 fi
21838 cat >conftest.$ac_ext <<_ACEOF
21839 /* confdefs.h. */
21840 _ACEOF
21841 cat confdefs.h >>conftest.$ac_ext
21842 cat >>conftest.$ac_ext <<_ACEOF
21843 /* end confdefs.h. */
21844
21845 /* Override any gcc2 internal prototype to avoid an error. */
21846 #ifdef __cplusplus
21847 extern "C"
21848 #endif
21849 /* We use char because int might match the return type of a gcc2
21850 builtin and then its argument prototype would still apply. */
21851 char y1f ();
21852 int
21853 main ()
21854 {
21855 y1f ();
21856 ;
21857 return 0;
21858 }
21859 _ACEOF
21860 rm -f conftest.$ac_objext conftest$ac_exeext
21861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21862 (eval $ac_link) 2>conftest.er1
21863 ac_status=$?
21864 grep -v '^ *+' conftest.er1 >conftest.err
21865 rm -f conftest.er1
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } &&
21869 { ac_try='test -z "$ac_c_werror_flag"
21870 || test ! -s conftest.err'
21871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21872 (eval $ac_try) 2>&5
21873 ac_status=$?
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; } &&
21876 { ac_try='test -s conftest$ac_exeext'
21877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21878 (eval $ac_try) 2>&5
21879 ac_status=$?
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); }; }; then
21882 ac_cv_lib_m_y1f=yes
21883 else
21884 echo "$as_me: failed program was:" >&5
21885 sed 's/^/| /' conftest.$ac_ext >&5
21886
21887 ac_cv_lib_m_y1f=no
21888 fi
21889 rm -f conftest.err conftest.$ac_objext \
21890 conftest$ac_exeext conftest.$ac_ext
21891 LIBS=$ac_check_lib_save_LIBS
21892 fi
21893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
21894 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
21895 if test $ac_cv_lib_m_y1f = yes; then
21896
21897 cat >>confdefs.h <<\_ACEOF
21898 #define HAVE_Y1F 1
21899 _ACEOF
21900
21901 fi
21902
21903 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
21904 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
21905 if test "${ac_cv_lib_m_y1+set}" = set; then
21906 echo $ECHO_N "(cached) $ECHO_C" >&6
21907 else
21908 ac_check_lib_save_LIBS=$LIBS
21909 LIBS="-lm $LIBS"
21910 if test x$gcc_no_link = xyes; then
21911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21913 { (exit 1); exit 1; }; }
21914 fi
21915 cat >conftest.$ac_ext <<_ACEOF
21916 /* confdefs.h. */
21917 _ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21921
21922 /* Override any gcc2 internal prototype to avoid an error. */
21923 #ifdef __cplusplus
21924 extern "C"
21925 #endif
21926 /* We use char because int might match the return type of a gcc2
21927 builtin and then its argument prototype would still apply. */
21928 char y1 ();
21929 int
21930 main ()
21931 {
21932 y1 ();
21933 ;
21934 return 0;
21935 }
21936 _ACEOF
21937 rm -f conftest.$ac_objext conftest$ac_exeext
21938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21939 (eval $ac_link) 2>conftest.er1
21940 ac_status=$?
21941 grep -v '^ *+' conftest.er1 >conftest.err
21942 rm -f conftest.er1
21943 cat conftest.err >&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); } &&
21946 { ac_try='test -z "$ac_c_werror_flag"
21947 || test ! -s conftest.err'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21950 ac_status=$?
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; } &&
21953 { ac_try='test -s conftest$ac_exeext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21956 ac_status=$?
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21959 ac_cv_lib_m_y1=yes
21960 else
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.$ac_ext >&5
21963
21964 ac_cv_lib_m_y1=no
21965 fi
21966 rm -f conftest.err conftest.$ac_objext \
21967 conftest$ac_exeext conftest.$ac_ext
21968 LIBS=$ac_check_lib_save_LIBS
21969 fi
21970 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21971 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21972 if test $ac_cv_lib_m_y1 = yes; then
21973
21974 cat >>confdefs.h <<\_ACEOF
21975 #define HAVE_Y1 1
21976 _ACEOF
21977
21978 fi
21979
21980 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21981 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21982 if test "${ac_cv_lib_m_y1l+set}" = set; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 else
21985 ac_check_lib_save_LIBS=$LIBS
21986 LIBS="-lm $LIBS"
21987 if test x$gcc_no_link = xyes; then
21988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21990 { (exit 1); exit 1; }; }
21991 fi
21992 cat >conftest.$ac_ext <<_ACEOF
21993 /* confdefs.h. */
21994 _ACEOF
21995 cat confdefs.h >>conftest.$ac_ext
21996 cat >>conftest.$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998
21999 /* Override any gcc2 internal prototype to avoid an error. */
22000 #ifdef __cplusplus
22001 extern "C"
22002 #endif
22003 /* We use char because int might match the return type of a gcc2
22004 builtin and then its argument prototype would still apply. */
22005 char y1l ();
22006 int
22007 main ()
22008 {
22009 y1l ();
22010 ;
22011 return 0;
22012 }
22013 _ACEOF
22014 rm -f conftest.$ac_objext conftest$ac_exeext
22015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22016 (eval $ac_link) 2>conftest.er1
22017 ac_status=$?
22018 grep -v '^ *+' conftest.er1 >conftest.err
22019 rm -f conftest.er1
22020 cat conftest.err >&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); } &&
22023 { ac_try='test -z "$ac_c_werror_flag"
22024 || test ! -s conftest.err'
22025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22026 (eval $ac_try) 2>&5
22027 ac_status=$?
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); }; } &&
22030 { ac_try='test -s conftest$ac_exeext'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22033 ac_status=$?
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22036 ac_cv_lib_m_y1l=yes
22037 else
22038 echo "$as_me: failed program was:" >&5
22039 sed 's/^/| /' conftest.$ac_ext >&5
22040
22041 ac_cv_lib_m_y1l=no
22042 fi
22043 rm -f conftest.err conftest.$ac_objext \
22044 conftest$ac_exeext conftest.$ac_ext
22045 LIBS=$ac_check_lib_save_LIBS
22046 fi
22047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22048 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22049 if test $ac_cv_lib_m_y1l = yes; then
22050
22051 cat >>confdefs.h <<\_ACEOF
22052 #define HAVE_Y1L 1
22053 _ACEOF
22054
22055 fi
22056
22057 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22058 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22059 if test "${ac_cv_lib_m_ynf+set}" = set; then
22060 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 else
22062 ac_check_lib_save_LIBS=$LIBS
22063 LIBS="-lm $LIBS"
22064 if test x$gcc_no_link = xyes; then
22065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22067 { (exit 1); exit 1; }; }
22068 fi
22069 cat >conftest.$ac_ext <<_ACEOF
22070 /* confdefs.h. */
22071 _ACEOF
22072 cat confdefs.h >>conftest.$ac_ext
22073 cat >>conftest.$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22075
22076 /* Override any gcc2 internal prototype to avoid an error. */
22077 #ifdef __cplusplus
22078 extern "C"
22079 #endif
22080 /* We use char because int might match the return type of a gcc2
22081 builtin and then its argument prototype would still apply. */
22082 char ynf ();
22083 int
22084 main ()
22085 {
22086 ynf ();
22087 ;
22088 return 0;
22089 }
22090 _ACEOF
22091 rm -f conftest.$ac_objext conftest$ac_exeext
22092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22093 (eval $ac_link) 2>conftest.er1
22094 ac_status=$?
22095 grep -v '^ *+' conftest.er1 >conftest.err
22096 rm -f conftest.er1
22097 cat conftest.err >&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); } &&
22100 { ac_try='test -z "$ac_c_werror_flag"
22101 || test ! -s conftest.err'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22104 ac_status=$?
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; } &&
22107 { ac_try='test -s conftest$ac_exeext'
22108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22109 (eval $ac_try) 2>&5
22110 ac_status=$?
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; }; then
22113 ac_cv_lib_m_ynf=yes
22114 else
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22117
22118 ac_cv_lib_m_ynf=no
22119 fi
22120 rm -f conftest.err conftest.$ac_objext \
22121 conftest$ac_exeext conftest.$ac_ext
22122 LIBS=$ac_check_lib_save_LIBS
22123 fi
22124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22125 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22126 if test $ac_cv_lib_m_ynf = yes; then
22127
22128 cat >>confdefs.h <<\_ACEOF
22129 #define HAVE_YNF 1
22130 _ACEOF
22131
22132 fi
22133
22134 echo "$as_me:$LINENO: checking for yn in -lm" >&5
22135 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22136 if test "${ac_cv_lib_m_yn+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22138 else
22139 ac_check_lib_save_LIBS=$LIBS
22140 LIBS="-lm $LIBS"
22141 if test x$gcc_no_link = xyes; then
22142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22144 { (exit 1); exit 1; }; }
22145 fi
22146 cat >conftest.$ac_ext <<_ACEOF
22147 /* confdefs.h. */
22148 _ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152
22153 /* Override any gcc2 internal prototype to avoid an error. */
22154 #ifdef __cplusplus
22155 extern "C"
22156 #endif
22157 /* We use char because int might match the return type of a gcc2
22158 builtin and then its argument prototype would still apply. */
22159 char yn ();
22160 int
22161 main ()
22162 {
22163 yn ();
22164 ;
22165 return 0;
22166 }
22167 _ACEOF
22168 rm -f conftest.$ac_objext conftest$ac_exeext
22169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22170 (eval $ac_link) 2>conftest.er1
22171 ac_status=$?
22172 grep -v '^ *+' conftest.er1 >conftest.err
22173 rm -f conftest.er1
22174 cat conftest.err >&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); } &&
22177 { ac_try='test -z "$ac_c_werror_flag"
22178 || test ! -s conftest.err'
22179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22180 (eval $ac_try) 2>&5
22181 ac_status=$?
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); }; } &&
22184 { ac_try='test -s conftest$ac_exeext'
22185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22186 (eval $ac_try) 2>&5
22187 ac_status=$?
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); }; }; then
22190 ac_cv_lib_m_yn=yes
22191 else
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22194
22195 ac_cv_lib_m_yn=no
22196 fi
22197 rm -f conftest.err conftest.$ac_objext \
22198 conftest$ac_exeext conftest.$ac_ext
22199 LIBS=$ac_check_lib_save_LIBS
22200 fi
22201 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22202 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22203 if test $ac_cv_lib_m_yn = yes; then
22204
22205 cat >>confdefs.h <<\_ACEOF
22206 #define HAVE_YN 1
22207 _ACEOF
22208
22209 fi
22210
22211 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22212 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22213 if test "${ac_cv_lib_m_ynl+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 else
22216 ac_check_lib_save_LIBS=$LIBS
22217 LIBS="-lm $LIBS"
22218 if test x$gcc_no_link = xyes; then
22219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22221 { (exit 1); exit 1; }; }
22222 fi
22223 cat >conftest.$ac_ext <<_ACEOF
22224 /* confdefs.h. */
22225 _ACEOF
22226 cat confdefs.h >>conftest.$ac_ext
22227 cat >>conftest.$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229
22230 /* Override any gcc2 internal prototype to avoid an error. */
22231 #ifdef __cplusplus
22232 extern "C"
22233 #endif
22234 /* We use char because int might match the return type of a gcc2
22235 builtin and then its argument prototype would still apply. */
22236 char ynl ();
22237 int
22238 main ()
22239 {
22240 ynl ();
22241 ;
22242 return 0;
22243 }
22244 _ACEOF
22245 rm -f conftest.$ac_objext conftest$ac_exeext
22246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22247 (eval $ac_link) 2>conftest.er1
22248 ac_status=$?
22249 grep -v '^ *+' conftest.er1 >conftest.err
22250 rm -f conftest.er1
22251 cat conftest.err >&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } &&
22254 { ac_try='test -z "$ac_c_werror_flag"
22255 || test ! -s conftest.err'
22256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22257 (eval $ac_try) 2>&5
22258 ac_status=$?
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); }; } &&
22261 { ac_try='test -s conftest$ac_exeext'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22264 ac_status=$?
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; }; then
22267 ac_cv_lib_m_ynl=yes
22268 else
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22271
22272 ac_cv_lib_m_ynl=no
22273 fi
22274 rm -f conftest.err conftest.$ac_objext \
22275 conftest$ac_exeext conftest.$ac_ext
22276 LIBS=$ac_check_lib_save_LIBS
22277 fi
22278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22279 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22280 if test $ac_cv_lib_m_ynl = yes; then
22281
22282 cat >>confdefs.h <<\_ACEOF
22283 #define HAVE_YNL 1
22284 _ACEOF
22285
22286 fi
22287
22288
22289 # On AIX, clog is present in libm as __clog
22290 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22291 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22292 if test "${ac_cv_lib_m___clog+set}" = set; then
22293 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 else
22295 ac_check_lib_save_LIBS=$LIBS
22296 LIBS="-lm $LIBS"
22297 if test x$gcc_no_link = xyes; then
22298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22300 { (exit 1); exit 1; }; }
22301 fi
22302 cat >conftest.$ac_ext <<_ACEOF
22303 /* confdefs.h. */
22304 _ACEOF
22305 cat confdefs.h >>conftest.$ac_ext
22306 cat >>conftest.$ac_ext <<_ACEOF
22307 /* end confdefs.h. */
22308
22309 /* Override any gcc2 internal prototype to avoid an error. */
22310 #ifdef __cplusplus
22311 extern "C"
22312 #endif
22313 /* We use char because int might match the return type of a gcc2
22314 builtin and then its argument prototype would still apply. */
22315 char __clog ();
22316 int
22317 main ()
22318 {
22319 __clog ();
22320 ;
22321 return 0;
22322 }
22323 _ACEOF
22324 rm -f conftest.$ac_objext conftest$ac_exeext
22325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22326 (eval $ac_link) 2>conftest.er1
22327 ac_status=$?
22328 grep -v '^ *+' conftest.er1 >conftest.err
22329 rm -f conftest.er1
22330 cat conftest.err >&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } &&
22333 { ac_try='test -z "$ac_c_werror_flag"
22334 || test ! -s conftest.err'
22335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22336 (eval $ac_try) 2>&5
22337 ac_status=$?
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); }; } &&
22340 { ac_try='test -s conftest$ac_exeext'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22343 ac_status=$?
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; }; then
22346 ac_cv_lib_m___clog=yes
22347 else
22348 echo "$as_me: failed program was:" >&5
22349 sed 's/^/| /' conftest.$ac_ext >&5
22350
22351 ac_cv_lib_m___clog=no
22352 fi
22353 rm -f conftest.err conftest.$ac_objext \
22354 conftest$ac_exeext conftest.$ac_ext
22355 LIBS=$ac_check_lib_save_LIBS
22356 fi
22357 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22358 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22359 if test $ac_cv_lib_m___clog = yes; then
22360
22361 cat >>confdefs.h <<\_ACEOF
22362 #define HAVE_CLOG 1
22363 _ACEOF
22364
22365 fi
22366
22367
22368 # Check for a isfinite macro that works on long doubles.
22369
22370 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22371 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22372 if test "${have_broken_isfinite+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22374 else
22375
22376 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22377 LIBS="$LIBS -lm"
22378 if test "$cross_compiling" = yes; then
22379
22380 case "${target}" in
22381 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22382 *) have_broken_isfinite=no ;;
22383 esac
22384 else
22385 cat >conftest.$ac_ext <<_ACEOF
22386 /* confdefs.h. */
22387 _ACEOF
22388 cat confdefs.h >>conftest.$ac_ext
22389 cat >>conftest.$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22391
22392 #ifdef HAVE_MATH_H
22393 #include <math.h>
22394 #endif
22395 #include <float.h>
22396 int main ()
22397 {
22398 #ifdef isfinite
22399 #ifdef LDBL_MAX
22400 if (!isfinite(LDBL_MAX)) return 1;
22401 #endif
22402 #ifdef DBL_MAX
22403 if (!isfinite(DBL_MAX)) return 1;
22404 #endif
22405 #endif
22406 return 0;
22407 }
22408 _ACEOF
22409 rm -f conftest$ac_exeext
22410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22411 (eval $ac_link) 2>&5
22412 ac_status=$?
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416 (eval $ac_try) 2>&5
22417 ac_status=$?
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; }; then
22420 have_broken_isfinite=no
22421 else
22422 echo "$as_me: program exited with status $ac_status" >&5
22423 echo "$as_me: failed program was:" >&5
22424 sed 's/^/| /' conftest.$ac_ext >&5
22425
22426 ( exit $ac_status )
22427 have_broken_isfinite=yes
22428 fi
22429 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22430 fi
22431 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
22432 fi
22433 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22434 echo "${ECHO_T}$have_broken_isfinite" >&6
22435 if test x"$have_broken_isfinite" = xyes; then
22436
22437 cat >>confdefs.h <<\_ACEOF
22438 #define HAVE_BROKEN_ISFINITE 1
22439 _ACEOF
22440
22441 fi
22442
22443 # Check for a isnan macro that works on long doubles.
22444
22445 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22446 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22447 if test "${have_broken_isnan+set}" = set; then
22448 echo $ECHO_N "(cached) $ECHO_C" >&6
22449 else
22450
22451 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
22452 LIBS="$LIBS -lm"
22453 if test "$cross_compiling" = yes; then
22454
22455 case "${target}" in
22456 hppa*-*-hpux*) have_broken_isnan=yes ;;
22457 *) have_broken_isnan=no ;;
22458 esac
22459 else
22460 cat >conftest.$ac_ext <<_ACEOF
22461 /* confdefs.h. */
22462 _ACEOF
22463 cat confdefs.h >>conftest.$ac_ext
22464 cat >>conftest.$ac_ext <<_ACEOF
22465 /* end confdefs.h. */
22466
22467 #ifdef HAVE_MATH_H
22468 #include <math.h>
22469 #endif
22470 #include <float.h>
22471 int main ()
22472 {
22473 #ifdef isnan
22474 #ifdef LDBL_MAX
22475 {
22476 long double x;
22477 x = __builtin_nanl ("");
22478 if (!isnan(x)) return 1;
22479 if (isnan(LDBL_MAX)) return 1;
22480 #ifdef NAN
22481 x = (long double) NAN;
22482 if (!isnan(x)) return 1;
22483 #endif
22484 }
22485 #endif
22486 #ifdef DBL_MAX
22487 {
22488 double y;
22489 y = __builtin_nan ("");
22490 if (!isnan(y)) return 1;
22491 if (isnan(DBL_MAX)) return 1;
22492 #ifdef NAN
22493 y = (double) NAN;
22494 if (!isnan(y)) return 1;
22495 #endif
22496 }
22497 #endif
22498 #endif
22499 return 0;
22500 }
22501 _ACEOF
22502 rm -f conftest$ac_exeext
22503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22504 (eval $ac_link) 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22509 (eval $ac_try) 2>&5
22510 ac_status=$?
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; }; then
22513 have_broken_isnan=no
22514 else
22515 echo "$as_me: program exited with status $ac_status" >&5
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22518
22519 ( exit $ac_status )
22520 have_broken_isnan=yes
22521 fi
22522 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22523 fi
22524 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
22525 fi
22526 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
22527 echo "${ECHO_T}$have_broken_isnan" >&6
22528 if test x"$have_broken_isnan" = xyes; then
22529
22530 cat >>confdefs.h <<\_ACEOF
22531 #define HAVE_BROKEN_ISNAN 1
22532 _ACEOF
22533
22534 fi
22535
22536 # Check for a fpclassify macro that works on long doubles.
22537
22538 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
22539 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
22540 if test "${have_broken_fpclassify+set}" = set; then
22541 echo $ECHO_N "(cached) $ECHO_C" >&6
22542 else
22543
22544 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
22545 LIBS="$LIBS -lm"
22546 if test "$cross_compiling" = yes; then
22547
22548 case "${target}" in
22549 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
22550 *) have_broken_fpclassify=no ;;
22551 esac
22552 else
22553 cat >conftest.$ac_ext <<_ACEOF
22554 /* confdefs.h. */
22555 _ACEOF
22556 cat confdefs.h >>conftest.$ac_ext
22557 cat >>conftest.$ac_ext <<_ACEOF
22558 /* end confdefs.h. */
22559
22560 #ifdef HAVE_MATH_H
22561 #include <math.h>
22562 #endif
22563 #include <float.h>
22564 int main ()
22565 {
22566 #ifdef fpclassify
22567 #ifdef LDBL_MAX
22568 if (fpclassify(LDBL_MAX) == FP_NAN
22569 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
22570 #endif
22571 #ifdef DBL_MAX
22572 if (fpclassify(DBL_MAX) == FP_NAN
22573 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
22574 #endif
22575 #endif
22576 return 0;
22577 }
22578 _ACEOF
22579 rm -f conftest$ac_exeext
22580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22581 (eval $ac_link) 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; }; then
22590 have_broken_fpclassify=no
22591 else
22592 echo "$as_me: program exited with status $ac_status" >&5
22593 echo "$as_me: failed program was:" >&5
22594 sed 's/^/| /' conftest.$ac_ext >&5
22595
22596 ( exit $ac_status )
22597 have_broken_fpclassify=yes
22598 fi
22599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22600 fi
22601 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
22602 fi
22603 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22604 echo "${ECHO_T}$have_broken_fpclassify" >&6
22605 if test x"$have_broken_fpclassify" = xyes; then
22606
22607 cat >>confdefs.h <<\_ACEOF
22608 #define HAVE_BROKEN_FPCLASSIFY 1
22609 _ACEOF
22610
22611 fi
22612
22613 # Check whether the system has a working stat()
22614
22615 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22616 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22617 if test "${have_working_stat+set}" = set; then
22618 echo $ECHO_N "(cached) $ECHO_C" >&6
22619 else
22620
22621 if test "$cross_compiling" = yes; then
22622
22623 case "${target}" in
22624 *mingw*) have_working_stat=no ;;
22625 *) have_working_stat=yes;;
22626 esac
22627 else
22628 cat >conftest.$ac_ext <<_ACEOF
22629 /* confdefs.h. */
22630 _ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634
22635 #include <stdio.h>
22636 #include <sys/types.h>
22637 #include <sys/stat.h>
22638 #include <unistd.h>
22639
22640 int main ()
22641 {
22642 FILE *f, *g;
22643 struct stat st1, st2;
22644
22645 f = fopen ("foo", "w");
22646 g = fopen ("bar", "w");
22647 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22648 return 1;
22649 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22650 return 1;
22651 fclose(f);
22652 fclose(g);
22653 return 0;
22654 }
22655 _ACEOF
22656 rm -f conftest$ac_exeext
22657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22658 (eval $ac_link) 2>&5
22659 ac_status=$?
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663 (eval $ac_try) 2>&5
22664 ac_status=$?
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; }; then
22667 have_working_stat=yes
22668 else
22669 echo "$as_me: program exited with status $ac_status" >&5
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22672
22673 ( exit $ac_status )
22674 have_working_stat=no
22675 fi
22676 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22677 fi
22678 fi
22679 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22680 echo "${ECHO_T}$have_working_stat" >&6
22681 if test x"$have_working_stat" = xyes; then
22682
22683 cat >>confdefs.h <<\_ACEOF
22684 #define HAVE_WORKING_STAT 1
22685 _ACEOF
22686
22687 fi
22688
22689 # Fallback in case isfinite is not available.
22690 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22691 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22692 if test "${ac_cv_lib_m_finite+set}" = set; then
22693 echo $ECHO_N "(cached) $ECHO_C" >&6
22694 else
22695 ac_check_lib_save_LIBS=$LIBS
22696 LIBS="-lm $LIBS"
22697 if test x$gcc_no_link = xyes; then
22698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22700 { (exit 1); exit 1; }; }
22701 fi
22702 cat >conftest.$ac_ext <<_ACEOF
22703 /* confdefs.h. */
22704 _ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708
22709 /* Override any gcc2 internal prototype to avoid an error. */
22710 #ifdef __cplusplus
22711 extern "C"
22712 #endif
22713 /* We use char because int might match the return type of a gcc2
22714 builtin and then its argument prototype would still apply. */
22715 char finite ();
22716 int
22717 main ()
22718 {
22719 finite ();
22720 ;
22721 return 0;
22722 }
22723 _ACEOF
22724 rm -f conftest.$ac_objext conftest$ac_exeext
22725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22726 (eval $ac_link) 2>conftest.er1
22727 ac_status=$?
22728 grep -v '^ *+' conftest.er1 >conftest.err
22729 rm -f conftest.er1
22730 cat conftest.err >&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); } &&
22733 { ac_try='test -z "$ac_c_werror_flag"
22734 || test ! -s conftest.err'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22737 ac_status=$?
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; } &&
22740 { ac_try='test -s conftest$ac_exeext'
22741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22742 (eval $ac_try) 2>&5
22743 ac_status=$?
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); }; }; then
22746 ac_cv_lib_m_finite=yes
22747 else
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22750
22751 ac_cv_lib_m_finite=no
22752 fi
22753 rm -f conftest.err conftest.$ac_objext \
22754 conftest$ac_exeext conftest.$ac_ext
22755 LIBS=$ac_check_lib_save_LIBS
22756 fi
22757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22758 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22759 if test $ac_cv_lib_m_finite = yes; then
22760
22761 cat >>confdefs.h <<\_ACEOF
22762 #define HAVE_FINITE 1
22763 _ACEOF
22764
22765 fi
22766
22767
22768 # Check for GNU libc feenableexcept
22769 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22770 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22771 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22772 echo $ECHO_N "(cached) $ECHO_C" >&6
22773 else
22774 ac_check_lib_save_LIBS=$LIBS
22775 LIBS="-lm $LIBS"
22776 if test x$gcc_no_link = xyes; then
22777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22779 { (exit 1); exit 1; }; }
22780 fi
22781 cat >conftest.$ac_ext <<_ACEOF
22782 /* confdefs.h. */
22783 _ACEOF
22784 cat confdefs.h >>conftest.$ac_ext
22785 cat >>conftest.$ac_ext <<_ACEOF
22786 /* end confdefs.h. */
22787
22788 /* Override any gcc2 internal prototype to avoid an error. */
22789 #ifdef __cplusplus
22790 extern "C"
22791 #endif
22792 /* We use char because int might match the return type of a gcc2
22793 builtin and then its argument prototype would still apply. */
22794 char feenableexcept ();
22795 int
22796 main ()
22797 {
22798 feenableexcept ();
22799 ;
22800 return 0;
22801 }
22802 _ACEOF
22803 rm -f conftest.$ac_objext conftest$ac_exeext
22804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22805 (eval $ac_link) 2>conftest.er1
22806 ac_status=$?
22807 grep -v '^ *+' conftest.er1 >conftest.err
22808 rm -f conftest.er1
22809 cat conftest.err >&5
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); } &&
22812 { ac_try='test -z "$ac_c_werror_flag"
22813 || test ! -s conftest.err'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22816 ac_status=$?
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; } &&
22819 { ac_try='test -s conftest$ac_exeext'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22822 ac_status=$?
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; }; then
22825 ac_cv_lib_m_feenableexcept=yes
22826 else
22827 echo "$as_me: failed program was:" >&5
22828 sed 's/^/| /' conftest.$ac_ext >&5
22829
22830 ac_cv_lib_m_feenableexcept=no
22831 fi
22832 rm -f conftest.err conftest.$ac_objext \
22833 conftest$ac_exeext conftest.$ac_ext
22834 LIBS=$ac_check_lib_save_LIBS
22835 fi
22836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22837 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22838 if test $ac_cv_lib_m_feenableexcept = yes; then
22839 have_feenableexcept=yes
22840 cat >>confdefs.h <<\_ACEOF
22841 #define HAVE_FEENABLEEXCEPT 1
22842 _ACEOF
22843
22844 fi
22845
22846
22847 # Check for SysV fpsetmask
22848
22849 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22850 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22851 if test "${have_fpsetmask+set}" = set; then
22852 echo $ECHO_N "(cached) $ECHO_C" >&6
22853 else
22854
22855 if test x$gcc_no_link = xyes; then
22856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22858 { (exit 1); exit 1; }; }
22859 fi
22860 cat >conftest.$ac_ext <<_ACEOF
22861 /* confdefs.h. */
22862 _ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866
22867 #if HAVE_FLOATINGPOINT_H
22868 # include <floatingpoint.h>
22869 #endif /* HAVE_FLOATINGPOINT_H */
22870 #if HAVE_IEEEFP_H
22871 # include <ieeefp.h>
22872 #endif /* HAVE_IEEEFP_H */
22873 int
22874 main ()
22875 {
22876 fpsetmask(0);
22877 ;
22878 return 0;
22879 }
22880 _ACEOF
22881 rm -f conftest.$ac_objext conftest$ac_exeext
22882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22883 (eval $ac_link) 2>conftest.er1
22884 ac_status=$?
22885 grep -v '^ *+' conftest.er1 >conftest.err
22886 rm -f conftest.er1
22887 cat conftest.err >&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } &&
22890 { ac_try='test -z "$ac_c_werror_flag"
22891 || test ! -s conftest.err'
22892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893 (eval $ac_try) 2>&5
22894 ac_status=$?
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); }; } &&
22897 { ac_try='test -s conftest$ac_exeext'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22900 ac_status=$?
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; }; then
22903 eval "have_fpsetmask=yes"
22904 else
22905 echo "$as_me: failed program was:" >&5
22906 sed 's/^/| /' conftest.$ac_ext >&5
22907
22908 eval "have_fpsetmask=no"
22909 fi
22910 rm -f conftest.err conftest.$ac_objext \
22911 conftest$ac_exeext conftest.$ac_ext
22912
22913 fi
22914 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
22915 echo "${ECHO_T}$have_fpsetmask" >&6
22916 if test x"$have_fpsetmask" = xyes; then
22917
22918 cat >>confdefs.h <<\_ACEOF
22919 #define HAVE_FPSETMASK 1
22920 _ACEOF
22921
22922 fi
22923
22924
22925 # Check for AIX fp_trap and fp_enable
22926 echo "$as_me:$LINENO: checking for fp_trap" >&5
22927 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
22928 if test "${ac_cv_func_fp_trap+set}" = set; then
22929 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 else
22931 if test x$gcc_no_link = xyes; then
22932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22934 { (exit 1); exit 1; }; }
22935 fi
22936 cat >conftest.$ac_ext <<_ACEOF
22937 /* confdefs.h. */
22938 _ACEOF
22939 cat confdefs.h >>conftest.$ac_ext
22940 cat >>conftest.$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22942 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
22943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22944 #define fp_trap innocuous_fp_trap
22945
22946 /* System header to define __stub macros and hopefully few prototypes,
22947 which can conflict with char fp_trap (); below.
22948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22949 <limits.h> exists even on freestanding compilers. */
22950
22951 #ifdef __STDC__
22952 # include <limits.h>
22953 #else
22954 # include <assert.h>
22955 #endif
22956
22957 #undef fp_trap
22958
22959 /* Override any gcc2 internal prototype to avoid an error. */
22960 #ifdef __cplusplus
22961 extern "C"
22962 {
22963 #endif
22964 /* We use char because int might match the return type of a gcc2
22965 builtin and then its argument prototype would still apply. */
22966 char fp_trap ();
22967 /* The GNU C library defines this for functions which it implements
22968 to always fail with ENOSYS. Some functions are actually named
22969 something starting with __ and the normal name is an alias. */
22970 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22971 choke me
22972 #else
22973 char (*f) () = fp_trap;
22974 #endif
22975 #ifdef __cplusplus
22976 }
22977 #endif
22978
22979 int
22980 main ()
22981 {
22982 return f != fp_trap;
22983 ;
22984 return 0;
22985 }
22986 _ACEOF
22987 rm -f conftest.$ac_objext conftest$ac_exeext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22989 (eval $ac_link) 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } &&
22996 { ac_try='test -z "$ac_c_werror_flag"
22997 || test ! -s conftest.err'
22998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22999 (eval $ac_try) 2>&5
23000 ac_status=$?
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); }; } &&
23003 { ac_try='test -s conftest$ac_exeext'
23004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005 (eval $ac_try) 2>&5
23006 ac_status=$?
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; }; then
23009 ac_cv_func_fp_trap=yes
23010 else
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23013
23014 ac_cv_func_fp_trap=no
23015 fi
23016 rm -f conftest.err conftest.$ac_objext \
23017 conftest$ac_exeext conftest.$ac_ext
23018 fi
23019 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23020 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23021 if test $ac_cv_func_fp_trap = yes; then
23022 have_fp_trap=yes
23023 cat >>confdefs.h <<\_ACEOF
23024 #define HAVE_FP_TRAP 1
23025 _ACEOF
23026
23027 fi
23028
23029 echo "$as_me:$LINENO: checking for fp_enable" >&5
23030 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23031 if test "${ac_cv_func_fp_enable+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23033 else
23034 if test x$gcc_no_link = xyes; then
23035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23037 { (exit 1); exit 1; }; }
23038 fi
23039 cat >conftest.$ac_ext <<_ACEOF
23040 /* confdefs.h. */
23041 _ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23045 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23047 #define fp_enable innocuous_fp_enable
23048
23049 /* System header to define __stub macros and hopefully few prototypes,
23050 which can conflict with char fp_enable (); below.
23051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23052 <limits.h> exists even on freestanding compilers. */
23053
23054 #ifdef __STDC__
23055 # include <limits.h>
23056 #else
23057 # include <assert.h>
23058 #endif
23059
23060 #undef fp_enable
23061
23062 /* Override any gcc2 internal prototype to avoid an error. */
23063 #ifdef __cplusplus
23064 extern "C"
23065 {
23066 #endif
23067 /* We use char because int might match the return type of a gcc2
23068 builtin and then its argument prototype would still apply. */
23069 char fp_enable ();
23070 /* The GNU C library defines this for functions which it implements
23071 to always fail with ENOSYS. Some functions are actually named
23072 something starting with __ and the normal name is an alias. */
23073 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23074 choke me
23075 #else
23076 char (*f) () = fp_enable;
23077 #endif
23078 #ifdef __cplusplus
23079 }
23080 #endif
23081
23082 int
23083 main ()
23084 {
23085 return f != fp_enable;
23086 ;
23087 return 0;
23088 }
23089 _ACEOF
23090 rm -f conftest.$ac_objext conftest$ac_exeext
23091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23092 (eval $ac_link) 2>conftest.er1
23093 ac_status=$?
23094 grep -v '^ *+' conftest.er1 >conftest.err
23095 rm -f conftest.er1
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } &&
23099 { ac_try='test -z "$ac_c_werror_flag"
23100 || test ! -s conftest.err'
23101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23102 (eval $ac_try) 2>&5
23103 ac_status=$?
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); }; } &&
23106 { ac_try='test -s conftest$ac_exeext'
23107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108 (eval $ac_try) 2>&5
23109 ac_status=$?
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); }; }; then
23112 ac_cv_func_fp_enable=yes
23113 else
23114 echo "$as_me: failed program was:" >&5
23115 sed 's/^/| /' conftest.$ac_ext >&5
23116
23117 ac_cv_func_fp_enable=no
23118 fi
23119 rm -f conftest.err conftest.$ac_objext \
23120 conftest$ac_exeext conftest.$ac_ext
23121 fi
23122 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23123 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23124 if test $ac_cv_func_fp_enable = yes; then
23125 have_fp_enable=yes
23126 cat >>confdefs.h <<\_ACEOF
23127 #define HAVE_FP_ENABLE 1
23128 _ACEOF
23129
23130 fi
23131
23132
23133 # Runs configure.host to set up necessary host-dependent shell variables.
23134 # We then display a message about it, and propagate them through the
23135 # build chain.
23136 . ${srcdir}/configure.host
23137 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23138 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23139 FPU_HOST_HEADER=config/${fpu_host}.h
23140
23141
23142 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
23143 # for struct timezone, as you might think. We also need to check how
23144 # to call gettimeofday if we have it.
23145 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23146 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
23147 if test "${ac_cv_header_time+set}" = set; then
23148 echo $ECHO_N "(cached) $ECHO_C" >&6
23149 else
23150 cat >conftest.$ac_ext <<_ACEOF
23151 /* confdefs.h. */
23152 _ACEOF
23153 cat confdefs.h >>conftest.$ac_ext
23154 cat >>conftest.$ac_ext <<_ACEOF
23155 /* end confdefs.h. */
23156 #include <sys/types.h>
23157 #include <sys/time.h>
23158 #include <time.h>
23159
23160 int
23161 main ()
23162 {
23163 if ((struct tm *) 0)
23164 return 0;
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 rm -f conftest.$ac_objext
23170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23171 (eval $ac_compile) 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } &&
23178 { ac_try='test -z "$ac_c_werror_flag"
23179 || test ! -s conftest.err'
23180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23181 (eval $ac_try) 2>&5
23182 ac_status=$?
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; } &&
23185 { ac_try='test -s conftest.$ac_objext'
23186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23187 (eval $ac_try) 2>&5
23188 ac_status=$?
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); }; }; then
23191 ac_cv_header_time=yes
23192 else
23193 echo "$as_me: failed program was:" >&5
23194 sed 's/^/| /' conftest.$ac_ext >&5
23195
23196 ac_cv_header_time=no
23197 fi
23198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23199 fi
23200 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23201 echo "${ECHO_T}$ac_cv_header_time" >&6
23202 if test $ac_cv_header_time = yes; then
23203
23204 cat >>confdefs.h <<\_ACEOF
23205 #define TIME_WITH_SYS_TIME 1
23206 _ACEOF
23207
23208 fi
23209
23210
23211
23212 for ac_func in gettimeofday
23213 do
23214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23215 echo "$as_me:$LINENO: checking for $ac_func" >&5
23216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23217 if eval "test \"\${$as_ac_var+set}\" = set"; then
23218 echo $ECHO_N "(cached) $ECHO_C" >&6
23219 else
23220 if test x$gcc_no_link = xyes; then
23221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23223 { (exit 1); exit 1; }; }
23224 fi
23225 cat >conftest.$ac_ext <<_ACEOF
23226 /* confdefs.h. */
23227 _ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23233 #define $ac_func innocuous_$ac_func
23234
23235 /* System header to define __stub macros and hopefully few prototypes,
23236 which can conflict with char $ac_func (); below.
23237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23238 <limits.h> exists even on freestanding compilers. */
23239
23240 #ifdef __STDC__
23241 # include <limits.h>
23242 #else
23243 # include <assert.h>
23244 #endif
23245
23246 #undef $ac_func
23247
23248 /* Override any gcc2 internal prototype to avoid an error. */
23249 #ifdef __cplusplus
23250 extern "C"
23251 {
23252 #endif
23253 /* We use char because int might match the return type of a gcc2
23254 builtin and then its argument prototype would still apply. */
23255 char $ac_func ();
23256 /* The GNU C library defines this for functions which it implements
23257 to always fail with ENOSYS. Some functions are actually named
23258 something starting with __ and the normal name is an alias. */
23259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23260 choke me
23261 #else
23262 char (*f) () = $ac_func;
23263 #endif
23264 #ifdef __cplusplus
23265 }
23266 #endif
23267
23268 int
23269 main ()
23270 {
23271 return f != $ac_func;
23272 ;
23273 return 0;
23274 }
23275 _ACEOF
23276 rm -f conftest.$ac_objext conftest$ac_exeext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23278 (eval $ac_link) 2>conftest.er1
23279 ac_status=$?
23280 grep -v '^ *+' conftest.er1 >conftest.err
23281 rm -f conftest.er1
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try='test -z "$ac_c_werror_flag"
23286 || test ! -s conftest.err'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23289 ac_status=$?
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; } &&
23292 { ac_try='test -s conftest$ac_exeext'
23293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23294 (eval $ac_try) 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; }; then
23298 eval "$as_ac_var=yes"
23299 else
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5
23302
23303 eval "$as_ac_var=no"
23304 fi
23305 rm -f conftest.err conftest.$ac_objext \
23306 conftest$ac_exeext conftest.$ac_ext
23307 fi
23308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23310 if test `eval echo '${'$as_ac_var'}'` = yes; then
23311 cat >>confdefs.h <<_ACEOF
23312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23313 _ACEOF
23314
23315 fi
23316 done
23317
23318 if test "$ac_cv_func_gettimeofday" = yes; then
23319 echo "$as_me:$LINENO: checking for struct timezone" >&5
23320 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
23321 if test "${gfor_cv_struct_timezone+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 else
23324 cat >conftest.$ac_ext <<_ACEOF
23325 /* confdefs.h. */
23326 _ACEOF
23327 cat confdefs.h >>conftest.$ac_ext
23328 cat >>conftest.$ac_ext <<_ACEOF
23329 /* end confdefs.h. */
23330 #include <sys/time.h>
23331 int
23332 main ()
23333 {
23334 struct timezone tz;
23335 ;
23336 return 0;
23337 }
23338 _ACEOF
23339 rm -f conftest.$ac_objext
23340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23341 (eval $ac_compile) 2>conftest.er1
23342 ac_status=$?
23343 grep -v '^ *+' conftest.er1 >conftest.err
23344 rm -f conftest.er1
23345 cat conftest.err >&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } &&
23348 { ac_try='test -z "$ac_c_werror_flag"
23349 || test ! -s conftest.err'
23350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23351 (eval $ac_try) 2>&5
23352 ac_status=$?
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); }; } &&
23355 { ac_try='test -s conftest.$ac_objext'
23356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23357 (eval $ac_try) 2>&5
23358 ac_status=$?
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); }; }; then
23361 gfor_cv_struct_timezone=yes
23362 else
23363 echo "$as_me: failed program was:" >&5
23364 sed 's/^/| /' conftest.$ac_ext >&5
23365
23366 gfor_cv_struct_timezone=no
23367 fi
23368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23369 fi
23370 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
23371 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
23372 if test $gfor_cv_struct_timezone = yes; then
23373 if test "$cross_compiling" = yes; then
23374 gfor_have_struct_timezone=yes
23375 else
23376 cat >conftest.$ac_ext <<_ACEOF
23377 /* confdefs.h. */
23378 _ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23382
23383 #ifdef TIME_WITH_SYS_TIME
23384 #include <sys/time.h>
23385 #include <time.h>
23386 #else
23387 #ifdef HAVE_SYS_TIME_H
23388 #include <sys/time.h>
23389 #else
23390 #include <time.h>
23391 #endif
23392 #endif
23393 main ()
23394 {
23395 struct timeval time;
23396 struct timezone dummy;
23397 if (gettimeofday (&time, &dummy))
23398 exit (1);
23399 else
23400 exit (0);
23401 }
23402 _ACEOF
23403 rm -f conftest$ac_exeext
23404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23405 (eval $ac_link) 2>&5
23406 ac_status=$?
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23411 ac_status=$?
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; }; then
23414 gfor_have_struct_timezone=yes
23415 else
23416 echo "$as_me: program exited with status $ac_status" >&5
23417 echo "$as_me: failed program was:" >&5
23418 sed 's/^/| /' conftest.$ac_ext >&5
23419
23420 ( exit $ac_status )
23421 gfor_have_struct_timezone=no
23422 fi
23423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23424 fi
23425 if test $gfor_have_struct_timezone = yes; then
23426
23427 cat >>confdefs.h <<\_ACEOF
23428 #define HAVE_TIMEZONE 1
23429 _ACEOF
23430
23431 fi
23432 fi
23433
23434 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23435 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
23436 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23437 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 else
23439 if test x$gcc_no_link = xyes; then
23440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23442 { (exit 1); exit 1; }; }
23443 fi
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450
23451 #ifdef TIME_WITH_SYS_TIME
23452 #include <sys/time.h>
23453 #include <time.h>
23454 #else
23455 #ifdef HAVE_SYS_TIME_H
23456 #include <sys/time.h>
23457 #else
23458 #include <time.h>
23459 #endif
23460 #endif
23461
23462 int
23463 main ()
23464 {
23465
23466 struct timeval time;
23467 #ifdef HAVE_TIMEZONE
23468 struct timezone dummy;
23469 #define DUMMY &dummy
23470 #else
23471 #define DUMMY NULL
23472 #endif
23473 gettimeofday (&time, DUMMY);
23474 ;
23475 return 0;
23476 }
23477 _ACEOF
23478 rm -f conftest.$ac_objext conftest$ac_exeext
23479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23480 (eval $ac_link) 2>conftest.er1
23481 ac_status=$?
23482 grep -v '^ *+' conftest.er1 >conftest.err
23483 rm -f conftest.er1
23484 cat conftest.err >&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); } &&
23487 { ac_try='test -z "$ac_c_werror_flag"
23488 || test ! -s conftest.err'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try='test -s conftest$ac_exeext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 emacs_cv_gettimeofday_two_arguments=yes
23501 else
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.$ac_ext >&5
23504
23505 emacs_cv_gettimeofday_two_arguments=no
23506 fi
23507 rm -f conftest.err conftest.$ac_objext \
23508 conftest$ac_exeext conftest.$ac_ext
23509 fi
23510 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23511 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
23512 if test $emacs_cv_gettimeofday_two_arguments = no; then
23513
23514 cat >>confdefs.h <<\_ACEOF
23515 #define GETTIMEOFDAY_ONE_ARGUMENT 1
23516 _ACEOF
23517
23518 fi
23519 fi
23520
23521 # Attempt to assert that the target is of common type in case we don't
23522 # have C99 integer types at all.
23523
23524 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23525 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23526 if test "${target_ilp32+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 else
23529
23530 save_CFLAGS="$CFLAGS"
23531 CFLAGS="-O2"
23532 if test x$gcc_no_link = xyes; then
23533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23535 { (exit 1); exit 1; }; }
23536 fi
23537 cat >conftest.$ac_ext <<_ACEOF
23538 /* confdefs.h. */
23539 _ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543
23544 int
23545 main ()
23546 {
23547
23548 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23549 ;
23550 else
23551 undefined_function ();
23552
23553 ;
23554 return 0;
23555 }
23556 _ACEOF
23557 rm -f conftest.$ac_objext conftest$ac_exeext
23558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23559 (eval $ac_link) 2>conftest.er1
23560 ac_status=$?
23561 grep -v '^ *+' conftest.er1 >conftest.err
23562 rm -f conftest.er1
23563 cat conftest.err >&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } &&
23566 { ac_try='test -z "$ac_c_werror_flag"
23567 || test ! -s conftest.err'
23568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23569 (eval $ac_try) 2>&5
23570 ac_status=$?
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); }; } &&
23573 { ac_try='test -s conftest$ac_exeext'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23576 ac_status=$?
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; }; then
23579 target_ilp32=yes
23580 else
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 target_ilp32=no
23585 fi
23586 rm -f conftest.err conftest.$ac_objext \
23587 conftest$ac_exeext conftest.$ac_ext
23588 CFLAGS="$save_CFLAGS"
23589 fi
23590 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23591 echo "${ECHO_T}$target_ilp32" >&6
23592 if test $target_ilp32 = yes; then
23593
23594 cat >>confdefs.h <<\_ACEOF
23595 #define TARGET_ILP32 1
23596 _ACEOF
23597
23598 fi
23599
23600
23601 # Check out attribute support.
23602
23603 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23604 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23605 if test "${have_attribute_visibility+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608
23609 save_CFLAGS="$CFLAGS"
23610 CFLAGS="$CFLAGS -Werror"
23611 cat >conftest.$ac_ext <<_ACEOF
23612 /* confdefs.h. */
23613 _ACEOF
23614 cat confdefs.h >>conftest.$ac_ext
23615 cat >>conftest.$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23617 void __attribute__((visibility("hidden"))) foo(void) { }
23618 int
23619 main ()
23620 {
23621
23622 ;
23623 return 0;
23624 }
23625 _ACEOF
23626 rm -f conftest.$ac_objext
23627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23628 (eval $ac_compile) 2>conftest.er1
23629 ac_status=$?
23630 grep -v '^ *+' conftest.er1 >conftest.err
23631 rm -f conftest.er1
23632 cat conftest.err >&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); } &&
23635 { ac_try='test -z "$ac_c_werror_flag"
23636 || test ! -s conftest.err'
23637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23638 (eval $ac_try) 2>&5
23639 ac_status=$?
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); }; } &&
23642 { ac_try='test -s conftest.$ac_objext'
23643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644 (eval $ac_try) 2>&5
23645 ac_status=$?
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; }; then
23648 have_attribute_visibility=yes
23649 else
23650 echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23652
23653 have_attribute_visibility=no
23654 fi
23655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23656 CFLAGS="$save_CFLAGS"
23657 fi
23658 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23659 echo "${ECHO_T}$have_attribute_visibility" >&6
23660 if test $have_attribute_visibility = yes; then
23661
23662 cat >>confdefs.h <<\_ACEOF
23663 #define HAVE_ATTRIBUTE_VISIBILITY 1
23664 _ACEOF
23665
23666 fi
23667
23668 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23669 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23670 if test "${have_attribute_dllexport+set}" = set; then
23671 echo $ECHO_N "(cached) $ECHO_C" >&6
23672 else
23673
23674 save_CFLAGS="$CFLAGS"
23675 CFLAGS="$CFLAGS -Werror"
23676 cat >conftest.$ac_ext <<_ACEOF
23677 /* confdefs.h. */
23678 _ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 void __attribute__((dllexport)) foo(void) { }
23683 int
23684 main ()
23685 {
23686
23687 ;
23688 return 0;
23689 }
23690 _ACEOF
23691 rm -f conftest.$ac_objext
23692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23693 (eval $ac_compile) 2>conftest.er1
23694 ac_status=$?
23695 grep -v '^ *+' conftest.er1 >conftest.err
23696 rm -f conftest.er1
23697 cat conftest.err >&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); } &&
23700 { ac_try='test -z "$ac_c_werror_flag"
23701 || test ! -s conftest.err'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23704 ac_status=$?
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; } &&
23707 { ac_try='test -s conftest.$ac_objext'
23708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23709 (eval $ac_try) 2>&5
23710 ac_status=$?
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); }; }; then
23713 have_attribute_dllexport=yes
23714 else
23715 echo "$as_me: failed program was:" >&5
23716 sed 's/^/| /' conftest.$ac_ext >&5
23717
23718 have_attribute_dllexport=no
23719 fi
23720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23721 CFLAGS="$save_CFLAGS"
23722 fi
23723 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23724 echo "${ECHO_T}$have_attribute_dllexport" >&6
23725 if test $have_attribute_dllexport = yes; then
23726
23727 cat >>confdefs.h <<\_ACEOF
23728 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23729 _ACEOF
23730
23731 fi
23732
23733 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23734 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23735 if test "${have_attribute_alias+set}" = set; then
23736 echo $ECHO_N "(cached) $ECHO_C" >&6
23737 else
23738
23739 if test x$gcc_no_link = xyes; then
23740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23742 { (exit 1); exit 1; }; }
23743 fi
23744 cat >conftest.$ac_ext <<_ACEOF
23745 /* confdefs.h. */
23746 _ACEOF
23747 cat confdefs.h >>conftest.$ac_ext
23748 cat >>conftest.$ac_ext <<_ACEOF
23749 /* end confdefs.h. */
23750
23751 void foo(void) { }
23752 extern void bar(void) __attribute__((alias("foo")));
23753 int
23754 main ()
23755 {
23756 bar();
23757 ;
23758 return 0;
23759 }
23760 _ACEOF
23761 rm -f conftest.$ac_objext conftest$ac_exeext
23762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23763 (eval $ac_link) 2>conftest.er1
23764 ac_status=$?
23765 grep -v '^ *+' conftest.er1 >conftest.err
23766 rm -f conftest.er1
23767 cat conftest.err >&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } &&
23770 { ac_try='test -z "$ac_c_werror_flag"
23771 || test ! -s conftest.err'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23774 ac_status=$?
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; } &&
23777 { ac_try='test -s conftest$ac_exeext'
23778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23779 (eval $ac_try) 2>&5
23780 ac_status=$?
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); }; }; then
23783 have_attribute_alias=yes
23784 else
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.$ac_ext >&5
23787
23788 have_attribute_alias=no
23789 fi
23790 rm -f conftest.err conftest.$ac_objext \
23791 conftest$ac_exeext conftest.$ac_ext
23792 fi
23793 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23794 echo "${ECHO_T}$have_attribute_alias" >&6
23795 if test $have_attribute_alias = yes; then
23796
23797 cat >>confdefs.h <<\_ACEOF
23798 #define HAVE_ATTRIBUTE_ALIAS 1
23799 _ACEOF
23800
23801 fi
23802
23803 # Check out sync builtins support.
23804
23805 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23806 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23807 if test "${have_sync_fetch_and_add+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 else
23810
23811 if test x$gcc_no_link = xyes; then
23812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23814 { (exit 1); exit 1; }; }
23815 fi
23816 cat >conftest.$ac_ext <<_ACEOF
23817 /* confdefs.h. */
23818 _ACEOF
23819 cat confdefs.h >>conftest.$ac_ext
23820 cat >>conftest.$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23822 int foovar = 0;
23823 int
23824 main ()
23825 {
23826
23827 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23828 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23829 ;
23830 return 0;
23831 }
23832 _ACEOF
23833 rm -f conftest.$ac_objext conftest$ac_exeext
23834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23835 (eval $ac_link) 2>conftest.er1
23836 ac_status=$?
23837 grep -v '^ *+' conftest.er1 >conftest.err
23838 rm -f conftest.er1
23839 cat conftest.err >&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } &&
23842 { ac_try='test -z "$ac_c_werror_flag"
23843 || test ! -s conftest.err'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23846 ac_status=$?
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; } &&
23849 { ac_try='test -s conftest$ac_exeext'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; }; then
23855 have_sync_fetch_and_add=yes
23856 else
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23859
23860 have_sync_fetch_and_add=no
23861 fi
23862 rm -f conftest.err conftest.$ac_objext \
23863 conftest$ac_exeext conftest.$ac_ext
23864 fi
23865 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23866 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23867 if test $have_sync_fetch_and_add = yes; then
23868
23869 cat >>confdefs.h <<\_ACEOF
23870 #define HAVE_SYNC_FETCH_AND_ADD 1
23871 _ACEOF
23872
23873 fi
23874
23875 # Check out thread support.
23876
23877 echo "$as_me:$LINENO: checking configured target thread model" >&5
23878 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23879 if test "${target_thread_file+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 else
23882
23883 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23884 fi
23885 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23886 echo "${ECHO_T}$target_thread_file" >&6
23887
23888 if test $target_thread_file != single; then
23889
23890 cat >>confdefs.h <<\_ACEOF
23891 #define HAVE_GTHR_DEFAULT 1
23892 _ACEOF
23893
23894 fi
23895
23896 # Check out #pragma weak.
23897
23898 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23899 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23900 if test "${have_pragma_weak+set}" = set; then
23901 echo $ECHO_N "(cached) $ECHO_C" >&6
23902 else
23903
23904 gfor_save_CFLAGS="$CFLAGS"
23905 CFLAGS="$CFLAGS -Wunknown-pragmas"
23906 cat >conftest.$ac_ext <<_ACEOF
23907 /* confdefs.h. */
23908 _ACEOF
23909 cat confdefs.h >>conftest.$ac_ext
23910 cat >>conftest.$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23912 void foo (void);
23913 #pragma weak foo
23914 int
23915 main ()
23916 {
23917 if (foo) foo ();
23918 ;
23919 return 0;
23920 }
23921 _ACEOF
23922 rm -f conftest.$ac_objext
23923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23924 (eval $ac_compile) 2>conftest.er1
23925 ac_status=$?
23926 grep -v '^ *+' conftest.er1 >conftest.err
23927 rm -f conftest.er1
23928 cat conftest.err >&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } &&
23931 { ac_try='test -z "$ac_c_werror_flag"
23932 || test ! -s conftest.err'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23935 ac_status=$?
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; } &&
23938 { ac_try='test -s conftest.$ac_objext'
23939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23940 (eval $ac_try) 2>&5
23941 ac_status=$?
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); }; }; then
23944 have_pragma_weak=yes
23945 else
23946 echo "$as_me: failed program was:" >&5
23947 sed 's/^/| /' conftest.$ac_ext >&5
23948
23949 have_pragma_weak=no
23950 fi
23951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23952 fi
23953 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23954 echo "${ECHO_T}$have_pragma_weak" >&6
23955 if test $have_pragma_weak = yes; then
23956
23957 cat >>confdefs.h <<\_ACEOF
23958 #define SUPPORTS_WEAK 1
23959 _ACEOF
23960
23961 fi
23962 case "$host" in
23963 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23964
23965 cat >>confdefs.h <<\_ACEOF
23966 #define GTHREAD_USE_WEAK 0
23967 _ACEOF
23968
23969 ;;
23970 esac
23971
23972 # Various other checks on target
23973
23974 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23975 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23976 if test "${have_unlink_open_file+set}" = set; then
23977 echo $ECHO_N "(cached) $ECHO_C" >&6
23978 else
23979
23980 if test "$cross_compiling" = yes; then
23981
23982 case "${target}" in
23983 *mingw*) have_unlink_open_file=no ;;
23984 *) have_unlink_open_file=yes;;
23985 esac
23986 else
23987 cat >conftest.$ac_ext <<_ACEOF
23988 /* confdefs.h. */
23989 _ACEOF
23990 cat confdefs.h >>conftest.$ac_ext
23991 cat >>conftest.$ac_ext <<_ACEOF
23992 /* end confdefs.h. */
23993
23994 #include <errno.h>
23995 #include <fcntl.h>
23996 #include <unistd.h>
23997 #include <sys/stat.h>
23998
23999 int main ()
24000 {
24001 int fd;
24002
24003 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24004 if (fd <= 0)
24005 return 0;
24006 if (unlink ("testfile") == -1)
24007 return 1;
24008 write (fd, "This is a test\n", 15);
24009 close (fd);
24010
24011 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24012 return 0;
24013 else
24014 return 1;
24015 }
24016 _ACEOF
24017 rm -f conftest$ac_exeext
24018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24019 (eval $ac_link) 2>&5
24020 ac_status=$?
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24024 (eval $ac_try) 2>&5
24025 ac_status=$?
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); }; }; then
24028 have_unlink_open_file=yes
24029 else
24030 echo "$as_me: program exited with status $ac_status" >&5
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24033
24034 ( exit $ac_status )
24035 have_unlink_open_file=no
24036 fi
24037 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24038 fi
24039 fi
24040 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
24041 echo "${ECHO_T}$have_unlink_open_file" >&6
24042 if test x"$have_unlink_open_file" = xyes; then
24043
24044 cat >>confdefs.h <<\_ACEOF
24045 #define HAVE_UNLINK_OPEN_FILE 1
24046 _ACEOF
24047
24048 fi
24049
24050 # Check whether line terminator is LF or CRLF
24051
24052 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
24053 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
24054 if test "${have_crlf+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24056 else
24057
24058 if test "$cross_compiling" = yes; then
24059
24060 case "${target}" in
24061 *mingw*) have_crlf=yes ;;
24062 *) have_crlf=no;;
24063 esac
24064 else
24065 cat >conftest.$ac_ext <<_ACEOF
24066 /* confdefs.h. */
24067 _ACEOF
24068 cat confdefs.h >>conftest.$ac_ext
24069 cat >>conftest.$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24071
24072 /* This test program should exit with status 0 if system uses a CRLF as
24073 line terminator, and status 1 otherwise.
24074 Since it is used to check for mingw systems, and should return 0 in any
24075 other case, in case of a failure we will not use CRLF. */
24076 #include <sys/stat.h>
24077 #include <stdlib.h>
24078 #include <fcntl.h>
24079 #include <stdio.h>
24080
24081 int main ()
24082 {
24083 #ifndef O_BINARY
24084 exit(1);
24085 #else
24086 int fd, bytes;
24087 char buff[5];
24088
24089 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24090 if (fd < 0)
24091 exit(1);
24092 if (write (fd, "\n", 1) < 0)
24093 perror ("write");
24094
24095 close (fd);
24096
24097 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24098 exit(1);
24099 bytes = read (fd, buff, 5);
24100 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24101 exit(0);
24102 else
24103 exit(1);
24104 #endif
24105 }
24106 _ACEOF
24107 rm -f conftest$ac_exeext
24108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24109 (eval $ac_link) 2>&5
24110 ac_status=$?
24111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24114 (eval $ac_try) 2>&5
24115 ac_status=$?
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); }; }; then
24118 have_crlf=yes
24119 else
24120 echo "$as_me: program exited with status $ac_status" >&5
24121 echo "$as_me: failed program was:" >&5
24122 sed 's/^/| /' conftest.$ac_ext >&5
24123
24124 ( exit $ac_status )
24125 have_crlf=no
24126 fi
24127 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24128 fi
24129 fi
24130 echo "$as_me:$LINENO: result: $have_crlf" >&5
24131 echo "${ECHO_T}$have_crlf" >&6
24132 if test x"$have_crlf" = xyes; then
24133
24134 cat >>confdefs.h <<\_ACEOF
24135 #define HAVE_CRLF 1
24136 _ACEOF
24137
24138 fi
24139
24140 cat >confcache <<\_ACEOF
24141 # This file is a shell script that caches the results of configure
24142 # tests run on this system so they can be shared between configure
24143 # scripts and configure runs, see configure's option --config-cache.
24144 # It is not useful on other systems. If it contains results you don't
24145 # want to keep, you may remove or edit it.
24146 #
24147 # config.status only pays attention to the cache file if you give it
24148 # the --recheck option to rerun configure.
24149 #
24150 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24151 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24152 # following values.
24153
24154 _ACEOF
24155
24156 # The following way of writing the cache mishandles newlines in values,
24157 # but we know of no workaround that is simple, portable, and efficient.
24158 # So, don't put newlines in cache variables' values.
24159 # Ultrix sh set writes to stderr and can't be redirected directly,
24160 # and sets the high bit in the cache file unless we assign to the vars.
24161 {
24162 (set) 2>&1 |
24163 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24164 *ac_space=\ *)
24165 # `set' does not quote correctly, so add quotes (double-quote
24166 # substitution turns \\\\ into \\, and sed turns \\ into \).
24167 sed -n \
24168 "s/'/'\\\\''/g;
24169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24170 ;;
24171 *)
24172 # `set' quotes correctly as required by POSIX, so do not add quotes.
24173 sed -n \
24174 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24175 ;;
24176 esac;
24177 } |
24178 sed '
24179 t clear
24180 : clear
24181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24182 t end
24183 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24184 : end' >>confcache
24185 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24186 if test -w $cache_file; then
24187 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24188 cat confcache >$cache_file
24189 else
24190 echo "not updating unwritable cache $cache_file"
24191 fi
24192 fi
24193 rm -f confcache
24194
24195 if test ${multilib} = yes; then
24196 multilib_arg="--enable-multilib"
24197 else
24198 multilib_arg=
24199 fi
24200
24201 # Write our Makefile.
24202 ac_config_files="$ac_config_files Makefile"
24203
24204 cat >confcache <<\_ACEOF
24205 # This file is a shell script that caches the results of configure
24206 # tests run on this system so they can be shared between configure
24207 # scripts and configure runs, see configure's option --config-cache.
24208 # It is not useful on other systems. If it contains results you don't
24209 # want to keep, you may remove or edit it.
24210 #
24211 # config.status only pays attention to the cache file if you give it
24212 # the --recheck option to rerun configure.
24213 #
24214 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24216 # following values.
24217
24218 _ACEOF
24219
24220 # The following way of writing the cache mishandles newlines in values,
24221 # but we know of no workaround that is simple, portable, and efficient.
24222 # So, don't put newlines in cache variables' values.
24223 # Ultrix sh set writes to stderr and can't be redirected directly,
24224 # and sets the high bit in the cache file unless we assign to the vars.
24225 {
24226 (set) 2>&1 |
24227 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24228 *ac_space=\ *)
24229 # `set' does not quote correctly, so add quotes (double-quote
24230 # substitution turns \\\\ into \\, and sed turns \\ into \).
24231 sed -n \
24232 "s/'/'\\\\''/g;
24233 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24234 ;;
24235 *)
24236 # `set' quotes correctly as required by POSIX, so do not add quotes.
24237 sed -n \
24238 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24239 ;;
24240 esac;
24241 } |
24242 sed '
24243 t clear
24244 : clear
24245 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24246 t end
24247 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24248 : end' >>confcache
24249 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24250 if test -w $cache_file; then
24251 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24252 cat confcache >$cache_file
24253 else
24254 echo "not updating unwritable cache $cache_file"
24255 fi
24256 fi
24257 rm -f confcache
24258
24259 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24260 # Let make expand exec_prefix.
24261 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24262
24263 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24265 # trailing colons and then remove the whole line if VPATH becomes empty
24266 # (actually we leave an empty line to preserve line numbers).
24267 if test "x$srcdir" = x.; then
24268 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24269 s/:*\$(srcdir):*/:/;
24270 s/:*\${srcdir}:*/:/;
24271 s/:*@srcdir@:*/:/;
24272 s/^\([^=]*=[ ]*\):*/\1/;
24273 s/:*$//;
24274 s/^[^=]*=[ ]*$//;
24275 }'
24276 fi
24277
24278 DEFS=-DHAVE_CONFIG_H
24279
24280 ac_libobjs=
24281 ac_ltlibobjs=
24282 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24283 # 1. Remove the extension, and $U if already installed.
24284 ac_i=`echo "$ac_i" |
24285 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24286 # 2. Add them.
24287 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24288 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24289 done
24290 LIBOBJS=$ac_libobjs
24291
24292 LTLIBOBJS=$ac_ltlibobjs
24293
24294
24295 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24296 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24297 Usually this means the macro was only invoked conditionally." >&5
24298 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24299 Usually this means the macro was only invoked conditionally." >&2;}
24300 { (exit 1); exit 1; }; }
24301 fi
24302
24303 : ${CONFIG_STATUS=./config.status}
24304 ac_clean_files_save=$ac_clean_files
24305 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24306 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24307 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24308 cat >$CONFIG_STATUS <<_ACEOF
24309 #! $SHELL
24310 # Generated by $as_me.
24311 # Run this file to recreate the current configuration.
24312 # Compiler output produced by configure, useful for debugging
24313 # configure, is in config.log if it exists.
24314
24315 debug=false
24316 ac_cs_recheck=false
24317 ac_cs_silent=false
24318 SHELL=\${CONFIG_SHELL-$SHELL}
24319 _ACEOF
24320
24321 cat >>$CONFIG_STATUS <<\_ACEOF
24322 ## --------------------- ##
24323 ## M4sh Initialization. ##
24324 ## --------------------- ##
24325
24326 # Be Bourne compatible
24327 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24328 emulate sh
24329 NULLCMD=:
24330 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24331 # is contrary to our usage. Disable this feature.
24332 alias -g '${1+"$@"}'='"$@"'
24333 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24334 set -o posix
24335 fi
24336 DUALCASE=1; export DUALCASE # for MKS sh
24337
24338 # Support unset when possible.
24339 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24340 as_unset=unset
24341 else
24342 as_unset=false
24343 fi
24344
24345
24346 # Work around bugs in pre-3.0 UWIN ksh.
24347 $as_unset ENV MAIL MAILPATH
24348 PS1='$ '
24349 PS2='> '
24350 PS4='+ '
24351
24352 # NLS nuisances.
24353 for as_var in \
24354 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24355 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24356 LC_TELEPHONE LC_TIME
24357 do
24358 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24359 eval $as_var=C; export $as_var
24360 else
24361 $as_unset $as_var
24362 fi
24363 done
24364
24365 # Required to use basename.
24366 if expr a : '\(a\)' >/dev/null 2>&1; then
24367 as_expr=expr
24368 else
24369 as_expr=false
24370 fi
24371
24372 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24373 as_basename=basename
24374 else
24375 as_basename=false
24376 fi
24377
24378
24379 # Name of the executable.
24380 as_me=`$as_basename "$0" ||
24381 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24382 X"$0" : 'X\(//\)$' \| \
24383 X"$0" : 'X\(/\)$' \| \
24384 . : '\(.\)' 2>/dev/null ||
24385 echo X/"$0" |
24386 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24387 /^X\/\(\/\/\)$/{ s//\1/; q; }
24388 /^X\/\(\/\).*/{ s//\1/; q; }
24389 s/.*/./; q'`
24390
24391
24392 # PATH needs CR, and LINENO needs CR and PATH.
24393 # Avoid depending upon Character Ranges.
24394 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24395 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24396 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24397 as_cr_digits='0123456789'
24398 as_cr_alnum=$as_cr_Letters$as_cr_digits
24399
24400 # The user is always right.
24401 if test "${PATH_SEPARATOR+set}" != set; then
24402 echo "#! /bin/sh" >conf$$.sh
24403 echo "exit 0" >>conf$$.sh
24404 chmod +x conf$$.sh
24405 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24406 PATH_SEPARATOR=';'
24407 else
24408 PATH_SEPARATOR=:
24409 fi
24410 rm -f conf$$.sh
24411 fi
24412
24413
24414 as_lineno_1=$LINENO
24415 as_lineno_2=$LINENO
24416 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24417 test "x$as_lineno_1" != "x$as_lineno_2" &&
24418 test "x$as_lineno_3" = "x$as_lineno_2" || {
24419 # Find who we are. Look in the path if we contain no path at all
24420 # relative or not.
24421 case $0 in
24422 *[\\/]* ) as_myself=$0 ;;
24423 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24424 for as_dir in $PATH
24425 do
24426 IFS=$as_save_IFS
24427 test -z "$as_dir" && as_dir=.
24428 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24429 done
24430
24431 ;;
24432 esac
24433 # We did not find ourselves, most probably we were run as `sh COMMAND'
24434 # in which case we are not to be found in the path.
24435 if test "x$as_myself" = x; then
24436 as_myself=$0
24437 fi
24438 if test ! -f "$as_myself"; then
24439 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24440 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24441 { (exit 1); exit 1; }; }
24442 fi
24443 case $CONFIG_SHELL in
24444 '')
24445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24446 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24447 do
24448 IFS=$as_save_IFS
24449 test -z "$as_dir" && as_dir=.
24450 for as_base in sh bash ksh sh5; do
24451 case $as_dir in
24452 /*)
24453 if ("$as_dir/$as_base" -c '
24454 as_lineno_1=$LINENO
24455 as_lineno_2=$LINENO
24456 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24457 test "x$as_lineno_1" != "x$as_lineno_2" &&
24458 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24459 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24460 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24461 CONFIG_SHELL=$as_dir/$as_base
24462 export CONFIG_SHELL
24463 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24464 fi;;
24465 esac
24466 done
24467 done
24468 ;;
24469 esac
24470
24471 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24472 # uniformly replaced by the line number. The first 'sed' inserts a
24473 # line-number line before each line; the second 'sed' does the real
24474 # work. The second script uses 'N' to pair each line-number line
24475 # with the numbered line, and appends trailing '-' during
24476 # substitution so that $LINENO is not a special case at line end.
24477 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24478 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24479 sed '=' <$as_myself |
24480 sed '
24481 N
24482 s,$,-,
24483 : loop
24484 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24485 t loop
24486 s,-$,,
24487 s,^['$as_cr_digits']*\n,,
24488 ' >$as_me.lineno &&
24489 chmod +x $as_me.lineno ||
24490 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24491 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24492 { (exit 1); exit 1; }; }
24493
24494 # Don't try to exec as it changes $[0], causing all sort of problems
24495 # (the dirname of $[0] is not the place where we might find the
24496 # original and so on. Autoconf is especially sensible to this).
24497 . ./$as_me.lineno
24498 # Exit status is that of the last command.
24499 exit
24500 }
24501
24502
24503 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24504 *c*,-n*) ECHO_N= ECHO_C='
24505 ' ECHO_T=' ' ;;
24506 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24507 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24508 esac
24509
24510 if expr a : '\(a\)' >/dev/null 2>&1; then
24511 as_expr=expr
24512 else
24513 as_expr=false
24514 fi
24515
24516 rm -f conf$$ conf$$.exe conf$$.file
24517 echo >conf$$.file
24518 if ln -s conf$$.file conf$$ 2>/dev/null; then
24519 # We could just check for DJGPP; but this test a) works b) is more generic
24520 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24521 if test -f conf$$.exe; then
24522 # Don't use ln at all; we don't have any links
24523 as_ln_s='cp -p'
24524 else
24525 as_ln_s='ln -s'
24526 fi
24527 elif ln conf$$.file conf$$ 2>/dev/null; then
24528 as_ln_s=ln
24529 else
24530 as_ln_s='cp -p'
24531 fi
24532 rm -f conf$$ conf$$.exe conf$$.file
24533
24534 if mkdir -p . 2>/dev/null; then
24535 as_mkdir_p=:
24536 else
24537 test -d ./-p && rmdir ./-p
24538 as_mkdir_p=false
24539 fi
24540
24541 as_executable_p="test -f"
24542
24543 # Sed expression to map a string onto a valid CPP name.
24544 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24545
24546 # Sed expression to map a string onto a valid variable name.
24547 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24548
24549
24550 # IFS
24551 # We need space, tab and new line, in precisely that order.
24552 as_nl='
24553 '
24554 IFS=" $as_nl"
24555
24556 # CDPATH.
24557 $as_unset CDPATH
24558
24559 exec 6>&1
24560
24561 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24562 # report actual input values of CONFIG_FILES etc. instead of their
24563 # values after options handling. Logging --version etc. is OK.
24564 exec 5>>config.log
24565 {
24566 echo
24567 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24568 ## Running $as_me. ##
24569 _ASBOX
24570 } >&5
24571 cat >&5 <<_CSEOF
24572
24573 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
24574 generated by GNU Autoconf 2.59. Invocation command line was
24575
24576 CONFIG_FILES = $CONFIG_FILES
24577 CONFIG_HEADERS = $CONFIG_HEADERS
24578 CONFIG_LINKS = $CONFIG_LINKS
24579 CONFIG_COMMANDS = $CONFIG_COMMANDS
24580 $ $0 $@
24581
24582 _CSEOF
24583 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24584 echo >&5
24585 _ACEOF
24586
24587 # Files that config.status was made for.
24588 if test -n "$ac_config_files"; then
24589 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24590 fi
24591
24592 if test -n "$ac_config_headers"; then
24593 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24594 fi
24595
24596 if test -n "$ac_config_links"; then
24597 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24598 fi
24599
24600 if test -n "$ac_config_commands"; then
24601 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24602 fi
24603
24604 cat >>$CONFIG_STATUS <<\_ACEOF
24605
24606 ac_cs_usage="\
24607 \`$as_me' instantiates files from templates according to the
24608 current configuration.
24609
24610 Usage: $0 [OPTIONS] [FILE]...
24611
24612 -h, --help print this help, then exit
24613 -V, --version print version number, then exit
24614 -q, --quiet do not print progress messages
24615 -d, --debug don't remove temporary files
24616 --recheck update $as_me by reconfiguring in the same conditions
24617 --file=FILE[:TEMPLATE]
24618 instantiate the configuration file FILE
24619 --header=FILE[:TEMPLATE]
24620 instantiate the configuration header FILE
24621
24622 Configuration files:
24623 $config_files
24624
24625 Configuration headers:
24626 $config_headers
24627
24628 Configuration commands:
24629 $config_commands
24630
24631 Report bugs to <bug-autoconf@gnu.org>."
24632 _ACEOF
24633
24634 cat >>$CONFIG_STATUS <<_ACEOF
24635 ac_cs_version="\\
24636 GNU Fortran Runtime Library config.status 0.3
24637 configured by $0, generated by GNU Autoconf 2.59,
24638 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24639
24640 Copyright (C) 2003 Free Software Foundation, Inc.
24641 This config.status script is free software; the Free Software Foundation
24642 gives unlimited permission to copy, distribute and modify it."
24643 srcdir=$srcdir
24644 INSTALL="$INSTALL"
24645 _ACEOF
24646
24647 cat >>$CONFIG_STATUS <<\_ACEOF
24648 # If no file are specified by the user, then we need to provide default
24649 # value. By we need to know if files were specified by the user.
24650 ac_need_defaults=:
24651 while test $# != 0
24652 do
24653 case $1 in
24654 --*=*)
24655 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24656 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24657 ac_shift=:
24658 ;;
24659 -*)
24660 ac_option=$1
24661 ac_optarg=$2
24662 ac_shift=shift
24663 ;;
24664 *) # This is not an option, so the user has probably given explicit
24665 # arguments.
24666 ac_option=$1
24667 ac_need_defaults=false;;
24668 esac
24669
24670 case $ac_option in
24671 # Handling of the options.
24672 _ACEOF
24673 cat >>$CONFIG_STATUS <<\_ACEOF
24674 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24675 ac_cs_recheck=: ;;
24676 --version | --vers* | -V )
24677 echo "$ac_cs_version"; exit 0 ;;
24678 --he | --h)
24679 # Conflict between --help and --header
24680 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24681 Try \`$0 --help' for more information." >&5
24682 echo "$as_me: error: ambiguous option: $1
24683 Try \`$0 --help' for more information." >&2;}
24684 { (exit 1); exit 1; }; };;
24685 --help | --hel | -h )
24686 echo "$ac_cs_usage"; exit 0 ;;
24687 --debug | --d* | -d )
24688 debug=: ;;
24689 --file | --fil | --fi | --f )
24690 $ac_shift
24691 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24692 ac_need_defaults=false;;
24693 --header | --heade | --head | --hea )
24694 $ac_shift
24695 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24696 ac_need_defaults=false;;
24697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24699 ac_cs_silent=: ;;
24700
24701 # This is an error.
24702 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24703 Try \`$0 --help' for more information." >&5
24704 echo "$as_me: error: unrecognized option: $1
24705 Try \`$0 --help' for more information." >&2;}
24706 { (exit 1); exit 1; }; } ;;
24707
24708 *) ac_config_targets="$ac_config_targets $1" ;;
24709
24710 esac
24711 shift
24712 done
24713
24714 ac_configure_extra_args=
24715
24716 if $ac_cs_silent; then
24717 exec 6>/dev/null
24718 ac_configure_extra_args="$ac_configure_extra_args --silent"
24719 fi
24720
24721 _ACEOF
24722 cat >>$CONFIG_STATUS <<_ACEOF
24723 if \$ac_cs_recheck; then
24724 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24725 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24726 fi
24727
24728 _ACEOF
24729
24730 cat >>$CONFIG_STATUS <<_ACEOF
24731 #
24732 # INIT-COMMANDS section.
24733 #
24734
24735
24736 srcdir="$srcdir"
24737 host="$host"
24738 target="$target"
24739 with_multisubdir="$with_multisubdir"
24740 with_multisrctop="$with_multisrctop"
24741 with_target_subdir="$with_target_subdir"
24742 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24743 multi_basedir="$multi_basedir"
24744 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24745 CC="$CC"
24746
24747 GCC="$GCC"
24748 CC="$CC"
24749 acx_cv_header_stdint="$acx_cv_header_stdint"
24750 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24751 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24752 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24753 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24754 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24755 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24756 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24757 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24758 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24759 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24760 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24761 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24762 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24763
24764
24765 _ACEOF
24766
24767
24768
24769 cat >>$CONFIG_STATUS <<\_ACEOF
24770 for ac_config_target in $ac_config_targets
24771 do
24772 case "$ac_config_target" in
24773 # Handling of arguments.
24774 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24775 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24776 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24777 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24778 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24779 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24780 { (exit 1); exit 1; }; };;
24781 esac
24782 done
24783
24784 # If the user did not use the arguments to specify the items to instantiate,
24785 # then the envvar interface is used. Set only those that are not.
24786 # We use the long form for the default assignment because of an extremely
24787 # bizarre bug on SunOS 4.1.3.
24788 if $ac_need_defaults; then
24789 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24790 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24791 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24792 fi
24793
24794 # Have a temporary directory for convenience. Make it in the build tree
24795 # simply because there is no reason to put it here, and in addition,
24796 # creating and moving files from /tmp can sometimes cause problems.
24797 # Create a temporary directory, and hook for its removal unless debugging.
24798 $debug ||
24799 {
24800 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24801 trap '{ (exit 1); exit 1; }' 1 2 13 15
24802 }
24803
24804 # Create a (secure) tmp directory for tmp files.
24805
24806 {
24807 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24808 test -n "$tmp" && test -d "$tmp"
24809 } ||
24810 {
24811 tmp=./confstat$$-$RANDOM
24812 (umask 077 && mkdir $tmp)
24813 } ||
24814 {
24815 echo "$me: cannot create a temporary directory in ." >&2
24816 { (exit 1); exit 1; }
24817 }
24818
24819 _ACEOF
24820
24821 cat >>$CONFIG_STATUS <<_ACEOF
24822
24823 #
24824 # CONFIG_FILES section.
24825 #
24826
24827 # No need to generate the scripts if there are no CONFIG_FILES.
24828 # This happens for instance when ./config.status config.h
24829 if test -n "\$CONFIG_FILES"; then
24830 # Protect against being on the right side of a sed subst in config.status.
24831 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24832 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24833 s,@SHELL@,$SHELL,;t t
24834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24835 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24836 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24837 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24838 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24839 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24840 s,@exec_prefix@,$exec_prefix,;t t
24841 s,@prefix@,$prefix,;t t
24842 s,@program_transform_name@,$program_transform_name,;t t
24843 s,@bindir@,$bindir,;t t
24844 s,@sbindir@,$sbindir,;t t
24845 s,@libexecdir@,$libexecdir,;t t
24846 s,@datadir@,$datadir,;t t
24847 s,@sysconfdir@,$sysconfdir,;t t
24848 s,@sharedstatedir@,$sharedstatedir,;t t
24849 s,@localstatedir@,$localstatedir,;t t
24850 s,@libdir@,$libdir,;t t
24851 s,@includedir@,$includedir,;t t
24852 s,@oldincludedir@,$oldincludedir,;t t
24853 s,@infodir@,$infodir,;t t
24854 s,@mandir@,$mandir,;t t
24855 s,@build_alias@,$build_alias,;t t
24856 s,@host_alias@,$host_alias,;t t
24857 s,@target_alias@,$target_alias,;t t
24858 s,@DEFS@,$DEFS,;t t
24859 s,@ECHO_C@,$ECHO_C,;t t
24860 s,@ECHO_N@,$ECHO_N,;t t
24861 s,@ECHO_T@,$ECHO_T,;t t
24862 s,@LIBS@,$LIBS,;t t
24863 s,@build@,$build,;t t
24864 s,@build_cpu@,$build_cpu,;t t
24865 s,@build_vendor@,$build_vendor,;t t
24866 s,@build_os@,$build_os,;t t
24867 s,@build_libsubdir@,$build_libsubdir,;t t
24868 s,@build_subdir@,$build_subdir,;t t
24869 s,@host_subdir@,$host_subdir,;t t
24870 s,@target_subdir@,$target_subdir,;t t
24871 s,@host@,$host,;t t
24872 s,@host_cpu@,$host_cpu,;t t
24873 s,@host_vendor@,$host_vendor,;t t
24874 s,@host_os@,$host_os,;t t
24875 s,@target@,$target,;t t
24876 s,@target_cpu@,$target_cpu,;t t
24877 s,@target_vendor@,$target_vendor,;t t
24878 s,@target_os@,$target_os,;t t
24879 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24880 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24881 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24882 s,@CYGPATH_W@,$CYGPATH_W,;t t
24883 s,@PACKAGE@,$PACKAGE,;t t
24884 s,@VERSION@,$VERSION,;t t
24885 s,@ACLOCAL@,$ACLOCAL,;t t
24886 s,@AUTOCONF@,$AUTOCONF,;t t
24887 s,@AUTOMAKE@,$AUTOMAKE,;t t
24888 s,@AUTOHEADER@,$AUTOHEADER,;t t
24889 s,@MAKEINFO@,$MAKEINFO,;t t
24890 s,@install_sh@,$install_sh,;t t
24891 s,@STRIP@,$STRIP,;t t
24892 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24893 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24894 s,@mkdir_p@,$mkdir_p,;t t
24895 s,@AWK@,$AWK,;t t
24896 s,@SET_MAKE@,$SET_MAKE,;t t
24897 s,@am__leading_dot@,$am__leading_dot,;t t
24898 s,@AMTAR@,$AMTAR,;t t
24899 s,@am__tar@,$am__tar,;t t
24900 s,@am__untar@,$am__untar,;t t
24901 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24902 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24903 s,@MAINT@,$MAINT,;t t
24904 s,@multi_basedir@,$multi_basedir,;t t
24905 s,@toolexecdir@,$toolexecdir,;t t
24906 s,@toolexeclibdir@,$toolexeclibdir,;t t
24907 s,@CC@,$CC,;t t
24908 s,@ac_ct_CC@,$ac_ct_CC,;t t
24909 s,@EXEEXT@,$EXEEXT,;t t
24910 s,@OBJEXT@,$OBJEXT,;t t
24911 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24912 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24913 s,@AS@,$AS,;t t
24914 s,@ac_ct_AS@,$ac_ct_AS,;t t
24915 s,@AR@,$AR,;t t
24916 s,@ac_ct_AR@,$ac_ct_AR,;t t
24917 s,@RANLIB@,$RANLIB,;t t
24918 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24919 s,@LN_S@,$LN_S,;t t
24920 s,@LIBTOOL@,$LIBTOOL,;t t
24921 s,@enable_shared@,$enable_shared,;t t
24922 s,@enable_static@,$enable_static,;t t
24923 s,@FC@,$FC,;t t
24924 s,@FCFLAGS@,$FCFLAGS,;t t
24925 s,@LDFLAGS@,$LDFLAGS,;t t
24926 s,@ac_ct_FC@,$ac_ct_FC,;t t
24927 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24928 s,@CPP@,$CPP,;t t
24929 s,@CPPFLAGS@,$CPPFLAGS,;t t
24930 s,@EGREP@,$EGREP,;t t
24931 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24932 s,@LIBOBJS@,$LIBOBJS,;t t
24933 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24934 CEOF
24935
24936 _ACEOF
24937
24938 cat >>$CONFIG_STATUS <<\_ACEOF
24939 # Split the substitutions into bite-sized pieces for seds with
24940 # small command number limits, like on Digital OSF/1 and HP-UX.
24941 ac_max_sed_lines=48
24942 ac_sed_frag=1 # Number of current file.
24943 ac_beg=1 # First line for current file.
24944 ac_end=$ac_max_sed_lines # Line after last line for current file.
24945 ac_more_lines=:
24946 ac_sed_cmds=
24947 while $ac_more_lines; do
24948 if test $ac_beg -gt 1; then
24949 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24950 else
24951 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24952 fi
24953 if test ! -s $tmp/subs.frag; then
24954 ac_more_lines=false
24955 else
24956 # The purpose of the label and of the branching condition is to
24957 # speed up the sed processing (if there are no `@' at all, there
24958 # is no need to browse any of the substitutions).
24959 # These are the two extra sed commands mentioned above.
24960 (echo ':t
24961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24962 if test -z "$ac_sed_cmds"; then
24963 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24964 else
24965 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24966 fi
24967 ac_sed_frag=`expr $ac_sed_frag + 1`
24968 ac_beg=$ac_end
24969 ac_end=`expr $ac_end + $ac_max_sed_lines`
24970 fi
24971 done
24972 if test -z "$ac_sed_cmds"; then
24973 ac_sed_cmds=cat
24974 fi
24975 fi # test -n "$CONFIG_FILES"
24976
24977 _ACEOF
24978 cat >>$CONFIG_STATUS <<\_ACEOF
24979 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24980 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24981 case $ac_file in
24982 - | *:- | *:-:* ) # input from stdin
24983 cat >$tmp/stdin
24984 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24985 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24986 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24987 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24988 * ) ac_file_in=$ac_file.in ;;
24989 esac
24990
24991 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24992 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24994 X"$ac_file" : 'X\(//\)[^/]' \| \
24995 X"$ac_file" : 'X\(//\)$' \| \
24996 X"$ac_file" : 'X\(/\)' \| \
24997 . : '\(.\)' 2>/dev/null ||
24998 echo X"$ac_file" |
24999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25001 /^X\(\/\/\)$/{ s//\1/; q; }
25002 /^X\(\/\).*/{ s//\1/; q; }
25003 s/.*/./; q'`
25004 { if $as_mkdir_p; then
25005 mkdir -p "$ac_dir"
25006 else
25007 as_dir="$ac_dir"
25008 as_dirs=
25009 while test ! -d "$as_dir"; do
25010 as_dirs="$as_dir $as_dirs"
25011 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25013 X"$as_dir" : 'X\(//\)[^/]' \| \
25014 X"$as_dir" : 'X\(//\)$' \| \
25015 X"$as_dir" : 'X\(/\)' \| \
25016 . : '\(.\)' 2>/dev/null ||
25017 echo X"$as_dir" |
25018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25020 /^X\(\/\/\)$/{ s//\1/; q; }
25021 /^X\(\/\).*/{ s//\1/; q; }
25022 s/.*/./; q'`
25023 done
25024 test ! -n "$as_dirs" || mkdir $as_dirs
25025 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25026 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25027 { (exit 1); exit 1; }; }; }
25028
25029 ac_builddir=.
25030
25031 if test "$ac_dir" != .; then
25032 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25033 # A "../" for each directory in $ac_dir_suffix.
25034 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25035 else
25036 ac_dir_suffix= ac_top_builddir=
25037 fi
25038
25039 case $srcdir in
25040 .) # No --srcdir option. We are building in place.
25041 ac_srcdir=.
25042 if test -z "$ac_top_builddir"; then
25043 ac_top_srcdir=.
25044 else
25045 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25046 fi ;;
25047 [\\/]* | ?:[\\/]* ) # Absolute path.
25048 ac_srcdir=$srcdir$ac_dir_suffix;
25049 ac_top_srcdir=$srcdir ;;
25050 *) # Relative path.
25051 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25052 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25053 esac
25054
25055 # Do not use `cd foo && pwd` to compute absolute paths, because
25056 # the directories may not exist.
25057 case `pwd` in
25058 .) ac_abs_builddir="$ac_dir";;
25059 *)
25060 case "$ac_dir" in
25061 .) ac_abs_builddir=`pwd`;;
25062 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25063 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25064 esac;;
25065 esac
25066 case $ac_abs_builddir in
25067 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25068 *)
25069 case ${ac_top_builddir}. in
25070 .) ac_abs_top_builddir=$ac_abs_builddir;;
25071 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25072 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25073 esac;;
25074 esac
25075 case $ac_abs_builddir in
25076 .) ac_abs_srcdir=$ac_srcdir;;
25077 *)
25078 case $ac_srcdir in
25079 .) ac_abs_srcdir=$ac_abs_builddir;;
25080 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25081 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25082 esac;;
25083 esac
25084 case $ac_abs_builddir in
25085 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25086 *)
25087 case $ac_top_srcdir in
25088 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25089 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25090 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25091 esac;;
25092 esac
25093
25094
25095 case $INSTALL in
25096 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25097 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25098 esac
25099
25100 if test x"$ac_file" != x-; then
25101 { echo "$as_me:$LINENO: creating $ac_file" >&5
25102 echo "$as_me: creating $ac_file" >&6;}
25103 rm -f "$ac_file"
25104 fi
25105 # Let's still pretend it is `configure' which instantiates (i.e., don't
25106 # use $as_me), people would be surprised to read:
25107 # /* config.h. Generated by config.status. */
25108 if test x"$ac_file" = x-; then
25109 configure_input=
25110 else
25111 configure_input="$ac_file. "
25112 fi
25113 configure_input=$configure_input"Generated from `echo $ac_file_in |
25114 sed 's,.*/,,'` by configure."
25115
25116 # First look for the input files in the build tree, otherwise in the
25117 # src tree.
25118 ac_file_inputs=`IFS=:
25119 for f in $ac_file_in; do
25120 case $f in
25121 -) echo $tmp/stdin ;;
25122 [\\/$]*)
25123 # Absolute (can't be DOS-style, as IFS=:)
25124 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25125 echo "$as_me: error: cannot find input file: $f" >&2;}
25126 { (exit 1); exit 1; }; }
25127 echo "$f";;
25128 *) # Relative
25129 if test -f "$f"; then
25130 # Build tree
25131 echo "$f"
25132 elif test -f "$srcdir/$f"; then
25133 # Source tree
25134 echo "$srcdir/$f"
25135 else
25136 # /dev/null tree
25137 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25138 echo "$as_me: error: cannot find input file: $f" >&2;}
25139 { (exit 1); exit 1; }; }
25140 fi;;
25141 esac
25142 done` || { (exit 1); exit 1; }
25143 _ACEOF
25144 cat >>$CONFIG_STATUS <<_ACEOF
25145 sed "$ac_vpsub
25146 $extrasub
25147 _ACEOF
25148 cat >>$CONFIG_STATUS <<\_ACEOF
25149 :t
25150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25151 s,@configure_input@,$configure_input,;t t
25152 s,@srcdir@,$ac_srcdir,;t t
25153 s,@abs_srcdir@,$ac_abs_srcdir,;t t
25154 s,@top_srcdir@,$ac_top_srcdir,;t t
25155 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25156 s,@builddir@,$ac_builddir,;t t
25157 s,@abs_builddir@,$ac_abs_builddir,;t t
25158 s,@top_builddir@,$ac_top_builddir,;t t
25159 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25160 s,@INSTALL@,$ac_INSTALL,;t t
25161 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25162 rm -f $tmp/stdin
25163 if test x"$ac_file" != x-; then
25164 mv $tmp/out $ac_file
25165 else
25166 cat $tmp/out
25167 rm -f $tmp/out
25168 fi
25169
25170 done
25171 _ACEOF
25172 cat >>$CONFIG_STATUS <<\_ACEOF
25173
25174 #
25175 # CONFIG_HEADER section.
25176 #
25177
25178 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25179 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25180 #
25181 # ac_d sets the value in "#define NAME VALUE" lines.
25182 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25183 ac_dB='[ ].*$,\1#\2'
25184 ac_dC=' '
25185 ac_dD=',;t'
25186 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25187 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25188 ac_uB='$,\1#\2define\3'
25189 ac_uC=' '
25190 ac_uD=',;t'
25191
25192 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25193 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25194 case $ac_file in
25195 - | *:- | *:-:* ) # input from stdin
25196 cat >$tmp/stdin
25197 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25198 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25199 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25200 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25201 * ) ac_file_in=$ac_file.in ;;
25202 esac
25203
25204 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25205 echo "$as_me: creating $ac_file" >&6;}
25206
25207 # First look for the input files in the build tree, otherwise in the
25208 # src tree.
25209 ac_file_inputs=`IFS=:
25210 for f in $ac_file_in; do
25211 case $f in
25212 -) echo $tmp/stdin ;;
25213 [\\/$]*)
25214 # Absolute (can't be DOS-style, as IFS=:)
25215 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25216 echo "$as_me: error: cannot find input file: $f" >&2;}
25217 { (exit 1); exit 1; }; }
25218 # Do quote $f, to prevent DOS paths from being IFS'd.
25219 echo "$f";;
25220 *) # Relative
25221 if test -f "$f"; then
25222 # Build tree
25223 echo "$f"
25224 elif test -f "$srcdir/$f"; then
25225 # Source tree
25226 echo "$srcdir/$f"
25227 else
25228 # /dev/null tree
25229 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25230 echo "$as_me: error: cannot find input file: $f" >&2;}
25231 { (exit 1); exit 1; }; }
25232 fi;;
25233 esac
25234 done` || { (exit 1); exit 1; }
25235 # Remove the trailing spaces.
25236 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25237
25238 _ACEOF
25239
25240 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25241 # `conftest.undefs', that substitutes the proper values into
25242 # config.h.in to produce config.h. The first handles `#define'
25243 # templates, and the second `#undef' templates.
25244 # And first: Protect against being on the right side of a sed subst in
25245 # config.status. Protect against being in an unquoted here document
25246 # in config.status.
25247 rm -f conftest.defines conftest.undefs
25248 # Using a here document instead of a string reduces the quoting nightmare.
25249 # Putting comments in sed scripts is not portable.
25250 #
25251 # `end' is used to avoid that the second main sed command (meant for
25252 # 0-ary CPP macros) applies to n-ary macro definitions.
25253 # See the Autoconf documentation for `clear'.
25254 cat >confdef2sed.sed <<\_ACEOF
25255 s/[\\&,]/\\&/g
25256 s,[\\$`],\\&,g
25257 t clear
25258 : clear
25259 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25260 t end
25261 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25262 : end
25263 _ACEOF
25264 # If some macros were called several times there might be several times
25265 # the same #defines, which is useless. Nevertheless, we may not want to
25266 # sort them, since we want the *last* AC-DEFINE to be honored.
25267 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25268 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25269 rm -f confdef2sed.sed
25270
25271 # This sed command replaces #undef with comments. This is necessary, for
25272 # example, in the case of _POSIX_SOURCE, which is predefined and required
25273 # on some systems where configure will not decide to define it.
25274 cat >>conftest.undefs <<\_ACEOF
25275 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25276 _ACEOF
25277
25278 # Break up conftest.defines because some shells have a limit on the size
25279 # of here documents, and old seds have small limits too (100 cmds).
25280 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25281 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25282 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25283 echo ' :' >>$CONFIG_STATUS
25284 rm -f conftest.tail
25285 while grep . conftest.defines >/dev/null
25286 do
25287 # Write a limited-size here document to $tmp/defines.sed.
25288 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25289 # Speed up: don't consider the non `#define' lines.
25290 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25291 # Work around the forget-to-reset-the-flag bug.
25292 echo 't clr' >>$CONFIG_STATUS
25293 echo ': clr' >>$CONFIG_STATUS
25294 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25295 echo 'CEOF
25296 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25297 rm -f $tmp/in
25298 mv $tmp/out $tmp/in
25299 ' >>$CONFIG_STATUS
25300 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25301 rm -f conftest.defines
25302 mv conftest.tail conftest.defines
25303 done
25304 rm -f conftest.defines
25305 echo ' fi # grep' >>$CONFIG_STATUS
25306 echo >>$CONFIG_STATUS
25307
25308 # Break up conftest.undefs because some shells have a limit on the size
25309 # of here documents, and old seds have small limits too (100 cmds).
25310 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25311 rm -f conftest.tail
25312 while grep . conftest.undefs >/dev/null
25313 do
25314 # Write a limited-size here document to $tmp/undefs.sed.
25315 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25316 # Speed up: don't consider the non `#undef'
25317 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25318 # Work around the forget-to-reset-the-flag bug.
25319 echo 't clr' >>$CONFIG_STATUS
25320 echo ': clr' >>$CONFIG_STATUS
25321 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25322 echo 'CEOF
25323 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25324 rm -f $tmp/in
25325 mv $tmp/out $tmp/in
25326 ' >>$CONFIG_STATUS
25327 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25328 rm -f conftest.undefs
25329 mv conftest.tail conftest.undefs
25330 done
25331 rm -f conftest.undefs
25332
25333 cat >>$CONFIG_STATUS <<\_ACEOF
25334 # Let's still pretend it is `configure' which instantiates (i.e., don't
25335 # use $as_me), people would be surprised to read:
25336 # /* config.h. Generated by config.status. */
25337 if test x"$ac_file" = x-; then
25338 echo "/* Generated by configure. */" >$tmp/config.h
25339 else
25340 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25341 fi
25342 cat $tmp/in >>$tmp/config.h
25343 rm -f $tmp/in
25344 if test x"$ac_file" != x-; then
25345 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25346 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25347 echo "$as_me: $ac_file is unchanged" >&6;}
25348 else
25349 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25350 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25351 X"$ac_file" : 'X\(//\)[^/]' \| \
25352 X"$ac_file" : 'X\(//\)$' \| \
25353 X"$ac_file" : 'X\(/\)' \| \
25354 . : '\(.\)' 2>/dev/null ||
25355 echo X"$ac_file" |
25356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25358 /^X\(\/\/\)$/{ s//\1/; q; }
25359 /^X\(\/\).*/{ s//\1/; q; }
25360 s/.*/./; q'`
25361 { if $as_mkdir_p; then
25362 mkdir -p "$ac_dir"
25363 else
25364 as_dir="$ac_dir"
25365 as_dirs=
25366 while test ! -d "$as_dir"; do
25367 as_dirs="$as_dir $as_dirs"
25368 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25370 X"$as_dir" : 'X\(//\)[^/]' \| \
25371 X"$as_dir" : 'X\(//\)$' \| \
25372 X"$as_dir" : 'X\(/\)' \| \
25373 . : '\(.\)' 2>/dev/null ||
25374 echo X"$as_dir" |
25375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25377 /^X\(\/\/\)$/{ s//\1/; q; }
25378 /^X\(\/\).*/{ s//\1/; q; }
25379 s/.*/./; q'`
25380 done
25381 test ! -n "$as_dirs" || mkdir $as_dirs
25382 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25383 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25384 { (exit 1); exit 1; }; }; }
25385
25386 rm -f $ac_file
25387 mv $tmp/config.h $ac_file
25388 fi
25389 else
25390 cat $tmp/config.h
25391 rm -f $tmp/config.h
25392 fi
25393 # Compute $ac_file's index in $config_headers.
25394 _am_stamp_count=1
25395 for _am_header in $config_headers :; do
25396 case $_am_header in
25397 $ac_file | $ac_file:* )
25398 break ;;
25399 * )
25400 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25401 esac
25402 done
25403 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25404 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25405 X$ac_file : 'X\(//\)[^/]' \| \
25406 X$ac_file : 'X\(//\)$' \| \
25407 X$ac_file : 'X\(/\)' \| \
25408 . : '\(.\)' 2>/dev/null ||
25409 echo X$ac_file |
25410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25412 /^X\(\/\/\)$/{ s//\1/; q; }
25413 /^X\(\/\).*/{ s//\1/; q; }
25414 s/.*/./; q'`/stamp-h$_am_stamp_count
25415 done
25416 _ACEOF
25417 cat >>$CONFIG_STATUS <<\_ACEOF
25418
25419 #
25420 # CONFIG_COMMANDS section.
25421 #
25422 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25423 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25424 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25425 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25426 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25427 X"$ac_dest" : 'X\(//\)[^/]' \| \
25428 X"$ac_dest" : 'X\(//\)$' \| \
25429 X"$ac_dest" : 'X\(/\)' \| \
25430 . : '\(.\)' 2>/dev/null ||
25431 echo X"$ac_dest" |
25432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25433 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25434 /^X\(\/\/\)$/{ s//\1/; q; }
25435 /^X\(\/\).*/{ s//\1/; q; }
25436 s/.*/./; q'`
25437 { if $as_mkdir_p; then
25438 mkdir -p "$ac_dir"
25439 else
25440 as_dir="$ac_dir"
25441 as_dirs=
25442 while test ! -d "$as_dir"; do
25443 as_dirs="$as_dir $as_dirs"
25444 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25446 X"$as_dir" : 'X\(//\)[^/]' \| \
25447 X"$as_dir" : 'X\(//\)$' \| \
25448 X"$as_dir" : 'X\(/\)' \| \
25449 . : '\(.\)' 2>/dev/null ||
25450 echo X"$as_dir" |
25451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25453 /^X\(\/\/\)$/{ s//\1/; q; }
25454 /^X\(\/\).*/{ s//\1/; q; }
25455 s/.*/./; q'`
25456 done
25457 test ! -n "$as_dirs" || mkdir $as_dirs
25458 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25459 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25460 { (exit 1); exit 1; }; }; }
25461
25462 ac_builddir=.
25463
25464 if test "$ac_dir" != .; then
25465 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25466 # A "../" for each directory in $ac_dir_suffix.
25467 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25468 else
25469 ac_dir_suffix= ac_top_builddir=
25470 fi
25471
25472 case $srcdir in
25473 .) # No --srcdir option. We are building in place.
25474 ac_srcdir=.
25475 if test -z "$ac_top_builddir"; then
25476 ac_top_srcdir=.
25477 else
25478 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25479 fi ;;
25480 [\\/]* | ?:[\\/]* ) # Absolute path.
25481 ac_srcdir=$srcdir$ac_dir_suffix;
25482 ac_top_srcdir=$srcdir ;;
25483 *) # Relative path.
25484 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25485 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25486 esac
25487
25488 # Do not use `cd foo && pwd` to compute absolute paths, because
25489 # the directories may not exist.
25490 case `pwd` in
25491 .) ac_abs_builddir="$ac_dir";;
25492 *)
25493 case "$ac_dir" in
25494 .) ac_abs_builddir=`pwd`;;
25495 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25496 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25497 esac;;
25498 esac
25499 case $ac_abs_builddir in
25500 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25501 *)
25502 case ${ac_top_builddir}. in
25503 .) ac_abs_top_builddir=$ac_abs_builddir;;
25504 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25505 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25506 esac;;
25507 esac
25508 case $ac_abs_builddir in
25509 .) ac_abs_srcdir=$ac_srcdir;;
25510 *)
25511 case $ac_srcdir in
25512 .) ac_abs_srcdir=$ac_abs_builddir;;
25513 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25514 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25515 esac;;
25516 esac
25517 case $ac_abs_builddir in
25518 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25519 *)
25520 case $ac_top_srcdir in
25521 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25522 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25523 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25524 esac;;
25525 esac
25526
25527
25528 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25529 echo "$as_me: executing $ac_dest commands" >&6;}
25530 case $ac_dest in
25531 default-1 )
25532 # Only add multilib support code if we just rebuilt the top-level
25533 # Makefile.
25534 case " $CONFIG_FILES " in
25535 *" Makefile "*)
25536 ac_file=Makefile . ${multi_basedir}/config-ml.in
25537 ;;
25538 esac ;;
25539 gstdint.h )
25540 if test "$GCC" = yes; then
25541 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25542 else
25543 echo "/* generated for $CC */" > tmp-stdint.h
25544 fi
25545
25546 sed 's/^ *//' >> tmp-stdint.h <<EOF
25547
25548 #ifndef GCC_GENERATED_STDINT_H
25549 #define GCC_GENERATED_STDINT_H 1
25550
25551 #include <sys/types.h>
25552 EOF
25553
25554 if test "$acx_cv_header_stdint" != stdint.h; then
25555 echo "#include <stddef.h>" >> tmp-stdint.h
25556 fi
25557 if test "$acx_cv_header_stdint" != stddef.h; then
25558 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25559 fi
25560
25561 sed 's/^ *//' >> tmp-stdint.h <<EOF
25562 /* glibc uses these symbols as guards to prevent redefinitions. */
25563 #ifdef __int8_t_defined
25564 #define _INT8_T
25565 #define _INT16_T
25566 #define _INT32_T
25567 #endif
25568 #ifdef __uint32_t_defined
25569 #define _UINT32_T
25570 #endif
25571
25572 EOF
25573
25574 # ----------------- done header, emit basic int types -------------
25575 if test "$acx_cv_header_stdint" = stddef.h; then
25576 sed 's/^ *//' >> tmp-stdint.h <<EOF
25577
25578 #ifndef _UINT8_T
25579 #define _UINT8_T
25580 typedef unsigned $acx_cv_type_int8_t uint8_t;
25581 #endif
25582
25583 #ifndef _UINT16_T
25584 #define _UINT16_T
25585 typedef unsigned $acx_cv_type_int16_t uint16_t;
25586 #endif
25587
25588 #ifndef _UINT32_T
25589 #define _UINT32_T
25590 typedef unsigned $acx_cv_type_int32_t uint32_t;
25591 #endif
25592
25593 #ifndef _INT8_T
25594 #define _INT8_T
25595 typedef $acx_cv_type_int8_t int8_t;
25596 #endif
25597
25598 #ifndef _INT16_T
25599 #define _INT16_T
25600 typedef $acx_cv_type_int16_t int16_t;
25601 #endif
25602
25603 #ifndef _INT32_T
25604 #define _INT32_T
25605 typedef $acx_cv_type_int32_t int32_t;
25606 #endif
25607 EOF
25608 elif test "$ac_cv_type_u_int32_t" = yes; then
25609 sed 's/^ *//' >> tmp-stdint.h <<EOF
25610
25611 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25612 #ifndef _INT8_T
25613 #define _INT8_T
25614 #endif
25615 #ifndef _INT16_T
25616 #define _INT16_T
25617 #endif
25618 #ifndef _INT32_T
25619 #define _INT32_T
25620 #endif
25621
25622 #ifndef _UINT8_T
25623 #define _UINT8_T
25624 typedef u_int8_t uint8_t;
25625 #endif
25626
25627 #ifndef _UINT16_T
25628 #define _UINT16_T
25629 typedef u_int16_t uint16_t;
25630 #endif
25631
25632 #ifndef _UINT32_T
25633 #define _UINT32_T
25634 typedef u_int32_t uint32_t;
25635 #endif
25636 EOF
25637 else
25638 sed 's/^ *//' >> tmp-stdint.h <<EOF
25639
25640 /* Some systems have guard macros to prevent redefinitions, define them. */
25641 #ifndef _INT8_T
25642 #define _INT8_T
25643 #endif
25644 #ifndef _INT16_T
25645 #define _INT16_T
25646 #endif
25647 #ifndef _INT32_T
25648 #define _INT32_T
25649 #endif
25650 #ifndef _UINT8_T
25651 #define _UINT8_T
25652 #endif
25653 #ifndef _UINT16_T
25654 #define _UINT16_T
25655 #endif
25656 #ifndef _UINT32_T
25657 #define _UINT32_T
25658 #endif
25659 EOF
25660 fi
25661
25662 # ------------- done basic int types, emit int64_t types ------------
25663 if test "$ac_cv_type_uint64_t" = yes; then
25664 sed 's/^ *//' >> tmp-stdint.h <<EOF
25665
25666 /* system headers have good uint64_t and int64_t */
25667 #ifndef _INT64_T
25668 #define _INT64_T
25669 #endif
25670 #ifndef _UINT64_T
25671 #define _UINT64_T
25672 #endif
25673 EOF
25674 elif test "$ac_cv_type_u_int64_t" = yes; then
25675 sed 's/^ *//' >> tmp-stdint.h <<EOF
25676
25677 /* system headers have an u_int64_t (and int64_t) */
25678 #ifndef _INT64_T
25679 #define _INT64_T
25680 #endif
25681 #ifndef _UINT64_T
25682 #define _UINT64_T
25683 typedef u_int64_t uint64_t;
25684 #endif
25685 EOF
25686 elif test -n "$acx_cv_type_int64_t"; then
25687 sed 's/^ *//' >> tmp-stdint.h <<EOF
25688
25689 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25690 #ifndef _INT64_T
25691 #define _INT64_T
25692 typedef $acx_cv_type_int64_t int64_t;
25693 #endif
25694 #ifndef _UINT64_T
25695 #define _UINT64_T
25696 typedef unsigned $acx_cv_type_int64_t uint64_t;
25697 #endif
25698 EOF
25699 else
25700 sed 's/^ *//' >> tmp-stdint.h <<EOF
25701
25702 /* some common heuristics for int64_t, using compiler-specific tests */
25703 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25704 #ifndef _INT64_T
25705 #define _INT64_T
25706 typedef long long int64_t;
25707 #endif
25708 #ifndef _UINT64_T
25709 #define _UINT64_T
25710 typedef unsigned long long uint64_t;
25711 #endif
25712
25713 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25714 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25715 does not implement __extension__. But that compiler doesn't define
25716 __GNUC_MINOR__. */
25717 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25718 # define __extension__
25719 # endif
25720
25721 # ifndef _INT64_T
25722 # define _INT64_T
25723 __extension__ typedef long long int64_t;
25724 # endif
25725 # ifndef _UINT64_T
25726 # define _UINT64_T
25727 __extension__ typedef unsigned long long uint64_t;
25728 # endif
25729
25730 #elif !defined __STRICT_ANSI__
25731 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25732
25733 # ifndef _INT64_T
25734 # define _INT64_T
25735 typedef __int64 int64_t;
25736 # endif
25737 # ifndef _UINT64_T
25738 # define _UINT64_T
25739 typedef unsigned __int64 uint64_t;
25740 # endif
25741 # endif /* compiler */
25742
25743 #endif /* ANSI version */
25744 EOF
25745 fi
25746
25747 # ------------- done int64_t types, emit intptr types ------------
25748 if test "$ac_cv_type_uintptr_t" != yes; then
25749 sed 's/^ *//' >> tmp-stdint.h <<EOF
25750
25751 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25752 typedef u$acx_cv_type_intptr_t uintptr_t;
25753 typedef $acx_cv_type_intptr_t intptr_t;
25754 EOF
25755 fi
25756
25757 # ------------- done intptr types, emit int_least types ------------
25758 if test "$ac_cv_type_int_least32_t" != yes; then
25759 sed 's/^ *//' >> tmp-stdint.h <<EOF
25760
25761 /* Define int_least types */
25762 typedef int8_t int_least8_t;
25763 typedef int16_t int_least16_t;
25764 typedef int32_t int_least32_t;
25765 #ifdef _INT64_T
25766 typedef int64_t int_least64_t;
25767 #endif
25768
25769 typedef uint8_t uint_least8_t;
25770 typedef uint16_t uint_least16_t;
25771 typedef uint32_t uint_least32_t;
25772 #ifdef _UINT64_T
25773 typedef uint64_t uint_least64_t;
25774 #endif
25775 EOF
25776 fi
25777
25778 # ------------- done intptr types, emit int_fast types ------------
25779 if test "$ac_cv_type_int_fast32_t" != yes; then
25780 sed 's/^ *//' >> tmp-stdint.h <<EOF
25781
25782 /* Define int_fast types. short is often slow */
25783 typedef int8_t int_fast8_t;
25784 typedef int int_fast16_t;
25785 typedef int32_t int_fast32_t;
25786 #ifdef _INT64_T
25787 typedef int64_t int_fast64_t;
25788 #endif
25789
25790 typedef uint8_t uint_fast8_t;
25791 typedef unsigned int uint_fast16_t;
25792 typedef uint32_t uint_fast32_t;
25793 #ifdef _UINT64_T
25794 typedef uint64_t uint_fast64_t;
25795 #endif
25796 EOF
25797 fi
25798
25799 if test "$ac_cv_type_uintmax_t" != yes; then
25800 sed 's/^ *//' >> tmp-stdint.h <<EOF
25801
25802 /* Define intmax based on what we found */
25803 #ifdef _INT64_T
25804 typedef int64_t intmax_t;
25805 #else
25806 typedef long intmax_t;
25807 #endif
25808 #ifdef _UINT64_T
25809 typedef uint64_t uintmax_t;
25810 #else
25811 typedef unsigned long uintmax_t;
25812 #endif
25813 EOF
25814 fi
25815
25816 sed 's/^ *//' >> tmp-stdint.h <<EOF
25817
25818 #endif /* GCC_GENERATED_STDINT_H */
25819 EOF
25820
25821 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
25822 rm -f tmp-stdint.h
25823 else
25824 mv -f tmp-stdint.h gstdint.h
25825 fi
25826
25827 ;;
25828 esac
25829 done
25830 _ACEOF
25831
25832 cat >>$CONFIG_STATUS <<\_ACEOF
25833
25834 { (exit 0); exit 0; }
25835 _ACEOF
25836 chmod +x $CONFIG_STATUS
25837 ac_clean_files=$ac_clean_files_save
25838
25839
25840 # configure is writing to config.log, and then calls config.status.
25841 # config.status does its own redirection, appending to config.log.
25842 # Unfortunately, on DOS this fails, as config.log is still kept open
25843 # by configure, so config.status won't be able to write to it; its
25844 # output is simply discarded. So we exec the FD to /dev/null,
25845 # effectively closing config.log, so it can be properly (re)opened and
25846 # appended to by config.status. When coming back to configure, we
25847 # need to make the FD available again.
25848 if test "$no_create" != yes; then
25849 ac_cs_success=:
25850 ac_config_status_args=
25851 test "$silent" = yes &&
25852 ac_config_status_args="$ac_config_status_args --quiet"
25853 exec 5>/dev/null
25854 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25855 exec 5>>config.log
25856 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25857 # would make configure fail if this is the last instruction.
25858 $ac_cs_success || { (exit 1); exit 1; }
25859 fi
25860