OSDN Git Service

5b31d51a64772bd6b57bbf116f2979c9fbbb1319
[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 host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
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
1332 # -------
1333 # Options
1334 # -------
1335
1336 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1337 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1338 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1339 if test "${enable_version_specific_runtime_libs+set}" = set; then
1340   enableval="$enable_version_specific_runtime_libs"
1341   case "$enableval" in
1342  yes) version_specific_libs=yes ;;
1343  no)  version_specific_libs=no ;;
1344  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1345 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1346    { (exit 1); exit 1; }; };;
1347  esac
1348 else
1349   version_specific_libs=no
1350 fi;
1351 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1352 echo "${ECHO_T}$version_specific_libs" >&6
1353
1354
1355 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1356 #
1357 # You will slowly go insane if you do not grok the following fact:  when
1358 # building this library, the top-level /target/ becomes the library's /host/.
1359 #
1360 # configure then causes --target to default to --host, exactly like any
1361 # other package using autoconf.  Therefore, 'target' and 'host' will
1362 # always be the same.  This makes sense both for native and cross compilers
1363 # just think about it for a little while.  :-)
1364 #
1365 # Also, if this library is being configured as part of a cross compiler, the
1366 # top-level configure script will pass the "real" host as $with_cross_host.
1367 #
1368 # Do not delete or change the following two lines.  For why, see
1369 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1370 ac_aux_dir=
1371 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1372   if test -f $ac_dir/install-sh; then
1373     ac_aux_dir=$ac_dir
1374     ac_install_sh="$ac_aux_dir/install-sh -c"
1375     break
1376   elif test -f $ac_dir/install.sh; then
1377     ac_aux_dir=$ac_dir
1378     ac_install_sh="$ac_aux_dir/install.sh -c"
1379     break
1380   elif test -f $ac_dir/shtool; then
1381     ac_aux_dir=$ac_dir
1382     ac_install_sh="$ac_aux_dir/shtool install -c"
1383     break
1384   fi
1385 done
1386 if test -z "$ac_aux_dir"; then
1387   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1388 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1389    { (exit 1); exit 1; }; }
1390 fi
1391 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1392 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1393 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1394
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4 >/dev/null 2>&1 ||
1397   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399    { (exit 1); exit 1; }; }
1400
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404   echo $ECHO_N "(cached) $ECHO_C" >&6
1405 else
1406   ac_cv_build_alias=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408   ac_cv_build_alias=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412    { (exit 1); exit 1; }; }
1413 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1414   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416    { (exit 1); exit 1; }; }
1417
1418 fi
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1421 build=$ac_cv_build
1422 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1425
1426
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430   echo $ECHO_N "(cached) $ECHO_C" >&6
1431 else
1432   ac_cv_host_alias=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434   ac_cv_host_alias=$ac_cv_build_alias
1435 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1436   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438    { (exit 1); exit 1; }; }
1439
1440 fi
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1443 host=$ac_cv_host
1444 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1447
1448
1449 echo "$as_me:$LINENO: checking target system type" >&5
1450 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1451 if test "${ac_cv_target+set}" = set; then
1452   echo $ECHO_N "(cached) $ECHO_C" >&6
1453 else
1454   ac_cv_target_alias=$target_alias
1455 test "x$ac_cv_target_alias" = "x" &&
1456   ac_cv_target_alias=$ac_cv_host_alias
1457 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1458   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1459 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1460    { (exit 1); exit 1; }; }
1461
1462 fi
1463 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1464 echo "${ECHO_T}$ac_cv_target" >&6
1465 target=$ac_cv_target
1466 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1467 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1468 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1469
1470
1471 # The aliases save the names the user supplied, while $host etc.
1472 # will get canonicalized.
1473 test -n "$target_alias" &&
1474   test "$program_prefix$program_suffix$program_transform_name" = \
1475     NONENONEs,x,x, &&
1476   program_prefix=${target_alias}-
1477 target_alias=${target_alias-$host_alias}
1478
1479 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1480 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1481 #  1.8.2:  minimum required version
1482 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1483 #              of other PACKAGE_* variables will, however, and there's nothing
1484 #              we can do about that; they come from AC_INIT).
1485 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1486 #            file in the top srcdir, etc, etc), so stop complaining.
1487 #  no-dependencies:  turns off auto dependency generation (just for now)
1488 #  -Wall:  turns on all automake warnings...
1489 #  -Wno-portability:  ...except this one, since GNU make is required.
1490 am__api_version="1.9"
1491 # Find a good install program.  We prefer a C program (faster),
1492 # so one script is as good as another.  But avoid the broken or
1493 # incompatible versions:
1494 # SysV /etc/install, /usr/sbin/install
1495 # SunOS /usr/etc/install
1496 # IRIX /sbin/install
1497 # AIX /bin/install
1498 # AmigaOS /C/install, which installs bootblocks on floppy discs
1499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1502 # OS/2's system install, which has a completely different semantic
1503 # ./install, which can be erroneously created by make from ./install.sh.
1504 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1505 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1506 if test -z "$INSTALL"; then
1507 if test "${ac_cv_path_install+set}" = set; then
1508   echo $ECHO_N "(cached) $ECHO_C" >&6
1509 else
1510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511 for as_dir in $PATH
1512 do
1513   IFS=$as_save_IFS
1514   test -z "$as_dir" && as_dir=.
1515   # Account for people who put trailing slashes in PATH elements.
1516 case $as_dir/ in
1517   ./ | .// | /cC/* | \
1518   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1519   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1520   /usr/ucb/* ) ;;
1521   *)
1522     # OSF1 and SCO ODT 3.0 have their own names for install.
1523     # Don't use installbsd from OSF since it installs stuff as root
1524     # by default.
1525     for ac_prog in ginstall scoinst install; do
1526       for ac_exec_ext in '' $ac_executable_extensions; do
1527         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1528           if test $ac_prog = install &&
1529             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1530             # AIX install.  It has an incompatible calling convention.
1531             :
1532           elif test $ac_prog = install &&
1533             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1534             # program-specific install script used by HP pwplus--don't use.
1535             :
1536           else
1537             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1538             break 3
1539           fi
1540         fi
1541       done
1542     done
1543     ;;
1544 esac
1545 done
1546
1547
1548 fi
1549   if test "${ac_cv_path_install+set}" = set; then
1550     INSTALL=$ac_cv_path_install
1551   else
1552     # As a last resort, use the slow shell script.  We don't cache a
1553     # path for INSTALL within a source directory, because that will
1554     # break other packages using the cache if that directory is
1555     # removed, or if the path is relative.
1556     INSTALL=$ac_install_sh
1557   fi
1558 fi
1559 echo "$as_me:$LINENO: result: $INSTALL" >&5
1560 echo "${ECHO_T}$INSTALL" >&6
1561
1562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1563 # It thinks the first close brace ends the variable substitution.
1564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1565
1566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1567
1568 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1569
1570 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1571 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1572 # Just in case
1573 sleep 1
1574 echo timestamp > conftest.file
1575 # Do `set' in a subshell so we don't clobber the current shell's
1576 # arguments.  Must try -L first in case configure is actually a
1577 # symlink; some systems play weird games with the mod time of symlinks
1578 # (eg FreeBSD returns the mod time of the symlink's containing
1579 # directory).
1580 if (
1581    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1582    if test "$*" = "X"; then
1583       # -L didn't work.
1584       set X `ls -t $srcdir/configure conftest.file`
1585    fi
1586    rm -f conftest.file
1587    if test "$*" != "X $srcdir/configure conftest.file" \
1588       && test "$*" != "X conftest.file $srcdir/configure"; then
1589
1590       # If neither matched, then we have a broken ls.  This can happen
1591       # if, for instance, CONFIG_SHELL is bash and it inherits a
1592       # broken ls alias from the environment.  This has actually
1593       # happened.  Such a system could not be considered "sane".
1594       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1595 alias in your environment" >&5
1596 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1597 alias in your environment" >&2;}
1598    { (exit 1); exit 1; }; }
1599    fi
1600
1601    test "$2" = conftest.file
1602    )
1603 then
1604    # Ok.
1605    :
1606 else
1607    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1608 Check your system clock" >&5
1609 echo "$as_me: error: newly created file is older than distributed files!
1610 Check your system clock" >&2;}
1611    { (exit 1); exit 1; }; }
1612 fi
1613 echo "$as_me:$LINENO: result: yes" >&5
1614 echo "${ECHO_T}yes" >&6
1615 test "$program_prefix" != NONE &&
1616   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1617 # Use a double $ so make ignores it.
1618 test "$program_suffix" != NONE &&
1619   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1620 # Double any \ or $.  echo might interpret backslashes.
1621 # By default was `s,x,x', remove it if useless.
1622 cat <<\_ACEOF >conftest.sed
1623 s/[\\$]/&&/g;s/;s,x,x,$//
1624 _ACEOF
1625 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1626 rm conftest.sed
1627
1628 # expand $ac_aux_dir to an absolute path
1629 am_aux_dir=`cd $ac_aux_dir && pwd`
1630
1631 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1632 # Use eval to expand $SHELL
1633 if eval "$MISSING --run true"; then
1634   am_missing_run="$MISSING --run "
1635 else
1636   am_missing_run=
1637   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1638 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1639 fi
1640
1641 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1642   # We used to keeping the `.' as first argument, in order to
1643   # allow $(mkdir_p) to be used without argument.  As in
1644   #   $(mkdir_p) $(somedir)
1645   # where $(somedir) is conditionally defined.  However this is wrong
1646   # for two reasons:
1647   #  1. if the package is installed by a user who cannot write `.'
1648   #     make install will fail,
1649   #  2. the above comment should most certainly read
1650   #     $(mkdir_p) $(DESTDIR)$(somedir)
1651   #     so it does not work when $(somedir) is undefined and
1652   #     $(DESTDIR) is not.
1653   #  To support the latter case, we have to write
1654   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1655   #  so the `.' trick is pointless.
1656   mkdir_p='mkdir -p --'
1657 else
1658   # On NextStep and OpenStep, the `mkdir' command does not
1659   # recognize any option.  It will interpret all options as
1660   # directories to create, and then abort because `.' already
1661   # exists.
1662   for d in ./-p ./--version;
1663   do
1664     test -d $d && rmdir $d
1665   done
1666   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1667   if test -f "$ac_aux_dir/mkinstalldirs"; then
1668     mkdir_p='$(mkinstalldirs)'
1669   else
1670     mkdir_p='$(install_sh) -d'
1671   fi
1672 fi
1673
1674 for ac_prog in gawk mawk nawk awk
1675 do
1676   # Extract the first word of "$ac_prog", so it can be a program name with args.
1677 set dummy $ac_prog; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_AWK+set}" = set; then
1681   echo $ECHO_N "(cached) $ECHO_C" >&6
1682 else
1683   if test -n "$AWK"; then
1684   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1685 else
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687 for as_dir in $PATH
1688 do
1689   IFS=$as_save_IFS
1690   test -z "$as_dir" && as_dir=.
1691   for ac_exec_ext in '' $ac_executable_extensions; do
1692   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693     ac_cv_prog_AWK="$ac_prog"
1694     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695     break 2
1696   fi
1697 done
1698 done
1699
1700 fi
1701 fi
1702 AWK=$ac_cv_prog_AWK
1703 if test -n "$AWK"; then
1704   echo "$as_me:$LINENO: result: $AWK" >&5
1705 echo "${ECHO_T}$AWK" >&6
1706 else
1707   echo "$as_me:$LINENO: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1709 fi
1710
1711   test -n "$AWK" && break
1712 done
1713
1714 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1715 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1716 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1717 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1718   echo $ECHO_N "(cached) $ECHO_C" >&6
1719 else
1720   cat >conftest.make <<\_ACEOF
1721 all:
1722         @echo 'ac_maketemp="$(MAKE)"'
1723 _ACEOF
1724 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1725 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1726 if test -n "$ac_maketemp"; then
1727   eval ac_cv_prog_make_${ac_make}_set=yes
1728 else
1729   eval ac_cv_prog_make_${ac_make}_set=no
1730 fi
1731 rm -f conftest.make
1732 fi
1733 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1734   echo "$as_me:$LINENO: result: yes" >&5
1735 echo "${ECHO_T}yes" >&6
1736   SET_MAKE=
1737 else
1738   echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1740   SET_MAKE="MAKE=${MAKE-make}"
1741 fi
1742
1743 rm -rf .tst 2>/dev/null
1744 mkdir .tst 2>/dev/null
1745 if test -d .tst; then
1746   am__leading_dot=.
1747 else
1748   am__leading_dot=_
1749 fi
1750 rmdir .tst 2>/dev/null
1751
1752 # test to see if srcdir already configured
1753 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1754    test -f $srcdir/config.status; then
1755   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1756 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1757    { (exit 1); exit 1; }; }
1758 fi
1759
1760 # test whether we have cygpath
1761 if test -z "$CYGPATH_W"; then
1762   if (cygpath --version) >/dev/null 2>/dev/null; then
1763     CYGPATH_W='cygpath -w'
1764   else
1765     CYGPATH_W=echo
1766   fi
1767 fi
1768
1769
1770 # Define the identity of the package.
1771  PACKAGE='libgfortran'
1772  VERSION='0.2'
1773
1774
1775 # Some tools Automake needs.
1776
1777 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1778
1779
1780 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1781
1782
1783 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1784
1785
1786 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1787
1788
1789 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1790
1791 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1792
1793 # Installed binaries are usually stripped using `strip' when the user
1794 # run `make install-strip'.  However `strip' might not be the right
1795 # tool to use in cross-compilation environments, therefore Automake
1796 # will honor the `STRIP' environment variable to overrule this program.
1797 if test "$cross_compiling" != no; then
1798   if test -n "$ac_tool_prefix"; then
1799   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}strip; ac_word=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_STRIP+set}" = set; then
1804   echo $ECHO_N "(cached) $ECHO_C" >&6
1805 else
1806   if test -n "$STRIP"; then
1807   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1808 else
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810 for as_dir in $PATH
1811 do
1812   IFS=$as_save_IFS
1813   test -z "$as_dir" && as_dir=.
1814   for ac_exec_ext in '' $ac_executable_extensions; do
1815   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1817     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818     break 2
1819   fi
1820 done
1821 done
1822
1823 fi
1824 fi
1825 STRIP=$ac_cv_prog_STRIP
1826 if test -n "$STRIP"; then
1827   echo "$as_me:$LINENO: result: $STRIP" >&5
1828 echo "${ECHO_T}$STRIP" >&6
1829 else
1830   echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1832 fi
1833
1834 fi
1835 if test -z "$ac_cv_prog_STRIP"; then
1836   ac_ct_STRIP=$STRIP
1837   # Extract the first word of "strip", so it can be a program name with args.
1838 set dummy strip; ac_word=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1842   echo $ECHO_N "(cached) $ECHO_C" >&6
1843 else
1844   if test -n "$ac_ct_STRIP"; then
1845   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1846 else
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 for as_dir in $PATH
1849 do
1850   IFS=$as_save_IFS
1851   test -z "$as_dir" && as_dir=.
1852   for ac_exec_ext in '' $ac_executable_extensions; do
1853   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854     ac_cv_prog_ac_ct_STRIP="strip"
1855     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856     break 2
1857   fi
1858 done
1859 done
1860
1861   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1862 fi
1863 fi
1864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1865 if test -n "$ac_ct_STRIP"; then
1866   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1867 echo "${ECHO_T}$ac_ct_STRIP" >&6
1868 else
1869   echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1871 fi
1872
1873   STRIP=$ac_ct_STRIP
1874 else
1875   STRIP="$ac_cv_prog_STRIP"
1876 fi
1877
1878 fi
1879 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1880
1881 # We need awk for the "check" target.  The system "awk" is bad on
1882 # some platforms.
1883 # Always define AMTAR for backward compatibility.
1884
1885 AMTAR=${AMTAR-"${am_missing_run}tar"}
1886
1887 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1888
1889
1890
1891
1892
1893
1894 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1895 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1896     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1897 if test "${enable_maintainer_mode+set}" = set; then
1898   enableval="$enable_maintainer_mode"
1899   USE_MAINTAINER_MODE=$enableval
1900 else
1901   USE_MAINTAINER_MODE=no
1902 fi;
1903   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1904 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1905
1906
1907 if test $USE_MAINTAINER_MODE = yes; then
1908   MAINTAINER_MODE_TRUE=
1909   MAINTAINER_MODE_FALSE='#'
1910 else
1911   MAINTAINER_MODE_TRUE='#'
1912   MAINTAINER_MODE_FALSE=
1913 fi
1914
1915   MAINT=$MAINTAINER_MODE_TRUE
1916
1917
1918 # Default to --enable-multilib
1919 # Check whether --enable-multilib or --disable-multilib was given.
1920 if test "${enable_multilib+set}" = set; then
1921   enableval="$enable_multilib"
1922   case "$enableval" in
1923   yes) multilib=yes ;;
1924   no)  multilib=no ;;
1925   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1926 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1927    { (exit 1); exit 1; }; } ;;
1928  esac
1929 else
1930   multilib=yes
1931 fi;
1932
1933 # We may get other options which we leave undocumented:
1934 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1935 # See config-ml.in if you want the gory details.
1936
1937 if test "$srcdir" = "."; then
1938   if test "$with_target_subdir" != "."; then
1939     multi_basedir="$srcdir/$with_multisrctop../.."
1940   else
1941     multi_basedir="$srcdir/$with_multisrctop.."
1942   fi
1943 else
1944   multi_basedir="$srcdir/.."
1945 fi
1946
1947
1948           ac_config_commands="$ac_config_commands default-1"
1949
1950
1951 # Handy for debugging:
1952 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1953
1954 # Are we being configured with some form of cross compiler?
1955 # NB: We don't actually need to know this just now, but when, say, a test
1956 #     suite is included, we'll have to know.
1957 if test "$build" != "$host"; then
1958   LIBGFOR_IS_NATIVE=false
1959
1960 else
1961   LIBGFOR_IS_NATIVE=true
1962 fi
1963
1964 # Calculate toolexeclibdir
1965 # Also toolexecdir, though it's only used in toolexeclibdir
1966 case ${version_specific_libs} in
1967   yes)
1968     # Need the gcc compiler version to know where to install libraries
1969     # and header files if --enable-version-specific-runtime-libs option
1970     # is selected.
1971     toolexecdir='$(libdir)/gcc/$(target_alias)'
1972     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1973     ;;
1974   no)
1975     if test -n "$with_cross_host" &&
1976        test x"$with_cross_host" != x"no"; then
1977       # Install a library built with a cross compiler in tooldir, not libdir.
1978       toolexecdir='$(exec_prefix)/$(target_alias)'
1979       toolexeclibdir='$(toolexecdir)/lib'
1980     else
1981       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1982       toolexeclibdir='$(libdir)'
1983     fi
1984     multi_os_directory=`$CC -print-multi-os-directory`
1985     case $multi_os_directory in
1986       .) ;; # Avoid trailing /.
1987       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1988     esac
1989     ;;
1990 esac
1991
1992
1993
1994 # Check the compiler.
1995 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1996 # We must force CC to /not/ be precious variables; otherwise
1997 # the wrong, non-multilib-adjusted value will be used in multilibs.
1998 # As a side effect, we have to subst CFLAGS ourselves.
1999
2000
2001
2002 ac_ext=c
2003 ac_cpp='$CPP $CPPFLAGS'
2004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007 if test -n "$ac_tool_prefix"; then
2008   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2009 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_CC+set}" = set; then
2013   echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015   if test -n "$CC"; then
2016   ac_cv_prog_CC="$CC" # Let the user override the test.
2017 else
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 for as_dir in $PATH
2020 do
2021   IFS=$as_save_IFS
2022   test -z "$as_dir" && as_dir=.
2023   for ac_exec_ext in '' $ac_executable_extensions; do
2024   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2026     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2027     break 2
2028   fi
2029 done
2030 done
2031
2032 fi
2033 fi
2034 CC=$ac_cv_prog_CC
2035 if test -n "$CC"; then
2036   echo "$as_me:$LINENO: result: $CC" >&5
2037 echo "${ECHO_T}$CC" >&6
2038 else
2039   echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6
2041 fi
2042
2043 fi
2044 if test -z "$ac_cv_prog_CC"; then
2045   ac_ct_CC=$CC
2046   # Extract the first word of "gcc", so it can be a program name with args.
2047 set dummy gcc; ac_word=$2
2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2051   echo $ECHO_N "(cached) $ECHO_C" >&6
2052 else
2053   if test -n "$ac_ct_CC"; then
2054   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2055 else
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2058 do
2059   IFS=$as_save_IFS
2060   test -z "$as_dir" && as_dir=.
2061   for ac_exec_ext in '' $ac_executable_extensions; do
2062   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063     ac_cv_prog_ac_ct_CC="gcc"
2064     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065     break 2
2066   fi
2067 done
2068 done
2069
2070 fi
2071 fi
2072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2073 if test -n "$ac_ct_CC"; then
2074   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2075 echo "${ECHO_T}$ac_ct_CC" >&6
2076 else
2077   echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2079 fi
2080
2081   CC=$ac_ct_CC
2082 else
2083   CC="$ac_cv_prog_CC"
2084 fi
2085
2086 if test -z "$CC"; then
2087   if test -n "$ac_tool_prefix"; then
2088   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2089 set dummy ${ac_tool_prefix}cc; ac_word=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_CC+set}" = set; then
2093   echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095   if test -n "$CC"; then
2096   ac_cv_prog_CC="$CC" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101   IFS=$as_save_IFS
2102   test -z "$as_dir" && as_dir=.
2103   for ac_exec_ext in '' $ac_executable_extensions; do
2104   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105     ac_cv_prog_CC="${ac_tool_prefix}cc"
2106     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107     break 2
2108   fi
2109 done
2110 done
2111
2112 fi
2113 fi
2114 CC=$ac_cv_prog_CC
2115 if test -n "$CC"; then
2116   echo "$as_me:$LINENO: result: $CC" >&5
2117 echo "${ECHO_T}$CC" >&6
2118 else
2119   echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2121 fi
2122
2123 fi
2124 if test -z "$ac_cv_prog_CC"; then
2125   ac_ct_CC=$CC
2126   # Extract the first word of "cc", so it can be a program name with args.
2127 set dummy cc; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2131   echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133   if test -n "$ac_ct_CC"; then
2134   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2138 do
2139   IFS=$as_save_IFS
2140   test -z "$as_dir" && as_dir=.
2141   for ac_exec_ext in '' $ac_executable_extensions; do
2142   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143     ac_cv_prog_ac_ct_CC="cc"
2144     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145     break 2
2146   fi
2147 done
2148 done
2149
2150 fi
2151 fi
2152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2153 if test -n "$ac_ct_CC"; then
2154   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2155 echo "${ECHO_T}$ac_ct_CC" >&6
2156 else
2157   echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6
2159 fi
2160
2161   CC=$ac_ct_CC
2162 else
2163   CC="$ac_cv_prog_CC"
2164 fi
2165
2166 fi
2167 if test -z "$CC"; then
2168   # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc; ac_word=$2
2170 echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173   echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175   if test -n "$CC"; then
2176   ac_cv_prog_CC="$CC" # Let the user override the test.
2177 else
2178   ac_prog_rejected=no
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH
2181 do
2182   IFS=$as_save_IFS
2183   test -z "$as_dir" && as_dir=.
2184   for ac_exec_ext in '' $ac_executable_extensions; do
2185   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2186     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187        ac_prog_rejected=yes
2188        continue
2189      fi
2190     ac_cv_prog_CC="cc"
2191     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192     break 2
2193   fi
2194 done
2195 done
2196
2197 if test $ac_prog_rejected = yes; then
2198   # We found a bogon in the path, so make sure we never use it.
2199   set dummy $ac_cv_prog_CC
2200   shift
2201   if test $# != 0; then
2202     # We chose a different compiler from the bogus one.
2203     # However, it has the same basename, so the bogon will be chosen
2204     # first if we set CC to just the basename; use the full file name.
2205     shift
2206     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2207   fi
2208 fi
2209 fi
2210 fi
2211 CC=$ac_cv_prog_CC
2212 if test -n "$CC"; then
2213   echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6
2215 else
2216   echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6
2218 fi
2219
2220 fi
2221 if test -z "$CC"; then
2222   if test -n "$ac_tool_prefix"; then
2223   for ac_prog in cl
2224   do
2225     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227 echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230   echo $ECHO_N "(cached) $ECHO_C" >&6
2231 else
2232   if test -n "$CC"; then
2233   ac_cv_prog_CC="$CC" # Let the user override the test.
2234 else
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2237 do
2238   IFS=$as_save_IFS
2239   test -z "$as_dir" && as_dir=.
2240   for ac_exec_ext in '' $ac_executable_extensions; do
2241   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2243     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244     break 2
2245   fi
2246 done
2247 done
2248
2249 fi
2250 fi
2251 CC=$ac_cv_prog_CC
2252 if test -n "$CC"; then
2253   echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6
2255 else
2256   echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2258 fi
2259
2260     test -n "$CC" && break
2261   done
2262 fi
2263 if test -z "$CC"; then
2264   ac_ct_CC=$CC
2265   for ac_prog in cl
2266 do
2267   # Extract the first word of "$ac_prog", so it can be a program name with args.
2268 set dummy $ac_prog; ac_word=$2
2269 echo "$as_me:$LINENO: checking for $ac_word" >&5
2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2272   echo $ECHO_N "(cached) $ECHO_C" >&6
2273 else
2274   if test -n "$ac_ct_CC"; then
2275   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2276 else
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 for as_dir in $PATH
2279 do
2280   IFS=$as_save_IFS
2281   test -z "$as_dir" && as_dir=.
2282   for ac_exec_ext in '' $ac_executable_extensions; do
2283   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284     ac_cv_prog_ac_ct_CC="$ac_prog"
2285     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286     break 2
2287   fi
2288 done
2289 done
2290
2291 fi
2292 fi
2293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294 if test -n "$ac_ct_CC"; then
2295   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2296 echo "${ECHO_T}$ac_ct_CC" >&6
2297 else
2298   echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6
2300 fi
2301
2302   test -n "$ac_ct_CC" && break
2303 done
2304
2305   CC=$ac_ct_CC
2306 fi
2307
2308 fi
2309
2310
2311 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2312 See \`config.log' for more details." >&5
2313 echo "$as_me: error: no acceptable C compiler found in \$PATH
2314 See \`config.log' for more details." >&2;}
2315    { (exit 1); exit 1; }; }
2316
2317 # Provide some information about the compiler.
2318 echo "$as_me:$LINENO:" \
2319      "checking for C compiler version" >&5
2320 ac_compiler=`set X $ac_compile; echo $2`
2321 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2322   (eval $ac_compiler --version </dev/null >&5) 2>&5
2323   ac_status=$?
2324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325   (exit $ac_status); }
2326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2327   (eval $ac_compiler -v </dev/null >&5) 2>&5
2328   ac_status=$?
2329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330   (exit $ac_status); }
2331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2332   (eval $ac_compiler -V </dev/null >&5) 2>&5
2333   ac_status=$?
2334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335   (exit $ac_status); }
2336
2337 cat >conftest.$ac_ext <<_ACEOF
2338 /* confdefs.h.  */
2339 _ACEOF
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h.  */
2343
2344 int
2345 main ()
2346 {
2347
2348   ;
2349   return 0;
2350 }
2351 _ACEOF
2352 # FIXME: Cleanup?
2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2354   (eval $ac_link) 2>&5
2355   ac_status=$?
2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357   (exit $ac_status); }; then
2358   gcc_no_link=no
2359 else
2360   gcc_no_link=yes
2361 fi
2362
2363 if test x$gcc_no_link = xyes; then
2364   # Setting cross_compile will disable run tests; it will
2365   # also disable AC_CHECK_FILE but that's generally
2366   # correct if we can't link.
2367   cross_compiling=yes
2368   EXEEXT=
2369 else
2370   cat >conftest.$ac_ext <<_ACEOF
2371 /* confdefs.h.  */
2372 _ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h.  */
2376
2377 int
2378 main ()
2379 {
2380
2381   ;
2382   return 0;
2383 }
2384 _ACEOF
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2389 # of exeext.
2390 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394   (eval $ac_link_default) 2>&5
2395   ac_status=$?
2396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397   (exit $ac_status); }; then
2398   # Find the output, starting from the most likely.  This scheme is
2399 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400 # resort.
2401
2402 # Be careful to initialize this variable, since it used to be cached.
2403 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2404 ac_cv_exeext=
2405 # b.out is created by i960 compilers.
2406 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2407 do
2408   test -f "$ac_file" || continue
2409   case $ac_file in
2410     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2411         ;;
2412     conftest.$ac_ext )
2413         # This is the source file.
2414         ;;
2415     [ab].out )
2416         # We found the default executable, but exeext='' is most
2417         # certainly right.
2418         break;;
2419     *.* )
2420         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421         # FIXME: I believe we export ac_cv_exeext for Libtool,
2422         # but it would be cool to find out if it's true.  Does anybody
2423         # maintain Libtool? --akim.
2424         export ac_cv_exeext
2425         break;;
2426     * )
2427         break;;
2428   esac
2429 done
2430 else
2431   echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2433
2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: C compiler cannot create executables
2437 See \`config.log' for more details." >&2;}
2438    { (exit 77); exit 77; }; }
2439 fi
2440
2441 ac_exeext=$ac_cv_exeext
2442 echo "$as_me:$LINENO: result: $ac_file" >&5
2443 echo "${ECHO_T}$ac_file" >&6
2444
2445 # Check the compiler produces executables we can run.  If not, either
2446 # the compiler is broken, or we cross compile.
2447 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450 # If not cross compiling, check that we can run a simple program.
2451 if test "$cross_compiling" != yes; then
2452   if { ac_try='./$ac_file'
2453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454   (eval $ac_try) 2>&5
2455   ac_status=$?
2456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457   (exit $ac_status); }; }; then
2458     cross_compiling=no
2459   else
2460     if test "$cross_compiling" = maybe; then
2461         cross_compiling=yes
2462     else
2463         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2464 If you meant to cross compile, use \`--host'.
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: cannot run C compiled programs.
2467 If you meant to cross compile, use \`--host'.
2468 See \`config.log' for more details." >&2;}
2469    { (exit 1); exit 1; }; }
2470     fi
2471   fi
2472 fi
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2475
2476 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477 ac_clean_files=$ac_clean_files_save
2478 # Check the compiler produces executables we can run.  If not, either
2479 # the compiler is broken, or we cross compile.
2480 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483 echo "${ECHO_T}$cross_compiling" >&6
2484
2485 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488   (eval $ac_link) 2>&5
2489   ac_status=$?
2490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491   (exit $ac_status); }; then
2492   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2495 # `rm'.
2496 for ac_file in conftest.exe conftest conftest.*; do
2497   test -f "$ac_file" || continue
2498   case $ac_file in
2499     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2500     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501           export ac_cv_exeext
2502           break;;
2503     * ) break;;
2504   esac
2505 done
2506 else
2507   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&5
2509 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510 See \`config.log' for more details." >&2;}
2511    { (exit 1); exit 1; }; }
2512 fi
2513
2514 rm -f conftest$ac_cv_exeext
2515 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516 echo "${ECHO_T}$ac_cv_exeext" >&6
2517
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2520 ac_exeext=$EXEEXT
2521 fi
2522 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524 if test "${ac_cv_objext+set}" = set; then
2525   echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else
2527   cat >conftest.$ac_ext <<_ACEOF
2528 /* confdefs.h.  */
2529 _ACEOF
2530 cat confdefs.h >>conftest.$ac_ext
2531 cat >>conftest.$ac_ext <<_ACEOF
2532 /* end confdefs.h.  */
2533
2534 int
2535 main ()
2536 {
2537
2538   ;
2539   return 0;
2540 }
2541 _ACEOF
2542 rm -f conftest.o conftest.obj
2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544   (eval $ac_compile) 2>&5
2545   ac_status=$?
2546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547   (exit $ac_status); }; then
2548   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2549   case $ac_file in
2550     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2551     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2552        break;;
2553   esac
2554 done
2555 else
2556   echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2558
2559 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2560 See \`config.log' for more details." >&5
2561 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2562 See \`config.log' for more details." >&2;}
2563    { (exit 1); exit 1; }; }
2564 fi
2565
2566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2567 fi
2568 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2569 echo "${ECHO_T}$ac_cv_objext" >&6
2570 OBJEXT=$ac_cv_objext
2571 ac_objext=$OBJEXT
2572 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2573 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2574 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2575   echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577   cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h.  */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h.  */
2583
2584 int
2585 main ()
2586 {
2587 #ifndef __GNUC__
2588        choke me
2589 #endif
2590
2591   ;
2592   return 0;
2593 }
2594 _ACEOF
2595 rm -f conftest.$ac_objext
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597   (eval $ac_compile) 2>conftest.er1
2598   ac_status=$?
2599   grep -v '^ *+' conftest.er1 >conftest.err
2600   rm -f conftest.er1
2601   cat conftest.err >&5
2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603   (exit $ac_status); } &&
2604          { ac_try='test -z "$ac_c_werror_flag"
2605                          || test ! -s conftest.err'
2606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607   (eval $ac_try) 2>&5
2608   ac_status=$?
2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610   (exit $ac_status); }; } &&
2611          { ac_try='test -s conftest.$ac_objext'
2612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613   (eval $ac_try) 2>&5
2614   ac_status=$?
2615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616   (exit $ac_status); }; }; then
2617   ac_compiler_gnu=yes
2618 else
2619   echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2621
2622 ac_compiler_gnu=no
2623 fi
2624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2626
2627 fi
2628 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2629 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2630 GCC=`test $ac_compiler_gnu = yes && echo yes`
2631 ac_test_CFLAGS=${CFLAGS+set}
2632 ac_save_CFLAGS=$CFLAGS
2633 CFLAGS="-g"
2634 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2636 if test "${ac_cv_prog_cc_g+set}" = set; then
2637   echo $ECHO_N "(cached) $ECHO_C" >&6
2638 else
2639   cat >conftest.$ac_ext <<_ACEOF
2640 /* confdefs.h.  */
2641 _ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h.  */
2645
2646 int
2647 main ()
2648 {
2649
2650   ;
2651   return 0;
2652 }
2653 _ACEOF
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656   (eval $ac_compile) 2>conftest.er1
2657   ac_status=$?
2658   grep -v '^ *+' conftest.er1 >conftest.err
2659   rm -f conftest.er1
2660   cat conftest.err >&5
2661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662   (exit $ac_status); } &&
2663          { ac_try='test -z "$ac_c_werror_flag"
2664                          || test ! -s conftest.err'
2665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666   (eval $ac_try) 2>&5
2667   ac_status=$?
2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669   (exit $ac_status); }; } &&
2670          { ac_try='test -s conftest.$ac_objext'
2671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672   (eval $ac_try) 2>&5
2673   ac_status=$?
2674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675   (exit $ac_status); }; }; then
2676   ac_cv_prog_cc_g=yes
2677 else
2678   echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2680
2681 ac_cv_prog_cc_g=no
2682 fi
2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2684 fi
2685 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2686 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2687 if test "$ac_test_CFLAGS" = set; then
2688   CFLAGS=$ac_save_CFLAGS
2689 elif test $ac_cv_prog_cc_g = yes; then
2690   if test "$GCC" = yes; then
2691     CFLAGS="-g -O2"
2692   else
2693     CFLAGS="-g"
2694   fi
2695 else
2696   if test "$GCC" = yes; then
2697     CFLAGS="-O2"
2698   else
2699     CFLAGS=
2700   fi
2701 fi
2702 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2703 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2704 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2705   echo $ECHO_N "(cached) $ECHO_C" >&6
2706 else
2707   ac_cv_prog_cc_stdc=no
2708 ac_save_CC=$CC
2709 cat >conftest.$ac_ext <<_ACEOF
2710 /* confdefs.h.  */
2711 _ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h.  */
2715 #include <stdarg.h>
2716 #include <stdio.h>
2717 #include <sys/types.h>
2718 #include <sys/stat.h>
2719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2720 struct buf { int x; };
2721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2722 static char *e (p, i)
2723      char **p;
2724      int i;
2725 {
2726   return p[i];
2727 }
2728 static char *f (char * (*g) (char **, int), char **p, ...)
2729 {
2730   char *s;
2731   va_list v;
2732   va_start (v,p);
2733   s = g (p, va_arg (v,int));
2734   va_end (v);
2735   return s;
2736 }
2737
2738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2739    function prototypes and stuff, but not '\xHH' hex character constants.
2740    These don't provoke an error unfortunately, instead are silently treated
2741    as 'x'.  The following induces an error, until -std1 is added to get
2742    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2743    array size at least.  It's necessary to write '\x00'==0 to get something
2744    that's true only with -std1.  */
2745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2746
2747 int test (int i, double x);
2748 struct s1 {int (*f) (int a);};
2749 struct s2 {int (*f) (double a);};
2750 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2751 int argc;
2752 char **argv;
2753 int
2754 main ()
2755 {
2756 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2757   ;
2758   return 0;
2759 }
2760 _ACEOF
2761 # Don't try gcc -ansi; that turns off useful extensions and
2762 # breaks some systems' header files.
2763 # AIX                   -qlanglvl=ansi
2764 # Ultrix and OSF/1      -std1
2765 # HP-UX 10.20 and later -Ae
2766 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2767 # SVR4                  -Xc -D__EXTENSIONS__
2768 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2769 do
2770   CC="$ac_save_CC $ac_arg"
2771   rm -f conftest.$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773   (eval $ac_compile) 2>conftest.er1
2774   ac_status=$?
2775   grep -v '^ *+' conftest.er1 >conftest.err
2776   rm -f conftest.er1
2777   cat conftest.err >&5
2778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779   (exit $ac_status); } &&
2780          { ac_try='test -z "$ac_c_werror_flag"
2781                          || test ! -s conftest.err'
2782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783   (eval $ac_try) 2>&5
2784   ac_status=$?
2785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786   (exit $ac_status); }; } &&
2787          { ac_try='test -s conftest.$ac_objext'
2788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789   (eval $ac_try) 2>&5
2790   ac_status=$?
2791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792   (exit $ac_status); }; }; then
2793   ac_cv_prog_cc_stdc=$ac_arg
2794 break
2795 else
2796   echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2798
2799 fi
2800 rm -f conftest.err conftest.$ac_objext
2801 done
2802 rm -f conftest.$ac_ext conftest.$ac_objext
2803 CC=$ac_save_CC
2804
2805 fi
2806
2807 case "x$ac_cv_prog_cc_stdc" in
2808   x|xno)
2809     echo "$as_me:$LINENO: result: none needed" >&5
2810 echo "${ECHO_T}none needed" >&6 ;;
2811   *)
2812     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2813 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2814     CC="$CC $ac_cv_prog_cc_stdc" ;;
2815 esac
2816
2817 # Some people use a C++ compiler to compile C.  Since we use `exit',
2818 # in C++ we need to declare it.  In case someone uses the same compiler
2819 # for both compiling C and C++ we need to have the C++ compiler decide
2820 # the declaration of exit, since it's the most demanding environment.
2821 cat >conftest.$ac_ext <<_ACEOF
2822 #ifndef __cplusplus
2823   choke me
2824 #endif
2825 _ACEOF
2826 rm -f conftest.$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828   (eval $ac_compile) 2>conftest.er1
2829   ac_status=$?
2830   grep -v '^ *+' conftest.er1 >conftest.err
2831   rm -f conftest.er1
2832   cat conftest.err >&5
2833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834   (exit $ac_status); } &&
2835          { ac_try='test -z "$ac_c_werror_flag"
2836                          || test ! -s conftest.err'
2837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838   (eval $ac_try) 2>&5
2839   ac_status=$?
2840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841   (exit $ac_status); }; } &&
2842          { ac_try='test -s conftest.$ac_objext'
2843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844   (eval $ac_try) 2>&5
2845   ac_status=$?
2846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847   (exit $ac_status); }; }; then
2848   for ac_declaration in \
2849    '' \
2850    'extern "C" void std::exit (int) throw (); using std::exit;' \
2851    'extern "C" void std::exit (int); using std::exit;' \
2852    'extern "C" void exit (int) throw ();' \
2853    'extern "C" void exit (int);' \
2854    'void exit (int);'
2855 do
2856   cat >conftest.$ac_ext <<_ACEOF
2857 /* confdefs.h.  */
2858 _ACEOF
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
2861 /* end confdefs.h.  */
2862 $ac_declaration
2863 #include <stdlib.h>
2864 int
2865 main ()
2866 {
2867 exit (42);
2868   ;
2869   return 0;
2870 }
2871 _ACEOF
2872 rm -f conftest.$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874   (eval $ac_compile) 2>conftest.er1
2875   ac_status=$?
2876   grep -v '^ *+' conftest.er1 >conftest.err
2877   rm -f conftest.er1
2878   cat conftest.err >&5
2879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880   (exit $ac_status); } &&
2881          { ac_try='test -z "$ac_c_werror_flag"
2882                          || test ! -s conftest.err'
2883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884   (eval $ac_try) 2>&5
2885   ac_status=$?
2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887   (exit $ac_status); }; } &&
2888          { ac_try='test -s conftest.$ac_objext'
2889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890   (eval $ac_try) 2>&5
2891   ac_status=$?
2892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893   (exit $ac_status); }; }; then
2894   :
2895 else
2896   echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2898
2899 continue
2900 fi
2901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2902   cat >conftest.$ac_ext <<_ACEOF
2903 /* confdefs.h.  */
2904 _ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h.  */
2908 $ac_declaration
2909 int
2910 main ()
2911 {
2912 exit (42);
2913   ;
2914   return 0;
2915 }
2916 _ACEOF
2917 rm -f conftest.$ac_objext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919   (eval $ac_compile) 2>conftest.er1
2920   ac_status=$?
2921   grep -v '^ *+' conftest.er1 >conftest.err
2922   rm -f conftest.er1
2923   cat conftest.err >&5
2924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925   (exit $ac_status); } &&
2926          { ac_try='test -z "$ac_c_werror_flag"
2927                          || test ! -s conftest.err'
2928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929   (eval $ac_try) 2>&5
2930   ac_status=$?
2931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932   (exit $ac_status); }; } &&
2933          { ac_try='test -s conftest.$ac_objext'
2934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935   (eval $ac_try) 2>&5
2936   ac_status=$?
2937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938   (exit $ac_status); }; }; then
2939   break
2940 else
2941   echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2943
2944 fi
2945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2946 done
2947 rm -f conftest*
2948 if test -n "$ac_declaration"; then
2949   echo '#ifdef __cplusplus' >>confdefs.h
2950   echo $ac_declaration      >>confdefs.h
2951   echo '#endif'             >>confdefs.h
2952 fi
2953
2954 else
2955   echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2957
2958 fi
2959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2960 ac_ext=c
2961 ac_cpp='$CPP $CPPFLAGS'
2962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2965
2966
2967
2968 # Add -Wall if we are using GCC.
2969 if test "x$GCC" = "xyes"; then
2970   AM_FCFLAGS="-Wall"
2971   ## We like to use C99 routines when available.  This makes sure that
2972   ## __STDC_VERSION__ is set such that libc includes make them available.
2973   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2974 fi
2975
2976
2977
2978 # Find other programs we need.
2979 if test -n "$ac_tool_prefix"; then
2980   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2981 set dummy ${ac_tool_prefix}as; ac_word=$2
2982 echo "$as_me:$LINENO: checking for $ac_word" >&5
2983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2984 if test "${ac_cv_prog_AS+set}" = set; then
2985   echo $ECHO_N "(cached) $ECHO_C" >&6
2986 else
2987   if test -n "$AS"; then
2988   ac_cv_prog_AS="$AS" # Let the user override the test.
2989 else
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 for as_dir in $PATH
2992 do
2993   IFS=$as_save_IFS
2994   test -z "$as_dir" && as_dir=.
2995   for ac_exec_ext in '' $ac_executable_extensions; do
2996   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997     ac_cv_prog_AS="${ac_tool_prefix}as"
2998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2999     break 2
3000   fi
3001 done
3002 done
3003
3004 fi
3005 fi
3006 AS=$ac_cv_prog_AS
3007 if test -n "$AS"; then
3008   echo "$as_me:$LINENO: result: $AS" >&5
3009 echo "${ECHO_T}$AS" >&6
3010 else
3011   echo "$as_me:$LINENO: result: no" >&5
3012 echo "${ECHO_T}no" >&6
3013 fi
3014
3015 fi
3016 if test -z "$ac_cv_prog_AS"; then
3017   ac_ct_AS=$AS
3018   # Extract the first word of "as", so it can be a program name with args.
3019 set dummy as; ac_word=$2
3020 echo "$as_me:$LINENO: checking for $ac_word" >&5
3021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3022 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3023   echo $ECHO_N "(cached) $ECHO_C" >&6
3024 else
3025   if test -n "$ac_ct_AS"; then
3026   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3027 else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 for as_dir in $PATH
3030 do
3031   IFS=$as_save_IFS
3032   test -z "$as_dir" && as_dir=.
3033   for ac_exec_ext in '' $ac_executable_extensions; do
3034   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035     ac_cv_prog_ac_ct_AS="as"
3036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3037     break 2
3038   fi
3039 done
3040 done
3041
3042 fi
3043 fi
3044 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3045 if test -n "$ac_ct_AS"; then
3046   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3047 echo "${ECHO_T}$ac_ct_AS" >&6
3048 else
3049   echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3051 fi
3052
3053   AS=$ac_ct_AS
3054 else
3055   AS="$ac_cv_prog_AS"
3056 fi
3057
3058 if test -n "$ac_tool_prefix"; then
3059   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3060 set dummy ${ac_tool_prefix}ar; ac_word=$2
3061 echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063 if test "${ac_cv_prog_AR+set}" = set; then
3064   echo $ECHO_N "(cached) $ECHO_C" >&6
3065 else
3066   if test -n "$AR"; then
3067   ac_cv_prog_AR="$AR" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3071 do
3072   IFS=$as_save_IFS
3073   test -z "$as_dir" && as_dir=.
3074   for ac_exec_ext in '' $ac_executable_extensions; do
3075   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076     ac_cv_prog_AR="${ac_tool_prefix}ar"
3077     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3078     break 2
3079   fi
3080 done
3081 done
3082
3083 fi
3084 fi
3085 AR=$ac_cv_prog_AR
3086 if test -n "$AR"; then
3087   echo "$as_me:$LINENO: result: $AR" >&5
3088 echo "${ECHO_T}$AR" >&6
3089 else
3090   echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3092 fi
3093
3094 fi
3095 if test -z "$ac_cv_prog_AR"; then
3096   ac_ct_AR=$AR
3097   # Extract the first word of "ar", so it can be a program name with args.
3098 set dummy ar; ac_word=$2
3099 echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3101 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3102   echo $ECHO_N "(cached) $ECHO_C" >&6
3103 else
3104   if test -n "$ac_ct_AR"; then
3105   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3106 else
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 for as_dir in $PATH
3109 do
3110   IFS=$as_save_IFS
3111   test -z "$as_dir" && as_dir=.
3112   for ac_exec_ext in '' $ac_executable_extensions; do
3113   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114     ac_cv_prog_ac_ct_AR="ar"
3115     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116     break 2
3117   fi
3118 done
3119 done
3120
3121 fi
3122 fi
3123 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3124 if test -n "$ac_ct_AR"; then
3125   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3126 echo "${ECHO_T}$ac_ct_AR" >&6
3127 else
3128   echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3130 fi
3131
3132   AR=$ac_ct_AR
3133 else
3134   AR="$ac_cv_prog_AR"
3135 fi
3136
3137 if test -n "$ac_tool_prefix"; then
3138   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_RANLIB+set}" = set; then
3143   echo $ECHO_N "(cached) $ECHO_C" >&6
3144 else
3145   if test -n "$RANLIB"; then
3146   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3147 else
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH
3150 do
3151   IFS=$as_save_IFS
3152   test -z "$as_dir" && as_dir=.
3153   for ac_exec_ext in '' $ac_executable_extensions; do
3154   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3155     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3157     break 2
3158   fi
3159 done
3160 done
3161
3162 fi
3163 fi
3164 RANLIB=$ac_cv_prog_RANLIB
3165 if test -n "$RANLIB"; then
3166   echo "$as_me:$LINENO: result: $RANLIB" >&5
3167 echo "${ECHO_T}$RANLIB" >&6
3168 else
3169   echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 fi
3172
3173 fi
3174 if test -z "$ac_cv_prog_RANLIB"; then
3175   ac_ct_RANLIB=$RANLIB
3176   # Extract the first word of "ranlib", so it can be a program name with args.
3177 set dummy ranlib; ac_word=$2
3178 echo "$as_me:$LINENO: checking for $ac_word" >&5
3179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3181   echo $ECHO_N "(cached) $ECHO_C" >&6
3182 else
3183   if test -n "$ac_ct_RANLIB"; then
3184   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3185 else
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH
3188 do
3189   IFS=$as_save_IFS
3190   test -z "$as_dir" && as_dir=.
3191   for ac_exec_ext in '' $ac_executable_extensions; do
3192   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193     ac_cv_prog_ac_ct_RANLIB="ranlib"
3194     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3195     break 2
3196   fi
3197 done
3198 done
3199
3200   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3201 fi
3202 fi
3203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3204 if test -n "$ac_ct_RANLIB"; then
3205   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3206 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3207 else
3208   echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3210 fi
3211
3212   RANLIB=$ac_ct_RANLIB
3213 else
3214   RANLIB="$ac_cv_prog_RANLIB"
3215 fi
3216
3217 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3218 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3219 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3220 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3221   echo $ECHO_N "(cached) $ECHO_C" >&6
3222 else
3223   cat >conftest.make <<\_ACEOF
3224 all:
3225         @echo 'ac_maketemp="$(MAKE)"'
3226 _ACEOF
3227 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3228 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3229 if test -n "$ac_maketemp"; then
3230   eval ac_cv_prog_make_${ac_make}_set=yes
3231 else
3232   eval ac_cv_prog_make_${ac_make}_set=no
3233 fi
3234 rm -f conftest.make
3235 fi
3236 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3237   echo "$as_me:$LINENO: result: yes" >&5
3238 echo "${ECHO_T}yes" >&6
3239   SET_MAKE=
3240 else
3241   echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3243   SET_MAKE="MAKE=${MAKE-make}"
3244 fi
3245
3246 # Find a good install program.  We prefer a C program (faster),
3247 # so one script is as good as another.  But avoid the broken or
3248 # incompatible versions:
3249 # SysV /etc/install, /usr/sbin/install
3250 # SunOS /usr/etc/install
3251 # IRIX /sbin/install
3252 # AIX /bin/install
3253 # AmigaOS /C/install, which installs bootblocks on floppy discs
3254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3257 # OS/2's system install, which has a completely different semantic
3258 # ./install, which can be erroneously created by make from ./install.sh.
3259 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3260 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3261 if test -z "$INSTALL"; then
3262 if test "${ac_cv_path_install+set}" = set; then
3263   echo $ECHO_N "(cached) $ECHO_C" >&6
3264 else
3265   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268   IFS=$as_save_IFS
3269   test -z "$as_dir" && as_dir=.
3270   # Account for people who put trailing slashes in PATH elements.
3271 case $as_dir/ in
3272   ./ | .// | /cC/* | \
3273   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3274   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3275   /usr/ucb/* ) ;;
3276   *)
3277     # OSF1 and SCO ODT 3.0 have their own names for install.
3278     # Don't use installbsd from OSF since it installs stuff as root
3279     # by default.
3280     for ac_prog in ginstall scoinst install; do
3281       for ac_exec_ext in '' $ac_executable_extensions; do
3282         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3283           if test $ac_prog = install &&
3284             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3285             # AIX install.  It has an incompatible calling convention.
3286             :
3287           elif test $ac_prog = install &&
3288             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3289             # program-specific install script used by HP pwplus--don't use.
3290             :
3291           else
3292             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3293             break 3
3294           fi
3295         fi
3296       done
3297     done
3298     ;;
3299 esac
3300 done
3301
3302
3303 fi
3304   if test "${ac_cv_path_install+set}" = set; then
3305     INSTALL=$ac_cv_path_install
3306   else
3307     # As a last resort, use the slow shell script.  We don't cache a
3308     # path for INSTALL within a source directory, because that will
3309     # break other packages using the cache if that directory is
3310     # removed, or if the path is relative.
3311     INSTALL=$ac_install_sh
3312   fi
3313 fi
3314 echo "$as_me:$LINENO: result: $INSTALL" >&5
3315 echo "${ECHO_T}$INSTALL" >&6
3316
3317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3318 # It thinks the first close brace ends the variable substitution.
3319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3320
3321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3322
3323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3324
3325
3326 # Configure libtool
3327 #AC_MSG_NOTICE([====== Starting libtool configuration])
3328
3329 # Check whether --enable-shared or --disable-shared was given.
3330 if test "${enable_shared+set}" = set; then
3331   enableval="$enable_shared"
3332   p=${PACKAGE-default}
3333 case $enableval in
3334 yes) enable_shared=yes ;;
3335 no) enable_shared=no ;;
3336 *)
3337   enable_shared=no
3338   # Look at the argument we got.  We use all the common list separators.
3339   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3340   for pkg in $enableval; do
3341     if test "X$pkg" = "X$p"; then
3342       enable_shared=yes
3343     fi
3344   done
3345   IFS="$ac_save_ifs"
3346   ;;
3347 esac
3348 else
3349   enable_shared=yes
3350 fi;
3351 # Check whether --enable-static or --disable-static was given.
3352 if test "${enable_static+set}" = set; then
3353   enableval="$enable_static"
3354   p=${PACKAGE-default}
3355 case $enableval in
3356 yes) enable_static=yes ;;
3357 no) enable_static=no ;;
3358 *)
3359   enable_static=no
3360   # Look at the argument we got.  We use all the common list separators.
3361   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3362   for pkg in $enableval; do
3363     if test "X$pkg" = "X$p"; then
3364       enable_static=yes
3365     fi
3366   done
3367   IFS="$ac_save_ifs"
3368   ;;
3369 esac
3370 else
3371   enable_static=yes
3372 fi;
3373 # Check whether --enable-fast-install or --disable-fast-install was given.
3374 if test "${enable_fast_install+set}" = set; then
3375   enableval="$enable_fast_install"
3376   p=${PACKAGE-default}
3377 case $enableval in
3378 yes) enable_fast_install=yes ;;
3379 no) enable_fast_install=no ;;
3380 *)
3381   enable_fast_install=no
3382   # Look at the argument we got.  We use all the common list separators.
3383   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3384   for pkg in $enableval; do
3385     if test "X$pkg" = "X$p"; then
3386       enable_fast_install=yes
3387     fi
3388   done
3389   IFS="$ac_save_ifs"
3390   ;;
3391 esac
3392 else
3393   enable_fast_install=yes
3394 fi;
3395
3396 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3397 if test "${with_gnu_ld+set}" = set; then
3398   withval="$with_gnu_ld"
3399   test "$withval" = no || with_gnu_ld=yes
3400 else
3401   with_gnu_ld=no
3402 fi;
3403 ac_prog=ld
3404 if test "$GCC" = yes; then
3405   # Check if gcc -print-prog-name=ld gives a path.
3406   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3407 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3408   case $host in
3409   *-*-mingw*)
3410     # gcc leaves a trailing carriage return which upsets mingw
3411     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3412   *)
3413     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3414   esac
3415   case $ac_prog in
3416     # Accept absolute paths.
3417     [\\/]* | [A-Za-z]:[\\/]*)
3418       re_direlt='/[^/][^/]*/\.\./'
3419       # Canonicalize the path of ld
3420       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3421       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3422         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3423       done
3424       test -z "$LD" && LD="$ac_prog"
3425       ;;
3426   "")
3427     # If it fails, then pretend we aren't using GCC.
3428     ac_prog=ld
3429     ;;
3430   *)
3431     # If it is relative, then search for the first ld in PATH.
3432     with_gnu_ld=unknown
3433     ;;
3434   esac
3435 elif test "$with_gnu_ld" = yes; then
3436   echo "$as_me:$LINENO: checking for GNU ld" >&5
3437 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3438 else
3439   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3440 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3441 fi
3442 if test "${lt_cv_path_LD+set}" = set; then
3443   echo $ECHO_N "(cached) $ECHO_C" >&6
3444 else
3445   if test -z "$LD"; then
3446   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3447   for ac_dir in $PATH; do
3448     test -z "$ac_dir" && ac_dir=.
3449     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3450       lt_cv_path_LD="$ac_dir/$ac_prog"
3451       # Check to see if the program is GNU ld.  I'd rather use --version,
3452       # but apparently some GNU ld's only accept -v.
3453       # Break only if it was the GNU/non-GNU ld that we prefer.
3454       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3455         test "$with_gnu_ld" != no && break
3456       else
3457         test "$with_gnu_ld" != yes && break
3458       fi
3459     fi
3460   done
3461   IFS="$ac_save_ifs"
3462 else
3463   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3464 fi
3465 fi
3466
3467 LD="$lt_cv_path_LD"
3468 if test -n "$LD"; then
3469   echo "$as_me:$LINENO: result: $LD" >&5
3470 echo "${ECHO_T}$LD" >&6
3471 else
3472   echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 fi
3475 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3476 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3477    { (exit 1); exit 1; }; }
3478 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3479 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3480 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3481   echo $ECHO_N "(cached) $ECHO_C" >&6
3482 else
3483   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3484 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3485   lt_cv_prog_gnu_ld=yes
3486 else
3487   lt_cv_prog_gnu_ld=no
3488 fi
3489 fi
3490 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3491 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3492 with_gnu_ld=$lt_cv_prog_gnu_ld
3493
3494
3495 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3496 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3497 if test "${lt_cv_ld_reload_flag+set}" = set; then
3498   echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500   lt_cv_ld_reload_flag='-r'
3501 fi
3502 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3503 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3504 reload_flag=$lt_cv_ld_reload_flag
3505 test -n "$reload_flag" && reload_flag=" $reload_flag"
3506
3507 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3508 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3509 if test "${lt_cv_path_NM+set}" = set; then
3510   echo $ECHO_N "(cached) $ECHO_C" >&6
3511 else
3512   if test -n "$NM"; then
3513   # Let the user override the test.
3514   lt_cv_path_NM="$NM"
3515 else
3516   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3517   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3518     test -z "$ac_dir" && ac_dir=.
3519     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3520     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3521       # Check to see if the nm accepts a BSD-compat flag.
3522       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3523       #   nm: unknown option "B" ignored
3524       # Tru64's nm complains that /dev/null is an invalid object file
3525       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3526         lt_cv_path_NM="$tmp_nm -B"
3527         break
3528       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3529         lt_cv_path_NM="$tmp_nm -p"
3530         break
3531       else
3532         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3533         continue # so that we can try to find one that supports BSD flags
3534       fi
3535     fi
3536   done
3537   IFS="$ac_save_ifs"
3538   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3539 fi
3540 fi
3541
3542 NM="$lt_cv_path_NM"
3543 echo "$as_me:$LINENO: result: $NM" >&5
3544 echo "${ECHO_T}$NM" >&6
3545
3546 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3547 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3548 LN_S=$as_ln_s
3549 if test "$LN_S" = "ln -s"; then
3550   echo "$as_me:$LINENO: result: yes" >&5
3551 echo "${ECHO_T}yes" >&6
3552 else
3553   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3554 echo "${ECHO_T}no, using $LN_S" >&6
3555 fi
3556
3557 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3558 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3559 if test "${lt_cv_deplibs_check_method+set}" = set; then
3560   echo $ECHO_N "(cached) $ECHO_C" >&6
3561 else
3562   lt_cv_file_magic_cmd='$MAGIC_CMD'
3563 lt_cv_file_magic_test_file=
3564 lt_cv_deplibs_check_method='unknown'
3565 # Need to set the preceding variable on all platforms that support
3566 # interlibrary dependencies.
3567 # 'none' -- dependencies not supported.
3568 # `unknown' -- same as none, but documents that we really don't know.
3569 # 'pass_all' -- all dependencies passed with no checks.
3570 # 'test_compile' -- check by making test program.
3571 # 'file_magic [regex]' -- check by looking for files in library path
3572 # which responds to the $file_magic_cmd with a given egrep regex.
3573 # If you have `file' or equivalent on your system and you're not sure
3574 # whether `pass_all' will *always* work, you probably want this one.
3575
3576 case $host_os in
3577 aix*)
3578   lt_cv_deplibs_check_method=pass_all
3579   ;;
3580
3581 beos*)
3582   lt_cv_deplibs_check_method=pass_all
3583   ;;
3584
3585 bsdi4*)
3586   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3587   lt_cv_file_magic_cmd='/usr/bin/file -L'
3588   lt_cv_file_magic_test_file=/shlib/libc.so
3589   ;;
3590
3591 cygwin* | mingw* |pw32*)
3592   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3593   lt_cv_file_magic_cmd='$OBJDUMP -f'
3594   ;;
3595
3596 darwin* | rhapsody*)
3597   # this will be overwritten by pass_all, but leave it in just in case
3598   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3599   lt_cv_file_magic_cmd='/usr/bin/file -L'
3600   case "$host_os" in
3601   rhapsody* | darwin1.012)
3602     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3603     ;;
3604   *) # Darwin 1.3 on
3605     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3606     ;;
3607   esac
3608   lt_cv_deplibs_check_method=pass_all
3609   ;;
3610
3611 freebsd* | kfreebsd*-gnu)
3612   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3613     case $host_cpu in
3614     i*86 )
3615       # Not sure whether the presence of OpenBSD here was a mistake.
3616       # Let's accept both of them until this is cleared up.
3617       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3618       lt_cv_file_magic_cmd=/usr/bin/file
3619       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3620       ;;
3621     esac
3622   else
3623     lt_cv_deplibs_check_method=pass_all
3624   fi
3625   ;;
3626
3627 gnu*)
3628   lt_cv_deplibs_check_method=pass_all
3629   ;;
3630
3631 hpux10.20*|hpux11*)
3632   case $host_cpu in
3633   hppa*)
3634     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3635     lt_cv_file_magic_cmd=/usr/bin/file
3636     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3637     ;;
3638   ia64*)
3639     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3640     lt_cv_file_magic_cmd=/usr/bin/file
3641     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3642     ;;
3643   esac
3644   ;;
3645
3646 irix5* | irix6*)
3647   case $host_os in
3648   irix5*)
3649     # this will be overridden with pass_all, but let us keep it just in case
3650     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3651     ;;
3652   *)
3653     case $LD in
3654     *-32|*"-32 ") libmagic=32-bit;;
3655     *-n32|*"-n32 ") libmagic=N32;;
3656     *-64|*"-64 ") libmagic=64-bit;;
3657     *) libmagic=never-match;;
3658     esac
3659     # this will be overridden with pass_all, but let us keep it just in case
3660     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3661     ;;
3662   esac
3663   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3664   lt_cv_deplibs_check_method=pass_all
3665   ;;
3666
3667 # This must be Linux ELF.
3668 linux-gnu*)
3669   lt_cv_deplibs_check_method=pass_all
3670   ;;
3671
3672 netbsd* | knetbsd*-gnu)
3673   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3674     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3675   else
3676     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3677   fi
3678   ;;
3679
3680 newsos6)
3681   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3682   lt_cv_file_magic_cmd=/usr/bin/file
3683   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3684   ;;
3685
3686 osf3* | osf4* | osf5*)
3687   # this will be overridden with pass_all, but let us keep it just in case
3688   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3689   lt_cv_file_magic_test_file=/shlib/libc.so
3690   lt_cv_deplibs_check_method=pass_all
3691   ;;
3692
3693 sco3.2v5*)
3694   lt_cv_deplibs_check_method=pass_all
3695   ;;
3696
3697 solaris*)
3698   lt_cv_deplibs_check_method=pass_all
3699   lt_cv_file_magic_test_file=/lib/libc.so
3700   ;;
3701
3702 sysv5uw[78]* | sysv4*uw2*)
3703   lt_cv_deplibs_check_method=pass_all
3704   ;;
3705
3706 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3707   case $host_vendor in
3708   ncr)
3709     lt_cv_deplibs_check_method=pass_all
3710     ;;
3711   motorola)
3712     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3713     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3714     ;;
3715   esac
3716   ;;
3717 esac
3718
3719 fi
3720 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3721 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3722 file_magic_cmd=$lt_cv_file_magic_cmd
3723 deplibs_check_method=$lt_cv_deplibs_check_method
3724
3725
3726
3727
3728
3729 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3730
3731 # find the maximum length of command line arguments
3732 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3733 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3734 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3735   echo $ECHO_N "(cached) $ECHO_C" >&6
3736 else
3737     i=0
3738   teststring="ABCD"
3739
3740   case $build_os in
3741   msdosdjgpp*)
3742     # On DJGPP, this test can blow up pretty badly due to problems in libc
3743     # (any single argument exceeding 2000 bytes causes a buffer overrun
3744     # during glob expansion).  Even if it were fixed, the result of this
3745     # check would be larger than it should be.
3746     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3747     ;;
3748
3749   cygwin* | mingw*)
3750     # On Win9x/ME, this test blows up -- it succeeds, but takes
3751     # about 5 minutes as the teststring grows exponentially.
3752     # Worse, since 9x/ME are not pre-emptively multitasking,
3753     # you end up with a "frozen" computer, even though with patience
3754     # the test eventually succeeds (with a max line length of 256k).
3755     # Instead, let's just punt: use the minimum linelength reported by
3756     # all of the supported platforms: 8192 (on NT/2K/XP).
3757     lt_cv_sys_max_cmd_len=8192;
3758     ;;
3759
3760   amigaos*)
3761     # On AmigaOS with pdksh, this test takes hours, literally.
3762     # So we just punt and use a minimum line length of 8192.
3763     lt_cv_sys_max_cmd_len=8192;
3764     ;;
3765
3766   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3767     # This has been around since 386BSD, at least.  Likely further.
3768     if test -x /sbin/sysctl; then
3769       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3770     elif test -x /usr/sbin/sysctl; then
3771       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3772     else
3773       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3774     fi
3775     # And add a safety zone
3776     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3777     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3778     ;;
3779   esac
3780
3781 fi
3782
3783 if test -n "$lt_cv_sys_max_cmd_len" ; then
3784   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3785 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3786 else
3787   echo "$as_me:$LINENO: result: none" >&5
3788 echo "${ECHO_T}none" >&6
3789 fi
3790
3791
3792 # Only perform the check for file, if the check method requires it
3793 case $deplibs_check_method in
3794 file_magic*)
3795   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3796     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3797 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3798 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3799   echo $ECHO_N "(cached) $ECHO_C" >&6
3800 else
3801   case $MAGIC_CMD in
3802   /*)
3803   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3804   ;;
3805   ?:/*)
3806   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3807   ;;
3808   *)
3809   ac_save_MAGIC_CMD="$MAGIC_CMD"
3810   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3811   ac_dummy="/usr/bin:$PATH"
3812   for ac_dir in $ac_dummy; do
3813     test -z "$ac_dir" && ac_dir=.
3814     if test -f $ac_dir/${ac_tool_prefix}file; then
3815       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3816       if test -n "$file_magic_test_file"; then
3817         case $deplibs_check_method in
3818         "file_magic "*)
3819           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3820           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3821           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3822             egrep "$file_magic_regex" > /dev/null; then
3823             :
3824           else
3825             cat <<EOF 1>&2
3826
3827 *** Warning: the command libtool uses to detect shared libraries,
3828 *** $file_magic_cmd, produces output that libtool cannot recognize.
3829 *** The result is that libtool may fail to recognize shared libraries
3830 *** as such.  This will affect the creation of libtool libraries that
3831 *** depend on shared libraries, but programs linked with such libtool
3832 *** libraries will work regardless of this problem.  Nevertheless, you
3833 *** may want to report the problem to your system manager and/or to
3834 *** bug-libtool@gnu.org
3835
3836 EOF
3837           fi ;;
3838         esac
3839       fi
3840       break
3841     fi
3842   done
3843   IFS="$ac_save_ifs"
3844   MAGIC_CMD="$ac_save_MAGIC_CMD"
3845   ;;
3846 esac
3847 fi
3848
3849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3850 if test -n "$MAGIC_CMD"; then
3851   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3852 echo "${ECHO_T}$MAGIC_CMD" >&6
3853 else
3854   echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6
3856 fi
3857
3858 if test -z "$lt_cv_path_MAGIC_CMD"; then
3859   if test -n "$ac_tool_prefix"; then
3860     echo "$as_me:$LINENO: checking for file" >&5
3861 echo $ECHO_N "checking for file... $ECHO_C" >&6
3862 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3863   echo $ECHO_N "(cached) $ECHO_C" >&6
3864 else
3865   case $MAGIC_CMD in
3866   /*)
3867   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3868   ;;
3869   ?:/*)
3870   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3871   ;;
3872   *)
3873   ac_save_MAGIC_CMD="$MAGIC_CMD"
3874   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3875   ac_dummy="/usr/bin:$PATH"
3876   for ac_dir in $ac_dummy; do
3877     test -z "$ac_dir" && ac_dir=.
3878     if test -f $ac_dir/file; then
3879       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3880       if test -n "$file_magic_test_file"; then
3881         case $deplibs_check_method in
3882         "file_magic "*)
3883           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3884           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3885           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3886             egrep "$file_magic_regex" > /dev/null; then
3887             :
3888           else
3889             cat <<EOF 1>&2
3890
3891 *** Warning: the command libtool uses to detect shared libraries,
3892 *** $file_magic_cmd, produces output that libtool cannot recognize.
3893 *** The result is that libtool may fail to recognize shared libraries
3894 *** as such.  This will affect the creation of libtool libraries that
3895 *** depend on shared libraries, but programs linked with such libtool
3896 *** libraries will work regardless of this problem.  Nevertheless, you
3897 *** may want to report the problem to your system manager and/or to
3898 *** bug-libtool@gnu.org
3899
3900 EOF
3901           fi ;;
3902         esac
3903       fi
3904       break
3905     fi
3906   done
3907   IFS="$ac_save_ifs"
3908   MAGIC_CMD="$ac_save_MAGIC_CMD"
3909   ;;
3910 esac
3911 fi
3912
3913 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3914 if test -n "$MAGIC_CMD"; then
3915   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3916 echo "${ECHO_T}$MAGIC_CMD" >&6
3917 else
3918   echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3920 fi
3921
3922   else
3923     MAGIC_CMD=:
3924   fi
3925 fi
3926
3927   fi
3928   ;;
3929 esac
3930
3931 if test -n "$ac_tool_prefix"; then
3932   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3933 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3934 echo "$as_me:$LINENO: checking for $ac_word" >&5
3935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3936 if test "${ac_cv_prog_RANLIB+set}" = set; then
3937   echo $ECHO_N "(cached) $ECHO_C" >&6
3938 else
3939   if test -n "$RANLIB"; then
3940   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3941 else
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 for as_dir in $PATH
3944 do
3945   IFS=$as_save_IFS
3946   test -z "$as_dir" && as_dir=.
3947   for ac_exec_ext in '' $ac_executable_extensions; do
3948   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3949     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3950     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951     break 2
3952   fi
3953 done
3954 done
3955
3956 fi
3957 fi
3958 RANLIB=$ac_cv_prog_RANLIB
3959 if test -n "$RANLIB"; then
3960   echo "$as_me:$LINENO: result: $RANLIB" >&5
3961 echo "${ECHO_T}$RANLIB" >&6
3962 else
3963   echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3965 fi
3966
3967 fi
3968 if test -z "$ac_cv_prog_RANLIB"; then
3969   ac_ct_RANLIB=$RANLIB
3970   # Extract the first word of "ranlib", so it can be a program name with args.
3971 set dummy ranlib; ac_word=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3975   echo $ECHO_N "(cached) $ECHO_C" >&6
3976 else
3977   if test -n "$ac_ct_RANLIB"; then
3978   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3982 do
3983   IFS=$as_save_IFS
3984   test -z "$as_dir" && as_dir=.
3985   for ac_exec_ext in '' $ac_executable_extensions; do
3986   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987     ac_cv_prog_ac_ct_RANLIB="ranlib"
3988     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3989     break 2
3990   fi
3991 done
3992 done
3993
3994   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3995 fi
3996 fi
3997 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3998 if test -n "$ac_ct_RANLIB"; then
3999   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4000 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4001 else
4002   echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4004 fi
4005
4006   RANLIB=$ac_ct_RANLIB
4007 else
4008   RANLIB="$ac_cv_prog_RANLIB"
4009 fi
4010
4011 if test -n "$ac_tool_prefix"; then
4012   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}strip; ac_word=$2
4014 echo "$as_me:$LINENO: checking for $ac_word" >&5
4015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4016 if test "${ac_cv_prog_STRIP+set}" = set; then
4017   echo $ECHO_N "(cached) $ECHO_C" >&6
4018 else
4019   if test -n "$STRIP"; then
4020   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4024 do
4025   IFS=$as_save_IFS
4026   test -z "$as_dir" && as_dir=.
4027   for ac_exec_ext in '' $ac_executable_extensions; do
4028   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4030     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4031     break 2
4032   fi
4033 done
4034 done
4035
4036 fi
4037 fi
4038 STRIP=$ac_cv_prog_STRIP
4039 if test -n "$STRIP"; then
4040   echo "$as_me:$LINENO: result: $STRIP" >&5
4041 echo "${ECHO_T}$STRIP" >&6
4042 else
4043   echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4045 fi
4046
4047 fi
4048 if test -z "$ac_cv_prog_STRIP"; then
4049   ac_ct_STRIP=$STRIP
4050   # Extract the first word of "strip", so it can be a program name with args.
4051 set dummy strip; ac_word=$2
4052 echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4055   echo $ECHO_N "(cached) $ECHO_C" >&6
4056 else
4057   if test -n "$ac_ct_STRIP"; then
4058   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4059 else
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 for as_dir in $PATH
4062 do
4063   IFS=$as_save_IFS
4064   test -z "$as_dir" && as_dir=.
4065   for ac_exec_ext in '' $ac_executable_extensions; do
4066   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067     ac_cv_prog_ac_ct_STRIP="strip"
4068     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069     break 2
4070   fi
4071 done
4072 done
4073
4074   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4075 fi
4076 fi
4077 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4078 if test -n "$ac_ct_STRIP"; then
4079   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4080 echo "${ECHO_T}$ac_ct_STRIP" >&6
4081 else
4082   echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4084 fi
4085
4086   STRIP=$ac_ct_STRIP
4087 else
4088   STRIP="$ac_cv_prog_STRIP"
4089 fi
4090
4091
4092 # Check for any special flags to pass to ltconfig.
4093 libtool_flags="--cache-file=$cache_file"
4094 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4095 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4096 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4097 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4098 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4099
4100
4101 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4102 if test "${enable_libtool_lock+set}" = set; then
4103   enableval="$enable_libtool_lock"
4104
4105 fi;
4106 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4107 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4108
4109
4110 # Check whether --with-pic or --without-pic was given.
4111 if test "${with_pic+set}" = set; then
4112   withval="$with_pic"
4113   pic_mode="$withval"
4114 else
4115   pic_mode=default
4116 fi;
4117 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4118 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4119
4120 # Some flags need to be propagated to the compiler or linker for good
4121 # libtool support.
4122 case $host in
4123 *-*-irix6*)
4124   # Find out which ABI we are using.
4125   echo '#line 4125 "configure"' > conftest.$ac_ext
4126   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4127   (eval $ac_compile) 2>&5
4128   ac_status=$?
4129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130   (exit $ac_status); }; then
4131    if test "$lt_cv_prog_gnu_ld" = yes; then
4132     case `/usr/bin/file conftest.$ac_objext` in
4133     *32-bit*)
4134       LD="${LD-ld} -melf32bsmip"
4135       ;;
4136     *N32*)
4137       LD="${LD-ld} -melf32bmipn32"
4138       ;;
4139     *64-bit*)
4140       LD="${LD-ld} -melf64bmip"
4141       ;;
4142     esac
4143    else
4144     case `/usr/bin/file conftest.$ac_objext` in
4145     *32-bit*)
4146       LD="${LD-ld} -32"
4147       ;;
4148     *N32*)
4149       LD="${LD-ld} -n32"
4150       ;;
4151     *64-bit*)
4152       LD="${LD-ld} -64"
4153       ;;
4154     esac
4155    fi
4156   fi
4157   rm -rf conftest*
4158   ;;
4159
4160 ia64-*-hpux*)
4161   # Find out which ABI we are using.
4162   echo 'int i;' > conftest.$ac_ext
4163   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4164   (eval $ac_compile) 2>&5
4165   ac_status=$?
4166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167   (exit $ac_status); }; then
4168     case "`/usr/bin/file conftest.o`" in
4169     *ELF-32*)
4170       HPUX_IA64_MODE="32"
4171       ;;
4172     *ELF-64*)
4173       HPUX_IA64_MODE="64"
4174       ;;
4175     esac
4176   fi
4177   rm -rf conftest*
4178   ;;
4179
4180 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4181   # Find out which ABI we are using.
4182   echo 'int i;' > conftest.$ac_ext
4183   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4184   (eval $ac_compile) 2>&5
4185   ac_status=$?
4186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187   (exit $ac_status); }; then
4188     case "`/usr/bin/file conftest.o`" in
4189     *32-bit*)
4190       case $host in
4191         x86_64-*linux*)
4192           LD="${LD-ld} -m elf_i386"
4193           ;;
4194         ppc64-*linux*|powerpc64-*linux*)
4195           LD="${LD-ld} -m elf32ppclinux"
4196           ;;
4197         s390x-*linux*)
4198           LD="${LD-ld} -m elf_s390"
4199           ;;
4200         sparc64-*linux*)
4201           LD="${LD-ld} -m elf32_sparc"
4202           ;;
4203       esac
4204       ;;
4205     *64-bit*)
4206       case $host in
4207         x86_64-*linux*)
4208           LD="${LD-ld} -m elf_x86_64"
4209           ;;
4210         ppc*-*linux*|powerpc*-*linux*)
4211           LD="${LD-ld} -m elf64ppc"
4212           ;;
4213         s390*-*linux*)
4214           LD="${LD-ld} -m elf64_s390"
4215           ;;
4216         sparc*-*linux*)
4217           LD="${LD-ld} -m elf64_sparc"
4218           ;;
4219       esac
4220       ;;
4221     esac
4222   fi
4223   rm -rf conftest*
4224   ;;
4225
4226 *-*-sco3.2v5*)
4227   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4228   SAVE_CFLAGS="$CFLAGS"
4229   CFLAGS="$CFLAGS -belf"
4230   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4231 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4232 if test "${lt_cv_cc_needs_belf+set}" = set; then
4233   echo $ECHO_N "(cached) $ECHO_C" >&6
4234 else
4235
4236
4237      ac_ext=c
4238 ac_cpp='$CPP $CPPFLAGS'
4239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4242
4243      if test x$gcc_no_link = xyes; then
4244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4246    { (exit 1); exit 1; }; }
4247 fi
4248 cat >conftest.$ac_ext <<_ACEOF
4249 /* confdefs.h.  */
4250 _ACEOF
4251 cat confdefs.h >>conftest.$ac_ext
4252 cat >>conftest.$ac_ext <<_ACEOF
4253 /* end confdefs.h.  */
4254
4255 int
4256 main ()
4257 {
4258
4259   ;
4260   return 0;
4261 }
4262 _ACEOF
4263 rm -f conftest.$ac_objext conftest$ac_exeext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4265   (eval $ac_link) 2>conftest.er1
4266   ac_status=$?
4267   grep -v '^ *+' conftest.er1 >conftest.err
4268   rm -f conftest.er1
4269   cat conftest.err >&5
4270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271   (exit $ac_status); } &&
4272          { ac_try='test -z "$ac_c_werror_flag"
4273                          || test ! -s conftest.err'
4274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275   (eval $ac_try) 2>&5
4276   ac_status=$?
4277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278   (exit $ac_status); }; } &&
4279          { ac_try='test -s conftest$ac_exeext'
4280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4281   (eval $ac_try) 2>&5
4282   ac_status=$?
4283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284   (exit $ac_status); }; }; then
4285   lt_cv_cc_needs_belf=yes
4286 else
4287   echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4289
4290 lt_cv_cc_needs_belf=no
4291 fi
4292 rm -f conftest.err conftest.$ac_objext \
4293       conftest$ac_exeext conftest.$ac_ext
4294      ac_ext=c
4295 ac_cpp='$CPP $CPPFLAGS'
4296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299
4300 fi
4301 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4302 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4303   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4304     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4305     CFLAGS="$SAVE_CFLAGS"
4306   fi
4307   ;;
4308
4309
4310 esac
4311
4312
4313 # Save cache, so that ltconfig can load it
4314 cat >confcache <<\_ACEOF
4315 # This file is a shell script that caches the results of configure
4316 # tests run on this system so they can be shared between configure
4317 # scripts and configure runs, see configure's option --config-cache.
4318 # It is not useful on other systems.  If it contains results you don't
4319 # want to keep, you may remove or edit it.
4320 #
4321 # config.status only pays attention to the cache file if you give it
4322 # the --recheck option to rerun configure.
4323 #
4324 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4325 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4326 # following values.
4327
4328 _ACEOF
4329
4330 # The following way of writing the cache mishandles newlines in values,
4331 # but we know of no workaround that is simple, portable, and efficient.
4332 # So, don't put newlines in cache variables' values.
4333 # Ultrix sh set writes to stderr and can't be redirected directly,
4334 # and sets the high bit in the cache file unless we assign to the vars.
4335 {
4336   (set) 2>&1 |
4337     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4338     *ac_space=\ *)
4339       # `set' does not quote correctly, so add quotes (double-quote
4340       # substitution turns \\\\ into \\, and sed turns \\ into \).
4341       sed -n \
4342         "s/'/'\\\\''/g;
4343           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4344       ;;
4345     *)
4346       # `set' quotes correctly as required by POSIX, so do not add quotes.
4347       sed -n \
4348         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4349       ;;
4350     esac;
4351 } |
4352   sed '
4353      t clear
4354      : clear
4355      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4356      t end
4357      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4358      : end' >>confcache
4359 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4360   if test -w $cache_file; then
4361     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4362     cat confcache >$cache_file
4363   else
4364     echo "not updating unwritable cache $cache_file"
4365   fi
4366 fi
4367 rm -f confcache
4368
4369 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4370 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4371 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4372 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4373 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4374 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4375 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4376 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4377 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4378 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4379 echo "$as_me: error: libtool configure failed" >&2;}
4380    { (exit 1); exit 1; }; }
4381
4382 # Reload cache, that may have been modified by ltconfig
4383 if test -r "$cache_file"; then
4384   # Some versions of bash will fail to source /dev/null (special
4385   # files actually), so we avoid doing that.
4386   if test -f "$cache_file"; then
4387     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4388 echo "$as_me: loading cache $cache_file" >&6;}
4389     case $cache_file in
4390       [\\/]* | ?:[\\/]* ) . $cache_file;;
4391       *)                      . ./$cache_file;;
4392     esac
4393   fi
4394 else
4395   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4396 echo "$as_me: creating cache $cache_file" >&6;}
4397   >$cache_file
4398 fi
4399
4400
4401 # This can be used to rebuild libtool when needed
4402 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4403
4404 # Always use our own libtool.
4405 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4406
4407 # Redirect the config.log output again, so that the ltconfig log is not
4408 # clobbered by the next message.
4409 exec 5>>./config.log
4410
4411
4412
4413
4414
4415
4416
4417
4418 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4419
4420 # We need gfortran to compile parts of the library
4421 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4422 #AC_PROG_FC(gfortran)
4423 FC="$GFORTRAN"
4424 ac_ext=${FC_SRCEXT-f}
4425 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4426 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4428 if test -n "$ac_tool_prefix"; then
4429   for ac_prog in gfortran
4430   do
4431     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 echo "$as_me:$LINENO: checking for $ac_word" >&5
4434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4435 if test "${ac_cv_prog_FC+set}" = set; then
4436   echo $ECHO_N "(cached) $ECHO_C" >&6
4437 else
4438   if test -n "$FC"; then
4439   ac_cv_prog_FC="$FC" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4443 do
4444   IFS=$as_save_IFS
4445   test -z "$as_dir" && as_dir=.
4446   for ac_exec_ext in '' $ac_executable_extensions; do
4447   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4449     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450     break 2
4451   fi
4452 done
4453 done
4454
4455 fi
4456 fi
4457 FC=$ac_cv_prog_FC
4458 if test -n "$FC"; then
4459   echo "$as_me:$LINENO: result: $FC" >&5
4460 echo "${ECHO_T}$FC" >&6
4461 else
4462   echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4464 fi
4465
4466     test -n "$FC" && break
4467   done
4468 fi
4469 if test -z "$FC"; then
4470   ac_ct_FC=$FC
4471   for ac_prog in gfortran
4472 do
4473   # Extract the first word of "$ac_prog", so it can be a program name with args.
4474 set dummy $ac_prog; ac_word=$2
4475 echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4477 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4478   echo $ECHO_N "(cached) $ECHO_C" >&6
4479 else
4480   if test -n "$ac_ct_FC"; then
4481   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4485 do
4486   IFS=$as_save_IFS
4487   test -z "$as_dir" && as_dir=.
4488   for ac_exec_ext in '' $ac_executable_extensions; do
4489   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490     ac_cv_prog_ac_ct_FC="$ac_prog"
4491     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4492     break 2
4493   fi
4494 done
4495 done
4496
4497 fi
4498 fi
4499 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4500 if test -n "$ac_ct_FC"; then
4501   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4502 echo "${ECHO_T}$ac_ct_FC" >&6
4503 else
4504   echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4506 fi
4507
4508   test -n "$ac_ct_FC" && break
4509 done
4510
4511   FC=$ac_ct_FC
4512 fi
4513
4514
4515 # Provide some information about the compiler.
4516 echo "$as_me:4516:" \
4517      "checking for Fortran compiler version" >&5
4518 ac_compiler=`set X $ac_compile; echo $2`
4519 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4520   (eval $ac_compiler --version </dev/null >&5) 2>&5
4521   ac_status=$?
4522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523   (exit $ac_status); }
4524 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4525   (eval $ac_compiler -v </dev/null >&5) 2>&5
4526   ac_status=$?
4527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528   (exit $ac_status); }
4529 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4530   (eval $ac_compiler -V </dev/null >&5) 2>&5
4531   ac_status=$?
4532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533   (exit $ac_status); }
4534 rm -f a.out
4535
4536 # If we don't use `.F' as extension, the preprocessor is not run on the
4537 # input file.  (Note that this only needs to work for GNU compilers.)
4538 ac_save_ext=$ac_ext
4539 ac_ext=F
4540 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4541 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4542 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4543   echo $ECHO_N "(cached) $ECHO_C" >&6
4544 else
4545   cat >conftest.$ac_ext <<_ACEOF
4546       program main
4547 #ifndef __GNUC__
4548        choke me
4549 #endif
4550
4551       end
4552 _ACEOF
4553 rm -f conftest.$ac_objext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4555   (eval $ac_compile) 2>conftest.er1
4556   ac_status=$?
4557   grep -v '^ *+' conftest.er1 >conftest.err
4558   rm -f conftest.er1
4559   cat conftest.err >&5
4560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561   (exit $ac_status); } &&
4562          { ac_try='test -z "$ac_fc_werror_flag"
4563                          || test ! -s conftest.err'
4564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565   (eval $ac_try) 2>&5
4566   ac_status=$?
4567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568   (exit $ac_status); }; } &&
4569          { ac_try='test -s conftest.$ac_objext'
4570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571   (eval $ac_try) 2>&5
4572   ac_status=$?
4573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574   (exit $ac_status); }; }; then
4575   ac_compiler_gnu=yes
4576 else
4577   echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4579
4580 ac_compiler_gnu=no
4581 fi
4582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4584
4585 fi
4586 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4587 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4588 ac_ext=$ac_save_ext
4589 ac_test_FFLAGS=${FCFLAGS+set}
4590 ac_save_FFLAGS=$FCFLAGS
4591 FCFLAGS=
4592 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4593 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4594 if test "${ac_cv_prog_fc_g+set}" = set; then
4595   echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597   FCFLAGS=-g
4598 cat >conftest.$ac_ext <<_ACEOF
4599       program main
4600
4601       end
4602 _ACEOF
4603 rm -f conftest.$ac_objext
4604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4605   (eval $ac_compile) 2>conftest.er1
4606   ac_status=$?
4607   grep -v '^ *+' conftest.er1 >conftest.err
4608   rm -f conftest.er1
4609   cat conftest.err >&5
4610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611   (exit $ac_status); } &&
4612          { ac_try='test -z "$ac_fc_werror_flag"
4613                          || test ! -s conftest.err'
4614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615   (eval $ac_try) 2>&5
4616   ac_status=$?
4617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618   (exit $ac_status); }; } &&
4619          { ac_try='test -s conftest.$ac_objext'
4620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4621   (eval $ac_try) 2>&5
4622   ac_status=$?
4623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624   (exit $ac_status); }; }; then
4625   ac_cv_prog_fc_g=yes
4626 else
4627   echo "$as_me: failed program was:" >&5
4628 sed 's/^/| /' conftest.$ac_ext >&5
4629
4630 ac_cv_prog_fc_g=no
4631 fi
4632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4633
4634 fi
4635 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4636 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4637 if test "$ac_test_FFLAGS" = set; then
4638   FCFLAGS=$ac_save_FFLAGS
4639 elif test $ac_cv_prog_fc_g = yes; then
4640   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4641     FCFLAGS="-g -O2"
4642   else
4643     FCFLAGS="-g"
4644   fi
4645 else
4646   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4647     FCFLAGS="-O2"
4648   else
4649     FCFLAGS=
4650   fi
4651 fi
4652
4653 ac_ext=c
4654 ac_cpp='$CPP $CPPFLAGS'
4655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4658
4659 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4660
4661 # extra LD Flags which are required for targets
4662 case "${host}" in
4663   *-darwin*)
4664     # Darwin needs -single_module when linking libgfortran
4665     extra_ldflags_libgfortran=-Wl,-single_module
4666     ;;
4667 esac
4668
4669
4670 # Check whether --enable-largefile or --disable-largefile was given.
4671 if test "${enable_largefile+set}" = set; then
4672   enableval="$enable_largefile"
4673
4674 fi;
4675 if test "$enable_largefile" != no; then
4676
4677   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4678 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4679 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4680   echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682   ac_cv_sys_largefile_CC=no
4683      if test "$GCC" != yes; then
4684        ac_save_CC=$CC
4685        while :; do
4686          # IRIX 6.2 and later do not support large files by default,
4687          # so use the C compiler's -n32 option if that helps.
4688          cat >conftest.$ac_ext <<_ACEOF
4689 /* confdefs.h.  */
4690 _ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h.  */
4694 #include <sys/types.h>
4695  /* Check that off_t can represent 2**63 - 1 correctly.
4696     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4697     since some C++ compilers masquerading as C compilers
4698     incorrectly reject 9223372036854775807.  */
4699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4700   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4701                        && LARGE_OFF_T % 2147483647 == 1)
4702                       ? 1 : -1];
4703 int
4704 main ()
4705 {
4706
4707   ;
4708   return 0;
4709 }
4710 _ACEOF
4711          rm -f conftest.$ac_objext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713   (eval $ac_compile) 2>conftest.er1
4714   ac_status=$?
4715   grep -v '^ *+' conftest.er1 >conftest.err
4716   rm -f conftest.er1
4717   cat conftest.err >&5
4718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719   (exit $ac_status); } &&
4720          { ac_try='test -z "$ac_c_werror_flag"
4721                          || test ! -s conftest.err'
4722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723   (eval $ac_try) 2>&5
4724   ac_status=$?
4725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726   (exit $ac_status); }; } &&
4727          { ac_try='test -s conftest.$ac_objext'
4728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729   (eval $ac_try) 2>&5
4730   ac_status=$?
4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732   (exit $ac_status); }; }; then
4733   break
4734 else
4735   echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4737
4738 fi
4739 rm -f conftest.err conftest.$ac_objext
4740          CC="$CC -n32"
4741          rm -f conftest.$ac_objext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4743   (eval $ac_compile) 2>conftest.er1
4744   ac_status=$?
4745   grep -v '^ *+' conftest.er1 >conftest.err
4746   rm -f conftest.er1
4747   cat conftest.err >&5
4748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749   (exit $ac_status); } &&
4750          { ac_try='test -z "$ac_c_werror_flag"
4751                          || test ! -s conftest.err'
4752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753   (eval $ac_try) 2>&5
4754   ac_status=$?
4755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756   (exit $ac_status); }; } &&
4757          { ac_try='test -s conftest.$ac_objext'
4758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759   (eval $ac_try) 2>&5
4760   ac_status=$?
4761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762   (exit $ac_status); }; }; then
4763   ac_cv_sys_largefile_CC=' -n32'; break
4764 else
4765   echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4767
4768 fi
4769 rm -f conftest.err conftest.$ac_objext
4770          break
4771        done
4772        CC=$ac_save_CC
4773        rm -f conftest.$ac_ext
4774     fi
4775 fi
4776 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4777 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4778   if test "$ac_cv_sys_largefile_CC" != no; then
4779     CC=$CC$ac_cv_sys_largefile_CC
4780   fi
4781
4782   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4783 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4784 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4785   echo $ECHO_N "(cached) $ECHO_C" >&6
4786 else
4787   while :; do
4788   ac_cv_sys_file_offset_bits=no
4789   cat >conftest.$ac_ext <<_ACEOF
4790 /* confdefs.h.  */
4791 _ACEOF
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h.  */
4795 #include <sys/types.h>
4796  /* Check that off_t can represent 2**63 - 1 correctly.
4797     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4798     since some C++ compilers masquerading as C compilers
4799     incorrectly reject 9223372036854775807.  */
4800 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4801   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4802                        && LARGE_OFF_T % 2147483647 == 1)
4803                       ? 1 : -1];
4804 int
4805 main ()
4806 {
4807
4808   ;
4809   return 0;
4810 }
4811 _ACEOF
4812 rm -f conftest.$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814   (eval $ac_compile) 2>conftest.er1
4815   ac_status=$?
4816   grep -v '^ *+' conftest.er1 >conftest.err
4817   rm -f conftest.er1
4818   cat conftest.err >&5
4819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820   (exit $ac_status); } &&
4821          { ac_try='test -z "$ac_c_werror_flag"
4822                          || test ! -s conftest.err'
4823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824   (eval $ac_try) 2>&5
4825   ac_status=$?
4826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827   (exit $ac_status); }; } &&
4828          { ac_try='test -s conftest.$ac_objext'
4829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830   (eval $ac_try) 2>&5
4831   ac_status=$?
4832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833   (exit $ac_status); }; }; then
4834   break
4835 else
4836   echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4838
4839 fi
4840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4841   cat >conftest.$ac_ext <<_ACEOF
4842 /* confdefs.h.  */
4843 _ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h.  */
4847 #define _FILE_OFFSET_BITS 64
4848 #include <sys/types.h>
4849  /* Check that off_t can represent 2**63 - 1 correctly.
4850     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4851     since some C++ compilers masquerading as C compilers
4852     incorrectly reject 9223372036854775807.  */
4853 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4854   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4855                        && LARGE_OFF_T % 2147483647 == 1)
4856                       ? 1 : -1];
4857 int
4858 main ()
4859 {
4860
4861   ;
4862   return 0;
4863 }
4864 _ACEOF
4865 rm -f conftest.$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867   (eval $ac_compile) 2>conftest.er1
4868   ac_status=$?
4869   grep -v '^ *+' conftest.er1 >conftest.err
4870   rm -f conftest.er1
4871   cat conftest.err >&5
4872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873   (exit $ac_status); } &&
4874          { ac_try='test -z "$ac_c_werror_flag"
4875                          || test ! -s conftest.err'
4876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877   (eval $ac_try) 2>&5
4878   ac_status=$?
4879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880   (exit $ac_status); }; } &&
4881          { ac_try='test -s conftest.$ac_objext'
4882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883   (eval $ac_try) 2>&5
4884   ac_status=$?
4885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886   (exit $ac_status); }; }; then
4887   ac_cv_sys_file_offset_bits=64; break
4888 else
4889   echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4891
4892 fi
4893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4894   break
4895 done
4896 fi
4897 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4898 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4899 if test "$ac_cv_sys_file_offset_bits" != no; then
4900
4901 cat >>confdefs.h <<_ACEOF
4902 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4903 _ACEOF
4904
4905 fi
4906 rm -f conftest*
4907   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4908 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4909 if test "${ac_cv_sys_large_files+set}" = set; then
4910   echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912   while :; do
4913   ac_cv_sys_large_files=no
4914   cat >conftest.$ac_ext <<_ACEOF
4915 /* confdefs.h.  */
4916 _ACEOF
4917 cat confdefs.h >>conftest.$ac_ext
4918 cat >>conftest.$ac_ext <<_ACEOF
4919 /* end confdefs.h.  */
4920 #include <sys/types.h>
4921  /* Check that off_t can represent 2**63 - 1 correctly.
4922     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4923     since some C++ compilers masquerading as C compilers
4924     incorrectly reject 9223372036854775807.  */
4925 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4926   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4927                        && LARGE_OFF_T % 2147483647 == 1)
4928                       ? 1 : -1];
4929 int
4930 main ()
4931 {
4932
4933   ;
4934   return 0;
4935 }
4936 _ACEOF
4937 rm -f conftest.$ac_objext
4938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939   (eval $ac_compile) 2>conftest.er1
4940   ac_status=$?
4941   grep -v '^ *+' conftest.er1 >conftest.err
4942   rm -f conftest.er1
4943   cat conftest.err >&5
4944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945   (exit $ac_status); } &&
4946          { ac_try='test -z "$ac_c_werror_flag"
4947                          || test ! -s conftest.err'
4948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949   (eval $ac_try) 2>&5
4950   ac_status=$?
4951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952   (exit $ac_status); }; } &&
4953          { ac_try='test -s conftest.$ac_objext'
4954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955   (eval $ac_try) 2>&5
4956   ac_status=$?
4957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958   (exit $ac_status); }; }; then
4959   break
4960 else
4961   echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.$ac_ext >&5
4963
4964 fi
4965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4966   cat >conftest.$ac_ext <<_ACEOF
4967 /* confdefs.h.  */
4968 _ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h.  */
4972 #define _LARGE_FILES 1
4973 #include <sys/types.h>
4974  /* Check that off_t can represent 2**63 - 1 correctly.
4975     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4976     since some C++ compilers masquerading as C compilers
4977     incorrectly reject 9223372036854775807.  */
4978 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4979   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4980                        && LARGE_OFF_T % 2147483647 == 1)
4981                       ? 1 : -1];
4982 int
4983 main ()
4984 {
4985
4986   ;
4987   return 0;
4988 }
4989 _ACEOF
4990 rm -f conftest.$ac_objext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992   (eval $ac_compile) 2>conftest.er1
4993   ac_status=$?
4994   grep -v '^ *+' conftest.er1 >conftest.err
4995   rm -f conftest.er1
4996   cat conftest.err >&5
4997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998   (exit $ac_status); } &&
4999          { ac_try='test -z "$ac_c_werror_flag"
5000                          || test ! -s conftest.err'
5001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002   (eval $ac_try) 2>&5
5003   ac_status=$?
5004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005   (exit $ac_status); }; } &&
5006          { ac_try='test -s conftest.$ac_objext'
5007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008   (eval $ac_try) 2>&5
5009   ac_status=$?
5010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011   (exit $ac_status); }; }; then
5012   ac_cv_sys_large_files=1; break
5013 else
5014   echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5016
5017 fi
5018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5019   break
5020 done
5021 fi
5022 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5023 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5024 if test "$ac_cv_sys_large_files" != no; then
5025
5026 cat >>confdefs.h <<_ACEOF
5027 #define _LARGE_FILES $ac_cv_sys_large_files
5028 _ACEOF
5029
5030 fi
5031 rm -f conftest*
5032 fi
5033
5034 if test x$gcc_no_link = xyes; then
5035   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5036     ac_cv_func_mmap_fixed_mapped=no
5037   fi
5038 fi
5039 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5040   ac_ext=c
5041 ac_cpp='$CPP $CPPFLAGS'
5042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5045 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5047 # On Suns, sometimes $CPP names a directory.
5048 if test -n "$CPP" && test -d "$CPP"; then
5049   CPP=
5050 fi
5051 if test -z "$CPP"; then
5052   if test "${ac_cv_prog_CPP+set}" = set; then
5053   echo $ECHO_N "(cached) $ECHO_C" >&6
5054 else
5055       # Double quotes because CPP needs to be expanded
5056     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5057     do
5058       ac_preproc_ok=false
5059 for ac_c_preproc_warn_flag in '' yes
5060 do
5061   # Use a header file that comes with gcc, so configuring glibc
5062   # with a fresh cross-compiler works.
5063   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5064   # <limits.h> exists even on freestanding compilers.
5065   # On the NeXT, cc -E runs the code through the compiler's parser,
5066   # not just through cpp. "Syntax error" is here to catch this case.
5067   cat >conftest.$ac_ext <<_ACEOF
5068 /* confdefs.h.  */
5069 _ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h.  */
5073 #ifdef __STDC__
5074 # include <limits.h>
5075 #else
5076 # include <assert.h>
5077 #endif
5078                      Syntax error
5079 _ACEOF
5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5082   ac_status=$?
5083   grep -v '^ *+' conftest.er1 >conftest.err
5084   rm -f conftest.er1
5085   cat conftest.err >&5
5086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087   (exit $ac_status); } >/dev/null; then
5088   if test -s conftest.err; then
5089     ac_cpp_err=$ac_c_preproc_warn_flag
5090     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5091   else
5092     ac_cpp_err=
5093   fi
5094 else
5095   ac_cpp_err=yes
5096 fi
5097 if test -z "$ac_cpp_err"; then
5098   :
5099 else
5100   echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5102
5103   # Broken: fails on valid input.
5104 continue
5105 fi
5106 rm -f conftest.err conftest.$ac_ext
5107
5108   # OK, works on sane cases.  Now check whether non-existent headers
5109   # can be detected and how.
5110   cat >conftest.$ac_ext <<_ACEOF
5111 /* confdefs.h.  */
5112 _ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h.  */
5116 #include <ac_nonexistent.h>
5117 _ACEOF
5118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120   ac_status=$?
5121   grep -v '^ *+' conftest.er1 >conftest.err
5122   rm -f conftest.er1
5123   cat conftest.err >&5
5124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125   (exit $ac_status); } >/dev/null; then
5126   if test -s conftest.err; then
5127     ac_cpp_err=$ac_c_preproc_warn_flag
5128     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5129   else
5130     ac_cpp_err=
5131   fi
5132 else
5133   ac_cpp_err=yes
5134 fi
5135 if test -z "$ac_cpp_err"; then
5136   # Broken: success on invalid input.
5137 continue
5138 else
5139   echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.$ac_ext >&5
5141
5142   # Passes both tests.
5143 ac_preproc_ok=:
5144 break
5145 fi
5146 rm -f conftest.err conftest.$ac_ext
5147
5148 done
5149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5150 rm -f conftest.err conftest.$ac_ext
5151 if $ac_preproc_ok; then
5152   break
5153 fi
5154
5155     done
5156     ac_cv_prog_CPP=$CPP
5157
5158 fi
5159   CPP=$ac_cv_prog_CPP
5160 else
5161   ac_cv_prog_CPP=$CPP
5162 fi
5163 echo "$as_me:$LINENO: result: $CPP" >&5
5164 echo "${ECHO_T}$CPP" >&6
5165 ac_preproc_ok=false
5166 for ac_c_preproc_warn_flag in '' yes
5167 do
5168   # Use a header file that comes with gcc, so configuring glibc
5169   # with a fresh cross-compiler works.
5170   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171   # <limits.h> exists even on freestanding compilers.
5172   # On the NeXT, cc -E runs the code through the compiler's parser,
5173   # not just through cpp. "Syntax error" is here to catch this case.
5174   cat >conftest.$ac_ext <<_ACEOF
5175 /* confdefs.h.  */
5176 _ACEOF
5177 cat confdefs.h >>conftest.$ac_ext
5178 cat >>conftest.$ac_ext <<_ACEOF
5179 /* end confdefs.h.  */
5180 #ifdef __STDC__
5181 # include <limits.h>
5182 #else
5183 # include <assert.h>
5184 #endif
5185                      Syntax error
5186 _ACEOF
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5189   ac_status=$?
5190   grep -v '^ *+' conftest.er1 >conftest.err
5191   rm -f conftest.er1
5192   cat conftest.err >&5
5193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194   (exit $ac_status); } >/dev/null; then
5195   if test -s conftest.err; then
5196     ac_cpp_err=$ac_c_preproc_warn_flag
5197     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5198   else
5199     ac_cpp_err=
5200   fi
5201 else
5202   ac_cpp_err=yes
5203 fi
5204 if test -z "$ac_cpp_err"; then
5205   :
5206 else
5207   echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5209
5210   # Broken: fails on valid input.
5211 continue
5212 fi
5213 rm -f conftest.err conftest.$ac_ext
5214
5215   # OK, works on sane cases.  Now check whether non-existent headers
5216   # can be detected and how.
5217   cat >conftest.$ac_ext <<_ACEOF
5218 /* confdefs.h.  */
5219 _ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h.  */
5223 #include <ac_nonexistent.h>
5224 _ACEOF
5225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5227   ac_status=$?
5228   grep -v '^ *+' conftest.er1 >conftest.err
5229   rm -f conftest.er1
5230   cat conftest.err >&5
5231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232   (exit $ac_status); } >/dev/null; then
5233   if test -s conftest.err; then
5234     ac_cpp_err=$ac_c_preproc_warn_flag
5235     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5236   else
5237     ac_cpp_err=
5238   fi
5239 else
5240   ac_cpp_err=yes
5241 fi
5242 if test -z "$ac_cpp_err"; then
5243   # Broken: success on invalid input.
5244 continue
5245 else
5246   echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5248
5249   # Passes both tests.
5250 ac_preproc_ok=:
5251 break
5252 fi
5253 rm -f conftest.err conftest.$ac_ext
5254
5255 done
5256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5257 rm -f conftest.err conftest.$ac_ext
5258 if $ac_preproc_ok; then
5259   :
5260 else
5261   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5262 See \`config.log' for more details." >&5
5263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5264 See \`config.log' for more details." >&2;}
5265    { (exit 1); exit 1; }; }
5266 fi
5267
5268 ac_ext=c
5269 ac_cpp='$CPP $CPPFLAGS'
5270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5273
5274
5275 echo "$as_me:$LINENO: checking for egrep" >&5
5276 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5277 if test "${ac_cv_prog_egrep+set}" = set; then
5278   echo $ECHO_N "(cached) $ECHO_C" >&6
5279 else
5280   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5281     then ac_cv_prog_egrep='grep -E'
5282     else ac_cv_prog_egrep='egrep'
5283     fi
5284 fi
5285 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5286 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5287  EGREP=$ac_cv_prog_egrep
5288
5289
5290 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5291 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5292 if test "${ac_cv_header_stdc+set}" = set; then
5293   echo $ECHO_N "(cached) $ECHO_C" >&6
5294 else
5295   cat >conftest.$ac_ext <<_ACEOF
5296 /* confdefs.h.  */
5297 _ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h.  */
5301 #include <stdlib.h>
5302 #include <stdarg.h>
5303 #include <string.h>
5304 #include <float.h>
5305
5306 int
5307 main ()
5308 {
5309
5310   ;
5311   return 0;
5312 }
5313 _ACEOF
5314 rm -f conftest.$ac_objext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5316   (eval $ac_compile) 2>conftest.er1
5317   ac_status=$?
5318   grep -v '^ *+' conftest.er1 >conftest.err
5319   rm -f conftest.er1
5320   cat conftest.err >&5
5321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322   (exit $ac_status); } &&
5323          { ac_try='test -z "$ac_c_werror_flag"
5324                          || test ! -s conftest.err'
5325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5326   (eval $ac_try) 2>&5
5327   ac_status=$?
5328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329   (exit $ac_status); }; } &&
5330          { ac_try='test -s conftest.$ac_objext'
5331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5332   (eval $ac_try) 2>&5
5333   ac_status=$?
5334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335   (exit $ac_status); }; }; then
5336   ac_cv_header_stdc=yes
5337 else
5338   echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5340
5341 ac_cv_header_stdc=no
5342 fi
5343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5344
5345 if test $ac_cv_header_stdc = yes; then
5346   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5347   cat >conftest.$ac_ext <<_ACEOF
5348 /* confdefs.h.  */
5349 _ACEOF
5350 cat confdefs.h >>conftest.$ac_ext
5351 cat >>conftest.$ac_ext <<_ACEOF
5352 /* end confdefs.h.  */
5353 #include <string.h>
5354
5355 _ACEOF
5356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5357   $EGREP "memchr" >/dev/null 2>&1; then
5358   :
5359 else
5360   ac_cv_header_stdc=no
5361 fi
5362 rm -f conftest*
5363
5364 fi
5365
5366 if test $ac_cv_header_stdc = yes; then
5367   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5368   cat >conftest.$ac_ext <<_ACEOF
5369 /* confdefs.h.  */
5370 _ACEOF
5371 cat confdefs.h >>conftest.$ac_ext
5372 cat >>conftest.$ac_ext <<_ACEOF
5373 /* end confdefs.h.  */
5374 #include <stdlib.h>
5375
5376 _ACEOF
5377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5378   $EGREP "free" >/dev/null 2>&1; then
5379   :
5380 else
5381   ac_cv_header_stdc=no
5382 fi
5383 rm -f conftest*
5384
5385 fi
5386
5387 if test $ac_cv_header_stdc = yes; then
5388   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5389   if test "$cross_compiling" = yes; then
5390   :
5391 else
5392   cat >conftest.$ac_ext <<_ACEOF
5393 /* confdefs.h.  */
5394 _ACEOF
5395 cat confdefs.h >>conftest.$ac_ext
5396 cat >>conftest.$ac_ext <<_ACEOF
5397 /* end confdefs.h.  */
5398 #include <ctype.h>
5399 #if ((' ' & 0x0FF) == 0x020)
5400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5402 #else
5403 # define ISLOWER(c) \
5404                    (('a' <= (c) && (c) <= 'i') \
5405                      || ('j' <= (c) && (c) <= 'r') \
5406                      || ('s' <= (c) && (c) <= 'z'))
5407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5408 #endif
5409
5410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5411 int
5412 main ()
5413 {
5414   int i;
5415   for (i = 0; i < 256; i++)
5416     if (XOR (islower (i), ISLOWER (i))
5417         || toupper (i) != TOUPPER (i))
5418       exit(2);
5419   exit (0);
5420 }
5421 _ACEOF
5422 rm -f conftest$ac_exeext
5423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5424   (eval $ac_link) 2>&5
5425   ac_status=$?
5426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5429   (eval $ac_try) 2>&5
5430   ac_status=$?
5431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432   (exit $ac_status); }; }; then
5433   :
5434 else
5435   echo "$as_me: program exited with status $ac_status" >&5
5436 echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.$ac_ext >&5
5438
5439 ( exit $ac_status )
5440 ac_cv_header_stdc=no
5441 fi
5442 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5443 fi
5444 fi
5445 fi
5446 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5447 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5448 if test $ac_cv_header_stdc = yes; then
5449
5450 cat >>confdefs.h <<\_ACEOF
5451 #define STDC_HEADERS 1
5452 _ACEOF
5453
5454 fi
5455
5456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5467                   inttypes.h stdint.h unistd.h
5468 do
5469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5470 echo "$as_me:$LINENO: checking for $ac_header" >&5
5471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5473   echo $ECHO_N "(cached) $ECHO_C" >&6
5474 else
5475   cat >conftest.$ac_ext <<_ACEOF
5476 /* confdefs.h.  */
5477 _ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h.  */
5481 $ac_includes_default
5482
5483 #include <$ac_header>
5484 _ACEOF
5485 rm -f conftest.$ac_objext
5486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5487   (eval $ac_compile) 2>conftest.er1
5488   ac_status=$?
5489   grep -v '^ *+' conftest.er1 >conftest.err
5490   rm -f conftest.er1
5491   cat conftest.err >&5
5492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493   (exit $ac_status); } &&
5494          { ac_try='test -z "$ac_c_werror_flag"
5495                          || test ! -s conftest.err'
5496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497   (eval $ac_try) 2>&5
5498   ac_status=$?
5499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500   (exit $ac_status); }; } &&
5501          { ac_try='test -s conftest.$ac_objext'
5502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503   (eval $ac_try) 2>&5
5504   ac_status=$?
5505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506   (exit $ac_status); }; }; then
5507   eval "$as_ac_Header=yes"
5508 else
5509   echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5
5511
5512 eval "$as_ac_Header=no"
5513 fi
5514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5515 fi
5516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5519   cat >>confdefs.h <<_ACEOF
5520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5521 _ACEOF
5522
5523 fi
5524
5525 done
5526
5527
5528
5529
5530 for ac_header in stdlib.h unistd.h
5531 do
5532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5534   echo "$as_me:$LINENO: checking for $ac_header" >&5
5535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5537   echo $ECHO_N "(cached) $ECHO_C" >&6
5538 fi
5539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5541 else
5542   # Is the header compilable?
5543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5545 cat >conftest.$ac_ext <<_ACEOF
5546 /* confdefs.h.  */
5547 _ACEOF
5548 cat confdefs.h >>conftest.$ac_ext
5549 cat >>conftest.$ac_ext <<_ACEOF
5550 /* end confdefs.h.  */
5551 $ac_includes_default
5552 #include <$ac_header>
5553 _ACEOF
5554 rm -f conftest.$ac_objext
5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5556   (eval $ac_compile) 2>conftest.er1
5557   ac_status=$?
5558   grep -v '^ *+' conftest.er1 >conftest.err
5559   rm -f conftest.er1
5560   cat conftest.err >&5
5561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562   (exit $ac_status); } &&
5563          { ac_try='test -z "$ac_c_werror_flag"
5564                          || test ! -s conftest.err'
5565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566   (eval $ac_try) 2>&5
5567   ac_status=$?
5568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569   (exit $ac_status); }; } &&
5570          { ac_try='test -s conftest.$ac_objext'
5571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572   (eval $ac_try) 2>&5
5573   ac_status=$?
5574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575   (exit $ac_status); }; }; then
5576   ac_header_compiler=yes
5577 else
5578   echo "$as_me: failed program was:" >&5
5579 sed 's/^/| /' conftest.$ac_ext >&5
5580
5581 ac_header_compiler=no
5582 fi
5583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5585 echo "${ECHO_T}$ac_header_compiler" >&6
5586
5587 # Is the header present?
5588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5590 cat >conftest.$ac_ext <<_ACEOF
5591 /* confdefs.h.  */
5592 _ACEOF
5593 cat confdefs.h >>conftest.$ac_ext
5594 cat >>conftest.$ac_ext <<_ACEOF
5595 /* end confdefs.h.  */
5596 #include <$ac_header>
5597 _ACEOF
5598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5599   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5600   ac_status=$?
5601   grep -v '^ *+' conftest.er1 >conftest.err
5602   rm -f conftest.er1
5603   cat conftest.err >&5
5604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605   (exit $ac_status); } >/dev/null; then
5606   if test -s conftest.err; then
5607     ac_cpp_err=$ac_c_preproc_warn_flag
5608     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5609   else
5610     ac_cpp_err=
5611   fi
5612 else
5613   ac_cpp_err=yes
5614 fi
5615 if test -z "$ac_cpp_err"; then
5616   ac_header_preproc=yes
5617 else
5618   echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5620
5621   ac_header_preproc=no
5622 fi
5623 rm -f conftest.err conftest.$ac_ext
5624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5625 echo "${ECHO_T}$ac_header_preproc" >&6
5626
5627 # So?  What about this header?
5628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5629   yes:no: )
5630     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5632     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5634     ac_header_preproc=yes
5635     ;;
5636   no:yes:* )
5637     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5639     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5640 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5641     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5643     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5644 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5645     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5647     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5649     (
5650       cat <<\_ASBOX
5651 ## ------------------------------------------------------ ##
5652 ## Report this to the GNU Fortran Runtime Library lists.  ##
5653 ## ------------------------------------------------------ ##
5654 _ASBOX
5655     ) |
5656       sed "s/^/$as_me: WARNING:     /" >&2
5657     ;;
5658 esac
5659 echo "$as_me:$LINENO: checking for $ac_header" >&5
5660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5662   echo $ECHO_N "(cached) $ECHO_C" >&6
5663 else
5664   eval "$as_ac_Header=\$ac_header_preproc"
5665 fi
5666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5668
5669 fi
5670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5671   cat >>confdefs.h <<_ACEOF
5672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5673 _ACEOF
5674
5675 fi
5676
5677 done
5678
5679
5680 for ac_func in getpagesize
5681 do
5682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5683 echo "$as_me:$LINENO: checking for $ac_func" >&5
5684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5685 if eval "test \"\${$as_ac_var+set}\" = set"; then
5686   echo $ECHO_N "(cached) $ECHO_C" >&6
5687 else
5688   if test x$gcc_no_link = xyes; then
5689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5691    { (exit 1); exit 1; }; }
5692 fi
5693 cat >conftest.$ac_ext <<_ACEOF
5694 /* confdefs.h.  */
5695 _ACEOF
5696 cat confdefs.h >>conftest.$ac_ext
5697 cat >>conftest.$ac_ext <<_ACEOF
5698 /* end confdefs.h.  */
5699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5700    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5701 #define $ac_func innocuous_$ac_func
5702
5703 /* System header to define __stub macros and hopefully few prototypes,
5704     which can conflict with char $ac_func (); below.
5705     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5706     <limits.h> exists even on freestanding compilers.  */
5707
5708 #ifdef __STDC__
5709 # include <limits.h>
5710 #else
5711 # include <assert.h>
5712 #endif
5713
5714 #undef $ac_func
5715
5716 /* Override any gcc2 internal prototype to avoid an error.  */
5717 #ifdef __cplusplus
5718 extern "C"
5719 {
5720 #endif
5721 /* We use char because int might match the return type of a gcc2
5722    builtin and then its argument prototype would still apply.  */
5723 char $ac_func ();
5724 /* The GNU C library defines this for functions which it implements
5725     to always fail with ENOSYS.  Some functions are actually named
5726     something starting with __ and the normal name is an alias.  */
5727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5728 choke me
5729 #else
5730 char (*f) () = $ac_func;
5731 #endif
5732 #ifdef __cplusplus
5733 }
5734 #endif
5735
5736 int
5737 main ()
5738 {
5739 return f != $ac_func;
5740   ;
5741   return 0;
5742 }
5743 _ACEOF
5744 rm -f conftest.$ac_objext conftest$ac_exeext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5746   (eval $ac_link) 2>conftest.er1
5747   ac_status=$?
5748   grep -v '^ *+' conftest.er1 >conftest.err
5749   rm -f conftest.er1
5750   cat conftest.err >&5
5751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752   (exit $ac_status); } &&
5753          { ac_try='test -z "$ac_c_werror_flag"
5754                          || test ! -s conftest.err'
5755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756   (eval $ac_try) 2>&5
5757   ac_status=$?
5758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759   (exit $ac_status); }; } &&
5760          { ac_try='test -s conftest$ac_exeext'
5761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762   (eval $ac_try) 2>&5
5763   ac_status=$?
5764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765   (exit $ac_status); }; }; then
5766   eval "$as_ac_var=yes"
5767 else
5768   echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.$ac_ext >&5
5770
5771 eval "$as_ac_var=no"
5772 fi
5773 rm -f conftest.err conftest.$ac_objext \
5774       conftest$ac_exeext conftest.$ac_ext
5775 fi
5776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5778 if test `eval echo '${'$as_ac_var'}'` = yes; then
5779   cat >>confdefs.h <<_ACEOF
5780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5781 _ACEOF
5782
5783 fi
5784 done
5785
5786 echo "$as_me:$LINENO: checking for working mmap" >&5
5787 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5788 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5789   echo $ECHO_N "(cached) $ECHO_C" >&6
5790 else
5791   if test "$cross_compiling" = yes; then
5792   ac_cv_func_mmap_fixed_mapped=no
5793 else
5794   cat >conftest.$ac_ext <<_ACEOF
5795 /* confdefs.h.  */
5796 _ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h.  */
5800 $ac_includes_default
5801 /* malloc might have been renamed as rpl_malloc. */
5802 #undef malloc
5803
5804 /* Thanks to Mike Haertel and Jim Avera for this test.
5805    Here is a matrix of mmap possibilities:
5806         mmap private not fixed
5807         mmap private fixed at somewhere currently unmapped
5808         mmap private fixed at somewhere already mapped
5809         mmap shared not fixed
5810         mmap shared fixed at somewhere currently unmapped
5811         mmap shared fixed at somewhere already mapped
5812    For private mappings, we should verify that changes cannot be read()
5813    back from the file, nor mmap's back from the file at a different
5814    address.  (There have been systems where private was not correctly
5815    implemented like the infamous i386 svr4.0, and systems where the
5816    VM page cache was not coherent with the file system buffer cache
5817    like early versions of FreeBSD and possibly contemporary NetBSD.)
5818    For shared mappings, we should conversely verify that changes get
5819    propagated back to all the places they're supposed to be.
5820
5821    Grep wants private fixed already mapped.
5822    The main things grep needs to know about mmap are:
5823    * does it exist and is it safe to write into the mmap'd area
5824    * how to use it (BSD variants)  */
5825
5826 #include <fcntl.h>
5827 #include <sys/mman.h>
5828
5829 #if !STDC_HEADERS && !HAVE_STDLIB_H
5830 char *malloc ();
5831 #endif
5832
5833 /* This mess was copied from the GNU getpagesize.h.  */
5834 #if !HAVE_GETPAGESIZE
5835 /* Assume that all systems that can run configure have sys/param.h.  */
5836 # if !HAVE_SYS_PARAM_H
5837 #  define HAVE_SYS_PARAM_H 1
5838 # endif
5839
5840 # ifdef _SC_PAGESIZE
5841 #  define getpagesize() sysconf(_SC_PAGESIZE)
5842 # else /* no _SC_PAGESIZE */
5843 #  if HAVE_SYS_PARAM_H
5844 #   include <sys/param.h>
5845 #   ifdef EXEC_PAGESIZE
5846 #    define getpagesize() EXEC_PAGESIZE
5847 #   else /* no EXEC_PAGESIZE */
5848 #    ifdef NBPG
5849 #     define getpagesize() NBPG * CLSIZE
5850 #     ifndef CLSIZE
5851 #      define CLSIZE 1
5852 #     endif /* no CLSIZE */
5853 #    else /* no NBPG */
5854 #     ifdef NBPC
5855 #      define getpagesize() NBPC
5856 #     else /* no NBPC */
5857 #      ifdef PAGESIZE
5858 #       define getpagesize() PAGESIZE
5859 #      endif /* PAGESIZE */
5860 #     endif /* no NBPC */
5861 #    endif /* no NBPG */
5862 #   endif /* no EXEC_PAGESIZE */
5863 #  else /* no HAVE_SYS_PARAM_H */
5864 #   define getpagesize() 8192   /* punt totally */
5865 #  endif /* no HAVE_SYS_PARAM_H */
5866 # endif /* no _SC_PAGESIZE */
5867
5868 #endif /* no HAVE_GETPAGESIZE */
5869
5870 int
5871 main ()
5872 {
5873   char *data, *data2, *data3;
5874   int i, pagesize;
5875   int fd;
5876
5877   pagesize = getpagesize ();
5878
5879   /* First, make a file with some known garbage in it. */
5880   data = (char *) malloc (pagesize);
5881   if (!data)
5882     exit (1);
5883   for (i = 0; i < pagesize; ++i)
5884     *(data + i) = rand ();
5885   umask (0);
5886   fd = creat ("conftest.mmap", 0600);
5887   if (fd < 0)
5888     exit (1);
5889   if (write (fd, data, pagesize) != pagesize)
5890     exit (1);
5891   close (fd);
5892
5893   /* Next, try to mmap the file at a fixed address which already has
5894      something else allocated at it.  If we can, also make sure that
5895      we see the same garbage.  */
5896   fd = open ("conftest.mmap", O_RDWR);
5897   if (fd < 0)
5898     exit (1);
5899   data2 = (char *) malloc (2 * pagesize);
5900   if (!data2)
5901     exit (1);
5902   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5903   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5904                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
5905     exit (1);
5906   for (i = 0; i < pagesize; ++i)
5907     if (*(data + i) != *(data2 + i))
5908       exit (1);
5909
5910   /* Finally, make sure that changes to the mapped area do not
5911      percolate back to the file as seen by read().  (This is a bug on
5912      some variants of i386 svr4.0.)  */
5913   for (i = 0; i < pagesize; ++i)
5914     *(data2 + i) = *(data2 + i) + 1;
5915   data3 = (char *) malloc (pagesize);
5916   if (!data3)
5917     exit (1);
5918   if (read (fd, data3, pagesize) != pagesize)
5919     exit (1);
5920   for (i = 0; i < pagesize; ++i)
5921     if (*(data + i) != *(data3 + i))
5922       exit (1);
5923   close (fd);
5924   exit (0);
5925 }
5926 _ACEOF
5927 rm -f conftest$ac_exeext
5928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5929   (eval $ac_link) 2>&5
5930   ac_status=$?
5931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934   (eval $ac_try) 2>&5
5935   ac_status=$?
5936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937   (exit $ac_status); }; }; then
5938   ac_cv_func_mmap_fixed_mapped=yes
5939 else
5940   echo "$as_me: program exited with status $ac_status" >&5
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.$ac_ext >&5
5943
5944 ( exit $ac_status )
5945 ac_cv_func_mmap_fixed_mapped=no
5946 fi
5947 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5948 fi
5949 fi
5950 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5951 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5952 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5953
5954 cat >>confdefs.h <<\_ACEOF
5955 #define HAVE_MMAP 1
5956 _ACEOF
5957
5958 fi
5959 rm -f conftest.mmap
5960
5961 fi
5962 echo "$as_me:$LINENO: checking for off_t" >&5
5963 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5964 if test "${ac_cv_type_off_t+set}" = set; then
5965   echo $ECHO_N "(cached) $ECHO_C" >&6
5966 else
5967   cat >conftest.$ac_ext <<_ACEOF
5968 /* confdefs.h.  */
5969 _ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h.  */
5973 $ac_includes_default
5974 int
5975 main ()
5976 {
5977 if ((off_t *) 0)
5978   return 0;
5979 if (sizeof (off_t))
5980   return 0;
5981   ;
5982   return 0;
5983 }
5984 _ACEOF
5985 rm -f conftest.$ac_objext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987   (eval $ac_compile) 2>conftest.er1
5988   ac_status=$?
5989   grep -v '^ *+' conftest.er1 >conftest.err
5990   rm -f conftest.er1
5991   cat conftest.err >&5
5992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993   (exit $ac_status); } &&
5994          { ac_try='test -z "$ac_c_werror_flag"
5995                          || test ! -s conftest.err'
5996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997   (eval $ac_try) 2>&5
5998   ac_status=$?
5999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000   (exit $ac_status); }; } &&
6001          { ac_try='test -s conftest.$ac_objext'
6002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003   (eval $ac_try) 2>&5
6004   ac_status=$?
6005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006   (exit $ac_status); }; }; then
6007   ac_cv_type_off_t=yes
6008 else
6009   echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.$ac_ext >&5
6011
6012 ac_cv_type_off_t=no
6013 fi
6014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6015 fi
6016 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6017 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6018 if test $ac_cv_type_off_t = yes; then
6019   :
6020 else
6021
6022 cat >>confdefs.h <<_ACEOF
6023 #define off_t long
6024 _ACEOF
6025
6026 fi
6027
6028
6029 # check header files
6030 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6031 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6032 if test "${ac_cv_header_stdc+set}" = set; then
6033   echo $ECHO_N "(cached) $ECHO_C" >&6
6034 else
6035   cat >conftest.$ac_ext <<_ACEOF
6036 /* confdefs.h.  */
6037 _ACEOF
6038 cat confdefs.h >>conftest.$ac_ext
6039 cat >>conftest.$ac_ext <<_ACEOF
6040 /* end confdefs.h.  */
6041 #include <stdlib.h>
6042 #include <stdarg.h>
6043 #include <string.h>
6044 #include <float.h>
6045
6046 int
6047 main ()
6048 {
6049
6050   ;
6051   return 0;
6052 }
6053 _ACEOF
6054 rm -f conftest.$ac_objext
6055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6056   (eval $ac_compile) 2>conftest.er1
6057   ac_status=$?
6058   grep -v '^ *+' conftest.er1 >conftest.err
6059   rm -f conftest.er1
6060   cat conftest.err >&5
6061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062   (exit $ac_status); } &&
6063          { ac_try='test -z "$ac_c_werror_flag"
6064                          || test ! -s conftest.err'
6065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066   (eval $ac_try) 2>&5
6067   ac_status=$?
6068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069   (exit $ac_status); }; } &&
6070          { ac_try='test -s conftest.$ac_objext'
6071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072   (eval $ac_try) 2>&5
6073   ac_status=$?
6074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075   (exit $ac_status); }; }; then
6076   ac_cv_header_stdc=yes
6077 else
6078   echo "$as_me: failed program was:" >&5
6079 sed 's/^/| /' conftest.$ac_ext >&5
6080
6081 ac_cv_header_stdc=no
6082 fi
6083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6084
6085 if test $ac_cv_header_stdc = yes; then
6086   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6087   cat >conftest.$ac_ext <<_ACEOF
6088 /* confdefs.h.  */
6089 _ACEOF
6090 cat confdefs.h >>conftest.$ac_ext
6091 cat >>conftest.$ac_ext <<_ACEOF
6092 /* end confdefs.h.  */
6093 #include <string.h>
6094
6095 _ACEOF
6096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6097   $EGREP "memchr" >/dev/null 2>&1; then
6098   :
6099 else
6100   ac_cv_header_stdc=no
6101 fi
6102 rm -f conftest*
6103
6104 fi
6105
6106 if test $ac_cv_header_stdc = yes; then
6107   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6108   cat >conftest.$ac_ext <<_ACEOF
6109 /* confdefs.h.  */
6110 _ACEOF
6111 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF
6113 /* end confdefs.h.  */
6114 #include <stdlib.h>
6115
6116 _ACEOF
6117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6118   $EGREP "free" >/dev/null 2>&1; then
6119   :
6120 else
6121   ac_cv_header_stdc=no
6122 fi
6123 rm -f conftest*
6124
6125 fi
6126
6127 if test $ac_cv_header_stdc = yes; then
6128   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6129   if test "$cross_compiling" = yes; then
6130   :
6131 else
6132   cat >conftest.$ac_ext <<_ACEOF
6133 /* confdefs.h.  */
6134 _ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h.  */
6138 #include <ctype.h>
6139 #if ((' ' & 0x0FF) == 0x020)
6140 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6141 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6142 #else
6143 # define ISLOWER(c) \
6144                    (('a' <= (c) && (c) <= 'i') \
6145                      || ('j' <= (c) && (c) <= 'r') \
6146                      || ('s' <= (c) && (c) <= 'z'))
6147 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6148 #endif
6149
6150 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6151 int
6152 main ()
6153 {
6154   int i;
6155   for (i = 0; i < 256; i++)
6156     if (XOR (islower (i), ISLOWER (i))
6157         || toupper (i) != TOUPPER (i))
6158       exit(2);
6159   exit (0);
6160 }
6161 _ACEOF
6162 rm -f conftest$ac_exeext
6163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6164   (eval $ac_link) 2>&5
6165   ac_status=$?
6166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6169   (eval $ac_try) 2>&5
6170   ac_status=$?
6171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172   (exit $ac_status); }; }; then
6173   :
6174 else
6175   echo "$as_me: program exited with status $ac_status" >&5
6176 echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.$ac_ext >&5
6178
6179 ( exit $ac_status )
6180 ac_cv_header_stdc=no
6181 fi
6182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6183 fi
6184 fi
6185 fi
6186 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6187 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6188 if test $ac_cv_header_stdc = yes; then
6189
6190 cat >>confdefs.h <<\_ACEOF
6191 #define STDC_HEADERS 1
6192 _ACEOF
6193
6194 fi
6195
6196
6197
6198
6199
6200
6201
6202
6203 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6204 do
6205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6207   echo "$as_me:$LINENO: checking for $ac_header" >&5
6208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6210   echo $ECHO_N "(cached) $ECHO_C" >&6
6211 fi
6212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6214 else
6215   # Is the header compilable?
6216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6218 cat >conftest.$ac_ext <<_ACEOF
6219 /* confdefs.h.  */
6220 _ACEOF
6221 cat confdefs.h >>conftest.$ac_ext
6222 cat >>conftest.$ac_ext <<_ACEOF
6223 /* end confdefs.h.  */
6224 $ac_includes_default
6225 #include <$ac_header>
6226 _ACEOF
6227 rm -f conftest.$ac_objext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6229   (eval $ac_compile) 2>conftest.er1
6230   ac_status=$?
6231   grep -v '^ *+' conftest.er1 >conftest.err
6232   rm -f conftest.er1
6233   cat conftest.err >&5
6234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235   (exit $ac_status); } &&
6236          { ac_try='test -z "$ac_c_werror_flag"
6237                          || test ! -s conftest.err'
6238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239   (eval $ac_try) 2>&5
6240   ac_status=$?
6241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242   (exit $ac_status); }; } &&
6243          { ac_try='test -s conftest.$ac_objext'
6244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245   (eval $ac_try) 2>&5
6246   ac_status=$?
6247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248   (exit $ac_status); }; }; then
6249   ac_header_compiler=yes
6250 else
6251   echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6253
6254 ac_header_compiler=no
6255 fi
6256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6258 echo "${ECHO_T}$ac_header_compiler" >&6
6259
6260 # Is the header present?
6261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6263 cat >conftest.$ac_ext <<_ACEOF
6264 /* confdefs.h.  */
6265 _ACEOF
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h.  */
6269 #include <$ac_header>
6270 _ACEOF
6271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6272   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6273   ac_status=$?
6274   grep -v '^ *+' conftest.er1 >conftest.err
6275   rm -f conftest.er1
6276   cat conftest.err >&5
6277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278   (exit $ac_status); } >/dev/null; then
6279   if test -s conftest.err; then
6280     ac_cpp_err=$ac_c_preproc_warn_flag
6281     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6282   else
6283     ac_cpp_err=
6284   fi
6285 else
6286   ac_cpp_err=yes
6287 fi
6288 if test -z "$ac_cpp_err"; then
6289   ac_header_preproc=yes
6290 else
6291   echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6293
6294   ac_header_preproc=no
6295 fi
6296 rm -f conftest.err conftest.$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6298 echo "${ECHO_T}$ac_header_preproc" >&6
6299
6300 # So?  What about this header?
6301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6302   yes:no: )
6303     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6305     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6307     ac_header_preproc=yes
6308     ;;
6309   no:yes:* )
6310     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6312     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6313 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6314     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6316     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6317 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6318     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6320     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6322     (
6323       cat <<\_ASBOX
6324 ## ------------------------------------------------------ ##
6325 ## Report this to the GNU Fortran Runtime Library lists.  ##
6326 ## ------------------------------------------------------ ##
6327 _ASBOX
6328     ) |
6329       sed "s/^/$as_me: WARNING:     /" >&2
6330     ;;
6331 esac
6332 echo "$as_me:$LINENO: checking for $ac_header" >&5
6333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6335   echo $ECHO_N "(cached) $ECHO_C" >&6
6336 else
6337   eval "$as_ac_Header=\$ac_header_preproc"
6338 fi
6339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6341
6342 fi
6343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6344   cat >>confdefs.h <<_ACEOF
6345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346 _ACEOF
6347
6348 fi
6349
6350 done
6351
6352
6353
6354
6355
6356
6357 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6358 do
6359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6361   echo "$as_me:$LINENO: checking for $ac_header" >&5
6362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6364   echo $ECHO_N "(cached) $ECHO_C" >&6
6365 fi
6366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6368 else
6369   # Is the header compilable?
6370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6372 cat >conftest.$ac_ext <<_ACEOF
6373 /* confdefs.h.  */
6374 _ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h.  */
6378 $ac_includes_default
6379 #include <$ac_header>
6380 _ACEOF
6381 rm -f conftest.$ac_objext
6382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6383   (eval $ac_compile) 2>conftest.er1
6384   ac_status=$?
6385   grep -v '^ *+' conftest.er1 >conftest.err
6386   rm -f conftest.er1
6387   cat conftest.err >&5
6388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389   (exit $ac_status); } &&
6390          { ac_try='test -z "$ac_c_werror_flag"
6391                          || test ! -s conftest.err'
6392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393   (eval $ac_try) 2>&5
6394   ac_status=$?
6395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396   (exit $ac_status); }; } &&
6397          { ac_try='test -s conftest.$ac_objext'
6398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399   (eval $ac_try) 2>&5
6400   ac_status=$?
6401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402   (exit $ac_status); }; }; then
6403   ac_header_compiler=yes
6404 else
6405   echo "$as_me: failed program was:" >&5
6406 sed 's/^/| /' conftest.$ac_ext >&5
6407
6408 ac_header_compiler=no
6409 fi
6410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6412 echo "${ECHO_T}$ac_header_compiler" >&6
6413
6414 # Is the header present?
6415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6417 cat >conftest.$ac_ext <<_ACEOF
6418 /* confdefs.h.  */
6419 _ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h.  */
6423 #include <$ac_header>
6424 _ACEOF
6425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6426   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6427   ac_status=$?
6428   grep -v '^ *+' conftest.er1 >conftest.err
6429   rm -f conftest.er1
6430   cat conftest.err >&5
6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432   (exit $ac_status); } >/dev/null; then
6433   if test -s conftest.err; then
6434     ac_cpp_err=$ac_c_preproc_warn_flag
6435     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6436   else
6437     ac_cpp_err=
6438   fi
6439 else
6440   ac_cpp_err=yes
6441 fi
6442 if test -z "$ac_cpp_err"; then
6443   ac_header_preproc=yes
6444 else
6445   echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6447
6448   ac_header_preproc=no
6449 fi
6450 rm -f conftest.err conftest.$ac_ext
6451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6452 echo "${ECHO_T}$ac_header_preproc" >&6
6453
6454 # So?  What about this header?
6455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6456   yes:no: )
6457     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6459     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6461     ac_header_preproc=yes
6462     ;;
6463   no:yes:* )
6464     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6466     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6467 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6468     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6470     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6471 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6472     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6474     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6476     (
6477       cat <<\_ASBOX
6478 ## ------------------------------------------------------ ##
6479 ## Report this to the GNU Fortran Runtime Library lists.  ##
6480 ## ------------------------------------------------------ ##
6481 _ASBOX
6482     ) |
6483       sed "s/^/$as_me: WARNING:     /" >&2
6484     ;;
6485 esac
6486 echo "$as_me:$LINENO: checking for $ac_header" >&5
6487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6489   echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else
6491   eval "$as_ac_Header=\$ac_header_preproc"
6492 fi
6493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6495
6496 fi
6497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6498   cat >>confdefs.h <<_ACEOF
6499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6500 _ACEOF
6501
6502 fi
6503
6504 done
6505
6506
6507
6508
6509
6510 for ac_header in sys/mman.h sys/types.h sys/stat.h ieeefp.h
6511 do
6512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6514   echo "$as_me:$LINENO: checking for $ac_header" >&5
6515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6517   echo $ECHO_N "(cached) $ECHO_C" >&6
6518 fi
6519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6521 else
6522   # Is the header compilable?
6523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6525 cat >conftest.$ac_ext <<_ACEOF
6526 /* confdefs.h.  */
6527 _ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h.  */
6531 $ac_includes_default
6532 #include <$ac_header>
6533 _ACEOF
6534 rm -f conftest.$ac_objext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6536   (eval $ac_compile) 2>conftest.er1
6537   ac_status=$?
6538   grep -v '^ *+' conftest.er1 >conftest.err
6539   rm -f conftest.er1
6540   cat conftest.err >&5
6541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542   (exit $ac_status); } &&
6543          { ac_try='test -z "$ac_c_werror_flag"
6544                          || test ! -s conftest.err'
6545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546   (eval $ac_try) 2>&5
6547   ac_status=$?
6548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549   (exit $ac_status); }; } &&
6550          { ac_try='test -s conftest.$ac_objext'
6551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552   (eval $ac_try) 2>&5
6553   ac_status=$?
6554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555   (exit $ac_status); }; }; then
6556   ac_header_compiler=yes
6557 else
6558   echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.$ac_ext >&5
6560
6561 ac_header_compiler=no
6562 fi
6563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6565 echo "${ECHO_T}$ac_header_compiler" >&6
6566
6567 # Is the header present?
6568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6570 cat >conftest.$ac_ext <<_ACEOF
6571 /* confdefs.h.  */
6572 _ACEOF
6573 cat confdefs.h >>conftest.$ac_ext
6574 cat >>conftest.$ac_ext <<_ACEOF
6575 /* end confdefs.h.  */
6576 #include <$ac_header>
6577 _ACEOF
6578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6579   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6580   ac_status=$?
6581   grep -v '^ *+' conftest.er1 >conftest.err
6582   rm -f conftest.er1
6583   cat conftest.err >&5
6584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585   (exit $ac_status); } >/dev/null; then
6586   if test -s conftest.err; then
6587     ac_cpp_err=$ac_c_preproc_warn_flag
6588     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6589   else
6590     ac_cpp_err=
6591   fi
6592 else
6593   ac_cpp_err=yes
6594 fi
6595 if test -z "$ac_cpp_err"; then
6596   ac_header_preproc=yes
6597 else
6598   echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.$ac_ext >&5
6600
6601   ac_header_preproc=no
6602 fi
6603 rm -f conftest.err conftest.$ac_ext
6604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6605 echo "${ECHO_T}$ac_header_preproc" >&6
6606
6607 # So?  What about this header?
6608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6609   yes:no: )
6610     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6612     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6614     ac_header_preproc=yes
6615     ;;
6616   no:yes:* )
6617     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6619     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6620 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6621     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6623     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6624 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6625     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6627     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6629     (
6630       cat <<\_ASBOX
6631 ## ------------------------------------------------------ ##
6632 ## Report this to the GNU Fortran Runtime Library lists.  ##
6633 ## ------------------------------------------------------ ##
6634 _ASBOX
6635     ) |
6636       sed "s/^/$as_me: WARNING:     /" >&2
6637     ;;
6638 esac
6639 echo "$as_me:$LINENO: checking for $ac_header" >&5
6640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6642   echo $ECHO_N "(cached) $ECHO_C" >&6
6643 else
6644   eval "$as_ac_Header=\$ac_header_preproc"
6645 fi
6646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6648
6649 fi
6650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6651   cat >>confdefs.h <<_ACEOF
6652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6653 _ACEOF
6654
6655 fi
6656
6657 done
6658
6659 if test "${ac_cv_header_complex_h+set}" = set; then
6660   echo "$as_me:$LINENO: checking for complex.h" >&5
6661 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6662 if test "${ac_cv_header_complex_h+set}" = set; then
6663   echo $ECHO_N "(cached) $ECHO_C" >&6
6664 fi
6665 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6666 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6667 else
6668   # Is the header compilable?
6669 echo "$as_me:$LINENO: checking complex.h usability" >&5
6670 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6671 cat >conftest.$ac_ext <<_ACEOF
6672 /* confdefs.h.  */
6673 _ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h.  */
6677 $ac_includes_default
6678 #include <complex.h>
6679 _ACEOF
6680 rm -f conftest.$ac_objext
6681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6682   (eval $ac_compile) 2>conftest.er1
6683   ac_status=$?
6684   grep -v '^ *+' conftest.er1 >conftest.err
6685   rm -f conftest.er1
6686   cat conftest.err >&5
6687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688   (exit $ac_status); } &&
6689          { ac_try='test -z "$ac_c_werror_flag"
6690                          || test ! -s conftest.err'
6691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692   (eval $ac_try) 2>&5
6693   ac_status=$?
6694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695   (exit $ac_status); }; } &&
6696          { ac_try='test -s conftest.$ac_objext'
6697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698   (eval $ac_try) 2>&5
6699   ac_status=$?
6700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701   (exit $ac_status); }; }; then
6702   ac_header_compiler=yes
6703 else
6704   echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.$ac_ext >&5
6706
6707 ac_header_compiler=no
6708 fi
6709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6711 echo "${ECHO_T}$ac_header_compiler" >&6
6712
6713 # Is the header present?
6714 echo "$as_me:$LINENO: checking complex.h presence" >&5
6715 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6716 cat >conftest.$ac_ext <<_ACEOF
6717 /* confdefs.h.  */
6718 _ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h.  */
6722 #include <complex.h>
6723 _ACEOF
6724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6725   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6726   ac_status=$?
6727   grep -v '^ *+' conftest.er1 >conftest.err
6728   rm -f conftest.er1
6729   cat conftest.err >&5
6730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731   (exit $ac_status); } >/dev/null; then
6732   if test -s conftest.err; then
6733     ac_cpp_err=$ac_c_preproc_warn_flag
6734     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6735   else
6736     ac_cpp_err=
6737   fi
6738 else
6739   ac_cpp_err=yes
6740 fi
6741 if test -z "$ac_cpp_err"; then
6742   ac_header_preproc=yes
6743 else
6744   echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6746
6747   ac_header_preproc=no
6748 fi
6749 rm -f conftest.err conftest.$ac_ext
6750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6751 echo "${ECHO_T}$ac_header_preproc" >&6
6752
6753 # So?  What about this header?
6754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6755   yes:no: )
6756     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6757 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6758     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6759 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6760     ac_header_preproc=yes
6761     ;;
6762   no:yes:* )
6763     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6764 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6765     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
6766 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
6767     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6768 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6769     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
6770 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6771     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6772 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6773     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6774 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6775     (
6776       cat <<\_ASBOX
6777 ## ------------------------------------------------------ ##
6778 ## Report this to the GNU Fortran Runtime Library lists.  ##
6779 ## ------------------------------------------------------ ##
6780 _ASBOX
6781     ) |
6782       sed "s/^/$as_me: WARNING:     /" >&2
6783     ;;
6784 esac
6785 echo "$as_me:$LINENO: checking for complex.h" >&5
6786 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6787 if test "${ac_cv_header_complex_h+set}" = set; then
6788   echo $ECHO_N "(cached) $ECHO_C" >&6
6789 else
6790   ac_cv_header_complex_h=$ac_header_preproc
6791 fi
6792 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6793 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6794
6795 fi
6796 if test $ac_cv_header_complex_h = yes; then
6797
6798 cat >>confdefs.h <<\_ACEOF
6799 #define HAVE_COMPLEX_H 1
6800 _ACEOF
6801
6802 fi
6803
6804
6805
6806 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6807 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6808 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6809   echo $ECHO_N "(cached) $ECHO_C" >&6
6810 else
6811   cat >conftest.$ac_ext <<_ACEOF
6812 /* confdefs.h.  */
6813 _ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h.  */
6817 $ac_includes_default
6818 int
6819 main ()
6820 {
6821 static struct stat ac_aggr;
6822 if (ac_aggr.st_blksize)
6823 return 0;
6824   ;
6825   return 0;
6826 }
6827 _ACEOF
6828 rm -f conftest.$ac_objext
6829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6830   (eval $ac_compile) 2>conftest.er1
6831   ac_status=$?
6832   grep -v '^ *+' conftest.er1 >conftest.err
6833   rm -f conftest.er1
6834   cat conftest.err >&5
6835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836   (exit $ac_status); } &&
6837          { ac_try='test -z "$ac_c_werror_flag"
6838                          || test ! -s conftest.err'
6839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840   (eval $ac_try) 2>&5
6841   ac_status=$?
6842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843   (exit $ac_status); }; } &&
6844          { ac_try='test -s conftest.$ac_objext'
6845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846   (eval $ac_try) 2>&5
6847   ac_status=$?
6848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849   (exit $ac_status); }; }; then
6850   ac_cv_member_struct_stat_st_blksize=yes
6851 else
6852   echo "$as_me: failed program was:" >&5
6853 sed 's/^/| /' conftest.$ac_ext >&5
6854
6855 cat >conftest.$ac_ext <<_ACEOF
6856 /* confdefs.h.  */
6857 _ACEOF
6858 cat confdefs.h >>conftest.$ac_ext
6859 cat >>conftest.$ac_ext <<_ACEOF
6860 /* end confdefs.h.  */
6861 $ac_includes_default
6862 int
6863 main ()
6864 {
6865 static struct stat ac_aggr;
6866 if (sizeof ac_aggr.st_blksize)
6867 return 0;
6868   ;
6869   return 0;
6870 }
6871 _ACEOF
6872 rm -f conftest.$ac_objext
6873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6874   (eval $ac_compile) 2>conftest.er1
6875   ac_status=$?
6876   grep -v '^ *+' conftest.er1 >conftest.err
6877   rm -f conftest.er1
6878   cat conftest.err >&5
6879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880   (exit $ac_status); } &&
6881          { ac_try='test -z "$ac_c_werror_flag"
6882                          || test ! -s conftest.err'
6883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884   (eval $ac_try) 2>&5
6885   ac_status=$?
6886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887   (exit $ac_status); }; } &&
6888          { ac_try='test -s conftest.$ac_objext'
6889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6890   (eval $ac_try) 2>&5
6891   ac_status=$?
6892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893   (exit $ac_status); }; }; then
6894   ac_cv_member_struct_stat_st_blksize=yes
6895 else
6896   echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.$ac_ext >&5
6898
6899 ac_cv_member_struct_stat_st_blksize=no
6900 fi
6901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6902 fi
6903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6904 fi
6905 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6906 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
6907 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6908
6909 cat >>confdefs.h <<_ACEOF
6910 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6911 _ACEOF
6912
6913
6914 fi
6915
6916 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6917 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
6918 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6919   echo $ECHO_N "(cached) $ECHO_C" >&6
6920 else
6921   cat >conftest.$ac_ext <<_ACEOF
6922 /* confdefs.h.  */
6923 _ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h.  */
6927 $ac_includes_default
6928 int
6929 main ()
6930 {
6931 static struct stat ac_aggr;
6932 if (ac_aggr.st_blocks)
6933 return 0;
6934   ;
6935   return 0;
6936 }
6937 _ACEOF
6938 rm -f conftest.$ac_objext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6940   (eval $ac_compile) 2>conftest.er1
6941   ac_status=$?
6942   grep -v '^ *+' conftest.er1 >conftest.err
6943   rm -f conftest.er1
6944   cat conftest.err >&5
6945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946   (exit $ac_status); } &&
6947          { ac_try='test -z "$ac_c_werror_flag"
6948                          || test ! -s conftest.err'
6949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950   (eval $ac_try) 2>&5
6951   ac_status=$?
6952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953   (exit $ac_status); }; } &&
6954          { ac_try='test -s conftest.$ac_objext'
6955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956   (eval $ac_try) 2>&5
6957   ac_status=$?
6958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959   (exit $ac_status); }; }; then
6960   ac_cv_member_struct_stat_st_blocks=yes
6961 else
6962   echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6964
6965 cat >conftest.$ac_ext <<_ACEOF
6966 /* confdefs.h.  */
6967 _ACEOF
6968 cat confdefs.h >>conftest.$ac_ext
6969 cat >>conftest.$ac_ext <<_ACEOF
6970 /* end confdefs.h.  */
6971 $ac_includes_default
6972 int
6973 main ()
6974 {
6975 static struct stat ac_aggr;
6976 if (sizeof ac_aggr.st_blocks)
6977 return 0;
6978   ;
6979   return 0;
6980 }
6981 _ACEOF
6982 rm -f conftest.$ac_objext
6983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6984   (eval $ac_compile) 2>conftest.er1
6985   ac_status=$?
6986   grep -v '^ *+' conftest.er1 >conftest.err
6987   rm -f conftest.er1
6988   cat conftest.err >&5
6989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990   (exit $ac_status); } &&
6991          { ac_try='test -z "$ac_c_werror_flag"
6992                          || test ! -s conftest.err'
6993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994   (eval $ac_try) 2>&5
6995   ac_status=$?
6996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997   (exit $ac_status); }; } &&
6998          { ac_try='test -s conftest.$ac_objext'
6999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000   (eval $ac_try) 2>&5
7001   ac_status=$?
7002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003   (exit $ac_status); }; }; then
7004   ac_cv_member_struct_stat_st_blocks=yes
7005 else
7006   echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7008
7009 ac_cv_member_struct_stat_st_blocks=no
7010 fi
7011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7012 fi
7013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7014 fi
7015 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7016 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7017 if test $ac_cv_member_struct_stat_st_blocks = yes; then
7018
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7021 _ACEOF
7022
7023
7024 fi
7025
7026 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7027 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7028 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7029   echo $ECHO_N "(cached) $ECHO_C" >&6
7030 else
7031   cat >conftest.$ac_ext <<_ACEOF
7032 /* confdefs.h.  */
7033 _ACEOF
7034 cat confdefs.h >>conftest.$ac_ext
7035 cat >>conftest.$ac_ext <<_ACEOF
7036 /* end confdefs.h.  */
7037 $ac_includes_default
7038 int
7039 main ()
7040 {
7041 static struct stat ac_aggr;
7042 if (ac_aggr.st_rdev)
7043 return 0;
7044   ;
7045   return 0;
7046 }
7047 _ACEOF
7048 rm -f conftest.$ac_objext
7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7050   (eval $ac_compile) 2>conftest.er1
7051   ac_status=$?
7052   grep -v '^ *+' conftest.er1 >conftest.err
7053   rm -f conftest.er1
7054   cat conftest.err >&5
7055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056   (exit $ac_status); } &&
7057          { ac_try='test -z "$ac_c_werror_flag"
7058                          || test ! -s conftest.err'
7059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060   (eval $ac_try) 2>&5
7061   ac_status=$?
7062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063   (exit $ac_status); }; } &&
7064          { ac_try='test -s conftest.$ac_objext'
7065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066   (eval $ac_try) 2>&5
7067   ac_status=$?
7068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069   (exit $ac_status); }; }; then
7070   ac_cv_member_struct_stat_st_rdev=yes
7071 else
7072   echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7074
7075 cat >conftest.$ac_ext <<_ACEOF
7076 /* confdefs.h.  */
7077 _ACEOF
7078 cat confdefs.h >>conftest.$ac_ext
7079 cat >>conftest.$ac_ext <<_ACEOF
7080 /* end confdefs.h.  */
7081 $ac_includes_default
7082 int
7083 main ()
7084 {
7085 static struct stat ac_aggr;
7086 if (sizeof ac_aggr.st_rdev)
7087 return 0;
7088   ;
7089   return 0;
7090 }
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094   (eval $ac_compile) 2>conftest.er1
7095   ac_status=$?
7096   grep -v '^ *+' conftest.er1 >conftest.err
7097   rm -f conftest.er1
7098   cat conftest.err >&5
7099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100   (exit $ac_status); } &&
7101          { ac_try='test -z "$ac_c_werror_flag"
7102                          || test ! -s conftest.err'
7103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104   (eval $ac_try) 2>&5
7105   ac_status=$?
7106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107   (exit $ac_status); }; } &&
7108          { ac_try='test -s conftest.$ac_objext'
7109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110   (eval $ac_try) 2>&5
7111   ac_status=$?
7112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113   (exit $ac_status); }; }; then
7114   ac_cv_member_struct_stat_st_rdev=yes
7115 else
7116   echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7118
7119 ac_cv_member_struct_stat_st_rdev=no
7120 fi
7121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7122 fi
7123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7124 fi
7125 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7126 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7127 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7128
7129 cat >>confdefs.h <<_ACEOF
7130 #define HAVE_STRUCT_STAT_ST_RDEV 1
7131 _ACEOF
7132
7133
7134 fi
7135
7136
7137 # Check for library functions.
7138
7139
7140
7141
7142
7143
7144
7145
7146 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7147 do
7148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7149 echo "$as_me:$LINENO: checking for $ac_func" >&5
7150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7151 if eval "test \"\${$as_ac_var+set}\" = set"; then
7152   echo $ECHO_N "(cached) $ECHO_C" >&6
7153 else
7154   if test x$gcc_no_link = xyes; then
7155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7157    { (exit 1); exit 1; }; }
7158 fi
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h.  */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h.  */
7165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7167 #define $ac_func innocuous_$ac_func
7168
7169 /* System header to define __stub macros and hopefully few prototypes,
7170     which can conflict with char $ac_func (); below.
7171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7172     <limits.h> exists even on freestanding compilers.  */
7173
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179
7180 #undef $ac_func
7181
7182 /* Override any gcc2 internal prototype to avoid an error.  */
7183 #ifdef __cplusplus
7184 extern "C"
7185 {
7186 #endif
7187 /* We use char because int might match the return type of a gcc2
7188    builtin and then its argument prototype would still apply.  */
7189 char $ac_func ();
7190 /* The GNU C library defines this for functions which it implements
7191     to always fail with ENOSYS.  Some functions are actually named
7192     something starting with __ and the normal name is an alias.  */
7193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7194 choke me
7195 #else
7196 char (*f) () = $ac_func;
7197 #endif
7198 #ifdef __cplusplus
7199 }
7200 #endif
7201
7202 int
7203 main ()
7204 {
7205 return f != $ac_func;
7206   ;
7207   return 0;
7208 }
7209 _ACEOF
7210 rm -f conftest.$ac_objext conftest$ac_exeext
7211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7212   (eval $ac_link) 2>conftest.er1
7213   ac_status=$?
7214   grep -v '^ *+' conftest.er1 >conftest.err
7215   rm -f conftest.er1
7216   cat conftest.err >&5
7217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218   (exit $ac_status); } &&
7219          { ac_try='test -z "$ac_c_werror_flag"
7220                          || test ! -s conftest.err'
7221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222   (eval $ac_try) 2>&5
7223   ac_status=$?
7224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225   (exit $ac_status); }; } &&
7226          { ac_try='test -s conftest$ac_exeext'
7227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228   (eval $ac_try) 2>&5
7229   ac_status=$?
7230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231   (exit $ac_status); }; }; then
7232   eval "$as_ac_var=yes"
7233 else
7234   echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.$ac_ext >&5
7236
7237 eval "$as_ac_var=no"
7238 fi
7239 rm -f conftest.err conftest.$ac_objext \
7240       conftest$ac_exeext conftest.$ac_ext
7241 fi
7242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7244 if test `eval echo '${'$as_ac_var'}'` = yes; then
7245   cat >>confdefs.h <<_ACEOF
7246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7247 _ACEOF
7248
7249 fi
7250 done
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7261 do
7262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7263 echo "$as_me:$LINENO: checking for $ac_func" >&5
7264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7265 if eval "test \"\${$as_ac_var+set}\" = set"; then
7266   echo $ECHO_N "(cached) $ECHO_C" >&6
7267 else
7268   if test x$gcc_no_link = xyes; then
7269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7271    { (exit 1); exit 1; }; }
7272 fi
7273 cat >conftest.$ac_ext <<_ACEOF
7274 /* confdefs.h.  */
7275 _ACEOF
7276 cat confdefs.h >>conftest.$ac_ext
7277 cat >>conftest.$ac_ext <<_ACEOF
7278 /* end confdefs.h.  */
7279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7281 #define $ac_func innocuous_$ac_func
7282
7283 /* System header to define __stub macros and hopefully few prototypes,
7284     which can conflict with char $ac_func (); below.
7285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7286     <limits.h> exists even on freestanding compilers.  */
7287
7288 #ifdef __STDC__
7289 # include <limits.h>
7290 #else
7291 # include <assert.h>
7292 #endif
7293
7294 #undef $ac_func
7295
7296 /* Override any gcc2 internal prototype to avoid an error.  */
7297 #ifdef __cplusplus
7298 extern "C"
7299 {
7300 #endif
7301 /* We use char because int might match the return type of a gcc2
7302    builtin and then its argument prototype would still apply.  */
7303 char $ac_func ();
7304 /* The GNU C library defines this for functions which it implements
7305     to always fail with ENOSYS.  Some functions are actually named
7306     something starting with __ and the normal name is an alias.  */
7307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7308 choke me
7309 #else
7310 char (*f) () = $ac_func;
7311 #endif
7312 #ifdef __cplusplus
7313 }
7314 #endif
7315
7316 int
7317 main ()
7318 {
7319 return f != $ac_func;
7320   ;
7321   return 0;
7322 }
7323 _ACEOF
7324 rm -f conftest.$ac_objext conftest$ac_exeext
7325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7326   (eval $ac_link) 2>conftest.er1
7327   ac_status=$?
7328   grep -v '^ *+' conftest.er1 >conftest.err
7329   rm -f conftest.er1
7330   cat conftest.err >&5
7331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332   (exit $ac_status); } &&
7333          { ac_try='test -z "$ac_c_werror_flag"
7334                          || test ! -s conftest.err'
7335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336   (eval $ac_try) 2>&5
7337   ac_status=$?
7338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339   (exit $ac_status); }; } &&
7340          { ac_try='test -s conftest$ac_exeext'
7341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342   (eval $ac_try) 2>&5
7343   ac_status=$?
7344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345   (exit $ac_status); }; }; then
7346   eval "$as_ac_var=yes"
7347 else
7348   echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7350
7351 eval "$as_ac_var=no"
7352 fi
7353 rm -f conftest.err conftest.$ac_objext \
7354       conftest$ac_exeext conftest.$ac_ext
7355 fi
7356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7358 if test `eval echo '${'$as_ac_var'}'` = yes; then
7359   cat >>confdefs.h <<_ACEOF
7360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7361 _ACEOF
7362
7363 fi
7364 done
7365
7366
7367
7368
7369 for ac_func in sleep time ttyname
7370 do
7371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7372 echo "$as_me:$LINENO: checking for $ac_func" >&5
7373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7374 if eval "test \"\${$as_ac_var+set}\" = set"; then
7375   echo $ECHO_N "(cached) $ECHO_C" >&6
7376 else
7377   if test x$gcc_no_link = xyes; then
7378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7380    { (exit 1); exit 1; }; }
7381 fi
7382 cat >conftest.$ac_ext <<_ACEOF
7383 /* confdefs.h.  */
7384 _ACEOF
7385 cat confdefs.h >>conftest.$ac_ext
7386 cat >>conftest.$ac_ext <<_ACEOF
7387 /* end confdefs.h.  */
7388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7390 #define $ac_func innocuous_$ac_func
7391
7392 /* System header to define __stub macros and hopefully few prototypes,
7393     which can conflict with char $ac_func (); below.
7394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7395     <limits.h> exists even on freestanding compilers.  */
7396
7397 #ifdef __STDC__
7398 # include <limits.h>
7399 #else
7400 # include <assert.h>
7401 #endif
7402
7403 #undef $ac_func
7404
7405 /* Override any gcc2 internal prototype to avoid an error.  */
7406 #ifdef __cplusplus
7407 extern "C"
7408 {
7409 #endif
7410 /* We use char because int might match the return type of a gcc2
7411    builtin and then its argument prototype would still apply.  */
7412 char $ac_func ();
7413 /* The GNU C library defines this for functions which it implements
7414     to always fail with ENOSYS.  Some functions are actually named
7415     something starting with __ and the normal name is an alias.  */
7416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7417 choke me
7418 #else
7419 char (*f) () = $ac_func;
7420 #endif
7421 #ifdef __cplusplus
7422 }
7423 #endif
7424
7425 int
7426 main ()
7427 {
7428 return f != $ac_func;
7429   ;
7430   return 0;
7431 }
7432 _ACEOF
7433 rm -f conftest.$ac_objext conftest$ac_exeext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435   (eval $ac_link) 2>conftest.er1
7436   ac_status=$?
7437   grep -v '^ *+' conftest.er1 >conftest.err
7438   rm -f conftest.er1
7439   cat conftest.err >&5
7440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441   (exit $ac_status); } &&
7442          { ac_try='test -z "$ac_c_werror_flag"
7443                          || test ! -s conftest.err'
7444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445   (eval $ac_try) 2>&5
7446   ac_status=$?
7447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448   (exit $ac_status); }; } &&
7449          { ac_try='test -s conftest$ac_exeext'
7450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451   (eval $ac_try) 2>&5
7452   ac_status=$?
7453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454   (exit $ac_status); }; }; then
7455   eval "$as_ac_var=yes"
7456 else
7457   echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7459
7460 eval "$as_ac_var=no"
7461 fi
7462 rm -f conftest.err conftest.$ac_objext \
7463       conftest$ac_exeext conftest.$ac_ext
7464 fi
7465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7467 if test `eval echo '${'$as_ac_var'}'` = yes; then
7468   cat >>confdefs.h <<_ACEOF
7469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7470 _ACEOF
7471
7472 fi
7473 done
7474
7475
7476 # Check libc for getgid, getpid, getuid
7477 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7478 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7479 if test "${ac_cv_lib_c_getgid+set}" = set; then
7480   echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482   ac_check_lib_save_LIBS=$LIBS
7483 LIBS="-lc  $LIBS"
7484 if test x$gcc_no_link = xyes; then
7485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7487    { (exit 1); exit 1; }; }
7488 fi
7489 cat >conftest.$ac_ext <<_ACEOF
7490 /* confdefs.h.  */
7491 _ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h.  */
7495
7496 /* Override any gcc2 internal prototype to avoid an error.  */
7497 #ifdef __cplusplus
7498 extern "C"
7499 #endif
7500 /* We use char because int might match the return type of a gcc2
7501    builtin and then its argument prototype would still apply.  */
7502 char getgid ();
7503 int
7504 main ()
7505 {
7506 getgid ();
7507   ;
7508   return 0;
7509 }
7510 _ACEOF
7511 rm -f conftest.$ac_objext conftest$ac_exeext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7513   (eval $ac_link) 2>conftest.er1
7514   ac_status=$?
7515   grep -v '^ *+' conftest.er1 >conftest.err
7516   rm -f conftest.er1
7517   cat conftest.err >&5
7518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519   (exit $ac_status); } &&
7520          { ac_try='test -z "$ac_c_werror_flag"
7521                          || test ! -s conftest.err'
7522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523   (eval $ac_try) 2>&5
7524   ac_status=$?
7525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526   (exit $ac_status); }; } &&
7527          { ac_try='test -s conftest$ac_exeext'
7528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529   (eval $ac_try) 2>&5
7530   ac_status=$?
7531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532   (exit $ac_status); }; }; then
7533   ac_cv_lib_c_getgid=yes
7534 else
7535   echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7537
7538 ac_cv_lib_c_getgid=no
7539 fi
7540 rm -f conftest.err conftest.$ac_objext \
7541       conftest$ac_exeext conftest.$ac_ext
7542 LIBS=$ac_check_lib_save_LIBS
7543 fi
7544 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7545 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7546 if test $ac_cv_lib_c_getgid = yes; then
7547
7548 cat >>confdefs.h <<\_ACEOF
7549 #define HAVE_GETGID 1
7550 _ACEOF
7551
7552 fi
7553
7554 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7555 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7556 if test "${ac_cv_lib_c_getpid+set}" = set; then
7557   echo $ECHO_N "(cached) $ECHO_C" >&6
7558 else
7559   ac_check_lib_save_LIBS=$LIBS
7560 LIBS="-lc  $LIBS"
7561 if test x$gcc_no_link = xyes; then
7562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7564    { (exit 1); exit 1; }; }
7565 fi
7566 cat >conftest.$ac_ext <<_ACEOF
7567 /* confdefs.h.  */
7568 _ACEOF
7569 cat confdefs.h >>conftest.$ac_ext
7570 cat >>conftest.$ac_ext <<_ACEOF
7571 /* end confdefs.h.  */
7572
7573 /* Override any gcc2 internal prototype to avoid an error.  */
7574 #ifdef __cplusplus
7575 extern "C"
7576 #endif
7577 /* We use char because int might match the return type of a gcc2
7578    builtin and then its argument prototype would still apply.  */
7579 char getpid ();
7580 int
7581 main ()
7582 {
7583 getpid ();
7584   ;
7585   return 0;
7586 }
7587 _ACEOF
7588 rm -f conftest.$ac_objext conftest$ac_exeext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7590   (eval $ac_link) 2>conftest.er1
7591   ac_status=$?
7592   grep -v '^ *+' conftest.er1 >conftest.err
7593   rm -f conftest.er1
7594   cat conftest.err >&5
7595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596   (exit $ac_status); } &&
7597          { ac_try='test -z "$ac_c_werror_flag"
7598                          || test ! -s conftest.err'
7599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600   (eval $ac_try) 2>&5
7601   ac_status=$?
7602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603   (exit $ac_status); }; } &&
7604          { ac_try='test -s conftest$ac_exeext'
7605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606   (eval $ac_try) 2>&5
7607   ac_status=$?
7608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609   (exit $ac_status); }; }; then
7610   ac_cv_lib_c_getpid=yes
7611 else
7612   echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7614
7615 ac_cv_lib_c_getpid=no
7616 fi
7617 rm -f conftest.err conftest.$ac_objext \
7618       conftest$ac_exeext conftest.$ac_ext
7619 LIBS=$ac_check_lib_save_LIBS
7620 fi
7621 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7622 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7623 if test $ac_cv_lib_c_getpid = yes; then
7624
7625 cat >>confdefs.h <<\_ACEOF
7626 #define HAVE_GETPID 1
7627 _ACEOF
7628
7629 fi
7630
7631 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7632 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7633 if test "${ac_cv_lib_c_getuid+set}" = set; then
7634   echo $ECHO_N "(cached) $ECHO_C" >&6
7635 else
7636   ac_check_lib_save_LIBS=$LIBS
7637 LIBS="-lc  $LIBS"
7638 if test x$gcc_no_link = xyes; then
7639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7641    { (exit 1); exit 1; }; }
7642 fi
7643 cat >conftest.$ac_ext <<_ACEOF
7644 /* confdefs.h.  */
7645 _ACEOF
7646 cat confdefs.h >>conftest.$ac_ext
7647 cat >>conftest.$ac_ext <<_ACEOF
7648 /* end confdefs.h.  */
7649
7650 /* Override any gcc2 internal prototype to avoid an error.  */
7651 #ifdef __cplusplus
7652 extern "C"
7653 #endif
7654 /* We use char because int might match the return type of a gcc2
7655    builtin and then its argument prototype would still apply.  */
7656 char getuid ();
7657 int
7658 main ()
7659 {
7660 getuid ();
7661   ;
7662   return 0;
7663 }
7664 _ACEOF
7665 rm -f conftest.$ac_objext conftest$ac_exeext
7666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7667   (eval $ac_link) 2>conftest.er1
7668   ac_status=$?
7669   grep -v '^ *+' conftest.er1 >conftest.err
7670   rm -f conftest.er1
7671   cat conftest.err >&5
7672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673   (exit $ac_status); } &&
7674          { ac_try='test -z "$ac_c_werror_flag"
7675                          || test ! -s conftest.err'
7676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677   (eval $ac_try) 2>&5
7678   ac_status=$?
7679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680   (exit $ac_status); }; } &&
7681          { ac_try='test -s conftest$ac_exeext'
7682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7683   (eval $ac_try) 2>&5
7684   ac_status=$?
7685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686   (exit $ac_status); }; }; then
7687   ac_cv_lib_c_getuid=yes
7688 else
7689   echo "$as_me: failed program was:" >&5
7690 sed 's/^/| /' conftest.$ac_ext >&5
7691
7692 ac_cv_lib_c_getuid=no
7693 fi
7694 rm -f conftest.err conftest.$ac_objext \
7695       conftest$ac_exeext conftest.$ac_ext
7696 LIBS=$ac_check_lib_save_LIBS
7697 fi
7698 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7699 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7700 if test $ac_cv_lib_c_getuid = yes; then
7701
7702 cat >>confdefs.h <<\_ACEOF
7703 #define HAVE_GETUID 1
7704 _ACEOF
7705
7706 fi
7707
7708
7709 # Check for C99 (and other IEEE) math functions
7710 # ??? This list seems awful long. Is there a better way to test for these?
7711 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7712 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7713 if test "${ac_cv_lib_m_acosf+set}" = set; then
7714   echo $ECHO_N "(cached) $ECHO_C" >&6
7715 else
7716   ac_check_lib_save_LIBS=$LIBS
7717 LIBS="-lm  $LIBS"
7718 if test x$gcc_no_link = xyes; then
7719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7721    { (exit 1); exit 1; }; }
7722 fi
7723 cat >conftest.$ac_ext <<_ACEOF
7724 /* confdefs.h.  */
7725 _ACEOF
7726 cat confdefs.h >>conftest.$ac_ext
7727 cat >>conftest.$ac_ext <<_ACEOF
7728 /* end confdefs.h.  */
7729
7730 /* Override any gcc2 internal prototype to avoid an error.  */
7731 #ifdef __cplusplus
7732 extern "C"
7733 #endif
7734 /* We use char because int might match the return type of a gcc2
7735    builtin and then its argument prototype would still apply.  */
7736 char acosf ();
7737 int
7738 main ()
7739 {
7740 acosf ();
7741   ;
7742   return 0;
7743 }
7744 _ACEOF
7745 rm -f conftest.$ac_objext conftest$ac_exeext
7746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7747   (eval $ac_link) 2>conftest.er1
7748   ac_status=$?
7749   grep -v '^ *+' conftest.er1 >conftest.err
7750   rm -f conftest.er1
7751   cat conftest.err >&5
7752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753   (exit $ac_status); } &&
7754          { ac_try='test -z "$ac_c_werror_flag"
7755                          || test ! -s conftest.err'
7756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757   (eval $ac_try) 2>&5
7758   ac_status=$?
7759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760   (exit $ac_status); }; } &&
7761          { ac_try='test -s conftest$ac_exeext'
7762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763   (eval $ac_try) 2>&5
7764   ac_status=$?
7765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766   (exit $ac_status); }; }; then
7767   ac_cv_lib_m_acosf=yes
7768 else
7769   echo "$as_me: failed program was:" >&5
7770 sed 's/^/| /' conftest.$ac_ext >&5
7771
7772 ac_cv_lib_m_acosf=no
7773 fi
7774 rm -f conftest.err conftest.$ac_objext \
7775       conftest$ac_exeext conftest.$ac_ext
7776 LIBS=$ac_check_lib_save_LIBS
7777 fi
7778 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7779 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7780 if test $ac_cv_lib_m_acosf = yes; then
7781
7782 cat >>confdefs.h <<\_ACEOF
7783 #define HAVE_ACOSF 1
7784 _ACEOF
7785
7786 fi
7787
7788 echo "$as_me:$LINENO: checking for acos in -lm" >&5
7789 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7790 if test "${ac_cv_lib_m_acos+set}" = set; then
7791   echo $ECHO_N "(cached) $ECHO_C" >&6
7792 else
7793   ac_check_lib_save_LIBS=$LIBS
7794 LIBS="-lm  $LIBS"
7795 if test x$gcc_no_link = xyes; then
7796   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7798    { (exit 1); exit 1; }; }
7799 fi
7800 cat >conftest.$ac_ext <<_ACEOF
7801 /* confdefs.h.  */
7802 _ACEOF
7803 cat confdefs.h >>conftest.$ac_ext
7804 cat >>conftest.$ac_ext <<_ACEOF
7805 /* end confdefs.h.  */
7806
7807 /* Override any gcc2 internal prototype to avoid an error.  */
7808 #ifdef __cplusplus
7809 extern "C"
7810 #endif
7811 /* We use char because int might match the return type of a gcc2
7812    builtin and then its argument prototype would still apply.  */
7813 char acos ();
7814 int
7815 main ()
7816 {
7817 acos ();
7818   ;
7819   return 0;
7820 }
7821 _ACEOF
7822 rm -f conftest.$ac_objext conftest$ac_exeext
7823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7824   (eval $ac_link) 2>conftest.er1
7825   ac_status=$?
7826   grep -v '^ *+' conftest.er1 >conftest.err
7827   rm -f conftest.er1
7828   cat conftest.err >&5
7829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830   (exit $ac_status); } &&
7831          { ac_try='test -z "$ac_c_werror_flag"
7832                          || test ! -s conftest.err'
7833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834   (eval $ac_try) 2>&5
7835   ac_status=$?
7836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837   (exit $ac_status); }; } &&
7838          { ac_try='test -s conftest$ac_exeext'
7839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7840   (eval $ac_try) 2>&5
7841   ac_status=$?
7842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843   (exit $ac_status); }; }; then
7844   ac_cv_lib_m_acos=yes
7845 else
7846   echo "$as_me: failed program was:" >&5
7847 sed 's/^/| /' conftest.$ac_ext >&5
7848
7849 ac_cv_lib_m_acos=no
7850 fi
7851 rm -f conftest.err conftest.$ac_objext \
7852       conftest$ac_exeext conftest.$ac_ext
7853 LIBS=$ac_check_lib_save_LIBS
7854 fi
7855 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
7856 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
7857 if test $ac_cv_lib_m_acos = yes; then
7858
7859 cat >>confdefs.h <<\_ACEOF
7860 #define HAVE_ACOS 1
7861 _ACEOF
7862
7863 fi
7864
7865 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
7866 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
7867 if test "${ac_cv_lib_m_acosl+set}" = set; then
7868   echo $ECHO_N "(cached) $ECHO_C" >&6
7869 else
7870   ac_check_lib_save_LIBS=$LIBS
7871 LIBS="-lm  $LIBS"
7872 if test x$gcc_no_link = xyes; then
7873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7875    { (exit 1); exit 1; }; }
7876 fi
7877 cat >conftest.$ac_ext <<_ACEOF
7878 /* confdefs.h.  */
7879 _ACEOF
7880 cat confdefs.h >>conftest.$ac_ext
7881 cat >>conftest.$ac_ext <<_ACEOF
7882 /* end confdefs.h.  */
7883
7884 /* Override any gcc2 internal prototype to avoid an error.  */
7885 #ifdef __cplusplus
7886 extern "C"
7887 #endif
7888 /* We use char because int might match the return type of a gcc2
7889    builtin and then its argument prototype would still apply.  */
7890 char acosl ();
7891 int
7892 main ()
7893 {
7894 acosl ();
7895   ;
7896   return 0;
7897 }
7898 _ACEOF
7899 rm -f conftest.$ac_objext conftest$ac_exeext
7900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7901   (eval $ac_link) 2>conftest.er1
7902   ac_status=$?
7903   grep -v '^ *+' conftest.er1 >conftest.err
7904   rm -f conftest.er1
7905   cat conftest.err >&5
7906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907   (exit $ac_status); } &&
7908          { ac_try='test -z "$ac_c_werror_flag"
7909                          || test ! -s conftest.err'
7910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911   (eval $ac_try) 2>&5
7912   ac_status=$?
7913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914   (exit $ac_status); }; } &&
7915          { ac_try='test -s conftest$ac_exeext'
7916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917   (eval $ac_try) 2>&5
7918   ac_status=$?
7919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920   (exit $ac_status); }; }; then
7921   ac_cv_lib_m_acosl=yes
7922 else
7923   echo "$as_me: failed program was:" >&5
7924 sed 's/^/| /' conftest.$ac_ext >&5
7925
7926 ac_cv_lib_m_acosl=no
7927 fi
7928 rm -f conftest.err conftest.$ac_objext \
7929       conftest$ac_exeext conftest.$ac_ext
7930 LIBS=$ac_check_lib_save_LIBS
7931 fi
7932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
7933 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
7934 if test $ac_cv_lib_m_acosl = yes; then
7935
7936 cat >>confdefs.h <<\_ACEOF
7937 #define HAVE_ACOSL 1
7938 _ACEOF
7939
7940 fi
7941
7942 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
7943 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
7944 if test "${ac_cv_lib_m_acoshf+set}" = set; then
7945   echo $ECHO_N "(cached) $ECHO_C" >&6
7946 else
7947   ac_check_lib_save_LIBS=$LIBS
7948 LIBS="-lm  $LIBS"
7949 if test x$gcc_no_link = xyes; then
7950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7952    { (exit 1); exit 1; }; }
7953 fi
7954 cat >conftest.$ac_ext <<_ACEOF
7955 /* confdefs.h.  */
7956 _ACEOF
7957 cat confdefs.h >>conftest.$ac_ext
7958 cat >>conftest.$ac_ext <<_ACEOF
7959 /* end confdefs.h.  */
7960
7961 /* Override any gcc2 internal prototype to avoid an error.  */
7962 #ifdef __cplusplus
7963 extern "C"
7964 #endif
7965 /* We use char because int might match the return type of a gcc2
7966    builtin and then its argument prototype would still apply.  */
7967 char acoshf ();
7968 int
7969 main ()
7970 {
7971 acoshf ();
7972   ;
7973   return 0;
7974 }
7975 _ACEOF
7976 rm -f conftest.$ac_objext conftest$ac_exeext
7977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7978   (eval $ac_link) 2>conftest.er1
7979   ac_status=$?
7980   grep -v '^ *+' conftest.er1 >conftest.err
7981   rm -f conftest.er1
7982   cat conftest.err >&5
7983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984   (exit $ac_status); } &&
7985          { ac_try='test -z "$ac_c_werror_flag"
7986                          || test ! -s conftest.err'
7987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7988   (eval $ac_try) 2>&5
7989   ac_status=$?
7990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991   (exit $ac_status); }; } &&
7992          { ac_try='test -s conftest$ac_exeext'
7993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7994   (eval $ac_try) 2>&5
7995   ac_status=$?
7996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997   (exit $ac_status); }; }; then
7998   ac_cv_lib_m_acoshf=yes
7999 else
8000   echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.$ac_ext >&5
8002
8003 ac_cv_lib_m_acoshf=no
8004 fi
8005 rm -f conftest.err conftest.$ac_objext \
8006       conftest$ac_exeext conftest.$ac_ext
8007 LIBS=$ac_check_lib_save_LIBS
8008 fi
8009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8010 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8011 if test $ac_cv_lib_m_acoshf = yes; then
8012
8013 cat >>confdefs.h <<\_ACEOF
8014 #define HAVE_ACOSHF 1
8015 _ACEOF
8016
8017 fi
8018
8019 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8020 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8021 if test "${ac_cv_lib_m_acosh+set}" = set; then
8022   echo $ECHO_N "(cached) $ECHO_C" >&6
8023 else
8024   ac_check_lib_save_LIBS=$LIBS
8025 LIBS="-lm  $LIBS"
8026 if test x$gcc_no_link = xyes; then
8027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8029    { (exit 1); exit 1; }; }
8030 fi
8031 cat >conftest.$ac_ext <<_ACEOF
8032 /* confdefs.h.  */
8033 _ACEOF
8034 cat confdefs.h >>conftest.$ac_ext
8035 cat >>conftest.$ac_ext <<_ACEOF
8036 /* end confdefs.h.  */
8037
8038 /* Override any gcc2 internal prototype to avoid an error.  */
8039 #ifdef __cplusplus
8040 extern "C"
8041 #endif
8042 /* We use char because int might match the return type of a gcc2
8043    builtin and then its argument prototype would still apply.  */
8044 char acosh ();
8045 int
8046 main ()
8047 {
8048 acosh ();
8049   ;
8050   return 0;
8051 }
8052 _ACEOF
8053 rm -f conftest.$ac_objext conftest$ac_exeext
8054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8055   (eval $ac_link) 2>conftest.er1
8056   ac_status=$?
8057   grep -v '^ *+' conftest.er1 >conftest.err
8058   rm -f conftest.er1
8059   cat conftest.err >&5
8060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061   (exit $ac_status); } &&
8062          { ac_try='test -z "$ac_c_werror_flag"
8063                          || test ! -s conftest.err'
8064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8065   (eval $ac_try) 2>&5
8066   ac_status=$?
8067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068   (exit $ac_status); }; } &&
8069          { ac_try='test -s conftest$ac_exeext'
8070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071   (eval $ac_try) 2>&5
8072   ac_status=$?
8073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074   (exit $ac_status); }; }; then
8075   ac_cv_lib_m_acosh=yes
8076 else
8077   echo "$as_me: failed program was:" >&5
8078 sed 's/^/| /' conftest.$ac_ext >&5
8079
8080 ac_cv_lib_m_acosh=no
8081 fi
8082 rm -f conftest.err conftest.$ac_objext \
8083       conftest$ac_exeext conftest.$ac_ext
8084 LIBS=$ac_check_lib_save_LIBS
8085 fi
8086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8087 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8088 if test $ac_cv_lib_m_acosh = yes; then
8089
8090 cat >>confdefs.h <<\_ACEOF
8091 #define HAVE_ACOSH 1
8092 _ACEOF
8093
8094 fi
8095
8096 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8097 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8098 if test "${ac_cv_lib_m_acoshl+set}" = set; then
8099   echo $ECHO_N "(cached) $ECHO_C" >&6
8100 else
8101   ac_check_lib_save_LIBS=$LIBS
8102 LIBS="-lm  $LIBS"
8103 if test x$gcc_no_link = xyes; then
8104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8106    { (exit 1); exit 1; }; }
8107 fi
8108 cat >conftest.$ac_ext <<_ACEOF
8109 /* confdefs.h.  */
8110 _ACEOF
8111 cat confdefs.h >>conftest.$ac_ext
8112 cat >>conftest.$ac_ext <<_ACEOF
8113 /* end confdefs.h.  */
8114
8115 /* Override any gcc2 internal prototype to avoid an error.  */
8116 #ifdef __cplusplus
8117 extern "C"
8118 #endif
8119 /* We use char because int might match the return type of a gcc2
8120    builtin and then its argument prototype would still apply.  */
8121 char acoshl ();
8122 int
8123 main ()
8124 {
8125 acoshl ();
8126   ;
8127   return 0;
8128 }
8129 _ACEOF
8130 rm -f conftest.$ac_objext conftest$ac_exeext
8131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8132   (eval $ac_link) 2>conftest.er1
8133   ac_status=$?
8134   grep -v '^ *+' conftest.er1 >conftest.err
8135   rm -f conftest.er1
8136   cat conftest.err >&5
8137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138   (exit $ac_status); } &&
8139          { ac_try='test -z "$ac_c_werror_flag"
8140                          || test ! -s conftest.err'
8141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142   (eval $ac_try) 2>&5
8143   ac_status=$?
8144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145   (exit $ac_status); }; } &&
8146          { ac_try='test -s conftest$ac_exeext'
8147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148   (eval $ac_try) 2>&5
8149   ac_status=$?
8150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151   (exit $ac_status); }; }; then
8152   ac_cv_lib_m_acoshl=yes
8153 else
8154   echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8156
8157 ac_cv_lib_m_acoshl=no
8158 fi
8159 rm -f conftest.err conftest.$ac_objext \
8160       conftest$ac_exeext conftest.$ac_ext
8161 LIBS=$ac_check_lib_save_LIBS
8162 fi
8163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8164 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8165 if test $ac_cv_lib_m_acoshl = yes; then
8166
8167 cat >>confdefs.h <<\_ACEOF
8168 #define HAVE_ACOSHL 1
8169 _ACEOF
8170
8171 fi
8172
8173 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8174 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8175 if test "${ac_cv_lib_m_asinf+set}" = set; then
8176   echo $ECHO_N "(cached) $ECHO_C" >&6
8177 else
8178   ac_check_lib_save_LIBS=$LIBS
8179 LIBS="-lm  $LIBS"
8180 if test x$gcc_no_link = xyes; then
8181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8183    { (exit 1); exit 1; }; }
8184 fi
8185 cat >conftest.$ac_ext <<_ACEOF
8186 /* confdefs.h.  */
8187 _ACEOF
8188 cat confdefs.h >>conftest.$ac_ext
8189 cat >>conftest.$ac_ext <<_ACEOF
8190 /* end confdefs.h.  */
8191
8192 /* Override any gcc2 internal prototype to avoid an error.  */
8193 #ifdef __cplusplus
8194 extern "C"
8195 #endif
8196 /* We use char because int might match the return type of a gcc2
8197    builtin and then its argument prototype would still apply.  */
8198 char asinf ();
8199 int
8200 main ()
8201 {
8202 asinf ();
8203   ;
8204   return 0;
8205 }
8206 _ACEOF
8207 rm -f conftest.$ac_objext conftest$ac_exeext
8208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8209   (eval $ac_link) 2>conftest.er1
8210   ac_status=$?
8211   grep -v '^ *+' conftest.er1 >conftest.err
8212   rm -f conftest.er1
8213   cat conftest.err >&5
8214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215   (exit $ac_status); } &&
8216          { ac_try='test -z "$ac_c_werror_flag"
8217                          || test ! -s conftest.err'
8218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219   (eval $ac_try) 2>&5
8220   ac_status=$?
8221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222   (exit $ac_status); }; } &&
8223          { ac_try='test -s conftest$ac_exeext'
8224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225   (eval $ac_try) 2>&5
8226   ac_status=$?
8227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228   (exit $ac_status); }; }; then
8229   ac_cv_lib_m_asinf=yes
8230 else
8231   echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8233
8234 ac_cv_lib_m_asinf=no
8235 fi
8236 rm -f conftest.err conftest.$ac_objext \
8237       conftest$ac_exeext conftest.$ac_ext
8238 LIBS=$ac_check_lib_save_LIBS
8239 fi
8240 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8241 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8242 if test $ac_cv_lib_m_asinf = yes; then
8243
8244 cat >>confdefs.h <<\_ACEOF
8245 #define HAVE_ASINF 1
8246 _ACEOF
8247
8248 fi
8249
8250 echo "$as_me:$LINENO: checking for asin in -lm" >&5
8251 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8252 if test "${ac_cv_lib_m_asin+set}" = set; then
8253   echo $ECHO_N "(cached) $ECHO_C" >&6
8254 else
8255   ac_check_lib_save_LIBS=$LIBS
8256 LIBS="-lm  $LIBS"
8257 if test x$gcc_no_link = xyes; then
8258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8260    { (exit 1); exit 1; }; }
8261 fi
8262 cat >conftest.$ac_ext <<_ACEOF
8263 /* confdefs.h.  */
8264 _ACEOF
8265 cat confdefs.h >>conftest.$ac_ext
8266 cat >>conftest.$ac_ext <<_ACEOF
8267 /* end confdefs.h.  */
8268
8269 /* Override any gcc2 internal prototype to avoid an error.  */
8270 #ifdef __cplusplus
8271 extern "C"
8272 #endif
8273 /* We use char because int might match the return type of a gcc2
8274    builtin and then its argument prototype would still apply.  */
8275 char asin ();
8276 int
8277 main ()
8278 {
8279 asin ();
8280   ;
8281   return 0;
8282 }
8283 _ACEOF
8284 rm -f conftest.$ac_objext conftest$ac_exeext
8285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8286   (eval $ac_link) 2>conftest.er1
8287   ac_status=$?
8288   grep -v '^ *+' conftest.er1 >conftest.err
8289   rm -f conftest.er1
8290   cat conftest.err >&5
8291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292   (exit $ac_status); } &&
8293          { ac_try='test -z "$ac_c_werror_flag"
8294                          || test ! -s conftest.err'
8295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296   (eval $ac_try) 2>&5
8297   ac_status=$?
8298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299   (exit $ac_status); }; } &&
8300          { ac_try='test -s conftest$ac_exeext'
8301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302   (eval $ac_try) 2>&5
8303   ac_status=$?
8304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305   (exit $ac_status); }; }; then
8306   ac_cv_lib_m_asin=yes
8307 else
8308   echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.$ac_ext >&5
8310
8311 ac_cv_lib_m_asin=no
8312 fi
8313 rm -f conftest.err conftest.$ac_objext \
8314       conftest$ac_exeext conftest.$ac_ext
8315 LIBS=$ac_check_lib_save_LIBS
8316 fi
8317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8318 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8319 if test $ac_cv_lib_m_asin = yes; then
8320
8321 cat >>confdefs.h <<\_ACEOF
8322 #define HAVE_ASIN 1
8323 _ACEOF
8324
8325 fi
8326
8327 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8328 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8329 if test "${ac_cv_lib_m_asinl+set}" = set; then
8330   echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332   ac_check_lib_save_LIBS=$LIBS
8333 LIBS="-lm  $LIBS"
8334 if test x$gcc_no_link = xyes; then
8335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8337    { (exit 1); exit 1; }; }
8338 fi
8339 cat >conftest.$ac_ext <<_ACEOF
8340 /* confdefs.h.  */
8341 _ACEOF
8342 cat confdefs.h >>conftest.$ac_ext
8343 cat >>conftest.$ac_ext <<_ACEOF
8344 /* end confdefs.h.  */
8345
8346 /* Override any gcc2 internal prototype to avoid an error.  */
8347 #ifdef __cplusplus
8348 extern "C"
8349 #endif
8350 /* We use char because int might match the return type of a gcc2
8351    builtin and then its argument prototype would still apply.  */
8352 char asinl ();
8353 int
8354 main ()
8355 {
8356 asinl ();
8357   ;
8358   return 0;
8359 }
8360 _ACEOF
8361 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8363   (eval $ac_link) 2>conftest.er1
8364   ac_status=$?
8365   grep -v '^ *+' conftest.er1 >conftest.err
8366   rm -f conftest.er1
8367   cat conftest.err >&5
8368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369   (exit $ac_status); } &&
8370          { ac_try='test -z "$ac_c_werror_flag"
8371                          || test ! -s conftest.err'
8372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373   (eval $ac_try) 2>&5
8374   ac_status=$?
8375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376   (exit $ac_status); }; } &&
8377          { ac_try='test -s conftest$ac_exeext'
8378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379   (eval $ac_try) 2>&5
8380   ac_status=$?
8381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382   (exit $ac_status); }; }; then
8383   ac_cv_lib_m_asinl=yes
8384 else
8385   echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.$ac_ext >&5
8387
8388 ac_cv_lib_m_asinl=no
8389 fi
8390 rm -f conftest.err conftest.$ac_objext \
8391       conftest$ac_exeext conftest.$ac_ext
8392 LIBS=$ac_check_lib_save_LIBS
8393 fi
8394 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8395 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8396 if test $ac_cv_lib_m_asinl = yes; then
8397
8398 cat >>confdefs.h <<\_ACEOF
8399 #define HAVE_ASINL 1
8400 _ACEOF
8401
8402 fi
8403
8404 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8405 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8406 if test "${ac_cv_lib_m_asinhf+set}" = set; then
8407   echo $ECHO_N "(cached) $ECHO_C" >&6
8408 else
8409   ac_check_lib_save_LIBS=$LIBS
8410 LIBS="-lm  $LIBS"
8411 if test x$gcc_no_link = xyes; then
8412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8414    { (exit 1); exit 1; }; }
8415 fi
8416 cat >conftest.$ac_ext <<_ACEOF
8417 /* confdefs.h.  */
8418 _ACEOF
8419 cat confdefs.h >>conftest.$ac_ext
8420 cat >>conftest.$ac_ext <<_ACEOF
8421 /* end confdefs.h.  */
8422
8423 /* Override any gcc2 internal prototype to avoid an error.  */
8424 #ifdef __cplusplus
8425 extern "C"
8426 #endif
8427 /* We use char because int might match the return type of a gcc2
8428    builtin and then its argument prototype would still apply.  */
8429 char asinhf ();
8430 int
8431 main ()
8432 {
8433 asinhf ();
8434   ;
8435   return 0;
8436 }
8437 _ACEOF
8438 rm -f conftest.$ac_objext conftest$ac_exeext
8439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8440   (eval $ac_link) 2>conftest.er1
8441   ac_status=$?
8442   grep -v '^ *+' conftest.er1 >conftest.err
8443   rm -f conftest.er1
8444   cat conftest.err >&5
8445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446   (exit $ac_status); } &&
8447          { ac_try='test -z "$ac_c_werror_flag"
8448                          || test ! -s conftest.err'
8449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450   (eval $ac_try) 2>&5
8451   ac_status=$?
8452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453   (exit $ac_status); }; } &&
8454          { ac_try='test -s conftest$ac_exeext'
8455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456   (eval $ac_try) 2>&5
8457   ac_status=$?
8458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459   (exit $ac_status); }; }; then
8460   ac_cv_lib_m_asinhf=yes
8461 else
8462   echo "$as_me: failed program was:" >&5
8463 sed 's/^/| /' conftest.$ac_ext >&5
8464
8465 ac_cv_lib_m_asinhf=no
8466 fi
8467 rm -f conftest.err conftest.$ac_objext \
8468       conftest$ac_exeext conftest.$ac_ext
8469 LIBS=$ac_check_lib_save_LIBS
8470 fi
8471 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8472 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8473 if test $ac_cv_lib_m_asinhf = yes; then
8474
8475 cat >>confdefs.h <<\_ACEOF
8476 #define HAVE_ASINHF 1
8477 _ACEOF
8478
8479 fi
8480
8481 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8482 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8483 if test "${ac_cv_lib_m_asinh+set}" = set; then
8484   echo $ECHO_N "(cached) $ECHO_C" >&6
8485 else
8486   ac_check_lib_save_LIBS=$LIBS
8487 LIBS="-lm  $LIBS"
8488 if test x$gcc_no_link = xyes; then
8489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8491    { (exit 1); exit 1; }; }
8492 fi
8493 cat >conftest.$ac_ext <<_ACEOF
8494 /* confdefs.h.  */
8495 _ACEOF
8496 cat confdefs.h >>conftest.$ac_ext
8497 cat >>conftest.$ac_ext <<_ACEOF
8498 /* end confdefs.h.  */
8499
8500 /* Override any gcc2 internal prototype to avoid an error.  */
8501 #ifdef __cplusplus
8502 extern "C"
8503 #endif
8504 /* We use char because int might match the return type of a gcc2
8505    builtin and then its argument prototype would still apply.  */
8506 char asinh ();
8507 int
8508 main ()
8509 {
8510 asinh ();
8511   ;
8512   return 0;
8513 }
8514 _ACEOF
8515 rm -f conftest.$ac_objext conftest$ac_exeext
8516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8517   (eval $ac_link) 2>conftest.er1
8518   ac_status=$?
8519   grep -v '^ *+' conftest.er1 >conftest.err
8520   rm -f conftest.er1
8521   cat conftest.err >&5
8522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523   (exit $ac_status); } &&
8524          { ac_try='test -z "$ac_c_werror_flag"
8525                          || test ! -s conftest.err'
8526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8527   (eval $ac_try) 2>&5
8528   ac_status=$?
8529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530   (exit $ac_status); }; } &&
8531          { ac_try='test -s conftest$ac_exeext'
8532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8533   (eval $ac_try) 2>&5
8534   ac_status=$?
8535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536   (exit $ac_status); }; }; then
8537   ac_cv_lib_m_asinh=yes
8538 else
8539   echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.$ac_ext >&5
8541
8542 ac_cv_lib_m_asinh=no
8543 fi
8544 rm -f conftest.err conftest.$ac_objext \
8545       conftest$ac_exeext conftest.$ac_ext
8546 LIBS=$ac_check_lib_save_LIBS
8547 fi
8548 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8549 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8550 if test $ac_cv_lib_m_asinh = yes; then
8551
8552 cat >>confdefs.h <<\_ACEOF
8553 #define HAVE_ASINH 1
8554 _ACEOF
8555
8556 fi
8557
8558 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8559 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8560 if test "${ac_cv_lib_m_asinhl+set}" = set; then
8561   echo $ECHO_N "(cached) $ECHO_C" >&6
8562 else
8563   ac_check_lib_save_LIBS=$LIBS
8564 LIBS="-lm  $LIBS"
8565 if test x$gcc_no_link = xyes; then
8566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8568    { (exit 1); exit 1; }; }
8569 fi
8570 cat >conftest.$ac_ext <<_ACEOF
8571 /* confdefs.h.  */
8572 _ACEOF
8573 cat confdefs.h >>conftest.$ac_ext
8574 cat >>conftest.$ac_ext <<_ACEOF
8575 /* end confdefs.h.  */
8576
8577 /* Override any gcc2 internal prototype to avoid an error.  */
8578 #ifdef __cplusplus
8579 extern "C"
8580 #endif
8581 /* We use char because int might match the return type of a gcc2
8582    builtin and then its argument prototype would still apply.  */
8583 char asinhl ();
8584 int
8585 main ()
8586 {
8587 asinhl ();
8588   ;
8589   return 0;
8590 }
8591 _ACEOF
8592 rm -f conftest.$ac_objext conftest$ac_exeext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8594   (eval $ac_link) 2>conftest.er1
8595   ac_status=$?
8596   grep -v '^ *+' conftest.er1 >conftest.err
8597   rm -f conftest.er1
8598   cat conftest.err >&5
8599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600   (exit $ac_status); } &&
8601          { ac_try='test -z "$ac_c_werror_flag"
8602                          || test ! -s conftest.err'
8603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604   (eval $ac_try) 2>&5
8605   ac_status=$?
8606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607   (exit $ac_status); }; } &&
8608          { ac_try='test -s conftest$ac_exeext'
8609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610   (eval $ac_try) 2>&5
8611   ac_status=$?
8612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613   (exit $ac_status); }; }; then
8614   ac_cv_lib_m_asinhl=yes
8615 else
8616   echo "$as_me: failed program was:" >&5
8617 sed 's/^/| /' conftest.$ac_ext >&5
8618
8619 ac_cv_lib_m_asinhl=no
8620 fi
8621 rm -f conftest.err conftest.$ac_objext \
8622       conftest$ac_exeext conftest.$ac_ext
8623 LIBS=$ac_check_lib_save_LIBS
8624 fi
8625 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8626 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8627 if test $ac_cv_lib_m_asinhl = yes; then
8628
8629 cat >>confdefs.h <<\_ACEOF
8630 #define HAVE_ASINHL 1
8631 _ACEOF
8632
8633 fi
8634
8635 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8636 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8637 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8638   echo $ECHO_N "(cached) $ECHO_C" >&6
8639 else
8640   ac_check_lib_save_LIBS=$LIBS
8641 LIBS="-lm  $LIBS"
8642 if test x$gcc_no_link = xyes; then
8643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8645    { (exit 1); exit 1; }; }
8646 fi
8647 cat >conftest.$ac_ext <<_ACEOF
8648 /* confdefs.h.  */
8649 _ACEOF
8650 cat confdefs.h >>conftest.$ac_ext
8651 cat >>conftest.$ac_ext <<_ACEOF
8652 /* end confdefs.h.  */
8653
8654 /* Override any gcc2 internal prototype to avoid an error.  */
8655 #ifdef __cplusplus
8656 extern "C"
8657 #endif
8658 /* We use char because int might match the return type of a gcc2
8659    builtin and then its argument prototype would still apply.  */
8660 char atan2f ();
8661 int
8662 main ()
8663 {
8664 atan2f ();
8665   ;
8666   return 0;
8667 }
8668 _ACEOF
8669 rm -f conftest.$ac_objext conftest$ac_exeext
8670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8671   (eval $ac_link) 2>conftest.er1
8672   ac_status=$?
8673   grep -v '^ *+' conftest.er1 >conftest.err
8674   rm -f conftest.er1
8675   cat conftest.err >&5
8676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677   (exit $ac_status); } &&
8678          { ac_try='test -z "$ac_c_werror_flag"
8679                          || test ! -s conftest.err'
8680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681   (eval $ac_try) 2>&5
8682   ac_status=$?
8683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684   (exit $ac_status); }; } &&
8685          { ac_try='test -s conftest$ac_exeext'
8686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687   (eval $ac_try) 2>&5
8688   ac_status=$?
8689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690   (exit $ac_status); }; }; then
8691   ac_cv_lib_m_atan2f=yes
8692 else
8693   echo "$as_me: failed program was:" >&5
8694 sed 's/^/| /' conftest.$ac_ext >&5
8695
8696 ac_cv_lib_m_atan2f=no
8697 fi
8698 rm -f conftest.err conftest.$ac_objext \
8699       conftest$ac_exeext conftest.$ac_ext
8700 LIBS=$ac_check_lib_save_LIBS
8701 fi
8702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8703 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8704 if test $ac_cv_lib_m_atan2f = yes; then
8705
8706 cat >>confdefs.h <<\_ACEOF
8707 #define HAVE_ATAN2F 1
8708 _ACEOF
8709
8710 fi
8711
8712 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8713 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8714 if test "${ac_cv_lib_m_atan2+set}" = set; then
8715   echo $ECHO_N "(cached) $ECHO_C" >&6
8716 else
8717   ac_check_lib_save_LIBS=$LIBS
8718 LIBS="-lm  $LIBS"
8719 if test x$gcc_no_link = xyes; then
8720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8722    { (exit 1); exit 1; }; }
8723 fi
8724 cat >conftest.$ac_ext <<_ACEOF
8725 /* confdefs.h.  */
8726 _ACEOF
8727 cat confdefs.h >>conftest.$ac_ext
8728 cat >>conftest.$ac_ext <<_ACEOF
8729 /* end confdefs.h.  */
8730
8731 /* Override any gcc2 internal prototype to avoid an error.  */
8732 #ifdef __cplusplus
8733 extern "C"
8734 #endif
8735 /* We use char because int might match the return type of a gcc2
8736    builtin and then its argument prototype would still apply.  */
8737 char atan2 ();
8738 int
8739 main ()
8740 {
8741 atan2 ();
8742   ;
8743   return 0;
8744 }
8745 _ACEOF
8746 rm -f conftest.$ac_objext conftest$ac_exeext
8747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8748   (eval $ac_link) 2>conftest.er1
8749   ac_status=$?
8750   grep -v '^ *+' conftest.er1 >conftest.err
8751   rm -f conftest.er1
8752   cat conftest.err >&5
8753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754   (exit $ac_status); } &&
8755          { ac_try='test -z "$ac_c_werror_flag"
8756                          || test ! -s conftest.err'
8757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758   (eval $ac_try) 2>&5
8759   ac_status=$?
8760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761   (exit $ac_status); }; } &&
8762          { ac_try='test -s conftest$ac_exeext'
8763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764   (eval $ac_try) 2>&5
8765   ac_status=$?
8766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767   (exit $ac_status); }; }; then
8768   ac_cv_lib_m_atan2=yes
8769 else
8770   echo "$as_me: failed program was:" >&5
8771 sed 's/^/| /' conftest.$ac_ext >&5
8772
8773 ac_cv_lib_m_atan2=no
8774 fi
8775 rm -f conftest.err conftest.$ac_objext \
8776       conftest$ac_exeext conftest.$ac_ext
8777 LIBS=$ac_check_lib_save_LIBS
8778 fi
8779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8780 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8781 if test $ac_cv_lib_m_atan2 = yes; then
8782
8783 cat >>confdefs.h <<\_ACEOF
8784 #define HAVE_ATAN2 1
8785 _ACEOF
8786
8787 fi
8788
8789 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8790 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8791 if test "${ac_cv_lib_m_atan2l+set}" = set; then
8792   echo $ECHO_N "(cached) $ECHO_C" >&6
8793 else
8794   ac_check_lib_save_LIBS=$LIBS
8795 LIBS="-lm  $LIBS"
8796 if test x$gcc_no_link = xyes; then
8797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8799    { (exit 1); exit 1; }; }
8800 fi
8801 cat >conftest.$ac_ext <<_ACEOF
8802 /* confdefs.h.  */
8803 _ACEOF
8804 cat confdefs.h >>conftest.$ac_ext
8805 cat >>conftest.$ac_ext <<_ACEOF
8806 /* end confdefs.h.  */
8807
8808 /* Override any gcc2 internal prototype to avoid an error.  */
8809 #ifdef __cplusplus
8810 extern "C"
8811 #endif
8812 /* We use char because int might match the return type of a gcc2
8813    builtin and then its argument prototype would still apply.  */
8814 char atan2l ();
8815 int
8816 main ()
8817 {
8818 atan2l ();
8819   ;
8820   return 0;
8821 }
8822 _ACEOF
8823 rm -f conftest.$ac_objext conftest$ac_exeext
8824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8825   (eval $ac_link) 2>conftest.er1
8826   ac_status=$?
8827   grep -v '^ *+' conftest.er1 >conftest.err
8828   rm -f conftest.er1
8829   cat conftest.err >&5
8830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831   (exit $ac_status); } &&
8832          { ac_try='test -z "$ac_c_werror_flag"
8833                          || test ! -s conftest.err'
8834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835   (eval $ac_try) 2>&5
8836   ac_status=$?
8837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838   (exit $ac_status); }; } &&
8839          { ac_try='test -s conftest$ac_exeext'
8840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841   (eval $ac_try) 2>&5
8842   ac_status=$?
8843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844   (exit $ac_status); }; }; then
8845   ac_cv_lib_m_atan2l=yes
8846 else
8847   echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.$ac_ext >&5
8849
8850 ac_cv_lib_m_atan2l=no
8851 fi
8852 rm -f conftest.err conftest.$ac_objext \
8853       conftest$ac_exeext conftest.$ac_ext
8854 LIBS=$ac_check_lib_save_LIBS
8855 fi
8856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
8857 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
8858 if test $ac_cv_lib_m_atan2l = yes; then
8859
8860 cat >>confdefs.h <<\_ACEOF
8861 #define HAVE_ATAN2L 1
8862 _ACEOF
8863
8864 fi
8865
8866 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
8867 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
8868 if test "${ac_cv_lib_m_atanf+set}" = set; then
8869   echo $ECHO_N "(cached) $ECHO_C" >&6
8870 else
8871   ac_check_lib_save_LIBS=$LIBS
8872 LIBS="-lm  $LIBS"
8873 if test x$gcc_no_link = xyes; then
8874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8876    { (exit 1); exit 1; }; }
8877 fi
8878 cat >conftest.$ac_ext <<_ACEOF
8879 /* confdefs.h.  */
8880 _ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h.  */
8884
8885 /* Override any gcc2 internal prototype to avoid an error.  */
8886 #ifdef __cplusplus
8887 extern "C"
8888 #endif
8889 /* We use char because int might match the return type of a gcc2
8890    builtin and then its argument prototype would still apply.  */
8891 char atanf ();
8892 int
8893 main ()
8894 {
8895 atanf ();
8896   ;
8897   return 0;
8898 }
8899 _ACEOF
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902   (eval $ac_link) 2>conftest.er1
8903   ac_status=$?
8904   grep -v '^ *+' conftest.er1 >conftest.err
8905   rm -f conftest.er1
8906   cat conftest.err >&5
8907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908   (exit $ac_status); } &&
8909          { ac_try='test -z "$ac_c_werror_flag"
8910                          || test ! -s conftest.err'
8911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912   (eval $ac_try) 2>&5
8913   ac_status=$?
8914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915   (exit $ac_status); }; } &&
8916          { ac_try='test -s conftest$ac_exeext'
8917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918   (eval $ac_try) 2>&5
8919   ac_status=$?
8920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921   (exit $ac_status); }; }; then
8922   ac_cv_lib_m_atanf=yes
8923 else
8924   echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8926
8927 ac_cv_lib_m_atanf=no
8928 fi
8929 rm -f conftest.err conftest.$ac_objext \
8930       conftest$ac_exeext conftest.$ac_ext
8931 LIBS=$ac_check_lib_save_LIBS
8932 fi
8933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
8934 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
8935 if test $ac_cv_lib_m_atanf = yes; then
8936
8937 cat >>confdefs.h <<\_ACEOF
8938 #define HAVE_ATANF 1
8939 _ACEOF
8940
8941 fi
8942
8943 echo "$as_me:$LINENO: checking for atan in -lm" >&5
8944 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
8945 if test "${ac_cv_lib_m_atan+set}" = set; then
8946   echo $ECHO_N "(cached) $ECHO_C" >&6
8947 else
8948   ac_check_lib_save_LIBS=$LIBS
8949 LIBS="-lm  $LIBS"
8950 if test x$gcc_no_link = xyes; then
8951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8953    { (exit 1); exit 1; }; }
8954 fi
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h.  */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h.  */
8961
8962 /* Override any gcc2 internal prototype to avoid an error.  */
8963 #ifdef __cplusplus
8964 extern "C"
8965 #endif
8966 /* We use char because int might match the return type of a gcc2
8967    builtin and then its argument prototype would still apply.  */
8968 char atan ();
8969 int
8970 main ()
8971 {
8972 atan ();
8973   ;
8974   return 0;
8975 }
8976 _ACEOF
8977 rm -f conftest.$ac_objext conftest$ac_exeext
8978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8979   (eval $ac_link) 2>conftest.er1
8980   ac_status=$?
8981   grep -v '^ *+' conftest.er1 >conftest.err
8982   rm -f conftest.er1
8983   cat conftest.err >&5
8984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985   (exit $ac_status); } &&
8986          { ac_try='test -z "$ac_c_werror_flag"
8987                          || test ! -s conftest.err'
8988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989   (eval $ac_try) 2>&5
8990   ac_status=$?
8991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992   (exit $ac_status); }; } &&
8993          { ac_try='test -s conftest$ac_exeext'
8994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8995   (eval $ac_try) 2>&5
8996   ac_status=$?
8997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998   (exit $ac_status); }; }; then
8999   ac_cv_lib_m_atan=yes
9000 else
9001   echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.$ac_ext >&5
9003
9004 ac_cv_lib_m_atan=no
9005 fi
9006 rm -f conftest.err conftest.$ac_objext \
9007       conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9009 fi
9010 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9011 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9012 if test $ac_cv_lib_m_atan = yes; then
9013
9014 cat >>confdefs.h <<\_ACEOF
9015 #define HAVE_ATAN 1
9016 _ACEOF
9017
9018 fi
9019
9020 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9021 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9022 if test "${ac_cv_lib_m_atanl+set}" = set; then
9023   echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else
9025   ac_check_lib_save_LIBS=$LIBS
9026 LIBS="-lm  $LIBS"
9027 if test x$gcc_no_link = xyes; then
9028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9030    { (exit 1); exit 1; }; }
9031 fi
9032 cat >conftest.$ac_ext <<_ACEOF
9033 /* confdefs.h.  */
9034 _ACEOF
9035 cat confdefs.h >>conftest.$ac_ext
9036 cat >>conftest.$ac_ext <<_ACEOF
9037 /* end confdefs.h.  */
9038
9039 /* Override any gcc2 internal prototype to avoid an error.  */
9040 #ifdef __cplusplus
9041 extern "C"
9042 #endif
9043 /* We use char because int might match the return type of a gcc2
9044    builtin and then its argument prototype would still apply.  */
9045 char atanl ();
9046 int
9047 main ()
9048 {
9049 atanl ();
9050   ;
9051   return 0;
9052 }
9053 _ACEOF
9054 rm -f conftest.$ac_objext conftest$ac_exeext
9055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9056   (eval $ac_link) 2>conftest.er1
9057   ac_status=$?
9058   grep -v '^ *+' conftest.er1 >conftest.err
9059   rm -f conftest.er1
9060   cat conftest.err >&5
9061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062   (exit $ac_status); } &&
9063          { ac_try='test -z "$ac_c_werror_flag"
9064                          || test ! -s conftest.err'
9065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066   (eval $ac_try) 2>&5
9067   ac_status=$?
9068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069   (exit $ac_status); }; } &&
9070          { ac_try='test -s conftest$ac_exeext'
9071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072   (eval $ac_try) 2>&5
9073   ac_status=$?
9074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075   (exit $ac_status); }; }; then
9076   ac_cv_lib_m_atanl=yes
9077 else
9078   echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9080
9081 ac_cv_lib_m_atanl=no
9082 fi
9083 rm -f conftest.err conftest.$ac_objext \
9084       conftest$ac_exeext conftest.$ac_ext
9085 LIBS=$ac_check_lib_save_LIBS
9086 fi
9087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9088 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9089 if test $ac_cv_lib_m_atanl = yes; then
9090
9091 cat >>confdefs.h <<\_ACEOF
9092 #define HAVE_ATANL 1
9093 _ACEOF
9094
9095 fi
9096
9097 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9098 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9099 if test "${ac_cv_lib_m_atanhf+set}" = set; then
9100   echo $ECHO_N "(cached) $ECHO_C" >&6
9101 else
9102   ac_check_lib_save_LIBS=$LIBS
9103 LIBS="-lm  $LIBS"
9104 if test x$gcc_no_link = xyes; then
9105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9107    { (exit 1); exit 1; }; }
9108 fi
9109 cat >conftest.$ac_ext <<_ACEOF
9110 /* confdefs.h.  */
9111 _ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h.  */
9115
9116 /* Override any gcc2 internal prototype to avoid an error.  */
9117 #ifdef __cplusplus
9118 extern "C"
9119 #endif
9120 /* We use char because int might match the return type of a gcc2
9121    builtin and then its argument prototype would still apply.  */
9122 char atanhf ();
9123 int
9124 main ()
9125 {
9126 atanhf ();
9127   ;
9128   return 0;
9129 }
9130 _ACEOF
9131 rm -f conftest.$ac_objext conftest$ac_exeext
9132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9133   (eval $ac_link) 2>conftest.er1
9134   ac_status=$?
9135   grep -v '^ *+' conftest.er1 >conftest.err
9136   rm -f conftest.er1
9137   cat conftest.err >&5
9138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139   (exit $ac_status); } &&
9140          { ac_try='test -z "$ac_c_werror_flag"
9141                          || test ! -s conftest.err'
9142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143   (eval $ac_try) 2>&5
9144   ac_status=$?
9145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146   (exit $ac_status); }; } &&
9147          { ac_try='test -s conftest$ac_exeext'
9148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149   (eval $ac_try) 2>&5
9150   ac_status=$?
9151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152   (exit $ac_status); }; }; then
9153   ac_cv_lib_m_atanhf=yes
9154 else
9155   echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.$ac_ext >&5
9157
9158 ac_cv_lib_m_atanhf=no
9159 fi
9160 rm -f conftest.err conftest.$ac_objext \
9161       conftest$ac_exeext conftest.$ac_ext
9162 LIBS=$ac_check_lib_save_LIBS
9163 fi
9164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9165 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9166 if test $ac_cv_lib_m_atanhf = yes; then
9167
9168 cat >>confdefs.h <<\_ACEOF
9169 #define HAVE_ATANHF 1
9170 _ACEOF
9171
9172 fi
9173
9174 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9175 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9176 if test "${ac_cv_lib_m_atanh+set}" = set; then
9177   echo $ECHO_N "(cached) $ECHO_C" >&6
9178 else
9179   ac_check_lib_save_LIBS=$LIBS
9180 LIBS="-lm  $LIBS"
9181 if test x$gcc_no_link = xyes; then
9182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9184    { (exit 1); exit 1; }; }
9185 fi
9186 cat >conftest.$ac_ext <<_ACEOF
9187 /* confdefs.h.  */
9188 _ACEOF
9189 cat confdefs.h >>conftest.$ac_ext
9190 cat >>conftest.$ac_ext <<_ACEOF
9191 /* end confdefs.h.  */
9192
9193 /* Override any gcc2 internal prototype to avoid an error.  */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 /* We use char because int might match the return type of a gcc2
9198    builtin and then its argument prototype would still apply.  */
9199 char atanh ();
9200 int
9201 main ()
9202 {
9203 atanh ();
9204   ;
9205   return 0;
9206 }
9207 _ACEOF
9208 rm -f conftest.$ac_objext conftest$ac_exeext
9209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9210   (eval $ac_link) 2>conftest.er1
9211   ac_status=$?
9212   grep -v '^ *+' conftest.er1 >conftest.err
9213   rm -f conftest.er1
9214   cat conftest.err >&5
9215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216   (exit $ac_status); } &&
9217          { ac_try='test -z "$ac_c_werror_flag"
9218                          || test ! -s conftest.err'
9219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220   (eval $ac_try) 2>&5
9221   ac_status=$?
9222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223   (exit $ac_status); }; } &&
9224          { ac_try='test -s conftest$ac_exeext'
9225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226   (eval $ac_try) 2>&5
9227   ac_status=$?
9228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229   (exit $ac_status); }; }; then
9230   ac_cv_lib_m_atanh=yes
9231 else
9232   echo "$as_me: failed program was:" >&5
9233 sed 's/^/| /' conftest.$ac_ext >&5
9234
9235 ac_cv_lib_m_atanh=no
9236 fi
9237 rm -f conftest.err conftest.$ac_objext \
9238       conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9240 fi
9241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9242 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9243 if test $ac_cv_lib_m_atanh = yes; then
9244
9245 cat >>confdefs.h <<\_ACEOF
9246 #define HAVE_ATANH 1
9247 _ACEOF
9248
9249 fi
9250
9251 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9252 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9253 if test "${ac_cv_lib_m_atanhl+set}" = set; then
9254   echo $ECHO_N "(cached) $ECHO_C" >&6
9255 else
9256   ac_check_lib_save_LIBS=$LIBS
9257 LIBS="-lm  $LIBS"
9258 if test x$gcc_no_link = xyes; then
9259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9261    { (exit 1); exit 1; }; }
9262 fi
9263 cat >conftest.$ac_ext <<_ACEOF
9264 /* confdefs.h.  */
9265 _ACEOF
9266 cat confdefs.h >>conftest.$ac_ext
9267 cat >>conftest.$ac_ext <<_ACEOF
9268 /* end confdefs.h.  */
9269
9270 /* Override any gcc2 internal prototype to avoid an error.  */
9271 #ifdef __cplusplus
9272 extern "C"
9273 #endif
9274 /* We use char because int might match the return type of a gcc2
9275    builtin and then its argument prototype would still apply.  */
9276 char atanhl ();
9277 int
9278 main ()
9279 {
9280 atanhl ();
9281   ;
9282   return 0;
9283 }
9284 _ACEOF
9285 rm -f conftest.$ac_objext conftest$ac_exeext
9286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9287   (eval $ac_link) 2>conftest.er1
9288   ac_status=$?
9289   grep -v '^ *+' conftest.er1 >conftest.err
9290   rm -f conftest.er1
9291   cat conftest.err >&5
9292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293   (exit $ac_status); } &&
9294          { ac_try='test -z "$ac_c_werror_flag"
9295                          || test ! -s conftest.err'
9296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9297   (eval $ac_try) 2>&5
9298   ac_status=$?
9299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300   (exit $ac_status); }; } &&
9301          { ac_try='test -s conftest$ac_exeext'
9302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9303   (eval $ac_try) 2>&5
9304   ac_status=$?
9305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306   (exit $ac_status); }; }; then
9307   ac_cv_lib_m_atanhl=yes
9308 else
9309   echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.$ac_ext >&5
9311
9312 ac_cv_lib_m_atanhl=no
9313 fi
9314 rm -f conftest.err conftest.$ac_objext \
9315       conftest$ac_exeext conftest.$ac_ext
9316 LIBS=$ac_check_lib_save_LIBS
9317 fi
9318 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9319 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9320 if test $ac_cv_lib_m_atanhl = yes; then
9321
9322 cat >>confdefs.h <<\_ACEOF
9323 #define HAVE_ATANHL 1
9324 _ACEOF
9325
9326 fi
9327
9328 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9329 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9330 if test "${ac_cv_lib_m_cargf+set}" = set; then
9331   echo $ECHO_N "(cached) $ECHO_C" >&6
9332 else
9333   ac_check_lib_save_LIBS=$LIBS
9334 LIBS="-lm  $LIBS"
9335 if test x$gcc_no_link = xyes; then
9336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9338    { (exit 1); exit 1; }; }
9339 fi
9340 cat >conftest.$ac_ext <<_ACEOF
9341 /* confdefs.h.  */
9342 _ACEOF
9343 cat confdefs.h >>conftest.$ac_ext
9344 cat >>conftest.$ac_ext <<_ACEOF
9345 /* end confdefs.h.  */
9346
9347 /* Override any gcc2 internal prototype to avoid an error.  */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 /* We use char because int might match the return type of a gcc2
9352    builtin and then its argument prototype would still apply.  */
9353 char cargf ();
9354 int
9355 main ()
9356 {
9357 cargf ();
9358   ;
9359   return 0;
9360 }
9361 _ACEOF
9362 rm -f conftest.$ac_objext conftest$ac_exeext
9363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9364   (eval $ac_link) 2>conftest.er1
9365   ac_status=$?
9366   grep -v '^ *+' conftest.er1 >conftest.err
9367   rm -f conftest.er1
9368   cat conftest.err >&5
9369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370   (exit $ac_status); } &&
9371          { ac_try='test -z "$ac_c_werror_flag"
9372                          || test ! -s conftest.err'
9373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9374   (eval $ac_try) 2>&5
9375   ac_status=$?
9376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377   (exit $ac_status); }; } &&
9378          { ac_try='test -s conftest$ac_exeext'
9379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9380   (eval $ac_try) 2>&5
9381   ac_status=$?
9382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383   (exit $ac_status); }; }; then
9384   ac_cv_lib_m_cargf=yes
9385 else
9386   echo "$as_me: failed program was:" >&5
9387 sed 's/^/| /' conftest.$ac_ext >&5
9388
9389 ac_cv_lib_m_cargf=no
9390 fi
9391 rm -f conftest.err conftest.$ac_objext \
9392       conftest$ac_exeext conftest.$ac_ext
9393 LIBS=$ac_check_lib_save_LIBS
9394 fi
9395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9396 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9397 if test $ac_cv_lib_m_cargf = yes; then
9398
9399 cat >>confdefs.h <<\_ACEOF
9400 #define HAVE_CARGF 1
9401 _ACEOF
9402
9403 fi
9404
9405 echo "$as_me:$LINENO: checking for carg in -lm" >&5
9406 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9407 if test "${ac_cv_lib_m_carg+set}" = set; then
9408   echo $ECHO_N "(cached) $ECHO_C" >&6
9409 else
9410   ac_check_lib_save_LIBS=$LIBS
9411 LIBS="-lm  $LIBS"
9412 if test x$gcc_no_link = xyes; then
9413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9415    { (exit 1); exit 1; }; }
9416 fi
9417 cat >conftest.$ac_ext <<_ACEOF
9418 /* confdefs.h.  */
9419 _ACEOF
9420 cat confdefs.h >>conftest.$ac_ext
9421 cat >>conftest.$ac_ext <<_ACEOF
9422 /* end confdefs.h.  */
9423
9424 /* Override any gcc2 internal prototype to avoid an error.  */
9425 #ifdef __cplusplus
9426 extern "C"
9427 #endif
9428 /* We use char because int might match the return type of a gcc2
9429    builtin and then its argument prototype would still apply.  */
9430 char carg ();
9431 int
9432 main ()
9433 {
9434 carg ();
9435   ;
9436   return 0;
9437 }
9438 _ACEOF
9439 rm -f conftest.$ac_objext conftest$ac_exeext
9440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9441   (eval $ac_link) 2>conftest.er1
9442   ac_status=$?
9443   grep -v '^ *+' conftest.er1 >conftest.err
9444   rm -f conftest.er1
9445   cat conftest.err >&5
9446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447   (exit $ac_status); } &&
9448          { ac_try='test -z "$ac_c_werror_flag"
9449                          || test ! -s conftest.err'
9450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451   (eval $ac_try) 2>&5
9452   ac_status=$?
9453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454   (exit $ac_status); }; } &&
9455          { ac_try='test -s conftest$ac_exeext'
9456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457   (eval $ac_try) 2>&5
9458   ac_status=$?
9459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460   (exit $ac_status); }; }; then
9461   ac_cv_lib_m_carg=yes
9462 else
9463   echo "$as_me: failed program was:" >&5
9464 sed 's/^/| /' conftest.$ac_ext >&5
9465
9466 ac_cv_lib_m_carg=no
9467 fi
9468 rm -f conftest.err conftest.$ac_objext \
9469       conftest$ac_exeext conftest.$ac_ext
9470 LIBS=$ac_check_lib_save_LIBS
9471 fi
9472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9473 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9474 if test $ac_cv_lib_m_carg = yes; then
9475
9476 cat >>confdefs.h <<\_ACEOF
9477 #define HAVE_CARG 1
9478 _ACEOF
9479
9480 fi
9481
9482 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9483 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9484 if test "${ac_cv_lib_m_cargl+set}" = set; then
9485   echo $ECHO_N "(cached) $ECHO_C" >&6
9486 else
9487   ac_check_lib_save_LIBS=$LIBS
9488 LIBS="-lm  $LIBS"
9489 if test x$gcc_no_link = xyes; then
9490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9492    { (exit 1); exit 1; }; }
9493 fi
9494 cat >conftest.$ac_ext <<_ACEOF
9495 /* confdefs.h.  */
9496 _ACEOF
9497 cat confdefs.h >>conftest.$ac_ext
9498 cat >>conftest.$ac_ext <<_ACEOF
9499 /* end confdefs.h.  */
9500
9501 /* Override any gcc2 internal prototype to avoid an error.  */
9502 #ifdef __cplusplus
9503 extern "C"
9504 #endif
9505 /* We use char because int might match the return type of a gcc2
9506    builtin and then its argument prototype would still apply.  */
9507 char cargl ();
9508 int
9509 main ()
9510 {
9511 cargl ();
9512   ;
9513   return 0;
9514 }
9515 _ACEOF
9516 rm -f conftest.$ac_objext conftest$ac_exeext
9517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9518   (eval $ac_link) 2>conftest.er1
9519   ac_status=$?
9520   grep -v '^ *+' conftest.er1 >conftest.err
9521   rm -f conftest.er1
9522   cat conftest.err >&5
9523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524   (exit $ac_status); } &&
9525          { ac_try='test -z "$ac_c_werror_flag"
9526                          || test ! -s conftest.err'
9527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528   (eval $ac_try) 2>&5
9529   ac_status=$?
9530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531   (exit $ac_status); }; } &&
9532          { ac_try='test -s conftest$ac_exeext'
9533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534   (eval $ac_try) 2>&5
9535   ac_status=$?
9536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537   (exit $ac_status); }; }; then
9538   ac_cv_lib_m_cargl=yes
9539 else
9540   echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9542
9543 ac_cv_lib_m_cargl=no
9544 fi
9545 rm -f conftest.err conftest.$ac_objext \
9546       conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_lib_save_LIBS
9548 fi
9549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9550 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9551 if test $ac_cv_lib_m_cargl = yes; then
9552
9553 cat >>confdefs.h <<\_ACEOF
9554 #define HAVE_CARGL 1
9555 _ACEOF
9556
9557 fi
9558
9559 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9560 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9561 if test "${ac_cv_lib_m_ceilf+set}" = set; then
9562   echo $ECHO_N "(cached) $ECHO_C" >&6
9563 else
9564   ac_check_lib_save_LIBS=$LIBS
9565 LIBS="-lm  $LIBS"
9566 if test x$gcc_no_link = xyes; then
9567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9569    { (exit 1); exit 1; }; }
9570 fi
9571 cat >conftest.$ac_ext <<_ACEOF
9572 /* confdefs.h.  */
9573 _ACEOF
9574 cat confdefs.h >>conftest.$ac_ext
9575 cat >>conftest.$ac_ext <<_ACEOF
9576 /* end confdefs.h.  */
9577
9578 /* Override any gcc2 internal prototype to avoid an error.  */
9579 #ifdef __cplusplus
9580 extern "C"
9581 #endif
9582 /* We use char because int might match the return type of a gcc2
9583    builtin and then its argument prototype would still apply.  */
9584 char ceilf ();
9585 int
9586 main ()
9587 {
9588 ceilf ();
9589   ;
9590   return 0;
9591 }
9592 _ACEOF
9593 rm -f conftest.$ac_objext conftest$ac_exeext
9594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9595   (eval $ac_link) 2>conftest.er1
9596   ac_status=$?
9597   grep -v '^ *+' conftest.er1 >conftest.err
9598   rm -f conftest.er1
9599   cat conftest.err >&5
9600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601   (exit $ac_status); } &&
9602          { ac_try='test -z "$ac_c_werror_flag"
9603                          || test ! -s conftest.err'
9604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9605   (eval $ac_try) 2>&5
9606   ac_status=$?
9607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608   (exit $ac_status); }; } &&
9609          { ac_try='test -s conftest$ac_exeext'
9610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9611   (eval $ac_try) 2>&5
9612   ac_status=$?
9613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614   (exit $ac_status); }; }; then
9615   ac_cv_lib_m_ceilf=yes
9616 else
9617   echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.$ac_ext >&5
9619
9620 ac_cv_lib_m_ceilf=no
9621 fi
9622 rm -f conftest.err conftest.$ac_objext \
9623       conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_lib_save_LIBS
9625 fi
9626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9627 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9628 if test $ac_cv_lib_m_ceilf = yes; then
9629
9630 cat >>confdefs.h <<\_ACEOF
9631 #define HAVE_CEILF 1
9632 _ACEOF
9633
9634 fi
9635
9636 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9637 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9638 if test "${ac_cv_lib_m_ceil+set}" = set; then
9639   echo $ECHO_N "(cached) $ECHO_C" >&6
9640 else
9641   ac_check_lib_save_LIBS=$LIBS
9642 LIBS="-lm  $LIBS"
9643 if test x$gcc_no_link = xyes; then
9644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9646    { (exit 1); exit 1; }; }
9647 fi
9648 cat >conftest.$ac_ext <<_ACEOF
9649 /* confdefs.h.  */
9650 _ACEOF
9651 cat confdefs.h >>conftest.$ac_ext
9652 cat >>conftest.$ac_ext <<_ACEOF
9653 /* end confdefs.h.  */
9654
9655 /* Override any gcc2 internal prototype to avoid an error.  */
9656 #ifdef __cplusplus
9657 extern "C"
9658 #endif
9659 /* We use char because int might match the return type of a gcc2
9660    builtin and then its argument prototype would still apply.  */
9661 char ceil ();
9662 int
9663 main ()
9664 {
9665 ceil ();
9666   ;
9667   return 0;
9668 }
9669 _ACEOF
9670 rm -f conftest.$ac_objext conftest$ac_exeext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9672   (eval $ac_link) 2>conftest.er1
9673   ac_status=$?
9674   grep -v '^ *+' conftest.er1 >conftest.err
9675   rm -f conftest.er1
9676   cat conftest.err >&5
9677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678   (exit $ac_status); } &&
9679          { ac_try='test -z "$ac_c_werror_flag"
9680                          || test ! -s conftest.err'
9681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9682   (eval $ac_try) 2>&5
9683   ac_status=$?
9684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685   (exit $ac_status); }; } &&
9686          { ac_try='test -s conftest$ac_exeext'
9687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9688   (eval $ac_try) 2>&5
9689   ac_status=$?
9690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691   (exit $ac_status); }; }; then
9692   ac_cv_lib_m_ceil=yes
9693 else
9694   echo "$as_me: failed program was:" >&5
9695 sed 's/^/| /' conftest.$ac_ext >&5
9696
9697 ac_cv_lib_m_ceil=no
9698 fi
9699 rm -f conftest.err conftest.$ac_objext \
9700       conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9702 fi
9703 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9704 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9705 if test $ac_cv_lib_m_ceil = yes; then
9706
9707 cat >>confdefs.h <<\_ACEOF
9708 #define HAVE_CEIL 1
9709 _ACEOF
9710
9711 fi
9712
9713 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9714 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9715 if test "${ac_cv_lib_m_ceill+set}" = set; then
9716   echo $ECHO_N "(cached) $ECHO_C" >&6
9717 else
9718   ac_check_lib_save_LIBS=$LIBS
9719 LIBS="-lm  $LIBS"
9720 if test x$gcc_no_link = xyes; then
9721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9723    { (exit 1); exit 1; }; }
9724 fi
9725 cat >conftest.$ac_ext <<_ACEOF
9726 /* confdefs.h.  */
9727 _ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h.  */
9731
9732 /* Override any gcc2 internal prototype to avoid an error.  */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 /* We use char because int might match the return type of a gcc2
9737    builtin and then its argument prototype would still apply.  */
9738 char ceill ();
9739 int
9740 main ()
9741 {
9742 ceill ();
9743   ;
9744   return 0;
9745 }
9746 _ACEOF
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9749   (eval $ac_link) 2>conftest.er1
9750   ac_status=$?
9751   grep -v '^ *+' conftest.er1 >conftest.err
9752   rm -f conftest.er1
9753   cat conftest.err >&5
9754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755   (exit $ac_status); } &&
9756          { ac_try='test -z "$ac_c_werror_flag"
9757                          || test ! -s conftest.err'
9758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759   (eval $ac_try) 2>&5
9760   ac_status=$?
9761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762   (exit $ac_status); }; } &&
9763          { ac_try='test -s conftest$ac_exeext'
9764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765   (eval $ac_try) 2>&5
9766   ac_status=$?
9767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768   (exit $ac_status); }; }; then
9769   ac_cv_lib_m_ceill=yes
9770 else
9771   echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9773
9774 ac_cv_lib_m_ceill=no
9775 fi
9776 rm -f conftest.err conftest.$ac_objext \
9777       conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_lib_save_LIBS
9779 fi
9780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9781 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9782 if test $ac_cv_lib_m_ceill = yes; then
9783
9784 cat >>confdefs.h <<\_ACEOF
9785 #define HAVE_CEILL 1
9786 _ACEOF
9787
9788 fi
9789
9790 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9791 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9792 if test "${ac_cv_lib_m_copysignf+set}" = set; then
9793   echo $ECHO_N "(cached) $ECHO_C" >&6
9794 else
9795   ac_check_lib_save_LIBS=$LIBS
9796 LIBS="-lm  $LIBS"
9797 if test x$gcc_no_link = xyes; then
9798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9800    { (exit 1); exit 1; }; }
9801 fi
9802 cat >conftest.$ac_ext <<_ACEOF
9803 /* confdefs.h.  */
9804 _ACEOF
9805 cat confdefs.h >>conftest.$ac_ext
9806 cat >>conftest.$ac_ext <<_ACEOF
9807 /* end confdefs.h.  */
9808
9809 /* Override any gcc2 internal prototype to avoid an error.  */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 /* We use char because int might match the return type of a gcc2
9814    builtin and then its argument prototype would still apply.  */
9815 char copysignf ();
9816 int
9817 main ()
9818 {
9819 copysignf ();
9820   ;
9821   return 0;
9822 }
9823 _ACEOF
9824 rm -f conftest.$ac_objext conftest$ac_exeext
9825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9826   (eval $ac_link) 2>conftest.er1
9827   ac_status=$?
9828   grep -v '^ *+' conftest.er1 >conftest.err
9829   rm -f conftest.er1
9830   cat conftest.err >&5
9831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832   (exit $ac_status); } &&
9833          { ac_try='test -z "$ac_c_werror_flag"
9834                          || test ! -s conftest.err'
9835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9836   (eval $ac_try) 2>&5
9837   ac_status=$?
9838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839   (exit $ac_status); }; } &&
9840          { ac_try='test -s conftest$ac_exeext'
9841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842   (eval $ac_try) 2>&5
9843   ac_status=$?
9844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845   (exit $ac_status); }; }; then
9846   ac_cv_lib_m_copysignf=yes
9847 else
9848   echo "$as_me: failed program was:" >&5
9849 sed 's/^/| /' conftest.$ac_ext >&5
9850
9851 ac_cv_lib_m_copysignf=no
9852 fi
9853 rm -f conftest.err conftest.$ac_objext \
9854       conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_lib_save_LIBS
9856 fi
9857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
9858 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
9859 if test $ac_cv_lib_m_copysignf = yes; then
9860
9861 cat >>confdefs.h <<\_ACEOF
9862 #define HAVE_COPYSIGNF 1
9863 _ACEOF
9864
9865 fi
9866
9867 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
9868 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
9869 if test "${ac_cv_lib_m_copysign+set}" = set; then
9870   echo $ECHO_N "(cached) $ECHO_C" >&6
9871 else
9872   ac_check_lib_save_LIBS=$LIBS
9873 LIBS="-lm  $LIBS"
9874 if test x$gcc_no_link = xyes; then
9875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9877    { (exit 1); exit 1; }; }
9878 fi
9879 cat >conftest.$ac_ext <<_ACEOF
9880 /* confdefs.h.  */
9881 _ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h.  */
9885
9886 /* Override any gcc2 internal prototype to avoid an error.  */
9887 #ifdef __cplusplus
9888 extern "C"
9889 #endif
9890 /* We use char because int might match the return type of a gcc2
9891    builtin and then its argument prototype would still apply.  */
9892 char copysign ();
9893 int
9894 main ()
9895 {
9896 copysign ();
9897   ;
9898   return 0;
9899 }
9900 _ACEOF
9901 rm -f conftest.$ac_objext conftest$ac_exeext
9902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9903   (eval $ac_link) 2>conftest.er1
9904   ac_status=$?
9905   grep -v '^ *+' conftest.er1 >conftest.err
9906   rm -f conftest.er1
9907   cat conftest.err >&5
9908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909   (exit $ac_status); } &&
9910          { ac_try='test -z "$ac_c_werror_flag"
9911                          || test ! -s conftest.err'
9912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913   (eval $ac_try) 2>&5
9914   ac_status=$?
9915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916   (exit $ac_status); }; } &&
9917          { ac_try='test -s conftest$ac_exeext'
9918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919   (eval $ac_try) 2>&5
9920   ac_status=$?
9921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922   (exit $ac_status); }; }; then
9923   ac_cv_lib_m_copysign=yes
9924 else
9925   echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.$ac_ext >&5
9927
9928 ac_cv_lib_m_copysign=no
9929 fi
9930 rm -f conftest.err conftest.$ac_objext \
9931       conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_lib_save_LIBS
9933 fi
9934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
9935 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
9936 if test $ac_cv_lib_m_copysign = yes; then
9937
9938 cat >>confdefs.h <<\_ACEOF
9939 #define HAVE_COPYSIGN 1
9940 _ACEOF
9941
9942 fi
9943
9944 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
9945 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
9946 if test "${ac_cv_lib_m_copysignl+set}" = set; then
9947   echo $ECHO_N "(cached) $ECHO_C" >&6
9948 else
9949   ac_check_lib_save_LIBS=$LIBS
9950 LIBS="-lm  $LIBS"
9951 if test x$gcc_no_link = xyes; then
9952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9954    { (exit 1); exit 1; }; }
9955 fi
9956 cat >conftest.$ac_ext <<_ACEOF
9957 /* confdefs.h.  */
9958 _ACEOF
9959 cat confdefs.h >>conftest.$ac_ext
9960 cat >>conftest.$ac_ext <<_ACEOF
9961 /* end confdefs.h.  */
9962
9963 /* Override any gcc2 internal prototype to avoid an error.  */
9964 #ifdef __cplusplus
9965 extern "C"
9966 #endif
9967 /* We use char because int might match the return type of a gcc2
9968    builtin and then its argument prototype would still apply.  */
9969 char copysignl ();
9970 int
9971 main ()
9972 {
9973 copysignl ();
9974   ;
9975   return 0;
9976 }
9977 _ACEOF
9978 rm -f conftest.$ac_objext conftest$ac_exeext
9979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9980   (eval $ac_link) 2>conftest.er1
9981   ac_status=$?
9982   grep -v '^ *+' conftest.er1 >conftest.err
9983   rm -f conftest.er1
9984   cat conftest.err >&5
9985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986   (exit $ac_status); } &&
9987          { ac_try='test -z "$ac_c_werror_flag"
9988                          || test ! -s conftest.err'
9989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990   (eval $ac_try) 2>&5
9991   ac_status=$?
9992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993   (exit $ac_status); }; } &&
9994          { ac_try='test -s conftest$ac_exeext'
9995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996   (eval $ac_try) 2>&5
9997   ac_status=$?
9998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999   (exit $ac_status); }; }; then
10000   ac_cv_lib_m_copysignl=yes
10001 else
10002   echo "$as_me: failed program was:" >&5
10003 sed 's/^/| /' conftest.$ac_ext >&5
10004
10005 ac_cv_lib_m_copysignl=no
10006 fi
10007 rm -f conftest.err conftest.$ac_objext \
10008       conftest$ac_exeext conftest.$ac_ext
10009 LIBS=$ac_check_lib_save_LIBS
10010 fi
10011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10012 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10013 if test $ac_cv_lib_m_copysignl = yes; then
10014
10015 cat >>confdefs.h <<\_ACEOF
10016 #define HAVE_COPYSIGNL 1
10017 _ACEOF
10018
10019 fi
10020
10021 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10022 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10023 if test "${ac_cv_lib_m_cosf+set}" = set; then
10024   echo $ECHO_N "(cached) $ECHO_C" >&6
10025 else
10026   ac_check_lib_save_LIBS=$LIBS
10027 LIBS="-lm  $LIBS"
10028 if test x$gcc_no_link = xyes; then
10029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10031    { (exit 1); exit 1; }; }
10032 fi
10033 cat >conftest.$ac_ext <<_ACEOF
10034 /* confdefs.h.  */
10035 _ACEOF
10036 cat confdefs.h >>conftest.$ac_ext
10037 cat >>conftest.$ac_ext <<_ACEOF
10038 /* end confdefs.h.  */
10039
10040 /* Override any gcc2 internal prototype to avoid an error.  */
10041 #ifdef __cplusplus
10042 extern "C"
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045    builtin and then its argument prototype would still apply.  */
10046 char cosf ();
10047 int
10048 main ()
10049 {
10050 cosf ();
10051   ;
10052   return 0;
10053 }
10054 _ACEOF
10055 rm -f conftest.$ac_objext conftest$ac_exeext
10056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10057   (eval $ac_link) 2>conftest.er1
10058   ac_status=$?
10059   grep -v '^ *+' conftest.er1 >conftest.err
10060   rm -f conftest.er1
10061   cat conftest.err >&5
10062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063   (exit $ac_status); } &&
10064          { ac_try='test -z "$ac_c_werror_flag"
10065                          || test ! -s conftest.err'
10066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067   (eval $ac_try) 2>&5
10068   ac_status=$?
10069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070   (exit $ac_status); }; } &&
10071          { ac_try='test -s conftest$ac_exeext'
10072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10073   (eval $ac_try) 2>&5
10074   ac_status=$?
10075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076   (exit $ac_status); }; }; then
10077   ac_cv_lib_m_cosf=yes
10078 else
10079   echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.$ac_ext >&5
10081
10082 ac_cv_lib_m_cosf=no
10083 fi
10084 rm -f conftest.err conftest.$ac_objext \
10085       conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10087 fi
10088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10089 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10090 if test $ac_cv_lib_m_cosf = yes; then
10091
10092 cat >>confdefs.h <<\_ACEOF
10093 #define HAVE_COSF 1
10094 _ACEOF
10095
10096 fi
10097
10098 echo "$as_me:$LINENO: checking for cos in -lm" >&5
10099 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10100 if test "${ac_cv_lib_m_cos+set}" = set; then
10101   echo $ECHO_N "(cached) $ECHO_C" >&6
10102 else
10103   ac_check_lib_save_LIBS=$LIBS
10104 LIBS="-lm  $LIBS"
10105 if test x$gcc_no_link = xyes; then
10106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10108    { (exit 1); exit 1; }; }
10109 fi
10110 cat >conftest.$ac_ext <<_ACEOF
10111 /* confdefs.h.  */
10112 _ACEOF
10113 cat confdefs.h >>conftest.$ac_ext
10114 cat >>conftest.$ac_ext <<_ACEOF
10115 /* end confdefs.h.  */
10116
10117 /* Override any gcc2 internal prototype to avoid an error.  */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 /* We use char because int might match the return type of a gcc2
10122    builtin and then its argument prototype would still apply.  */
10123 char cos ();
10124 int
10125 main ()
10126 {
10127 cos ();
10128   ;
10129   return 0;
10130 }
10131 _ACEOF
10132 rm -f conftest.$ac_objext conftest$ac_exeext
10133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10134   (eval $ac_link) 2>conftest.er1
10135   ac_status=$?
10136   grep -v '^ *+' conftest.er1 >conftest.err
10137   rm -f conftest.er1
10138   cat conftest.err >&5
10139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140   (exit $ac_status); } &&
10141          { ac_try='test -z "$ac_c_werror_flag"
10142                          || test ! -s conftest.err'
10143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144   (eval $ac_try) 2>&5
10145   ac_status=$?
10146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147   (exit $ac_status); }; } &&
10148          { ac_try='test -s conftest$ac_exeext'
10149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150   (eval $ac_try) 2>&5
10151   ac_status=$?
10152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153   (exit $ac_status); }; }; then
10154   ac_cv_lib_m_cos=yes
10155 else
10156   echo "$as_me: failed program was:" >&5
10157 sed 's/^/| /' conftest.$ac_ext >&5
10158
10159 ac_cv_lib_m_cos=no
10160 fi
10161 rm -f conftest.err conftest.$ac_objext \
10162       conftest$ac_exeext conftest.$ac_ext
10163 LIBS=$ac_check_lib_save_LIBS
10164 fi
10165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10166 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10167 if test $ac_cv_lib_m_cos = yes; then
10168
10169 cat >>confdefs.h <<\_ACEOF
10170 #define HAVE_COS 1
10171 _ACEOF
10172
10173 fi
10174
10175 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10176 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10177 if test "${ac_cv_lib_m_cosl+set}" = set; then
10178   echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180   ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lm  $LIBS"
10182 if test x$gcc_no_link = xyes; then
10183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10185    { (exit 1); exit 1; }; }
10186 fi
10187 cat >conftest.$ac_ext <<_ACEOF
10188 /* confdefs.h.  */
10189 _ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h.  */
10193
10194 /* Override any gcc2 internal prototype to avoid an error.  */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 /* We use char because int might match the return type of a gcc2
10199    builtin and then its argument prototype would still apply.  */
10200 char cosl ();
10201 int
10202 main ()
10203 {
10204 cosl ();
10205   ;
10206   return 0;
10207 }
10208 _ACEOF
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10211   (eval $ac_link) 2>conftest.er1
10212   ac_status=$?
10213   grep -v '^ *+' conftest.er1 >conftest.err
10214   rm -f conftest.er1
10215   cat conftest.err >&5
10216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217   (exit $ac_status); } &&
10218          { ac_try='test -z "$ac_c_werror_flag"
10219                          || test ! -s conftest.err'
10220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221   (eval $ac_try) 2>&5
10222   ac_status=$?
10223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224   (exit $ac_status); }; } &&
10225          { ac_try='test -s conftest$ac_exeext'
10226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227   (eval $ac_try) 2>&5
10228   ac_status=$?
10229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230   (exit $ac_status); }; }; then
10231   ac_cv_lib_m_cosl=yes
10232 else
10233   echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.$ac_ext >&5
10235
10236 ac_cv_lib_m_cosl=no
10237 fi
10238 rm -f conftest.err conftest.$ac_objext \
10239       conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_lib_save_LIBS
10241 fi
10242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10243 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10244 if test $ac_cv_lib_m_cosl = yes; then
10245
10246 cat >>confdefs.h <<\_ACEOF
10247 #define HAVE_COSL 1
10248 _ACEOF
10249
10250 fi
10251
10252 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10253 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10254 if test "${ac_cv_lib_m_ccosf+set}" = set; then
10255   echo $ECHO_N "(cached) $ECHO_C" >&6
10256 else
10257   ac_check_lib_save_LIBS=$LIBS
10258 LIBS="-lm  $LIBS"
10259 if test x$gcc_no_link = xyes; then
10260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10262    { (exit 1); exit 1; }; }
10263 fi
10264 cat >conftest.$ac_ext <<_ACEOF
10265 /* confdefs.h.  */
10266 _ACEOF
10267 cat confdefs.h >>conftest.$ac_ext
10268 cat >>conftest.$ac_ext <<_ACEOF
10269 /* end confdefs.h.  */
10270
10271 /* Override any gcc2 internal prototype to avoid an error.  */
10272 #ifdef __cplusplus
10273 extern "C"
10274 #endif
10275 /* We use char because int might match the return type of a gcc2
10276    builtin and then its argument prototype would still apply.  */
10277 char ccosf ();
10278 int
10279 main ()
10280 {
10281 ccosf ();
10282   ;
10283   return 0;
10284 }
10285 _ACEOF
10286 rm -f conftest.$ac_objext conftest$ac_exeext
10287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10288   (eval $ac_link) 2>conftest.er1
10289   ac_status=$?
10290   grep -v '^ *+' conftest.er1 >conftest.err
10291   rm -f conftest.er1
10292   cat conftest.err >&5
10293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294   (exit $ac_status); } &&
10295          { ac_try='test -z "$ac_c_werror_flag"
10296                          || test ! -s conftest.err'
10297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298   (eval $ac_try) 2>&5
10299   ac_status=$?
10300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301   (exit $ac_status); }; } &&
10302          { ac_try='test -s conftest$ac_exeext'
10303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10304   (eval $ac_try) 2>&5
10305   ac_status=$?
10306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307   (exit $ac_status); }; }; then
10308   ac_cv_lib_m_ccosf=yes
10309 else
10310   echo "$as_me: failed program was:" >&5
10311 sed 's/^/| /' conftest.$ac_ext >&5
10312
10313 ac_cv_lib_m_ccosf=no
10314 fi
10315 rm -f conftest.err conftest.$ac_objext \
10316       conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_lib_save_LIBS
10318 fi
10319 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10320 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10321 if test $ac_cv_lib_m_ccosf = yes; then
10322
10323 cat >>confdefs.h <<\_ACEOF
10324 #define HAVE_CCOSF 1
10325 _ACEOF
10326
10327 fi
10328
10329 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10330 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10331 if test "${ac_cv_lib_m_ccos+set}" = set; then
10332   echo $ECHO_N "(cached) $ECHO_C" >&6
10333 else
10334   ac_check_lib_save_LIBS=$LIBS
10335 LIBS="-lm  $LIBS"
10336 if test x$gcc_no_link = xyes; then
10337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10339    { (exit 1); exit 1; }; }
10340 fi
10341 cat >conftest.$ac_ext <<_ACEOF
10342 /* confdefs.h.  */
10343 _ACEOF
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h.  */
10347
10348 /* Override any gcc2 internal prototype to avoid an error.  */
10349 #ifdef __cplusplus
10350 extern "C"
10351 #endif
10352 /* We use char because int might match the return type of a gcc2
10353    builtin and then its argument prototype would still apply.  */
10354 char ccos ();
10355 int
10356 main ()
10357 {
10358 ccos ();
10359   ;
10360   return 0;
10361 }
10362 _ACEOF
10363 rm -f conftest.$ac_objext conftest$ac_exeext
10364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10365   (eval $ac_link) 2>conftest.er1
10366   ac_status=$?
10367   grep -v '^ *+' conftest.er1 >conftest.err
10368   rm -f conftest.er1
10369   cat conftest.err >&5
10370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371   (exit $ac_status); } &&
10372          { ac_try='test -z "$ac_c_werror_flag"
10373                          || test ! -s conftest.err'
10374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10375   (eval $ac_try) 2>&5
10376   ac_status=$?
10377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378   (exit $ac_status); }; } &&
10379          { ac_try='test -s conftest$ac_exeext'
10380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381   (eval $ac_try) 2>&5
10382   ac_status=$?
10383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384   (exit $ac_status); }; }; then
10385   ac_cv_lib_m_ccos=yes
10386 else
10387   echo "$as_me: failed program was:" >&5
10388 sed 's/^/| /' conftest.$ac_ext >&5
10389
10390 ac_cv_lib_m_ccos=no
10391 fi
10392 rm -f conftest.err conftest.$ac_objext \
10393       conftest$ac_exeext conftest.$ac_ext
10394 LIBS=$ac_check_lib_save_LIBS
10395 fi
10396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10397 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10398 if test $ac_cv_lib_m_ccos = yes; then
10399
10400 cat >>confdefs.h <<\_ACEOF
10401 #define HAVE_CCOS 1
10402 _ACEOF
10403
10404 fi
10405
10406 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10407 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10408 if test "${ac_cv_lib_m_ccosl+set}" = set; then
10409   echo $ECHO_N "(cached) $ECHO_C" >&6
10410 else
10411   ac_check_lib_save_LIBS=$LIBS
10412 LIBS="-lm  $LIBS"
10413 if test x$gcc_no_link = xyes; then
10414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10416    { (exit 1); exit 1; }; }
10417 fi
10418 cat >conftest.$ac_ext <<_ACEOF
10419 /* confdefs.h.  */
10420 _ACEOF
10421 cat confdefs.h >>conftest.$ac_ext
10422 cat >>conftest.$ac_ext <<_ACEOF
10423 /* end confdefs.h.  */
10424
10425 /* Override any gcc2 internal prototype to avoid an error.  */
10426 #ifdef __cplusplus
10427 extern "C"
10428 #endif
10429 /* We use char because int might match the return type of a gcc2
10430    builtin and then its argument prototype would still apply.  */
10431 char ccosl ();
10432 int
10433 main ()
10434 {
10435 ccosl ();
10436   ;
10437   return 0;
10438 }
10439 _ACEOF
10440 rm -f conftest.$ac_objext conftest$ac_exeext
10441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10442   (eval $ac_link) 2>conftest.er1
10443   ac_status=$?
10444   grep -v '^ *+' conftest.er1 >conftest.err
10445   rm -f conftest.er1
10446   cat conftest.err >&5
10447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448   (exit $ac_status); } &&
10449          { ac_try='test -z "$ac_c_werror_flag"
10450                          || test ! -s conftest.err'
10451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10452   (eval $ac_try) 2>&5
10453   ac_status=$?
10454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455   (exit $ac_status); }; } &&
10456          { ac_try='test -s conftest$ac_exeext'
10457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458   (eval $ac_try) 2>&5
10459   ac_status=$?
10460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461   (exit $ac_status); }; }; then
10462   ac_cv_lib_m_ccosl=yes
10463 else
10464   echo "$as_me: failed program was:" >&5
10465 sed 's/^/| /' conftest.$ac_ext >&5
10466
10467 ac_cv_lib_m_ccosl=no
10468 fi
10469 rm -f conftest.err conftest.$ac_objext \
10470       conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_lib_save_LIBS
10472 fi
10473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10474 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10475 if test $ac_cv_lib_m_ccosl = yes; then
10476
10477 cat >>confdefs.h <<\_ACEOF
10478 #define HAVE_CCOSL 1
10479 _ACEOF
10480
10481 fi
10482
10483 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10484 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10485 if test "${ac_cv_lib_m_coshf+set}" = set; then
10486   echo $ECHO_N "(cached) $ECHO_C" >&6
10487 else
10488   ac_check_lib_save_LIBS=$LIBS
10489 LIBS="-lm  $LIBS"
10490 if test x$gcc_no_link = xyes; then
10491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10493    { (exit 1); exit 1; }; }
10494 fi
10495 cat >conftest.$ac_ext <<_ACEOF
10496 /* confdefs.h.  */
10497 _ACEOF
10498 cat confdefs.h >>conftest.$ac_ext
10499 cat >>conftest.$ac_ext <<_ACEOF
10500 /* end confdefs.h.  */
10501
10502 /* Override any gcc2 internal prototype to avoid an error.  */
10503 #ifdef __cplusplus
10504 extern "C"
10505 #endif
10506 /* We use char because int might match the return type of a gcc2
10507    builtin and then its argument prototype would still apply.  */
10508 char coshf ();
10509 int
10510 main ()
10511 {
10512 coshf ();
10513   ;
10514   return 0;
10515 }
10516 _ACEOF
10517 rm -f conftest.$ac_objext conftest$ac_exeext
10518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10519   (eval $ac_link) 2>conftest.er1
10520   ac_status=$?
10521   grep -v '^ *+' conftest.er1 >conftest.err
10522   rm -f conftest.er1
10523   cat conftest.err >&5
10524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525   (exit $ac_status); } &&
10526          { ac_try='test -z "$ac_c_werror_flag"
10527                          || test ! -s conftest.err'
10528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10529   (eval $ac_try) 2>&5
10530   ac_status=$?
10531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532   (exit $ac_status); }; } &&
10533          { ac_try='test -s conftest$ac_exeext'
10534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535   (eval $ac_try) 2>&5
10536   ac_status=$?
10537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538   (exit $ac_status); }; }; then
10539   ac_cv_lib_m_coshf=yes
10540 else
10541   echo "$as_me: failed program was:" >&5
10542 sed 's/^/| /' conftest.$ac_ext >&5
10543
10544 ac_cv_lib_m_coshf=no
10545 fi
10546 rm -f conftest.err conftest.$ac_objext \
10547       conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_lib_save_LIBS
10549 fi
10550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10551 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10552 if test $ac_cv_lib_m_coshf = yes; then
10553
10554 cat >>confdefs.h <<\_ACEOF
10555 #define HAVE_COSHF 1
10556 _ACEOF
10557
10558 fi
10559
10560 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10561 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10562 if test "${ac_cv_lib_m_cosh+set}" = set; then
10563   echo $ECHO_N "(cached) $ECHO_C" >&6
10564 else
10565   ac_check_lib_save_LIBS=$LIBS
10566 LIBS="-lm  $LIBS"
10567 if test x$gcc_no_link = xyes; then
10568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10570    { (exit 1); exit 1; }; }
10571 fi
10572 cat >conftest.$ac_ext <<_ACEOF
10573 /* confdefs.h.  */
10574 _ACEOF
10575 cat confdefs.h >>conftest.$ac_ext
10576 cat >>conftest.$ac_ext <<_ACEOF
10577 /* end confdefs.h.  */
10578
10579 /* Override any gcc2 internal prototype to avoid an error.  */
10580 #ifdef __cplusplus
10581 extern "C"
10582 #endif
10583 /* We use char because int might match the return type of a gcc2
10584    builtin and then its argument prototype would still apply.  */
10585 char cosh ();
10586 int
10587 main ()
10588 {
10589 cosh ();
10590   ;
10591   return 0;
10592 }
10593 _ACEOF
10594 rm -f conftest.$ac_objext conftest$ac_exeext
10595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10596   (eval $ac_link) 2>conftest.er1
10597   ac_status=$?
10598   grep -v '^ *+' conftest.er1 >conftest.err
10599   rm -f conftest.er1
10600   cat conftest.err >&5
10601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602   (exit $ac_status); } &&
10603          { ac_try='test -z "$ac_c_werror_flag"
10604                          || test ! -s conftest.err'
10605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10606   (eval $ac_try) 2>&5
10607   ac_status=$?
10608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609   (exit $ac_status); }; } &&
10610          { ac_try='test -s conftest$ac_exeext'
10611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10612   (eval $ac_try) 2>&5
10613   ac_status=$?
10614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615   (exit $ac_status); }; }; then
10616   ac_cv_lib_m_cosh=yes
10617 else
10618   echo "$as_me: failed program was:" >&5
10619 sed 's/^/| /' conftest.$ac_ext >&5
10620
10621 ac_cv_lib_m_cosh=no
10622 fi
10623 rm -f conftest.err conftest.$ac_objext \
10624       conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_lib_save_LIBS
10626 fi
10627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10628 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10629 if test $ac_cv_lib_m_cosh = yes; then
10630
10631 cat >>confdefs.h <<\_ACEOF
10632 #define HAVE_COSH 1
10633 _ACEOF
10634
10635 fi
10636
10637 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10638 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10639 if test "${ac_cv_lib_m_coshl+set}" = set; then
10640   echo $ECHO_N "(cached) $ECHO_C" >&6
10641 else
10642   ac_check_lib_save_LIBS=$LIBS
10643 LIBS="-lm  $LIBS"
10644 if test x$gcc_no_link = xyes; then
10645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10647    { (exit 1); exit 1; }; }
10648 fi
10649 cat >conftest.$ac_ext <<_ACEOF
10650 /* confdefs.h.  */
10651 _ACEOF
10652 cat confdefs.h >>conftest.$ac_ext
10653 cat >>conftest.$ac_ext <<_ACEOF
10654 /* end confdefs.h.  */
10655
10656 /* Override any gcc2 internal prototype to avoid an error.  */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 /* We use char because int might match the return type of a gcc2
10661    builtin and then its argument prototype would still apply.  */
10662 char coshl ();
10663 int
10664 main ()
10665 {
10666 coshl ();
10667   ;
10668   return 0;
10669 }
10670 _ACEOF
10671 rm -f conftest.$ac_objext conftest$ac_exeext
10672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10673   (eval $ac_link) 2>conftest.er1
10674   ac_status=$?
10675   grep -v '^ *+' conftest.er1 >conftest.err
10676   rm -f conftest.er1
10677   cat conftest.err >&5
10678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679   (exit $ac_status); } &&
10680          { ac_try='test -z "$ac_c_werror_flag"
10681                          || test ! -s conftest.err'
10682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683   (eval $ac_try) 2>&5
10684   ac_status=$?
10685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686   (exit $ac_status); }; } &&
10687          { ac_try='test -s conftest$ac_exeext'
10688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689   (eval $ac_try) 2>&5
10690   ac_status=$?
10691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692   (exit $ac_status); }; }; then
10693   ac_cv_lib_m_coshl=yes
10694 else
10695   echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10697
10698 ac_cv_lib_m_coshl=no
10699 fi
10700 rm -f conftest.err conftest.$ac_objext \
10701       conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10703 fi
10704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
10705 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10706 if test $ac_cv_lib_m_coshl = yes; then
10707
10708 cat >>confdefs.h <<\_ACEOF
10709 #define HAVE_COSHL 1
10710 _ACEOF
10711
10712 fi
10713
10714 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10715 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10716 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
10717   echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719   ac_check_lib_save_LIBS=$LIBS
10720 LIBS="-lm  $LIBS"
10721 if test x$gcc_no_link = xyes; then
10722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10724    { (exit 1); exit 1; }; }
10725 fi
10726 cat >conftest.$ac_ext <<_ACEOF
10727 /* confdefs.h.  */
10728 _ACEOF
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h.  */
10732
10733 /* Override any gcc2 internal prototype to avoid an error.  */
10734 #ifdef __cplusplus
10735 extern "C"
10736 #endif
10737 /* We use char because int might match the return type of a gcc2
10738    builtin and then its argument prototype would still apply.  */
10739 char ccoshf ();
10740 int
10741 main ()
10742 {
10743 ccoshf ();
10744   ;
10745   return 0;
10746 }
10747 _ACEOF
10748 rm -f conftest.$ac_objext conftest$ac_exeext
10749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10750   (eval $ac_link) 2>conftest.er1
10751   ac_status=$?
10752   grep -v '^ *+' conftest.er1 >conftest.err
10753   rm -f conftest.er1
10754   cat conftest.err >&5
10755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756   (exit $ac_status); } &&
10757          { ac_try='test -z "$ac_c_werror_flag"
10758                          || test ! -s conftest.err'
10759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760   (eval $ac_try) 2>&5
10761   ac_status=$?
10762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763   (exit $ac_status); }; } &&
10764          { ac_try='test -s conftest$ac_exeext'
10765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766   (eval $ac_try) 2>&5
10767   ac_status=$?
10768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769   (exit $ac_status); }; }; then
10770   ac_cv_lib_m_ccoshf=yes
10771 else
10772   echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10774
10775 ac_cv_lib_m_ccoshf=no
10776 fi
10777 rm -f conftest.err conftest.$ac_objext \
10778       conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_lib_save_LIBS
10780 fi
10781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10782 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10783 if test $ac_cv_lib_m_ccoshf = yes; then
10784
10785 cat >>confdefs.h <<\_ACEOF
10786 #define HAVE_CCOSHF 1
10787 _ACEOF
10788
10789 fi
10790
10791 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10792 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10793 if test "${ac_cv_lib_m_ccosh+set}" = set; then
10794   echo $ECHO_N "(cached) $ECHO_C" >&6
10795 else
10796   ac_check_lib_save_LIBS=$LIBS
10797 LIBS="-lm  $LIBS"
10798 if test x$gcc_no_link = xyes; then
10799   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10801    { (exit 1); exit 1; }; }
10802 fi
10803 cat >conftest.$ac_ext <<_ACEOF
10804 /* confdefs.h.  */
10805 _ACEOF
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h.  */
10809
10810 /* Override any gcc2 internal prototype to avoid an error.  */
10811 #ifdef __cplusplus
10812 extern "C"
10813 #endif
10814 /* We use char because int might match the return type of a gcc2
10815    builtin and then its argument prototype would still apply.  */
10816 char ccosh ();
10817 int
10818 main ()
10819 {
10820 ccosh ();
10821   ;
10822   return 0;
10823 }
10824 _ACEOF
10825 rm -f conftest.$ac_objext conftest$ac_exeext
10826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10827   (eval $ac_link) 2>conftest.er1
10828   ac_status=$?
10829   grep -v '^ *+' conftest.er1 >conftest.err
10830   rm -f conftest.er1
10831   cat conftest.err >&5
10832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833   (exit $ac_status); } &&
10834          { ac_try='test -z "$ac_c_werror_flag"
10835                          || test ! -s conftest.err'
10836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837   (eval $ac_try) 2>&5
10838   ac_status=$?
10839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840   (exit $ac_status); }; } &&
10841          { ac_try='test -s conftest$ac_exeext'
10842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843   (eval $ac_try) 2>&5
10844   ac_status=$?
10845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846   (exit $ac_status); }; }; then
10847   ac_cv_lib_m_ccosh=yes
10848 else
10849   echo "$as_me: failed program was:" >&5
10850 sed 's/^/| /' conftest.$ac_ext >&5
10851
10852 ac_cv_lib_m_ccosh=no
10853 fi
10854 rm -f conftest.err conftest.$ac_objext \
10855       conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10857 fi
10858 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
10859 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
10860 if test $ac_cv_lib_m_ccosh = yes; then
10861
10862 cat >>confdefs.h <<\_ACEOF
10863 #define HAVE_CCOSH 1
10864 _ACEOF
10865
10866 fi
10867
10868 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
10869 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
10870 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
10871   echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873   ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lm  $LIBS"
10875 if test x$gcc_no_link = xyes; then
10876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10878    { (exit 1); exit 1; }; }
10879 fi
10880 cat >conftest.$ac_ext <<_ACEOF
10881 /* confdefs.h.  */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h.  */
10886
10887 /* Override any gcc2 internal prototype to avoid an error.  */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 /* We use char because int might match the return type of a gcc2
10892    builtin and then its argument prototype would still apply.  */
10893 char ccoshl ();
10894 int
10895 main ()
10896 {
10897 ccoshl ();
10898   ;
10899   return 0;
10900 }
10901 _ACEOF
10902 rm -f conftest.$ac_objext conftest$ac_exeext
10903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904   (eval $ac_link) 2>conftest.er1
10905   ac_status=$?
10906   grep -v '^ *+' conftest.er1 >conftest.err
10907   rm -f conftest.er1
10908   cat conftest.err >&5
10909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910   (exit $ac_status); } &&
10911          { ac_try='test -z "$ac_c_werror_flag"
10912                          || test ! -s conftest.err'
10913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10914   (eval $ac_try) 2>&5
10915   ac_status=$?
10916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917   (exit $ac_status); }; } &&
10918          { ac_try='test -s conftest$ac_exeext'
10919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920   (eval $ac_try) 2>&5
10921   ac_status=$?
10922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923   (exit $ac_status); }; }; then
10924   ac_cv_lib_m_ccoshl=yes
10925 else
10926   echo "$as_me: failed program was:" >&5
10927 sed 's/^/| /' conftest.$ac_ext >&5
10928
10929 ac_cv_lib_m_ccoshl=no
10930 fi
10931 rm -f conftest.err conftest.$ac_objext \
10932       conftest$ac_exeext conftest.$ac_ext
10933 LIBS=$ac_check_lib_save_LIBS
10934 fi
10935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
10936 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
10937 if test $ac_cv_lib_m_ccoshl = yes; then
10938
10939 cat >>confdefs.h <<\_ACEOF
10940 #define HAVE_CCOSHL 1
10941 _ACEOF
10942
10943 fi
10944
10945 echo "$as_me:$LINENO: checking for expf in -lm" >&5
10946 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
10947 if test "${ac_cv_lib_m_expf+set}" = set; then
10948   echo $ECHO_N "(cached) $ECHO_C" >&6
10949 else
10950   ac_check_lib_save_LIBS=$LIBS
10951 LIBS="-lm  $LIBS"
10952 if test x$gcc_no_link = xyes; then
10953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10955    { (exit 1); exit 1; }; }
10956 fi
10957 cat >conftest.$ac_ext <<_ACEOF
10958 /* confdefs.h.  */
10959 _ACEOF
10960 cat confdefs.h >>conftest.$ac_ext
10961 cat >>conftest.$ac_ext <<_ACEOF
10962 /* end confdefs.h.  */
10963
10964 /* Override any gcc2 internal prototype to avoid an error.  */
10965 #ifdef __cplusplus
10966 extern "C"
10967 #endif
10968 /* We use char because int might match the return type of a gcc2
10969    builtin and then its argument prototype would still apply.  */
10970 char expf ();
10971 int
10972 main ()
10973 {
10974 expf ();
10975   ;
10976   return 0;
10977 }
10978 _ACEOF
10979 rm -f conftest.$ac_objext conftest$ac_exeext
10980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10981   (eval $ac_link) 2>conftest.er1
10982   ac_status=$?
10983   grep -v '^ *+' conftest.er1 >conftest.err
10984   rm -f conftest.er1
10985   cat conftest.err >&5
10986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987   (exit $ac_status); } &&
10988          { ac_try='test -z "$ac_c_werror_flag"
10989                          || test ! -s conftest.err'
10990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991   (eval $ac_try) 2>&5
10992   ac_status=$?
10993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994   (exit $ac_status); }; } &&
10995          { ac_try='test -s conftest$ac_exeext'
10996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10997   (eval $ac_try) 2>&5
10998   ac_status=$?
10999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000   (exit $ac_status); }; }; then
11001   ac_cv_lib_m_expf=yes
11002 else
11003   echo "$as_me: failed program was:" >&5
11004 sed 's/^/| /' conftest.$ac_ext >&5
11005
11006 ac_cv_lib_m_expf=no
11007 fi
11008 rm -f conftest.err conftest.$ac_objext \
11009       conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_lib_save_LIBS
11011 fi
11012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11013 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11014 if test $ac_cv_lib_m_expf = yes; then
11015
11016 cat >>confdefs.h <<\_ACEOF
11017 #define HAVE_EXPF 1
11018 _ACEOF
11019
11020 fi
11021
11022 echo "$as_me:$LINENO: checking for exp in -lm" >&5
11023 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11024 if test "${ac_cv_lib_m_exp+set}" = set; then
11025   echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027   ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lm  $LIBS"
11029 if test x$gcc_no_link = xyes; then
11030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11032    { (exit 1); exit 1; }; }
11033 fi
11034 cat >conftest.$ac_ext <<_ACEOF
11035 /* confdefs.h.  */
11036 _ACEOF
11037 cat confdefs.h >>conftest.$ac_ext
11038 cat >>conftest.$ac_ext <<_ACEOF
11039 /* end confdefs.h.  */
11040
11041 /* Override any gcc2 internal prototype to avoid an error.  */
11042 #ifdef __cplusplus
11043 extern "C"
11044 #endif
11045 /* We use char because int might match the return type of a gcc2
11046    builtin and then its argument prototype would still apply.  */
11047 char exp ();
11048 int
11049 main ()
11050 {
11051 exp ();
11052   ;
11053   return 0;
11054 }
11055 _ACEOF
11056 rm -f conftest.$ac_objext conftest$ac_exeext
11057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11058   (eval $ac_link) 2>conftest.er1
11059   ac_status=$?
11060   grep -v '^ *+' conftest.er1 >conftest.err
11061   rm -f conftest.er1
11062   cat conftest.err >&5
11063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064   (exit $ac_status); } &&
11065          { ac_try='test -z "$ac_c_werror_flag"
11066                          || test ! -s conftest.err'
11067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11068   (eval $ac_try) 2>&5
11069   ac_status=$?
11070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071   (exit $ac_status); }; } &&
11072          { ac_try='test -s conftest$ac_exeext'
11073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074   (eval $ac_try) 2>&5
11075   ac_status=$?
11076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077   (exit $ac_status); }; }; then
11078   ac_cv_lib_m_exp=yes
11079 else
11080   echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.$ac_ext >&5
11082
11083 ac_cv_lib_m_exp=no
11084 fi
11085 rm -f conftest.err conftest.$ac_objext \
11086       conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11088 fi
11089 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11090 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11091 if test $ac_cv_lib_m_exp = yes; then
11092
11093 cat >>confdefs.h <<\_ACEOF
11094 #define HAVE_EXP 1
11095 _ACEOF
11096
11097 fi
11098
11099 echo "$as_me:$LINENO: checking for expl in -lm" >&5
11100 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11101 if test "${ac_cv_lib_m_expl+set}" = set; then
11102   echo $ECHO_N "(cached) $ECHO_C" >&6
11103 else
11104   ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-lm  $LIBS"
11106 if test x$gcc_no_link = xyes; then
11107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11109    { (exit 1); exit 1; }; }
11110 fi
11111 cat >conftest.$ac_ext <<_ACEOF
11112 /* confdefs.h.  */
11113 _ACEOF
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h.  */
11117
11118 /* Override any gcc2 internal prototype to avoid an error.  */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 /* We use char because int might match the return type of a gcc2
11123    builtin and then its argument prototype would still apply.  */
11124 char expl ();
11125 int
11126 main ()
11127 {
11128 expl ();
11129   ;
11130   return 0;
11131 }
11132 _ACEOF
11133 rm -f conftest.$ac_objext conftest$ac_exeext
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135   (eval $ac_link) 2>conftest.er1
11136   ac_status=$?
11137   grep -v '^ *+' conftest.er1 >conftest.err
11138   rm -f conftest.er1
11139   cat conftest.err >&5
11140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141   (exit $ac_status); } &&
11142          { ac_try='test -z "$ac_c_werror_flag"
11143                          || test ! -s conftest.err'
11144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145   (eval $ac_try) 2>&5
11146   ac_status=$?
11147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148   (exit $ac_status); }; } &&
11149          { ac_try='test -s conftest$ac_exeext'
11150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151   (eval $ac_try) 2>&5
11152   ac_status=$?
11153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154   (exit $ac_status); }; }; then
11155   ac_cv_lib_m_expl=yes
11156 else
11157   echo "$as_me: failed program was:" >&5
11158 sed 's/^/| /' conftest.$ac_ext >&5
11159
11160 ac_cv_lib_m_expl=no
11161 fi
11162 rm -f conftest.err conftest.$ac_objext \
11163       conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11165 fi
11166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11167 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11168 if test $ac_cv_lib_m_expl = yes; then
11169
11170 cat >>confdefs.h <<\_ACEOF
11171 #define HAVE_EXPL 1
11172 _ACEOF
11173
11174 fi
11175
11176 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11177 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11178 if test "${ac_cv_lib_m_cexpf+set}" = set; then
11179   echo $ECHO_N "(cached) $ECHO_C" >&6
11180 else
11181   ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-lm  $LIBS"
11183 if test x$gcc_no_link = xyes; then
11184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11186    { (exit 1); exit 1; }; }
11187 fi
11188 cat >conftest.$ac_ext <<_ACEOF
11189 /* confdefs.h.  */
11190 _ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h.  */
11194
11195 /* Override any gcc2 internal prototype to avoid an error.  */
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 /* We use char because int might match the return type of a gcc2
11200    builtin and then its argument prototype would still apply.  */
11201 char cexpf ();
11202 int
11203 main ()
11204 {
11205 cexpf ();
11206   ;
11207   return 0;
11208 }
11209 _ACEOF
11210 rm -f conftest.$ac_objext conftest$ac_exeext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11212   (eval $ac_link) 2>conftest.er1
11213   ac_status=$?
11214   grep -v '^ *+' conftest.er1 >conftest.err
11215   rm -f conftest.er1
11216   cat conftest.err >&5
11217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218   (exit $ac_status); } &&
11219          { ac_try='test -z "$ac_c_werror_flag"
11220                          || test ! -s conftest.err'
11221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222   (eval $ac_try) 2>&5
11223   ac_status=$?
11224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225   (exit $ac_status); }; } &&
11226          { ac_try='test -s conftest$ac_exeext'
11227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228   (eval $ac_try) 2>&5
11229   ac_status=$?
11230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231   (exit $ac_status); }; }; then
11232   ac_cv_lib_m_cexpf=yes
11233 else
11234   echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11236
11237 ac_cv_lib_m_cexpf=no
11238 fi
11239 rm -f conftest.err conftest.$ac_objext \
11240       conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11242 fi
11243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11244 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11245 if test $ac_cv_lib_m_cexpf = yes; then
11246
11247 cat >>confdefs.h <<\_ACEOF
11248 #define HAVE_CEXPF 1
11249 _ACEOF
11250
11251 fi
11252
11253 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11254 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11255 if test "${ac_cv_lib_m_cexp+set}" = set; then
11256   echo $ECHO_N "(cached) $ECHO_C" >&6
11257 else
11258   ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lm  $LIBS"
11260 if test x$gcc_no_link = xyes; then
11261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11263    { (exit 1); exit 1; }; }
11264 fi
11265 cat >conftest.$ac_ext <<_ACEOF
11266 /* confdefs.h.  */
11267 _ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h.  */
11271
11272 /* Override any gcc2 internal prototype to avoid an error.  */
11273 #ifdef __cplusplus
11274 extern "C"
11275 #endif
11276 /* We use char because int might match the return type of a gcc2
11277    builtin and then its argument prototype would still apply.  */
11278 char cexp ();
11279 int
11280 main ()
11281 {
11282 cexp ();
11283   ;
11284   return 0;
11285 }
11286 _ACEOF
11287 rm -f conftest.$ac_objext conftest$ac_exeext
11288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11289   (eval $ac_link) 2>conftest.er1
11290   ac_status=$?
11291   grep -v '^ *+' conftest.er1 >conftest.err
11292   rm -f conftest.er1
11293   cat conftest.err >&5
11294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295   (exit $ac_status); } &&
11296          { ac_try='test -z "$ac_c_werror_flag"
11297                          || test ! -s conftest.err'
11298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299   (eval $ac_try) 2>&5
11300   ac_status=$?
11301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302   (exit $ac_status); }; } &&
11303          { ac_try='test -s conftest$ac_exeext'
11304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305   (eval $ac_try) 2>&5
11306   ac_status=$?
11307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308   (exit $ac_status); }; }; then
11309   ac_cv_lib_m_cexp=yes
11310 else
11311   echo "$as_me: failed program was:" >&5
11312 sed 's/^/| /' conftest.$ac_ext >&5
11313
11314 ac_cv_lib_m_cexp=no
11315 fi
11316 rm -f conftest.err conftest.$ac_objext \
11317       conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_lib_save_LIBS
11319 fi
11320 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11321 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11322 if test $ac_cv_lib_m_cexp = yes; then
11323
11324 cat >>confdefs.h <<\_ACEOF
11325 #define HAVE_CEXP 1
11326 _ACEOF
11327
11328 fi
11329
11330 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11331 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11332 if test "${ac_cv_lib_m_cexpl+set}" = set; then
11333   echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335   ac_check_lib_save_LIBS=$LIBS
11336 LIBS="-lm  $LIBS"
11337 if test x$gcc_no_link = xyes; then
11338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11340    { (exit 1); exit 1; }; }
11341 fi
11342 cat >conftest.$ac_ext <<_ACEOF
11343 /* confdefs.h.  */
11344 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h.  */
11348
11349 /* Override any gcc2 internal prototype to avoid an error.  */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 /* We use char because int might match the return type of a gcc2
11354    builtin and then its argument prototype would still apply.  */
11355 char cexpl ();
11356 int
11357 main ()
11358 {
11359 cexpl ();
11360   ;
11361   return 0;
11362 }
11363 _ACEOF
11364 rm -f conftest.$ac_objext conftest$ac_exeext
11365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11366   (eval $ac_link) 2>conftest.er1
11367   ac_status=$?
11368   grep -v '^ *+' conftest.er1 >conftest.err
11369   rm -f conftest.er1
11370   cat conftest.err >&5
11371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372   (exit $ac_status); } &&
11373          { ac_try='test -z "$ac_c_werror_flag"
11374                          || test ! -s conftest.err'
11375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376   (eval $ac_try) 2>&5
11377   ac_status=$?
11378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379   (exit $ac_status); }; } &&
11380          { ac_try='test -s conftest$ac_exeext'
11381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382   (eval $ac_try) 2>&5
11383   ac_status=$?
11384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385   (exit $ac_status); }; }; then
11386   ac_cv_lib_m_cexpl=yes
11387 else
11388   echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.$ac_ext >&5
11390
11391 ac_cv_lib_m_cexpl=no
11392 fi
11393 rm -f conftest.err conftest.$ac_objext \
11394       conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11396 fi
11397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11398 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11399 if test $ac_cv_lib_m_cexpl = yes; then
11400
11401 cat >>confdefs.h <<\_ACEOF
11402 #define HAVE_CEXPL 1
11403 _ACEOF
11404
11405 fi
11406
11407 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11408 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11409 if test "${ac_cv_lib_m_fabsf+set}" = set; then
11410   echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412   ac_check_lib_save_LIBS=$LIBS
11413 LIBS="-lm  $LIBS"
11414 if test x$gcc_no_link = xyes; then
11415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11417    { (exit 1); exit 1; }; }
11418 fi
11419 cat >conftest.$ac_ext <<_ACEOF
11420 /* confdefs.h.  */
11421 _ACEOF
11422 cat confdefs.h >>conftest.$ac_ext
11423 cat >>conftest.$ac_ext <<_ACEOF
11424 /* end confdefs.h.  */
11425
11426 /* Override any gcc2 internal prototype to avoid an error.  */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 /* We use char because int might match the return type of a gcc2
11431    builtin and then its argument prototype would still apply.  */
11432 char fabsf ();
11433 int
11434 main ()
11435 {
11436 fabsf ();
11437   ;
11438   return 0;
11439 }
11440 _ACEOF
11441 rm -f conftest.$ac_objext conftest$ac_exeext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11443   (eval $ac_link) 2>conftest.er1
11444   ac_status=$?
11445   grep -v '^ *+' conftest.er1 >conftest.err
11446   rm -f conftest.er1
11447   cat conftest.err >&5
11448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449   (exit $ac_status); } &&
11450          { ac_try='test -z "$ac_c_werror_flag"
11451                          || test ! -s conftest.err'
11452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453   (eval $ac_try) 2>&5
11454   ac_status=$?
11455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456   (exit $ac_status); }; } &&
11457          { ac_try='test -s conftest$ac_exeext'
11458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459   (eval $ac_try) 2>&5
11460   ac_status=$?
11461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462   (exit $ac_status); }; }; then
11463   ac_cv_lib_m_fabsf=yes
11464 else
11465   echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.$ac_ext >&5
11467
11468 ac_cv_lib_m_fabsf=no
11469 fi
11470 rm -f conftest.err conftest.$ac_objext \
11471       conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11473 fi
11474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11475 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11476 if test $ac_cv_lib_m_fabsf = yes; then
11477
11478 cat >>confdefs.h <<\_ACEOF
11479 #define HAVE_FABSF 1
11480 _ACEOF
11481
11482 fi
11483
11484 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11485 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11486 if test "${ac_cv_lib_m_fabs+set}" = set; then
11487   echo $ECHO_N "(cached) $ECHO_C" >&6
11488 else
11489   ac_check_lib_save_LIBS=$LIBS
11490 LIBS="-lm  $LIBS"
11491 if test x$gcc_no_link = xyes; then
11492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11494    { (exit 1); exit 1; }; }
11495 fi
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h.  */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h.  */
11502
11503 /* Override any gcc2 internal prototype to avoid an error.  */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 /* We use char because int might match the return type of a gcc2
11508    builtin and then its argument prototype would still apply.  */
11509 char fabs ();
11510 int
11511 main ()
11512 {
11513 fabs ();
11514   ;
11515   return 0;
11516 }
11517 _ACEOF
11518 rm -f conftest.$ac_objext conftest$ac_exeext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11520   (eval $ac_link) 2>conftest.er1
11521   ac_status=$?
11522   grep -v '^ *+' conftest.er1 >conftest.err
11523   rm -f conftest.er1
11524   cat conftest.err >&5
11525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526   (exit $ac_status); } &&
11527          { ac_try='test -z "$ac_c_werror_flag"
11528                          || test ! -s conftest.err'
11529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530   (eval $ac_try) 2>&5
11531   ac_status=$?
11532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533   (exit $ac_status); }; } &&
11534          { ac_try='test -s conftest$ac_exeext'
11535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536   (eval $ac_try) 2>&5
11537   ac_status=$?
11538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539   (exit $ac_status); }; }; then
11540   ac_cv_lib_m_fabs=yes
11541 else
11542   echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.$ac_ext >&5
11544
11545 ac_cv_lib_m_fabs=no
11546 fi
11547 rm -f conftest.err conftest.$ac_objext \
11548       conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_lib_save_LIBS
11550 fi
11551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11552 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11553 if test $ac_cv_lib_m_fabs = yes; then
11554
11555 cat >>confdefs.h <<\_ACEOF
11556 #define HAVE_FABS 1
11557 _ACEOF
11558
11559 fi
11560
11561 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11562 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11563 if test "${ac_cv_lib_m_fabsl+set}" = set; then
11564   echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11566   ac_check_lib_save_LIBS=$LIBS
11567 LIBS="-lm  $LIBS"
11568 if test x$gcc_no_link = xyes; then
11569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11571    { (exit 1); exit 1; }; }
11572 fi
11573 cat >conftest.$ac_ext <<_ACEOF
11574 /* confdefs.h.  */
11575 _ACEOF
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h.  */
11579
11580 /* Override any gcc2 internal prototype to avoid an error.  */
11581 #ifdef __cplusplus
11582 extern "C"
11583 #endif
11584 /* We use char because int might match the return type of a gcc2
11585    builtin and then its argument prototype would still apply.  */
11586 char fabsl ();
11587 int
11588 main ()
11589 {
11590 fabsl ();
11591   ;
11592   return 0;
11593 }
11594 _ACEOF
11595 rm -f conftest.$ac_objext conftest$ac_exeext
11596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11597   (eval $ac_link) 2>conftest.er1
11598   ac_status=$?
11599   grep -v '^ *+' conftest.er1 >conftest.err
11600   rm -f conftest.er1
11601   cat conftest.err >&5
11602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603   (exit $ac_status); } &&
11604          { ac_try='test -z "$ac_c_werror_flag"
11605                          || test ! -s conftest.err'
11606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607   (eval $ac_try) 2>&5
11608   ac_status=$?
11609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610   (exit $ac_status); }; } &&
11611          { ac_try='test -s conftest$ac_exeext'
11612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613   (eval $ac_try) 2>&5
11614   ac_status=$?
11615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616   (exit $ac_status); }; }; then
11617   ac_cv_lib_m_fabsl=yes
11618 else
11619   echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.$ac_ext >&5
11621
11622 ac_cv_lib_m_fabsl=no
11623 fi
11624 rm -f conftest.err conftest.$ac_objext \
11625       conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11627 fi
11628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11629 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11630 if test $ac_cv_lib_m_fabsl = yes; then
11631
11632 cat >>confdefs.h <<\_ACEOF
11633 #define HAVE_FABSL 1
11634 _ACEOF
11635
11636 fi
11637
11638 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11639 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11640 if test "${ac_cv_lib_m_cabsf+set}" = set; then
11641   echo $ECHO_N "(cached) $ECHO_C" >&6
11642 else
11643   ac_check_lib_save_LIBS=$LIBS
11644 LIBS="-lm  $LIBS"
11645 if test x$gcc_no_link = xyes; then
11646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11648    { (exit 1); exit 1; }; }
11649 fi
11650 cat >conftest.$ac_ext <<_ACEOF
11651 /* confdefs.h.  */
11652 _ACEOF
11653 cat confdefs.h >>conftest.$ac_ext
11654 cat >>conftest.$ac_ext <<_ACEOF
11655 /* end confdefs.h.  */
11656
11657 /* Override any gcc2 internal prototype to avoid an error.  */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 /* We use char because int might match the return type of a gcc2
11662    builtin and then its argument prototype would still apply.  */
11663 char cabsf ();
11664 int
11665 main ()
11666 {
11667 cabsf ();
11668   ;
11669   return 0;
11670 }
11671 _ACEOF
11672 rm -f conftest.$ac_objext conftest$ac_exeext
11673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11674   (eval $ac_link) 2>conftest.er1
11675   ac_status=$?
11676   grep -v '^ *+' conftest.er1 >conftest.err
11677   rm -f conftest.er1
11678   cat conftest.err >&5
11679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680   (exit $ac_status); } &&
11681          { ac_try='test -z "$ac_c_werror_flag"
11682                          || test ! -s conftest.err'
11683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684   (eval $ac_try) 2>&5
11685   ac_status=$?
11686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687   (exit $ac_status); }; } &&
11688          { ac_try='test -s conftest$ac_exeext'
11689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690   (eval $ac_try) 2>&5
11691   ac_status=$?
11692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693   (exit $ac_status); }; }; then
11694   ac_cv_lib_m_cabsf=yes
11695 else
11696   echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11698
11699 ac_cv_lib_m_cabsf=no
11700 fi
11701 rm -f conftest.err conftest.$ac_objext \
11702       conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11704 fi
11705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11706 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11707 if test $ac_cv_lib_m_cabsf = yes; then
11708
11709 cat >>confdefs.h <<\_ACEOF
11710 #define HAVE_CABSF 1
11711 _ACEOF
11712
11713 fi
11714
11715 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11716 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11717 if test "${ac_cv_lib_m_cabs+set}" = set; then
11718   echo $ECHO_N "(cached) $ECHO_C" >&6
11719 else
11720   ac_check_lib_save_LIBS=$LIBS
11721 LIBS="-lm  $LIBS"
11722 if test x$gcc_no_link = xyes; then
11723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11725    { (exit 1); exit 1; }; }
11726 fi
11727 cat >conftest.$ac_ext <<_ACEOF
11728 /* confdefs.h.  */
11729 _ACEOF
11730 cat confdefs.h >>conftest.$ac_ext
11731 cat >>conftest.$ac_ext <<_ACEOF
11732 /* end confdefs.h.  */
11733
11734 /* Override any gcc2 internal prototype to avoid an error.  */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 /* We use char because int might match the return type of a gcc2
11739    builtin and then its argument prototype would still apply.  */
11740 char cabs ();
11741 int
11742 main ()
11743 {
11744 cabs ();
11745   ;
11746   return 0;
11747 }
11748 _ACEOF
11749 rm -f conftest.$ac_objext conftest$ac_exeext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11751   (eval $ac_link) 2>conftest.er1
11752   ac_status=$?
11753   grep -v '^ *+' conftest.er1 >conftest.err
11754   rm -f conftest.er1
11755   cat conftest.err >&5
11756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757   (exit $ac_status); } &&
11758          { ac_try='test -z "$ac_c_werror_flag"
11759                          || test ! -s conftest.err'
11760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761   (eval $ac_try) 2>&5
11762   ac_status=$?
11763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764   (exit $ac_status); }; } &&
11765          { ac_try='test -s conftest$ac_exeext'
11766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767   (eval $ac_try) 2>&5
11768   ac_status=$?
11769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770   (exit $ac_status); }; }; then
11771   ac_cv_lib_m_cabs=yes
11772 else
11773   echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11775
11776 ac_cv_lib_m_cabs=no
11777 fi
11778 rm -f conftest.err conftest.$ac_objext \
11779       conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11781 fi
11782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11783 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11784 if test $ac_cv_lib_m_cabs = yes; then
11785
11786 cat >>confdefs.h <<\_ACEOF
11787 #define HAVE_CABS 1
11788 _ACEOF
11789
11790 fi
11791
11792 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11793 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11794 if test "${ac_cv_lib_m_cabsl+set}" = set; then
11795   echo $ECHO_N "(cached) $ECHO_C" >&6
11796 else
11797   ac_check_lib_save_LIBS=$LIBS
11798 LIBS="-lm  $LIBS"
11799 if test x$gcc_no_link = xyes; then
11800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11802    { (exit 1); exit 1; }; }
11803 fi
11804 cat >conftest.$ac_ext <<_ACEOF
11805 /* confdefs.h.  */
11806 _ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h.  */
11810
11811 /* Override any gcc2 internal prototype to avoid an error.  */
11812 #ifdef __cplusplus
11813 extern "C"
11814 #endif
11815 /* We use char because int might match the return type of a gcc2
11816    builtin and then its argument prototype would still apply.  */
11817 char cabsl ();
11818 int
11819 main ()
11820 {
11821 cabsl ();
11822   ;
11823   return 0;
11824 }
11825 _ACEOF
11826 rm -f conftest.$ac_objext conftest$ac_exeext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828   (eval $ac_link) 2>conftest.er1
11829   ac_status=$?
11830   grep -v '^ *+' conftest.er1 >conftest.err
11831   rm -f conftest.er1
11832   cat conftest.err >&5
11833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834   (exit $ac_status); } &&
11835          { ac_try='test -z "$ac_c_werror_flag"
11836                          || test ! -s conftest.err'
11837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838   (eval $ac_try) 2>&5
11839   ac_status=$?
11840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841   (exit $ac_status); }; } &&
11842          { ac_try='test -s conftest$ac_exeext'
11843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844   (eval $ac_try) 2>&5
11845   ac_status=$?
11846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847   (exit $ac_status); }; }; then
11848   ac_cv_lib_m_cabsl=yes
11849 else
11850   echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11852
11853 ac_cv_lib_m_cabsl=no
11854 fi
11855 rm -f conftest.err conftest.$ac_objext \
11856       conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11858 fi
11859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
11860 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
11861 if test $ac_cv_lib_m_cabsl = yes; then
11862
11863 cat >>confdefs.h <<\_ACEOF
11864 #define HAVE_CABSL 1
11865 _ACEOF
11866
11867 fi
11868
11869 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
11870 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
11871 if test "${ac_cv_lib_m_floorf+set}" = set; then
11872   echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874   ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lm  $LIBS"
11876 if test x$gcc_no_link = xyes; then
11877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11879    { (exit 1); exit 1; }; }
11880 fi
11881 cat >conftest.$ac_ext <<_ACEOF
11882 /* confdefs.h.  */
11883 _ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h.  */
11887
11888 /* Override any gcc2 internal prototype to avoid an error.  */
11889 #ifdef __cplusplus
11890 extern "C"
11891 #endif
11892 /* We use char because int might match the return type of a gcc2
11893    builtin and then its argument prototype would still apply.  */
11894 char floorf ();
11895 int
11896 main ()
11897 {
11898 floorf ();
11899   ;
11900   return 0;
11901 }
11902 _ACEOF
11903 rm -f conftest.$ac_objext conftest$ac_exeext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905   (eval $ac_link) 2>conftest.er1
11906   ac_status=$?
11907   grep -v '^ *+' conftest.er1 >conftest.err
11908   rm -f conftest.er1
11909   cat conftest.err >&5
11910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911   (exit $ac_status); } &&
11912          { ac_try='test -z "$ac_c_werror_flag"
11913                          || test ! -s conftest.err'
11914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915   (eval $ac_try) 2>&5
11916   ac_status=$?
11917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918   (exit $ac_status); }; } &&
11919          { ac_try='test -s conftest$ac_exeext'
11920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921   (eval $ac_try) 2>&5
11922   ac_status=$?
11923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924   (exit $ac_status); }; }; then
11925   ac_cv_lib_m_floorf=yes
11926 else
11927   echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11929
11930 ac_cv_lib_m_floorf=no
11931 fi
11932 rm -f conftest.err conftest.$ac_objext \
11933       conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_lib_save_LIBS
11935 fi
11936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
11937 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
11938 if test $ac_cv_lib_m_floorf = yes; then
11939
11940 cat >>confdefs.h <<\_ACEOF
11941 #define HAVE_FLOORF 1
11942 _ACEOF
11943
11944 fi
11945
11946 echo "$as_me:$LINENO: checking for floor in -lm" >&5
11947 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
11948 if test "${ac_cv_lib_m_floor+set}" = set; then
11949   echo $ECHO_N "(cached) $ECHO_C" >&6
11950 else
11951   ac_check_lib_save_LIBS=$LIBS
11952 LIBS="-lm  $LIBS"
11953 if test x$gcc_no_link = xyes; then
11954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11956    { (exit 1); exit 1; }; }
11957 fi
11958 cat >conftest.$ac_ext <<_ACEOF
11959 /* confdefs.h.  */
11960 _ACEOF
11961 cat confdefs.h >>conftest.$ac_ext
11962 cat >>conftest.$ac_ext <<_ACEOF
11963 /* end confdefs.h.  */
11964
11965 /* Override any gcc2 internal prototype to avoid an error.  */
11966 #ifdef __cplusplus
11967 extern "C"
11968 #endif
11969 /* We use char because int might match the return type of a gcc2
11970    builtin and then its argument prototype would still apply.  */
11971 char floor ();
11972 int
11973 main ()
11974 {
11975 floor ();
11976   ;
11977   return 0;
11978 }
11979 _ACEOF
11980 rm -f conftest.$ac_objext conftest$ac_exeext
11981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11982   (eval $ac_link) 2>conftest.er1
11983   ac_status=$?
11984   grep -v '^ *+' conftest.er1 >conftest.err
11985   rm -f conftest.er1
11986   cat conftest.err >&5
11987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988   (exit $ac_status); } &&
11989          { ac_try='test -z "$ac_c_werror_flag"
11990                          || test ! -s conftest.err'
11991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992   (eval $ac_try) 2>&5
11993   ac_status=$?
11994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995   (exit $ac_status); }; } &&
11996          { ac_try='test -s conftest$ac_exeext'
11997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998   (eval $ac_try) 2>&5
11999   ac_status=$?
12000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001   (exit $ac_status); }; }; then
12002   ac_cv_lib_m_floor=yes
12003 else
12004   echo "$as_me: failed program was:" >&5
12005 sed 's/^/| /' conftest.$ac_ext >&5
12006
12007 ac_cv_lib_m_floor=no
12008 fi
12009 rm -f conftest.err conftest.$ac_objext \
12010       conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_lib_save_LIBS
12012 fi
12013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12014 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12015 if test $ac_cv_lib_m_floor = yes; then
12016
12017 cat >>confdefs.h <<\_ACEOF
12018 #define HAVE_FLOOR 1
12019 _ACEOF
12020
12021 fi
12022
12023 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12024 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12025 if test "${ac_cv_lib_m_floorl+set}" = set; then
12026   echo $ECHO_N "(cached) $ECHO_C" >&6
12027 else
12028   ac_check_lib_save_LIBS=$LIBS
12029 LIBS="-lm  $LIBS"
12030 if test x$gcc_no_link = xyes; then
12031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12033    { (exit 1); exit 1; }; }
12034 fi
12035 cat >conftest.$ac_ext <<_ACEOF
12036 /* confdefs.h.  */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h.  */
12041
12042 /* Override any gcc2 internal prototype to avoid an error.  */
12043 #ifdef __cplusplus
12044 extern "C"
12045 #endif
12046 /* We use char because int might match the return type of a gcc2
12047    builtin and then its argument prototype would still apply.  */
12048 char floorl ();
12049 int
12050 main ()
12051 {
12052 floorl ();
12053   ;
12054   return 0;
12055 }
12056 _ACEOF
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059   (eval $ac_link) 2>conftest.er1
12060   ac_status=$?
12061   grep -v '^ *+' conftest.er1 >conftest.err
12062   rm -f conftest.er1
12063   cat conftest.err >&5
12064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065   (exit $ac_status); } &&
12066          { ac_try='test -z "$ac_c_werror_flag"
12067                          || test ! -s conftest.err'
12068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069   (eval $ac_try) 2>&5
12070   ac_status=$?
12071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072   (exit $ac_status); }; } &&
12073          { ac_try='test -s conftest$ac_exeext'
12074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075   (eval $ac_try) 2>&5
12076   ac_status=$?
12077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078   (exit $ac_status); }; }; then
12079   ac_cv_lib_m_floorl=yes
12080 else
12081   echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12083
12084 ac_cv_lib_m_floorl=no
12085 fi
12086 rm -f conftest.err conftest.$ac_objext \
12087       conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_lib_save_LIBS
12089 fi
12090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12091 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12092 if test $ac_cv_lib_m_floorl = yes; then
12093
12094 cat >>confdefs.h <<\_ACEOF
12095 #define HAVE_FLOORL 1
12096 _ACEOF
12097
12098 fi
12099
12100 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12101 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12102 if test "${ac_cv_lib_m_frexpf+set}" = set; then
12103   echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105   ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-lm  $LIBS"
12107 if test x$gcc_no_link = xyes; then
12108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12110    { (exit 1); exit 1; }; }
12111 fi
12112 cat >conftest.$ac_ext <<_ACEOF
12113 /* confdefs.h.  */
12114 _ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h.  */
12118
12119 /* Override any gcc2 internal prototype to avoid an error.  */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 /* We use char because int might match the return type of a gcc2
12124    builtin and then its argument prototype would still apply.  */
12125 char frexpf ();
12126 int
12127 main ()
12128 {
12129 frexpf ();
12130   ;
12131   return 0;
12132 }
12133 _ACEOF
12134 rm -f conftest.$ac_objext conftest$ac_exeext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12136   (eval $ac_link) 2>conftest.er1
12137   ac_status=$?
12138   grep -v '^ *+' conftest.er1 >conftest.err
12139   rm -f conftest.er1
12140   cat conftest.err >&5
12141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142   (exit $ac_status); } &&
12143          { ac_try='test -z "$ac_c_werror_flag"
12144                          || test ! -s conftest.err'
12145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146   (eval $ac_try) 2>&5
12147   ac_status=$?
12148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149   (exit $ac_status); }; } &&
12150          { ac_try='test -s conftest$ac_exeext'
12151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152   (eval $ac_try) 2>&5
12153   ac_status=$?
12154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155   (exit $ac_status); }; }; then
12156   ac_cv_lib_m_frexpf=yes
12157 else
12158   echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.$ac_ext >&5
12160
12161 ac_cv_lib_m_frexpf=no
12162 fi
12163 rm -f conftest.err conftest.$ac_objext \
12164       conftest$ac_exeext conftest.$ac_ext
12165 LIBS=$ac_check_lib_save_LIBS
12166 fi
12167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12168 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12169 if test $ac_cv_lib_m_frexpf = yes; then
12170
12171 cat >>confdefs.h <<\_ACEOF
12172 #define HAVE_FREXPF 1
12173 _ACEOF
12174
12175 fi
12176
12177 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12178 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12179 if test "${ac_cv_lib_m_frexp+set}" = set; then
12180   echo $ECHO_N "(cached) $ECHO_C" >&6
12181 else
12182   ac_check_lib_save_LIBS=$LIBS
12183 LIBS="-lm  $LIBS"
12184 if test x$gcc_no_link = xyes; then
12185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12187    { (exit 1); exit 1; }; }
12188 fi
12189 cat >conftest.$ac_ext <<_ACEOF
12190 /* confdefs.h.  */
12191 _ACEOF
12192 cat confdefs.h >>conftest.$ac_ext
12193 cat >>conftest.$ac_ext <<_ACEOF
12194 /* end confdefs.h.  */
12195
12196 /* Override any gcc2 internal prototype to avoid an error.  */
12197 #ifdef __cplusplus
12198 extern "C"
12199 #endif
12200 /* We use char because int might match the return type of a gcc2
12201    builtin and then its argument prototype would still apply.  */
12202 char frexp ();
12203 int
12204 main ()
12205 {
12206 frexp ();
12207   ;
12208   return 0;
12209 }
12210 _ACEOF
12211 rm -f conftest.$ac_objext conftest$ac_exeext
12212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12213   (eval $ac_link) 2>conftest.er1
12214   ac_status=$?
12215   grep -v '^ *+' conftest.er1 >conftest.err
12216   rm -f conftest.er1
12217   cat conftest.err >&5
12218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219   (exit $ac_status); } &&
12220          { ac_try='test -z "$ac_c_werror_flag"
12221                          || test ! -s conftest.err'
12222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223   (eval $ac_try) 2>&5
12224   ac_status=$?
12225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226   (exit $ac_status); }; } &&
12227          { ac_try='test -s conftest$ac_exeext'
12228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12229   (eval $ac_try) 2>&5
12230   ac_status=$?
12231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232   (exit $ac_status); }; }; then
12233   ac_cv_lib_m_frexp=yes
12234 else
12235   echo "$as_me: failed program was:" >&5
12236 sed 's/^/| /' conftest.$ac_ext >&5
12237
12238 ac_cv_lib_m_frexp=no
12239 fi
12240 rm -f conftest.err conftest.$ac_objext \
12241       conftest$ac_exeext conftest.$ac_ext
12242 LIBS=$ac_check_lib_save_LIBS
12243 fi
12244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12245 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12246 if test $ac_cv_lib_m_frexp = yes; then
12247
12248 cat >>confdefs.h <<\_ACEOF
12249 #define HAVE_FREXP 1
12250 _ACEOF
12251
12252 fi
12253
12254 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12255 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12256 if test "${ac_cv_lib_m_frexpl+set}" = set; then
12257   echo $ECHO_N "(cached) $ECHO_C" >&6
12258 else
12259   ac_check_lib_save_LIBS=$LIBS
12260 LIBS="-lm  $LIBS"
12261 if test x$gcc_no_link = xyes; then
12262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12264    { (exit 1); exit 1; }; }
12265 fi
12266 cat >conftest.$ac_ext <<_ACEOF
12267 /* confdefs.h.  */
12268 _ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h.  */
12272
12273 /* Override any gcc2 internal prototype to avoid an error.  */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 /* We use char because int might match the return type of a gcc2
12278    builtin and then its argument prototype would still apply.  */
12279 char frexpl ();
12280 int
12281 main ()
12282 {
12283 frexpl ();
12284   ;
12285   return 0;
12286 }
12287 _ACEOF
12288 rm -f conftest.$ac_objext conftest$ac_exeext
12289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290   (eval $ac_link) 2>conftest.er1
12291   ac_status=$?
12292   grep -v '^ *+' conftest.er1 >conftest.err
12293   rm -f conftest.er1
12294   cat conftest.err >&5
12295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296   (exit $ac_status); } &&
12297          { ac_try='test -z "$ac_c_werror_flag"
12298                          || test ! -s conftest.err'
12299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300   (eval $ac_try) 2>&5
12301   ac_status=$?
12302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303   (exit $ac_status); }; } &&
12304          { ac_try='test -s conftest$ac_exeext'
12305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306   (eval $ac_try) 2>&5
12307   ac_status=$?
12308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309   (exit $ac_status); }; }; then
12310   ac_cv_lib_m_frexpl=yes
12311 else
12312   echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.$ac_ext >&5
12314
12315 ac_cv_lib_m_frexpl=no
12316 fi
12317 rm -f conftest.err conftest.$ac_objext \
12318       conftest$ac_exeext conftest.$ac_ext
12319 LIBS=$ac_check_lib_save_LIBS
12320 fi
12321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12322 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12323 if test $ac_cv_lib_m_frexpl = yes; then
12324
12325 cat >>confdefs.h <<\_ACEOF
12326 #define HAVE_FREXPL 1
12327 _ACEOF
12328
12329 fi
12330
12331 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12332 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12333 if test "${ac_cv_lib_m_hypotf+set}" = set; then
12334   echo $ECHO_N "(cached) $ECHO_C" >&6
12335 else
12336   ac_check_lib_save_LIBS=$LIBS
12337 LIBS="-lm  $LIBS"
12338 if test x$gcc_no_link = xyes; then
12339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12341    { (exit 1); exit 1; }; }
12342 fi
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h.  */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h.  */
12349
12350 /* Override any gcc2 internal prototype to avoid an error.  */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 /* We use char because int might match the return type of a gcc2
12355    builtin and then its argument prototype would still apply.  */
12356 char hypotf ();
12357 int
12358 main ()
12359 {
12360 hypotf ();
12361   ;
12362   return 0;
12363 }
12364 _ACEOF
12365 rm -f conftest.$ac_objext conftest$ac_exeext
12366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12367   (eval $ac_link) 2>conftest.er1
12368   ac_status=$?
12369   grep -v '^ *+' conftest.er1 >conftest.err
12370   rm -f conftest.er1
12371   cat conftest.err >&5
12372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373   (exit $ac_status); } &&
12374          { ac_try='test -z "$ac_c_werror_flag"
12375                          || test ! -s conftest.err'
12376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377   (eval $ac_try) 2>&5
12378   ac_status=$?
12379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380   (exit $ac_status); }; } &&
12381          { ac_try='test -s conftest$ac_exeext'
12382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383   (eval $ac_try) 2>&5
12384   ac_status=$?
12385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386   (exit $ac_status); }; }; then
12387   ac_cv_lib_m_hypotf=yes
12388 else
12389   echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.$ac_ext >&5
12391
12392 ac_cv_lib_m_hypotf=no
12393 fi
12394 rm -f conftest.err conftest.$ac_objext \
12395       conftest$ac_exeext conftest.$ac_ext
12396 LIBS=$ac_check_lib_save_LIBS
12397 fi
12398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12399 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12400 if test $ac_cv_lib_m_hypotf = yes; then
12401
12402 cat >>confdefs.h <<\_ACEOF
12403 #define HAVE_HYPOTF 1
12404 _ACEOF
12405
12406 fi
12407
12408 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12409 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12410 if test "${ac_cv_lib_m_hypot+set}" = set; then
12411   echo $ECHO_N "(cached) $ECHO_C" >&6
12412 else
12413   ac_check_lib_save_LIBS=$LIBS
12414 LIBS="-lm  $LIBS"
12415 if test x$gcc_no_link = xyes; then
12416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12418    { (exit 1); exit 1; }; }
12419 fi
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h.  */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h.  */
12426
12427 /* Override any gcc2 internal prototype to avoid an error.  */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 /* We use char because int might match the return type of a gcc2
12432    builtin and then its argument prototype would still apply.  */
12433 char hypot ();
12434 int
12435 main ()
12436 {
12437 hypot ();
12438   ;
12439   return 0;
12440 }
12441 _ACEOF
12442 rm -f conftest.$ac_objext conftest$ac_exeext
12443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12444   (eval $ac_link) 2>conftest.er1
12445   ac_status=$?
12446   grep -v '^ *+' conftest.er1 >conftest.err
12447   rm -f conftest.er1
12448   cat conftest.err >&5
12449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450   (exit $ac_status); } &&
12451          { ac_try='test -z "$ac_c_werror_flag"
12452                          || test ! -s conftest.err'
12453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454   (eval $ac_try) 2>&5
12455   ac_status=$?
12456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457   (exit $ac_status); }; } &&
12458          { ac_try='test -s conftest$ac_exeext'
12459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460   (eval $ac_try) 2>&5
12461   ac_status=$?
12462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463   (exit $ac_status); }; }; then
12464   ac_cv_lib_m_hypot=yes
12465 else
12466   echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.$ac_ext >&5
12468
12469 ac_cv_lib_m_hypot=no
12470 fi
12471 rm -f conftest.err conftest.$ac_objext \
12472       conftest$ac_exeext conftest.$ac_ext
12473 LIBS=$ac_check_lib_save_LIBS
12474 fi
12475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12476 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12477 if test $ac_cv_lib_m_hypot = yes; then
12478
12479 cat >>confdefs.h <<\_ACEOF
12480 #define HAVE_HYPOT 1
12481 _ACEOF
12482
12483 fi
12484
12485 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12486 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12487 if test "${ac_cv_lib_m_hypotl+set}" = set; then
12488   echo $ECHO_N "(cached) $ECHO_C" >&6
12489 else
12490   ac_check_lib_save_LIBS=$LIBS
12491 LIBS="-lm  $LIBS"
12492 if test x$gcc_no_link = xyes; then
12493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12495    { (exit 1); exit 1; }; }
12496 fi
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h.  */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h.  */
12503
12504 /* Override any gcc2 internal prototype to avoid an error.  */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 /* We use char because int might match the return type of a gcc2
12509    builtin and then its argument prototype would still apply.  */
12510 char hypotl ();
12511 int
12512 main ()
12513 {
12514 hypotl ();
12515   ;
12516   return 0;
12517 }
12518 _ACEOF
12519 rm -f conftest.$ac_objext conftest$ac_exeext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12521   (eval $ac_link) 2>conftest.er1
12522   ac_status=$?
12523   grep -v '^ *+' conftest.er1 >conftest.err
12524   rm -f conftest.er1
12525   cat conftest.err >&5
12526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527   (exit $ac_status); } &&
12528          { ac_try='test -z "$ac_c_werror_flag"
12529                          || test ! -s conftest.err'
12530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531   (eval $ac_try) 2>&5
12532   ac_status=$?
12533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534   (exit $ac_status); }; } &&
12535          { ac_try='test -s conftest$ac_exeext'
12536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537   (eval $ac_try) 2>&5
12538   ac_status=$?
12539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540   (exit $ac_status); }; }; then
12541   ac_cv_lib_m_hypotl=yes
12542 else
12543   echo "$as_me: failed program was:" >&5
12544 sed 's/^/| /' conftest.$ac_ext >&5
12545
12546 ac_cv_lib_m_hypotl=no
12547 fi
12548 rm -f conftest.err conftest.$ac_objext \
12549       conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_lib_save_LIBS
12551 fi
12552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12553 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12554 if test $ac_cv_lib_m_hypotl = yes; then
12555
12556 cat >>confdefs.h <<\_ACEOF
12557 #define HAVE_HYPOTL 1
12558 _ACEOF
12559
12560 fi
12561
12562 echo "$as_me:$LINENO: checking for logf in -lm" >&5
12563 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12564 if test "${ac_cv_lib_m_logf+set}" = set; then
12565   echo $ECHO_N "(cached) $ECHO_C" >&6
12566 else
12567   ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-lm  $LIBS"
12569 if test x$gcc_no_link = xyes; then
12570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12572    { (exit 1); exit 1; }; }
12573 fi
12574 cat >conftest.$ac_ext <<_ACEOF
12575 /* confdefs.h.  */
12576 _ACEOF
12577 cat confdefs.h >>conftest.$ac_ext
12578 cat >>conftest.$ac_ext <<_ACEOF
12579 /* end confdefs.h.  */
12580
12581 /* Override any gcc2 internal prototype to avoid an error.  */
12582 #ifdef __cplusplus
12583 extern "C"
12584 #endif
12585 /* We use char because int might match the return type of a gcc2
12586    builtin and then its argument prototype would still apply.  */
12587 char logf ();
12588 int
12589 main ()
12590 {
12591 logf ();
12592   ;
12593   return 0;
12594 }
12595 _ACEOF
12596 rm -f conftest.$ac_objext conftest$ac_exeext
12597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12598   (eval $ac_link) 2>conftest.er1
12599   ac_status=$?
12600   grep -v '^ *+' conftest.er1 >conftest.err
12601   rm -f conftest.er1
12602   cat conftest.err >&5
12603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604   (exit $ac_status); } &&
12605          { ac_try='test -z "$ac_c_werror_flag"
12606                          || test ! -s conftest.err'
12607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608   (eval $ac_try) 2>&5
12609   ac_status=$?
12610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611   (exit $ac_status); }; } &&
12612          { ac_try='test -s conftest$ac_exeext'
12613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614   (eval $ac_try) 2>&5
12615   ac_status=$?
12616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617   (exit $ac_status); }; }; then
12618   ac_cv_lib_m_logf=yes
12619 else
12620   echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.$ac_ext >&5
12622
12623 ac_cv_lib_m_logf=no
12624 fi
12625 rm -f conftest.err conftest.$ac_objext \
12626       conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12628 fi
12629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12630 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12631 if test $ac_cv_lib_m_logf = yes; then
12632
12633 cat >>confdefs.h <<\_ACEOF
12634 #define HAVE_LOGF 1
12635 _ACEOF
12636
12637 fi
12638
12639 echo "$as_me:$LINENO: checking for log in -lm" >&5
12640 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12641 if test "${ac_cv_lib_m_log+set}" = set; then
12642   echo $ECHO_N "(cached) $ECHO_C" >&6
12643 else
12644   ac_check_lib_save_LIBS=$LIBS
12645 LIBS="-lm  $LIBS"
12646 if test x$gcc_no_link = xyes; then
12647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12649    { (exit 1); exit 1; }; }
12650 fi
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h.  */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h.  */
12657
12658 /* Override any gcc2 internal prototype to avoid an error.  */
12659 #ifdef __cplusplus
12660 extern "C"
12661 #endif
12662 /* We use char because int might match the return type of a gcc2
12663    builtin and then its argument prototype would still apply.  */
12664 char log ();
12665 int
12666 main ()
12667 {
12668 log ();
12669   ;
12670   return 0;
12671 }
12672 _ACEOF
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675   (eval $ac_link) 2>conftest.er1
12676   ac_status=$?
12677   grep -v '^ *+' conftest.er1 >conftest.err
12678   rm -f conftest.er1
12679   cat conftest.err >&5
12680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681   (exit $ac_status); } &&
12682          { ac_try='test -z "$ac_c_werror_flag"
12683                          || test ! -s conftest.err'
12684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685   (eval $ac_try) 2>&5
12686   ac_status=$?
12687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688   (exit $ac_status); }; } &&
12689          { ac_try='test -s conftest$ac_exeext'
12690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691   (eval $ac_try) 2>&5
12692   ac_status=$?
12693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694   (exit $ac_status); }; }; then
12695   ac_cv_lib_m_log=yes
12696 else
12697   echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12699
12700 ac_cv_lib_m_log=no
12701 fi
12702 rm -f conftest.err conftest.$ac_objext \
12703       conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_lib_save_LIBS
12705 fi
12706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12707 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12708 if test $ac_cv_lib_m_log = yes; then
12709
12710 cat >>confdefs.h <<\_ACEOF
12711 #define HAVE_LOG 1
12712 _ACEOF
12713
12714 fi
12715
12716 echo "$as_me:$LINENO: checking for logl in -lm" >&5
12717 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12718 if test "${ac_cv_lib_m_logl+set}" = set; then
12719   echo $ECHO_N "(cached) $ECHO_C" >&6
12720 else
12721   ac_check_lib_save_LIBS=$LIBS
12722 LIBS="-lm  $LIBS"
12723 if test x$gcc_no_link = xyes; then
12724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12726    { (exit 1); exit 1; }; }
12727 fi
12728 cat >conftest.$ac_ext <<_ACEOF
12729 /* confdefs.h.  */
12730 _ACEOF
12731 cat confdefs.h >>conftest.$ac_ext
12732 cat >>conftest.$ac_ext <<_ACEOF
12733 /* end confdefs.h.  */
12734
12735 /* Override any gcc2 internal prototype to avoid an error.  */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 /* We use char because int might match the return type of a gcc2
12740    builtin and then its argument prototype would still apply.  */
12741 char logl ();
12742 int
12743 main ()
12744 {
12745 logl ();
12746   ;
12747   return 0;
12748 }
12749 _ACEOF
12750 rm -f conftest.$ac_objext conftest$ac_exeext
12751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12752   (eval $ac_link) 2>conftest.er1
12753   ac_status=$?
12754   grep -v '^ *+' conftest.er1 >conftest.err
12755   rm -f conftest.er1
12756   cat conftest.err >&5
12757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758   (exit $ac_status); } &&
12759          { ac_try='test -z "$ac_c_werror_flag"
12760                          || test ! -s conftest.err'
12761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762   (eval $ac_try) 2>&5
12763   ac_status=$?
12764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765   (exit $ac_status); }; } &&
12766          { ac_try='test -s conftest$ac_exeext'
12767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768   (eval $ac_try) 2>&5
12769   ac_status=$?
12770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771   (exit $ac_status); }; }; then
12772   ac_cv_lib_m_logl=yes
12773 else
12774   echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.$ac_ext >&5
12776
12777 ac_cv_lib_m_logl=no
12778 fi
12779 rm -f conftest.err conftest.$ac_objext \
12780       conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_lib_save_LIBS
12782 fi
12783 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
12784 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12785 if test $ac_cv_lib_m_logl = yes; then
12786
12787 cat >>confdefs.h <<\_ACEOF
12788 #define HAVE_LOGL 1
12789 _ACEOF
12790
12791 fi
12792
12793 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12794 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12795 if test "${ac_cv_lib_m_clogf+set}" = set; then
12796   echo $ECHO_N "(cached) $ECHO_C" >&6
12797 else
12798   ac_check_lib_save_LIBS=$LIBS
12799 LIBS="-lm  $LIBS"
12800 if test x$gcc_no_link = xyes; then
12801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12803    { (exit 1); exit 1; }; }
12804 fi
12805 cat >conftest.$ac_ext <<_ACEOF
12806 /* confdefs.h.  */
12807 _ACEOF
12808 cat confdefs.h >>conftest.$ac_ext
12809 cat >>conftest.$ac_ext <<_ACEOF
12810 /* end confdefs.h.  */
12811
12812 /* Override any gcc2 internal prototype to avoid an error.  */
12813 #ifdef __cplusplus
12814 extern "C"
12815 #endif
12816 /* We use char because int might match the return type of a gcc2
12817    builtin and then its argument prototype would still apply.  */
12818 char clogf ();
12819 int
12820 main ()
12821 {
12822 clogf ();
12823   ;
12824   return 0;
12825 }
12826 _ACEOF
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12829   (eval $ac_link) 2>conftest.er1
12830   ac_status=$?
12831   grep -v '^ *+' conftest.er1 >conftest.err
12832   rm -f conftest.er1
12833   cat conftest.err >&5
12834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835   (exit $ac_status); } &&
12836          { ac_try='test -z "$ac_c_werror_flag"
12837                          || test ! -s conftest.err'
12838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839   (eval $ac_try) 2>&5
12840   ac_status=$?
12841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842   (exit $ac_status); }; } &&
12843          { ac_try='test -s conftest$ac_exeext'
12844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845   (eval $ac_try) 2>&5
12846   ac_status=$?
12847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848   (exit $ac_status); }; }; then
12849   ac_cv_lib_m_clogf=yes
12850 else
12851   echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12853
12854 ac_cv_lib_m_clogf=no
12855 fi
12856 rm -f conftest.err conftest.$ac_objext \
12857       conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12859 fi
12860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
12861 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
12862 if test $ac_cv_lib_m_clogf = yes; then
12863
12864 cat >>confdefs.h <<\_ACEOF
12865 #define HAVE_CLOGF 1
12866 _ACEOF
12867
12868 fi
12869
12870 echo "$as_me:$LINENO: checking for clog in -lm" >&5
12871 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
12872 if test "${ac_cv_lib_m_clog+set}" = set; then
12873   echo $ECHO_N "(cached) $ECHO_C" >&6
12874 else
12875   ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lm  $LIBS"
12877 if test x$gcc_no_link = xyes; then
12878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12880    { (exit 1); exit 1; }; }
12881 fi
12882 cat >conftest.$ac_ext <<_ACEOF
12883 /* confdefs.h.  */
12884 _ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h.  */
12888
12889 /* Override any gcc2 internal prototype to avoid an error.  */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 /* We use char because int might match the return type of a gcc2
12894    builtin and then its argument prototype would still apply.  */
12895 char clog ();
12896 int
12897 main ()
12898 {
12899 clog ();
12900   ;
12901   return 0;
12902 }
12903 _ACEOF
12904 rm -f conftest.$ac_objext conftest$ac_exeext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12906   (eval $ac_link) 2>conftest.er1
12907   ac_status=$?
12908   grep -v '^ *+' conftest.er1 >conftest.err
12909   rm -f conftest.er1
12910   cat conftest.err >&5
12911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912   (exit $ac_status); } &&
12913          { ac_try='test -z "$ac_c_werror_flag"
12914                          || test ! -s conftest.err'
12915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916   (eval $ac_try) 2>&5
12917   ac_status=$?
12918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919   (exit $ac_status); }; } &&
12920          { ac_try='test -s conftest$ac_exeext'
12921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922   (eval $ac_try) 2>&5
12923   ac_status=$?
12924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925   (exit $ac_status); }; }; then
12926   ac_cv_lib_m_clog=yes
12927 else
12928   echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12930
12931 ac_cv_lib_m_clog=no
12932 fi
12933 rm -f conftest.err conftest.$ac_objext \
12934       conftest$ac_exeext conftest.$ac_ext
12935 LIBS=$ac_check_lib_save_LIBS
12936 fi
12937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
12938 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
12939 if test $ac_cv_lib_m_clog = yes; then
12940
12941 cat >>confdefs.h <<\_ACEOF
12942 #define HAVE_CLOG 1
12943 _ACEOF
12944
12945 fi
12946
12947 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
12948 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
12949 if test "${ac_cv_lib_m_clogl+set}" = set; then
12950   echo $ECHO_N "(cached) $ECHO_C" >&6
12951 else
12952   ac_check_lib_save_LIBS=$LIBS
12953 LIBS="-lm  $LIBS"
12954 if test x$gcc_no_link = xyes; then
12955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12957    { (exit 1); exit 1; }; }
12958 fi
12959 cat >conftest.$ac_ext <<_ACEOF
12960 /* confdefs.h.  */
12961 _ACEOF
12962 cat confdefs.h >>conftest.$ac_ext
12963 cat >>conftest.$ac_ext <<_ACEOF
12964 /* end confdefs.h.  */
12965
12966 /* Override any gcc2 internal prototype to avoid an error.  */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 /* We use char because int might match the return type of a gcc2
12971    builtin and then its argument prototype would still apply.  */
12972 char clogl ();
12973 int
12974 main ()
12975 {
12976 clogl ();
12977   ;
12978   return 0;
12979 }
12980 _ACEOF
12981 rm -f conftest.$ac_objext conftest$ac_exeext
12982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12983   (eval $ac_link) 2>conftest.er1
12984   ac_status=$?
12985   grep -v '^ *+' conftest.er1 >conftest.err
12986   rm -f conftest.er1
12987   cat conftest.err >&5
12988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989   (exit $ac_status); } &&
12990          { ac_try='test -z "$ac_c_werror_flag"
12991                          || test ! -s conftest.err'
12992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993   (eval $ac_try) 2>&5
12994   ac_status=$?
12995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996   (exit $ac_status); }; } &&
12997          { ac_try='test -s conftest$ac_exeext'
12998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999   (eval $ac_try) 2>&5
13000   ac_status=$?
13001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002   (exit $ac_status); }; }; then
13003   ac_cv_lib_m_clogl=yes
13004 else
13005   echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.$ac_ext >&5
13007
13008 ac_cv_lib_m_clogl=no
13009 fi
13010 rm -f conftest.err conftest.$ac_objext \
13011       conftest$ac_exeext conftest.$ac_ext
13012 LIBS=$ac_check_lib_save_LIBS
13013 fi
13014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13015 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13016 if test $ac_cv_lib_m_clogl = yes; then
13017
13018 cat >>confdefs.h <<\_ACEOF
13019 #define HAVE_CLOGL 1
13020 _ACEOF
13021
13022 fi
13023
13024 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13025 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13026 if test "${ac_cv_lib_m_log10f+set}" = set; then
13027   echo $ECHO_N "(cached) $ECHO_C" >&6
13028 else
13029   ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-lm  $LIBS"
13031 if test x$gcc_no_link = xyes; then
13032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13034    { (exit 1); exit 1; }; }
13035 fi
13036 cat >conftest.$ac_ext <<_ACEOF
13037 /* confdefs.h.  */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h.  */
13042
13043 /* Override any gcc2 internal prototype to avoid an error.  */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 /* We use char because int might match the return type of a gcc2
13048    builtin and then its argument prototype would still apply.  */
13049 char log10f ();
13050 int
13051 main ()
13052 {
13053 log10f ();
13054   ;
13055   return 0;
13056 }
13057 _ACEOF
13058 rm -f conftest.$ac_objext conftest$ac_exeext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13060   (eval $ac_link) 2>conftest.er1
13061   ac_status=$?
13062   grep -v '^ *+' conftest.er1 >conftest.err
13063   rm -f conftest.er1
13064   cat conftest.err >&5
13065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066   (exit $ac_status); } &&
13067          { ac_try='test -z "$ac_c_werror_flag"
13068                          || test ! -s conftest.err'
13069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070   (eval $ac_try) 2>&5
13071   ac_status=$?
13072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073   (exit $ac_status); }; } &&
13074          { ac_try='test -s conftest$ac_exeext'
13075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076   (eval $ac_try) 2>&5
13077   ac_status=$?
13078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079   (exit $ac_status); }; }; then
13080   ac_cv_lib_m_log10f=yes
13081 else
13082   echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13084
13085 ac_cv_lib_m_log10f=no
13086 fi
13087 rm -f conftest.err conftest.$ac_objext \
13088       conftest$ac_exeext conftest.$ac_ext
13089 LIBS=$ac_check_lib_save_LIBS
13090 fi
13091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13092 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13093 if test $ac_cv_lib_m_log10f = yes; then
13094
13095 cat >>confdefs.h <<\_ACEOF
13096 #define HAVE_LOG10F 1
13097 _ACEOF
13098
13099 fi
13100
13101 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13102 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13103 if test "${ac_cv_lib_m_log10+set}" = set; then
13104   echo $ECHO_N "(cached) $ECHO_C" >&6
13105 else
13106   ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-lm  $LIBS"
13108 if test x$gcc_no_link = xyes; then
13109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13111    { (exit 1); exit 1; }; }
13112 fi
13113 cat >conftest.$ac_ext <<_ACEOF
13114 /* confdefs.h.  */
13115 _ACEOF
13116 cat confdefs.h >>conftest.$ac_ext
13117 cat >>conftest.$ac_ext <<_ACEOF
13118 /* end confdefs.h.  */
13119
13120 /* Override any gcc2 internal prototype to avoid an error.  */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 /* We use char because int might match the return type of a gcc2
13125    builtin and then its argument prototype would still apply.  */
13126 char log10 ();
13127 int
13128 main ()
13129 {
13130 log10 ();
13131   ;
13132   return 0;
13133 }
13134 _ACEOF
13135 rm -f conftest.$ac_objext conftest$ac_exeext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137   (eval $ac_link) 2>conftest.er1
13138   ac_status=$?
13139   grep -v '^ *+' conftest.er1 >conftest.err
13140   rm -f conftest.er1
13141   cat conftest.err >&5
13142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143   (exit $ac_status); } &&
13144          { ac_try='test -z "$ac_c_werror_flag"
13145                          || test ! -s conftest.err'
13146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147   (eval $ac_try) 2>&5
13148   ac_status=$?
13149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150   (exit $ac_status); }; } &&
13151          { ac_try='test -s conftest$ac_exeext'
13152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153   (eval $ac_try) 2>&5
13154   ac_status=$?
13155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156   (exit $ac_status); }; }; then
13157   ac_cv_lib_m_log10=yes
13158 else
13159   echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13161
13162 ac_cv_lib_m_log10=no
13163 fi
13164 rm -f conftest.err conftest.$ac_objext \
13165       conftest$ac_exeext conftest.$ac_ext
13166 LIBS=$ac_check_lib_save_LIBS
13167 fi
13168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13169 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13170 if test $ac_cv_lib_m_log10 = yes; then
13171
13172 cat >>confdefs.h <<\_ACEOF
13173 #define HAVE_LOG10 1
13174 _ACEOF
13175
13176 fi
13177
13178 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13179 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13180 if test "${ac_cv_lib_m_log10l+set}" = set; then
13181   echo $ECHO_N "(cached) $ECHO_C" >&6
13182 else
13183   ac_check_lib_save_LIBS=$LIBS
13184 LIBS="-lm  $LIBS"
13185 if test x$gcc_no_link = xyes; then
13186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13188    { (exit 1); exit 1; }; }
13189 fi
13190 cat >conftest.$ac_ext <<_ACEOF
13191 /* confdefs.h.  */
13192 _ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h.  */
13196
13197 /* Override any gcc2 internal prototype to avoid an error.  */
13198 #ifdef __cplusplus
13199 extern "C"
13200 #endif
13201 /* We use char because int might match the return type of a gcc2
13202    builtin and then its argument prototype would still apply.  */
13203 char log10l ();
13204 int
13205 main ()
13206 {
13207 log10l ();
13208   ;
13209   return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13214   (eval $ac_link) 2>conftest.er1
13215   ac_status=$?
13216   grep -v '^ *+' conftest.er1 >conftest.err
13217   rm -f conftest.er1
13218   cat conftest.err >&5
13219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220   (exit $ac_status); } &&
13221          { ac_try='test -z "$ac_c_werror_flag"
13222                          || test ! -s conftest.err'
13223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224   (eval $ac_try) 2>&5
13225   ac_status=$?
13226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227   (exit $ac_status); }; } &&
13228          { ac_try='test -s conftest$ac_exeext'
13229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230   (eval $ac_try) 2>&5
13231   ac_status=$?
13232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233   (exit $ac_status); }; }; then
13234   ac_cv_lib_m_log10l=yes
13235 else
13236   echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13238
13239 ac_cv_lib_m_log10l=no
13240 fi
13241 rm -f conftest.err conftest.$ac_objext \
13242       conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_lib_save_LIBS
13244 fi
13245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13246 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13247 if test $ac_cv_lib_m_log10l = yes; then
13248
13249 cat >>confdefs.h <<\_ACEOF
13250 #define HAVE_LOG10L 1
13251 _ACEOF
13252
13253 fi
13254
13255 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13256 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13257 if test "${ac_cv_lib_m_clog10f+set}" = set; then
13258   echo $ECHO_N "(cached) $ECHO_C" >&6
13259 else
13260   ac_check_lib_save_LIBS=$LIBS
13261 LIBS="-lm  $LIBS"
13262 if test x$gcc_no_link = xyes; then
13263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13265    { (exit 1); exit 1; }; }
13266 fi
13267 cat >conftest.$ac_ext <<_ACEOF
13268 /* confdefs.h.  */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h.  */
13273
13274 /* Override any gcc2 internal prototype to avoid an error.  */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 /* We use char because int might match the return type of a gcc2
13279    builtin and then its argument prototype would still apply.  */
13280 char clog10f ();
13281 int
13282 main ()
13283 {
13284 clog10f ();
13285   ;
13286   return 0;
13287 }
13288 _ACEOF
13289 rm -f conftest.$ac_objext conftest$ac_exeext
13290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13291   (eval $ac_link) 2>conftest.er1
13292   ac_status=$?
13293   grep -v '^ *+' conftest.er1 >conftest.err
13294   rm -f conftest.er1
13295   cat conftest.err >&5
13296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297   (exit $ac_status); } &&
13298          { ac_try='test -z "$ac_c_werror_flag"
13299                          || test ! -s conftest.err'
13300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301   (eval $ac_try) 2>&5
13302   ac_status=$?
13303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304   (exit $ac_status); }; } &&
13305          { ac_try='test -s conftest$ac_exeext'
13306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307   (eval $ac_try) 2>&5
13308   ac_status=$?
13309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310   (exit $ac_status); }; }; then
13311   ac_cv_lib_m_clog10f=yes
13312 else
13313   echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13315
13316 ac_cv_lib_m_clog10f=no
13317 fi
13318 rm -f conftest.err conftest.$ac_objext \
13319       conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13321 fi
13322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13323 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13324 if test $ac_cv_lib_m_clog10f = yes; then
13325
13326 cat >>confdefs.h <<\_ACEOF
13327 #define HAVE_CLOG10F 1
13328 _ACEOF
13329
13330 fi
13331
13332 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13333 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13334 if test "${ac_cv_lib_m_clog10+set}" = set; then
13335   echo $ECHO_N "(cached) $ECHO_C" >&6
13336 else
13337   ac_check_lib_save_LIBS=$LIBS
13338 LIBS="-lm  $LIBS"
13339 if test x$gcc_no_link = xyes; then
13340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13342    { (exit 1); exit 1; }; }
13343 fi
13344 cat >conftest.$ac_ext <<_ACEOF
13345 /* confdefs.h.  */
13346 _ACEOF
13347 cat confdefs.h >>conftest.$ac_ext
13348 cat >>conftest.$ac_ext <<_ACEOF
13349 /* end confdefs.h.  */
13350
13351 /* Override any gcc2 internal prototype to avoid an error.  */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 /* We use char because int might match the return type of a gcc2
13356    builtin and then its argument prototype would still apply.  */
13357 char clog10 ();
13358 int
13359 main ()
13360 {
13361 clog10 ();
13362   ;
13363   return 0;
13364 }
13365 _ACEOF
13366 rm -f conftest.$ac_objext conftest$ac_exeext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13368   (eval $ac_link) 2>conftest.er1
13369   ac_status=$?
13370   grep -v '^ *+' conftest.er1 >conftest.err
13371   rm -f conftest.er1
13372   cat conftest.err >&5
13373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374   (exit $ac_status); } &&
13375          { ac_try='test -z "$ac_c_werror_flag"
13376                          || test ! -s conftest.err'
13377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378   (eval $ac_try) 2>&5
13379   ac_status=$?
13380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381   (exit $ac_status); }; } &&
13382          { ac_try='test -s conftest$ac_exeext'
13383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384   (eval $ac_try) 2>&5
13385   ac_status=$?
13386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387   (exit $ac_status); }; }; then
13388   ac_cv_lib_m_clog10=yes
13389 else
13390   echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13392
13393 ac_cv_lib_m_clog10=no
13394 fi
13395 rm -f conftest.err conftest.$ac_objext \
13396       conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13398 fi
13399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13400 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13401 if test $ac_cv_lib_m_clog10 = yes; then
13402
13403 cat >>confdefs.h <<\_ACEOF
13404 #define HAVE_CLOG10 1
13405 _ACEOF
13406
13407 fi
13408
13409 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13410 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13411 if test "${ac_cv_lib_m_clog10l+set}" = set; then
13412   echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414   ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-lm  $LIBS"
13416 if test x$gcc_no_link = xyes; then
13417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13419    { (exit 1); exit 1; }; }
13420 fi
13421 cat >conftest.$ac_ext <<_ACEOF
13422 /* confdefs.h.  */
13423 _ACEOF
13424 cat confdefs.h >>conftest.$ac_ext
13425 cat >>conftest.$ac_ext <<_ACEOF
13426 /* end confdefs.h.  */
13427
13428 /* Override any gcc2 internal prototype to avoid an error.  */
13429 #ifdef __cplusplus
13430 extern "C"
13431 #endif
13432 /* We use char because int might match the return type of a gcc2
13433    builtin and then its argument prototype would still apply.  */
13434 char clog10l ();
13435 int
13436 main ()
13437 {
13438 clog10l ();
13439   ;
13440   return 0;
13441 }
13442 _ACEOF
13443 rm -f conftest.$ac_objext conftest$ac_exeext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13445   (eval $ac_link) 2>conftest.er1
13446   ac_status=$?
13447   grep -v '^ *+' conftest.er1 >conftest.err
13448   rm -f conftest.er1
13449   cat conftest.err >&5
13450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451   (exit $ac_status); } &&
13452          { ac_try='test -z "$ac_c_werror_flag"
13453                          || test ! -s conftest.err'
13454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455   (eval $ac_try) 2>&5
13456   ac_status=$?
13457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458   (exit $ac_status); }; } &&
13459          { ac_try='test -s conftest$ac_exeext'
13460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461   (eval $ac_try) 2>&5
13462   ac_status=$?
13463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464   (exit $ac_status); }; }; then
13465   ac_cv_lib_m_clog10l=yes
13466 else
13467   echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13469
13470 ac_cv_lib_m_clog10l=no
13471 fi
13472 rm -f conftest.err conftest.$ac_objext \
13473       conftest$ac_exeext conftest.$ac_ext
13474 LIBS=$ac_check_lib_save_LIBS
13475 fi
13476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13477 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13478 if test $ac_cv_lib_m_clog10l = yes; then
13479
13480 cat >>confdefs.h <<\_ACEOF
13481 #define HAVE_CLOG10L 1
13482 _ACEOF
13483
13484 fi
13485
13486 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13487 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13488 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13489   echo $ECHO_N "(cached) $ECHO_C" >&6
13490 else
13491   ac_check_lib_save_LIBS=$LIBS
13492 LIBS="-lm  $LIBS"
13493 if test x$gcc_no_link = xyes; then
13494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13496    { (exit 1); exit 1; }; }
13497 fi
13498 cat >conftest.$ac_ext <<_ACEOF
13499 /* confdefs.h.  */
13500 _ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h.  */
13504
13505 /* Override any gcc2 internal prototype to avoid an error.  */
13506 #ifdef __cplusplus
13507 extern "C"
13508 #endif
13509 /* We use char because int might match the return type of a gcc2
13510    builtin and then its argument prototype would still apply.  */
13511 char nextafterf ();
13512 int
13513 main ()
13514 {
13515 nextafterf ();
13516   ;
13517   return 0;
13518 }
13519 _ACEOF
13520 rm -f conftest.$ac_objext conftest$ac_exeext
13521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13522   (eval $ac_link) 2>conftest.er1
13523   ac_status=$?
13524   grep -v '^ *+' conftest.er1 >conftest.err
13525   rm -f conftest.er1
13526   cat conftest.err >&5
13527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528   (exit $ac_status); } &&
13529          { ac_try='test -z "$ac_c_werror_flag"
13530                          || test ! -s conftest.err'
13531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532   (eval $ac_try) 2>&5
13533   ac_status=$?
13534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535   (exit $ac_status); }; } &&
13536          { ac_try='test -s conftest$ac_exeext'
13537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538   (eval $ac_try) 2>&5
13539   ac_status=$?
13540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541   (exit $ac_status); }; }; then
13542   ac_cv_lib_m_nextafterf=yes
13543 else
13544   echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13546
13547 ac_cv_lib_m_nextafterf=no
13548 fi
13549 rm -f conftest.err conftest.$ac_objext \
13550       conftest$ac_exeext conftest.$ac_ext
13551 LIBS=$ac_check_lib_save_LIBS
13552 fi
13553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13554 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13555 if test $ac_cv_lib_m_nextafterf = yes; then
13556
13557 cat >>confdefs.h <<\_ACEOF
13558 #define HAVE_NEXTAFTERF 1
13559 _ACEOF
13560
13561 fi
13562
13563 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13564 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13565 if test "${ac_cv_lib_m_nextafter+set}" = set; then
13566   echo $ECHO_N "(cached) $ECHO_C" >&6
13567 else
13568   ac_check_lib_save_LIBS=$LIBS
13569 LIBS="-lm  $LIBS"
13570 if test x$gcc_no_link = xyes; then
13571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13573    { (exit 1); exit 1; }; }
13574 fi
13575 cat >conftest.$ac_ext <<_ACEOF
13576 /* confdefs.h.  */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h.  */
13581
13582 /* Override any gcc2 internal prototype to avoid an error.  */
13583 #ifdef __cplusplus
13584 extern "C"
13585 #endif
13586 /* We use char because int might match the return type of a gcc2
13587    builtin and then its argument prototype would still apply.  */
13588 char nextafter ();
13589 int
13590 main ()
13591 {
13592 nextafter ();
13593   ;
13594   return 0;
13595 }
13596 _ACEOF
13597 rm -f conftest.$ac_objext conftest$ac_exeext
13598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13599   (eval $ac_link) 2>conftest.er1
13600   ac_status=$?
13601   grep -v '^ *+' conftest.er1 >conftest.err
13602   rm -f conftest.er1
13603   cat conftest.err >&5
13604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605   (exit $ac_status); } &&
13606          { ac_try='test -z "$ac_c_werror_flag"
13607                          || test ! -s conftest.err'
13608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13609   (eval $ac_try) 2>&5
13610   ac_status=$?
13611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612   (exit $ac_status); }; } &&
13613          { ac_try='test -s conftest$ac_exeext'
13614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615   (eval $ac_try) 2>&5
13616   ac_status=$?
13617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618   (exit $ac_status); }; }; then
13619   ac_cv_lib_m_nextafter=yes
13620 else
13621   echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.$ac_ext >&5
13623
13624 ac_cv_lib_m_nextafter=no
13625 fi
13626 rm -f conftest.err conftest.$ac_objext \
13627       conftest$ac_exeext conftest.$ac_ext
13628 LIBS=$ac_check_lib_save_LIBS
13629 fi
13630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13631 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13632 if test $ac_cv_lib_m_nextafter = yes; then
13633
13634 cat >>confdefs.h <<\_ACEOF
13635 #define HAVE_NEXTAFTER 1
13636 _ACEOF
13637
13638 fi
13639
13640 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13641 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13642 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13643   echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645   ac_check_lib_save_LIBS=$LIBS
13646 LIBS="-lm  $LIBS"
13647 if test x$gcc_no_link = xyes; then
13648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13650    { (exit 1); exit 1; }; }
13651 fi
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h.  */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h.  */
13658
13659 /* Override any gcc2 internal prototype to avoid an error.  */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 /* We use char because int might match the return type of a gcc2
13664    builtin and then its argument prototype would still apply.  */
13665 char nextafterl ();
13666 int
13667 main ()
13668 {
13669 nextafterl ();
13670   ;
13671   return 0;
13672 }
13673 _ACEOF
13674 rm -f conftest.$ac_objext conftest$ac_exeext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13676   (eval $ac_link) 2>conftest.er1
13677   ac_status=$?
13678   grep -v '^ *+' conftest.er1 >conftest.err
13679   rm -f conftest.er1
13680   cat conftest.err >&5
13681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682   (exit $ac_status); } &&
13683          { ac_try='test -z "$ac_c_werror_flag"
13684                          || test ! -s conftest.err'
13685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686   (eval $ac_try) 2>&5
13687   ac_status=$?
13688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689   (exit $ac_status); }; } &&
13690          { ac_try='test -s conftest$ac_exeext'
13691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692   (eval $ac_try) 2>&5
13693   ac_status=$?
13694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695   (exit $ac_status); }; }; then
13696   ac_cv_lib_m_nextafterl=yes
13697 else
13698   echo "$as_me: failed program was:" >&5
13699 sed 's/^/| /' conftest.$ac_ext >&5
13700
13701 ac_cv_lib_m_nextafterl=no
13702 fi
13703 rm -f conftest.err conftest.$ac_objext \
13704       conftest$ac_exeext conftest.$ac_ext
13705 LIBS=$ac_check_lib_save_LIBS
13706 fi
13707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13708 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13709 if test $ac_cv_lib_m_nextafterl = yes; then
13710
13711 cat >>confdefs.h <<\_ACEOF
13712 #define HAVE_NEXTAFTERL 1
13713 _ACEOF
13714
13715 fi
13716
13717 echo "$as_me:$LINENO: checking for powf in -lm" >&5
13718 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13719 if test "${ac_cv_lib_m_powf+set}" = set; then
13720   echo $ECHO_N "(cached) $ECHO_C" >&6
13721 else
13722   ac_check_lib_save_LIBS=$LIBS
13723 LIBS="-lm  $LIBS"
13724 if test x$gcc_no_link = xyes; then
13725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13727    { (exit 1); exit 1; }; }
13728 fi
13729 cat >conftest.$ac_ext <<_ACEOF
13730 /* confdefs.h.  */
13731 _ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h.  */
13735
13736 /* Override any gcc2 internal prototype to avoid an error.  */
13737 #ifdef __cplusplus
13738 extern "C"
13739 #endif
13740 /* We use char because int might match the return type of a gcc2
13741    builtin and then its argument prototype would still apply.  */
13742 char powf ();
13743 int
13744 main ()
13745 {
13746 powf ();
13747   ;
13748   return 0;
13749 }
13750 _ACEOF
13751 rm -f conftest.$ac_objext conftest$ac_exeext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13753   (eval $ac_link) 2>conftest.er1
13754   ac_status=$?
13755   grep -v '^ *+' conftest.er1 >conftest.err
13756   rm -f conftest.er1
13757   cat conftest.err >&5
13758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759   (exit $ac_status); } &&
13760          { ac_try='test -z "$ac_c_werror_flag"
13761                          || test ! -s conftest.err'
13762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763   (eval $ac_try) 2>&5
13764   ac_status=$?
13765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766   (exit $ac_status); }; } &&
13767          { ac_try='test -s conftest$ac_exeext'
13768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769   (eval $ac_try) 2>&5
13770   ac_status=$?
13771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772   (exit $ac_status); }; }; then
13773   ac_cv_lib_m_powf=yes
13774 else
13775   echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13777
13778 ac_cv_lib_m_powf=no
13779 fi
13780 rm -f conftest.err conftest.$ac_objext \
13781       conftest$ac_exeext conftest.$ac_ext
13782 LIBS=$ac_check_lib_save_LIBS
13783 fi
13784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13785 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13786 if test $ac_cv_lib_m_powf = yes; then
13787
13788 cat >>confdefs.h <<\_ACEOF
13789 #define HAVE_POWF 1
13790 _ACEOF
13791
13792 fi
13793
13794 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13795 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13796 if test "${ac_cv_lib_m_pow+set}" = set; then
13797   echo $ECHO_N "(cached) $ECHO_C" >&6
13798 else
13799   ac_check_lib_save_LIBS=$LIBS
13800 LIBS="-lm  $LIBS"
13801 if test x$gcc_no_link = xyes; then
13802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13804    { (exit 1); exit 1; }; }
13805 fi
13806 cat >conftest.$ac_ext <<_ACEOF
13807 /* confdefs.h.  */
13808 _ACEOF
13809 cat confdefs.h >>conftest.$ac_ext
13810 cat >>conftest.$ac_ext <<_ACEOF
13811 /* end confdefs.h.  */
13812
13813 /* Override any gcc2 internal prototype to avoid an error.  */
13814 #ifdef __cplusplus
13815 extern "C"
13816 #endif
13817 /* We use char because int might match the return type of a gcc2
13818    builtin and then its argument prototype would still apply.  */
13819 char pow ();
13820 int
13821 main ()
13822 {
13823 pow ();
13824   ;
13825   return 0;
13826 }
13827 _ACEOF
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13830   (eval $ac_link) 2>conftest.er1
13831   ac_status=$?
13832   grep -v '^ *+' conftest.er1 >conftest.err
13833   rm -f conftest.er1
13834   cat conftest.err >&5
13835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836   (exit $ac_status); } &&
13837          { ac_try='test -z "$ac_c_werror_flag"
13838                          || test ! -s conftest.err'
13839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840   (eval $ac_try) 2>&5
13841   ac_status=$?
13842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843   (exit $ac_status); }; } &&
13844          { ac_try='test -s conftest$ac_exeext'
13845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846   (eval $ac_try) 2>&5
13847   ac_status=$?
13848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849   (exit $ac_status); }; }; then
13850   ac_cv_lib_m_pow=yes
13851 else
13852   echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13854
13855 ac_cv_lib_m_pow=no
13856 fi
13857 rm -f conftest.err conftest.$ac_objext \
13858       conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_lib_save_LIBS
13860 fi
13861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13862 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
13863 if test $ac_cv_lib_m_pow = yes; then
13864
13865 cat >>confdefs.h <<\_ACEOF
13866 #define HAVE_POW 1
13867 _ACEOF
13868
13869 fi
13870
13871 echo "$as_me:$LINENO: checking for powl in -lm" >&5
13872 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
13873 if test "${ac_cv_lib_m_powl+set}" = set; then
13874   echo $ECHO_N "(cached) $ECHO_C" >&6
13875 else
13876   ac_check_lib_save_LIBS=$LIBS
13877 LIBS="-lm  $LIBS"
13878 if test x$gcc_no_link = xyes; then
13879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13881    { (exit 1); exit 1; }; }
13882 fi
13883 cat >conftest.$ac_ext <<_ACEOF
13884 /* confdefs.h.  */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h.  */
13889
13890 /* Override any gcc2 internal prototype to avoid an error.  */
13891 #ifdef __cplusplus
13892 extern "C"
13893 #endif
13894 /* We use char because int might match the return type of a gcc2
13895    builtin and then its argument prototype would still apply.  */
13896 char powl ();
13897 int
13898 main ()
13899 {
13900 powl ();
13901   ;
13902   return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13907   (eval $ac_link) 2>conftest.er1
13908   ac_status=$?
13909   grep -v '^ *+' conftest.er1 >conftest.err
13910   rm -f conftest.er1
13911   cat conftest.err >&5
13912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913   (exit $ac_status); } &&
13914          { ac_try='test -z "$ac_c_werror_flag"
13915                          || test ! -s conftest.err'
13916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917   (eval $ac_try) 2>&5
13918   ac_status=$?
13919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920   (exit $ac_status); }; } &&
13921          { ac_try='test -s conftest$ac_exeext'
13922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923   (eval $ac_try) 2>&5
13924   ac_status=$?
13925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926   (exit $ac_status); }; }; then
13927   ac_cv_lib_m_powl=yes
13928 else
13929   echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13931
13932 ac_cv_lib_m_powl=no
13933 fi
13934 rm -f conftest.err conftest.$ac_objext \
13935       conftest$ac_exeext conftest.$ac_ext
13936 LIBS=$ac_check_lib_save_LIBS
13937 fi
13938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
13939 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
13940 if test $ac_cv_lib_m_powl = yes; then
13941
13942 cat >>confdefs.h <<\_ACEOF
13943 #define HAVE_POWL 1
13944 _ACEOF
13945
13946 fi
13947
13948 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
13949 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
13950 if test "${ac_cv_lib_m_cpowf+set}" = set; then
13951   echo $ECHO_N "(cached) $ECHO_C" >&6
13952 else
13953   ac_check_lib_save_LIBS=$LIBS
13954 LIBS="-lm  $LIBS"
13955 if test x$gcc_no_link = xyes; then
13956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13958    { (exit 1); exit 1; }; }
13959 fi
13960 cat >conftest.$ac_ext <<_ACEOF
13961 /* confdefs.h.  */
13962 _ACEOF
13963 cat confdefs.h >>conftest.$ac_ext
13964 cat >>conftest.$ac_ext <<_ACEOF
13965 /* end confdefs.h.  */
13966
13967 /* Override any gcc2 internal prototype to avoid an error.  */
13968 #ifdef __cplusplus
13969 extern "C"
13970 #endif
13971 /* We use char because int might match the return type of a gcc2
13972    builtin and then its argument prototype would still apply.  */
13973 char cpowf ();
13974 int
13975 main ()
13976 {
13977 cpowf ();
13978   ;
13979   return 0;
13980 }
13981 _ACEOF
13982 rm -f conftest.$ac_objext conftest$ac_exeext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13984   (eval $ac_link) 2>conftest.er1
13985   ac_status=$?
13986   grep -v '^ *+' conftest.er1 >conftest.err
13987   rm -f conftest.er1
13988   cat conftest.err >&5
13989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990   (exit $ac_status); } &&
13991          { ac_try='test -z "$ac_c_werror_flag"
13992                          || test ! -s conftest.err'
13993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994   (eval $ac_try) 2>&5
13995   ac_status=$?
13996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997   (exit $ac_status); }; } &&
13998          { ac_try='test -s conftest$ac_exeext'
13999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000   (eval $ac_try) 2>&5
14001   ac_status=$?
14002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003   (exit $ac_status); }; }; then
14004   ac_cv_lib_m_cpowf=yes
14005 else
14006   echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14008
14009 ac_cv_lib_m_cpowf=no
14010 fi
14011 rm -f conftest.err conftest.$ac_objext \
14012       conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_lib_save_LIBS
14014 fi
14015 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14016 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14017 if test $ac_cv_lib_m_cpowf = yes; then
14018
14019 cat >>confdefs.h <<\_ACEOF
14020 #define HAVE_CPOWF 1
14021 _ACEOF
14022
14023 fi
14024
14025 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14026 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14027 if test "${ac_cv_lib_m_cpow+set}" = set; then
14028   echo $ECHO_N "(cached) $ECHO_C" >&6
14029 else
14030   ac_check_lib_save_LIBS=$LIBS
14031 LIBS="-lm  $LIBS"
14032 if test x$gcc_no_link = xyes; then
14033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14035    { (exit 1); exit 1; }; }
14036 fi
14037 cat >conftest.$ac_ext <<_ACEOF
14038 /* confdefs.h.  */
14039 _ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h.  */
14043
14044 /* Override any gcc2 internal prototype to avoid an error.  */
14045 #ifdef __cplusplus
14046 extern "C"
14047 #endif
14048 /* We use char because int might match the return type of a gcc2
14049    builtin and then its argument prototype would still apply.  */
14050 char cpow ();
14051 int
14052 main ()
14053 {
14054 cpow ();
14055   ;
14056   return 0;
14057 }
14058 _ACEOF
14059 rm -f conftest.$ac_objext conftest$ac_exeext
14060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14061   (eval $ac_link) 2>conftest.er1
14062   ac_status=$?
14063   grep -v '^ *+' conftest.er1 >conftest.err
14064   rm -f conftest.er1
14065   cat conftest.err >&5
14066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067   (exit $ac_status); } &&
14068          { ac_try='test -z "$ac_c_werror_flag"
14069                          || test ! -s conftest.err'
14070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071   (eval $ac_try) 2>&5
14072   ac_status=$?
14073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074   (exit $ac_status); }; } &&
14075          { ac_try='test -s conftest$ac_exeext'
14076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077   (eval $ac_try) 2>&5
14078   ac_status=$?
14079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080   (exit $ac_status); }; }; then
14081   ac_cv_lib_m_cpow=yes
14082 else
14083   echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.$ac_ext >&5
14085
14086 ac_cv_lib_m_cpow=no
14087 fi
14088 rm -f conftest.err conftest.$ac_objext \
14089       conftest$ac_exeext conftest.$ac_ext
14090 LIBS=$ac_check_lib_save_LIBS
14091 fi
14092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14093 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14094 if test $ac_cv_lib_m_cpow = yes; then
14095
14096 cat >>confdefs.h <<\_ACEOF
14097 #define HAVE_CPOW 1
14098 _ACEOF
14099
14100 fi
14101
14102 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14103 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14104 if test "${ac_cv_lib_m_cpowl+set}" = set; then
14105   echo $ECHO_N "(cached) $ECHO_C" >&6
14106 else
14107   ac_check_lib_save_LIBS=$LIBS
14108 LIBS="-lm  $LIBS"
14109 if test x$gcc_no_link = xyes; then
14110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14112    { (exit 1); exit 1; }; }
14113 fi
14114 cat >conftest.$ac_ext <<_ACEOF
14115 /* confdefs.h.  */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h.  */
14120
14121 /* Override any gcc2 internal prototype to avoid an error.  */
14122 #ifdef __cplusplus
14123 extern "C"
14124 #endif
14125 /* We use char because int might match the return type of a gcc2
14126    builtin and then its argument prototype would still apply.  */
14127 char cpowl ();
14128 int
14129 main ()
14130 {
14131 cpowl ();
14132   ;
14133   return 0;
14134 }
14135 _ACEOF
14136 rm -f conftest.$ac_objext conftest$ac_exeext
14137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14138   (eval $ac_link) 2>conftest.er1
14139   ac_status=$?
14140   grep -v '^ *+' conftest.er1 >conftest.err
14141   rm -f conftest.er1
14142   cat conftest.err >&5
14143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144   (exit $ac_status); } &&
14145          { ac_try='test -z "$ac_c_werror_flag"
14146                          || test ! -s conftest.err'
14147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148   (eval $ac_try) 2>&5
14149   ac_status=$?
14150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151   (exit $ac_status); }; } &&
14152          { ac_try='test -s conftest$ac_exeext'
14153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154   (eval $ac_try) 2>&5
14155   ac_status=$?
14156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157   (exit $ac_status); }; }; then
14158   ac_cv_lib_m_cpowl=yes
14159 else
14160   echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.$ac_ext >&5
14162
14163 ac_cv_lib_m_cpowl=no
14164 fi
14165 rm -f conftest.err conftest.$ac_objext \
14166       conftest$ac_exeext conftest.$ac_ext
14167 LIBS=$ac_check_lib_save_LIBS
14168 fi
14169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14170 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14171 if test $ac_cv_lib_m_cpowl = yes; then
14172
14173 cat >>confdefs.h <<\_ACEOF
14174 #define HAVE_CPOWL 1
14175 _ACEOF
14176
14177 fi
14178
14179 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14180 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14181 if test "${ac_cv_lib_m_roundf+set}" = set; then
14182   echo $ECHO_N "(cached) $ECHO_C" >&6
14183 else
14184   ac_check_lib_save_LIBS=$LIBS
14185 LIBS="-lm  $LIBS"
14186 if test x$gcc_no_link = xyes; then
14187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14189    { (exit 1); exit 1; }; }
14190 fi
14191 cat >conftest.$ac_ext <<_ACEOF
14192 /* confdefs.h.  */
14193 _ACEOF
14194 cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h.  */
14197
14198 /* Override any gcc2 internal prototype to avoid an error.  */
14199 #ifdef __cplusplus
14200 extern "C"
14201 #endif
14202 /* We use char because int might match the return type of a gcc2
14203    builtin and then its argument prototype would still apply.  */
14204 char roundf ();
14205 int
14206 main ()
14207 {
14208 roundf ();
14209   ;
14210   return 0;
14211 }
14212 _ACEOF
14213 rm -f conftest.$ac_objext conftest$ac_exeext
14214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14215   (eval $ac_link) 2>conftest.er1
14216   ac_status=$?
14217   grep -v '^ *+' conftest.er1 >conftest.err
14218   rm -f conftest.er1
14219   cat conftest.err >&5
14220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221   (exit $ac_status); } &&
14222          { ac_try='test -z "$ac_c_werror_flag"
14223                          || test ! -s conftest.err'
14224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225   (eval $ac_try) 2>&5
14226   ac_status=$?
14227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228   (exit $ac_status); }; } &&
14229          { ac_try='test -s conftest$ac_exeext'
14230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231   (eval $ac_try) 2>&5
14232   ac_status=$?
14233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234   (exit $ac_status); }; }; then
14235   ac_cv_lib_m_roundf=yes
14236 else
14237   echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.$ac_ext >&5
14239
14240 ac_cv_lib_m_roundf=no
14241 fi
14242 rm -f conftest.err conftest.$ac_objext \
14243       conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14245 fi
14246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14247 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14248 if test $ac_cv_lib_m_roundf = yes; then
14249
14250 cat >>confdefs.h <<\_ACEOF
14251 #define HAVE_ROUNDF 1
14252 _ACEOF
14253
14254 fi
14255
14256 echo "$as_me:$LINENO: checking for round in -lm" >&5
14257 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14258 if test "${ac_cv_lib_m_round+set}" = set; then
14259   echo $ECHO_N "(cached) $ECHO_C" >&6
14260 else
14261   ac_check_lib_save_LIBS=$LIBS
14262 LIBS="-lm  $LIBS"
14263 if test x$gcc_no_link = xyes; then
14264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14266    { (exit 1); exit 1; }; }
14267 fi
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h.  */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h.  */
14274
14275 /* Override any gcc2 internal prototype to avoid an error.  */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 /* We use char because int might match the return type of a gcc2
14280    builtin and then its argument prototype would still apply.  */
14281 char round ();
14282 int
14283 main ()
14284 {
14285 round ();
14286   ;
14287   return 0;
14288 }
14289 _ACEOF
14290 rm -f conftest.$ac_objext conftest$ac_exeext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14292   (eval $ac_link) 2>conftest.er1
14293   ac_status=$?
14294   grep -v '^ *+' conftest.er1 >conftest.err
14295   rm -f conftest.er1
14296   cat conftest.err >&5
14297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298   (exit $ac_status); } &&
14299          { ac_try='test -z "$ac_c_werror_flag"
14300                          || test ! -s conftest.err'
14301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302   (eval $ac_try) 2>&5
14303   ac_status=$?
14304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305   (exit $ac_status); }; } &&
14306          { ac_try='test -s conftest$ac_exeext'
14307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308   (eval $ac_try) 2>&5
14309   ac_status=$?
14310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311   (exit $ac_status); }; }; then
14312   ac_cv_lib_m_round=yes
14313 else
14314   echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14316
14317 ac_cv_lib_m_round=no
14318 fi
14319 rm -f conftest.err conftest.$ac_objext \
14320       conftest$ac_exeext conftest.$ac_ext
14321 LIBS=$ac_check_lib_save_LIBS
14322 fi
14323 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14324 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14325 if test $ac_cv_lib_m_round = yes; then
14326
14327 cat >>confdefs.h <<\_ACEOF
14328 #define HAVE_ROUND 1
14329 _ACEOF
14330
14331 fi
14332
14333 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14334 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14335 if test "${ac_cv_lib_m_roundl+set}" = set; then
14336   echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338   ac_check_lib_save_LIBS=$LIBS
14339 LIBS="-lm  $LIBS"
14340 if test x$gcc_no_link = xyes; then
14341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14343    { (exit 1); exit 1; }; }
14344 fi
14345 cat >conftest.$ac_ext <<_ACEOF
14346 /* confdefs.h.  */
14347 _ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h.  */
14351
14352 /* Override any gcc2 internal prototype to avoid an error.  */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 /* We use char because int might match the return type of a gcc2
14357    builtin and then its argument prototype would still apply.  */
14358 char roundl ();
14359 int
14360 main ()
14361 {
14362 roundl ();
14363   ;
14364   return 0;
14365 }
14366 _ACEOF
14367 rm -f conftest.$ac_objext conftest$ac_exeext
14368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14369   (eval $ac_link) 2>conftest.er1
14370   ac_status=$?
14371   grep -v '^ *+' conftest.er1 >conftest.err
14372   rm -f conftest.er1
14373   cat conftest.err >&5
14374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375   (exit $ac_status); } &&
14376          { ac_try='test -z "$ac_c_werror_flag"
14377                          || test ! -s conftest.err'
14378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14379   (eval $ac_try) 2>&5
14380   ac_status=$?
14381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382   (exit $ac_status); }; } &&
14383          { ac_try='test -s conftest$ac_exeext'
14384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385   (eval $ac_try) 2>&5
14386   ac_status=$?
14387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388   (exit $ac_status); }; }; then
14389   ac_cv_lib_m_roundl=yes
14390 else
14391   echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.$ac_ext >&5
14393
14394 ac_cv_lib_m_roundl=no
14395 fi
14396 rm -f conftest.err conftest.$ac_objext \
14397       conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14399 fi
14400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14401 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14402 if test $ac_cv_lib_m_roundl = yes; then
14403
14404 cat >>confdefs.h <<\_ACEOF
14405 #define HAVE_ROUNDL 1
14406 _ACEOF
14407
14408 fi
14409
14410 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14411 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14412 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14413   echo $ECHO_N "(cached) $ECHO_C" >&6
14414 else
14415   ac_check_lib_save_LIBS=$LIBS
14416 LIBS="-lm  $LIBS"
14417 if test x$gcc_no_link = xyes; then
14418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14420    { (exit 1); exit 1; }; }
14421 fi
14422 cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h.  */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h.  */
14428
14429 /* Override any gcc2 internal prototype to avoid an error.  */
14430 #ifdef __cplusplus
14431 extern "C"
14432 #endif
14433 /* We use char because int might match the return type of a gcc2
14434    builtin and then its argument prototype would still apply.  */
14435 char scalbnf ();
14436 int
14437 main ()
14438 {
14439 scalbnf ();
14440   ;
14441   return 0;
14442 }
14443 _ACEOF
14444 rm -f conftest.$ac_objext conftest$ac_exeext
14445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446   (eval $ac_link) 2>conftest.er1
14447   ac_status=$?
14448   grep -v '^ *+' conftest.er1 >conftest.err
14449   rm -f conftest.er1
14450   cat conftest.err >&5
14451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452   (exit $ac_status); } &&
14453          { ac_try='test -z "$ac_c_werror_flag"
14454                          || test ! -s conftest.err'
14455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456   (eval $ac_try) 2>&5
14457   ac_status=$?
14458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459   (exit $ac_status); }; } &&
14460          { ac_try='test -s conftest$ac_exeext'
14461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462   (eval $ac_try) 2>&5
14463   ac_status=$?
14464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465   (exit $ac_status); }; }; then
14466   ac_cv_lib_m_scalbnf=yes
14467 else
14468   echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.$ac_ext >&5
14470
14471 ac_cv_lib_m_scalbnf=no
14472 fi
14473 rm -f conftest.err conftest.$ac_objext \
14474       conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_lib_save_LIBS
14476 fi
14477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14478 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14479 if test $ac_cv_lib_m_scalbnf = yes; then
14480
14481 cat >>confdefs.h <<\_ACEOF
14482 #define HAVE_SCALBNF 1
14483 _ACEOF
14484
14485 fi
14486
14487 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14488 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14489 if test "${ac_cv_lib_m_scalbn+set}" = set; then
14490   echo $ECHO_N "(cached) $ECHO_C" >&6
14491 else
14492   ac_check_lib_save_LIBS=$LIBS
14493 LIBS="-lm  $LIBS"
14494 if test x$gcc_no_link = xyes; then
14495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14497    { (exit 1); exit 1; }; }
14498 fi
14499 cat >conftest.$ac_ext <<_ACEOF
14500 /* confdefs.h.  */
14501 _ACEOF
14502 cat confdefs.h >>conftest.$ac_ext
14503 cat >>conftest.$ac_ext <<_ACEOF
14504 /* end confdefs.h.  */
14505
14506 /* Override any gcc2 internal prototype to avoid an error.  */
14507 #ifdef __cplusplus
14508 extern "C"
14509 #endif
14510 /* We use char because int might match the return type of a gcc2
14511    builtin and then its argument prototype would still apply.  */
14512 char scalbn ();
14513 int
14514 main ()
14515 {
14516 scalbn ();
14517   ;
14518   return 0;
14519 }
14520 _ACEOF
14521 rm -f conftest.$ac_objext conftest$ac_exeext
14522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14523   (eval $ac_link) 2>conftest.er1
14524   ac_status=$?
14525   grep -v '^ *+' conftest.er1 >conftest.err
14526   rm -f conftest.er1
14527   cat conftest.err >&5
14528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529   (exit $ac_status); } &&
14530          { ac_try='test -z "$ac_c_werror_flag"
14531                          || test ! -s conftest.err'
14532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533   (eval $ac_try) 2>&5
14534   ac_status=$?
14535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536   (exit $ac_status); }; } &&
14537          { ac_try='test -s conftest$ac_exeext'
14538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539   (eval $ac_try) 2>&5
14540   ac_status=$?
14541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542   (exit $ac_status); }; }; then
14543   ac_cv_lib_m_scalbn=yes
14544 else
14545   echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.$ac_ext >&5
14547
14548 ac_cv_lib_m_scalbn=no
14549 fi
14550 rm -f conftest.err conftest.$ac_objext \
14551       conftest$ac_exeext conftest.$ac_ext
14552 LIBS=$ac_check_lib_save_LIBS
14553 fi
14554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14555 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14556 if test $ac_cv_lib_m_scalbn = yes; then
14557
14558 cat >>confdefs.h <<\_ACEOF
14559 #define HAVE_SCALBN 1
14560 _ACEOF
14561
14562 fi
14563
14564 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14565 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14566 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14567   echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569   ac_check_lib_save_LIBS=$LIBS
14570 LIBS="-lm  $LIBS"
14571 if test x$gcc_no_link = xyes; then
14572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14574    { (exit 1); exit 1; }; }
14575 fi
14576 cat >conftest.$ac_ext <<_ACEOF
14577 /* confdefs.h.  */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h.  */
14582
14583 /* Override any gcc2 internal prototype to avoid an error.  */
14584 #ifdef __cplusplus
14585 extern "C"
14586 #endif
14587 /* We use char because int might match the return type of a gcc2
14588    builtin and then its argument prototype would still apply.  */
14589 char scalbnl ();
14590 int
14591 main ()
14592 {
14593 scalbnl ();
14594   ;
14595   return 0;
14596 }
14597 _ACEOF
14598 rm -f conftest.$ac_objext conftest$ac_exeext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14600   (eval $ac_link) 2>conftest.er1
14601   ac_status=$?
14602   grep -v '^ *+' conftest.er1 >conftest.err
14603   rm -f conftest.er1
14604   cat conftest.err >&5
14605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606   (exit $ac_status); } &&
14607          { ac_try='test -z "$ac_c_werror_flag"
14608                          || test ! -s conftest.err'
14609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610   (eval $ac_try) 2>&5
14611   ac_status=$?
14612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613   (exit $ac_status); }; } &&
14614          { ac_try='test -s conftest$ac_exeext'
14615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616   (eval $ac_try) 2>&5
14617   ac_status=$?
14618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619   (exit $ac_status); }; }; then
14620   ac_cv_lib_m_scalbnl=yes
14621 else
14622   echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14624
14625 ac_cv_lib_m_scalbnl=no
14626 fi
14627 rm -f conftest.err conftest.$ac_objext \
14628       conftest$ac_exeext conftest.$ac_ext
14629 LIBS=$ac_check_lib_save_LIBS
14630 fi
14631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14632 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14633 if test $ac_cv_lib_m_scalbnl = yes; then
14634
14635 cat >>confdefs.h <<\_ACEOF
14636 #define HAVE_SCALBNL 1
14637 _ACEOF
14638
14639 fi
14640
14641 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14642 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14643 if test "${ac_cv_lib_m_sinf+set}" = set; then
14644   echo $ECHO_N "(cached) $ECHO_C" >&6
14645 else
14646   ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-lm  $LIBS"
14648 if test x$gcc_no_link = xyes; then
14649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14651    { (exit 1); exit 1; }; }
14652 fi
14653 cat >conftest.$ac_ext <<_ACEOF
14654 /* confdefs.h.  */
14655 _ACEOF
14656 cat confdefs.h >>conftest.$ac_ext
14657 cat >>conftest.$ac_ext <<_ACEOF
14658 /* end confdefs.h.  */
14659
14660 /* Override any gcc2 internal prototype to avoid an error.  */
14661 #ifdef __cplusplus
14662 extern "C"
14663 #endif
14664 /* We use char because int might match the return type of a gcc2
14665    builtin and then its argument prototype would still apply.  */
14666 char sinf ();
14667 int
14668 main ()
14669 {
14670 sinf ();
14671   ;
14672   return 0;
14673 }
14674 _ACEOF
14675 rm -f conftest.$ac_objext conftest$ac_exeext
14676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14677   (eval $ac_link) 2>conftest.er1
14678   ac_status=$?
14679   grep -v '^ *+' conftest.er1 >conftest.err
14680   rm -f conftest.er1
14681   cat conftest.err >&5
14682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683   (exit $ac_status); } &&
14684          { ac_try='test -z "$ac_c_werror_flag"
14685                          || test ! -s conftest.err'
14686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687   (eval $ac_try) 2>&5
14688   ac_status=$?
14689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690   (exit $ac_status); }; } &&
14691          { ac_try='test -s conftest$ac_exeext'
14692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693   (eval $ac_try) 2>&5
14694   ac_status=$?
14695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696   (exit $ac_status); }; }; then
14697   ac_cv_lib_m_sinf=yes
14698 else
14699   echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14701
14702 ac_cv_lib_m_sinf=no
14703 fi
14704 rm -f conftest.err conftest.$ac_objext \
14705       conftest$ac_exeext conftest.$ac_ext
14706 LIBS=$ac_check_lib_save_LIBS
14707 fi
14708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14709 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14710 if test $ac_cv_lib_m_sinf = yes; then
14711
14712 cat >>confdefs.h <<\_ACEOF
14713 #define HAVE_SINF 1
14714 _ACEOF
14715
14716 fi
14717
14718 echo "$as_me:$LINENO: checking for sin in -lm" >&5
14719 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14720 if test "${ac_cv_lib_m_sin+set}" = set; then
14721   echo $ECHO_N "(cached) $ECHO_C" >&6
14722 else
14723   ac_check_lib_save_LIBS=$LIBS
14724 LIBS="-lm  $LIBS"
14725 if test x$gcc_no_link = xyes; then
14726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14728    { (exit 1); exit 1; }; }
14729 fi
14730 cat >conftest.$ac_ext <<_ACEOF
14731 /* confdefs.h.  */
14732 _ACEOF
14733 cat confdefs.h >>conftest.$ac_ext
14734 cat >>conftest.$ac_ext <<_ACEOF
14735 /* end confdefs.h.  */
14736
14737 /* Override any gcc2 internal prototype to avoid an error.  */
14738 #ifdef __cplusplus
14739 extern "C"
14740 #endif
14741 /* We use char because int might match the return type of a gcc2
14742    builtin and then its argument prototype would still apply.  */
14743 char sin ();
14744 int
14745 main ()
14746 {
14747 sin ();
14748   ;
14749   return 0;
14750 }
14751 _ACEOF
14752 rm -f conftest.$ac_objext conftest$ac_exeext
14753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14754   (eval $ac_link) 2>conftest.er1
14755   ac_status=$?
14756   grep -v '^ *+' conftest.er1 >conftest.err
14757   rm -f conftest.er1
14758   cat conftest.err >&5
14759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760   (exit $ac_status); } &&
14761          { ac_try='test -z "$ac_c_werror_flag"
14762                          || test ! -s conftest.err'
14763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764   (eval $ac_try) 2>&5
14765   ac_status=$?
14766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767   (exit $ac_status); }; } &&
14768          { ac_try='test -s conftest$ac_exeext'
14769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770   (eval $ac_try) 2>&5
14771   ac_status=$?
14772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773   (exit $ac_status); }; }; then
14774   ac_cv_lib_m_sin=yes
14775 else
14776   echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.$ac_ext >&5
14778
14779 ac_cv_lib_m_sin=no
14780 fi
14781 rm -f conftest.err conftest.$ac_objext \
14782       conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_lib_save_LIBS
14784 fi
14785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14786 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14787 if test $ac_cv_lib_m_sin = yes; then
14788
14789 cat >>confdefs.h <<\_ACEOF
14790 #define HAVE_SIN 1
14791 _ACEOF
14792
14793 fi
14794
14795 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14796 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14797 if test "${ac_cv_lib_m_sinl+set}" = set; then
14798   echo $ECHO_N "(cached) $ECHO_C" >&6
14799 else
14800   ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-lm  $LIBS"
14802 if test x$gcc_no_link = xyes; then
14803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14805    { (exit 1); exit 1; }; }
14806 fi
14807 cat >conftest.$ac_ext <<_ACEOF
14808 /* confdefs.h.  */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h.  */
14813
14814 /* Override any gcc2 internal prototype to avoid an error.  */
14815 #ifdef __cplusplus
14816 extern "C"
14817 #endif
14818 /* We use char because int might match the return type of a gcc2
14819    builtin and then its argument prototype would still apply.  */
14820 char sinl ();
14821 int
14822 main ()
14823 {
14824 sinl ();
14825   ;
14826   return 0;
14827 }
14828 _ACEOF
14829 rm -f conftest.$ac_objext conftest$ac_exeext
14830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14831   (eval $ac_link) 2>conftest.er1
14832   ac_status=$?
14833   grep -v '^ *+' conftest.er1 >conftest.err
14834   rm -f conftest.er1
14835   cat conftest.err >&5
14836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837   (exit $ac_status); } &&
14838          { ac_try='test -z "$ac_c_werror_flag"
14839                          || test ! -s conftest.err'
14840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841   (eval $ac_try) 2>&5
14842   ac_status=$?
14843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844   (exit $ac_status); }; } &&
14845          { ac_try='test -s conftest$ac_exeext'
14846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847   (eval $ac_try) 2>&5
14848   ac_status=$?
14849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850   (exit $ac_status); }; }; then
14851   ac_cv_lib_m_sinl=yes
14852 else
14853   echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.$ac_ext >&5
14855
14856 ac_cv_lib_m_sinl=no
14857 fi
14858 rm -f conftest.err conftest.$ac_objext \
14859       conftest$ac_exeext conftest.$ac_ext
14860 LIBS=$ac_check_lib_save_LIBS
14861 fi
14862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
14863 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
14864 if test $ac_cv_lib_m_sinl = yes; then
14865
14866 cat >>confdefs.h <<\_ACEOF
14867 #define HAVE_SINL 1
14868 _ACEOF
14869
14870 fi
14871
14872 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
14873 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
14874 if test "${ac_cv_lib_m_csinf+set}" = set; then
14875   echo $ECHO_N "(cached) $ECHO_C" >&6
14876 else
14877   ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-lm  $LIBS"
14879 if test x$gcc_no_link = xyes; then
14880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14882    { (exit 1); exit 1; }; }
14883 fi
14884 cat >conftest.$ac_ext <<_ACEOF
14885 /* confdefs.h.  */
14886 _ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h.  */
14890
14891 /* Override any gcc2 internal prototype to avoid an error.  */
14892 #ifdef __cplusplus
14893 extern "C"
14894 #endif
14895 /* We use char because int might match the return type of a gcc2
14896    builtin and then its argument prototype would still apply.  */
14897 char csinf ();
14898 int
14899 main ()
14900 {
14901 csinf ();
14902   ;
14903   return 0;
14904 }
14905 _ACEOF
14906 rm -f conftest.$ac_objext conftest$ac_exeext
14907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14908   (eval $ac_link) 2>conftest.er1
14909   ac_status=$?
14910   grep -v '^ *+' conftest.er1 >conftest.err
14911   rm -f conftest.er1
14912   cat conftest.err >&5
14913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914   (exit $ac_status); } &&
14915          { ac_try='test -z "$ac_c_werror_flag"
14916                          || test ! -s conftest.err'
14917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918   (eval $ac_try) 2>&5
14919   ac_status=$?
14920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921   (exit $ac_status); }; } &&
14922          { ac_try='test -s conftest$ac_exeext'
14923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924   (eval $ac_try) 2>&5
14925   ac_status=$?
14926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927   (exit $ac_status); }; }; then
14928   ac_cv_lib_m_csinf=yes
14929 else
14930   echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.$ac_ext >&5
14932
14933 ac_cv_lib_m_csinf=no
14934 fi
14935 rm -f conftest.err conftest.$ac_objext \
14936       conftest$ac_exeext conftest.$ac_ext
14937 LIBS=$ac_check_lib_save_LIBS
14938 fi
14939 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
14940 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
14941 if test $ac_cv_lib_m_csinf = yes; then
14942
14943 cat >>confdefs.h <<\_ACEOF
14944 #define HAVE_CSINF 1
14945 _ACEOF
14946
14947 fi
14948
14949 echo "$as_me:$LINENO: checking for csin in -lm" >&5
14950 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
14951 if test "${ac_cv_lib_m_csin+set}" = set; then
14952   echo $ECHO_N "(cached) $ECHO_C" >&6
14953 else
14954   ac_check_lib_save_LIBS=$LIBS
14955 LIBS="-lm  $LIBS"
14956 if test x$gcc_no_link = xyes; then
14957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14959    { (exit 1); exit 1; }; }
14960 fi
14961 cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h.  */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h.  */
14967
14968 /* Override any gcc2 internal prototype to avoid an error.  */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 /* We use char because int might match the return type of a gcc2
14973    builtin and then its argument prototype would still apply.  */
14974 char csin ();
14975 int
14976 main ()
14977 {
14978 csin ();
14979   ;
14980   return 0;
14981 }
14982 _ACEOF
14983 rm -f conftest.$ac_objext conftest$ac_exeext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14985   (eval $ac_link) 2>conftest.er1
14986   ac_status=$?
14987   grep -v '^ *+' conftest.er1 >conftest.err
14988   rm -f conftest.er1
14989   cat conftest.err >&5
14990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991   (exit $ac_status); } &&
14992          { ac_try='test -z "$ac_c_werror_flag"
14993                          || test ! -s conftest.err'
14994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995   (eval $ac_try) 2>&5
14996   ac_status=$?
14997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998   (exit $ac_status); }; } &&
14999          { ac_try='test -s conftest$ac_exeext'
15000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001   (eval $ac_try) 2>&5
15002   ac_status=$?
15003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004   (exit $ac_status); }; }; then
15005   ac_cv_lib_m_csin=yes
15006 else
15007   echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.$ac_ext >&5
15009
15010 ac_cv_lib_m_csin=no
15011 fi
15012 rm -f conftest.err conftest.$ac_objext \
15013       conftest$ac_exeext conftest.$ac_ext
15014 LIBS=$ac_check_lib_save_LIBS
15015 fi
15016 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15017 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15018 if test $ac_cv_lib_m_csin = yes; then
15019
15020 cat >>confdefs.h <<\_ACEOF
15021 #define HAVE_CSIN 1
15022 _ACEOF
15023
15024 fi
15025
15026 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15027 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15028 if test "${ac_cv_lib_m_csinl+set}" = set; then
15029   echo $ECHO_N "(cached) $ECHO_C" >&6
15030 else
15031   ac_check_lib_save_LIBS=$LIBS
15032 LIBS="-lm  $LIBS"
15033 if test x$gcc_no_link = xyes; then
15034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15036    { (exit 1); exit 1; }; }
15037 fi
15038 cat >conftest.$ac_ext <<_ACEOF
15039 /* confdefs.h.  */
15040 _ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h.  */
15044
15045 /* Override any gcc2 internal prototype to avoid an error.  */
15046 #ifdef __cplusplus
15047 extern "C"
15048 #endif
15049 /* We use char because int might match the return type of a gcc2
15050    builtin and then its argument prototype would still apply.  */
15051 char csinl ();
15052 int
15053 main ()
15054 {
15055 csinl ();
15056   ;
15057   return 0;
15058 }
15059 _ACEOF
15060 rm -f conftest.$ac_objext conftest$ac_exeext
15061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15062   (eval $ac_link) 2>conftest.er1
15063   ac_status=$?
15064   grep -v '^ *+' conftest.er1 >conftest.err
15065   rm -f conftest.er1
15066   cat conftest.err >&5
15067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068   (exit $ac_status); } &&
15069          { ac_try='test -z "$ac_c_werror_flag"
15070                          || test ! -s conftest.err'
15071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072   (eval $ac_try) 2>&5
15073   ac_status=$?
15074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075   (exit $ac_status); }; } &&
15076          { ac_try='test -s conftest$ac_exeext'
15077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078   (eval $ac_try) 2>&5
15079   ac_status=$?
15080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081   (exit $ac_status); }; }; then
15082   ac_cv_lib_m_csinl=yes
15083 else
15084   echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15086
15087 ac_cv_lib_m_csinl=no
15088 fi
15089 rm -f conftest.err conftest.$ac_objext \
15090       conftest$ac_exeext conftest.$ac_ext
15091 LIBS=$ac_check_lib_save_LIBS
15092 fi
15093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15094 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15095 if test $ac_cv_lib_m_csinl = yes; then
15096
15097 cat >>confdefs.h <<\_ACEOF
15098 #define HAVE_CSINL 1
15099 _ACEOF
15100
15101 fi
15102
15103 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15104 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15105 if test "${ac_cv_lib_m_sinhf+set}" = set; then
15106   echo $ECHO_N "(cached) $ECHO_C" >&6
15107 else
15108   ac_check_lib_save_LIBS=$LIBS
15109 LIBS="-lm  $LIBS"
15110 if test x$gcc_no_link = xyes; then
15111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15113    { (exit 1); exit 1; }; }
15114 fi
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h.  */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h.  */
15121
15122 /* Override any gcc2 internal prototype to avoid an error.  */
15123 #ifdef __cplusplus
15124 extern "C"
15125 #endif
15126 /* We use char because int might match the return type of a gcc2
15127    builtin and then its argument prototype would still apply.  */
15128 char sinhf ();
15129 int
15130 main ()
15131 {
15132 sinhf ();
15133   ;
15134   return 0;
15135 }
15136 _ACEOF
15137 rm -f conftest.$ac_objext conftest$ac_exeext
15138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15139   (eval $ac_link) 2>conftest.er1
15140   ac_status=$?
15141   grep -v '^ *+' conftest.er1 >conftest.err
15142   rm -f conftest.er1
15143   cat conftest.err >&5
15144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145   (exit $ac_status); } &&
15146          { ac_try='test -z "$ac_c_werror_flag"
15147                          || test ! -s conftest.err'
15148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149   (eval $ac_try) 2>&5
15150   ac_status=$?
15151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152   (exit $ac_status); }; } &&
15153          { ac_try='test -s conftest$ac_exeext'
15154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155   (eval $ac_try) 2>&5
15156   ac_status=$?
15157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158   (exit $ac_status); }; }; then
15159   ac_cv_lib_m_sinhf=yes
15160 else
15161   echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15163
15164 ac_cv_lib_m_sinhf=no
15165 fi
15166 rm -f conftest.err conftest.$ac_objext \
15167       conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_check_lib_save_LIBS
15169 fi
15170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15171 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15172 if test $ac_cv_lib_m_sinhf = yes; then
15173
15174 cat >>confdefs.h <<\_ACEOF
15175 #define HAVE_SINHF 1
15176 _ACEOF
15177
15178 fi
15179
15180 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15181 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15182 if test "${ac_cv_lib_m_sinh+set}" = set; then
15183   echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185   ac_check_lib_save_LIBS=$LIBS
15186 LIBS="-lm  $LIBS"
15187 if test x$gcc_no_link = xyes; then
15188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15190    { (exit 1); exit 1; }; }
15191 fi
15192 cat >conftest.$ac_ext <<_ACEOF
15193 /* confdefs.h.  */
15194 _ACEOF
15195 cat confdefs.h >>conftest.$ac_ext
15196 cat >>conftest.$ac_ext <<_ACEOF
15197 /* end confdefs.h.  */
15198
15199 /* Override any gcc2 internal prototype to avoid an error.  */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 /* We use char because int might match the return type of a gcc2
15204    builtin and then its argument prototype would still apply.  */
15205 char sinh ();
15206 int
15207 main ()
15208 {
15209 sinh ();
15210   ;
15211   return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.$ac_objext conftest$ac_exeext
15215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15216   (eval $ac_link) 2>conftest.er1
15217   ac_status=$?
15218   grep -v '^ *+' conftest.er1 >conftest.err
15219   rm -f conftest.er1
15220   cat conftest.err >&5
15221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222   (exit $ac_status); } &&
15223          { ac_try='test -z "$ac_c_werror_flag"
15224                          || test ! -s conftest.err'
15225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226   (eval $ac_try) 2>&5
15227   ac_status=$?
15228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229   (exit $ac_status); }; } &&
15230          { ac_try='test -s conftest$ac_exeext'
15231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232   (eval $ac_try) 2>&5
15233   ac_status=$?
15234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235   (exit $ac_status); }; }; then
15236   ac_cv_lib_m_sinh=yes
15237 else
15238   echo "$as_me: failed program was:" >&5
15239 sed 's/^/| /' conftest.$ac_ext >&5
15240
15241 ac_cv_lib_m_sinh=no
15242 fi
15243 rm -f conftest.err conftest.$ac_objext \
15244       conftest$ac_exeext conftest.$ac_ext
15245 LIBS=$ac_check_lib_save_LIBS
15246 fi
15247 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15248 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15249 if test $ac_cv_lib_m_sinh = yes; then
15250
15251 cat >>confdefs.h <<\_ACEOF
15252 #define HAVE_SINH 1
15253 _ACEOF
15254
15255 fi
15256
15257 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15258 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15259 if test "${ac_cv_lib_m_sinhl+set}" = set; then
15260   echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262   ac_check_lib_save_LIBS=$LIBS
15263 LIBS="-lm  $LIBS"
15264 if test x$gcc_no_link = xyes; then
15265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15267    { (exit 1); exit 1; }; }
15268 fi
15269 cat >conftest.$ac_ext <<_ACEOF
15270 /* confdefs.h.  */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h.  */
15275
15276 /* Override any gcc2 internal prototype to avoid an error.  */
15277 #ifdef __cplusplus
15278 extern "C"
15279 #endif
15280 /* We use char because int might match the return type of a gcc2
15281    builtin and then its argument prototype would still apply.  */
15282 char sinhl ();
15283 int
15284 main ()
15285 {
15286 sinhl ();
15287   ;
15288   return 0;
15289 }
15290 _ACEOF
15291 rm -f conftest.$ac_objext conftest$ac_exeext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293   (eval $ac_link) 2>conftest.er1
15294   ac_status=$?
15295   grep -v '^ *+' conftest.er1 >conftest.err
15296   rm -f conftest.er1
15297   cat conftest.err >&5
15298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299   (exit $ac_status); } &&
15300          { ac_try='test -z "$ac_c_werror_flag"
15301                          || test ! -s conftest.err'
15302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303   (eval $ac_try) 2>&5
15304   ac_status=$?
15305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306   (exit $ac_status); }; } &&
15307          { ac_try='test -s conftest$ac_exeext'
15308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309   (eval $ac_try) 2>&5
15310   ac_status=$?
15311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312   (exit $ac_status); }; }; then
15313   ac_cv_lib_m_sinhl=yes
15314 else
15315   echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15317
15318 ac_cv_lib_m_sinhl=no
15319 fi
15320 rm -f conftest.err conftest.$ac_objext \
15321       conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_check_lib_save_LIBS
15323 fi
15324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15325 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15326 if test $ac_cv_lib_m_sinhl = yes; then
15327
15328 cat >>confdefs.h <<\_ACEOF
15329 #define HAVE_SINHL 1
15330 _ACEOF
15331
15332 fi
15333
15334 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15335 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15336 if test "${ac_cv_lib_m_csinhf+set}" = set; then
15337   echo $ECHO_N "(cached) $ECHO_C" >&6
15338 else
15339   ac_check_lib_save_LIBS=$LIBS
15340 LIBS="-lm  $LIBS"
15341 if test x$gcc_no_link = xyes; then
15342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15344    { (exit 1); exit 1; }; }
15345 fi
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h.  */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h.  */
15352
15353 /* Override any gcc2 internal prototype to avoid an error.  */
15354 #ifdef __cplusplus
15355 extern "C"
15356 #endif
15357 /* We use char because int might match the return type of a gcc2
15358    builtin and then its argument prototype would still apply.  */
15359 char csinhf ();
15360 int
15361 main ()
15362 {
15363 csinhf ();
15364   ;
15365   return 0;
15366 }
15367 _ACEOF
15368 rm -f conftest.$ac_objext conftest$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370   (eval $ac_link) 2>conftest.er1
15371   ac_status=$?
15372   grep -v '^ *+' conftest.er1 >conftest.err
15373   rm -f conftest.er1
15374   cat conftest.err >&5
15375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376   (exit $ac_status); } &&
15377          { ac_try='test -z "$ac_c_werror_flag"
15378                          || test ! -s conftest.err'
15379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380   (eval $ac_try) 2>&5
15381   ac_status=$?
15382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383   (exit $ac_status); }; } &&
15384          { ac_try='test -s conftest$ac_exeext'
15385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386   (eval $ac_try) 2>&5
15387   ac_status=$?
15388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389   (exit $ac_status); }; }; then
15390   ac_cv_lib_m_csinhf=yes
15391 else
15392   echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15394
15395 ac_cv_lib_m_csinhf=no
15396 fi
15397 rm -f conftest.err conftest.$ac_objext \
15398       conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_lib_save_LIBS
15400 fi
15401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15402 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15403 if test $ac_cv_lib_m_csinhf = yes; then
15404
15405 cat >>confdefs.h <<\_ACEOF
15406 #define HAVE_CSINHF 1
15407 _ACEOF
15408
15409 fi
15410
15411 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15412 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15413 if test "${ac_cv_lib_m_csinh+set}" = set; then
15414   echo $ECHO_N "(cached) $ECHO_C" >&6
15415 else
15416   ac_check_lib_save_LIBS=$LIBS
15417 LIBS="-lm  $LIBS"
15418 if test x$gcc_no_link = xyes; then
15419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15421    { (exit 1); exit 1; }; }
15422 fi
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h.  */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h.  */
15429
15430 /* Override any gcc2 internal prototype to avoid an error.  */
15431 #ifdef __cplusplus
15432 extern "C"
15433 #endif
15434 /* We use char because int might match the return type of a gcc2
15435    builtin and then its argument prototype would still apply.  */
15436 char csinh ();
15437 int
15438 main ()
15439 {
15440 csinh ();
15441   ;
15442   return 0;
15443 }
15444 _ACEOF
15445 rm -f conftest.$ac_objext conftest$ac_exeext
15446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15447   (eval $ac_link) 2>conftest.er1
15448   ac_status=$?
15449   grep -v '^ *+' conftest.er1 >conftest.err
15450   rm -f conftest.er1
15451   cat conftest.err >&5
15452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453   (exit $ac_status); } &&
15454          { ac_try='test -z "$ac_c_werror_flag"
15455                          || test ! -s conftest.err'
15456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457   (eval $ac_try) 2>&5
15458   ac_status=$?
15459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460   (exit $ac_status); }; } &&
15461          { ac_try='test -s conftest$ac_exeext'
15462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463   (eval $ac_try) 2>&5
15464   ac_status=$?
15465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466   (exit $ac_status); }; }; then
15467   ac_cv_lib_m_csinh=yes
15468 else
15469   echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15471
15472 ac_cv_lib_m_csinh=no
15473 fi
15474 rm -f conftest.err conftest.$ac_objext \
15475       conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_check_lib_save_LIBS
15477 fi
15478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15479 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15480 if test $ac_cv_lib_m_csinh = yes; then
15481
15482 cat >>confdefs.h <<\_ACEOF
15483 #define HAVE_CSINH 1
15484 _ACEOF
15485
15486 fi
15487
15488 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15489 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15490 if test "${ac_cv_lib_m_csinhl+set}" = set; then
15491   echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493   ac_check_lib_save_LIBS=$LIBS
15494 LIBS="-lm  $LIBS"
15495 if test x$gcc_no_link = xyes; then
15496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15498    { (exit 1); exit 1; }; }
15499 fi
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h.  */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h.  */
15506
15507 /* Override any gcc2 internal prototype to avoid an error.  */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 /* We use char because int might match the return type of a gcc2
15512    builtin and then its argument prototype would still apply.  */
15513 char csinhl ();
15514 int
15515 main ()
15516 {
15517 csinhl ();
15518   ;
15519   return 0;
15520 }
15521 _ACEOF
15522 rm -f conftest.$ac_objext conftest$ac_exeext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15524   (eval $ac_link) 2>conftest.er1
15525   ac_status=$?
15526   grep -v '^ *+' conftest.er1 >conftest.err
15527   rm -f conftest.er1
15528   cat conftest.err >&5
15529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530   (exit $ac_status); } &&
15531          { ac_try='test -z "$ac_c_werror_flag"
15532                          || test ! -s conftest.err'
15533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534   (eval $ac_try) 2>&5
15535   ac_status=$?
15536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537   (exit $ac_status); }; } &&
15538          { ac_try='test -s conftest$ac_exeext'
15539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540   (eval $ac_try) 2>&5
15541   ac_status=$?
15542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543   (exit $ac_status); }; }; then
15544   ac_cv_lib_m_csinhl=yes
15545 else
15546   echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549 ac_cv_lib_m_csinhl=no
15550 fi
15551 rm -f conftest.err conftest.$ac_objext \
15552       conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_lib_save_LIBS
15554 fi
15555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15556 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15557 if test $ac_cv_lib_m_csinhl = yes; then
15558
15559 cat >>confdefs.h <<\_ACEOF
15560 #define HAVE_CSINHL 1
15561 _ACEOF
15562
15563 fi
15564
15565 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15566 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15567 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15568   echo $ECHO_N "(cached) $ECHO_C" >&6
15569 else
15570   ac_check_lib_save_LIBS=$LIBS
15571 LIBS="-lm  $LIBS"
15572 if test x$gcc_no_link = xyes; then
15573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15575    { (exit 1); exit 1; }; }
15576 fi
15577 cat >conftest.$ac_ext <<_ACEOF
15578 /* confdefs.h.  */
15579 _ACEOF
15580 cat confdefs.h >>conftest.$ac_ext
15581 cat >>conftest.$ac_ext <<_ACEOF
15582 /* end confdefs.h.  */
15583
15584 /* Override any gcc2 internal prototype to avoid an error.  */
15585 #ifdef __cplusplus
15586 extern "C"
15587 #endif
15588 /* We use char because int might match the return type of a gcc2
15589    builtin and then its argument prototype would still apply.  */
15590 char sqrtf ();
15591 int
15592 main ()
15593 {
15594 sqrtf ();
15595   ;
15596   return 0;
15597 }
15598 _ACEOF
15599 rm -f conftest.$ac_objext conftest$ac_exeext
15600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15601   (eval $ac_link) 2>conftest.er1
15602   ac_status=$?
15603   grep -v '^ *+' conftest.er1 >conftest.err
15604   rm -f conftest.er1
15605   cat conftest.err >&5
15606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607   (exit $ac_status); } &&
15608          { ac_try='test -z "$ac_c_werror_flag"
15609                          || test ! -s conftest.err'
15610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15611   (eval $ac_try) 2>&5
15612   ac_status=$?
15613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614   (exit $ac_status); }; } &&
15615          { ac_try='test -s conftest$ac_exeext'
15616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15617   (eval $ac_try) 2>&5
15618   ac_status=$?
15619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620   (exit $ac_status); }; }; then
15621   ac_cv_lib_m_sqrtf=yes
15622 else
15623   echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15625
15626 ac_cv_lib_m_sqrtf=no
15627 fi
15628 rm -f conftest.err conftest.$ac_objext \
15629       conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_lib_save_LIBS
15631 fi
15632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15633 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15634 if test $ac_cv_lib_m_sqrtf = yes; then
15635
15636 cat >>confdefs.h <<\_ACEOF
15637 #define HAVE_SQRTF 1
15638 _ACEOF
15639
15640 fi
15641
15642 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15643 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15644 if test "${ac_cv_lib_m_sqrt+set}" = set; then
15645   echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647   ac_check_lib_save_LIBS=$LIBS
15648 LIBS="-lm  $LIBS"
15649 if test x$gcc_no_link = xyes; then
15650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15652    { (exit 1); exit 1; }; }
15653 fi
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h.  */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h.  */
15660
15661 /* Override any gcc2 internal prototype to avoid an error.  */
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 /* We use char because int might match the return type of a gcc2
15666    builtin and then its argument prototype would still apply.  */
15667 char sqrt ();
15668 int
15669 main ()
15670 {
15671 sqrt ();
15672   ;
15673   return 0;
15674 }
15675 _ACEOF
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678   (eval $ac_link) 2>conftest.er1
15679   ac_status=$?
15680   grep -v '^ *+' conftest.er1 >conftest.err
15681   rm -f conftest.er1
15682   cat conftest.err >&5
15683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684   (exit $ac_status); } &&
15685          { ac_try='test -z "$ac_c_werror_flag"
15686                          || test ! -s conftest.err'
15687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688   (eval $ac_try) 2>&5
15689   ac_status=$?
15690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691   (exit $ac_status); }; } &&
15692          { ac_try='test -s conftest$ac_exeext'
15693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694   (eval $ac_try) 2>&5
15695   ac_status=$?
15696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697   (exit $ac_status); }; }; then
15698   ac_cv_lib_m_sqrt=yes
15699 else
15700   echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15702
15703 ac_cv_lib_m_sqrt=no
15704 fi
15705 rm -f conftest.err conftest.$ac_objext \
15706       conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_lib_save_LIBS
15708 fi
15709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15710 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15711 if test $ac_cv_lib_m_sqrt = yes; then
15712
15713 cat >>confdefs.h <<\_ACEOF
15714 #define HAVE_SQRT 1
15715 _ACEOF
15716
15717 fi
15718
15719 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15720 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15721 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15722   echo $ECHO_N "(cached) $ECHO_C" >&6
15723 else
15724   ac_check_lib_save_LIBS=$LIBS
15725 LIBS="-lm  $LIBS"
15726 if test x$gcc_no_link = xyes; then
15727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15729    { (exit 1); exit 1; }; }
15730 fi
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h.  */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h.  */
15737
15738 /* Override any gcc2 internal prototype to avoid an error.  */
15739 #ifdef __cplusplus
15740 extern "C"
15741 #endif
15742 /* We use char because int might match the return type of a gcc2
15743    builtin and then its argument prototype would still apply.  */
15744 char sqrtl ();
15745 int
15746 main ()
15747 {
15748 sqrtl ();
15749   ;
15750   return 0;
15751 }
15752 _ACEOF
15753 rm -f conftest.$ac_objext conftest$ac_exeext
15754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15755   (eval $ac_link) 2>conftest.er1
15756   ac_status=$?
15757   grep -v '^ *+' conftest.er1 >conftest.err
15758   rm -f conftest.er1
15759   cat conftest.err >&5
15760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761   (exit $ac_status); } &&
15762          { ac_try='test -z "$ac_c_werror_flag"
15763                          || test ! -s conftest.err'
15764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765   (eval $ac_try) 2>&5
15766   ac_status=$?
15767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768   (exit $ac_status); }; } &&
15769          { ac_try='test -s conftest$ac_exeext'
15770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771   (eval $ac_try) 2>&5
15772   ac_status=$?
15773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774   (exit $ac_status); }; }; then
15775   ac_cv_lib_m_sqrtl=yes
15776 else
15777   echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15779
15780 ac_cv_lib_m_sqrtl=no
15781 fi
15782 rm -f conftest.err conftest.$ac_objext \
15783       conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_lib_save_LIBS
15785 fi
15786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15787 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15788 if test $ac_cv_lib_m_sqrtl = yes; then
15789
15790 cat >>confdefs.h <<\_ACEOF
15791 #define HAVE_SQRTL 1
15792 _ACEOF
15793
15794 fi
15795
15796 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15797 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15798 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15799   echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801   ac_check_lib_save_LIBS=$LIBS
15802 LIBS="-lm  $LIBS"
15803 if test x$gcc_no_link = xyes; then
15804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15806    { (exit 1); exit 1; }; }
15807 fi
15808 cat >conftest.$ac_ext <<_ACEOF
15809 /* confdefs.h.  */
15810 _ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h.  */
15814
15815 /* Override any gcc2 internal prototype to avoid an error.  */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 /* We use char because int might match the return type of a gcc2
15820    builtin and then its argument prototype would still apply.  */
15821 char csqrtf ();
15822 int
15823 main ()
15824 {
15825 csqrtf ();
15826   ;
15827   return 0;
15828 }
15829 _ACEOF
15830 rm -f conftest.$ac_objext conftest$ac_exeext
15831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15832   (eval $ac_link) 2>conftest.er1
15833   ac_status=$?
15834   grep -v '^ *+' conftest.er1 >conftest.err
15835   rm -f conftest.er1
15836   cat conftest.err >&5
15837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838   (exit $ac_status); } &&
15839          { ac_try='test -z "$ac_c_werror_flag"
15840                          || test ! -s conftest.err'
15841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842   (eval $ac_try) 2>&5
15843   ac_status=$?
15844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845   (exit $ac_status); }; } &&
15846          { ac_try='test -s conftest$ac_exeext'
15847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848   (eval $ac_try) 2>&5
15849   ac_status=$?
15850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851   (exit $ac_status); }; }; then
15852   ac_cv_lib_m_csqrtf=yes
15853 else
15854   echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15856
15857 ac_cv_lib_m_csqrtf=no
15858 fi
15859 rm -f conftest.err conftest.$ac_objext \
15860       conftest$ac_exeext conftest.$ac_ext
15861 LIBS=$ac_check_lib_save_LIBS
15862 fi
15863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
15864 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
15865 if test $ac_cv_lib_m_csqrtf = yes; then
15866
15867 cat >>confdefs.h <<\_ACEOF
15868 #define HAVE_CSQRTF 1
15869 _ACEOF
15870
15871 fi
15872
15873 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
15874 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
15875 if test "${ac_cv_lib_m_csqrt+set}" = set; then
15876   echo $ECHO_N "(cached) $ECHO_C" >&6
15877 else
15878   ac_check_lib_save_LIBS=$LIBS
15879 LIBS="-lm  $LIBS"
15880 if test x$gcc_no_link = xyes; then
15881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15883    { (exit 1); exit 1; }; }
15884 fi
15885 cat >conftest.$ac_ext <<_ACEOF
15886 /* confdefs.h.  */
15887 _ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h.  */
15891
15892 /* Override any gcc2 internal prototype to avoid an error.  */
15893 #ifdef __cplusplus
15894 extern "C"
15895 #endif
15896 /* We use char because int might match the return type of a gcc2
15897    builtin and then its argument prototype would still apply.  */
15898 char csqrt ();
15899 int
15900 main ()
15901 {
15902 csqrt ();
15903   ;
15904   return 0;
15905 }
15906 _ACEOF
15907 rm -f conftest.$ac_objext conftest$ac_exeext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15909   (eval $ac_link) 2>conftest.er1
15910   ac_status=$?
15911   grep -v '^ *+' conftest.er1 >conftest.err
15912   rm -f conftest.er1
15913   cat conftest.err >&5
15914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15915   (exit $ac_status); } &&
15916          { ac_try='test -z "$ac_c_werror_flag"
15917                          || test ! -s conftest.err'
15918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919   (eval $ac_try) 2>&5
15920   ac_status=$?
15921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922   (exit $ac_status); }; } &&
15923          { ac_try='test -s conftest$ac_exeext'
15924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925   (eval $ac_try) 2>&5
15926   ac_status=$?
15927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928   (exit $ac_status); }; }; then
15929   ac_cv_lib_m_csqrt=yes
15930 else
15931   echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15933
15934 ac_cv_lib_m_csqrt=no
15935 fi
15936 rm -f conftest.err conftest.$ac_objext \
15937       conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_lib_save_LIBS
15939 fi
15940 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
15941 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
15942 if test $ac_cv_lib_m_csqrt = yes; then
15943
15944 cat >>confdefs.h <<\_ACEOF
15945 #define HAVE_CSQRT 1
15946 _ACEOF
15947
15948 fi
15949
15950 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
15951 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
15952 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
15953   echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955   ac_check_lib_save_LIBS=$LIBS
15956 LIBS="-lm  $LIBS"
15957 if test x$gcc_no_link = xyes; then
15958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15960    { (exit 1); exit 1; }; }
15961 fi
15962 cat >conftest.$ac_ext <<_ACEOF
15963 /* confdefs.h.  */
15964 _ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h.  */
15968
15969 /* Override any gcc2 internal prototype to avoid an error.  */
15970 #ifdef __cplusplus
15971 extern "C"
15972 #endif
15973 /* We use char because int might match the return type of a gcc2
15974    builtin and then its argument prototype would still apply.  */
15975 char csqrtl ();
15976 int
15977 main ()
15978 {
15979 csqrtl ();
15980   ;
15981   return 0;
15982 }
15983 _ACEOF
15984 rm -f conftest.$ac_objext conftest$ac_exeext
15985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15986   (eval $ac_link) 2>conftest.er1
15987   ac_status=$?
15988   grep -v '^ *+' conftest.er1 >conftest.err
15989   rm -f conftest.er1
15990   cat conftest.err >&5
15991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992   (exit $ac_status); } &&
15993          { ac_try='test -z "$ac_c_werror_flag"
15994                          || test ! -s conftest.err'
15995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996   (eval $ac_try) 2>&5
15997   ac_status=$?
15998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999   (exit $ac_status); }; } &&
16000          { ac_try='test -s conftest$ac_exeext'
16001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002   (eval $ac_try) 2>&5
16003   ac_status=$?
16004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005   (exit $ac_status); }; }; then
16006   ac_cv_lib_m_csqrtl=yes
16007 else
16008   echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.$ac_ext >&5
16010
16011 ac_cv_lib_m_csqrtl=no
16012 fi
16013 rm -f conftest.err conftest.$ac_objext \
16014       conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_lib_save_LIBS
16016 fi
16017 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16018 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16019 if test $ac_cv_lib_m_csqrtl = yes; then
16020
16021 cat >>confdefs.h <<\_ACEOF
16022 #define HAVE_CSQRTL 1
16023 _ACEOF
16024
16025 fi
16026
16027 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16028 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16029 if test "${ac_cv_lib_m_tanf+set}" = set; then
16030   echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032   ac_check_lib_save_LIBS=$LIBS
16033 LIBS="-lm  $LIBS"
16034 if test x$gcc_no_link = xyes; then
16035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16037    { (exit 1); exit 1; }; }
16038 fi
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h.  */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h.  */
16045
16046 /* Override any gcc2 internal prototype to avoid an error.  */
16047 #ifdef __cplusplus
16048 extern "C"
16049 #endif
16050 /* We use char because int might match the return type of a gcc2
16051    builtin and then its argument prototype would still apply.  */
16052 char tanf ();
16053 int
16054 main ()
16055 {
16056 tanf ();
16057   ;
16058   return 0;
16059 }
16060 _ACEOF
16061 rm -f conftest.$ac_objext conftest$ac_exeext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16063   (eval $ac_link) 2>conftest.er1
16064   ac_status=$?
16065   grep -v '^ *+' conftest.er1 >conftest.err
16066   rm -f conftest.er1
16067   cat conftest.err >&5
16068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069   (exit $ac_status); } &&
16070          { ac_try='test -z "$ac_c_werror_flag"
16071                          || test ! -s conftest.err'
16072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073   (eval $ac_try) 2>&5
16074   ac_status=$?
16075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076   (exit $ac_status); }; } &&
16077          { ac_try='test -s conftest$ac_exeext'
16078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079   (eval $ac_try) 2>&5
16080   ac_status=$?
16081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082   (exit $ac_status); }; }; then
16083   ac_cv_lib_m_tanf=yes
16084 else
16085   echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 ac_cv_lib_m_tanf=no
16089 fi
16090 rm -f conftest.err conftest.$ac_objext \
16091       conftest$ac_exeext conftest.$ac_ext
16092 LIBS=$ac_check_lib_save_LIBS
16093 fi
16094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16095 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16096 if test $ac_cv_lib_m_tanf = yes; then
16097
16098 cat >>confdefs.h <<\_ACEOF
16099 #define HAVE_TANF 1
16100 _ACEOF
16101
16102 fi
16103
16104 echo "$as_me:$LINENO: checking for tan in -lm" >&5
16105 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16106 if test "${ac_cv_lib_m_tan+set}" = set; then
16107   echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109   ac_check_lib_save_LIBS=$LIBS
16110 LIBS="-lm  $LIBS"
16111 if test x$gcc_no_link = xyes; then
16112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16114    { (exit 1); exit 1; }; }
16115 fi
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h.  */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h.  */
16122
16123 /* Override any gcc2 internal prototype to avoid an error.  */
16124 #ifdef __cplusplus
16125 extern "C"
16126 #endif
16127 /* We use char because int might match the return type of a gcc2
16128    builtin and then its argument prototype would still apply.  */
16129 char tan ();
16130 int
16131 main ()
16132 {
16133 tan ();
16134   ;
16135   return 0;
16136 }
16137 _ACEOF
16138 rm -f conftest.$ac_objext conftest$ac_exeext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16140   (eval $ac_link) 2>conftest.er1
16141   ac_status=$?
16142   grep -v '^ *+' conftest.er1 >conftest.err
16143   rm -f conftest.er1
16144   cat conftest.err >&5
16145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146   (exit $ac_status); } &&
16147          { ac_try='test -z "$ac_c_werror_flag"
16148                          || test ! -s conftest.err'
16149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150   (eval $ac_try) 2>&5
16151   ac_status=$?
16152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153   (exit $ac_status); }; } &&
16154          { ac_try='test -s conftest$ac_exeext'
16155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156   (eval $ac_try) 2>&5
16157   ac_status=$?
16158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159   (exit $ac_status); }; }; then
16160   ac_cv_lib_m_tan=yes
16161 else
16162   echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16164
16165 ac_cv_lib_m_tan=no
16166 fi
16167 rm -f conftest.err conftest.$ac_objext \
16168       conftest$ac_exeext conftest.$ac_ext
16169 LIBS=$ac_check_lib_save_LIBS
16170 fi
16171 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16172 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16173 if test $ac_cv_lib_m_tan = yes; then
16174
16175 cat >>confdefs.h <<\_ACEOF
16176 #define HAVE_TAN 1
16177 _ACEOF
16178
16179 fi
16180
16181 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16182 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16183 if test "${ac_cv_lib_m_tanl+set}" = set; then
16184   echo $ECHO_N "(cached) $ECHO_C" >&6
16185 else
16186   ac_check_lib_save_LIBS=$LIBS
16187 LIBS="-lm  $LIBS"
16188 if test x$gcc_no_link = xyes; then
16189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16191    { (exit 1); exit 1; }; }
16192 fi
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h.  */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h.  */
16199
16200 /* Override any gcc2 internal prototype to avoid an error.  */
16201 #ifdef __cplusplus
16202 extern "C"
16203 #endif
16204 /* We use char because int might match the return type of a gcc2
16205    builtin and then its argument prototype would still apply.  */
16206 char tanl ();
16207 int
16208 main ()
16209 {
16210 tanl ();
16211   ;
16212   return 0;
16213 }
16214 _ACEOF
16215 rm -f conftest.$ac_objext conftest$ac_exeext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16217   (eval $ac_link) 2>conftest.er1
16218   ac_status=$?
16219   grep -v '^ *+' conftest.er1 >conftest.err
16220   rm -f conftest.er1
16221   cat conftest.err >&5
16222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223   (exit $ac_status); } &&
16224          { ac_try='test -z "$ac_c_werror_flag"
16225                          || test ! -s conftest.err'
16226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227   (eval $ac_try) 2>&5
16228   ac_status=$?
16229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230   (exit $ac_status); }; } &&
16231          { ac_try='test -s conftest$ac_exeext'
16232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233   (eval $ac_try) 2>&5
16234   ac_status=$?
16235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236   (exit $ac_status); }; }; then
16237   ac_cv_lib_m_tanl=yes
16238 else
16239   echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242 ac_cv_lib_m_tanl=no
16243 fi
16244 rm -f conftest.err conftest.$ac_objext \
16245       conftest$ac_exeext conftest.$ac_ext
16246 LIBS=$ac_check_lib_save_LIBS
16247 fi
16248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16249 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16250 if test $ac_cv_lib_m_tanl = yes; then
16251
16252 cat >>confdefs.h <<\_ACEOF
16253 #define HAVE_TANL 1
16254 _ACEOF
16255
16256 fi
16257
16258 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16259 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16260 if test "${ac_cv_lib_m_ctanf+set}" = set; then
16261   echo $ECHO_N "(cached) $ECHO_C" >&6
16262 else
16263   ac_check_lib_save_LIBS=$LIBS
16264 LIBS="-lm  $LIBS"
16265 if test x$gcc_no_link = xyes; then
16266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16268    { (exit 1); exit 1; }; }
16269 fi
16270 cat >conftest.$ac_ext <<_ACEOF
16271 /* confdefs.h.  */
16272 _ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h.  */
16276
16277 /* Override any gcc2 internal prototype to avoid an error.  */
16278 #ifdef __cplusplus
16279 extern "C"
16280 #endif
16281 /* We use char because int might match the return type of a gcc2
16282    builtin and then its argument prototype would still apply.  */
16283 char ctanf ();
16284 int
16285 main ()
16286 {
16287 ctanf ();
16288   ;
16289   return 0;
16290 }
16291 _ACEOF
16292 rm -f conftest.$ac_objext conftest$ac_exeext
16293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16294   (eval $ac_link) 2>conftest.er1
16295   ac_status=$?
16296   grep -v '^ *+' conftest.er1 >conftest.err
16297   rm -f conftest.er1
16298   cat conftest.err >&5
16299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300   (exit $ac_status); } &&
16301          { ac_try='test -z "$ac_c_werror_flag"
16302                          || test ! -s conftest.err'
16303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304   (eval $ac_try) 2>&5
16305   ac_status=$?
16306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307   (exit $ac_status); }; } &&
16308          { ac_try='test -s conftest$ac_exeext'
16309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310   (eval $ac_try) 2>&5
16311   ac_status=$?
16312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313   (exit $ac_status); }; }; then
16314   ac_cv_lib_m_ctanf=yes
16315 else
16316   echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16318
16319 ac_cv_lib_m_ctanf=no
16320 fi
16321 rm -f conftest.err conftest.$ac_objext \
16322       conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_lib_save_LIBS
16324 fi
16325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16326 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16327 if test $ac_cv_lib_m_ctanf = yes; then
16328
16329 cat >>confdefs.h <<\_ACEOF
16330 #define HAVE_CTANF 1
16331 _ACEOF
16332
16333 fi
16334
16335 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16336 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16337 if test "${ac_cv_lib_m_ctan+set}" = set; then
16338   echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16340   ac_check_lib_save_LIBS=$LIBS
16341 LIBS="-lm  $LIBS"
16342 if test x$gcc_no_link = xyes; then
16343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16345    { (exit 1); exit 1; }; }
16346 fi
16347 cat >conftest.$ac_ext <<_ACEOF
16348 /* confdefs.h.  */
16349 _ACEOF
16350 cat confdefs.h >>conftest.$ac_ext
16351 cat >>conftest.$ac_ext <<_ACEOF
16352 /* end confdefs.h.  */
16353
16354 /* Override any gcc2 internal prototype to avoid an error.  */
16355 #ifdef __cplusplus
16356 extern "C"
16357 #endif
16358 /* We use char because int might match the return type of a gcc2
16359    builtin and then its argument prototype would still apply.  */
16360 char ctan ();
16361 int
16362 main ()
16363 {
16364 ctan ();
16365   ;
16366   return 0;
16367 }
16368 _ACEOF
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16371   (eval $ac_link) 2>conftest.er1
16372   ac_status=$?
16373   grep -v '^ *+' conftest.er1 >conftest.err
16374   rm -f conftest.er1
16375   cat conftest.err >&5
16376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377   (exit $ac_status); } &&
16378          { ac_try='test -z "$ac_c_werror_flag"
16379                          || test ! -s conftest.err'
16380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381   (eval $ac_try) 2>&5
16382   ac_status=$?
16383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384   (exit $ac_status); }; } &&
16385          { ac_try='test -s conftest$ac_exeext'
16386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387   (eval $ac_try) 2>&5
16388   ac_status=$?
16389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390   (exit $ac_status); }; }; then
16391   ac_cv_lib_m_ctan=yes
16392 else
16393   echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.$ac_ext >&5
16395
16396 ac_cv_lib_m_ctan=no
16397 fi
16398 rm -f conftest.err conftest.$ac_objext \
16399       conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_lib_save_LIBS
16401 fi
16402 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16403 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16404 if test $ac_cv_lib_m_ctan = yes; then
16405
16406 cat >>confdefs.h <<\_ACEOF
16407 #define HAVE_CTAN 1
16408 _ACEOF
16409
16410 fi
16411
16412 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16413 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16414 if test "${ac_cv_lib_m_ctanl+set}" = set; then
16415   echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417   ac_check_lib_save_LIBS=$LIBS
16418 LIBS="-lm  $LIBS"
16419 if test x$gcc_no_link = xyes; then
16420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16422    { (exit 1); exit 1; }; }
16423 fi
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h.  */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h.  */
16430
16431 /* Override any gcc2 internal prototype to avoid an error.  */
16432 #ifdef __cplusplus
16433 extern "C"
16434 #endif
16435 /* We use char because int might match the return type of a gcc2
16436    builtin and then its argument prototype would still apply.  */
16437 char ctanl ();
16438 int
16439 main ()
16440 {
16441 ctanl ();
16442   ;
16443   return 0;
16444 }
16445 _ACEOF
16446 rm -f conftest.$ac_objext conftest$ac_exeext
16447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16448   (eval $ac_link) 2>conftest.er1
16449   ac_status=$?
16450   grep -v '^ *+' conftest.er1 >conftest.err
16451   rm -f conftest.er1
16452   cat conftest.err >&5
16453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454   (exit $ac_status); } &&
16455          { ac_try='test -z "$ac_c_werror_flag"
16456                          || test ! -s conftest.err'
16457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16458   (eval $ac_try) 2>&5
16459   ac_status=$?
16460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461   (exit $ac_status); }; } &&
16462          { ac_try='test -s conftest$ac_exeext'
16463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464   (eval $ac_try) 2>&5
16465   ac_status=$?
16466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467   (exit $ac_status); }; }; then
16468   ac_cv_lib_m_ctanl=yes
16469 else
16470   echo "$as_me: failed program was:" >&5
16471 sed 's/^/| /' conftest.$ac_ext >&5
16472
16473 ac_cv_lib_m_ctanl=no
16474 fi
16475 rm -f conftest.err conftest.$ac_objext \
16476       conftest$ac_exeext conftest.$ac_ext
16477 LIBS=$ac_check_lib_save_LIBS
16478 fi
16479 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16480 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16481 if test $ac_cv_lib_m_ctanl = yes; then
16482
16483 cat >>confdefs.h <<\_ACEOF
16484 #define HAVE_CTANL 1
16485 _ACEOF
16486
16487 fi
16488
16489 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16490 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16491 if test "${ac_cv_lib_m_tanhf+set}" = set; then
16492   echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16494   ac_check_lib_save_LIBS=$LIBS
16495 LIBS="-lm  $LIBS"
16496 if test x$gcc_no_link = xyes; then
16497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16499    { (exit 1); exit 1; }; }
16500 fi
16501 cat >conftest.$ac_ext <<_ACEOF
16502 /* confdefs.h.  */
16503 _ACEOF
16504 cat confdefs.h >>conftest.$ac_ext
16505 cat >>conftest.$ac_ext <<_ACEOF
16506 /* end confdefs.h.  */
16507
16508 /* Override any gcc2 internal prototype to avoid an error.  */
16509 #ifdef __cplusplus
16510 extern "C"
16511 #endif
16512 /* We use char because int might match the return type of a gcc2
16513    builtin and then its argument prototype would still apply.  */
16514 char tanhf ();
16515 int
16516 main ()
16517 {
16518 tanhf ();
16519   ;
16520   return 0;
16521 }
16522 _ACEOF
16523 rm -f conftest.$ac_objext conftest$ac_exeext
16524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16525   (eval $ac_link) 2>conftest.er1
16526   ac_status=$?
16527   grep -v '^ *+' conftest.er1 >conftest.err
16528   rm -f conftest.er1
16529   cat conftest.err >&5
16530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531   (exit $ac_status); } &&
16532          { ac_try='test -z "$ac_c_werror_flag"
16533                          || test ! -s conftest.err'
16534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16535   (eval $ac_try) 2>&5
16536   ac_status=$?
16537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538   (exit $ac_status); }; } &&
16539          { ac_try='test -s conftest$ac_exeext'
16540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541   (eval $ac_try) 2>&5
16542   ac_status=$?
16543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544   (exit $ac_status); }; }; then
16545   ac_cv_lib_m_tanhf=yes
16546 else
16547   echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.$ac_ext >&5
16549
16550 ac_cv_lib_m_tanhf=no
16551 fi
16552 rm -f conftest.err conftest.$ac_objext \
16553       conftest$ac_exeext conftest.$ac_ext
16554 LIBS=$ac_check_lib_save_LIBS
16555 fi
16556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16557 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16558 if test $ac_cv_lib_m_tanhf = yes; then
16559
16560 cat >>confdefs.h <<\_ACEOF
16561 #define HAVE_TANHF 1
16562 _ACEOF
16563
16564 fi
16565
16566 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16567 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16568 if test "${ac_cv_lib_m_tanh+set}" = set; then
16569   echo $ECHO_N "(cached) $ECHO_C" >&6
16570 else
16571   ac_check_lib_save_LIBS=$LIBS
16572 LIBS="-lm  $LIBS"
16573 if test x$gcc_no_link = xyes; then
16574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16576    { (exit 1); exit 1; }; }
16577 fi
16578 cat >conftest.$ac_ext <<_ACEOF
16579 /* confdefs.h.  */
16580 _ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h.  */
16584
16585 /* Override any gcc2 internal prototype to avoid an error.  */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 /* We use char because int might match the return type of a gcc2
16590    builtin and then its argument prototype would still apply.  */
16591 char tanh ();
16592 int
16593 main ()
16594 {
16595 tanh ();
16596   ;
16597   return 0;
16598 }
16599 _ACEOF
16600 rm -f conftest.$ac_objext conftest$ac_exeext
16601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16602   (eval $ac_link) 2>conftest.er1
16603   ac_status=$?
16604   grep -v '^ *+' conftest.er1 >conftest.err
16605   rm -f conftest.er1
16606   cat conftest.err >&5
16607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608   (exit $ac_status); } &&
16609          { ac_try='test -z "$ac_c_werror_flag"
16610                          || test ! -s conftest.err'
16611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612   (eval $ac_try) 2>&5
16613   ac_status=$?
16614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615   (exit $ac_status); }; } &&
16616          { ac_try='test -s conftest$ac_exeext'
16617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618   (eval $ac_try) 2>&5
16619   ac_status=$?
16620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621   (exit $ac_status); }; }; then
16622   ac_cv_lib_m_tanh=yes
16623 else
16624   echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.$ac_ext >&5
16626
16627 ac_cv_lib_m_tanh=no
16628 fi
16629 rm -f conftest.err conftest.$ac_objext \
16630       conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_check_lib_save_LIBS
16632 fi
16633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
16634 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16635 if test $ac_cv_lib_m_tanh = yes; then
16636
16637 cat >>confdefs.h <<\_ACEOF
16638 #define HAVE_TANH 1
16639 _ACEOF
16640
16641 fi
16642
16643 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16644 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16645 if test "${ac_cv_lib_m_tanhl+set}" = set; then
16646   echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648   ac_check_lib_save_LIBS=$LIBS
16649 LIBS="-lm  $LIBS"
16650 if test x$gcc_no_link = xyes; then
16651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16653    { (exit 1); exit 1; }; }
16654 fi
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h.  */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h.  */
16661
16662 /* Override any gcc2 internal prototype to avoid an error.  */
16663 #ifdef __cplusplus
16664 extern "C"
16665 #endif
16666 /* We use char because int might match the return type of a gcc2
16667    builtin and then its argument prototype would still apply.  */
16668 char tanhl ();
16669 int
16670 main ()
16671 {
16672 tanhl ();
16673   ;
16674   return 0;
16675 }
16676 _ACEOF
16677 rm -f conftest.$ac_objext conftest$ac_exeext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16679   (eval $ac_link) 2>conftest.er1
16680   ac_status=$?
16681   grep -v '^ *+' conftest.er1 >conftest.err
16682   rm -f conftest.er1
16683   cat conftest.err >&5
16684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685   (exit $ac_status); } &&
16686          { ac_try='test -z "$ac_c_werror_flag"
16687                          || test ! -s conftest.err'
16688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689   (eval $ac_try) 2>&5
16690   ac_status=$?
16691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692   (exit $ac_status); }; } &&
16693          { ac_try='test -s conftest$ac_exeext'
16694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695   (eval $ac_try) 2>&5
16696   ac_status=$?
16697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698   (exit $ac_status); }; }; then
16699   ac_cv_lib_m_tanhl=yes
16700 else
16701   echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.$ac_ext >&5
16703
16704 ac_cv_lib_m_tanhl=no
16705 fi
16706 rm -f conftest.err conftest.$ac_objext \
16707       conftest$ac_exeext conftest.$ac_ext
16708 LIBS=$ac_check_lib_save_LIBS
16709 fi
16710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16711 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16712 if test $ac_cv_lib_m_tanhl = yes; then
16713
16714 cat >>confdefs.h <<\_ACEOF
16715 #define HAVE_TANHL 1
16716 _ACEOF
16717
16718 fi
16719
16720 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16721 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16722 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16723   echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16725   ac_check_lib_save_LIBS=$LIBS
16726 LIBS="-lm  $LIBS"
16727 if test x$gcc_no_link = xyes; then
16728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16730    { (exit 1); exit 1; }; }
16731 fi
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h.  */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h.  */
16738
16739 /* Override any gcc2 internal prototype to avoid an error.  */
16740 #ifdef __cplusplus
16741 extern "C"
16742 #endif
16743 /* We use char because int might match the return type of a gcc2
16744    builtin and then its argument prototype would still apply.  */
16745 char ctanhf ();
16746 int
16747 main ()
16748 {
16749 ctanhf ();
16750   ;
16751   return 0;
16752 }
16753 _ACEOF
16754 rm -f conftest.$ac_objext conftest$ac_exeext
16755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16756   (eval $ac_link) 2>conftest.er1
16757   ac_status=$?
16758   grep -v '^ *+' conftest.er1 >conftest.err
16759   rm -f conftest.er1
16760   cat conftest.err >&5
16761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762   (exit $ac_status); } &&
16763          { ac_try='test -z "$ac_c_werror_flag"
16764                          || test ! -s conftest.err'
16765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766   (eval $ac_try) 2>&5
16767   ac_status=$?
16768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769   (exit $ac_status); }; } &&
16770          { ac_try='test -s conftest$ac_exeext'
16771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772   (eval $ac_try) 2>&5
16773   ac_status=$?
16774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775   (exit $ac_status); }; }; then
16776   ac_cv_lib_m_ctanhf=yes
16777 else
16778   echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16780
16781 ac_cv_lib_m_ctanhf=no
16782 fi
16783 rm -f conftest.err conftest.$ac_objext \
16784       conftest$ac_exeext conftest.$ac_ext
16785 LIBS=$ac_check_lib_save_LIBS
16786 fi
16787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16788 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16789 if test $ac_cv_lib_m_ctanhf = yes; then
16790
16791 cat >>confdefs.h <<\_ACEOF
16792 #define HAVE_CTANHF 1
16793 _ACEOF
16794
16795 fi
16796
16797 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16798 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16799 if test "${ac_cv_lib_m_ctanh+set}" = set; then
16800   echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802   ac_check_lib_save_LIBS=$LIBS
16803 LIBS="-lm  $LIBS"
16804 if test x$gcc_no_link = xyes; then
16805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16807    { (exit 1); exit 1; }; }
16808 fi
16809 cat >conftest.$ac_ext <<_ACEOF
16810 /* confdefs.h.  */
16811 _ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h.  */
16815
16816 /* Override any gcc2 internal prototype to avoid an error.  */
16817 #ifdef __cplusplus
16818 extern "C"
16819 #endif
16820 /* We use char because int might match the return type of a gcc2
16821    builtin and then its argument prototype would still apply.  */
16822 char ctanh ();
16823 int
16824 main ()
16825 {
16826 ctanh ();
16827   ;
16828   return 0;
16829 }
16830 _ACEOF
16831 rm -f conftest.$ac_objext conftest$ac_exeext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16833   (eval $ac_link) 2>conftest.er1
16834   ac_status=$?
16835   grep -v '^ *+' conftest.er1 >conftest.err
16836   rm -f conftest.er1
16837   cat conftest.err >&5
16838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839   (exit $ac_status); } &&
16840          { ac_try='test -z "$ac_c_werror_flag"
16841                          || test ! -s conftest.err'
16842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843   (eval $ac_try) 2>&5
16844   ac_status=$?
16845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846   (exit $ac_status); }; } &&
16847          { ac_try='test -s conftest$ac_exeext'
16848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849   (eval $ac_try) 2>&5
16850   ac_status=$?
16851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852   (exit $ac_status); }; }; then
16853   ac_cv_lib_m_ctanh=yes
16854 else
16855   echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 ac_cv_lib_m_ctanh=no
16859 fi
16860 rm -f conftest.err conftest.$ac_objext \
16861       conftest$ac_exeext conftest.$ac_ext
16862 LIBS=$ac_check_lib_save_LIBS
16863 fi
16864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
16865 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
16866 if test $ac_cv_lib_m_ctanh = yes; then
16867
16868 cat >>confdefs.h <<\_ACEOF
16869 #define HAVE_CTANH 1
16870 _ACEOF
16871
16872 fi
16873
16874 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
16875 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
16876 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
16877   echo $ECHO_N "(cached) $ECHO_C" >&6
16878 else
16879   ac_check_lib_save_LIBS=$LIBS
16880 LIBS="-lm  $LIBS"
16881 if test x$gcc_no_link = xyes; then
16882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16884    { (exit 1); exit 1; }; }
16885 fi
16886 cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h.  */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h.  */
16892
16893 /* Override any gcc2 internal prototype to avoid an error.  */
16894 #ifdef __cplusplus
16895 extern "C"
16896 #endif
16897 /* We use char because int might match the return type of a gcc2
16898    builtin and then its argument prototype would still apply.  */
16899 char ctanhl ();
16900 int
16901 main ()
16902 {
16903 ctanhl ();
16904   ;
16905   return 0;
16906 }
16907 _ACEOF
16908 rm -f conftest.$ac_objext conftest$ac_exeext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16910   (eval $ac_link) 2>conftest.er1
16911   ac_status=$?
16912   grep -v '^ *+' conftest.er1 >conftest.err
16913   rm -f conftest.er1
16914   cat conftest.err >&5
16915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916   (exit $ac_status); } &&
16917          { ac_try='test -z "$ac_c_werror_flag"
16918                          || test ! -s conftest.err'
16919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920   (eval $ac_try) 2>&5
16921   ac_status=$?
16922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923   (exit $ac_status); }; } &&
16924          { ac_try='test -s conftest$ac_exeext'
16925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926   (eval $ac_try) 2>&5
16927   ac_status=$?
16928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929   (exit $ac_status); }; }; then
16930   ac_cv_lib_m_ctanhl=yes
16931 else
16932   echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16934
16935 ac_cv_lib_m_ctanhl=no
16936 fi
16937 rm -f conftest.err conftest.$ac_objext \
16938       conftest$ac_exeext conftest.$ac_ext
16939 LIBS=$ac_check_lib_save_LIBS
16940 fi
16941 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
16942 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
16943 if test $ac_cv_lib_m_ctanhl = yes; then
16944
16945 cat >>confdefs.h <<\_ACEOF
16946 #define HAVE_CTANHL 1
16947 _ACEOF
16948
16949 fi
16950
16951 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
16952 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
16953 if test "${ac_cv_lib_m_truncf+set}" = set; then
16954   echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956   ac_check_lib_save_LIBS=$LIBS
16957 LIBS="-lm  $LIBS"
16958 if test x$gcc_no_link = xyes; then
16959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16961    { (exit 1); exit 1; }; }
16962 fi
16963 cat >conftest.$ac_ext <<_ACEOF
16964 /* confdefs.h.  */
16965 _ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h.  */
16969
16970 /* Override any gcc2 internal prototype to avoid an error.  */
16971 #ifdef __cplusplus
16972 extern "C"
16973 #endif
16974 /* We use char because int might match the return type of a gcc2
16975    builtin and then its argument prototype would still apply.  */
16976 char truncf ();
16977 int
16978 main ()
16979 {
16980 truncf ();
16981   ;
16982   return 0;
16983 }
16984 _ACEOF
16985 rm -f conftest.$ac_objext conftest$ac_exeext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987   (eval $ac_link) 2>conftest.er1
16988   ac_status=$?
16989   grep -v '^ *+' conftest.er1 >conftest.err
16990   rm -f conftest.er1
16991   cat conftest.err >&5
16992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993   (exit $ac_status); } &&
16994          { ac_try='test -z "$ac_c_werror_flag"
16995                          || test ! -s conftest.err'
16996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997   (eval $ac_try) 2>&5
16998   ac_status=$?
16999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000   (exit $ac_status); }; } &&
17001          { ac_try='test -s conftest$ac_exeext'
17002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003   (eval $ac_try) 2>&5
17004   ac_status=$?
17005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006   (exit $ac_status); }; }; then
17007   ac_cv_lib_m_truncf=yes
17008 else
17009   echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17011
17012 ac_cv_lib_m_truncf=no
17013 fi
17014 rm -f conftest.err conftest.$ac_objext \
17015       conftest$ac_exeext conftest.$ac_ext
17016 LIBS=$ac_check_lib_save_LIBS
17017 fi
17018 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17019 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17020 if test $ac_cv_lib_m_truncf = yes; then
17021
17022 cat >>confdefs.h <<\_ACEOF
17023 #define HAVE_TRUNCF 1
17024 _ACEOF
17025
17026 fi
17027
17028 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17029 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17030 if test "${ac_cv_lib_m_trunc+set}" = set; then
17031   echo $ECHO_N "(cached) $ECHO_C" >&6
17032 else
17033   ac_check_lib_save_LIBS=$LIBS
17034 LIBS="-lm  $LIBS"
17035 if test x$gcc_no_link = xyes; then
17036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17038    { (exit 1); exit 1; }; }
17039 fi
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h.  */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h.  */
17046
17047 /* Override any gcc2 internal prototype to avoid an error.  */
17048 #ifdef __cplusplus
17049 extern "C"
17050 #endif
17051 /* We use char because int might match the return type of a gcc2
17052    builtin and then its argument prototype would still apply.  */
17053 char trunc ();
17054 int
17055 main ()
17056 {
17057 trunc ();
17058   ;
17059   return 0;
17060 }
17061 _ACEOF
17062 rm -f conftest.$ac_objext conftest$ac_exeext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17064   (eval $ac_link) 2>conftest.er1
17065   ac_status=$?
17066   grep -v '^ *+' conftest.er1 >conftest.err
17067   rm -f conftest.er1
17068   cat conftest.err >&5
17069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070   (exit $ac_status); } &&
17071          { ac_try='test -z "$ac_c_werror_flag"
17072                          || test ! -s conftest.err'
17073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074   (eval $ac_try) 2>&5
17075   ac_status=$?
17076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077   (exit $ac_status); }; } &&
17078          { ac_try='test -s conftest$ac_exeext'
17079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080   (eval $ac_try) 2>&5
17081   ac_status=$?
17082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083   (exit $ac_status); }; }; then
17084   ac_cv_lib_m_trunc=yes
17085 else
17086   echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17088
17089 ac_cv_lib_m_trunc=no
17090 fi
17091 rm -f conftest.err conftest.$ac_objext \
17092       conftest$ac_exeext conftest.$ac_ext
17093 LIBS=$ac_check_lib_save_LIBS
17094 fi
17095 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17096 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17097 if test $ac_cv_lib_m_trunc = yes; then
17098
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_TRUNC 1
17101 _ACEOF
17102
17103 fi
17104
17105 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17106 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17107 if test "${ac_cv_lib_m_truncl+set}" = set; then
17108   echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110   ac_check_lib_save_LIBS=$LIBS
17111 LIBS="-lm  $LIBS"
17112 if test x$gcc_no_link = xyes; then
17113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17115    { (exit 1); exit 1; }; }
17116 fi
17117 cat >conftest.$ac_ext <<_ACEOF
17118 /* confdefs.h.  */
17119 _ACEOF
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h.  */
17123
17124 /* Override any gcc2 internal prototype to avoid an error.  */
17125 #ifdef __cplusplus
17126 extern "C"
17127 #endif
17128 /* We use char because int might match the return type of a gcc2
17129    builtin and then its argument prototype would still apply.  */
17130 char truncl ();
17131 int
17132 main ()
17133 {
17134 truncl ();
17135   ;
17136   return 0;
17137 }
17138 _ACEOF
17139 rm -f conftest.$ac_objext conftest$ac_exeext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17141   (eval $ac_link) 2>conftest.er1
17142   ac_status=$?
17143   grep -v '^ *+' conftest.er1 >conftest.err
17144   rm -f conftest.er1
17145   cat conftest.err >&5
17146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147   (exit $ac_status); } &&
17148          { ac_try='test -z "$ac_c_werror_flag"
17149                          || test ! -s conftest.err'
17150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151   (eval $ac_try) 2>&5
17152   ac_status=$?
17153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154   (exit $ac_status); }; } &&
17155          { ac_try='test -s conftest$ac_exeext'
17156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157   (eval $ac_try) 2>&5
17158   ac_status=$?
17159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160   (exit $ac_status); }; }; then
17161   ac_cv_lib_m_truncl=yes
17162 else
17163   echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17165
17166 ac_cv_lib_m_truncl=no
17167 fi
17168 rm -f conftest.err conftest.$ac_objext \
17169       conftest$ac_exeext conftest.$ac_ext
17170 LIBS=$ac_check_lib_save_LIBS
17171 fi
17172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17173 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17174 if test $ac_cv_lib_m_truncl = yes; then
17175
17176 cat >>confdefs.h <<\_ACEOF
17177 #define HAVE_TRUNCL 1
17178 _ACEOF
17179
17180 fi
17181
17182 echo "$as_me:$LINENO: checking for erff in -lm" >&5
17183 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17184 if test "${ac_cv_lib_m_erff+set}" = set; then
17185   echo $ECHO_N "(cached) $ECHO_C" >&6
17186 else
17187   ac_check_lib_save_LIBS=$LIBS
17188 LIBS="-lm  $LIBS"
17189 if test x$gcc_no_link = xyes; then
17190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17192    { (exit 1); exit 1; }; }
17193 fi
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h.  */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h.  */
17200
17201 /* Override any gcc2 internal prototype to avoid an error.  */
17202 #ifdef __cplusplus
17203 extern "C"
17204 #endif
17205 /* We use char because int might match the return type of a gcc2
17206    builtin and then its argument prototype would still apply.  */
17207 char erff ();
17208 int
17209 main ()
17210 {
17211 erff ();
17212   ;
17213   return 0;
17214 }
17215 _ACEOF
17216 rm -f conftest.$ac_objext conftest$ac_exeext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17218   (eval $ac_link) 2>conftest.er1
17219   ac_status=$?
17220   grep -v '^ *+' conftest.er1 >conftest.err
17221   rm -f conftest.er1
17222   cat conftest.err >&5
17223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224   (exit $ac_status); } &&
17225          { ac_try='test -z "$ac_c_werror_flag"
17226                          || test ! -s conftest.err'
17227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228   (eval $ac_try) 2>&5
17229   ac_status=$?
17230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231   (exit $ac_status); }; } &&
17232          { ac_try='test -s conftest$ac_exeext'
17233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234   (eval $ac_try) 2>&5
17235   ac_status=$?
17236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237   (exit $ac_status); }; }; then
17238   ac_cv_lib_m_erff=yes
17239 else
17240   echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17242
17243 ac_cv_lib_m_erff=no
17244 fi
17245 rm -f conftest.err conftest.$ac_objext \
17246       conftest$ac_exeext conftest.$ac_ext
17247 LIBS=$ac_check_lib_save_LIBS
17248 fi
17249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17250 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17251 if test $ac_cv_lib_m_erff = yes; then
17252
17253 cat >>confdefs.h <<\_ACEOF
17254 #define HAVE_ERFF 1
17255 _ACEOF
17256
17257 fi
17258
17259 echo "$as_me:$LINENO: checking for erf in -lm" >&5
17260 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17261 if test "${ac_cv_lib_m_erf+set}" = set; then
17262   echo $ECHO_N "(cached) $ECHO_C" >&6
17263 else
17264   ac_check_lib_save_LIBS=$LIBS
17265 LIBS="-lm  $LIBS"
17266 if test x$gcc_no_link = xyes; then
17267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17269    { (exit 1); exit 1; }; }
17270 fi
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h.  */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h.  */
17277
17278 /* Override any gcc2 internal prototype to avoid an error.  */
17279 #ifdef __cplusplus
17280 extern "C"
17281 #endif
17282 /* We use char because int might match the return type of a gcc2
17283    builtin and then its argument prototype would still apply.  */
17284 char erf ();
17285 int
17286 main ()
17287 {
17288 erf ();
17289   ;
17290   return 0;
17291 }
17292 _ACEOF
17293 rm -f conftest.$ac_objext conftest$ac_exeext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17295   (eval $ac_link) 2>conftest.er1
17296   ac_status=$?
17297   grep -v '^ *+' conftest.er1 >conftest.err
17298   rm -f conftest.er1
17299   cat conftest.err >&5
17300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301   (exit $ac_status); } &&
17302          { ac_try='test -z "$ac_c_werror_flag"
17303                          || test ! -s conftest.err'
17304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305   (eval $ac_try) 2>&5
17306   ac_status=$?
17307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308   (exit $ac_status); }; } &&
17309          { ac_try='test -s conftest$ac_exeext'
17310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311   (eval $ac_try) 2>&5
17312   ac_status=$?
17313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314   (exit $ac_status); }; }; then
17315   ac_cv_lib_m_erf=yes
17316 else
17317   echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17319
17320 ac_cv_lib_m_erf=no
17321 fi
17322 rm -f conftest.err conftest.$ac_objext \
17323       conftest$ac_exeext conftest.$ac_ext
17324 LIBS=$ac_check_lib_save_LIBS
17325 fi
17326 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17327 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17328 if test $ac_cv_lib_m_erf = yes; then
17329
17330 cat >>confdefs.h <<\_ACEOF
17331 #define HAVE_ERF 1
17332 _ACEOF
17333
17334 fi
17335
17336 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17337 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17338 if test "${ac_cv_lib_m_erfl+set}" = set; then
17339   echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17341   ac_check_lib_save_LIBS=$LIBS
17342 LIBS="-lm  $LIBS"
17343 if test x$gcc_no_link = xyes; then
17344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17346    { (exit 1); exit 1; }; }
17347 fi
17348 cat >conftest.$ac_ext <<_ACEOF
17349 /* confdefs.h.  */
17350 _ACEOF
17351 cat confdefs.h >>conftest.$ac_ext
17352 cat >>conftest.$ac_ext <<_ACEOF
17353 /* end confdefs.h.  */
17354
17355 /* Override any gcc2 internal prototype to avoid an error.  */
17356 #ifdef __cplusplus
17357 extern "C"
17358 #endif
17359 /* We use char because int might match the return type of a gcc2
17360    builtin and then its argument prototype would still apply.  */
17361 char erfl ();
17362 int
17363 main ()
17364 {
17365 erfl ();
17366   ;
17367   return 0;
17368 }
17369 _ACEOF
17370 rm -f conftest.$ac_objext conftest$ac_exeext
17371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17372   (eval $ac_link) 2>conftest.er1
17373   ac_status=$?
17374   grep -v '^ *+' conftest.er1 >conftest.err
17375   rm -f conftest.er1
17376   cat conftest.err >&5
17377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378   (exit $ac_status); } &&
17379          { ac_try='test -z "$ac_c_werror_flag"
17380                          || test ! -s conftest.err'
17381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382   (eval $ac_try) 2>&5
17383   ac_status=$?
17384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385   (exit $ac_status); }; } &&
17386          { ac_try='test -s conftest$ac_exeext'
17387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388   (eval $ac_try) 2>&5
17389   ac_status=$?
17390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391   (exit $ac_status); }; }; then
17392   ac_cv_lib_m_erfl=yes
17393 else
17394   echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17396
17397 ac_cv_lib_m_erfl=no
17398 fi
17399 rm -f conftest.err conftest.$ac_objext \
17400       conftest$ac_exeext conftest.$ac_ext
17401 LIBS=$ac_check_lib_save_LIBS
17402 fi
17403 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17404 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17405 if test $ac_cv_lib_m_erfl = yes; then
17406
17407 cat >>confdefs.h <<\_ACEOF
17408 #define HAVE_ERFL 1
17409 _ACEOF
17410
17411 fi
17412
17413 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17414 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17415 if test "${ac_cv_lib_m_erfcf+set}" = set; then
17416   echo $ECHO_N "(cached) $ECHO_C" >&6
17417 else
17418   ac_check_lib_save_LIBS=$LIBS
17419 LIBS="-lm  $LIBS"
17420 if test x$gcc_no_link = xyes; then
17421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17423    { (exit 1); exit 1; }; }
17424 fi
17425 cat >conftest.$ac_ext <<_ACEOF
17426 /* confdefs.h.  */
17427 _ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h.  */
17431
17432 /* Override any gcc2 internal prototype to avoid an error.  */
17433 #ifdef __cplusplus
17434 extern "C"
17435 #endif
17436 /* We use char because int might match the return type of a gcc2
17437    builtin and then its argument prototype would still apply.  */
17438 char erfcf ();
17439 int
17440 main ()
17441 {
17442 erfcf ();
17443   ;
17444   return 0;
17445 }
17446 _ACEOF
17447 rm -f conftest.$ac_objext conftest$ac_exeext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17449   (eval $ac_link) 2>conftest.er1
17450   ac_status=$?
17451   grep -v '^ *+' conftest.er1 >conftest.err
17452   rm -f conftest.er1
17453   cat conftest.err >&5
17454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455   (exit $ac_status); } &&
17456          { ac_try='test -z "$ac_c_werror_flag"
17457                          || test ! -s conftest.err'
17458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459   (eval $ac_try) 2>&5
17460   ac_status=$?
17461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462   (exit $ac_status); }; } &&
17463          { ac_try='test -s conftest$ac_exeext'
17464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465   (eval $ac_try) 2>&5
17466   ac_status=$?
17467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468   (exit $ac_status); }; }; then
17469   ac_cv_lib_m_erfcf=yes
17470 else
17471   echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17473
17474 ac_cv_lib_m_erfcf=no
17475 fi
17476 rm -f conftest.err conftest.$ac_objext \
17477       conftest$ac_exeext conftest.$ac_ext
17478 LIBS=$ac_check_lib_save_LIBS
17479 fi
17480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17481 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17482 if test $ac_cv_lib_m_erfcf = yes; then
17483
17484 cat >>confdefs.h <<\_ACEOF
17485 #define HAVE_ERFCF 1
17486 _ACEOF
17487
17488 fi
17489
17490 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17491 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17492 if test "${ac_cv_lib_m_erfc+set}" = set; then
17493   echo $ECHO_N "(cached) $ECHO_C" >&6
17494 else
17495   ac_check_lib_save_LIBS=$LIBS
17496 LIBS="-lm  $LIBS"
17497 if test x$gcc_no_link = xyes; then
17498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17500    { (exit 1); exit 1; }; }
17501 fi
17502 cat >conftest.$ac_ext <<_ACEOF
17503 /* confdefs.h.  */
17504 _ACEOF
17505 cat confdefs.h >>conftest.$ac_ext
17506 cat >>conftest.$ac_ext <<_ACEOF
17507 /* end confdefs.h.  */
17508
17509 /* Override any gcc2 internal prototype to avoid an error.  */
17510 #ifdef __cplusplus
17511 extern "C"
17512 #endif
17513 /* We use char because int might match the return type of a gcc2
17514    builtin and then its argument prototype would still apply.  */
17515 char erfc ();
17516 int
17517 main ()
17518 {
17519 erfc ();
17520   ;
17521   return 0;
17522 }
17523 _ACEOF
17524 rm -f conftest.$ac_objext conftest$ac_exeext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17526   (eval $ac_link) 2>conftest.er1
17527   ac_status=$?
17528   grep -v '^ *+' conftest.er1 >conftest.err
17529   rm -f conftest.er1
17530   cat conftest.err >&5
17531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532   (exit $ac_status); } &&
17533          { ac_try='test -z "$ac_c_werror_flag"
17534                          || test ! -s conftest.err'
17535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536   (eval $ac_try) 2>&5
17537   ac_status=$?
17538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539   (exit $ac_status); }; } &&
17540          { ac_try='test -s conftest$ac_exeext'
17541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542   (eval $ac_try) 2>&5
17543   ac_status=$?
17544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545   (exit $ac_status); }; }; then
17546   ac_cv_lib_m_erfc=yes
17547 else
17548   echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17550
17551 ac_cv_lib_m_erfc=no
17552 fi
17553 rm -f conftest.err conftest.$ac_objext \
17554       conftest$ac_exeext conftest.$ac_ext
17555 LIBS=$ac_check_lib_save_LIBS
17556 fi
17557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17558 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17559 if test $ac_cv_lib_m_erfc = yes; then
17560
17561 cat >>confdefs.h <<\_ACEOF
17562 #define HAVE_ERFC 1
17563 _ACEOF
17564
17565 fi
17566
17567 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17568 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17569 if test "${ac_cv_lib_m_erfcl+set}" = set; then
17570   echo $ECHO_N "(cached) $ECHO_C" >&6
17571 else
17572   ac_check_lib_save_LIBS=$LIBS
17573 LIBS="-lm  $LIBS"
17574 if test x$gcc_no_link = xyes; then
17575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17577    { (exit 1); exit 1; }; }
17578 fi
17579 cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h.  */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h.  */
17585
17586 /* Override any gcc2 internal prototype to avoid an error.  */
17587 #ifdef __cplusplus
17588 extern "C"
17589 #endif
17590 /* We use char because int might match the return type of a gcc2
17591    builtin and then its argument prototype would still apply.  */
17592 char erfcl ();
17593 int
17594 main ()
17595 {
17596 erfcl ();
17597   ;
17598   return 0;
17599 }
17600 _ACEOF
17601 rm -f conftest.$ac_objext conftest$ac_exeext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17603   (eval $ac_link) 2>conftest.er1
17604   ac_status=$?
17605   grep -v '^ *+' conftest.er1 >conftest.err
17606   rm -f conftest.er1
17607   cat conftest.err >&5
17608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609   (exit $ac_status); } &&
17610          { ac_try='test -z "$ac_c_werror_flag"
17611                          || test ! -s conftest.err'
17612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613   (eval $ac_try) 2>&5
17614   ac_status=$?
17615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616   (exit $ac_status); }; } &&
17617          { ac_try='test -s conftest$ac_exeext'
17618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619   (eval $ac_try) 2>&5
17620   ac_status=$?
17621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622   (exit $ac_status); }; }; then
17623   ac_cv_lib_m_erfcl=yes
17624 else
17625   echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17627
17628 ac_cv_lib_m_erfcl=no
17629 fi
17630 rm -f conftest.err conftest.$ac_objext \
17631       conftest$ac_exeext conftest.$ac_ext
17632 LIBS=$ac_check_lib_save_LIBS
17633 fi
17634 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17635 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17636 if test $ac_cv_lib_m_erfcl = yes; then
17637
17638 cat >>confdefs.h <<\_ACEOF
17639 #define HAVE_ERFCL 1
17640 _ACEOF
17641
17642 fi
17643
17644 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17645 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17646 if test "${ac_cv_lib_m_j0f+set}" = set; then
17647   echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649   ac_check_lib_save_LIBS=$LIBS
17650 LIBS="-lm  $LIBS"
17651 if test x$gcc_no_link = xyes; then
17652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17654    { (exit 1); exit 1; }; }
17655 fi
17656 cat >conftest.$ac_ext <<_ACEOF
17657 /* confdefs.h.  */
17658 _ACEOF
17659 cat confdefs.h >>conftest.$ac_ext
17660 cat >>conftest.$ac_ext <<_ACEOF
17661 /* end confdefs.h.  */
17662
17663 /* Override any gcc2 internal prototype to avoid an error.  */
17664 #ifdef __cplusplus
17665 extern "C"
17666 #endif
17667 /* We use char because int might match the return type of a gcc2
17668    builtin and then its argument prototype would still apply.  */
17669 char j0f ();
17670 int
17671 main ()
17672 {
17673 j0f ();
17674   ;
17675   return 0;
17676 }
17677 _ACEOF
17678 rm -f conftest.$ac_objext conftest$ac_exeext
17679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17680   (eval $ac_link) 2>conftest.er1
17681   ac_status=$?
17682   grep -v '^ *+' conftest.er1 >conftest.err
17683   rm -f conftest.er1
17684   cat conftest.err >&5
17685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686   (exit $ac_status); } &&
17687          { ac_try='test -z "$ac_c_werror_flag"
17688                          || test ! -s conftest.err'
17689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690   (eval $ac_try) 2>&5
17691   ac_status=$?
17692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693   (exit $ac_status); }; } &&
17694          { ac_try='test -s conftest$ac_exeext'
17695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696   (eval $ac_try) 2>&5
17697   ac_status=$?
17698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699   (exit $ac_status); }; }; then
17700   ac_cv_lib_m_j0f=yes
17701 else
17702   echo "$as_me: failed program was:" >&5
17703 sed 's/^/| /' conftest.$ac_ext >&5
17704
17705 ac_cv_lib_m_j0f=no
17706 fi
17707 rm -f conftest.err conftest.$ac_objext \
17708       conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_check_lib_save_LIBS
17710 fi
17711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17712 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17713 if test $ac_cv_lib_m_j0f = yes; then
17714
17715 cat >>confdefs.h <<\_ACEOF
17716 #define HAVE_J0F 1
17717 _ACEOF
17718
17719 fi
17720
17721 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17722 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17723 if test "${ac_cv_lib_m_j0+set}" = set; then
17724   echo $ECHO_N "(cached) $ECHO_C" >&6
17725 else
17726   ac_check_lib_save_LIBS=$LIBS
17727 LIBS="-lm  $LIBS"
17728 if test x$gcc_no_link = xyes; then
17729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17731    { (exit 1); exit 1; }; }
17732 fi
17733 cat >conftest.$ac_ext <<_ACEOF
17734 /* confdefs.h.  */
17735 _ACEOF
17736 cat confdefs.h >>conftest.$ac_ext
17737 cat >>conftest.$ac_ext <<_ACEOF
17738 /* end confdefs.h.  */
17739
17740 /* Override any gcc2 internal prototype to avoid an error.  */
17741 #ifdef __cplusplus
17742 extern "C"
17743 #endif
17744 /* We use char because int might match the return type of a gcc2
17745    builtin and then its argument prototype would still apply.  */
17746 char j0 ();
17747 int
17748 main ()
17749 {
17750 j0 ();
17751   ;
17752   return 0;
17753 }
17754 _ACEOF
17755 rm -f conftest.$ac_objext conftest$ac_exeext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17757   (eval $ac_link) 2>conftest.er1
17758   ac_status=$?
17759   grep -v '^ *+' conftest.er1 >conftest.err
17760   rm -f conftest.er1
17761   cat conftest.err >&5
17762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763   (exit $ac_status); } &&
17764          { ac_try='test -z "$ac_c_werror_flag"
17765                          || test ! -s conftest.err'
17766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767   (eval $ac_try) 2>&5
17768   ac_status=$?
17769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770   (exit $ac_status); }; } &&
17771          { ac_try='test -s conftest$ac_exeext'
17772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773   (eval $ac_try) 2>&5
17774   ac_status=$?
17775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776   (exit $ac_status); }; }; then
17777   ac_cv_lib_m_j0=yes
17778 else
17779   echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17781
17782 ac_cv_lib_m_j0=no
17783 fi
17784 rm -f conftest.err conftest.$ac_objext \
17785       conftest$ac_exeext conftest.$ac_ext
17786 LIBS=$ac_check_lib_save_LIBS
17787 fi
17788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17789 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17790 if test $ac_cv_lib_m_j0 = yes; then
17791
17792 cat >>confdefs.h <<\_ACEOF
17793 #define HAVE_J0 1
17794 _ACEOF
17795
17796 fi
17797
17798 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17799 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17800 if test "${ac_cv_lib_m_j0l+set}" = set; then
17801   echo $ECHO_N "(cached) $ECHO_C" >&6
17802 else
17803   ac_check_lib_save_LIBS=$LIBS
17804 LIBS="-lm  $LIBS"
17805 if test x$gcc_no_link = xyes; then
17806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17808    { (exit 1); exit 1; }; }
17809 fi
17810 cat >conftest.$ac_ext <<_ACEOF
17811 /* confdefs.h.  */
17812 _ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h.  */
17816
17817 /* Override any gcc2 internal prototype to avoid an error.  */
17818 #ifdef __cplusplus
17819 extern "C"
17820 #endif
17821 /* We use char because int might match the return type of a gcc2
17822    builtin and then its argument prototype would still apply.  */
17823 char j0l ();
17824 int
17825 main ()
17826 {
17827 j0l ();
17828   ;
17829   return 0;
17830 }
17831 _ACEOF
17832 rm -f conftest.$ac_objext conftest$ac_exeext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17834   (eval $ac_link) 2>conftest.er1
17835   ac_status=$?
17836   grep -v '^ *+' conftest.er1 >conftest.err
17837   rm -f conftest.er1
17838   cat conftest.err >&5
17839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840   (exit $ac_status); } &&
17841          { ac_try='test -z "$ac_c_werror_flag"
17842                          || test ! -s conftest.err'
17843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844   (eval $ac_try) 2>&5
17845   ac_status=$?
17846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847   (exit $ac_status); }; } &&
17848          { ac_try='test -s conftest$ac_exeext'
17849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850   (eval $ac_try) 2>&5
17851   ac_status=$?
17852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853   (exit $ac_status); }; }; then
17854   ac_cv_lib_m_j0l=yes
17855 else
17856   echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17858
17859 ac_cv_lib_m_j0l=no
17860 fi
17861 rm -f conftest.err conftest.$ac_objext \
17862       conftest$ac_exeext conftest.$ac_ext
17863 LIBS=$ac_check_lib_save_LIBS
17864 fi
17865 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
17866 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
17867 if test $ac_cv_lib_m_j0l = yes; then
17868
17869 cat >>confdefs.h <<\_ACEOF
17870 #define HAVE_J0L 1
17871 _ACEOF
17872
17873 fi
17874
17875 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
17876 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
17877 if test "${ac_cv_lib_m_j1f+set}" = set; then
17878   echo $ECHO_N "(cached) $ECHO_C" >&6
17879 else
17880   ac_check_lib_save_LIBS=$LIBS
17881 LIBS="-lm  $LIBS"
17882 if test x$gcc_no_link = xyes; then
17883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17885    { (exit 1); exit 1; }; }
17886 fi
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h.  */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h.  */
17893
17894 /* Override any gcc2 internal prototype to avoid an error.  */
17895 #ifdef __cplusplus
17896 extern "C"
17897 #endif
17898 /* We use char because int might match the return type of a gcc2
17899    builtin and then its argument prototype would still apply.  */
17900 char j1f ();
17901 int
17902 main ()
17903 {
17904 j1f ();
17905   ;
17906   return 0;
17907 }
17908 _ACEOF
17909 rm -f conftest.$ac_objext conftest$ac_exeext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17911   (eval $ac_link) 2>conftest.er1
17912   ac_status=$?
17913   grep -v '^ *+' conftest.er1 >conftest.err
17914   rm -f conftest.er1
17915   cat conftest.err >&5
17916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917   (exit $ac_status); } &&
17918          { ac_try='test -z "$ac_c_werror_flag"
17919                          || test ! -s conftest.err'
17920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921   (eval $ac_try) 2>&5
17922   ac_status=$?
17923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924   (exit $ac_status); }; } &&
17925          { ac_try='test -s conftest$ac_exeext'
17926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927   (eval $ac_try) 2>&5
17928   ac_status=$?
17929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930   (exit $ac_status); }; }; then
17931   ac_cv_lib_m_j1f=yes
17932 else
17933   echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17935
17936 ac_cv_lib_m_j1f=no
17937 fi
17938 rm -f conftest.err conftest.$ac_objext \
17939       conftest$ac_exeext conftest.$ac_ext
17940 LIBS=$ac_check_lib_save_LIBS
17941 fi
17942 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
17943 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
17944 if test $ac_cv_lib_m_j1f = yes; then
17945
17946 cat >>confdefs.h <<\_ACEOF
17947 #define HAVE_J1F 1
17948 _ACEOF
17949
17950 fi
17951
17952 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
17953 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
17954 if test "${ac_cv_lib_m_j1+set}" = set; then
17955   echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957   ac_check_lib_save_LIBS=$LIBS
17958 LIBS="-lm  $LIBS"
17959 if test x$gcc_no_link = xyes; then
17960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17962    { (exit 1); exit 1; }; }
17963 fi
17964 cat >conftest.$ac_ext <<_ACEOF
17965 /* confdefs.h.  */
17966 _ACEOF
17967 cat confdefs.h >>conftest.$ac_ext
17968 cat >>conftest.$ac_ext <<_ACEOF
17969 /* end confdefs.h.  */
17970
17971 /* Override any gcc2 internal prototype to avoid an error.  */
17972 #ifdef __cplusplus
17973 extern "C"
17974 #endif
17975 /* We use char because int might match the return type of a gcc2
17976    builtin and then its argument prototype would still apply.  */
17977 char j1 ();
17978 int
17979 main ()
17980 {
17981 j1 ();
17982   ;
17983   return 0;
17984 }
17985 _ACEOF
17986 rm -f conftest.$ac_objext conftest$ac_exeext
17987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17988   (eval $ac_link) 2>conftest.er1
17989   ac_status=$?
17990   grep -v '^ *+' conftest.er1 >conftest.err
17991   rm -f conftest.er1
17992   cat conftest.err >&5
17993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994   (exit $ac_status); } &&
17995          { ac_try='test -z "$ac_c_werror_flag"
17996                          || test ! -s conftest.err'
17997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998   (eval $ac_try) 2>&5
17999   ac_status=$?
18000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001   (exit $ac_status); }; } &&
18002          { ac_try='test -s conftest$ac_exeext'
18003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004   (eval $ac_try) 2>&5
18005   ac_status=$?
18006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007   (exit $ac_status); }; }; then
18008   ac_cv_lib_m_j1=yes
18009 else
18010   echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18012
18013 ac_cv_lib_m_j1=no
18014 fi
18015 rm -f conftest.err conftest.$ac_objext \
18016       conftest$ac_exeext conftest.$ac_ext
18017 LIBS=$ac_check_lib_save_LIBS
18018 fi
18019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18020 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18021 if test $ac_cv_lib_m_j1 = yes; then
18022
18023 cat >>confdefs.h <<\_ACEOF
18024 #define HAVE_J1 1
18025 _ACEOF
18026
18027 fi
18028
18029 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18030 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18031 if test "${ac_cv_lib_m_j1l+set}" = set; then
18032   echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034   ac_check_lib_save_LIBS=$LIBS
18035 LIBS="-lm  $LIBS"
18036 if test x$gcc_no_link = xyes; then
18037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18039    { (exit 1); exit 1; }; }
18040 fi
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h.  */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h.  */
18047
18048 /* Override any gcc2 internal prototype to avoid an error.  */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 /* We use char because int might match the return type of a gcc2
18053    builtin and then its argument prototype would still apply.  */
18054 char j1l ();
18055 int
18056 main ()
18057 {
18058 j1l ();
18059   ;
18060   return 0;
18061 }
18062 _ACEOF
18063 rm -f conftest.$ac_objext conftest$ac_exeext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18065   (eval $ac_link) 2>conftest.er1
18066   ac_status=$?
18067   grep -v '^ *+' conftest.er1 >conftest.err
18068   rm -f conftest.er1
18069   cat conftest.err >&5
18070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071   (exit $ac_status); } &&
18072          { ac_try='test -z "$ac_c_werror_flag"
18073                          || test ! -s conftest.err'
18074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075   (eval $ac_try) 2>&5
18076   ac_status=$?
18077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078   (exit $ac_status); }; } &&
18079          { ac_try='test -s conftest$ac_exeext'
18080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081   (eval $ac_try) 2>&5
18082   ac_status=$?
18083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084   (exit $ac_status); }; }; then
18085   ac_cv_lib_m_j1l=yes
18086 else
18087   echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18089
18090 ac_cv_lib_m_j1l=no
18091 fi
18092 rm -f conftest.err conftest.$ac_objext \
18093       conftest$ac_exeext conftest.$ac_ext
18094 LIBS=$ac_check_lib_save_LIBS
18095 fi
18096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18097 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18098 if test $ac_cv_lib_m_j1l = yes; then
18099
18100 cat >>confdefs.h <<\_ACEOF
18101 #define HAVE_J1L 1
18102 _ACEOF
18103
18104 fi
18105
18106 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18107 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18108 if test "${ac_cv_lib_m_jnf+set}" = set; then
18109   echo $ECHO_N "(cached) $ECHO_C" >&6
18110 else
18111   ac_check_lib_save_LIBS=$LIBS
18112 LIBS="-lm  $LIBS"
18113 if test x$gcc_no_link = xyes; then
18114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18116    { (exit 1); exit 1; }; }
18117 fi
18118 cat >conftest.$ac_ext <<_ACEOF
18119 /* confdefs.h.  */
18120 _ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h.  */
18124
18125 /* Override any gcc2 internal prototype to avoid an error.  */
18126 #ifdef __cplusplus
18127 extern "C"
18128 #endif
18129 /* We use char because int might match the return type of a gcc2
18130    builtin and then its argument prototype would still apply.  */
18131 char jnf ();
18132 int
18133 main ()
18134 {
18135 jnf ();
18136   ;
18137   return 0;
18138 }
18139 _ACEOF
18140 rm -f conftest.$ac_objext conftest$ac_exeext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18142   (eval $ac_link) 2>conftest.er1
18143   ac_status=$?
18144   grep -v '^ *+' conftest.er1 >conftest.err
18145   rm -f conftest.er1
18146   cat conftest.err >&5
18147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148   (exit $ac_status); } &&
18149          { ac_try='test -z "$ac_c_werror_flag"
18150                          || test ! -s conftest.err'
18151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152   (eval $ac_try) 2>&5
18153   ac_status=$?
18154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155   (exit $ac_status); }; } &&
18156          { ac_try='test -s conftest$ac_exeext'
18157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158   (eval $ac_try) 2>&5
18159   ac_status=$?
18160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161   (exit $ac_status); }; }; then
18162   ac_cv_lib_m_jnf=yes
18163 else
18164   echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18166
18167 ac_cv_lib_m_jnf=no
18168 fi
18169 rm -f conftest.err conftest.$ac_objext \
18170       conftest$ac_exeext conftest.$ac_ext
18171 LIBS=$ac_check_lib_save_LIBS
18172 fi
18173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18174 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18175 if test $ac_cv_lib_m_jnf = yes; then
18176
18177 cat >>confdefs.h <<\_ACEOF
18178 #define HAVE_JNF 1
18179 _ACEOF
18180
18181 fi
18182
18183 echo "$as_me:$LINENO: checking for jn in -lm" >&5
18184 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18185 if test "${ac_cv_lib_m_jn+set}" = set; then
18186   echo $ECHO_N "(cached) $ECHO_C" >&6
18187 else
18188   ac_check_lib_save_LIBS=$LIBS
18189 LIBS="-lm  $LIBS"
18190 if test x$gcc_no_link = xyes; then
18191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18193    { (exit 1); exit 1; }; }
18194 fi
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h.  */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h.  */
18201
18202 /* Override any gcc2 internal prototype to avoid an error.  */
18203 #ifdef __cplusplus
18204 extern "C"
18205 #endif
18206 /* We use char because int might match the return type of a gcc2
18207    builtin and then its argument prototype would still apply.  */
18208 char jn ();
18209 int
18210 main ()
18211 {
18212 jn ();
18213   ;
18214   return 0;
18215 }
18216 _ACEOF
18217 rm -f conftest.$ac_objext conftest$ac_exeext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18219   (eval $ac_link) 2>conftest.er1
18220   ac_status=$?
18221   grep -v '^ *+' conftest.er1 >conftest.err
18222   rm -f conftest.er1
18223   cat conftest.err >&5
18224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225   (exit $ac_status); } &&
18226          { ac_try='test -z "$ac_c_werror_flag"
18227                          || test ! -s conftest.err'
18228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229   (eval $ac_try) 2>&5
18230   ac_status=$?
18231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232   (exit $ac_status); }; } &&
18233          { ac_try='test -s conftest$ac_exeext'
18234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235   (eval $ac_try) 2>&5
18236   ac_status=$?
18237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238   (exit $ac_status); }; }; then
18239   ac_cv_lib_m_jn=yes
18240 else
18241   echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18243
18244 ac_cv_lib_m_jn=no
18245 fi
18246 rm -f conftest.err conftest.$ac_objext \
18247       conftest$ac_exeext conftest.$ac_ext
18248 LIBS=$ac_check_lib_save_LIBS
18249 fi
18250 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18251 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18252 if test $ac_cv_lib_m_jn = yes; then
18253
18254 cat >>confdefs.h <<\_ACEOF
18255 #define HAVE_JN 1
18256 _ACEOF
18257
18258 fi
18259
18260 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18261 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18262 if test "${ac_cv_lib_m_jnl+set}" = set; then
18263   echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265   ac_check_lib_save_LIBS=$LIBS
18266 LIBS="-lm  $LIBS"
18267 if test x$gcc_no_link = xyes; then
18268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18270    { (exit 1); exit 1; }; }
18271 fi
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h.  */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h.  */
18278
18279 /* Override any gcc2 internal prototype to avoid an error.  */
18280 #ifdef __cplusplus
18281 extern "C"
18282 #endif
18283 /* We use char because int might match the return type of a gcc2
18284    builtin and then its argument prototype would still apply.  */
18285 char jnl ();
18286 int
18287 main ()
18288 {
18289 jnl ();
18290   ;
18291   return 0;
18292 }
18293 _ACEOF
18294 rm -f conftest.$ac_objext conftest$ac_exeext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18296   (eval $ac_link) 2>conftest.er1
18297   ac_status=$?
18298   grep -v '^ *+' conftest.er1 >conftest.err
18299   rm -f conftest.er1
18300   cat conftest.err >&5
18301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302   (exit $ac_status); } &&
18303          { ac_try='test -z "$ac_c_werror_flag"
18304                          || test ! -s conftest.err'
18305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306   (eval $ac_try) 2>&5
18307   ac_status=$?
18308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309   (exit $ac_status); }; } &&
18310          { ac_try='test -s conftest$ac_exeext'
18311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312   (eval $ac_try) 2>&5
18313   ac_status=$?
18314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315   (exit $ac_status); }; }; then
18316   ac_cv_lib_m_jnl=yes
18317 else
18318   echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18320
18321 ac_cv_lib_m_jnl=no
18322 fi
18323 rm -f conftest.err conftest.$ac_objext \
18324       conftest$ac_exeext conftest.$ac_ext
18325 LIBS=$ac_check_lib_save_LIBS
18326 fi
18327 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18328 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18329 if test $ac_cv_lib_m_jnl = yes; then
18330
18331 cat >>confdefs.h <<\_ACEOF
18332 #define HAVE_JNL 1
18333 _ACEOF
18334
18335 fi
18336
18337 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18338 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18339 if test "${ac_cv_lib_m_y0f+set}" = set; then
18340   echo $ECHO_N "(cached) $ECHO_C" >&6
18341 else
18342   ac_check_lib_save_LIBS=$LIBS
18343 LIBS="-lm  $LIBS"
18344 if test x$gcc_no_link = xyes; then
18345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18347    { (exit 1); exit 1; }; }
18348 fi
18349 cat >conftest.$ac_ext <<_ACEOF
18350 /* confdefs.h.  */
18351 _ACEOF
18352 cat confdefs.h >>conftest.$ac_ext
18353 cat >>conftest.$ac_ext <<_ACEOF
18354 /* end confdefs.h.  */
18355
18356 /* Override any gcc2 internal prototype to avoid an error.  */
18357 #ifdef __cplusplus
18358 extern "C"
18359 #endif
18360 /* We use char because int might match the return type of a gcc2
18361    builtin and then its argument prototype would still apply.  */
18362 char y0f ();
18363 int
18364 main ()
18365 {
18366 y0f ();
18367   ;
18368   return 0;
18369 }
18370 _ACEOF
18371 rm -f conftest.$ac_objext conftest$ac_exeext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18373   (eval $ac_link) 2>conftest.er1
18374   ac_status=$?
18375   grep -v '^ *+' conftest.er1 >conftest.err
18376   rm -f conftest.er1
18377   cat conftest.err >&5
18378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379   (exit $ac_status); } &&
18380          { ac_try='test -z "$ac_c_werror_flag"
18381                          || test ! -s conftest.err'
18382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383   (eval $ac_try) 2>&5
18384   ac_status=$?
18385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386   (exit $ac_status); }; } &&
18387          { ac_try='test -s conftest$ac_exeext'
18388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389   (eval $ac_try) 2>&5
18390   ac_status=$?
18391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392   (exit $ac_status); }; }; then
18393   ac_cv_lib_m_y0f=yes
18394 else
18395   echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18397
18398 ac_cv_lib_m_y0f=no
18399 fi
18400 rm -f conftest.err conftest.$ac_objext \
18401       conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18403 fi
18404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18405 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18406 if test $ac_cv_lib_m_y0f = yes; then
18407
18408 cat >>confdefs.h <<\_ACEOF
18409 #define HAVE_Y0F 1
18410 _ACEOF
18411
18412 fi
18413
18414 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18415 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18416 if test "${ac_cv_lib_m_y0+set}" = set; then
18417   echo $ECHO_N "(cached) $ECHO_C" >&6
18418 else
18419   ac_check_lib_save_LIBS=$LIBS
18420 LIBS="-lm  $LIBS"
18421 if test x$gcc_no_link = xyes; then
18422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18424    { (exit 1); exit 1; }; }
18425 fi
18426 cat >conftest.$ac_ext <<_ACEOF
18427 /* confdefs.h.  */
18428 _ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h.  */
18432
18433 /* Override any gcc2 internal prototype to avoid an error.  */
18434 #ifdef __cplusplus
18435 extern "C"
18436 #endif
18437 /* We use char because int might match the return type of a gcc2
18438    builtin and then its argument prototype would still apply.  */
18439 char y0 ();
18440 int
18441 main ()
18442 {
18443 y0 ();
18444   ;
18445   return 0;
18446 }
18447 _ACEOF
18448 rm -f conftest.$ac_objext conftest$ac_exeext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18450   (eval $ac_link) 2>conftest.er1
18451   ac_status=$?
18452   grep -v '^ *+' conftest.er1 >conftest.err
18453   rm -f conftest.er1
18454   cat conftest.err >&5
18455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456   (exit $ac_status); } &&
18457          { ac_try='test -z "$ac_c_werror_flag"
18458                          || test ! -s conftest.err'
18459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460   (eval $ac_try) 2>&5
18461   ac_status=$?
18462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463   (exit $ac_status); }; } &&
18464          { ac_try='test -s conftest$ac_exeext'
18465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466   (eval $ac_try) 2>&5
18467   ac_status=$?
18468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469   (exit $ac_status); }; }; then
18470   ac_cv_lib_m_y0=yes
18471 else
18472   echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 ac_cv_lib_m_y0=no
18476 fi
18477 rm -f conftest.err conftest.$ac_objext \
18478       conftest$ac_exeext conftest.$ac_ext
18479 LIBS=$ac_check_lib_save_LIBS
18480 fi
18481 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18482 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18483 if test $ac_cv_lib_m_y0 = yes; then
18484
18485 cat >>confdefs.h <<\_ACEOF
18486 #define HAVE_Y0 1
18487 _ACEOF
18488
18489 fi
18490
18491 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18492 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18493 if test "${ac_cv_lib_m_y0l+set}" = set; then
18494   echo $ECHO_N "(cached) $ECHO_C" >&6
18495 else
18496   ac_check_lib_save_LIBS=$LIBS
18497 LIBS="-lm  $LIBS"
18498 if test x$gcc_no_link = xyes; then
18499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18501    { (exit 1); exit 1; }; }
18502 fi
18503 cat >conftest.$ac_ext <<_ACEOF
18504 /* confdefs.h.  */
18505 _ACEOF
18506 cat confdefs.h >>conftest.$ac_ext
18507 cat >>conftest.$ac_ext <<_ACEOF
18508 /* end confdefs.h.  */
18509
18510 /* Override any gcc2 internal prototype to avoid an error.  */
18511 #ifdef __cplusplus
18512 extern "C"
18513 #endif
18514 /* We use char because int might match the return type of a gcc2
18515    builtin and then its argument prototype would still apply.  */
18516 char y0l ();
18517 int
18518 main ()
18519 {
18520 y0l ();
18521   ;
18522   return 0;
18523 }
18524 _ACEOF
18525 rm -f conftest.$ac_objext conftest$ac_exeext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18527   (eval $ac_link) 2>conftest.er1
18528   ac_status=$?
18529   grep -v '^ *+' conftest.er1 >conftest.err
18530   rm -f conftest.er1
18531   cat conftest.err >&5
18532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533   (exit $ac_status); } &&
18534          { ac_try='test -z "$ac_c_werror_flag"
18535                          || test ! -s conftest.err'
18536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537   (eval $ac_try) 2>&5
18538   ac_status=$?
18539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540   (exit $ac_status); }; } &&
18541          { ac_try='test -s conftest$ac_exeext'
18542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543   (eval $ac_try) 2>&5
18544   ac_status=$?
18545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546   (exit $ac_status); }; }; then
18547   ac_cv_lib_m_y0l=yes
18548 else
18549   echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18551
18552 ac_cv_lib_m_y0l=no
18553 fi
18554 rm -f conftest.err conftest.$ac_objext \
18555       conftest$ac_exeext conftest.$ac_ext
18556 LIBS=$ac_check_lib_save_LIBS
18557 fi
18558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18559 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18560 if test $ac_cv_lib_m_y0l = yes; then
18561
18562 cat >>confdefs.h <<\_ACEOF
18563 #define HAVE_Y0L 1
18564 _ACEOF
18565
18566 fi
18567
18568 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18569 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18570 if test "${ac_cv_lib_m_y1f+set}" = set; then
18571   echo $ECHO_N "(cached) $ECHO_C" >&6
18572 else
18573   ac_check_lib_save_LIBS=$LIBS
18574 LIBS="-lm  $LIBS"
18575 if test x$gcc_no_link = xyes; then
18576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18578    { (exit 1); exit 1; }; }
18579 fi
18580 cat >conftest.$ac_ext <<_ACEOF
18581 /* confdefs.h.  */
18582 _ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h.  */
18586
18587 /* Override any gcc2 internal prototype to avoid an error.  */
18588 #ifdef __cplusplus
18589 extern "C"
18590 #endif
18591 /* We use char because int might match the return type of a gcc2
18592    builtin and then its argument prototype would still apply.  */
18593 char y1f ();
18594 int
18595 main ()
18596 {
18597 y1f ();
18598   ;
18599   return 0;
18600 }
18601 _ACEOF
18602 rm -f conftest.$ac_objext conftest$ac_exeext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18604   (eval $ac_link) 2>conftest.er1
18605   ac_status=$?
18606   grep -v '^ *+' conftest.er1 >conftest.err
18607   rm -f conftest.er1
18608   cat conftest.err >&5
18609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610   (exit $ac_status); } &&
18611          { ac_try='test -z "$ac_c_werror_flag"
18612                          || test ! -s conftest.err'
18613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614   (eval $ac_try) 2>&5
18615   ac_status=$?
18616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617   (exit $ac_status); }; } &&
18618          { ac_try='test -s conftest$ac_exeext'
18619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620   (eval $ac_try) 2>&5
18621   ac_status=$?
18622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623   (exit $ac_status); }; }; then
18624   ac_cv_lib_m_y1f=yes
18625 else
18626   echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18628
18629 ac_cv_lib_m_y1f=no
18630 fi
18631 rm -f conftest.err conftest.$ac_objext \
18632       conftest$ac_exeext conftest.$ac_ext
18633 LIBS=$ac_check_lib_save_LIBS
18634 fi
18635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18636 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18637 if test $ac_cv_lib_m_y1f = yes; then
18638
18639 cat >>confdefs.h <<\_ACEOF
18640 #define HAVE_Y1F 1
18641 _ACEOF
18642
18643 fi
18644
18645 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18646 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18647 if test "${ac_cv_lib_m_y1+set}" = set; then
18648   echo $ECHO_N "(cached) $ECHO_C" >&6
18649 else
18650   ac_check_lib_save_LIBS=$LIBS
18651 LIBS="-lm  $LIBS"
18652 if test x$gcc_no_link = xyes; then
18653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18655    { (exit 1); exit 1; }; }
18656 fi
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h.  */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h.  */
18663
18664 /* Override any gcc2 internal prototype to avoid an error.  */
18665 #ifdef __cplusplus
18666 extern "C"
18667 #endif
18668 /* We use char because int might match the return type of a gcc2
18669    builtin and then its argument prototype would still apply.  */
18670 char y1 ();
18671 int
18672 main ()
18673 {
18674 y1 ();
18675   ;
18676   return 0;
18677 }
18678 _ACEOF
18679 rm -f conftest.$ac_objext conftest$ac_exeext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18681   (eval $ac_link) 2>conftest.er1
18682   ac_status=$?
18683   grep -v '^ *+' conftest.er1 >conftest.err
18684   rm -f conftest.er1
18685   cat conftest.err >&5
18686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687   (exit $ac_status); } &&
18688          { ac_try='test -z "$ac_c_werror_flag"
18689                          || test ! -s conftest.err'
18690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691   (eval $ac_try) 2>&5
18692   ac_status=$?
18693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694   (exit $ac_status); }; } &&
18695          { ac_try='test -s conftest$ac_exeext'
18696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697   (eval $ac_try) 2>&5
18698   ac_status=$?
18699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700   (exit $ac_status); }; }; then
18701   ac_cv_lib_m_y1=yes
18702 else
18703   echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18705
18706 ac_cv_lib_m_y1=no
18707 fi
18708 rm -f conftest.err conftest.$ac_objext \
18709       conftest$ac_exeext conftest.$ac_ext
18710 LIBS=$ac_check_lib_save_LIBS
18711 fi
18712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18713 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18714 if test $ac_cv_lib_m_y1 = yes; then
18715
18716 cat >>confdefs.h <<\_ACEOF
18717 #define HAVE_Y1 1
18718 _ACEOF
18719
18720 fi
18721
18722 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18723 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18724 if test "${ac_cv_lib_m_y1l+set}" = set; then
18725   echo $ECHO_N "(cached) $ECHO_C" >&6
18726 else
18727   ac_check_lib_save_LIBS=$LIBS
18728 LIBS="-lm  $LIBS"
18729 if test x$gcc_no_link = xyes; then
18730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18732    { (exit 1); exit 1; }; }
18733 fi
18734 cat >conftest.$ac_ext <<_ACEOF
18735 /* confdefs.h.  */
18736 _ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h.  */
18740
18741 /* Override any gcc2 internal prototype to avoid an error.  */
18742 #ifdef __cplusplus
18743 extern "C"
18744 #endif
18745 /* We use char because int might match the return type of a gcc2
18746    builtin and then its argument prototype would still apply.  */
18747 char y1l ();
18748 int
18749 main ()
18750 {
18751 y1l ();
18752   ;
18753   return 0;
18754 }
18755 _ACEOF
18756 rm -f conftest.$ac_objext conftest$ac_exeext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18758   (eval $ac_link) 2>conftest.er1
18759   ac_status=$?
18760   grep -v '^ *+' conftest.er1 >conftest.err
18761   rm -f conftest.er1
18762   cat conftest.err >&5
18763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764   (exit $ac_status); } &&
18765          { ac_try='test -z "$ac_c_werror_flag"
18766                          || test ! -s conftest.err'
18767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768   (eval $ac_try) 2>&5
18769   ac_status=$?
18770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771   (exit $ac_status); }; } &&
18772          { ac_try='test -s conftest$ac_exeext'
18773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774   (eval $ac_try) 2>&5
18775   ac_status=$?
18776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777   (exit $ac_status); }; }; then
18778   ac_cv_lib_m_y1l=yes
18779 else
18780   echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18782
18783 ac_cv_lib_m_y1l=no
18784 fi
18785 rm -f conftest.err conftest.$ac_objext \
18786       conftest$ac_exeext conftest.$ac_ext
18787 LIBS=$ac_check_lib_save_LIBS
18788 fi
18789 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18790 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18791 if test $ac_cv_lib_m_y1l = yes; then
18792
18793 cat >>confdefs.h <<\_ACEOF
18794 #define HAVE_Y1L 1
18795 _ACEOF
18796
18797 fi
18798
18799 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18800 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18801 if test "${ac_cv_lib_m_ynf+set}" = set; then
18802   echo $ECHO_N "(cached) $ECHO_C" >&6
18803 else
18804   ac_check_lib_save_LIBS=$LIBS
18805 LIBS="-lm  $LIBS"
18806 if test x$gcc_no_link = xyes; then
18807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18809    { (exit 1); exit 1; }; }
18810 fi
18811 cat >conftest.$ac_ext <<_ACEOF
18812 /* confdefs.h.  */
18813 _ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h.  */
18817
18818 /* Override any gcc2 internal prototype to avoid an error.  */
18819 #ifdef __cplusplus
18820 extern "C"
18821 #endif
18822 /* We use char because int might match the return type of a gcc2
18823    builtin and then its argument prototype would still apply.  */
18824 char ynf ();
18825 int
18826 main ()
18827 {
18828 ynf ();
18829   ;
18830   return 0;
18831 }
18832 _ACEOF
18833 rm -f conftest.$ac_objext conftest$ac_exeext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18835   (eval $ac_link) 2>conftest.er1
18836   ac_status=$?
18837   grep -v '^ *+' conftest.er1 >conftest.err
18838   rm -f conftest.er1
18839   cat conftest.err >&5
18840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841   (exit $ac_status); } &&
18842          { ac_try='test -z "$ac_c_werror_flag"
18843                          || test ! -s conftest.err'
18844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845   (eval $ac_try) 2>&5
18846   ac_status=$?
18847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848   (exit $ac_status); }; } &&
18849          { ac_try='test -s conftest$ac_exeext'
18850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851   (eval $ac_try) 2>&5
18852   ac_status=$?
18853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854   (exit $ac_status); }; }; then
18855   ac_cv_lib_m_ynf=yes
18856 else
18857   echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18859
18860 ac_cv_lib_m_ynf=no
18861 fi
18862 rm -f conftest.err conftest.$ac_objext \
18863       conftest$ac_exeext conftest.$ac_ext
18864 LIBS=$ac_check_lib_save_LIBS
18865 fi
18866 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
18867 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
18868 if test $ac_cv_lib_m_ynf = yes; then
18869
18870 cat >>confdefs.h <<\_ACEOF
18871 #define HAVE_YNF 1
18872 _ACEOF
18873
18874 fi
18875
18876 echo "$as_me:$LINENO: checking for yn in -lm" >&5
18877 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
18878 if test "${ac_cv_lib_m_yn+set}" = set; then
18879   echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881   ac_check_lib_save_LIBS=$LIBS
18882 LIBS="-lm  $LIBS"
18883 if test x$gcc_no_link = xyes; then
18884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18886    { (exit 1); exit 1; }; }
18887 fi
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h.  */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h.  */
18894
18895 /* Override any gcc2 internal prototype to avoid an error.  */
18896 #ifdef __cplusplus
18897 extern "C"
18898 #endif
18899 /* We use char because int might match the return type of a gcc2
18900    builtin and then its argument prototype would still apply.  */
18901 char yn ();
18902 int
18903 main ()
18904 {
18905 yn ();
18906   ;
18907   return 0;
18908 }
18909 _ACEOF
18910 rm -f conftest.$ac_objext conftest$ac_exeext
18911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18912   (eval $ac_link) 2>conftest.er1
18913   ac_status=$?
18914   grep -v '^ *+' conftest.er1 >conftest.err
18915   rm -f conftest.er1
18916   cat conftest.err >&5
18917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918   (exit $ac_status); } &&
18919          { ac_try='test -z "$ac_c_werror_flag"
18920                          || test ! -s conftest.err'
18921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922   (eval $ac_try) 2>&5
18923   ac_status=$?
18924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925   (exit $ac_status); }; } &&
18926          { ac_try='test -s conftest$ac_exeext'
18927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928   (eval $ac_try) 2>&5
18929   ac_status=$?
18930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931   (exit $ac_status); }; }; then
18932   ac_cv_lib_m_yn=yes
18933 else
18934   echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18936
18937 ac_cv_lib_m_yn=no
18938 fi
18939 rm -f conftest.err conftest.$ac_objext \
18940       conftest$ac_exeext conftest.$ac_ext
18941 LIBS=$ac_check_lib_save_LIBS
18942 fi
18943 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
18944 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
18945 if test $ac_cv_lib_m_yn = yes; then
18946
18947 cat >>confdefs.h <<\_ACEOF
18948 #define HAVE_YN 1
18949 _ACEOF
18950
18951 fi
18952
18953 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
18954 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
18955 if test "${ac_cv_lib_m_ynl+set}" = set; then
18956   echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958   ac_check_lib_save_LIBS=$LIBS
18959 LIBS="-lm  $LIBS"
18960 if test x$gcc_no_link = xyes; then
18961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18963    { (exit 1); exit 1; }; }
18964 fi
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h.  */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h.  */
18971
18972 /* Override any gcc2 internal prototype to avoid an error.  */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 /* We use char because int might match the return type of a gcc2
18977    builtin and then its argument prototype would still apply.  */
18978 char ynl ();
18979 int
18980 main ()
18981 {
18982 ynl ();
18983   ;
18984   return 0;
18985 }
18986 _ACEOF
18987 rm -f conftest.$ac_objext conftest$ac_exeext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18989   (eval $ac_link) 2>conftest.er1
18990   ac_status=$?
18991   grep -v '^ *+' conftest.er1 >conftest.err
18992   rm -f conftest.er1
18993   cat conftest.err >&5
18994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995   (exit $ac_status); } &&
18996          { ac_try='test -z "$ac_c_werror_flag"
18997                          || test ! -s conftest.err'
18998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999   (eval $ac_try) 2>&5
19000   ac_status=$?
19001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002   (exit $ac_status); }; } &&
19003          { ac_try='test -s conftest$ac_exeext'
19004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005   (eval $ac_try) 2>&5
19006   ac_status=$?
19007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008   (exit $ac_status); }; }; then
19009   ac_cv_lib_m_ynl=yes
19010 else
19011   echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 ac_cv_lib_m_ynl=no
19015 fi
19016 rm -f conftest.err conftest.$ac_objext \
19017       conftest$ac_exeext conftest.$ac_ext
19018 LIBS=$ac_check_lib_save_LIBS
19019 fi
19020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19021 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19022 if test $ac_cv_lib_m_ynl = yes; then
19023
19024 cat >>confdefs.h <<\_ACEOF
19025 #define HAVE_YNL 1
19026 _ACEOF
19027
19028 fi
19029
19030
19031 # On AIX, clog is present in libm as __clog
19032 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19033 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19034 if test "${ac_cv_lib_m___clog+set}" = set; then
19035   echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037   ac_check_lib_save_LIBS=$LIBS
19038 LIBS="-lm  $LIBS"
19039 if test x$gcc_no_link = xyes; then
19040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19042    { (exit 1); exit 1; }; }
19043 fi
19044 cat >conftest.$ac_ext <<_ACEOF
19045 /* confdefs.h.  */
19046 _ACEOF
19047 cat confdefs.h >>conftest.$ac_ext
19048 cat >>conftest.$ac_ext <<_ACEOF
19049 /* end confdefs.h.  */
19050
19051 /* Override any gcc2 internal prototype to avoid an error.  */
19052 #ifdef __cplusplus
19053 extern "C"
19054 #endif
19055 /* We use char because int might match the return type of a gcc2
19056    builtin and then its argument prototype would still apply.  */
19057 char __clog ();
19058 int
19059 main ()
19060 {
19061 __clog ();
19062   ;
19063   return 0;
19064 }
19065 _ACEOF
19066 rm -f conftest.$ac_objext conftest$ac_exeext
19067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19068   (eval $ac_link) 2>conftest.er1
19069   ac_status=$?
19070   grep -v '^ *+' conftest.er1 >conftest.err
19071   rm -f conftest.er1
19072   cat conftest.err >&5
19073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074   (exit $ac_status); } &&
19075          { ac_try='test -z "$ac_c_werror_flag"
19076                          || test ! -s conftest.err'
19077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078   (eval $ac_try) 2>&5
19079   ac_status=$?
19080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081   (exit $ac_status); }; } &&
19082          { ac_try='test -s conftest$ac_exeext'
19083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084   (eval $ac_try) 2>&5
19085   ac_status=$?
19086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087   (exit $ac_status); }; }; then
19088   ac_cv_lib_m___clog=yes
19089 else
19090   echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19092
19093 ac_cv_lib_m___clog=no
19094 fi
19095 rm -f conftest.err conftest.$ac_objext \
19096       conftest$ac_exeext conftest.$ac_ext
19097 LIBS=$ac_check_lib_save_LIBS
19098 fi
19099 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19100 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19101 if test $ac_cv_lib_m___clog = yes; then
19102
19103 cat >>confdefs.h <<\_ACEOF
19104 #define HAVE_CLOG 1
19105 _ACEOF
19106
19107 fi
19108
19109
19110 # Check for a isfinite macro that works on long doubles.
19111
19112   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
19113 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
19114 if test "${have_broken_isfinite+set}" = set; then
19115   echo $ECHO_N "(cached) $ECHO_C" >&6
19116 else
19117
19118   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
19119   LIBS="$LIBS -lm"
19120   if test "$cross_compiling" = yes; then
19121
19122 case "${target}" in
19123   hppa*-*-hpux*) have_broken_isfinite=yes ;;
19124   *) have_broken_isfinite=no ;;
19125 esac
19126 else
19127   cat >conftest.$ac_ext <<_ACEOF
19128 /* confdefs.h.  */
19129 _ACEOF
19130 cat confdefs.h >>conftest.$ac_ext
19131 cat >>conftest.$ac_ext <<_ACEOF
19132 /* end confdefs.h.  */
19133
19134 #ifdef HAVE_MATH_H
19135 #include <math.h>
19136 #endif
19137 #include <float.h>
19138 int main ()
19139 {
19140 #ifdef isfinite
19141 #ifdef LDBL_MAX
19142   if (!isfinite(LDBL_MAX)) return 1;
19143 #endif
19144 #ifdef DBL_MAX
19145   if (!isfinite(DBL_MAX)) return 1;
19146 #endif
19147 #endif
19148 return 0;
19149 }
19150 _ACEOF
19151 rm -f conftest$ac_exeext
19152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19153   (eval $ac_link) 2>&5
19154   ac_status=$?
19155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158   (eval $ac_try) 2>&5
19159   ac_status=$?
19160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161   (exit $ac_status); }; }; then
19162   have_broken_isfinite=no
19163 else
19164   echo "$as_me: program exited with status $ac_status" >&5
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19167
19168 ( exit $ac_status )
19169 have_broken_isfinite=yes
19170 fi
19171 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19172 fi
19173   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
19174 fi
19175 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
19176 echo "${ECHO_T}$have_broken_isfinite" >&6
19177 if test x"$have_broken_isfinite" = xyes; then
19178
19179 cat >>confdefs.h <<\_ACEOF
19180 #define HAVE_BROKEN_ISFINITE 1
19181 _ACEOF
19182
19183 fi
19184
19185 # Check for a isnan macro that works on long doubles.
19186
19187   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
19188 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
19189 if test "${have_broken_isnan+set}" = set; then
19190   echo $ECHO_N "(cached) $ECHO_C" >&6
19191 else
19192
19193   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
19194   LIBS="$LIBS -lm"
19195   if test "$cross_compiling" = yes; then
19196
19197 case "${target}" in
19198   hppa*-*-hpux*) have_broken_isnan=yes ;;
19199   *) have_broken_isnan=no ;;
19200 esac
19201 else
19202   cat >conftest.$ac_ext <<_ACEOF
19203 /* confdefs.h.  */
19204 _ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h.  */
19208
19209 #ifdef HAVE_MATH_H
19210 #include <math.h>
19211 #endif
19212 #include <float.h>
19213 int main ()
19214 {
19215 #ifdef isnan
19216 #ifdef LDBL_MAX
19217   {
19218     long double x;
19219     x = __builtin_nanl ("");
19220     if (!isnan(x)) return 1;
19221     if (isnan(LDBL_MAX)) return 1;
19222 #ifdef NAN
19223     x = (long double) NAN;
19224     if (!isnan(x)) return 1;
19225 #endif
19226   }
19227 #endif
19228 #ifdef DBL_MAX
19229   {
19230     double y;
19231     y = __builtin_nan ("");
19232     if (!isnan(y)) return 1;
19233     if (isnan(DBL_MAX)) return 1;
19234 #ifdef NAN
19235     y = (double) NAN;
19236     if (!isnan(y)) return 1;
19237 #endif
19238   }
19239 #endif
19240 #endif
19241 return 0;
19242 }
19243 _ACEOF
19244 rm -f conftest$ac_exeext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19246   (eval $ac_link) 2>&5
19247   ac_status=$?
19248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251   (eval $ac_try) 2>&5
19252   ac_status=$?
19253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254   (exit $ac_status); }; }; then
19255   have_broken_isnan=no
19256 else
19257   echo "$as_me: program exited with status $ac_status" >&5
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261 ( exit $ac_status )
19262 have_broken_isnan=yes
19263 fi
19264 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19265 fi
19266   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
19267 fi
19268 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
19269 echo "${ECHO_T}$have_broken_isnan" >&6
19270 if test x"$have_broken_isnan" = xyes; then
19271
19272 cat >>confdefs.h <<\_ACEOF
19273 #define HAVE_BROKEN_ISNAN 1
19274 _ACEOF
19275
19276 fi
19277
19278 # Check for a fpclassify macro that works on long doubles.
19279
19280   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
19281 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
19282 if test "${have_broken_fpclassify+set}" = set; then
19283   echo $ECHO_N "(cached) $ECHO_C" >&6
19284 else
19285
19286   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
19287   LIBS="$LIBS -lm"
19288   if test "$cross_compiling" = yes; then
19289
19290 case "${target}" in
19291   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
19292   *) have_broken_fpclassify=no ;;
19293 esac
19294 else
19295   cat >conftest.$ac_ext <<_ACEOF
19296 /* confdefs.h.  */
19297 _ACEOF
19298 cat confdefs.h >>conftest.$ac_ext
19299 cat >>conftest.$ac_ext <<_ACEOF
19300 /* end confdefs.h.  */
19301
19302 #ifdef HAVE_MATH_H
19303 #include <math.h>
19304 #endif
19305 #include <float.h>
19306 int main ()
19307 {
19308 #ifdef fpclassify
19309 #ifdef LDBL_MAX
19310         if (fpclassify(LDBL_MAX) == FP_NAN
19311             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
19312 #endif
19313 #ifdef DBL_MAX
19314         if (fpclassify(DBL_MAX) == FP_NAN
19315             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
19316 #endif
19317 #endif
19318 return 0;
19319 }
19320 _ACEOF
19321 rm -f conftest$ac_exeext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19323   (eval $ac_link) 2>&5
19324   ac_status=$?
19325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328   (eval $ac_try) 2>&5
19329   ac_status=$?
19330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331   (exit $ac_status); }; }; then
19332   have_broken_fpclassify=no
19333 else
19334   echo "$as_me: program exited with status $ac_status" >&5
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 ( exit $ac_status )
19339 have_broken_fpclassify=yes
19340 fi
19341 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19342 fi
19343   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
19344 fi
19345 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
19346 echo "${ECHO_T}$have_broken_fpclassify" >&6
19347 if test x"$have_broken_fpclassify" = xyes; then
19348
19349 cat >>confdefs.h <<\_ACEOF
19350 #define HAVE_BROKEN_FPCLASSIFY 1
19351 _ACEOF
19352
19353 fi
19354
19355 # Fallback in case isfinite is not available.
19356 echo "$as_me:$LINENO: checking for finite in -lm" >&5
19357 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19358 if test "${ac_cv_lib_m_finite+set}" = set; then
19359   echo $ECHO_N "(cached) $ECHO_C" >&6
19360 else
19361   ac_check_lib_save_LIBS=$LIBS
19362 LIBS="-lm  $LIBS"
19363 if test x$gcc_no_link = xyes; then
19364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19366    { (exit 1); exit 1; }; }
19367 fi
19368 cat >conftest.$ac_ext <<_ACEOF
19369 /* confdefs.h.  */
19370 _ACEOF
19371 cat confdefs.h >>conftest.$ac_ext
19372 cat >>conftest.$ac_ext <<_ACEOF
19373 /* end confdefs.h.  */
19374
19375 /* Override any gcc2 internal prototype to avoid an error.  */
19376 #ifdef __cplusplus
19377 extern "C"
19378 #endif
19379 /* We use char because int might match the return type of a gcc2
19380    builtin and then its argument prototype would still apply.  */
19381 char finite ();
19382 int
19383 main ()
19384 {
19385 finite ();
19386   ;
19387   return 0;
19388 }
19389 _ACEOF
19390 rm -f conftest.$ac_objext conftest$ac_exeext
19391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19392   (eval $ac_link) 2>conftest.er1
19393   ac_status=$?
19394   grep -v '^ *+' conftest.er1 >conftest.err
19395   rm -f conftest.er1
19396   cat conftest.err >&5
19397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398   (exit $ac_status); } &&
19399          { ac_try='test -z "$ac_c_werror_flag"
19400                          || test ! -s conftest.err'
19401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402   (eval $ac_try) 2>&5
19403   ac_status=$?
19404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405   (exit $ac_status); }; } &&
19406          { ac_try='test -s conftest$ac_exeext'
19407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408   (eval $ac_try) 2>&5
19409   ac_status=$?
19410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411   (exit $ac_status); }; }; then
19412   ac_cv_lib_m_finite=yes
19413 else
19414   echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19416
19417 ac_cv_lib_m_finite=no
19418 fi
19419 rm -f conftest.err conftest.$ac_objext \
19420       conftest$ac_exeext conftest.$ac_ext
19421 LIBS=$ac_check_lib_save_LIBS
19422 fi
19423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19424 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19425 if test $ac_cv_lib_m_finite = yes; then
19426
19427 cat >>confdefs.h <<\_ACEOF
19428 #define HAVE_FINITE 1
19429 _ACEOF
19430
19431 fi
19432
19433
19434 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
19435 # for struct timezone, as you might think.  We also need to check how
19436 # to call gettimeofday if we have it.
19437 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19438 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
19439 if test "${ac_cv_header_time+set}" = set; then
19440   echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442   cat >conftest.$ac_ext <<_ACEOF
19443 /* confdefs.h.  */
19444 _ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h.  */
19448 #include <sys/types.h>
19449 #include <sys/time.h>
19450 #include <time.h>
19451
19452 int
19453 main ()
19454 {
19455 if ((struct tm *) 0)
19456 return 0;
19457   ;
19458   return 0;
19459 }
19460 _ACEOF
19461 rm -f conftest.$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463   (eval $ac_compile) 2>conftest.er1
19464   ac_status=$?
19465   grep -v '^ *+' conftest.er1 >conftest.err
19466   rm -f conftest.er1
19467   cat conftest.err >&5
19468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469   (exit $ac_status); } &&
19470          { ac_try='test -z "$ac_c_werror_flag"
19471                          || test ! -s conftest.err'
19472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473   (eval $ac_try) 2>&5
19474   ac_status=$?
19475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476   (exit $ac_status); }; } &&
19477          { ac_try='test -s conftest.$ac_objext'
19478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479   (eval $ac_try) 2>&5
19480   ac_status=$?
19481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482   (exit $ac_status); }; }; then
19483   ac_cv_header_time=yes
19484 else
19485   echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.$ac_ext >&5
19487
19488 ac_cv_header_time=no
19489 fi
19490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19491 fi
19492 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19493 echo "${ECHO_T}$ac_cv_header_time" >&6
19494 if test $ac_cv_header_time = yes; then
19495
19496 cat >>confdefs.h <<\_ACEOF
19497 #define TIME_WITH_SYS_TIME 1
19498 _ACEOF
19499
19500 fi
19501
19502
19503
19504 for ac_func in gettimeofday
19505 do
19506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19507 echo "$as_me:$LINENO: checking for $ac_func" >&5
19508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19509 if eval "test \"\${$as_ac_var+set}\" = set"; then
19510   echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19512   if test x$gcc_no_link = xyes; then
19513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19515    { (exit 1); exit 1; }; }
19516 fi
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h.  */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h.  */
19523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19525 #define $ac_func innocuous_$ac_func
19526
19527 /* System header to define __stub macros and hopefully few prototypes,
19528     which can conflict with char $ac_func (); below.
19529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19530     <limits.h> exists even on freestanding compilers.  */
19531
19532 #ifdef __STDC__
19533 # include <limits.h>
19534 #else
19535 # include <assert.h>
19536 #endif
19537
19538 #undef $ac_func
19539
19540 /* Override any gcc2 internal prototype to avoid an error.  */
19541 #ifdef __cplusplus
19542 extern "C"
19543 {
19544 #endif
19545 /* We use char because int might match the return type of a gcc2
19546    builtin and then its argument prototype would still apply.  */
19547 char $ac_func ();
19548 /* The GNU C library defines this for functions which it implements
19549     to always fail with ENOSYS.  Some functions are actually named
19550     something starting with __ and the normal name is an alias.  */
19551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19552 choke me
19553 #else
19554 char (*f) () = $ac_func;
19555 #endif
19556 #ifdef __cplusplus
19557 }
19558 #endif
19559
19560 int
19561 main ()
19562 {
19563 return f != $ac_func;
19564   ;
19565   return 0;
19566 }
19567 _ACEOF
19568 rm -f conftest.$ac_objext conftest$ac_exeext
19569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19570   (eval $ac_link) 2>conftest.er1
19571   ac_status=$?
19572   grep -v '^ *+' conftest.er1 >conftest.err
19573   rm -f conftest.er1
19574   cat conftest.err >&5
19575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576   (exit $ac_status); } &&
19577          { ac_try='test -z "$ac_c_werror_flag"
19578                          || test ! -s conftest.err'
19579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580   (eval $ac_try) 2>&5
19581   ac_status=$?
19582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583   (exit $ac_status); }; } &&
19584          { ac_try='test -s 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   eval "$as_ac_var=yes"
19591 else
19592   echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.$ac_ext >&5
19594
19595 eval "$as_ac_var=no"
19596 fi
19597 rm -f conftest.err conftest.$ac_objext \
19598       conftest$ac_exeext conftest.$ac_ext
19599 fi
19600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19602 if test `eval echo '${'$as_ac_var'}'` = yes; then
19603   cat >>confdefs.h <<_ACEOF
19604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19605 _ACEOF
19606
19607 fi
19608 done
19609
19610   if test "$ac_cv_func_gettimeofday" = yes; then
19611     echo "$as_me:$LINENO: checking for struct timezone" >&5
19612 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
19613 if test "${gfor_cv_struct_timezone+set}" = set; then
19614   echo $ECHO_N "(cached) $ECHO_C" >&6
19615 else
19616   cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h.  */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h.  */
19622 #include <sys/time.h>
19623 int
19624 main ()
19625 {
19626 struct timezone tz;
19627   ;
19628   return 0;
19629 }
19630 _ACEOF
19631 rm -f conftest.$ac_objext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19633   (eval $ac_compile) 2>conftest.er1
19634   ac_status=$?
19635   grep -v '^ *+' conftest.er1 >conftest.err
19636   rm -f conftest.er1
19637   cat conftest.err >&5
19638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639   (exit $ac_status); } &&
19640          { ac_try='test -z "$ac_c_werror_flag"
19641                          || test ! -s conftest.err'
19642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643   (eval $ac_try) 2>&5
19644   ac_status=$?
19645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646   (exit $ac_status); }; } &&
19647          { ac_try='test -s conftest.$ac_objext'
19648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649   (eval $ac_try) 2>&5
19650   ac_status=$?
19651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652   (exit $ac_status); }; }; then
19653   gfor_cv_struct_timezone=yes
19654 else
19655   echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19657
19658 gfor_cv_struct_timezone=no
19659 fi
19660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19661 fi
19662 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
19663 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
19664     if test $gfor_cv_struct_timezone = yes; then
19665                   if test "$cross_compiling" = yes; then
19666   gfor_have_struct_timezone=yes
19667 else
19668   cat >conftest.$ac_ext <<_ACEOF
19669 /* confdefs.h.  */
19670 _ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h.  */
19674
19675 #ifdef TIME_WITH_SYS_TIME
19676 #include <sys/time.h>
19677 #include <time.h>
19678 #else
19679 #ifdef HAVE_SYS_TIME_H
19680 #include <sys/time.h>
19681 #else
19682 #include <time.h>
19683 #endif
19684 #endif
19685 main ()
19686 {
19687   struct timeval time;
19688   struct timezone dummy;
19689   if (gettimeofday (&time, &dummy))
19690     exit (1);
19691   else
19692     exit (0);
19693 }
19694 _ACEOF
19695 rm -f conftest$ac_exeext
19696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19697   (eval $ac_link) 2>&5
19698   ac_status=$?
19699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702   (eval $ac_try) 2>&5
19703   ac_status=$?
19704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705   (exit $ac_status); }; }; then
19706   gfor_have_struct_timezone=yes
19707 else
19708   echo "$as_me: program exited with status $ac_status" >&5
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ( exit $ac_status )
19713 gfor_have_struct_timezone=no
19714 fi
19715 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19716 fi
19717       if test $gfor_have_struct_timezone = yes; then
19718
19719 cat >>confdefs.h <<\_ACEOF
19720 #define HAVE_TIMEZONE 1
19721 _ACEOF
19722
19723       fi
19724     fi
19725
19726     echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
19727 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
19728 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
19729   echo $ECHO_N "(cached) $ECHO_C" >&6
19730 else
19731   if test x$gcc_no_link = xyes; then
19732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19734    { (exit 1); exit 1; }; }
19735 fi
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h.  */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h.  */
19742
19743 #ifdef TIME_WITH_SYS_TIME
19744 #include <sys/time.h>
19745 #include <time.h>
19746 #else
19747 #ifdef HAVE_SYS_TIME_H
19748 #include <sys/time.h>
19749 #else
19750 #include <time.h>
19751 #endif
19752 #endif
19753
19754 int
19755 main ()
19756 {
19757
19758       struct timeval time;
19759 #ifdef HAVE_TIMEZONE
19760       struct timezone dummy;
19761 #define DUMMY &dummy
19762 #else
19763 #define DUMMY NULL
19764 #endif
19765       gettimeofday (&time, DUMMY);
19766   ;
19767   return 0;
19768 }
19769 _ACEOF
19770 rm -f conftest.$ac_objext conftest$ac_exeext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19772   (eval $ac_link) 2>conftest.er1
19773   ac_status=$?
19774   grep -v '^ *+' conftest.er1 >conftest.err
19775   rm -f conftest.er1
19776   cat conftest.err >&5
19777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778   (exit $ac_status); } &&
19779          { ac_try='test -z "$ac_c_werror_flag"
19780                          || test ! -s conftest.err'
19781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782   (eval $ac_try) 2>&5
19783   ac_status=$?
19784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785   (exit $ac_status); }; } &&
19786          { ac_try='test -s conftest$ac_exeext'
19787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788   (eval $ac_try) 2>&5
19789   ac_status=$?
19790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791   (exit $ac_status); }; }; then
19792   emacs_cv_gettimeofday_two_arguments=yes
19793 else
19794   echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 emacs_cv_gettimeofday_two_arguments=no
19798 fi
19799 rm -f conftest.err conftest.$ac_objext \
19800       conftest$ac_exeext conftest.$ac_ext
19801 fi
19802 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
19803 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
19804     if test $emacs_cv_gettimeofday_two_arguments = no; then
19805
19806 cat >>confdefs.h <<\_ACEOF
19807 #define GETTIMEOFDAY_ONE_ARGUMENT 1
19808 _ACEOF
19809
19810     fi
19811   fi
19812
19813 # Attempt to assert that the target is of common type in case we don't
19814 # have C99 integer types at all.
19815
19816   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
19817 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
19818 if test "${target_ilp32+set}" = set; then
19819   echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19821
19822   save_CFLAGS="$CFLAGS"
19823   CFLAGS="-O2"
19824   if test x$gcc_no_link = xyes; then
19825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19827    { (exit 1); exit 1; }; }
19828 fi
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h.  */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h.  */
19835
19836 int
19837 main ()
19838 {
19839
19840 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
19841   ;
19842 else
19843   undefined_function ();
19844
19845   ;
19846   return 0;
19847 }
19848 _ACEOF
19849 rm -f conftest.$ac_objext conftest$ac_exeext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19851   (eval $ac_link) 2>conftest.er1
19852   ac_status=$?
19853   grep -v '^ *+' conftest.er1 >conftest.err
19854   rm -f conftest.er1
19855   cat conftest.err >&5
19856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857   (exit $ac_status); } &&
19858          { ac_try='test -z "$ac_c_werror_flag"
19859                          || test ! -s conftest.err'
19860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861   (eval $ac_try) 2>&5
19862   ac_status=$?
19863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864   (exit $ac_status); }; } &&
19865          { ac_try='test -s conftest$ac_exeext'
19866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867   (eval $ac_try) 2>&5
19868   ac_status=$?
19869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870   (exit $ac_status); }; }; then
19871   target_ilp32=yes
19872 else
19873   echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19875
19876 target_ilp32=no
19877 fi
19878 rm -f conftest.err conftest.$ac_objext \
19879       conftest$ac_exeext conftest.$ac_ext
19880   CFLAGS="$save_CFLAGS"
19881 fi
19882 echo "$as_me:$LINENO: result: $target_ilp32" >&5
19883 echo "${ECHO_T}$target_ilp32" >&6
19884   if test $target_ilp32 = yes; then
19885
19886 cat >>confdefs.h <<\_ACEOF
19887 #define TARGET_ILP32 1
19888 _ACEOF
19889
19890   fi
19891
19892
19893 # Check out attribute support.
19894
19895   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
19896 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
19897 if test "${have_attribute_visibility+set}" = set; then
19898   echo $ECHO_N "(cached) $ECHO_C" >&6
19899 else
19900
19901   save_CFLAGS="$CFLAGS"
19902   CFLAGS="$CFLAGS -Werror"
19903   cat >conftest.$ac_ext <<_ACEOF
19904 /* confdefs.h.  */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h.  */
19909 void __attribute__((visibility("hidden"))) foo(void) { }
19910 int
19911 main ()
19912 {
19913
19914   ;
19915   return 0;
19916 }
19917 _ACEOF
19918 rm -f conftest.$ac_objext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19920   (eval $ac_compile) 2>conftest.er1
19921   ac_status=$?
19922   grep -v '^ *+' conftest.er1 >conftest.err
19923   rm -f conftest.er1
19924   cat conftest.err >&5
19925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926   (exit $ac_status); } &&
19927          { ac_try='test -z "$ac_c_werror_flag"
19928                          || test ! -s conftest.err'
19929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930   (eval $ac_try) 2>&5
19931   ac_status=$?
19932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933   (exit $ac_status); }; } &&
19934          { ac_try='test -s conftest.$ac_objext'
19935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936   (eval $ac_try) 2>&5
19937   ac_status=$?
19938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939   (exit $ac_status); }; }; then
19940   have_attribute_visibility=yes
19941 else
19942   echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19944
19945 have_attribute_visibility=no
19946 fi
19947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19948   CFLAGS="$save_CFLAGS"
19949 fi
19950 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
19951 echo "${ECHO_T}$have_attribute_visibility" >&6
19952   if test $have_attribute_visibility = yes; then
19953
19954 cat >>confdefs.h <<\_ACEOF
19955 #define HAVE_ATTRIBUTE_VISIBILITY 1
19956 _ACEOF
19957
19958   fi
19959
19960   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
19961 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
19962 if test "${have_attribute_dllexport+set}" = set; then
19963   echo $ECHO_N "(cached) $ECHO_C" >&6
19964 else
19965
19966   save_CFLAGS="$CFLAGS"
19967   CFLAGS="$CFLAGS -Werror"
19968   cat >conftest.$ac_ext <<_ACEOF
19969 /* confdefs.h.  */
19970 _ACEOF
19971 cat confdefs.h >>conftest.$ac_ext
19972 cat >>conftest.$ac_ext <<_ACEOF
19973 /* end confdefs.h.  */
19974 void __attribute__((dllexport)) foo(void) { }
19975 int
19976 main ()
19977 {
19978
19979   ;
19980   return 0;
19981 }
19982 _ACEOF
19983 rm -f conftest.$ac_objext
19984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19985   (eval $ac_compile) 2>conftest.er1
19986   ac_status=$?
19987   grep -v '^ *+' conftest.er1 >conftest.err
19988   rm -f conftest.er1
19989   cat conftest.err >&5
19990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991   (exit $ac_status); } &&
19992          { ac_try='test -z "$ac_c_werror_flag"
19993                          || test ! -s conftest.err'
19994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995   (eval $ac_try) 2>&5
19996   ac_status=$?
19997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998   (exit $ac_status); }; } &&
19999          { ac_try='test -s conftest.$ac_objext'
20000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001   (eval $ac_try) 2>&5
20002   ac_status=$?
20003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004   (exit $ac_status); }; }; then
20005   have_attribute_dllexport=yes
20006 else
20007   echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.$ac_ext >&5
20009
20010 have_attribute_dllexport=no
20011 fi
20012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20013   CFLAGS="$save_CFLAGS"
20014 fi
20015 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
20016 echo "${ECHO_T}$have_attribute_dllexport" >&6
20017   if test $have_attribute_dllexport = yes; then
20018
20019 cat >>confdefs.h <<\_ACEOF
20020 #define HAVE_ATTRIBUTE_DLLEXPORT 1
20021 _ACEOF
20022
20023   fi
20024
20025   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
20026 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
20027 if test "${have_attribute_alias+set}" = set; then
20028   echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else
20030
20031   if test x$gcc_no_link = xyes; then
20032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20034    { (exit 1); exit 1; }; }
20035 fi
20036 cat >conftest.$ac_ext <<_ACEOF
20037 /* confdefs.h.  */
20038 _ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h.  */
20042
20043 #define ULP     STR1(__USER_LABEL_PREFIX__)
20044 #define STR1(x) STR2(x)
20045 #define STR2(x) #x
20046 void foo(void) { }
20047 extern void bar(void) __attribute__((alias(ULP "foo")));
20048 int
20049 main ()
20050 {
20051 bar();
20052   ;
20053   return 0;
20054 }
20055 _ACEOF
20056 rm -f conftest.$ac_objext conftest$ac_exeext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20058   (eval $ac_link) 2>conftest.er1
20059   ac_status=$?
20060   grep -v '^ *+' conftest.er1 >conftest.err
20061   rm -f conftest.er1
20062   cat conftest.err >&5
20063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064   (exit $ac_status); } &&
20065          { ac_try='test -z "$ac_c_werror_flag"
20066                          || test ! -s conftest.err'
20067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068   (eval $ac_try) 2>&5
20069   ac_status=$?
20070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071   (exit $ac_status); }; } &&
20072          { ac_try='test -s conftest$ac_exeext'
20073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074   (eval $ac_try) 2>&5
20075   ac_status=$?
20076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077   (exit $ac_status); }; }; then
20078   have_attribute_alias=yes
20079 else
20080   echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20082
20083 have_attribute_alias=no
20084 fi
20085 rm -f conftest.err conftest.$ac_objext \
20086       conftest$ac_exeext conftest.$ac_ext
20087 fi
20088 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
20089 echo "${ECHO_T}$have_attribute_alias" >&6
20090   if test $have_attribute_alias = yes; then
20091
20092 cat >>confdefs.h <<\_ACEOF
20093 #define HAVE_ATTRIBUTE_ALIAS 1
20094 _ACEOF
20095
20096   fi
20097
20098 # Various other checks on target
20099
20100   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
20101 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
20102 if test "${have_unlink_open_file+set}" = set; then
20103   echo $ECHO_N "(cached) $ECHO_C" >&6
20104 else
20105
20106   if test "$cross_compiling" = yes; then
20107
20108 case "${target}" in
20109   *mingw*) have_unlink_open_file=no ;;
20110   *) have_unlink_open_file=yes;;
20111 esac
20112 else
20113   cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h.  */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h.  */
20119
20120 #include <errno.h>
20121 #include <fcntl.h>
20122 #include <unistd.h>
20123 #include <sys/stat.h>
20124
20125 int main ()
20126 {
20127   int fd;
20128
20129   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
20130   if (fd <= 0)
20131     return 0;
20132   if (unlink ("testfile") == -1)
20133     return 1;
20134   write (fd, "This is a test\n", 15);
20135   close (fd);
20136
20137   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
20138     return 0;
20139   else
20140     return 1;
20141 }
20142 _ACEOF
20143 rm -f conftest$ac_exeext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20145   (eval $ac_link) 2>&5
20146   ac_status=$?
20147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150   (eval $ac_try) 2>&5
20151   ac_status=$?
20152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153   (exit $ac_status); }; }; then
20154   have_unlink_open_file=yes
20155 else
20156   echo "$as_me: program exited with status $ac_status" >&5
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20159
20160 ( exit $ac_status )
20161 have_unlink_open_file=no
20162 fi
20163 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20164 fi
20165 fi
20166 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
20167 echo "${ECHO_T}$have_unlink_open_file" >&6
20168 if test x"$have_unlink_open_file" = xyes; then
20169
20170 cat >>confdefs.h <<\_ACEOF
20171 #define HAVE_UNLINK_OPEN_FILE 1
20172 _ACEOF
20173
20174 fi
20175
20176 # Check whether line terminator is LF or CRLF
20177
20178   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
20179 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
20180 if test "${have_crlf+set}" = set; then
20181   echo $ECHO_N "(cached) $ECHO_C" >&6
20182 else
20183
20184   if test "$cross_compiling" = yes; then
20185
20186 case "${target}" in
20187   *mingw*) have_crlf=yes ;;
20188   *) have_crlf=no;;
20189 esac
20190 else
20191   cat >conftest.$ac_ext <<_ACEOF
20192 /* confdefs.h.  */
20193 _ACEOF
20194 cat confdefs.h >>conftest.$ac_ext
20195 cat >>conftest.$ac_ext <<_ACEOF
20196 /* end confdefs.h.  */
20197
20198 /* This test program should exit with status 0 if system uses a CRLF as
20199    line terminator, and status 1 otherwise.
20200    Since it is used to check for mingw systems, and should return 0 in any
20201    other case, in case of a failure we will not use CRLF.  */
20202 #include <sys/stat.h>
20203 #include <stdlib.h>
20204 #include <fcntl.h>
20205 #include <stdio.h>
20206
20207 int main ()
20208 {
20209 #ifndef O_BINARY
20210   exit(1);
20211 #else
20212   int fd, bytes;
20213   char buff[5];
20214
20215   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
20216   if (fd < 0)
20217     exit(1);
20218   if (write (fd, "\n", 1) < 0)
20219     perror ("write");
20220
20221   close (fd);
20222
20223   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
20224     exit(1);
20225   bytes = read (fd, buff, 5);
20226   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
20227     exit(0);
20228   else
20229     exit(1);
20230 #endif
20231 }
20232 _ACEOF
20233 rm -f conftest$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235   (eval $ac_link) 2>&5
20236   ac_status=$?
20237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240   (eval $ac_try) 2>&5
20241   ac_status=$?
20242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243   (exit $ac_status); }; }; then
20244   have_crlf=yes
20245 else
20246   echo "$as_me: program exited with status $ac_status" >&5
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20249
20250 ( exit $ac_status )
20251 have_crlf=no
20252 fi
20253 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20254 fi
20255 fi
20256 echo "$as_me:$LINENO: result: $have_crlf" >&5
20257 echo "${ECHO_T}$have_crlf" >&6
20258 if test x"$have_crlf" = xyes; then
20259
20260 cat >>confdefs.h <<\_ACEOF
20261 #define HAVE_CRLF 1
20262 _ACEOF
20263
20264 fi
20265
20266 cat >confcache <<\_ACEOF
20267 # This file is a shell script that caches the results of configure
20268 # tests run on this system so they can be shared between configure
20269 # scripts and configure runs, see configure's option --config-cache.
20270 # It is not useful on other systems.  If it contains results you don't
20271 # want to keep, you may remove or edit it.
20272 #
20273 # config.status only pays attention to the cache file if you give it
20274 # the --recheck option to rerun configure.
20275 #
20276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20278 # following values.
20279
20280 _ACEOF
20281
20282 # The following way of writing the cache mishandles newlines in values,
20283 # but we know of no workaround that is simple, portable, and efficient.
20284 # So, don't put newlines in cache variables' values.
20285 # Ultrix sh set writes to stderr and can't be redirected directly,
20286 # and sets the high bit in the cache file unless we assign to the vars.
20287 {
20288   (set) 2>&1 |
20289     case `(ac_space=' '; set | grep ac_space) 2>&1` in
20290     *ac_space=\ *)
20291       # `set' does not quote correctly, so add quotes (double-quote
20292       # substitution turns \\\\ into \\, and sed turns \\ into \).
20293       sed -n \
20294         "s/'/'\\\\''/g;
20295           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20296       ;;
20297     *)
20298       # `set' quotes correctly as required by POSIX, so do not add quotes.
20299       sed -n \
20300         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20301       ;;
20302     esac;
20303 } |
20304   sed '
20305      t clear
20306      : clear
20307      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20308      t end
20309      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20310      : end' >>confcache
20311 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20312   if test -w $cache_file; then
20313     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20314     cat confcache >$cache_file
20315   else
20316     echo "not updating unwritable cache $cache_file"
20317   fi
20318 fi
20319 rm -f confcache
20320
20321 if test ${multilib} = yes; then
20322   multilib_arg="--enable-multilib"
20323 else
20324   multilib_arg=
20325 fi
20326
20327 # Write our Makefile.
20328           ac_config_files="$ac_config_files Makefile"
20329
20330 cat >confcache <<\_ACEOF
20331 # This file is a shell script that caches the results of configure
20332 # tests run on this system so they can be shared between configure
20333 # scripts and configure runs, see configure's option --config-cache.
20334 # It is not useful on other systems.  If it contains results you don't
20335 # want to keep, you may remove or edit it.
20336 #
20337 # config.status only pays attention to the cache file if you give it
20338 # the --recheck option to rerun configure.
20339 #
20340 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20341 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20342 # following values.
20343
20344 _ACEOF
20345
20346 # The following way of writing the cache mishandles newlines in values,
20347 # but we know of no workaround that is simple, portable, and efficient.
20348 # So, don't put newlines in cache variables' values.
20349 # Ultrix sh set writes to stderr and can't be redirected directly,
20350 # and sets the high bit in the cache file unless we assign to the vars.
20351 {
20352   (set) 2>&1 |
20353     case `(ac_space=' '; set | grep ac_space) 2>&1` in
20354     *ac_space=\ *)
20355       # `set' does not quote correctly, so add quotes (double-quote
20356       # substitution turns \\\\ into \\, and sed turns \\ into \).
20357       sed -n \
20358         "s/'/'\\\\''/g;
20359           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20360       ;;
20361     *)
20362       # `set' quotes correctly as required by POSIX, so do not add quotes.
20363       sed -n \
20364         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20365       ;;
20366     esac;
20367 } |
20368   sed '
20369      t clear
20370      : clear
20371      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20372      t end
20373      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20374      : end' >>confcache
20375 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20376   if test -w $cache_file; then
20377     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20378     cat confcache >$cache_file
20379   else
20380     echo "not updating unwritable cache $cache_file"
20381   fi
20382 fi
20383 rm -f confcache
20384
20385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20386 # Let make expand exec_prefix.
20387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20388
20389 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20390 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20391 # trailing colons and then remove the whole line if VPATH becomes empty
20392 # (actually we leave an empty line to preserve line numbers).
20393 if test "x$srcdir" = x.; then
20394   ac_vpsub='/^[  ]*VPATH[        ]*=/{
20395 s/:*\$(srcdir):*/:/;
20396 s/:*\${srcdir}:*/:/;
20397 s/:*@srcdir@:*/:/;
20398 s/^\([^=]*=[     ]*\):*/\1/;
20399 s/:*$//;
20400 s/^[^=]*=[       ]*$//;
20401 }'
20402 fi
20403
20404 DEFS=-DHAVE_CONFIG_H
20405
20406 ac_libobjs=
20407 ac_ltlibobjs=
20408 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20409   # 1. Remove the extension, and $U if already installed.
20410   ac_i=`echo "$ac_i" |
20411          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20412   # 2. Add them.
20413   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20414   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20415 done
20416 LIBOBJS=$ac_libobjs
20417
20418 LTLIBOBJS=$ac_ltlibobjs
20419
20420
20421 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20422   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20423 Usually this means the macro was only invoked conditionally." >&5
20424 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20425 Usually this means the macro was only invoked conditionally." >&2;}
20426    { (exit 1); exit 1; }; }
20427 fi
20428
20429 : ${CONFIG_STATUS=./config.status}
20430 ac_clean_files_save=$ac_clean_files
20431 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20432 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20433 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20434 cat >$CONFIG_STATUS <<_ACEOF
20435 #! $SHELL
20436 # Generated by $as_me.
20437 # Run this file to recreate the current configuration.
20438 # Compiler output produced by configure, useful for debugging
20439 # configure, is in config.log if it exists.
20440
20441 debug=false
20442 ac_cs_recheck=false
20443 ac_cs_silent=false
20444 SHELL=\${CONFIG_SHELL-$SHELL}
20445 _ACEOF
20446
20447 cat >>$CONFIG_STATUS <<\_ACEOF
20448 ## --------------------- ##
20449 ## M4sh Initialization.  ##
20450 ## --------------------- ##
20451
20452 # Be Bourne compatible
20453 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20454   emulate sh
20455   NULLCMD=:
20456   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20457   # is contrary to our usage.  Disable this feature.
20458   alias -g '${1+"$@"}'='"$@"'
20459 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20460   set -o posix
20461 fi
20462 DUALCASE=1; export DUALCASE # for MKS sh
20463
20464 # Support unset when possible.
20465 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20466   as_unset=unset
20467 else
20468   as_unset=false
20469 fi
20470
20471
20472 # Work around bugs in pre-3.0 UWIN ksh.
20473 $as_unset ENV MAIL MAILPATH
20474 PS1='$ '
20475 PS2='> '
20476 PS4='+ '
20477
20478 # NLS nuisances.
20479 for as_var in \
20480   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20481   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20482   LC_TELEPHONE LC_TIME
20483 do
20484   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20485     eval $as_var=C; export $as_var
20486   else
20487     $as_unset $as_var
20488   fi
20489 done
20490
20491 # Required to use basename.
20492 if expr a : '\(a\)' >/dev/null 2>&1; then
20493   as_expr=expr
20494 else
20495   as_expr=false
20496 fi
20497
20498 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20499   as_basename=basename
20500 else
20501   as_basename=false
20502 fi
20503
20504
20505 # Name of the executable.
20506 as_me=`$as_basename "$0" ||
20507 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20508          X"$0" : 'X\(//\)$' \| \
20509          X"$0" : 'X\(/\)$' \| \
20510          .     : '\(.\)' 2>/dev/null ||
20511 echo X/"$0" |
20512     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20513           /^X\/\(\/\/\)$/{ s//\1/; q; }
20514           /^X\/\(\/\).*/{ s//\1/; q; }
20515           s/.*/./; q'`
20516
20517
20518 # PATH needs CR, and LINENO needs CR and PATH.
20519 # Avoid depending upon Character Ranges.
20520 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20521 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20522 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20523 as_cr_digits='0123456789'
20524 as_cr_alnum=$as_cr_Letters$as_cr_digits
20525
20526 # The user is always right.
20527 if test "${PATH_SEPARATOR+set}" != set; then
20528   echo "#! /bin/sh" >conf$$.sh
20529   echo  "exit 0"   >>conf$$.sh
20530   chmod +x conf$$.sh
20531   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20532     PATH_SEPARATOR=';'
20533   else
20534     PATH_SEPARATOR=:
20535   fi
20536   rm -f conf$$.sh
20537 fi
20538
20539
20540   as_lineno_1=$LINENO
20541   as_lineno_2=$LINENO
20542   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20543   test "x$as_lineno_1" != "x$as_lineno_2" &&
20544   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
20545   # Find who we are.  Look in the path if we contain no path at all
20546   # relative or not.
20547   case $0 in
20548     *[\\/]* ) as_myself=$0 ;;
20549     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20550 for as_dir in $PATH
20551 do
20552   IFS=$as_save_IFS
20553   test -z "$as_dir" && as_dir=.
20554   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20555 done
20556
20557        ;;
20558   esac
20559   # We did not find ourselves, most probably we were run as `sh COMMAND'
20560   # in which case we are not to be found in the path.
20561   if test "x$as_myself" = x; then
20562     as_myself=$0
20563   fi
20564   if test ! -f "$as_myself"; then
20565     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20566 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20567    { (exit 1); exit 1; }; }
20568   fi
20569   case $CONFIG_SHELL in
20570   '')
20571     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20572 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20573 do
20574   IFS=$as_save_IFS
20575   test -z "$as_dir" && as_dir=.
20576   for as_base in sh bash ksh sh5; do
20577          case $as_dir in
20578          /*)
20579            if ("$as_dir/$as_base" -c '
20580   as_lineno_1=$LINENO
20581   as_lineno_2=$LINENO
20582   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20583   test "x$as_lineno_1" != "x$as_lineno_2" &&
20584   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
20585              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20586              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20587              CONFIG_SHELL=$as_dir/$as_base
20588              export CONFIG_SHELL
20589              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20590            fi;;
20591          esac
20592        done
20593 done
20594 ;;
20595   esac
20596
20597   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20598   # uniformly replaced by the line number.  The first 'sed' inserts a
20599   # line-number line before each line; the second 'sed' does the real
20600   # work.  The second script uses 'N' to pair each line-number line
20601   # with the numbered line, and appends trailing '-' during
20602   # substitution so that $LINENO is not a special case at line end.
20603   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20604   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
20605   sed '=' <$as_myself |
20606     sed '
20607       N
20608       s,$,-,
20609       : loop
20610       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20611       t loop
20612       s,-$,,
20613       s,^['$as_cr_digits']*\n,,
20614     ' >$as_me.lineno &&
20615   chmod +x $as_me.lineno ||
20616     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20617 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20618    { (exit 1); exit 1; }; }
20619
20620   # Don't try to exec as it changes $[0], causing all sort of problems
20621   # (the dirname of $[0] is not the place where we might find the
20622   # original and so on.  Autoconf is especially sensible to this).
20623   . ./$as_me.lineno
20624   # Exit status is that of the last command.
20625   exit
20626 }
20627
20628
20629 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20630   *c*,-n*) ECHO_N= ECHO_C='
20631 ' ECHO_T='      ' ;;
20632   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20633   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
20634 esac
20635
20636 if expr a : '\(a\)' >/dev/null 2>&1; then
20637   as_expr=expr
20638 else
20639   as_expr=false
20640 fi
20641
20642 rm -f conf$$ conf$$.exe conf$$.file
20643 echo >conf$$.file
20644 if ln -s conf$$.file conf$$ 2>/dev/null; then
20645   # We could just check for DJGPP; but this test a) works b) is more generic
20646   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20647   if test -f conf$$.exe; then
20648     # Don't use ln at all; we don't have any links
20649     as_ln_s='cp -p'
20650   else
20651     as_ln_s='ln -s'
20652   fi
20653 elif ln conf$$.file conf$$ 2>/dev/null; then
20654   as_ln_s=ln
20655 else
20656   as_ln_s='cp -p'
20657 fi
20658 rm -f conf$$ conf$$.exe conf$$.file
20659
20660 if mkdir -p . 2>/dev/null; then
20661   as_mkdir_p=:
20662 else
20663   test -d ./-p && rmdir ./-p
20664   as_mkdir_p=false
20665 fi
20666
20667 as_executable_p="test -f"
20668
20669 # Sed expression to map a string onto a valid CPP name.
20670 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20671
20672 # Sed expression to map a string onto a valid variable name.
20673 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20674
20675
20676 # IFS
20677 # We need space, tab and new line, in precisely that order.
20678 as_nl='
20679 '
20680 IFS="   $as_nl"
20681
20682 # CDPATH.
20683 $as_unset CDPATH
20684
20685 exec 6>&1
20686
20687 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20688 # report actual input values of CONFIG_FILES etc. instead of their
20689 # values after options handling.  Logging --version etc. is OK.
20690 exec 5>>config.log
20691 {
20692   echo
20693   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20694 ## Running $as_me. ##
20695 _ASBOX
20696 } >&5
20697 cat >&5 <<_CSEOF
20698
20699 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
20700 generated by GNU Autoconf 2.59.  Invocation command line was
20701
20702   CONFIG_FILES    = $CONFIG_FILES
20703   CONFIG_HEADERS  = $CONFIG_HEADERS
20704   CONFIG_LINKS    = $CONFIG_LINKS
20705   CONFIG_COMMANDS = $CONFIG_COMMANDS
20706   $ $0 $@
20707
20708 _CSEOF
20709 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20710 echo >&5
20711 _ACEOF
20712
20713 # Files that config.status was made for.
20714 if test -n "$ac_config_files"; then
20715   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20716 fi
20717
20718 if test -n "$ac_config_headers"; then
20719   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20720 fi
20721
20722 if test -n "$ac_config_links"; then
20723   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20724 fi
20725
20726 if test -n "$ac_config_commands"; then
20727   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20728 fi
20729
20730 cat >>$CONFIG_STATUS <<\_ACEOF
20731
20732 ac_cs_usage="\
20733 \`$as_me' instantiates files from templates according to the
20734 current configuration.
20735
20736 Usage: $0 [OPTIONS] [FILE]...
20737
20738   -h, --help       print this help, then exit
20739   -V, --version    print version number, then exit
20740   -q, --quiet      do not print progress messages
20741   -d, --debug      don't remove temporary files
20742       --recheck    update $as_me by reconfiguring in the same conditions
20743   --file=FILE[:TEMPLATE]
20744                    instantiate the configuration file FILE
20745   --header=FILE[:TEMPLATE]
20746                    instantiate the configuration header FILE
20747
20748 Configuration files:
20749 $config_files
20750
20751 Configuration headers:
20752 $config_headers
20753
20754 Configuration commands:
20755 $config_commands
20756
20757 Report bugs to <bug-autoconf@gnu.org>."
20758 _ACEOF
20759
20760 cat >>$CONFIG_STATUS <<_ACEOF
20761 ac_cs_version="\\
20762 GNU Fortran Runtime Library config.status 0.2
20763 configured by $0, generated by GNU Autoconf 2.59,
20764   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20765
20766 Copyright (C) 2003 Free Software Foundation, Inc.
20767 This config.status script is free software; the Free Software Foundation
20768 gives unlimited permission to copy, distribute and modify it."
20769 srcdir=$srcdir
20770 INSTALL="$INSTALL"
20771 _ACEOF
20772
20773 cat >>$CONFIG_STATUS <<\_ACEOF
20774 # If no file are specified by the user, then we need to provide default
20775 # value.  By we need to know if files were specified by the user.
20776 ac_need_defaults=:
20777 while test $# != 0
20778 do
20779   case $1 in
20780   --*=*)
20781     ac_option=`expr "x$1" : 'x\([^=]*\)='`
20782     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20783     ac_shift=:
20784     ;;
20785   -*)
20786     ac_option=$1
20787     ac_optarg=$2
20788     ac_shift=shift
20789     ;;
20790   *) # This is not an option, so the user has probably given explicit
20791      # arguments.
20792      ac_option=$1
20793      ac_need_defaults=false;;
20794   esac
20795
20796   case $ac_option in
20797   # Handling of the options.
20798 _ACEOF
20799 cat >>$CONFIG_STATUS <<\_ACEOF
20800   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20801     ac_cs_recheck=: ;;
20802   --version | --vers* | -V )
20803     echo "$ac_cs_version"; exit 0 ;;
20804   --he | --h)
20805     # Conflict between --help and --header
20806     { { echo "$as_me:$LINENO: error: ambiguous option: $1
20807 Try \`$0 --help' for more information." >&5
20808 echo "$as_me: error: ambiguous option: $1
20809 Try \`$0 --help' for more information." >&2;}
20810    { (exit 1); exit 1; }; };;
20811   --help | --hel | -h )
20812     echo "$ac_cs_usage"; exit 0 ;;
20813   --debug | --d* | -d )
20814     debug=: ;;
20815   --file | --fil | --fi | --f )
20816     $ac_shift
20817     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20818     ac_need_defaults=false;;
20819   --header | --heade | --head | --hea )
20820     $ac_shift
20821     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20822     ac_need_defaults=false;;
20823   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20824   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20825     ac_cs_silent=: ;;
20826
20827   # This is an error.
20828   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20829 Try \`$0 --help' for more information." >&5
20830 echo "$as_me: error: unrecognized option: $1
20831 Try \`$0 --help' for more information." >&2;}
20832    { (exit 1); exit 1; }; } ;;
20833
20834   *) ac_config_targets="$ac_config_targets $1" ;;
20835
20836   esac
20837   shift
20838 done
20839
20840 ac_configure_extra_args=
20841
20842 if $ac_cs_silent; then
20843   exec 6>/dev/null
20844   ac_configure_extra_args="$ac_configure_extra_args --silent"
20845 fi
20846
20847 _ACEOF
20848 cat >>$CONFIG_STATUS <<_ACEOF
20849 if \$ac_cs_recheck; then
20850   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20851   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20852 fi
20853
20854 _ACEOF
20855
20856 cat >>$CONFIG_STATUS <<_ACEOF
20857 #
20858 # INIT-COMMANDS section.
20859 #
20860
20861
20862 srcdir="$srcdir"
20863 host="$host"
20864 target="$target"
20865 with_multisubdir="$with_multisubdir"
20866 with_multisrctop="$with_multisrctop"
20867 with_target_subdir="$with_target_subdir"
20868 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20869 multi_basedir="$multi_basedir"
20870 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20871 CC="$CC"
20872
20873 _ACEOF
20874
20875
20876
20877 cat >>$CONFIG_STATUS <<\_ACEOF
20878 for ac_config_target in $ac_config_targets
20879 do
20880   case "$ac_config_target" in
20881   # Handling of arguments.
20882   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20883   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
20884   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20885   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20886 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20887    { (exit 1); exit 1; }; };;
20888   esac
20889 done
20890
20891 # If the user did not use the arguments to specify the items to instantiate,
20892 # then the envvar interface is used.  Set only those that are not.
20893 # We use the long form for the default assignment because of an extremely
20894 # bizarre bug on SunOS 4.1.3.
20895 if $ac_need_defaults; then
20896   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20897   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20898   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20899 fi
20900
20901 # Have a temporary directory for convenience.  Make it in the build tree
20902 # simply because there is no reason to put it here, and in addition,
20903 # creating and moving files from /tmp can sometimes cause problems.
20904 # Create a temporary directory, and hook for its removal unless debugging.
20905 $debug ||
20906 {
20907   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20908   trap '{ (exit 1); exit 1; }' 1 2 13 15
20909 }
20910
20911 # Create a (secure) tmp directory for tmp files.
20912
20913 {
20914   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20915   test -n "$tmp" && test -d "$tmp"
20916 }  ||
20917 {
20918   tmp=./confstat$$-$RANDOM
20919   (umask 077 && mkdir $tmp)
20920 } ||
20921 {
20922    echo "$me: cannot create a temporary directory in ." >&2
20923    { (exit 1); exit 1; }
20924 }
20925
20926 _ACEOF
20927
20928 cat >>$CONFIG_STATUS <<_ACEOF
20929
20930 #
20931 # CONFIG_FILES section.
20932 #
20933
20934 # No need to generate the scripts if there are no CONFIG_FILES.
20935 # This happens for instance when ./config.status config.h
20936 if test -n "\$CONFIG_FILES"; then
20937   # Protect against being on the right side of a sed subst in config.status.
20938   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20939    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20940 s,@SHELL@,$SHELL,;t t
20941 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20942 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20943 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20944 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20945 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20946 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20947 s,@exec_prefix@,$exec_prefix,;t t
20948 s,@prefix@,$prefix,;t t
20949 s,@program_transform_name@,$program_transform_name,;t t
20950 s,@bindir@,$bindir,;t t
20951 s,@sbindir@,$sbindir,;t t
20952 s,@libexecdir@,$libexecdir,;t t
20953 s,@datadir@,$datadir,;t t
20954 s,@sysconfdir@,$sysconfdir,;t t
20955 s,@sharedstatedir@,$sharedstatedir,;t t
20956 s,@localstatedir@,$localstatedir,;t t
20957 s,@libdir@,$libdir,;t t
20958 s,@includedir@,$includedir,;t t
20959 s,@oldincludedir@,$oldincludedir,;t t
20960 s,@infodir@,$infodir,;t t
20961 s,@mandir@,$mandir,;t t
20962 s,@build_alias@,$build_alias,;t t
20963 s,@host_alias@,$host_alias,;t t
20964 s,@target_alias@,$target_alias,;t t
20965 s,@DEFS@,$DEFS,;t t
20966 s,@ECHO_C@,$ECHO_C,;t t
20967 s,@ECHO_N@,$ECHO_N,;t t
20968 s,@ECHO_T@,$ECHO_T,;t t
20969 s,@LIBS@,$LIBS,;t t
20970 s,@build@,$build,;t t
20971 s,@build_cpu@,$build_cpu,;t t
20972 s,@build_vendor@,$build_vendor,;t t
20973 s,@build_os@,$build_os,;t t
20974 s,@host@,$host,;t t
20975 s,@host_cpu@,$host_cpu,;t t
20976 s,@host_vendor@,$host_vendor,;t t
20977 s,@host_os@,$host_os,;t t
20978 s,@target@,$target,;t t
20979 s,@target_cpu@,$target_cpu,;t t
20980 s,@target_vendor@,$target_vendor,;t t
20981 s,@target_os@,$target_os,;t t
20982 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20983 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20984 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20985 s,@CYGPATH_W@,$CYGPATH_W,;t t
20986 s,@PACKAGE@,$PACKAGE,;t t
20987 s,@VERSION@,$VERSION,;t t
20988 s,@ACLOCAL@,$ACLOCAL,;t t
20989 s,@AUTOCONF@,$AUTOCONF,;t t
20990 s,@AUTOMAKE@,$AUTOMAKE,;t t
20991 s,@AUTOHEADER@,$AUTOHEADER,;t t
20992 s,@MAKEINFO@,$MAKEINFO,;t t
20993 s,@install_sh@,$install_sh,;t t
20994 s,@STRIP@,$STRIP,;t t
20995 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20996 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20997 s,@mkdir_p@,$mkdir_p,;t t
20998 s,@AWK@,$AWK,;t t
20999 s,@SET_MAKE@,$SET_MAKE,;t t
21000 s,@am__leading_dot@,$am__leading_dot,;t t
21001 s,@AMTAR@,$AMTAR,;t t
21002 s,@am__tar@,$am__tar,;t t
21003 s,@am__untar@,$am__untar,;t t
21004 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21005 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21006 s,@MAINT@,$MAINT,;t t
21007 s,@multi_basedir@,$multi_basedir,;t t
21008 s,@toolexecdir@,$toolexecdir,;t t
21009 s,@toolexeclibdir@,$toolexeclibdir,;t t
21010 s,@CC@,$CC,;t t
21011 s,@ac_ct_CC@,$ac_ct_CC,;t t
21012 s,@EXEEXT@,$EXEEXT,;t t
21013 s,@OBJEXT@,$OBJEXT,;t t
21014 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
21015 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
21016 s,@AS@,$AS,;t t
21017 s,@ac_ct_AS@,$ac_ct_AS,;t t
21018 s,@AR@,$AR,;t t
21019 s,@ac_ct_AR@,$ac_ct_AR,;t t
21020 s,@RANLIB@,$RANLIB,;t t
21021 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21022 s,@LN_S@,$LN_S,;t t
21023 s,@LIBTOOL@,$LIBTOOL,;t t
21024 s,@enable_shared@,$enable_shared,;t t
21025 s,@enable_static@,$enable_static,;t t
21026 s,@FC@,$FC,;t t
21027 s,@FCFLAGS@,$FCFLAGS,;t t
21028 s,@LDFLAGS@,$LDFLAGS,;t t
21029 s,@ac_ct_FC@,$ac_ct_FC,;t t
21030 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
21031 s,@CPP@,$CPP,;t t
21032 s,@CPPFLAGS@,$CPPFLAGS,;t t
21033 s,@EGREP@,$EGREP,;t t
21034 s,@LIBOBJS@,$LIBOBJS,;t t
21035 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21036 CEOF
21037
21038 _ACEOF
21039
21040   cat >>$CONFIG_STATUS <<\_ACEOF
21041   # Split the substitutions into bite-sized pieces for seds with
21042   # small command number limits, like on Digital OSF/1 and HP-UX.
21043   ac_max_sed_lines=48
21044   ac_sed_frag=1 # Number of current file.
21045   ac_beg=1 # First line for current file.
21046   ac_end=$ac_max_sed_lines # Line after last line for current file.
21047   ac_more_lines=:
21048   ac_sed_cmds=
21049   while $ac_more_lines; do
21050     if test $ac_beg -gt 1; then
21051       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21052     else
21053       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21054     fi
21055     if test ! -s $tmp/subs.frag; then
21056       ac_more_lines=false
21057     else
21058       # The purpose of the label and of the branching condition is to
21059       # speed up the sed processing (if there are no `@' at all, there
21060       # is no need to browse any of the substitutions).
21061       # These are the two extra sed commands mentioned above.
21062       (echo ':t
21063   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21064       if test -z "$ac_sed_cmds"; then
21065         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21066       else
21067         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21068       fi
21069       ac_sed_frag=`expr $ac_sed_frag + 1`
21070       ac_beg=$ac_end
21071       ac_end=`expr $ac_end + $ac_max_sed_lines`
21072     fi
21073   done
21074   if test -z "$ac_sed_cmds"; then
21075     ac_sed_cmds=cat
21076   fi
21077 fi # test -n "$CONFIG_FILES"
21078
21079 _ACEOF
21080 cat >>$CONFIG_STATUS <<\_ACEOF
21081 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21082   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21083   case $ac_file in
21084   - | *:- | *:-:* ) # input from stdin
21085         cat >$tmp/stdin
21086         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21087         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21088   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21089         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21090   * )   ac_file_in=$ac_file.in ;;
21091   esac
21092
21093   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21094   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21096          X"$ac_file" : 'X\(//\)[^/]' \| \
21097          X"$ac_file" : 'X\(//\)$' \| \
21098          X"$ac_file" : 'X\(/\)' \| \
21099          .     : '\(.\)' 2>/dev/null ||
21100 echo X"$ac_file" |
21101     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21102           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21103           /^X\(\/\/\)$/{ s//\1/; q; }
21104           /^X\(\/\).*/{ s//\1/; q; }
21105           s/.*/./; q'`
21106   { if $as_mkdir_p; then
21107     mkdir -p "$ac_dir"
21108   else
21109     as_dir="$ac_dir"
21110     as_dirs=
21111     while test ! -d "$as_dir"; do
21112       as_dirs="$as_dir $as_dirs"
21113       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21115          X"$as_dir" : 'X\(//\)[^/]' \| \
21116          X"$as_dir" : 'X\(//\)$' \| \
21117          X"$as_dir" : 'X\(/\)' \| \
21118          .     : '\(.\)' 2>/dev/null ||
21119 echo X"$as_dir" |
21120     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21121           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21122           /^X\(\/\/\)$/{ s//\1/; q; }
21123           /^X\(\/\).*/{ s//\1/; q; }
21124           s/.*/./; q'`
21125     done
21126     test ! -n "$as_dirs" || mkdir $as_dirs
21127   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21128 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21129    { (exit 1); exit 1; }; }; }
21130
21131   ac_builddir=.
21132
21133 if test "$ac_dir" != .; then
21134   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21135   # A "../" for each directory in $ac_dir_suffix.
21136   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21137 else
21138   ac_dir_suffix= ac_top_builddir=
21139 fi
21140
21141 case $srcdir in
21142   .)  # No --srcdir option.  We are building in place.
21143     ac_srcdir=.
21144     if test -z "$ac_top_builddir"; then
21145        ac_top_srcdir=.
21146     else
21147        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21148     fi ;;
21149   [\\/]* | ?:[\\/]* )  # Absolute path.
21150     ac_srcdir=$srcdir$ac_dir_suffix;
21151     ac_top_srcdir=$srcdir ;;
21152   *) # Relative path.
21153     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21154     ac_top_srcdir=$ac_top_builddir$srcdir ;;
21155 esac
21156
21157 # Do not use `cd foo && pwd` to compute absolute paths, because
21158 # the directories may not exist.
21159 case `pwd` in
21160 .) ac_abs_builddir="$ac_dir";;
21161 *)
21162   case "$ac_dir" in
21163   .) ac_abs_builddir=`pwd`;;
21164   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21165   *) ac_abs_builddir=`pwd`/"$ac_dir";;
21166   esac;;
21167 esac
21168 case $ac_abs_builddir in
21169 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21170 *)
21171   case ${ac_top_builddir}. in
21172   .) ac_abs_top_builddir=$ac_abs_builddir;;
21173   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21174   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21175   esac;;
21176 esac
21177 case $ac_abs_builddir in
21178 .) ac_abs_srcdir=$ac_srcdir;;
21179 *)
21180   case $ac_srcdir in
21181   .) ac_abs_srcdir=$ac_abs_builddir;;
21182   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21183   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21184   esac;;
21185 esac
21186 case $ac_abs_builddir in
21187 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21188 *)
21189   case $ac_top_srcdir in
21190   .) ac_abs_top_srcdir=$ac_abs_builddir;;
21191   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21192   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21193   esac;;
21194 esac
21195
21196
21197   case $INSTALL in
21198   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21199   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21200   esac
21201
21202   if test x"$ac_file" != x-; then
21203     { echo "$as_me:$LINENO: creating $ac_file" >&5
21204 echo "$as_me: creating $ac_file" >&6;}
21205     rm -f "$ac_file"
21206   fi
21207   # Let's still pretend it is `configure' which instantiates (i.e., don't
21208   # use $as_me), people would be surprised to read:
21209   #    /* config.h.  Generated by config.status.  */
21210   if test x"$ac_file" = x-; then
21211     configure_input=
21212   else
21213     configure_input="$ac_file.  "
21214   fi
21215   configure_input=$configure_input"Generated from `echo $ac_file_in |
21216                                      sed 's,.*/,,'` by configure."
21217
21218   # First look for the input files in the build tree, otherwise in the
21219   # src tree.
21220   ac_file_inputs=`IFS=:
21221     for f in $ac_file_in; do
21222       case $f in
21223       -) echo $tmp/stdin ;;
21224       [\\/$]*)
21225          # Absolute (can't be DOS-style, as IFS=:)
21226          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21227 echo "$as_me: error: cannot find input file: $f" >&2;}
21228    { (exit 1); exit 1; }; }
21229          echo "$f";;
21230       *) # Relative
21231          if test -f "$f"; then
21232            # Build tree
21233            echo "$f"
21234          elif test -f "$srcdir/$f"; then
21235            # Source tree
21236            echo "$srcdir/$f"
21237          else
21238            # /dev/null tree
21239            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21240 echo "$as_me: error: cannot find input file: $f" >&2;}
21241    { (exit 1); exit 1; }; }
21242          fi;;
21243       esac
21244     done` || { (exit 1); exit 1; }
21245 _ACEOF
21246 cat >>$CONFIG_STATUS <<_ACEOF
21247   sed "$ac_vpsub
21248 $extrasub
21249 _ACEOF
21250 cat >>$CONFIG_STATUS <<\_ACEOF
21251 :t
21252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21253 s,@configure_input@,$configure_input,;t t
21254 s,@srcdir@,$ac_srcdir,;t t
21255 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21256 s,@top_srcdir@,$ac_top_srcdir,;t t
21257 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21258 s,@builddir@,$ac_builddir,;t t
21259 s,@abs_builddir@,$ac_abs_builddir,;t t
21260 s,@top_builddir@,$ac_top_builddir,;t t
21261 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21262 s,@INSTALL@,$ac_INSTALL,;t t
21263 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21264   rm -f $tmp/stdin
21265   if test x"$ac_file" != x-; then
21266     mv $tmp/out $ac_file
21267   else
21268     cat $tmp/out
21269     rm -f $tmp/out
21270   fi
21271
21272 done
21273 _ACEOF
21274 cat >>$CONFIG_STATUS <<\_ACEOF
21275
21276 #
21277 # CONFIG_HEADER section.
21278 #
21279
21280 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21281 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21282 #
21283 # ac_d sets the value in "#define NAME VALUE" lines.
21284 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
21285 ac_dB='[         ].*$,\1#\2'
21286 ac_dC=' '
21287 ac_dD=',;t'
21288 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21289 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
21290 ac_uB='$,\1#\2define\3'
21291 ac_uC=' '
21292 ac_uD=',;t'
21293
21294 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21295   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21296   case $ac_file in
21297   - | *:- | *:-:* ) # input from stdin
21298         cat >$tmp/stdin
21299         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21300         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21301   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21302         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21303   * )   ac_file_in=$ac_file.in ;;
21304   esac
21305
21306   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21307 echo "$as_me: creating $ac_file" >&6;}
21308
21309   # First look for the input files in the build tree, otherwise in the
21310   # src tree.
21311   ac_file_inputs=`IFS=:
21312     for f in $ac_file_in; do
21313       case $f in
21314       -) echo $tmp/stdin ;;
21315       [\\/$]*)
21316          # Absolute (can't be DOS-style, as IFS=:)
21317          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21318 echo "$as_me: error: cannot find input file: $f" >&2;}
21319    { (exit 1); exit 1; }; }
21320          # Do quote $f, to prevent DOS paths from being IFS'd.
21321          echo "$f";;
21322       *) # Relative
21323          if test -f "$f"; then
21324            # Build tree
21325            echo "$f"
21326          elif test -f "$srcdir/$f"; then
21327            # Source tree
21328            echo "$srcdir/$f"
21329          else
21330            # /dev/null tree
21331            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21332 echo "$as_me: error: cannot find input file: $f" >&2;}
21333    { (exit 1); exit 1; }; }
21334          fi;;
21335       esac
21336     done` || { (exit 1); exit 1; }
21337   # Remove the trailing spaces.
21338   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
21339
21340 _ACEOF
21341
21342 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21343 # `conftest.undefs', that substitutes the proper values into
21344 # config.h.in to produce config.h.  The first handles `#define'
21345 # templates, and the second `#undef' templates.
21346 # And first: Protect against being on the right side of a sed subst in
21347 # config.status.  Protect against being in an unquoted here document
21348 # in config.status.
21349 rm -f conftest.defines conftest.undefs
21350 # Using a here document instead of a string reduces the quoting nightmare.
21351 # Putting comments in sed scripts is not portable.
21352 #
21353 # `end' is used to avoid that the second main sed command (meant for
21354 # 0-ary CPP macros) applies to n-ary macro definitions.
21355 # See the Autoconf documentation for `clear'.
21356 cat >confdef2sed.sed <<\_ACEOF
21357 s/[\\&,]/\\&/g
21358 s,[\\$`],\\&,g
21359 t clear
21360 : clear
21361 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21362 t end
21363 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21364 : end
21365 _ACEOF
21366 # If some macros were called several times there might be several times
21367 # the same #defines, which is useless.  Nevertheless, we may not want to
21368 # sort them, since we want the *last* AC-DEFINE to be honored.
21369 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21370 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21371 rm -f confdef2sed.sed
21372
21373 # This sed command replaces #undef with comments.  This is necessary, for
21374 # example, in the case of _POSIX_SOURCE, which is predefined and required
21375 # on some systems where configure will not decide to define it.
21376 cat >>conftest.undefs <<\_ACEOF
21377 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21378 _ACEOF
21379
21380 # Break up conftest.defines because some shells have a limit on the size
21381 # of here documents, and old seds have small limits too (100 cmds).
21382 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21383 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21384 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21385 echo '  :' >>$CONFIG_STATUS
21386 rm -f conftest.tail
21387 while grep . conftest.defines >/dev/null
21388 do
21389   # Write a limited-size here document to $tmp/defines.sed.
21390   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21391   # Speed up: don't consider the non `#define' lines.
21392   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
21393   # Work around the forget-to-reset-the-flag bug.
21394   echo 't clr' >>$CONFIG_STATUS
21395   echo ': clr' >>$CONFIG_STATUS
21396   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21397   echo 'CEOF
21398   sed -f $tmp/defines.sed $tmp/in >$tmp/out
21399   rm -f $tmp/in
21400   mv $tmp/out $tmp/in
21401 ' >>$CONFIG_STATUS
21402   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21403   rm -f conftest.defines
21404   mv conftest.tail conftest.defines
21405 done
21406 rm -f conftest.defines
21407 echo '  fi # grep' >>$CONFIG_STATUS
21408 echo >>$CONFIG_STATUS
21409
21410 # Break up conftest.undefs because some shells have a limit on the size
21411 # of here documents, and old seds have small limits too (100 cmds).
21412 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
21413 rm -f conftest.tail
21414 while grep . conftest.undefs >/dev/null
21415 do
21416   # Write a limited-size here document to $tmp/undefs.sed.
21417   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21418   # Speed up: don't consider the non `#undef'
21419   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
21420   # Work around the forget-to-reset-the-flag bug.
21421   echo 't clr' >>$CONFIG_STATUS
21422   echo ': clr' >>$CONFIG_STATUS
21423   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21424   echo 'CEOF
21425   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21426   rm -f $tmp/in
21427   mv $tmp/out $tmp/in
21428 ' >>$CONFIG_STATUS
21429   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21430   rm -f conftest.undefs
21431   mv conftest.tail conftest.undefs
21432 done
21433 rm -f conftest.undefs
21434
21435 cat >>$CONFIG_STATUS <<\_ACEOF
21436   # Let's still pretend it is `configure' which instantiates (i.e., don't
21437   # use $as_me), people would be surprised to read:
21438   #    /* config.h.  Generated by config.status.  */
21439   if test x"$ac_file" = x-; then
21440     echo "/* Generated by configure.  */" >$tmp/config.h
21441   else
21442     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
21443   fi
21444   cat $tmp/in >>$tmp/config.h
21445   rm -f $tmp/in
21446   if test x"$ac_file" != x-; then
21447     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21448       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21449 echo "$as_me: $ac_file is unchanged" >&6;}
21450     else
21451       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21452 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21453          X"$ac_file" : 'X\(//\)[^/]' \| \
21454          X"$ac_file" : 'X\(//\)$' \| \
21455          X"$ac_file" : 'X\(/\)' \| \
21456          .     : '\(.\)' 2>/dev/null ||
21457 echo X"$ac_file" |
21458     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21459           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21460           /^X\(\/\/\)$/{ s//\1/; q; }
21461           /^X\(\/\).*/{ s//\1/; q; }
21462           s/.*/./; q'`
21463       { if $as_mkdir_p; then
21464     mkdir -p "$ac_dir"
21465   else
21466     as_dir="$ac_dir"
21467     as_dirs=
21468     while test ! -d "$as_dir"; do
21469       as_dirs="$as_dir $as_dirs"
21470       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21471 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21472          X"$as_dir" : 'X\(//\)[^/]' \| \
21473          X"$as_dir" : 'X\(//\)$' \| \
21474          X"$as_dir" : 'X\(/\)' \| \
21475          .     : '\(.\)' 2>/dev/null ||
21476 echo X"$as_dir" |
21477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21478           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21479           /^X\(\/\/\)$/{ s//\1/; q; }
21480           /^X\(\/\).*/{ s//\1/; q; }
21481           s/.*/./; q'`
21482     done
21483     test ! -n "$as_dirs" || mkdir $as_dirs
21484   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21485 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21486    { (exit 1); exit 1; }; }; }
21487
21488       rm -f $ac_file
21489       mv $tmp/config.h $ac_file
21490     fi
21491   else
21492     cat $tmp/config.h
21493     rm -f $tmp/config.h
21494   fi
21495 # Compute $ac_file's index in $config_headers.
21496 _am_stamp_count=1
21497 for _am_header in $config_headers :; do
21498   case $_am_header in
21499     $ac_file | $ac_file:* )
21500       break ;;
21501     * )
21502       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21503   esac
21504 done
21505 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21506 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21507          X$ac_file : 'X\(//\)[^/]' \| \
21508          X$ac_file : 'X\(//\)$' \| \
21509          X$ac_file : 'X\(/\)' \| \
21510          .     : '\(.\)' 2>/dev/null ||
21511 echo X$ac_file |
21512     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21513           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21514           /^X\(\/\/\)$/{ s//\1/; q; }
21515           /^X\(\/\).*/{ s//\1/; q; }
21516           s/.*/./; q'`/stamp-h$_am_stamp_count
21517 done
21518 _ACEOF
21519 cat >>$CONFIG_STATUS <<\_ACEOF
21520
21521 #
21522 # CONFIG_COMMANDS section.
21523 #
21524 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21525   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21526   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21527   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21528 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21529          X"$ac_dest" : 'X\(//\)[^/]' \| \
21530          X"$ac_dest" : 'X\(//\)$' \| \
21531          X"$ac_dest" : 'X\(/\)' \| \
21532          .     : '\(.\)' 2>/dev/null ||
21533 echo X"$ac_dest" |
21534     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21535           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21536           /^X\(\/\/\)$/{ s//\1/; q; }
21537           /^X\(\/\).*/{ s//\1/; q; }
21538           s/.*/./; q'`
21539   { if $as_mkdir_p; then
21540     mkdir -p "$ac_dir"
21541   else
21542     as_dir="$ac_dir"
21543     as_dirs=
21544     while test ! -d "$as_dir"; do
21545       as_dirs="$as_dir $as_dirs"
21546       as_dir=`(dirname "$as_dir") 2>/dev/null ||
21547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21548          X"$as_dir" : 'X\(//\)[^/]' \| \
21549          X"$as_dir" : 'X\(//\)$' \| \
21550          X"$as_dir" : 'X\(/\)' \| \
21551          .     : '\(.\)' 2>/dev/null ||
21552 echo X"$as_dir" |
21553     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21554           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21555           /^X\(\/\/\)$/{ s//\1/; q; }
21556           /^X\(\/\).*/{ s//\1/; q; }
21557           s/.*/./; q'`
21558     done
21559     test ! -n "$as_dirs" || mkdir $as_dirs
21560   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21561 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21562    { (exit 1); exit 1; }; }; }
21563
21564   ac_builddir=.
21565
21566 if test "$ac_dir" != .; then
21567   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21568   # A "../" for each directory in $ac_dir_suffix.
21569   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21570 else
21571   ac_dir_suffix= ac_top_builddir=
21572 fi
21573
21574 case $srcdir in
21575   .)  # No --srcdir option.  We are building in place.
21576     ac_srcdir=.
21577     if test -z "$ac_top_builddir"; then
21578        ac_top_srcdir=.
21579     else
21580        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21581     fi ;;
21582   [\\/]* | ?:[\\/]* )  # Absolute path.
21583     ac_srcdir=$srcdir$ac_dir_suffix;
21584     ac_top_srcdir=$srcdir ;;
21585   *) # Relative path.
21586     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21587     ac_top_srcdir=$ac_top_builddir$srcdir ;;
21588 esac
21589
21590 # Do not use `cd foo && pwd` to compute absolute paths, because
21591 # the directories may not exist.
21592 case `pwd` in
21593 .) ac_abs_builddir="$ac_dir";;
21594 *)
21595   case "$ac_dir" in
21596   .) ac_abs_builddir=`pwd`;;
21597   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21598   *) ac_abs_builddir=`pwd`/"$ac_dir";;
21599   esac;;
21600 esac
21601 case $ac_abs_builddir in
21602 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21603 *)
21604   case ${ac_top_builddir}. in
21605   .) ac_abs_top_builddir=$ac_abs_builddir;;
21606   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21607   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21608   esac;;
21609 esac
21610 case $ac_abs_builddir in
21611 .) ac_abs_srcdir=$ac_srcdir;;
21612 *)
21613   case $ac_srcdir in
21614   .) ac_abs_srcdir=$ac_abs_builddir;;
21615   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21616   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21617   esac;;
21618 esac
21619 case $ac_abs_builddir in
21620 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21621 *)
21622   case $ac_top_srcdir in
21623   .) ac_abs_top_srcdir=$ac_abs_builddir;;
21624   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21625   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21626   esac;;
21627 esac
21628
21629
21630   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21631 echo "$as_me: executing $ac_dest commands" >&6;}
21632   case $ac_dest in
21633     default-1 )
21634 # Only add multilib support code if we just rebuilt the top-level
21635 # Makefile.
21636 case " $CONFIG_FILES " in
21637  *" Makefile "*)
21638    ac_file=Makefile . ${multi_basedir}/config-ml.in
21639    ;;
21640 esac ;;
21641   esac
21642 done
21643 _ACEOF
21644
21645 cat >>$CONFIG_STATUS <<\_ACEOF
21646
21647 { (exit 0); exit 0; }
21648 _ACEOF
21649 chmod +x $CONFIG_STATUS
21650 ac_clean_files=$ac_clean_files_save
21651
21652
21653 # configure is writing to config.log, and then calls config.status.
21654 # config.status does its own redirection, appending to config.log.
21655 # Unfortunately, on DOS this fails, as config.log is still kept open
21656 # by configure, so config.status won't be able to write to it; its
21657 # output is simply discarded.  So we exec the FD to /dev/null,
21658 # effectively closing config.log, so it can be properly (re)opened and
21659 # appended to by config.status.  When coming back to configure, we
21660 # need to make the FD available again.
21661 if test "$no_create" != yes; then
21662   ac_cs_success=:
21663   ac_config_status_args=
21664   test "$silent" = yes &&
21665     ac_config_status_args="$ac_config_status_args --quiet"
21666   exec 5>/dev/null
21667   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21668   exec 5>>config.log
21669   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21670   # would make configure fail if this is the last instruction.
21671   $ac_cs_success || { (exit 1); exit 1; }
21672 fi
21673