OSDN Git Service

PR libfortran/24991
[pf3gnuchains/gcc-fork.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.2.
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.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
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_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.2 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.2:";;
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-gnu-ld           assume the C compiler uses GNU ld default=no
868   --with-pic              try to use only PIC/non-PIC objects default=use both
869
870 Some influential environment variables:
871   CC          C compiler command
872   CFLAGS      C compiler flags
873   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
874               nonstandard directory <lib dir>
875   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
876               headers in a nonstandard directory <include dir>
877   FC          Fortran compiler command
878   FCFLAGS     Fortran compiler flags
879   CPP         C preprocessor
880
881 Use these variables to override the choices made by `configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
883
884 _ACEOF
885 fi
886
887 if test "$ac_init_help" = "recursive"; then
888   # If there are subdirs, report their specific --help.
889   ac_popdir=`pwd`
890   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891     test -d $ac_dir || continue
892     ac_builddir=.
893
894 if test "$ac_dir" != .; then
895   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896   # A "../" for each directory in $ac_dir_suffix.
897   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
898 else
899   ac_dir_suffix= ac_top_builddir=
900 fi
901
902 case $srcdir in
903   .)  # No --srcdir option.  We are building in place.
904     ac_srcdir=.
905     if test -z "$ac_top_builddir"; then
906        ac_top_srcdir=.
907     else
908        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909     fi ;;
910   [\\/]* | ?:[\\/]* )  # Absolute path.
911     ac_srcdir=$srcdir$ac_dir_suffix;
912     ac_top_srcdir=$srcdir ;;
913   *) # Relative path.
914     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915     ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 esac
917
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
920 case `pwd` in
921 .) ac_abs_builddir="$ac_dir";;
922 *)
923   case "$ac_dir" in
924   .) ac_abs_builddir=`pwd`;;
925   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926   *) ac_abs_builddir=`pwd`/"$ac_dir";;
927   esac;;
928 esac
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *)
932   case ${ac_top_builddir}. in
933   .) ac_abs_top_builddir=$ac_abs_builddir;;
934   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936   esac;;
937 esac
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
940 *)
941   case $ac_srcdir in
942   .) ac_abs_srcdir=$ac_abs_builddir;;
943   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945   esac;;
946 esac
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *)
950   case $ac_top_srcdir in
951   .) ac_abs_top_srcdir=$ac_abs_builddir;;
952   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954   esac;;
955 esac
956
957     cd $ac_dir
958     # Check for guested configure; otherwise get Cygnus style configure.
959     if test -f $ac_srcdir/configure.gnu; then
960       echo
961       $SHELL $ac_srcdir/configure.gnu  --help=recursive
962     elif test -f $ac_srcdir/configure; then
963       echo
964       $SHELL $ac_srcdir/configure  --help=recursive
965     elif test -f $ac_srcdir/configure.ac ||
966            test -f $ac_srcdir/configure.in; then
967       echo
968       $ac_configure --help
969     else
970       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971     fi
972     cd $ac_popdir
973   done
974 fi
975
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
978   cat <<\_ACEOF
979 GNU Fortran Runtime Library configure 0.2
980 generated by GNU Autoconf 2.59
981
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
985 _ACEOF
986   exit 0
987 fi
988 exec 5>config.log
989 cat >&5 <<_ACEOF
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
992
993 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994 generated by GNU Autoconf 2.59.  Invocation command line was
995
996   $ $0 $@
997
998 _ACEOF
999 {
1000 cat <<_ASUNAME
1001 ## --------- ##
1002 ## Platform. ##
1003 ## --------- ##
1004
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1010
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1013
1014 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1015 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1018 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1019 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1020 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1021
1022 _ASUNAME
1023
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 for as_dir in $PATH
1026 do
1027   IFS=$as_save_IFS
1028   test -z "$as_dir" && as_dir=.
1029   echo "PATH: $as_dir"
1030 done
1031
1032 } >&5
1033
1034 cat >&5 <<_ACEOF
1035
1036
1037 ## ----------- ##
1038 ## Core tests. ##
1039 ## ----------- ##
1040
1041 _ACEOF
1042
1043
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_configure_args=
1050 ac_configure_args0=
1051 ac_configure_args1=
1052 ac_sep=
1053 ac_must_keep_next=false
1054 for ac_pass in 1 2
1055 do
1056   for ac_arg
1057   do
1058     case $ac_arg in
1059     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061     | -silent | --silent | --silen | --sile | --sil)
1062       continue ;;
1063     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065     esac
1066     case $ac_pass in
1067     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068     2)
1069       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070       if test $ac_must_keep_next = true; then
1071         ac_must_keep_next=false # Got value, back to normal.
1072       else
1073         case $ac_arg in
1074           *=* | --config-cache | -C | -disable-* | --disable-* \
1075           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077           | -with-* | --with-* | -without-* | --without-* | --x)
1078             case "$ac_configure_args0 " in
1079               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080             esac
1081             ;;
1082           -* ) ac_must_keep_next=true ;;
1083         esac
1084       fi
1085       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086       # Get rid of the leading space.
1087       ac_sep=" "
1088       ;;
1089     esac
1090   done
1091 done
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log.  We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101   # Save into config.log some information that might help in debugging.
1102   {
1103     echo
1104
1105     cat <<\_ASBOX
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1109 _ASBOX
1110     echo
1111     # The following way of writing the cache mishandles newlines in values,
1112 {
1113   (set) 2>&1 |
1114     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115     *ac_space=\ *)
1116       sed -n \
1117         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119       ;;
1120     *)
1121       sed -n \
1122         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123       ;;
1124     esac;
1125 }
1126     echo
1127
1128     cat <<\_ASBOX
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1132 _ASBOX
1133     echo
1134     for ac_var in $ac_subst_vars
1135     do
1136       eval ac_val=$`echo $ac_var`
1137       echo "$ac_var='"'"'$ac_val'"'"'"
1138     done | sort
1139     echo
1140
1141     if test -n "$ac_subst_files"; then
1142       cat <<\_ASBOX
1143 ## ------------- ##
1144 ## Output files. ##
1145 ## ------------- ##
1146 _ASBOX
1147       echo
1148       for ac_var in $ac_subst_files
1149       do
1150         eval ac_val=$`echo $ac_var`
1151         echo "$ac_var='"'"'$ac_val'"'"'"
1152       done | sort
1153       echo
1154     fi
1155
1156     if test -s confdefs.h; then
1157       cat <<\_ASBOX
1158 ## ----------- ##
1159 ## confdefs.h. ##
1160 ## ----------- ##
1161 _ASBOX
1162       echo
1163       sed "/^$/d" confdefs.h | sort
1164       echo
1165     fi
1166     test "$ac_signal" != 0 &&
1167       echo "$as_me: caught signal $ac_signal"
1168     echo "$as_me: exit $exit_status"
1169   } >&5
1170   rm -f core *.core &&
1171   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172     exit $exit_status
1173      ' 0
1174 for ac_signal in 1 2 13 15; do
1175   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 done
1177 ac_signal=0
1178
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 echo >confdefs.h
1183
1184 # Predefined preprocessor variables.
1185
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 _ACEOF
1189
1190
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 _ACEOF
1194
1195
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 _ACEOF
1199
1200
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 _ACEOF
1204
1205
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 _ACEOF
1209
1210
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214   if test "x$prefix" != xNONE; then
1215     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216   else
1217     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218   fi
1219 fi
1220 for ac_site_file in $CONFIG_SITE; do
1221   if test -r "$ac_site_file"; then
1222     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224     sed 's/^/| /' "$ac_site_file" >&5
1225     . "$ac_site_file"
1226   fi
1227 done
1228
1229 if test -r "$cache_file"; then
1230   # Some versions of bash will fail to source /dev/null (special
1231   # files actually), so we avoid doing that.
1232   if test -f "$cache_file"; then
1233     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1235     case $cache_file in
1236       [\\/]* | ?:[\\/]* ) . $cache_file;;
1237       *)                      . ./$cache_file;;
1238     esac
1239   fi
1240 else
1241   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1243   >$cache_file
1244 fi
1245
1246 # Check that the precious variables saved in the cache have kept the same
1247 # value.
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252   eval ac_new_set=\$ac_env_${ac_var}_set
1253   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254   eval ac_new_val="\$ac_env_${ac_var}_value"
1255   case $ac_old_set,$ac_new_set in
1256     set,)
1257       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259       ac_cache_corrupted=: ;;
1260     ,set)
1261       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263       ac_cache_corrupted=: ;;
1264     ,);;
1265     *)
1266       if test "x$ac_old_val" != "x$ac_new_val"; then
1267         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1270 echo "$as_me:   former value:  $ac_old_val" >&2;}
1271         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1272 echo "$as_me:   current value: $ac_new_val" >&2;}
1273         ac_cache_corrupted=:
1274       fi;;
1275   esac
1276   # Pass precious variables to config.status.
1277   if test "$ac_new_set" = set; then
1278     case $ac_new_val in
1279     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281     *) ac_arg=$ac_var=$ac_new_val ;;
1282     esac
1283     case " $ac_configure_args " in
1284       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1285       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286     esac
1287   fi
1288 done
1289 if $ac_cache_corrupted; then
1290   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294    { (exit 1); exit 1; }; }
1295 fi
1296
1297 ac_ext=c
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1302
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           ac_config_headers="$ac_config_headers config.h"
1330
1331 ac_aux_dir=
1332 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333   if test -f $ac_dir/install-sh; then
1334     ac_aux_dir=$ac_dir
1335     ac_install_sh="$ac_aux_dir/install-sh -c"
1336     break
1337   elif test -f $ac_dir/install.sh; then
1338     ac_aux_dir=$ac_dir
1339     ac_install_sh="$ac_aux_dir/install.sh -c"
1340     break
1341   elif test -f $ac_dir/shtool; then
1342     ac_aux_dir=$ac_dir
1343     ac_install_sh="$ac_aux_dir/shtool install -c"
1344     break
1345   fi
1346 done
1347 if test -z "$ac_aux_dir"; then
1348   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350    { (exit 1); exit 1; }; }
1351 fi
1352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355
1356 # Make sure we can run config.sub.
1357 $ac_config_sub sun4 >/dev/null 2>&1 ||
1358   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1359 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1360    { (exit 1); exit 1; }; }
1361
1362 echo "$as_me:$LINENO: checking build system type" >&5
1363 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1364 if test "${ac_cv_build+set}" = set; then
1365   echo $ECHO_N "(cached) $ECHO_C" >&6
1366 else
1367   ac_cv_build_alias=$build_alias
1368 test -z "$ac_cv_build_alias" &&
1369   ac_cv_build_alias=`$ac_config_guess`
1370 test -z "$ac_cv_build_alias" &&
1371   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1372 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1373    { (exit 1); exit 1; }; }
1374 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1375   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1376 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1377    { (exit 1); exit 1; }; }
1378
1379 fi
1380 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1381 echo "${ECHO_T}$ac_cv_build" >&6
1382 build=$ac_cv_build
1383 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1386
1387
1388  case ${build_alias} in
1389   "") build_noncanonical=${build} ;;
1390   *) build_noncanonical=${build_alias} ;;
1391 esac
1392
1393  case ${host_alias} in
1394   "") host_noncanonical=${build_noncanonical} ;;
1395   *) host_noncanonical=${host_alias} ;;
1396 esac
1397
1398  case ${target_alias} in
1399   "") target_noncanonical=${host_noncanonical} ;;
1400   *) target_noncanonical=${target_alias} ;;
1401 esac
1402
1403   # Prefix 'build-' so this never conflicts with target_subdir.
1404 build_subdir="build-${build_noncanonical}"
1405 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1406 if ( test $srcdir = . && test -d gcc ) \
1407    || test -d $srcdir/../host-${host_noncanonical}; then
1408   host_subdir="host-${host_noncanonical}"
1409 else
1410   host_subdir=.
1411 fi
1412 # No prefix.
1413 target_subdir=${target_noncanonical}
1414
1415
1416 # -------
1417 # Options
1418 # -------
1419
1420 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1421 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1422 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1423 if test "${enable_version_specific_runtime_libs+set}" = set; then
1424   enableval="$enable_version_specific_runtime_libs"
1425   case "$enableval" in
1426  yes) version_specific_libs=yes ;;
1427  no)  version_specific_libs=no ;;
1428  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1429 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1430    { (exit 1); exit 1; }; };;
1431  esac
1432 else
1433   version_specific_libs=no
1434 fi;
1435 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1436 echo "${ECHO_T}$version_specific_libs" >&6
1437
1438
1439 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1440 #
1441 # You will slowly go insane if you do not grok the following fact:  when
1442 # building this library, the top-level /target/ becomes the library's /host/.
1443 #
1444 # configure then causes --target to default to --host, exactly like any
1445 # other package using autoconf.  Therefore, 'target' and 'host' will
1446 # always be the same.  This makes sense both for native and cross compilers
1447 # just think about it for a little while.  :-)
1448 #
1449 # Also, if this library is being configured as part of a cross compiler, the
1450 # top-level configure script will pass the "real" host as $with_cross_host.
1451 #
1452 # Do not delete or change the following two lines.  For why, see
1453 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1454 echo "$as_me:$LINENO: checking host system type" >&5
1455 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1456 if test "${ac_cv_host+set}" = set; then
1457   echo $ECHO_N "(cached) $ECHO_C" >&6
1458 else
1459   ac_cv_host_alias=$host_alias
1460 test -z "$ac_cv_host_alias" &&
1461   ac_cv_host_alias=$ac_cv_build_alias
1462 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1463   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1464 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1465    { (exit 1); exit 1; }; }
1466
1467 fi
1468 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1469 echo "${ECHO_T}$ac_cv_host" >&6
1470 host=$ac_cv_host
1471 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1474
1475
1476 echo "$as_me:$LINENO: checking target system type" >&5
1477 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1478 if test "${ac_cv_target+set}" = set; then
1479   echo $ECHO_N "(cached) $ECHO_C" >&6
1480 else
1481   ac_cv_target_alias=$target_alias
1482 test "x$ac_cv_target_alias" = "x" &&
1483   ac_cv_target_alias=$ac_cv_host_alias
1484 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1485   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1486 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1487    { (exit 1); exit 1; }; }
1488
1489 fi
1490 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1491 echo "${ECHO_T}$ac_cv_target" >&6
1492 target=$ac_cv_target
1493 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1494 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1495 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1496
1497
1498 # The aliases save the names the user supplied, while $host etc.
1499 # will get canonicalized.
1500 test -n "$target_alias" &&
1501   test "$program_prefix$program_suffix$program_transform_name" = \
1502     NONENONEs,x,x, &&
1503   program_prefix=${target_alias}-
1504 target_alias=${target_alias-$host_alias}
1505
1506 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1507 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1508 #  1.8.2:  minimum required version
1509 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1510 #              of other PACKAGE_* variables will, however, and there's nothing
1511 #              we can do about that; they come from AC_INIT).
1512 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1513 #            file in the top srcdir, etc, etc), so stop complaining.
1514 #  no-dependencies:  turns off auto dependency generation (just for now)
1515 #  -Wall:  turns on all automake warnings...
1516 #  -Wno-portability:  ...except this one, since GNU make is required.
1517 am__api_version="1.9"
1518 # Find a good install program.  We prefer a C program (faster),
1519 # so one script is as good as another.  But avoid the broken or
1520 # incompatible versions:
1521 # SysV /etc/install, /usr/sbin/install
1522 # SunOS /usr/etc/install
1523 # IRIX /sbin/install
1524 # AIX /bin/install
1525 # AmigaOS /C/install, which installs bootblocks on floppy discs
1526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1529 # OS/2's system install, which has a completely different semantic
1530 # ./install, which can be erroneously created by make from ./install.sh.
1531 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1533 if test -z "$INSTALL"; then
1534 if test "${ac_cv_path_install+set}" = set; then
1535   echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538 for as_dir in $PATH
1539 do
1540   IFS=$as_save_IFS
1541   test -z "$as_dir" && as_dir=.
1542   # Account for people who put trailing slashes in PATH elements.
1543 case $as_dir/ in
1544   ./ | .// | /cC/* | \
1545   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1546   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1547   /usr/ucb/* ) ;;
1548   *)
1549     # OSF1 and SCO ODT 3.0 have their own names for install.
1550     # Don't use installbsd from OSF since it installs stuff as root
1551     # by default.
1552     for ac_prog in ginstall scoinst install; do
1553       for ac_exec_ext in '' $ac_executable_extensions; do
1554         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1555           if test $ac_prog = install &&
1556             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1557             # AIX install.  It has an incompatible calling convention.
1558             :
1559           elif test $ac_prog = install &&
1560             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1561             # program-specific install script used by HP pwplus--don't use.
1562             :
1563           else
1564             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1565             break 3
1566           fi
1567         fi
1568       done
1569     done
1570     ;;
1571 esac
1572 done
1573
1574
1575 fi
1576   if test "${ac_cv_path_install+set}" = set; then
1577     INSTALL=$ac_cv_path_install
1578   else
1579     # As a last resort, use the slow shell script.  We don't cache a
1580     # path for INSTALL within a source directory, because that will
1581     # break other packages using the cache if that directory is
1582     # removed, or if the path is relative.
1583     INSTALL=$ac_install_sh
1584   fi
1585 fi
1586 echo "$as_me:$LINENO: result: $INSTALL" >&5
1587 echo "${ECHO_T}$INSTALL" >&6
1588
1589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1590 # It thinks the first close brace ends the variable substitution.
1591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1592
1593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1594
1595 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1596
1597 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1598 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1599 # Just in case
1600 sleep 1
1601 echo timestamp > conftest.file
1602 # Do `set' in a subshell so we don't clobber the current shell's
1603 # arguments.  Must try -L first in case configure is actually a
1604 # symlink; some systems play weird games with the mod time of symlinks
1605 # (eg FreeBSD returns the mod time of the symlink's containing
1606 # directory).
1607 if (
1608    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1609    if test "$*" = "X"; then
1610       # -L didn't work.
1611       set X `ls -t $srcdir/configure conftest.file`
1612    fi
1613    rm -f conftest.file
1614    if test "$*" != "X $srcdir/configure conftest.file" \
1615       && test "$*" != "X conftest.file $srcdir/configure"; then
1616
1617       # If neither matched, then we have a broken ls.  This can happen
1618       # if, for instance, CONFIG_SHELL is bash and it inherits a
1619       # broken ls alias from the environment.  This has actually
1620       # happened.  Such a system could not be considered "sane".
1621       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1622 alias in your environment" >&5
1623 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1624 alias in your environment" >&2;}
1625    { (exit 1); exit 1; }; }
1626    fi
1627
1628    test "$2" = conftest.file
1629    )
1630 then
1631    # Ok.
1632    :
1633 else
1634    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1635 Check your system clock" >&5
1636 echo "$as_me: error: newly created file is older than distributed files!
1637 Check your system clock" >&2;}
1638    { (exit 1); exit 1; }; }
1639 fi
1640 echo "$as_me:$LINENO: result: yes" >&5
1641 echo "${ECHO_T}yes" >&6
1642 test "$program_prefix" != NONE &&
1643   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1644 # Use a double $ so make ignores it.
1645 test "$program_suffix" != NONE &&
1646   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1647 # Double any \ or $.  echo might interpret backslashes.
1648 # By default was `s,x,x', remove it if useless.
1649 cat <<\_ACEOF >conftest.sed
1650 s/[\\$]/&&/g;s/;s,x,x,$//
1651 _ACEOF
1652 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1653 rm conftest.sed
1654
1655 # expand $ac_aux_dir to an absolute path
1656 am_aux_dir=`cd $ac_aux_dir && pwd`
1657
1658 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1659 # Use eval to expand $SHELL
1660 if eval "$MISSING --run true"; then
1661   am_missing_run="$MISSING --run "
1662 else
1663   am_missing_run=
1664   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1665 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1666 fi
1667
1668 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1669   # We used to keeping the `.' as first argument, in order to
1670   # allow $(mkdir_p) to be used without argument.  As in
1671   #   $(mkdir_p) $(somedir)
1672   # where $(somedir) is conditionally defined.  However this is wrong
1673   # for two reasons:
1674   #  1. if the package is installed by a user who cannot write `.'
1675   #     make install will fail,
1676   #  2. the above comment should most certainly read
1677   #     $(mkdir_p) $(DESTDIR)$(somedir)
1678   #     so it does not work when $(somedir) is undefined and
1679   #     $(DESTDIR) is not.
1680   #  To support the latter case, we have to write
1681   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1682   #  so the `.' trick is pointless.
1683   mkdir_p='mkdir -p --'
1684 else
1685   # On NextStep and OpenStep, the `mkdir' command does not
1686   # recognize any option.  It will interpret all options as
1687   # directories to create, and then abort because `.' already
1688   # exists.
1689   for d in ./-p ./--version;
1690   do
1691     test -d $d && rmdir $d
1692   done
1693   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1694   if test -f "$ac_aux_dir/mkinstalldirs"; then
1695     mkdir_p='$(mkinstalldirs)'
1696   else
1697     mkdir_p='$(install_sh) -d'
1698   fi
1699 fi
1700
1701 for ac_prog in gawk mawk nawk awk
1702 do
1703   # Extract the first word of "$ac_prog", so it can be a program name with args.
1704 set dummy $ac_prog; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_AWK+set}" = set; then
1708   echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710   if test -n "$AWK"; then
1711   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1712 else
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1715 do
1716   IFS=$as_save_IFS
1717   test -z "$as_dir" && as_dir=.
1718   for ac_exec_ext in '' $ac_executable_extensions; do
1719   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720     ac_cv_prog_AWK="$ac_prog"
1721     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722     break 2
1723   fi
1724 done
1725 done
1726
1727 fi
1728 fi
1729 AWK=$ac_cv_prog_AWK
1730 if test -n "$AWK"; then
1731   echo "$as_me:$LINENO: result: $AWK" >&5
1732 echo "${ECHO_T}$AWK" >&6
1733 else
1734   echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 fi
1737
1738   test -n "$AWK" && break
1739 done
1740
1741 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1743 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1744 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1745   echo $ECHO_N "(cached) $ECHO_C" >&6
1746 else
1747   cat >conftest.make <<\_ACEOF
1748 all:
1749         @echo 'ac_maketemp="$(MAKE)"'
1750 _ACEOF
1751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1752 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1753 if test -n "$ac_maketemp"; then
1754   eval ac_cv_prog_make_${ac_make}_set=yes
1755 else
1756   eval ac_cv_prog_make_${ac_make}_set=no
1757 fi
1758 rm -f conftest.make
1759 fi
1760 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1761   echo "$as_me:$LINENO: result: yes" >&5
1762 echo "${ECHO_T}yes" >&6
1763   SET_MAKE=
1764 else
1765   echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1767   SET_MAKE="MAKE=${MAKE-make}"
1768 fi
1769
1770 rm -rf .tst 2>/dev/null
1771 mkdir .tst 2>/dev/null
1772 if test -d .tst; then
1773   am__leading_dot=.
1774 else
1775   am__leading_dot=_
1776 fi
1777 rmdir .tst 2>/dev/null
1778
1779 # test to see if srcdir already configured
1780 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1781    test -f $srcdir/config.status; then
1782   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1783 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1784    { (exit 1); exit 1; }; }
1785 fi
1786
1787 # test whether we have cygpath
1788 if test -z "$CYGPATH_W"; then
1789   if (cygpath --version) >/dev/null 2>/dev/null; then
1790     CYGPATH_W='cygpath -w'
1791   else
1792     CYGPATH_W=echo
1793   fi
1794 fi
1795
1796
1797 # Define the identity of the package.
1798  PACKAGE='libgfortran'
1799  VERSION='0.2'
1800
1801
1802 # Some tools Automake needs.
1803
1804 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1805
1806
1807 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1808
1809
1810 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1811
1812
1813 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1814
1815
1816 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1817
1818 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1819
1820 # Installed binaries are usually stripped using `strip' when the user
1821 # run `make install-strip'.  However `strip' might not be the right
1822 # tool to use in cross-compilation environments, therefore Automake
1823 # will honor the `STRIP' environment variable to overrule this program.
1824 if test "$cross_compiling" != no; then
1825   if test -n "$ac_tool_prefix"; then
1826   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1827 set dummy ${ac_tool_prefix}strip; ac_word=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_STRIP+set}" = set; then
1831   echo $ECHO_N "(cached) $ECHO_C" >&6
1832 else
1833   if test -n "$STRIP"; then
1834   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1835 else
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 for as_dir in $PATH
1838 do
1839   IFS=$as_save_IFS
1840   test -z "$as_dir" && as_dir=.
1841   for ac_exec_ext in '' $ac_executable_extensions; do
1842   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1844     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845     break 2
1846   fi
1847 done
1848 done
1849
1850 fi
1851 fi
1852 STRIP=$ac_cv_prog_STRIP
1853 if test -n "$STRIP"; then
1854   echo "$as_me:$LINENO: result: $STRIP" >&5
1855 echo "${ECHO_T}$STRIP" >&6
1856 else
1857   echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1859 fi
1860
1861 fi
1862 if test -z "$ac_cv_prog_STRIP"; then
1863   ac_ct_STRIP=$STRIP
1864   # Extract the first word of "strip", so it can be a program name with args.
1865 set dummy strip; ac_word=$2
1866 echo "$as_me:$LINENO: checking for $ac_word" >&5
1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1869   echo $ECHO_N "(cached) $ECHO_C" >&6
1870 else
1871   if test -n "$ac_ct_STRIP"; then
1872   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1873 else
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 for as_dir in $PATH
1876 do
1877   IFS=$as_save_IFS
1878   test -z "$as_dir" && as_dir=.
1879   for ac_exec_ext in '' $ac_executable_extensions; do
1880   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881     ac_cv_prog_ac_ct_STRIP="strip"
1882     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883     break 2
1884   fi
1885 done
1886 done
1887
1888   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1889 fi
1890 fi
1891 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1892 if test -n "$ac_ct_STRIP"; then
1893   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1894 echo "${ECHO_T}$ac_ct_STRIP" >&6
1895 else
1896   echo "$as_me:$LINENO: result: no" >&5
1897 echo "${ECHO_T}no" >&6
1898 fi
1899
1900   STRIP=$ac_ct_STRIP
1901 else
1902   STRIP="$ac_cv_prog_STRIP"
1903 fi
1904
1905 fi
1906 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1907
1908 # We need awk for the "check" target.  The system "awk" is bad on
1909 # some platforms.
1910 # Always define AMTAR for backward compatibility.
1911
1912 AMTAR=${AMTAR-"${am_missing_run}tar"}
1913
1914 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1915
1916
1917
1918
1919
1920
1921 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1922 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1923     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1924 if test "${enable_maintainer_mode+set}" = set; then
1925   enableval="$enable_maintainer_mode"
1926   USE_MAINTAINER_MODE=$enableval
1927 else
1928   USE_MAINTAINER_MODE=no
1929 fi;
1930   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1931 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1932
1933
1934 if test $USE_MAINTAINER_MODE = yes; then
1935   MAINTAINER_MODE_TRUE=
1936   MAINTAINER_MODE_FALSE='#'
1937 else
1938   MAINTAINER_MODE_TRUE='#'
1939   MAINTAINER_MODE_FALSE=
1940 fi
1941
1942   MAINT=$MAINTAINER_MODE_TRUE
1943
1944
1945 # Default to --enable-multilib
1946 # Check whether --enable-multilib or --disable-multilib was given.
1947 if test "${enable_multilib+set}" = set; then
1948   enableval="$enable_multilib"
1949   case "$enableval" in
1950   yes) multilib=yes ;;
1951   no)  multilib=no ;;
1952   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1953 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1954    { (exit 1); exit 1; }; } ;;
1955  esac
1956 else
1957   multilib=yes
1958 fi;
1959
1960 # We may get other options which we leave undocumented:
1961 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1962 # See config-ml.in if you want the gory details.
1963
1964 if test "$srcdir" = "."; then
1965   if test "$with_target_subdir" != "."; then
1966     multi_basedir="$srcdir/$with_multisrctop../.."
1967   else
1968     multi_basedir="$srcdir/$with_multisrctop.."
1969   fi
1970 else
1971   multi_basedir="$srcdir/.."
1972 fi
1973
1974
1975           ac_config_commands="$ac_config_commands default-1"
1976
1977
1978 # Handy for debugging:
1979 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1980
1981 # Are we being configured with some form of cross compiler?
1982 # NB: We don't actually need to know this just now, but when, say, a test
1983 #     suite is included, we'll have to know.
1984 if test "$build" != "$host"; then
1985   LIBGFOR_IS_NATIVE=false
1986
1987 else
1988   LIBGFOR_IS_NATIVE=true
1989 fi
1990
1991 # Calculate toolexeclibdir
1992 # Also toolexecdir, though it's only used in toolexeclibdir
1993 case ${version_specific_libs} in
1994   yes)
1995     # Need the gcc compiler version to know where to install libraries
1996     # and header files if --enable-version-specific-runtime-libs option
1997     # is selected.
1998     toolexecdir='$(libdir)/gcc/$(target_alias)'
1999     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2000     ;;
2001   no)
2002     if test -n "$with_cross_host" &&
2003        test x"$with_cross_host" != x"no"; then
2004       # Install a library built with a cross compiler in tooldir, not libdir.
2005       toolexecdir='$(exec_prefix)/$(target_alias)'
2006       toolexeclibdir='$(toolexecdir)/lib'
2007     else
2008       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2009       toolexeclibdir='$(libdir)'
2010     fi
2011     multi_os_directory=`$CC -print-multi-os-directory`
2012     case $multi_os_directory in
2013       .) ;; # Avoid trailing /.
2014       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2015     esac
2016     ;;
2017 esac
2018
2019
2020
2021 # Check the compiler.
2022 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2023 # We must force CC to /not/ be precious variables; otherwise
2024 # the wrong, non-multilib-adjusted value will be used in multilibs.
2025 # As a side effect, we have to subst CFLAGS ourselves.
2026
2027
2028
2029 ac_ext=c
2030 ac_cpp='$CPP $CPPFLAGS'
2031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040   echo $ECHO_N "(cached) $ECHO_C" >&6
2041 else
2042   if test -n "$CC"; then
2043   ac_cv_prog_CC="$CC" # Let the user override the test.
2044 else
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 for as_dir in $PATH
2047 do
2048   IFS=$as_save_IFS
2049   test -z "$as_dir" && as_dir=.
2050   for ac_exec_ext in '' $ac_executable_extensions; do
2051   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2053     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054     break 2
2055   fi
2056 done
2057 done
2058
2059 fi
2060 fi
2061 CC=$ac_cv_prog_CC
2062 if test -n "$CC"; then
2063   echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2065 else
2066   echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2068 fi
2069
2070 fi
2071 if test -z "$ac_cv_prog_CC"; then
2072   ac_ct_CC=$CC
2073   # Extract the first word of "gcc", so it can be a program name with args.
2074 set dummy gcc; ac_word=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078   echo $ECHO_N "(cached) $ECHO_C" >&6
2079 else
2080   if test -n "$ac_ct_CC"; then
2081   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 else
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 for as_dir in $PATH
2085 do
2086   IFS=$as_save_IFS
2087   test -z "$as_dir" && as_dir=.
2088   for ac_exec_ext in '' $ac_executable_extensions; do
2089   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090     ac_cv_prog_ac_ct_CC="gcc"
2091     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092     break 2
2093   fi
2094 done
2095 done
2096
2097 fi
2098 fi
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2103 else
2104   echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2106 fi
2107
2108   CC=$ac_ct_CC
2109 else
2110   CC="$ac_cv_prog_CC"
2111 fi
2112
2113 if test -z "$CC"; then
2114   if test -n "$ac_tool_prefix"; then
2115   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}cc; ac_word=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120   echo $ECHO_N "(cached) $ECHO_C" >&6
2121 else
2122   if test -n "$CC"; then
2123   ac_cv_prog_CC="$CC" # Let the user override the test.
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH
2127 do
2128   IFS=$as_save_IFS
2129   test -z "$as_dir" && as_dir=.
2130   for ac_exec_ext in '' $ac_executable_extensions; do
2131   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132     ac_cv_prog_CC="${ac_tool_prefix}cc"
2133     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134     break 2
2135   fi
2136 done
2137 done
2138
2139 fi
2140 fi
2141 CC=$ac_cv_prog_CC
2142 if test -n "$CC"; then
2143   echo "$as_me:$LINENO: result: $CC" >&5
2144 echo "${ECHO_T}$CC" >&6
2145 else
2146   echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2148 fi
2149
2150 fi
2151 if test -z "$ac_cv_prog_CC"; then
2152   ac_ct_CC=$CC
2153   # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158   echo $ECHO_N "(cached) $ECHO_C" >&6
2159 else
2160   if test -n "$ac_ct_CC"; then
2161   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2162 else
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2165 do
2166   IFS=$as_save_IFS
2167   test -z "$as_dir" && as_dir=.
2168   for ac_exec_ext in '' $ac_executable_extensions; do
2169   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170     ac_cv_prog_ac_ct_CC="cc"
2171     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172     break 2
2173   fi
2174 done
2175 done
2176
2177 fi
2178 fi
2179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 echo "${ECHO_T}$ac_ct_CC" >&6
2183 else
2184   echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2186 fi
2187
2188   CC=$ac_ct_CC
2189 else
2190   CC="$ac_cv_prog_CC"
2191 fi
2192
2193 fi
2194 if test -z "$CC"; then
2195   # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc; ac_word=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200   echo $ECHO_N "(cached) $ECHO_C" >&6
2201 else
2202   if test -n "$CC"; then
2203   ac_cv_prog_CC="$CC" # Let the user override the test.
2204 else
2205   ac_prog_rejected=no
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2208 do
2209   IFS=$as_save_IFS
2210   test -z "$as_dir" && as_dir=.
2211   for ac_exec_ext in '' $ac_executable_extensions; do
2212   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2214        ac_prog_rejected=yes
2215        continue
2216      fi
2217     ac_cv_prog_CC="cc"
2218     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219     break 2
2220   fi
2221 done
2222 done
2223
2224 if test $ac_prog_rejected = yes; then
2225   # We found a bogon in the path, so make sure we never use it.
2226   set dummy $ac_cv_prog_CC
2227   shift
2228   if test $# != 0; then
2229     # We chose a different compiler from the bogus one.
2230     # However, it has the same basename, so the bogon will be chosen
2231     # first if we set CC to just the basename; use the full file name.
2232     shift
2233     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2234   fi
2235 fi
2236 fi
2237 fi
2238 CC=$ac_cv_prog_CC
2239 if test -n "$CC"; then
2240   echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2242 else
2243   echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2245 fi
2246
2247 fi
2248 if test -z "$CC"; then
2249   if test -n "$ac_tool_prefix"; then
2250   for ac_prog in cl
2251   do
2252     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257   echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259   if test -n "$CC"; then
2260   ac_cv_prog_CC="$CC" # Let the user override the test.
2261 else
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 for as_dir in $PATH
2264 do
2265   IFS=$as_save_IFS
2266   test -z "$as_dir" && as_dir=.
2267   for ac_exec_ext in '' $ac_executable_extensions; do
2268   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271     break 2
2272   fi
2273 done
2274 done
2275
2276 fi
2277 fi
2278 CC=$ac_cv_prog_CC
2279 if test -n "$CC"; then
2280   echo "$as_me:$LINENO: result: $CC" >&5
2281 echo "${ECHO_T}$CC" >&6
2282 else
2283   echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2285 fi
2286
2287     test -n "$CC" && break
2288   done
2289 fi
2290 if test -z "$CC"; then
2291   ac_ct_CC=$CC
2292   for ac_prog in cl
2293 do
2294   # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy $ac_prog; ac_word=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299   echo $ECHO_N "(cached) $ECHO_C" >&6
2300 else
2301   if test -n "$ac_ct_CC"; then
2302   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2303 else
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 for as_dir in $PATH
2306 do
2307   IFS=$as_save_IFS
2308   test -z "$as_dir" && as_dir=.
2309   for ac_exec_ext in '' $ac_executable_extensions; do
2310   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311     ac_cv_prog_ac_ct_CC="$ac_prog"
2312     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313     break 2
2314   fi
2315 done
2316 done
2317
2318 fi
2319 fi
2320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323 echo "${ECHO_T}$ac_ct_CC" >&6
2324 else
2325   echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2327 fi
2328
2329   test -n "$ac_ct_CC" && break
2330 done
2331
2332   CC=$ac_ct_CC
2333 fi
2334
2335 fi
2336
2337
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342    { (exit 1); exit 1; }; }
2343
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346      "checking for C compiler version" >&5
2347 ac_compiler=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349   (eval $ac_compiler --version </dev/null >&5) 2>&5
2350   ac_status=$?
2351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352   (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354   (eval $ac_compiler -v </dev/null >&5) 2>&5
2355   ac_status=$?
2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357   (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359   (eval $ac_compiler -V </dev/null >&5) 2>&5
2360   ac_status=$?
2361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362   (exit $ac_status); }
2363
2364 cat >conftest.$ac_ext <<_ACEOF
2365 /* confdefs.h.  */
2366 _ACEOF
2367 cat confdefs.h >>conftest.$ac_ext
2368 cat >>conftest.$ac_ext <<_ACEOF
2369 /* end confdefs.h.  */
2370
2371 int
2372 main ()
2373 {
2374
2375   ;
2376   return 0;
2377 }
2378 _ACEOF
2379 # FIXME: Cleanup?
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381   (eval $ac_link) 2>&5
2382   ac_status=$?
2383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384   (exit $ac_status); }; then
2385   gcc_no_link=no
2386 else
2387   gcc_no_link=yes
2388 fi
2389
2390 if test x$gcc_no_link = xyes; then
2391   # Setting cross_compile will disable run tests; it will
2392   # also disable AC_CHECK_FILE but that's generally
2393   # correct if we can't link.
2394   cross_compiling=yes
2395   EXEEXT=
2396 else
2397   cat >conftest.$ac_ext <<_ACEOF
2398 /* confdefs.h.  */
2399 _ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h.  */
2403
2404 int
2405 main ()
2406 {
2407
2408   ;
2409   return 0;
2410 }
2411 _ACEOF
2412 ac_clean_files_save=$ac_clean_files
2413 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2414 # Try to create an executable without -o first, disregard a.out.
2415 # It will help us diagnose broken compilers, and finding out an intuition
2416 # of exeext.
2417 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2418 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2419 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2420 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2421   (eval $ac_link_default) 2>&5
2422   ac_status=$?
2423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424   (exit $ac_status); }; then
2425   # Find the output, starting from the most likely.  This scheme is
2426 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2427 # resort.
2428
2429 # Be careful to initialize this variable, since it used to be cached.
2430 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2431 ac_cv_exeext=
2432 # b.out is created by i960 compilers.
2433 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2434 do
2435   test -f "$ac_file" || continue
2436   case $ac_file in
2437     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2438         ;;
2439     conftest.$ac_ext )
2440         # This is the source file.
2441         ;;
2442     [ab].out )
2443         # We found the default executable, but exeext='' is most
2444         # certainly right.
2445         break;;
2446     *.* )
2447         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448         # FIXME: I believe we export ac_cv_exeext for Libtool,
2449         # but it would be cool to find out if it's true.  Does anybody
2450         # maintain Libtool? --akim.
2451         export ac_cv_exeext
2452         break;;
2453     * )
2454         break;;
2455   esac
2456 done
2457 else
2458   echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2460
2461 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&2;}
2465    { (exit 77); exit 77; }; }
2466 fi
2467
2468 ac_exeext=$ac_cv_exeext
2469 echo "$as_me:$LINENO: result: $ac_file" >&5
2470 echo "${ECHO_T}$ac_file" >&6
2471
2472 # Check the compiler produces executables we can run.  If not, either
2473 # the compiler is broken, or we cross compile.
2474 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479   if { ac_try='./$ac_file'
2480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481   (eval $ac_try) 2>&5
2482   ac_status=$?
2483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484   (exit $ac_status); }; }; then
2485     cross_compiling=no
2486   else
2487     if test "$cross_compiling" = maybe; then
2488         cross_compiling=yes
2489     else
2490         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&2;}
2496    { (exit 1); exit 1; }; }
2497     fi
2498   fi
2499 fi
2500 echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6
2502
2503 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 # Check the compiler produces executables we can run.  If not, either
2506 # the compiler is broken, or we cross compile.
2507 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2509 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6
2511
2512 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515   (eval $ac_link) 2>&5
2516   ac_status=$?
2517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518   (exit $ac_status); }; then
2519   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2520 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2521 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 # `rm'.
2523 for ac_file in conftest.exe conftest conftest.*; do
2524   test -f "$ac_file" || continue
2525   case $ac_file in
2526     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2527     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528           export ac_cv_exeext
2529           break;;
2530     * ) break;;
2531   esac
2532 done
2533 else
2534   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538    { (exit 1); exit 1; }; }
2539 fi
2540
2541 rm -f conftest$ac_cv_exeext
2542 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6
2544
2545 rm -f conftest.$ac_ext
2546 EXEEXT=$ac_cv_exeext
2547 ac_exeext=$EXEEXT
2548 fi
2549 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2550 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2551 if test "${ac_cv_objext+set}" = set; then
2552   echo $ECHO_N "(cached) $ECHO_C" >&6
2553 else
2554   cat >conftest.$ac_ext <<_ACEOF
2555 /* confdefs.h.  */
2556 _ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h.  */
2560
2561 int
2562 main ()
2563 {
2564
2565   ;
2566   return 0;
2567 }
2568 _ACEOF
2569 rm -f conftest.o conftest.obj
2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571   (eval $ac_compile) 2>&5
2572   ac_status=$?
2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574   (exit $ac_status); }; then
2575   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2576   case $ac_file in
2577     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2578     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2579        break;;
2580   esac
2581 done
2582 else
2583   echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2585
2586 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2589 See \`config.log' for more details." >&2;}
2590    { (exit 1); exit 1; }; }
2591 fi
2592
2593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2594 fi
2595 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2596 echo "${ECHO_T}$ac_cv_objext" >&6
2597 OBJEXT=$ac_cv_objext
2598 ac_objext=$OBJEXT
2599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2602   echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604   cat >conftest.$ac_ext <<_ACEOF
2605 /* confdefs.h.  */
2606 _ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h.  */
2610
2611 int
2612 main ()
2613 {
2614 #ifndef __GNUC__
2615        choke me
2616 #endif
2617
2618   ;
2619   return 0;
2620 }
2621 _ACEOF
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624   (eval $ac_compile) 2>conftest.er1
2625   ac_status=$?
2626   grep -v '^ *+' conftest.er1 >conftest.err
2627   rm -f conftest.er1
2628   cat conftest.err >&5
2629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630   (exit $ac_status); } &&
2631          { ac_try='test -z "$ac_c_werror_flag"
2632                          || test ! -s conftest.err'
2633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634   (eval $ac_try) 2>&5
2635   ac_status=$?
2636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637   (exit $ac_status); }; } &&
2638          { ac_try='test -s conftest.$ac_objext'
2639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640   (eval $ac_try) 2>&5
2641   ac_status=$?
2642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643   (exit $ac_status); }; }; then
2644   ac_compiler_gnu=yes
2645 else
2646   echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2648
2649 ac_compiler_gnu=no
2650 fi
2651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2653
2654 fi
2655 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2656 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2657 GCC=`test $ac_compiler_gnu = yes && echo yes`
2658 ac_test_CFLAGS=${CFLAGS+set}
2659 ac_save_CFLAGS=$CFLAGS
2660 CFLAGS="-g"
2661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2663 if test "${ac_cv_prog_cc_g+set}" = set; then
2664   echo $ECHO_N "(cached) $ECHO_C" >&6
2665 else
2666   cat >conftest.$ac_ext <<_ACEOF
2667 /* confdefs.h.  */
2668 _ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h.  */
2672
2673 int
2674 main ()
2675 {
2676
2677   ;
2678   return 0;
2679 }
2680 _ACEOF
2681 rm -f conftest.$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683   (eval $ac_compile) 2>conftest.er1
2684   ac_status=$?
2685   grep -v '^ *+' conftest.er1 >conftest.err
2686   rm -f conftest.er1
2687   cat conftest.err >&5
2688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689   (exit $ac_status); } &&
2690          { ac_try='test -z "$ac_c_werror_flag"
2691                          || test ! -s conftest.err'
2692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693   (eval $ac_try) 2>&5
2694   ac_status=$?
2695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696   (exit $ac_status); }; } &&
2697          { ac_try='test -s conftest.$ac_objext'
2698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699   (eval $ac_try) 2>&5
2700   ac_status=$?
2701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702   (exit $ac_status); }; }; then
2703   ac_cv_prog_cc_g=yes
2704 else
2705   echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2707
2708 ac_cv_prog_cc_g=no
2709 fi
2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2711 fi
2712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2714 if test "$ac_test_CFLAGS" = set; then
2715   CFLAGS=$ac_save_CFLAGS
2716 elif test $ac_cv_prog_cc_g = yes; then
2717   if test "$GCC" = yes; then
2718     CFLAGS="-g -O2"
2719   else
2720     CFLAGS="-g"
2721   fi
2722 else
2723   if test "$GCC" = yes; then
2724     CFLAGS="-O2"
2725   else
2726     CFLAGS=
2727   fi
2728 fi
2729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2732   echo $ECHO_N "(cached) $ECHO_C" >&6
2733 else
2734   ac_cv_prog_cc_stdc=no
2735 ac_save_CC=$CC
2736 cat >conftest.$ac_ext <<_ACEOF
2737 /* confdefs.h.  */
2738 _ACEOF
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h.  */
2742 #include <stdarg.h>
2743 #include <stdio.h>
2744 #include <sys/types.h>
2745 #include <sys/stat.h>
2746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2747 struct buf { int x; };
2748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2749 static char *e (p, i)
2750      char **p;
2751      int i;
2752 {
2753   return p[i];
2754 }
2755 static char *f (char * (*g) (char **, int), char **p, ...)
2756 {
2757   char *s;
2758   va_list v;
2759   va_start (v,p);
2760   s = g (p, va_arg (v,int));
2761   va_end (v);
2762   return s;
2763 }
2764
2765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2766    function prototypes and stuff, but not '\xHH' hex character constants.
2767    These don't provoke an error unfortunately, instead are silently treated
2768    as 'x'.  The following induces an error, until -std1 is added to get
2769    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2770    array size at least.  It's necessary to write '\x00'==0 to get something
2771    that's true only with -std1.  */
2772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2773
2774 int test (int i, double x);
2775 struct s1 {int (*f) (int a);};
2776 struct s2 {int (*f) (double a);};
2777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2778 int argc;
2779 char **argv;
2780 int
2781 main ()
2782 {
2783 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2784   ;
2785   return 0;
2786 }
2787 _ACEOF
2788 # Don't try gcc -ansi; that turns off useful extensions and
2789 # breaks some systems' header files.
2790 # AIX                   -qlanglvl=ansi
2791 # Ultrix and OSF/1      -std1
2792 # HP-UX 10.20 and later -Ae
2793 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2794 # SVR4                  -Xc -D__EXTENSIONS__
2795 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2796 do
2797   CC="$ac_save_CC $ac_arg"
2798   rm -f conftest.$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800   (eval $ac_compile) 2>conftest.er1
2801   ac_status=$?
2802   grep -v '^ *+' conftest.er1 >conftest.err
2803   rm -f conftest.er1
2804   cat conftest.err >&5
2805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806   (exit $ac_status); } &&
2807          { ac_try='test -z "$ac_c_werror_flag"
2808                          || test ! -s conftest.err'
2809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810   (eval $ac_try) 2>&5
2811   ac_status=$?
2812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813   (exit $ac_status); }; } &&
2814          { ac_try='test -s conftest.$ac_objext'
2815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816   (eval $ac_try) 2>&5
2817   ac_status=$?
2818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819   (exit $ac_status); }; }; then
2820   ac_cv_prog_cc_stdc=$ac_arg
2821 break
2822 else
2823   echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2825
2826 fi
2827 rm -f conftest.err conftest.$ac_objext
2828 done
2829 rm -f conftest.$ac_ext conftest.$ac_objext
2830 CC=$ac_save_CC
2831
2832 fi
2833
2834 case "x$ac_cv_prog_cc_stdc" in
2835   x|xno)
2836     echo "$as_me:$LINENO: result: none needed" >&5
2837 echo "${ECHO_T}none needed" >&6 ;;
2838   *)
2839     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2841     CC="$CC $ac_cv_prog_cc_stdc" ;;
2842 esac
2843
2844 # Some people use a C++ compiler to compile C.  Since we use `exit',
2845 # in C++ we need to declare it.  In case someone uses the same compiler
2846 # for both compiling C and C++ we need to have the C++ compiler decide
2847 # the declaration of exit, since it's the most demanding environment.
2848 cat >conftest.$ac_ext <<_ACEOF
2849 #ifndef __cplusplus
2850   choke me
2851 #endif
2852 _ACEOF
2853 rm -f conftest.$ac_objext
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855   (eval $ac_compile) 2>conftest.er1
2856   ac_status=$?
2857   grep -v '^ *+' conftest.er1 >conftest.err
2858   rm -f conftest.er1
2859   cat conftest.err >&5
2860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861   (exit $ac_status); } &&
2862          { ac_try='test -z "$ac_c_werror_flag"
2863                          || test ! -s conftest.err'
2864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865   (eval $ac_try) 2>&5
2866   ac_status=$?
2867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868   (exit $ac_status); }; } &&
2869          { ac_try='test -s conftest.$ac_objext'
2870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871   (eval $ac_try) 2>&5
2872   ac_status=$?
2873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874   (exit $ac_status); }; }; then
2875   for ac_declaration in \
2876    '' \
2877    'extern "C" void std::exit (int) throw (); using std::exit;' \
2878    'extern "C" void std::exit (int); using std::exit;' \
2879    'extern "C" void exit (int) throw ();' \
2880    'extern "C" void exit (int);' \
2881    'void exit (int);'
2882 do
2883   cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h.  */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h.  */
2889 $ac_declaration
2890 #include <stdlib.h>
2891 int
2892 main ()
2893 {
2894 exit (42);
2895   ;
2896   return 0;
2897 }
2898 _ACEOF
2899 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901   (eval $ac_compile) 2>conftest.er1
2902   ac_status=$?
2903   grep -v '^ *+' conftest.er1 >conftest.err
2904   rm -f conftest.er1
2905   cat conftest.err >&5
2906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907   (exit $ac_status); } &&
2908          { ac_try='test -z "$ac_c_werror_flag"
2909                          || test ! -s conftest.err'
2910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911   (eval $ac_try) 2>&5
2912   ac_status=$?
2913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914   (exit $ac_status); }; } &&
2915          { ac_try='test -s conftest.$ac_objext'
2916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917   (eval $ac_try) 2>&5
2918   ac_status=$?
2919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920   (exit $ac_status); }; }; then
2921   :
2922 else
2923   echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2925
2926 continue
2927 fi
2928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2929   cat >conftest.$ac_ext <<_ACEOF
2930 /* confdefs.h.  */
2931 _ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h.  */
2935 $ac_declaration
2936 int
2937 main ()
2938 {
2939 exit (42);
2940   ;
2941   return 0;
2942 }
2943 _ACEOF
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946   (eval $ac_compile) 2>conftest.er1
2947   ac_status=$?
2948   grep -v '^ *+' conftest.er1 >conftest.err
2949   rm -f conftest.er1
2950   cat conftest.err >&5
2951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952   (exit $ac_status); } &&
2953          { ac_try='test -z "$ac_c_werror_flag"
2954                          || test ! -s conftest.err'
2955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956   (eval $ac_try) 2>&5
2957   ac_status=$?
2958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959   (exit $ac_status); }; } &&
2960          { ac_try='test -s conftest.$ac_objext'
2961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962   (eval $ac_try) 2>&5
2963   ac_status=$?
2964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965   (exit $ac_status); }; }; then
2966   break
2967 else
2968   echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2970
2971 fi
2972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2973 done
2974 rm -f conftest*
2975 if test -n "$ac_declaration"; then
2976   echo '#ifdef __cplusplus' >>confdefs.h
2977   echo $ac_declaration      >>confdefs.h
2978   echo '#endif'             >>confdefs.h
2979 fi
2980
2981 else
2982   echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2984
2985 fi
2986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2987 ac_ext=c
2988 ac_cpp='$CPP $CPPFLAGS'
2989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2992
2993
2994
2995 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
2996 if test "x$GCC" = "xyes"; then
2997   AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
2998   ## We like to use C99 routines when available.  This makes sure that
2999   ## __STDC_VERSION__ is set such that libc includes make them available.
3000   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3001 fi
3002
3003
3004
3005 # Find other programs we need.
3006 if test -n "$ac_tool_prefix"; then
3007   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3008 set dummy ${ac_tool_prefix}as; ac_word=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_AS+set}" = set; then
3012   echo $ECHO_N "(cached) $ECHO_C" >&6
3013 else
3014   if test -n "$AS"; then
3015   ac_cv_prog_AS="$AS" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3019 do
3020   IFS=$as_save_IFS
3021   test -z "$as_dir" && as_dir=.
3022   for ac_exec_ext in '' $ac_executable_extensions; do
3023   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024     ac_cv_prog_AS="${ac_tool_prefix}as"
3025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026     break 2
3027   fi
3028 done
3029 done
3030
3031 fi
3032 fi
3033 AS=$ac_cv_prog_AS
3034 if test -n "$AS"; then
3035   echo "$as_me:$LINENO: result: $AS" >&5
3036 echo "${ECHO_T}$AS" >&6
3037 else
3038   echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3040 fi
3041
3042 fi
3043 if test -z "$ac_cv_prog_AS"; then
3044   ac_ct_AS=$AS
3045   # Extract the first word of "as", so it can be a program name with args.
3046 set dummy as; ac_word=$2
3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3049 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3050   echo $ECHO_N "(cached) $ECHO_C" >&6
3051 else
3052   if test -n "$ac_ct_AS"; then
3053   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3054 else
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 for as_dir in $PATH
3057 do
3058   IFS=$as_save_IFS
3059   test -z "$as_dir" && as_dir=.
3060   for ac_exec_ext in '' $ac_executable_extensions; do
3061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062     ac_cv_prog_ac_ct_AS="as"
3063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064     break 2
3065   fi
3066 done
3067 done
3068
3069 fi
3070 fi
3071 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3072 if test -n "$ac_ct_AS"; then
3073   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3074 echo "${ECHO_T}$ac_ct_AS" >&6
3075 else
3076   echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3078 fi
3079
3080   AS=$ac_ct_AS
3081 else
3082   AS="$ac_cv_prog_AS"
3083 fi
3084
3085 if test -n "$ac_tool_prefix"; then
3086   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3087 set dummy ${ac_tool_prefix}ar; ac_word=$2
3088 echo "$as_me:$LINENO: checking for $ac_word" >&5
3089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3090 if test "${ac_cv_prog_AR+set}" = set; then
3091   echo $ECHO_N "(cached) $ECHO_C" >&6
3092 else
3093   if test -n "$AR"; then
3094   ac_cv_prog_AR="$AR" # Let the user override the test.
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099   IFS=$as_save_IFS
3100   test -z "$as_dir" && as_dir=.
3101   for ac_exec_ext in '' $ac_executable_extensions; do
3102   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103     ac_cv_prog_AR="${ac_tool_prefix}ar"
3104     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3105     break 2
3106   fi
3107 done
3108 done
3109
3110 fi
3111 fi
3112 AR=$ac_cv_prog_AR
3113 if test -n "$AR"; then
3114   echo "$as_me:$LINENO: result: $AR" >&5
3115 echo "${ECHO_T}$AR" >&6
3116 else
3117   echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3119 fi
3120
3121 fi
3122 if test -z "$ac_cv_prog_AR"; then
3123   ac_ct_AR=$AR
3124   # Extract the first word of "ar", so it can be a program name with args.
3125 set dummy ar; ac_word=$2
3126 echo "$as_me:$LINENO: checking for $ac_word" >&5
3127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3128 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3129   echo $ECHO_N "(cached) $ECHO_C" >&6
3130 else
3131   if test -n "$ac_ct_AR"; then
3132   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3133 else
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 for as_dir in $PATH
3136 do
3137   IFS=$as_save_IFS
3138   test -z "$as_dir" && as_dir=.
3139   for ac_exec_ext in '' $ac_executable_extensions; do
3140   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141     ac_cv_prog_ac_ct_AR="ar"
3142     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3143     break 2
3144   fi
3145 done
3146 done
3147
3148 fi
3149 fi
3150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3151 if test -n "$ac_ct_AR"; then
3152   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3153 echo "${ECHO_T}$ac_ct_AR" >&6
3154 else
3155   echo "$as_me:$LINENO: result: no" >&5
3156 echo "${ECHO_T}no" >&6
3157 fi
3158
3159   AR=$ac_ct_AR
3160 else
3161   AR="$ac_cv_prog_AR"
3162 fi
3163
3164 if test -n "$ac_tool_prefix"; then
3165   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3167 echo "$as_me:$LINENO: checking for $ac_word" >&5
3168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3169 if test "${ac_cv_prog_RANLIB+set}" = set; then
3170   echo $ECHO_N "(cached) $ECHO_C" >&6
3171 else
3172   if test -n "$RANLIB"; then
3173   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3174 else
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3177 do
3178   IFS=$as_save_IFS
3179   test -z "$as_dir" && as_dir=.
3180   for ac_exec_ext in '' $ac_executable_extensions; do
3181   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3183     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3184     break 2
3185   fi
3186 done
3187 done
3188
3189 fi
3190 fi
3191 RANLIB=$ac_cv_prog_RANLIB
3192 if test -n "$RANLIB"; then
3193   echo "$as_me:$LINENO: result: $RANLIB" >&5
3194 echo "${ECHO_T}$RANLIB" >&6
3195 else
3196   echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3198 fi
3199
3200 fi
3201 if test -z "$ac_cv_prog_RANLIB"; then
3202   ac_ct_RANLIB=$RANLIB
3203   # Extract the first word of "ranlib", so it can be a program name with args.
3204 set dummy ranlib; ac_word=$2
3205 echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3207 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3208   echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210   if test -n "$ac_ct_RANLIB"; then
3211   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3212 else
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 for as_dir in $PATH
3215 do
3216   IFS=$as_save_IFS
3217   test -z "$as_dir" && as_dir=.
3218   for ac_exec_ext in '' $ac_executable_extensions; do
3219   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220     ac_cv_prog_ac_ct_RANLIB="ranlib"
3221     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222     break 2
3223   fi
3224 done
3225 done
3226
3227   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3228 fi
3229 fi
3230 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3231 if test -n "$ac_ct_RANLIB"; then
3232   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3233 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3234 else
3235   echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3237 fi
3238
3239   RANLIB=$ac_ct_RANLIB
3240 else
3241   RANLIB="$ac_cv_prog_RANLIB"
3242 fi
3243
3244 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3245 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3246 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3247 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3248   echo $ECHO_N "(cached) $ECHO_C" >&6
3249 else
3250   cat >conftest.make <<\_ACEOF
3251 all:
3252         @echo 'ac_maketemp="$(MAKE)"'
3253 _ACEOF
3254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3255 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3256 if test -n "$ac_maketemp"; then
3257   eval ac_cv_prog_make_${ac_make}_set=yes
3258 else
3259   eval ac_cv_prog_make_${ac_make}_set=no
3260 fi
3261 rm -f conftest.make
3262 fi
3263 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3264   echo "$as_me:$LINENO: result: yes" >&5
3265 echo "${ECHO_T}yes" >&6
3266   SET_MAKE=
3267 else
3268   echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270   SET_MAKE="MAKE=${MAKE-make}"
3271 fi
3272
3273 # Find a good install program.  We prefer a C program (faster),
3274 # so one script is as good as another.  But avoid the broken or
3275 # incompatible versions:
3276 # SysV /etc/install, /usr/sbin/install
3277 # SunOS /usr/etc/install
3278 # IRIX /sbin/install
3279 # AIX /bin/install
3280 # AmigaOS /C/install, which installs bootblocks on floppy discs
3281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3284 # OS/2's system install, which has a completely different semantic
3285 # ./install, which can be erroneously created by make from ./install.sh.
3286 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3287 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3288 if test -z "$INSTALL"; then
3289 if test "${ac_cv_path_install+set}" = set; then
3290   echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 for as_dir in $PATH
3294 do
3295   IFS=$as_save_IFS
3296   test -z "$as_dir" && as_dir=.
3297   # Account for people who put trailing slashes in PATH elements.
3298 case $as_dir/ in
3299   ./ | .// | /cC/* | \
3300   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3301   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3302   /usr/ucb/* ) ;;
3303   *)
3304     # OSF1 and SCO ODT 3.0 have their own names for install.
3305     # Don't use installbsd from OSF since it installs stuff as root
3306     # by default.
3307     for ac_prog in ginstall scoinst install; do
3308       for ac_exec_ext in '' $ac_executable_extensions; do
3309         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3310           if test $ac_prog = install &&
3311             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3312             # AIX install.  It has an incompatible calling convention.
3313             :
3314           elif test $ac_prog = install &&
3315             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3316             # program-specific install script used by HP pwplus--don't use.
3317             :
3318           else
3319             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3320             break 3
3321           fi
3322         fi
3323       done
3324     done
3325     ;;
3326 esac
3327 done
3328
3329
3330 fi
3331   if test "${ac_cv_path_install+set}" = set; then
3332     INSTALL=$ac_cv_path_install
3333   else
3334     # As a last resort, use the slow shell script.  We don't cache a
3335     # path for INSTALL within a source directory, because that will
3336     # break other packages using the cache if that directory is
3337     # removed, or if the path is relative.
3338     INSTALL=$ac_install_sh
3339   fi
3340 fi
3341 echo "$as_me:$LINENO: result: $INSTALL" >&5
3342 echo "${ECHO_T}$INSTALL" >&6
3343
3344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3345 # It thinks the first close brace ends the variable substitution.
3346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3347
3348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3349
3350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3351
3352
3353 # Configure libtool
3354 #AC_MSG_NOTICE([====== Starting libtool configuration])
3355
3356 # Check whether --enable-shared or --disable-shared was given.
3357 if test "${enable_shared+set}" = set; then
3358   enableval="$enable_shared"
3359   p=${PACKAGE-default}
3360 case $enableval in
3361 yes) enable_shared=yes ;;
3362 no) enable_shared=no ;;
3363 *)
3364   enable_shared=no
3365   # Look at the argument we got.  We use all the common list separators.
3366   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3367   for pkg in $enableval; do
3368     if test "X$pkg" = "X$p"; then
3369       enable_shared=yes
3370     fi
3371   done
3372   IFS="$ac_save_ifs"
3373   ;;
3374 esac
3375 else
3376   enable_shared=yes
3377 fi;
3378 # Check whether --enable-static or --disable-static was given.
3379 if test "${enable_static+set}" = set; then
3380   enableval="$enable_static"
3381   p=${PACKAGE-default}
3382 case $enableval in
3383 yes) enable_static=yes ;;
3384 no) enable_static=no ;;
3385 *)
3386   enable_static=no
3387   # Look at the argument we got.  We use all the common list separators.
3388   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3389   for pkg in $enableval; do
3390     if test "X$pkg" = "X$p"; then
3391       enable_static=yes
3392     fi
3393   done
3394   IFS="$ac_save_ifs"
3395   ;;
3396 esac
3397 else
3398   enable_static=yes
3399 fi;
3400 # Check whether --enable-fast-install or --disable-fast-install was given.
3401 if test "${enable_fast_install+set}" = set; then
3402   enableval="$enable_fast_install"
3403   p=${PACKAGE-default}
3404 case $enableval in
3405 yes) enable_fast_install=yes ;;
3406 no) enable_fast_install=no ;;
3407 *)
3408   enable_fast_install=no
3409   # Look at the argument we got.  We use all the common list separators.
3410   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3411   for pkg in $enableval; do
3412     if test "X$pkg" = "X$p"; then
3413       enable_fast_install=yes
3414     fi
3415   done
3416   IFS="$ac_save_ifs"
3417   ;;
3418 esac
3419 else
3420   enable_fast_install=yes
3421 fi;
3422
3423 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3424 if test "${with_gnu_ld+set}" = set; then
3425   withval="$with_gnu_ld"
3426   test "$withval" = no || with_gnu_ld=yes
3427 else
3428   with_gnu_ld=no
3429 fi;
3430 ac_prog=ld
3431 if test "$GCC" = yes; then
3432   # Check if gcc -print-prog-name=ld gives a path.
3433   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3434 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3435   case $host in
3436   *-*-mingw*)
3437     # gcc leaves a trailing carriage return which upsets mingw
3438     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3439   *)
3440     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3441   esac
3442   case $ac_prog in
3443     # Accept absolute paths.
3444     [\\/]* | [A-Za-z]:[\\/]*)
3445       re_direlt='/[^/][^/]*/\.\./'
3446       # Canonicalize the path of ld
3447       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3448       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3449         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3450       done
3451       test -z "$LD" && LD="$ac_prog"
3452       ;;
3453   "")
3454     # If it fails, then pretend we aren't using GCC.
3455     ac_prog=ld
3456     ;;
3457   *)
3458     # If it is relative, then search for the first ld in PATH.
3459     with_gnu_ld=unknown
3460     ;;
3461   esac
3462 elif test "$with_gnu_ld" = yes; then
3463   echo "$as_me:$LINENO: checking for GNU ld" >&5
3464 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3465 else
3466   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3467 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3468 fi
3469 if test "${lt_cv_path_LD+set}" = set; then
3470   echo $ECHO_N "(cached) $ECHO_C" >&6
3471 else
3472   if test -z "$LD"; then
3473   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3474   for ac_dir in $PATH; do
3475     test -z "$ac_dir" && ac_dir=.
3476     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3477       lt_cv_path_LD="$ac_dir/$ac_prog"
3478       # Check to see if the program is GNU ld.  I'd rather use --version,
3479       # but apparently some GNU ld's only accept -v.
3480       # Break only if it was the GNU/non-GNU ld that we prefer.
3481       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3482         test "$with_gnu_ld" != no && break
3483       else
3484         test "$with_gnu_ld" != yes && break
3485       fi
3486     fi
3487   done
3488   IFS="$ac_save_ifs"
3489 else
3490   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3491 fi
3492 fi
3493
3494 LD="$lt_cv_path_LD"
3495 if test -n "$LD"; then
3496   echo "$as_me:$LINENO: result: $LD" >&5
3497 echo "${ECHO_T}$LD" >&6
3498 else
3499   echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3501 fi
3502 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3503 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3504    { (exit 1); exit 1; }; }
3505 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3506 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3507 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3508   echo $ECHO_N "(cached) $ECHO_C" >&6
3509 else
3510   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3511 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3512   lt_cv_prog_gnu_ld=yes
3513 else
3514   lt_cv_prog_gnu_ld=no
3515 fi
3516 fi
3517 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3518 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3519 with_gnu_ld=$lt_cv_prog_gnu_ld
3520
3521
3522 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3523 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3524 if test "${lt_cv_ld_reload_flag+set}" = set; then
3525   echo $ECHO_N "(cached) $ECHO_C" >&6
3526 else
3527   lt_cv_ld_reload_flag='-r'
3528 fi
3529 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3530 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3531 reload_flag=$lt_cv_ld_reload_flag
3532 test -n "$reload_flag" && reload_flag=" $reload_flag"
3533
3534 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3535 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3536 if test "${lt_cv_path_NM+set}" = set; then
3537   echo $ECHO_N "(cached) $ECHO_C" >&6
3538 else
3539   if test -n "$NM"; then
3540   # Let the user override the test.
3541   lt_cv_path_NM="$NM"
3542 else
3543   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3544   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3545     test -z "$ac_dir" && ac_dir=.
3546     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3547     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3548       # Check to see if the nm accepts a BSD-compat flag.
3549       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3550       #   nm: unknown option "B" ignored
3551       # Tru64's nm complains that /dev/null is an invalid object file
3552       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3553         lt_cv_path_NM="$tmp_nm -B"
3554         break
3555       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3556         lt_cv_path_NM="$tmp_nm -p"
3557         break
3558       else
3559         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3560         continue # so that we can try to find one that supports BSD flags
3561       fi
3562     fi
3563   done
3564   IFS="$ac_save_ifs"
3565   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3566 fi
3567 fi
3568
3569 NM="$lt_cv_path_NM"
3570 echo "$as_me:$LINENO: result: $NM" >&5
3571 echo "${ECHO_T}$NM" >&6
3572
3573 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3574 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3575 LN_S=$as_ln_s
3576 if test "$LN_S" = "ln -s"; then
3577   echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3579 else
3580   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3581 echo "${ECHO_T}no, using $LN_S" >&6
3582 fi
3583
3584 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3585 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3586 if test "${lt_cv_deplibs_check_method+set}" = set; then
3587   echo $ECHO_N "(cached) $ECHO_C" >&6
3588 else
3589   lt_cv_file_magic_cmd='$MAGIC_CMD'
3590 lt_cv_file_magic_test_file=
3591 lt_cv_deplibs_check_method='unknown'
3592 # Need to set the preceding variable on all platforms that support
3593 # interlibrary dependencies.
3594 # 'none' -- dependencies not supported.
3595 # `unknown' -- same as none, but documents that we really don't know.
3596 # 'pass_all' -- all dependencies passed with no checks.
3597 # 'test_compile' -- check by making test program.
3598 # 'file_magic [regex]' -- check by looking for files in library path
3599 # which responds to the $file_magic_cmd with a given egrep regex.
3600 # If you have `file' or equivalent on your system and you're not sure
3601 # whether `pass_all' will *always* work, you probably want this one.
3602
3603 case $host_os in
3604 aix*)
3605   lt_cv_deplibs_check_method=pass_all
3606   ;;
3607
3608 beos*)
3609   lt_cv_deplibs_check_method=pass_all
3610   ;;
3611
3612 bsdi4*)
3613   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3614   lt_cv_file_magic_cmd='/usr/bin/file -L'
3615   lt_cv_file_magic_test_file=/shlib/libc.so
3616   ;;
3617
3618 cygwin* | mingw* |pw32*)
3619   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3620   lt_cv_file_magic_cmd='$OBJDUMP -f'
3621   ;;
3622
3623 darwin* | rhapsody*)
3624   # this will be overwritten by pass_all, but leave it in just in case
3625   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3626   lt_cv_file_magic_cmd='/usr/bin/file -L'
3627   case "$host_os" in
3628   rhapsody* | darwin1.012)
3629     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3630     ;;
3631   *) # Darwin 1.3 on
3632     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3633     ;;
3634   esac
3635   lt_cv_deplibs_check_method=pass_all
3636   ;;
3637
3638 freebsd* | kfreebsd*-gnu)
3639   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3640     case $host_cpu in
3641     i*86 )
3642       # Not sure whether the presence of OpenBSD here was a mistake.
3643       # Let's accept both of them until this is cleared up.
3644       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3645       lt_cv_file_magic_cmd=/usr/bin/file
3646       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3647       ;;
3648     esac
3649   else
3650     lt_cv_deplibs_check_method=pass_all
3651   fi
3652   ;;
3653
3654 gnu*)
3655   lt_cv_deplibs_check_method=pass_all
3656   ;;
3657
3658 hpux10.20*|hpux11*)
3659   case $host_cpu in
3660   hppa*)
3661     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3662     lt_cv_file_magic_cmd=/usr/bin/file
3663     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3664     ;;
3665   ia64*)
3666     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3667     lt_cv_file_magic_cmd=/usr/bin/file
3668     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3669     ;;
3670   esac
3671   ;;
3672
3673 irix5* | irix6*)
3674   case $host_os in
3675   irix5*)
3676     # this will be overridden with pass_all, but let us keep it just in case
3677     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3678     ;;
3679   *)
3680     case $LD in
3681     *-32|*"-32 ") libmagic=32-bit;;
3682     *-n32|*"-n32 ") libmagic=N32;;
3683     *-64|*"-64 ") libmagic=64-bit;;
3684     *) libmagic=never-match;;
3685     esac
3686     # this will be overridden with pass_all, but let us keep it just in case
3687     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3688     ;;
3689   esac
3690   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3691   lt_cv_deplibs_check_method=pass_all
3692   ;;
3693
3694 # This must be Linux ELF.
3695 linux-gnu*)
3696   lt_cv_deplibs_check_method=pass_all
3697   ;;
3698
3699 netbsd* | knetbsd*-gnu)
3700   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3701     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3702   else
3703     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3704   fi
3705   ;;
3706
3707 newsos6)
3708   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3709   lt_cv_file_magic_cmd=/usr/bin/file
3710   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3711   ;;
3712
3713 osf3* | osf4* | osf5*)
3714   # this will be overridden with pass_all, but let us keep it just in case
3715   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3716   lt_cv_file_magic_test_file=/shlib/libc.so
3717   lt_cv_deplibs_check_method=pass_all
3718   ;;
3719
3720 sco3.2v5*)
3721   lt_cv_deplibs_check_method=pass_all
3722   ;;
3723
3724 solaris*)
3725   lt_cv_deplibs_check_method=pass_all
3726   lt_cv_file_magic_test_file=/lib/libc.so
3727   ;;
3728
3729 sysv5uw[78]* | sysv4*uw2*)
3730   lt_cv_deplibs_check_method=pass_all
3731   ;;
3732
3733 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3734   case $host_vendor in
3735   ncr)
3736     lt_cv_deplibs_check_method=pass_all
3737     ;;
3738   motorola)
3739     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3740     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3741     ;;
3742   esac
3743   ;;
3744 esac
3745
3746 fi
3747 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3748 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3749 file_magic_cmd=$lt_cv_file_magic_cmd
3750 deplibs_check_method=$lt_cv_deplibs_check_method
3751
3752
3753
3754
3755
3756 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3757
3758 # find the maximum length of command line arguments
3759 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3760 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3761 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3762   echo $ECHO_N "(cached) $ECHO_C" >&6
3763 else
3764     i=0
3765   teststring="ABCD"
3766
3767   case $build_os in
3768   msdosdjgpp*)
3769     # On DJGPP, this test can blow up pretty badly due to problems in libc
3770     # (any single argument exceeding 2000 bytes causes a buffer overrun
3771     # during glob expansion).  Even if it were fixed, the result of this
3772     # check would be larger than it should be.
3773     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3774     ;;
3775
3776   cygwin* | mingw*)
3777     # On Win9x/ME, this test blows up -- it succeeds, but takes
3778     # about 5 minutes as the teststring grows exponentially.
3779     # Worse, since 9x/ME are not pre-emptively multitasking,
3780     # you end up with a "frozen" computer, even though with patience
3781     # the test eventually succeeds (with a max line length of 256k).
3782     # Instead, let's just punt: use the minimum linelength reported by
3783     # all of the supported platforms: 8192 (on NT/2K/XP).
3784     lt_cv_sys_max_cmd_len=8192;
3785     ;;
3786
3787   amigaos*)
3788     # On AmigaOS with pdksh, this test takes hours, literally.
3789     # So we just punt and use a minimum line length of 8192.
3790     lt_cv_sys_max_cmd_len=8192;
3791     ;;
3792
3793   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3794     # This has been around since 386BSD, at least.  Likely further.
3795     if test -x /sbin/sysctl; then
3796       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3797     elif test -x /usr/sbin/sysctl; then
3798       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3799     else
3800       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3801     fi
3802     # And add a safety zone
3803     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3804     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3805     ;;
3806   esac
3807
3808 fi
3809
3810 if test -n "$lt_cv_sys_max_cmd_len" ; then
3811   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3812 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3813 else
3814   echo "$as_me:$LINENO: result: none" >&5
3815 echo "${ECHO_T}none" >&6
3816 fi
3817
3818
3819 # Only perform the check for file, if the check method requires it
3820 case $deplibs_check_method in
3821 file_magic*)
3822   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3823     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3824 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3825 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3826   echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828   case $MAGIC_CMD in
3829   /*)
3830   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3831   ;;
3832   ?:/*)
3833   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3834   ;;
3835   *)
3836   ac_save_MAGIC_CMD="$MAGIC_CMD"
3837   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3838   ac_dummy="/usr/bin:$PATH"
3839   for ac_dir in $ac_dummy; do
3840     test -z "$ac_dir" && ac_dir=.
3841     if test -f $ac_dir/${ac_tool_prefix}file; then
3842       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3843       if test -n "$file_magic_test_file"; then
3844         case $deplibs_check_method in
3845         "file_magic "*)
3846           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3847           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3848           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3849             egrep "$file_magic_regex" > /dev/null; then
3850             :
3851           else
3852             cat <<EOF 1>&2
3853
3854 *** Warning: the command libtool uses to detect shared libraries,
3855 *** $file_magic_cmd, produces output that libtool cannot recognize.
3856 *** The result is that libtool may fail to recognize shared libraries
3857 *** as such.  This will affect the creation of libtool libraries that
3858 *** depend on shared libraries, but programs linked with such libtool
3859 *** libraries will work regardless of this problem.  Nevertheless, you
3860 *** may want to report the problem to your system manager and/or to
3861 *** bug-libtool@gnu.org
3862
3863 EOF
3864           fi ;;
3865         esac
3866       fi
3867       break
3868     fi
3869   done
3870   IFS="$ac_save_ifs"
3871   MAGIC_CMD="$ac_save_MAGIC_CMD"
3872   ;;
3873 esac
3874 fi
3875
3876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3877 if test -n "$MAGIC_CMD"; then
3878   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3879 echo "${ECHO_T}$MAGIC_CMD" >&6
3880 else
3881   echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3883 fi
3884
3885 if test -z "$lt_cv_path_MAGIC_CMD"; then
3886   if test -n "$ac_tool_prefix"; then
3887     echo "$as_me:$LINENO: checking for file" >&5
3888 echo $ECHO_N "checking for file... $ECHO_C" >&6
3889 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3890   echo $ECHO_N "(cached) $ECHO_C" >&6
3891 else
3892   case $MAGIC_CMD in
3893   /*)
3894   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3895   ;;
3896   ?:/*)
3897   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3898   ;;
3899   *)
3900   ac_save_MAGIC_CMD="$MAGIC_CMD"
3901   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3902   ac_dummy="/usr/bin:$PATH"
3903   for ac_dir in $ac_dummy; do
3904     test -z "$ac_dir" && ac_dir=.
3905     if test -f $ac_dir/file; then
3906       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3907       if test -n "$file_magic_test_file"; then
3908         case $deplibs_check_method in
3909         "file_magic "*)
3910           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3911           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3912           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3913             egrep "$file_magic_regex" > /dev/null; then
3914             :
3915           else
3916             cat <<EOF 1>&2
3917
3918 *** Warning: the command libtool uses to detect shared libraries,
3919 *** $file_magic_cmd, produces output that libtool cannot recognize.
3920 *** The result is that libtool may fail to recognize shared libraries
3921 *** as such.  This will affect the creation of libtool libraries that
3922 *** depend on shared libraries, but programs linked with such libtool
3923 *** libraries will work regardless of this problem.  Nevertheless, you
3924 *** may want to report the problem to your system manager and/or to
3925 *** bug-libtool@gnu.org
3926
3927 EOF
3928           fi ;;
3929         esac
3930       fi
3931       break
3932     fi
3933   done
3934   IFS="$ac_save_ifs"
3935   MAGIC_CMD="$ac_save_MAGIC_CMD"
3936   ;;
3937 esac
3938 fi
3939
3940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3941 if test -n "$MAGIC_CMD"; then
3942   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3943 echo "${ECHO_T}$MAGIC_CMD" >&6
3944 else
3945   echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3947 fi
3948
3949   else
3950     MAGIC_CMD=:
3951   fi
3952 fi
3953
3954   fi
3955   ;;
3956 esac
3957
3958 if test -n "$ac_tool_prefix"; then
3959   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3960 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3961 echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3963 if test "${ac_cv_prog_RANLIB+set}" = set; then
3964   echo $ECHO_N "(cached) $ECHO_C" >&6
3965 else
3966   if test -n "$RANLIB"; then
3967   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3971 do
3972   IFS=$as_save_IFS
3973   test -z "$as_dir" && as_dir=.
3974   for ac_exec_ext in '' $ac_executable_extensions; do
3975   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3977     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3978     break 2
3979   fi
3980 done
3981 done
3982
3983 fi
3984 fi
3985 RANLIB=$ac_cv_prog_RANLIB
3986 if test -n "$RANLIB"; then
3987   echo "$as_me:$LINENO: result: $RANLIB" >&5
3988 echo "${ECHO_T}$RANLIB" >&6
3989 else
3990   echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3992 fi
3993
3994 fi
3995 if test -z "$ac_cv_prog_RANLIB"; then
3996   ac_ct_RANLIB=$RANLIB
3997   # Extract the first word of "ranlib", so it can be a program name with args.
3998 set dummy ranlib; ac_word=$2
3999 echo "$as_me:$LINENO: checking for $ac_word" >&5
4000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4001 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4002   echo $ECHO_N "(cached) $ECHO_C" >&6
4003 else
4004   if test -n "$ac_ct_RANLIB"; then
4005   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4006 else
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008 for as_dir in $PATH
4009 do
4010   IFS=$as_save_IFS
4011   test -z "$as_dir" && as_dir=.
4012   for ac_exec_ext in '' $ac_executable_extensions; do
4013   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014     ac_cv_prog_ac_ct_RANLIB="ranlib"
4015     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4016     break 2
4017   fi
4018 done
4019 done
4020
4021   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4022 fi
4023 fi
4024 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4025 if test -n "$ac_ct_RANLIB"; then
4026   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4027 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4028 else
4029   echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4031 fi
4032
4033   RANLIB=$ac_ct_RANLIB
4034 else
4035   RANLIB="$ac_cv_prog_RANLIB"
4036 fi
4037
4038 if test -n "$ac_tool_prefix"; then
4039   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4040 set dummy ${ac_tool_prefix}strip; ac_word=$2
4041 echo "$as_me:$LINENO: checking for $ac_word" >&5
4042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4043 if test "${ac_cv_prog_STRIP+set}" = set; then
4044   echo $ECHO_N "(cached) $ECHO_C" >&6
4045 else
4046   if test -n "$STRIP"; then
4047   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4048 else
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4050 for as_dir in $PATH
4051 do
4052   IFS=$as_save_IFS
4053   test -z "$as_dir" && as_dir=.
4054   for ac_exec_ext in '' $ac_executable_extensions; do
4055   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4057     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4058     break 2
4059   fi
4060 done
4061 done
4062
4063 fi
4064 fi
4065 STRIP=$ac_cv_prog_STRIP
4066 if test -n "$STRIP"; then
4067   echo "$as_me:$LINENO: result: $STRIP" >&5
4068 echo "${ECHO_T}$STRIP" >&6
4069 else
4070   echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4072 fi
4073
4074 fi
4075 if test -z "$ac_cv_prog_STRIP"; then
4076   ac_ct_STRIP=$STRIP
4077   # Extract the first word of "strip", so it can be a program name with args.
4078 set dummy strip; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4082   echo $ECHO_N "(cached) $ECHO_C" >&6
4083 else
4084   if test -n "$ac_ct_STRIP"; then
4085   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4086 else
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4089 do
4090   IFS=$as_save_IFS
4091   test -z "$as_dir" && as_dir=.
4092   for ac_exec_ext in '' $ac_executable_extensions; do
4093   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094     ac_cv_prog_ac_ct_STRIP="strip"
4095     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4096     break 2
4097   fi
4098 done
4099 done
4100
4101   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4102 fi
4103 fi
4104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4105 if test -n "$ac_ct_STRIP"; then
4106   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4107 echo "${ECHO_T}$ac_ct_STRIP" >&6
4108 else
4109   echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4111 fi
4112
4113   STRIP=$ac_ct_STRIP
4114 else
4115   STRIP="$ac_cv_prog_STRIP"
4116 fi
4117
4118
4119 # Check for any special flags to pass to ltconfig.
4120 libtool_flags="--cache-file=$cache_file"
4121 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4122 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4123 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4124 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4125 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4126
4127
4128 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4129 if test "${enable_libtool_lock+set}" = set; then
4130   enableval="$enable_libtool_lock"
4131
4132 fi;
4133 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4134 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4135
4136
4137 # Check whether --with-pic or --without-pic was given.
4138 if test "${with_pic+set}" = set; then
4139   withval="$with_pic"
4140   pic_mode="$withval"
4141 else
4142   pic_mode=default
4143 fi;
4144 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4145 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4146
4147 # Some flags need to be propagated to the compiler or linker for good
4148 # libtool support.
4149 case $host in
4150 *-*-irix6*)
4151   # Find out which ABI we are using.
4152   echo '#line 4152 "configure"' > conftest.$ac_ext
4153   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4154   (eval $ac_compile) 2>&5
4155   ac_status=$?
4156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157   (exit $ac_status); }; then
4158    if test "$lt_cv_prog_gnu_ld" = yes; then
4159     case `/usr/bin/file conftest.$ac_objext` in
4160     *32-bit*)
4161       LD="${LD-ld} -melf32bsmip"
4162       ;;
4163     *N32*)
4164       LD="${LD-ld} -melf32bmipn32"
4165       ;;
4166     *64-bit*)
4167       LD="${LD-ld} -melf64bmip"
4168       ;;
4169     esac
4170    else
4171     case `/usr/bin/file conftest.$ac_objext` in
4172     *32-bit*)
4173       LD="${LD-ld} -32"
4174       ;;
4175     *N32*)
4176       LD="${LD-ld} -n32"
4177       ;;
4178     *64-bit*)
4179       LD="${LD-ld} -64"
4180       ;;
4181     esac
4182    fi
4183   fi
4184   rm -rf conftest*
4185   ;;
4186
4187 ia64-*-hpux*)
4188   # Find out which ABI we are using.
4189   echo 'int i;' > conftest.$ac_ext
4190   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4191   (eval $ac_compile) 2>&5
4192   ac_status=$?
4193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194   (exit $ac_status); }; then
4195     case "`/usr/bin/file conftest.o`" in
4196     *ELF-32*)
4197       HPUX_IA64_MODE="32"
4198       ;;
4199     *ELF-64*)
4200       HPUX_IA64_MODE="64"
4201       ;;
4202     esac
4203   fi
4204   rm -rf conftest*
4205   ;;
4206
4207 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4208   # Find out which ABI we are using.
4209   echo 'int i;' > conftest.$ac_ext
4210   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211   (eval $ac_compile) 2>&5
4212   ac_status=$?
4213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214   (exit $ac_status); }; then
4215     case "`/usr/bin/file conftest.o`" in
4216     *32-bit*)
4217       case $host in
4218         x86_64-*linux*)
4219           LD="${LD-ld} -m elf_i386"
4220           ;;
4221         ppc64-*linux*|powerpc64-*linux*)
4222           LD="${LD-ld} -m elf32ppclinux"
4223           ;;
4224         s390x-*linux*)
4225           LD="${LD-ld} -m elf_s390"
4226           ;;
4227         sparc64-*linux*)
4228           LD="${LD-ld} -m elf32_sparc"
4229           ;;
4230       esac
4231       ;;
4232     *64-bit*)
4233       case $host in
4234         x86_64-*linux*)
4235           LD="${LD-ld} -m elf_x86_64"
4236           ;;
4237         ppc*-*linux*|powerpc*-*linux*)
4238           LD="${LD-ld} -m elf64ppc"
4239           ;;
4240         s390*-*linux*)
4241           LD="${LD-ld} -m elf64_s390"
4242           ;;
4243         sparc*-*linux*)
4244           LD="${LD-ld} -m elf64_sparc"
4245           ;;
4246       esac
4247       ;;
4248     esac
4249   fi
4250   rm -rf conftest*
4251   ;;
4252
4253 *-*-sco3.2v5*)
4254   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4255   SAVE_CFLAGS="$CFLAGS"
4256   CFLAGS="$CFLAGS -belf"
4257   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4258 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4259 if test "${lt_cv_cc_needs_belf+set}" = set; then
4260   echo $ECHO_N "(cached) $ECHO_C" >&6
4261 else
4262
4263
4264      ac_ext=c
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4269
4270      if test x$gcc_no_link = xyes; then
4271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4273    { (exit 1); exit 1; }; }
4274 fi
4275 cat >conftest.$ac_ext <<_ACEOF
4276 /* confdefs.h.  */
4277 _ACEOF
4278 cat confdefs.h >>conftest.$ac_ext
4279 cat >>conftest.$ac_ext <<_ACEOF
4280 /* end confdefs.h.  */
4281
4282 int
4283 main ()
4284 {
4285
4286   ;
4287   return 0;
4288 }
4289 _ACEOF
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4292   (eval $ac_link) 2>conftest.er1
4293   ac_status=$?
4294   grep -v '^ *+' conftest.er1 >conftest.err
4295   rm -f conftest.er1
4296   cat conftest.err >&5
4297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298   (exit $ac_status); } &&
4299          { ac_try='test -z "$ac_c_werror_flag"
4300                          || test ! -s conftest.err'
4301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302   (eval $ac_try) 2>&5
4303   ac_status=$?
4304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305   (exit $ac_status); }; } &&
4306          { ac_try='test -s conftest$ac_exeext'
4307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308   (eval $ac_try) 2>&5
4309   ac_status=$?
4310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311   (exit $ac_status); }; }; then
4312   lt_cv_cc_needs_belf=yes
4313 else
4314   echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4316
4317 lt_cv_cc_needs_belf=no
4318 fi
4319 rm -f conftest.err conftest.$ac_objext \
4320       conftest$ac_exeext conftest.$ac_ext
4321      ac_ext=c
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4326
4327 fi
4328 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4329 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4330   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4331     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4332     CFLAGS="$SAVE_CFLAGS"
4333   fi
4334   ;;
4335
4336
4337 esac
4338
4339
4340 # Save cache, so that ltconfig can load it
4341 cat >confcache <<\_ACEOF
4342 # This file is a shell script that caches the results of configure
4343 # tests run on this system so they can be shared between configure
4344 # scripts and configure runs, see configure's option --config-cache.
4345 # It is not useful on other systems.  If it contains results you don't
4346 # want to keep, you may remove or edit it.
4347 #
4348 # config.status only pays attention to the cache file if you give it
4349 # the --recheck option to rerun configure.
4350 #
4351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4353 # following values.
4354
4355 _ACEOF
4356
4357 # The following way of writing the cache mishandles newlines in values,
4358 # but we know of no workaround that is simple, portable, and efficient.
4359 # So, don't put newlines in cache variables' values.
4360 # Ultrix sh set writes to stderr and can't be redirected directly,
4361 # and sets the high bit in the cache file unless we assign to the vars.
4362 {
4363   (set) 2>&1 |
4364     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4365     *ac_space=\ *)
4366       # `set' does not quote correctly, so add quotes (double-quote
4367       # substitution turns \\\\ into \\, and sed turns \\ into \).
4368       sed -n \
4369         "s/'/'\\\\''/g;
4370           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4371       ;;
4372     *)
4373       # `set' quotes correctly as required by POSIX, so do not add quotes.
4374       sed -n \
4375         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4376       ;;
4377     esac;
4378 } |
4379   sed '
4380      t clear
4381      : clear
4382      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4383      t end
4384      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4385      : end' >>confcache
4386 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4387   if test -w $cache_file; then
4388     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4389     cat confcache >$cache_file
4390   else
4391     echo "not updating unwritable cache $cache_file"
4392   fi
4393 fi
4394 rm -f confcache
4395
4396 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4397 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4398 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4399 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4400 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4401 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4402 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4403 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4404 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4405 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4406 echo "$as_me: error: libtool configure failed" >&2;}
4407    { (exit 1); exit 1; }; }
4408
4409 # Reload cache, that may have been modified by ltconfig
4410 if test -r "$cache_file"; then
4411   # Some versions of bash will fail to source /dev/null (special
4412   # files actually), so we avoid doing that.
4413   if test -f "$cache_file"; then
4414     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4415 echo "$as_me: loading cache $cache_file" >&6;}
4416     case $cache_file in
4417       [\\/]* | ?:[\\/]* ) . $cache_file;;
4418       *)                      . ./$cache_file;;
4419     esac
4420   fi
4421 else
4422   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4423 echo "$as_me: creating cache $cache_file" >&6;}
4424   >$cache_file
4425 fi
4426
4427
4428 # This can be used to rebuild libtool when needed
4429 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4430
4431 # Always use our own libtool.
4432 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4433
4434 # Redirect the config.log output again, so that the ltconfig log is not
4435 # clobbered by the next message.
4436 exec 5>>./config.log
4437
4438
4439
4440
4441
4442
4443
4444
4445 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4446
4447 # We need gfortran to compile parts of the library
4448 #AC_PROG_FC(gfortran)
4449 FC="$GFORTRAN"
4450 ac_ext=${FC_SRCEXT-f}
4451 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4452 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4454 if test -n "$ac_tool_prefix"; then
4455   for ac_prog in gfortran
4456   do
4457     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4459 echo "$as_me:$LINENO: checking for $ac_word" >&5
4460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4461 if test "${ac_cv_prog_FC+set}" = set; then
4462   echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else
4464   if test -n "$FC"; then
4465   ac_cv_prog_FC="$FC" # Let the user override the test.
4466 else
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH
4469 do
4470   IFS=$as_save_IFS
4471   test -z "$as_dir" && as_dir=.
4472   for ac_exec_ext in '' $ac_executable_extensions; do
4473   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4474     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4475     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4476     break 2
4477   fi
4478 done
4479 done
4480
4481 fi
4482 fi
4483 FC=$ac_cv_prog_FC
4484 if test -n "$FC"; then
4485   echo "$as_me:$LINENO: result: $FC" >&5
4486 echo "${ECHO_T}$FC" >&6
4487 else
4488   echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4490 fi
4491
4492     test -n "$FC" && break
4493   done
4494 fi
4495 if test -z "$FC"; then
4496   ac_ct_FC=$FC
4497   for ac_prog in gfortran
4498 do
4499   # Extract the first word of "$ac_prog", so it can be a program name with args.
4500 set dummy $ac_prog; ac_word=$2
4501 echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4503 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4504   echo $ECHO_N "(cached) $ECHO_C" >&6
4505 else
4506   if test -n "$ac_ct_FC"; then
4507   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4508 else
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 for as_dir in $PATH
4511 do
4512   IFS=$as_save_IFS
4513   test -z "$as_dir" && as_dir=.
4514   for ac_exec_ext in '' $ac_executable_extensions; do
4515   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516     ac_cv_prog_ac_ct_FC="$ac_prog"
4517     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4518     break 2
4519   fi
4520 done
4521 done
4522
4523 fi
4524 fi
4525 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4526 if test -n "$ac_ct_FC"; then
4527   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4528 echo "${ECHO_T}$ac_ct_FC" >&6
4529 else
4530   echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4532 fi
4533
4534   test -n "$ac_ct_FC" && break
4535 done
4536
4537   FC=$ac_ct_FC
4538 fi
4539
4540
4541 # Provide some information about the compiler.
4542 echo "$as_me:4542:" \
4543      "checking for Fortran compiler version" >&5
4544 ac_compiler=`set X $ac_compile; echo $2`
4545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4546   (eval $ac_compiler --version </dev/null >&5) 2>&5
4547   ac_status=$?
4548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549   (exit $ac_status); }
4550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4551   (eval $ac_compiler -v </dev/null >&5) 2>&5
4552   ac_status=$?
4553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554   (exit $ac_status); }
4555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4556   (eval $ac_compiler -V </dev/null >&5) 2>&5
4557   ac_status=$?
4558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559   (exit $ac_status); }
4560 rm -f a.out
4561
4562 # If we don't use `.F' as extension, the preprocessor is not run on the
4563 # input file.  (Note that this only needs to work for GNU compilers.)
4564 ac_save_ext=$ac_ext
4565 ac_ext=F
4566 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4567 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4568 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4569   echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571   cat >conftest.$ac_ext <<_ACEOF
4572       program main
4573 #ifndef __GNUC__
4574        choke me
4575 #endif
4576
4577       end
4578 _ACEOF
4579 rm -f conftest.$ac_objext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4581   (eval $ac_compile) 2>conftest.er1
4582   ac_status=$?
4583   grep -v '^ *+' conftest.er1 >conftest.err
4584   rm -f conftest.er1
4585   cat conftest.err >&5
4586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587   (exit $ac_status); } &&
4588          { ac_try='test -z "$ac_fc_werror_flag"
4589                          || test ! -s conftest.err'
4590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591   (eval $ac_try) 2>&5
4592   ac_status=$?
4593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594   (exit $ac_status); }; } &&
4595          { ac_try='test -s conftest.$ac_objext'
4596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597   (eval $ac_try) 2>&5
4598   ac_status=$?
4599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600   (exit $ac_status); }; }; then
4601   ac_compiler_gnu=yes
4602 else
4603   echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4605
4606 ac_compiler_gnu=no
4607 fi
4608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4609 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4610
4611 fi
4612 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4613 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4614 ac_ext=$ac_save_ext
4615 ac_test_FFLAGS=${FCFLAGS+set}
4616 ac_save_FFLAGS=$FCFLAGS
4617 FCFLAGS=
4618 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4619 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4620 if test "${ac_cv_prog_fc_g+set}" = set; then
4621   echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623   FCFLAGS=-g
4624 cat >conftest.$ac_ext <<_ACEOF
4625       program main
4626
4627       end
4628 _ACEOF
4629 rm -f conftest.$ac_objext
4630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4631   (eval $ac_compile) 2>conftest.er1
4632   ac_status=$?
4633   grep -v '^ *+' conftest.er1 >conftest.err
4634   rm -f conftest.er1
4635   cat conftest.err >&5
4636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637   (exit $ac_status); } &&
4638          { ac_try='test -z "$ac_fc_werror_flag"
4639                          || test ! -s conftest.err'
4640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641   (eval $ac_try) 2>&5
4642   ac_status=$?
4643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644   (exit $ac_status); }; } &&
4645          { ac_try='test -s conftest.$ac_objext'
4646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647   (eval $ac_try) 2>&5
4648   ac_status=$?
4649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650   (exit $ac_status); }; }; then
4651   ac_cv_prog_fc_g=yes
4652 else
4653   echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.$ac_ext >&5
4655
4656 ac_cv_prog_fc_g=no
4657 fi
4658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4659
4660 fi
4661 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4662 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4663 if test "$ac_test_FFLAGS" = set; then
4664   FCFLAGS=$ac_save_FFLAGS
4665 elif test $ac_cv_prog_fc_g = yes; then
4666   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4667     FCFLAGS="-g -O2"
4668   else
4669     FCFLAGS="-g"
4670   fi
4671 else
4672   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4673     FCFLAGS="-O2"
4674   else
4675     FCFLAGS=
4676   fi
4677 fi
4678
4679 ac_ext=c
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4684
4685
4686 # extra LD Flags which are required for targets
4687 case "${host}" in
4688   *-darwin*)
4689     # Darwin needs -single_module when linking libgfortran
4690     extra_ldflags_libgfortran=-Wl,-single_module
4691     ;;
4692 esac
4693
4694
4695 # Check whether --enable-largefile or --disable-largefile was given.
4696 if test "${enable_largefile+set}" = set; then
4697   enableval="$enable_largefile"
4698
4699 fi;
4700 if test "$enable_largefile" != no; then
4701
4702   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4703 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4704 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4705   echo $ECHO_N "(cached) $ECHO_C" >&6
4706 else
4707   ac_cv_sys_largefile_CC=no
4708      if test "$GCC" != yes; then
4709        ac_save_CC=$CC
4710        while :; do
4711          # IRIX 6.2 and later do not support large files by default,
4712          # so use the C compiler's -n32 option if that helps.
4713          cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h.  */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h.  */
4719 #include <sys/types.h>
4720  /* Check that off_t can represent 2**63 - 1 correctly.
4721     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4722     since some C++ compilers masquerading as C compilers
4723     incorrectly reject 9223372036854775807.  */
4724 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4725   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4726                        && LARGE_OFF_T % 2147483647 == 1)
4727                       ? 1 : -1];
4728 int
4729 main ()
4730 {
4731
4732   ;
4733   return 0;
4734 }
4735 _ACEOF
4736          rm -f conftest.$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738   (eval $ac_compile) 2>conftest.er1
4739   ac_status=$?
4740   grep -v '^ *+' conftest.er1 >conftest.err
4741   rm -f conftest.er1
4742   cat conftest.err >&5
4743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744   (exit $ac_status); } &&
4745          { ac_try='test -z "$ac_c_werror_flag"
4746                          || test ! -s conftest.err'
4747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748   (eval $ac_try) 2>&5
4749   ac_status=$?
4750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751   (exit $ac_status); }; } &&
4752          { ac_try='test -s conftest.$ac_objext'
4753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754   (eval $ac_try) 2>&5
4755   ac_status=$?
4756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757   (exit $ac_status); }; }; then
4758   break
4759 else
4760   echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.$ac_ext >&5
4762
4763 fi
4764 rm -f conftest.err conftest.$ac_objext
4765          CC="$CC -n32"
4766          rm -f conftest.$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768   (eval $ac_compile) 2>conftest.er1
4769   ac_status=$?
4770   grep -v '^ *+' conftest.er1 >conftest.err
4771   rm -f conftest.er1
4772   cat conftest.err >&5
4773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774   (exit $ac_status); } &&
4775          { ac_try='test -z "$ac_c_werror_flag"
4776                          || test ! -s conftest.err'
4777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778   (eval $ac_try) 2>&5
4779   ac_status=$?
4780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781   (exit $ac_status); }; } &&
4782          { ac_try='test -s conftest.$ac_objext'
4783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784   (eval $ac_try) 2>&5
4785   ac_status=$?
4786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787   (exit $ac_status); }; }; then
4788   ac_cv_sys_largefile_CC=' -n32'; break
4789 else
4790   echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.$ac_ext >&5
4792
4793 fi
4794 rm -f conftest.err conftest.$ac_objext
4795          break
4796        done
4797        CC=$ac_save_CC
4798        rm -f conftest.$ac_ext
4799     fi
4800 fi
4801 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4802 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4803   if test "$ac_cv_sys_largefile_CC" != no; then
4804     CC=$CC$ac_cv_sys_largefile_CC
4805   fi
4806
4807   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4808 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4809 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4810   echo $ECHO_N "(cached) $ECHO_C" >&6
4811 else
4812   while :; do
4813   ac_cv_sys_file_offset_bits=no
4814   cat >conftest.$ac_ext <<_ACEOF
4815 /* confdefs.h.  */
4816 _ACEOF
4817 cat confdefs.h >>conftest.$ac_ext
4818 cat >>conftest.$ac_ext <<_ACEOF
4819 /* end confdefs.h.  */
4820 #include <sys/types.h>
4821  /* Check that off_t can represent 2**63 - 1 correctly.
4822     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4823     since some C++ compilers masquerading as C compilers
4824     incorrectly reject 9223372036854775807.  */
4825 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4826   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4827                        && LARGE_OFF_T % 2147483647 == 1)
4828                       ? 1 : -1];
4829 int
4830 main ()
4831 {
4832
4833   ;
4834   return 0;
4835 }
4836 _ACEOF
4837 rm -f conftest.$ac_objext
4838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4839   (eval $ac_compile) 2>conftest.er1
4840   ac_status=$?
4841   grep -v '^ *+' conftest.er1 >conftest.err
4842   rm -f conftest.er1
4843   cat conftest.err >&5
4844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845   (exit $ac_status); } &&
4846          { ac_try='test -z "$ac_c_werror_flag"
4847                          || test ! -s conftest.err'
4848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849   (eval $ac_try) 2>&5
4850   ac_status=$?
4851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852   (exit $ac_status); }; } &&
4853          { ac_try='test -s conftest.$ac_objext'
4854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855   (eval $ac_try) 2>&5
4856   ac_status=$?
4857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858   (exit $ac_status); }; }; then
4859   break
4860 else
4861   echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4863
4864 fi
4865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4866   cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h.  */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h.  */
4872 #define _FILE_OFFSET_BITS 64
4873 #include <sys/types.h>
4874  /* Check that off_t can represent 2**63 - 1 correctly.
4875     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4876     since some C++ compilers masquerading as C compilers
4877     incorrectly reject 9223372036854775807.  */
4878 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4879   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4880                        && LARGE_OFF_T % 2147483647 == 1)
4881                       ? 1 : -1];
4882 int
4883 main ()
4884 {
4885
4886   ;
4887   return 0;
4888 }
4889 _ACEOF
4890 rm -f conftest.$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892   (eval $ac_compile) 2>conftest.er1
4893   ac_status=$?
4894   grep -v '^ *+' conftest.er1 >conftest.err
4895   rm -f conftest.er1
4896   cat conftest.err >&5
4897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898   (exit $ac_status); } &&
4899          { ac_try='test -z "$ac_c_werror_flag"
4900                          || test ! -s conftest.err'
4901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902   (eval $ac_try) 2>&5
4903   ac_status=$?
4904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905   (exit $ac_status); }; } &&
4906          { ac_try='test -s conftest.$ac_objext'
4907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908   (eval $ac_try) 2>&5
4909   ac_status=$?
4910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911   (exit $ac_status); }; }; then
4912   ac_cv_sys_file_offset_bits=64; break
4913 else
4914   echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.$ac_ext >&5
4916
4917 fi
4918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4919   break
4920 done
4921 fi
4922 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4923 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4924 if test "$ac_cv_sys_file_offset_bits" != no; then
4925
4926 cat >>confdefs.h <<_ACEOF
4927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4928 _ACEOF
4929
4930 fi
4931 rm -f conftest*
4932   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4933 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4934 if test "${ac_cv_sys_large_files+set}" = set; then
4935   echo $ECHO_N "(cached) $ECHO_C" >&6
4936 else
4937   while :; do
4938   ac_cv_sys_large_files=no
4939   cat >conftest.$ac_ext <<_ACEOF
4940 /* confdefs.h.  */
4941 _ACEOF
4942 cat confdefs.h >>conftest.$ac_ext
4943 cat >>conftest.$ac_ext <<_ACEOF
4944 /* end confdefs.h.  */
4945 #include <sys/types.h>
4946  /* Check that off_t can represent 2**63 - 1 correctly.
4947     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4948     since some C++ compilers masquerading as C compilers
4949     incorrectly reject 9223372036854775807.  */
4950 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4951   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4952                        && LARGE_OFF_T % 2147483647 == 1)
4953                       ? 1 : -1];
4954 int
4955 main ()
4956 {
4957
4958   ;
4959   return 0;
4960 }
4961 _ACEOF
4962 rm -f conftest.$ac_objext
4963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4964   (eval $ac_compile) 2>conftest.er1
4965   ac_status=$?
4966   grep -v '^ *+' conftest.er1 >conftest.err
4967   rm -f conftest.er1
4968   cat conftest.err >&5
4969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970   (exit $ac_status); } &&
4971          { ac_try='test -z "$ac_c_werror_flag"
4972                          || test ! -s conftest.err'
4973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974   (eval $ac_try) 2>&5
4975   ac_status=$?
4976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977   (exit $ac_status); }; } &&
4978          { ac_try='test -s conftest.$ac_objext'
4979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980   (eval $ac_try) 2>&5
4981   ac_status=$?
4982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983   (exit $ac_status); }; }; then
4984   break
4985 else
4986   echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4988
4989 fi
4990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4991   cat >conftest.$ac_ext <<_ACEOF
4992 /* confdefs.h.  */
4993 _ACEOF
4994 cat confdefs.h >>conftest.$ac_ext
4995 cat >>conftest.$ac_ext <<_ACEOF
4996 /* end confdefs.h.  */
4997 #define _LARGE_FILES 1
4998 #include <sys/types.h>
4999  /* Check that off_t can represent 2**63 - 1 correctly.
5000     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5001     since some C++ compilers masquerading as C compilers
5002     incorrectly reject 9223372036854775807.  */
5003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5004   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5005                        && LARGE_OFF_T % 2147483647 == 1)
5006                       ? 1 : -1];
5007 int
5008 main ()
5009 {
5010
5011   ;
5012   return 0;
5013 }
5014 _ACEOF
5015 rm -f conftest.$ac_objext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017   (eval $ac_compile) 2>conftest.er1
5018   ac_status=$?
5019   grep -v '^ *+' conftest.er1 >conftest.err
5020   rm -f conftest.er1
5021   cat conftest.err >&5
5022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023   (exit $ac_status); } &&
5024          { ac_try='test -z "$ac_c_werror_flag"
5025                          || test ! -s conftest.err'
5026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027   (eval $ac_try) 2>&5
5028   ac_status=$?
5029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030   (exit $ac_status); }; } &&
5031          { ac_try='test -s conftest.$ac_objext'
5032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033   (eval $ac_try) 2>&5
5034   ac_status=$?
5035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036   (exit $ac_status); }; }; then
5037   ac_cv_sys_large_files=1; break
5038 else
5039   echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.$ac_ext >&5
5041
5042 fi
5043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5044   break
5045 done
5046 fi
5047 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5048 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5049 if test "$ac_cv_sys_large_files" != no; then
5050
5051 cat >>confdefs.h <<_ACEOF
5052 #define _LARGE_FILES $ac_cv_sys_large_files
5053 _ACEOF
5054
5055 fi
5056 rm -f conftest*
5057 fi
5058
5059 if test x$gcc_no_link = xyes; then
5060   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5061     ac_cv_func_mmap_fixed_mapped=no
5062   fi
5063 fi
5064 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5065   ac_ext=c
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5072 # On Suns, sometimes $CPP names a directory.
5073 if test -n "$CPP" && test -d "$CPP"; then
5074   CPP=
5075 fi
5076 if test -z "$CPP"; then
5077   if test "${ac_cv_prog_CPP+set}" = set; then
5078   echo $ECHO_N "(cached) $ECHO_C" >&6
5079 else
5080       # Double quotes because CPP needs to be expanded
5081     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5082     do
5083       ac_preproc_ok=false
5084 for ac_c_preproc_warn_flag in '' yes
5085 do
5086   # Use a header file that comes with gcc, so configuring glibc
5087   # with a fresh cross-compiler works.
5088   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5089   # <limits.h> exists even on freestanding compilers.
5090   # On the NeXT, cc -E runs the code through the compiler's parser,
5091   # not just through cpp. "Syntax error" is here to catch this case.
5092   cat >conftest.$ac_ext <<_ACEOF
5093 /* confdefs.h.  */
5094 _ACEOF
5095 cat confdefs.h >>conftest.$ac_ext
5096 cat >>conftest.$ac_ext <<_ACEOF
5097 /* end confdefs.h.  */
5098 #ifdef __STDC__
5099 # include <limits.h>
5100 #else
5101 # include <assert.h>
5102 #endif
5103                      Syntax error
5104 _ACEOF
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107   ac_status=$?
5108   grep -v '^ *+' conftest.er1 >conftest.err
5109   rm -f conftest.er1
5110   cat conftest.err >&5
5111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112   (exit $ac_status); } >/dev/null; then
5113   if test -s conftest.err; then
5114     ac_cpp_err=$ac_c_preproc_warn_flag
5115     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5116   else
5117     ac_cpp_err=
5118   fi
5119 else
5120   ac_cpp_err=yes
5121 fi
5122 if test -z "$ac_cpp_err"; then
5123   :
5124 else
5125   echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5127
5128   # Broken: fails on valid input.
5129 continue
5130 fi
5131 rm -f conftest.err conftest.$ac_ext
5132
5133   # OK, works on sane cases.  Now check whether non-existent headers
5134   # can be detected and how.
5135   cat >conftest.$ac_ext <<_ACEOF
5136 /* confdefs.h.  */
5137 _ACEOF
5138 cat confdefs.h >>conftest.$ac_ext
5139 cat >>conftest.$ac_ext <<_ACEOF
5140 /* end confdefs.h.  */
5141 #include <ac_nonexistent.h>
5142 _ACEOF
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5145   ac_status=$?
5146   grep -v '^ *+' conftest.er1 >conftest.err
5147   rm -f conftest.er1
5148   cat conftest.err >&5
5149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150   (exit $ac_status); } >/dev/null; then
5151   if test -s conftest.err; then
5152     ac_cpp_err=$ac_c_preproc_warn_flag
5153     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5154   else
5155     ac_cpp_err=
5156   fi
5157 else
5158   ac_cpp_err=yes
5159 fi
5160 if test -z "$ac_cpp_err"; then
5161   # Broken: success on invalid input.
5162 continue
5163 else
5164   echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.$ac_ext >&5
5166
5167   # Passes both tests.
5168 ac_preproc_ok=:
5169 break
5170 fi
5171 rm -f conftest.err conftest.$ac_ext
5172
5173 done
5174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5175 rm -f conftest.err conftest.$ac_ext
5176 if $ac_preproc_ok; then
5177   break
5178 fi
5179
5180     done
5181     ac_cv_prog_CPP=$CPP
5182
5183 fi
5184   CPP=$ac_cv_prog_CPP
5185 else
5186   ac_cv_prog_CPP=$CPP
5187 fi
5188 echo "$as_me:$LINENO: result: $CPP" >&5
5189 echo "${ECHO_T}$CPP" >&6
5190 ac_preproc_ok=false
5191 for ac_c_preproc_warn_flag in '' yes
5192 do
5193   # Use a header file that comes with gcc, so configuring glibc
5194   # with a fresh cross-compiler works.
5195   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196   # <limits.h> exists even on freestanding compilers.
5197   # On the NeXT, cc -E runs the code through the compiler's parser,
5198   # not just through cpp. "Syntax error" is here to catch this case.
5199   cat >conftest.$ac_ext <<_ACEOF
5200 /* confdefs.h.  */
5201 _ACEOF
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h.  */
5205 #ifdef __STDC__
5206 # include <limits.h>
5207 #else
5208 # include <assert.h>
5209 #endif
5210                      Syntax error
5211 _ACEOF
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214   ac_status=$?
5215   grep -v '^ *+' conftest.er1 >conftest.err
5216   rm -f conftest.er1
5217   cat conftest.err >&5
5218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219   (exit $ac_status); } >/dev/null; then
5220   if test -s conftest.err; then
5221     ac_cpp_err=$ac_c_preproc_warn_flag
5222     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5223   else
5224     ac_cpp_err=
5225   fi
5226 else
5227   ac_cpp_err=yes
5228 fi
5229 if test -z "$ac_cpp_err"; then
5230   :
5231 else
5232   echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5234
5235   # Broken: fails on valid input.
5236 continue
5237 fi
5238 rm -f conftest.err conftest.$ac_ext
5239
5240   # OK, works on sane cases.  Now check whether non-existent headers
5241   # can be detected and how.
5242   cat >conftest.$ac_ext <<_ACEOF
5243 /* confdefs.h.  */
5244 _ACEOF
5245 cat confdefs.h >>conftest.$ac_ext
5246 cat >>conftest.$ac_ext <<_ACEOF
5247 /* end confdefs.h.  */
5248 #include <ac_nonexistent.h>
5249 _ACEOF
5250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5251   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5252   ac_status=$?
5253   grep -v '^ *+' conftest.er1 >conftest.err
5254   rm -f conftest.er1
5255   cat conftest.err >&5
5256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257   (exit $ac_status); } >/dev/null; then
5258   if test -s conftest.err; then
5259     ac_cpp_err=$ac_c_preproc_warn_flag
5260     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5261   else
5262     ac_cpp_err=
5263   fi
5264 else
5265   ac_cpp_err=yes
5266 fi
5267 if test -z "$ac_cpp_err"; then
5268   # Broken: success on invalid input.
5269 continue
5270 else
5271   echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5273
5274   # Passes both tests.
5275 ac_preproc_ok=:
5276 break
5277 fi
5278 rm -f conftest.err conftest.$ac_ext
5279
5280 done
5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5282 rm -f conftest.err conftest.$ac_ext
5283 if $ac_preproc_ok; then
5284   :
5285 else
5286   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5287 See \`config.log' for more details." >&5
5288 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5289 See \`config.log' for more details." >&2;}
5290    { (exit 1); exit 1; }; }
5291 fi
5292
5293 ac_ext=c
5294 ac_cpp='$CPP $CPPFLAGS'
5295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5298
5299
5300 echo "$as_me:$LINENO: checking for egrep" >&5
5301 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5302 if test "${ac_cv_prog_egrep+set}" = set; then
5303   echo $ECHO_N "(cached) $ECHO_C" >&6
5304 else
5305   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5306     then ac_cv_prog_egrep='grep -E'
5307     else ac_cv_prog_egrep='egrep'
5308     fi
5309 fi
5310 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5311 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5312  EGREP=$ac_cv_prog_egrep
5313
5314
5315 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5316 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5317 if test "${ac_cv_header_stdc+set}" = set; then
5318   echo $ECHO_N "(cached) $ECHO_C" >&6
5319 else
5320   cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h.  */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h.  */
5326 #include <stdlib.h>
5327 #include <stdarg.h>
5328 #include <string.h>
5329 #include <float.h>
5330
5331 int
5332 main ()
5333 {
5334
5335   ;
5336   return 0;
5337 }
5338 _ACEOF
5339 rm -f conftest.$ac_objext
5340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5341   (eval $ac_compile) 2>conftest.er1
5342   ac_status=$?
5343   grep -v '^ *+' conftest.er1 >conftest.err
5344   rm -f conftest.er1
5345   cat conftest.err >&5
5346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347   (exit $ac_status); } &&
5348          { ac_try='test -z "$ac_c_werror_flag"
5349                          || test ! -s conftest.err'
5350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351   (eval $ac_try) 2>&5
5352   ac_status=$?
5353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354   (exit $ac_status); }; } &&
5355          { ac_try='test -s conftest.$ac_objext'
5356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357   (eval $ac_try) 2>&5
5358   ac_status=$?
5359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360   (exit $ac_status); }; }; then
5361   ac_cv_header_stdc=yes
5362 else
5363   echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.$ac_ext >&5
5365
5366 ac_cv_header_stdc=no
5367 fi
5368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5369
5370 if test $ac_cv_header_stdc = yes; then
5371   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5372   cat >conftest.$ac_ext <<_ACEOF
5373 /* confdefs.h.  */
5374 _ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h.  */
5378 #include <string.h>
5379
5380 _ACEOF
5381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5382   $EGREP "memchr" >/dev/null 2>&1; then
5383   :
5384 else
5385   ac_cv_header_stdc=no
5386 fi
5387 rm -f conftest*
5388
5389 fi
5390
5391 if test $ac_cv_header_stdc = yes; then
5392   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5393   cat >conftest.$ac_ext <<_ACEOF
5394 /* confdefs.h.  */
5395 _ACEOF
5396 cat confdefs.h >>conftest.$ac_ext
5397 cat >>conftest.$ac_ext <<_ACEOF
5398 /* end confdefs.h.  */
5399 #include <stdlib.h>
5400
5401 _ACEOF
5402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5403   $EGREP "free" >/dev/null 2>&1; then
5404   :
5405 else
5406   ac_cv_header_stdc=no
5407 fi
5408 rm -f conftest*
5409
5410 fi
5411
5412 if test $ac_cv_header_stdc = yes; then
5413   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5414   if test "$cross_compiling" = yes; then
5415   :
5416 else
5417   cat >conftest.$ac_ext <<_ACEOF
5418 /* confdefs.h.  */
5419 _ACEOF
5420 cat confdefs.h >>conftest.$ac_ext
5421 cat >>conftest.$ac_ext <<_ACEOF
5422 /* end confdefs.h.  */
5423 #include <ctype.h>
5424 #if ((' ' & 0x0FF) == 0x020)
5425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5427 #else
5428 # define ISLOWER(c) \
5429                    (('a' <= (c) && (c) <= 'i') \
5430                      || ('j' <= (c) && (c) <= 'r') \
5431                      || ('s' <= (c) && (c) <= 'z'))
5432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5433 #endif
5434
5435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5436 int
5437 main ()
5438 {
5439   int i;
5440   for (i = 0; i < 256; i++)
5441     if (XOR (islower (i), ISLOWER (i))
5442         || toupper (i) != TOUPPER (i))
5443       exit(2);
5444   exit (0);
5445 }
5446 _ACEOF
5447 rm -f conftest$ac_exeext
5448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5449   (eval $ac_link) 2>&5
5450   ac_status=$?
5451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5454   (eval $ac_try) 2>&5
5455   ac_status=$?
5456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457   (exit $ac_status); }; }; then
5458   :
5459 else
5460   echo "$as_me: program exited with status $ac_status" >&5
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.$ac_ext >&5
5463
5464 ( exit $ac_status )
5465 ac_cv_header_stdc=no
5466 fi
5467 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5468 fi
5469 fi
5470 fi
5471 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5472 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5473 if test $ac_cv_header_stdc = yes; then
5474
5475 cat >>confdefs.h <<\_ACEOF
5476 #define STDC_HEADERS 1
5477 _ACEOF
5478
5479 fi
5480
5481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5492                   inttypes.h stdint.h unistd.h
5493 do
5494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5495 echo "$as_me:$LINENO: checking for $ac_header" >&5
5496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5498   echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500   cat >conftest.$ac_ext <<_ACEOF
5501 /* confdefs.h.  */
5502 _ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h.  */
5506 $ac_includes_default
5507
5508 #include <$ac_header>
5509 _ACEOF
5510 rm -f conftest.$ac_objext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512   (eval $ac_compile) 2>conftest.er1
5513   ac_status=$?
5514   grep -v '^ *+' conftest.er1 >conftest.err
5515   rm -f conftest.er1
5516   cat conftest.err >&5
5517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518   (exit $ac_status); } &&
5519          { ac_try='test -z "$ac_c_werror_flag"
5520                          || test ! -s conftest.err'
5521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522   (eval $ac_try) 2>&5
5523   ac_status=$?
5524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525   (exit $ac_status); }; } &&
5526          { ac_try='test -s conftest.$ac_objext'
5527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528   (eval $ac_try) 2>&5
5529   ac_status=$?
5530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531   (exit $ac_status); }; }; then
5532   eval "$as_ac_Header=yes"
5533 else
5534   echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5536
5537 eval "$as_ac_Header=no"
5538 fi
5539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5540 fi
5541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5544   cat >>confdefs.h <<_ACEOF
5545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5546 _ACEOF
5547
5548 fi
5549
5550 done
5551
5552
5553
5554
5555 for ac_header in stdlib.h unistd.h
5556 do
5557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5559   echo "$as_me:$LINENO: checking for $ac_header" >&5
5560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5562   echo $ECHO_N "(cached) $ECHO_C" >&6
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 else
5567   # Is the header compilable?
5568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5570 cat >conftest.$ac_ext <<_ACEOF
5571 /* confdefs.h.  */
5572 _ACEOF
5573 cat confdefs.h >>conftest.$ac_ext
5574 cat >>conftest.$ac_ext <<_ACEOF
5575 /* end confdefs.h.  */
5576 $ac_includes_default
5577 #include <$ac_header>
5578 _ACEOF
5579 rm -f conftest.$ac_objext
5580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5581   (eval $ac_compile) 2>conftest.er1
5582   ac_status=$?
5583   grep -v '^ *+' conftest.er1 >conftest.err
5584   rm -f conftest.er1
5585   cat conftest.err >&5
5586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587   (exit $ac_status); } &&
5588          { ac_try='test -z "$ac_c_werror_flag"
5589                          || test ! -s conftest.err'
5590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5591   (eval $ac_try) 2>&5
5592   ac_status=$?
5593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594   (exit $ac_status); }; } &&
5595          { ac_try='test -s conftest.$ac_objext'
5596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5597   (eval $ac_try) 2>&5
5598   ac_status=$?
5599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600   (exit $ac_status); }; }; then
5601   ac_header_compiler=yes
5602 else
5603   echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5605
5606 ac_header_compiler=no
5607 fi
5608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5610 echo "${ECHO_T}$ac_header_compiler" >&6
5611
5612 # Is the header present?
5613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5615 cat >conftest.$ac_ext <<_ACEOF
5616 /* confdefs.h.  */
5617 _ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h.  */
5621 #include <$ac_header>
5622 _ACEOF
5623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5624   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5625   ac_status=$?
5626   grep -v '^ *+' conftest.er1 >conftest.err
5627   rm -f conftest.er1
5628   cat conftest.err >&5
5629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630   (exit $ac_status); } >/dev/null; then
5631   if test -s conftest.err; then
5632     ac_cpp_err=$ac_c_preproc_warn_flag
5633     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5634   else
5635     ac_cpp_err=
5636   fi
5637 else
5638   ac_cpp_err=yes
5639 fi
5640 if test -z "$ac_cpp_err"; then
5641   ac_header_preproc=yes
5642 else
5643   echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5645
5646   ac_header_preproc=no
5647 fi
5648 rm -f conftest.err conftest.$ac_ext
5649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5650 echo "${ECHO_T}$ac_header_preproc" >&6
5651
5652 # So?  What about this header?
5653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5654   yes:no: )
5655     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5657     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5659     ac_header_preproc=yes
5660     ;;
5661   no:yes:* )
5662     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5664     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5665 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5666     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5668     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5669 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5670     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5672     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5674     (
5675       cat <<\_ASBOX
5676 ## ------------------------------------------------------ ##
5677 ## Report this to the GNU Fortran Runtime Library lists.  ##
5678 ## ------------------------------------------------------ ##
5679 _ASBOX
5680     ) |
5681       sed "s/^/$as_me: WARNING:     /" >&2
5682     ;;
5683 esac
5684 echo "$as_me:$LINENO: checking for $ac_header" >&5
5685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5687   echo $ECHO_N "(cached) $ECHO_C" >&6
5688 else
5689   eval "$as_ac_Header=\$ac_header_preproc"
5690 fi
5691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5693
5694 fi
5695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5696   cat >>confdefs.h <<_ACEOF
5697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5698 _ACEOF
5699
5700 fi
5701
5702 done
5703
5704
5705 for ac_func in getpagesize
5706 do
5707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5708 echo "$as_me:$LINENO: checking for $ac_func" >&5
5709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_var+set}\" = set"; then
5711   echo $ECHO_N "(cached) $ECHO_C" >&6
5712 else
5713   if test x$gcc_no_link = xyes; then
5714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5716    { (exit 1); exit 1; }; }
5717 fi
5718 cat >conftest.$ac_ext <<_ACEOF
5719 /* confdefs.h.  */
5720 _ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h.  */
5724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5726 #define $ac_func innocuous_$ac_func
5727
5728 /* System header to define __stub macros and hopefully few prototypes,
5729     which can conflict with char $ac_func (); below.
5730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5731     <limits.h> exists even on freestanding compilers.  */
5732
5733 #ifdef __STDC__
5734 # include <limits.h>
5735 #else
5736 # include <assert.h>
5737 #endif
5738
5739 #undef $ac_func
5740
5741 /* Override any gcc2 internal prototype to avoid an error.  */
5742 #ifdef __cplusplus
5743 extern "C"
5744 {
5745 #endif
5746 /* We use char because int might match the return type of a gcc2
5747    builtin and then its argument prototype would still apply.  */
5748 char $ac_func ();
5749 /* The GNU C library defines this for functions which it implements
5750     to always fail with ENOSYS.  Some functions are actually named
5751     something starting with __ and the normal name is an alias.  */
5752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5753 choke me
5754 #else
5755 char (*f) () = $ac_func;
5756 #endif
5757 #ifdef __cplusplus
5758 }
5759 #endif
5760
5761 int
5762 main ()
5763 {
5764 return f != $ac_func;
5765   ;
5766   return 0;
5767 }
5768 _ACEOF
5769 rm -f conftest.$ac_objext conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771   (eval $ac_link) 2>conftest.er1
5772   ac_status=$?
5773   grep -v '^ *+' conftest.er1 >conftest.err
5774   rm -f conftest.er1
5775   cat conftest.err >&5
5776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777   (exit $ac_status); } &&
5778          { ac_try='test -z "$ac_c_werror_flag"
5779                          || test ! -s conftest.err'
5780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781   (eval $ac_try) 2>&5
5782   ac_status=$?
5783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784   (exit $ac_status); }; } &&
5785          { ac_try='test -s conftest$ac_exeext'
5786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787   (eval $ac_try) 2>&5
5788   ac_status=$?
5789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790   (exit $ac_status); }; }; then
5791   eval "$as_ac_var=yes"
5792 else
5793   echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5795
5796 eval "$as_ac_var=no"
5797 fi
5798 rm -f conftest.err conftest.$ac_objext \
5799       conftest$ac_exeext conftest.$ac_ext
5800 fi
5801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5803 if test `eval echo '${'$as_ac_var'}'` = yes; then
5804   cat >>confdefs.h <<_ACEOF
5805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5806 _ACEOF
5807
5808 fi
5809 done
5810
5811 echo "$as_me:$LINENO: checking for working mmap" >&5
5812 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5813 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5814   echo $ECHO_N "(cached) $ECHO_C" >&6
5815 else
5816   if test "$cross_compiling" = yes; then
5817   ac_cv_func_mmap_fixed_mapped=no
5818 else
5819   cat >conftest.$ac_ext <<_ACEOF
5820 /* confdefs.h.  */
5821 _ACEOF
5822 cat confdefs.h >>conftest.$ac_ext
5823 cat >>conftest.$ac_ext <<_ACEOF
5824 /* end confdefs.h.  */
5825 $ac_includes_default
5826 /* malloc might have been renamed as rpl_malloc. */
5827 #undef malloc
5828
5829 /* Thanks to Mike Haertel and Jim Avera for this test.
5830    Here is a matrix of mmap possibilities:
5831         mmap private not fixed
5832         mmap private fixed at somewhere currently unmapped
5833         mmap private fixed at somewhere already mapped
5834         mmap shared not fixed
5835         mmap shared fixed at somewhere currently unmapped
5836         mmap shared fixed at somewhere already mapped
5837    For private mappings, we should verify that changes cannot be read()
5838    back from the file, nor mmap's back from the file at a different
5839    address.  (There have been systems where private was not correctly
5840    implemented like the infamous i386 svr4.0, and systems where the
5841    VM page cache was not coherent with the file system buffer cache
5842    like early versions of FreeBSD and possibly contemporary NetBSD.)
5843    For shared mappings, we should conversely verify that changes get
5844    propagated back to all the places they're supposed to be.
5845
5846    Grep wants private fixed already mapped.
5847    The main things grep needs to know about mmap are:
5848    * does it exist and is it safe to write into the mmap'd area
5849    * how to use it (BSD variants)  */
5850
5851 #include <fcntl.h>
5852 #include <sys/mman.h>
5853
5854 #if !STDC_HEADERS && !HAVE_STDLIB_H
5855 char *malloc ();
5856 #endif
5857
5858 /* This mess was copied from the GNU getpagesize.h.  */
5859 #if !HAVE_GETPAGESIZE
5860 /* Assume that all systems that can run configure have sys/param.h.  */
5861 # if !HAVE_SYS_PARAM_H
5862 #  define HAVE_SYS_PARAM_H 1
5863 # endif
5864
5865 # ifdef _SC_PAGESIZE
5866 #  define getpagesize() sysconf(_SC_PAGESIZE)
5867 # else /* no _SC_PAGESIZE */
5868 #  if HAVE_SYS_PARAM_H
5869 #   include <sys/param.h>
5870 #   ifdef EXEC_PAGESIZE
5871 #    define getpagesize() EXEC_PAGESIZE
5872 #   else /* no EXEC_PAGESIZE */
5873 #    ifdef NBPG
5874 #     define getpagesize() NBPG * CLSIZE
5875 #     ifndef CLSIZE
5876 #      define CLSIZE 1
5877 #     endif /* no CLSIZE */
5878 #    else /* no NBPG */
5879 #     ifdef NBPC
5880 #      define getpagesize() NBPC
5881 #     else /* no NBPC */
5882 #      ifdef PAGESIZE
5883 #       define getpagesize() PAGESIZE
5884 #      endif /* PAGESIZE */
5885 #     endif /* no NBPC */
5886 #    endif /* no NBPG */
5887 #   endif /* no EXEC_PAGESIZE */
5888 #  else /* no HAVE_SYS_PARAM_H */
5889 #   define getpagesize() 8192   /* punt totally */
5890 #  endif /* no HAVE_SYS_PARAM_H */
5891 # endif /* no _SC_PAGESIZE */
5892
5893 #endif /* no HAVE_GETPAGESIZE */
5894
5895 int
5896 main ()
5897 {
5898   char *data, *data2, *data3;
5899   int i, pagesize;
5900   int fd;
5901
5902   pagesize = getpagesize ();
5903
5904   /* First, make a file with some known garbage in it. */
5905   data = (char *) malloc (pagesize);
5906   if (!data)
5907     exit (1);
5908   for (i = 0; i < pagesize; ++i)
5909     *(data + i) = rand ();
5910   umask (0);
5911   fd = creat ("conftest.mmap", 0600);
5912   if (fd < 0)
5913     exit (1);
5914   if (write (fd, data, pagesize) != pagesize)
5915     exit (1);
5916   close (fd);
5917
5918   /* Next, try to mmap the file at a fixed address which already has
5919      something else allocated at it.  If we can, also make sure that
5920      we see the same garbage.  */
5921   fd = open ("conftest.mmap", O_RDWR);
5922   if (fd < 0)
5923     exit (1);
5924   data2 = (char *) malloc (2 * pagesize);
5925   if (!data2)
5926     exit (1);
5927   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5928   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5929                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
5930     exit (1);
5931   for (i = 0; i < pagesize; ++i)
5932     if (*(data + i) != *(data2 + i))
5933       exit (1);
5934
5935   /* Finally, make sure that changes to the mapped area do not
5936      percolate back to the file as seen by read().  (This is a bug on
5937      some variants of i386 svr4.0.)  */
5938   for (i = 0; i < pagesize; ++i)
5939     *(data2 + i) = *(data2 + i) + 1;
5940   data3 = (char *) malloc (pagesize);
5941   if (!data3)
5942     exit (1);
5943   if (read (fd, data3, pagesize) != pagesize)
5944     exit (1);
5945   for (i = 0; i < pagesize; ++i)
5946     if (*(data + i) != *(data3 + i))
5947       exit (1);
5948   close (fd);
5949   exit (0);
5950 }
5951 _ACEOF
5952 rm -f conftest$ac_exeext
5953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5954   (eval $ac_link) 2>&5
5955   ac_status=$?
5956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5959   (eval $ac_try) 2>&5
5960   ac_status=$?
5961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962   (exit $ac_status); }; }; then
5963   ac_cv_func_mmap_fixed_mapped=yes
5964 else
5965   echo "$as_me: program exited with status $ac_status" >&5
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.$ac_ext >&5
5968
5969 ( exit $ac_status )
5970 ac_cv_func_mmap_fixed_mapped=no
5971 fi
5972 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5973 fi
5974 fi
5975 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5976 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5977 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5978
5979 cat >>confdefs.h <<\_ACEOF
5980 #define HAVE_MMAP 1
5981 _ACEOF
5982
5983 fi
5984 rm -f conftest.mmap
5985
5986 fi
5987 echo "$as_me:$LINENO: checking for off_t" >&5
5988 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5989 if test "${ac_cv_type_off_t+set}" = set; then
5990   echo $ECHO_N "(cached) $ECHO_C" >&6
5991 else
5992   cat >conftest.$ac_ext <<_ACEOF
5993 /* confdefs.h.  */
5994 _ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h.  */
5998 $ac_includes_default
5999 int
6000 main ()
6001 {
6002 if ((off_t *) 0)
6003   return 0;
6004 if (sizeof (off_t))
6005   return 0;
6006   ;
6007   return 0;
6008 }
6009 _ACEOF
6010 rm -f conftest.$ac_objext
6011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6012   (eval $ac_compile) 2>conftest.er1
6013   ac_status=$?
6014   grep -v '^ *+' conftest.er1 >conftest.err
6015   rm -f conftest.er1
6016   cat conftest.err >&5
6017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018   (exit $ac_status); } &&
6019          { ac_try='test -z "$ac_c_werror_flag"
6020                          || test ! -s conftest.err'
6021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022   (eval $ac_try) 2>&5
6023   ac_status=$?
6024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025   (exit $ac_status); }; } &&
6026          { ac_try='test -s conftest.$ac_objext'
6027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028   (eval $ac_try) 2>&5
6029   ac_status=$?
6030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031   (exit $ac_status); }; }; then
6032   ac_cv_type_off_t=yes
6033 else
6034   echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.$ac_ext >&5
6036
6037 ac_cv_type_off_t=no
6038 fi
6039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6040 fi
6041 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6042 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6043 if test $ac_cv_type_off_t = yes; then
6044   :
6045 else
6046
6047 cat >>confdefs.h <<_ACEOF
6048 #define off_t long
6049 _ACEOF
6050
6051 fi
6052
6053
6054 # check header files
6055 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6056 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6057 if test "${ac_cv_header_stdc+set}" = set; then
6058   echo $ECHO_N "(cached) $ECHO_C" >&6
6059 else
6060   cat >conftest.$ac_ext <<_ACEOF
6061 /* confdefs.h.  */
6062 _ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h.  */
6066 #include <stdlib.h>
6067 #include <stdarg.h>
6068 #include <string.h>
6069 #include <float.h>
6070
6071 int
6072 main ()
6073 {
6074
6075   ;
6076   return 0;
6077 }
6078 _ACEOF
6079 rm -f conftest.$ac_objext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6081   (eval $ac_compile) 2>conftest.er1
6082   ac_status=$?
6083   grep -v '^ *+' conftest.er1 >conftest.err
6084   rm -f conftest.er1
6085   cat conftest.err >&5
6086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087   (exit $ac_status); } &&
6088          { ac_try='test -z "$ac_c_werror_flag"
6089                          || test ! -s conftest.err'
6090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091   (eval $ac_try) 2>&5
6092   ac_status=$?
6093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094   (exit $ac_status); }; } &&
6095          { ac_try='test -s conftest.$ac_objext'
6096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097   (eval $ac_try) 2>&5
6098   ac_status=$?
6099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100   (exit $ac_status); }; }; then
6101   ac_cv_header_stdc=yes
6102 else
6103   echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.$ac_ext >&5
6105
6106 ac_cv_header_stdc=no
6107 fi
6108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6109
6110 if test $ac_cv_header_stdc = yes; then
6111   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6112   cat >conftest.$ac_ext <<_ACEOF
6113 /* confdefs.h.  */
6114 _ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h.  */
6118 #include <string.h>
6119
6120 _ACEOF
6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122   $EGREP "memchr" >/dev/null 2>&1; then
6123   :
6124 else
6125   ac_cv_header_stdc=no
6126 fi
6127 rm -f conftest*
6128
6129 fi
6130
6131 if test $ac_cv_header_stdc = yes; then
6132   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6133   cat >conftest.$ac_ext <<_ACEOF
6134 /* confdefs.h.  */
6135 _ACEOF
6136 cat confdefs.h >>conftest.$ac_ext
6137 cat >>conftest.$ac_ext <<_ACEOF
6138 /* end confdefs.h.  */
6139 #include <stdlib.h>
6140
6141 _ACEOF
6142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6143   $EGREP "free" >/dev/null 2>&1; then
6144   :
6145 else
6146   ac_cv_header_stdc=no
6147 fi
6148 rm -f conftest*
6149
6150 fi
6151
6152 if test $ac_cv_header_stdc = yes; then
6153   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6154   if test "$cross_compiling" = yes; then
6155   :
6156 else
6157   cat >conftest.$ac_ext <<_ACEOF
6158 /* confdefs.h.  */
6159 _ACEOF
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h.  */
6163 #include <ctype.h>
6164 #if ((' ' & 0x0FF) == 0x020)
6165 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6166 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6167 #else
6168 # define ISLOWER(c) \
6169                    (('a' <= (c) && (c) <= 'i') \
6170                      || ('j' <= (c) && (c) <= 'r') \
6171                      || ('s' <= (c) && (c) <= 'z'))
6172 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6173 #endif
6174
6175 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6176 int
6177 main ()
6178 {
6179   int i;
6180   for (i = 0; i < 256; i++)
6181     if (XOR (islower (i), ISLOWER (i))
6182         || toupper (i) != TOUPPER (i))
6183       exit(2);
6184   exit (0);
6185 }
6186 _ACEOF
6187 rm -f conftest$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189   (eval $ac_link) 2>&5
6190   ac_status=$?
6191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194   (eval $ac_try) 2>&5
6195   ac_status=$?
6196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197   (exit $ac_status); }; }; then
6198   :
6199 else
6200   echo "$as_me: program exited with status $ac_status" >&5
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6203
6204 ( exit $ac_status )
6205 ac_cv_header_stdc=no
6206 fi
6207 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6208 fi
6209 fi
6210 fi
6211 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6212 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6213 if test $ac_cv_header_stdc = yes; then
6214
6215 cat >>confdefs.h <<\_ACEOF
6216 #define STDC_HEADERS 1
6217 _ACEOF
6218
6219 fi
6220
6221
6222
6223
6224
6225
6226
6227
6228 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6229 do
6230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6232   echo "$as_me:$LINENO: checking for $ac_header" >&5
6233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6235   echo $ECHO_N "(cached) $ECHO_C" >&6
6236 fi
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6239 else
6240   # Is the header compilable?
6241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6243 cat >conftest.$ac_ext <<_ACEOF
6244 /* confdefs.h.  */
6245 _ACEOF
6246 cat confdefs.h >>conftest.$ac_ext
6247 cat >>conftest.$ac_ext <<_ACEOF
6248 /* end confdefs.h.  */
6249 $ac_includes_default
6250 #include <$ac_header>
6251 _ACEOF
6252 rm -f conftest.$ac_objext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254   (eval $ac_compile) 2>conftest.er1
6255   ac_status=$?
6256   grep -v '^ *+' conftest.er1 >conftest.err
6257   rm -f conftest.er1
6258   cat conftest.err >&5
6259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260   (exit $ac_status); } &&
6261          { ac_try='test -z "$ac_c_werror_flag"
6262                          || test ! -s conftest.err'
6263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6264   (eval $ac_try) 2>&5
6265   ac_status=$?
6266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267   (exit $ac_status); }; } &&
6268          { ac_try='test -s conftest.$ac_objext'
6269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270   (eval $ac_try) 2>&5
6271   ac_status=$?
6272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273   (exit $ac_status); }; }; then
6274   ac_header_compiler=yes
6275 else
6276   echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6278
6279 ac_header_compiler=no
6280 fi
6281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6283 echo "${ECHO_T}$ac_header_compiler" >&6
6284
6285 # Is the header present?
6286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6288 cat >conftest.$ac_ext <<_ACEOF
6289 /* confdefs.h.  */
6290 _ACEOF
6291 cat confdefs.h >>conftest.$ac_ext
6292 cat >>conftest.$ac_ext <<_ACEOF
6293 /* end confdefs.h.  */
6294 #include <$ac_header>
6295 _ACEOF
6296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6297   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6298   ac_status=$?
6299   grep -v '^ *+' conftest.er1 >conftest.err
6300   rm -f conftest.er1
6301   cat conftest.err >&5
6302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303   (exit $ac_status); } >/dev/null; then
6304   if test -s conftest.err; then
6305     ac_cpp_err=$ac_c_preproc_warn_flag
6306     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6307   else
6308     ac_cpp_err=
6309   fi
6310 else
6311   ac_cpp_err=yes
6312 fi
6313 if test -z "$ac_cpp_err"; then
6314   ac_header_preproc=yes
6315 else
6316   echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.$ac_ext >&5
6318
6319   ac_header_preproc=no
6320 fi
6321 rm -f conftest.err conftest.$ac_ext
6322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6323 echo "${ECHO_T}$ac_header_preproc" >&6
6324
6325 # So?  What about this header?
6326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6327   yes:no: )
6328     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6330     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6332     ac_header_preproc=yes
6333     ;;
6334   no:yes:* )
6335     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6337     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6338 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6339     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6341     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6342 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6343     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6345     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6347     (
6348       cat <<\_ASBOX
6349 ## ------------------------------------------------------ ##
6350 ## Report this to the GNU Fortran Runtime Library lists.  ##
6351 ## ------------------------------------------------------ ##
6352 _ASBOX
6353     ) |
6354       sed "s/^/$as_me: WARNING:     /" >&2
6355     ;;
6356 esac
6357 echo "$as_me:$LINENO: checking for $ac_header" >&5
6358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6360   echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362   eval "$as_ac_Header=\$ac_header_preproc"
6363 fi
6364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6366
6367 fi
6368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6369   cat >>confdefs.h <<_ACEOF
6370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6371 _ACEOF
6372
6373 fi
6374
6375 done
6376
6377
6378
6379
6380
6381
6382 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6383 do
6384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6386   echo "$as_me:$LINENO: checking for $ac_header" >&5
6387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6389   echo $ECHO_N "(cached) $ECHO_C" >&6
6390 fi
6391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6393 else
6394   # Is the header compilable?
6395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h.  */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h.  */
6403 $ac_includes_default
6404 #include <$ac_header>
6405 _ACEOF
6406 rm -f conftest.$ac_objext
6407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6408   (eval $ac_compile) 2>conftest.er1
6409   ac_status=$?
6410   grep -v '^ *+' conftest.er1 >conftest.err
6411   rm -f conftest.er1
6412   cat conftest.err >&5
6413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414   (exit $ac_status); } &&
6415          { ac_try='test -z "$ac_c_werror_flag"
6416                          || test ! -s conftest.err'
6417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418   (eval $ac_try) 2>&5
6419   ac_status=$?
6420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421   (exit $ac_status); }; } &&
6422          { ac_try='test -s conftest.$ac_objext'
6423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424   (eval $ac_try) 2>&5
6425   ac_status=$?
6426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427   (exit $ac_status); }; }; then
6428   ac_header_compiler=yes
6429 else
6430   echo "$as_me: failed program was:" >&5
6431 sed 's/^/| /' conftest.$ac_ext >&5
6432
6433 ac_header_compiler=no
6434 fi
6435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6437 echo "${ECHO_T}$ac_header_compiler" >&6
6438
6439 # Is the header present?
6440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6442 cat >conftest.$ac_ext <<_ACEOF
6443 /* confdefs.h.  */
6444 _ACEOF
6445 cat confdefs.h >>conftest.$ac_ext
6446 cat >>conftest.$ac_ext <<_ACEOF
6447 /* end confdefs.h.  */
6448 #include <$ac_header>
6449 _ACEOF
6450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6451   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6452   ac_status=$?
6453   grep -v '^ *+' conftest.er1 >conftest.err
6454   rm -f conftest.er1
6455   cat conftest.err >&5
6456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457   (exit $ac_status); } >/dev/null; then
6458   if test -s conftest.err; then
6459     ac_cpp_err=$ac_c_preproc_warn_flag
6460     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6461   else
6462     ac_cpp_err=
6463   fi
6464 else
6465   ac_cpp_err=yes
6466 fi
6467 if test -z "$ac_cpp_err"; then
6468   ac_header_preproc=yes
6469 else
6470   echo "$as_me: failed program was:" >&5
6471 sed 's/^/| /' conftest.$ac_ext >&5
6472
6473   ac_header_preproc=no
6474 fi
6475 rm -f conftest.err conftest.$ac_ext
6476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6477 echo "${ECHO_T}$ac_header_preproc" >&6
6478
6479 # So?  What about this header?
6480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6481   yes:no: )
6482     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6484     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6486     ac_header_preproc=yes
6487     ;;
6488   no:yes:* )
6489     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6491     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6492 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6493     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6495     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6496 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6497     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6499     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6501     (
6502       cat <<\_ASBOX
6503 ## ------------------------------------------------------ ##
6504 ## Report this to the GNU Fortran Runtime Library lists.  ##
6505 ## ------------------------------------------------------ ##
6506 _ASBOX
6507     ) |
6508       sed "s/^/$as_me: WARNING:     /" >&2
6509     ;;
6510 esac
6511 echo "$as_me:$LINENO: checking for $ac_header" >&5
6512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6514   echo $ECHO_N "(cached) $ECHO_C" >&6
6515 else
6516   eval "$as_ac_Header=\$ac_header_preproc"
6517 fi
6518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6520
6521 fi
6522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6523   cat >>confdefs.h <<_ACEOF
6524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6525 _ACEOF
6526
6527 fi
6528
6529 done
6530
6531
6532
6533
6534
6535
6536 for ac_header in sys/mman.h sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6537 do
6538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6540   echo "$as_me:$LINENO: checking for $ac_header" >&5
6541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6543   echo $ECHO_N "(cached) $ECHO_C" >&6
6544 fi
6545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6547 else
6548   # Is the header compilable?
6549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6551 cat >conftest.$ac_ext <<_ACEOF
6552 /* confdefs.h.  */
6553 _ACEOF
6554 cat confdefs.h >>conftest.$ac_ext
6555 cat >>conftest.$ac_ext <<_ACEOF
6556 /* end confdefs.h.  */
6557 $ac_includes_default
6558 #include <$ac_header>
6559 _ACEOF
6560 rm -f conftest.$ac_objext
6561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6562   (eval $ac_compile) 2>conftest.er1
6563   ac_status=$?
6564   grep -v '^ *+' conftest.er1 >conftest.err
6565   rm -f conftest.er1
6566   cat conftest.err >&5
6567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568   (exit $ac_status); } &&
6569          { ac_try='test -z "$ac_c_werror_flag"
6570                          || test ! -s conftest.err'
6571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6572   (eval $ac_try) 2>&5
6573   ac_status=$?
6574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575   (exit $ac_status); }; } &&
6576          { ac_try='test -s conftest.$ac_objext'
6577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578   (eval $ac_try) 2>&5
6579   ac_status=$?
6580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581   (exit $ac_status); }; }; then
6582   ac_header_compiler=yes
6583 else
6584   echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.$ac_ext >&5
6586
6587 ac_header_compiler=no
6588 fi
6589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6591 echo "${ECHO_T}$ac_header_compiler" >&6
6592
6593 # Is the header present?
6594 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6596 cat >conftest.$ac_ext <<_ACEOF
6597 /* confdefs.h.  */
6598 _ACEOF
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h.  */
6602 #include <$ac_header>
6603 _ACEOF
6604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6605   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6606   ac_status=$?
6607   grep -v '^ *+' conftest.er1 >conftest.err
6608   rm -f conftest.er1
6609   cat conftest.err >&5
6610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611   (exit $ac_status); } >/dev/null; then
6612   if test -s conftest.err; then
6613     ac_cpp_err=$ac_c_preproc_warn_flag
6614     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6615   else
6616     ac_cpp_err=
6617   fi
6618 else
6619   ac_cpp_err=yes
6620 fi
6621 if test -z "$ac_cpp_err"; then
6622   ac_header_preproc=yes
6623 else
6624   echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6626
6627   ac_header_preproc=no
6628 fi
6629 rm -f conftest.err conftest.$ac_ext
6630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6631 echo "${ECHO_T}$ac_header_preproc" >&6
6632
6633 # So?  What about this header?
6634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6635   yes:no: )
6636     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6638     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6640     ac_header_preproc=yes
6641     ;;
6642   no:yes:* )
6643     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6645     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6646 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6647     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6649     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6650 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6651     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6653     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6655     (
6656       cat <<\_ASBOX
6657 ## ------------------------------------------------------ ##
6658 ## Report this to the GNU Fortran Runtime Library lists.  ##
6659 ## ------------------------------------------------------ ##
6660 _ASBOX
6661     ) |
6662       sed "s/^/$as_me: WARNING:     /" >&2
6663     ;;
6664 esac
6665 echo "$as_me:$LINENO: checking for $ac_header" >&5
6666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6668   echo $ECHO_N "(cached) $ECHO_C" >&6
6669 else
6670   eval "$as_ac_Header=\$ac_header_preproc"
6671 fi
6672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6674
6675 fi
6676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6677   cat >>confdefs.h <<_ACEOF
6678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6679 _ACEOF
6680
6681 fi
6682
6683 done
6684
6685
6686
6687
6688 for ac_header in fenv.h fptrap.h float.h
6689 do
6690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6692   echo "$as_me:$LINENO: checking for $ac_header" >&5
6693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6695   echo $ECHO_N "(cached) $ECHO_C" >&6
6696 fi
6697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6699 else
6700   # Is the header compilable?
6701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6703 cat >conftest.$ac_ext <<_ACEOF
6704 /* confdefs.h.  */
6705 _ACEOF
6706 cat confdefs.h >>conftest.$ac_ext
6707 cat >>conftest.$ac_ext <<_ACEOF
6708 /* end confdefs.h.  */
6709 $ac_includes_default
6710 #include <$ac_header>
6711 _ACEOF
6712 rm -f conftest.$ac_objext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6714   (eval $ac_compile) 2>conftest.er1
6715   ac_status=$?
6716   grep -v '^ *+' conftest.er1 >conftest.err
6717   rm -f conftest.er1
6718   cat conftest.err >&5
6719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720   (exit $ac_status); } &&
6721          { ac_try='test -z "$ac_c_werror_flag"
6722                          || test ! -s conftest.err'
6723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6724   (eval $ac_try) 2>&5
6725   ac_status=$?
6726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727   (exit $ac_status); }; } &&
6728          { ac_try='test -s conftest.$ac_objext'
6729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6730   (eval $ac_try) 2>&5
6731   ac_status=$?
6732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733   (exit $ac_status); }; }; then
6734   ac_header_compiler=yes
6735 else
6736   echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.$ac_ext >&5
6738
6739 ac_header_compiler=no
6740 fi
6741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6743 echo "${ECHO_T}$ac_header_compiler" >&6
6744
6745 # Is the header present?
6746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6748 cat >conftest.$ac_ext <<_ACEOF
6749 /* confdefs.h.  */
6750 _ACEOF
6751 cat confdefs.h >>conftest.$ac_ext
6752 cat >>conftest.$ac_ext <<_ACEOF
6753 /* end confdefs.h.  */
6754 #include <$ac_header>
6755 _ACEOF
6756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6757   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6758   ac_status=$?
6759   grep -v '^ *+' conftest.er1 >conftest.err
6760   rm -f conftest.er1
6761   cat conftest.err >&5
6762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763   (exit $ac_status); } >/dev/null; then
6764   if test -s conftest.err; then
6765     ac_cpp_err=$ac_c_preproc_warn_flag
6766     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6767   else
6768     ac_cpp_err=
6769   fi
6770 else
6771   ac_cpp_err=yes
6772 fi
6773 if test -z "$ac_cpp_err"; then
6774   ac_header_preproc=yes
6775 else
6776   echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.$ac_ext >&5
6778
6779   ac_header_preproc=no
6780 fi
6781 rm -f conftest.err conftest.$ac_ext
6782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6783 echo "${ECHO_T}$ac_header_preproc" >&6
6784
6785 # So?  What about this header?
6786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6787   yes:no: )
6788     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6790     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6792     ac_header_preproc=yes
6793     ;;
6794   no:yes:* )
6795     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6797     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6798 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6799     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6801     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6802 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6803     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6805     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6807     (
6808       cat <<\_ASBOX
6809 ## ------------------------------------------------------ ##
6810 ## Report this to the GNU Fortran Runtime Library lists.  ##
6811 ## ------------------------------------------------------ ##
6812 _ASBOX
6813     ) |
6814       sed "s/^/$as_me: WARNING:     /" >&2
6815     ;;
6816 esac
6817 echo "$as_me:$LINENO: checking for $ac_header" >&5
6818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6820   echo $ECHO_N "(cached) $ECHO_C" >&6
6821 else
6822   eval "$as_ac_Header=\$ac_header_preproc"
6823 fi
6824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6826
6827 fi
6828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829   cat >>confdefs.h <<_ACEOF
6830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 _ACEOF
6832
6833 fi
6834
6835 done
6836
6837 if test "${ac_cv_header_complex_h+set}" = set; then
6838   echo "$as_me:$LINENO: checking for complex.h" >&5
6839 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6840 if test "${ac_cv_header_complex_h+set}" = set; then
6841   echo $ECHO_N "(cached) $ECHO_C" >&6
6842 fi
6843 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6844 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6845 else
6846   # Is the header compilable?
6847 echo "$as_me:$LINENO: checking complex.h usability" >&5
6848 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6849 cat >conftest.$ac_ext <<_ACEOF
6850 /* confdefs.h.  */
6851 _ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h.  */
6855 $ac_includes_default
6856 #include <complex.h>
6857 _ACEOF
6858 rm -f conftest.$ac_objext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6860   (eval $ac_compile) 2>conftest.er1
6861   ac_status=$?
6862   grep -v '^ *+' conftest.er1 >conftest.err
6863   rm -f conftest.er1
6864   cat conftest.err >&5
6865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866   (exit $ac_status); } &&
6867          { ac_try='test -z "$ac_c_werror_flag"
6868                          || test ! -s conftest.err'
6869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870   (eval $ac_try) 2>&5
6871   ac_status=$?
6872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873   (exit $ac_status); }; } &&
6874          { ac_try='test -s conftest.$ac_objext'
6875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876   (eval $ac_try) 2>&5
6877   ac_status=$?
6878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879   (exit $ac_status); }; }; then
6880   ac_header_compiler=yes
6881 else
6882   echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6884
6885 ac_header_compiler=no
6886 fi
6887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6889 echo "${ECHO_T}$ac_header_compiler" >&6
6890
6891 # Is the header present?
6892 echo "$as_me:$LINENO: checking complex.h presence" >&5
6893 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6894 cat >conftest.$ac_ext <<_ACEOF
6895 /* confdefs.h.  */
6896 _ACEOF
6897 cat confdefs.h >>conftest.$ac_ext
6898 cat >>conftest.$ac_ext <<_ACEOF
6899 /* end confdefs.h.  */
6900 #include <complex.h>
6901 _ACEOF
6902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6903   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6904   ac_status=$?
6905   grep -v '^ *+' conftest.er1 >conftest.err
6906   rm -f conftest.er1
6907   cat conftest.err >&5
6908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909   (exit $ac_status); } >/dev/null; then
6910   if test -s conftest.err; then
6911     ac_cpp_err=$ac_c_preproc_warn_flag
6912     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6913   else
6914     ac_cpp_err=
6915   fi
6916 else
6917   ac_cpp_err=yes
6918 fi
6919 if test -z "$ac_cpp_err"; then
6920   ac_header_preproc=yes
6921 else
6922   echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6924
6925   ac_header_preproc=no
6926 fi
6927 rm -f conftest.err conftest.$ac_ext
6928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6929 echo "${ECHO_T}$ac_header_preproc" >&6
6930
6931 # So?  What about this header?
6932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6933   yes:no: )
6934     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6935 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6936     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6937 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6938     ac_header_preproc=yes
6939     ;;
6940   no:yes:* )
6941     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6942 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6943     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
6944 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
6945     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6946 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6947     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
6948 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6949     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6950 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6951     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6952 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6953     (
6954       cat <<\_ASBOX
6955 ## ------------------------------------------------------ ##
6956 ## Report this to the GNU Fortran Runtime Library lists.  ##
6957 ## ------------------------------------------------------ ##
6958 _ASBOX
6959     ) |
6960       sed "s/^/$as_me: WARNING:     /" >&2
6961     ;;
6962 esac
6963 echo "$as_me:$LINENO: checking for complex.h" >&5
6964 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6965 if test "${ac_cv_header_complex_h+set}" = set; then
6966   echo $ECHO_N "(cached) $ECHO_C" >&6
6967 else
6968   ac_cv_header_complex_h=$ac_header_preproc
6969 fi
6970 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6971 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6972
6973 fi
6974 if test $ac_cv_header_complex_h = yes; then
6975
6976 cat >>confdefs.h <<\_ACEOF
6977 #define HAVE_COMPLEX_H 1
6978 _ACEOF
6979
6980 fi
6981
6982
6983
6984 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6985 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6986 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6987   echo $ECHO_N "(cached) $ECHO_C" >&6
6988 else
6989   cat >conftest.$ac_ext <<_ACEOF
6990 /* confdefs.h.  */
6991 _ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h.  */
6995 $ac_includes_default
6996 int
6997 main ()
6998 {
6999 static struct stat ac_aggr;
7000 if (ac_aggr.st_blksize)
7001 return 0;
7002   ;
7003   return 0;
7004 }
7005 _ACEOF
7006 rm -f conftest.$ac_objext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7008   (eval $ac_compile) 2>conftest.er1
7009   ac_status=$?
7010   grep -v '^ *+' conftest.er1 >conftest.err
7011   rm -f conftest.er1
7012   cat conftest.err >&5
7013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014   (exit $ac_status); } &&
7015          { ac_try='test -z "$ac_c_werror_flag"
7016                          || test ! -s conftest.err'
7017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7018   (eval $ac_try) 2>&5
7019   ac_status=$?
7020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021   (exit $ac_status); }; } &&
7022          { ac_try='test -s conftest.$ac_objext'
7023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024   (eval $ac_try) 2>&5
7025   ac_status=$?
7026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027   (exit $ac_status); }; }; then
7028   ac_cv_member_struct_stat_st_blksize=yes
7029 else
7030   echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7032
7033 cat >conftest.$ac_ext <<_ACEOF
7034 /* confdefs.h.  */
7035 _ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h.  */
7039 $ac_includes_default
7040 int
7041 main ()
7042 {
7043 static struct stat ac_aggr;
7044 if (sizeof ac_aggr.st_blksize)
7045 return 0;
7046   ;
7047   return 0;
7048 }
7049 _ACEOF
7050 rm -f conftest.$ac_objext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7052   (eval $ac_compile) 2>conftest.er1
7053   ac_status=$?
7054   grep -v '^ *+' conftest.er1 >conftest.err
7055   rm -f conftest.er1
7056   cat conftest.err >&5
7057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058   (exit $ac_status); } &&
7059          { ac_try='test -z "$ac_c_werror_flag"
7060                          || test ! -s conftest.err'
7061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062   (eval $ac_try) 2>&5
7063   ac_status=$?
7064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065   (exit $ac_status); }; } &&
7066          { ac_try='test -s conftest.$ac_objext'
7067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068   (eval $ac_try) 2>&5
7069   ac_status=$?
7070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071   (exit $ac_status); }; }; then
7072   ac_cv_member_struct_stat_st_blksize=yes
7073 else
7074   echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7076
7077 ac_cv_member_struct_stat_st_blksize=no
7078 fi
7079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7080 fi
7081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7082 fi
7083 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
7084 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
7085 if test $ac_cv_member_struct_stat_st_blksize = yes; then
7086
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7089 _ACEOF
7090
7091
7092 fi
7093
7094 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
7095 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
7096 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
7097   echo $ECHO_N "(cached) $ECHO_C" >&6
7098 else
7099   cat >conftest.$ac_ext <<_ACEOF
7100 /* confdefs.h.  */
7101 _ACEOF
7102 cat confdefs.h >>conftest.$ac_ext
7103 cat >>conftest.$ac_ext <<_ACEOF
7104 /* end confdefs.h.  */
7105 $ac_includes_default
7106 int
7107 main ()
7108 {
7109 static struct stat ac_aggr;
7110 if (ac_aggr.st_blocks)
7111 return 0;
7112   ;
7113   return 0;
7114 }
7115 _ACEOF
7116 rm -f conftest.$ac_objext
7117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7118   (eval $ac_compile) 2>conftest.er1
7119   ac_status=$?
7120   grep -v '^ *+' conftest.er1 >conftest.err
7121   rm -f conftest.er1
7122   cat conftest.err >&5
7123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124   (exit $ac_status); } &&
7125          { ac_try='test -z "$ac_c_werror_flag"
7126                          || test ! -s conftest.err'
7127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128   (eval $ac_try) 2>&5
7129   ac_status=$?
7130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131   (exit $ac_status); }; } &&
7132          { ac_try='test -s conftest.$ac_objext'
7133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134   (eval $ac_try) 2>&5
7135   ac_status=$?
7136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137   (exit $ac_status); }; }; then
7138   ac_cv_member_struct_stat_st_blocks=yes
7139 else
7140   echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7142
7143 cat >conftest.$ac_ext <<_ACEOF
7144 /* confdefs.h.  */
7145 _ACEOF
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h.  */
7149 $ac_includes_default
7150 int
7151 main ()
7152 {
7153 static struct stat ac_aggr;
7154 if (sizeof ac_aggr.st_blocks)
7155 return 0;
7156   ;
7157   return 0;
7158 }
7159 _ACEOF
7160 rm -f conftest.$ac_objext
7161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7162   (eval $ac_compile) 2>conftest.er1
7163   ac_status=$?
7164   grep -v '^ *+' conftest.er1 >conftest.err
7165   rm -f conftest.er1
7166   cat conftest.err >&5
7167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168   (exit $ac_status); } &&
7169          { ac_try='test -z "$ac_c_werror_flag"
7170                          || test ! -s conftest.err'
7171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172   (eval $ac_try) 2>&5
7173   ac_status=$?
7174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175   (exit $ac_status); }; } &&
7176          { ac_try='test -s conftest.$ac_objext'
7177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7178   (eval $ac_try) 2>&5
7179   ac_status=$?
7180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181   (exit $ac_status); }; }; then
7182   ac_cv_member_struct_stat_st_blocks=yes
7183 else
7184   echo "$as_me: failed program was:" >&5
7185 sed 's/^/| /' conftest.$ac_ext >&5
7186
7187 ac_cv_member_struct_stat_st_blocks=no
7188 fi
7189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7190 fi
7191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7192 fi
7193 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7194 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7195 if test $ac_cv_member_struct_stat_st_blocks = yes; then
7196
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7199 _ACEOF
7200
7201
7202 fi
7203
7204 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7205 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7206 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7207   echo $ECHO_N "(cached) $ECHO_C" >&6
7208 else
7209   cat >conftest.$ac_ext <<_ACEOF
7210 /* confdefs.h.  */
7211 _ACEOF
7212 cat confdefs.h >>conftest.$ac_ext
7213 cat >>conftest.$ac_ext <<_ACEOF
7214 /* end confdefs.h.  */
7215 $ac_includes_default
7216 int
7217 main ()
7218 {
7219 static struct stat ac_aggr;
7220 if (ac_aggr.st_rdev)
7221 return 0;
7222   ;
7223   return 0;
7224 }
7225 _ACEOF
7226 rm -f conftest.$ac_objext
7227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7228   (eval $ac_compile) 2>conftest.er1
7229   ac_status=$?
7230   grep -v '^ *+' conftest.er1 >conftest.err
7231   rm -f conftest.er1
7232   cat conftest.err >&5
7233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234   (exit $ac_status); } &&
7235          { ac_try='test -z "$ac_c_werror_flag"
7236                          || test ! -s conftest.err'
7237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7238   (eval $ac_try) 2>&5
7239   ac_status=$?
7240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241   (exit $ac_status); }; } &&
7242          { ac_try='test -s conftest.$ac_objext'
7243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7244   (eval $ac_try) 2>&5
7245   ac_status=$?
7246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247   (exit $ac_status); }; }; then
7248   ac_cv_member_struct_stat_st_rdev=yes
7249 else
7250   echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7252
7253 cat >conftest.$ac_ext <<_ACEOF
7254 /* confdefs.h.  */
7255 _ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h.  */
7259 $ac_includes_default
7260 int
7261 main ()
7262 {
7263 static struct stat ac_aggr;
7264 if (sizeof ac_aggr.st_rdev)
7265 return 0;
7266   ;
7267   return 0;
7268 }
7269 _ACEOF
7270 rm -f conftest.$ac_objext
7271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7272   (eval $ac_compile) 2>conftest.er1
7273   ac_status=$?
7274   grep -v '^ *+' conftest.er1 >conftest.err
7275   rm -f conftest.er1
7276   cat conftest.err >&5
7277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278   (exit $ac_status); } &&
7279          { ac_try='test -z "$ac_c_werror_flag"
7280                          || test ! -s conftest.err'
7281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282   (eval $ac_try) 2>&5
7283   ac_status=$?
7284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285   (exit $ac_status); }; } &&
7286          { ac_try='test -s conftest.$ac_objext'
7287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7288   (eval $ac_try) 2>&5
7289   ac_status=$?
7290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291   (exit $ac_status); }; }; then
7292   ac_cv_member_struct_stat_st_rdev=yes
7293 else
7294   echo "$as_me: failed program was:" >&5
7295 sed 's/^/| /' conftest.$ac_ext >&5
7296
7297 ac_cv_member_struct_stat_st_rdev=no
7298 fi
7299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7300 fi
7301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7302 fi
7303 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7304 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7305 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7306
7307 cat >>confdefs.h <<_ACEOF
7308 #define HAVE_STRUCT_STAT_ST_RDEV 1
7309 _ACEOF
7310
7311
7312 fi
7313
7314
7315 # Check for library functions.
7316
7317
7318
7319
7320
7321
7322
7323
7324 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7325 do
7326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7327 echo "$as_me:$LINENO: checking for $ac_func" >&5
7328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7329 if eval "test \"\${$as_ac_var+set}\" = set"; then
7330   echo $ECHO_N "(cached) $ECHO_C" >&6
7331 else
7332   if test x$gcc_no_link = xyes; then
7333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7335    { (exit 1); exit 1; }; }
7336 fi
7337 cat >conftest.$ac_ext <<_ACEOF
7338 /* confdefs.h.  */
7339 _ACEOF
7340 cat confdefs.h >>conftest.$ac_ext
7341 cat >>conftest.$ac_ext <<_ACEOF
7342 /* end confdefs.h.  */
7343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7345 #define $ac_func innocuous_$ac_func
7346
7347 /* System header to define __stub macros and hopefully few prototypes,
7348     which can conflict with char $ac_func (); below.
7349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7350     <limits.h> exists even on freestanding compilers.  */
7351
7352 #ifdef __STDC__
7353 # include <limits.h>
7354 #else
7355 # include <assert.h>
7356 #endif
7357
7358 #undef $ac_func
7359
7360 /* Override any gcc2 internal prototype to avoid an error.  */
7361 #ifdef __cplusplus
7362 extern "C"
7363 {
7364 #endif
7365 /* We use char because int might match the return type of a gcc2
7366    builtin and then its argument prototype would still apply.  */
7367 char $ac_func ();
7368 /* The GNU C library defines this for functions which it implements
7369     to always fail with ENOSYS.  Some functions are actually named
7370     something starting with __ and the normal name is an alias.  */
7371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7372 choke me
7373 #else
7374 char (*f) () = $ac_func;
7375 #endif
7376 #ifdef __cplusplus
7377 }
7378 #endif
7379
7380 int
7381 main ()
7382 {
7383 return f != $ac_func;
7384   ;
7385   return 0;
7386 }
7387 _ACEOF
7388 rm -f conftest.$ac_objext conftest$ac_exeext
7389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7390   (eval $ac_link) 2>conftest.er1
7391   ac_status=$?
7392   grep -v '^ *+' conftest.er1 >conftest.err
7393   rm -f conftest.er1
7394   cat conftest.err >&5
7395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396   (exit $ac_status); } &&
7397          { ac_try='test -z "$ac_c_werror_flag"
7398                          || test ! -s conftest.err'
7399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400   (eval $ac_try) 2>&5
7401   ac_status=$?
7402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403   (exit $ac_status); }; } &&
7404          { ac_try='test -s conftest$ac_exeext'
7405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7406   (eval $ac_try) 2>&5
7407   ac_status=$?
7408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409   (exit $ac_status); }; }; then
7410   eval "$as_ac_var=yes"
7411 else
7412   echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7414
7415 eval "$as_ac_var=no"
7416 fi
7417 rm -f conftest.err conftest.$ac_objext \
7418       conftest$ac_exeext conftest.$ac_ext
7419 fi
7420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7422 if test `eval echo '${'$as_ac_var'}'` = yes; then
7423   cat >>confdefs.h <<_ACEOF
7424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7425 _ACEOF
7426
7427 fi
7428 done
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7439 do
7440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7441 echo "$as_me:$LINENO: checking for $ac_func" >&5
7442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7443 if eval "test \"\${$as_ac_var+set}\" = set"; then
7444   echo $ECHO_N "(cached) $ECHO_C" >&6
7445 else
7446   if test x$gcc_no_link = xyes; then
7447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7449    { (exit 1); exit 1; }; }
7450 fi
7451 cat >conftest.$ac_ext <<_ACEOF
7452 /* confdefs.h.  */
7453 _ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h.  */
7457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7459 #define $ac_func innocuous_$ac_func
7460
7461 /* System header to define __stub macros and hopefully few prototypes,
7462     which can conflict with char $ac_func (); below.
7463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7464     <limits.h> exists even on freestanding compilers.  */
7465
7466 #ifdef __STDC__
7467 # include <limits.h>
7468 #else
7469 # include <assert.h>
7470 #endif
7471
7472 #undef $ac_func
7473
7474 /* Override any gcc2 internal prototype to avoid an error.  */
7475 #ifdef __cplusplus
7476 extern "C"
7477 {
7478 #endif
7479 /* We use char because int might match the return type of a gcc2
7480    builtin and then its argument prototype would still apply.  */
7481 char $ac_func ();
7482 /* The GNU C library defines this for functions which it implements
7483     to always fail with ENOSYS.  Some functions are actually named
7484     something starting with __ and the normal name is an alias.  */
7485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7486 choke me
7487 #else
7488 char (*f) () = $ac_func;
7489 #endif
7490 #ifdef __cplusplus
7491 }
7492 #endif
7493
7494 int
7495 main ()
7496 {
7497 return f != $ac_func;
7498   ;
7499   return 0;
7500 }
7501 _ACEOF
7502 rm -f conftest.$ac_objext conftest$ac_exeext
7503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7504   (eval $ac_link) 2>conftest.er1
7505   ac_status=$?
7506   grep -v '^ *+' conftest.er1 >conftest.err
7507   rm -f conftest.er1
7508   cat conftest.err >&5
7509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510   (exit $ac_status); } &&
7511          { ac_try='test -z "$ac_c_werror_flag"
7512                          || test ! -s conftest.err'
7513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514   (eval $ac_try) 2>&5
7515   ac_status=$?
7516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517   (exit $ac_status); }; } &&
7518          { ac_try='test -s conftest$ac_exeext'
7519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7520   (eval $ac_try) 2>&5
7521   ac_status=$?
7522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523   (exit $ac_status); }; }; then
7524   eval "$as_ac_var=yes"
7525 else
7526   echo "$as_me: failed program was:" >&5
7527 sed 's/^/| /' conftest.$ac_ext >&5
7528
7529 eval "$as_ac_var=no"
7530 fi
7531 rm -f conftest.err conftest.$ac_objext \
7532       conftest$ac_exeext conftest.$ac_ext
7533 fi
7534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7536 if test `eval echo '${'$as_ac_var'}'` = yes; then
7537   cat >>confdefs.h <<_ACEOF
7538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7539 _ACEOF
7540
7541 fi
7542 done
7543
7544
7545
7546
7547
7548
7549
7550 for ac_func in sleep time ttyname signal alarm ctime
7551 do
7552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7553 echo "$as_me:$LINENO: checking for $ac_func" >&5
7554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7555 if eval "test \"\${$as_ac_var+set}\" = set"; then
7556   echo $ECHO_N "(cached) $ECHO_C" >&6
7557 else
7558   if test x$gcc_no_link = xyes; then
7559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7561    { (exit 1); exit 1; }; }
7562 fi
7563 cat >conftest.$ac_ext <<_ACEOF
7564 /* confdefs.h.  */
7565 _ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h.  */
7569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7571 #define $ac_func innocuous_$ac_func
7572
7573 /* System header to define __stub macros and hopefully few prototypes,
7574     which can conflict with char $ac_func (); below.
7575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7576     <limits.h> exists even on freestanding compilers.  */
7577
7578 #ifdef __STDC__
7579 # include <limits.h>
7580 #else
7581 # include <assert.h>
7582 #endif
7583
7584 #undef $ac_func
7585
7586 /* Override any gcc2 internal prototype to avoid an error.  */
7587 #ifdef __cplusplus
7588 extern "C"
7589 {
7590 #endif
7591 /* We use char because int might match the return type of a gcc2
7592    builtin and then its argument prototype would still apply.  */
7593 char $ac_func ();
7594 /* The GNU C library defines this for functions which it implements
7595     to always fail with ENOSYS.  Some functions are actually named
7596     something starting with __ and the normal name is an alias.  */
7597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7598 choke me
7599 #else
7600 char (*f) () = $ac_func;
7601 #endif
7602 #ifdef __cplusplus
7603 }
7604 #endif
7605
7606 int
7607 main ()
7608 {
7609 return f != $ac_func;
7610   ;
7611   return 0;
7612 }
7613 _ACEOF
7614 rm -f conftest.$ac_objext conftest$ac_exeext
7615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7616   (eval $ac_link) 2>conftest.er1
7617   ac_status=$?
7618   grep -v '^ *+' conftest.er1 >conftest.err
7619   rm -f conftest.er1
7620   cat conftest.err >&5
7621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622   (exit $ac_status); } &&
7623          { ac_try='test -z "$ac_c_werror_flag"
7624                          || test ! -s conftest.err'
7625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626   (eval $ac_try) 2>&5
7627   ac_status=$?
7628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629   (exit $ac_status); }; } &&
7630          { ac_try='test -s conftest$ac_exeext'
7631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632   (eval $ac_try) 2>&5
7633   ac_status=$?
7634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635   (exit $ac_status); }; }; then
7636   eval "$as_ac_var=yes"
7637 else
7638   echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7640
7641 eval "$as_ac_var=no"
7642 fi
7643 rm -f conftest.err conftest.$ac_objext \
7644       conftest$ac_exeext conftest.$ac_ext
7645 fi
7646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7648 if test `eval echo '${'$as_ac_var'}'` = yes; then
7649   cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7651 _ACEOF
7652
7653 fi
7654 done
7655
7656
7657 # Check libc for getgid, getpid, getuid
7658 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7659 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7660 if test "${ac_cv_lib_c_getgid+set}" = set; then
7661   echo $ECHO_N "(cached) $ECHO_C" >&6
7662 else
7663   ac_check_lib_save_LIBS=$LIBS
7664 LIBS="-lc  $LIBS"
7665 if test x$gcc_no_link = xyes; then
7666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7668    { (exit 1); exit 1; }; }
7669 fi
7670 cat >conftest.$ac_ext <<_ACEOF
7671 /* confdefs.h.  */
7672 _ACEOF
7673 cat confdefs.h >>conftest.$ac_ext
7674 cat >>conftest.$ac_ext <<_ACEOF
7675 /* end confdefs.h.  */
7676
7677 /* Override any gcc2 internal prototype to avoid an error.  */
7678 #ifdef __cplusplus
7679 extern "C"
7680 #endif
7681 /* We use char because int might match the return type of a gcc2
7682    builtin and then its argument prototype would still apply.  */
7683 char getgid ();
7684 int
7685 main ()
7686 {
7687 getgid ();
7688   ;
7689   return 0;
7690 }
7691 _ACEOF
7692 rm -f conftest.$ac_objext conftest$ac_exeext
7693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7694   (eval $ac_link) 2>conftest.er1
7695   ac_status=$?
7696   grep -v '^ *+' conftest.er1 >conftest.err
7697   rm -f conftest.er1
7698   cat conftest.err >&5
7699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700   (exit $ac_status); } &&
7701          { ac_try='test -z "$ac_c_werror_flag"
7702                          || test ! -s conftest.err'
7703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704   (eval $ac_try) 2>&5
7705   ac_status=$?
7706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707   (exit $ac_status); }; } &&
7708          { ac_try='test -s conftest$ac_exeext'
7709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7710   (eval $ac_try) 2>&5
7711   ac_status=$?
7712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713   (exit $ac_status); }; }; then
7714   ac_cv_lib_c_getgid=yes
7715 else
7716   echo "$as_me: failed program was:" >&5
7717 sed 's/^/| /' conftest.$ac_ext >&5
7718
7719 ac_cv_lib_c_getgid=no
7720 fi
7721 rm -f conftest.err conftest.$ac_objext \
7722       conftest$ac_exeext conftest.$ac_ext
7723 LIBS=$ac_check_lib_save_LIBS
7724 fi
7725 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7726 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7727 if test $ac_cv_lib_c_getgid = yes; then
7728
7729 cat >>confdefs.h <<\_ACEOF
7730 #define HAVE_GETGID 1
7731 _ACEOF
7732
7733 fi
7734
7735 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7736 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7737 if test "${ac_cv_lib_c_getpid+set}" = set; then
7738   echo $ECHO_N "(cached) $ECHO_C" >&6
7739 else
7740   ac_check_lib_save_LIBS=$LIBS
7741 LIBS="-lc  $LIBS"
7742 if test x$gcc_no_link = xyes; then
7743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7745    { (exit 1); exit 1; }; }
7746 fi
7747 cat >conftest.$ac_ext <<_ACEOF
7748 /* confdefs.h.  */
7749 _ACEOF
7750 cat confdefs.h >>conftest.$ac_ext
7751 cat >>conftest.$ac_ext <<_ACEOF
7752 /* end confdefs.h.  */
7753
7754 /* Override any gcc2 internal prototype to avoid an error.  */
7755 #ifdef __cplusplus
7756 extern "C"
7757 #endif
7758 /* We use char because int might match the return type of a gcc2
7759    builtin and then its argument prototype would still apply.  */
7760 char getpid ();
7761 int
7762 main ()
7763 {
7764 getpid ();
7765   ;
7766   return 0;
7767 }
7768 _ACEOF
7769 rm -f conftest.$ac_objext conftest$ac_exeext
7770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7771   (eval $ac_link) 2>conftest.er1
7772   ac_status=$?
7773   grep -v '^ *+' conftest.er1 >conftest.err
7774   rm -f conftest.er1
7775   cat conftest.err >&5
7776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777   (exit $ac_status); } &&
7778          { ac_try='test -z "$ac_c_werror_flag"
7779                          || test ! -s conftest.err'
7780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7781   (eval $ac_try) 2>&5
7782   ac_status=$?
7783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784   (exit $ac_status); }; } &&
7785          { ac_try='test -s conftest$ac_exeext'
7786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7787   (eval $ac_try) 2>&5
7788   ac_status=$?
7789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790   (exit $ac_status); }; }; then
7791   ac_cv_lib_c_getpid=yes
7792 else
7793   echo "$as_me: failed program was:" >&5
7794 sed 's/^/| /' conftest.$ac_ext >&5
7795
7796 ac_cv_lib_c_getpid=no
7797 fi
7798 rm -f conftest.err conftest.$ac_objext \
7799       conftest$ac_exeext conftest.$ac_ext
7800 LIBS=$ac_check_lib_save_LIBS
7801 fi
7802 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7803 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7804 if test $ac_cv_lib_c_getpid = yes; then
7805
7806 cat >>confdefs.h <<\_ACEOF
7807 #define HAVE_GETPID 1
7808 _ACEOF
7809
7810 fi
7811
7812 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7813 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7814 if test "${ac_cv_lib_c_getuid+set}" = set; then
7815   echo $ECHO_N "(cached) $ECHO_C" >&6
7816 else
7817   ac_check_lib_save_LIBS=$LIBS
7818 LIBS="-lc  $LIBS"
7819 if test x$gcc_no_link = xyes; then
7820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7822    { (exit 1); exit 1; }; }
7823 fi
7824 cat >conftest.$ac_ext <<_ACEOF
7825 /* confdefs.h.  */
7826 _ACEOF
7827 cat confdefs.h >>conftest.$ac_ext
7828 cat >>conftest.$ac_ext <<_ACEOF
7829 /* end confdefs.h.  */
7830
7831 /* Override any gcc2 internal prototype to avoid an error.  */
7832 #ifdef __cplusplus
7833 extern "C"
7834 #endif
7835 /* We use char because int might match the return type of a gcc2
7836    builtin and then its argument prototype would still apply.  */
7837 char getuid ();
7838 int
7839 main ()
7840 {
7841 getuid ();
7842   ;
7843   return 0;
7844 }
7845 _ACEOF
7846 rm -f conftest.$ac_objext conftest$ac_exeext
7847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7848   (eval $ac_link) 2>conftest.er1
7849   ac_status=$?
7850   grep -v '^ *+' conftest.er1 >conftest.err
7851   rm -f conftest.er1
7852   cat conftest.err >&5
7853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854   (exit $ac_status); } &&
7855          { ac_try='test -z "$ac_c_werror_flag"
7856                          || test ! -s conftest.err'
7857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858   (eval $ac_try) 2>&5
7859   ac_status=$?
7860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861   (exit $ac_status); }; } &&
7862          { ac_try='test -s conftest$ac_exeext'
7863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864   (eval $ac_try) 2>&5
7865   ac_status=$?
7866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867   (exit $ac_status); }; }; then
7868   ac_cv_lib_c_getuid=yes
7869 else
7870   echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.$ac_ext >&5
7872
7873 ac_cv_lib_c_getuid=no
7874 fi
7875 rm -f conftest.err conftest.$ac_objext \
7876       conftest$ac_exeext conftest.$ac_ext
7877 LIBS=$ac_check_lib_save_LIBS
7878 fi
7879 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7880 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7881 if test $ac_cv_lib_c_getuid = yes; then
7882
7883 cat >>confdefs.h <<\_ACEOF
7884 #define HAVE_GETUID 1
7885 _ACEOF
7886
7887 fi
7888
7889
7890 # Check for C99 (and other IEEE) math functions
7891 # ??? This list seems awful long. Is there a better way to test for these?
7892 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7893 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7894 if test "${ac_cv_lib_m_acosf+set}" = set; then
7895   echo $ECHO_N "(cached) $ECHO_C" >&6
7896 else
7897   ac_check_lib_save_LIBS=$LIBS
7898 LIBS="-lm  $LIBS"
7899 if test x$gcc_no_link = xyes; then
7900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7902    { (exit 1); exit 1; }; }
7903 fi
7904 cat >conftest.$ac_ext <<_ACEOF
7905 /* confdefs.h.  */
7906 _ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h.  */
7910
7911 /* Override any gcc2 internal prototype to avoid an error.  */
7912 #ifdef __cplusplus
7913 extern "C"
7914 #endif
7915 /* We use char because int might match the return type of a gcc2
7916    builtin and then its argument prototype would still apply.  */
7917 char acosf ();
7918 int
7919 main ()
7920 {
7921 acosf ();
7922   ;
7923   return 0;
7924 }
7925 _ACEOF
7926 rm -f conftest.$ac_objext conftest$ac_exeext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928   (eval $ac_link) 2>conftest.er1
7929   ac_status=$?
7930   grep -v '^ *+' conftest.er1 >conftest.err
7931   rm -f conftest.er1
7932   cat conftest.err >&5
7933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934   (exit $ac_status); } &&
7935          { ac_try='test -z "$ac_c_werror_flag"
7936                          || test ! -s conftest.err'
7937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938   (eval $ac_try) 2>&5
7939   ac_status=$?
7940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941   (exit $ac_status); }; } &&
7942          { ac_try='test -s conftest$ac_exeext'
7943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7944   (eval $ac_try) 2>&5
7945   ac_status=$?
7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947   (exit $ac_status); }; }; then
7948   ac_cv_lib_m_acosf=yes
7949 else
7950   echo "$as_me: failed program was:" >&5
7951 sed 's/^/| /' conftest.$ac_ext >&5
7952
7953 ac_cv_lib_m_acosf=no
7954 fi
7955 rm -f conftest.err conftest.$ac_objext \
7956       conftest$ac_exeext conftest.$ac_ext
7957 LIBS=$ac_check_lib_save_LIBS
7958 fi
7959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7960 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7961 if test $ac_cv_lib_m_acosf = yes; then
7962
7963 cat >>confdefs.h <<\_ACEOF
7964 #define HAVE_ACOSF 1
7965 _ACEOF
7966
7967 fi
7968
7969 echo "$as_me:$LINENO: checking for acos in -lm" >&5
7970 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7971 if test "${ac_cv_lib_m_acos+set}" = set; then
7972   echo $ECHO_N "(cached) $ECHO_C" >&6
7973 else
7974   ac_check_lib_save_LIBS=$LIBS
7975 LIBS="-lm  $LIBS"
7976 if test x$gcc_no_link = xyes; then
7977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7979    { (exit 1); exit 1; }; }
7980 fi
7981 cat >conftest.$ac_ext <<_ACEOF
7982 /* confdefs.h.  */
7983 _ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h.  */
7987
7988 /* Override any gcc2 internal prototype to avoid an error.  */
7989 #ifdef __cplusplus
7990 extern "C"
7991 #endif
7992 /* We use char because int might match the return type of a gcc2
7993    builtin and then its argument prototype would still apply.  */
7994 char acos ();
7995 int
7996 main ()
7997 {
7998 acos ();
7999   ;
8000   return 0;
8001 }
8002 _ACEOF
8003 rm -f conftest.$ac_objext conftest$ac_exeext
8004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8005   (eval $ac_link) 2>conftest.er1
8006   ac_status=$?
8007   grep -v '^ *+' conftest.er1 >conftest.err
8008   rm -f conftest.er1
8009   cat conftest.err >&5
8010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011   (exit $ac_status); } &&
8012          { ac_try='test -z "$ac_c_werror_flag"
8013                          || test ! -s conftest.err'
8014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015   (eval $ac_try) 2>&5
8016   ac_status=$?
8017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018   (exit $ac_status); }; } &&
8019          { ac_try='test -s conftest$ac_exeext'
8020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021   (eval $ac_try) 2>&5
8022   ac_status=$?
8023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024   (exit $ac_status); }; }; then
8025   ac_cv_lib_m_acos=yes
8026 else
8027   echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8029
8030 ac_cv_lib_m_acos=no
8031 fi
8032 rm -f conftest.err conftest.$ac_objext \
8033       conftest$ac_exeext conftest.$ac_ext
8034 LIBS=$ac_check_lib_save_LIBS
8035 fi
8036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
8037 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
8038 if test $ac_cv_lib_m_acos = yes; then
8039
8040 cat >>confdefs.h <<\_ACEOF
8041 #define HAVE_ACOS 1
8042 _ACEOF
8043
8044 fi
8045
8046 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
8047 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
8048 if test "${ac_cv_lib_m_acosl+set}" = set; then
8049   echo $ECHO_N "(cached) $ECHO_C" >&6
8050 else
8051   ac_check_lib_save_LIBS=$LIBS
8052 LIBS="-lm  $LIBS"
8053 if test x$gcc_no_link = xyes; then
8054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8056    { (exit 1); exit 1; }; }
8057 fi
8058 cat >conftest.$ac_ext <<_ACEOF
8059 /* confdefs.h.  */
8060 _ACEOF
8061 cat confdefs.h >>conftest.$ac_ext
8062 cat >>conftest.$ac_ext <<_ACEOF
8063 /* end confdefs.h.  */
8064
8065 /* Override any gcc2 internal prototype to avoid an error.  */
8066 #ifdef __cplusplus
8067 extern "C"
8068 #endif
8069 /* We use char because int might match the return type of a gcc2
8070    builtin and then its argument prototype would still apply.  */
8071 char acosl ();
8072 int
8073 main ()
8074 {
8075 acosl ();
8076   ;
8077   return 0;
8078 }
8079 _ACEOF
8080 rm -f conftest.$ac_objext conftest$ac_exeext
8081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8082   (eval $ac_link) 2>conftest.er1
8083   ac_status=$?
8084   grep -v '^ *+' conftest.er1 >conftest.err
8085   rm -f conftest.er1
8086   cat conftest.err >&5
8087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088   (exit $ac_status); } &&
8089          { ac_try='test -z "$ac_c_werror_flag"
8090                          || test ! -s conftest.err'
8091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8092   (eval $ac_try) 2>&5
8093   ac_status=$?
8094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095   (exit $ac_status); }; } &&
8096          { ac_try='test -s conftest$ac_exeext'
8097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098   (eval $ac_try) 2>&5
8099   ac_status=$?
8100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101   (exit $ac_status); }; }; then
8102   ac_cv_lib_m_acosl=yes
8103 else
8104   echo "$as_me: failed program was:" >&5
8105 sed 's/^/| /' conftest.$ac_ext >&5
8106
8107 ac_cv_lib_m_acosl=no
8108 fi
8109 rm -f conftest.err conftest.$ac_objext \
8110       conftest$ac_exeext conftest.$ac_ext
8111 LIBS=$ac_check_lib_save_LIBS
8112 fi
8113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
8114 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
8115 if test $ac_cv_lib_m_acosl = yes; then
8116
8117 cat >>confdefs.h <<\_ACEOF
8118 #define HAVE_ACOSL 1
8119 _ACEOF
8120
8121 fi
8122
8123 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
8124 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
8125 if test "${ac_cv_lib_m_acoshf+set}" = set; then
8126   echo $ECHO_N "(cached) $ECHO_C" >&6
8127 else
8128   ac_check_lib_save_LIBS=$LIBS
8129 LIBS="-lm  $LIBS"
8130 if test x$gcc_no_link = xyes; then
8131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8133    { (exit 1); exit 1; }; }
8134 fi
8135 cat >conftest.$ac_ext <<_ACEOF
8136 /* confdefs.h.  */
8137 _ACEOF
8138 cat confdefs.h >>conftest.$ac_ext
8139 cat >>conftest.$ac_ext <<_ACEOF
8140 /* end confdefs.h.  */
8141
8142 /* Override any gcc2 internal prototype to avoid an error.  */
8143 #ifdef __cplusplus
8144 extern "C"
8145 #endif
8146 /* We use char because int might match the return type of a gcc2
8147    builtin and then its argument prototype would still apply.  */
8148 char acoshf ();
8149 int
8150 main ()
8151 {
8152 acoshf ();
8153   ;
8154   return 0;
8155 }
8156 _ACEOF
8157 rm -f conftest.$ac_objext conftest$ac_exeext
8158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8159   (eval $ac_link) 2>conftest.er1
8160   ac_status=$?
8161   grep -v '^ *+' conftest.er1 >conftest.err
8162   rm -f conftest.er1
8163   cat conftest.err >&5
8164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165   (exit $ac_status); } &&
8166          { ac_try='test -z "$ac_c_werror_flag"
8167                          || test ! -s conftest.err'
8168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169   (eval $ac_try) 2>&5
8170   ac_status=$?
8171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172   (exit $ac_status); }; } &&
8173          { ac_try='test -s conftest$ac_exeext'
8174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175   (eval $ac_try) 2>&5
8176   ac_status=$?
8177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178   (exit $ac_status); }; }; then
8179   ac_cv_lib_m_acoshf=yes
8180 else
8181   echo "$as_me: failed program was:" >&5
8182 sed 's/^/| /' conftest.$ac_ext >&5
8183
8184 ac_cv_lib_m_acoshf=no
8185 fi
8186 rm -f conftest.err conftest.$ac_objext \
8187       conftest$ac_exeext conftest.$ac_ext
8188 LIBS=$ac_check_lib_save_LIBS
8189 fi
8190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8191 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8192 if test $ac_cv_lib_m_acoshf = yes; then
8193
8194 cat >>confdefs.h <<\_ACEOF
8195 #define HAVE_ACOSHF 1
8196 _ACEOF
8197
8198 fi
8199
8200 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8201 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8202 if test "${ac_cv_lib_m_acosh+set}" = set; then
8203   echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205   ac_check_lib_save_LIBS=$LIBS
8206 LIBS="-lm  $LIBS"
8207 if test x$gcc_no_link = xyes; then
8208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8210    { (exit 1); exit 1; }; }
8211 fi
8212 cat >conftest.$ac_ext <<_ACEOF
8213 /* confdefs.h.  */
8214 _ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h.  */
8218
8219 /* Override any gcc2 internal prototype to avoid an error.  */
8220 #ifdef __cplusplus
8221 extern "C"
8222 #endif
8223 /* We use char because int might match the return type of a gcc2
8224    builtin and then its argument prototype would still apply.  */
8225 char acosh ();
8226 int
8227 main ()
8228 {
8229 acosh ();
8230   ;
8231   return 0;
8232 }
8233 _ACEOF
8234 rm -f conftest.$ac_objext conftest$ac_exeext
8235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8236   (eval $ac_link) 2>conftest.er1
8237   ac_status=$?
8238   grep -v '^ *+' conftest.er1 >conftest.err
8239   rm -f conftest.er1
8240   cat conftest.err >&5
8241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242   (exit $ac_status); } &&
8243          { ac_try='test -z "$ac_c_werror_flag"
8244                          || test ! -s conftest.err'
8245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8246   (eval $ac_try) 2>&5
8247   ac_status=$?
8248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249   (exit $ac_status); }; } &&
8250          { ac_try='test -s conftest$ac_exeext'
8251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8252   (eval $ac_try) 2>&5
8253   ac_status=$?
8254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255   (exit $ac_status); }; }; then
8256   ac_cv_lib_m_acosh=yes
8257 else
8258   echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.$ac_ext >&5
8260
8261 ac_cv_lib_m_acosh=no
8262 fi
8263 rm -f conftest.err conftest.$ac_objext \
8264       conftest$ac_exeext conftest.$ac_ext
8265 LIBS=$ac_check_lib_save_LIBS
8266 fi
8267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8268 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8269 if test $ac_cv_lib_m_acosh = yes; then
8270
8271 cat >>confdefs.h <<\_ACEOF
8272 #define HAVE_ACOSH 1
8273 _ACEOF
8274
8275 fi
8276
8277 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8278 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8279 if test "${ac_cv_lib_m_acoshl+set}" = set; then
8280   echo $ECHO_N "(cached) $ECHO_C" >&6
8281 else
8282   ac_check_lib_save_LIBS=$LIBS
8283 LIBS="-lm  $LIBS"
8284 if test x$gcc_no_link = xyes; then
8285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8287    { (exit 1); exit 1; }; }
8288 fi
8289 cat >conftest.$ac_ext <<_ACEOF
8290 /* confdefs.h.  */
8291 _ACEOF
8292 cat confdefs.h >>conftest.$ac_ext
8293 cat >>conftest.$ac_ext <<_ACEOF
8294 /* end confdefs.h.  */
8295
8296 /* Override any gcc2 internal prototype to avoid an error.  */
8297 #ifdef __cplusplus
8298 extern "C"
8299 #endif
8300 /* We use char because int might match the return type of a gcc2
8301    builtin and then its argument prototype would still apply.  */
8302 char acoshl ();
8303 int
8304 main ()
8305 {
8306 acoshl ();
8307   ;
8308   return 0;
8309 }
8310 _ACEOF
8311 rm -f conftest.$ac_objext conftest$ac_exeext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8313   (eval $ac_link) 2>conftest.er1
8314   ac_status=$?
8315   grep -v '^ *+' conftest.er1 >conftest.err
8316   rm -f conftest.er1
8317   cat conftest.err >&5
8318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319   (exit $ac_status); } &&
8320          { ac_try='test -z "$ac_c_werror_flag"
8321                          || test ! -s conftest.err'
8322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323   (eval $ac_try) 2>&5
8324   ac_status=$?
8325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326   (exit $ac_status); }; } &&
8327          { ac_try='test -s conftest$ac_exeext'
8328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329   (eval $ac_try) 2>&5
8330   ac_status=$?
8331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332   (exit $ac_status); }; }; then
8333   ac_cv_lib_m_acoshl=yes
8334 else
8335   echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8337
8338 ac_cv_lib_m_acoshl=no
8339 fi
8340 rm -f conftest.err conftest.$ac_objext \
8341       conftest$ac_exeext conftest.$ac_ext
8342 LIBS=$ac_check_lib_save_LIBS
8343 fi
8344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8345 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8346 if test $ac_cv_lib_m_acoshl = yes; then
8347
8348 cat >>confdefs.h <<\_ACEOF
8349 #define HAVE_ACOSHL 1
8350 _ACEOF
8351
8352 fi
8353
8354 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8355 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8356 if test "${ac_cv_lib_m_asinf+set}" = set; then
8357   echo $ECHO_N "(cached) $ECHO_C" >&6
8358 else
8359   ac_check_lib_save_LIBS=$LIBS
8360 LIBS="-lm  $LIBS"
8361 if test x$gcc_no_link = xyes; then
8362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8364    { (exit 1); exit 1; }; }
8365 fi
8366 cat >conftest.$ac_ext <<_ACEOF
8367 /* confdefs.h.  */
8368 _ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h.  */
8372
8373 /* Override any gcc2 internal prototype to avoid an error.  */
8374 #ifdef __cplusplus
8375 extern "C"
8376 #endif
8377 /* We use char because int might match the return type of a gcc2
8378    builtin and then its argument prototype would still apply.  */
8379 char asinf ();
8380 int
8381 main ()
8382 {
8383 asinf ();
8384   ;
8385   return 0;
8386 }
8387 _ACEOF
8388 rm -f conftest.$ac_objext conftest$ac_exeext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8390   (eval $ac_link) 2>conftest.er1
8391   ac_status=$?
8392   grep -v '^ *+' conftest.er1 >conftest.err
8393   rm -f conftest.er1
8394   cat conftest.err >&5
8395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396   (exit $ac_status); } &&
8397          { ac_try='test -z "$ac_c_werror_flag"
8398                          || test ! -s conftest.err'
8399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400   (eval $ac_try) 2>&5
8401   ac_status=$?
8402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403   (exit $ac_status); }; } &&
8404          { ac_try='test -s conftest$ac_exeext'
8405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406   (eval $ac_try) 2>&5
8407   ac_status=$?
8408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409   (exit $ac_status); }; }; then
8410   ac_cv_lib_m_asinf=yes
8411 else
8412   echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8414
8415 ac_cv_lib_m_asinf=no
8416 fi
8417 rm -f conftest.err conftest.$ac_objext \
8418       conftest$ac_exeext conftest.$ac_ext
8419 LIBS=$ac_check_lib_save_LIBS
8420 fi
8421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8422 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8423 if test $ac_cv_lib_m_asinf = yes; then
8424
8425 cat >>confdefs.h <<\_ACEOF
8426 #define HAVE_ASINF 1
8427 _ACEOF
8428
8429 fi
8430
8431 echo "$as_me:$LINENO: checking for asin in -lm" >&5
8432 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8433 if test "${ac_cv_lib_m_asin+set}" = set; then
8434   echo $ECHO_N "(cached) $ECHO_C" >&6
8435 else
8436   ac_check_lib_save_LIBS=$LIBS
8437 LIBS="-lm  $LIBS"
8438 if test x$gcc_no_link = xyes; then
8439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8441    { (exit 1); exit 1; }; }
8442 fi
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
8450 /* Override any gcc2 internal prototype to avoid an error.  */
8451 #ifdef __cplusplus
8452 extern "C"
8453 #endif
8454 /* We use char because int might match the return type of a gcc2
8455    builtin and then its argument prototype would still apply.  */
8456 char asin ();
8457 int
8458 main ()
8459 {
8460 asin ();
8461   ;
8462   return 0;
8463 }
8464 _ACEOF
8465 rm -f conftest.$ac_objext conftest$ac_exeext
8466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8467   (eval $ac_link) 2>conftest.er1
8468   ac_status=$?
8469   grep -v '^ *+' conftest.er1 >conftest.err
8470   rm -f conftest.er1
8471   cat conftest.err >&5
8472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473   (exit $ac_status); } &&
8474          { ac_try='test -z "$ac_c_werror_flag"
8475                          || test ! -s conftest.err'
8476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477   (eval $ac_try) 2>&5
8478   ac_status=$?
8479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480   (exit $ac_status); }; } &&
8481          { ac_try='test -s conftest$ac_exeext'
8482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483   (eval $ac_try) 2>&5
8484   ac_status=$?
8485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486   (exit $ac_status); }; }; then
8487   ac_cv_lib_m_asin=yes
8488 else
8489   echo "$as_me: failed program was:" >&5
8490 sed 's/^/| /' conftest.$ac_ext >&5
8491
8492 ac_cv_lib_m_asin=no
8493 fi
8494 rm -f conftest.err conftest.$ac_objext \
8495       conftest$ac_exeext conftest.$ac_ext
8496 LIBS=$ac_check_lib_save_LIBS
8497 fi
8498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8499 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8500 if test $ac_cv_lib_m_asin = yes; then
8501
8502 cat >>confdefs.h <<\_ACEOF
8503 #define HAVE_ASIN 1
8504 _ACEOF
8505
8506 fi
8507
8508 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8509 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8510 if test "${ac_cv_lib_m_asinl+set}" = set; then
8511   echo $ECHO_N "(cached) $ECHO_C" >&6
8512 else
8513   ac_check_lib_save_LIBS=$LIBS
8514 LIBS="-lm  $LIBS"
8515 if test x$gcc_no_link = xyes; then
8516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8518    { (exit 1); exit 1; }; }
8519 fi
8520 cat >conftest.$ac_ext <<_ACEOF
8521 /* confdefs.h.  */
8522 _ACEOF
8523 cat confdefs.h >>conftest.$ac_ext
8524 cat >>conftest.$ac_ext <<_ACEOF
8525 /* end confdefs.h.  */
8526
8527 /* Override any gcc2 internal prototype to avoid an error.  */
8528 #ifdef __cplusplus
8529 extern "C"
8530 #endif
8531 /* We use char because int might match the return type of a gcc2
8532    builtin and then its argument prototype would still apply.  */
8533 char asinl ();
8534 int
8535 main ()
8536 {
8537 asinl ();
8538   ;
8539   return 0;
8540 }
8541 _ACEOF
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8544   (eval $ac_link) 2>conftest.er1
8545   ac_status=$?
8546   grep -v '^ *+' conftest.er1 >conftest.err
8547   rm -f conftest.er1
8548   cat conftest.err >&5
8549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550   (exit $ac_status); } &&
8551          { ac_try='test -z "$ac_c_werror_flag"
8552                          || test ! -s conftest.err'
8553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554   (eval $ac_try) 2>&5
8555   ac_status=$?
8556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557   (exit $ac_status); }; } &&
8558          { ac_try='test -s conftest$ac_exeext'
8559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560   (eval $ac_try) 2>&5
8561   ac_status=$?
8562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563   (exit $ac_status); }; }; then
8564   ac_cv_lib_m_asinl=yes
8565 else
8566   echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8568
8569 ac_cv_lib_m_asinl=no
8570 fi
8571 rm -f conftest.err conftest.$ac_objext \
8572       conftest$ac_exeext conftest.$ac_ext
8573 LIBS=$ac_check_lib_save_LIBS
8574 fi
8575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8576 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8577 if test $ac_cv_lib_m_asinl = yes; then
8578
8579 cat >>confdefs.h <<\_ACEOF
8580 #define HAVE_ASINL 1
8581 _ACEOF
8582
8583 fi
8584
8585 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8586 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8587 if test "${ac_cv_lib_m_asinhf+set}" = set; then
8588   echo $ECHO_N "(cached) $ECHO_C" >&6
8589 else
8590   ac_check_lib_save_LIBS=$LIBS
8591 LIBS="-lm  $LIBS"
8592 if test x$gcc_no_link = xyes; then
8593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8595    { (exit 1); exit 1; }; }
8596 fi
8597 cat >conftest.$ac_ext <<_ACEOF
8598 /* confdefs.h.  */
8599 _ACEOF
8600 cat confdefs.h >>conftest.$ac_ext
8601 cat >>conftest.$ac_ext <<_ACEOF
8602 /* end confdefs.h.  */
8603
8604 /* Override any gcc2 internal prototype to avoid an error.  */
8605 #ifdef __cplusplus
8606 extern "C"
8607 #endif
8608 /* We use char because int might match the return type of a gcc2
8609    builtin and then its argument prototype would still apply.  */
8610 char asinhf ();
8611 int
8612 main ()
8613 {
8614 asinhf ();
8615   ;
8616   return 0;
8617 }
8618 _ACEOF
8619 rm -f conftest.$ac_objext conftest$ac_exeext
8620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8621   (eval $ac_link) 2>conftest.er1
8622   ac_status=$?
8623   grep -v '^ *+' conftest.er1 >conftest.err
8624   rm -f conftest.er1
8625   cat conftest.err >&5
8626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627   (exit $ac_status); } &&
8628          { ac_try='test -z "$ac_c_werror_flag"
8629                          || test ! -s conftest.err'
8630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8631   (eval $ac_try) 2>&5
8632   ac_status=$?
8633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634   (exit $ac_status); }; } &&
8635          { ac_try='test -s conftest$ac_exeext'
8636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637   (eval $ac_try) 2>&5
8638   ac_status=$?
8639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640   (exit $ac_status); }; }; then
8641   ac_cv_lib_m_asinhf=yes
8642 else
8643   echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.$ac_ext >&5
8645
8646 ac_cv_lib_m_asinhf=no
8647 fi
8648 rm -f conftest.err conftest.$ac_objext \
8649       conftest$ac_exeext conftest.$ac_ext
8650 LIBS=$ac_check_lib_save_LIBS
8651 fi
8652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8653 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8654 if test $ac_cv_lib_m_asinhf = yes; then
8655
8656 cat >>confdefs.h <<\_ACEOF
8657 #define HAVE_ASINHF 1
8658 _ACEOF
8659
8660 fi
8661
8662 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8663 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8664 if test "${ac_cv_lib_m_asinh+set}" = set; then
8665   echo $ECHO_N "(cached) $ECHO_C" >&6
8666 else
8667   ac_check_lib_save_LIBS=$LIBS
8668 LIBS="-lm  $LIBS"
8669 if test x$gcc_no_link = xyes; then
8670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8672    { (exit 1); exit 1; }; }
8673 fi
8674 cat >conftest.$ac_ext <<_ACEOF
8675 /* confdefs.h.  */
8676 _ACEOF
8677 cat confdefs.h >>conftest.$ac_ext
8678 cat >>conftest.$ac_ext <<_ACEOF
8679 /* end confdefs.h.  */
8680
8681 /* Override any gcc2 internal prototype to avoid an error.  */
8682 #ifdef __cplusplus
8683 extern "C"
8684 #endif
8685 /* We use char because int might match the return type of a gcc2
8686    builtin and then its argument prototype would still apply.  */
8687 char asinh ();
8688 int
8689 main ()
8690 {
8691 asinh ();
8692   ;
8693   return 0;
8694 }
8695 _ACEOF
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698   (eval $ac_link) 2>conftest.er1
8699   ac_status=$?
8700   grep -v '^ *+' conftest.er1 >conftest.err
8701   rm -f conftest.er1
8702   cat conftest.err >&5
8703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704   (exit $ac_status); } &&
8705          { ac_try='test -z "$ac_c_werror_flag"
8706                          || test ! -s conftest.err'
8707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708   (eval $ac_try) 2>&5
8709   ac_status=$?
8710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711   (exit $ac_status); }; } &&
8712          { ac_try='test -s conftest$ac_exeext'
8713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714   (eval $ac_try) 2>&5
8715   ac_status=$?
8716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717   (exit $ac_status); }; }; then
8718   ac_cv_lib_m_asinh=yes
8719 else
8720   echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8722
8723 ac_cv_lib_m_asinh=no
8724 fi
8725 rm -f conftest.err conftest.$ac_objext \
8726       conftest$ac_exeext conftest.$ac_ext
8727 LIBS=$ac_check_lib_save_LIBS
8728 fi
8729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8730 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8731 if test $ac_cv_lib_m_asinh = yes; then
8732
8733 cat >>confdefs.h <<\_ACEOF
8734 #define HAVE_ASINH 1
8735 _ACEOF
8736
8737 fi
8738
8739 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8740 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8741 if test "${ac_cv_lib_m_asinhl+set}" = set; then
8742   echo $ECHO_N "(cached) $ECHO_C" >&6
8743 else
8744   ac_check_lib_save_LIBS=$LIBS
8745 LIBS="-lm  $LIBS"
8746 if test x$gcc_no_link = xyes; then
8747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8749    { (exit 1); exit 1; }; }
8750 fi
8751 cat >conftest.$ac_ext <<_ACEOF
8752 /* confdefs.h.  */
8753 _ACEOF
8754 cat confdefs.h >>conftest.$ac_ext
8755 cat >>conftest.$ac_ext <<_ACEOF
8756 /* end confdefs.h.  */
8757
8758 /* Override any gcc2 internal prototype to avoid an error.  */
8759 #ifdef __cplusplus
8760 extern "C"
8761 #endif
8762 /* We use char because int might match the return type of a gcc2
8763    builtin and then its argument prototype would still apply.  */
8764 char asinhl ();
8765 int
8766 main ()
8767 {
8768 asinhl ();
8769   ;
8770   return 0;
8771 }
8772 _ACEOF
8773 rm -f conftest.$ac_objext conftest$ac_exeext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8775   (eval $ac_link) 2>conftest.er1
8776   ac_status=$?
8777   grep -v '^ *+' conftest.er1 >conftest.err
8778   rm -f conftest.er1
8779   cat conftest.err >&5
8780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781   (exit $ac_status); } &&
8782          { ac_try='test -z "$ac_c_werror_flag"
8783                          || test ! -s conftest.err'
8784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785   (eval $ac_try) 2>&5
8786   ac_status=$?
8787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788   (exit $ac_status); }; } &&
8789          { ac_try='test -s conftest$ac_exeext'
8790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791   (eval $ac_try) 2>&5
8792   ac_status=$?
8793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794   (exit $ac_status); }; }; then
8795   ac_cv_lib_m_asinhl=yes
8796 else
8797   echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8799
8800 ac_cv_lib_m_asinhl=no
8801 fi
8802 rm -f conftest.err conftest.$ac_objext \
8803       conftest$ac_exeext conftest.$ac_ext
8804 LIBS=$ac_check_lib_save_LIBS
8805 fi
8806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8807 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8808 if test $ac_cv_lib_m_asinhl = yes; then
8809
8810 cat >>confdefs.h <<\_ACEOF
8811 #define HAVE_ASINHL 1
8812 _ACEOF
8813
8814 fi
8815
8816 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8817 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8818 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8819   echo $ECHO_N "(cached) $ECHO_C" >&6
8820 else
8821   ac_check_lib_save_LIBS=$LIBS
8822 LIBS="-lm  $LIBS"
8823 if test x$gcc_no_link = xyes; then
8824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8826    { (exit 1); exit 1; }; }
8827 fi
8828 cat >conftest.$ac_ext <<_ACEOF
8829 /* confdefs.h.  */
8830 _ACEOF
8831 cat confdefs.h >>conftest.$ac_ext
8832 cat >>conftest.$ac_ext <<_ACEOF
8833 /* end confdefs.h.  */
8834
8835 /* Override any gcc2 internal prototype to avoid an error.  */
8836 #ifdef __cplusplus
8837 extern "C"
8838 #endif
8839 /* We use char because int might match the return type of a gcc2
8840    builtin and then its argument prototype would still apply.  */
8841 char atan2f ();
8842 int
8843 main ()
8844 {
8845 atan2f ();
8846   ;
8847   return 0;
8848 }
8849 _ACEOF
8850 rm -f conftest.$ac_objext conftest$ac_exeext
8851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8852   (eval $ac_link) 2>conftest.er1
8853   ac_status=$?
8854   grep -v '^ *+' conftest.er1 >conftest.err
8855   rm -f conftest.er1
8856   cat conftest.err >&5
8857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858   (exit $ac_status); } &&
8859          { ac_try='test -z "$ac_c_werror_flag"
8860                          || test ! -s conftest.err'
8861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862   (eval $ac_try) 2>&5
8863   ac_status=$?
8864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865   (exit $ac_status); }; } &&
8866          { ac_try='test -s conftest$ac_exeext'
8867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868   (eval $ac_try) 2>&5
8869   ac_status=$?
8870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871   (exit $ac_status); }; }; then
8872   ac_cv_lib_m_atan2f=yes
8873 else
8874   echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.$ac_ext >&5
8876
8877 ac_cv_lib_m_atan2f=no
8878 fi
8879 rm -f conftest.err conftest.$ac_objext \
8880       conftest$ac_exeext conftest.$ac_ext
8881 LIBS=$ac_check_lib_save_LIBS
8882 fi
8883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8884 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8885 if test $ac_cv_lib_m_atan2f = yes; then
8886
8887 cat >>confdefs.h <<\_ACEOF
8888 #define HAVE_ATAN2F 1
8889 _ACEOF
8890
8891 fi
8892
8893 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8894 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8895 if test "${ac_cv_lib_m_atan2+set}" = set; then
8896   echo $ECHO_N "(cached) $ECHO_C" >&6
8897 else
8898   ac_check_lib_save_LIBS=$LIBS
8899 LIBS="-lm  $LIBS"
8900 if test x$gcc_no_link = xyes; then
8901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8903    { (exit 1); exit 1; }; }
8904 fi
8905 cat >conftest.$ac_ext <<_ACEOF
8906 /* confdefs.h.  */
8907 _ACEOF
8908 cat confdefs.h >>conftest.$ac_ext
8909 cat >>conftest.$ac_ext <<_ACEOF
8910 /* end confdefs.h.  */
8911
8912 /* Override any gcc2 internal prototype to avoid an error.  */
8913 #ifdef __cplusplus
8914 extern "C"
8915 #endif
8916 /* We use char because int might match the return type of a gcc2
8917    builtin and then its argument prototype would still apply.  */
8918 char atan2 ();
8919 int
8920 main ()
8921 {
8922 atan2 ();
8923   ;
8924   return 0;
8925 }
8926 _ACEOF
8927 rm -f conftest.$ac_objext conftest$ac_exeext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929   (eval $ac_link) 2>conftest.er1
8930   ac_status=$?
8931   grep -v '^ *+' conftest.er1 >conftest.err
8932   rm -f conftest.er1
8933   cat conftest.err >&5
8934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935   (exit $ac_status); } &&
8936          { ac_try='test -z "$ac_c_werror_flag"
8937                          || test ! -s conftest.err'
8938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939   (eval $ac_try) 2>&5
8940   ac_status=$?
8941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942   (exit $ac_status); }; } &&
8943          { ac_try='test -s conftest$ac_exeext'
8944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945   (eval $ac_try) 2>&5
8946   ac_status=$?
8947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948   (exit $ac_status); }; }; then
8949   ac_cv_lib_m_atan2=yes
8950 else
8951   echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8953
8954 ac_cv_lib_m_atan2=no
8955 fi
8956 rm -f conftest.err conftest.$ac_objext \
8957       conftest$ac_exeext conftest.$ac_ext
8958 LIBS=$ac_check_lib_save_LIBS
8959 fi
8960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8961 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8962 if test $ac_cv_lib_m_atan2 = yes; then
8963
8964 cat >>confdefs.h <<\_ACEOF
8965 #define HAVE_ATAN2 1
8966 _ACEOF
8967
8968 fi
8969
8970 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8971 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8972 if test "${ac_cv_lib_m_atan2l+set}" = set; then
8973   echo $ECHO_N "(cached) $ECHO_C" >&6
8974 else
8975   ac_check_lib_save_LIBS=$LIBS
8976 LIBS="-lm  $LIBS"
8977 if test x$gcc_no_link = xyes; then
8978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8980    { (exit 1); exit 1; }; }
8981 fi
8982 cat >conftest.$ac_ext <<_ACEOF
8983 /* confdefs.h.  */
8984 _ACEOF
8985 cat confdefs.h >>conftest.$ac_ext
8986 cat >>conftest.$ac_ext <<_ACEOF
8987 /* end confdefs.h.  */
8988
8989 /* Override any gcc2 internal prototype to avoid an error.  */
8990 #ifdef __cplusplus
8991 extern "C"
8992 #endif
8993 /* We use char because int might match the return type of a gcc2
8994    builtin and then its argument prototype would still apply.  */
8995 char atan2l ();
8996 int
8997 main ()
8998 {
8999 atan2l ();
9000   ;
9001   return 0;
9002 }
9003 _ACEOF
9004 rm -f conftest.$ac_objext conftest$ac_exeext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9006   (eval $ac_link) 2>conftest.er1
9007   ac_status=$?
9008   grep -v '^ *+' conftest.er1 >conftest.err
9009   rm -f conftest.er1
9010   cat conftest.err >&5
9011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012   (exit $ac_status); } &&
9013          { ac_try='test -z "$ac_c_werror_flag"
9014                          || test ! -s conftest.err'
9015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016   (eval $ac_try) 2>&5
9017   ac_status=$?
9018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019   (exit $ac_status); }; } &&
9020          { ac_try='test -s conftest$ac_exeext'
9021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022   (eval $ac_try) 2>&5
9023   ac_status=$?
9024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025   (exit $ac_status); }; }; then
9026   ac_cv_lib_m_atan2l=yes
9027 else
9028   echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9030
9031 ac_cv_lib_m_atan2l=no
9032 fi
9033 rm -f conftest.err conftest.$ac_objext \
9034       conftest$ac_exeext conftest.$ac_ext
9035 LIBS=$ac_check_lib_save_LIBS
9036 fi
9037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
9038 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
9039 if test $ac_cv_lib_m_atan2l = yes; then
9040
9041 cat >>confdefs.h <<\_ACEOF
9042 #define HAVE_ATAN2L 1
9043 _ACEOF
9044
9045 fi
9046
9047 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
9048 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
9049 if test "${ac_cv_lib_m_atanf+set}" = set; then
9050   echo $ECHO_N "(cached) $ECHO_C" >&6
9051 else
9052   ac_check_lib_save_LIBS=$LIBS
9053 LIBS="-lm  $LIBS"
9054 if test x$gcc_no_link = xyes; then
9055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9057    { (exit 1); exit 1; }; }
9058 fi
9059 cat >conftest.$ac_ext <<_ACEOF
9060 /* confdefs.h.  */
9061 _ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h.  */
9065
9066 /* Override any gcc2 internal prototype to avoid an error.  */
9067 #ifdef __cplusplus
9068 extern "C"
9069 #endif
9070 /* We use char because int might match the return type of a gcc2
9071    builtin and then its argument prototype would still apply.  */
9072 char atanf ();
9073 int
9074 main ()
9075 {
9076 atanf ();
9077   ;
9078   return 0;
9079 }
9080 _ACEOF
9081 rm -f conftest.$ac_objext conftest$ac_exeext
9082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9083   (eval $ac_link) 2>conftest.er1
9084   ac_status=$?
9085   grep -v '^ *+' conftest.er1 >conftest.err
9086   rm -f conftest.er1
9087   cat conftest.err >&5
9088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089   (exit $ac_status); } &&
9090          { ac_try='test -z "$ac_c_werror_flag"
9091                          || test ! -s conftest.err'
9092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093   (eval $ac_try) 2>&5
9094   ac_status=$?
9095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096   (exit $ac_status); }; } &&
9097          { ac_try='test -s conftest$ac_exeext'
9098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099   (eval $ac_try) 2>&5
9100   ac_status=$?
9101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102   (exit $ac_status); }; }; then
9103   ac_cv_lib_m_atanf=yes
9104 else
9105   echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.$ac_ext >&5
9107
9108 ac_cv_lib_m_atanf=no
9109 fi
9110 rm -f conftest.err conftest.$ac_objext \
9111       conftest$ac_exeext conftest.$ac_ext
9112 LIBS=$ac_check_lib_save_LIBS
9113 fi
9114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
9115 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
9116 if test $ac_cv_lib_m_atanf = yes; then
9117
9118 cat >>confdefs.h <<\_ACEOF
9119 #define HAVE_ATANF 1
9120 _ACEOF
9121
9122 fi
9123
9124 echo "$as_me:$LINENO: checking for atan in -lm" >&5
9125 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
9126 if test "${ac_cv_lib_m_atan+set}" = set; then
9127   echo $ECHO_N "(cached) $ECHO_C" >&6
9128 else
9129   ac_check_lib_save_LIBS=$LIBS
9130 LIBS="-lm  $LIBS"
9131 if test x$gcc_no_link = xyes; then
9132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9134    { (exit 1); exit 1; }; }
9135 fi
9136 cat >conftest.$ac_ext <<_ACEOF
9137 /* confdefs.h.  */
9138 _ACEOF
9139 cat confdefs.h >>conftest.$ac_ext
9140 cat >>conftest.$ac_ext <<_ACEOF
9141 /* end confdefs.h.  */
9142
9143 /* Override any gcc2 internal prototype to avoid an error.  */
9144 #ifdef __cplusplus
9145 extern "C"
9146 #endif
9147 /* We use char because int might match the return type of a gcc2
9148    builtin and then its argument prototype would still apply.  */
9149 char atan ();
9150 int
9151 main ()
9152 {
9153 atan ();
9154   ;
9155   return 0;
9156 }
9157 _ACEOF
9158 rm -f conftest.$ac_objext conftest$ac_exeext
9159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9160   (eval $ac_link) 2>conftest.er1
9161   ac_status=$?
9162   grep -v '^ *+' conftest.er1 >conftest.err
9163   rm -f conftest.er1
9164   cat conftest.err >&5
9165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166   (exit $ac_status); } &&
9167          { ac_try='test -z "$ac_c_werror_flag"
9168                          || test ! -s conftest.err'
9169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170   (eval $ac_try) 2>&5
9171   ac_status=$?
9172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173   (exit $ac_status); }; } &&
9174          { ac_try='test -s conftest$ac_exeext'
9175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9176   (eval $ac_try) 2>&5
9177   ac_status=$?
9178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179   (exit $ac_status); }; }; then
9180   ac_cv_lib_m_atan=yes
9181 else
9182   echo "$as_me: failed program was:" >&5
9183 sed 's/^/| /' conftest.$ac_ext >&5
9184
9185 ac_cv_lib_m_atan=no
9186 fi
9187 rm -f conftest.err conftest.$ac_objext \
9188       conftest$ac_exeext conftest.$ac_ext
9189 LIBS=$ac_check_lib_save_LIBS
9190 fi
9191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9192 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9193 if test $ac_cv_lib_m_atan = yes; then
9194
9195 cat >>confdefs.h <<\_ACEOF
9196 #define HAVE_ATAN 1
9197 _ACEOF
9198
9199 fi
9200
9201 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9202 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9203 if test "${ac_cv_lib_m_atanl+set}" = set; then
9204   echo $ECHO_N "(cached) $ECHO_C" >&6
9205 else
9206   ac_check_lib_save_LIBS=$LIBS
9207 LIBS="-lm  $LIBS"
9208 if test x$gcc_no_link = xyes; then
9209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9211    { (exit 1); exit 1; }; }
9212 fi
9213 cat >conftest.$ac_ext <<_ACEOF
9214 /* confdefs.h.  */
9215 _ACEOF
9216 cat confdefs.h >>conftest.$ac_ext
9217 cat >>conftest.$ac_ext <<_ACEOF
9218 /* end confdefs.h.  */
9219
9220 /* Override any gcc2 internal prototype to avoid an error.  */
9221 #ifdef __cplusplus
9222 extern "C"
9223 #endif
9224 /* We use char because int might match the return type of a gcc2
9225    builtin and then its argument prototype would still apply.  */
9226 char atanl ();
9227 int
9228 main ()
9229 {
9230 atanl ();
9231   ;
9232   return 0;
9233 }
9234 _ACEOF
9235 rm -f conftest.$ac_objext conftest$ac_exeext
9236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9237   (eval $ac_link) 2>conftest.er1
9238   ac_status=$?
9239   grep -v '^ *+' conftest.er1 >conftest.err
9240   rm -f conftest.er1
9241   cat conftest.err >&5
9242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243   (exit $ac_status); } &&
9244          { ac_try='test -z "$ac_c_werror_flag"
9245                          || test ! -s conftest.err'
9246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247   (eval $ac_try) 2>&5
9248   ac_status=$?
9249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250   (exit $ac_status); }; } &&
9251          { ac_try='test -s conftest$ac_exeext'
9252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253   (eval $ac_try) 2>&5
9254   ac_status=$?
9255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256   (exit $ac_status); }; }; then
9257   ac_cv_lib_m_atanl=yes
9258 else
9259   echo "$as_me: failed program was:" >&5
9260 sed 's/^/| /' conftest.$ac_ext >&5
9261
9262 ac_cv_lib_m_atanl=no
9263 fi
9264 rm -f conftest.err conftest.$ac_objext \
9265       conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9267 fi
9268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9269 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9270 if test $ac_cv_lib_m_atanl = yes; then
9271
9272 cat >>confdefs.h <<\_ACEOF
9273 #define HAVE_ATANL 1
9274 _ACEOF
9275
9276 fi
9277
9278 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9279 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9280 if test "${ac_cv_lib_m_atanhf+set}" = set; then
9281   echo $ECHO_N "(cached) $ECHO_C" >&6
9282 else
9283   ac_check_lib_save_LIBS=$LIBS
9284 LIBS="-lm  $LIBS"
9285 if test x$gcc_no_link = xyes; then
9286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9288    { (exit 1); exit 1; }; }
9289 fi
9290 cat >conftest.$ac_ext <<_ACEOF
9291 /* confdefs.h.  */
9292 _ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h.  */
9296
9297 /* Override any gcc2 internal prototype to avoid an error.  */
9298 #ifdef __cplusplus
9299 extern "C"
9300 #endif
9301 /* We use char because int might match the return type of a gcc2
9302    builtin and then its argument prototype would still apply.  */
9303 char atanhf ();
9304 int
9305 main ()
9306 {
9307 atanhf ();
9308   ;
9309   return 0;
9310 }
9311 _ACEOF
9312 rm -f conftest.$ac_objext conftest$ac_exeext
9313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9314   (eval $ac_link) 2>conftest.er1
9315   ac_status=$?
9316   grep -v '^ *+' conftest.er1 >conftest.err
9317   rm -f conftest.er1
9318   cat conftest.err >&5
9319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320   (exit $ac_status); } &&
9321          { ac_try='test -z "$ac_c_werror_flag"
9322                          || test ! -s conftest.err'
9323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324   (eval $ac_try) 2>&5
9325   ac_status=$?
9326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327   (exit $ac_status); }; } &&
9328          { ac_try='test -s conftest$ac_exeext'
9329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9330   (eval $ac_try) 2>&5
9331   ac_status=$?
9332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333   (exit $ac_status); }; }; then
9334   ac_cv_lib_m_atanhf=yes
9335 else
9336   echo "$as_me: failed program was:" >&5
9337 sed 's/^/| /' conftest.$ac_ext >&5
9338
9339 ac_cv_lib_m_atanhf=no
9340 fi
9341 rm -f conftest.err conftest.$ac_objext \
9342       conftest$ac_exeext conftest.$ac_ext
9343 LIBS=$ac_check_lib_save_LIBS
9344 fi
9345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9346 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9347 if test $ac_cv_lib_m_atanhf = yes; then
9348
9349 cat >>confdefs.h <<\_ACEOF
9350 #define HAVE_ATANHF 1
9351 _ACEOF
9352
9353 fi
9354
9355 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9356 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9357 if test "${ac_cv_lib_m_atanh+set}" = set; then
9358   echo $ECHO_N "(cached) $ECHO_C" >&6
9359 else
9360   ac_check_lib_save_LIBS=$LIBS
9361 LIBS="-lm  $LIBS"
9362 if test x$gcc_no_link = xyes; then
9363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9365    { (exit 1); exit 1; }; }
9366 fi
9367 cat >conftest.$ac_ext <<_ACEOF
9368 /* confdefs.h.  */
9369 _ACEOF
9370 cat confdefs.h >>conftest.$ac_ext
9371 cat >>conftest.$ac_ext <<_ACEOF
9372 /* end confdefs.h.  */
9373
9374 /* Override any gcc2 internal prototype to avoid an error.  */
9375 #ifdef __cplusplus
9376 extern "C"
9377 #endif
9378 /* We use char because int might match the return type of a gcc2
9379    builtin and then its argument prototype would still apply.  */
9380 char atanh ();
9381 int
9382 main ()
9383 {
9384 atanh ();
9385   ;
9386   return 0;
9387 }
9388 _ACEOF
9389 rm -f conftest.$ac_objext conftest$ac_exeext
9390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9391   (eval $ac_link) 2>conftest.er1
9392   ac_status=$?
9393   grep -v '^ *+' conftest.er1 >conftest.err
9394   rm -f conftest.er1
9395   cat conftest.err >&5
9396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397   (exit $ac_status); } &&
9398          { ac_try='test -z "$ac_c_werror_flag"
9399                          || test ! -s conftest.err'
9400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401   (eval $ac_try) 2>&5
9402   ac_status=$?
9403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404   (exit $ac_status); }; } &&
9405          { ac_try='test -s conftest$ac_exeext'
9406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9407   (eval $ac_try) 2>&5
9408   ac_status=$?
9409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410   (exit $ac_status); }; }; then
9411   ac_cv_lib_m_atanh=yes
9412 else
9413   echo "$as_me: failed program was:" >&5
9414 sed 's/^/| /' conftest.$ac_ext >&5
9415
9416 ac_cv_lib_m_atanh=no
9417 fi
9418 rm -f conftest.err conftest.$ac_objext \
9419       conftest$ac_exeext conftest.$ac_ext
9420 LIBS=$ac_check_lib_save_LIBS
9421 fi
9422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9423 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9424 if test $ac_cv_lib_m_atanh = yes; then
9425
9426 cat >>confdefs.h <<\_ACEOF
9427 #define HAVE_ATANH 1
9428 _ACEOF
9429
9430 fi
9431
9432 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9433 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9434 if test "${ac_cv_lib_m_atanhl+set}" = set; then
9435   echo $ECHO_N "(cached) $ECHO_C" >&6
9436 else
9437   ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lm  $LIBS"
9439 if test x$gcc_no_link = xyes; then
9440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9442    { (exit 1); exit 1; }; }
9443 fi
9444 cat >conftest.$ac_ext <<_ACEOF
9445 /* confdefs.h.  */
9446 _ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h.  */
9450
9451 /* Override any gcc2 internal prototype to avoid an error.  */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 /* We use char because int might match the return type of a gcc2
9456    builtin and then its argument prototype would still apply.  */
9457 char atanhl ();
9458 int
9459 main ()
9460 {
9461 atanhl ();
9462   ;
9463   return 0;
9464 }
9465 _ACEOF
9466 rm -f conftest.$ac_objext conftest$ac_exeext
9467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9468   (eval $ac_link) 2>conftest.er1
9469   ac_status=$?
9470   grep -v '^ *+' conftest.er1 >conftest.err
9471   rm -f conftest.er1
9472   cat conftest.err >&5
9473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474   (exit $ac_status); } &&
9475          { ac_try='test -z "$ac_c_werror_flag"
9476                          || test ! -s conftest.err'
9477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478   (eval $ac_try) 2>&5
9479   ac_status=$?
9480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481   (exit $ac_status); }; } &&
9482          { ac_try='test -s conftest$ac_exeext'
9483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9484   (eval $ac_try) 2>&5
9485   ac_status=$?
9486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487   (exit $ac_status); }; }; then
9488   ac_cv_lib_m_atanhl=yes
9489 else
9490   echo "$as_me: failed program was:" >&5
9491 sed 's/^/| /' conftest.$ac_ext >&5
9492
9493 ac_cv_lib_m_atanhl=no
9494 fi
9495 rm -f conftest.err conftest.$ac_objext \
9496       conftest$ac_exeext conftest.$ac_ext
9497 LIBS=$ac_check_lib_save_LIBS
9498 fi
9499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9500 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9501 if test $ac_cv_lib_m_atanhl = yes; then
9502
9503 cat >>confdefs.h <<\_ACEOF
9504 #define HAVE_ATANHL 1
9505 _ACEOF
9506
9507 fi
9508
9509 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9510 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9511 if test "${ac_cv_lib_m_cargf+set}" = set; then
9512   echo $ECHO_N "(cached) $ECHO_C" >&6
9513 else
9514   ac_check_lib_save_LIBS=$LIBS
9515 LIBS="-lm  $LIBS"
9516 if test x$gcc_no_link = xyes; then
9517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9519    { (exit 1); exit 1; }; }
9520 fi
9521 cat >conftest.$ac_ext <<_ACEOF
9522 /* confdefs.h.  */
9523 _ACEOF
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h.  */
9527
9528 /* Override any gcc2 internal prototype to avoid an error.  */
9529 #ifdef __cplusplus
9530 extern "C"
9531 #endif
9532 /* We use char because int might match the return type of a gcc2
9533    builtin and then its argument prototype would still apply.  */
9534 char cargf ();
9535 int
9536 main ()
9537 {
9538 cargf ();
9539   ;
9540   return 0;
9541 }
9542 _ACEOF
9543 rm -f conftest.$ac_objext conftest$ac_exeext
9544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545   (eval $ac_link) 2>conftest.er1
9546   ac_status=$?
9547   grep -v '^ *+' conftest.er1 >conftest.err
9548   rm -f conftest.er1
9549   cat conftest.err >&5
9550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551   (exit $ac_status); } &&
9552          { ac_try='test -z "$ac_c_werror_flag"
9553                          || test ! -s conftest.err'
9554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9555   (eval $ac_try) 2>&5
9556   ac_status=$?
9557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558   (exit $ac_status); }; } &&
9559          { ac_try='test -s conftest$ac_exeext'
9560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9561   (eval $ac_try) 2>&5
9562   ac_status=$?
9563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564   (exit $ac_status); }; }; then
9565   ac_cv_lib_m_cargf=yes
9566 else
9567   echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.$ac_ext >&5
9569
9570 ac_cv_lib_m_cargf=no
9571 fi
9572 rm -f conftest.err conftest.$ac_objext \
9573       conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_lib_save_LIBS
9575 fi
9576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9577 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9578 if test $ac_cv_lib_m_cargf = yes; then
9579
9580 cat >>confdefs.h <<\_ACEOF
9581 #define HAVE_CARGF 1
9582 _ACEOF
9583
9584 fi
9585
9586 echo "$as_me:$LINENO: checking for carg in -lm" >&5
9587 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9588 if test "${ac_cv_lib_m_carg+set}" = set; then
9589   echo $ECHO_N "(cached) $ECHO_C" >&6
9590 else
9591   ac_check_lib_save_LIBS=$LIBS
9592 LIBS="-lm  $LIBS"
9593 if test x$gcc_no_link = xyes; then
9594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9596    { (exit 1); exit 1; }; }
9597 fi
9598 cat >conftest.$ac_ext <<_ACEOF
9599 /* confdefs.h.  */
9600 _ACEOF
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h.  */
9604
9605 /* Override any gcc2 internal prototype to avoid an error.  */
9606 #ifdef __cplusplus
9607 extern "C"
9608 #endif
9609 /* We use char because int might match the return type of a gcc2
9610    builtin and then its argument prototype would still apply.  */
9611 char carg ();
9612 int
9613 main ()
9614 {
9615 carg ();
9616   ;
9617   return 0;
9618 }
9619 _ACEOF
9620 rm -f conftest.$ac_objext conftest$ac_exeext
9621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9622   (eval $ac_link) 2>conftest.er1
9623   ac_status=$?
9624   grep -v '^ *+' conftest.er1 >conftest.err
9625   rm -f conftest.er1
9626   cat conftest.err >&5
9627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628   (exit $ac_status); } &&
9629          { ac_try='test -z "$ac_c_werror_flag"
9630                          || test ! -s conftest.err'
9631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9632   (eval $ac_try) 2>&5
9633   ac_status=$?
9634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635   (exit $ac_status); }; } &&
9636          { ac_try='test -s conftest$ac_exeext'
9637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9638   (eval $ac_try) 2>&5
9639   ac_status=$?
9640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641   (exit $ac_status); }; }; then
9642   ac_cv_lib_m_carg=yes
9643 else
9644   echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.$ac_ext >&5
9646
9647 ac_cv_lib_m_carg=no
9648 fi
9649 rm -f conftest.err conftest.$ac_objext \
9650       conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_lib_save_LIBS
9652 fi
9653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9654 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9655 if test $ac_cv_lib_m_carg = yes; then
9656
9657 cat >>confdefs.h <<\_ACEOF
9658 #define HAVE_CARG 1
9659 _ACEOF
9660
9661 fi
9662
9663 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9664 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9665 if test "${ac_cv_lib_m_cargl+set}" = set; then
9666   echo $ECHO_N "(cached) $ECHO_C" >&6
9667 else
9668   ac_check_lib_save_LIBS=$LIBS
9669 LIBS="-lm  $LIBS"
9670 if test x$gcc_no_link = xyes; then
9671   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9673    { (exit 1); exit 1; }; }
9674 fi
9675 cat >conftest.$ac_ext <<_ACEOF
9676 /* confdefs.h.  */
9677 _ACEOF
9678 cat confdefs.h >>conftest.$ac_ext
9679 cat >>conftest.$ac_ext <<_ACEOF
9680 /* end confdefs.h.  */
9681
9682 /* Override any gcc2 internal prototype to avoid an error.  */
9683 #ifdef __cplusplus
9684 extern "C"
9685 #endif
9686 /* We use char because int might match the return type of a gcc2
9687    builtin and then its argument prototype would still apply.  */
9688 char cargl ();
9689 int
9690 main ()
9691 {
9692 cargl ();
9693   ;
9694   return 0;
9695 }
9696 _ACEOF
9697 rm -f conftest.$ac_objext conftest$ac_exeext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9699   (eval $ac_link) 2>conftest.er1
9700   ac_status=$?
9701   grep -v '^ *+' conftest.er1 >conftest.err
9702   rm -f conftest.er1
9703   cat conftest.err >&5
9704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705   (exit $ac_status); } &&
9706          { ac_try='test -z "$ac_c_werror_flag"
9707                          || test ! -s conftest.err'
9708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709   (eval $ac_try) 2>&5
9710   ac_status=$?
9711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712   (exit $ac_status); }; } &&
9713          { ac_try='test -s conftest$ac_exeext'
9714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715   (eval $ac_try) 2>&5
9716   ac_status=$?
9717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718   (exit $ac_status); }; }; then
9719   ac_cv_lib_m_cargl=yes
9720 else
9721   echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.$ac_ext >&5
9723
9724 ac_cv_lib_m_cargl=no
9725 fi
9726 rm -f conftest.err conftest.$ac_objext \
9727       conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS
9729 fi
9730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9731 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9732 if test $ac_cv_lib_m_cargl = yes; then
9733
9734 cat >>confdefs.h <<\_ACEOF
9735 #define HAVE_CARGL 1
9736 _ACEOF
9737
9738 fi
9739
9740 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9741 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9742 if test "${ac_cv_lib_m_ceilf+set}" = set; then
9743   echo $ECHO_N "(cached) $ECHO_C" >&6
9744 else
9745   ac_check_lib_save_LIBS=$LIBS
9746 LIBS="-lm  $LIBS"
9747 if test x$gcc_no_link = xyes; then
9748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9750    { (exit 1); exit 1; }; }
9751 fi
9752 cat >conftest.$ac_ext <<_ACEOF
9753 /* confdefs.h.  */
9754 _ACEOF
9755 cat confdefs.h >>conftest.$ac_ext
9756 cat >>conftest.$ac_ext <<_ACEOF
9757 /* end confdefs.h.  */
9758
9759 /* Override any gcc2 internal prototype to avoid an error.  */
9760 #ifdef __cplusplus
9761 extern "C"
9762 #endif
9763 /* We use char because int might match the return type of a gcc2
9764    builtin and then its argument prototype would still apply.  */
9765 char ceilf ();
9766 int
9767 main ()
9768 {
9769 ceilf ();
9770   ;
9771   return 0;
9772 }
9773 _ACEOF
9774 rm -f conftest.$ac_objext conftest$ac_exeext
9775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9776   (eval $ac_link) 2>conftest.er1
9777   ac_status=$?
9778   grep -v '^ *+' conftest.er1 >conftest.err
9779   rm -f conftest.er1
9780   cat conftest.err >&5
9781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782   (exit $ac_status); } &&
9783          { ac_try='test -z "$ac_c_werror_flag"
9784                          || test ! -s conftest.err'
9785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786   (eval $ac_try) 2>&5
9787   ac_status=$?
9788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789   (exit $ac_status); }; } &&
9790          { ac_try='test -s conftest$ac_exeext'
9791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792   (eval $ac_try) 2>&5
9793   ac_status=$?
9794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795   (exit $ac_status); }; }; then
9796   ac_cv_lib_m_ceilf=yes
9797 else
9798   echo "$as_me: failed program was:" >&5
9799 sed 's/^/| /' conftest.$ac_ext >&5
9800
9801 ac_cv_lib_m_ceilf=no
9802 fi
9803 rm -f conftest.err conftest.$ac_objext \
9804       conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_lib_save_LIBS
9806 fi
9807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9808 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9809 if test $ac_cv_lib_m_ceilf = yes; then
9810
9811 cat >>confdefs.h <<\_ACEOF
9812 #define HAVE_CEILF 1
9813 _ACEOF
9814
9815 fi
9816
9817 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9818 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9819 if test "${ac_cv_lib_m_ceil+set}" = set; then
9820   echo $ECHO_N "(cached) $ECHO_C" >&6
9821 else
9822   ac_check_lib_save_LIBS=$LIBS
9823 LIBS="-lm  $LIBS"
9824 if test x$gcc_no_link = xyes; then
9825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9827    { (exit 1); exit 1; }; }
9828 fi
9829 cat >conftest.$ac_ext <<_ACEOF
9830 /* confdefs.h.  */
9831 _ACEOF
9832 cat confdefs.h >>conftest.$ac_ext
9833 cat >>conftest.$ac_ext <<_ACEOF
9834 /* end confdefs.h.  */
9835
9836 /* Override any gcc2 internal prototype to avoid an error.  */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 /* We use char because int might match the return type of a gcc2
9841    builtin and then its argument prototype would still apply.  */
9842 char ceil ();
9843 int
9844 main ()
9845 {
9846 ceil ();
9847   ;
9848   return 0;
9849 }
9850 _ACEOF
9851 rm -f conftest.$ac_objext conftest$ac_exeext
9852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9853   (eval $ac_link) 2>conftest.er1
9854   ac_status=$?
9855   grep -v '^ *+' conftest.er1 >conftest.err
9856   rm -f conftest.er1
9857   cat conftest.err >&5
9858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859   (exit $ac_status); } &&
9860          { ac_try='test -z "$ac_c_werror_flag"
9861                          || test ! -s conftest.err'
9862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9863   (eval $ac_try) 2>&5
9864   ac_status=$?
9865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866   (exit $ac_status); }; } &&
9867          { ac_try='test -s conftest$ac_exeext'
9868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9869   (eval $ac_try) 2>&5
9870   ac_status=$?
9871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872   (exit $ac_status); }; }; then
9873   ac_cv_lib_m_ceil=yes
9874 else
9875   echo "$as_me: failed program was:" >&5
9876 sed 's/^/| /' conftest.$ac_ext >&5
9877
9878 ac_cv_lib_m_ceil=no
9879 fi
9880 rm -f conftest.err conftest.$ac_objext \
9881       conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9883 fi
9884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9885 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9886 if test $ac_cv_lib_m_ceil = yes; then
9887
9888 cat >>confdefs.h <<\_ACEOF
9889 #define HAVE_CEIL 1
9890 _ACEOF
9891
9892 fi
9893
9894 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9895 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9896 if test "${ac_cv_lib_m_ceill+set}" = set; then
9897   echo $ECHO_N "(cached) $ECHO_C" >&6
9898 else
9899   ac_check_lib_save_LIBS=$LIBS
9900 LIBS="-lm  $LIBS"
9901 if test x$gcc_no_link = xyes; then
9902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9904    { (exit 1); exit 1; }; }
9905 fi
9906 cat >conftest.$ac_ext <<_ACEOF
9907 /* confdefs.h.  */
9908 _ACEOF
9909 cat confdefs.h >>conftest.$ac_ext
9910 cat >>conftest.$ac_ext <<_ACEOF
9911 /* end confdefs.h.  */
9912
9913 /* Override any gcc2 internal prototype to avoid an error.  */
9914 #ifdef __cplusplus
9915 extern "C"
9916 #endif
9917 /* We use char because int might match the return type of a gcc2
9918    builtin and then its argument prototype would still apply.  */
9919 char ceill ();
9920 int
9921 main ()
9922 {
9923 ceill ();
9924   ;
9925   return 0;
9926 }
9927 _ACEOF
9928 rm -f conftest.$ac_objext conftest$ac_exeext
9929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9930   (eval $ac_link) 2>conftest.er1
9931   ac_status=$?
9932   grep -v '^ *+' conftest.er1 >conftest.err
9933   rm -f conftest.er1
9934   cat conftest.err >&5
9935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936   (exit $ac_status); } &&
9937          { ac_try='test -z "$ac_c_werror_flag"
9938                          || test ! -s conftest.err'
9939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9940   (eval $ac_try) 2>&5
9941   ac_status=$?
9942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943   (exit $ac_status); }; } &&
9944          { ac_try='test -s conftest$ac_exeext'
9945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9946   (eval $ac_try) 2>&5
9947   ac_status=$?
9948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949   (exit $ac_status); }; }; then
9950   ac_cv_lib_m_ceill=yes
9951 else
9952   echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.$ac_ext >&5
9954
9955 ac_cv_lib_m_ceill=no
9956 fi
9957 rm -f conftest.err conftest.$ac_objext \
9958       conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_lib_save_LIBS
9960 fi
9961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9962 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9963 if test $ac_cv_lib_m_ceill = yes; then
9964
9965 cat >>confdefs.h <<\_ACEOF
9966 #define HAVE_CEILL 1
9967 _ACEOF
9968
9969 fi
9970
9971 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9972 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9973 if test "${ac_cv_lib_m_copysignf+set}" = set; then
9974   echo $ECHO_N "(cached) $ECHO_C" >&6
9975 else
9976   ac_check_lib_save_LIBS=$LIBS
9977 LIBS="-lm  $LIBS"
9978 if test x$gcc_no_link = xyes; then
9979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9981    { (exit 1); exit 1; }; }
9982 fi
9983 cat >conftest.$ac_ext <<_ACEOF
9984 /* confdefs.h.  */
9985 _ACEOF
9986 cat confdefs.h >>conftest.$ac_ext
9987 cat >>conftest.$ac_ext <<_ACEOF
9988 /* end confdefs.h.  */
9989
9990 /* Override any gcc2 internal prototype to avoid an error.  */
9991 #ifdef __cplusplus
9992 extern "C"
9993 #endif
9994 /* We use char because int might match the return type of a gcc2
9995    builtin and then its argument prototype would still apply.  */
9996 char copysignf ();
9997 int
9998 main ()
9999 {
10000 copysignf ();
10001   ;
10002   return 0;
10003 }
10004 _ACEOF
10005 rm -f conftest.$ac_objext conftest$ac_exeext
10006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10007   (eval $ac_link) 2>conftest.er1
10008   ac_status=$?
10009   grep -v '^ *+' conftest.er1 >conftest.err
10010   rm -f conftest.er1
10011   cat conftest.err >&5
10012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013   (exit $ac_status); } &&
10014          { ac_try='test -z "$ac_c_werror_flag"
10015                          || test ! -s conftest.err'
10016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017   (eval $ac_try) 2>&5
10018   ac_status=$?
10019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020   (exit $ac_status); }; } &&
10021          { ac_try='test -s conftest$ac_exeext'
10022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023   (eval $ac_try) 2>&5
10024   ac_status=$?
10025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026   (exit $ac_status); }; }; then
10027   ac_cv_lib_m_copysignf=yes
10028 else
10029   echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10031
10032 ac_cv_lib_m_copysignf=no
10033 fi
10034 rm -f conftest.err conftest.$ac_objext \
10035       conftest$ac_exeext conftest.$ac_ext
10036 LIBS=$ac_check_lib_save_LIBS
10037 fi
10038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
10039 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
10040 if test $ac_cv_lib_m_copysignf = yes; then
10041
10042 cat >>confdefs.h <<\_ACEOF
10043 #define HAVE_COPYSIGNF 1
10044 _ACEOF
10045
10046 fi
10047
10048 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
10049 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
10050 if test "${ac_cv_lib_m_copysign+set}" = set; then
10051   echo $ECHO_N "(cached) $ECHO_C" >&6
10052 else
10053   ac_check_lib_save_LIBS=$LIBS
10054 LIBS="-lm  $LIBS"
10055 if test x$gcc_no_link = xyes; then
10056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10058    { (exit 1); exit 1; }; }
10059 fi
10060 cat >conftest.$ac_ext <<_ACEOF
10061 /* confdefs.h.  */
10062 _ACEOF
10063 cat confdefs.h >>conftest.$ac_ext
10064 cat >>conftest.$ac_ext <<_ACEOF
10065 /* end confdefs.h.  */
10066
10067 /* Override any gcc2 internal prototype to avoid an error.  */
10068 #ifdef __cplusplus
10069 extern "C"
10070 #endif
10071 /* We use char because int might match the return type of a gcc2
10072    builtin and then its argument prototype would still apply.  */
10073 char copysign ();
10074 int
10075 main ()
10076 {
10077 copysign ();
10078   ;
10079   return 0;
10080 }
10081 _ACEOF
10082 rm -f conftest.$ac_objext conftest$ac_exeext
10083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10084   (eval $ac_link) 2>conftest.er1
10085   ac_status=$?
10086   grep -v '^ *+' conftest.er1 >conftest.err
10087   rm -f conftest.er1
10088   cat conftest.err >&5
10089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090   (exit $ac_status); } &&
10091          { ac_try='test -z "$ac_c_werror_flag"
10092                          || test ! -s conftest.err'
10093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094   (eval $ac_try) 2>&5
10095   ac_status=$?
10096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097   (exit $ac_status); }; } &&
10098          { ac_try='test -s conftest$ac_exeext'
10099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100   (eval $ac_try) 2>&5
10101   ac_status=$?
10102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103   (exit $ac_status); }; }; then
10104   ac_cv_lib_m_copysign=yes
10105 else
10106   echo "$as_me: failed program was:" >&5
10107 sed 's/^/| /' conftest.$ac_ext >&5
10108
10109 ac_cv_lib_m_copysign=no
10110 fi
10111 rm -f conftest.err conftest.$ac_objext \
10112       conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_lib_save_LIBS
10114 fi
10115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
10116 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
10117 if test $ac_cv_lib_m_copysign = yes; then
10118
10119 cat >>confdefs.h <<\_ACEOF
10120 #define HAVE_COPYSIGN 1
10121 _ACEOF
10122
10123 fi
10124
10125 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
10126 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
10127 if test "${ac_cv_lib_m_copysignl+set}" = set; then
10128   echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130   ac_check_lib_save_LIBS=$LIBS
10131 LIBS="-lm  $LIBS"
10132 if test x$gcc_no_link = xyes; then
10133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10135    { (exit 1); exit 1; }; }
10136 fi
10137 cat >conftest.$ac_ext <<_ACEOF
10138 /* confdefs.h.  */
10139 _ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h.  */
10143
10144 /* Override any gcc2 internal prototype to avoid an error.  */
10145 #ifdef __cplusplus
10146 extern "C"
10147 #endif
10148 /* We use char because int might match the return type of a gcc2
10149    builtin and then its argument prototype would still apply.  */
10150 char copysignl ();
10151 int
10152 main ()
10153 {
10154 copysignl ();
10155   ;
10156   return 0;
10157 }
10158 _ACEOF
10159 rm -f conftest.$ac_objext conftest$ac_exeext
10160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10161   (eval $ac_link) 2>conftest.er1
10162   ac_status=$?
10163   grep -v '^ *+' conftest.er1 >conftest.err
10164   rm -f conftest.er1
10165   cat conftest.err >&5
10166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167   (exit $ac_status); } &&
10168          { ac_try='test -z "$ac_c_werror_flag"
10169                          || test ! -s conftest.err'
10170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10171   (eval $ac_try) 2>&5
10172   ac_status=$?
10173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174   (exit $ac_status); }; } &&
10175          { ac_try='test -s conftest$ac_exeext'
10176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10177   (eval $ac_try) 2>&5
10178   ac_status=$?
10179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180   (exit $ac_status); }; }; then
10181   ac_cv_lib_m_copysignl=yes
10182 else
10183   echo "$as_me: failed program was:" >&5
10184 sed 's/^/| /' conftest.$ac_ext >&5
10185
10186 ac_cv_lib_m_copysignl=no
10187 fi
10188 rm -f conftest.err conftest.$ac_objext \
10189       conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10191 fi
10192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10193 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10194 if test $ac_cv_lib_m_copysignl = yes; then
10195
10196 cat >>confdefs.h <<\_ACEOF
10197 #define HAVE_COPYSIGNL 1
10198 _ACEOF
10199
10200 fi
10201
10202 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10203 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10204 if test "${ac_cv_lib_m_cosf+set}" = set; then
10205   echo $ECHO_N "(cached) $ECHO_C" >&6
10206 else
10207   ac_check_lib_save_LIBS=$LIBS
10208 LIBS="-lm  $LIBS"
10209 if test x$gcc_no_link = xyes; then
10210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10212    { (exit 1); exit 1; }; }
10213 fi
10214 cat >conftest.$ac_ext <<_ACEOF
10215 /* confdefs.h.  */
10216 _ACEOF
10217 cat confdefs.h >>conftest.$ac_ext
10218 cat >>conftest.$ac_ext <<_ACEOF
10219 /* end confdefs.h.  */
10220
10221 /* Override any gcc2 internal prototype to avoid an error.  */
10222 #ifdef __cplusplus
10223 extern "C"
10224 #endif
10225 /* We use char because int might match the return type of a gcc2
10226    builtin and then its argument prototype would still apply.  */
10227 char cosf ();
10228 int
10229 main ()
10230 {
10231 cosf ();
10232   ;
10233   return 0;
10234 }
10235 _ACEOF
10236 rm -f conftest.$ac_objext conftest$ac_exeext
10237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10238   (eval $ac_link) 2>conftest.er1
10239   ac_status=$?
10240   grep -v '^ *+' conftest.er1 >conftest.err
10241   rm -f conftest.er1
10242   cat conftest.err >&5
10243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244   (exit $ac_status); } &&
10245          { ac_try='test -z "$ac_c_werror_flag"
10246                          || test ! -s conftest.err'
10247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248   (eval $ac_try) 2>&5
10249   ac_status=$?
10250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251   (exit $ac_status); }; } &&
10252          { ac_try='test -s conftest$ac_exeext'
10253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254   (eval $ac_try) 2>&5
10255   ac_status=$?
10256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257   (exit $ac_status); }; }; then
10258   ac_cv_lib_m_cosf=yes
10259 else
10260   echo "$as_me: failed program was:" >&5
10261 sed 's/^/| /' conftest.$ac_ext >&5
10262
10263 ac_cv_lib_m_cosf=no
10264 fi
10265 rm -f conftest.err conftest.$ac_objext \
10266       conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_lib_save_LIBS
10268 fi
10269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10270 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10271 if test $ac_cv_lib_m_cosf = yes; then
10272
10273 cat >>confdefs.h <<\_ACEOF
10274 #define HAVE_COSF 1
10275 _ACEOF
10276
10277 fi
10278
10279 echo "$as_me:$LINENO: checking for cos in -lm" >&5
10280 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10281 if test "${ac_cv_lib_m_cos+set}" = set; then
10282   echo $ECHO_N "(cached) $ECHO_C" >&6
10283 else
10284   ac_check_lib_save_LIBS=$LIBS
10285 LIBS="-lm  $LIBS"
10286 if test x$gcc_no_link = xyes; then
10287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10289    { (exit 1); exit 1; }; }
10290 fi
10291 cat >conftest.$ac_ext <<_ACEOF
10292 /* confdefs.h.  */
10293 _ACEOF
10294 cat confdefs.h >>conftest.$ac_ext
10295 cat >>conftest.$ac_ext <<_ACEOF
10296 /* end confdefs.h.  */
10297
10298 /* Override any gcc2 internal prototype to avoid an error.  */
10299 #ifdef __cplusplus
10300 extern "C"
10301 #endif
10302 /* We use char because int might match the return type of a gcc2
10303    builtin and then its argument prototype would still apply.  */
10304 char cos ();
10305 int
10306 main ()
10307 {
10308 cos ();
10309   ;
10310   return 0;
10311 }
10312 _ACEOF
10313 rm -f conftest.$ac_objext conftest$ac_exeext
10314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10315   (eval $ac_link) 2>conftest.er1
10316   ac_status=$?
10317   grep -v '^ *+' conftest.er1 >conftest.err
10318   rm -f conftest.er1
10319   cat conftest.err >&5
10320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321   (exit $ac_status); } &&
10322          { ac_try='test -z "$ac_c_werror_flag"
10323                          || test ! -s conftest.err'
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); }; } &&
10329          { ac_try='test -s conftest$ac_exeext'
10330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331   (eval $ac_try) 2>&5
10332   ac_status=$?
10333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334   (exit $ac_status); }; }; then
10335   ac_cv_lib_m_cos=yes
10336 else
10337   echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10339
10340 ac_cv_lib_m_cos=no
10341 fi
10342 rm -f conftest.err conftest.$ac_objext \
10343       conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_lib_save_LIBS
10345 fi
10346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10347 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10348 if test $ac_cv_lib_m_cos = yes; then
10349
10350 cat >>confdefs.h <<\_ACEOF
10351 #define HAVE_COS 1
10352 _ACEOF
10353
10354 fi
10355
10356 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10357 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10358 if test "${ac_cv_lib_m_cosl+set}" = set; then
10359   echo $ECHO_N "(cached) $ECHO_C" >&6
10360 else
10361   ac_check_lib_save_LIBS=$LIBS
10362 LIBS="-lm  $LIBS"
10363 if test x$gcc_no_link = xyes; then
10364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10366    { (exit 1); exit 1; }; }
10367 fi
10368 cat >conftest.$ac_ext <<_ACEOF
10369 /* confdefs.h.  */
10370 _ACEOF
10371 cat confdefs.h >>conftest.$ac_ext
10372 cat >>conftest.$ac_ext <<_ACEOF
10373 /* end confdefs.h.  */
10374
10375 /* Override any gcc2 internal prototype to avoid an error.  */
10376 #ifdef __cplusplus
10377 extern "C"
10378 #endif
10379 /* We use char because int might match the return type of a gcc2
10380    builtin and then its argument prototype would still apply.  */
10381 char cosl ();
10382 int
10383 main ()
10384 {
10385 cosl ();
10386   ;
10387   return 0;
10388 }
10389 _ACEOF
10390 rm -f conftest.$ac_objext conftest$ac_exeext
10391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10392   (eval $ac_link) 2>conftest.er1
10393   ac_status=$?
10394   grep -v '^ *+' conftest.er1 >conftest.err
10395   rm -f conftest.er1
10396   cat conftest.err >&5
10397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398   (exit $ac_status); } &&
10399          { ac_try='test -z "$ac_c_werror_flag"
10400                          || test ! -s conftest.err'
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); }; } &&
10406          { ac_try='test -s conftest$ac_exeext'
10407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10408   (eval $ac_try) 2>&5
10409   ac_status=$?
10410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411   (exit $ac_status); }; }; then
10412   ac_cv_lib_m_cosl=yes
10413 else
10414   echo "$as_me: failed program was:" >&5
10415 sed 's/^/| /' conftest.$ac_ext >&5
10416
10417 ac_cv_lib_m_cosl=no
10418 fi
10419 rm -f conftest.err conftest.$ac_objext \
10420       conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_lib_save_LIBS
10422 fi
10423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10424 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10425 if test $ac_cv_lib_m_cosl = yes; then
10426
10427 cat >>confdefs.h <<\_ACEOF
10428 #define HAVE_COSL 1
10429 _ACEOF
10430
10431 fi
10432
10433 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10434 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10435 if test "${ac_cv_lib_m_ccosf+set}" = set; then
10436   echo $ECHO_N "(cached) $ECHO_C" >&6
10437 else
10438   ac_check_lib_save_LIBS=$LIBS
10439 LIBS="-lm  $LIBS"
10440 if test x$gcc_no_link = xyes; then
10441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10443    { (exit 1); exit 1; }; }
10444 fi
10445 cat >conftest.$ac_ext <<_ACEOF
10446 /* confdefs.h.  */
10447 _ACEOF
10448 cat confdefs.h >>conftest.$ac_ext
10449 cat >>conftest.$ac_ext <<_ACEOF
10450 /* end confdefs.h.  */
10451
10452 /* Override any gcc2 internal prototype to avoid an error.  */
10453 #ifdef __cplusplus
10454 extern "C"
10455 #endif
10456 /* We use char because int might match the return type of a gcc2
10457    builtin and then its argument prototype would still apply.  */
10458 char ccosf ();
10459 int
10460 main ()
10461 {
10462 ccosf ();
10463   ;
10464   return 0;
10465 }
10466 _ACEOF
10467 rm -f conftest.$ac_objext conftest$ac_exeext
10468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10469   (eval $ac_link) 2>conftest.er1
10470   ac_status=$?
10471   grep -v '^ *+' conftest.er1 >conftest.err
10472   rm -f conftest.er1
10473   cat conftest.err >&5
10474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475   (exit $ac_status); } &&
10476          { ac_try='test -z "$ac_c_werror_flag"
10477                          || test ! -s conftest.err'
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); }; } &&
10483          { ac_try='test -s conftest$ac_exeext'
10484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485   (eval $ac_try) 2>&5
10486   ac_status=$?
10487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488   (exit $ac_status); }; }; then
10489   ac_cv_lib_m_ccosf=yes
10490 else
10491   echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10493
10494 ac_cv_lib_m_ccosf=no
10495 fi
10496 rm -f conftest.err conftest.$ac_objext \
10497       conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_lib_save_LIBS
10499 fi
10500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10501 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10502 if test $ac_cv_lib_m_ccosf = yes; then
10503
10504 cat >>confdefs.h <<\_ACEOF
10505 #define HAVE_CCOSF 1
10506 _ACEOF
10507
10508 fi
10509
10510 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10511 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10512 if test "${ac_cv_lib_m_ccos+set}" = set; then
10513   echo $ECHO_N "(cached) $ECHO_C" >&6
10514 else
10515   ac_check_lib_save_LIBS=$LIBS
10516 LIBS="-lm  $LIBS"
10517 if test x$gcc_no_link = xyes; then
10518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10520    { (exit 1); exit 1; }; }
10521 fi
10522 cat >conftest.$ac_ext <<_ACEOF
10523 /* confdefs.h.  */
10524 _ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h.  */
10528
10529 /* Override any gcc2 internal prototype to avoid an error.  */
10530 #ifdef __cplusplus
10531 extern "C"
10532 #endif
10533 /* We use char because int might match the return type of a gcc2
10534    builtin and then its argument prototype would still apply.  */
10535 char ccos ();
10536 int
10537 main ()
10538 {
10539 ccos ();
10540   ;
10541   return 0;
10542 }
10543 _ACEOF
10544 rm -f conftest.$ac_objext conftest$ac_exeext
10545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10546   (eval $ac_link) 2>conftest.er1
10547   ac_status=$?
10548   grep -v '^ *+' conftest.er1 >conftest.err
10549   rm -f conftest.er1
10550   cat conftest.err >&5
10551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552   (exit $ac_status); } &&
10553          { ac_try='test -z "$ac_c_werror_flag"
10554                          || test ! -s conftest.err'
10555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556   (eval $ac_try) 2>&5
10557   ac_status=$?
10558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559   (exit $ac_status); }; } &&
10560          { ac_try='test -s conftest$ac_exeext'
10561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562   (eval $ac_try) 2>&5
10563   ac_status=$?
10564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565   (exit $ac_status); }; }; then
10566   ac_cv_lib_m_ccos=yes
10567 else
10568   echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10570
10571 ac_cv_lib_m_ccos=no
10572 fi
10573 rm -f conftest.err conftest.$ac_objext \
10574       conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10576 fi
10577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10578 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10579 if test $ac_cv_lib_m_ccos = yes; then
10580
10581 cat >>confdefs.h <<\_ACEOF
10582 #define HAVE_CCOS 1
10583 _ACEOF
10584
10585 fi
10586
10587 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10588 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10589 if test "${ac_cv_lib_m_ccosl+set}" = set; then
10590   echo $ECHO_N "(cached) $ECHO_C" >&6
10591 else
10592   ac_check_lib_save_LIBS=$LIBS
10593 LIBS="-lm  $LIBS"
10594 if test x$gcc_no_link = xyes; then
10595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10597    { (exit 1); exit 1; }; }
10598 fi
10599 cat >conftest.$ac_ext <<_ACEOF
10600 /* confdefs.h.  */
10601 _ACEOF
10602 cat confdefs.h >>conftest.$ac_ext
10603 cat >>conftest.$ac_ext <<_ACEOF
10604 /* end confdefs.h.  */
10605
10606 /* Override any gcc2 internal prototype to avoid an error.  */
10607 #ifdef __cplusplus
10608 extern "C"
10609 #endif
10610 /* We use char because int might match the return type of a gcc2
10611    builtin and then its argument prototype would still apply.  */
10612 char ccosl ();
10613 int
10614 main ()
10615 {
10616 ccosl ();
10617   ;
10618   return 0;
10619 }
10620 _ACEOF
10621 rm -f conftest.$ac_objext conftest$ac_exeext
10622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10623   (eval $ac_link) 2>conftest.er1
10624   ac_status=$?
10625   grep -v '^ *+' conftest.er1 >conftest.err
10626   rm -f conftest.er1
10627   cat conftest.err >&5
10628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629   (exit $ac_status); } &&
10630          { ac_try='test -z "$ac_c_werror_flag"
10631                          || test ! -s conftest.err'
10632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633   (eval $ac_try) 2>&5
10634   ac_status=$?
10635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636   (exit $ac_status); }; } &&
10637          { ac_try='test -s conftest$ac_exeext'
10638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639   (eval $ac_try) 2>&5
10640   ac_status=$?
10641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642   (exit $ac_status); }; }; then
10643   ac_cv_lib_m_ccosl=yes
10644 else
10645   echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10647
10648 ac_cv_lib_m_ccosl=no
10649 fi
10650 rm -f conftest.err conftest.$ac_objext \
10651       conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10653 fi
10654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10655 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10656 if test $ac_cv_lib_m_ccosl = yes; then
10657
10658 cat >>confdefs.h <<\_ACEOF
10659 #define HAVE_CCOSL 1
10660 _ACEOF
10661
10662 fi
10663
10664 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10665 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10666 if test "${ac_cv_lib_m_coshf+set}" = set; then
10667   echo $ECHO_N "(cached) $ECHO_C" >&6
10668 else
10669   ac_check_lib_save_LIBS=$LIBS
10670 LIBS="-lm  $LIBS"
10671 if test x$gcc_no_link = xyes; then
10672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10674    { (exit 1); exit 1; }; }
10675 fi
10676 cat >conftest.$ac_ext <<_ACEOF
10677 /* confdefs.h.  */
10678 _ACEOF
10679 cat confdefs.h >>conftest.$ac_ext
10680 cat >>conftest.$ac_ext <<_ACEOF
10681 /* end confdefs.h.  */
10682
10683 /* Override any gcc2 internal prototype to avoid an error.  */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 /* We use char because int might match the return type of a gcc2
10688    builtin and then its argument prototype would still apply.  */
10689 char coshf ();
10690 int
10691 main ()
10692 {
10693 coshf ();
10694   ;
10695   return 0;
10696 }
10697 _ACEOF
10698 rm -f conftest.$ac_objext conftest$ac_exeext
10699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10700   (eval $ac_link) 2>conftest.er1
10701   ac_status=$?
10702   grep -v '^ *+' conftest.er1 >conftest.err
10703   rm -f conftest.er1
10704   cat conftest.err >&5
10705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706   (exit $ac_status); } &&
10707          { ac_try='test -z "$ac_c_werror_flag"
10708                          || test ! -s conftest.err'
10709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710   (eval $ac_try) 2>&5
10711   ac_status=$?
10712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713   (exit $ac_status); }; } &&
10714          { ac_try='test -s conftest$ac_exeext'
10715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716   (eval $ac_try) 2>&5
10717   ac_status=$?
10718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719   (exit $ac_status); }; }; then
10720   ac_cv_lib_m_coshf=yes
10721 else
10722   echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10724
10725 ac_cv_lib_m_coshf=no
10726 fi
10727 rm -f conftest.err conftest.$ac_objext \
10728       conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_lib_save_LIBS
10730 fi
10731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10732 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10733 if test $ac_cv_lib_m_coshf = yes; then
10734
10735 cat >>confdefs.h <<\_ACEOF
10736 #define HAVE_COSHF 1
10737 _ACEOF
10738
10739 fi
10740
10741 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10742 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10743 if test "${ac_cv_lib_m_cosh+set}" = set; then
10744   echo $ECHO_N "(cached) $ECHO_C" >&6
10745 else
10746   ac_check_lib_save_LIBS=$LIBS
10747 LIBS="-lm  $LIBS"
10748 if test x$gcc_no_link = xyes; then
10749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10751    { (exit 1); exit 1; }; }
10752 fi
10753 cat >conftest.$ac_ext <<_ACEOF
10754 /* confdefs.h.  */
10755 _ACEOF
10756 cat confdefs.h >>conftest.$ac_ext
10757 cat >>conftest.$ac_ext <<_ACEOF
10758 /* end confdefs.h.  */
10759
10760 /* Override any gcc2 internal prototype to avoid an error.  */
10761 #ifdef __cplusplus
10762 extern "C"
10763 #endif
10764 /* We use char because int might match the return type of a gcc2
10765    builtin and then its argument prototype would still apply.  */
10766 char cosh ();
10767 int
10768 main ()
10769 {
10770 cosh ();
10771   ;
10772   return 0;
10773 }
10774 _ACEOF
10775 rm -f conftest.$ac_objext conftest$ac_exeext
10776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10777   (eval $ac_link) 2>conftest.er1
10778   ac_status=$?
10779   grep -v '^ *+' conftest.er1 >conftest.err
10780   rm -f conftest.er1
10781   cat conftest.err >&5
10782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783   (exit $ac_status); } &&
10784          { ac_try='test -z "$ac_c_werror_flag"
10785                          || test ! -s conftest.err'
10786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787   (eval $ac_try) 2>&5
10788   ac_status=$?
10789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790   (exit $ac_status); }; } &&
10791          { ac_try='test -s conftest$ac_exeext'
10792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793   (eval $ac_try) 2>&5
10794   ac_status=$?
10795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796   (exit $ac_status); }; }; then
10797   ac_cv_lib_m_cosh=yes
10798 else
10799   echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10801
10802 ac_cv_lib_m_cosh=no
10803 fi
10804 rm -f conftest.err conftest.$ac_objext \
10805       conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_lib_save_LIBS
10807 fi
10808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10809 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10810 if test $ac_cv_lib_m_cosh = yes; then
10811
10812 cat >>confdefs.h <<\_ACEOF
10813 #define HAVE_COSH 1
10814 _ACEOF
10815
10816 fi
10817
10818 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10819 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10820 if test "${ac_cv_lib_m_coshl+set}" = set; then
10821   echo $ECHO_N "(cached) $ECHO_C" >&6
10822 else
10823   ac_check_lib_save_LIBS=$LIBS
10824 LIBS="-lm  $LIBS"
10825 if test x$gcc_no_link = xyes; then
10826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10828    { (exit 1); exit 1; }; }
10829 fi
10830 cat >conftest.$ac_ext <<_ACEOF
10831 /* confdefs.h.  */
10832 _ACEOF
10833 cat confdefs.h >>conftest.$ac_ext
10834 cat >>conftest.$ac_ext <<_ACEOF
10835 /* end confdefs.h.  */
10836
10837 /* Override any gcc2 internal prototype to avoid an error.  */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 /* We use char because int might match the return type of a gcc2
10842    builtin and then its argument prototype would still apply.  */
10843 char coshl ();
10844 int
10845 main ()
10846 {
10847 coshl ();
10848   ;
10849   return 0;
10850 }
10851 _ACEOF
10852 rm -f conftest.$ac_objext conftest$ac_exeext
10853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10854   (eval $ac_link) 2>conftest.er1
10855   ac_status=$?
10856   grep -v '^ *+' conftest.er1 >conftest.err
10857   rm -f conftest.er1
10858   cat conftest.err >&5
10859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860   (exit $ac_status); } &&
10861          { ac_try='test -z "$ac_c_werror_flag"
10862                          || test ! -s conftest.err'
10863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864   (eval $ac_try) 2>&5
10865   ac_status=$?
10866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867   (exit $ac_status); }; } &&
10868          { ac_try='test -s conftest$ac_exeext'
10869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870   (eval $ac_try) 2>&5
10871   ac_status=$?
10872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873   (exit $ac_status); }; }; then
10874   ac_cv_lib_m_coshl=yes
10875 else
10876   echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.$ac_ext >&5
10878
10879 ac_cv_lib_m_coshl=no
10880 fi
10881 rm -f conftest.err conftest.$ac_objext \
10882       conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_lib_save_LIBS
10884 fi
10885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
10886 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10887 if test $ac_cv_lib_m_coshl = yes; then
10888
10889 cat >>confdefs.h <<\_ACEOF
10890 #define HAVE_COSHL 1
10891 _ACEOF
10892
10893 fi
10894
10895 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10896 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10897 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
10898   echo $ECHO_N "(cached) $ECHO_C" >&6
10899 else
10900   ac_check_lib_save_LIBS=$LIBS
10901 LIBS="-lm  $LIBS"
10902 if test x$gcc_no_link = xyes; then
10903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10905    { (exit 1); exit 1; }; }
10906 fi
10907 cat >conftest.$ac_ext <<_ACEOF
10908 /* confdefs.h.  */
10909 _ACEOF
10910 cat confdefs.h >>conftest.$ac_ext
10911 cat >>conftest.$ac_ext <<_ACEOF
10912 /* end confdefs.h.  */
10913
10914 /* Override any gcc2 internal prototype to avoid an error.  */
10915 #ifdef __cplusplus
10916 extern "C"
10917 #endif
10918 /* We use char because int might match the return type of a gcc2
10919    builtin and then its argument prototype would still apply.  */
10920 char ccoshf ();
10921 int
10922 main ()
10923 {
10924 ccoshf ();
10925   ;
10926   return 0;
10927 }
10928 _ACEOF
10929 rm -f conftest.$ac_objext conftest$ac_exeext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10931   (eval $ac_link) 2>conftest.er1
10932   ac_status=$?
10933   grep -v '^ *+' conftest.er1 >conftest.err
10934   rm -f conftest.er1
10935   cat conftest.err >&5
10936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937   (exit $ac_status); } &&
10938          { ac_try='test -z "$ac_c_werror_flag"
10939                          || test ! -s conftest.err'
10940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10941   (eval $ac_try) 2>&5
10942   ac_status=$?
10943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944   (exit $ac_status); }; } &&
10945          { ac_try='test -s conftest$ac_exeext'
10946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947   (eval $ac_try) 2>&5
10948   ac_status=$?
10949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950   (exit $ac_status); }; }; then
10951   ac_cv_lib_m_ccoshf=yes
10952 else
10953   echo "$as_me: failed program was:" >&5
10954 sed 's/^/| /' conftest.$ac_ext >&5
10955
10956 ac_cv_lib_m_ccoshf=no
10957 fi
10958 rm -f conftest.err conftest.$ac_objext \
10959       conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10961 fi
10962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10963 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10964 if test $ac_cv_lib_m_ccoshf = yes; then
10965
10966 cat >>confdefs.h <<\_ACEOF
10967 #define HAVE_CCOSHF 1
10968 _ACEOF
10969
10970 fi
10971
10972 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10973 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10974 if test "${ac_cv_lib_m_ccosh+set}" = set; then
10975   echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977   ac_check_lib_save_LIBS=$LIBS
10978 LIBS="-lm  $LIBS"
10979 if test x$gcc_no_link = xyes; then
10980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10982    { (exit 1); exit 1; }; }
10983 fi
10984 cat >conftest.$ac_ext <<_ACEOF
10985 /* confdefs.h.  */
10986 _ACEOF
10987 cat confdefs.h >>conftest.$ac_ext
10988 cat >>conftest.$ac_ext <<_ACEOF
10989 /* end confdefs.h.  */
10990
10991 /* Override any gcc2 internal prototype to avoid an error.  */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 /* We use char because int might match the return type of a gcc2
10996    builtin and then its argument prototype would still apply.  */
10997 char ccosh ();
10998 int
10999 main ()
11000 {
11001 ccosh ();
11002   ;
11003   return 0;
11004 }
11005 _ACEOF
11006 rm -f conftest.$ac_objext conftest$ac_exeext
11007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11008   (eval $ac_link) 2>conftest.er1
11009   ac_status=$?
11010   grep -v '^ *+' conftest.er1 >conftest.err
11011   rm -f conftest.er1
11012   cat conftest.err >&5
11013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014   (exit $ac_status); } &&
11015          { ac_try='test -z "$ac_c_werror_flag"
11016                          || test ! -s conftest.err'
11017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018   (eval $ac_try) 2>&5
11019   ac_status=$?
11020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021   (exit $ac_status); }; } &&
11022          { ac_try='test -s conftest$ac_exeext'
11023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024   (eval $ac_try) 2>&5
11025   ac_status=$?
11026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027   (exit $ac_status); }; }; then
11028   ac_cv_lib_m_ccosh=yes
11029 else
11030   echo "$as_me: failed program was:" >&5
11031 sed 's/^/| /' conftest.$ac_ext >&5
11032
11033 ac_cv_lib_m_ccosh=no
11034 fi
11035 rm -f conftest.err conftest.$ac_objext \
11036       conftest$ac_exeext conftest.$ac_ext
11037 LIBS=$ac_check_lib_save_LIBS
11038 fi
11039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
11040 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
11041 if test $ac_cv_lib_m_ccosh = yes; then
11042
11043 cat >>confdefs.h <<\_ACEOF
11044 #define HAVE_CCOSH 1
11045 _ACEOF
11046
11047 fi
11048
11049 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
11050 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
11051 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
11052   echo $ECHO_N "(cached) $ECHO_C" >&6
11053 else
11054   ac_check_lib_save_LIBS=$LIBS
11055 LIBS="-lm  $LIBS"
11056 if test x$gcc_no_link = xyes; then
11057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11059    { (exit 1); exit 1; }; }
11060 fi
11061 cat >conftest.$ac_ext <<_ACEOF
11062 /* confdefs.h.  */
11063 _ACEOF
11064 cat confdefs.h >>conftest.$ac_ext
11065 cat >>conftest.$ac_ext <<_ACEOF
11066 /* end confdefs.h.  */
11067
11068 /* Override any gcc2 internal prototype to avoid an error.  */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 /* We use char because int might match the return type of a gcc2
11073    builtin and then its argument prototype would still apply.  */
11074 char ccoshl ();
11075 int
11076 main ()
11077 {
11078 ccoshl ();
11079   ;
11080   return 0;
11081 }
11082 _ACEOF
11083 rm -f conftest.$ac_objext conftest$ac_exeext
11084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11085   (eval $ac_link) 2>conftest.er1
11086   ac_status=$?
11087   grep -v '^ *+' conftest.er1 >conftest.err
11088   rm -f conftest.er1
11089   cat conftest.err >&5
11090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091   (exit $ac_status); } &&
11092          { ac_try='test -z "$ac_c_werror_flag"
11093                          || test ! -s conftest.err'
11094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095   (eval $ac_try) 2>&5
11096   ac_status=$?
11097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098   (exit $ac_status); }; } &&
11099          { ac_try='test -s conftest$ac_exeext'
11100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101   (eval $ac_try) 2>&5
11102   ac_status=$?
11103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104   (exit $ac_status); }; }; then
11105   ac_cv_lib_m_ccoshl=yes
11106 else
11107   echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.$ac_ext >&5
11109
11110 ac_cv_lib_m_ccoshl=no
11111 fi
11112 rm -f conftest.err conftest.$ac_objext \
11113       conftest$ac_exeext conftest.$ac_ext
11114 LIBS=$ac_check_lib_save_LIBS
11115 fi
11116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
11117 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
11118 if test $ac_cv_lib_m_ccoshl = yes; then
11119
11120 cat >>confdefs.h <<\_ACEOF
11121 #define HAVE_CCOSHL 1
11122 _ACEOF
11123
11124 fi
11125
11126 echo "$as_me:$LINENO: checking for expf in -lm" >&5
11127 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
11128 if test "${ac_cv_lib_m_expf+set}" = set; then
11129   echo $ECHO_N "(cached) $ECHO_C" >&6
11130 else
11131   ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-lm  $LIBS"
11133 if test x$gcc_no_link = xyes; then
11134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11136    { (exit 1); exit 1; }; }
11137 fi
11138 cat >conftest.$ac_ext <<_ACEOF
11139 /* confdefs.h.  */
11140 _ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h.  */
11144
11145 /* Override any gcc2 internal prototype to avoid an error.  */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 /* We use char because int might match the return type of a gcc2
11150    builtin and then its argument prototype would still apply.  */
11151 char expf ();
11152 int
11153 main ()
11154 {
11155 expf ();
11156   ;
11157   return 0;
11158 }
11159 _ACEOF
11160 rm -f conftest.$ac_objext conftest$ac_exeext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162   (eval $ac_link) 2>conftest.er1
11163   ac_status=$?
11164   grep -v '^ *+' conftest.er1 >conftest.err
11165   rm -f conftest.er1
11166   cat conftest.err >&5
11167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168   (exit $ac_status); } &&
11169          { ac_try='test -z "$ac_c_werror_flag"
11170                          || test ! -s conftest.err'
11171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172   (eval $ac_try) 2>&5
11173   ac_status=$?
11174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175   (exit $ac_status); }; } &&
11176          { ac_try='test -s conftest$ac_exeext'
11177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178   (eval $ac_try) 2>&5
11179   ac_status=$?
11180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181   (exit $ac_status); }; }; then
11182   ac_cv_lib_m_expf=yes
11183 else
11184   echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11186
11187 ac_cv_lib_m_expf=no
11188 fi
11189 rm -f conftest.err conftest.$ac_objext \
11190       conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11192 fi
11193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11194 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11195 if test $ac_cv_lib_m_expf = yes; then
11196
11197 cat >>confdefs.h <<\_ACEOF
11198 #define HAVE_EXPF 1
11199 _ACEOF
11200
11201 fi
11202
11203 echo "$as_me:$LINENO: checking for exp in -lm" >&5
11204 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11205 if test "${ac_cv_lib_m_exp+set}" = set; then
11206   echo $ECHO_N "(cached) $ECHO_C" >&6
11207 else
11208   ac_check_lib_save_LIBS=$LIBS
11209 LIBS="-lm  $LIBS"
11210 if test x$gcc_no_link = xyes; then
11211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11213    { (exit 1); exit 1; }; }
11214 fi
11215 cat >conftest.$ac_ext <<_ACEOF
11216 /* confdefs.h.  */
11217 _ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h.  */
11221
11222 /* Override any gcc2 internal prototype to avoid an error.  */
11223 #ifdef __cplusplus
11224 extern "C"
11225 #endif
11226 /* We use char because int might match the return type of a gcc2
11227    builtin and then its argument prototype would still apply.  */
11228 char exp ();
11229 int
11230 main ()
11231 {
11232 exp ();
11233   ;
11234   return 0;
11235 }
11236 _ACEOF
11237 rm -f conftest.$ac_objext conftest$ac_exeext
11238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11239   (eval $ac_link) 2>conftest.er1
11240   ac_status=$?
11241   grep -v '^ *+' conftest.er1 >conftest.err
11242   rm -f conftest.er1
11243   cat conftest.err >&5
11244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245   (exit $ac_status); } &&
11246          { ac_try='test -z "$ac_c_werror_flag"
11247                          || test ! -s conftest.err'
11248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11249   (eval $ac_try) 2>&5
11250   ac_status=$?
11251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252   (exit $ac_status); }; } &&
11253          { ac_try='test -s conftest$ac_exeext'
11254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11255   (eval $ac_try) 2>&5
11256   ac_status=$?
11257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258   (exit $ac_status); }; }; then
11259   ac_cv_lib_m_exp=yes
11260 else
11261   echo "$as_me: failed program was:" >&5
11262 sed 's/^/| /' conftest.$ac_ext >&5
11263
11264 ac_cv_lib_m_exp=no
11265 fi
11266 rm -f conftest.err conftest.$ac_objext \
11267       conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11269 fi
11270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11271 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11272 if test $ac_cv_lib_m_exp = yes; then
11273
11274 cat >>confdefs.h <<\_ACEOF
11275 #define HAVE_EXP 1
11276 _ACEOF
11277
11278 fi
11279
11280 echo "$as_me:$LINENO: checking for expl in -lm" >&5
11281 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11282 if test "${ac_cv_lib_m_expl+set}" = set; then
11283   echo $ECHO_N "(cached) $ECHO_C" >&6
11284 else
11285   ac_check_lib_save_LIBS=$LIBS
11286 LIBS="-lm  $LIBS"
11287 if test x$gcc_no_link = xyes; then
11288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11290    { (exit 1); exit 1; }; }
11291 fi
11292 cat >conftest.$ac_ext <<_ACEOF
11293 /* confdefs.h.  */
11294 _ACEOF
11295 cat confdefs.h >>conftest.$ac_ext
11296 cat >>conftest.$ac_ext <<_ACEOF
11297 /* end confdefs.h.  */
11298
11299 /* Override any gcc2 internal prototype to avoid an error.  */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 /* We use char because int might match the return type of a gcc2
11304    builtin and then its argument prototype would still apply.  */
11305 char expl ();
11306 int
11307 main ()
11308 {
11309 expl ();
11310   ;
11311   return 0;
11312 }
11313 _ACEOF
11314 rm -f conftest.$ac_objext conftest$ac_exeext
11315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11316   (eval $ac_link) 2>conftest.er1
11317   ac_status=$?
11318   grep -v '^ *+' conftest.er1 >conftest.err
11319   rm -f conftest.er1
11320   cat conftest.err >&5
11321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322   (exit $ac_status); } &&
11323          { ac_try='test -z "$ac_c_werror_flag"
11324                          || test ! -s conftest.err'
11325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326   (eval $ac_try) 2>&5
11327   ac_status=$?
11328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329   (exit $ac_status); }; } &&
11330          { ac_try='test -s conftest$ac_exeext'
11331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332   (eval $ac_try) 2>&5
11333   ac_status=$?
11334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335   (exit $ac_status); }; }; then
11336   ac_cv_lib_m_expl=yes
11337 else
11338   echo "$as_me: failed program was:" >&5
11339 sed 's/^/| /' conftest.$ac_ext >&5
11340
11341 ac_cv_lib_m_expl=no
11342 fi
11343 rm -f conftest.err conftest.$ac_objext \
11344       conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11346 fi
11347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11348 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11349 if test $ac_cv_lib_m_expl = yes; then
11350
11351 cat >>confdefs.h <<\_ACEOF
11352 #define HAVE_EXPL 1
11353 _ACEOF
11354
11355 fi
11356
11357 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11358 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11359 if test "${ac_cv_lib_m_cexpf+set}" = set; then
11360   echo $ECHO_N "(cached) $ECHO_C" >&6
11361 else
11362   ac_check_lib_save_LIBS=$LIBS
11363 LIBS="-lm  $LIBS"
11364 if test x$gcc_no_link = xyes; then
11365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11367    { (exit 1); exit 1; }; }
11368 fi
11369 cat >conftest.$ac_ext <<_ACEOF
11370 /* confdefs.h.  */
11371 _ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h.  */
11375
11376 /* Override any gcc2 internal prototype to avoid an error.  */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 /* We use char because int might match the return type of a gcc2
11381    builtin and then its argument prototype would still apply.  */
11382 char cexpf ();
11383 int
11384 main ()
11385 {
11386 cexpf ();
11387   ;
11388   return 0;
11389 }
11390 _ACEOF
11391 rm -f conftest.$ac_objext conftest$ac_exeext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11393   (eval $ac_link) 2>conftest.er1
11394   ac_status=$?
11395   grep -v '^ *+' conftest.er1 >conftest.err
11396   rm -f conftest.er1
11397   cat conftest.err >&5
11398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399   (exit $ac_status); } &&
11400          { ac_try='test -z "$ac_c_werror_flag"
11401                          || test ! -s conftest.err'
11402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403   (eval $ac_try) 2>&5
11404   ac_status=$?
11405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406   (exit $ac_status); }; } &&
11407          { ac_try='test -s conftest$ac_exeext'
11408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409   (eval $ac_try) 2>&5
11410   ac_status=$?
11411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412   (exit $ac_status); }; }; then
11413   ac_cv_lib_m_cexpf=yes
11414 else
11415   echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.$ac_ext >&5
11417
11418 ac_cv_lib_m_cexpf=no
11419 fi
11420 rm -f conftest.err conftest.$ac_objext \
11421       conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11423 fi
11424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11425 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11426 if test $ac_cv_lib_m_cexpf = yes; then
11427
11428 cat >>confdefs.h <<\_ACEOF
11429 #define HAVE_CEXPF 1
11430 _ACEOF
11431
11432 fi
11433
11434 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11435 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11436 if test "${ac_cv_lib_m_cexp+set}" = set; then
11437   echo $ECHO_N "(cached) $ECHO_C" >&6
11438 else
11439   ac_check_lib_save_LIBS=$LIBS
11440 LIBS="-lm  $LIBS"
11441 if test x$gcc_no_link = xyes; then
11442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11444    { (exit 1); exit 1; }; }
11445 fi
11446 cat >conftest.$ac_ext <<_ACEOF
11447 /* confdefs.h.  */
11448 _ACEOF
11449 cat confdefs.h >>conftest.$ac_ext
11450 cat >>conftest.$ac_ext <<_ACEOF
11451 /* end confdefs.h.  */
11452
11453 /* Override any gcc2 internal prototype to avoid an error.  */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 /* We use char because int might match the return type of a gcc2
11458    builtin and then its argument prototype would still apply.  */
11459 char cexp ();
11460 int
11461 main ()
11462 {
11463 cexp ();
11464   ;
11465   return 0;
11466 }
11467 _ACEOF
11468 rm -f conftest.$ac_objext conftest$ac_exeext
11469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11470   (eval $ac_link) 2>conftest.er1
11471   ac_status=$?
11472   grep -v '^ *+' conftest.er1 >conftest.err
11473   rm -f conftest.er1
11474   cat conftest.err >&5
11475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476   (exit $ac_status); } &&
11477          { ac_try='test -z "$ac_c_werror_flag"
11478                          || test ! -s conftest.err'
11479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11480   (eval $ac_try) 2>&5
11481   ac_status=$?
11482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483   (exit $ac_status); }; } &&
11484          { ac_try='test -s conftest$ac_exeext'
11485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11486   (eval $ac_try) 2>&5
11487   ac_status=$?
11488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489   (exit $ac_status); }; }; then
11490   ac_cv_lib_m_cexp=yes
11491 else
11492   echo "$as_me: failed program was:" >&5
11493 sed 's/^/| /' conftest.$ac_ext >&5
11494
11495 ac_cv_lib_m_cexp=no
11496 fi
11497 rm -f conftest.err conftest.$ac_objext \
11498       conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_lib_save_LIBS
11500 fi
11501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11502 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11503 if test $ac_cv_lib_m_cexp = yes; then
11504
11505 cat >>confdefs.h <<\_ACEOF
11506 #define HAVE_CEXP 1
11507 _ACEOF
11508
11509 fi
11510
11511 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11512 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11513 if test "${ac_cv_lib_m_cexpl+set}" = set; then
11514   echo $ECHO_N "(cached) $ECHO_C" >&6
11515 else
11516   ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-lm  $LIBS"
11518 if test x$gcc_no_link = xyes; then
11519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11521    { (exit 1); exit 1; }; }
11522 fi
11523 cat >conftest.$ac_ext <<_ACEOF
11524 /* confdefs.h.  */
11525 _ACEOF
11526 cat confdefs.h >>conftest.$ac_ext
11527 cat >>conftest.$ac_ext <<_ACEOF
11528 /* end confdefs.h.  */
11529
11530 /* Override any gcc2 internal prototype to avoid an error.  */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 /* We use char because int might match the return type of a gcc2
11535    builtin and then its argument prototype would still apply.  */
11536 char cexpl ();
11537 int
11538 main ()
11539 {
11540 cexpl ();
11541   ;
11542   return 0;
11543 }
11544 _ACEOF
11545 rm -f conftest.$ac_objext conftest$ac_exeext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11547   (eval $ac_link) 2>conftest.er1
11548   ac_status=$?
11549   grep -v '^ *+' conftest.er1 >conftest.err
11550   rm -f conftest.er1
11551   cat conftest.err >&5
11552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553   (exit $ac_status); } &&
11554          { ac_try='test -z "$ac_c_werror_flag"
11555                          || test ! -s conftest.err'
11556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557   (eval $ac_try) 2>&5
11558   ac_status=$?
11559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560   (exit $ac_status); }; } &&
11561          { ac_try='test -s conftest$ac_exeext'
11562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563   (eval $ac_try) 2>&5
11564   ac_status=$?
11565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566   (exit $ac_status); }; }; then
11567   ac_cv_lib_m_cexpl=yes
11568 else
11569   echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11571
11572 ac_cv_lib_m_cexpl=no
11573 fi
11574 rm -f conftest.err conftest.$ac_objext \
11575       conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11577 fi
11578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11579 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11580 if test $ac_cv_lib_m_cexpl = yes; then
11581
11582 cat >>confdefs.h <<\_ACEOF
11583 #define HAVE_CEXPL 1
11584 _ACEOF
11585
11586 fi
11587
11588 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11589 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11590 if test "${ac_cv_lib_m_fabsf+set}" = set; then
11591   echo $ECHO_N "(cached) $ECHO_C" >&6
11592 else
11593   ac_check_lib_save_LIBS=$LIBS
11594 LIBS="-lm  $LIBS"
11595 if test x$gcc_no_link = xyes; then
11596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11598    { (exit 1); exit 1; }; }
11599 fi
11600 cat >conftest.$ac_ext <<_ACEOF
11601 /* confdefs.h.  */
11602 _ACEOF
11603 cat confdefs.h >>conftest.$ac_ext
11604 cat >>conftest.$ac_ext <<_ACEOF
11605 /* end confdefs.h.  */
11606
11607 /* Override any gcc2 internal prototype to avoid an error.  */
11608 #ifdef __cplusplus
11609 extern "C"
11610 #endif
11611 /* We use char because int might match the return type of a gcc2
11612    builtin and then its argument prototype would still apply.  */
11613 char fabsf ();
11614 int
11615 main ()
11616 {
11617 fabsf ();
11618   ;
11619   return 0;
11620 }
11621 _ACEOF
11622 rm -f conftest.$ac_objext conftest$ac_exeext
11623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11624   (eval $ac_link) 2>conftest.er1
11625   ac_status=$?
11626   grep -v '^ *+' conftest.er1 >conftest.err
11627   rm -f conftest.er1
11628   cat conftest.err >&5
11629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630   (exit $ac_status); } &&
11631          { ac_try='test -z "$ac_c_werror_flag"
11632                          || test ! -s conftest.err'
11633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634   (eval $ac_try) 2>&5
11635   ac_status=$?
11636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637   (exit $ac_status); }; } &&
11638          { ac_try='test -s conftest$ac_exeext'
11639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640   (eval $ac_try) 2>&5
11641   ac_status=$?
11642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643   (exit $ac_status); }; }; then
11644   ac_cv_lib_m_fabsf=yes
11645 else
11646   echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.$ac_ext >&5
11648
11649 ac_cv_lib_m_fabsf=no
11650 fi
11651 rm -f conftest.err conftest.$ac_objext \
11652       conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_lib_save_LIBS
11654 fi
11655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11656 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11657 if test $ac_cv_lib_m_fabsf = yes; then
11658
11659 cat >>confdefs.h <<\_ACEOF
11660 #define HAVE_FABSF 1
11661 _ACEOF
11662
11663 fi
11664
11665 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11666 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11667 if test "${ac_cv_lib_m_fabs+set}" = set; then
11668   echo $ECHO_N "(cached) $ECHO_C" >&6
11669 else
11670   ac_check_lib_save_LIBS=$LIBS
11671 LIBS="-lm  $LIBS"
11672 if test x$gcc_no_link = xyes; then
11673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11675    { (exit 1); exit 1; }; }
11676 fi
11677 cat >conftest.$ac_ext <<_ACEOF
11678 /* confdefs.h.  */
11679 _ACEOF
11680 cat confdefs.h >>conftest.$ac_ext
11681 cat >>conftest.$ac_ext <<_ACEOF
11682 /* end confdefs.h.  */
11683
11684 /* Override any gcc2 internal prototype to avoid an error.  */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 /* We use char because int might match the return type of a gcc2
11689    builtin and then its argument prototype would still apply.  */
11690 char fabs ();
11691 int
11692 main ()
11693 {
11694 fabs ();
11695   ;
11696   return 0;
11697 }
11698 _ACEOF
11699 rm -f conftest.$ac_objext conftest$ac_exeext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11701   (eval $ac_link) 2>conftest.er1
11702   ac_status=$?
11703   grep -v '^ *+' conftest.er1 >conftest.err
11704   rm -f conftest.er1
11705   cat conftest.err >&5
11706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707   (exit $ac_status); } &&
11708          { ac_try='test -z "$ac_c_werror_flag"
11709                          || test ! -s conftest.err'
11710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711   (eval $ac_try) 2>&5
11712   ac_status=$?
11713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714   (exit $ac_status); }; } &&
11715          { ac_try='test -s conftest$ac_exeext'
11716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717   (eval $ac_try) 2>&5
11718   ac_status=$?
11719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720   (exit $ac_status); }; }; then
11721   ac_cv_lib_m_fabs=yes
11722 else
11723   echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11725
11726 ac_cv_lib_m_fabs=no
11727 fi
11728 rm -f conftest.err conftest.$ac_objext \
11729       conftest$ac_exeext conftest.$ac_ext
11730 LIBS=$ac_check_lib_save_LIBS
11731 fi
11732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11733 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11734 if test $ac_cv_lib_m_fabs = yes; then
11735
11736 cat >>confdefs.h <<\_ACEOF
11737 #define HAVE_FABS 1
11738 _ACEOF
11739
11740 fi
11741
11742 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11743 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11744 if test "${ac_cv_lib_m_fabsl+set}" = set; then
11745   echo $ECHO_N "(cached) $ECHO_C" >&6
11746 else
11747   ac_check_lib_save_LIBS=$LIBS
11748 LIBS="-lm  $LIBS"
11749 if test x$gcc_no_link = xyes; then
11750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11752    { (exit 1); exit 1; }; }
11753 fi
11754 cat >conftest.$ac_ext <<_ACEOF
11755 /* confdefs.h.  */
11756 _ACEOF
11757 cat confdefs.h >>conftest.$ac_ext
11758 cat >>conftest.$ac_ext <<_ACEOF
11759 /* end confdefs.h.  */
11760
11761 /* Override any gcc2 internal prototype to avoid an error.  */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 /* We use char because int might match the return type of a gcc2
11766    builtin and then its argument prototype would still apply.  */
11767 char fabsl ();
11768 int
11769 main ()
11770 {
11771 fabsl ();
11772   ;
11773   return 0;
11774 }
11775 _ACEOF
11776 rm -f conftest.$ac_objext conftest$ac_exeext
11777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11778   (eval $ac_link) 2>conftest.er1
11779   ac_status=$?
11780   grep -v '^ *+' conftest.er1 >conftest.err
11781   rm -f conftest.er1
11782   cat conftest.err >&5
11783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784   (exit $ac_status); } &&
11785          { ac_try='test -z "$ac_c_werror_flag"
11786                          || test ! -s conftest.err'
11787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788   (eval $ac_try) 2>&5
11789   ac_status=$?
11790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791   (exit $ac_status); }; } &&
11792          { ac_try='test -s conftest$ac_exeext'
11793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11794   (eval $ac_try) 2>&5
11795   ac_status=$?
11796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797   (exit $ac_status); }; }; then
11798   ac_cv_lib_m_fabsl=yes
11799 else
11800   echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.$ac_ext >&5
11802
11803 ac_cv_lib_m_fabsl=no
11804 fi
11805 rm -f conftest.err conftest.$ac_objext \
11806       conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_lib_save_LIBS
11808 fi
11809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11810 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11811 if test $ac_cv_lib_m_fabsl = yes; then
11812
11813 cat >>confdefs.h <<\_ACEOF
11814 #define HAVE_FABSL 1
11815 _ACEOF
11816
11817 fi
11818
11819 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11820 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11821 if test "${ac_cv_lib_m_cabsf+set}" = set; then
11822   echo $ECHO_N "(cached) $ECHO_C" >&6
11823 else
11824   ac_check_lib_save_LIBS=$LIBS
11825 LIBS="-lm  $LIBS"
11826 if test x$gcc_no_link = xyes; then
11827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11829    { (exit 1); exit 1; }; }
11830 fi
11831 cat >conftest.$ac_ext <<_ACEOF
11832 /* confdefs.h.  */
11833 _ACEOF
11834 cat confdefs.h >>conftest.$ac_ext
11835 cat >>conftest.$ac_ext <<_ACEOF
11836 /* end confdefs.h.  */
11837
11838 /* Override any gcc2 internal prototype to avoid an error.  */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 /* We use char because int might match the return type of a gcc2
11843    builtin and then its argument prototype would still apply.  */
11844 char cabsf ();
11845 int
11846 main ()
11847 {
11848 cabsf ();
11849   ;
11850   return 0;
11851 }
11852 _ACEOF
11853 rm -f conftest.$ac_objext conftest$ac_exeext
11854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11855   (eval $ac_link) 2>conftest.er1
11856   ac_status=$?
11857   grep -v '^ *+' conftest.er1 >conftest.err
11858   rm -f conftest.er1
11859   cat conftest.err >&5
11860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861   (exit $ac_status); } &&
11862          { ac_try='test -z "$ac_c_werror_flag"
11863                          || test ! -s conftest.err'
11864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865   (eval $ac_try) 2>&5
11866   ac_status=$?
11867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868   (exit $ac_status); }; } &&
11869          { ac_try='test -s conftest$ac_exeext'
11870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11871   (eval $ac_try) 2>&5
11872   ac_status=$?
11873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874   (exit $ac_status); }; }; then
11875   ac_cv_lib_m_cabsf=yes
11876 else
11877   echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.$ac_ext >&5
11879
11880 ac_cv_lib_m_cabsf=no
11881 fi
11882 rm -f conftest.err conftest.$ac_objext \
11883       conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_lib_save_LIBS
11885 fi
11886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11887 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11888 if test $ac_cv_lib_m_cabsf = yes; then
11889
11890 cat >>confdefs.h <<\_ACEOF
11891 #define HAVE_CABSF 1
11892 _ACEOF
11893
11894 fi
11895
11896 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11897 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11898 if test "${ac_cv_lib_m_cabs+set}" = set; then
11899   echo $ECHO_N "(cached) $ECHO_C" >&6
11900 else
11901   ac_check_lib_save_LIBS=$LIBS
11902 LIBS="-lm  $LIBS"
11903 if test x$gcc_no_link = xyes; then
11904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11906    { (exit 1); exit 1; }; }
11907 fi
11908 cat >conftest.$ac_ext <<_ACEOF
11909 /* confdefs.h.  */
11910 _ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h.  */
11914
11915 /* Override any gcc2 internal prototype to avoid an error.  */
11916 #ifdef __cplusplus
11917 extern "C"
11918 #endif
11919 /* We use char because int might match the return type of a gcc2
11920    builtin and then its argument prototype would still apply.  */
11921 char cabs ();
11922 int
11923 main ()
11924 {
11925 cabs ();
11926   ;
11927   return 0;
11928 }
11929 _ACEOF
11930 rm -f conftest.$ac_objext conftest$ac_exeext
11931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11932   (eval $ac_link) 2>conftest.er1
11933   ac_status=$?
11934   grep -v '^ *+' conftest.er1 >conftest.err
11935   rm -f conftest.er1
11936   cat conftest.err >&5
11937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938   (exit $ac_status); } &&
11939          { ac_try='test -z "$ac_c_werror_flag"
11940                          || test ! -s conftest.err'
11941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942   (eval $ac_try) 2>&5
11943   ac_status=$?
11944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945   (exit $ac_status); }; } &&
11946          { ac_try='test -s conftest$ac_exeext'
11947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948   (eval $ac_try) 2>&5
11949   ac_status=$?
11950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951   (exit $ac_status); }; }; then
11952   ac_cv_lib_m_cabs=yes
11953 else
11954   echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.$ac_ext >&5
11956
11957 ac_cv_lib_m_cabs=no
11958 fi
11959 rm -f conftest.err conftest.$ac_objext \
11960       conftest$ac_exeext conftest.$ac_ext
11961 LIBS=$ac_check_lib_save_LIBS
11962 fi
11963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11964 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11965 if test $ac_cv_lib_m_cabs = yes; then
11966
11967 cat >>confdefs.h <<\_ACEOF
11968 #define HAVE_CABS 1
11969 _ACEOF
11970
11971 fi
11972
11973 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11974 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11975 if test "${ac_cv_lib_m_cabsl+set}" = set; then
11976   echo $ECHO_N "(cached) $ECHO_C" >&6
11977 else
11978   ac_check_lib_save_LIBS=$LIBS
11979 LIBS="-lm  $LIBS"
11980 if test x$gcc_no_link = xyes; then
11981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11983    { (exit 1); exit 1; }; }
11984 fi
11985 cat >conftest.$ac_ext <<_ACEOF
11986 /* confdefs.h.  */
11987 _ACEOF
11988 cat confdefs.h >>conftest.$ac_ext
11989 cat >>conftest.$ac_ext <<_ACEOF
11990 /* end confdefs.h.  */
11991
11992 /* Override any gcc2 internal prototype to avoid an error.  */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 /* We use char because int might match the return type of a gcc2
11997    builtin and then its argument prototype would still apply.  */
11998 char cabsl ();
11999 int
12000 main ()
12001 {
12002 cabsl ();
12003   ;
12004   return 0;
12005 }
12006 _ACEOF
12007 rm -f conftest.$ac_objext conftest$ac_exeext
12008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12009   (eval $ac_link) 2>conftest.er1
12010   ac_status=$?
12011   grep -v '^ *+' conftest.er1 >conftest.err
12012   rm -f conftest.er1
12013   cat conftest.err >&5
12014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015   (exit $ac_status); } &&
12016          { ac_try='test -z "$ac_c_werror_flag"
12017                          || test ! -s conftest.err'
12018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019   (eval $ac_try) 2>&5
12020   ac_status=$?
12021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022   (exit $ac_status); }; } &&
12023          { ac_try='test -s conftest$ac_exeext'
12024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025   (eval $ac_try) 2>&5
12026   ac_status=$?
12027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028   (exit $ac_status); }; }; then
12029   ac_cv_lib_m_cabsl=yes
12030 else
12031   echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12033
12034 ac_cv_lib_m_cabsl=no
12035 fi
12036 rm -f conftest.err conftest.$ac_objext \
12037       conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_lib_save_LIBS
12039 fi
12040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
12041 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
12042 if test $ac_cv_lib_m_cabsl = yes; then
12043
12044 cat >>confdefs.h <<\_ACEOF
12045 #define HAVE_CABSL 1
12046 _ACEOF
12047
12048 fi
12049
12050 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
12051 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
12052 if test "${ac_cv_lib_m_floorf+set}" = set; then
12053   echo $ECHO_N "(cached) $ECHO_C" >&6
12054 else
12055   ac_check_lib_save_LIBS=$LIBS
12056 LIBS="-lm  $LIBS"
12057 if test x$gcc_no_link = xyes; then
12058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12060    { (exit 1); exit 1; }; }
12061 fi
12062 cat >conftest.$ac_ext <<_ACEOF
12063 /* confdefs.h.  */
12064 _ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h.  */
12068
12069 /* Override any gcc2 internal prototype to avoid an error.  */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 /* We use char because int might match the return type of a gcc2
12074    builtin and then its argument prototype would still apply.  */
12075 char floorf ();
12076 int
12077 main ()
12078 {
12079 floorf ();
12080   ;
12081   return 0;
12082 }
12083 _ACEOF
12084 rm -f conftest.$ac_objext conftest$ac_exeext
12085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12086   (eval $ac_link) 2>conftest.er1
12087   ac_status=$?
12088   grep -v '^ *+' conftest.er1 >conftest.err
12089   rm -f conftest.er1
12090   cat conftest.err >&5
12091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092   (exit $ac_status); } &&
12093          { ac_try='test -z "$ac_c_werror_flag"
12094                          || test ! -s conftest.err'
12095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12096   (eval $ac_try) 2>&5
12097   ac_status=$?
12098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099   (exit $ac_status); }; } &&
12100          { ac_try='test -s conftest$ac_exeext'
12101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102   (eval $ac_try) 2>&5
12103   ac_status=$?
12104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105   (exit $ac_status); }; }; then
12106   ac_cv_lib_m_floorf=yes
12107 else
12108   echo "$as_me: failed program was:" >&5
12109 sed 's/^/| /' conftest.$ac_ext >&5
12110
12111 ac_cv_lib_m_floorf=no
12112 fi
12113 rm -f conftest.err conftest.$ac_objext \
12114       conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12116 fi
12117 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
12118 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
12119 if test $ac_cv_lib_m_floorf = yes; then
12120
12121 cat >>confdefs.h <<\_ACEOF
12122 #define HAVE_FLOORF 1
12123 _ACEOF
12124
12125 fi
12126
12127 echo "$as_me:$LINENO: checking for floor in -lm" >&5
12128 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
12129 if test "${ac_cv_lib_m_floor+set}" = set; then
12130   echo $ECHO_N "(cached) $ECHO_C" >&6
12131 else
12132   ac_check_lib_save_LIBS=$LIBS
12133 LIBS="-lm  $LIBS"
12134 if test x$gcc_no_link = xyes; then
12135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12137    { (exit 1); exit 1; }; }
12138 fi
12139 cat >conftest.$ac_ext <<_ACEOF
12140 /* confdefs.h.  */
12141 _ACEOF
12142 cat confdefs.h >>conftest.$ac_ext
12143 cat >>conftest.$ac_ext <<_ACEOF
12144 /* end confdefs.h.  */
12145
12146 /* Override any gcc2 internal prototype to avoid an error.  */
12147 #ifdef __cplusplus
12148 extern "C"
12149 #endif
12150 /* We use char because int might match the return type of a gcc2
12151    builtin and then its argument prototype would still apply.  */
12152 char floor ();
12153 int
12154 main ()
12155 {
12156 floor ();
12157   ;
12158   return 0;
12159 }
12160 _ACEOF
12161 rm -f conftest.$ac_objext conftest$ac_exeext
12162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12163   (eval $ac_link) 2>conftest.er1
12164   ac_status=$?
12165   grep -v '^ *+' conftest.er1 >conftest.err
12166   rm -f conftest.er1
12167   cat conftest.err >&5
12168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169   (exit $ac_status); } &&
12170          { ac_try='test -z "$ac_c_werror_flag"
12171                          || test ! -s conftest.err'
12172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12173   (eval $ac_try) 2>&5
12174   ac_status=$?
12175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176   (exit $ac_status); }; } &&
12177          { ac_try='test -s conftest$ac_exeext'
12178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179   (eval $ac_try) 2>&5
12180   ac_status=$?
12181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182   (exit $ac_status); }; }; then
12183   ac_cv_lib_m_floor=yes
12184 else
12185   echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12187
12188 ac_cv_lib_m_floor=no
12189 fi
12190 rm -f conftest.err conftest.$ac_objext \
12191       conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12193 fi
12194 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12195 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12196 if test $ac_cv_lib_m_floor = yes; then
12197
12198 cat >>confdefs.h <<\_ACEOF
12199 #define HAVE_FLOOR 1
12200 _ACEOF
12201
12202 fi
12203
12204 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12205 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12206 if test "${ac_cv_lib_m_floorl+set}" = set; then
12207   echo $ECHO_N "(cached) $ECHO_C" >&6
12208 else
12209   ac_check_lib_save_LIBS=$LIBS
12210 LIBS="-lm  $LIBS"
12211 if test x$gcc_no_link = xyes; then
12212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12214    { (exit 1); exit 1; }; }
12215 fi
12216 cat >conftest.$ac_ext <<_ACEOF
12217 /* confdefs.h.  */
12218 _ACEOF
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h.  */
12222
12223 /* Override any gcc2 internal prototype to avoid an error.  */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 /* We use char because int might match the return type of a gcc2
12228    builtin and then its argument prototype would still apply.  */
12229 char floorl ();
12230 int
12231 main ()
12232 {
12233 floorl ();
12234   ;
12235   return 0;
12236 }
12237 _ACEOF
12238 rm -f conftest.$ac_objext conftest$ac_exeext
12239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12240   (eval $ac_link) 2>conftest.er1
12241   ac_status=$?
12242   grep -v '^ *+' conftest.er1 >conftest.err
12243   rm -f conftest.er1
12244   cat conftest.err >&5
12245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246   (exit $ac_status); } &&
12247          { ac_try='test -z "$ac_c_werror_flag"
12248                          || test ! -s conftest.err'
12249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250   (eval $ac_try) 2>&5
12251   ac_status=$?
12252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253   (exit $ac_status); }; } &&
12254          { ac_try='test -s conftest$ac_exeext'
12255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256   (eval $ac_try) 2>&5
12257   ac_status=$?
12258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259   (exit $ac_status); }; }; then
12260   ac_cv_lib_m_floorl=yes
12261 else
12262   echo "$as_me: failed program was:" >&5
12263 sed 's/^/| /' conftest.$ac_ext >&5
12264
12265 ac_cv_lib_m_floorl=no
12266 fi
12267 rm -f conftest.err conftest.$ac_objext \
12268       conftest$ac_exeext conftest.$ac_ext
12269 LIBS=$ac_check_lib_save_LIBS
12270 fi
12271 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12272 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12273 if test $ac_cv_lib_m_floorl = yes; then
12274
12275 cat >>confdefs.h <<\_ACEOF
12276 #define HAVE_FLOORL 1
12277 _ACEOF
12278
12279 fi
12280
12281 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12282 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12283 if test "${ac_cv_lib_m_frexpf+set}" = set; then
12284   echo $ECHO_N "(cached) $ECHO_C" >&6
12285 else
12286   ac_check_lib_save_LIBS=$LIBS
12287 LIBS="-lm  $LIBS"
12288 if test x$gcc_no_link = xyes; then
12289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12291    { (exit 1); exit 1; }; }
12292 fi
12293 cat >conftest.$ac_ext <<_ACEOF
12294 /* confdefs.h.  */
12295 _ACEOF
12296 cat confdefs.h >>conftest.$ac_ext
12297 cat >>conftest.$ac_ext <<_ACEOF
12298 /* end confdefs.h.  */
12299
12300 /* Override any gcc2 internal prototype to avoid an error.  */
12301 #ifdef __cplusplus
12302 extern "C"
12303 #endif
12304 /* We use char because int might match the return type of a gcc2
12305    builtin and then its argument prototype would still apply.  */
12306 char frexpf ();
12307 int
12308 main ()
12309 {
12310 frexpf ();
12311   ;
12312   return 0;
12313 }
12314 _ACEOF
12315 rm -f conftest.$ac_objext conftest$ac_exeext
12316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12317   (eval $ac_link) 2>conftest.er1
12318   ac_status=$?
12319   grep -v '^ *+' conftest.er1 >conftest.err
12320   rm -f conftest.er1
12321   cat conftest.err >&5
12322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323   (exit $ac_status); } &&
12324          { ac_try='test -z "$ac_c_werror_flag"
12325                          || test ! -s conftest.err'
12326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327   (eval $ac_try) 2>&5
12328   ac_status=$?
12329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330   (exit $ac_status); }; } &&
12331          { ac_try='test -s conftest$ac_exeext'
12332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333   (eval $ac_try) 2>&5
12334   ac_status=$?
12335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336   (exit $ac_status); }; }; then
12337   ac_cv_lib_m_frexpf=yes
12338 else
12339   echo "$as_me: failed program was:" >&5
12340 sed 's/^/| /' conftest.$ac_ext >&5
12341
12342 ac_cv_lib_m_frexpf=no
12343 fi
12344 rm -f conftest.err conftest.$ac_objext \
12345       conftest$ac_exeext conftest.$ac_ext
12346 LIBS=$ac_check_lib_save_LIBS
12347 fi
12348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12349 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12350 if test $ac_cv_lib_m_frexpf = yes; then
12351
12352 cat >>confdefs.h <<\_ACEOF
12353 #define HAVE_FREXPF 1
12354 _ACEOF
12355
12356 fi
12357
12358 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12359 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12360 if test "${ac_cv_lib_m_frexp+set}" = set; then
12361   echo $ECHO_N "(cached) $ECHO_C" >&6
12362 else
12363   ac_check_lib_save_LIBS=$LIBS
12364 LIBS="-lm  $LIBS"
12365 if test x$gcc_no_link = xyes; then
12366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12368    { (exit 1); exit 1; }; }
12369 fi
12370 cat >conftest.$ac_ext <<_ACEOF
12371 /* confdefs.h.  */
12372 _ACEOF
12373 cat confdefs.h >>conftest.$ac_ext
12374 cat >>conftest.$ac_ext <<_ACEOF
12375 /* end confdefs.h.  */
12376
12377 /* Override any gcc2 internal prototype to avoid an error.  */
12378 #ifdef __cplusplus
12379 extern "C"
12380 #endif
12381 /* We use char because int might match the return type of a gcc2
12382    builtin and then its argument prototype would still apply.  */
12383 char frexp ();
12384 int
12385 main ()
12386 {
12387 frexp ();
12388   ;
12389   return 0;
12390 }
12391 _ACEOF
12392 rm -f conftest.$ac_objext conftest$ac_exeext
12393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12394   (eval $ac_link) 2>conftest.er1
12395   ac_status=$?
12396   grep -v '^ *+' conftest.er1 >conftest.err
12397   rm -f conftest.er1
12398   cat conftest.err >&5
12399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400   (exit $ac_status); } &&
12401          { ac_try='test -z "$ac_c_werror_flag"
12402                          || test ! -s conftest.err'
12403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404   (eval $ac_try) 2>&5
12405   ac_status=$?
12406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407   (exit $ac_status); }; } &&
12408          { ac_try='test -s conftest$ac_exeext'
12409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410   (eval $ac_try) 2>&5
12411   ac_status=$?
12412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413   (exit $ac_status); }; }; then
12414   ac_cv_lib_m_frexp=yes
12415 else
12416   echo "$as_me: failed program was:" >&5
12417 sed 's/^/| /' conftest.$ac_ext >&5
12418
12419 ac_cv_lib_m_frexp=no
12420 fi
12421 rm -f conftest.err conftest.$ac_objext \
12422       conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_lib_save_LIBS
12424 fi
12425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12426 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12427 if test $ac_cv_lib_m_frexp = yes; then
12428
12429 cat >>confdefs.h <<\_ACEOF
12430 #define HAVE_FREXP 1
12431 _ACEOF
12432
12433 fi
12434
12435 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12436 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12437 if test "${ac_cv_lib_m_frexpl+set}" = set; then
12438   echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440   ac_check_lib_save_LIBS=$LIBS
12441 LIBS="-lm  $LIBS"
12442 if test x$gcc_no_link = xyes; then
12443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12445    { (exit 1); exit 1; }; }
12446 fi
12447 cat >conftest.$ac_ext <<_ACEOF
12448 /* confdefs.h.  */
12449 _ACEOF
12450 cat confdefs.h >>conftest.$ac_ext
12451 cat >>conftest.$ac_ext <<_ACEOF
12452 /* end confdefs.h.  */
12453
12454 /* Override any gcc2 internal prototype to avoid an error.  */
12455 #ifdef __cplusplus
12456 extern "C"
12457 #endif
12458 /* We use char because int might match the return type of a gcc2
12459    builtin and then its argument prototype would still apply.  */
12460 char frexpl ();
12461 int
12462 main ()
12463 {
12464 frexpl ();
12465   ;
12466   return 0;
12467 }
12468 _ACEOF
12469 rm -f conftest.$ac_objext conftest$ac_exeext
12470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12471   (eval $ac_link) 2>conftest.er1
12472   ac_status=$?
12473   grep -v '^ *+' conftest.er1 >conftest.err
12474   rm -f conftest.er1
12475   cat conftest.err >&5
12476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477   (exit $ac_status); } &&
12478          { ac_try='test -z "$ac_c_werror_flag"
12479                          || test ! -s conftest.err'
12480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481   (eval $ac_try) 2>&5
12482   ac_status=$?
12483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484   (exit $ac_status); }; } &&
12485          { ac_try='test -s conftest$ac_exeext'
12486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487   (eval $ac_try) 2>&5
12488   ac_status=$?
12489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490   (exit $ac_status); }; }; then
12491   ac_cv_lib_m_frexpl=yes
12492 else
12493   echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12495
12496 ac_cv_lib_m_frexpl=no
12497 fi
12498 rm -f conftest.err conftest.$ac_objext \
12499       conftest$ac_exeext conftest.$ac_ext
12500 LIBS=$ac_check_lib_save_LIBS
12501 fi
12502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12503 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12504 if test $ac_cv_lib_m_frexpl = yes; then
12505
12506 cat >>confdefs.h <<\_ACEOF
12507 #define HAVE_FREXPL 1
12508 _ACEOF
12509
12510 fi
12511
12512 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12513 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12514 if test "${ac_cv_lib_m_hypotf+set}" = set; then
12515   echo $ECHO_N "(cached) $ECHO_C" >&6
12516 else
12517   ac_check_lib_save_LIBS=$LIBS
12518 LIBS="-lm  $LIBS"
12519 if test x$gcc_no_link = xyes; then
12520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12522    { (exit 1); exit 1; }; }
12523 fi
12524 cat >conftest.$ac_ext <<_ACEOF
12525 /* confdefs.h.  */
12526 _ACEOF
12527 cat confdefs.h >>conftest.$ac_ext
12528 cat >>conftest.$ac_ext <<_ACEOF
12529 /* end confdefs.h.  */
12530
12531 /* Override any gcc2 internal prototype to avoid an error.  */
12532 #ifdef __cplusplus
12533 extern "C"
12534 #endif
12535 /* We use char because int might match the return type of a gcc2
12536    builtin and then its argument prototype would still apply.  */
12537 char hypotf ();
12538 int
12539 main ()
12540 {
12541 hypotf ();
12542   ;
12543   return 0;
12544 }
12545 _ACEOF
12546 rm -f conftest.$ac_objext conftest$ac_exeext
12547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12548   (eval $ac_link) 2>conftest.er1
12549   ac_status=$?
12550   grep -v '^ *+' conftest.er1 >conftest.err
12551   rm -f conftest.er1
12552   cat conftest.err >&5
12553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554   (exit $ac_status); } &&
12555          { ac_try='test -z "$ac_c_werror_flag"
12556                          || test ! -s conftest.err'
12557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558   (eval $ac_try) 2>&5
12559   ac_status=$?
12560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561   (exit $ac_status); }; } &&
12562          { ac_try='test -s conftest$ac_exeext'
12563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564   (eval $ac_try) 2>&5
12565   ac_status=$?
12566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567   (exit $ac_status); }; }; then
12568   ac_cv_lib_m_hypotf=yes
12569 else
12570   echo "$as_me: failed program was:" >&5
12571 sed 's/^/| /' conftest.$ac_ext >&5
12572
12573 ac_cv_lib_m_hypotf=no
12574 fi
12575 rm -f conftest.err conftest.$ac_objext \
12576       conftest$ac_exeext conftest.$ac_ext
12577 LIBS=$ac_check_lib_save_LIBS
12578 fi
12579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12580 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12581 if test $ac_cv_lib_m_hypotf = yes; then
12582
12583 cat >>confdefs.h <<\_ACEOF
12584 #define HAVE_HYPOTF 1
12585 _ACEOF
12586
12587 fi
12588
12589 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12590 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12591 if test "${ac_cv_lib_m_hypot+set}" = set; then
12592   echo $ECHO_N "(cached) $ECHO_C" >&6
12593 else
12594   ac_check_lib_save_LIBS=$LIBS
12595 LIBS="-lm  $LIBS"
12596 if test x$gcc_no_link = xyes; then
12597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12599    { (exit 1); exit 1; }; }
12600 fi
12601 cat >conftest.$ac_ext <<_ACEOF
12602 /* confdefs.h.  */
12603 _ACEOF
12604 cat confdefs.h >>conftest.$ac_ext
12605 cat >>conftest.$ac_ext <<_ACEOF
12606 /* end confdefs.h.  */
12607
12608 /* Override any gcc2 internal prototype to avoid an error.  */
12609 #ifdef __cplusplus
12610 extern "C"
12611 #endif
12612 /* We use char because int might match the return type of a gcc2
12613    builtin and then its argument prototype would still apply.  */
12614 char hypot ();
12615 int
12616 main ()
12617 {
12618 hypot ();
12619   ;
12620   return 0;
12621 }
12622 _ACEOF
12623 rm -f conftest.$ac_objext conftest$ac_exeext
12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625   (eval $ac_link) 2>conftest.er1
12626   ac_status=$?
12627   grep -v '^ *+' conftest.er1 >conftest.err
12628   rm -f conftest.er1
12629   cat conftest.err >&5
12630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631   (exit $ac_status); } &&
12632          { ac_try='test -z "$ac_c_werror_flag"
12633                          || test ! -s conftest.err'
12634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635   (eval $ac_try) 2>&5
12636   ac_status=$?
12637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638   (exit $ac_status); }; } &&
12639          { ac_try='test -s conftest$ac_exeext'
12640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641   (eval $ac_try) 2>&5
12642   ac_status=$?
12643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644   (exit $ac_status); }; }; then
12645   ac_cv_lib_m_hypot=yes
12646 else
12647   echo "$as_me: failed program was:" >&5
12648 sed 's/^/| /' conftest.$ac_ext >&5
12649
12650 ac_cv_lib_m_hypot=no
12651 fi
12652 rm -f conftest.err conftest.$ac_objext \
12653       conftest$ac_exeext conftest.$ac_ext
12654 LIBS=$ac_check_lib_save_LIBS
12655 fi
12656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12657 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12658 if test $ac_cv_lib_m_hypot = yes; then
12659
12660 cat >>confdefs.h <<\_ACEOF
12661 #define HAVE_HYPOT 1
12662 _ACEOF
12663
12664 fi
12665
12666 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12667 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12668 if test "${ac_cv_lib_m_hypotl+set}" = set; then
12669   echo $ECHO_N "(cached) $ECHO_C" >&6
12670 else
12671   ac_check_lib_save_LIBS=$LIBS
12672 LIBS="-lm  $LIBS"
12673 if test x$gcc_no_link = xyes; then
12674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12676    { (exit 1); exit 1; }; }
12677 fi
12678 cat >conftest.$ac_ext <<_ACEOF
12679 /* confdefs.h.  */
12680 _ACEOF
12681 cat confdefs.h >>conftest.$ac_ext
12682 cat >>conftest.$ac_ext <<_ACEOF
12683 /* end confdefs.h.  */
12684
12685 /* Override any gcc2 internal prototype to avoid an error.  */
12686 #ifdef __cplusplus
12687 extern "C"
12688 #endif
12689 /* We use char because int might match the return type of a gcc2
12690    builtin and then its argument prototype would still apply.  */
12691 char hypotl ();
12692 int
12693 main ()
12694 {
12695 hypotl ();
12696   ;
12697   return 0;
12698 }
12699 _ACEOF
12700 rm -f conftest.$ac_objext conftest$ac_exeext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12702   (eval $ac_link) 2>conftest.er1
12703   ac_status=$?
12704   grep -v '^ *+' conftest.er1 >conftest.err
12705   rm -f conftest.er1
12706   cat conftest.err >&5
12707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708   (exit $ac_status); } &&
12709          { ac_try='test -z "$ac_c_werror_flag"
12710                          || test ! -s conftest.err'
12711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712   (eval $ac_try) 2>&5
12713   ac_status=$?
12714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715   (exit $ac_status); }; } &&
12716          { ac_try='test -s conftest$ac_exeext'
12717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718   (eval $ac_try) 2>&5
12719   ac_status=$?
12720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721   (exit $ac_status); }; }; then
12722   ac_cv_lib_m_hypotl=yes
12723 else
12724   echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 ac_cv_lib_m_hypotl=no
12728 fi
12729 rm -f conftest.err conftest.$ac_objext \
12730       conftest$ac_exeext conftest.$ac_ext
12731 LIBS=$ac_check_lib_save_LIBS
12732 fi
12733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12734 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12735 if test $ac_cv_lib_m_hypotl = yes; then
12736
12737 cat >>confdefs.h <<\_ACEOF
12738 #define HAVE_HYPOTL 1
12739 _ACEOF
12740
12741 fi
12742
12743 echo "$as_me:$LINENO: checking for logf in -lm" >&5
12744 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12745 if test "${ac_cv_lib_m_logf+set}" = set; then
12746   echo $ECHO_N "(cached) $ECHO_C" >&6
12747 else
12748   ac_check_lib_save_LIBS=$LIBS
12749 LIBS="-lm  $LIBS"
12750 if test x$gcc_no_link = xyes; then
12751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12753    { (exit 1); exit 1; }; }
12754 fi
12755 cat >conftest.$ac_ext <<_ACEOF
12756 /* confdefs.h.  */
12757 _ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h.  */
12761
12762 /* Override any gcc2 internal prototype to avoid an error.  */
12763 #ifdef __cplusplus
12764 extern "C"
12765 #endif
12766 /* We use char because int might match the return type of a gcc2
12767    builtin and then its argument prototype would still apply.  */
12768 char logf ();
12769 int
12770 main ()
12771 {
12772 logf ();
12773   ;
12774   return 0;
12775 }
12776 _ACEOF
12777 rm -f conftest.$ac_objext conftest$ac_exeext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12779   (eval $ac_link) 2>conftest.er1
12780   ac_status=$?
12781   grep -v '^ *+' conftest.er1 >conftest.err
12782   rm -f conftest.er1
12783   cat conftest.err >&5
12784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785   (exit $ac_status); } &&
12786          { ac_try='test -z "$ac_c_werror_flag"
12787                          || test ! -s conftest.err'
12788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789   (eval $ac_try) 2>&5
12790   ac_status=$?
12791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792   (exit $ac_status); }; } &&
12793          { ac_try='test -s conftest$ac_exeext'
12794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795   (eval $ac_try) 2>&5
12796   ac_status=$?
12797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798   (exit $ac_status); }; }; then
12799   ac_cv_lib_m_logf=yes
12800 else
12801   echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12803
12804 ac_cv_lib_m_logf=no
12805 fi
12806 rm -f conftest.err conftest.$ac_objext \
12807       conftest$ac_exeext conftest.$ac_ext
12808 LIBS=$ac_check_lib_save_LIBS
12809 fi
12810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12811 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12812 if test $ac_cv_lib_m_logf = yes; then
12813
12814 cat >>confdefs.h <<\_ACEOF
12815 #define HAVE_LOGF 1
12816 _ACEOF
12817
12818 fi
12819
12820 echo "$as_me:$LINENO: checking for log in -lm" >&5
12821 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12822 if test "${ac_cv_lib_m_log+set}" = set; then
12823   echo $ECHO_N "(cached) $ECHO_C" >&6
12824 else
12825   ac_check_lib_save_LIBS=$LIBS
12826 LIBS="-lm  $LIBS"
12827 if test x$gcc_no_link = xyes; then
12828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12830    { (exit 1); exit 1; }; }
12831 fi
12832 cat >conftest.$ac_ext <<_ACEOF
12833 /* confdefs.h.  */
12834 _ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h.  */
12838
12839 /* Override any gcc2 internal prototype to avoid an error.  */
12840 #ifdef __cplusplus
12841 extern "C"
12842 #endif
12843 /* We use char because int might match the return type of a gcc2
12844    builtin and then its argument prototype would still apply.  */
12845 char log ();
12846 int
12847 main ()
12848 {
12849 log ();
12850   ;
12851   return 0;
12852 }
12853 _ACEOF
12854 rm -f conftest.$ac_objext conftest$ac_exeext
12855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856   (eval $ac_link) 2>conftest.er1
12857   ac_status=$?
12858   grep -v '^ *+' conftest.er1 >conftest.err
12859   rm -f conftest.er1
12860   cat conftest.err >&5
12861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862   (exit $ac_status); } &&
12863          { ac_try='test -z "$ac_c_werror_flag"
12864                          || test ! -s conftest.err'
12865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12866   (eval $ac_try) 2>&5
12867   ac_status=$?
12868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869   (exit $ac_status); }; } &&
12870          { ac_try='test -s conftest$ac_exeext'
12871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12872   (eval $ac_try) 2>&5
12873   ac_status=$?
12874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875   (exit $ac_status); }; }; then
12876   ac_cv_lib_m_log=yes
12877 else
12878   echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.$ac_ext >&5
12880
12881 ac_cv_lib_m_log=no
12882 fi
12883 rm -f conftest.err conftest.$ac_objext \
12884       conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12886 fi
12887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12888 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12889 if test $ac_cv_lib_m_log = yes; then
12890
12891 cat >>confdefs.h <<\_ACEOF
12892 #define HAVE_LOG 1
12893 _ACEOF
12894
12895 fi
12896
12897 echo "$as_me:$LINENO: checking for logl in -lm" >&5
12898 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12899 if test "${ac_cv_lib_m_logl+set}" = set; then
12900   echo $ECHO_N "(cached) $ECHO_C" >&6
12901 else
12902   ac_check_lib_save_LIBS=$LIBS
12903 LIBS="-lm  $LIBS"
12904 if test x$gcc_no_link = xyes; then
12905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12907    { (exit 1); exit 1; }; }
12908 fi
12909 cat >conftest.$ac_ext <<_ACEOF
12910 /* confdefs.h.  */
12911 _ACEOF
12912 cat confdefs.h >>conftest.$ac_ext
12913 cat >>conftest.$ac_ext <<_ACEOF
12914 /* end confdefs.h.  */
12915
12916 /* Override any gcc2 internal prototype to avoid an error.  */
12917 #ifdef __cplusplus
12918 extern "C"
12919 #endif
12920 /* We use char because int might match the return type of a gcc2
12921    builtin and then its argument prototype would still apply.  */
12922 char logl ();
12923 int
12924 main ()
12925 {
12926 logl ();
12927   ;
12928   return 0;
12929 }
12930 _ACEOF
12931 rm -f conftest.$ac_objext conftest$ac_exeext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12933   (eval $ac_link) 2>conftest.er1
12934   ac_status=$?
12935   grep -v '^ *+' conftest.er1 >conftest.err
12936   rm -f conftest.er1
12937   cat conftest.err >&5
12938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939   (exit $ac_status); } &&
12940          { ac_try='test -z "$ac_c_werror_flag"
12941                          || test ! -s conftest.err'
12942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943   (eval $ac_try) 2>&5
12944   ac_status=$?
12945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946   (exit $ac_status); }; } &&
12947          { ac_try='test -s conftest$ac_exeext'
12948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949   (eval $ac_try) 2>&5
12950   ac_status=$?
12951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952   (exit $ac_status); }; }; then
12953   ac_cv_lib_m_logl=yes
12954 else
12955   echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.$ac_ext >&5
12957
12958 ac_cv_lib_m_logl=no
12959 fi
12960 rm -f conftest.err conftest.$ac_objext \
12961       conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12963 fi
12964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
12965 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12966 if test $ac_cv_lib_m_logl = yes; then
12967
12968 cat >>confdefs.h <<\_ACEOF
12969 #define HAVE_LOGL 1
12970 _ACEOF
12971
12972 fi
12973
12974 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12975 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12976 if test "${ac_cv_lib_m_clogf+set}" = set; then
12977   echo $ECHO_N "(cached) $ECHO_C" >&6
12978 else
12979   ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lm  $LIBS"
12981 if test x$gcc_no_link = xyes; then
12982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12984    { (exit 1); exit 1; }; }
12985 fi
12986 cat >conftest.$ac_ext <<_ACEOF
12987 /* confdefs.h.  */
12988 _ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h.  */
12992
12993 /* Override any gcc2 internal prototype to avoid an error.  */
12994 #ifdef __cplusplus
12995 extern "C"
12996 #endif
12997 /* We use char because int might match the return type of a gcc2
12998    builtin and then its argument prototype would still apply.  */
12999 char clogf ();
13000 int
13001 main ()
13002 {
13003 clogf ();
13004   ;
13005   return 0;
13006 }
13007 _ACEOF
13008 rm -f conftest.$ac_objext conftest$ac_exeext
13009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13010   (eval $ac_link) 2>conftest.er1
13011   ac_status=$?
13012   grep -v '^ *+' conftest.er1 >conftest.err
13013   rm -f conftest.er1
13014   cat conftest.err >&5
13015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016   (exit $ac_status); } &&
13017          { ac_try='test -z "$ac_c_werror_flag"
13018                          || test ! -s conftest.err'
13019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13020   (eval $ac_try) 2>&5
13021   ac_status=$?
13022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023   (exit $ac_status); }; } &&
13024          { ac_try='test -s conftest$ac_exeext'
13025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026   (eval $ac_try) 2>&5
13027   ac_status=$?
13028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029   (exit $ac_status); }; }; then
13030   ac_cv_lib_m_clogf=yes
13031 else
13032   echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.$ac_ext >&5
13034
13035 ac_cv_lib_m_clogf=no
13036 fi
13037 rm -f conftest.err conftest.$ac_objext \
13038       conftest$ac_exeext conftest.$ac_ext
13039 LIBS=$ac_check_lib_save_LIBS
13040 fi
13041 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
13042 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
13043 if test $ac_cv_lib_m_clogf = yes; then
13044
13045 cat >>confdefs.h <<\_ACEOF
13046 #define HAVE_CLOGF 1
13047 _ACEOF
13048
13049 fi
13050
13051 echo "$as_me:$LINENO: checking for clog in -lm" >&5
13052 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
13053 if test "${ac_cv_lib_m_clog+set}" = set; then
13054   echo $ECHO_N "(cached) $ECHO_C" >&6
13055 else
13056   ac_check_lib_save_LIBS=$LIBS
13057 LIBS="-lm  $LIBS"
13058 if test x$gcc_no_link = xyes; then
13059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13061    { (exit 1); exit 1; }; }
13062 fi
13063 cat >conftest.$ac_ext <<_ACEOF
13064 /* confdefs.h.  */
13065 _ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h.  */
13069
13070 /* Override any gcc2 internal prototype to avoid an error.  */
13071 #ifdef __cplusplus
13072 extern "C"
13073 #endif
13074 /* We use char because int might match the return type of a gcc2
13075    builtin and then its argument prototype would still apply.  */
13076 char clog ();
13077 int
13078 main ()
13079 {
13080 clog ();
13081   ;
13082   return 0;
13083 }
13084 _ACEOF
13085 rm -f conftest.$ac_objext conftest$ac_exeext
13086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13087   (eval $ac_link) 2>conftest.er1
13088   ac_status=$?
13089   grep -v '^ *+' conftest.er1 >conftest.err
13090   rm -f conftest.er1
13091   cat conftest.err >&5
13092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093   (exit $ac_status); } &&
13094          { ac_try='test -z "$ac_c_werror_flag"
13095                          || test ! -s conftest.err'
13096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13097   (eval $ac_try) 2>&5
13098   ac_status=$?
13099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100   (exit $ac_status); }; } &&
13101          { ac_try='test -s conftest$ac_exeext'
13102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103   (eval $ac_try) 2>&5
13104   ac_status=$?
13105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106   (exit $ac_status); }; }; then
13107   ac_cv_lib_m_clog=yes
13108 else
13109   echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13111
13112 ac_cv_lib_m_clog=no
13113 fi
13114 rm -f conftest.err conftest.$ac_objext \
13115       conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_lib_save_LIBS
13117 fi
13118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
13119 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
13120 if test $ac_cv_lib_m_clog = yes; then
13121
13122 cat >>confdefs.h <<\_ACEOF
13123 #define HAVE_CLOG 1
13124 _ACEOF
13125
13126 fi
13127
13128 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
13129 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
13130 if test "${ac_cv_lib_m_clogl+set}" = set; then
13131   echo $ECHO_N "(cached) $ECHO_C" >&6
13132 else
13133   ac_check_lib_save_LIBS=$LIBS
13134 LIBS="-lm  $LIBS"
13135 if test x$gcc_no_link = xyes; then
13136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13138    { (exit 1); exit 1; }; }
13139 fi
13140 cat >conftest.$ac_ext <<_ACEOF
13141 /* confdefs.h.  */
13142 _ACEOF
13143 cat confdefs.h >>conftest.$ac_ext
13144 cat >>conftest.$ac_ext <<_ACEOF
13145 /* end confdefs.h.  */
13146
13147 /* Override any gcc2 internal prototype to avoid an error.  */
13148 #ifdef __cplusplus
13149 extern "C"
13150 #endif
13151 /* We use char because int might match the return type of a gcc2
13152    builtin and then its argument prototype would still apply.  */
13153 char clogl ();
13154 int
13155 main ()
13156 {
13157 clogl ();
13158   ;
13159   return 0;
13160 }
13161 _ACEOF
13162 rm -f conftest.$ac_objext conftest$ac_exeext
13163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13164   (eval $ac_link) 2>conftest.er1
13165   ac_status=$?
13166   grep -v '^ *+' conftest.er1 >conftest.err
13167   rm -f conftest.er1
13168   cat conftest.err >&5
13169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170   (exit $ac_status); } &&
13171          { ac_try='test -z "$ac_c_werror_flag"
13172                          || test ! -s conftest.err'
13173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13174   (eval $ac_try) 2>&5
13175   ac_status=$?
13176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177   (exit $ac_status); }; } &&
13178          { ac_try='test -s conftest$ac_exeext'
13179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180   (eval $ac_try) 2>&5
13181   ac_status=$?
13182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183   (exit $ac_status); }; }; then
13184   ac_cv_lib_m_clogl=yes
13185 else
13186   echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.$ac_ext >&5
13188
13189 ac_cv_lib_m_clogl=no
13190 fi
13191 rm -f conftest.err conftest.$ac_objext \
13192       conftest$ac_exeext conftest.$ac_ext
13193 LIBS=$ac_check_lib_save_LIBS
13194 fi
13195 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13196 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13197 if test $ac_cv_lib_m_clogl = yes; then
13198
13199 cat >>confdefs.h <<\_ACEOF
13200 #define HAVE_CLOGL 1
13201 _ACEOF
13202
13203 fi
13204
13205 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13206 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13207 if test "${ac_cv_lib_m_log10f+set}" = set; then
13208   echo $ECHO_N "(cached) $ECHO_C" >&6
13209 else
13210   ac_check_lib_save_LIBS=$LIBS
13211 LIBS="-lm  $LIBS"
13212 if test x$gcc_no_link = xyes; then
13213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13215    { (exit 1); exit 1; }; }
13216 fi
13217 cat >conftest.$ac_ext <<_ACEOF
13218 /* confdefs.h.  */
13219 _ACEOF
13220 cat confdefs.h >>conftest.$ac_ext
13221 cat >>conftest.$ac_ext <<_ACEOF
13222 /* end confdefs.h.  */
13223
13224 /* Override any gcc2 internal prototype to avoid an error.  */
13225 #ifdef __cplusplus
13226 extern "C"
13227 #endif
13228 /* We use char because int might match the return type of a gcc2
13229    builtin and then its argument prototype would still apply.  */
13230 char log10f ();
13231 int
13232 main ()
13233 {
13234 log10f ();
13235   ;
13236   return 0;
13237 }
13238 _ACEOF
13239 rm -f conftest.$ac_objext conftest$ac_exeext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13241   (eval $ac_link) 2>conftest.er1
13242   ac_status=$?
13243   grep -v '^ *+' conftest.er1 >conftest.err
13244   rm -f conftest.er1
13245   cat conftest.err >&5
13246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247   (exit $ac_status); } &&
13248          { ac_try='test -z "$ac_c_werror_flag"
13249                          || test ! -s conftest.err'
13250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251   (eval $ac_try) 2>&5
13252   ac_status=$?
13253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254   (exit $ac_status); }; } &&
13255          { ac_try='test -s conftest$ac_exeext'
13256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257   (eval $ac_try) 2>&5
13258   ac_status=$?
13259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260   (exit $ac_status); }; }; then
13261   ac_cv_lib_m_log10f=yes
13262 else
13263   echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13265
13266 ac_cv_lib_m_log10f=no
13267 fi
13268 rm -f conftest.err conftest.$ac_objext \
13269       conftest$ac_exeext conftest.$ac_ext
13270 LIBS=$ac_check_lib_save_LIBS
13271 fi
13272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13273 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13274 if test $ac_cv_lib_m_log10f = yes; then
13275
13276 cat >>confdefs.h <<\_ACEOF
13277 #define HAVE_LOG10F 1
13278 _ACEOF
13279
13280 fi
13281
13282 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13283 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13284 if test "${ac_cv_lib_m_log10+set}" = set; then
13285   echo $ECHO_N "(cached) $ECHO_C" >&6
13286 else
13287   ac_check_lib_save_LIBS=$LIBS
13288 LIBS="-lm  $LIBS"
13289 if test x$gcc_no_link = xyes; then
13290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13292    { (exit 1); exit 1; }; }
13293 fi
13294 cat >conftest.$ac_ext <<_ACEOF
13295 /* confdefs.h.  */
13296 _ACEOF
13297 cat confdefs.h >>conftest.$ac_ext
13298 cat >>conftest.$ac_ext <<_ACEOF
13299 /* end confdefs.h.  */
13300
13301 /* Override any gcc2 internal prototype to avoid an error.  */
13302 #ifdef __cplusplus
13303 extern "C"
13304 #endif
13305 /* We use char because int might match the return type of a gcc2
13306    builtin and then its argument prototype would still apply.  */
13307 char log10 ();
13308 int
13309 main ()
13310 {
13311 log10 ();
13312   ;
13313   return 0;
13314 }
13315 _ACEOF
13316 rm -f conftest.$ac_objext conftest$ac_exeext
13317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13318   (eval $ac_link) 2>conftest.er1
13319   ac_status=$?
13320   grep -v '^ *+' conftest.er1 >conftest.err
13321   rm -f conftest.er1
13322   cat conftest.err >&5
13323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324   (exit $ac_status); } &&
13325          { ac_try='test -z "$ac_c_werror_flag"
13326                          || test ! -s conftest.err'
13327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328   (eval $ac_try) 2>&5
13329   ac_status=$?
13330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331   (exit $ac_status); }; } &&
13332          { ac_try='test -s conftest$ac_exeext'
13333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334   (eval $ac_try) 2>&5
13335   ac_status=$?
13336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337   (exit $ac_status); }; }; then
13338   ac_cv_lib_m_log10=yes
13339 else
13340   echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13342
13343 ac_cv_lib_m_log10=no
13344 fi
13345 rm -f conftest.err conftest.$ac_objext \
13346       conftest$ac_exeext conftest.$ac_ext
13347 LIBS=$ac_check_lib_save_LIBS
13348 fi
13349 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13350 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13351 if test $ac_cv_lib_m_log10 = yes; then
13352
13353 cat >>confdefs.h <<\_ACEOF
13354 #define HAVE_LOG10 1
13355 _ACEOF
13356
13357 fi
13358
13359 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13360 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13361 if test "${ac_cv_lib_m_log10l+set}" = set; then
13362   echo $ECHO_N "(cached) $ECHO_C" >&6
13363 else
13364   ac_check_lib_save_LIBS=$LIBS
13365 LIBS="-lm  $LIBS"
13366 if test x$gcc_no_link = xyes; then
13367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13369    { (exit 1); exit 1; }; }
13370 fi
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h.  */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h.  */
13377
13378 /* Override any gcc2 internal prototype to avoid an error.  */
13379 #ifdef __cplusplus
13380 extern "C"
13381 #endif
13382 /* We use char because int might match the return type of a gcc2
13383    builtin and then its argument prototype would still apply.  */
13384 char log10l ();
13385 int
13386 main ()
13387 {
13388 log10l ();
13389   ;
13390   return 0;
13391 }
13392 _ACEOF
13393 rm -f conftest.$ac_objext conftest$ac_exeext
13394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13395   (eval $ac_link) 2>conftest.er1
13396   ac_status=$?
13397   grep -v '^ *+' conftest.er1 >conftest.err
13398   rm -f conftest.er1
13399   cat conftest.err >&5
13400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401   (exit $ac_status); } &&
13402          { ac_try='test -z "$ac_c_werror_flag"
13403                          || test ! -s conftest.err'
13404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405   (eval $ac_try) 2>&5
13406   ac_status=$?
13407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408   (exit $ac_status); }; } &&
13409          { ac_try='test -s conftest$ac_exeext'
13410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411   (eval $ac_try) 2>&5
13412   ac_status=$?
13413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414   (exit $ac_status); }; }; then
13415   ac_cv_lib_m_log10l=yes
13416 else
13417   echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13419
13420 ac_cv_lib_m_log10l=no
13421 fi
13422 rm -f conftest.err conftest.$ac_objext \
13423       conftest$ac_exeext conftest.$ac_ext
13424 LIBS=$ac_check_lib_save_LIBS
13425 fi
13426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13427 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13428 if test $ac_cv_lib_m_log10l = yes; then
13429
13430 cat >>confdefs.h <<\_ACEOF
13431 #define HAVE_LOG10L 1
13432 _ACEOF
13433
13434 fi
13435
13436 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13437 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13438 if test "${ac_cv_lib_m_clog10f+set}" = set; then
13439   echo $ECHO_N "(cached) $ECHO_C" >&6
13440 else
13441   ac_check_lib_save_LIBS=$LIBS
13442 LIBS="-lm  $LIBS"
13443 if test x$gcc_no_link = xyes; then
13444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13446    { (exit 1); exit 1; }; }
13447 fi
13448 cat >conftest.$ac_ext <<_ACEOF
13449 /* confdefs.h.  */
13450 _ACEOF
13451 cat confdefs.h >>conftest.$ac_ext
13452 cat >>conftest.$ac_ext <<_ACEOF
13453 /* end confdefs.h.  */
13454
13455 /* Override any gcc2 internal prototype to avoid an error.  */
13456 #ifdef __cplusplus
13457 extern "C"
13458 #endif
13459 /* We use char because int might match the return type of a gcc2
13460    builtin and then its argument prototype would still apply.  */
13461 char clog10f ();
13462 int
13463 main ()
13464 {
13465 clog10f ();
13466   ;
13467   return 0;
13468 }
13469 _ACEOF
13470 rm -f conftest.$ac_objext conftest$ac_exeext
13471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13472   (eval $ac_link) 2>conftest.er1
13473   ac_status=$?
13474   grep -v '^ *+' conftest.er1 >conftest.err
13475   rm -f conftest.er1
13476   cat conftest.err >&5
13477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478   (exit $ac_status); } &&
13479          { ac_try='test -z "$ac_c_werror_flag"
13480                          || test ! -s conftest.err'
13481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13482   (eval $ac_try) 2>&5
13483   ac_status=$?
13484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485   (exit $ac_status); }; } &&
13486          { ac_try='test -s conftest$ac_exeext'
13487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488   (eval $ac_try) 2>&5
13489   ac_status=$?
13490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491   (exit $ac_status); }; }; then
13492   ac_cv_lib_m_clog10f=yes
13493 else
13494   echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.$ac_ext >&5
13496
13497 ac_cv_lib_m_clog10f=no
13498 fi
13499 rm -f conftest.err conftest.$ac_objext \
13500       conftest$ac_exeext conftest.$ac_ext
13501 LIBS=$ac_check_lib_save_LIBS
13502 fi
13503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13504 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13505 if test $ac_cv_lib_m_clog10f = yes; then
13506
13507 cat >>confdefs.h <<\_ACEOF
13508 #define HAVE_CLOG10F 1
13509 _ACEOF
13510
13511 fi
13512
13513 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13514 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13515 if test "${ac_cv_lib_m_clog10+set}" = set; then
13516   echo $ECHO_N "(cached) $ECHO_C" >&6
13517 else
13518   ac_check_lib_save_LIBS=$LIBS
13519 LIBS="-lm  $LIBS"
13520 if test x$gcc_no_link = xyes; then
13521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13523    { (exit 1); exit 1; }; }
13524 fi
13525 cat >conftest.$ac_ext <<_ACEOF
13526 /* confdefs.h.  */
13527 _ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h.  */
13531
13532 /* Override any gcc2 internal prototype to avoid an error.  */
13533 #ifdef __cplusplus
13534 extern "C"
13535 #endif
13536 /* We use char because int might match the return type of a gcc2
13537    builtin and then its argument prototype would still apply.  */
13538 char clog10 ();
13539 int
13540 main ()
13541 {
13542 clog10 ();
13543   ;
13544   return 0;
13545 }
13546 _ACEOF
13547 rm -f conftest.$ac_objext conftest$ac_exeext
13548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13549   (eval $ac_link) 2>conftest.er1
13550   ac_status=$?
13551   grep -v '^ *+' conftest.er1 >conftest.err
13552   rm -f conftest.er1
13553   cat conftest.err >&5
13554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555   (exit $ac_status); } &&
13556          { ac_try='test -z "$ac_c_werror_flag"
13557                          || test ! -s conftest.err'
13558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559   (eval $ac_try) 2>&5
13560   ac_status=$?
13561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562   (exit $ac_status); }; } &&
13563          { ac_try='test -s conftest$ac_exeext'
13564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565   (eval $ac_try) 2>&5
13566   ac_status=$?
13567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568   (exit $ac_status); }; }; then
13569   ac_cv_lib_m_clog10=yes
13570 else
13571   echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.$ac_ext >&5
13573
13574 ac_cv_lib_m_clog10=no
13575 fi
13576 rm -f conftest.err conftest.$ac_objext \
13577       conftest$ac_exeext conftest.$ac_ext
13578 LIBS=$ac_check_lib_save_LIBS
13579 fi
13580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13581 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13582 if test $ac_cv_lib_m_clog10 = yes; then
13583
13584 cat >>confdefs.h <<\_ACEOF
13585 #define HAVE_CLOG10 1
13586 _ACEOF
13587
13588 fi
13589
13590 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13591 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13592 if test "${ac_cv_lib_m_clog10l+set}" = set; then
13593   echo $ECHO_N "(cached) $ECHO_C" >&6
13594 else
13595   ac_check_lib_save_LIBS=$LIBS
13596 LIBS="-lm  $LIBS"
13597 if test x$gcc_no_link = xyes; then
13598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13600    { (exit 1); exit 1; }; }
13601 fi
13602 cat >conftest.$ac_ext <<_ACEOF
13603 /* confdefs.h.  */
13604 _ACEOF
13605 cat confdefs.h >>conftest.$ac_ext
13606 cat >>conftest.$ac_ext <<_ACEOF
13607 /* end confdefs.h.  */
13608
13609 /* Override any gcc2 internal prototype to avoid an error.  */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 /* We use char because int might match the return type of a gcc2
13614    builtin and then its argument prototype would still apply.  */
13615 char clog10l ();
13616 int
13617 main ()
13618 {
13619 clog10l ();
13620   ;
13621   return 0;
13622 }
13623 _ACEOF
13624 rm -f conftest.$ac_objext conftest$ac_exeext
13625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13626   (eval $ac_link) 2>conftest.er1
13627   ac_status=$?
13628   grep -v '^ *+' conftest.er1 >conftest.err
13629   rm -f conftest.er1
13630   cat conftest.err >&5
13631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632   (exit $ac_status); } &&
13633          { ac_try='test -z "$ac_c_werror_flag"
13634                          || test ! -s conftest.err'
13635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636   (eval $ac_try) 2>&5
13637   ac_status=$?
13638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639   (exit $ac_status); }; } &&
13640          { ac_try='test -s conftest$ac_exeext'
13641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13642   (eval $ac_try) 2>&5
13643   ac_status=$?
13644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645   (exit $ac_status); }; }; then
13646   ac_cv_lib_m_clog10l=yes
13647 else
13648   echo "$as_me: failed program was:" >&5
13649 sed 's/^/| /' conftest.$ac_ext >&5
13650
13651 ac_cv_lib_m_clog10l=no
13652 fi
13653 rm -f conftest.err conftest.$ac_objext \
13654       conftest$ac_exeext conftest.$ac_ext
13655 LIBS=$ac_check_lib_save_LIBS
13656 fi
13657 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13658 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13659 if test $ac_cv_lib_m_clog10l = yes; then
13660
13661 cat >>confdefs.h <<\_ACEOF
13662 #define HAVE_CLOG10L 1
13663 _ACEOF
13664
13665 fi
13666
13667 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13668 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13669 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13670   echo $ECHO_N "(cached) $ECHO_C" >&6
13671 else
13672   ac_check_lib_save_LIBS=$LIBS
13673 LIBS="-lm  $LIBS"
13674 if test x$gcc_no_link = xyes; then
13675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13677    { (exit 1); exit 1; }; }
13678 fi
13679 cat >conftest.$ac_ext <<_ACEOF
13680 /* confdefs.h.  */
13681 _ACEOF
13682 cat confdefs.h >>conftest.$ac_ext
13683 cat >>conftest.$ac_ext <<_ACEOF
13684 /* end confdefs.h.  */
13685
13686 /* Override any gcc2 internal prototype to avoid an error.  */
13687 #ifdef __cplusplus
13688 extern "C"
13689 #endif
13690 /* We use char because int might match the return type of a gcc2
13691    builtin and then its argument prototype would still apply.  */
13692 char nextafterf ();
13693 int
13694 main ()
13695 {
13696 nextafterf ();
13697   ;
13698   return 0;
13699 }
13700 _ACEOF
13701 rm -f conftest.$ac_objext conftest$ac_exeext
13702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13703   (eval $ac_link) 2>conftest.er1
13704   ac_status=$?
13705   grep -v '^ *+' conftest.er1 >conftest.err
13706   rm -f conftest.er1
13707   cat conftest.err >&5
13708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709   (exit $ac_status); } &&
13710          { ac_try='test -z "$ac_c_werror_flag"
13711                          || test ! -s conftest.err'
13712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713   (eval $ac_try) 2>&5
13714   ac_status=$?
13715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716   (exit $ac_status); }; } &&
13717          { ac_try='test -s conftest$ac_exeext'
13718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13719   (eval $ac_try) 2>&5
13720   ac_status=$?
13721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722   (exit $ac_status); }; }; then
13723   ac_cv_lib_m_nextafterf=yes
13724 else
13725   echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13727
13728 ac_cv_lib_m_nextafterf=no
13729 fi
13730 rm -f conftest.err conftest.$ac_objext \
13731       conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_check_lib_save_LIBS
13733 fi
13734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13735 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13736 if test $ac_cv_lib_m_nextafterf = yes; then
13737
13738 cat >>confdefs.h <<\_ACEOF
13739 #define HAVE_NEXTAFTERF 1
13740 _ACEOF
13741
13742 fi
13743
13744 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13745 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13746 if test "${ac_cv_lib_m_nextafter+set}" = set; then
13747   echo $ECHO_N "(cached) $ECHO_C" >&6
13748 else
13749   ac_check_lib_save_LIBS=$LIBS
13750 LIBS="-lm  $LIBS"
13751 if test x$gcc_no_link = xyes; then
13752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13754    { (exit 1); exit 1; }; }
13755 fi
13756 cat >conftest.$ac_ext <<_ACEOF
13757 /* confdefs.h.  */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h.  */
13762
13763 /* Override any gcc2 internal prototype to avoid an error.  */
13764 #ifdef __cplusplus
13765 extern "C"
13766 #endif
13767 /* We use char because int might match the return type of a gcc2
13768    builtin and then its argument prototype would still apply.  */
13769 char nextafter ();
13770 int
13771 main ()
13772 {
13773 nextafter ();
13774   ;
13775   return 0;
13776 }
13777 _ACEOF
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13780   (eval $ac_link) 2>conftest.er1
13781   ac_status=$?
13782   grep -v '^ *+' conftest.er1 >conftest.err
13783   rm -f conftest.er1
13784   cat conftest.err >&5
13785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786   (exit $ac_status); } &&
13787          { ac_try='test -z "$ac_c_werror_flag"
13788                          || test ! -s conftest.err'
13789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790   (eval $ac_try) 2>&5
13791   ac_status=$?
13792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793   (exit $ac_status); }; } &&
13794          { ac_try='test -s conftest$ac_exeext'
13795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796   (eval $ac_try) 2>&5
13797   ac_status=$?
13798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799   (exit $ac_status); }; }; then
13800   ac_cv_lib_m_nextafter=yes
13801 else
13802   echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.$ac_ext >&5
13804
13805 ac_cv_lib_m_nextafter=no
13806 fi
13807 rm -f conftest.err conftest.$ac_objext \
13808       conftest$ac_exeext conftest.$ac_ext
13809 LIBS=$ac_check_lib_save_LIBS
13810 fi
13811 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13812 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13813 if test $ac_cv_lib_m_nextafter = yes; then
13814
13815 cat >>confdefs.h <<\_ACEOF
13816 #define HAVE_NEXTAFTER 1
13817 _ACEOF
13818
13819 fi
13820
13821 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13822 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13823 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13824   echo $ECHO_N "(cached) $ECHO_C" >&6
13825 else
13826   ac_check_lib_save_LIBS=$LIBS
13827 LIBS="-lm  $LIBS"
13828 if test x$gcc_no_link = xyes; then
13829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13831    { (exit 1); exit 1; }; }
13832 fi
13833 cat >conftest.$ac_ext <<_ACEOF
13834 /* confdefs.h.  */
13835 _ACEOF
13836 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF
13838 /* end confdefs.h.  */
13839
13840 /* Override any gcc2 internal prototype to avoid an error.  */
13841 #ifdef __cplusplus
13842 extern "C"
13843 #endif
13844 /* We use char because int might match the return type of a gcc2
13845    builtin and then its argument prototype would still apply.  */
13846 char nextafterl ();
13847 int
13848 main ()
13849 {
13850 nextafterl ();
13851   ;
13852   return 0;
13853 }
13854 _ACEOF
13855 rm -f conftest.$ac_objext conftest$ac_exeext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13857   (eval $ac_link) 2>conftest.er1
13858   ac_status=$?
13859   grep -v '^ *+' conftest.er1 >conftest.err
13860   rm -f conftest.er1
13861   cat conftest.err >&5
13862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863   (exit $ac_status); } &&
13864          { ac_try='test -z "$ac_c_werror_flag"
13865                          || test ! -s conftest.err'
13866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867   (eval $ac_try) 2>&5
13868   ac_status=$?
13869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870   (exit $ac_status); }; } &&
13871          { ac_try='test -s conftest$ac_exeext'
13872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873   (eval $ac_try) 2>&5
13874   ac_status=$?
13875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876   (exit $ac_status); }; }; then
13877   ac_cv_lib_m_nextafterl=yes
13878 else
13879   echo "$as_me: failed program was:" >&5
13880 sed 's/^/| /' conftest.$ac_ext >&5
13881
13882 ac_cv_lib_m_nextafterl=no
13883 fi
13884 rm -f conftest.err conftest.$ac_objext \
13885       conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_lib_save_LIBS
13887 fi
13888 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13889 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13890 if test $ac_cv_lib_m_nextafterl = yes; then
13891
13892 cat >>confdefs.h <<\_ACEOF
13893 #define HAVE_NEXTAFTERL 1
13894 _ACEOF
13895
13896 fi
13897
13898 echo "$as_me:$LINENO: checking for powf in -lm" >&5
13899 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13900 if test "${ac_cv_lib_m_powf+set}" = set; then
13901   echo $ECHO_N "(cached) $ECHO_C" >&6
13902 else
13903   ac_check_lib_save_LIBS=$LIBS
13904 LIBS="-lm  $LIBS"
13905 if test x$gcc_no_link = xyes; then
13906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13908    { (exit 1); exit 1; }; }
13909 fi
13910 cat >conftest.$ac_ext <<_ACEOF
13911 /* confdefs.h.  */
13912 _ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h.  */
13916
13917 /* Override any gcc2 internal prototype to avoid an error.  */
13918 #ifdef __cplusplus
13919 extern "C"
13920 #endif
13921 /* We use char because int might match the return type of a gcc2
13922    builtin and then its argument prototype would still apply.  */
13923 char powf ();
13924 int
13925 main ()
13926 {
13927 powf ();
13928   ;
13929   return 0;
13930 }
13931 _ACEOF
13932 rm -f conftest.$ac_objext conftest$ac_exeext
13933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13934   (eval $ac_link) 2>conftest.er1
13935   ac_status=$?
13936   grep -v '^ *+' conftest.er1 >conftest.err
13937   rm -f conftest.er1
13938   cat conftest.err >&5
13939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940   (exit $ac_status); } &&
13941          { ac_try='test -z "$ac_c_werror_flag"
13942                          || test ! -s conftest.err'
13943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944   (eval $ac_try) 2>&5
13945   ac_status=$?
13946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947   (exit $ac_status); }; } &&
13948          { ac_try='test -s conftest$ac_exeext'
13949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950   (eval $ac_try) 2>&5
13951   ac_status=$?
13952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953   (exit $ac_status); }; }; then
13954   ac_cv_lib_m_powf=yes
13955 else
13956   echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.$ac_ext >&5
13958
13959 ac_cv_lib_m_powf=no
13960 fi
13961 rm -f conftest.err conftest.$ac_objext \
13962       conftest$ac_exeext conftest.$ac_ext
13963 LIBS=$ac_check_lib_save_LIBS
13964 fi
13965 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13966 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13967 if test $ac_cv_lib_m_powf = yes; then
13968
13969 cat >>confdefs.h <<\_ACEOF
13970 #define HAVE_POWF 1
13971 _ACEOF
13972
13973 fi
13974
13975 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13976 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13977 if test "${ac_cv_lib_m_pow+set}" = set; then
13978   echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980   ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-lm  $LIBS"
13982 if test x$gcc_no_link = xyes; then
13983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13985    { (exit 1); exit 1; }; }
13986 fi
13987 cat >conftest.$ac_ext <<_ACEOF
13988 /* confdefs.h.  */
13989 _ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h.  */
13993
13994 /* Override any gcc2 internal prototype to avoid an error.  */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 /* We use char because int might match the return type of a gcc2
13999    builtin and then its argument prototype would still apply.  */
14000 char pow ();
14001 int
14002 main ()
14003 {
14004 pow ();
14005   ;
14006   return 0;
14007 }
14008 _ACEOF
14009 rm -f conftest.$ac_objext conftest$ac_exeext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14011   (eval $ac_link) 2>conftest.er1
14012   ac_status=$?
14013   grep -v '^ *+' conftest.er1 >conftest.err
14014   rm -f conftest.er1
14015   cat conftest.err >&5
14016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017   (exit $ac_status); } &&
14018          { ac_try='test -z "$ac_c_werror_flag"
14019                          || test ! -s conftest.err'
14020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021   (eval $ac_try) 2>&5
14022   ac_status=$?
14023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024   (exit $ac_status); }; } &&
14025          { ac_try='test -s conftest$ac_exeext'
14026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027   (eval $ac_try) 2>&5
14028   ac_status=$?
14029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030   (exit $ac_status); }; }; then
14031   ac_cv_lib_m_pow=yes
14032 else
14033   echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14035
14036 ac_cv_lib_m_pow=no
14037 fi
14038 rm -f conftest.err conftest.$ac_objext \
14039       conftest$ac_exeext conftest.$ac_ext
14040 LIBS=$ac_check_lib_save_LIBS
14041 fi
14042 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
14043 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
14044 if test $ac_cv_lib_m_pow = yes; then
14045
14046 cat >>confdefs.h <<\_ACEOF
14047 #define HAVE_POW 1
14048 _ACEOF
14049
14050 fi
14051
14052 echo "$as_me:$LINENO: checking for powl in -lm" >&5
14053 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
14054 if test "${ac_cv_lib_m_powl+set}" = set; then
14055   echo $ECHO_N "(cached) $ECHO_C" >&6
14056 else
14057   ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-lm  $LIBS"
14059 if test x$gcc_no_link = xyes; then
14060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14062    { (exit 1); exit 1; }; }
14063 fi
14064 cat >conftest.$ac_ext <<_ACEOF
14065 /* confdefs.h.  */
14066 _ACEOF
14067 cat confdefs.h >>conftest.$ac_ext
14068 cat >>conftest.$ac_ext <<_ACEOF
14069 /* end confdefs.h.  */
14070
14071 /* Override any gcc2 internal prototype to avoid an error.  */
14072 #ifdef __cplusplus
14073 extern "C"
14074 #endif
14075 /* We use char because int might match the return type of a gcc2
14076    builtin and then its argument prototype would still apply.  */
14077 char powl ();
14078 int
14079 main ()
14080 {
14081 powl ();
14082   ;
14083   return 0;
14084 }
14085 _ACEOF
14086 rm -f conftest.$ac_objext conftest$ac_exeext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14088   (eval $ac_link) 2>conftest.er1
14089   ac_status=$?
14090   grep -v '^ *+' conftest.er1 >conftest.err
14091   rm -f conftest.er1
14092   cat conftest.err >&5
14093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094   (exit $ac_status); } &&
14095          { ac_try='test -z "$ac_c_werror_flag"
14096                          || test ! -s conftest.err'
14097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098   (eval $ac_try) 2>&5
14099   ac_status=$?
14100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101   (exit $ac_status); }; } &&
14102          { ac_try='test -s conftest$ac_exeext'
14103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104   (eval $ac_try) 2>&5
14105   ac_status=$?
14106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107   (exit $ac_status); }; }; then
14108   ac_cv_lib_m_powl=yes
14109 else
14110   echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.$ac_ext >&5
14112
14113 ac_cv_lib_m_powl=no
14114 fi
14115 rm -f conftest.err conftest.$ac_objext \
14116       conftest$ac_exeext conftest.$ac_ext
14117 LIBS=$ac_check_lib_save_LIBS
14118 fi
14119 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
14120 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
14121 if test $ac_cv_lib_m_powl = yes; then
14122
14123 cat >>confdefs.h <<\_ACEOF
14124 #define HAVE_POWL 1
14125 _ACEOF
14126
14127 fi
14128
14129 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
14130 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
14131 if test "${ac_cv_lib_m_cpowf+set}" = set; then
14132   echo $ECHO_N "(cached) $ECHO_C" >&6
14133 else
14134   ac_check_lib_save_LIBS=$LIBS
14135 LIBS="-lm  $LIBS"
14136 if test x$gcc_no_link = xyes; then
14137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14139    { (exit 1); exit 1; }; }
14140 fi
14141 cat >conftest.$ac_ext <<_ACEOF
14142 /* confdefs.h.  */
14143 _ACEOF
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h.  */
14147
14148 /* Override any gcc2 internal prototype to avoid an error.  */
14149 #ifdef __cplusplus
14150 extern "C"
14151 #endif
14152 /* We use char because int might match the return type of a gcc2
14153    builtin and then its argument prototype would still apply.  */
14154 char cpowf ();
14155 int
14156 main ()
14157 {
14158 cpowf ();
14159   ;
14160   return 0;
14161 }
14162 _ACEOF
14163 rm -f conftest.$ac_objext conftest$ac_exeext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14165   (eval $ac_link) 2>conftest.er1
14166   ac_status=$?
14167   grep -v '^ *+' conftest.er1 >conftest.err
14168   rm -f conftest.er1
14169   cat conftest.err >&5
14170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171   (exit $ac_status); } &&
14172          { ac_try='test -z "$ac_c_werror_flag"
14173                          || test ! -s conftest.err'
14174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175   (eval $ac_try) 2>&5
14176   ac_status=$?
14177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178   (exit $ac_status); }; } &&
14179          { ac_try='test -s conftest$ac_exeext'
14180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181   (eval $ac_try) 2>&5
14182   ac_status=$?
14183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184   (exit $ac_status); }; }; then
14185   ac_cv_lib_m_cpowf=yes
14186 else
14187   echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14189
14190 ac_cv_lib_m_cpowf=no
14191 fi
14192 rm -f conftest.err conftest.$ac_objext \
14193       conftest$ac_exeext conftest.$ac_ext
14194 LIBS=$ac_check_lib_save_LIBS
14195 fi
14196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14197 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14198 if test $ac_cv_lib_m_cpowf = yes; then
14199
14200 cat >>confdefs.h <<\_ACEOF
14201 #define HAVE_CPOWF 1
14202 _ACEOF
14203
14204 fi
14205
14206 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14207 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14208 if test "${ac_cv_lib_m_cpow+set}" = set; then
14209   echo $ECHO_N "(cached) $ECHO_C" >&6
14210 else
14211   ac_check_lib_save_LIBS=$LIBS
14212 LIBS="-lm  $LIBS"
14213 if test x$gcc_no_link = xyes; then
14214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14216    { (exit 1); exit 1; }; }
14217 fi
14218 cat >conftest.$ac_ext <<_ACEOF
14219 /* confdefs.h.  */
14220 _ACEOF
14221 cat confdefs.h >>conftest.$ac_ext
14222 cat >>conftest.$ac_ext <<_ACEOF
14223 /* end confdefs.h.  */
14224
14225 /* Override any gcc2 internal prototype to avoid an error.  */
14226 #ifdef __cplusplus
14227 extern "C"
14228 #endif
14229 /* We use char because int might match the return type of a gcc2
14230    builtin and then its argument prototype would still apply.  */
14231 char cpow ();
14232 int
14233 main ()
14234 {
14235 cpow ();
14236   ;
14237   return 0;
14238 }
14239 _ACEOF
14240 rm -f conftest.$ac_objext conftest$ac_exeext
14241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14242   (eval $ac_link) 2>conftest.er1
14243   ac_status=$?
14244   grep -v '^ *+' conftest.er1 >conftest.err
14245   rm -f conftest.er1
14246   cat conftest.err >&5
14247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248   (exit $ac_status); } &&
14249          { ac_try='test -z "$ac_c_werror_flag"
14250                          || test ! -s conftest.err'
14251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252   (eval $ac_try) 2>&5
14253   ac_status=$?
14254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255   (exit $ac_status); }; } &&
14256          { ac_try='test -s conftest$ac_exeext'
14257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258   (eval $ac_try) 2>&5
14259   ac_status=$?
14260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261   (exit $ac_status); }; }; then
14262   ac_cv_lib_m_cpow=yes
14263 else
14264   echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14266
14267 ac_cv_lib_m_cpow=no
14268 fi
14269 rm -f conftest.err conftest.$ac_objext \
14270       conftest$ac_exeext conftest.$ac_ext
14271 LIBS=$ac_check_lib_save_LIBS
14272 fi
14273 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14274 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14275 if test $ac_cv_lib_m_cpow = yes; then
14276
14277 cat >>confdefs.h <<\_ACEOF
14278 #define HAVE_CPOW 1
14279 _ACEOF
14280
14281 fi
14282
14283 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14284 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14285 if test "${ac_cv_lib_m_cpowl+set}" = set; then
14286   echo $ECHO_N "(cached) $ECHO_C" >&6
14287 else
14288   ac_check_lib_save_LIBS=$LIBS
14289 LIBS="-lm  $LIBS"
14290 if test x$gcc_no_link = xyes; then
14291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14293    { (exit 1); exit 1; }; }
14294 fi
14295 cat >conftest.$ac_ext <<_ACEOF
14296 /* confdefs.h.  */
14297 _ACEOF
14298 cat confdefs.h >>conftest.$ac_ext
14299 cat >>conftest.$ac_ext <<_ACEOF
14300 /* end confdefs.h.  */
14301
14302 /* Override any gcc2 internal prototype to avoid an error.  */
14303 #ifdef __cplusplus
14304 extern "C"
14305 #endif
14306 /* We use char because int might match the return type of a gcc2
14307    builtin and then its argument prototype would still apply.  */
14308 char cpowl ();
14309 int
14310 main ()
14311 {
14312 cpowl ();
14313   ;
14314   return 0;
14315 }
14316 _ACEOF
14317 rm -f conftest.$ac_objext conftest$ac_exeext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14319   (eval $ac_link) 2>conftest.er1
14320   ac_status=$?
14321   grep -v '^ *+' conftest.er1 >conftest.err
14322   rm -f conftest.er1
14323   cat conftest.err >&5
14324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325   (exit $ac_status); } &&
14326          { ac_try='test -z "$ac_c_werror_flag"
14327                          || test ! -s conftest.err'
14328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329   (eval $ac_try) 2>&5
14330   ac_status=$?
14331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332   (exit $ac_status); }; } &&
14333          { ac_try='test -s conftest$ac_exeext'
14334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335   (eval $ac_try) 2>&5
14336   ac_status=$?
14337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338   (exit $ac_status); }; }; then
14339   ac_cv_lib_m_cpowl=yes
14340 else
14341   echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14343
14344 ac_cv_lib_m_cpowl=no
14345 fi
14346 rm -f conftest.err conftest.$ac_objext \
14347       conftest$ac_exeext conftest.$ac_ext
14348 LIBS=$ac_check_lib_save_LIBS
14349 fi
14350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14351 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14352 if test $ac_cv_lib_m_cpowl = yes; then
14353
14354 cat >>confdefs.h <<\_ACEOF
14355 #define HAVE_CPOWL 1
14356 _ACEOF
14357
14358 fi
14359
14360 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14361 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14362 if test "${ac_cv_lib_m_roundf+set}" = set; then
14363   echo $ECHO_N "(cached) $ECHO_C" >&6
14364 else
14365   ac_check_lib_save_LIBS=$LIBS
14366 LIBS="-lm  $LIBS"
14367 if test x$gcc_no_link = xyes; then
14368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14370    { (exit 1); exit 1; }; }
14371 fi
14372 cat >conftest.$ac_ext <<_ACEOF
14373 /* confdefs.h.  */
14374 _ACEOF
14375 cat confdefs.h >>conftest.$ac_ext
14376 cat >>conftest.$ac_ext <<_ACEOF
14377 /* end confdefs.h.  */
14378
14379 /* Override any gcc2 internal prototype to avoid an error.  */
14380 #ifdef __cplusplus
14381 extern "C"
14382 #endif
14383 /* We use char because int might match the return type of a gcc2
14384    builtin and then its argument prototype would still apply.  */
14385 char roundf ();
14386 int
14387 main ()
14388 {
14389 roundf ();
14390   ;
14391   return 0;
14392 }
14393 _ACEOF
14394 rm -f conftest.$ac_objext conftest$ac_exeext
14395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14396   (eval $ac_link) 2>conftest.er1
14397   ac_status=$?
14398   grep -v '^ *+' conftest.er1 >conftest.err
14399   rm -f conftest.er1
14400   cat conftest.err >&5
14401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402   (exit $ac_status); } &&
14403          { ac_try='test -z "$ac_c_werror_flag"
14404                          || test ! -s conftest.err'
14405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406   (eval $ac_try) 2>&5
14407   ac_status=$?
14408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409   (exit $ac_status); }; } &&
14410          { ac_try='test -s conftest$ac_exeext'
14411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412   (eval $ac_try) 2>&5
14413   ac_status=$?
14414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415   (exit $ac_status); }; }; then
14416   ac_cv_lib_m_roundf=yes
14417 else
14418   echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.$ac_ext >&5
14420
14421 ac_cv_lib_m_roundf=no
14422 fi
14423 rm -f conftest.err conftest.$ac_objext \
14424       conftest$ac_exeext conftest.$ac_ext
14425 LIBS=$ac_check_lib_save_LIBS
14426 fi
14427 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14428 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14429 if test $ac_cv_lib_m_roundf = yes; then
14430
14431 cat >>confdefs.h <<\_ACEOF
14432 #define HAVE_ROUNDF 1
14433 _ACEOF
14434
14435 fi
14436
14437 echo "$as_me:$LINENO: checking for round in -lm" >&5
14438 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14439 if test "${ac_cv_lib_m_round+set}" = set; then
14440   echo $ECHO_N "(cached) $ECHO_C" >&6
14441 else
14442   ac_check_lib_save_LIBS=$LIBS
14443 LIBS="-lm  $LIBS"
14444 if test x$gcc_no_link = xyes; then
14445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14447    { (exit 1); exit 1; }; }
14448 fi
14449 cat >conftest.$ac_ext <<_ACEOF
14450 /* confdefs.h.  */
14451 _ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h.  */
14455
14456 /* Override any gcc2 internal prototype to avoid an error.  */
14457 #ifdef __cplusplus
14458 extern "C"
14459 #endif
14460 /* We use char because int might match the return type of a gcc2
14461    builtin and then its argument prototype would still apply.  */
14462 char round ();
14463 int
14464 main ()
14465 {
14466 round ();
14467   ;
14468   return 0;
14469 }
14470 _ACEOF
14471 rm -f conftest.$ac_objext conftest$ac_exeext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14473   (eval $ac_link) 2>conftest.er1
14474   ac_status=$?
14475   grep -v '^ *+' conftest.er1 >conftest.err
14476   rm -f conftest.er1
14477   cat conftest.err >&5
14478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479   (exit $ac_status); } &&
14480          { ac_try='test -z "$ac_c_werror_flag"
14481                          || test ! -s conftest.err'
14482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483   (eval $ac_try) 2>&5
14484   ac_status=$?
14485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486   (exit $ac_status); }; } &&
14487          { ac_try='test -s conftest$ac_exeext'
14488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489   (eval $ac_try) 2>&5
14490   ac_status=$?
14491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492   (exit $ac_status); }; }; then
14493   ac_cv_lib_m_round=yes
14494 else
14495   echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14497
14498 ac_cv_lib_m_round=no
14499 fi
14500 rm -f conftest.err conftest.$ac_objext \
14501       conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS
14503 fi
14504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14505 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14506 if test $ac_cv_lib_m_round = yes; then
14507
14508 cat >>confdefs.h <<\_ACEOF
14509 #define HAVE_ROUND 1
14510 _ACEOF
14511
14512 fi
14513
14514 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14515 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14516 if test "${ac_cv_lib_m_roundl+set}" = set; then
14517   echo $ECHO_N "(cached) $ECHO_C" >&6
14518 else
14519   ac_check_lib_save_LIBS=$LIBS
14520 LIBS="-lm  $LIBS"
14521 if test x$gcc_no_link = xyes; then
14522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14524    { (exit 1); exit 1; }; }
14525 fi
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h.  */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h.  */
14532
14533 /* Override any gcc2 internal prototype to avoid an error.  */
14534 #ifdef __cplusplus
14535 extern "C"
14536 #endif
14537 /* We use char because int might match the return type of a gcc2
14538    builtin and then its argument prototype would still apply.  */
14539 char roundl ();
14540 int
14541 main ()
14542 {
14543 roundl ();
14544   ;
14545   return 0;
14546 }
14547 _ACEOF
14548 rm -f conftest.$ac_objext conftest$ac_exeext
14549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14550   (eval $ac_link) 2>conftest.er1
14551   ac_status=$?
14552   grep -v '^ *+' conftest.er1 >conftest.err
14553   rm -f conftest.er1
14554   cat conftest.err >&5
14555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556   (exit $ac_status); } &&
14557          { ac_try='test -z "$ac_c_werror_flag"
14558                          || test ! -s conftest.err'
14559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560   (eval $ac_try) 2>&5
14561   ac_status=$?
14562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563   (exit $ac_status); }; } &&
14564          { ac_try='test -s conftest$ac_exeext'
14565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566   (eval $ac_try) 2>&5
14567   ac_status=$?
14568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569   (exit $ac_status); }; }; then
14570   ac_cv_lib_m_roundl=yes
14571 else
14572   echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14574
14575 ac_cv_lib_m_roundl=no
14576 fi
14577 rm -f conftest.err conftest.$ac_objext \
14578       conftest$ac_exeext conftest.$ac_ext
14579 LIBS=$ac_check_lib_save_LIBS
14580 fi
14581 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14582 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14583 if test $ac_cv_lib_m_roundl = yes; then
14584
14585 cat >>confdefs.h <<\_ACEOF
14586 #define HAVE_ROUNDL 1
14587 _ACEOF
14588
14589 fi
14590
14591 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14592 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14593 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14594   echo $ECHO_N "(cached) $ECHO_C" >&6
14595 else
14596   ac_check_lib_save_LIBS=$LIBS
14597 LIBS="-lm  $LIBS"
14598 if test x$gcc_no_link = xyes; then
14599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14601    { (exit 1); exit 1; }; }
14602 fi
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h.  */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h.  */
14609
14610 /* Override any gcc2 internal prototype to avoid an error.  */
14611 #ifdef __cplusplus
14612 extern "C"
14613 #endif
14614 /* We use char because int might match the return type of a gcc2
14615    builtin and then its argument prototype would still apply.  */
14616 char scalbnf ();
14617 int
14618 main ()
14619 {
14620 scalbnf ();
14621   ;
14622   return 0;
14623 }
14624 _ACEOF
14625 rm -f conftest.$ac_objext conftest$ac_exeext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14627   (eval $ac_link) 2>conftest.er1
14628   ac_status=$?
14629   grep -v '^ *+' conftest.er1 >conftest.err
14630   rm -f conftest.er1
14631   cat conftest.err >&5
14632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633   (exit $ac_status); } &&
14634          { ac_try='test -z "$ac_c_werror_flag"
14635                          || test ! -s conftest.err'
14636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637   (eval $ac_try) 2>&5
14638   ac_status=$?
14639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640   (exit $ac_status); }; } &&
14641          { ac_try='test -s conftest$ac_exeext'
14642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643   (eval $ac_try) 2>&5
14644   ac_status=$?
14645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646   (exit $ac_status); }; }; then
14647   ac_cv_lib_m_scalbnf=yes
14648 else
14649   echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14651
14652 ac_cv_lib_m_scalbnf=no
14653 fi
14654 rm -f conftest.err conftest.$ac_objext \
14655       conftest$ac_exeext conftest.$ac_ext
14656 LIBS=$ac_check_lib_save_LIBS
14657 fi
14658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14659 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14660 if test $ac_cv_lib_m_scalbnf = yes; then
14661
14662 cat >>confdefs.h <<\_ACEOF
14663 #define HAVE_SCALBNF 1
14664 _ACEOF
14665
14666 fi
14667
14668 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14669 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14670 if test "${ac_cv_lib_m_scalbn+set}" = set; then
14671   echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673   ac_check_lib_save_LIBS=$LIBS
14674 LIBS="-lm  $LIBS"
14675 if test x$gcc_no_link = xyes; then
14676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14678    { (exit 1); exit 1; }; }
14679 fi
14680 cat >conftest.$ac_ext <<_ACEOF
14681 /* confdefs.h.  */
14682 _ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h.  */
14686
14687 /* Override any gcc2 internal prototype to avoid an error.  */
14688 #ifdef __cplusplus
14689 extern "C"
14690 #endif
14691 /* We use char because int might match the return type of a gcc2
14692    builtin and then its argument prototype would still apply.  */
14693 char scalbn ();
14694 int
14695 main ()
14696 {
14697 scalbn ();
14698   ;
14699   return 0;
14700 }
14701 _ACEOF
14702 rm -f conftest.$ac_objext conftest$ac_exeext
14703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14704   (eval $ac_link) 2>conftest.er1
14705   ac_status=$?
14706   grep -v '^ *+' conftest.er1 >conftest.err
14707   rm -f conftest.er1
14708   cat conftest.err >&5
14709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710   (exit $ac_status); } &&
14711          { ac_try='test -z "$ac_c_werror_flag"
14712                          || test ! -s conftest.err'
14713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714   (eval $ac_try) 2>&5
14715   ac_status=$?
14716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717   (exit $ac_status); }; } &&
14718          { ac_try='test -s conftest$ac_exeext'
14719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720   (eval $ac_try) 2>&5
14721   ac_status=$?
14722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723   (exit $ac_status); }; }; then
14724   ac_cv_lib_m_scalbn=yes
14725 else
14726   echo "$as_me: failed program was:" >&5
14727 sed 's/^/| /' conftest.$ac_ext >&5
14728
14729 ac_cv_lib_m_scalbn=no
14730 fi
14731 rm -f conftest.err conftest.$ac_objext \
14732       conftest$ac_exeext conftest.$ac_ext
14733 LIBS=$ac_check_lib_save_LIBS
14734 fi
14735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14736 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14737 if test $ac_cv_lib_m_scalbn = yes; then
14738
14739 cat >>confdefs.h <<\_ACEOF
14740 #define HAVE_SCALBN 1
14741 _ACEOF
14742
14743 fi
14744
14745 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14746 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14747 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14748   echo $ECHO_N "(cached) $ECHO_C" >&6
14749 else
14750   ac_check_lib_save_LIBS=$LIBS
14751 LIBS="-lm  $LIBS"
14752 if test x$gcc_no_link = xyes; then
14753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14755    { (exit 1); exit 1; }; }
14756 fi
14757 cat >conftest.$ac_ext <<_ACEOF
14758 /* confdefs.h.  */
14759 _ACEOF
14760 cat confdefs.h >>conftest.$ac_ext
14761 cat >>conftest.$ac_ext <<_ACEOF
14762 /* end confdefs.h.  */
14763
14764 /* Override any gcc2 internal prototype to avoid an error.  */
14765 #ifdef __cplusplus
14766 extern "C"
14767 #endif
14768 /* We use char because int might match the return type of a gcc2
14769    builtin and then its argument prototype would still apply.  */
14770 char scalbnl ();
14771 int
14772 main ()
14773 {
14774 scalbnl ();
14775   ;
14776   return 0;
14777 }
14778 _ACEOF
14779 rm -f conftest.$ac_objext conftest$ac_exeext
14780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14781   (eval $ac_link) 2>conftest.er1
14782   ac_status=$?
14783   grep -v '^ *+' conftest.er1 >conftest.err
14784   rm -f conftest.er1
14785   cat conftest.err >&5
14786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787   (exit $ac_status); } &&
14788          { ac_try='test -z "$ac_c_werror_flag"
14789                          || test ! -s conftest.err'
14790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791   (eval $ac_try) 2>&5
14792   ac_status=$?
14793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794   (exit $ac_status); }; } &&
14795          { ac_try='test -s conftest$ac_exeext'
14796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14797   (eval $ac_try) 2>&5
14798   ac_status=$?
14799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800   (exit $ac_status); }; }; then
14801   ac_cv_lib_m_scalbnl=yes
14802 else
14803   echo "$as_me: failed program was:" >&5
14804 sed 's/^/| /' conftest.$ac_ext >&5
14805
14806 ac_cv_lib_m_scalbnl=no
14807 fi
14808 rm -f conftest.err conftest.$ac_objext \
14809       conftest$ac_exeext conftest.$ac_ext
14810 LIBS=$ac_check_lib_save_LIBS
14811 fi
14812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14813 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14814 if test $ac_cv_lib_m_scalbnl = yes; then
14815
14816 cat >>confdefs.h <<\_ACEOF
14817 #define HAVE_SCALBNL 1
14818 _ACEOF
14819
14820 fi
14821
14822 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14823 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14824 if test "${ac_cv_lib_m_sinf+set}" = set; then
14825   echo $ECHO_N "(cached) $ECHO_C" >&6
14826 else
14827   ac_check_lib_save_LIBS=$LIBS
14828 LIBS="-lm  $LIBS"
14829 if test x$gcc_no_link = xyes; then
14830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14832    { (exit 1); exit 1; }; }
14833 fi
14834 cat >conftest.$ac_ext <<_ACEOF
14835 /* confdefs.h.  */
14836 _ACEOF
14837 cat confdefs.h >>conftest.$ac_ext
14838 cat >>conftest.$ac_ext <<_ACEOF
14839 /* end confdefs.h.  */
14840
14841 /* Override any gcc2 internal prototype to avoid an error.  */
14842 #ifdef __cplusplus
14843 extern "C"
14844 #endif
14845 /* We use char because int might match the return type of a gcc2
14846    builtin and then its argument prototype would still apply.  */
14847 char sinf ();
14848 int
14849 main ()
14850 {
14851 sinf ();
14852   ;
14853   return 0;
14854 }
14855 _ACEOF
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14858   (eval $ac_link) 2>conftest.er1
14859   ac_status=$?
14860   grep -v '^ *+' conftest.er1 >conftest.err
14861   rm -f conftest.er1
14862   cat conftest.err >&5
14863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864   (exit $ac_status); } &&
14865          { ac_try='test -z "$ac_c_werror_flag"
14866                          || test ! -s conftest.err'
14867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868   (eval $ac_try) 2>&5
14869   ac_status=$?
14870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871   (exit $ac_status); }; } &&
14872          { ac_try='test -s conftest$ac_exeext'
14873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874   (eval $ac_try) 2>&5
14875   ac_status=$?
14876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877   (exit $ac_status); }; }; then
14878   ac_cv_lib_m_sinf=yes
14879 else
14880   echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14882
14883 ac_cv_lib_m_sinf=no
14884 fi
14885 rm -f conftest.err conftest.$ac_objext \
14886       conftest$ac_exeext conftest.$ac_ext
14887 LIBS=$ac_check_lib_save_LIBS
14888 fi
14889 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14890 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14891 if test $ac_cv_lib_m_sinf = yes; then
14892
14893 cat >>confdefs.h <<\_ACEOF
14894 #define HAVE_SINF 1
14895 _ACEOF
14896
14897 fi
14898
14899 echo "$as_me:$LINENO: checking for sin in -lm" >&5
14900 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14901 if test "${ac_cv_lib_m_sin+set}" = set; then
14902   echo $ECHO_N "(cached) $ECHO_C" >&6
14903 else
14904   ac_check_lib_save_LIBS=$LIBS
14905 LIBS="-lm  $LIBS"
14906 if test x$gcc_no_link = xyes; then
14907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14909    { (exit 1); exit 1; }; }
14910 fi
14911 cat >conftest.$ac_ext <<_ACEOF
14912 /* confdefs.h.  */
14913 _ACEOF
14914 cat confdefs.h >>conftest.$ac_ext
14915 cat >>conftest.$ac_ext <<_ACEOF
14916 /* end confdefs.h.  */
14917
14918 /* Override any gcc2 internal prototype to avoid an error.  */
14919 #ifdef __cplusplus
14920 extern "C"
14921 #endif
14922 /* We use char because int might match the return type of a gcc2
14923    builtin and then its argument prototype would still apply.  */
14924 char sin ();
14925 int
14926 main ()
14927 {
14928 sin ();
14929   ;
14930   return 0;
14931 }
14932 _ACEOF
14933 rm -f conftest.$ac_objext conftest$ac_exeext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14935   (eval $ac_link) 2>conftest.er1
14936   ac_status=$?
14937   grep -v '^ *+' conftest.er1 >conftest.err
14938   rm -f conftest.er1
14939   cat conftest.err >&5
14940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941   (exit $ac_status); } &&
14942          { ac_try='test -z "$ac_c_werror_flag"
14943                          || test ! -s conftest.err'
14944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945   (eval $ac_try) 2>&5
14946   ac_status=$?
14947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948   (exit $ac_status); }; } &&
14949          { ac_try='test -s conftest$ac_exeext'
14950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951   (eval $ac_try) 2>&5
14952   ac_status=$?
14953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954   (exit $ac_status); }; }; then
14955   ac_cv_lib_m_sin=yes
14956 else
14957   echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14959
14960 ac_cv_lib_m_sin=no
14961 fi
14962 rm -f conftest.err conftest.$ac_objext \
14963       conftest$ac_exeext conftest.$ac_ext
14964 LIBS=$ac_check_lib_save_LIBS
14965 fi
14966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14967 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14968 if test $ac_cv_lib_m_sin = yes; then
14969
14970 cat >>confdefs.h <<\_ACEOF
14971 #define HAVE_SIN 1
14972 _ACEOF
14973
14974 fi
14975
14976 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14977 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14978 if test "${ac_cv_lib_m_sinl+set}" = set; then
14979   echo $ECHO_N "(cached) $ECHO_C" >&6
14980 else
14981   ac_check_lib_save_LIBS=$LIBS
14982 LIBS="-lm  $LIBS"
14983 if test x$gcc_no_link = xyes; then
14984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14986    { (exit 1); exit 1; }; }
14987 fi
14988 cat >conftest.$ac_ext <<_ACEOF
14989 /* confdefs.h.  */
14990 _ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h.  */
14994
14995 /* Override any gcc2 internal prototype to avoid an error.  */
14996 #ifdef __cplusplus
14997 extern "C"
14998 #endif
14999 /* We use char because int might match the return type of a gcc2
15000    builtin and then its argument prototype would still apply.  */
15001 char sinl ();
15002 int
15003 main ()
15004 {
15005 sinl ();
15006   ;
15007   return 0;
15008 }
15009 _ACEOF
15010 rm -f conftest.$ac_objext conftest$ac_exeext
15011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15012   (eval $ac_link) 2>conftest.er1
15013   ac_status=$?
15014   grep -v '^ *+' conftest.er1 >conftest.err
15015   rm -f conftest.er1
15016   cat conftest.err >&5
15017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018   (exit $ac_status); } &&
15019          { ac_try='test -z "$ac_c_werror_flag"
15020                          || test ! -s conftest.err'
15021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022   (eval $ac_try) 2>&5
15023   ac_status=$?
15024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025   (exit $ac_status); }; } &&
15026          { ac_try='test -s conftest$ac_exeext'
15027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028   (eval $ac_try) 2>&5
15029   ac_status=$?
15030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031   (exit $ac_status); }; }; then
15032   ac_cv_lib_m_sinl=yes
15033 else
15034   echo "$as_me: failed program was:" >&5
15035 sed 's/^/| /' conftest.$ac_ext >&5
15036
15037 ac_cv_lib_m_sinl=no
15038 fi
15039 rm -f conftest.err conftest.$ac_objext \
15040       conftest$ac_exeext conftest.$ac_ext
15041 LIBS=$ac_check_lib_save_LIBS
15042 fi
15043 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
15044 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
15045 if test $ac_cv_lib_m_sinl = yes; then
15046
15047 cat >>confdefs.h <<\_ACEOF
15048 #define HAVE_SINL 1
15049 _ACEOF
15050
15051 fi
15052
15053 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
15054 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
15055 if test "${ac_cv_lib_m_csinf+set}" = set; then
15056   echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058   ac_check_lib_save_LIBS=$LIBS
15059 LIBS="-lm  $LIBS"
15060 if test x$gcc_no_link = xyes; then
15061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15063    { (exit 1); exit 1; }; }
15064 fi
15065 cat >conftest.$ac_ext <<_ACEOF
15066 /* confdefs.h.  */
15067 _ACEOF
15068 cat confdefs.h >>conftest.$ac_ext
15069 cat >>conftest.$ac_ext <<_ACEOF
15070 /* end confdefs.h.  */
15071
15072 /* Override any gcc2 internal prototype to avoid an error.  */
15073 #ifdef __cplusplus
15074 extern "C"
15075 #endif
15076 /* We use char because int might match the return type of a gcc2
15077    builtin and then its argument prototype would still apply.  */
15078 char csinf ();
15079 int
15080 main ()
15081 {
15082 csinf ();
15083   ;
15084   return 0;
15085 }
15086 _ACEOF
15087 rm -f conftest.$ac_objext conftest$ac_exeext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15089   (eval $ac_link) 2>conftest.er1
15090   ac_status=$?
15091   grep -v '^ *+' conftest.er1 >conftest.err
15092   rm -f conftest.er1
15093   cat conftest.err >&5
15094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095   (exit $ac_status); } &&
15096          { ac_try='test -z "$ac_c_werror_flag"
15097                          || test ! -s conftest.err'
15098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099   (eval $ac_try) 2>&5
15100   ac_status=$?
15101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102   (exit $ac_status); }; } &&
15103          { ac_try='test -s conftest$ac_exeext'
15104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105   (eval $ac_try) 2>&5
15106   ac_status=$?
15107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108   (exit $ac_status); }; }; then
15109   ac_cv_lib_m_csinf=yes
15110 else
15111   echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.$ac_ext >&5
15113
15114 ac_cv_lib_m_csinf=no
15115 fi
15116 rm -f conftest.err conftest.$ac_objext \
15117       conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_lib_save_LIBS
15119 fi
15120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
15121 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
15122 if test $ac_cv_lib_m_csinf = yes; then
15123
15124 cat >>confdefs.h <<\_ACEOF
15125 #define HAVE_CSINF 1
15126 _ACEOF
15127
15128 fi
15129
15130 echo "$as_me:$LINENO: checking for csin in -lm" >&5
15131 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
15132 if test "${ac_cv_lib_m_csin+set}" = set; then
15133   echo $ECHO_N "(cached) $ECHO_C" >&6
15134 else
15135   ac_check_lib_save_LIBS=$LIBS
15136 LIBS="-lm  $LIBS"
15137 if test x$gcc_no_link = xyes; then
15138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15140    { (exit 1); exit 1; }; }
15141 fi
15142 cat >conftest.$ac_ext <<_ACEOF
15143 /* confdefs.h.  */
15144 _ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h.  */
15148
15149 /* Override any gcc2 internal prototype to avoid an error.  */
15150 #ifdef __cplusplus
15151 extern "C"
15152 #endif
15153 /* We use char because int might match the return type of a gcc2
15154    builtin and then its argument prototype would still apply.  */
15155 char csin ();
15156 int
15157 main ()
15158 {
15159 csin ();
15160   ;
15161   return 0;
15162 }
15163 _ACEOF
15164 rm -f conftest.$ac_objext conftest$ac_exeext
15165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15166   (eval $ac_link) 2>conftest.er1
15167   ac_status=$?
15168   grep -v '^ *+' conftest.er1 >conftest.err
15169   rm -f conftest.er1
15170   cat conftest.err >&5
15171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172   (exit $ac_status); } &&
15173          { ac_try='test -z "$ac_c_werror_flag"
15174                          || test ! -s conftest.err'
15175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176   (eval $ac_try) 2>&5
15177   ac_status=$?
15178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179   (exit $ac_status); }; } &&
15180          { ac_try='test -s conftest$ac_exeext'
15181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182   (eval $ac_try) 2>&5
15183   ac_status=$?
15184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185   (exit $ac_status); }; }; then
15186   ac_cv_lib_m_csin=yes
15187 else
15188   echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15190
15191 ac_cv_lib_m_csin=no
15192 fi
15193 rm -f conftest.err conftest.$ac_objext \
15194       conftest$ac_exeext conftest.$ac_ext
15195 LIBS=$ac_check_lib_save_LIBS
15196 fi
15197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15198 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15199 if test $ac_cv_lib_m_csin = yes; then
15200
15201 cat >>confdefs.h <<\_ACEOF
15202 #define HAVE_CSIN 1
15203 _ACEOF
15204
15205 fi
15206
15207 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15208 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15209 if test "${ac_cv_lib_m_csinl+set}" = set; then
15210   echo $ECHO_N "(cached) $ECHO_C" >&6
15211 else
15212   ac_check_lib_save_LIBS=$LIBS
15213 LIBS="-lm  $LIBS"
15214 if test x$gcc_no_link = xyes; then
15215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15217    { (exit 1); exit 1; }; }
15218 fi
15219 cat >conftest.$ac_ext <<_ACEOF
15220 /* confdefs.h.  */
15221 _ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h.  */
15225
15226 /* Override any gcc2 internal prototype to avoid an error.  */
15227 #ifdef __cplusplus
15228 extern "C"
15229 #endif
15230 /* We use char because int might match the return type of a gcc2
15231    builtin and then its argument prototype would still apply.  */
15232 char csinl ();
15233 int
15234 main ()
15235 {
15236 csinl ();
15237   ;
15238   return 0;
15239 }
15240 _ACEOF
15241 rm -f conftest.$ac_objext conftest$ac_exeext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15243   (eval $ac_link) 2>conftest.er1
15244   ac_status=$?
15245   grep -v '^ *+' conftest.er1 >conftest.err
15246   rm -f conftest.er1
15247   cat conftest.err >&5
15248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249   (exit $ac_status); } &&
15250          { ac_try='test -z "$ac_c_werror_flag"
15251                          || test ! -s conftest.err'
15252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253   (eval $ac_try) 2>&5
15254   ac_status=$?
15255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256   (exit $ac_status); }; } &&
15257          { ac_try='test -s conftest$ac_exeext'
15258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259   (eval $ac_try) 2>&5
15260   ac_status=$?
15261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262   (exit $ac_status); }; }; then
15263   ac_cv_lib_m_csinl=yes
15264 else
15265   echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15267
15268 ac_cv_lib_m_csinl=no
15269 fi
15270 rm -f conftest.err conftest.$ac_objext \
15271       conftest$ac_exeext conftest.$ac_ext
15272 LIBS=$ac_check_lib_save_LIBS
15273 fi
15274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15275 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15276 if test $ac_cv_lib_m_csinl = yes; then
15277
15278 cat >>confdefs.h <<\_ACEOF
15279 #define HAVE_CSINL 1
15280 _ACEOF
15281
15282 fi
15283
15284 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15285 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15286 if test "${ac_cv_lib_m_sinhf+set}" = set; then
15287   echo $ECHO_N "(cached) $ECHO_C" >&6
15288 else
15289   ac_check_lib_save_LIBS=$LIBS
15290 LIBS="-lm  $LIBS"
15291 if test x$gcc_no_link = xyes; then
15292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15294    { (exit 1); exit 1; }; }
15295 fi
15296 cat >conftest.$ac_ext <<_ACEOF
15297 /* confdefs.h.  */
15298 _ACEOF
15299 cat confdefs.h >>conftest.$ac_ext
15300 cat >>conftest.$ac_ext <<_ACEOF
15301 /* end confdefs.h.  */
15302
15303 /* Override any gcc2 internal prototype to avoid an error.  */
15304 #ifdef __cplusplus
15305 extern "C"
15306 #endif
15307 /* We use char because int might match the return type of a gcc2
15308    builtin and then its argument prototype would still apply.  */
15309 char sinhf ();
15310 int
15311 main ()
15312 {
15313 sinhf ();
15314   ;
15315   return 0;
15316 }
15317 _ACEOF
15318 rm -f conftest.$ac_objext conftest$ac_exeext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15320   (eval $ac_link) 2>conftest.er1
15321   ac_status=$?
15322   grep -v '^ *+' conftest.er1 >conftest.err
15323   rm -f conftest.er1
15324   cat conftest.err >&5
15325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326   (exit $ac_status); } &&
15327          { ac_try='test -z "$ac_c_werror_flag"
15328                          || test ! -s conftest.err'
15329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330   (eval $ac_try) 2>&5
15331   ac_status=$?
15332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333   (exit $ac_status); }; } &&
15334          { ac_try='test -s conftest$ac_exeext'
15335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336   (eval $ac_try) 2>&5
15337   ac_status=$?
15338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339   (exit $ac_status); }; }; then
15340   ac_cv_lib_m_sinhf=yes
15341 else
15342   echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.$ac_ext >&5
15344
15345 ac_cv_lib_m_sinhf=no
15346 fi
15347 rm -f conftest.err conftest.$ac_objext \
15348       conftest$ac_exeext conftest.$ac_ext
15349 LIBS=$ac_check_lib_save_LIBS
15350 fi
15351 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15352 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15353 if test $ac_cv_lib_m_sinhf = yes; then
15354
15355 cat >>confdefs.h <<\_ACEOF
15356 #define HAVE_SINHF 1
15357 _ACEOF
15358
15359 fi
15360
15361 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15362 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15363 if test "${ac_cv_lib_m_sinh+set}" = set; then
15364   echo $ECHO_N "(cached) $ECHO_C" >&6
15365 else
15366   ac_check_lib_save_LIBS=$LIBS
15367 LIBS="-lm  $LIBS"
15368 if test x$gcc_no_link = xyes; then
15369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15371    { (exit 1); exit 1; }; }
15372 fi
15373 cat >conftest.$ac_ext <<_ACEOF
15374 /* confdefs.h.  */
15375 _ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h.  */
15379
15380 /* Override any gcc2 internal prototype to avoid an error.  */
15381 #ifdef __cplusplus
15382 extern "C"
15383 #endif
15384 /* We use char because int might match the return type of a gcc2
15385    builtin and then its argument prototype would still apply.  */
15386 char sinh ();
15387 int
15388 main ()
15389 {
15390 sinh ();
15391   ;
15392   return 0;
15393 }
15394 _ACEOF
15395 rm -f conftest.$ac_objext conftest$ac_exeext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15397   (eval $ac_link) 2>conftest.er1
15398   ac_status=$?
15399   grep -v '^ *+' conftest.er1 >conftest.err
15400   rm -f conftest.er1
15401   cat conftest.err >&5
15402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403   (exit $ac_status); } &&
15404          { ac_try='test -z "$ac_c_werror_flag"
15405                          || test ! -s conftest.err'
15406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407   (eval $ac_try) 2>&5
15408   ac_status=$?
15409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410   (exit $ac_status); }; } &&
15411          { ac_try='test -s conftest$ac_exeext'
15412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15413   (eval $ac_try) 2>&5
15414   ac_status=$?
15415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416   (exit $ac_status); }; }; then
15417   ac_cv_lib_m_sinh=yes
15418 else
15419   echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.$ac_ext >&5
15421
15422 ac_cv_lib_m_sinh=no
15423 fi
15424 rm -f conftest.err conftest.$ac_objext \
15425       conftest$ac_exeext conftest.$ac_ext
15426 LIBS=$ac_check_lib_save_LIBS
15427 fi
15428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15429 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15430 if test $ac_cv_lib_m_sinh = yes; then
15431
15432 cat >>confdefs.h <<\_ACEOF
15433 #define HAVE_SINH 1
15434 _ACEOF
15435
15436 fi
15437
15438 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15439 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15440 if test "${ac_cv_lib_m_sinhl+set}" = set; then
15441   echo $ECHO_N "(cached) $ECHO_C" >&6
15442 else
15443   ac_check_lib_save_LIBS=$LIBS
15444 LIBS="-lm  $LIBS"
15445 if test x$gcc_no_link = xyes; then
15446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15448    { (exit 1); exit 1; }; }
15449 fi
15450 cat >conftest.$ac_ext <<_ACEOF
15451 /* confdefs.h.  */
15452 _ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h.  */
15456
15457 /* Override any gcc2 internal prototype to avoid an error.  */
15458 #ifdef __cplusplus
15459 extern "C"
15460 #endif
15461 /* We use char because int might match the return type of a gcc2
15462    builtin and then its argument prototype would still apply.  */
15463 char sinhl ();
15464 int
15465 main ()
15466 {
15467 sinhl ();
15468   ;
15469   return 0;
15470 }
15471 _ACEOF
15472 rm -f conftest.$ac_objext conftest$ac_exeext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15474   (eval $ac_link) 2>conftest.er1
15475   ac_status=$?
15476   grep -v '^ *+' conftest.er1 >conftest.err
15477   rm -f conftest.er1
15478   cat conftest.err >&5
15479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480   (exit $ac_status); } &&
15481          { ac_try='test -z "$ac_c_werror_flag"
15482                          || test ! -s conftest.err'
15483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484   (eval $ac_try) 2>&5
15485   ac_status=$?
15486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487   (exit $ac_status); }; } &&
15488          { ac_try='test -s conftest$ac_exeext'
15489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490   (eval $ac_try) 2>&5
15491   ac_status=$?
15492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493   (exit $ac_status); }; }; then
15494   ac_cv_lib_m_sinhl=yes
15495 else
15496   echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15498
15499 ac_cv_lib_m_sinhl=no
15500 fi
15501 rm -f conftest.err conftest.$ac_objext \
15502       conftest$ac_exeext conftest.$ac_ext
15503 LIBS=$ac_check_lib_save_LIBS
15504 fi
15505 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15506 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15507 if test $ac_cv_lib_m_sinhl = yes; then
15508
15509 cat >>confdefs.h <<\_ACEOF
15510 #define HAVE_SINHL 1
15511 _ACEOF
15512
15513 fi
15514
15515 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15516 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15517 if test "${ac_cv_lib_m_csinhf+set}" = set; then
15518   echo $ECHO_N "(cached) $ECHO_C" >&6
15519 else
15520   ac_check_lib_save_LIBS=$LIBS
15521 LIBS="-lm  $LIBS"
15522 if test x$gcc_no_link = xyes; then
15523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15525    { (exit 1); exit 1; }; }
15526 fi
15527 cat >conftest.$ac_ext <<_ACEOF
15528 /* confdefs.h.  */
15529 _ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h.  */
15533
15534 /* Override any gcc2 internal prototype to avoid an error.  */
15535 #ifdef __cplusplus
15536 extern "C"
15537 #endif
15538 /* We use char because int might match the return type of a gcc2
15539    builtin and then its argument prototype would still apply.  */
15540 char csinhf ();
15541 int
15542 main ()
15543 {
15544 csinhf ();
15545   ;
15546   return 0;
15547 }
15548 _ACEOF
15549 rm -f conftest.$ac_objext conftest$ac_exeext
15550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15551   (eval $ac_link) 2>conftest.er1
15552   ac_status=$?
15553   grep -v '^ *+' conftest.er1 >conftest.err
15554   rm -f conftest.er1
15555   cat conftest.err >&5
15556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557   (exit $ac_status); } &&
15558          { ac_try='test -z "$ac_c_werror_flag"
15559                          || test ! -s conftest.err'
15560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561   (eval $ac_try) 2>&5
15562   ac_status=$?
15563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564   (exit $ac_status); }; } &&
15565          { ac_try='test -s conftest$ac_exeext'
15566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567   (eval $ac_try) 2>&5
15568   ac_status=$?
15569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570   (exit $ac_status); }; }; then
15571   ac_cv_lib_m_csinhf=yes
15572 else
15573   echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 ac_cv_lib_m_csinhf=no
15577 fi
15578 rm -f conftest.err conftest.$ac_objext \
15579       conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_lib_save_LIBS
15581 fi
15582 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15583 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15584 if test $ac_cv_lib_m_csinhf = yes; then
15585
15586 cat >>confdefs.h <<\_ACEOF
15587 #define HAVE_CSINHF 1
15588 _ACEOF
15589
15590 fi
15591
15592 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15593 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15594 if test "${ac_cv_lib_m_csinh+set}" = set; then
15595   echo $ECHO_N "(cached) $ECHO_C" >&6
15596 else
15597   ac_check_lib_save_LIBS=$LIBS
15598 LIBS="-lm  $LIBS"
15599 if test x$gcc_no_link = xyes; then
15600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15602    { (exit 1); exit 1; }; }
15603 fi
15604 cat >conftest.$ac_ext <<_ACEOF
15605 /* confdefs.h.  */
15606 _ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h.  */
15610
15611 /* Override any gcc2 internal prototype to avoid an error.  */
15612 #ifdef __cplusplus
15613 extern "C"
15614 #endif
15615 /* We use char because int might match the return type of a gcc2
15616    builtin and then its argument prototype would still apply.  */
15617 char csinh ();
15618 int
15619 main ()
15620 {
15621 csinh ();
15622   ;
15623   return 0;
15624 }
15625 _ACEOF
15626 rm -f conftest.$ac_objext conftest$ac_exeext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15628   (eval $ac_link) 2>conftest.er1
15629   ac_status=$?
15630   grep -v '^ *+' conftest.er1 >conftest.err
15631   rm -f conftest.er1
15632   cat conftest.err >&5
15633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634   (exit $ac_status); } &&
15635          { ac_try='test -z "$ac_c_werror_flag"
15636                          || test ! -s conftest.err'
15637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638   (eval $ac_try) 2>&5
15639   ac_status=$?
15640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641   (exit $ac_status); }; } &&
15642          { ac_try='test -s conftest$ac_exeext'
15643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644   (eval $ac_try) 2>&5
15645   ac_status=$?
15646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647   (exit $ac_status); }; }; then
15648   ac_cv_lib_m_csinh=yes
15649 else
15650   echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15652
15653 ac_cv_lib_m_csinh=no
15654 fi
15655 rm -f conftest.err conftest.$ac_objext \
15656       conftest$ac_exeext conftest.$ac_ext
15657 LIBS=$ac_check_lib_save_LIBS
15658 fi
15659 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15660 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15661 if test $ac_cv_lib_m_csinh = yes; then
15662
15663 cat >>confdefs.h <<\_ACEOF
15664 #define HAVE_CSINH 1
15665 _ACEOF
15666
15667 fi
15668
15669 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15670 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15671 if test "${ac_cv_lib_m_csinhl+set}" = set; then
15672   echo $ECHO_N "(cached) $ECHO_C" >&6
15673 else
15674   ac_check_lib_save_LIBS=$LIBS
15675 LIBS="-lm  $LIBS"
15676 if test x$gcc_no_link = xyes; then
15677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15679    { (exit 1); exit 1; }; }
15680 fi
15681 cat >conftest.$ac_ext <<_ACEOF
15682 /* confdefs.h.  */
15683 _ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h.  */
15687
15688 /* Override any gcc2 internal prototype to avoid an error.  */
15689 #ifdef __cplusplus
15690 extern "C"
15691 #endif
15692 /* We use char because int might match the return type of a gcc2
15693    builtin and then its argument prototype would still apply.  */
15694 char csinhl ();
15695 int
15696 main ()
15697 {
15698 csinhl ();
15699   ;
15700   return 0;
15701 }
15702 _ACEOF
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705   (eval $ac_link) 2>conftest.er1
15706   ac_status=$?
15707   grep -v '^ *+' conftest.er1 >conftest.err
15708   rm -f conftest.er1
15709   cat conftest.err >&5
15710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711   (exit $ac_status); } &&
15712          { ac_try='test -z "$ac_c_werror_flag"
15713                          || test ! -s conftest.err'
15714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715   (eval $ac_try) 2>&5
15716   ac_status=$?
15717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718   (exit $ac_status); }; } &&
15719          { ac_try='test -s conftest$ac_exeext'
15720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721   (eval $ac_try) 2>&5
15722   ac_status=$?
15723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724   (exit $ac_status); }; }; then
15725   ac_cv_lib_m_csinhl=yes
15726 else
15727   echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15729
15730 ac_cv_lib_m_csinhl=no
15731 fi
15732 rm -f conftest.err conftest.$ac_objext \
15733       conftest$ac_exeext conftest.$ac_ext
15734 LIBS=$ac_check_lib_save_LIBS
15735 fi
15736 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15737 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15738 if test $ac_cv_lib_m_csinhl = yes; then
15739
15740 cat >>confdefs.h <<\_ACEOF
15741 #define HAVE_CSINHL 1
15742 _ACEOF
15743
15744 fi
15745
15746 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15747 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15748 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15749   echo $ECHO_N "(cached) $ECHO_C" >&6
15750 else
15751   ac_check_lib_save_LIBS=$LIBS
15752 LIBS="-lm  $LIBS"
15753 if test x$gcc_no_link = xyes; then
15754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15756    { (exit 1); exit 1; }; }
15757 fi
15758 cat >conftest.$ac_ext <<_ACEOF
15759 /* confdefs.h.  */
15760 _ACEOF
15761 cat confdefs.h >>conftest.$ac_ext
15762 cat >>conftest.$ac_ext <<_ACEOF
15763 /* end confdefs.h.  */
15764
15765 /* Override any gcc2 internal prototype to avoid an error.  */
15766 #ifdef __cplusplus
15767 extern "C"
15768 #endif
15769 /* We use char because int might match the return type of a gcc2
15770    builtin and then its argument prototype would still apply.  */
15771 char sqrtf ();
15772 int
15773 main ()
15774 {
15775 sqrtf ();
15776   ;
15777   return 0;
15778 }
15779 _ACEOF
15780 rm -f conftest.$ac_objext conftest$ac_exeext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15782   (eval $ac_link) 2>conftest.er1
15783   ac_status=$?
15784   grep -v '^ *+' conftest.er1 >conftest.err
15785   rm -f conftest.er1
15786   cat conftest.err >&5
15787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788   (exit $ac_status); } &&
15789          { ac_try='test -z "$ac_c_werror_flag"
15790                          || test ! -s conftest.err'
15791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792   (eval $ac_try) 2>&5
15793   ac_status=$?
15794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795   (exit $ac_status); }; } &&
15796          { ac_try='test -s conftest$ac_exeext'
15797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798   (eval $ac_try) 2>&5
15799   ac_status=$?
15800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801   (exit $ac_status); }; }; then
15802   ac_cv_lib_m_sqrtf=yes
15803 else
15804   echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15806
15807 ac_cv_lib_m_sqrtf=no
15808 fi
15809 rm -f conftest.err conftest.$ac_objext \
15810       conftest$ac_exeext conftest.$ac_ext
15811 LIBS=$ac_check_lib_save_LIBS
15812 fi
15813 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15814 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15815 if test $ac_cv_lib_m_sqrtf = yes; then
15816
15817 cat >>confdefs.h <<\_ACEOF
15818 #define HAVE_SQRTF 1
15819 _ACEOF
15820
15821 fi
15822
15823 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15824 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15825 if test "${ac_cv_lib_m_sqrt+set}" = set; then
15826   echo $ECHO_N "(cached) $ECHO_C" >&6
15827 else
15828   ac_check_lib_save_LIBS=$LIBS
15829 LIBS="-lm  $LIBS"
15830 if test x$gcc_no_link = xyes; then
15831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15833    { (exit 1); exit 1; }; }
15834 fi
15835 cat >conftest.$ac_ext <<_ACEOF
15836 /* confdefs.h.  */
15837 _ACEOF
15838 cat confdefs.h >>conftest.$ac_ext
15839 cat >>conftest.$ac_ext <<_ACEOF
15840 /* end confdefs.h.  */
15841
15842 /* Override any gcc2 internal prototype to avoid an error.  */
15843 #ifdef __cplusplus
15844 extern "C"
15845 #endif
15846 /* We use char because int might match the return type of a gcc2
15847    builtin and then its argument prototype would still apply.  */
15848 char sqrt ();
15849 int
15850 main ()
15851 {
15852 sqrt ();
15853   ;
15854   return 0;
15855 }
15856 _ACEOF
15857 rm -f conftest.$ac_objext conftest$ac_exeext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15859   (eval $ac_link) 2>conftest.er1
15860   ac_status=$?
15861   grep -v '^ *+' conftest.er1 >conftest.err
15862   rm -f conftest.er1
15863   cat conftest.err >&5
15864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865   (exit $ac_status); } &&
15866          { ac_try='test -z "$ac_c_werror_flag"
15867                          || test ! -s conftest.err'
15868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869   (eval $ac_try) 2>&5
15870   ac_status=$?
15871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872   (exit $ac_status); }; } &&
15873          { ac_try='test -s conftest$ac_exeext'
15874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875   (eval $ac_try) 2>&5
15876   ac_status=$?
15877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878   (exit $ac_status); }; }; then
15879   ac_cv_lib_m_sqrt=yes
15880 else
15881   echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.$ac_ext >&5
15883
15884 ac_cv_lib_m_sqrt=no
15885 fi
15886 rm -f conftest.err conftest.$ac_objext \
15887       conftest$ac_exeext conftest.$ac_ext
15888 LIBS=$ac_check_lib_save_LIBS
15889 fi
15890 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15891 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15892 if test $ac_cv_lib_m_sqrt = yes; then
15893
15894 cat >>confdefs.h <<\_ACEOF
15895 #define HAVE_SQRT 1
15896 _ACEOF
15897
15898 fi
15899
15900 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15901 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15902 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15903   echo $ECHO_N "(cached) $ECHO_C" >&6
15904 else
15905   ac_check_lib_save_LIBS=$LIBS
15906 LIBS="-lm  $LIBS"
15907 if test x$gcc_no_link = xyes; then
15908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15910    { (exit 1); exit 1; }; }
15911 fi
15912 cat >conftest.$ac_ext <<_ACEOF
15913 /* confdefs.h.  */
15914 _ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h.  */
15918
15919 /* Override any gcc2 internal prototype to avoid an error.  */
15920 #ifdef __cplusplus
15921 extern "C"
15922 #endif
15923 /* We use char because int might match the return type of a gcc2
15924    builtin and then its argument prototype would still apply.  */
15925 char sqrtl ();
15926 int
15927 main ()
15928 {
15929 sqrtl ();
15930   ;
15931   return 0;
15932 }
15933 _ACEOF
15934 rm -f conftest.$ac_objext conftest$ac_exeext
15935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15936   (eval $ac_link) 2>conftest.er1
15937   ac_status=$?
15938   grep -v '^ *+' conftest.er1 >conftest.err
15939   rm -f conftest.er1
15940   cat conftest.err >&5
15941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942   (exit $ac_status); } &&
15943          { ac_try='test -z "$ac_c_werror_flag"
15944                          || test ! -s conftest.err'
15945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946   (eval $ac_try) 2>&5
15947   ac_status=$?
15948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949   (exit $ac_status); }; } &&
15950          { ac_try='test -s conftest$ac_exeext'
15951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952   (eval $ac_try) 2>&5
15953   ac_status=$?
15954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955   (exit $ac_status); }; }; then
15956   ac_cv_lib_m_sqrtl=yes
15957 else
15958   echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15960
15961 ac_cv_lib_m_sqrtl=no
15962 fi
15963 rm -f conftest.err conftest.$ac_objext \
15964       conftest$ac_exeext conftest.$ac_ext
15965 LIBS=$ac_check_lib_save_LIBS
15966 fi
15967 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15968 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15969 if test $ac_cv_lib_m_sqrtl = yes; then
15970
15971 cat >>confdefs.h <<\_ACEOF
15972 #define HAVE_SQRTL 1
15973 _ACEOF
15974
15975 fi
15976
15977 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15978 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15979 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15980   echo $ECHO_N "(cached) $ECHO_C" >&6
15981 else
15982   ac_check_lib_save_LIBS=$LIBS
15983 LIBS="-lm  $LIBS"
15984 if test x$gcc_no_link = xyes; then
15985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15987    { (exit 1); exit 1; }; }
15988 fi
15989 cat >conftest.$ac_ext <<_ACEOF
15990 /* confdefs.h.  */
15991 _ACEOF
15992 cat confdefs.h >>conftest.$ac_ext
15993 cat >>conftest.$ac_ext <<_ACEOF
15994 /* end confdefs.h.  */
15995
15996 /* Override any gcc2 internal prototype to avoid an error.  */
15997 #ifdef __cplusplus
15998 extern "C"
15999 #endif
16000 /* We use char because int might match the return type of a gcc2
16001    builtin and then its argument prototype would still apply.  */
16002 char csqrtf ();
16003 int
16004 main ()
16005 {
16006 csqrtf ();
16007   ;
16008   return 0;
16009 }
16010 _ACEOF
16011 rm -f conftest.$ac_objext conftest$ac_exeext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16013   (eval $ac_link) 2>conftest.er1
16014   ac_status=$?
16015   grep -v '^ *+' conftest.er1 >conftest.err
16016   rm -f conftest.er1
16017   cat conftest.err >&5
16018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019   (exit $ac_status); } &&
16020          { ac_try='test -z "$ac_c_werror_flag"
16021                          || test ! -s conftest.err'
16022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023   (eval $ac_try) 2>&5
16024   ac_status=$?
16025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026   (exit $ac_status); }; } &&
16027          { ac_try='test -s conftest$ac_exeext'
16028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029   (eval $ac_try) 2>&5
16030   ac_status=$?
16031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032   (exit $ac_status); }; }; then
16033   ac_cv_lib_m_csqrtf=yes
16034 else
16035   echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16037
16038 ac_cv_lib_m_csqrtf=no
16039 fi
16040 rm -f conftest.err conftest.$ac_objext \
16041       conftest$ac_exeext conftest.$ac_ext
16042 LIBS=$ac_check_lib_save_LIBS
16043 fi
16044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
16045 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
16046 if test $ac_cv_lib_m_csqrtf = yes; then
16047
16048 cat >>confdefs.h <<\_ACEOF
16049 #define HAVE_CSQRTF 1
16050 _ACEOF
16051
16052 fi
16053
16054 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
16055 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
16056 if test "${ac_cv_lib_m_csqrt+set}" = set; then
16057   echo $ECHO_N "(cached) $ECHO_C" >&6
16058 else
16059   ac_check_lib_save_LIBS=$LIBS
16060 LIBS="-lm  $LIBS"
16061 if test x$gcc_no_link = xyes; then
16062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16064    { (exit 1); exit 1; }; }
16065 fi
16066 cat >conftest.$ac_ext <<_ACEOF
16067 /* confdefs.h.  */
16068 _ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h.  */
16072
16073 /* Override any gcc2 internal prototype to avoid an error.  */
16074 #ifdef __cplusplus
16075 extern "C"
16076 #endif
16077 /* We use char because int might match the return type of a gcc2
16078    builtin and then its argument prototype would still apply.  */
16079 char csqrt ();
16080 int
16081 main ()
16082 {
16083 csqrt ();
16084   ;
16085   return 0;
16086 }
16087 _ACEOF
16088 rm -f conftest.$ac_objext conftest$ac_exeext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16090   (eval $ac_link) 2>conftest.er1
16091   ac_status=$?
16092   grep -v '^ *+' conftest.er1 >conftest.err
16093   rm -f conftest.er1
16094   cat conftest.err >&5
16095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096   (exit $ac_status); } &&
16097          { ac_try='test -z "$ac_c_werror_flag"
16098                          || test ! -s conftest.err'
16099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100   (eval $ac_try) 2>&5
16101   ac_status=$?
16102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103   (exit $ac_status); }; } &&
16104          { ac_try='test -s conftest$ac_exeext'
16105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106   (eval $ac_try) 2>&5
16107   ac_status=$?
16108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109   (exit $ac_status); }; }; then
16110   ac_cv_lib_m_csqrt=yes
16111 else
16112   echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16114
16115 ac_cv_lib_m_csqrt=no
16116 fi
16117 rm -f conftest.err conftest.$ac_objext \
16118       conftest$ac_exeext conftest.$ac_ext
16119 LIBS=$ac_check_lib_save_LIBS
16120 fi
16121 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
16122 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
16123 if test $ac_cv_lib_m_csqrt = yes; then
16124
16125 cat >>confdefs.h <<\_ACEOF
16126 #define HAVE_CSQRT 1
16127 _ACEOF
16128
16129 fi
16130
16131 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
16132 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
16133 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
16134   echo $ECHO_N "(cached) $ECHO_C" >&6
16135 else
16136   ac_check_lib_save_LIBS=$LIBS
16137 LIBS="-lm  $LIBS"
16138 if test x$gcc_no_link = xyes; then
16139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16141    { (exit 1); exit 1; }; }
16142 fi
16143 cat >conftest.$ac_ext <<_ACEOF
16144 /* confdefs.h.  */
16145 _ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h.  */
16149
16150 /* Override any gcc2 internal prototype to avoid an error.  */
16151 #ifdef __cplusplus
16152 extern "C"
16153 #endif
16154 /* We use char because int might match the return type of a gcc2
16155    builtin and then its argument prototype would still apply.  */
16156 char csqrtl ();
16157 int
16158 main ()
16159 {
16160 csqrtl ();
16161   ;
16162   return 0;
16163 }
16164 _ACEOF
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16167   (eval $ac_link) 2>conftest.er1
16168   ac_status=$?
16169   grep -v '^ *+' conftest.er1 >conftest.err
16170   rm -f conftest.er1
16171   cat conftest.err >&5
16172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173   (exit $ac_status); } &&
16174          { ac_try='test -z "$ac_c_werror_flag"
16175                          || test ! -s conftest.err'
16176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177   (eval $ac_try) 2>&5
16178   ac_status=$?
16179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180   (exit $ac_status); }; } &&
16181          { ac_try='test -s conftest$ac_exeext'
16182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183   (eval $ac_try) 2>&5
16184   ac_status=$?
16185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186   (exit $ac_status); }; }; then
16187   ac_cv_lib_m_csqrtl=yes
16188 else
16189   echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16191
16192 ac_cv_lib_m_csqrtl=no
16193 fi
16194 rm -f conftest.err conftest.$ac_objext \
16195       conftest$ac_exeext conftest.$ac_ext
16196 LIBS=$ac_check_lib_save_LIBS
16197 fi
16198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16199 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16200 if test $ac_cv_lib_m_csqrtl = yes; then
16201
16202 cat >>confdefs.h <<\_ACEOF
16203 #define HAVE_CSQRTL 1
16204 _ACEOF
16205
16206 fi
16207
16208 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16209 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16210 if test "${ac_cv_lib_m_tanf+set}" = set; then
16211   echo $ECHO_N "(cached) $ECHO_C" >&6
16212 else
16213   ac_check_lib_save_LIBS=$LIBS
16214 LIBS="-lm  $LIBS"
16215 if test x$gcc_no_link = xyes; then
16216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16218    { (exit 1); exit 1; }; }
16219 fi
16220 cat >conftest.$ac_ext <<_ACEOF
16221 /* confdefs.h.  */
16222 _ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h.  */
16226
16227 /* Override any gcc2 internal prototype to avoid an error.  */
16228 #ifdef __cplusplus
16229 extern "C"
16230 #endif
16231 /* We use char because int might match the return type of a gcc2
16232    builtin and then its argument prototype would still apply.  */
16233 char tanf ();
16234 int
16235 main ()
16236 {
16237 tanf ();
16238   ;
16239   return 0;
16240 }
16241 _ACEOF
16242 rm -f conftest.$ac_objext conftest$ac_exeext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16244   (eval $ac_link) 2>conftest.er1
16245   ac_status=$?
16246   grep -v '^ *+' conftest.er1 >conftest.err
16247   rm -f conftest.er1
16248   cat conftest.err >&5
16249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250   (exit $ac_status); } &&
16251          { ac_try='test -z "$ac_c_werror_flag"
16252                          || test ! -s conftest.err'
16253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254   (eval $ac_try) 2>&5
16255   ac_status=$?
16256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257   (exit $ac_status); }; } &&
16258          { ac_try='test -s conftest$ac_exeext'
16259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260   (eval $ac_try) 2>&5
16261   ac_status=$?
16262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263   (exit $ac_status); }; }; then
16264   ac_cv_lib_m_tanf=yes
16265 else
16266   echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16268
16269 ac_cv_lib_m_tanf=no
16270 fi
16271 rm -f conftest.err conftest.$ac_objext \
16272       conftest$ac_exeext conftest.$ac_ext
16273 LIBS=$ac_check_lib_save_LIBS
16274 fi
16275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16276 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16277 if test $ac_cv_lib_m_tanf = yes; then
16278
16279 cat >>confdefs.h <<\_ACEOF
16280 #define HAVE_TANF 1
16281 _ACEOF
16282
16283 fi
16284
16285 echo "$as_me:$LINENO: checking for tan in -lm" >&5
16286 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16287 if test "${ac_cv_lib_m_tan+set}" = set; then
16288   echo $ECHO_N "(cached) $ECHO_C" >&6
16289 else
16290   ac_check_lib_save_LIBS=$LIBS
16291 LIBS="-lm  $LIBS"
16292 if test x$gcc_no_link = xyes; then
16293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16295    { (exit 1); exit 1; }; }
16296 fi
16297 cat >conftest.$ac_ext <<_ACEOF
16298 /* confdefs.h.  */
16299 _ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h.  */
16303
16304 /* Override any gcc2 internal prototype to avoid an error.  */
16305 #ifdef __cplusplus
16306 extern "C"
16307 #endif
16308 /* We use char because int might match the return type of a gcc2
16309    builtin and then its argument prototype would still apply.  */
16310 char tan ();
16311 int
16312 main ()
16313 {
16314 tan ();
16315   ;
16316   return 0;
16317 }
16318 _ACEOF
16319 rm -f conftest.$ac_objext conftest$ac_exeext
16320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16321   (eval $ac_link) 2>conftest.er1
16322   ac_status=$?
16323   grep -v '^ *+' conftest.er1 >conftest.err
16324   rm -f conftest.er1
16325   cat conftest.err >&5
16326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327   (exit $ac_status); } &&
16328          { ac_try='test -z "$ac_c_werror_flag"
16329                          || test ! -s conftest.err'
16330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331   (eval $ac_try) 2>&5
16332   ac_status=$?
16333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334   (exit $ac_status); }; } &&
16335          { ac_try='test -s conftest$ac_exeext'
16336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337   (eval $ac_try) 2>&5
16338   ac_status=$?
16339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340   (exit $ac_status); }; }; then
16341   ac_cv_lib_m_tan=yes
16342 else
16343   echo "$as_me: failed program was:" >&5
16344 sed 's/^/| /' conftest.$ac_ext >&5
16345
16346 ac_cv_lib_m_tan=no
16347 fi
16348 rm -f conftest.err conftest.$ac_objext \
16349       conftest$ac_exeext conftest.$ac_ext
16350 LIBS=$ac_check_lib_save_LIBS
16351 fi
16352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16353 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16354 if test $ac_cv_lib_m_tan = yes; then
16355
16356 cat >>confdefs.h <<\_ACEOF
16357 #define HAVE_TAN 1
16358 _ACEOF
16359
16360 fi
16361
16362 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16363 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16364 if test "${ac_cv_lib_m_tanl+set}" = set; then
16365   echo $ECHO_N "(cached) $ECHO_C" >&6
16366 else
16367   ac_check_lib_save_LIBS=$LIBS
16368 LIBS="-lm  $LIBS"
16369 if test x$gcc_no_link = xyes; then
16370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16372    { (exit 1); exit 1; }; }
16373 fi
16374 cat >conftest.$ac_ext <<_ACEOF
16375 /* confdefs.h.  */
16376 _ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h.  */
16380
16381 /* Override any gcc2 internal prototype to avoid an error.  */
16382 #ifdef __cplusplus
16383 extern "C"
16384 #endif
16385 /* We use char because int might match the return type of a gcc2
16386    builtin and then its argument prototype would still apply.  */
16387 char tanl ();
16388 int
16389 main ()
16390 {
16391 tanl ();
16392   ;
16393   return 0;
16394 }
16395 _ACEOF
16396 rm -f conftest.$ac_objext conftest$ac_exeext
16397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16398   (eval $ac_link) 2>conftest.er1
16399   ac_status=$?
16400   grep -v '^ *+' conftest.er1 >conftest.err
16401   rm -f conftest.er1
16402   cat conftest.err >&5
16403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404   (exit $ac_status); } &&
16405          { ac_try='test -z "$ac_c_werror_flag"
16406                          || test ! -s conftest.err'
16407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408   (eval $ac_try) 2>&5
16409   ac_status=$?
16410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411   (exit $ac_status); }; } &&
16412          { ac_try='test -s conftest$ac_exeext'
16413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414   (eval $ac_try) 2>&5
16415   ac_status=$?
16416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417   (exit $ac_status); }; }; then
16418   ac_cv_lib_m_tanl=yes
16419 else
16420   echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 ac_cv_lib_m_tanl=no
16424 fi
16425 rm -f conftest.err conftest.$ac_objext \
16426       conftest$ac_exeext conftest.$ac_ext
16427 LIBS=$ac_check_lib_save_LIBS
16428 fi
16429 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16430 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16431 if test $ac_cv_lib_m_tanl = yes; then
16432
16433 cat >>confdefs.h <<\_ACEOF
16434 #define HAVE_TANL 1
16435 _ACEOF
16436
16437 fi
16438
16439 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16440 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16441 if test "${ac_cv_lib_m_ctanf+set}" = set; then
16442   echo $ECHO_N "(cached) $ECHO_C" >&6
16443 else
16444   ac_check_lib_save_LIBS=$LIBS
16445 LIBS="-lm  $LIBS"
16446 if test x$gcc_no_link = xyes; then
16447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16449    { (exit 1); exit 1; }; }
16450 fi
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h.  */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h.  */
16457
16458 /* Override any gcc2 internal prototype to avoid an error.  */
16459 #ifdef __cplusplus
16460 extern "C"
16461 #endif
16462 /* We use char because int might match the return type of a gcc2
16463    builtin and then its argument prototype would still apply.  */
16464 char ctanf ();
16465 int
16466 main ()
16467 {
16468 ctanf ();
16469   ;
16470   return 0;
16471 }
16472 _ACEOF
16473 rm -f conftest.$ac_objext conftest$ac_exeext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16475   (eval $ac_link) 2>conftest.er1
16476   ac_status=$?
16477   grep -v '^ *+' conftest.er1 >conftest.err
16478   rm -f conftest.er1
16479   cat conftest.err >&5
16480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481   (exit $ac_status); } &&
16482          { ac_try='test -z "$ac_c_werror_flag"
16483                          || test ! -s conftest.err'
16484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485   (eval $ac_try) 2>&5
16486   ac_status=$?
16487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488   (exit $ac_status); }; } &&
16489          { ac_try='test -s conftest$ac_exeext'
16490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491   (eval $ac_try) 2>&5
16492   ac_status=$?
16493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494   (exit $ac_status); }; }; then
16495   ac_cv_lib_m_ctanf=yes
16496 else
16497   echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16499
16500 ac_cv_lib_m_ctanf=no
16501 fi
16502 rm -f conftest.err conftest.$ac_objext \
16503       conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_lib_save_LIBS
16505 fi
16506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16507 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16508 if test $ac_cv_lib_m_ctanf = yes; then
16509
16510 cat >>confdefs.h <<\_ACEOF
16511 #define HAVE_CTANF 1
16512 _ACEOF
16513
16514 fi
16515
16516 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16517 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16518 if test "${ac_cv_lib_m_ctan+set}" = set; then
16519   echo $ECHO_N "(cached) $ECHO_C" >&6
16520 else
16521   ac_check_lib_save_LIBS=$LIBS
16522 LIBS="-lm  $LIBS"
16523 if test x$gcc_no_link = xyes; then
16524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16526    { (exit 1); exit 1; }; }
16527 fi
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h.  */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h.  */
16534
16535 /* Override any gcc2 internal prototype to avoid an error.  */
16536 #ifdef __cplusplus
16537 extern "C"
16538 #endif
16539 /* We use char because int might match the return type of a gcc2
16540    builtin and then its argument prototype would still apply.  */
16541 char ctan ();
16542 int
16543 main ()
16544 {
16545 ctan ();
16546   ;
16547   return 0;
16548 }
16549 _ACEOF
16550 rm -f conftest.$ac_objext conftest$ac_exeext
16551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16552   (eval $ac_link) 2>conftest.er1
16553   ac_status=$?
16554   grep -v '^ *+' conftest.er1 >conftest.err
16555   rm -f conftest.er1
16556   cat conftest.err >&5
16557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558   (exit $ac_status); } &&
16559          { ac_try='test -z "$ac_c_werror_flag"
16560                          || test ! -s conftest.err'
16561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562   (eval $ac_try) 2>&5
16563   ac_status=$?
16564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565   (exit $ac_status); }; } &&
16566          { ac_try='test -s conftest$ac_exeext'
16567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568   (eval $ac_try) 2>&5
16569   ac_status=$?
16570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571   (exit $ac_status); }; }; then
16572   ac_cv_lib_m_ctan=yes
16573 else
16574   echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.$ac_ext >&5
16576
16577 ac_cv_lib_m_ctan=no
16578 fi
16579 rm -f conftest.err conftest.$ac_objext \
16580       conftest$ac_exeext conftest.$ac_ext
16581 LIBS=$ac_check_lib_save_LIBS
16582 fi
16583 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16584 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16585 if test $ac_cv_lib_m_ctan = yes; then
16586
16587 cat >>confdefs.h <<\_ACEOF
16588 #define HAVE_CTAN 1
16589 _ACEOF
16590
16591 fi
16592
16593 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16594 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16595 if test "${ac_cv_lib_m_ctanl+set}" = set; then
16596   echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598   ac_check_lib_save_LIBS=$LIBS
16599 LIBS="-lm  $LIBS"
16600 if test x$gcc_no_link = xyes; then
16601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16603    { (exit 1); exit 1; }; }
16604 fi
16605 cat >conftest.$ac_ext <<_ACEOF
16606 /* confdefs.h.  */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h.  */
16611
16612 /* Override any gcc2 internal prototype to avoid an error.  */
16613 #ifdef __cplusplus
16614 extern "C"
16615 #endif
16616 /* We use char because int might match the return type of a gcc2
16617    builtin and then its argument prototype would still apply.  */
16618 char ctanl ();
16619 int
16620 main ()
16621 {
16622 ctanl ();
16623   ;
16624   return 0;
16625 }
16626 _ACEOF
16627 rm -f conftest.$ac_objext conftest$ac_exeext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16629   (eval $ac_link) 2>conftest.er1
16630   ac_status=$?
16631   grep -v '^ *+' conftest.er1 >conftest.err
16632   rm -f conftest.er1
16633   cat conftest.err >&5
16634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635   (exit $ac_status); } &&
16636          { ac_try='test -z "$ac_c_werror_flag"
16637                          || test ! -s conftest.err'
16638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639   (eval $ac_try) 2>&5
16640   ac_status=$?
16641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642   (exit $ac_status); }; } &&
16643          { ac_try='test -s conftest$ac_exeext'
16644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645   (eval $ac_try) 2>&5
16646   ac_status=$?
16647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648   (exit $ac_status); }; }; then
16649   ac_cv_lib_m_ctanl=yes
16650 else
16651   echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16653
16654 ac_cv_lib_m_ctanl=no
16655 fi
16656 rm -f conftest.err conftest.$ac_objext \
16657       conftest$ac_exeext conftest.$ac_ext
16658 LIBS=$ac_check_lib_save_LIBS
16659 fi
16660 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16661 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16662 if test $ac_cv_lib_m_ctanl = yes; then
16663
16664 cat >>confdefs.h <<\_ACEOF
16665 #define HAVE_CTANL 1
16666 _ACEOF
16667
16668 fi
16669
16670 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16671 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16672 if test "${ac_cv_lib_m_tanhf+set}" = set; then
16673   echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675   ac_check_lib_save_LIBS=$LIBS
16676 LIBS="-lm  $LIBS"
16677 if test x$gcc_no_link = xyes; then
16678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16680    { (exit 1); exit 1; }; }
16681 fi
16682 cat >conftest.$ac_ext <<_ACEOF
16683 /* confdefs.h.  */
16684 _ACEOF
16685 cat confdefs.h >>conftest.$ac_ext
16686 cat >>conftest.$ac_ext <<_ACEOF
16687 /* end confdefs.h.  */
16688
16689 /* Override any gcc2 internal prototype to avoid an error.  */
16690 #ifdef __cplusplus
16691 extern "C"
16692 #endif
16693 /* We use char because int might match the return type of a gcc2
16694    builtin and then its argument prototype would still apply.  */
16695 char tanhf ();
16696 int
16697 main ()
16698 {
16699 tanhf ();
16700   ;
16701   return 0;
16702 }
16703 _ACEOF
16704 rm -f conftest.$ac_objext conftest$ac_exeext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16706   (eval $ac_link) 2>conftest.er1
16707   ac_status=$?
16708   grep -v '^ *+' conftest.er1 >conftest.err
16709   rm -f conftest.er1
16710   cat conftest.err >&5
16711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712   (exit $ac_status); } &&
16713          { ac_try='test -z "$ac_c_werror_flag"
16714                          || test ! -s conftest.err'
16715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716   (eval $ac_try) 2>&5
16717   ac_status=$?
16718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719   (exit $ac_status); }; } &&
16720          { ac_try='test -s conftest$ac_exeext'
16721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722   (eval $ac_try) 2>&5
16723   ac_status=$?
16724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725   (exit $ac_status); }; }; then
16726   ac_cv_lib_m_tanhf=yes
16727 else
16728   echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16730
16731 ac_cv_lib_m_tanhf=no
16732 fi
16733 rm -f conftest.err conftest.$ac_objext \
16734       conftest$ac_exeext conftest.$ac_ext
16735 LIBS=$ac_check_lib_save_LIBS
16736 fi
16737 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16738 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16739 if test $ac_cv_lib_m_tanhf = yes; then
16740
16741 cat >>confdefs.h <<\_ACEOF
16742 #define HAVE_TANHF 1
16743 _ACEOF
16744
16745 fi
16746
16747 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16748 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16749 if test "${ac_cv_lib_m_tanh+set}" = set; then
16750   echo $ECHO_N "(cached) $ECHO_C" >&6
16751 else
16752   ac_check_lib_save_LIBS=$LIBS
16753 LIBS="-lm  $LIBS"
16754 if test x$gcc_no_link = xyes; then
16755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16757    { (exit 1); exit 1; }; }
16758 fi
16759 cat >conftest.$ac_ext <<_ACEOF
16760 /* confdefs.h.  */
16761 _ACEOF
16762 cat confdefs.h >>conftest.$ac_ext
16763 cat >>conftest.$ac_ext <<_ACEOF
16764 /* end confdefs.h.  */
16765
16766 /* Override any gcc2 internal prototype to avoid an error.  */
16767 #ifdef __cplusplus
16768 extern "C"
16769 #endif
16770 /* We use char because int might match the return type of a gcc2
16771    builtin and then its argument prototype would still apply.  */
16772 char tanh ();
16773 int
16774 main ()
16775 {
16776 tanh ();
16777   ;
16778   return 0;
16779 }
16780 _ACEOF
16781 rm -f conftest.$ac_objext conftest$ac_exeext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16783   (eval $ac_link) 2>conftest.er1
16784   ac_status=$?
16785   grep -v '^ *+' conftest.er1 >conftest.err
16786   rm -f conftest.er1
16787   cat conftest.err >&5
16788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789   (exit $ac_status); } &&
16790          { ac_try='test -z "$ac_c_werror_flag"
16791                          || test ! -s conftest.err'
16792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793   (eval $ac_try) 2>&5
16794   ac_status=$?
16795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796   (exit $ac_status); }; } &&
16797          { ac_try='test -s conftest$ac_exeext'
16798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799   (eval $ac_try) 2>&5
16800   ac_status=$?
16801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802   (exit $ac_status); }; }; then
16803   ac_cv_lib_m_tanh=yes
16804 else
16805   echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16807
16808 ac_cv_lib_m_tanh=no
16809 fi
16810 rm -f conftest.err conftest.$ac_objext \
16811       conftest$ac_exeext conftest.$ac_ext
16812 LIBS=$ac_check_lib_save_LIBS
16813 fi
16814 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
16815 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16816 if test $ac_cv_lib_m_tanh = yes; then
16817
16818 cat >>confdefs.h <<\_ACEOF
16819 #define HAVE_TANH 1
16820 _ACEOF
16821
16822 fi
16823
16824 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16825 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16826 if test "${ac_cv_lib_m_tanhl+set}" = set; then
16827   echo $ECHO_N "(cached) $ECHO_C" >&6
16828 else
16829   ac_check_lib_save_LIBS=$LIBS
16830 LIBS="-lm  $LIBS"
16831 if test x$gcc_no_link = xyes; then
16832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16834    { (exit 1); exit 1; }; }
16835 fi
16836 cat >conftest.$ac_ext <<_ACEOF
16837 /* confdefs.h.  */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h.  */
16842
16843 /* Override any gcc2 internal prototype to avoid an error.  */
16844 #ifdef __cplusplus
16845 extern "C"
16846 #endif
16847 /* We use char because int might match the return type of a gcc2
16848    builtin and then its argument prototype would still apply.  */
16849 char tanhl ();
16850 int
16851 main ()
16852 {
16853 tanhl ();
16854   ;
16855   return 0;
16856 }
16857 _ACEOF
16858 rm -f conftest.$ac_objext conftest$ac_exeext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16860   (eval $ac_link) 2>conftest.er1
16861   ac_status=$?
16862   grep -v '^ *+' conftest.er1 >conftest.err
16863   rm -f conftest.er1
16864   cat conftest.err >&5
16865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866   (exit $ac_status); } &&
16867          { ac_try='test -z "$ac_c_werror_flag"
16868                          || test ! -s conftest.err'
16869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870   (eval $ac_try) 2>&5
16871   ac_status=$?
16872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873   (exit $ac_status); }; } &&
16874          { ac_try='test -s conftest$ac_exeext'
16875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876   (eval $ac_try) 2>&5
16877   ac_status=$?
16878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879   (exit $ac_status); }; }; then
16880   ac_cv_lib_m_tanhl=yes
16881 else
16882   echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.$ac_ext >&5
16884
16885 ac_cv_lib_m_tanhl=no
16886 fi
16887 rm -f conftest.err conftest.$ac_objext \
16888       conftest$ac_exeext conftest.$ac_ext
16889 LIBS=$ac_check_lib_save_LIBS
16890 fi
16891 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16892 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16893 if test $ac_cv_lib_m_tanhl = yes; then
16894
16895 cat >>confdefs.h <<\_ACEOF
16896 #define HAVE_TANHL 1
16897 _ACEOF
16898
16899 fi
16900
16901 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16902 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16903 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16904   echo $ECHO_N "(cached) $ECHO_C" >&6
16905 else
16906   ac_check_lib_save_LIBS=$LIBS
16907 LIBS="-lm  $LIBS"
16908 if test x$gcc_no_link = xyes; then
16909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16911    { (exit 1); exit 1; }; }
16912 fi
16913 cat >conftest.$ac_ext <<_ACEOF
16914 /* confdefs.h.  */
16915 _ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h.  */
16919
16920 /* Override any gcc2 internal prototype to avoid an error.  */
16921 #ifdef __cplusplus
16922 extern "C"
16923 #endif
16924 /* We use char because int might match the return type of a gcc2
16925    builtin and then its argument prototype would still apply.  */
16926 char ctanhf ();
16927 int
16928 main ()
16929 {
16930 ctanhf ();
16931   ;
16932   return 0;
16933 }
16934 _ACEOF
16935 rm -f conftest.$ac_objext conftest$ac_exeext
16936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16937   (eval $ac_link) 2>conftest.er1
16938   ac_status=$?
16939   grep -v '^ *+' conftest.er1 >conftest.err
16940   rm -f conftest.er1
16941   cat conftest.err >&5
16942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943   (exit $ac_status); } &&
16944          { ac_try='test -z "$ac_c_werror_flag"
16945                          || test ! -s conftest.err'
16946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16947   (eval $ac_try) 2>&5
16948   ac_status=$?
16949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950   (exit $ac_status); }; } &&
16951          { ac_try='test -s conftest$ac_exeext'
16952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953   (eval $ac_try) 2>&5
16954   ac_status=$?
16955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956   (exit $ac_status); }; }; then
16957   ac_cv_lib_m_ctanhf=yes
16958 else
16959   echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16961
16962 ac_cv_lib_m_ctanhf=no
16963 fi
16964 rm -f conftest.err conftest.$ac_objext \
16965       conftest$ac_exeext conftest.$ac_ext
16966 LIBS=$ac_check_lib_save_LIBS
16967 fi
16968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16969 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16970 if test $ac_cv_lib_m_ctanhf = yes; then
16971
16972 cat >>confdefs.h <<\_ACEOF
16973 #define HAVE_CTANHF 1
16974 _ACEOF
16975
16976 fi
16977
16978 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16979 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16980 if test "${ac_cv_lib_m_ctanh+set}" = set; then
16981   echo $ECHO_N "(cached) $ECHO_C" >&6
16982 else
16983   ac_check_lib_save_LIBS=$LIBS
16984 LIBS="-lm  $LIBS"
16985 if test x$gcc_no_link = xyes; then
16986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16988    { (exit 1); exit 1; }; }
16989 fi
16990 cat >conftest.$ac_ext <<_ACEOF
16991 /* confdefs.h.  */
16992 _ACEOF
16993 cat confdefs.h >>conftest.$ac_ext
16994 cat >>conftest.$ac_ext <<_ACEOF
16995 /* end confdefs.h.  */
16996
16997 /* Override any gcc2 internal prototype to avoid an error.  */
16998 #ifdef __cplusplus
16999 extern "C"
17000 #endif
17001 /* We use char because int might match the return type of a gcc2
17002    builtin and then its argument prototype would still apply.  */
17003 char ctanh ();
17004 int
17005 main ()
17006 {
17007 ctanh ();
17008   ;
17009   return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext conftest$ac_exeext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17014   (eval $ac_link) 2>conftest.er1
17015   ac_status=$?
17016   grep -v '^ *+' conftest.er1 >conftest.err
17017   rm -f conftest.er1
17018   cat conftest.err >&5
17019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020   (exit $ac_status); } &&
17021          { ac_try='test -z "$ac_c_werror_flag"
17022                          || test ! -s conftest.err'
17023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024   (eval $ac_try) 2>&5
17025   ac_status=$?
17026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027   (exit $ac_status); }; } &&
17028          { ac_try='test -s conftest$ac_exeext'
17029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030   (eval $ac_try) 2>&5
17031   ac_status=$?
17032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033   (exit $ac_status); }; }; then
17034   ac_cv_lib_m_ctanh=yes
17035 else
17036   echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17038
17039 ac_cv_lib_m_ctanh=no
17040 fi
17041 rm -f conftest.err conftest.$ac_objext \
17042       conftest$ac_exeext conftest.$ac_ext
17043 LIBS=$ac_check_lib_save_LIBS
17044 fi
17045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
17046 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
17047 if test $ac_cv_lib_m_ctanh = yes; then
17048
17049 cat >>confdefs.h <<\_ACEOF
17050 #define HAVE_CTANH 1
17051 _ACEOF
17052
17053 fi
17054
17055 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
17056 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
17057 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
17058   echo $ECHO_N "(cached) $ECHO_C" >&6
17059 else
17060   ac_check_lib_save_LIBS=$LIBS
17061 LIBS="-lm  $LIBS"
17062 if test x$gcc_no_link = xyes; then
17063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17065    { (exit 1); exit 1; }; }
17066 fi
17067 cat >conftest.$ac_ext <<_ACEOF
17068 /* confdefs.h.  */
17069 _ACEOF
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h.  */
17073
17074 /* Override any gcc2 internal prototype to avoid an error.  */
17075 #ifdef __cplusplus
17076 extern "C"
17077 #endif
17078 /* We use char because int might match the return type of a gcc2
17079    builtin and then its argument prototype would still apply.  */
17080 char ctanhl ();
17081 int
17082 main ()
17083 {
17084 ctanhl ();
17085   ;
17086   return 0;
17087 }
17088 _ACEOF
17089 rm -f conftest.$ac_objext conftest$ac_exeext
17090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17091   (eval $ac_link) 2>conftest.er1
17092   ac_status=$?
17093   grep -v '^ *+' conftest.er1 >conftest.err
17094   rm -f conftest.er1
17095   cat conftest.err >&5
17096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097   (exit $ac_status); } &&
17098          { ac_try='test -z "$ac_c_werror_flag"
17099                          || test ! -s conftest.err'
17100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101   (eval $ac_try) 2>&5
17102   ac_status=$?
17103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104   (exit $ac_status); }; } &&
17105          { ac_try='test -s conftest$ac_exeext'
17106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107   (eval $ac_try) 2>&5
17108   ac_status=$?
17109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110   (exit $ac_status); }; }; then
17111   ac_cv_lib_m_ctanhl=yes
17112 else
17113   echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17115
17116 ac_cv_lib_m_ctanhl=no
17117 fi
17118 rm -f conftest.err conftest.$ac_objext \
17119       conftest$ac_exeext conftest.$ac_ext
17120 LIBS=$ac_check_lib_save_LIBS
17121 fi
17122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
17123 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
17124 if test $ac_cv_lib_m_ctanhl = yes; then
17125
17126 cat >>confdefs.h <<\_ACEOF
17127 #define HAVE_CTANHL 1
17128 _ACEOF
17129
17130 fi
17131
17132 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
17133 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
17134 if test "${ac_cv_lib_m_truncf+set}" = set; then
17135   echo $ECHO_N "(cached) $ECHO_C" >&6
17136 else
17137   ac_check_lib_save_LIBS=$LIBS
17138 LIBS="-lm  $LIBS"
17139 if test x$gcc_no_link = xyes; then
17140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17142    { (exit 1); exit 1; }; }
17143 fi
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h.  */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h.  */
17150
17151 /* Override any gcc2 internal prototype to avoid an error.  */
17152 #ifdef __cplusplus
17153 extern "C"
17154 #endif
17155 /* We use char because int might match the return type of a gcc2
17156    builtin and then its argument prototype would still apply.  */
17157 char truncf ();
17158 int
17159 main ()
17160 {
17161 truncf ();
17162   ;
17163   return 0;
17164 }
17165 _ACEOF
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17168   (eval $ac_link) 2>conftest.er1
17169   ac_status=$?
17170   grep -v '^ *+' conftest.er1 >conftest.err
17171   rm -f conftest.er1
17172   cat conftest.err >&5
17173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174   (exit $ac_status); } &&
17175          { ac_try='test -z "$ac_c_werror_flag"
17176                          || test ! -s conftest.err'
17177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178   (eval $ac_try) 2>&5
17179   ac_status=$?
17180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181   (exit $ac_status); }; } &&
17182          { ac_try='test -s conftest$ac_exeext'
17183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184   (eval $ac_try) 2>&5
17185   ac_status=$?
17186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187   (exit $ac_status); }; }; then
17188   ac_cv_lib_m_truncf=yes
17189 else
17190   echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17192
17193 ac_cv_lib_m_truncf=no
17194 fi
17195 rm -f conftest.err conftest.$ac_objext \
17196       conftest$ac_exeext conftest.$ac_ext
17197 LIBS=$ac_check_lib_save_LIBS
17198 fi
17199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17200 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17201 if test $ac_cv_lib_m_truncf = yes; then
17202
17203 cat >>confdefs.h <<\_ACEOF
17204 #define HAVE_TRUNCF 1
17205 _ACEOF
17206
17207 fi
17208
17209 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17210 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17211 if test "${ac_cv_lib_m_trunc+set}" = set; then
17212   echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else
17214   ac_check_lib_save_LIBS=$LIBS
17215 LIBS="-lm  $LIBS"
17216 if test x$gcc_no_link = xyes; then
17217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17219    { (exit 1); exit 1; }; }
17220 fi
17221 cat >conftest.$ac_ext <<_ACEOF
17222 /* confdefs.h.  */
17223 _ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h.  */
17227
17228 /* Override any gcc2 internal prototype to avoid an error.  */
17229 #ifdef __cplusplus
17230 extern "C"
17231 #endif
17232 /* We use char because int might match the return type of a gcc2
17233    builtin and then its argument prototype would still apply.  */
17234 char trunc ();
17235 int
17236 main ()
17237 {
17238 trunc ();
17239   ;
17240   return 0;
17241 }
17242 _ACEOF
17243 rm -f conftest.$ac_objext conftest$ac_exeext
17244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17245   (eval $ac_link) 2>conftest.er1
17246   ac_status=$?
17247   grep -v '^ *+' conftest.er1 >conftest.err
17248   rm -f conftest.er1
17249   cat conftest.err >&5
17250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251   (exit $ac_status); } &&
17252          { ac_try='test -z "$ac_c_werror_flag"
17253                          || test ! -s conftest.err'
17254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255   (eval $ac_try) 2>&5
17256   ac_status=$?
17257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258   (exit $ac_status); }; } &&
17259          { ac_try='test -s conftest$ac_exeext'
17260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261   (eval $ac_try) 2>&5
17262   ac_status=$?
17263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264   (exit $ac_status); }; }; then
17265   ac_cv_lib_m_trunc=yes
17266 else
17267   echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17269
17270 ac_cv_lib_m_trunc=no
17271 fi
17272 rm -f conftest.err conftest.$ac_objext \
17273       conftest$ac_exeext conftest.$ac_ext
17274 LIBS=$ac_check_lib_save_LIBS
17275 fi
17276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17277 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17278 if test $ac_cv_lib_m_trunc = yes; then
17279
17280 cat >>confdefs.h <<\_ACEOF
17281 #define HAVE_TRUNC 1
17282 _ACEOF
17283
17284 fi
17285
17286 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17287 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17288 if test "${ac_cv_lib_m_truncl+set}" = set; then
17289   echo $ECHO_N "(cached) $ECHO_C" >&6
17290 else
17291   ac_check_lib_save_LIBS=$LIBS
17292 LIBS="-lm  $LIBS"
17293 if test x$gcc_no_link = xyes; then
17294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17296    { (exit 1); exit 1; }; }
17297 fi
17298 cat >conftest.$ac_ext <<_ACEOF
17299 /* confdefs.h.  */
17300 _ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h.  */
17304
17305 /* Override any gcc2 internal prototype to avoid an error.  */
17306 #ifdef __cplusplus
17307 extern "C"
17308 #endif
17309 /* We use char because int might match the return type of a gcc2
17310    builtin and then its argument prototype would still apply.  */
17311 char truncl ();
17312 int
17313 main ()
17314 {
17315 truncl ();
17316   ;
17317   return 0;
17318 }
17319 _ACEOF
17320 rm -f conftest.$ac_objext conftest$ac_exeext
17321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17322   (eval $ac_link) 2>conftest.er1
17323   ac_status=$?
17324   grep -v '^ *+' conftest.er1 >conftest.err
17325   rm -f conftest.er1
17326   cat conftest.err >&5
17327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328   (exit $ac_status); } &&
17329          { ac_try='test -z "$ac_c_werror_flag"
17330                          || test ! -s conftest.err'
17331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332   (eval $ac_try) 2>&5
17333   ac_status=$?
17334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335   (exit $ac_status); }; } &&
17336          { ac_try='test -s conftest$ac_exeext'
17337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338   (eval $ac_try) 2>&5
17339   ac_status=$?
17340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341   (exit $ac_status); }; }; then
17342   ac_cv_lib_m_truncl=yes
17343 else
17344   echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17346
17347 ac_cv_lib_m_truncl=no
17348 fi
17349 rm -f conftest.err conftest.$ac_objext \
17350       conftest$ac_exeext conftest.$ac_ext
17351 LIBS=$ac_check_lib_save_LIBS
17352 fi
17353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17354 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17355 if test $ac_cv_lib_m_truncl = yes; then
17356
17357 cat >>confdefs.h <<\_ACEOF
17358 #define HAVE_TRUNCL 1
17359 _ACEOF
17360
17361 fi
17362
17363 echo "$as_me:$LINENO: checking for erff in -lm" >&5
17364 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17365 if test "${ac_cv_lib_m_erff+set}" = set; then
17366   echo $ECHO_N "(cached) $ECHO_C" >&6
17367 else
17368   ac_check_lib_save_LIBS=$LIBS
17369 LIBS="-lm  $LIBS"
17370 if test x$gcc_no_link = xyes; then
17371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17373    { (exit 1); exit 1; }; }
17374 fi
17375 cat >conftest.$ac_ext <<_ACEOF
17376 /* confdefs.h.  */
17377 _ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h.  */
17381
17382 /* Override any gcc2 internal prototype to avoid an error.  */
17383 #ifdef __cplusplus
17384 extern "C"
17385 #endif
17386 /* We use char because int might match the return type of a gcc2
17387    builtin and then its argument prototype would still apply.  */
17388 char erff ();
17389 int
17390 main ()
17391 {
17392 erff ();
17393   ;
17394   return 0;
17395 }
17396 _ACEOF
17397 rm -f conftest.$ac_objext conftest$ac_exeext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17399   (eval $ac_link) 2>conftest.er1
17400   ac_status=$?
17401   grep -v '^ *+' conftest.er1 >conftest.err
17402   rm -f conftest.er1
17403   cat conftest.err >&5
17404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405   (exit $ac_status); } &&
17406          { ac_try='test -z "$ac_c_werror_flag"
17407                          || test ! -s conftest.err'
17408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409   (eval $ac_try) 2>&5
17410   ac_status=$?
17411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412   (exit $ac_status); }; } &&
17413          { ac_try='test -s conftest$ac_exeext'
17414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415   (eval $ac_try) 2>&5
17416   ac_status=$?
17417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418   (exit $ac_status); }; }; then
17419   ac_cv_lib_m_erff=yes
17420 else
17421   echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 ac_cv_lib_m_erff=no
17425 fi
17426 rm -f conftest.err conftest.$ac_objext \
17427       conftest$ac_exeext conftest.$ac_ext
17428 LIBS=$ac_check_lib_save_LIBS
17429 fi
17430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17431 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17432 if test $ac_cv_lib_m_erff = yes; then
17433
17434 cat >>confdefs.h <<\_ACEOF
17435 #define HAVE_ERFF 1
17436 _ACEOF
17437
17438 fi
17439
17440 echo "$as_me:$LINENO: checking for erf in -lm" >&5
17441 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17442 if test "${ac_cv_lib_m_erf+set}" = set; then
17443   echo $ECHO_N "(cached) $ECHO_C" >&6
17444 else
17445   ac_check_lib_save_LIBS=$LIBS
17446 LIBS="-lm  $LIBS"
17447 if test x$gcc_no_link = xyes; then
17448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17450    { (exit 1); exit 1; }; }
17451 fi
17452 cat >conftest.$ac_ext <<_ACEOF
17453 /* confdefs.h.  */
17454 _ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h.  */
17458
17459 /* Override any gcc2 internal prototype to avoid an error.  */
17460 #ifdef __cplusplus
17461 extern "C"
17462 #endif
17463 /* We use char because int might match the return type of a gcc2
17464    builtin and then its argument prototype would still apply.  */
17465 char erf ();
17466 int
17467 main ()
17468 {
17469 erf ();
17470   ;
17471   return 0;
17472 }
17473 _ACEOF
17474 rm -f conftest.$ac_objext conftest$ac_exeext
17475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17476   (eval $ac_link) 2>conftest.er1
17477   ac_status=$?
17478   grep -v '^ *+' conftest.er1 >conftest.err
17479   rm -f conftest.er1
17480   cat conftest.err >&5
17481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482   (exit $ac_status); } &&
17483          { ac_try='test -z "$ac_c_werror_flag"
17484                          || test ! -s conftest.err'
17485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486   (eval $ac_try) 2>&5
17487   ac_status=$?
17488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489   (exit $ac_status); }; } &&
17490          { ac_try='test -s conftest$ac_exeext'
17491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492   (eval $ac_try) 2>&5
17493   ac_status=$?
17494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495   (exit $ac_status); }; }; then
17496   ac_cv_lib_m_erf=yes
17497 else
17498   echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501 ac_cv_lib_m_erf=no
17502 fi
17503 rm -f conftest.err conftest.$ac_objext \
17504       conftest$ac_exeext conftest.$ac_ext
17505 LIBS=$ac_check_lib_save_LIBS
17506 fi
17507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17508 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17509 if test $ac_cv_lib_m_erf = yes; then
17510
17511 cat >>confdefs.h <<\_ACEOF
17512 #define HAVE_ERF 1
17513 _ACEOF
17514
17515 fi
17516
17517 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17518 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17519 if test "${ac_cv_lib_m_erfl+set}" = set; then
17520   echo $ECHO_N "(cached) $ECHO_C" >&6
17521 else
17522   ac_check_lib_save_LIBS=$LIBS
17523 LIBS="-lm  $LIBS"
17524 if test x$gcc_no_link = xyes; then
17525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17527    { (exit 1); exit 1; }; }
17528 fi
17529 cat >conftest.$ac_ext <<_ACEOF
17530 /* confdefs.h.  */
17531 _ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h.  */
17535
17536 /* Override any gcc2 internal prototype to avoid an error.  */
17537 #ifdef __cplusplus
17538 extern "C"
17539 #endif
17540 /* We use char because int might match the return type of a gcc2
17541    builtin and then its argument prototype would still apply.  */
17542 char erfl ();
17543 int
17544 main ()
17545 {
17546 erfl ();
17547   ;
17548   return 0;
17549 }
17550 _ACEOF
17551 rm -f conftest.$ac_objext conftest$ac_exeext
17552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17553   (eval $ac_link) 2>conftest.er1
17554   ac_status=$?
17555   grep -v '^ *+' conftest.er1 >conftest.err
17556   rm -f conftest.er1
17557   cat conftest.err >&5
17558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559   (exit $ac_status); } &&
17560          { ac_try='test -z "$ac_c_werror_flag"
17561                          || test ! -s conftest.err'
17562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563   (eval $ac_try) 2>&5
17564   ac_status=$?
17565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566   (exit $ac_status); }; } &&
17567          { ac_try='test -s conftest$ac_exeext'
17568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569   (eval $ac_try) 2>&5
17570   ac_status=$?
17571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572   (exit $ac_status); }; }; then
17573   ac_cv_lib_m_erfl=yes
17574 else
17575   echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.$ac_ext >&5
17577
17578 ac_cv_lib_m_erfl=no
17579 fi
17580 rm -f conftest.err conftest.$ac_objext \
17581       conftest$ac_exeext conftest.$ac_ext
17582 LIBS=$ac_check_lib_save_LIBS
17583 fi
17584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17585 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17586 if test $ac_cv_lib_m_erfl = yes; then
17587
17588 cat >>confdefs.h <<\_ACEOF
17589 #define HAVE_ERFL 1
17590 _ACEOF
17591
17592 fi
17593
17594 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17595 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17596 if test "${ac_cv_lib_m_erfcf+set}" = set; then
17597   echo $ECHO_N "(cached) $ECHO_C" >&6
17598 else
17599   ac_check_lib_save_LIBS=$LIBS
17600 LIBS="-lm  $LIBS"
17601 if test x$gcc_no_link = xyes; then
17602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17604    { (exit 1); exit 1; }; }
17605 fi
17606 cat >conftest.$ac_ext <<_ACEOF
17607 /* confdefs.h.  */
17608 _ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h.  */
17612
17613 /* Override any gcc2 internal prototype to avoid an error.  */
17614 #ifdef __cplusplus
17615 extern "C"
17616 #endif
17617 /* We use char because int might match the return type of a gcc2
17618    builtin and then its argument prototype would still apply.  */
17619 char erfcf ();
17620 int
17621 main ()
17622 {
17623 erfcf ();
17624   ;
17625   return 0;
17626 }
17627 _ACEOF
17628 rm -f conftest.$ac_objext conftest$ac_exeext
17629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17630   (eval $ac_link) 2>conftest.er1
17631   ac_status=$?
17632   grep -v '^ *+' conftest.er1 >conftest.err
17633   rm -f conftest.er1
17634   cat conftest.err >&5
17635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636   (exit $ac_status); } &&
17637          { ac_try='test -z "$ac_c_werror_flag"
17638                          || test ! -s conftest.err'
17639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640   (eval $ac_try) 2>&5
17641   ac_status=$?
17642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643   (exit $ac_status); }; } &&
17644          { ac_try='test -s conftest$ac_exeext'
17645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646   (eval $ac_try) 2>&5
17647   ac_status=$?
17648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649   (exit $ac_status); }; }; then
17650   ac_cv_lib_m_erfcf=yes
17651 else
17652   echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17654
17655 ac_cv_lib_m_erfcf=no
17656 fi
17657 rm -f conftest.err conftest.$ac_objext \
17658       conftest$ac_exeext conftest.$ac_ext
17659 LIBS=$ac_check_lib_save_LIBS
17660 fi
17661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17662 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17663 if test $ac_cv_lib_m_erfcf = yes; then
17664
17665 cat >>confdefs.h <<\_ACEOF
17666 #define HAVE_ERFCF 1
17667 _ACEOF
17668
17669 fi
17670
17671 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17672 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17673 if test "${ac_cv_lib_m_erfc+set}" = set; then
17674   echo $ECHO_N "(cached) $ECHO_C" >&6
17675 else
17676   ac_check_lib_save_LIBS=$LIBS
17677 LIBS="-lm  $LIBS"
17678 if test x$gcc_no_link = xyes; then
17679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17681    { (exit 1); exit 1; }; }
17682 fi
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h.  */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h.  */
17689
17690 /* Override any gcc2 internal prototype to avoid an error.  */
17691 #ifdef __cplusplus
17692 extern "C"
17693 #endif
17694 /* We use char because int might match the return type of a gcc2
17695    builtin and then its argument prototype would still apply.  */
17696 char erfc ();
17697 int
17698 main ()
17699 {
17700 erfc ();
17701   ;
17702   return 0;
17703 }
17704 _ACEOF
17705 rm -f conftest.$ac_objext conftest$ac_exeext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17707   (eval $ac_link) 2>conftest.er1
17708   ac_status=$?
17709   grep -v '^ *+' conftest.er1 >conftest.err
17710   rm -f conftest.er1
17711   cat conftest.err >&5
17712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713   (exit $ac_status); } &&
17714          { ac_try='test -z "$ac_c_werror_flag"
17715                          || test ! -s conftest.err'
17716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717   (eval $ac_try) 2>&5
17718   ac_status=$?
17719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720   (exit $ac_status); }; } &&
17721          { ac_try='test -s conftest$ac_exeext'
17722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723   (eval $ac_try) 2>&5
17724   ac_status=$?
17725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726   (exit $ac_status); }; }; then
17727   ac_cv_lib_m_erfc=yes
17728 else
17729   echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 ac_cv_lib_m_erfc=no
17733 fi
17734 rm -f conftest.err conftest.$ac_objext \
17735       conftest$ac_exeext conftest.$ac_ext
17736 LIBS=$ac_check_lib_save_LIBS
17737 fi
17738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17739 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17740 if test $ac_cv_lib_m_erfc = yes; then
17741
17742 cat >>confdefs.h <<\_ACEOF
17743 #define HAVE_ERFC 1
17744 _ACEOF
17745
17746 fi
17747
17748 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17749 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17750 if test "${ac_cv_lib_m_erfcl+set}" = set; then
17751   echo $ECHO_N "(cached) $ECHO_C" >&6
17752 else
17753   ac_check_lib_save_LIBS=$LIBS
17754 LIBS="-lm  $LIBS"
17755 if test x$gcc_no_link = xyes; then
17756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17758    { (exit 1); exit 1; }; }
17759 fi
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h.  */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h.  */
17766
17767 /* Override any gcc2 internal prototype to avoid an error.  */
17768 #ifdef __cplusplus
17769 extern "C"
17770 #endif
17771 /* We use char because int might match the return type of a gcc2
17772    builtin and then its argument prototype would still apply.  */
17773 char erfcl ();
17774 int
17775 main ()
17776 {
17777 erfcl ();
17778   ;
17779   return 0;
17780 }
17781 _ACEOF
17782 rm -f conftest.$ac_objext conftest$ac_exeext
17783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17784   (eval $ac_link) 2>conftest.er1
17785   ac_status=$?
17786   grep -v '^ *+' conftest.er1 >conftest.err
17787   rm -f conftest.er1
17788   cat conftest.err >&5
17789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790   (exit $ac_status); } &&
17791          { ac_try='test -z "$ac_c_werror_flag"
17792                          || test ! -s conftest.err'
17793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794   (eval $ac_try) 2>&5
17795   ac_status=$?
17796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797   (exit $ac_status); }; } &&
17798          { ac_try='test -s conftest$ac_exeext'
17799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800   (eval $ac_try) 2>&5
17801   ac_status=$?
17802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803   (exit $ac_status); }; }; then
17804   ac_cv_lib_m_erfcl=yes
17805 else
17806   echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17808
17809 ac_cv_lib_m_erfcl=no
17810 fi
17811 rm -f conftest.err conftest.$ac_objext \
17812       conftest$ac_exeext conftest.$ac_ext
17813 LIBS=$ac_check_lib_save_LIBS
17814 fi
17815 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17816 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17817 if test $ac_cv_lib_m_erfcl = yes; then
17818
17819 cat >>confdefs.h <<\_ACEOF
17820 #define HAVE_ERFCL 1
17821 _ACEOF
17822
17823 fi
17824
17825 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17826 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17827 if test "${ac_cv_lib_m_j0f+set}" = set; then
17828   echo $ECHO_N "(cached) $ECHO_C" >&6
17829 else
17830   ac_check_lib_save_LIBS=$LIBS
17831 LIBS="-lm  $LIBS"
17832 if test x$gcc_no_link = xyes; then
17833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17835    { (exit 1); exit 1; }; }
17836 fi
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h.  */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h.  */
17843
17844 /* Override any gcc2 internal prototype to avoid an error.  */
17845 #ifdef __cplusplus
17846 extern "C"
17847 #endif
17848 /* We use char because int might match the return type of a gcc2
17849    builtin and then its argument prototype would still apply.  */
17850 char j0f ();
17851 int
17852 main ()
17853 {
17854 j0f ();
17855   ;
17856   return 0;
17857 }
17858 _ACEOF
17859 rm -f conftest.$ac_objext conftest$ac_exeext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17861   (eval $ac_link) 2>conftest.er1
17862   ac_status=$?
17863   grep -v '^ *+' conftest.er1 >conftest.err
17864   rm -f conftest.er1
17865   cat conftest.err >&5
17866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867   (exit $ac_status); } &&
17868          { ac_try='test -z "$ac_c_werror_flag"
17869                          || test ! -s conftest.err'
17870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871   (eval $ac_try) 2>&5
17872   ac_status=$?
17873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874   (exit $ac_status); }; } &&
17875          { ac_try='test -s conftest$ac_exeext'
17876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877   (eval $ac_try) 2>&5
17878   ac_status=$?
17879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880   (exit $ac_status); }; }; then
17881   ac_cv_lib_m_j0f=yes
17882 else
17883   echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886 ac_cv_lib_m_j0f=no
17887 fi
17888 rm -f conftest.err conftest.$ac_objext \
17889       conftest$ac_exeext conftest.$ac_ext
17890 LIBS=$ac_check_lib_save_LIBS
17891 fi
17892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17893 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17894 if test $ac_cv_lib_m_j0f = yes; then
17895
17896 cat >>confdefs.h <<\_ACEOF
17897 #define HAVE_J0F 1
17898 _ACEOF
17899
17900 fi
17901
17902 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17903 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17904 if test "${ac_cv_lib_m_j0+set}" = set; then
17905   echo $ECHO_N "(cached) $ECHO_C" >&6
17906 else
17907   ac_check_lib_save_LIBS=$LIBS
17908 LIBS="-lm  $LIBS"
17909 if test x$gcc_no_link = xyes; then
17910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17912    { (exit 1); exit 1; }; }
17913 fi
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h.  */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h.  */
17920
17921 /* Override any gcc2 internal prototype to avoid an error.  */
17922 #ifdef __cplusplus
17923 extern "C"
17924 #endif
17925 /* We use char because int might match the return type of a gcc2
17926    builtin and then its argument prototype would still apply.  */
17927 char j0 ();
17928 int
17929 main ()
17930 {
17931 j0 ();
17932   ;
17933   return 0;
17934 }
17935 _ACEOF
17936 rm -f conftest.$ac_objext conftest$ac_exeext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17938   (eval $ac_link) 2>conftest.er1
17939   ac_status=$?
17940   grep -v '^ *+' conftest.er1 >conftest.err
17941   rm -f conftest.er1
17942   cat conftest.err >&5
17943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944   (exit $ac_status); } &&
17945          { ac_try='test -z "$ac_c_werror_flag"
17946                          || test ! -s conftest.err'
17947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948   (eval $ac_try) 2>&5
17949   ac_status=$?
17950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951   (exit $ac_status); }; } &&
17952          { ac_try='test -s conftest$ac_exeext'
17953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954   (eval $ac_try) 2>&5
17955   ac_status=$?
17956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957   (exit $ac_status); }; }; then
17958   ac_cv_lib_m_j0=yes
17959 else
17960   echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17962
17963 ac_cv_lib_m_j0=no
17964 fi
17965 rm -f conftest.err conftest.$ac_objext \
17966       conftest$ac_exeext conftest.$ac_ext
17967 LIBS=$ac_check_lib_save_LIBS
17968 fi
17969 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17970 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17971 if test $ac_cv_lib_m_j0 = yes; then
17972
17973 cat >>confdefs.h <<\_ACEOF
17974 #define HAVE_J0 1
17975 _ACEOF
17976
17977 fi
17978
17979 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17980 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17981 if test "${ac_cv_lib_m_j0l+set}" = set; then
17982   echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984   ac_check_lib_save_LIBS=$LIBS
17985 LIBS="-lm  $LIBS"
17986 if test x$gcc_no_link = xyes; then
17987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17989    { (exit 1); exit 1; }; }
17990 fi
17991 cat >conftest.$ac_ext <<_ACEOF
17992 /* confdefs.h.  */
17993 _ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h.  */
17997
17998 /* Override any gcc2 internal prototype to avoid an error.  */
17999 #ifdef __cplusplus
18000 extern "C"
18001 #endif
18002 /* We use char because int might match the return type of a gcc2
18003    builtin and then its argument prototype would still apply.  */
18004 char j0l ();
18005 int
18006 main ()
18007 {
18008 j0l ();
18009   ;
18010   return 0;
18011 }
18012 _ACEOF
18013 rm -f conftest.$ac_objext conftest$ac_exeext
18014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18015   (eval $ac_link) 2>conftest.er1
18016   ac_status=$?
18017   grep -v '^ *+' conftest.er1 >conftest.err
18018   rm -f conftest.er1
18019   cat conftest.err >&5
18020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021   (exit $ac_status); } &&
18022          { ac_try='test -z "$ac_c_werror_flag"
18023                          || test ! -s conftest.err'
18024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025   (eval $ac_try) 2>&5
18026   ac_status=$?
18027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028   (exit $ac_status); }; } &&
18029          { ac_try='test -s conftest$ac_exeext'
18030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031   (eval $ac_try) 2>&5
18032   ac_status=$?
18033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034   (exit $ac_status); }; }; then
18035   ac_cv_lib_m_j0l=yes
18036 else
18037   echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.$ac_ext >&5
18039
18040 ac_cv_lib_m_j0l=no
18041 fi
18042 rm -f conftest.err conftest.$ac_objext \
18043       conftest$ac_exeext conftest.$ac_ext
18044 LIBS=$ac_check_lib_save_LIBS
18045 fi
18046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
18047 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
18048 if test $ac_cv_lib_m_j0l = yes; then
18049
18050 cat >>confdefs.h <<\_ACEOF
18051 #define HAVE_J0L 1
18052 _ACEOF
18053
18054 fi
18055
18056 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
18057 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
18058 if test "${ac_cv_lib_m_j1f+set}" = set; then
18059   echo $ECHO_N "(cached) $ECHO_C" >&6
18060 else
18061   ac_check_lib_save_LIBS=$LIBS
18062 LIBS="-lm  $LIBS"
18063 if test x$gcc_no_link = xyes; then
18064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18066    { (exit 1); exit 1; }; }
18067 fi
18068 cat >conftest.$ac_ext <<_ACEOF
18069 /* confdefs.h.  */
18070 _ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h.  */
18074
18075 /* Override any gcc2 internal prototype to avoid an error.  */
18076 #ifdef __cplusplus
18077 extern "C"
18078 #endif
18079 /* We use char because int might match the return type of a gcc2
18080    builtin and then its argument prototype would still apply.  */
18081 char j1f ();
18082 int
18083 main ()
18084 {
18085 j1f ();
18086   ;
18087   return 0;
18088 }
18089 _ACEOF
18090 rm -f conftest.$ac_objext conftest$ac_exeext
18091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18092   (eval $ac_link) 2>conftest.er1
18093   ac_status=$?
18094   grep -v '^ *+' conftest.er1 >conftest.err
18095   rm -f conftest.er1
18096   cat conftest.err >&5
18097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098   (exit $ac_status); } &&
18099          { ac_try='test -z "$ac_c_werror_flag"
18100                          || test ! -s conftest.err'
18101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102   (eval $ac_try) 2>&5
18103   ac_status=$?
18104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105   (exit $ac_status); }; } &&
18106          { ac_try='test -s conftest$ac_exeext'
18107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108   (eval $ac_try) 2>&5
18109   ac_status=$?
18110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111   (exit $ac_status); }; }; then
18112   ac_cv_lib_m_j1f=yes
18113 else
18114   echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18116
18117 ac_cv_lib_m_j1f=no
18118 fi
18119 rm -f conftest.err conftest.$ac_objext \
18120       conftest$ac_exeext conftest.$ac_ext
18121 LIBS=$ac_check_lib_save_LIBS
18122 fi
18123 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
18124 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
18125 if test $ac_cv_lib_m_j1f = yes; then
18126
18127 cat >>confdefs.h <<\_ACEOF
18128 #define HAVE_J1F 1
18129 _ACEOF
18130
18131 fi
18132
18133 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
18134 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
18135 if test "${ac_cv_lib_m_j1+set}" = set; then
18136   echo $ECHO_N "(cached) $ECHO_C" >&6
18137 else
18138   ac_check_lib_save_LIBS=$LIBS
18139 LIBS="-lm  $LIBS"
18140 if test x$gcc_no_link = xyes; then
18141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18143    { (exit 1); exit 1; }; }
18144 fi
18145 cat >conftest.$ac_ext <<_ACEOF
18146 /* confdefs.h.  */
18147 _ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h.  */
18151
18152 /* Override any gcc2 internal prototype to avoid an error.  */
18153 #ifdef __cplusplus
18154 extern "C"
18155 #endif
18156 /* We use char because int might match the return type of a gcc2
18157    builtin and then its argument prototype would still apply.  */
18158 char j1 ();
18159 int
18160 main ()
18161 {
18162 j1 ();
18163   ;
18164   return 0;
18165 }
18166 _ACEOF
18167 rm -f conftest.$ac_objext conftest$ac_exeext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18169   (eval $ac_link) 2>conftest.er1
18170   ac_status=$?
18171   grep -v '^ *+' conftest.er1 >conftest.err
18172   rm -f conftest.er1
18173   cat conftest.err >&5
18174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175   (exit $ac_status); } &&
18176          { ac_try='test -z "$ac_c_werror_flag"
18177                          || test ! -s conftest.err'
18178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179   (eval $ac_try) 2>&5
18180   ac_status=$?
18181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182   (exit $ac_status); }; } &&
18183          { ac_try='test -s conftest$ac_exeext'
18184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185   (eval $ac_try) 2>&5
18186   ac_status=$?
18187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188   (exit $ac_status); }; }; then
18189   ac_cv_lib_m_j1=yes
18190 else
18191   echo "$as_me: failed program was:" >&5
18192 sed 's/^/| /' conftest.$ac_ext >&5
18193
18194 ac_cv_lib_m_j1=no
18195 fi
18196 rm -f conftest.err conftest.$ac_objext \
18197       conftest$ac_exeext conftest.$ac_ext
18198 LIBS=$ac_check_lib_save_LIBS
18199 fi
18200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18201 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18202 if test $ac_cv_lib_m_j1 = yes; then
18203
18204 cat >>confdefs.h <<\_ACEOF
18205 #define HAVE_J1 1
18206 _ACEOF
18207
18208 fi
18209
18210 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18211 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18212 if test "${ac_cv_lib_m_j1l+set}" = set; then
18213   echo $ECHO_N "(cached) $ECHO_C" >&6
18214 else
18215   ac_check_lib_save_LIBS=$LIBS
18216 LIBS="-lm  $LIBS"
18217 if test x$gcc_no_link = xyes; then
18218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18220    { (exit 1); exit 1; }; }
18221 fi
18222 cat >conftest.$ac_ext <<_ACEOF
18223 /* confdefs.h.  */
18224 _ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h.  */
18228
18229 /* Override any gcc2 internal prototype to avoid an error.  */
18230 #ifdef __cplusplus
18231 extern "C"
18232 #endif
18233 /* We use char because int might match the return type of a gcc2
18234    builtin and then its argument prototype would still apply.  */
18235 char j1l ();
18236 int
18237 main ()
18238 {
18239 j1l ();
18240   ;
18241   return 0;
18242 }
18243 _ACEOF
18244 rm -f conftest.$ac_objext conftest$ac_exeext
18245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18246   (eval $ac_link) 2>conftest.er1
18247   ac_status=$?
18248   grep -v '^ *+' conftest.er1 >conftest.err
18249   rm -f conftest.er1
18250   cat conftest.err >&5
18251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252   (exit $ac_status); } &&
18253          { ac_try='test -z "$ac_c_werror_flag"
18254                          || test ! -s conftest.err'
18255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256   (eval $ac_try) 2>&5
18257   ac_status=$?
18258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259   (exit $ac_status); }; } &&
18260          { ac_try='test -s conftest$ac_exeext'
18261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262   (eval $ac_try) 2>&5
18263   ac_status=$?
18264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265   (exit $ac_status); }; }; then
18266   ac_cv_lib_m_j1l=yes
18267 else
18268   echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18270
18271 ac_cv_lib_m_j1l=no
18272 fi
18273 rm -f conftest.err conftest.$ac_objext \
18274       conftest$ac_exeext conftest.$ac_ext
18275 LIBS=$ac_check_lib_save_LIBS
18276 fi
18277 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18278 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18279 if test $ac_cv_lib_m_j1l = yes; then
18280
18281 cat >>confdefs.h <<\_ACEOF
18282 #define HAVE_J1L 1
18283 _ACEOF
18284
18285 fi
18286
18287 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18288 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18289 if test "${ac_cv_lib_m_jnf+set}" = set; then
18290   echo $ECHO_N "(cached) $ECHO_C" >&6
18291 else
18292   ac_check_lib_save_LIBS=$LIBS
18293 LIBS="-lm  $LIBS"
18294 if test x$gcc_no_link = xyes; then
18295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18297    { (exit 1); exit 1; }; }
18298 fi
18299 cat >conftest.$ac_ext <<_ACEOF
18300 /* confdefs.h.  */
18301 _ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h.  */
18305
18306 /* Override any gcc2 internal prototype to avoid an error.  */
18307 #ifdef __cplusplus
18308 extern "C"
18309 #endif
18310 /* We use char because int might match the return type of a gcc2
18311    builtin and then its argument prototype would still apply.  */
18312 char jnf ();
18313 int
18314 main ()
18315 {
18316 jnf ();
18317   ;
18318   return 0;
18319 }
18320 _ACEOF
18321 rm -f conftest.$ac_objext conftest$ac_exeext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18323   (eval $ac_link) 2>conftest.er1
18324   ac_status=$?
18325   grep -v '^ *+' conftest.er1 >conftest.err
18326   rm -f conftest.er1
18327   cat conftest.err >&5
18328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329   (exit $ac_status); } &&
18330          { ac_try='test -z "$ac_c_werror_flag"
18331                          || test ! -s conftest.err'
18332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333   (eval $ac_try) 2>&5
18334   ac_status=$?
18335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336   (exit $ac_status); }; } &&
18337          { ac_try='test -s conftest$ac_exeext'
18338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339   (eval $ac_try) 2>&5
18340   ac_status=$?
18341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342   (exit $ac_status); }; }; then
18343   ac_cv_lib_m_jnf=yes
18344 else
18345   echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.$ac_ext >&5
18347
18348 ac_cv_lib_m_jnf=no
18349 fi
18350 rm -f conftest.err conftest.$ac_objext \
18351       conftest$ac_exeext conftest.$ac_ext
18352 LIBS=$ac_check_lib_save_LIBS
18353 fi
18354 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18355 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18356 if test $ac_cv_lib_m_jnf = yes; then
18357
18358 cat >>confdefs.h <<\_ACEOF
18359 #define HAVE_JNF 1
18360 _ACEOF
18361
18362 fi
18363
18364 echo "$as_me:$LINENO: checking for jn in -lm" >&5
18365 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18366 if test "${ac_cv_lib_m_jn+set}" = set; then
18367   echo $ECHO_N "(cached) $ECHO_C" >&6
18368 else
18369   ac_check_lib_save_LIBS=$LIBS
18370 LIBS="-lm  $LIBS"
18371 if test x$gcc_no_link = xyes; then
18372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18374    { (exit 1); exit 1; }; }
18375 fi
18376 cat >conftest.$ac_ext <<_ACEOF
18377 /* confdefs.h.  */
18378 _ACEOF
18379 cat confdefs.h >>conftest.$ac_ext
18380 cat >>conftest.$ac_ext <<_ACEOF
18381 /* end confdefs.h.  */
18382
18383 /* Override any gcc2 internal prototype to avoid an error.  */
18384 #ifdef __cplusplus
18385 extern "C"
18386 #endif
18387 /* We use char because int might match the return type of a gcc2
18388    builtin and then its argument prototype would still apply.  */
18389 char jn ();
18390 int
18391 main ()
18392 {
18393 jn ();
18394   ;
18395   return 0;
18396 }
18397 _ACEOF
18398 rm -f conftest.$ac_objext conftest$ac_exeext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18400   (eval $ac_link) 2>conftest.er1
18401   ac_status=$?
18402   grep -v '^ *+' conftest.er1 >conftest.err
18403   rm -f conftest.er1
18404   cat conftest.err >&5
18405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406   (exit $ac_status); } &&
18407          { ac_try='test -z "$ac_c_werror_flag"
18408                          || test ! -s conftest.err'
18409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410   (eval $ac_try) 2>&5
18411   ac_status=$?
18412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413   (exit $ac_status); }; } &&
18414          { ac_try='test -s conftest$ac_exeext'
18415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416   (eval $ac_try) 2>&5
18417   ac_status=$?
18418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419   (exit $ac_status); }; }; then
18420   ac_cv_lib_m_jn=yes
18421 else
18422   echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18424
18425 ac_cv_lib_m_jn=no
18426 fi
18427 rm -f conftest.err conftest.$ac_objext \
18428       conftest$ac_exeext conftest.$ac_ext
18429 LIBS=$ac_check_lib_save_LIBS
18430 fi
18431 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18432 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18433 if test $ac_cv_lib_m_jn = yes; then
18434
18435 cat >>confdefs.h <<\_ACEOF
18436 #define HAVE_JN 1
18437 _ACEOF
18438
18439 fi
18440
18441 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18442 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18443 if test "${ac_cv_lib_m_jnl+set}" = set; then
18444   echo $ECHO_N "(cached) $ECHO_C" >&6
18445 else
18446   ac_check_lib_save_LIBS=$LIBS
18447 LIBS="-lm  $LIBS"
18448 if test x$gcc_no_link = xyes; then
18449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18451    { (exit 1); exit 1; }; }
18452 fi
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h.  */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h.  */
18459
18460 /* Override any gcc2 internal prototype to avoid an error.  */
18461 #ifdef __cplusplus
18462 extern "C"
18463 #endif
18464 /* We use char because int might match the return type of a gcc2
18465    builtin and then its argument prototype would still apply.  */
18466 char jnl ();
18467 int
18468 main ()
18469 {
18470 jnl ();
18471   ;
18472   return 0;
18473 }
18474 _ACEOF
18475 rm -f conftest.$ac_objext conftest$ac_exeext
18476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18477   (eval $ac_link) 2>conftest.er1
18478   ac_status=$?
18479   grep -v '^ *+' conftest.er1 >conftest.err
18480   rm -f conftest.er1
18481   cat conftest.err >&5
18482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483   (exit $ac_status); } &&
18484          { ac_try='test -z "$ac_c_werror_flag"
18485                          || test ! -s conftest.err'
18486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487   (eval $ac_try) 2>&5
18488   ac_status=$?
18489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490   (exit $ac_status); }; } &&
18491          { ac_try='test -s conftest$ac_exeext'
18492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493   (eval $ac_try) 2>&5
18494   ac_status=$?
18495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496   (exit $ac_status); }; }; then
18497   ac_cv_lib_m_jnl=yes
18498 else
18499   echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 ac_cv_lib_m_jnl=no
18503 fi
18504 rm -f conftest.err conftest.$ac_objext \
18505       conftest$ac_exeext conftest.$ac_ext
18506 LIBS=$ac_check_lib_save_LIBS
18507 fi
18508 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18509 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18510 if test $ac_cv_lib_m_jnl = yes; then
18511
18512 cat >>confdefs.h <<\_ACEOF
18513 #define HAVE_JNL 1
18514 _ACEOF
18515
18516 fi
18517
18518 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18519 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18520 if test "${ac_cv_lib_m_y0f+set}" = set; then
18521   echo $ECHO_N "(cached) $ECHO_C" >&6
18522 else
18523   ac_check_lib_save_LIBS=$LIBS
18524 LIBS="-lm  $LIBS"
18525 if test x$gcc_no_link = xyes; then
18526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18528    { (exit 1); exit 1; }; }
18529 fi
18530 cat >conftest.$ac_ext <<_ACEOF
18531 /* confdefs.h.  */
18532 _ACEOF
18533 cat confdefs.h >>conftest.$ac_ext
18534 cat >>conftest.$ac_ext <<_ACEOF
18535 /* end confdefs.h.  */
18536
18537 /* Override any gcc2 internal prototype to avoid an error.  */
18538 #ifdef __cplusplus
18539 extern "C"
18540 #endif
18541 /* We use char because int might match the return type of a gcc2
18542    builtin and then its argument prototype would still apply.  */
18543 char y0f ();
18544 int
18545 main ()
18546 {
18547 y0f ();
18548   ;
18549   return 0;
18550 }
18551 _ACEOF
18552 rm -f conftest.$ac_objext conftest$ac_exeext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18554   (eval $ac_link) 2>conftest.er1
18555   ac_status=$?
18556   grep -v '^ *+' conftest.er1 >conftest.err
18557   rm -f conftest.er1
18558   cat conftest.err >&5
18559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560   (exit $ac_status); } &&
18561          { ac_try='test -z "$ac_c_werror_flag"
18562                          || test ! -s conftest.err'
18563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564   (eval $ac_try) 2>&5
18565   ac_status=$?
18566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567   (exit $ac_status); }; } &&
18568          { ac_try='test -s conftest$ac_exeext'
18569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570   (eval $ac_try) 2>&5
18571   ac_status=$?
18572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573   (exit $ac_status); }; }; then
18574   ac_cv_lib_m_y0f=yes
18575 else
18576   echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18578
18579 ac_cv_lib_m_y0f=no
18580 fi
18581 rm -f conftest.err conftest.$ac_objext \
18582       conftest$ac_exeext conftest.$ac_ext
18583 LIBS=$ac_check_lib_save_LIBS
18584 fi
18585 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18586 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18587 if test $ac_cv_lib_m_y0f = yes; then
18588
18589 cat >>confdefs.h <<\_ACEOF
18590 #define HAVE_Y0F 1
18591 _ACEOF
18592
18593 fi
18594
18595 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18596 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18597 if test "${ac_cv_lib_m_y0+set}" = set; then
18598   echo $ECHO_N "(cached) $ECHO_C" >&6
18599 else
18600   ac_check_lib_save_LIBS=$LIBS
18601 LIBS="-lm  $LIBS"
18602 if test x$gcc_no_link = xyes; then
18603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18605    { (exit 1); exit 1; }; }
18606 fi
18607 cat >conftest.$ac_ext <<_ACEOF
18608 /* confdefs.h.  */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h.  */
18613
18614 /* Override any gcc2 internal prototype to avoid an error.  */
18615 #ifdef __cplusplus
18616 extern "C"
18617 #endif
18618 /* We use char because int might match the return type of a gcc2
18619    builtin and then its argument prototype would still apply.  */
18620 char y0 ();
18621 int
18622 main ()
18623 {
18624 y0 ();
18625   ;
18626   return 0;
18627 }
18628 _ACEOF
18629 rm -f conftest.$ac_objext conftest$ac_exeext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18631   (eval $ac_link) 2>conftest.er1
18632   ac_status=$?
18633   grep -v '^ *+' conftest.er1 >conftest.err
18634   rm -f conftest.er1
18635   cat conftest.err >&5
18636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637   (exit $ac_status); } &&
18638          { ac_try='test -z "$ac_c_werror_flag"
18639                          || test ! -s conftest.err'
18640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641   (eval $ac_try) 2>&5
18642   ac_status=$?
18643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644   (exit $ac_status); }; } &&
18645          { ac_try='test -s conftest$ac_exeext'
18646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647   (eval $ac_try) 2>&5
18648   ac_status=$?
18649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650   (exit $ac_status); }; }; then
18651   ac_cv_lib_m_y0=yes
18652 else
18653   echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18655
18656 ac_cv_lib_m_y0=no
18657 fi
18658 rm -f conftest.err conftest.$ac_objext \
18659       conftest$ac_exeext conftest.$ac_ext
18660 LIBS=$ac_check_lib_save_LIBS
18661 fi
18662 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18663 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18664 if test $ac_cv_lib_m_y0 = yes; then
18665
18666 cat >>confdefs.h <<\_ACEOF
18667 #define HAVE_Y0 1
18668 _ACEOF
18669
18670 fi
18671
18672 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18673 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18674 if test "${ac_cv_lib_m_y0l+set}" = set; then
18675   echo $ECHO_N "(cached) $ECHO_C" >&6
18676 else
18677   ac_check_lib_save_LIBS=$LIBS
18678 LIBS="-lm  $LIBS"
18679 if test x$gcc_no_link = xyes; then
18680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18682    { (exit 1); exit 1; }; }
18683 fi
18684 cat >conftest.$ac_ext <<_ACEOF
18685 /* confdefs.h.  */
18686 _ACEOF
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h.  */
18690
18691 /* Override any gcc2 internal prototype to avoid an error.  */
18692 #ifdef __cplusplus
18693 extern "C"
18694 #endif
18695 /* We use char because int might match the return type of a gcc2
18696    builtin and then its argument prototype would still apply.  */
18697 char y0l ();
18698 int
18699 main ()
18700 {
18701 y0l ();
18702   ;
18703   return 0;
18704 }
18705 _ACEOF
18706 rm -f conftest.$ac_objext conftest$ac_exeext
18707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18708   (eval $ac_link) 2>conftest.er1
18709   ac_status=$?
18710   grep -v '^ *+' conftest.er1 >conftest.err
18711   rm -f conftest.er1
18712   cat conftest.err >&5
18713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714   (exit $ac_status); } &&
18715          { ac_try='test -z "$ac_c_werror_flag"
18716                          || test ! -s conftest.err'
18717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718   (eval $ac_try) 2>&5
18719   ac_status=$?
18720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721   (exit $ac_status); }; } &&
18722          { ac_try='test -s conftest$ac_exeext'
18723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724   (eval $ac_try) 2>&5
18725   ac_status=$?
18726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727   (exit $ac_status); }; }; then
18728   ac_cv_lib_m_y0l=yes
18729 else
18730   echo "$as_me: failed program was:" >&5
18731 sed 's/^/| /' conftest.$ac_ext >&5
18732
18733 ac_cv_lib_m_y0l=no
18734 fi
18735 rm -f conftest.err conftest.$ac_objext \
18736       conftest$ac_exeext conftest.$ac_ext
18737 LIBS=$ac_check_lib_save_LIBS
18738 fi
18739 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18740 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18741 if test $ac_cv_lib_m_y0l = yes; then
18742
18743 cat >>confdefs.h <<\_ACEOF
18744 #define HAVE_Y0L 1
18745 _ACEOF
18746
18747 fi
18748
18749 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18750 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18751 if test "${ac_cv_lib_m_y1f+set}" = set; then
18752   echo $ECHO_N "(cached) $ECHO_C" >&6
18753 else
18754   ac_check_lib_save_LIBS=$LIBS
18755 LIBS="-lm  $LIBS"
18756 if test x$gcc_no_link = xyes; then
18757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18759    { (exit 1); exit 1; }; }
18760 fi
18761 cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h.  */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h.  */
18767
18768 /* Override any gcc2 internal prototype to avoid an error.  */
18769 #ifdef __cplusplus
18770 extern "C"
18771 #endif
18772 /* We use char because int might match the return type of a gcc2
18773    builtin and then its argument prototype would still apply.  */
18774 char y1f ();
18775 int
18776 main ()
18777 {
18778 y1f ();
18779   ;
18780   return 0;
18781 }
18782 _ACEOF
18783 rm -f conftest.$ac_objext conftest$ac_exeext
18784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18785   (eval $ac_link) 2>conftest.er1
18786   ac_status=$?
18787   grep -v '^ *+' conftest.er1 >conftest.err
18788   rm -f conftest.er1
18789   cat conftest.err >&5
18790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791   (exit $ac_status); } &&
18792          { ac_try='test -z "$ac_c_werror_flag"
18793                          || test ! -s conftest.err'
18794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795   (eval $ac_try) 2>&5
18796   ac_status=$?
18797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798   (exit $ac_status); }; } &&
18799          { ac_try='test -s conftest$ac_exeext'
18800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801   (eval $ac_try) 2>&5
18802   ac_status=$?
18803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804   (exit $ac_status); }; }; then
18805   ac_cv_lib_m_y1f=yes
18806 else
18807   echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18809
18810 ac_cv_lib_m_y1f=no
18811 fi
18812 rm -f conftest.err conftest.$ac_objext \
18813       conftest$ac_exeext conftest.$ac_ext
18814 LIBS=$ac_check_lib_save_LIBS
18815 fi
18816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18817 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18818 if test $ac_cv_lib_m_y1f = yes; then
18819
18820 cat >>confdefs.h <<\_ACEOF
18821 #define HAVE_Y1F 1
18822 _ACEOF
18823
18824 fi
18825
18826 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18827 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18828 if test "${ac_cv_lib_m_y1+set}" = set; then
18829   echo $ECHO_N "(cached) $ECHO_C" >&6
18830 else
18831   ac_check_lib_save_LIBS=$LIBS
18832 LIBS="-lm  $LIBS"
18833 if test x$gcc_no_link = xyes; then
18834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18836    { (exit 1); exit 1; }; }
18837 fi
18838 cat >conftest.$ac_ext <<_ACEOF
18839 /* confdefs.h.  */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h.  */
18844
18845 /* Override any gcc2 internal prototype to avoid an error.  */
18846 #ifdef __cplusplus
18847 extern "C"
18848 #endif
18849 /* We use char because int might match the return type of a gcc2
18850    builtin and then its argument prototype would still apply.  */
18851 char y1 ();
18852 int
18853 main ()
18854 {
18855 y1 ();
18856   ;
18857   return 0;
18858 }
18859 _ACEOF
18860 rm -f conftest.$ac_objext conftest$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862   (eval $ac_link) 2>conftest.er1
18863   ac_status=$?
18864   grep -v '^ *+' conftest.er1 >conftest.err
18865   rm -f conftest.er1
18866   cat conftest.err >&5
18867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868   (exit $ac_status); } &&
18869          { ac_try='test -z "$ac_c_werror_flag"
18870                          || test ! -s conftest.err'
18871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18872   (eval $ac_try) 2>&5
18873   ac_status=$?
18874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875   (exit $ac_status); }; } &&
18876          { ac_try='test -s conftest$ac_exeext'
18877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878   (eval $ac_try) 2>&5
18879   ac_status=$?
18880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881   (exit $ac_status); }; }; then
18882   ac_cv_lib_m_y1=yes
18883 else
18884   echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18886
18887 ac_cv_lib_m_y1=no
18888 fi
18889 rm -f conftest.err conftest.$ac_objext \
18890       conftest$ac_exeext conftest.$ac_ext
18891 LIBS=$ac_check_lib_save_LIBS
18892 fi
18893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18894 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18895 if test $ac_cv_lib_m_y1 = yes; then
18896
18897 cat >>confdefs.h <<\_ACEOF
18898 #define HAVE_Y1 1
18899 _ACEOF
18900
18901 fi
18902
18903 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18904 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18905 if test "${ac_cv_lib_m_y1l+set}" = set; then
18906   echo $ECHO_N "(cached) $ECHO_C" >&6
18907 else
18908   ac_check_lib_save_LIBS=$LIBS
18909 LIBS="-lm  $LIBS"
18910 if test x$gcc_no_link = xyes; then
18911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18913    { (exit 1); exit 1; }; }
18914 fi
18915 cat >conftest.$ac_ext <<_ACEOF
18916 /* confdefs.h.  */
18917 _ACEOF
18918 cat confdefs.h >>conftest.$ac_ext
18919 cat >>conftest.$ac_ext <<_ACEOF
18920 /* end confdefs.h.  */
18921
18922 /* Override any gcc2 internal prototype to avoid an error.  */
18923 #ifdef __cplusplus
18924 extern "C"
18925 #endif
18926 /* We use char because int might match the return type of a gcc2
18927    builtin and then its argument prototype would still apply.  */
18928 char y1l ();
18929 int
18930 main ()
18931 {
18932 y1l ();
18933   ;
18934   return 0;
18935 }
18936 _ACEOF
18937 rm -f conftest.$ac_objext conftest$ac_exeext
18938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18939   (eval $ac_link) 2>conftest.er1
18940   ac_status=$?
18941   grep -v '^ *+' conftest.er1 >conftest.err
18942   rm -f conftest.er1
18943   cat conftest.err >&5
18944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945   (exit $ac_status); } &&
18946          { ac_try='test -z "$ac_c_werror_flag"
18947                          || test ! -s conftest.err'
18948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949   (eval $ac_try) 2>&5
18950   ac_status=$?
18951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952   (exit $ac_status); }; } &&
18953          { ac_try='test -s conftest$ac_exeext'
18954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955   (eval $ac_try) 2>&5
18956   ac_status=$?
18957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958   (exit $ac_status); }; }; then
18959   ac_cv_lib_m_y1l=yes
18960 else
18961   echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18963
18964 ac_cv_lib_m_y1l=no
18965 fi
18966 rm -f conftest.err conftest.$ac_objext \
18967       conftest$ac_exeext conftest.$ac_ext
18968 LIBS=$ac_check_lib_save_LIBS
18969 fi
18970 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18971 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18972 if test $ac_cv_lib_m_y1l = yes; then
18973
18974 cat >>confdefs.h <<\_ACEOF
18975 #define HAVE_Y1L 1
18976 _ACEOF
18977
18978 fi
18979
18980 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18981 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18982 if test "${ac_cv_lib_m_ynf+set}" = set; then
18983   echo $ECHO_N "(cached) $ECHO_C" >&6
18984 else
18985   ac_check_lib_save_LIBS=$LIBS
18986 LIBS="-lm  $LIBS"
18987 if test x$gcc_no_link = xyes; then
18988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18990    { (exit 1); exit 1; }; }
18991 fi
18992 cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h.  */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h.  */
18998
18999 /* Override any gcc2 internal prototype to avoid an error.  */
19000 #ifdef __cplusplus
19001 extern "C"
19002 #endif
19003 /* We use char because int might match the return type of a gcc2
19004    builtin and then its argument prototype would still apply.  */
19005 char ynf ();
19006 int
19007 main ()
19008 {
19009 ynf ();
19010   ;
19011   return 0;
19012 }
19013 _ACEOF
19014 rm -f conftest.$ac_objext conftest$ac_exeext
19015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19016   (eval $ac_link) 2>conftest.er1
19017   ac_status=$?
19018   grep -v '^ *+' conftest.er1 >conftest.err
19019   rm -f conftest.er1
19020   cat conftest.err >&5
19021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022   (exit $ac_status); } &&
19023          { ac_try='test -z "$ac_c_werror_flag"
19024                          || test ! -s conftest.err'
19025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026   (eval $ac_try) 2>&5
19027   ac_status=$?
19028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029   (exit $ac_status); }; } &&
19030          { ac_try='test -s conftest$ac_exeext'
19031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032   (eval $ac_try) 2>&5
19033   ac_status=$?
19034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035   (exit $ac_status); }; }; then
19036   ac_cv_lib_m_ynf=yes
19037 else
19038   echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19040
19041 ac_cv_lib_m_ynf=no
19042 fi
19043 rm -f conftest.err conftest.$ac_objext \
19044       conftest$ac_exeext conftest.$ac_ext
19045 LIBS=$ac_check_lib_save_LIBS
19046 fi
19047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
19048 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
19049 if test $ac_cv_lib_m_ynf = yes; then
19050
19051 cat >>confdefs.h <<\_ACEOF
19052 #define HAVE_YNF 1
19053 _ACEOF
19054
19055 fi
19056
19057 echo "$as_me:$LINENO: checking for yn in -lm" >&5
19058 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
19059 if test "${ac_cv_lib_m_yn+set}" = set; then
19060   echo $ECHO_N "(cached) $ECHO_C" >&6
19061 else
19062   ac_check_lib_save_LIBS=$LIBS
19063 LIBS="-lm  $LIBS"
19064 if test x$gcc_no_link = xyes; then
19065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19067    { (exit 1); exit 1; }; }
19068 fi
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h.  */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h.  */
19075
19076 /* Override any gcc2 internal prototype to avoid an error.  */
19077 #ifdef __cplusplus
19078 extern "C"
19079 #endif
19080 /* We use char because int might match the return type of a gcc2
19081    builtin and then its argument prototype would still apply.  */
19082 char yn ();
19083 int
19084 main ()
19085 {
19086 yn ();
19087   ;
19088   return 0;
19089 }
19090 _ACEOF
19091 rm -f conftest.$ac_objext conftest$ac_exeext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19093   (eval $ac_link) 2>conftest.er1
19094   ac_status=$?
19095   grep -v '^ *+' conftest.er1 >conftest.err
19096   rm -f conftest.er1
19097   cat conftest.err >&5
19098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099   (exit $ac_status); } &&
19100          { ac_try='test -z "$ac_c_werror_flag"
19101                          || test ! -s conftest.err'
19102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103   (eval $ac_try) 2>&5
19104   ac_status=$?
19105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106   (exit $ac_status); }; } &&
19107          { ac_try='test -s conftest$ac_exeext'
19108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109   (eval $ac_try) 2>&5
19110   ac_status=$?
19111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112   (exit $ac_status); }; }; then
19113   ac_cv_lib_m_yn=yes
19114 else
19115   echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.$ac_ext >&5
19117
19118 ac_cv_lib_m_yn=no
19119 fi
19120 rm -f conftest.err conftest.$ac_objext \
19121       conftest$ac_exeext conftest.$ac_ext
19122 LIBS=$ac_check_lib_save_LIBS
19123 fi
19124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
19125 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
19126 if test $ac_cv_lib_m_yn = yes; then
19127
19128 cat >>confdefs.h <<\_ACEOF
19129 #define HAVE_YN 1
19130 _ACEOF
19131
19132 fi
19133
19134 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
19135 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
19136 if test "${ac_cv_lib_m_ynl+set}" = set; then
19137   echo $ECHO_N "(cached) $ECHO_C" >&6
19138 else
19139   ac_check_lib_save_LIBS=$LIBS
19140 LIBS="-lm  $LIBS"
19141 if test x$gcc_no_link = xyes; then
19142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19144    { (exit 1); exit 1; }; }
19145 fi
19146 cat >conftest.$ac_ext <<_ACEOF
19147 /* confdefs.h.  */
19148 _ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h.  */
19152
19153 /* Override any gcc2 internal prototype to avoid an error.  */
19154 #ifdef __cplusplus
19155 extern "C"
19156 #endif
19157 /* We use char because int might match the return type of a gcc2
19158    builtin and then its argument prototype would still apply.  */
19159 char ynl ();
19160 int
19161 main ()
19162 {
19163 ynl ();
19164   ;
19165   return 0;
19166 }
19167 _ACEOF
19168 rm -f conftest.$ac_objext conftest$ac_exeext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19170   (eval $ac_link) 2>conftest.er1
19171   ac_status=$?
19172   grep -v '^ *+' conftest.er1 >conftest.err
19173   rm -f conftest.er1
19174   cat conftest.err >&5
19175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176   (exit $ac_status); } &&
19177          { ac_try='test -z "$ac_c_werror_flag"
19178                          || test ! -s conftest.err'
19179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180   (eval $ac_try) 2>&5
19181   ac_status=$?
19182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183   (exit $ac_status); }; } &&
19184          { ac_try='test -s conftest$ac_exeext'
19185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186   (eval $ac_try) 2>&5
19187   ac_status=$?
19188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189   (exit $ac_status); }; }; then
19190   ac_cv_lib_m_ynl=yes
19191 else
19192   echo "$as_me: failed program was:" >&5
19193 sed 's/^/| /' conftest.$ac_ext >&5
19194
19195 ac_cv_lib_m_ynl=no
19196 fi
19197 rm -f conftest.err conftest.$ac_objext \
19198       conftest$ac_exeext conftest.$ac_ext
19199 LIBS=$ac_check_lib_save_LIBS
19200 fi
19201 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19202 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19203 if test $ac_cv_lib_m_ynl = yes; then
19204
19205 cat >>confdefs.h <<\_ACEOF
19206 #define HAVE_YNL 1
19207 _ACEOF
19208
19209 fi
19210
19211
19212 # On AIX, clog is present in libm as __clog
19213 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19214 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19215 if test "${ac_cv_lib_m___clog+set}" = set; then
19216   echo $ECHO_N "(cached) $ECHO_C" >&6
19217 else
19218   ac_check_lib_save_LIBS=$LIBS
19219 LIBS="-lm  $LIBS"
19220 if test x$gcc_no_link = xyes; then
19221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19223    { (exit 1); exit 1; }; }
19224 fi
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h.  */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h.  */
19231
19232 /* Override any gcc2 internal prototype to avoid an error.  */
19233 #ifdef __cplusplus
19234 extern "C"
19235 #endif
19236 /* We use char because int might match the return type of a gcc2
19237    builtin and then its argument prototype would still apply.  */
19238 char __clog ();
19239 int
19240 main ()
19241 {
19242 __clog ();
19243   ;
19244   return 0;
19245 }
19246 _ACEOF
19247 rm -f conftest.$ac_objext conftest$ac_exeext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19249   (eval $ac_link) 2>conftest.er1
19250   ac_status=$?
19251   grep -v '^ *+' conftest.er1 >conftest.err
19252   rm -f conftest.er1
19253   cat conftest.err >&5
19254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255   (exit $ac_status); } &&
19256          { ac_try='test -z "$ac_c_werror_flag"
19257                          || test ! -s conftest.err'
19258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259   (eval $ac_try) 2>&5
19260   ac_status=$?
19261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262   (exit $ac_status); }; } &&
19263          { ac_try='test -s conftest$ac_exeext'
19264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265   (eval $ac_try) 2>&5
19266   ac_status=$?
19267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268   (exit $ac_status); }; }; then
19269   ac_cv_lib_m___clog=yes
19270 else
19271   echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19273
19274 ac_cv_lib_m___clog=no
19275 fi
19276 rm -f conftest.err conftest.$ac_objext \
19277       conftest$ac_exeext conftest.$ac_ext
19278 LIBS=$ac_check_lib_save_LIBS
19279 fi
19280 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19281 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19282 if test $ac_cv_lib_m___clog = yes; then
19283
19284 cat >>confdefs.h <<\_ACEOF
19285 #define HAVE_CLOG 1
19286 _ACEOF
19287
19288 fi
19289
19290
19291 # Check for a isfinite macro that works on long doubles.
19292
19293   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
19294 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
19295 if test "${have_broken_isfinite+set}" = set; then
19296   echo $ECHO_N "(cached) $ECHO_C" >&6
19297 else
19298
19299   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
19300   LIBS="$LIBS -lm"
19301   if test "$cross_compiling" = yes; then
19302
19303 case "${target}" in
19304   hppa*-*-hpux*) have_broken_isfinite=yes ;;
19305   *) have_broken_isfinite=no ;;
19306 esac
19307 else
19308   cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h.  */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h.  */
19314
19315 #ifdef HAVE_MATH_H
19316 #include <math.h>
19317 #endif
19318 #include <float.h>
19319 int main ()
19320 {
19321 #ifdef isfinite
19322 #ifdef LDBL_MAX
19323   if (!isfinite(LDBL_MAX)) return 1;
19324 #endif
19325 #ifdef DBL_MAX
19326   if (!isfinite(DBL_MAX)) return 1;
19327 #endif
19328 #endif
19329 return 0;
19330 }
19331 _ACEOF
19332 rm -f conftest$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334   (eval $ac_link) 2>&5
19335   ac_status=$?
19336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339   (eval $ac_try) 2>&5
19340   ac_status=$?
19341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342   (exit $ac_status); }; }; then
19343   have_broken_isfinite=no
19344 else
19345   echo "$as_me: program exited with status $ac_status" >&5
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19348
19349 ( exit $ac_status )
19350 have_broken_isfinite=yes
19351 fi
19352 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19353 fi
19354   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
19355 fi
19356 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
19357 echo "${ECHO_T}$have_broken_isfinite" >&6
19358 if test x"$have_broken_isfinite" = xyes; then
19359
19360 cat >>confdefs.h <<\_ACEOF
19361 #define HAVE_BROKEN_ISFINITE 1
19362 _ACEOF
19363
19364 fi
19365
19366 # Check for a isnan macro that works on long doubles.
19367
19368   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
19369 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
19370 if test "${have_broken_isnan+set}" = set; then
19371   echo $ECHO_N "(cached) $ECHO_C" >&6
19372 else
19373
19374   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
19375   LIBS="$LIBS -lm"
19376   if test "$cross_compiling" = yes; then
19377
19378 case "${target}" in
19379   hppa*-*-hpux*) have_broken_isnan=yes ;;
19380   *) have_broken_isnan=no ;;
19381 esac
19382 else
19383   cat >conftest.$ac_ext <<_ACEOF
19384 /* confdefs.h.  */
19385 _ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h.  */
19389
19390 #ifdef HAVE_MATH_H
19391 #include <math.h>
19392 #endif
19393 #include <float.h>
19394 int main ()
19395 {
19396 #ifdef isnan
19397 #ifdef LDBL_MAX
19398   {
19399     long double x;
19400     x = __builtin_nanl ("");
19401     if (!isnan(x)) return 1;
19402     if (isnan(LDBL_MAX)) return 1;
19403 #ifdef NAN
19404     x = (long double) NAN;
19405     if (!isnan(x)) return 1;
19406 #endif
19407   }
19408 #endif
19409 #ifdef DBL_MAX
19410   {
19411     double y;
19412     y = __builtin_nan ("");
19413     if (!isnan(y)) return 1;
19414     if (isnan(DBL_MAX)) return 1;
19415 #ifdef NAN
19416     y = (double) NAN;
19417     if (!isnan(y)) return 1;
19418 #endif
19419   }
19420 #endif
19421 #endif
19422 return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest$ac_exeext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19427   (eval $ac_link) 2>&5
19428   ac_status=$?
19429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432   (eval $ac_try) 2>&5
19433   ac_status=$?
19434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435   (exit $ac_status); }; }; then
19436   have_broken_isnan=no
19437 else
19438   echo "$as_me: program exited with status $ac_status" >&5
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19441
19442 ( exit $ac_status )
19443 have_broken_isnan=yes
19444 fi
19445 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19446 fi
19447   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
19448 fi
19449 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
19450 echo "${ECHO_T}$have_broken_isnan" >&6
19451 if test x"$have_broken_isnan" = xyes; then
19452
19453 cat >>confdefs.h <<\_ACEOF
19454 #define HAVE_BROKEN_ISNAN 1
19455 _ACEOF
19456
19457 fi
19458
19459 # Check for a fpclassify macro that works on long doubles.
19460
19461   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
19462 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
19463 if test "${have_broken_fpclassify+set}" = set; then
19464   echo $ECHO_N "(cached) $ECHO_C" >&6
19465 else
19466
19467   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
19468   LIBS="$LIBS -lm"
19469   if test "$cross_compiling" = yes; then
19470
19471 case "${target}" in
19472   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
19473   *) have_broken_fpclassify=no ;;
19474 esac
19475 else
19476   cat >conftest.$ac_ext <<_ACEOF
19477 /* confdefs.h.  */
19478 _ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h.  */
19482
19483 #ifdef HAVE_MATH_H
19484 #include <math.h>
19485 #endif
19486 #include <float.h>
19487 int main ()
19488 {
19489 #ifdef fpclassify
19490 #ifdef LDBL_MAX
19491         if (fpclassify(LDBL_MAX) == FP_NAN
19492             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
19493 #endif
19494 #ifdef DBL_MAX
19495         if (fpclassify(DBL_MAX) == FP_NAN
19496             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
19497 #endif
19498 #endif
19499 return 0;
19500 }
19501 _ACEOF
19502 rm -f conftest$ac_exeext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19504   (eval $ac_link) 2>&5
19505   ac_status=$?
19506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509   (eval $ac_try) 2>&5
19510   ac_status=$?
19511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512   (exit $ac_status); }; }; then
19513   have_broken_fpclassify=no
19514 else
19515   echo "$as_me: program exited with status $ac_status" >&5
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19518
19519 ( exit $ac_status )
19520 have_broken_fpclassify=yes
19521 fi
19522 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19523 fi
19524   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
19525 fi
19526 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
19527 echo "${ECHO_T}$have_broken_fpclassify" >&6
19528 if test x"$have_broken_fpclassify" = xyes; then
19529
19530 cat >>confdefs.h <<\_ACEOF
19531 #define HAVE_BROKEN_FPCLASSIFY 1
19532 _ACEOF
19533
19534 fi
19535
19536 # Check whether the system has a working stat()
19537
19538   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
19539 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
19540 if test "${have_working_stat+set}" = set; then
19541   echo $ECHO_N "(cached) $ECHO_C" >&6
19542 else
19543
19544   if test "$cross_compiling" = yes; then
19545
19546 case "${target}" in
19547   *mingw*) have_working_stat=no ;;
19548   *) have_working_stat=yes;;
19549 esac
19550 else
19551   cat >conftest.$ac_ext <<_ACEOF
19552 /* confdefs.h.  */
19553 _ACEOF
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h.  */
19557
19558 #include <stdio.h>
19559 #include <sys/types.h>
19560 #include <sys/stat.h>
19561 #include <unistd.h>
19562
19563 int main ()
19564 {
19565   FILE *f, *g;
19566   struct stat st1, st2;
19567
19568   f = fopen ("foo", "w");
19569   g = fopen ("bar", "w");
19570   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
19571     return 1;
19572   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
19573     return 1;
19574   fclose(f);
19575   fclose(g);
19576   return 0;
19577 }
19578 _ACEOF
19579 rm -f conftest$ac_exeext
19580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19581   (eval $ac_link) 2>&5
19582   ac_status=$?
19583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586   (eval $ac_try) 2>&5
19587   ac_status=$?
19588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589   (exit $ac_status); }; }; then
19590   have_working_stat=yes
19591 else
19592   echo "$as_me: program exited with status $ac_status" >&5
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19595
19596 ( exit $ac_status )
19597 have_working_stat=no
19598 fi
19599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19600 fi
19601 fi
19602 echo "$as_me:$LINENO: result: $have_working_stat" >&5
19603 echo "${ECHO_T}$have_working_stat" >&6
19604 if test x"$have_working_stat" = xyes; then
19605
19606 cat >>confdefs.h <<\_ACEOF
19607 #define HAVE_WORKING_STAT 1
19608 _ACEOF
19609
19610 fi
19611
19612 # Fallback in case isfinite is not available.
19613 echo "$as_me:$LINENO: checking for finite in -lm" >&5
19614 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19615 if test "${ac_cv_lib_m_finite+set}" = set; then
19616   echo $ECHO_N "(cached) $ECHO_C" >&6
19617 else
19618   ac_check_lib_save_LIBS=$LIBS
19619 LIBS="-lm  $LIBS"
19620 if test x$gcc_no_link = xyes; then
19621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19623    { (exit 1); exit 1; }; }
19624 fi
19625 cat >conftest.$ac_ext <<_ACEOF
19626 /* confdefs.h.  */
19627 _ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h.  */
19631
19632 /* Override any gcc2 internal prototype to avoid an error.  */
19633 #ifdef __cplusplus
19634 extern "C"
19635 #endif
19636 /* We use char because int might match the return type of a gcc2
19637    builtin and then its argument prototype would still apply.  */
19638 char finite ();
19639 int
19640 main ()
19641 {
19642 finite ();
19643   ;
19644   return 0;
19645 }
19646 _ACEOF
19647 rm -f conftest.$ac_objext conftest$ac_exeext
19648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19649   (eval $ac_link) 2>conftest.er1
19650   ac_status=$?
19651   grep -v '^ *+' conftest.er1 >conftest.err
19652   rm -f conftest.er1
19653   cat conftest.err >&5
19654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655   (exit $ac_status); } &&
19656          { ac_try='test -z "$ac_c_werror_flag"
19657                          || test ! -s conftest.err'
19658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659   (eval $ac_try) 2>&5
19660   ac_status=$?
19661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662   (exit $ac_status); }; } &&
19663          { ac_try='test -s conftest$ac_exeext'
19664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665   (eval $ac_try) 2>&5
19666   ac_status=$?
19667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668   (exit $ac_status); }; }; then
19669   ac_cv_lib_m_finite=yes
19670 else
19671   echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 ac_cv_lib_m_finite=no
19675 fi
19676 rm -f conftest.err conftest.$ac_objext \
19677       conftest$ac_exeext conftest.$ac_ext
19678 LIBS=$ac_check_lib_save_LIBS
19679 fi
19680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19681 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19682 if test $ac_cv_lib_m_finite = yes; then
19683
19684 cat >>confdefs.h <<\_ACEOF
19685 #define HAVE_FINITE 1
19686 _ACEOF
19687
19688 fi
19689
19690
19691 # Check for GNU libc feenableexcept
19692 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
19693 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
19694 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
19695   echo $ECHO_N "(cached) $ECHO_C" >&6
19696 else
19697   ac_check_lib_save_LIBS=$LIBS
19698 LIBS="-lm  $LIBS"
19699 if test x$gcc_no_link = xyes; then
19700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19702    { (exit 1); exit 1; }; }
19703 fi
19704 cat >conftest.$ac_ext <<_ACEOF
19705 /* confdefs.h.  */
19706 _ACEOF
19707 cat confdefs.h >>conftest.$ac_ext
19708 cat >>conftest.$ac_ext <<_ACEOF
19709 /* end confdefs.h.  */
19710
19711 /* Override any gcc2 internal prototype to avoid an error.  */
19712 #ifdef __cplusplus
19713 extern "C"
19714 #endif
19715 /* We use char because int might match the return type of a gcc2
19716    builtin and then its argument prototype would still apply.  */
19717 char feenableexcept ();
19718 int
19719 main ()
19720 {
19721 feenableexcept ();
19722   ;
19723   return 0;
19724 }
19725 _ACEOF
19726 rm -f conftest.$ac_objext conftest$ac_exeext
19727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19728   (eval $ac_link) 2>conftest.er1
19729   ac_status=$?
19730   grep -v '^ *+' conftest.er1 >conftest.err
19731   rm -f conftest.er1
19732   cat conftest.err >&5
19733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734   (exit $ac_status); } &&
19735          { ac_try='test -z "$ac_c_werror_flag"
19736                          || test ! -s conftest.err'
19737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738   (eval $ac_try) 2>&5
19739   ac_status=$?
19740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741   (exit $ac_status); }; } &&
19742          { ac_try='test -s conftest$ac_exeext'
19743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744   (eval $ac_try) 2>&5
19745   ac_status=$?
19746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747   (exit $ac_status); }; }; then
19748   ac_cv_lib_m_feenableexcept=yes
19749 else
19750   echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19752
19753 ac_cv_lib_m_feenableexcept=no
19754 fi
19755 rm -f conftest.err conftest.$ac_objext \
19756       conftest$ac_exeext conftest.$ac_ext
19757 LIBS=$ac_check_lib_save_LIBS
19758 fi
19759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
19760 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
19761 if test $ac_cv_lib_m_feenableexcept = yes; then
19762   have_feenableexcept=yes
19763 cat >>confdefs.h <<\_ACEOF
19764 #define HAVE_FEENABLEEXCEPT 1
19765 _ACEOF
19766
19767 fi
19768
19769
19770 # Check for SysV fpsetmask
19771
19772   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
19773 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
19774 if test "${have_fpsetmask+set}" = set; then
19775   echo $ECHO_N "(cached) $ECHO_C" >&6
19776 else
19777
19778     if test x$gcc_no_link = xyes; then
19779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19781    { (exit 1); exit 1; }; }
19782 fi
19783 cat >conftest.$ac_ext <<_ACEOF
19784 /* confdefs.h.  */
19785 _ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h.  */
19789
19790 #if HAVE_FLOATINGPOINT_H
19791 # include <floatingpoint.h>
19792 #endif /* HAVE_FLOATINGPOINT_H */
19793 #if HAVE_IEEEFP_H
19794 # include <ieeefp.h>
19795 #endif /* HAVE_IEEEFP_H */
19796 int
19797 main ()
19798 {
19799 fpsetmask(0);
19800   ;
19801   return 0;
19802 }
19803 _ACEOF
19804 rm -f conftest.$ac_objext conftest$ac_exeext
19805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19806   (eval $ac_link) 2>conftest.er1
19807   ac_status=$?
19808   grep -v '^ *+' conftest.er1 >conftest.err
19809   rm -f conftest.er1
19810   cat conftest.err >&5
19811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812   (exit $ac_status); } &&
19813          { ac_try='test -z "$ac_c_werror_flag"
19814                          || test ! -s conftest.err'
19815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816   (eval $ac_try) 2>&5
19817   ac_status=$?
19818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819   (exit $ac_status); }; } &&
19820          { ac_try='test -s conftest$ac_exeext'
19821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822   (eval $ac_try) 2>&5
19823   ac_status=$?
19824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825   (exit $ac_status); }; }; then
19826   eval "have_fpsetmask=yes"
19827 else
19828   echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 eval "have_fpsetmask=no"
19832 fi
19833 rm -f conftest.err conftest.$ac_objext \
19834       conftest$ac_exeext conftest.$ac_ext
19835
19836 fi
19837 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
19838 echo "${ECHO_T}$have_fpsetmask" >&6
19839   if test x"$have_fpsetmask" = xyes; then
19840
19841 cat >>confdefs.h <<\_ACEOF
19842 #define HAVE_FPSETMASK 1
19843 _ACEOF
19844
19845   fi
19846
19847
19848 # Check for AIX fp_trap and fp_enable
19849 echo "$as_me:$LINENO: checking for fp_trap" >&5
19850 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
19851 if test "${ac_cv_func_fp_trap+set}" = set; then
19852   echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854   if test x$gcc_no_link = xyes; then
19855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19857    { (exit 1); exit 1; }; }
19858 fi
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h.  */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h.  */
19865 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
19866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19867 #define fp_trap innocuous_fp_trap
19868
19869 /* System header to define __stub macros and hopefully few prototypes,
19870     which can conflict with char fp_trap (); below.
19871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19872     <limits.h> exists even on freestanding compilers.  */
19873
19874 #ifdef __STDC__
19875 # include <limits.h>
19876 #else
19877 # include <assert.h>
19878 #endif
19879
19880 #undef fp_trap
19881
19882 /* Override any gcc2 internal prototype to avoid an error.  */
19883 #ifdef __cplusplus
19884 extern "C"
19885 {
19886 #endif
19887 /* We use char because int might match the return type of a gcc2
19888    builtin and then its argument prototype would still apply.  */
19889 char fp_trap ();
19890 /* The GNU C library defines this for functions which it implements
19891     to always fail with ENOSYS.  Some functions are actually named
19892     something starting with __ and the normal name is an alias.  */
19893 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
19894 choke me
19895 #else
19896 char (*f) () = fp_trap;
19897 #endif
19898 #ifdef __cplusplus
19899 }
19900 #endif
19901
19902 int
19903 main ()
19904 {
19905 return f != fp_trap;
19906   ;
19907   return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext conftest$ac_exeext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19912   (eval $ac_link) 2>conftest.er1
19913   ac_status=$?
19914   grep -v '^ *+' conftest.er1 >conftest.err
19915   rm -f conftest.er1
19916   cat conftest.err >&5
19917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918   (exit $ac_status); } &&
19919          { ac_try='test -z "$ac_c_werror_flag"
19920                          || test ! -s conftest.err'
19921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922   (eval $ac_try) 2>&5
19923   ac_status=$?
19924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925   (exit $ac_status); }; } &&
19926          { ac_try='test -s conftest$ac_exeext'
19927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928   (eval $ac_try) 2>&5
19929   ac_status=$?
19930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931   (exit $ac_status); }; }; then
19932   ac_cv_func_fp_trap=yes
19933 else
19934   echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.$ac_ext >&5
19936
19937 ac_cv_func_fp_trap=no
19938 fi
19939 rm -f conftest.err conftest.$ac_objext \
19940       conftest$ac_exeext conftest.$ac_ext
19941 fi
19942 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
19943 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
19944 if test $ac_cv_func_fp_trap = yes; then
19945   have_fp_trap=yes
19946 cat >>confdefs.h <<\_ACEOF
19947 #define HAVE_FP_TRAP 1
19948 _ACEOF
19949
19950 fi
19951
19952 echo "$as_me:$LINENO: checking for fp_enable" >&5
19953 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
19954 if test "${ac_cv_func_fp_enable+set}" = set; then
19955   echo $ECHO_N "(cached) $ECHO_C" >&6
19956 else
19957   if test x$gcc_no_link = xyes; then
19958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19960    { (exit 1); exit 1; }; }
19961 fi
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h.  */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h.  */
19968 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
19969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19970 #define fp_enable innocuous_fp_enable
19971
19972 /* System header to define __stub macros and hopefully few prototypes,
19973     which can conflict with char fp_enable (); below.
19974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19975     <limits.h> exists even on freestanding compilers.  */
19976
19977 #ifdef __STDC__
19978 # include <limits.h>
19979 #else
19980 # include <assert.h>
19981 #endif
19982
19983 #undef fp_enable
19984
19985 /* Override any gcc2 internal prototype to avoid an error.  */
19986 #ifdef __cplusplus
19987 extern "C"
19988 {
19989 #endif
19990 /* We use char because int might match the return type of a gcc2
19991    builtin and then its argument prototype would still apply.  */
19992 char fp_enable ();
19993 /* The GNU C library defines this for functions which it implements
19994     to always fail with ENOSYS.  Some functions are actually named
19995     something starting with __ and the normal name is an alias.  */
19996 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
19997 choke me
19998 #else
19999 char (*f) () = fp_enable;
20000 #endif
20001 #ifdef __cplusplus
20002 }
20003 #endif
20004
20005 int
20006 main ()
20007 {
20008 return f != fp_enable;
20009   ;
20010   return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext conftest$ac_exeext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20015   (eval $ac_link) 2>conftest.er1
20016   ac_status=$?
20017   grep -v '^ *+' conftest.er1 >conftest.err
20018   rm -f conftest.er1
20019   cat conftest.err >&5
20020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021   (exit $ac_status); } &&
20022          { ac_try='test -z "$ac_c_werror_flag"
20023                          || test ! -s conftest.err'
20024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20025   (eval $ac_try) 2>&5
20026   ac_status=$?
20027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028   (exit $ac_status); }; } &&
20029          { ac_try='test -s conftest$ac_exeext'
20030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031   (eval $ac_try) 2>&5
20032   ac_status=$?
20033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034   (exit $ac_status); }; }; then
20035   ac_cv_func_fp_enable=yes
20036 else
20037   echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.$ac_ext >&5
20039
20040 ac_cv_func_fp_enable=no
20041 fi
20042 rm -f conftest.err conftest.$ac_objext \
20043       conftest$ac_exeext conftest.$ac_ext
20044 fi
20045 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
20046 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
20047 if test $ac_cv_func_fp_enable = yes; then
20048   have_fp_enable=yes
20049 cat >>confdefs.h <<\_ACEOF
20050 #define HAVE_FP_ENABLE 1
20051 _ACEOF
20052
20053 fi
20054
20055
20056 # Runs configure.host to set up necessary host-dependent shell variables.
20057 # We then display a message about it, and propagate them through the
20058 # build chain.
20059 . ${srcdir}/configure.host
20060 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
20061 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
20062 FPU_HOST_HEADER=config/${fpu_host}.h
20063
20064
20065 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
20066 # for struct timezone, as you might think.  We also need to check how
20067 # to call gettimeofday if we have it.
20068 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20069 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20070 if test "${ac_cv_header_time+set}" = set; then
20071   echo $ECHO_N "(cached) $ECHO_C" >&6
20072 else
20073   cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h.  */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h.  */
20079 #include <sys/types.h>
20080 #include <sys/time.h>
20081 #include <time.h>
20082
20083 int
20084 main ()
20085 {
20086 if ((struct tm *) 0)
20087 return 0;
20088   ;
20089   return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094   (eval $ac_compile) 2>conftest.er1
20095   ac_status=$?
20096   grep -v '^ *+' conftest.er1 >conftest.err
20097   rm -f conftest.er1
20098   cat conftest.err >&5
20099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100   (exit $ac_status); } &&
20101          { ac_try='test -z "$ac_c_werror_flag"
20102                          || test ! -s conftest.err'
20103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104   (eval $ac_try) 2>&5
20105   ac_status=$?
20106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107   (exit $ac_status); }; } &&
20108          { ac_try='test -s conftest.$ac_objext'
20109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110   (eval $ac_try) 2>&5
20111   ac_status=$?
20112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113   (exit $ac_status); }; }; then
20114   ac_cv_header_time=yes
20115 else
20116   echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20118
20119 ac_cv_header_time=no
20120 fi
20121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20122 fi
20123 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20124 echo "${ECHO_T}$ac_cv_header_time" >&6
20125 if test $ac_cv_header_time = yes; then
20126
20127 cat >>confdefs.h <<\_ACEOF
20128 #define TIME_WITH_SYS_TIME 1
20129 _ACEOF
20130
20131 fi
20132
20133
20134
20135 for ac_func in gettimeofday
20136 do
20137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20138 echo "$as_me:$LINENO: checking for $ac_func" >&5
20139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20140 if eval "test \"\${$as_ac_var+set}\" = set"; then
20141   echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20143   if test x$gcc_no_link = xyes; then
20144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20146    { (exit 1); exit 1; }; }
20147 fi
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h.  */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h.  */
20154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20156 #define $ac_func innocuous_$ac_func
20157
20158 /* System header to define __stub macros and hopefully few prototypes,
20159     which can conflict with char $ac_func (); below.
20160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20161     <limits.h> exists even on freestanding compilers.  */
20162
20163 #ifdef __STDC__
20164 # include <limits.h>
20165 #else
20166 # include <assert.h>
20167 #endif
20168
20169 #undef $ac_func
20170
20171 /* Override any gcc2 internal prototype to avoid an error.  */
20172 #ifdef __cplusplus
20173 extern "C"
20174 {
20175 #endif
20176 /* We use char because int might match the return type of a gcc2
20177    builtin and then its argument prototype would still apply.  */
20178 char $ac_func ();
20179 /* The GNU C library defines this for functions which it implements
20180     to always fail with ENOSYS.  Some functions are actually named
20181     something starting with __ and the normal name is an alias.  */
20182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20183 choke me
20184 #else
20185 char (*f) () = $ac_func;
20186 #endif
20187 #ifdef __cplusplus
20188 }
20189 #endif
20190
20191 int
20192 main ()
20193 {
20194 return f != $ac_func;
20195   ;
20196   return 0;
20197 }
20198 _ACEOF
20199 rm -f conftest.$ac_objext conftest$ac_exeext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20201   (eval $ac_link) 2>conftest.er1
20202   ac_status=$?
20203   grep -v '^ *+' conftest.er1 >conftest.err
20204   rm -f conftest.er1
20205   cat conftest.err >&5
20206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207   (exit $ac_status); } &&
20208          { ac_try='test -z "$ac_c_werror_flag"
20209                          || test ! -s conftest.err'
20210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211   (eval $ac_try) 2>&5
20212   ac_status=$?
20213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214   (exit $ac_status); }; } &&
20215          { ac_try='test -s conftest$ac_exeext'
20216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217   (eval $ac_try) 2>&5
20218   ac_status=$?
20219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220   (exit $ac_status); }; }; then
20221   eval "$as_ac_var=yes"
20222 else
20223   echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20225
20226 eval "$as_ac_var=no"
20227 fi
20228 rm -f conftest.err conftest.$ac_objext \
20229       conftest$ac_exeext conftest.$ac_ext
20230 fi
20231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20233 if test `eval echo '${'$as_ac_var'}'` = yes; then
20234   cat >>confdefs.h <<_ACEOF
20235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20236 _ACEOF
20237
20238 fi
20239 done
20240
20241   if test "$ac_cv_func_gettimeofday" = yes; then
20242     echo "$as_me:$LINENO: checking for struct timezone" >&5
20243 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20244 if test "${gfor_cv_struct_timezone+set}" = set; then
20245   echo $ECHO_N "(cached) $ECHO_C" >&6
20246 else
20247   cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h.  */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h.  */
20253 #include <sys/time.h>
20254 int
20255 main ()
20256 {
20257 struct timezone tz;
20258   ;
20259   return 0;
20260 }
20261 _ACEOF
20262 rm -f conftest.$ac_objext
20263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20264   (eval $ac_compile) 2>conftest.er1
20265   ac_status=$?
20266   grep -v '^ *+' conftest.er1 >conftest.err
20267   rm -f conftest.er1
20268   cat conftest.err >&5
20269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270   (exit $ac_status); } &&
20271          { ac_try='test -z "$ac_c_werror_flag"
20272                          || test ! -s conftest.err'
20273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274   (eval $ac_try) 2>&5
20275   ac_status=$?
20276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277   (exit $ac_status); }; } &&
20278          { ac_try='test -s conftest.$ac_objext'
20279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280   (eval $ac_try) 2>&5
20281   ac_status=$?
20282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283   (exit $ac_status); }; }; then
20284   gfor_cv_struct_timezone=yes
20285 else
20286   echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.$ac_ext >&5
20288
20289 gfor_cv_struct_timezone=no
20290 fi
20291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20292 fi
20293 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
20294 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
20295     if test $gfor_cv_struct_timezone = yes; then
20296                   if test "$cross_compiling" = yes; then
20297   gfor_have_struct_timezone=yes
20298 else
20299   cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h.  */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h.  */
20305
20306 #ifdef TIME_WITH_SYS_TIME
20307 #include <sys/time.h>
20308 #include <time.h>
20309 #else
20310 #ifdef HAVE_SYS_TIME_H
20311 #include <sys/time.h>
20312 #else
20313 #include <time.h>
20314 #endif
20315 #endif
20316 main ()
20317 {
20318   struct timeval time;
20319   struct timezone dummy;
20320   if (gettimeofday (&time, &dummy))
20321     exit (1);
20322   else
20323     exit (0);
20324 }
20325 _ACEOF
20326 rm -f conftest$ac_exeext
20327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20328   (eval $ac_link) 2>&5
20329   ac_status=$?
20330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333   (eval $ac_try) 2>&5
20334   ac_status=$?
20335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336   (exit $ac_status); }; }; then
20337   gfor_have_struct_timezone=yes
20338 else
20339   echo "$as_me: program exited with status $ac_status" >&5
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 ( exit $ac_status )
20344 gfor_have_struct_timezone=no
20345 fi
20346 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20347 fi
20348       if test $gfor_have_struct_timezone = yes; then
20349
20350 cat >>confdefs.h <<\_ACEOF
20351 #define HAVE_TIMEZONE 1
20352 _ACEOF
20353
20354       fi
20355     fi
20356
20357     echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20358 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
20359 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20360   echo $ECHO_N "(cached) $ECHO_C" >&6
20361 else
20362   if test x$gcc_no_link = xyes; then
20363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20365    { (exit 1); exit 1; }; }
20366 fi
20367 cat >conftest.$ac_ext <<_ACEOF
20368 /* confdefs.h.  */
20369 _ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h.  */
20373
20374 #ifdef TIME_WITH_SYS_TIME
20375 #include <sys/time.h>
20376 #include <time.h>
20377 #else
20378 #ifdef HAVE_SYS_TIME_H
20379 #include <sys/time.h>
20380 #else
20381 #include <time.h>
20382 #endif
20383 #endif
20384
20385 int
20386 main ()
20387 {
20388
20389       struct timeval time;
20390 #ifdef HAVE_TIMEZONE
20391       struct timezone dummy;
20392 #define DUMMY &dummy
20393 #else
20394 #define DUMMY NULL
20395 #endif
20396       gettimeofday (&time, DUMMY);
20397   ;
20398   return 0;
20399 }
20400 _ACEOF
20401 rm -f conftest.$ac_objext conftest$ac_exeext
20402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20403   (eval $ac_link) 2>conftest.er1
20404   ac_status=$?
20405   grep -v '^ *+' conftest.er1 >conftest.err
20406   rm -f conftest.er1
20407   cat conftest.err >&5
20408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409   (exit $ac_status); } &&
20410          { ac_try='test -z "$ac_c_werror_flag"
20411                          || test ! -s conftest.err'
20412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413   (eval $ac_try) 2>&5
20414   ac_status=$?
20415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416   (exit $ac_status); }; } &&
20417          { ac_try='test -s conftest$ac_exeext'
20418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20419   (eval $ac_try) 2>&5
20420   ac_status=$?
20421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422   (exit $ac_status); }; }; then
20423   emacs_cv_gettimeofday_two_arguments=yes
20424 else
20425   echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20427
20428 emacs_cv_gettimeofday_two_arguments=no
20429 fi
20430 rm -f conftest.err conftest.$ac_objext \
20431       conftest$ac_exeext conftest.$ac_ext
20432 fi
20433 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20434 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20435     if test $emacs_cv_gettimeofday_two_arguments = no; then
20436
20437 cat >>confdefs.h <<\_ACEOF
20438 #define GETTIMEOFDAY_ONE_ARGUMENT 1
20439 _ACEOF
20440
20441     fi
20442   fi
20443
20444 # Attempt to assert that the target is of common type in case we don't
20445 # have C99 integer types at all.
20446
20447   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
20448 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
20449 if test "${target_ilp32+set}" = set; then
20450   echo $ECHO_N "(cached) $ECHO_C" >&6
20451 else
20452
20453   save_CFLAGS="$CFLAGS"
20454   CFLAGS="-O2"
20455   if test x$gcc_no_link = xyes; then
20456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20458    { (exit 1); exit 1; }; }
20459 fi
20460 cat >conftest.$ac_ext <<_ACEOF
20461 /* confdefs.h.  */
20462 _ACEOF
20463 cat confdefs.h >>conftest.$ac_ext
20464 cat >>conftest.$ac_ext <<_ACEOF
20465 /* end confdefs.h.  */
20466
20467 int
20468 main ()
20469 {
20470
20471 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
20472   ;
20473 else
20474   undefined_function ();
20475
20476   ;
20477   return 0;
20478 }
20479 _ACEOF
20480 rm -f conftest.$ac_objext conftest$ac_exeext
20481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20482   (eval $ac_link) 2>conftest.er1
20483   ac_status=$?
20484   grep -v '^ *+' conftest.er1 >conftest.err
20485   rm -f conftest.er1
20486   cat conftest.err >&5
20487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488   (exit $ac_status); } &&
20489          { ac_try='test -z "$ac_c_werror_flag"
20490                          || test ! -s conftest.err'
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); }; } &&
20496          { ac_try='test -s conftest$ac_exeext'
20497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498   (eval $ac_try) 2>&5
20499   ac_status=$?
20500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501   (exit $ac_status); }; }; then
20502   target_ilp32=yes
20503 else
20504   echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20506
20507 target_ilp32=no
20508 fi
20509 rm -f conftest.err conftest.$ac_objext \
20510       conftest$ac_exeext conftest.$ac_ext
20511   CFLAGS="$save_CFLAGS"
20512 fi
20513 echo "$as_me:$LINENO: result: $target_ilp32" >&5
20514 echo "${ECHO_T}$target_ilp32" >&6
20515   if test $target_ilp32 = yes; then
20516
20517 cat >>confdefs.h <<\_ACEOF
20518 #define TARGET_ILP32 1
20519 _ACEOF
20520
20521   fi
20522
20523
20524 # Check out attribute support.
20525
20526   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
20527 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
20528 if test "${have_attribute_visibility+set}" = set; then
20529   echo $ECHO_N "(cached) $ECHO_C" >&6
20530 else
20531
20532   save_CFLAGS="$CFLAGS"
20533   CFLAGS="$CFLAGS -Werror"
20534   cat >conftest.$ac_ext <<_ACEOF
20535 /* confdefs.h.  */
20536 _ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h.  */
20540 void __attribute__((visibility("hidden"))) foo(void) { }
20541 int
20542 main ()
20543 {
20544
20545   ;
20546   return 0;
20547 }
20548 _ACEOF
20549 rm -f conftest.$ac_objext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20551   (eval $ac_compile) 2>conftest.er1
20552   ac_status=$?
20553   grep -v '^ *+' conftest.er1 >conftest.err
20554   rm -f conftest.er1
20555   cat conftest.err >&5
20556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557   (exit $ac_status); } &&
20558          { ac_try='test -z "$ac_c_werror_flag"
20559                          || test ! -s conftest.err'
20560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561   (eval $ac_try) 2>&5
20562   ac_status=$?
20563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564   (exit $ac_status); }; } &&
20565          { ac_try='test -s conftest.$ac_objext'
20566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20567   (eval $ac_try) 2>&5
20568   ac_status=$?
20569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570   (exit $ac_status); }; }; then
20571   have_attribute_visibility=yes
20572 else
20573   echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20575
20576 have_attribute_visibility=no
20577 fi
20578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20579   CFLAGS="$save_CFLAGS"
20580 fi
20581 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
20582 echo "${ECHO_T}$have_attribute_visibility" >&6
20583   if test $have_attribute_visibility = yes; then
20584
20585 cat >>confdefs.h <<\_ACEOF
20586 #define HAVE_ATTRIBUTE_VISIBILITY 1
20587 _ACEOF
20588
20589   fi
20590
20591   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
20592 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
20593 if test "${have_attribute_dllexport+set}" = set; then
20594   echo $ECHO_N "(cached) $ECHO_C" >&6
20595 else
20596
20597   save_CFLAGS="$CFLAGS"
20598   CFLAGS="$CFLAGS -Werror"
20599   cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h.  */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h.  */
20605 void __attribute__((dllexport)) foo(void) { }
20606 int
20607 main ()
20608 {
20609
20610   ;
20611   return 0;
20612 }
20613 _ACEOF
20614 rm -f conftest.$ac_objext
20615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20616   (eval $ac_compile) 2>conftest.er1
20617   ac_status=$?
20618   grep -v '^ *+' conftest.er1 >conftest.err
20619   rm -f conftest.er1
20620   cat conftest.err >&5
20621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622   (exit $ac_status); } &&
20623          { ac_try='test -z "$ac_c_werror_flag"
20624                          || test ! -s conftest.err'
20625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626   (eval $ac_try) 2>&5
20627   ac_status=$?
20628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629   (exit $ac_status); }; } &&
20630          { ac_try='test -s conftest.$ac_objext'
20631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632   (eval $ac_try) 2>&5
20633   ac_status=$?
20634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635   (exit $ac_status); }; }; then
20636   have_attribute_dllexport=yes
20637 else
20638   echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 have_attribute_dllexport=no
20642 fi
20643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20644   CFLAGS="$save_CFLAGS"
20645 fi
20646 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
20647 echo "${ECHO_T}$have_attribute_dllexport" >&6
20648   if test $have_attribute_dllexport = yes; then
20649
20650 cat >>confdefs.h <<\_ACEOF
20651 #define HAVE_ATTRIBUTE_DLLEXPORT 1
20652 _ACEOF
20653
20654   fi
20655
20656   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
20657 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
20658 if test "${have_attribute_alias+set}" = set; then
20659   echo $ECHO_N "(cached) $ECHO_C" >&6
20660 else
20661
20662   if test x$gcc_no_link = xyes; then
20663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20665    { (exit 1); exit 1; }; }
20666 fi
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h.  */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h.  */
20673
20674 #define ULP     STR1(__USER_LABEL_PREFIX__)
20675 #define STR1(x) STR2(x)
20676 #define STR2(x) #x
20677 void foo(void) { }
20678 extern void bar(void) __attribute__((alias(ULP "foo")));
20679 int
20680 main ()
20681 {
20682 bar();
20683   ;
20684   return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest.$ac_objext conftest$ac_exeext
20688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20689   (eval $ac_link) 2>conftest.er1
20690   ac_status=$?
20691   grep -v '^ *+' conftest.er1 >conftest.err
20692   rm -f conftest.er1
20693   cat conftest.err >&5
20694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695   (exit $ac_status); } &&
20696          { ac_try='test -z "$ac_c_werror_flag"
20697                          || test ! -s conftest.err'
20698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699   (eval $ac_try) 2>&5
20700   ac_status=$?
20701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702   (exit $ac_status); }; } &&
20703          { ac_try='test -s conftest$ac_exeext'
20704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705   (eval $ac_try) 2>&5
20706   ac_status=$?
20707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708   (exit $ac_status); }; }; then
20709   have_attribute_alias=yes
20710 else
20711   echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.$ac_ext >&5
20713
20714 have_attribute_alias=no
20715 fi
20716 rm -f conftest.err conftest.$ac_objext \
20717       conftest$ac_exeext conftest.$ac_ext
20718 fi
20719 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
20720 echo "${ECHO_T}$have_attribute_alias" >&6
20721   if test $have_attribute_alias = yes; then
20722
20723 cat >>confdefs.h <<\_ACEOF
20724 #define HAVE_ATTRIBUTE_ALIAS 1
20725 _ACEOF
20726
20727   fi
20728
20729 # Check out sync builtins support.
20730
20731   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
20732 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
20733 if test "${have_sync_fetch_and_add+set}" = set; then
20734   echo $ECHO_N "(cached) $ECHO_C" >&6
20735 else
20736
20737   if test x$gcc_no_link = xyes; then
20738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20740    { (exit 1); exit 1; }; }
20741 fi
20742 cat >conftest.$ac_ext <<_ACEOF
20743 /* confdefs.h.  */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h.  */
20748 int foovar = 0;
20749 int
20750 main ()
20751 {
20752
20753 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
20754 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
20755   ;
20756   return 0;
20757 }
20758 _ACEOF
20759 rm -f conftest.$ac_objext conftest$ac_exeext
20760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20761   (eval $ac_link) 2>conftest.er1
20762   ac_status=$?
20763   grep -v '^ *+' conftest.er1 >conftest.err
20764   rm -f conftest.er1
20765   cat conftest.err >&5
20766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767   (exit $ac_status); } &&
20768          { ac_try='test -z "$ac_c_werror_flag"
20769                          || test ! -s conftest.err'
20770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771   (eval $ac_try) 2>&5
20772   ac_status=$?
20773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774   (exit $ac_status); }; } &&
20775          { ac_try='test -s conftest$ac_exeext'
20776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777   (eval $ac_try) 2>&5
20778   ac_status=$?
20779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780   (exit $ac_status); }; }; then
20781   have_sync_fetch_and_add=yes
20782 else
20783   echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20785
20786 have_sync_fetch_and_add=no
20787 fi
20788 rm -f conftest.err conftest.$ac_objext \
20789       conftest$ac_exeext conftest.$ac_ext
20790 fi
20791 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
20792 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
20793   if test $have_sync_fetch_and_add = yes; then
20794
20795 cat >>confdefs.h <<\_ACEOF
20796 #define HAVE_SYNC_FETCH_AND_ADD 1
20797 _ACEOF
20798
20799   fi
20800
20801 # Check out thread support.
20802
20803   echo "$as_me:$LINENO: checking configured target thread model" >&5
20804 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
20805 if test "${target_thread_file+set}" = set; then
20806   echo $ECHO_N "(cached) $ECHO_C" >&6
20807 else
20808
20809 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20810 fi
20811 echo "$as_me:$LINENO: result: $target_thread_file" >&5
20812 echo "${ECHO_T}$target_thread_file" >&6
20813
20814   if test $target_thread_file != single; then
20815
20816 cat >>confdefs.h <<\_ACEOF
20817 #define HAVE_GTHR_DEFAULT 1
20818 _ACEOF
20819
20820   fi
20821
20822 # Check out #pragma weak.
20823
20824   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
20825 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
20826 if test "${have_pragma_weak+set}" = set; then
20827   echo $ECHO_N "(cached) $ECHO_C" >&6
20828 else
20829
20830   gfor_save_CFLAGS="$CFLAGS"
20831   CFLAGS="$CFLAGS -Wunknown-pragmas"
20832   cat >conftest.$ac_ext <<_ACEOF
20833 /* confdefs.h.  */
20834 _ACEOF
20835 cat confdefs.h >>conftest.$ac_ext
20836 cat >>conftest.$ac_ext <<_ACEOF
20837 /* end confdefs.h.  */
20838 void foo (void);
20839 #pragma weak foo
20840 int
20841 main ()
20842 {
20843 if (foo) foo ();
20844   ;
20845   return 0;
20846 }
20847 _ACEOF
20848 rm -f conftest.$ac_objext
20849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20850   (eval $ac_compile) 2>conftest.er1
20851   ac_status=$?
20852   grep -v '^ *+' conftest.er1 >conftest.err
20853   rm -f conftest.er1
20854   cat conftest.err >&5
20855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856   (exit $ac_status); } &&
20857          { ac_try='test -z "$ac_c_werror_flag"
20858                          || test ! -s conftest.err'
20859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860   (eval $ac_try) 2>&5
20861   ac_status=$?
20862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863   (exit $ac_status); }; } &&
20864          { ac_try='test -s conftest.$ac_objext'
20865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866   (eval $ac_try) 2>&5
20867   ac_status=$?
20868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869   (exit $ac_status); }; }; then
20870   have_pragma_weak=yes
20871 else
20872   echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20874
20875 have_pragma_weak=no
20876 fi
20877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20878 fi
20879 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
20880 echo "${ECHO_T}$have_pragma_weak" >&6
20881   if test $have_pragma_weak = yes; then
20882
20883 cat >>confdefs.h <<\_ACEOF
20884 #define SUPPORTS_WEAK 1
20885 _ACEOF
20886
20887   fi
20888   case "$host" in
20889     *-*-darwin* | *-*-hpux* | *-*-cygwin*)
20890
20891 cat >>confdefs.h <<\_ACEOF
20892 #define GTHREAD_USE_WEAK 0
20893 _ACEOF
20894
20895       ;;
20896   esac
20897
20898 # Various other checks on target
20899
20900   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
20901 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
20902 if test "${have_unlink_open_file+set}" = set; then
20903   echo $ECHO_N "(cached) $ECHO_C" >&6
20904 else
20905
20906   if test "$cross_compiling" = yes; then
20907
20908 case "${target}" in
20909   *mingw*) have_unlink_open_file=no ;;
20910   *) have_unlink_open_file=yes;;
20911 esac
20912 else
20913   cat >conftest.$ac_ext <<_ACEOF
20914 /* confdefs.h.  */
20915 _ACEOF
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h.  */
20919
20920 #include <errno.h>
20921 #include <fcntl.h>
20922 #include <unistd.h>
20923 #include <sys/stat.h>
20924
20925 int main ()
20926 {
20927   int fd;
20928
20929   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
20930   if (fd <= 0)
20931     return 0;
20932   if (unlink ("testfile") == -1)
20933     return 1;
20934   write (fd, "This is a test\n", 15);
20935   close (fd);
20936
20937   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
20938     return 0;
20939   else
20940     return 1;
20941 }
20942 _ACEOF
20943 rm -f conftest$ac_exeext
20944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20945   (eval $ac_link) 2>&5
20946   ac_status=$?
20947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950   (eval $ac_try) 2>&5
20951   ac_status=$?
20952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953   (exit $ac_status); }; }; then
20954   have_unlink_open_file=yes
20955 else
20956   echo "$as_me: program exited with status $ac_status" >&5
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 ( exit $ac_status )
20961 have_unlink_open_file=no
20962 fi
20963 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20964 fi
20965 fi
20966 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
20967 echo "${ECHO_T}$have_unlink_open_file" >&6
20968 if test x"$have_unlink_open_file" = xyes; then
20969
20970 cat >>confdefs.h <<\_ACEOF
20971 #define HAVE_UNLINK_OPEN_FILE 1
20972 _ACEOF
20973
20974 fi
20975
20976 # Check whether line terminator is LF or CRLF
20977
20978   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
20979 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
20980 if test "${have_crlf+set}" = set; then
20981   echo $ECHO_N "(cached) $ECHO_C" >&6
20982 else
20983
20984   if test "$cross_compiling" = yes; then
20985
20986 case "${target}" in
20987   *mingw*) have_crlf=yes ;;
20988   *) have_crlf=no;;
20989 esac
20990 else
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 /* This test program should exit with status 0 if system uses a CRLF as
20999    line terminator, and status 1 otherwise.
21000    Since it is used to check for mingw systems, and should return 0 in any
21001    other case, in case of a failure we will not use CRLF.  */
21002 #include <sys/stat.h>
21003 #include <stdlib.h>
21004 #include <fcntl.h>
21005 #include <stdio.h>
21006
21007 int main ()
21008 {
21009 #ifndef O_BINARY
21010   exit(1);
21011 #else
21012   int fd, bytes;
21013   char buff[5];
21014
21015   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
21016   if (fd < 0)
21017     exit(1);
21018   if (write (fd, "\n", 1) < 0)
21019     perror ("write");
21020
21021   close (fd);
21022
21023   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
21024     exit(1);
21025   bytes = read (fd, buff, 5);
21026   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
21027     exit(0);
21028   else
21029     exit(1);
21030 #endif
21031 }
21032 _ACEOF
21033 rm -f conftest$ac_exeext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21035   (eval $ac_link) 2>&5
21036   ac_status=$?
21037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040   (eval $ac_try) 2>&5
21041   ac_status=$?
21042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043   (exit $ac_status); }; }; then
21044   have_crlf=yes
21045 else
21046   echo "$as_me: program exited with status $ac_status" >&5
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21049
21050 ( exit $ac_status )
21051 have_crlf=no
21052 fi
21053 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21054 fi
21055 fi
21056 echo "$as_me:$LINENO: result: $have_crlf" >&5
21057 echo "${ECHO_T}$have_crlf" >&6
21058 if test x"$have_crlf" = xyes; then
21059
21060 cat >>confdefs.h <<\_ACEOF
21061 #define HAVE_CRLF 1
21062 _ACEOF
21063
21064 fi
21065
21066 cat >confcache <<\_ACEOF
21067 # This file is a shell script that caches the results of configure
21068 # tests run on this system so they can be shared between configure
21069 # scripts and configure runs, see configure's option --config-cache.
21070 # It is not useful on other systems.  If it contains results you don't
21071 # want to keep, you may remove or edit it.
21072 #
21073 # config.status only pays attention to the cache file if you give it
21074 # the --recheck option to rerun configure.
21075 #
21076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21078 # following values.
21079
21080 _ACEOF
21081
21082 # The following way of writing the cache mishandles newlines in values,
21083 # but we know of no workaround that is simple, portable, and efficient.
21084 # So, don't put newlines in cache variables' values.
21085 # Ultrix sh set writes to stderr and can't be redirected directly,
21086 # and sets the high bit in the cache file unless we assign to the vars.
21087 {
21088   (set) 2>&1 |
21089     case `(ac_space=' '; set | grep ac_space) 2>&1` in
21090     *ac_space=\ *)
21091       # `set' does not quote correctly, so add quotes (double-quote
21092       # substitution turns \\\\ into \\, and sed turns \\ into \).
21093       sed -n \
21094         "s/'/'\\\\''/g;
21095           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21096       ;;
21097     *)
21098       # `set' quotes correctly as required by POSIX, so do not add quotes.
21099       sed -n \
21100         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21101       ;;
21102     esac;
21103 } |
21104   sed '
21105      t clear
21106      : clear
21107      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21108      t end
21109      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21110      : end' >>confcache
21111 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21112   if test -w $cache_file; then
21113     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21114     cat confcache >$cache_file
21115   else
21116     echo "not updating unwritable cache $cache_file"
21117   fi
21118 fi
21119 rm -f confcache
21120
21121 if test ${multilib} = yes; then
21122   multilib_arg="--enable-multilib"
21123 else
21124   multilib_arg=
21125 fi
21126
21127 # Write our Makefile.
21128           ac_config_files="$ac_config_files Makefile"
21129
21130 cat >confcache <<\_ACEOF
21131 # This file is a shell script that caches the results of configure
21132 # tests run on this system so they can be shared between configure
21133 # scripts and configure runs, see configure's option --config-cache.
21134 # It is not useful on other systems.  If it contains results you don't
21135 # want to keep, you may remove or edit it.
21136 #
21137 # config.status only pays attention to the cache file if you give it
21138 # the --recheck option to rerun configure.
21139 #
21140 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21141 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21142 # following values.
21143
21144 _ACEOF
21145
21146 # The following way of writing the cache mishandles newlines in values,
21147 # but we know of no workaround that is simple, portable, and efficient.
21148 # So, don't put newlines in cache variables' values.
21149 # Ultrix sh set writes to stderr and can't be redirected directly,
21150 # and sets the high bit in the cache file unless we assign to the vars.
21151 {
21152   (set) 2>&1 |
21153     case `(ac_space=' '; set | grep ac_space) 2>&1` in
21154     *ac_space=\ *)
21155       # `set' does not quote correctly, so add quotes (double-quote
21156       # substitution turns \\\\ into \\, and sed turns \\ into \).
21157       sed -n \
21158         "s/'/'\\\\''/g;
21159           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21160       ;;
21161     *)
21162       # `set' quotes correctly as required by POSIX, so do not add quotes.
21163       sed -n \
21164         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21165       ;;
21166     esac;
21167 } |
21168   sed '
21169      t clear
21170      : clear
21171      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21172      t end
21173      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21174      : end' >>confcache
21175 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21176   if test -w $cache_file; then
21177     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21178     cat confcache >$cache_file
21179   else
21180     echo "not updating unwritable cache $cache_file"
21181   fi
21182 fi
21183 rm -f confcache
21184
21185 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21186 # Let make expand exec_prefix.
21187 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21188
21189 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21190 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21191 # trailing colons and then remove the whole line if VPATH becomes empty
21192 # (actually we leave an empty line to preserve line numbers).
21193 if test "x$srcdir" = x.; then
21194   ac_vpsub='/^[  ]*VPATH[        ]*=/{
21195 s/:*\$(srcdir):*/:/;
21196 s/:*\${srcdir}:*/:/;
21197 s/:*@srcdir@:*/:/;
21198 s/^\([^=]*=[     ]*\):*/\1/;
21199 s/:*$//;
21200 s/^[^=]*=[       ]*$//;
21201 }'
21202 fi
21203
21204 DEFS=-DHAVE_CONFIG_H
21205
21206 ac_libobjs=
21207 ac_ltlibobjs=
21208 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21209   # 1. Remove the extension, and $U if already installed.
21210   ac_i=`echo "$ac_i" |
21211          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21212   # 2. Add them.
21213   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21214   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21215 done
21216 LIBOBJS=$ac_libobjs
21217
21218 LTLIBOBJS=$ac_ltlibobjs
21219
21220
21221 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21222   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21223 Usually this means the macro was only invoked conditionally." >&5
21224 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21225 Usually this means the macro was only invoked conditionally." >&2;}
21226    { (exit 1); exit 1; }; }
21227 fi
21228
21229 : ${CONFIG_STATUS=./config.status}
21230 ac_clean_files_save=$ac_clean_files
21231 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21232 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21233 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21234 cat >$CONFIG_STATUS <<_ACEOF
21235 #! $SHELL
21236 # Generated by $as_me.
21237 # Run this file to recreate the current configuration.
21238 # Compiler output produced by configure, useful for debugging
21239 # configure, is in config.log if it exists.
21240
21241 debug=false
21242 ac_cs_recheck=false
21243 ac_cs_silent=false
21244 SHELL=\${CONFIG_SHELL-$SHELL}
21245 _ACEOF
21246
21247 cat >>$CONFIG_STATUS <<\_ACEOF
21248 ## --------------------- ##
21249 ## M4sh Initialization.  ##
21250 ## --------------------- ##
21251
21252 # Be Bourne compatible
21253 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21254   emulate sh
21255   NULLCMD=:
21256   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21257   # is contrary to our usage.  Disable this feature.
21258   alias -g '${1+"$@"}'='"$@"'
21259 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21260   set -o posix
21261 fi
21262 DUALCASE=1; export DUALCASE # for MKS sh
21263
21264 # Support unset when possible.
21265 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21266   as_unset=unset
21267 else
21268   as_unset=false
21269 fi
21270
21271
21272 # Work around bugs in pre-3.0 UWIN ksh.
21273 $as_unset ENV MAIL MAILPATH
21274 PS1='$ '
21275 PS2='> '
21276 PS4='+ '
21277
21278 # NLS nuisances.
21279 for as_var in \
21280   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21281   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21282   LC_TELEPHONE LC_TIME
21283 do
21284   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21285     eval $as_var=C; export $as_var
21286   else
21287     $as_unset $as_var
21288   fi
21289 done
21290
21291 # Required to use basename.
21292 if expr a : '\(a\)' >/dev/null 2>&1; then
21293   as_expr=expr
21294 else
21295   as_expr=false
21296 fi
21297
21298 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21299   as_basename=basename
21300 else
21301   as_basename=false
21302 fi
21303
21304
21305 # Name of the executable.
21306 as_me=`$as_basename "$0" ||
21307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21308          X"$0" : 'X\(//\)$' \| \
21309          X"$0" : 'X\(/\)$' \| \
21310          .     : '\(.\)' 2>/dev/null ||
21311 echo X/"$0" |
21312     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21313           /^X\/\(\/\/\)$/{ s//\1/; q; }
21314           /^X\/\(\/\).*/{ s//\1/; q; }
21315           s/.*/./; q'`
21316
21317
21318 # PATH needs CR, and LINENO needs CR and PATH.
21319 # Avoid depending upon Character Ranges.
21320 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21321 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21322 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21323 as_cr_digits='0123456789'
21324 as_cr_alnum=$as_cr_Letters$as_cr_digits
21325
21326 # The user is always right.
21327 if test "${PATH_SEPARATOR+set}" != set; then
21328   echo "#! /bin/sh" >conf$$.sh
21329   echo  "exit 0"   >>conf$$.sh
21330   chmod +x conf$$.sh
21331   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21332     PATH_SEPARATOR=';'
21333   else
21334     PATH_SEPARATOR=:
21335   fi
21336   rm -f conf$$.sh
21337 fi
21338
21339
21340   as_lineno_1=$LINENO
21341   as_lineno_2=$LINENO
21342   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21343   test "x$as_lineno_1" != "x$as_lineno_2" &&
21344   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
21345   # Find who we are.  Look in the path if we contain no path at all
21346   # relative or not.
21347   case $0 in
21348     *[\\/]* ) as_myself=$0 ;;
21349     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21350 for as_dir in $PATH
21351 do
21352   IFS=$as_save_IFS
21353   test -z "$as_dir" && as_dir=.
21354   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21355 done
21356
21357        ;;
21358   esac
21359   # We did not find ourselves, most probably we were run as `sh COMMAND'
21360   # in which case we are not to be found in the path.
21361   if test "x$as_myself" = x; then
21362     as_myself=$0
21363   fi
21364   if test ! -f "$as_myself"; then
21365     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21366 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21367    { (exit 1); exit 1; }; }
21368   fi
21369   case $CONFIG_SHELL in
21370   '')
21371     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21372 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21373 do
21374   IFS=$as_save_IFS
21375   test -z "$as_dir" && as_dir=.
21376   for as_base in sh bash ksh sh5; do
21377          case $as_dir in
21378          /*)
21379            if ("$as_dir/$as_base" -c '
21380   as_lineno_1=$LINENO
21381   as_lineno_2=$LINENO
21382   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21383   test "x$as_lineno_1" != "x$as_lineno_2" &&
21384   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
21385              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21386              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21387              CONFIG_SHELL=$as_dir/$as_base
21388              export CONFIG_SHELL
21389              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21390            fi;;
21391          esac
21392        done
21393 done
21394 ;;
21395   esac
21396
21397   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21398   # uniformly replaced by the line number.  The first 'sed' inserts a
21399   # line-number line before each line; the second 'sed' does the real
21400   # work.  The second script uses 'N' to pair each line-number line
21401   # with the numbered line, and appends trailing '-' during
21402   # substitution so that $LINENO is not a special case at line end.
21403   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21404   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
21405   sed '=' <$as_myself |
21406     sed '
21407       N
21408       s,$,-,
21409       : loop
21410       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21411       t loop
21412       s,-$,,
21413       s,^['$as_cr_digits']*\n,,
21414     ' >$as_me.lineno &&
21415   chmod +x $as_me.lineno ||
21416     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21417 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21418    { (exit 1); exit 1; }; }
21419
21420   # Don't try to exec as it changes $[0], causing all sort of problems
21421   # (the dirname of $[0] is not the place where we might find the
21422   # original and so on.  Autoconf is especially sensible to this).
21423   . ./$as_me.lineno
21424   # Exit status is that of the last command.
21425   exit
21426 }
21427
21428
21429 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21430   *c*,-n*) ECHO_N= ECHO_C='
21431 ' ECHO_T='      ' ;;
21432   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21433   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
21434 esac
21435
21436 if expr a : '\(a\)' >/dev/null 2>&1; then
21437   as_expr=expr
21438 else
21439   as_expr=false
21440 fi
21441
21442 rm -f conf$$ conf$$.exe conf$$.file
21443 echo >conf$$.file
21444 if ln -s conf$$.file conf$$ 2>/dev/null; then
21445   # We could just check for DJGPP; but this test a) works b) is more generic
21446   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21447   if test -f conf$$.exe; then
21448     # Don't use ln at all; we don't have any links
21449     as_ln_s='cp -p'
21450   else
21451     as_ln_s='ln -s'
21452   fi
21453 elif ln conf$$.file conf$$ 2>/dev/null; then
21454   as_ln_s=ln
21455 else
21456   as_ln_s='cp -p'
21457 fi
21458 rm -f conf$$ conf$$.exe conf$$.file
21459
21460 if mkdir -p . 2>/dev/null; then
21461   as_mkdir_p=:
21462 else
21463   test -d ./-p && rmdir ./-p
21464   as_mkdir_p=false
21465 fi
21466
21467 as_executable_p="test -f"
21468
21469 # Sed expression to map a string onto a valid CPP name.
21470 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21471
21472 # Sed expression to map a string onto a valid variable name.
21473 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21474
21475
21476 # IFS
21477 # We need space, tab and new line, in precisely that order.
21478 as_nl='
21479 '
21480 IFS="   $as_nl"
21481
21482 # CDPATH.
21483 $as_unset CDPATH
21484
21485 exec 6>&1
21486
21487 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21488 # report actual input values of CONFIG_FILES etc. instead of their
21489 # values after options handling.  Logging --version etc. is OK.
21490 exec 5>>config.log
21491 {
21492   echo
21493   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21494 ## Running $as_me. ##
21495 _ASBOX
21496 } >&5
21497 cat >&5 <<_CSEOF
21498
21499 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
21500 generated by GNU Autoconf 2.59.  Invocation command line was
21501
21502   CONFIG_FILES    = $CONFIG_FILES
21503   CONFIG_HEADERS  = $CONFIG_HEADERS
21504   CONFIG_LINKS    = $CONFIG_LINKS
21505   CONFIG_COMMANDS = $CONFIG_COMMANDS
21506   $ $0 $@
21507
21508 _CSEOF
21509 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21510 echo >&5
21511 _ACEOF
21512
21513 # Files that config.status was made for.
21514 if test -n "$ac_config_files"; then
21515   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21516 fi
21517
21518 if test -n "$ac_config_headers"; then
21519   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21520 fi
21521
21522 if test -n "$ac_config_links"; then
21523   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21524 fi
21525
21526 if test -n "$ac_config_commands"; then
21527   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21528 fi
21529
21530 cat >>$CONFIG_STATUS <<\_ACEOF
21531
21532 ac_cs_usage="\
21533 \`$as_me' instantiates files from templates according to the
21534 current configuration.
21535
21536 Usage: $0 [OPTIONS] [FILE]...
21537
21538   -h, --help       print this help, then exit
21539   -V, --version    print version number, then exit
21540   -q, --quiet      do not print progress messages
21541   -d, --debug      don't remove temporary files
21542       --recheck    update $as_me by reconfiguring in the same conditions
21543   --file=FILE[:TEMPLATE]
21544                    instantiate the configuration file FILE
21545   --header=FILE[:TEMPLATE]
21546                    instantiate the configuration header FILE
21547
21548 Configuration files:
21549 $config_files
21550
21551 Configuration headers:
21552 $config_headers
21553
21554 Configuration commands:
21555 $config_commands
21556
21557 Report bugs to <bug-autoconf@gnu.org>."
21558 _ACEOF
21559
21560 cat >>$CONFIG_STATUS <<_ACEOF
21561 ac_cs_version="\\
21562 GNU Fortran Runtime Library config.status 0.2
21563 configured by $0, generated by GNU Autoconf 2.59,
21564   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21565
21566 Copyright (C) 2003 Free Software Foundation, Inc.
21567 This config.status script is free software; the Free Software Foundation
21568 gives unlimited permission to copy, distribute and modify it."
21569 srcdir=$srcdir
21570 INSTALL="$INSTALL"
21571 _ACEOF
21572
21573 cat >>$CONFIG_STATUS <<\_ACEOF
21574 # If no file are specified by the user, then we need to provide default
21575 # value.  By we need to know if files were specified by the user.
21576 ac_need_defaults=:
21577 while test $# != 0
21578 do
21579   case $1 in
21580   --*=*)
21581     ac_option=`expr "x$1" : 'x\([^=]*\)='`
21582     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21583     ac_shift=:
21584     ;;
21585   -*)
21586     ac_option=$1
21587     ac_optarg=$2
21588     ac_shift=shift
21589     ;;
21590   *) # This is not an option, so the user has probably given explicit
21591      # arguments.
21592      ac_option=$1
21593      ac_need_defaults=false;;
21594   esac
21595
21596   case $ac_option in
21597   # Handling of the options.
21598 _ACEOF
21599 cat >>$CONFIG_STATUS <<\_ACEOF
21600   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21601     ac_cs_recheck=: ;;
21602   --version | --vers* | -V )
21603     echo "$ac_cs_version"; exit 0 ;;
21604   --he | --h)
21605     # Conflict between --help and --header
21606     { { echo "$as_me:$LINENO: error: ambiguous option: $1
21607 Try \`$0 --help' for more information." >&5
21608 echo "$as_me: error: ambiguous option: $1
21609 Try \`$0 --help' for more information." >&2;}
21610    { (exit 1); exit 1; }; };;
21611   --help | --hel | -h )
21612     echo "$ac_cs_usage"; exit 0 ;;
21613   --debug | --d* | -d )
21614     debug=: ;;
21615   --file | --fil | --fi | --f )
21616     $ac_shift
21617     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21618     ac_need_defaults=false;;
21619   --header | --heade | --head | --hea )
21620     $ac_shift
21621     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21622     ac_need_defaults=false;;
21623   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21624   | -silent | --silent | --silen | --sile | --sil | --si | --s)
21625     ac_cs_silent=: ;;
21626
21627   # This is an error.
21628   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21629 Try \`$0 --help' for more information." >&5
21630 echo "$as_me: error: unrecognized option: $1
21631 Try \`$0 --help' for more information." >&2;}
21632    { (exit 1); exit 1; }; } ;;
21633
21634   *) ac_config_targets="$ac_config_targets $1" ;;
21635
21636   esac
21637   shift
21638 done
21639
21640 ac_configure_extra_args=
21641
21642 if $ac_cs_silent; then
21643   exec 6>/dev/null
21644   ac_configure_extra_args="$ac_configure_extra_args --silent"
21645 fi
21646
21647 _ACEOF
21648 cat >>$CONFIG_STATUS <<_ACEOF
21649 if \$ac_cs_recheck; then
21650   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21651   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21652 fi
21653
21654 _ACEOF
21655
21656 cat >>$CONFIG_STATUS <<_ACEOF
21657 #
21658 # INIT-COMMANDS section.
21659 #
21660
21661
21662 srcdir="$srcdir"
21663 host="$host"
21664 target="$target"
21665 with_multisubdir="$with_multisubdir"
21666 with_multisrctop="$with_multisrctop"
21667 with_target_subdir="$with_target_subdir"
21668 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21669 multi_basedir="$multi_basedir"
21670 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21671 CC="$CC"
21672
21673 _ACEOF
21674
21675
21676
21677 cat >>$CONFIG_STATUS <<\_ACEOF
21678 for ac_config_target in $ac_config_targets
21679 do
21680   case "$ac_config_target" in
21681   # Handling of arguments.
21682   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21683   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21684   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21685   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21686 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21687    { (exit 1); exit 1; }; };;
21688   esac
21689 done
21690
21691 # If the user did not use the arguments to specify the items to instantiate,
21692 # then the envvar interface is used.  Set only those that are not.
21693 # We use the long form for the default assignment because of an extremely
21694 # bizarre bug on SunOS 4.1.3.
21695 if $ac_need_defaults; then
21696   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21697   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21698   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21699 fi
21700
21701 # Have a temporary directory for convenience.  Make it in the build tree
21702 # simply because there is no reason to put it here, and in addition,
21703 # creating and moving files from /tmp can sometimes cause problems.
21704 # Create a temporary directory, and hook for its removal unless debugging.
21705 $debug ||
21706 {
21707   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21708   trap '{ (exit 1); exit 1; }' 1 2 13 15
21709 }
21710
21711 # Create a (secure) tmp directory for tmp files.
21712
21713 {
21714   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21715   test -n "$tmp" && test -d "$tmp"
21716 }  ||
21717 {
21718   tmp=./confstat$$-$RANDOM
21719   (umask 077 && mkdir $tmp)
21720 } ||
21721 {
21722    echo "$me: cannot create a temporary directory in ." >&2
21723    { (exit 1); exit 1; }
21724 }
21725
21726 _ACEOF
21727
21728 cat >>$CONFIG_STATUS <<_ACEOF
21729
21730 #
21731 # CONFIG_FILES section.
21732 #
21733
21734 # No need to generate the scripts if there are no CONFIG_FILES.
21735 # This happens for instance when ./config.status config.h
21736 if test -n "\$CONFIG_FILES"; then
21737   # Protect against being on the right side of a sed subst in config.status.
21738   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21739    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21740 s,@SHELL@,$SHELL,;t t
21741 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21742 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21743 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21744 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21745 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21746 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21747 s,@exec_prefix@,$exec_prefix,;t t
21748 s,@prefix@,$prefix,;t t
21749 s,@program_transform_name@,$program_transform_name,;t t
21750 s,@bindir@,$bindir,;t t
21751 s,@sbindir@,$sbindir,;t t
21752 s,@libexecdir@,$libexecdir,;t t
21753 s,@datadir@,$datadir,;t t
21754 s,@sysconfdir@,$sysconfdir,;t t
21755 s,@sharedstatedir@,$sharedstatedir,;t t
21756 s,@localstatedir@,$localstatedir,;t t
21757 s,@libdir@,$libdir,;t t
21758 s,@includedir@,$includedir,;t t
21759 s,@oldincludedir@,$oldincludedir,;t t
21760 s,@infodir@,$infodir,;t t
21761 s,@mandir@,$mandir,;t t
21762 s,@build_alias@,$build_alias,;t t
21763 s,@host_alias@,$host_alias,;t t
21764 s,@target_alias@,$target_alias,;t t
21765 s,@DEFS@,$DEFS,;t t
21766 s,@ECHO_C@,$ECHO_C,;t t
21767 s,@ECHO_N@,$ECHO_N,;t t
21768 s,@ECHO_T@,$ECHO_T,;t t
21769 s,@LIBS@,$LIBS,;t t
21770 s,@build@,$build,;t t
21771 s,@build_cpu@,$build_cpu,;t t
21772 s,@build_vendor@,$build_vendor,;t t
21773 s,@build_os@,$build_os,;t t
21774 s,@build_subdir@,$build_subdir,;t t
21775 s,@host_subdir@,$host_subdir,;t t
21776 s,@target_subdir@,$target_subdir,;t t
21777 s,@host@,$host,;t t
21778 s,@host_cpu@,$host_cpu,;t t
21779 s,@host_vendor@,$host_vendor,;t t
21780 s,@host_os@,$host_os,;t t
21781 s,@target@,$target,;t t
21782 s,@target_cpu@,$target_cpu,;t t
21783 s,@target_vendor@,$target_vendor,;t t
21784 s,@target_os@,$target_os,;t t
21785 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21786 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21787 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21788 s,@CYGPATH_W@,$CYGPATH_W,;t t
21789 s,@PACKAGE@,$PACKAGE,;t t
21790 s,@VERSION@,$VERSION,;t t
21791 s,@ACLOCAL@,$ACLOCAL,;t t
21792 s,@AUTOCONF@,$AUTOCONF,;t t
21793 s,@AUTOMAKE@,$AUTOMAKE,;t t
21794 s,@AUTOHEADER@,$AUTOHEADER,;t t
21795 s,@MAKEINFO@,$MAKEINFO,;t t
21796 s,@install_sh@,$install_sh,;t t
21797 s,@STRIP@,$STRIP,;t t
21798 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21799 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21800 s,@mkdir_p@,$mkdir_p,;t t
21801 s,@AWK@,$AWK,;t t
21802 s,@SET_MAKE@,$SET_MAKE,;t t
21803 s,@am__leading_dot@,$am__leading_dot,;t t
21804 s,@AMTAR@,$AMTAR,;t t
21805 s,@am__tar@,$am__tar,;t t
21806 s,@am__untar@,$am__untar,;t t
21807 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21808 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21809 s,@MAINT@,$MAINT,;t t
21810 s,@multi_basedir@,$multi_basedir,;t t
21811 s,@toolexecdir@,$toolexecdir,;t t
21812 s,@toolexeclibdir@,$toolexeclibdir,;t t
21813 s,@CC@,$CC,;t t
21814 s,@ac_ct_CC@,$ac_ct_CC,;t t
21815 s,@EXEEXT@,$EXEEXT,;t t
21816 s,@OBJEXT@,$OBJEXT,;t t
21817 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
21818 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
21819 s,@AS@,$AS,;t t
21820 s,@ac_ct_AS@,$ac_ct_AS,;t t
21821 s,@AR@,$AR,;t t
21822 s,@ac_ct_AR@,$ac_ct_AR,;t t
21823 s,@RANLIB@,$RANLIB,;t t
21824 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21825 s,@LN_S@,$LN_S,;t t
21826 s,@LIBTOOL@,$LIBTOOL,;t t
21827 s,@enable_shared@,$enable_shared,;t t
21828 s,@enable_static@,$enable_static,;t t
21829 s,@FC@,$FC,;t t
21830 s,@FCFLAGS@,$FCFLAGS,;t t
21831 s,@LDFLAGS@,$LDFLAGS,;t t
21832 s,@ac_ct_FC@,$ac_ct_FC,;t t
21833 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
21834 s,@CPP@,$CPP,;t t
21835 s,@CPPFLAGS@,$CPPFLAGS,;t t
21836 s,@EGREP@,$EGREP,;t t
21837 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
21838 s,@LIBOBJS@,$LIBOBJS,;t t
21839 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21840 CEOF
21841
21842 _ACEOF
21843
21844   cat >>$CONFIG_STATUS <<\_ACEOF
21845   # Split the substitutions into bite-sized pieces for seds with
21846   # small command number limits, like on Digital OSF/1 and HP-UX.
21847   ac_max_sed_lines=48
21848   ac_sed_frag=1 # Number of current file.
21849   ac_beg=1 # First line for current file.
21850   ac_end=$ac_max_sed_lines # Line after last line for current file.
21851   ac_more_lines=:
21852   ac_sed_cmds=
21853   while $ac_more_lines; do
21854     if test $ac_beg -gt 1; then
21855       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21856     else
21857       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21858     fi
21859     if test ! -s $tmp/subs.frag; then
21860       ac_more_lines=false
21861     else
21862       # The purpose of the label and of the branching condition is to
21863       # speed up the sed processing (if there are no `@' at all, there
21864       # is no need to browse any of the substitutions).
21865       # These are the two extra sed commands mentioned above.
21866       (echo ':t
21867   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21868       if test -z "$ac_sed_cmds"; then
21869         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21870       else
21871         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21872       fi
21873       ac_sed_frag=`expr $ac_sed_frag + 1`
21874       ac_beg=$ac_end
21875       ac_end=`expr $ac_end + $ac_max_sed_lines`
21876     fi
21877   done
21878   if test -z "$ac_sed_cmds"; then
21879     ac_sed_cmds=cat
21880   fi
21881 fi # test -n "$CONFIG_FILES"
21882
21883 _ACEOF
21884 cat >>$CONFIG_STATUS <<\_ACEOF
21885 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21886   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21887   case $ac_file in
21888   - | *:- | *:-:* ) # input from stdin
21889         cat >$tmp/stdin
21890         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21891         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21892   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21893         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21894   * )   ac_file_in=$ac_file.in ;;
21895   esac
21896
21897   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21898   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21899 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21900          X"$ac_file" : 'X\(//\)[^/]' \| \
21901          X"$ac_file" : 'X\(//\)$' \| \
21902          X"$ac_file" : 'X\(/\)' \| \
21903          .     : '\(.\)' 2>/dev/null ||
21904 echo X"$ac_file" |
21905     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21906           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21907           /^X\(\/\/\)$/{ s//\1/; q; }
21908           /^X\(\/\).*/{ s//\1/; q; }
21909           s/.*/./; q'`
21910   { if $as_mkdir_p; then
21911     mkdir -p "$ac_dir"
21912   else
21913     as_dir="$ac_dir"
21914     as_dirs=
21915     while test ! -d "$as_dir"; do
21916       as_dirs="$as_dir $as_dirs"
21917       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21919          X"$as_dir" : 'X\(//\)[^/]' \| \
21920          X"$as_dir" : 'X\(//\)$' \| \
21921          X"$as_dir" : 'X\(/\)' \| \
21922          .     : '\(.\)' 2>/dev/null ||
21923 echo X"$as_dir" |
21924     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21925           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21926           /^X\(\/\/\)$/{ s//\1/; q; }
21927           /^X\(\/\).*/{ s//\1/; q; }
21928           s/.*/./; q'`
21929     done
21930     test ! -n "$as_dirs" || mkdir $as_dirs
21931   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21932 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21933    { (exit 1); exit 1; }; }; }
21934
21935   ac_builddir=.
21936
21937 if test "$ac_dir" != .; then
21938   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21939   # A "../" for each directory in $ac_dir_suffix.
21940   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21941 else
21942   ac_dir_suffix= ac_top_builddir=
21943 fi
21944
21945 case $srcdir in
21946   .)  # No --srcdir option.  We are building in place.
21947     ac_srcdir=.
21948     if test -z "$ac_top_builddir"; then
21949        ac_top_srcdir=.
21950     else
21951        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21952     fi ;;
21953   [\\/]* | ?:[\\/]* )  # Absolute path.
21954     ac_srcdir=$srcdir$ac_dir_suffix;
21955     ac_top_srcdir=$srcdir ;;
21956   *) # Relative path.
21957     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21958     ac_top_srcdir=$ac_top_builddir$srcdir ;;
21959 esac
21960
21961 # Do not use `cd foo && pwd` to compute absolute paths, because
21962 # the directories may not exist.
21963 case `pwd` in
21964 .) ac_abs_builddir="$ac_dir";;
21965 *)
21966   case "$ac_dir" in
21967   .) ac_abs_builddir=`pwd`;;
21968   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21969   *) ac_abs_builddir=`pwd`/"$ac_dir";;
21970   esac;;
21971 esac
21972 case $ac_abs_builddir in
21973 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21974 *)
21975   case ${ac_top_builddir}. in
21976   .) ac_abs_top_builddir=$ac_abs_builddir;;
21977   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21978   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21979   esac;;
21980 esac
21981 case $ac_abs_builddir in
21982 .) ac_abs_srcdir=$ac_srcdir;;
21983 *)
21984   case $ac_srcdir in
21985   .) ac_abs_srcdir=$ac_abs_builddir;;
21986   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21987   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21988   esac;;
21989 esac
21990 case $ac_abs_builddir in
21991 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21992 *)
21993   case $ac_top_srcdir in
21994   .) ac_abs_top_srcdir=$ac_abs_builddir;;
21995   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21996   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21997   esac;;
21998 esac
21999
22000
22001   case $INSTALL in
22002   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22003   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22004   esac
22005
22006   if test x"$ac_file" != x-; then
22007     { echo "$as_me:$LINENO: creating $ac_file" >&5
22008 echo "$as_me: creating $ac_file" >&6;}
22009     rm -f "$ac_file"
22010   fi
22011   # Let's still pretend it is `configure' which instantiates (i.e., don't
22012   # use $as_me), people would be surprised to read:
22013   #    /* config.h.  Generated by config.status.  */
22014   if test x"$ac_file" = x-; then
22015     configure_input=
22016   else
22017     configure_input="$ac_file.  "
22018   fi
22019   configure_input=$configure_input"Generated from `echo $ac_file_in |
22020                                      sed 's,.*/,,'` by configure."
22021
22022   # First look for the input files in the build tree, otherwise in the
22023   # src tree.
22024   ac_file_inputs=`IFS=:
22025     for f in $ac_file_in; do
22026       case $f in
22027       -) echo $tmp/stdin ;;
22028       [\\/$]*)
22029          # Absolute (can't be DOS-style, as IFS=:)
22030          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22031 echo "$as_me: error: cannot find input file: $f" >&2;}
22032    { (exit 1); exit 1; }; }
22033          echo "$f";;
22034       *) # Relative
22035          if test -f "$f"; then
22036            # Build tree
22037            echo "$f"
22038          elif test -f "$srcdir/$f"; then
22039            # Source tree
22040            echo "$srcdir/$f"
22041          else
22042            # /dev/null tree
22043            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22044 echo "$as_me: error: cannot find input file: $f" >&2;}
22045    { (exit 1); exit 1; }; }
22046          fi;;
22047       esac
22048     done` || { (exit 1); exit 1; }
22049 _ACEOF
22050 cat >>$CONFIG_STATUS <<_ACEOF
22051   sed "$ac_vpsub
22052 $extrasub
22053 _ACEOF
22054 cat >>$CONFIG_STATUS <<\_ACEOF
22055 :t
22056 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22057 s,@configure_input@,$configure_input,;t t
22058 s,@srcdir@,$ac_srcdir,;t t
22059 s,@abs_srcdir@,$ac_abs_srcdir,;t t
22060 s,@top_srcdir@,$ac_top_srcdir,;t t
22061 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22062 s,@builddir@,$ac_builddir,;t t
22063 s,@abs_builddir@,$ac_abs_builddir,;t t
22064 s,@top_builddir@,$ac_top_builddir,;t t
22065 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22066 s,@INSTALL@,$ac_INSTALL,;t t
22067 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22068   rm -f $tmp/stdin
22069   if test x"$ac_file" != x-; then
22070     mv $tmp/out $ac_file
22071   else
22072     cat $tmp/out
22073     rm -f $tmp/out
22074   fi
22075
22076 done
22077 _ACEOF
22078 cat >>$CONFIG_STATUS <<\_ACEOF
22079
22080 #
22081 # CONFIG_HEADER section.
22082 #
22083
22084 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22085 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22086 #
22087 # ac_d sets the value in "#define NAME VALUE" lines.
22088 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
22089 ac_dB='[         ].*$,\1#\2'
22090 ac_dC=' '
22091 ac_dD=',;t'
22092 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22093 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
22094 ac_uB='$,\1#\2define\3'
22095 ac_uC=' '
22096 ac_uD=',;t'
22097
22098 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22099   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22100   case $ac_file in
22101   - | *:- | *:-:* ) # input from stdin
22102         cat >$tmp/stdin
22103         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22104         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22105   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22106         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22107   * )   ac_file_in=$ac_file.in ;;
22108   esac
22109
22110   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22111 echo "$as_me: creating $ac_file" >&6;}
22112
22113   # First look for the input files in the build tree, otherwise in the
22114   # src tree.
22115   ac_file_inputs=`IFS=:
22116     for f in $ac_file_in; do
22117       case $f in
22118       -) echo $tmp/stdin ;;
22119       [\\/$]*)
22120          # Absolute (can't be DOS-style, as IFS=:)
22121          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22122 echo "$as_me: error: cannot find input file: $f" >&2;}
22123    { (exit 1); exit 1; }; }
22124          # Do quote $f, to prevent DOS paths from being IFS'd.
22125          echo "$f";;
22126       *) # Relative
22127          if test -f "$f"; then
22128            # Build tree
22129            echo "$f"
22130          elif test -f "$srcdir/$f"; then
22131            # Source tree
22132            echo "$srcdir/$f"
22133          else
22134            # /dev/null tree
22135            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22136 echo "$as_me: error: cannot find input file: $f" >&2;}
22137    { (exit 1); exit 1; }; }
22138          fi;;
22139       esac
22140     done` || { (exit 1); exit 1; }
22141   # Remove the trailing spaces.
22142   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
22143
22144 _ACEOF
22145
22146 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22147 # `conftest.undefs', that substitutes the proper values into
22148 # config.h.in to produce config.h.  The first handles `#define'
22149 # templates, and the second `#undef' templates.
22150 # And first: Protect against being on the right side of a sed subst in
22151 # config.status.  Protect against being in an unquoted here document
22152 # in config.status.
22153 rm -f conftest.defines conftest.undefs
22154 # Using a here document instead of a string reduces the quoting nightmare.
22155 # Putting comments in sed scripts is not portable.
22156 #
22157 # `end' is used to avoid that the second main sed command (meant for
22158 # 0-ary CPP macros) applies to n-ary macro definitions.
22159 # See the Autoconf documentation for `clear'.
22160 cat >confdef2sed.sed <<\_ACEOF
22161 s/[\\&,]/\\&/g
22162 s,[\\$`],\\&,g
22163 t clear
22164 : clear
22165 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22166 t end
22167 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22168 : end
22169 _ACEOF
22170 # If some macros were called several times there might be several times
22171 # the same #defines, which is useless.  Nevertheless, we may not want to
22172 # sort them, since we want the *last* AC-DEFINE to be honored.
22173 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22174 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22175 rm -f confdef2sed.sed
22176
22177 # This sed command replaces #undef with comments.  This is necessary, for
22178 # example, in the case of _POSIX_SOURCE, which is predefined and required
22179 # on some systems where configure will not decide to define it.
22180 cat >>conftest.undefs <<\_ACEOF
22181 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22182 _ACEOF
22183
22184 # Break up conftest.defines because some shells have a limit on the size
22185 # of here documents, and old seds have small limits too (100 cmds).
22186 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22187 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22188 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22189 echo '  :' >>$CONFIG_STATUS
22190 rm -f conftest.tail
22191 while grep . conftest.defines >/dev/null
22192 do
22193   # Write a limited-size here document to $tmp/defines.sed.
22194   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22195   # Speed up: don't consider the non `#define' lines.
22196   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
22197   # Work around the forget-to-reset-the-flag bug.
22198   echo 't clr' >>$CONFIG_STATUS
22199   echo ': clr' >>$CONFIG_STATUS
22200   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22201   echo 'CEOF
22202   sed -f $tmp/defines.sed $tmp/in >$tmp/out
22203   rm -f $tmp/in
22204   mv $tmp/out $tmp/in
22205 ' >>$CONFIG_STATUS
22206   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22207   rm -f conftest.defines
22208   mv conftest.tail conftest.defines
22209 done
22210 rm -f conftest.defines
22211 echo '  fi # grep' >>$CONFIG_STATUS
22212 echo >>$CONFIG_STATUS
22213
22214 # Break up conftest.undefs because some shells have a limit on the size
22215 # of here documents, and old seds have small limits too (100 cmds).
22216 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
22217 rm -f conftest.tail
22218 while grep . conftest.undefs >/dev/null
22219 do
22220   # Write a limited-size here document to $tmp/undefs.sed.
22221   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22222   # Speed up: don't consider the non `#undef'
22223   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
22224   # Work around the forget-to-reset-the-flag bug.
22225   echo 't clr' >>$CONFIG_STATUS
22226   echo ': clr' >>$CONFIG_STATUS
22227   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22228   echo 'CEOF
22229   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22230   rm -f $tmp/in
22231   mv $tmp/out $tmp/in
22232 ' >>$CONFIG_STATUS
22233   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22234   rm -f conftest.undefs
22235   mv conftest.tail conftest.undefs
22236 done
22237 rm -f conftest.undefs
22238
22239 cat >>$CONFIG_STATUS <<\_ACEOF
22240   # Let's still pretend it is `configure' which instantiates (i.e., don't
22241   # use $as_me), people would be surprised to read:
22242   #    /* config.h.  Generated by config.status.  */
22243   if test x"$ac_file" = x-; then
22244     echo "/* Generated by configure.  */" >$tmp/config.h
22245   else
22246     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
22247   fi
22248   cat $tmp/in >>$tmp/config.h
22249   rm -f $tmp/in
22250   if test x"$ac_file" != x-; then
22251     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22252       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22253 echo "$as_me: $ac_file is unchanged" >&6;}
22254     else
22255       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22256 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22257          X"$ac_file" : 'X\(//\)[^/]' \| \
22258          X"$ac_file" : 'X\(//\)$' \| \
22259          X"$ac_file" : 'X\(/\)' \| \
22260          .     : '\(.\)' 2>/dev/null ||
22261 echo X"$ac_file" |
22262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22263           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22264           /^X\(\/\/\)$/{ s//\1/; q; }
22265           /^X\(\/\).*/{ s//\1/; q; }
22266           s/.*/./; q'`
22267       { if $as_mkdir_p; then
22268     mkdir -p "$ac_dir"
22269   else
22270     as_dir="$ac_dir"
22271     as_dirs=
22272     while test ! -d "$as_dir"; do
22273       as_dirs="$as_dir $as_dirs"
22274       as_dir=`(dirname "$as_dir") 2>/dev/null ||
22275 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22276          X"$as_dir" : 'X\(//\)[^/]' \| \
22277          X"$as_dir" : 'X\(//\)$' \| \
22278          X"$as_dir" : 'X\(/\)' \| \
22279          .     : '\(.\)' 2>/dev/null ||
22280 echo X"$as_dir" |
22281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22282           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22283           /^X\(\/\/\)$/{ s//\1/; q; }
22284           /^X\(\/\).*/{ s//\1/; q; }
22285           s/.*/./; q'`
22286     done
22287     test ! -n "$as_dirs" || mkdir $as_dirs
22288   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22289 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22290    { (exit 1); exit 1; }; }; }
22291
22292       rm -f $ac_file
22293       mv $tmp/config.h $ac_file
22294     fi
22295   else
22296     cat $tmp/config.h
22297     rm -f $tmp/config.h
22298   fi
22299 # Compute $ac_file's index in $config_headers.
22300 _am_stamp_count=1
22301 for _am_header in $config_headers :; do
22302   case $_am_header in
22303     $ac_file | $ac_file:* )
22304       break ;;
22305     * )
22306       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22307   esac
22308 done
22309 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22310 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22311          X$ac_file : 'X\(//\)[^/]' \| \
22312          X$ac_file : 'X\(//\)$' \| \
22313          X$ac_file : 'X\(/\)' \| \
22314          .     : '\(.\)' 2>/dev/null ||
22315 echo X$ac_file |
22316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22317           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22318           /^X\(\/\/\)$/{ s//\1/; q; }
22319           /^X\(\/\).*/{ s//\1/; q; }
22320           s/.*/./; q'`/stamp-h$_am_stamp_count
22321 done
22322 _ACEOF
22323 cat >>$CONFIG_STATUS <<\_ACEOF
22324
22325 #
22326 # CONFIG_COMMANDS section.
22327 #
22328 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22329   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22330   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22331   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22332 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22333          X"$ac_dest" : 'X\(//\)[^/]' \| \
22334          X"$ac_dest" : 'X\(//\)$' \| \
22335          X"$ac_dest" : 'X\(/\)' \| \
22336          .     : '\(.\)' 2>/dev/null ||
22337 echo X"$ac_dest" |
22338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22339           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22340           /^X\(\/\/\)$/{ s//\1/; q; }
22341           /^X\(\/\).*/{ s//\1/; q; }
22342           s/.*/./; q'`
22343   { if $as_mkdir_p; then
22344     mkdir -p "$ac_dir"
22345   else
22346     as_dir="$ac_dir"
22347     as_dirs=
22348     while test ! -d "$as_dir"; do
22349       as_dirs="$as_dir $as_dirs"
22350       as_dir=`(dirname "$as_dir") 2>/dev/null ||
22351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22352          X"$as_dir" : 'X\(//\)[^/]' \| \
22353          X"$as_dir" : 'X\(//\)$' \| \
22354          X"$as_dir" : 'X\(/\)' \| \
22355          .     : '\(.\)' 2>/dev/null ||
22356 echo X"$as_dir" |
22357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22358           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22359           /^X\(\/\/\)$/{ s//\1/; q; }
22360           /^X\(\/\).*/{ s//\1/; q; }
22361           s/.*/./; q'`
22362     done
22363     test ! -n "$as_dirs" || mkdir $as_dirs
22364   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22365 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22366    { (exit 1); exit 1; }; }; }
22367
22368   ac_builddir=.
22369
22370 if test "$ac_dir" != .; then
22371   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22372   # A "../" for each directory in $ac_dir_suffix.
22373   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22374 else
22375   ac_dir_suffix= ac_top_builddir=
22376 fi
22377
22378 case $srcdir in
22379   .)  # No --srcdir option.  We are building in place.
22380     ac_srcdir=.
22381     if test -z "$ac_top_builddir"; then
22382        ac_top_srcdir=.
22383     else
22384        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22385     fi ;;
22386   [\\/]* | ?:[\\/]* )  # Absolute path.
22387     ac_srcdir=$srcdir$ac_dir_suffix;
22388     ac_top_srcdir=$srcdir ;;
22389   *) # Relative path.
22390     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22391     ac_top_srcdir=$ac_top_builddir$srcdir ;;
22392 esac
22393
22394 # Do not use `cd foo && pwd` to compute absolute paths, because
22395 # the directories may not exist.
22396 case `pwd` in
22397 .) ac_abs_builddir="$ac_dir";;
22398 *)
22399   case "$ac_dir" in
22400   .) ac_abs_builddir=`pwd`;;
22401   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22402   *) ac_abs_builddir=`pwd`/"$ac_dir";;
22403   esac;;
22404 esac
22405 case $ac_abs_builddir in
22406 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22407 *)
22408   case ${ac_top_builddir}. in
22409   .) ac_abs_top_builddir=$ac_abs_builddir;;
22410   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22411   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22412   esac;;
22413 esac
22414 case $ac_abs_builddir in
22415 .) ac_abs_srcdir=$ac_srcdir;;
22416 *)
22417   case $ac_srcdir in
22418   .) ac_abs_srcdir=$ac_abs_builddir;;
22419   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22420   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22421   esac;;
22422 esac
22423 case $ac_abs_builddir in
22424 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22425 *)
22426   case $ac_top_srcdir in
22427   .) ac_abs_top_srcdir=$ac_abs_builddir;;
22428   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22429   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22430   esac;;
22431 esac
22432
22433
22434   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22435 echo "$as_me: executing $ac_dest commands" >&6;}
22436   case $ac_dest in
22437     default-1 )
22438 # Only add multilib support code if we just rebuilt the top-level
22439 # Makefile.
22440 case " $CONFIG_FILES " in
22441  *" Makefile "*)
22442    ac_file=Makefile . ${multi_basedir}/config-ml.in
22443    ;;
22444 esac ;;
22445   esac
22446 done
22447 _ACEOF
22448
22449 cat >>$CONFIG_STATUS <<\_ACEOF
22450
22451 { (exit 0); exit 0; }
22452 _ACEOF
22453 chmod +x $CONFIG_STATUS
22454 ac_clean_files=$ac_clean_files_save
22455
22456
22457 # configure is writing to config.log, and then calls config.status.
22458 # config.status does its own redirection, appending to config.log.
22459 # Unfortunately, on DOS this fails, as config.log is still kept open
22460 # by configure, so config.status won't be able to write to it; its
22461 # output is simply discarded.  So we exec the FD to /dev/null,
22462 # effectively closing config.log, so it can be properly (re)opened and
22463 # appended to by config.status.  When coming back to configure, we
22464 # need to make the FD available again.
22465 if test "$no_create" != yes; then
22466   ac_cs_success=:
22467   ac_config_status_args=
22468   test "$silent" = yes &&
22469     ac_config_status_args="$ac_config_status_args --quiet"
22470   exec 5>/dev/null
22471   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22472   exec 5>>config.log
22473   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22474   # would make configure fail if this is the last instruction.
22475   $ac_cs_success || { (exit 1); exit 1; }
22476 fi
22477