OSDN Git Service

config:
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
273
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 #  include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 #  include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 #  include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355   # If the previous option needs an argument, assign it.
356   if test -n "$ac_prev"; then
357     eval "$ac_prev=\$ac_option"
358     ac_prev=
359     continue
360   fi
361
362   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364   # Accept the important Cygnus configure options, so we can diagnose typos.
365
366   case $ac_option in
367
368   -bindir | --bindir | --bindi | --bind | --bin | --bi)
369     ac_prev=bindir ;;
370   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371     bindir=$ac_optarg ;;
372
373   -build | --build | --buil | --bui | --bu)
374     ac_prev=build_alias ;;
375   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376     build_alias=$ac_optarg ;;
377
378   -cache-file | --cache-file | --cache-fil | --cache-fi \
379   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380     ac_prev=cache_file ;;
381   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383     cache_file=$ac_optarg ;;
384
385   --config-cache | -C)
386     cache_file=config.cache ;;
387
388   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389     ac_prev=datadir ;;
390   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391   | --da=*)
392     datadir=$ac_optarg ;;
393
394   -disable-* | --disable-*)
395     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396     # Reject names that are not valid shell variable names.
397     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399    { (exit 1); exit 1; }; }
400     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401     eval "enable_$ac_feature=no" ;;
402
403   -enable-* | --enable-*)
404     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405     # Reject names that are not valid shell variable names.
406     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408    { (exit 1); exit 1; }; }
409     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410     case $ac_option in
411       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412       *) ac_optarg=yes ;;
413     esac
414     eval "enable_$ac_feature='$ac_optarg'" ;;
415
416   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418   | --exec | --exe | --ex)
419     ac_prev=exec_prefix ;;
420   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422   | --exec=* | --exe=* | --ex=*)
423     exec_prefix=$ac_optarg ;;
424
425   -gas | --gas | --ga | --g)
426     # Obsolete; use --with-gas.
427     with_gas=yes ;;
428
429   -help | --help | --hel | --he | -h)
430     ac_init_help=long ;;
431   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432     ac_init_help=recursive ;;
433   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434     ac_init_help=short ;;
435
436   -host | --host | --hos | --ho)
437     ac_prev=host_alias ;;
438   -host=* | --host=* | --hos=* | --ho=*)
439     host_alias=$ac_optarg ;;
440
441   -includedir | --includedir | --includedi | --included | --include \
442   | --includ | --inclu | --incl | --inc)
443     ac_prev=includedir ;;
444   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445   | --includ=* | --inclu=* | --incl=* | --inc=*)
446     includedir=$ac_optarg ;;
447
448   -infodir | --infodir | --infodi | --infod | --info | --inf)
449     ac_prev=infodir ;;
450   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451     infodir=$ac_optarg ;;
452
453   -libdir | --libdir | --libdi | --libd)
454     ac_prev=libdir ;;
455   -libdir=* | --libdir=* | --libdi=* | --libd=*)
456     libdir=$ac_optarg ;;
457
458   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459   | --libexe | --libex | --libe)
460     ac_prev=libexecdir ;;
461   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462   | --libexe=* | --libex=* | --libe=*)
463     libexecdir=$ac_optarg ;;
464
465   -localstatedir | --localstatedir | --localstatedi | --localstated \
466   | --localstate | --localstat | --localsta | --localst \
467   | --locals | --local | --loca | --loc | --lo)
468     ac_prev=localstatedir ;;
469   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472     localstatedir=$ac_optarg ;;
473
474   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475     ac_prev=mandir ;;
476   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477     mandir=$ac_optarg ;;
478
479   -nfp | --nfp | --nf)
480     # Obsolete; use --without-fp.
481     with_fp=no ;;
482
483   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484   | --no-cr | --no-c | -n)
485     no_create=yes ;;
486
487   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489     no_recursion=yes ;;
490
491   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493   | --oldin | --oldi | --old | --ol | --o)
494     ac_prev=oldincludedir ;;
495   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498     oldincludedir=$ac_optarg ;;
499
500   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501     ac_prev=prefix ;;
502   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503     prefix=$ac_optarg ;;
504
505   -program-prefix | --program-prefix | --program-prefi | --program-pref \
506   | --program-pre | --program-pr | --program-p)
507     ac_prev=program_prefix ;;
508   -program-prefix=* | --program-prefix=* | --program-prefi=* \
509   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510     program_prefix=$ac_optarg ;;
511
512   -program-suffix | --program-suffix | --program-suffi | --program-suff \
513   | --program-suf | --program-su | --program-s)
514     ac_prev=program_suffix ;;
515   -program-suffix=* | --program-suffix=* | --program-suffi=* \
516   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517     program_suffix=$ac_optarg ;;
518
519   -program-transform-name | --program-transform-name \
520   | --program-transform-nam | --program-transform-na \
521   | --program-transform-n | --program-transform- \
522   | --program-transform | --program-transfor \
523   | --program-transfo | --program-transf \
524   | --program-trans | --program-tran \
525   | --progr-tra | --program-tr | --program-t)
526     ac_prev=program_transform_name ;;
527   -program-transform-name=* | --program-transform-name=* \
528   | --program-transform-nam=* | --program-transform-na=* \
529   | --program-transform-n=* | --program-transform-=* \
530   | --program-transform=* | --program-transfor=* \
531   | --program-transfo=* | --program-transf=* \
532   | --program-trans=* | --program-tran=* \
533   | --progr-tra=* | --program-tr=* | --program-t=*)
534     program_transform_name=$ac_optarg ;;
535
536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537   | -silent | --silent | --silen | --sile | --sil)
538     silent=yes ;;
539
540   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541     ac_prev=sbindir ;;
542   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543   | --sbi=* | --sb=*)
544     sbindir=$ac_optarg ;;
545
546   -sharedstatedir | --sharedstatedir | --sharedstatedi \
547   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548   | --sharedst | --shareds | --shared | --share | --shar \
549   | --sha | --sh)
550     ac_prev=sharedstatedir ;;
551   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554   | --sha=* | --sh=*)
555     sharedstatedir=$ac_optarg ;;
556
557   -site | --site | --sit)
558     ac_prev=site ;;
559   -site=* | --site=* | --sit=*)
560     site=$ac_optarg ;;
561
562   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563     ac_prev=srcdir ;;
564   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565     srcdir=$ac_optarg ;;
566
567   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568   | --syscon | --sysco | --sysc | --sys | --sy)
569     ac_prev=sysconfdir ;;
570   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572     sysconfdir=$ac_optarg ;;
573
574   -target | --target | --targe | --targ | --tar | --ta | --t)
575     ac_prev=target_alias ;;
576   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577     target_alias=$ac_optarg ;;
578
579   -v | -verbose | --verbose | --verbos | --verbo | --verb)
580     verbose=yes ;;
581
582   -version | --version | --versio | --versi | --vers | -V)
583     ac_init_version=: ;;
584
585   -with-* | --with-*)
586     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587     # Reject names that are not valid shell variable names.
588     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589       { echo "$as_me: error: invalid package name: $ac_package" >&2
590    { (exit 1); exit 1; }; }
591     ac_package=`echo $ac_package| sed 's/-/_/g'`
592     case $ac_option in
593       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594       *) ac_optarg=yes ;;
595     esac
596     eval "with_$ac_package='$ac_optarg'" ;;
597
598   -without-* | --without-*)
599     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600     # Reject names that are not valid shell variable names.
601     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602       { echo "$as_me: error: invalid package name: $ac_package" >&2
603    { (exit 1); exit 1; }; }
604     ac_package=`echo $ac_package | sed 's/-/_/g'`
605     eval "with_$ac_package=no" ;;
606
607   --x)
608     # Obsolete; use --with-x.
609     with_x=yes ;;
610
611   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612   | --x-incl | --x-inc | --x-in | --x-i)
613     ac_prev=x_includes ;;
614   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616     x_includes=$ac_optarg ;;
617
618   -x-libraries | --x-libraries | --x-librarie | --x-librari \
619   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620     ac_prev=x_libraries ;;
621   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623     x_libraries=$ac_optarg ;;
624
625   -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627    { (exit 1); exit 1; }; }
628     ;;
629
630   *=*)
631     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632     # Reject names that are not valid shell variable names.
633     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635    { (exit 1); exit 1; }; }
636     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637     eval "$ac_envvar='$ac_optarg'"
638     export $ac_envvar ;;
639
640   *)
641     # FIXME: should be removed in autoconf 3.0.
642     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646     ;;
647
648   esac
649 done
650
651 if test -n "$ac_prev"; then
652   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653   { echo "$as_me: error: missing argument to $ac_option" >&2
654    { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660   eval ac_val=$`echo $ac_var`
661   case $ac_val in
662     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664    { (exit 1); exit 1; }; };;
665   esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670               localstatedir libdir includedir oldincludedir infodir mandir
671 do
672   eval ac_val=$`echo $ac_var`
673   case $ac_val in
674     [\\/$]* | ?:[\\/]* ) ;;
675     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    { (exit 1); exit 1; }; };;
677   esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689   if test "x$build_alias" = x; then
690     cross_compiling=maybe
691     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692     If a cross compiler is detected then cross compile mode will be used." >&2
693   elif test "x$build_alias" != "x$host_alias"; then
694     cross_compiling=yes
695   fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706   ac_srcdir_defaulted=yes
707   # Try the directory containing this script, then its parent.
708   ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710          X"$0" : 'X\(//\)[^/]' \| \
711          X"$0" : 'X\(//\)$' \| \
712          X"$0" : 'X\(/\)' \| \
713          .     : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717           /^X\(\/\/\)$/{ s//\1/; q; }
718           /^X\(\/\).*/{ s//\1/; q; }
719           s/.*/./; q'`
720   srcdir=$ac_confdir
721   if test ! -r $srcdir/$ac_unique_file; then
722     srcdir=..
723   fi
724 else
725   ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728   if test "$ac_srcdir_defaulted" = yes; then
729     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730    { (exit 1); exit 1; }; }
731   else
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733    { (exit 1); exit 1; }; }
734   fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738    { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777   # Omit some internal or obsolete options to make the list less imposing.
778   # This message is too long to be a string in the A/UX 3.1 sh.
779   cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.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-build-libsubdir=DIR  Directory where to find libraries for build system
868   --with-gnu-ld           assume the C compiler uses GNU ld default=no
869   --with-pic              try to use only PIC/non-PIC objects default=use both
870
871 Some influential environment variables:
872   CC          C compiler command
873   CFLAGS      C compiler flags
874   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
875               nonstandard directory <lib dir>
876   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
877               headers in a nonstandard directory <include dir>
878   FC          Fortran compiler command
879   FCFLAGS     Fortran compiler flags
880   CPP         C preprocessor
881
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
884
885 _ACEOF
886 fi
887
888 if test "$ac_init_help" = "recursive"; then
889   # If there are subdirs, report their specific --help.
890   ac_popdir=`pwd`
891   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892     test -d $ac_dir || continue
893     ac_builddir=.
894
895 if test "$ac_dir" != .; then
896   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897   # A "../" for each directory in $ac_dir_suffix.
898   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 else
900   ac_dir_suffix= ac_top_builddir=
901 fi
902
903 case $srcdir in
904   .)  # No --srcdir option.  We are building in place.
905     ac_srcdir=.
906     if test -z "$ac_top_builddir"; then
907        ac_top_srcdir=.
908     else
909        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910     fi ;;
911   [\\/]* | ?:[\\/]* )  # Absolute path.
912     ac_srcdir=$srcdir$ac_dir_suffix;
913     ac_top_srcdir=$srcdir ;;
914   *) # Relative path.
915     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916     ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 esac
918
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
921 case `pwd` in
922 .) ac_abs_builddir="$ac_dir";;
923 *)
924   case "$ac_dir" in
925   .) ac_abs_builddir=`pwd`;;
926   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927   *) ac_abs_builddir=`pwd`/"$ac_dir";;
928   esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *)
933   case ${ac_top_builddir}. in
934   .) ac_abs_top_builddir=$ac_abs_builddir;;
935   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937   esac;;
938 esac
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
941 *)
942   case $ac_srcdir in
943   .) ac_abs_srcdir=$ac_abs_builddir;;
944   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946   esac;;
947 esac
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *)
951   case $ac_top_srcdir in
952   .) ac_abs_top_srcdir=$ac_abs_builddir;;
953   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955   esac;;
956 esac
957
958     cd $ac_dir
959     # Check for guested configure; otherwise get Cygnus style configure.
960     if test -f $ac_srcdir/configure.gnu; then
961       echo
962       $SHELL $ac_srcdir/configure.gnu  --help=recursive
963     elif test -f $ac_srcdir/configure; then
964       echo
965       $SHELL $ac_srcdir/configure  --help=recursive
966     elif test -f $ac_srcdir/configure.ac ||
967            test -f $ac_srcdir/configure.in; then
968       echo
969       $ac_configure --help
970     else
971       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972     fi
973     cd $ac_popdir
974   done
975 fi
976
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
979   cat <<\_ACEOF
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
982
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987   exit 0
988 fi
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
993
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59.  Invocation command line was
996
997   $ $0 $@
998
999 _ACEOF
1000 {
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1005
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1014
1015 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1016 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1019 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1020 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1021 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1022
1023 _ASUNAME
1024
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1027 do
1028   IFS=$as_save_IFS
1029   test -z "$as_dir" && as_dir=.
1030   echo "PATH: $as_dir"
1031 done
1032
1033 } >&5
1034
1035 cat >&5 <<_ACEOF
1036
1037
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1041
1042 _ACEOF
1043
1044
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1056 do
1057   for ac_arg
1058   do
1059     case $ac_arg in
1060     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062     | -silent | --silent | --silen | --sile | --sil)
1063       continue ;;
1064     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066     esac
1067     case $ac_pass in
1068     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069     2)
1070       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071       if test $ac_must_keep_next = true; then
1072         ac_must_keep_next=false # Got value, back to normal.
1073       else
1074         case $ac_arg in
1075           *=* | --config-cache | -C | -disable-* | --disable-* \
1076           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078           | -with-* | --with-* | -without-* | --without-* | --x)
1079             case "$ac_configure_args0 " in
1080               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081             esac
1082             ;;
1083           -* ) ac_must_keep_next=true ;;
1084         esac
1085       fi
1086       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087       # Get rid of the leading space.
1088       ac_sep=" "
1089       ;;
1090     esac
1091   done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log.  We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102   # Save into config.log some information that might help in debugging.
1103   {
1104     echo
1105
1106     cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111     echo
1112     # The following way of writing the cache mishandles newlines in values,
1113 {
1114   (set) 2>&1 |
1115     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116     *ac_space=\ *)
1117       sed -n \
1118         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120       ;;
1121     *)
1122       sed -n \
1123         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124       ;;
1125     esac;
1126 }
1127     echo
1128
1129     cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134     echo
1135     for ac_var in $ac_subst_vars
1136     do
1137       eval ac_val=$`echo $ac_var`
1138       echo "$ac_var='"'"'$ac_val'"'"'"
1139     done | sort
1140     echo
1141
1142     if test -n "$ac_subst_files"; then
1143       cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148       echo
1149       for ac_var in $ac_subst_files
1150       do
1151         eval ac_val=$`echo $ac_var`
1152         echo "$ac_var='"'"'$ac_val'"'"'"
1153       done | sort
1154       echo
1155     fi
1156
1157     if test -s confdefs.h; then
1158       cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163       echo
1164       sed "/^$/d" confdefs.h | sort
1165       echo
1166     fi
1167     test "$ac_signal" != 0 &&
1168       echo "$as_me: caught signal $ac_signal"
1169     echo "$as_me: exit $exit_status"
1170   } >&5
1171   rm -f core *.core &&
1172   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173     exit $exit_status
1174      ' 0
1175 for ac_signal in 1 2 13 15; do
1176   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1179
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1184
1185 # Predefined preprocessor variables.
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1200
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1205
1206
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1210
1211
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215   if test "x$prefix" != xNONE; then
1216     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217   else
1218     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219   fi
1220 fi
1221 for ac_site_file in $CONFIG_SITE; do
1222   if test -r "$ac_site_file"; then
1223     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225     sed 's/^/| /' "$ac_site_file" >&5
1226     . "$ac_site_file"
1227   fi
1228 done
1229
1230 if test -r "$cache_file"; then
1231   # Some versions of bash will fail to source /dev/null (special
1232   # files actually), so we avoid doing that.
1233   if test -f "$cache_file"; then
1234     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236     case $cache_file in
1237       [\\/]* | ?:[\\/]* ) . $cache_file;;
1238       *)                      . ./$cache_file;;
1239     esac
1240   fi
1241 else
1242   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244   >$cache_file
1245 fi
1246
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253   eval ac_new_set=\$ac_env_${ac_var}_set
1254   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255   eval ac_new_val="\$ac_env_${ac_var}_value"
1256   case $ac_old_set,$ac_new_set in
1257     set,)
1258       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260       ac_cache_corrupted=: ;;
1261     ,set)
1262       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264       ac_cache_corrupted=: ;;
1265     ,);;
1266     *)
1267       if test "x$ac_old_val" != "x$ac_new_val"; then
1268         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1271 echo "$as_me:   former value:  $ac_old_val" >&2;}
1272         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1273 echo "$as_me:   current value: $ac_new_val" >&2;}
1274         ac_cache_corrupted=:
1275       fi;;
1276   esac
1277   # Pass precious variables to config.status.
1278   if test "$ac_new_set" = set; then
1279     case $ac_new_val in
1280     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282     *) ac_arg=$ac_var=$ac_new_val ;;
1283     esac
1284     case " $ac_configure_args " in
1285       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1286       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287     esac
1288   fi
1289 done
1290 if $ac_cache_corrupted; then
1291   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295    { (exit 1); exit 1; }; }
1296 fi
1297
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330           ac_config_headers="$ac_config_headers config.h"
1331
1332 ac_aux_dir=
1333 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334   if test -f $ac_dir/install-sh; then
1335     ac_aux_dir=$ac_dir
1336     ac_install_sh="$ac_aux_dir/install-sh -c"
1337     break
1338   elif test -f $ac_dir/install.sh; then
1339     ac_aux_dir=$ac_dir
1340     ac_install_sh="$ac_aux_dir/install.sh -c"
1341     break
1342   elif test -f $ac_dir/shtool; then
1343     ac_aux_dir=$ac_dir
1344     ac_install_sh="$ac_aux_dir/shtool install -c"
1345     break
1346   fi
1347 done
1348 if test -z "$ac_aux_dir"; then
1349   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351    { (exit 1); exit 1; }; }
1352 fi
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1356
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361    { (exit 1); exit 1; }; }
1362
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366   echo $ECHO_N "(cached) $ECHO_C" >&6
1367 else
1368   ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370   ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374    { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378    { (exit 1); exit 1; }; }
1379
1380 fi
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1383 build=$ac_cv_build
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1387
1388
1389  case ${build_alias} in
1390   "") build_noncanonical=${build} ;;
1391   *) build_noncanonical=${build_alias} ;;
1392 esac
1393
1394  case ${host_alias} in
1395   "") host_noncanonical=${build_noncanonical} ;;
1396   *) host_noncanonical=${host_alias} ;;
1397 esac
1398
1399  case ${target_alias} in
1400   "") target_noncanonical=${host_noncanonical} ;;
1401   *) target_noncanonical=${target_alias} ;;
1402 esac
1403
1404
1405 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1406 # have matching libraries, they should use host libraries: Makefile.tpl
1407 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1408 # However, they still use the build modules, because the corresponding
1409 # host modules (e.g. bison) are only built for the host when bootstrap
1410 # finishes. So:
1411 # - build_subdir is where we find build modules, and never changes.
1412 # - build_libsubdir is where we find build libraries, and can be overridden.
1413
1414 # Prefix 'build-' so this never conflicts with target_subdir.
1415 build_subdir="build-${build_noncanonical}"
1416
1417 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1418 if test "${with_build_libsubdir+set}" = set; then
1419   withval="$with_build_libsubdir"
1420   build_libsubdir="$withval"
1421 else
1422   build_libsubdir="$build_subdir"
1423 fi;
1424 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1425 if ( test $srcdir = . && test -d gcc ) \
1426    || test -d $srcdir/../host-${host_noncanonical}; then
1427   host_subdir="host-${host_noncanonical}"
1428 else
1429   host_subdir=.
1430 fi
1431 # No prefix.
1432 target_subdir=${target_noncanonical}
1433
1434
1435 # -------
1436 # Options
1437 # -------
1438
1439 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1440 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1441 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1442 if test "${enable_version_specific_runtime_libs+set}" = set; then
1443   enableval="$enable_version_specific_runtime_libs"
1444   case "$enableval" in
1445  yes) version_specific_libs=yes ;;
1446  no)  version_specific_libs=no ;;
1447  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1448 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1449    { (exit 1); exit 1; }; };;
1450  esac
1451 else
1452   version_specific_libs=no
1453 fi;
1454 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1455 echo "${ECHO_T}$version_specific_libs" >&6
1456
1457
1458 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1459 #
1460 # You will slowly go insane if you do not grok the following fact:  when
1461 # building this library, the top-level /target/ becomes the library's /host/.
1462 #
1463 # configure then causes --target to default to --host, exactly like any
1464 # other package using autoconf.  Therefore, 'target' and 'host' will
1465 # always be the same.  This makes sense both for native and cross compilers
1466 # just think about it for a little while.  :-)
1467 #
1468 # Also, if this library is being configured as part of a cross compiler, the
1469 # top-level configure script will pass the "real" host as $with_cross_host.
1470 #
1471 # Do not delete or change the following two lines.  For why, see
1472 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1473 echo "$as_me:$LINENO: checking host system type" >&5
1474 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1475 if test "${ac_cv_host+set}" = set; then
1476   echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478   ac_cv_host_alias=$host_alias
1479 test -z "$ac_cv_host_alias" &&
1480   ac_cv_host_alias=$ac_cv_build_alias
1481 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1482   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1483 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1484    { (exit 1); exit 1; }; }
1485
1486 fi
1487 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1488 echo "${ECHO_T}$ac_cv_host" >&6
1489 host=$ac_cv_host
1490 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1491 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1492 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1493
1494
1495 echo "$as_me:$LINENO: checking target system type" >&5
1496 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1497 if test "${ac_cv_target+set}" = set; then
1498   echo $ECHO_N "(cached) $ECHO_C" >&6
1499 else
1500   ac_cv_target_alias=$target_alias
1501 test "x$ac_cv_target_alias" = "x" &&
1502   ac_cv_target_alias=$ac_cv_host_alias
1503 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1504   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1505 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1506    { (exit 1); exit 1; }; }
1507
1508 fi
1509 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1510 echo "${ECHO_T}$ac_cv_target" >&6
1511 target=$ac_cv_target
1512 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1513 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1514 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1515
1516
1517 # The aliases save the names the user supplied, while $host etc.
1518 # will get canonicalized.
1519 test -n "$target_alias" &&
1520   test "$program_prefix$program_suffix$program_transform_name" = \
1521     NONENONEs,x,x, &&
1522   program_prefix=${target_alias}-
1523 target_alias=${target_alias-$host_alias}
1524
1525 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1526 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1527 #  1.8.2:  minimum required version
1528 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1529 #              of other PACKAGE_* variables will, however, and there's nothing
1530 #              we can do about that; they come from AC_INIT).
1531 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1532 #            file in the top srcdir, etc, etc), so stop complaining.
1533 #  no-dependencies:  turns off auto dependency generation (just for now)
1534 #  -Wall:  turns on all automake warnings...
1535 #  -Wno-portability:  ...except this one, since GNU make is required.
1536 am__api_version="1.9"
1537 # Find a good install program.  We prefer a C program (faster),
1538 # so one script is as good as another.  But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1543 # AIX /bin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554   echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1558 do
1559   IFS=$as_save_IFS
1560   test -z "$as_dir" && as_dir=.
1561   # Account for people who put trailing slashes in PATH elements.
1562 case $as_dir/ in
1563   ./ | .// | /cC/* | \
1564   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1566   /usr/ucb/* ) ;;
1567   *)
1568     # OSF1 and SCO ODT 3.0 have their own names for install.
1569     # Don't use installbsd from OSF since it installs stuff as root
1570     # by default.
1571     for ac_prog in ginstall scoinst install; do
1572       for ac_exec_ext in '' $ac_executable_extensions; do
1573         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574           if test $ac_prog = install &&
1575             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1576             # AIX install.  It has an incompatible calling convention.
1577             :
1578           elif test $ac_prog = install &&
1579             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1580             # program-specific install script used by HP pwplus--don't use.
1581             :
1582           else
1583             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1584             break 3
1585           fi
1586         fi
1587       done
1588     done
1589     ;;
1590 esac
1591 done
1592
1593
1594 fi
1595   if test "${ac_cv_path_install+set}" = set; then
1596     INSTALL=$ac_cv_path_install
1597   else
1598     # As a last resort, use the slow shell script.  We don't cache a
1599     # path for INSTALL within a source directory, because that will
1600     # break other packages using the cache if that directory is
1601     # removed, or if the path is relative.
1602     INSTALL=$ac_install_sh
1603   fi
1604 fi
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1607
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1611
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1613
1614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1615
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1618 # Just in case
1619 sleep 1
1620 echo timestamp > conftest.file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments.  Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1625 # directory).
1626 if (
1627    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628    if test "$*" = "X"; then
1629       # -L didn't work.
1630       set X `ls -t $srcdir/configure conftest.file`
1631    fi
1632    rm -f conftest.file
1633    if test "$*" != "X $srcdir/configure conftest.file" \
1634       && test "$*" != "X conftest.file $srcdir/configure"; then
1635
1636       # If neither matched, then we have a broken ls.  This can happen
1637       # if, for instance, CONFIG_SHELL is bash and it inherits a
1638       # broken ls alias from the environment.  This has actually
1639       # happened.  Such a system could not be considered "sane".
1640       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1643 alias in your environment" >&2;}
1644    { (exit 1); exit 1; }; }
1645    fi
1646
1647    test "$2" = conftest.file
1648    )
1649 then
1650    # Ok.
1651    :
1652 else
1653    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657    { (exit 1); exit 1; }; }
1658 fi
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE &&
1662   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE &&
1665   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $.  echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF >conftest.sed
1669 s/[\\$]/&&/g;s/;s,x,x,$//
1670 _ACEOF
1671 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1672 rm conftest.sed
1673
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir=`cd $ac_aux_dir && pwd`
1676
1677 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680   am_missing_run="$MISSING --run "
1681 else
1682   am_missing_run=
1683   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1685 fi
1686
1687 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1688   # We used to keeping the `.' as first argument, in order to
1689   # allow $(mkdir_p) to be used without argument.  As in
1690   #   $(mkdir_p) $(somedir)
1691   # where $(somedir) is conditionally defined.  However this is wrong
1692   # for two reasons:
1693   #  1. if the package is installed by a user who cannot write `.'
1694   #     make install will fail,
1695   #  2. the above comment should most certainly read
1696   #     $(mkdir_p) $(DESTDIR)$(somedir)
1697   #     so it does not work when $(somedir) is undefined and
1698   #     $(DESTDIR) is not.
1699   #  To support the latter case, we have to write
1700   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701   #  so the `.' trick is pointless.
1702   mkdir_p='mkdir -p --'
1703 else
1704   # On NextStep and OpenStep, the `mkdir' command does not
1705   # recognize any option.  It will interpret all options as
1706   # directories to create, and then abort because `.' already
1707   # exists.
1708   for d in ./-p ./--version;
1709   do
1710     test -d $d && rmdir $d
1711   done
1712   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713   if test -f "$ac_aux_dir/mkinstalldirs"; then
1714     mkdir_p='$(mkinstalldirs)'
1715   else
1716     mkdir_p='$(install_sh) -d'
1717   fi
1718 fi
1719
1720 for ac_prog in gawk mawk nawk awk
1721 do
1722   # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy $ac_prog; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727   echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729   if test -n "$AWK"; then
1730   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1731 else
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 for as_dir in $PATH
1734 do
1735   IFS=$as_save_IFS
1736   test -z "$as_dir" && as_dir=.
1737   for ac_exec_ext in '' $ac_executable_extensions; do
1738   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739     ac_cv_prog_AWK="$ac_prog"
1740     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741     break 2
1742   fi
1743 done
1744 done
1745
1746 fi
1747 fi
1748 AWK=$ac_cv_prog_AWK
1749 if test -n "$AWK"; then
1750   echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1752 else
1753   echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1755 fi
1756
1757   test -n "$AWK" && break
1758 done
1759
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764   echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766   cat >conftest.make <<\_ACEOF
1767 all:
1768         @echo 'ac_maketemp="$(MAKE)"'
1769 _ACEOF
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773   eval ac_cv_prog_make_${ac_make}_set=yes
1774 else
1775   eval ac_cv_prog_make_${ac_make}_set=no
1776 fi
1777 rm -f conftest.make
1778 fi
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780   echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1782   SET_MAKE=
1783 else
1784   echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786   SET_MAKE="MAKE=${MAKE-make}"
1787 fi
1788
1789 rm -rf .tst 2>/dev/null
1790 mkdir .tst 2>/dev/null
1791 if test -d .tst; then
1792   am__leading_dot=.
1793 else
1794   am__leading_dot=_
1795 fi
1796 rmdir .tst 2>/dev/null
1797
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800    test -f $srcdir/config.status; then
1801   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803    { (exit 1); exit 1; }; }
1804 fi
1805
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808   if (cygpath --version) >/dev/null 2>/dev/null; then
1809     CYGPATH_W='cygpath -w'
1810   else
1811     CYGPATH_W=echo
1812   fi
1813 fi
1814
1815
1816 # Define the identity of the package.
1817  PACKAGE='libgfortran'
1818  VERSION='0.2'
1819
1820
1821 # Some tools Automake needs.
1822
1823 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1824
1825
1826 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1827
1828
1829 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1830
1831
1832 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1833
1834
1835 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1836
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1838
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'.  However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844   if test -n "$ac_tool_prefix"; then
1845   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850   echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852   if test -n "$STRIP"; then
1853   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858   IFS=$as_save_IFS
1859   test -z "$as_dir" && as_dir=.
1860   for ac_exec_ext in '' $ac_executable_extensions; do
1861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864     break 2
1865   fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873   echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876   echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880 fi
1881 if test -z "$ac_cv_prog_STRIP"; then
1882   ac_ct_STRIP=$STRIP
1883   # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888   echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890   if test -n "$ac_ct_STRIP"; then
1891   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1895 do
1896   IFS=$as_save_IFS
1897   test -z "$as_dir" && as_dir=.
1898   for ac_exec_ext in '' $ac_executable_extensions; do
1899   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900     ac_cv_prog_ac_ct_STRIP="strip"
1901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902     break 2
1903   fi
1904 done
1905 done
1906
1907   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1908 fi
1909 fi
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915   echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1917 fi
1918
1919   STRIP=$ac_ct_STRIP
1920 else
1921   STRIP="$ac_cv_prog_STRIP"
1922 fi
1923
1924 fi
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1926
1927 # We need awk for the "check" target.  The system "awk" is bad on
1928 # some platforms.
1929 # Always define AMTAR for backward compatibility.
1930
1931 AMTAR=${AMTAR-"${am_missing_run}tar"}
1932
1933 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1934
1935
1936
1937
1938
1939
1940 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1941 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1942     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1943 if test "${enable_maintainer_mode+set}" = set; then
1944   enableval="$enable_maintainer_mode"
1945   USE_MAINTAINER_MODE=$enableval
1946 else
1947   USE_MAINTAINER_MODE=no
1948 fi;
1949   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1950 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1951
1952
1953 if test $USE_MAINTAINER_MODE = yes; then
1954   MAINTAINER_MODE_TRUE=
1955   MAINTAINER_MODE_FALSE='#'
1956 else
1957   MAINTAINER_MODE_TRUE='#'
1958   MAINTAINER_MODE_FALSE=
1959 fi
1960
1961   MAINT=$MAINTAINER_MODE_TRUE
1962
1963
1964 # Default to --enable-multilib
1965 # Check whether --enable-multilib or --disable-multilib was given.
1966 if test "${enable_multilib+set}" = set; then
1967   enableval="$enable_multilib"
1968   case "$enableval" in
1969   yes) multilib=yes ;;
1970   no)  multilib=no ;;
1971   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1972 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1973    { (exit 1); exit 1; }; } ;;
1974  esac
1975 else
1976   multilib=yes
1977 fi;
1978
1979 # We may get other options which we leave undocumented:
1980 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1981 # See config-ml.in if you want the gory details.
1982
1983 if test "$srcdir" = "."; then
1984   if test "$with_target_subdir" != "."; then
1985     multi_basedir="$srcdir/$with_multisrctop../.."
1986   else
1987     multi_basedir="$srcdir/$with_multisrctop.."
1988   fi
1989 else
1990   multi_basedir="$srcdir/.."
1991 fi
1992
1993
1994           ac_config_commands="$ac_config_commands default-1"
1995
1996
1997 # Handy for debugging:
1998 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1999
2000 # Are we being configured with some form of cross compiler?
2001 # NB: We don't actually need to know this just now, but when, say, a test
2002 #     suite is included, we'll have to know.
2003 if test "$build" != "$host"; then
2004   LIBGFOR_IS_NATIVE=false
2005
2006 else
2007   LIBGFOR_IS_NATIVE=true
2008 fi
2009
2010 # Calculate toolexeclibdir
2011 # Also toolexecdir, though it's only used in toolexeclibdir
2012 case ${version_specific_libs} in
2013   yes)
2014     # Need the gcc compiler version to know where to install libraries
2015     # and header files if --enable-version-specific-runtime-libs option
2016     # is selected.
2017     toolexecdir='$(libdir)/gcc/$(target_alias)'
2018     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2019     ;;
2020   no)
2021     if test -n "$with_cross_host" &&
2022        test x"$with_cross_host" != x"no"; then
2023       # Install a library built with a cross compiler in tooldir, not libdir.
2024       toolexecdir='$(exec_prefix)/$(target_alias)'
2025       toolexeclibdir='$(toolexecdir)/lib'
2026     else
2027       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2028       toolexeclibdir='$(libdir)'
2029     fi
2030     multi_os_directory=`$CC -print-multi-os-directory`
2031     case $multi_os_directory in
2032       .) ;; # Avoid trailing /.
2033       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2034     esac
2035     ;;
2036 esac
2037
2038
2039
2040 # Check the compiler.
2041 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2042 # We must force CC to /not/ be precious variables; otherwise
2043 # the wrong, non-multilib-adjusted value will be used in multilibs.
2044 # As a side effect, we have to subst CFLAGS ourselves.
2045
2046
2047
2048 ac_ext=c
2049 ac_cpp='$CPP $CPPFLAGS'
2050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2053 if test -n "$ac_tool_prefix"; then
2054   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2056 echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058 if test "${ac_cv_prog_CC+set}" = set; then
2059   echo $ECHO_N "(cached) $ECHO_C" >&6
2060 else
2061   if test -n "$CC"; then
2062   ac_cv_prog_CC="$CC" # Let the user override the test.
2063 else
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067   IFS=$as_save_IFS
2068   test -z "$as_dir" && as_dir=.
2069   for ac_exec_ext in '' $ac_executable_extensions; do
2070   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2072     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073     break 2
2074   fi
2075 done
2076 done
2077
2078 fi
2079 fi
2080 CC=$ac_cv_prog_CC
2081 if test -n "$CC"; then
2082   echo "$as_me:$LINENO: result: $CC" >&5
2083 echo "${ECHO_T}$CC" >&6
2084 else
2085   echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2087 fi
2088
2089 fi
2090 if test -z "$ac_cv_prog_CC"; then
2091   ac_ct_CC=$CC
2092   # Extract the first word of "gcc", so it can be a program name with args.
2093 set dummy gcc; ac_word=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2097   echo $ECHO_N "(cached) $ECHO_C" >&6
2098 else
2099   if test -n "$ac_ct_CC"; then
2100   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2104 do
2105   IFS=$as_save_IFS
2106   test -z "$as_dir" && as_dir=.
2107   for ac_exec_ext in '' $ac_executable_extensions; do
2108   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109     ac_cv_prog_ac_ct_CC="gcc"
2110     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111     break 2
2112   fi
2113 done
2114 done
2115
2116 fi
2117 fi
2118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6
2122 else
2123   echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2125 fi
2126
2127   CC=$ac_ct_CC
2128 else
2129   CC="$ac_cv_prog_CC"
2130 fi
2131
2132 if test -z "$CC"; then
2133   if test -n "$ac_tool_prefix"; then
2134   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2135 set dummy ${ac_tool_prefix}cc; ac_word=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_CC+set}" = set; then
2139   echo $ECHO_N "(cached) $ECHO_C" >&6
2140 else
2141   if test -n "$CC"; then
2142   ac_cv_prog_CC="$CC" # Let the user override the test.
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2146 do
2147   IFS=$as_save_IFS
2148   test -z "$as_dir" && as_dir=.
2149   for ac_exec_ext in '' $ac_executable_extensions; do
2150   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151     ac_cv_prog_CC="${ac_tool_prefix}cc"
2152     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153     break 2
2154   fi
2155 done
2156 done
2157
2158 fi
2159 fi
2160 CC=$ac_cv_prog_CC
2161 if test -n "$CC"; then
2162   echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6
2164 else
2165   echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6
2167 fi
2168
2169 fi
2170 if test -z "$ac_cv_prog_CC"; then
2171   ac_ct_CC=$CC
2172   # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc; ac_word=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2177   echo $ECHO_N "(cached) $ECHO_C" >&6
2178 else
2179   if test -n "$ac_ct_CC"; then
2180   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2181 else
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 for as_dir in $PATH
2184 do
2185   IFS=$as_save_IFS
2186   test -z "$as_dir" && as_dir=.
2187   for ac_exec_ext in '' $ac_executable_extensions; do
2188   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189     ac_cv_prog_ac_ct_CC="cc"
2190     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191     break 2
2192   fi
2193 done
2194 done
2195
2196 fi
2197 fi
2198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2199 if test -n "$ac_ct_CC"; then
2200   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2201 echo "${ECHO_T}$ac_ct_CC" >&6
2202 else
2203   echo "$as_me:$LINENO: result: no" >&5
2204 echo "${ECHO_T}no" >&6
2205 fi
2206
2207   CC=$ac_ct_CC
2208 else
2209   CC="$ac_cv_prog_CC"
2210 fi
2211
2212 fi
2213 if test -z "$CC"; then
2214   # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc; ac_word=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_CC+set}" = set; then
2219   echo $ECHO_N "(cached) $ECHO_C" >&6
2220 else
2221   if test -n "$CC"; then
2222   ac_cv_prog_CC="$CC" # Let the user override the test.
2223 else
2224   ac_prog_rejected=no
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 for as_dir in $PATH
2227 do
2228   IFS=$as_save_IFS
2229   test -z "$as_dir" && as_dir=.
2230   for ac_exec_ext in '' $ac_executable_extensions; do
2231   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2233        ac_prog_rejected=yes
2234        continue
2235      fi
2236     ac_cv_prog_CC="cc"
2237     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238     break 2
2239   fi
2240 done
2241 done
2242
2243 if test $ac_prog_rejected = yes; then
2244   # We found a bogon in the path, so make sure we never use it.
2245   set dummy $ac_cv_prog_CC
2246   shift
2247   if test $# != 0; then
2248     # We chose a different compiler from the bogus one.
2249     # However, it has the same basename, so the bogon will be chosen
2250     # first if we set CC to just the basename; use the full file name.
2251     shift
2252     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2253   fi
2254 fi
2255 fi
2256 fi
2257 CC=$ac_cv_prog_CC
2258 if test -n "$CC"; then
2259   echo "$as_me:$LINENO: result: $CC" >&5
2260 echo "${ECHO_T}$CC" >&6
2261 else
2262   echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2264 fi
2265
2266 fi
2267 if test -z "$CC"; then
2268   if test -n "$ac_tool_prefix"; then
2269   for ac_prog in cl
2270   do
2271     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276   echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278   if test -n "$CC"; then
2279   ac_cv_prog_CC="$CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2283 do
2284   IFS=$as_save_IFS
2285   test -z "$as_dir" && as_dir=.
2286   for ac_exec_ext in '' $ac_executable_extensions; do
2287   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2289     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290     break 2
2291   fi
2292 done
2293 done
2294
2295 fi
2296 fi
2297 CC=$ac_cv_prog_CC
2298 if test -n "$CC"; then
2299   echo "$as_me:$LINENO: result: $CC" >&5
2300 echo "${ECHO_T}$CC" >&6
2301 else
2302   echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2304 fi
2305
2306     test -n "$CC" && break
2307   done
2308 fi
2309 if test -z "$CC"; then
2310   ac_ct_CC=$CC
2311   for ac_prog in cl
2312 do
2313   # Extract the first word of "$ac_prog", so it can be a program name with args.
2314 set dummy $ac_prog; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2318   echo $ECHO_N "(cached) $ECHO_C" >&6
2319 else
2320   if test -n "$ac_ct_CC"; then
2321   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2322 else
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2325 do
2326   IFS=$as_save_IFS
2327   test -z "$as_dir" && as_dir=.
2328   for ac_exec_ext in '' $ac_executable_extensions; do
2329   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330     ac_cv_prog_ac_ct_CC="$ac_prog"
2331     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332     break 2
2333   fi
2334 done
2335 done
2336
2337 fi
2338 fi
2339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2340 if test -n "$ac_ct_CC"; then
2341   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2342 echo "${ECHO_T}$ac_ct_CC" >&6
2343 else
2344   echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2346 fi
2347
2348   test -n "$ac_ct_CC" && break
2349 done
2350
2351   CC=$ac_ct_CC
2352 fi
2353
2354 fi
2355
2356
2357 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2358 See \`config.log' for more details." >&5
2359 echo "$as_me: error: no acceptable C compiler found in \$PATH
2360 See \`config.log' for more details." >&2;}
2361    { (exit 1); exit 1; }; }
2362
2363 # Provide some information about the compiler.
2364 echo "$as_me:$LINENO:" \
2365      "checking for C compiler version" >&5
2366 ac_compiler=`set X $ac_compile; echo $2`
2367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2368   (eval $ac_compiler --version </dev/null >&5) 2>&5
2369   ac_status=$?
2370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371   (exit $ac_status); }
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2373   (eval $ac_compiler -v </dev/null >&5) 2>&5
2374   ac_status=$?
2375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376   (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2378   (eval $ac_compiler -V </dev/null >&5) 2>&5
2379   ac_status=$?
2380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381   (exit $ac_status); }
2382
2383 cat >conftest.$ac_ext <<_ACEOF
2384 /* confdefs.h.  */
2385 _ACEOF
2386 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h.  */
2389
2390 int
2391 main ()
2392 {
2393
2394   ;
2395   return 0;
2396 }
2397 _ACEOF
2398 # FIXME: Cleanup?
2399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2400   (eval $ac_link) 2>&5
2401   ac_status=$?
2402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403   (exit $ac_status); }; then
2404   gcc_no_link=no
2405 else
2406   gcc_no_link=yes
2407 fi
2408
2409 if test x$gcc_no_link = xyes; then
2410   # Setting cross_compile will disable run tests; it will
2411   # also disable AC_CHECK_FILE but that's generally
2412   # correct if we can't link.
2413   cross_compiling=yes
2414   EXEEXT=
2415 else
2416   cat >conftest.$ac_ext <<_ACEOF
2417 /* confdefs.h.  */
2418 _ACEOF
2419 cat confdefs.h >>conftest.$ac_ext
2420 cat >>conftest.$ac_ext <<_ACEOF
2421 /* end confdefs.h.  */
2422
2423 int
2424 main ()
2425 {
2426
2427   ;
2428   return 0;
2429 }
2430 _ACEOF
2431 ac_clean_files_save=$ac_clean_files
2432 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2433 # Try to create an executable without -o first, disregard a.out.
2434 # It will help us diagnose broken compilers, and finding out an intuition
2435 # of exeext.
2436 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2437 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2438 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2439 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2440   (eval $ac_link_default) 2>&5
2441   ac_status=$?
2442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443   (exit $ac_status); }; then
2444   # Find the output, starting from the most likely.  This scheme is
2445 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2446 # resort.
2447
2448 # Be careful to initialize this variable, since it used to be cached.
2449 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2450 ac_cv_exeext=
2451 # b.out is created by i960 compilers.
2452 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2453 do
2454   test -f "$ac_file" || continue
2455   case $ac_file in
2456     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2457         ;;
2458     conftest.$ac_ext )
2459         # This is the source file.
2460         ;;
2461     [ab].out )
2462         # We found the default executable, but exeext='' is most
2463         # certainly right.
2464         break;;
2465     *.* )
2466         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2467         # FIXME: I believe we export ac_cv_exeext for Libtool,
2468         # but it would be cool to find out if it's true.  Does anybody
2469         # maintain Libtool? --akim.
2470         export ac_cv_exeext
2471         break;;
2472     * )
2473         break;;
2474   esac
2475 done
2476 else
2477   echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2479
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484    { (exit 77); exit 77; }; }
2485 fi
2486
2487 ac_exeext=$ac_cv_exeext
2488 echo "$as_me:$LINENO: result: $ac_file" >&5
2489 echo "${ECHO_T}$ac_file" >&6
2490
2491 # Check the compiler produces executables we can run.  If not, either
2492 # the compiler is broken, or we cross compile.
2493 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2494 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2495 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2496 # If not cross compiling, check that we can run a simple program.
2497 if test "$cross_compiling" != yes; then
2498   if { ac_try='./$ac_file'
2499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500   (eval $ac_try) 2>&5
2501   ac_status=$?
2502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503   (exit $ac_status); }; }; then
2504     cross_compiling=no
2505   else
2506     if test "$cross_compiling" = maybe; then
2507         cross_compiling=yes
2508     else
2509         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515    { (exit 1); exit 1; }; }
2516     fi
2517   fi
2518 fi
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2521
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check the compiler produces executables we can run.  If not, either
2525 # the compiler is broken, or we cross compile.
2526 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2528 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6
2530
2531 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2534   (eval $ac_link) 2>&5
2535   ac_status=$?
2536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537   (exit $ac_status); }; then
2538   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2539 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2540 # work properly (i.e., refer to `conftest.exe'), while it won't with
2541 # `rm'.
2542 for ac_file in conftest.exe conftest conftest.*; do
2543   test -f "$ac_file" || continue
2544   case $ac_file in
2545     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2546     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2547           export ac_cv_exeext
2548           break;;
2549     * ) break;;
2550   esac
2551 done
2552 else
2553   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&5
2555 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2556 See \`config.log' for more details." >&2;}
2557    { (exit 1); exit 1; }; }
2558 fi
2559
2560 rm -f conftest$ac_cv_exeext
2561 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2562 echo "${ECHO_T}$ac_cv_exeext" >&6
2563
2564 rm -f conftest.$ac_ext
2565 EXEEXT=$ac_cv_exeext
2566 ac_exeext=$EXEEXT
2567 fi
2568 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2569 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2570 if test "${ac_cv_objext+set}" = set; then
2571   echo $ECHO_N "(cached) $ECHO_C" >&6
2572 else
2573   cat >conftest.$ac_ext <<_ACEOF
2574 /* confdefs.h.  */
2575 _ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h.  */
2579
2580 int
2581 main ()
2582 {
2583
2584   ;
2585   return 0;
2586 }
2587 _ACEOF
2588 rm -f conftest.o conftest.obj
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590   (eval $ac_compile) 2>&5
2591   ac_status=$?
2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593   (exit $ac_status); }; then
2594   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2595   case $ac_file in
2596     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2597     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2598        break;;
2599   esac
2600 done
2601 else
2602   echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2606 See \`config.log' for more details." >&5
2607 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2608 See \`config.log' for more details." >&2;}
2609    { (exit 1); exit 1; }; }
2610 fi
2611
2612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2613 fi
2614 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2615 echo "${ECHO_T}$ac_cv_objext" >&6
2616 OBJEXT=$ac_cv_objext
2617 ac_objext=$OBJEXT
2618 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2619 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2620 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2621   echo $ECHO_N "(cached) $ECHO_C" >&6
2622 else
2623   cat >conftest.$ac_ext <<_ACEOF
2624 /* confdefs.h.  */
2625 _ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h.  */
2629
2630 int
2631 main ()
2632 {
2633 #ifndef __GNUC__
2634        choke me
2635 #endif
2636
2637   ;
2638   return 0;
2639 }
2640 _ACEOF
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643   (eval $ac_compile) 2>conftest.er1
2644   ac_status=$?
2645   grep -v '^ *+' conftest.er1 >conftest.err
2646   rm -f conftest.er1
2647   cat conftest.err >&5
2648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649   (exit $ac_status); } &&
2650          { ac_try='test -z "$ac_c_werror_flag"
2651                          || test ! -s conftest.err'
2652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653   (eval $ac_try) 2>&5
2654   ac_status=$?
2655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656   (exit $ac_status); }; } &&
2657          { ac_try='test -s conftest.$ac_objext'
2658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659   (eval $ac_try) 2>&5
2660   ac_status=$?
2661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662   (exit $ac_status); }; }; then
2663   ac_compiler_gnu=yes
2664 else
2665   echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2667
2668 ac_compiler_gnu=no
2669 fi
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2672
2673 fi
2674 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2676 GCC=`test $ac_compiler_gnu = yes && echo yes`
2677 ac_test_CFLAGS=${CFLAGS+set}
2678 ac_save_CFLAGS=$CFLAGS
2679 CFLAGS="-g"
2680 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2681 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2682 if test "${ac_cv_prog_cc_g+set}" = set; then
2683   echo $ECHO_N "(cached) $ECHO_C" >&6
2684 else
2685   cat >conftest.$ac_ext <<_ACEOF
2686 /* confdefs.h.  */
2687 _ACEOF
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h.  */
2691
2692 int
2693 main ()
2694 {
2695
2696   ;
2697   return 0;
2698 }
2699 _ACEOF
2700 rm -f conftest.$ac_objext
2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2702   (eval $ac_compile) 2>conftest.er1
2703   ac_status=$?
2704   grep -v '^ *+' conftest.er1 >conftest.err
2705   rm -f conftest.er1
2706   cat conftest.err >&5
2707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708   (exit $ac_status); } &&
2709          { ac_try='test -z "$ac_c_werror_flag"
2710                          || test ! -s conftest.err'
2711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712   (eval $ac_try) 2>&5
2713   ac_status=$?
2714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715   (exit $ac_status); }; } &&
2716          { ac_try='test -s conftest.$ac_objext'
2717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718   (eval $ac_try) 2>&5
2719   ac_status=$?
2720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721   (exit $ac_status); }; }; then
2722   ac_cv_prog_cc_g=yes
2723 else
2724   echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2726
2727 ac_cv_prog_cc_g=no
2728 fi
2729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2730 fi
2731 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2732 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2733 if test "$ac_test_CFLAGS" = set; then
2734   CFLAGS=$ac_save_CFLAGS
2735 elif test $ac_cv_prog_cc_g = yes; then
2736   if test "$GCC" = yes; then
2737     CFLAGS="-g -O2"
2738   else
2739     CFLAGS="-g"
2740   fi
2741 else
2742   if test "$GCC" = yes; then
2743     CFLAGS="-O2"
2744   else
2745     CFLAGS=
2746   fi
2747 fi
2748 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2749 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2750 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2751   echo $ECHO_N "(cached) $ECHO_C" >&6
2752 else
2753   ac_cv_prog_cc_stdc=no
2754 ac_save_CC=$CC
2755 cat >conftest.$ac_ext <<_ACEOF
2756 /* confdefs.h.  */
2757 _ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h.  */
2761 #include <stdarg.h>
2762 #include <stdio.h>
2763 #include <sys/types.h>
2764 #include <sys/stat.h>
2765 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2766 struct buf { int x; };
2767 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2768 static char *e (p, i)
2769      char **p;
2770      int i;
2771 {
2772   return p[i];
2773 }
2774 static char *f (char * (*g) (char **, int), char **p, ...)
2775 {
2776   char *s;
2777   va_list v;
2778   va_start (v,p);
2779   s = g (p, va_arg (v,int));
2780   va_end (v);
2781   return s;
2782 }
2783
2784 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2785    function prototypes and stuff, but not '\xHH' hex character constants.
2786    These don't provoke an error unfortunately, instead are silently treated
2787    as 'x'.  The following induces an error, until -std1 is added to get
2788    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2789    array size at least.  It's necessary to write '\x00'==0 to get something
2790    that's true only with -std1.  */
2791 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2792
2793 int test (int i, double x);
2794 struct s1 {int (*f) (int a);};
2795 struct s2 {int (*f) (double a);};
2796 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2797 int argc;
2798 char **argv;
2799 int
2800 main ()
2801 {
2802 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2803   ;
2804   return 0;
2805 }
2806 _ACEOF
2807 # Don't try gcc -ansi; that turns off useful extensions and
2808 # breaks some systems' header files.
2809 # AIX                   -qlanglvl=ansi
2810 # Ultrix and OSF/1      -std1
2811 # HP-UX 10.20 and later -Ae
2812 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2813 # SVR4                  -Xc -D__EXTENSIONS__
2814 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2815 do
2816   CC="$ac_save_CC $ac_arg"
2817   rm -f conftest.$ac_objext
2818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2819   (eval $ac_compile) 2>conftest.er1
2820   ac_status=$?
2821   grep -v '^ *+' conftest.er1 >conftest.err
2822   rm -f conftest.er1
2823   cat conftest.err >&5
2824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825   (exit $ac_status); } &&
2826          { ac_try='test -z "$ac_c_werror_flag"
2827                          || test ! -s conftest.err'
2828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829   (eval $ac_try) 2>&5
2830   ac_status=$?
2831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832   (exit $ac_status); }; } &&
2833          { ac_try='test -s conftest.$ac_objext'
2834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835   (eval $ac_try) 2>&5
2836   ac_status=$?
2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838   (exit $ac_status); }; }; then
2839   ac_cv_prog_cc_stdc=$ac_arg
2840 break
2841 else
2842   echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 fi
2846 rm -f conftest.err conftest.$ac_objext
2847 done
2848 rm -f conftest.$ac_ext conftest.$ac_objext
2849 CC=$ac_save_CC
2850
2851 fi
2852
2853 case "x$ac_cv_prog_cc_stdc" in
2854   x|xno)
2855     echo "$as_me:$LINENO: result: none needed" >&5
2856 echo "${ECHO_T}none needed" >&6 ;;
2857   *)
2858     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2859 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2860     CC="$CC $ac_cv_prog_cc_stdc" ;;
2861 esac
2862
2863 # Some people use a C++ compiler to compile C.  Since we use `exit',
2864 # in C++ we need to declare it.  In case someone uses the same compiler
2865 # for both compiling C and C++ we need to have the C++ compiler decide
2866 # the declaration of exit, since it's the most demanding environment.
2867 cat >conftest.$ac_ext <<_ACEOF
2868 #ifndef __cplusplus
2869   choke me
2870 #endif
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   for ac_declaration in \
2895    '' \
2896    'extern "C" void std::exit (int) throw (); using std::exit;' \
2897    'extern "C" void std::exit (int); using std::exit;' \
2898    'extern "C" void exit (int) throw ();' \
2899    'extern "C" void exit (int);' \
2900    'void exit (int);'
2901 do
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 #include <stdlib.h>
2910 int
2911 main ()
2912 {
2913 exit (42);
2914   ;
2915   return 0;
2916 }
2917 _ACEOF
2918 rm -f conftest.$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920   (eval $ac_compile) 2>conftest.er1
2921   ac_status=$?
2922   grep -v '^ *+' conftest.er1 >conftest.err
2923   rm -f conftest.er1
2924   cat conftest.err >&5
2925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926   (exit $ac_status); } &&
2927          { ac_try='test -z "$ac_c_werror_flag"
2928                          || test ! -s conftest.err'
2929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930   (eval $ac_try) 2>&5
2931   ac_status=$?
2932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933   (exit $ac_status); }; } &&
2934          { ac_try='test -s conftest.$ac_objext'
2935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936   (eval $ac_try) 2>&5
2937   ac_status=$?
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); }; }; then
2940   :
2941 else
2942   echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2944
2945 continue
2946 fi
2947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2948   cat >conftest.$ac_ext <<_ACEOF
2949 /* confdefs.h.  */
2950 _ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h.  */
2954 $ac_declaration
2955 int
2956 main ()
2957 {
2958 exit (42);
2959   ;
2960   return 0;
2961 }
2962 _ACEOF
2963 rm -f conftest.$ac_objext
2964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2965   (eval $ac_compile) 2>conftest.er1
2966   ac_status=$?
2967   grep -v '^ *+' conftest.er1 >conftest.err
2968   rm -f conftest.er1
2969   cat conftest.err >&5
2970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971   (exit $ac_status); } &&
2972          { ac_try='test -z "$ac_c_werror_flag"
2973                          || test ! -s conftest.err'
2974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975   (eval $ac_try) 2>&5
2976   ac_status=$?
2977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978   (exit $ac_status); }; } &&
2979          { ac_try='test -s conftest.$ac_objext'
2980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981   (eval $ac_try) 2>&5
2982   ac_status=$?
2983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984   (exit $ac_status); }; }; then
2985   break
2986 else
2987   echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 fi
2991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2992 done
2993 rm -f conftest*
2994 if test -n "$ac_declaration"; then
2995   echo '#ifdef __cplusplus' >>confdefs.h
2996   echo $ac_declaration      >>confdefs.h
2997   echo '#endif'             >>confdefs.h
2998 fi
2999
3000 else
3001   echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3003
3004 fi
3005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3006 ac_ext=c
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011
3012
3013
3014 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3015 if test "x$GCC" = "xyes"; then
3016   AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3017   ## We like to use C99 routines when available.  This makes sure that
3018   ## __STDC_VERSION__ is set such that libc includes make them available.
3019   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3020   ## Compile the following tests with the same system header contents
3021   ## that we'll encounter when compiling our own source files.
3022   CFLAGS="-std=gnu99 $CFLAGS"
3023 fi
3024
3025
3026
3027 # Find other programs we need.
3028 if test -n "$ac_tool_prefix"; then
3029   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}as; ac_word=$2
3031 echo "$as_me:$LINENO: checking for $ac_word" >&5
3032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3033 if test "${ac_cv_prog_AS+set}" = set; then
3034   echo $ECHO_N "(cached) $ECHO_C" >&6
3035 else
3036   if test -n "$AS"; then
3037   ac_cv_prog_AS="$AS" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3041 do
3042   IFS=$as_save_IFS
3043   test -z "$as_dir" && as_dir=.
3044   for ac_exec_ext in '' $ac_executable_extensions; do
3045   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046     ac_cv_prog_AS="${ac_tool_prefix}as"
3047     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048     break 2
3049   fi
3050 done
3051 done
3052
3053 fi
3054 fi
3055 AS=$ac_cv_prog_AS
3056 if test -n "$AS"; then
3057   echo "$as_me:$LINENO: result: $AS" >&5
3058 echo "${ECHO_T}$AS" >&6
3059 else
3060   echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3062 fi
3063
3064 fi
3065 if test -z "$ac_cv_prog_AS"; then
3066   ac_ct_AS=$AS
3067   # Extract the first word of "as", so it can be a program name with args.
3068 set dummy as; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3072   echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074   if test -n "$ac_ct_AS"; then
3075   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3079 do
3080   IFS=$as_save_IFS
3081   test -z "$as_dir" && as_dir=.
3082   for ac_exec_ext in '' $ac_executable_extensions; do
3083   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084     ac_cv_prog_ac_ct_AS="as"
3085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086     break 2
3087   fi
3088 done
3089 done
3090
3091 fi
3092 fi
3093 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3094 if test -n "$ac_ct_AS"; then
3095   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3096 echo "${ECHO_T}$ac_ct_AS" >&6
3097 else
3098   echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102   AS=$ac_ct_AS
3103 else
3104   AS="$ac_cv_prog_AS"
3105 fi
3106
3107 if test -n "$ac_tool_prefix"; then
3108   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3109 set dummy ${ac_tool_prefix}ar; ac_word=$2
3110 echo "$as_me:$LINENO: checking for $ac_word" >&5
3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3112 if test "${ac_cv_prog_AR+set}" = set; then
3113   echo $ECHO_N "(cached) $ECHO_C" >&6
3114 else
3115   if test -n "$AR"; then
3116   ac_cv_prog_AR="$AR" # Let the user override the test.
3117 else
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 for as_dir in $PATH
3120 do
3121   IFS=$as_save_IFS
3122   test -z "$as_dir" && as_dir=.
3123   for ac_exec_ext in '' $ac_executable_extensions; do
3124   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125     ac_cv_prog_AR="${ac_tool_prefix}ar"
3126     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127     break 2
3128   fi
3129 done
3130 done
3131
3132 fi
3133 fi
3134 AR=$ac_cv_prog_AR
3135 if test -n "$AR"; then
3136   echo "$as_me:$LINENO: result: $AR" >&5
3137 echo "${ECHO_T}$AR" >&6
3138 else
3139   echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143 fi
3144 if test -z "$ac_cv_prog_AR"; then
3145   ac_ct_AR=$AR
3146   # Extract the first word of "ar", so it can be a program name with args.
3147 set dummy ar; ac_word=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3151   echo $ECHO_N "(cached) $ECHO_C" >&6
3152 else
3153   if test -n "$ac_ct_AR"; then
3154   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3155 else
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3158 do
3159   IFS=$as_save_IFS
3160   test -z "$as_dir" && as_dir=.
3161   for ac_exec_ext in '' $ac_executable_extensions; do
3162   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163     ac_cv_prog_ac_ct_AR="ar"
3164     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165     break 2
3166   fi
3167 done
3168 done
3169
3170 fi
3171 fi
3172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3173 if test -n "$ac_ct_AR"; then
3174   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3175 echo "${ECHO_T}$ac_ct_AR" >&6
3176 else
3177   echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3179 fi
3180
3181   AR=$ac_ct_AR
3182 else
3183   AR="$ac_cv_prog_AR"
3184 fi
3185
3186 if test -n "$ac_tool_prefix"; then
3187   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_RANLIB+set}" = set; then
3192   echo $ECHO_N "(cached) $ECHO_C" >&6
3193 else
3194   if test -n "$RANLIB"; then
3195   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3199 do
3200   IFS=$as_save_IFS
3201   test -z "$as_dir" && as_dir=.
3202   for ac_exec_ext in '' $ac_executable_extensions; do
3203   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3206     break 2
3207   fi
3208 done
3209 done
3210
3211 fi
3212 fi
3213 RANLIB=$ac_cv_prog_RANLIB
3214 if test -n "$RANLIB"; then
3215   echo "$as_me:$LINENO: result: $RANLIB" >&5
3216 echo "${ECHO_T}$RANLIB" >&6
3217 else
3218   echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3220 fi
3221
3222 fi
3223 if test -z "$ac_cv_prog_RANLIB"; then
3224   ac_ct_RANLIB=$RANLIB
3225   # Extract the first word of "ranlib", so it can be a program name with args.
3226 set dummy ranlib; ac_word=$2
3227 echo "$as_me:$LINENO: checking for $ac_word" >&5
3228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3230   echo $ECHO_N "(cached) $ECHO_C" >&6
3231 else
3232   if test -n "$ac_ct_RANLIB"; then
3233   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3234 else
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 for as_dir in $PATH
3237 do
3238   IFS=$as_save_IFS
3239   test -z "$as_dir" && as_dir=.
3240   for ac_exec_ext in '' $ac_executable_extensions; do
3241   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242     ac_cv_prog_ac_ct_RANLIB="ranlib"
3243     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3244     break 2
3245   fi
3246 done
3247 done
3248
3249   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3250 fi
3251 fi
3252 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3253 if test -n "$ac_ct_RANLIB"; then
3254   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3255 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3256 else
3257   echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3259 fi
3260
3261   RANLIB=$ac_ct_RANLIB
3262 else
3263   RANLIB="$ac_cv_prog_RANLIB"
3264 fi
3265
3266 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3267 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3268 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3269 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3270   echo $ECHO_N "(cached) $ECHO_C" >&6
3271 else
3272   cat >conftest.make <<\_ACEOF
3273 all:
3274         @echo 'ac_maketemp="$(MAKE)"'
3275 _ACEOF
3276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3277 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3278 if test -n "$ac_maketemp"; then
3279   eval ac_cv_prog_make_${ac_make}_set=yes
3280 else
3281   eval ac_cv_prog_make_${ac_make}_set=no
3282 fi
3283 rm -f conftest.make
3284 fi
3285 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3286   echo "$as_me:$LINENO: result: yes" >&5
3287 echo "${ECHO_T}yes" >&6
3288   SET_MAKE=
3289 else
3290   echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6
3292   SET_MAKE="MAKE=${MAKE-make}"
3293 fi
3294
3295 # Find a good install program.  We prefer a C program (faster),
3296 # so one script is as good as another.  But avoid the broken or
3297 # incompatible versions:
3298 # SysV /etc/install, /usr/sbin/install
3299 # SunOS /usr/etc/install
3300 # IRIX /sbin/install
3301 # AIX /bin/install
3302 # AmigaOS /C/install, which installs bootblocks on floppy discs
3303 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3306 # OS/2's system install, which has a completely different semantic
3307 # ./install, which can be erroneously created by make from ./install.sh.
3308 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3309 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3310 if test -z "$INSTALL"; then
3311 if test "${ac_cv_path_install+set}" = set; then
3312   echo $ECHO_N "(cached) $ECHO_C" >&6
3313 else
3314   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 for as_dir in $PATH
3316 do
3317   IFS=$as_save_IFS
3318   test -z "$as_dir" && as_dir=.
3319   # Account for people who put trailing slashes in PATH elements.
3320 case $as_dir/ in
3321   ./ | .// | /cC/* | \
3322   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3323   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3324   /usr/ucb/* ) ;;
3325   *)
3326     # OSF1 and SCO ODT 3.0 have their own names for install.
3327     # Don't use installbsd from OSF since it installs stuff as root
3328     # by default.
3329     for ac_prog in ginstall scoinst install; do
3330       for ac_exec_ext in '' $ac_executable_extensions; do
3331         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3332           if test $ac_prog = install &&
3333             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3334             # AIX install.  It has an incompatible calling convention.
3335             :
3336           elif test $ac_prog = install &&
3337             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3338             # program-specific install script used by HP pwplus--don't use.
3339             :
3340           else
3341             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3342             break 3
3343           fi
3344         fi
3345       done
3346     done
3347     ;;
3348 esac
3349 done
3350
3351
3352 fi
3353   if test "${ac_cv_path_install+set}" = set; then
3354     INSTALL=$ac_cv_path_install
3355   else
3356     # As a last resort, use the slow shell script.  We don't cache a
3357     # path for INSTALL within a source directory, because that will
3358     # break other packages using the cache if that directory is
3359     # removed, or if the path is relative.
3360     INSTALL=$ac_install_sh
3361   fi
3362 fi
3363 echo "$as_me:$LINENO: result: $INSTALL" >&5
3364 echo "${ECHO_T}$INSTALL" >&6
3365
3366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3367 # It thinks the first close brace ends the variable substitution.
3368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3369
3370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3371
3372 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3373
3374
3375 # Configure libtool
3376 #AC_MSG_NOTICE([====== Starting libtool configuration])
3377
3378 # Check whether --enable-shared or --disable-shared was given.
3379 if test "${enable_shared+set}" = set; then
3380   enableval="$enable_shared"
3381   p=${PACKAGE-default}
3382 case $enableval in
3383 yes) enable_shared=yes ;;
3384 no) enable_shared=no ;;
3385 *)
3386   enable_shared=no
3387   # Look at the argument we got.  We use all the common list separators.
3388   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3389   for pkg in $enableval; do
3390     if test "X$pkg" = "X$p"; then
3391       enable_shared=yes
3392     fi
3393   done
3394   IFS="$ac_save_ifs"
3395   ;;
3396 esac
3397 else
3398   enable_shared=yes
3399 fi;
3400 # Check whether --enable-static or --disable-static was given.
3401 if test "${enable_static+set}" = set; then
3402   enableval="$enable_static"
3403   p=${PACKAGE-default}
3404 case $enableval in
3405 yes) enable_static=yes ;;
3406 no) enable_static=no ;;
3407 *)
3408   enable_static=no
3409   # Look at the argument we got.  We use all the common list separators.
3410   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3411   for pkg in $enableval; do
3412     if test "X$pkg" = "X$p"; then
3413       enable_static=yes
3414     fi
3415   done
3416   IFS="$ac_save_ifs"
3417   ;;
3418 esac
3419 else
3420   enable_static=yes
3421 fi;
3422 # Check whether --enable-fast-install or --disable-fast-install was given.
3423 if test "${enable_fast_install+set}" = set; then
3424   enableval="$enable_fast_install"
3425   p=${PACKAGE-default}
3426 case $enableval in
3427 yes) enable_fast_install=yes ;;
3428 no) enable_fast_install=no ;;
3429 *)
3430   enable_fast_install=no
3431   # Look at the argument we got.  We use all the common list separators.
3432   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3433   for pkg in $enableval; do
3434     if test "X$pkg" = "X$p"; then
3435       enable_fast_install=yes
3436     fi
3437   done
3438   IFS="$ac_save_ifs"
3439   ;;
3440 esac
3441 else
3442   enable_fast_install=yes
3443 fi;
3444
3445 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3446 if test "${with_gnu_ld+set}" = set; then
3447   withval="$with_gnu_ld"
3448   test "$withval" = no || with_gnu_ld=yes
3449 else
3450   with_gnu_ld=no
3451 fi;
3452 ac_prog=ld
3453 if test "$GCC" = yes; then
3454   # Check if gcc -print-prog-name=ld gives a path.
3455   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3456 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3457   case $host in
3458   *-*-mingw*)
3459     # gcc leaves a trailing carriage return which upsets mingw
3460     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3461   *)
3462     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3463   esac
3464   case $ac_prog in
3465     # Accept absolute paths.
3466     [\\/]* | [A-Za-z]:[\\/]*)
3467       re_direlt='/[^/][^/]*/\.\./'
3468       # Canonicalize the path of ld
3469       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3470       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3471         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3472       done
3473       test -z "$LD" && LD="$ac_prog"
3474       ;;
3475   "")
3476     # If it fails, then pretend we aren't using GCC.
3477     ac_prog=ld
3478     ;;
3479   *)
3480     # If it is relative, then search for the first ld in PATH.
3481     with_gnu_ld=unknown
3482     ;;
3483   esac
3484 elif test "$with_gnu_ld" = yes; then
3485   echo "$as_me:$LINENO: checking for GNU ld" >&5
3486 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3487 else
3488   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3489 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3490 fi
3491 if test "${lt_cv_path_LD+set}" = set; then
3492   echo $ECHO_N "(cached) $ECHO_C" >&6
3493 else
3494   if test -z "$LD"; then
3495   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3496   for ac_dir in $PATH; do
3497     test -z "$ac_dir" && ac_dir=.
3498     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3499       lt_cv_path_LD="$ac_dir/$ac_prog"
3500       # Check to see if the program is GNU ld.  I'd rather use --version,
3501       # but apparently some GNU ld's only accept -v.
3502       # Break only if it was the GNU/non-GNU ld that we prefer.
3503       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3504         test "$with_gnu_ld" != no && break
3505       else
3506         test "$with_gnu_ld" != yes && break
3507       fi
3508     fi
3509   done
3510   IFS="$ac_save_ifs"
3511 else
3512   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3513 fi
3514 fi
3515
3516 LD="$lt_cv_path_LD"
3517 if test -n "$LD"; then
3518   echo "$as_me:$LINENO: result: $LD" >&5
3519 echo "${ECHO_T}$LD" >&6
3520 else
3521   echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3523 fi
3524 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3525 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3526    { (exit 1); exit 1; }; }
3527 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3528 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3529 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3530   echo $ECHO_N "(cached) $ECHO_C" >&6
3531 else
3532   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3533 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3534   lt_cv_prog_gnu_ld=yes
3535 else
3536   lt_cv_prog_gnu_ld=no
3537 fi
3538 fi
3539 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3540 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3541 with_gnu_ld=$lt_cv_prog_gnu_ld
3542
3543
3544 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3545 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3546 if test "${lt_cv_ld_reload_flag+set}" = set; then
3547   echo $ECHO_N "(cached) $ECHO_C" >&6
3548 else
3549   lt_cv_ld_reload_flag='-r'
3550 fi
3551 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3552 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3553 reload_flag=$lt_cv_ld_reload_flag
3554 test -n "$reload_flag" && reload_flag=" $reload_flag"
3555
3556 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3557 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3558 if test "${lt_cv_path_NM+set}" = set; then
3559   echo $ECHO_N "(cached) $ECHO_C" >&6
3560 else
3561   if test -n "$NM"; then
3562   # Let the user override the test.
3563   lt_cv_path_NM="$NM"
3564 else
3565   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3566   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3567     test -z "$ac_dir" && ac_dir=.
3568     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3569     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3570       # Check to see if the nm accepts a BSD-compat flag.
3571       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3572       #   nm: unknown option "B" ignored
3573       # Tru64's nm complains that /dev/null is an invalid object file
3574       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3575         lt_cv_path_NM="$tmp_nm -B"
3576         break
3577       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3578         lt_cv_path_NM="$tmp_nm -p"
3579         break
3580       else
3581         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3582         continue # so that we can try to find one that supports BSD flags
3583       fi
3584     fi
3585   done
3586   IFS="$ac_save_ifs"
3587   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3588 fi
3589 fi
3590
3591 NM="$lt_cv_path_NM"
3592 echo "$as_me:$LINENO: result: $NM" >&5
3593 echo "${ECHO_T}$NM" >&6
3594
3595 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3597 LN_S=$as_ln_s
3598 if test "$LN_S" = "ln -s"; then
3599   echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 else
3602   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3603 echo "${ECHO_T}no, using $LN_S" >&6
3604 fi
3605
3606 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3607 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3608 if test "${lt_cv_deplibs_check_method+set}" = set; then
3609   echo $ECHO_N "(cached) $ECHO_C" >&6
3610 else
3611   lt_cv_file_magic_cmd='$MAGIC_CMD'
3612 lt_cv_file_magic_test_file=
3613 lt_cv_deplibs_check_method='unknown'
3614 # Need to set the preceding variable on all platforms that support
3615 # interlibrary dependencies.
3616 # 'none' -- dependencies not supported.
3617 # `unknown' -- same as none, but documents that we really don't know.
3618 # 'pass_all' -- all dependencies passed with no checks.
3619 # 'test_compile' -- check by making test program.
3620 # 'file_magic [regex]' -- check by looking for files in library path
3621 # which responds to the $file_magic_cmd with a given egrep regex.
3622 # If you have `file' or equivalent on your system and you're not sure
3623 # whether `pass_all' will *always* work, you probably want this one.
3624
3625 case $host_os in
3626 aix*)
3627   lt_cv_deplibs_check_method=pass_all
3628   ;;
3629
3630 beos*)
3631   lt_cv_deplibs_check_method=pass_all
3632   ;;
3633
3634 bsdi4*)
3635   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3636   lt_cv_file_magic_cmd='/usr/bin/file -L'
3637   lt_cv_file_magic_test_file=/shlib/libc.so
3638   ;;
3639
3640 cygwin* | mingw* |pw32*)
3641   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3642   lt_cv_file_magic_cmd='$OBJDUMP -f'
3643   ;;
3644
3645 darwin* | rhapsody*)
3646   # this will be overwritten by pass_all, but leave it in just in case
3647   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3648   lt_cv_file_magic_cmd='/usr/bin/file -L'
3649   case "$host_os" in
3650   rhapsody* | darwin1.012)
3651     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3652     ;;
3653   *) # Darwin 1.3 on
3654     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3655     ;;
3656   esac
3657   lt_cv_deplibs_check_method=pass_all
3658   ;;
3659
3660 freebsd* | kfreebsd*-gnu)
3661   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3662     case $host_cpu in
3663     i*86 )
3664       # Not sure whether the presence of OpenBSD here was a mistake.
3665       # Let's accept both of them until this is cleared up.
3666       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3667       lt_cv_file_magic_cmd=/usr/bin/file
3668       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3669       ;;
3670     esac
3671   else
3672     lt_cv_deplibs_check_method=pass_all
3673   fi
3674   ;;
3675
3676 gnu*)
3677   lt_cv_deplibs_check_method=pass_all
3678   ;;
3679
3680 hpux10.20*|hpux11*)
3681   case $host_cpu in
3682   hppa*)
3683     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3684     lt_cv_file_magic_cmd=/usr/bin/file
3685     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3686     ;;
3687   ia64*)
3688     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3689     lt_cv_file_magic_cmd=/usr/bin/file
3690     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3691     ;;
3692   esac
3693   ;;
3694
3695 irix5* | irix6*)
3696   case $host_os in
3697   irix5*)
3698     # this will be overridden with pass_all, but let us keep it just in case
3699     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3700     ;;
3701   *)
3702     case $LD in
3703     *-32|*"-32 ") libmagic=32-bit;;
3704     *-n32|*"-n32 ") libmagic=N32;;
3705     *-64|*"-64 ") libmagic=64-bit;;
3706     *) libmagic=never-match;;
3707     esac
3708     # this will be overridden with pass_all, but let us keep it just in case
3709     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3710     ;;
3711   esac
3712   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3713   lt_cv_deplibs_check_method=pass_all
3714   ;;
3715
3716 # This must be Linux ELF.
3717 linux-gnu*)
3718   lt_cv_deplibs_check_method=pass_all
3719   ;;
3720
3721 netbsd* | knetbsd*-gnu)
3722   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3723     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3724   else
3725     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3726   fi
3727   ;;
3728
3729 newsos6)
3730   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3731   lt_cv_file_magic_cmd=/usr/bin/file
3732   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3733   ;;
3734
3735 osf3* | osf4* | osf5*)
3736   # this will be overridden with pass_all, but let us keep it just in case
3737   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3738   lt_cv_file_magic_test_file=/shlib/libc.so
3739   lt_cv_deplibs_check_method=pass_all
3740   ;;
3741
3742 sco3.2v5*)
3743   lt_cv_deplibs_check_method=pass_all
3744   ;;
3745
3746 solaris*)
3747   lt_cv_deplibs_check_method=pass_all
3748   lt_cv_file_magic_test_file=/lib/libc.so
3749   ;;
3750
3751 sysv5uw[78]* | sysv4*uw2*)
3752   lt_cv_deplibs_check_method=pass_all
3753   ;;
3754
3755 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3756   case $host_vendor in
3757   ncr)
3758     lt_cv_deplibs_check_method=pass_all
3759     ;;
3760   motorola)
3761     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]'
3762     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3763     ;;
3764   esac
3765   ;;
3766 esac
3767
3768 fi
3769 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3770 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3771 file_magic_cmd=$lt_cv_file_magic_cmd
3772 deplibs_check_method=$lt_cv_deplibs_check_method
3773
3774
3775
3776
3777
3778 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3779
3780 # find the maximum length of command line arguments
3781 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3782 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3783 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3784   echo $ECHO_N "(cached) $ECHO_C" >&6
3785 else
3786     i=0
3787   teststring="ABCD"
3788
3789   case $build_os in
3790   msdosdjgpp*)
3791     # On DJGPP, this test can blow up pretty badly due to problems in libc
3792     # (any single argument exceeding 2000 bytes causes a buffer overrun
3793     # during glob expansion).  Even if it were fixed, the result of this
3794     # check would be larger than it should be.
3795     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3796     ;;
3797
3798   cygwin* | mingw*)
3799     # On Win9x/ME, this test blows up -- it succeeds, but takes
3800     # about 5 minutes as the teststring grows exponentially.
3801     # Worse, since 9x/ME are not pre-emptively multitasking,
3802     # you end up with a "frozen" computer, even though with patience
3803     # the test eventually succeeds (with a max line length of 256k).
3804     # Instead, let's just punt: use the minimum linelength reported by
3805     # all of the supported platforms: 8192 (on NT/2K/XP).
3806     lt_cv_sys_max_cmd_len=8192;
3807     ;;
3808
3809   amigaos*)
3810     # On AmigaOS with pdksh, this test takes hours, literally.
3811     # So we just punt and use a minimum line length of 8192.
3812     lt_cv_sys_max_cmd_len=8192;
3813     ;;
3814
3815   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3816     # This has been around since 386BSD, at least.  Likely further.
3817     if test -x /sbin/sysctl; then
3818       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3819     elif test -x /usr/sbin/sysctl; then
3820       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3821     else
3822       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3823     fi
3824     # And add a safety zone
3825     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3826     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3827     ;;
3828   esac
3829
3830 fi
3831
3832 if test -n "$lt_cv_sys_max_cmd_len" ; then
3833   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3834 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3835 else
3836   echo "$as_me:$LINENO: result: none" >&5
3837 echo "${ECHO_T}none" >&6
3838 fi
3839
3840
3841 # Only perform the check for file, if the check method requires it
3842 case $deplibs_check_method in
3843 file_magic*)
3844   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3845     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3846 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3847 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3848   echo $ECHO_N "(cached) $ECHO_C" >&6
3849 else
3850   case $MAGIC_CMD in
3851   /*)
3852   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3853   ;;
3854   ?:/*)
3855   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3856   ;;
3857   *)
3858   ac_save_MAGIC_CMD="$MAGIC_CMD"
3859   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3860   ac_dummy="/usr/bin:$PATH"
3861   for ac_dir in $ac_dummy; do
3862     test -z "$ac_dir" && ac_dir=.
3863     if test -f $ac_dir/${ac_tool_prefix}file; then
3864       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3865       if test -n "$file_magic_test_file"; then
3866         case $deplibs_check_method in
3867         "file_magic "*)
3868           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3869           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3870           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3871             egrep "$file_magic_regex" > /dev/null; then
3872             :
3873           else
3874             cat <<EOF 1>&2
3875
3876 *** Warning: the command libtool uses to detect shared libraries,
3877 *** $file_magic_cmd, produces output that libtool cannot recognize.
3878 *** The result is that libtool may fail to recognize shared libraries
3879 *** as such.  This will affect the creation of libtool libraries that
3880 *** depend on shared libraries, but programs linked with such libtool
3881 *** libraries will work regardless of this problem.  Nevertheless, you
3882 *** may want to report the problem to your system manager and/or to
3883 *** bug-libtool@gnu.org
3884
3885 EOF
3886           fi ;;
3887         esac
3888       fi
3889       break
3890     fi
3891   done
3892   IFS="$ac_save_ifs"
3893   MAGIC_CMD="$ac_save_MAGIC_CMD"
3894   ;;
3895 esac
3896 fi
3897
3898 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3899 if test -n "$MAGIC_CMD"; then
3900   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3901 echo "${ECHO_T}$MAGIC_CMD" >&6
3902 else
3903   echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3905 fi
3906
3907 if test -z "$lt_cv_path_MAGIC_CMD"; then
3908   if test -n "$ac_tool_prefix"; then
3909     echo "$as_me:$LINENO: checking for file" >&5
3910 echo $ECHO_N "checking for file... $ECHO_C" >&6
3911 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3912   echo $ECHO_N "(cached) $ECHO_C" >&6
3913 else
3914   case $MAGIC_CMD in
3915   /*)
3916   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3917   ;;
3918   ?:/*)
3919   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3920   ;;
3921   *)
3922   ac_save_MAGIC_CMD="$MAGIC_CMD"
3923   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3924   ac_dummy="/usr/bin:$PATH"
3925   for ac_dir in $ac_dummy; do
3926     test -z "$ac_dir" && ac_dir=.
3927     if test -f $ac_dir/file; then
3928       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3929       if test -n "$file_magic_test_file"; then
3930         case $deplibs_check_method in
3931         "file_magic "*)
3932           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3933           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3934           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3935             egrep "$file_magic_regex" > /dev/null; then
3936             :
3937           else
3938             cat <<EOF 1>&2
3939
3940 *** Warning: the command libtool uses to detect shared libraries,
3941 *** $file_magic_cmd, produces output that libtool cannot recognize.
3942 *** The result is that libtool may fail to recognize shared libraries
3943 *** as such.  This will affect the creation of libtool libraries that
3944 *** depend on shared libraries, but programs linked with such libtool
3945 *** libraries will work regardless of this problem.  Nevertheless, you
3946 *** may want to report the problem to your system manager and/or to
3947 *** bug-libtool@gnu.org
3948
3949 EOF
3950           fi ;;
3951         esac
3952       fi
3953       break
3954     fi
3955   done
3956   IFS="$ac_save_ifs"
3957   MAGIC_CMD="$ac_save_MAGIC_CMD"
3958   ;;
3959 esac
3960 fi
3961
3962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3963 if test -n "$MAGIC_CMD"; then
3964   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3965 echo "${ECHO_T}$MAGIC_CMD" >&6
3966 else
3967   echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3969 fi
3970
3971   else
3972     MAGIC_CMD=:
3973   fi
3974 fi
3975
3976   fi
3977   ;;
3978 esac
3979
3980 if test -n "$ac_tool_prefix"; then
3981   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3983 echo "$as_me:$LINENO: checking for $ac_word" >&5
3984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3985 if test "${ac_cv_prog_RANLIB+set}" = set; then
3986   echo $ECHO_N "(cached) $ECHO_C" >&6
3987 else
3988   if test -n "$RANLIB"; then
3989   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3993 do
3994   IFS=$as_save_IFS
3995   test -z "$as_dir" && as_dir=.
3996   for ac_exec_ext in '' $ac_executable_extensions; do
3997   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3999     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4000     break 2
4001   fi
4002 done
4003 done
4004
4005 fi
4006 fi
4007 RANLIB=$ac_cv_prog_RANLIB
4008 if test -n "$RANLIB"; then
4009   echo "$as_me:$LINENO: result: $RANLIB" >&5
4010 echo "${ECHO_T}$RANLIB" >&6
4011 else
4012   echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4014 fi
4015
4016 fi
4017 if test -z "$ac_cv_prog_RANLIB"; then
4018   ac_ct_RANLIB=$RANLIB
4019   # Extract the first word of "ranlib", so it can be a program name with args.
4020 set dummy ranlib; ac_word=$2
4021 echo "$as_me:$LINENO: checking for $ac_word" >&5
4022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4023 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4024   echo $ECHO_N "(cached) $ECHO_C" >&6
4025 else
4026   if test -n "$ac_ct_RANLIB"; then
4027   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4028 else
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 for as_dir in $PATH
4031 do
4032   IFS=$as_save_IFS
4033   test -z "$as_dir" && as_dir=.
4034   for ac_exec_ext in '' $ac_executable_extensions; do
4035   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4036     ac_cv_prog_ac_ct_RANLIB="ranlib"
4037     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4038     break 2
4039   fi
4040 done
4041 done
4042
4043   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4044 fi
4045 fi
4046 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4047 if test -n "$ac_ct_RANLIB"; then
4048   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4049 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4050 else
4051   echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4053 fi
4054
4055   RANLIB=$ac_ct_RANLIB
4056 else
4057   RANLIB="$ac_cv_prog_RANLIB"
4058 fi
4059
4060 if test -n "$ac_tool_prefix"; then
4061   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4062 set dummy ${ac_tool_prefix}strip; ac_word=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_STRIP+set}" = set; then
4066   echo $ECHO_N "(cached) $ECHO_C" >&6
4067 else
4068   if test -n "$STRIP"; then
4069   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4073 do
4074   IFS=$as_save_IFS
4075   test -z "$as_dir" && as_dir=.
4076   for ac_exec_ext in '' $ac_executable_extensions; do
4077   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4080     break 2
4081   fi
4082 done
4083 done
4084
4085 fi
4086 fi
4087 STRIP=$ac_cv_prog_STRIP
4088 if test -n "$STRIP"; then
4089   echo "$as_me:$LINENO: result: $STRIP" >&5
4090 echo "${ECHO_T}$STRIP" >&6
4091 else
4092   echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6
4094 fi
4095
4096 fi
4097 if test -z "$ac_cv_prog_STRIP"; then
4098   ac_ct_STRIP=$STRIP
4099   # Extract the first word of "strip", so it can be a program name with args.
4100 set dummy strip; ac_word=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4104   echo $ECHO_N "(cached) $ECHO_C" >&6
4105 else
4106   if test -n "$ac_ct_STRIP"; then
4107   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4108 else
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 for as_dir in $PATH
4111 do
4112   IFS=$as_save_IFS
4113   test -z "$as_dir" && as_dir=.
4114   for ac_exec_ext in '' $ac_executable_extensions; do
4115   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116     ac_cv_prog_ac_ct_STRIP="strip"
4117     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4118     break 2
4119   fi
4120 done
4121 done
4122
4123   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4124 fi
4125 fi
4126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4127 if test -n "$ac_ct_STRIP"; then
4128   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4129 echo "${ECHO_T}$ac_ct_STRIP" >&6
4130 else
4131   echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4133 fi
4134
4135   STRIP=$ac_ct_STRIP
4136 else
4137   STRIP="$ac_cv_prog_STRIP"
4138 fi
4139
4140
4141 # Check for any special flags to pass to ltconfig.
4142 libtool_flags="--cache-file=$cache_file"
4143 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4144 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4145 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4146 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4147 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4148
4149
4150 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4151 if test "${enable_libtool_lock+set}" = set; then
4152   enableval="$enable_libtool_lock"
4153
4154 fi;
4155 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4156 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4157
4158
4159 # Check whether --with-pic or --without-pic was given.
4160 if test "${with_pic+set}" = set; then
4161   withval="$with_pic"
4162   pic_mode="$withval"
4163 else
4164   pic_mode=default
4165 fi;
4166 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4167 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4168
4169 # Some flags need to be propagated to the compiler or linker for good
4170 # libtool support.
4171 case $host in
4172 *-*-irix6*)
4173   # Find out which ABI we are using.
4174   echo '#line 4174 "configure"' > conftest.$ac_ext
4175   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176   (eval $ac_compile) 2>&5
4177   ac_status=$?
4178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179   (exit $ac_status); }; then
4180    if test "$lt_cv_prog_gnu_ld" = yes; then
4181     case `/usr/bin/file conftest.$ac_objext` in
4182     *32-bit*)
4183       LD="${LD-ld} -melf32bsmip"
4184       ;;
4185     *N32*)
4186       LD="${LD-ld} -melf32bmipn32"
4187       ;;
4188     *64-bit*)
4189       LD="${LD-ld} -melf64bmip"
4190       ;;
4191     esac
4192    else
4193     case `/usr/bin/file conftest.$ac_objext` in
4194     *32-bit*)
4195       LD="${LD-ld} -32"
4196       ;;
4197     *N32*)
4198       LD="${LD-ld} -n32"
4199       ;;
4200     *64-bit*)
4201       LD="${LD-ld} -64"
4202       ;;
4203     esac
4204    fi
4205   fi
4206   rm -rf conftest*
4207   ;;
4208
4209 ia64-*-hpux*)
4210   # Find out which ABI we are using.
4211   echo 'int i;' > conftest.$ac_ext
4212   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4213   (eval $ac_compile) 2>&5
4214   ac_status=$?
4215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216   (exit $ac_status); }; then
4217     case "`/usr/bin/file conftest.o`" in
4218     *ELF-32*)
4219       HPUX_IA64_MODE="32"
4220       ;;
4221     *ELF-64*)
4222       HPUX_IA64_MODE="64"
4223       ;;
4224     esac
4225   fi
4226   rm -rf conftest*
4227   ;;
4228
4229 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4230   # Find out which ABI we are using.
4231   echo 'int i;' > conftest.$ac_ext
4232   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233   (eval $ac_compile) 2>&5
4234   ac_status=$?
4235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236   (exit $ac_status); }; then
4237     case "`/usr/bin/file conftest.o`" in
4238     *32-bit*)
4239       case $host in
4240         x86_64-*linux*)
4241           LD="${LD-ld} -m elf_i386"
4242           ;;
4243         ppc64-*linux*|powerpc64-*linux*)
4244           LD="${LD-ld} -m elf32ppclinux"
4245           ;;
4246         s390x-*linux*)
4247           LD="${LD-ld} -m elf_s390"
4248           ;;
4249         sparc64-*linux*)
4250           LD="${LD-ld} -m elf32_sparc"
4251           ;;
4252       esac
4253       ;;
4254     *64-bit*)
4255       case $host in
4256         x86_64-*linux*)
4257           LD="${LD-ld} -m elf_x86_64"
4258           ;;
4259         ppc*-*linux*|powerpc*-*linux*)
4260           LD="${LD-ld} -m elf64ppc"
4261           ;;
4262         s390*-*linux*)
4263           LD="${LD-ld} -m elf64_s390"
4264           ;;
4265         sparc*-*linux*)
4266           LD="${LD-ld} -m elf64_sparc"
4267           ;;
4268       esac
4269       ;;
4270     esac
4271   fi
4272   rm -rf conftest*
4273   ;;
4274
4275 *-*-sco3.2v5*)
4276   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4277   SAVE_CFLAGS="$CFLAGS"
4278   CFLAGS="$CFLAGS -belf"
4279   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4280 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4281 if test "${lt_cv_cc_needs_belf+set}" = set; then
4282   echo $ECHO_N "(cached) $ECHO_C" >&6
4283 else
4284
4285
4286      ac_ext=c
4287 ac_cpp='$CPP $CPPFLAGS'
4288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4291
4292      if test x$gcc_no_link = xyes; then
4293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4295    { (exit 1); exit 1; }; }
4296 fi
4297 cat >conftest.$ac_ext <<_ACEOF
4298 /* confdefs.h.  */
4299 _ACEOF
4300 cat confdefs.h >>conftest.$ac_ext
4301 cat >>conftest.$ac_ext <<_ACEOF
4302 /* end confdefs.h.  */
4303
4304 int
4305 main ()
4306 {
4307
4308   ;
4309   return 0;
4310 }
4311 _ACEOF
4312 rm -f conftest.$ac_objext conftest$ac_exeext
4313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4314   (eval $ac_link) 2>conftest.er1
4315   ac_status=$?
4316   grep -v '^ *+' conftest.er1 >conftest.err
4317   rm -f conftest.er1
4318   cat conftest.err >&5
4319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320   (exit $ac_status); } &&
4321          { ac_try='test -z "$ac_c_werror_flag"
4322                          || test ! -s conftest.err'
4323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4324   (eval $ac_try) 2>&5
4325   ac_status=$?
4326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327   (exit $ac_status); }; } &&
4328          { ac_try='test -s conftest$ac_exeext'
4329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330   (eval $ac_try) 2>&5
4331   ac_status=$?
4332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333   (exit $ac_status); }; }; then
4334   lt_cv_cc_needs_belf=yes
4335 else
4336   echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.$ac_ext >&5
4338
4339 lt_cv_cc_needs_belf=no
4340 fi
4341 rm -f conftest.err conftest.$ac_objext \
4342       conftest$ac_exeext conftest.$ac_ext
4343      ac_ext=c
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348
4349 fi
4350 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4351 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4352   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4353     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4354     CFLAGS="$SAVE_CFLAGS"
4355   fi
4356   ;;
4357
4358
4359 esac
4360
4361
4362 # Save cache, so that ltconfig can load it
4363 cat >confcache <<\_ACEOF
4364 # This file is a shell script that caches the results of configure
4365 # tests run on this system so they can be shared between configure
4366 # scripts and configure runs, see configure's option --config-cache.
4367 # It is not useful on other systems.  If it contains results you don't
4368 # want to keep, you may remove or edit it.
4369 #
4370 # config.status only pays attention to the cache file if you give it
4371 # the --recheck option to rerun configure.
4372 #
4373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4375 # following values.
4376
4377 _ACEOF
4378
4379 # The following way of writing the cache mishandles newlines in values,
4380 # but we know of no workaround that is simple, portable, and efficient.
4381 # So, don't put newlines in cache variables' values.
4382 # Ultrix sh set writes to stderr and can't be redirected directly,
4383 # and sets the high bit in the cache file unless we assign to the vars.
4384 {
4385   (set) 2>&1 |
4386     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4387     *ac_space=\ *)
4388       # `set' does not quote correctly, so add quotes (double-quote
4389       # substitution turns \\\\ into \\, and sed turns \\ into \).
4390       sed -n \
4391         "s/'/'\\\\''/g;
4392           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4393       ;;
4394     *)
4395       # `set' quotes correctly as required by POSIX, so do not add quotes.
4396       sed -n \
4397         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4398       ;;
4399     esac;
4400 } |
4401   sed '
4402      t clear
4403      : clear
4404      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4405      t end
4406      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4407      : end' >>confcache
4408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4409   if test -w $cache_file; then
4410     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4411     cat confcache >$cache_file
4412   else
4413     echo "not updating unwritable cache $cache_file"
4414   fi
4415 fi
4416 rm -f confcache
4417
4418 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4419 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4420 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4421 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4422 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4423 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4424 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4425 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4426 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4427 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4428 echo "$as_me: error: libtool configure failed" >&2;}
4429    { (exit 1); exit 1; }; }
4430
4431 # Reload cache, that may have been modified by ltconfig
4432 if test -r "$cache_file"; then
4433   # Some versions of bash will fail to source /dev/null (special
4434   # files actually), so we avoid doing that.
4435   if test -f "$cache_file"; then
4436     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4437 echo "$as_me: loading cache $cache_file" >&6;}
4438     case $cache_file in
4439       [\\/]* | ?:[\\/]* ) . $cache_file;;
4440       *)                      . ./$cache_file;;
4441     esac
4442   fi
4443 else
4444   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4445 echo "$as_me: creating cache $cache_file" >&6;}
4446   >$cache_file
4447 fi
4448
4449
4450 # This can be used to rebuild libtool when needed
4451 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4452
4453 # Always use our own libtool.
4454 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4455
4456 # Redirect the config.log output again, so that the ltconfig log is not
4457 # clobbered by the next message.
4458 exec 5>>./config.log
4459
4460
4461
4462
4463
4464
4465
4466
4467 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4468
4469 # We need gfortran to compile parts of the library
4470 #AC_PROG_FC(gfortran)
4471 FC="$GFORTRAN"
4472 ac_ext=${FC_SRCEXT-f}
4473 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4474 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4475 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4476 if test -n "$ac_tool_prefix"; then
4477   for ac_prog in gfortran
4478   do
4479     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4483 if test "${ac_cv_prog_FC+set}" = set; then
4484   echo $ECHO_N "(cached) $ECHO_C" >&6
4485 else
4486   if test -n "$FC"; then
4487   ac_cv_prog_FC="$FC" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4491 do
4492   IFS=$as_save_IFS
4493   test -z "$as_dir" && as_dir=.
4494   for ac_exec_ext in '' $ac_executable_extensions; do
4495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498     break 2
4499   fi
4500 done
4501 done
4502
4503 fi
4504 fi
4505 FC=$ac_cv_prog_FC
4506 if test -n "$FC"; then
4507   echo "$as_me:$LINENO: result: $FC" >&5
4508 echo "${ECHO_T}$FC" >&6
4509 else
4510   echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4512 fi
4513
4514     test -n "$FC" && break
4515   done
4516 fi
4517 if test -z "$FC"; then
4518   ac_ct_FC=$FC
4519   for ac_prog in gfortran
4520 do
4521   # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4526   echo $ECHO_N "(cached) $ECHO_C" >&6
4527 else
4528   if test -n "$ac_ct_FC"; then
4529   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4533 do
4534   IFS=$as_save_IFS
4535   test -z "$as_dir" && as_dir=.
4536   for ac_exec_ext in '' $ac_executable_extensions; do
4537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538     ac_cv_prog_ac_ct_FC="$ac_prog"
4539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540     break 2
4541   fi
4542 done
4543 done
4544
4545 fi
4546 fi
4547 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4548 if test -n "$ac_ct_FC"; then
4549   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4550 echo "${ECHO_T}$ac_ct_FC" >&6
4551 else
4552   echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4554 fi
4555
4556   test -n "$ac_ct_FC" && break
4557 done
4558
4559   FC=$ac_ct_FC
4560 fi
4561
4562
4563 # Provide some information about the compiler.
4564 echo "$as_me:4564:" \
4565      "checking for Fortran compiler version" >&5
4566 ac_compiler=`set X $ac_compile; echo $2`
4567 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4568   (eval $ac_compiler --version </dev/null >&5) 2>&5
4569   ac_status=$?
4570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571   (exit $ac_status); }
4572 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4573   (eval $ac_compiler -v </dev/null >&5) 2>&5
4574   ac_status=$?
4575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576   (exit $ac_status); }
4577 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4578   (eval $ac_compiler -V </dev/null >&5) 2>&5
4579   ac_status=$?
4580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581   (exit $ac_status); }
4582 rm -f a.out
4583
4584 # If we don't use `.F' as extension, the preprocessor is not run on the
4585 # input file.  (Note that this only needs to work for GNU compilers.)
4586 ac_save_ext=$ac_ext
4587 ac_ext=F
4588 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4589 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4590 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4591   echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593   cat >conftest.$ac_ext <<_ACEOF
4594       program main
4595 #ifndef __GNUC__
4596        choke me
4597 #endif
4598
4599       end
4600 _ACEOF
4601 rm -f conftest.$ac_objext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603   (eval $ac_compile) 2>conftest.er1
4604   ac_status=$?
4605   grep -v '^ *+' conftest.er1 >conftest.err
4606   rm -f conftest.er1
4607   cat conftest.err >&5
4608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609   (exit $ac_status); } &&
4610          { ac_try='test -z "$ac_fc_werror_flag"
4611                          || test ! -s conftest.err'
4612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613   (eval $ac_try) 2>&5
4614   ac_status=$?
4615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616   (exit $ac_status); }; } &&
4617          { ac_try='test -s conftest.$ac_objext'
4618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619   (eval $ac_try) 2>&5
4620   ac_status=$?
4621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622   (exit $ac_status); }; }; then
4623   ac_compiler_gnu=yes
4624 else
4625   echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4627
4628 ac_compiler_gnu=no
4629 fi
4630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4632
4633 fi
4634 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4635 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4636 ac_ext=$ac_save_ext
4637 ac_test_FFLAGS=${FCFLAGS+set}
4638 ac_save_FFLAGS=$FCFLAGS
4639 FCFLAGS=
4640 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4641 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4642 if test "${ac_cv_prog_fc_g+set}" = set; then
4643   echo $ECHO_N "(cached) $ECHO_C" >&6
4644 else
4645   FCFLAGS=-g
4646 cat >conftest.$ac_ext <<_ACEOF
4647       program main
4648
4649       end
4650 _ACEOF
4651 rm -f conftest.$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653   (eval $ac_compile) 2>conftest.er1
4654   ac_status=$?
4655   grep -v '^ *+' conftest.er1 >conftest.err
4656   rm -f conftest.er1
4657   cat conftest.err >&5
4658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659   (exit $ac_status); } &&
4660          { ac_try='test -z "$ac_fc_werror_flag"
4661                          || test ! -s conftest.err'
4662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663   (eval $ac_try) 2>&5
4664   ac_status=$?
4665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666   (exit $ac_status); }; } &&
4667          { ac_try='test -s conftest.$ac_objext'
4668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669   (eval $ac_try) 2>&5
4670   ac_status=$?
4671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672   (exit $ac_status); }; }; then
4673   ac_cv_prog_fc_g=yes
4674 else
4675   echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4677
4678 ac_cv_prog_fc_g=no
4679 fi
4680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4681
4682 fi
4683 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4684 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4685 if test "$ac_test_FFLAGS" = set; then
4686   FCFLAGS=$ac_save_FFLAGS
4687 elif test $ac_cv_prog_fc_g = yes; then
4688   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4689     FCFLAGS="-g -O2"
4690   else
4691     FCFLAGS="-g"
4692   fi
4693 else
4694   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4695     FCFLAGS="-O2"
4696   else
4697     FCFLAGS=
4698   fi
4699 fi
4700
4701 ac_ext=c
4702 ac_cpp='$CPP $CPPFLAGS'
4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4706
4707
4708 # extra LD Flags which are required for targets
4709 case "${host}" in
4710   *-darwin*)
4711     # Darwin needs -single_module when linking libgfortran
4712     extra_ldflags_libgfortran=-Wl,-single_module
4713     ;;
4714 esac
4715
4716
4717 # Check whether --enable-largefile or --disable-largefile was given.
4718 if test "${enable_largefile+set}" = set; then
4719   enableval="$enable_largefile"
4720
4721 fi;
4722 if test "$enable_largefile" != no; then
4723
4724   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4725 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4726 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4727   echo $ECHO_N "(cached) $ECHO_C" >&6
4728 else
4729   ac_cv_sys_largefile_CC=no
4730      if test "$GCC" != yes; then
4731        ac_save_CC=$CC
4732        while :; do
4733          # IRIX 6.2 and later do not support large files by default,
4734          # so use the C compiler's -n32 option if that helps.
4735          cat >conftest.$ac_ext <<_ACEOF
4736 /* confdefs.h.  */
4737 _ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h.  */
4741 #include <sys/types.h>
4742  /* Check that off_t can represent 2**63 - 1 correctly.
4743     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4744     since some C++ compilers masquerading as C compilers
4745     incorrectly reject 9223372036854775807.  */
4746 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4747   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4748                        && LARGE_OFF_T % 2147483647 == 1)
4749                       ? 1 : -1];
4750 int
4751 main ()
4752 {
4753
4754   ;
4755   return 0;
4756 }
4757 _ACEOF
4758          rm -f conftest.$ac_objext
4759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760   (eval $ac_compile) 2>conftest.er1
4761   ac_status=$?
4762   grep -v '^ *+' conftest.er1 >conftest.err
4763   rm -f conftest.er1
4764   cat conftest.err >&5
4765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766   (exit $ac_status); } &&
4767          { ac_try='test -z "$ac_c_werror_flag"
4768                          || test ! -s conftest.err'
4769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770   (eval $ac_try) 2>&5
4771   ac_status=$?
4772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773   (exit $ac_status); }; } &&
4774          { ac_try='test -s conftest.$ac_objext'
4775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776   (eval $ac_try) 2>&5
4777   ac_status=$?
4778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779   (exit $ac_status); }; }; then
4780   break
4781 else
4782   echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4784
4785 fi
4786 rm -f conftest.err conftest.$ac_objext
4787          CC="$CC -n32"
4788          rm -f conftest.$ac_objext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790   (eval $ac_compile) 2>conftest.er1
4791   ac_status=$?
4792   grep -v '^ *+' conftest.er1 >conftest.err
4793   rm -f conftest.er1
4794   cat conftest.err >&5
4795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796   (exit $ac_status); } &&
4797          { ac_try='test -z "$ac_c_werror_flag"
4798                          || test ! -s conftest.err'
4799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800   (eval $ac_try) 2>&5
4801   ac_status=$?
4802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803   (exit $ac_status); }; } &&
4804          { ac_try='test -s conftest.$ac_objext'
4805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806   (eval $ac_try) 2>&5
4807   ac_status=$?
4808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809   (exit $ac_status); }; }; then
4810   ac_cv_sys_largefile_CC=' -n32'; break
4811 else
4812   echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4814
4815 fi
4816 rm -f conftest.err conftest.$ac_objext
4817          break
4818        done
4819        CC=$ac_save_CC
4820        rm -f conftest.$ac_ext
4821     fi
4822 fi
4823 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4824 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4825   if test "$ac_cv_sys_largefile_CC" != no; then
4826     CC=$CC$ac_cv_sys_largefile_CC
4827   fi
4828
4829   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4830 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4831 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4832   echo $ECHO_N "(cached) $ECHO_C" >&6
4833 else
4834   while :; do
4835   ac_cv_sys_file_offset_bits=no
4836   cat >conftest.$ac_ext <<_ACEOF
4837 /* confdefs.h.  */
4838 _ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h.  */
4842 #include <sys/types.h>
4843  /* Check that off_t can represent 2**63 - 1 correctly.
4844     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4845     since some C++ compilers masquerading as C compilers
4846     incorrectly reject 9223372036854775807.  */
4847 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4848   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4849                        && LARGE_OFF_T % 2147483647 == 1)
4850                       ? 1 : -1];
4851 int
4852 main ()
4853 {
4854
4855   ;
4856   return 0;
4857 }
4858 _ACEOF
4859 rm -f conftest.$ac_objext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861   (eval $ac_compile) 2>conftest.er1
4862   ac_status=$?
4863   grep -v '^ *+' conftest.er1 >conftest.err
4864   rm -f conftest.er1
4865   cat conftest.err >&5
4866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867   (exit $ac_status); } &&
4868          { ac_try='test -z "$ac_c_werror_flag"
4869                          || test ! -s conftest.err'
4870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4871   (eval $ac_try) 2>&5
4872   ac_status=$?
4873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874   (exit $ac_status); }; } &&
4875          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
4881   break
4882 else
4883   echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.$ac_ext >&5
4885
4886 fi
4887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888   cat >conftest.$ac_ext <<_ACEOF
4889 /* confdefs.h.  */
4890 _ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h.  */
4894 #define _FILE_OFFSET_BITS 64
4895 #include <sys/types.h>
4896  /* Check that off_t can represent 2**63 - 1 correctly.
4897     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4898     since some C++ compilers masquerading as C compilers
4899     incorrectly reject 9223372036854775807.  */
4900 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4901   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4902                        && LARGE_OFF_T % 2147483647 == 1)
4903                       ? 1 : -1];
4904 int
4905 main ()
4906 {
4907
4908   ;
4909   return 0;
4910 }
4911 _ACEOF
4912 rm -f conftest.$ac_objext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914   (eval $ac_compile) 2>conftest.er1
4915   ac_status=$?
4916   grep -v '^ *+' conftest.er1 >conftest.err
4917   rm -f conftest.er1
4918   cat conftest.err >&5
4919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920   (exit $ac_status); } &&
4921          { ac_try='test -z "$ac_c_werror_flag"
4922                          || test ! -s conftest.err'
4923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924   (eval $ac_try) 2>&5
4925   ac_status=$?
4926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927   (exit $ac_status); }; } &&
4928          { ac_try='test -s conftest.$ac_objext'
4929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930   (eval $ac_try) 2>&5
4931   ac_status=$?
4932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933   (exit $ac_status); }; }; then
4934   ac_cv_sys_file_offset_bits=64; break
4935 else
4936   echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4938
4939 fi
4940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4941   break
4942 done
4943 fi
4944 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4945 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4946 if test "$ac_cv_sys_file_offset_bits" != no; then
4947
4948 cat >>confdefs.h <<_ACEOF
4949 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4950 _ACEOF
4951
4952 fi
4953 rm -f conftest*
4954   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4955 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4956 if test "${ac_cv_sys_large_files+set}" = set; then
4957   echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959   while :; do
4960   ac_cv_sys_large_files=no
4961   cat >conftest.$ac_ext <<_ACEOF
4962 /* confdefs.h.  */
4963 _ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h.  */
4967 #include <sys/types.h>
4968  /* Check that off_t can represent 2**63 - 1 correctly.
4969     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4970     since some C++ compilers masquerading as C compilers
4971     incorrectly reject 9223372036854775807.  */
4972 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4973   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4974                        && LARGE_OFF_T % 2147483647 == 1)
4975                       ? 1 : -1];
4976 int
4977 main ()
4978 {
4979
4980   ;
4981   return 0;
4982 }
4983 _ACEOF
4984 rm -f conftest.$ac_objext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4986   (eval $ac_compile) 2>conftest.er1
4987   ac_status=$?
4988   grep -v '^ *+' conftest.er1 >conftest.err
4989   rm -f conftest.er1
4990   cat conftest.err >&5
4991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992   (exit $ac_status); } &&
4993          { ac_try='test -z "$ac_c_werror_flag"
4994                          || test ! -s conftest.err'
4995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996   (eval $ac_try) 2>&5
4997   ac_status=$?
4998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999   (exit $ac_status); }; } &&
5000          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
5006   break
5007 else
5008   echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5010
5011 fi
5012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5013   cat >conftest.$ac_ext <<_ACEOF
5014 /* confdefs.h.  */
5015 _ACEOF
5016 cat confdefs.h >>conftest.$ac_ext
5017 cat >>conftest.$ac_ext <<_ACEOF
5018 /* end confdefs.h.  */
5019 #define _LARGE_FILES 1
5020 #include <sys/types.h>
5021  /* Check that off_t can represent 2**63 - 1 correctly.
5022     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5023     since some C++ compilers masquerading as C compilers
5024     incorrectly reject 9223372036854775807.  */
5025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5026   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5027                        && LARGE_OFF_T % 2147483647 == 1)
5028                       ? 1 : -1];
5029 int
5030 main ()
5031 {
5032
5033   ;
5034   return 0;
5035 }
5036 _ACEOF
5037 rm -f conftest.$ac_objext
5038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5039   (eval $ac_compile) 2>conftest.er1
5040   ac_status=$?
5041   grep -v '^ *+' conftest.er1 >conftest.err
5042   rm -f conftest.er1
5043   cat conftest.err >&5
5044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045   (exit $ac_status); } &&
5046          { ac_try='test -z "$ac_c_werror_flag"
5047                          || test ! -s conftest.err'
5048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049   (eval $ac_try) 2>&5
5050   ac_status=$?
5051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052   (exit $ac_status); }; } &&
5053          { ac_try='test -s conftest.$ac_objext'
5054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055   (eval $ac_try) 2>&5
5056   ac_status=$?
5057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058   (exit $ac_status); }; }; then
5059   ac_cv_sys_large_files=1; break
5060 else
5061   echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5063
5064 fi
5065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5066   break
5067 done
5068 fi
5069 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5070 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5071 if test "$ac_cv_sys_large_files" != no; then
5072
5073 cat >>confdefs.h <<_ACEOF
5074 #define _LARGE_FILES $ac_cv_sys_large_files
5075 _ACEOF
5076
5077 fi
5078 rm -f conftest*
5079 fi
5080
5081 ac_ext=c
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5087 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5088 # On Suns, sometimes $CPP names a directory.
5089 if test -n "$CPP" && test -d "$CPP"; then
5090   CPP=
5091 fi
5092 if test -z "$CPP"; then
5093   if test "${ac_cv_prog_CPP+set}" = set; then
5094   echo $ECHO_N "(cached) $ECHO_C" >&6
5095 else
5096       # Double quotes because CPP needs to be expanded
5097     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5098     do
5099       ac_preproc_ok=false
5100 for ac_c_preproc_warn_flag in '' yes
5101 do
5102   # Use a header file that comes with gcc, so configuring glibc
5103   # with a fresh cross-compiler works.
5104   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105   # <limits.h> exists even on freestanding compilers.
5106   # On the NeXT, cc -E runs the code through the compiler's parser,
5107   # not just through cpp. "Syntax error" is here to catch this case.
5108   cat >conftest.$ac_ext <<_ACEOF
5109 /* confdefs.h.  */
5110 _ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h.  */
5114 #ifdef __STDC__
5115 # include <limits.h>
5116 #else
5117 # include <assert.h>
5118 #endif
5119                      Syntax error
5120 _ACEOF
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5123   ac_status=$?
5124   grep -v '^ *+' conftest.er1 >conftest.err
5125   rm -f conftest.er1
5126   cat conftest.err >&5
5127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128   (exit $ac_status); } >/dev/null; then
5129   if test -s conftest.err; then
5130     ac_cpp_err=$ac_c_preproc_warn_flag
5131     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5132   else
5133     ac_cpp_err=
5134   fi
5135 else
5136   ac_cpp_err=yes
5137 fi
5138 if test -z "$ac_cpp_err"; then
5139   :
5140 else
5141   echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5143
5144   # Broken: fails on valid input.
5145 continue
5146 fi
5147 rm -f conftest.err conftest.$ac_ext
5148
5149   # OK, works on sane cases.  Now check whether non-existent headers
5150   # can be detected and how.
5151   cat >conftest.$ac_ext <<_ACEOF
5152 /* confdefs.h.  */
5153 _ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h.  */
5157 #include <ac_nonexistent.h>
5158 _ACEOF
5159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5160   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5161   ac_status=$?
5162   grep -v '^ *+' conftest.er1 >conftest.err
5163   rm -f conftest.er1
5164   cat conftest.err >&5
5165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166   (exit $ac_status); } >/dev/null; then
5167   if test -s conftest.err; then
5168     ac_cpp_err=$ac_c_preproc_warn_flag
5169     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5170   else
5171     ac_cpp_err=
5172   fi
5173 else
5174   ac_cpp_err=yes
5175 fi
5176 if test -z "$ac_cpp_err"; then
5177   # Broken: success on invalid input.
5178 continue
5179 else
5180   echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.$ac_ext >&5
5182
5183   # Passes both tests.
5184 ac_preproc_ok=:
5185 break
5186 fi
5187 rm -f conftest.err conftest.$ac_ext
5188
5189 done
5190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5191 rm -f conftest.err conftest.$ac_ext
5192 if $ac_preproc_ok; then
5193   break
5194 fi
5195
5196     done
5197     ac_cv_prog_CPP=$CPP
5198
5199 fi
5200   CPP=$ac_cv_prog_CPP
5201 else
5202   ac_cv_prog_CPP=$CPP
5203 fi
5204 echo "$as_me:$LINENO: result: $CPP" >&5
5205 echo "${ECHO_T}$CPP" >&6
5206 ac_preproc_ok=false
5207 for ac_c_preproc_warn_flag in '' yes
5208 do
5209   # Use a header file that comes with gcc, so configuring glibc
5210   # with a fresh cross-compiler works.
5211   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5212   # <limits.h> exists even on freestanding compilers.
5213   # On the NeXT, cc -E runs the code through the compiler's parser,
5214   # not just through cpp. "Syntax error" is here to catch this case.
5215   cat >conftest.$ac_ext <<_ACEOF
5216 /* confdefs.h.  */
5217 _ACEOF
5218 cat confdefs.h >>conftest.$ac_ext
5219 cat >>conftest.$ac_ext <<_ACEOF
5220 /* end confdefs.h.  */
5221 #ifdef __STDC__
5222 # include <limits.h>
5223 #else
5224 # include <assert.h>
5225 #endif
5226                      Syntax error
5227 _ACEOF
5228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5230   ac_status=$?
5231   grep -v '^ *+' conftest.er1 >conftest.err
5232   rm -f conftest.er1
5233   cat conftest.err >&5
5234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235   (exit $ac_status); } >/dev/null; then
5236   if test -s conftest.err; then
5237     ac_cpp_err=$ac_c_preproc_warn_flag
5238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5239   else
5240     ac_cpp_err=
5241   fi
5242 else
5243   ac_cpp_err=yes
5244 fi
5245 if test -z "$ac_cpp_err"; then
5246   :
5247 else
5248   echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5250
5251   # Broken: fails on valid input.
5252 continue
5253 fi
5254 rm -f conftest.err conftest.$ac_ext
5255
5256   # OK, works on sane cases.  Now check whether non-existent headers
5257   # can be detected and how.
5258   cat >conftest.$ac_ext <<_ACEOF
5259 /* confdefs.h.  */
5260 _ACEOF
5261 cat confdefs.h >>conftest.$ac_ext
5262 cat >>conftest.$ac_ext <<_ACEOF
5263 /* end confdefs.h.  */
5264 #include <ac_nonexistent.h>
5265 _ACEOF
5266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268   ac_status=$?
5269   grep -v '^ *+' conftest.er1 >conftest.err
5270   rm -f conftest.er1
5271   cat conftest.err >&5
5272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273   (exit $ac_status); } >/dev/null; then
5274   if test -s conftest.err; then
5275     ac_cpp_err=$ac_c_preproc_warn_flag
5276     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5277   else
5278     ac_cpp_err=
5279   fi
5280 else
5281   ac_cpp_err=yes
5282 fi
5283 if test -z "$ac_cpp_err"; then
5284   # Broken: success on invalid input.
5285 continue
5286 else
5287   echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.$ac_ext >&5
5289
5290   # Passes both tests.
5291 ac_preproc_ok=:
5292 break
5293 fi
5294 rm -f conftest.err conftest.$ac_ext
5295
5296 done
5297 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5298 rm -f conftest.err conftest.$ac_ext
5299 if $ac_preproc_ok; then
5300   :
5301 else
5302   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5303 See \`config.log' for more details." >&5
5304 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5305 See \`config.log' for more details." >&2;}
5306    { (exit 1); exit 1; }; }
5307 fi
5308
5309 ac_ext=c
5310 ac_cpp='$CPP $CPPFLAGS'
5311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5314
5315
5316 echo "$as_me:$LINENO: checking for egrep" >&5
5317 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5318 if test "${ac_cv_prog_egrep+set}" = set; then
5319   echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5322     then ac_cv_prog_egrep='grep -E'
5323     else ac_cv_prog_egrep='egrep'
5324     fi
5325 fi
5326 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5327 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5328  EGREP=$ac_cv_prog_egrep
5329
5330
5331 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5332 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5333 if test "${ac_cv_header_stdc+set}" = set; then
5334   echo $ECHO_N "(cached) $ECHO_C" >&6
5335 else
5336   cat >conftest.$ac_ext <<_ACEOF
5337 /* confdefs.h.  */
5338 _ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h.  */
5342 #include <stdlib.h>
5343 #include <stdarg.h>
5344 #include <string.h>
5345 #include <float.h>
5346
5347 int
5348 main ()
5349 {
5350
5351   ;
5352   return 0;
5353 }
5354 _ACEOF
5355 rm -f conftest.$ac_objext
5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5357   (eval $ac_compile) 2>conftest.er1
5358   ac_status=$?
5359   grep -v '^ *+' conftest.er1 >conftest.err
5360   rm -f conftest.er1
5361   cat conftest.err >&5
5362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363   (exit $ac_status); } &&
5364          { ac_try='test -z "$ac_c_werror_flag"
5365                          || test ! -s conftest.err'
5366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5367   (eval $ac_try) 2>&5
5368   ac_status=$?
5369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370   (exit $ac_status); }; } &&
5371          { ac_try='test -s conftest.$ac_objext'
5372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373   (eval $ac_try) 2>&5
5374   ac_status=$?
5375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376   (exit $ac_status); }; }; then
5377   ac_cv_header_stdc=yes
5378 else
5379   echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.$ac_ext >&5
5381
5382 ac_cv_header_stdc=no
5383 fi
5384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5385
5386 if test $ac_cv_header_stdc = yes; then
5387   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5388   cat >conftest.$ac_ext <<_ACEOF
5389 /* confdefs.h.  */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h.  */
5394 #include <string.h>
5395
5396 _ACEOF
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398   $EGREP "memchr" >/dev/null 2>&1; then
5399   :
5400 else
5401   ac_cv_header_stdc=no
5402 fi
5403 rm -f conftest*
5404
5405 fi
5406
5407 if test $ac_cv_header_stdc = yes; then
5408   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5409   cat >conftest.$ac_ext <<_ACEOF
5410 /* confdefs.h.  */
5411 _ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h.  */
5415 #include <stdlib.h>
5416
5417 _ACEOF
5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5419   $EGREP "free" >/dev/null 2>&1; then
5420   :
5421 else
5422   ac_cv_header_stdc=no
5423 fi
5424 rm -f conftest*
5425
5426 fi
5427
5428 if test $ac_cv_header_stdc = yes; then
5429   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5430   if test "$cross_compiling" = yes; then
5431   :
5432 else
5433   cat >conftest.$ac_ext <<_ACEOF
5434 /* confdefs.h.  */
5435 _ACEOF
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h.  */
5439 #include <ctype.h>
5440 #if ((' ' & 0x0FF) == 0x020)
5441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5443 #else
5444 # define ISLOWER(c) \
5445                    (('a' <= (c) && (c) <= 'i') \
5446                      || ('j' <= (c) && (c) <= 'r') \
5447                      || ('s' <= (c) && (c) <= 'z'))
5448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5449 #endif
5450
5451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5452 int
5453 main ()
5454 {
5455   int i;
5456   for (i = 0; i < 256; i++)
5457     if (XOR (islower (i), ISLOWER (i))
5458         || toupper (i) != TOUPPER (i))
5459       exit(2);
5460   exit (0);
5461 }
5462 _ACEOF
5463 rm -f conftest$ac_exeext
5464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5465   (eval $ac_link) 2>&5
5466   ac_status=$?
5467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470   (eval $ac_try) 2>&5
5471   ac_status=$?
5472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473   (exit $ac_status); }; }; then
5474   :
5475 else
5476   echo "$as_me: program exited with status $ac_status" >&5
5477 echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5479
5480 ( exit $ac_status )
5481 ac_cv_header_stdc=no
5482 fi
5483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5484 fi
5485 fi
5486 fi
5487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5488 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5489 if test $ac_cv_header_stdc = yes; then
5490
5491 cat >>confdefs.h <<\_ACEOF
5492 #define STDC_HEADERS 1
5493 _ACEOF
5494
5495 fi
5496
5497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5508                   inttypes.h stdint.h unistd.h
5509 do
5510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5511 echo "$as_me:$LINENO: checking for $ac_header" >&5
5512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5514   echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516   cat >conftest.$ac_ext <<_ACEOF
5517 /* confdefs.h.  */
5518 _ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h.  */
5522 $ac_includes_default
5523
5524 #include <$ac_header>
5525 _ACEOF
5526 rm -f conftest.$ac_objext
5527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5528   (eval $ac_compile) 2>conftest.er1
5529   ac_status=$?
5530   grep -v '^ *+' conftest.er1 >conftest.err
5531   rm -f conftest.er1
5532   cat conftest.err >&5
5533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534   (exit $ac_status); } &&
5535          { ac_try='test -z "$ac_c_werror_flag"
5536                          || test ! -s conftest.err'
5537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538   (eval $ac_try) 2>&5
5539   ac_status=$?
5540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541   (exit $ac_status); }; } &&
5542          { ac_try='test -s conftest.$ac_objext'
5543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544   (eval $ac_try) 2>&5
5545   ac_status=$?
5546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547   (exit $ac_status); }; }; then
5548   eval "$as_ac_Header=yes"
5549 else
5550   echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5552
5553 eval "$as_ac_Header=no"
5554 fi
5555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5556 fi
5557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5560   cat >>confdefs.h <<_ACEOF
5561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 _ACEOF
5563
5564 fi
5565
5566 done
5567
5568
5569 echo "$as_me:$LINENO: checking for off_t" >&5
5570 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5571 if test "${ac_cv_type_off_t+set}" = set; then
5572   echo $ECHO_N "(cached) $ECHO_C" >&6
5573 else
5574   cat >conftest.$ac_ext <<_ACEOF
5575 /* confdefs.h.  */
5576 _ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h.  */
5580 $ac_includes_default
5581 int
5582 main ()
5583 {
5584 if ((off_t *) 0)
5585   return 0;
5586 if (sizeof (off_t))
5587   return 0;
5588   ;
5589   return 0;
5590 }
5591 _ACEOF
5592 rm -f conftest.$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594   (eval $ac_compile) 2>conftest.er1
5595   ac_status=$?
5596   grep -v '^ *+' conftest.er1 >conftest.err
5597   rm -f conftest.er1
5598   cat conftest.err >&5
5599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600   (exit $ac_status); } &&
5601          { ac_try='test -z "$ac_c_werror_flag"
5602                          || test ! -s conftest.err'
5603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604   (eval $ac_try) 2>&5
5605   ac_status=$?
5606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607   (exit $ac_status); }; } &&
5608          { ac_try='test -s conftest.$ac_objext'
5609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610   (eval $ac_try) 2>&5
5611   ac_status=$?
5612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613   (exit $ac_status); }; }; then
5614   ac_cv_type_off_t=yes
5615 else
5616   echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5618
5619 ac_cv_type_off_t=no
5620 fi
5621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5622 fi
5623 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5624 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5625 if test $ac_cv_type_off_t = yes; then
5626   :
5627 else
5628
5629 cat >>confdefs.h <<_ACEOF
5630 #define off_t long
5631 _ACEOF
5632
5633 fi
5634
5635
5636 # check header files
5637 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5638 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5639 if test "${ac_cv_header_stdc+set}" = set; then
5640   echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642   cat >conftest.$ac_ext <<_ACEOF
5643 /* confdefs.h.  */
5644 _ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h.  */
5648 #include <stdlib.h>
5649 #include <stdarg.h>
5650 #include <string.h>
5651 #include <float.h>
5652
5653 int
5654 main ()
5655 {
5656
5657   ;
5658   return 0;
5659 }
5660 _ACEOF
5661 rm -f conftest.$ac_objext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5663   (eval $ac_compile) 2>conftest.er1
5664   ac_status=$?
5665   grep -v '^ *+' conftest.er1 >conftest.err
5666   rm -f conftest.er1
5667   cat conftest.err >&5
5668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669   (exit $ac_status); } &&
5670          { ac_try='test -z "$ac_c_werror_flag"
5671                          || test ! -s conftest.err'
5672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673   (eval $ac_try) 2>&5
5674   ac_status=$?
5675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676   (exit $ac_status); }; } &&
5677          { ac_try='test -s conftest.$ac_objext'
5678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679   (eval $ac_try) 2>&5
5680   ac_status=$?
5681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682   (exit $ac_status); }; }; then
5683   ac_cv_header_stdc=yes
5684 else
5685   echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.$ac_ext >&5
5687
5688 ac_cv_header_stdc=no
5689 fi
5690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5691
5692 if test $ac_cv_header_stdc = yes; then
5693   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5694   cat >conftest.$ac_ext <<_ACEOF
5695 /* confdefs.h.  */
5696 _ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h.  */
5700 #include <string.h>
5701
5702 _ACEOF
5703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5704   $EGREP "memchr" >/dev/null 2>&1; then
5705   :
5706 else
5707   ac_cv_header_stdc=no
5708 fi
5709 rm -f conftest*
5710
5711 fi
5712
5713 if test $ac_cv_header_stdc = yes; then
5714   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5715   cat >conftest.$ac_ext <<_ACEOF
5716 /* confdefs.h.  */
5717 _ACEOF
5718 cat confdefs.h >>conftest.$ac_ext
5719 cat >>conftest.$ac_ext <<_ACEOF
5720 /* end confdefs.h.  */
5721 #include <stdlib.h>
5722
5723 _ACEOF
5724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5725   $EGREP "free" >/dev/null 2>&1; then
5726   :
5727 else
5728   ac_cv_header_stdc=no
5729 fi
5730 rm -f conftest*
5731
5732 fi
5733
5734 if test $ac_cv_header_stdc = yes; then
5735   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5736   if test "$cross_compiling" = yes; then
5737   :
5738 else
5739   cat >conftest.$ac_ext <<_ACEOF
5740 /* confdefs.h.  */
5741 _ACEOF
5742 cat confdefs.h >>conftest.$ac_ext
5743 cat >>conftest.$ac_ext <<_ACEOF
5744 /* end confdefs.h.  */
5745 #include <ctype.h>
5746 #if ((' ' & 0x0FF) == 0x020)
5747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5749 #else
5750 # define ISLOWER(c) \
5751                    (('a' <= (c) && (c) <= 'i') \
5752                      || ('j' <= (c) && (c) <= 'r') \
5753                      || ('s' <= (c) && (c) <= 'z'))
5754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5755 #endif
5756
5757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5758 int
5759 main ()
5760 {
5761   int i;
5762   for (i = 0; i < 256; i++)
5763     if (XOR (islower (i), ISLOWER (i))
5764         || toupper (i) != TOUPPER (i))
5765       exit(2);
5766   exit (0);
5767 }
5768 _ACEOF
5769 rm -f conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771   (eval $ac_link) 2>&5
5772   ac_status=$?
5773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776   (eval $ac_try) 2>&5
5777   ac_status=$?
5778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779   (exit $ac_status); }; }; then
5780   :
5781 else
5782   echo "$as_me: program exited with status $ac_status" >&5
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.$ac_ext >&5
5785
5786 ( exit $ac_status )
5787 ac_cv_header_stdc=no
5788 fi
5789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5790 fi
5791 fi
5792 fi
5793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5794 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5795 if test $ac_cv_header_stdc = yes; then
5796
5797 cat >>confdefs.h <<\_ACEOF
5798 #define STDC_HEADERS 1
5799 _ACEOF
5800
5801 fi
5802
5803
5804
5805
5806
5807
5808
5809
5810 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5811 do
5812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5814   echo "$as_me:$LINENO: checking for $ac_header" >&5
5815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5817   echo $ECHO_N "(cached) $ECHO_C" >&6
5818 fi
5819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5821 else
5822   # Is the header compilable?
5823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5825 cat >conftest.$ac_ext <<_ACEOF
5826 /* confdefs.h.  */
5827 _ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h.  */
5831 $ac_includes_default
5832 #include <$ac_header>
5833 _ACEOF
5834 rm -f conftest.$ac_objext
5835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5836   (eval $ac_compile) 2>conftest.er1
5837   ac_status=$?
5838   grep -v '^ *+' conftest.er1 >conftest.err
5839   rm -f conftest.er1
5840   cat conftest.err >&5
5841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842   (exit $ac_status); } &&
5843          { ac_try='test -z "$ac_c_werror_flag"
5844                          || test ! -s conftest.err'
5845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846   (eval $ac_try) 2>&5
5847   ac_status=$?
5848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849   (exit $ac_status); }; } &&
5850          { ac_try='test -s conftest.$ac_objext'
5851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852   (eval $ac_try) 2>&5
5853   ac_status=$?
5854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855   (exit $ac_status); }; }; then
5856   ac_header_compiler=yes
5857 else
5858   echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5860
5861 ac_header_compiler=no
5862 fi
5863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5865 echo "${ECHO_T}$ac_header_compiler" >&6
5866
5867 # Is the header present?
5868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5870 cat >conftest.$ac_ext <<_ACEOF
5871 /* confdefs.h.  */
5872 _ACEOF
5873 cat confdefs.h >>conftest.$ac_ext
5874 cat >>conftest.$ac_ext <<_ACEOF
5875 /* end confdefs.h.  */
5876 #include <$ac_header>
5877 _ACEOF
5878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5879   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5880   ac_status=$?
5881   grep -v '^ *+' conftest.er1 >conftest.err
5882   rm -f conftest.er1
5883   cat conftest.err >&5
5884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885   (exit $ac_status); } >/dev/null; then
5886   if test -s conftest.err; then
5887     ac_cpp_err=$ac_c_preproc_warn_flag
5888     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5889   else
5890     ac_cpp_err=
5891   fi
5892 else
5893   ac_cpp_err=yes
5894 fi
5895 if test -z "$ac_cpp_err"; then
5896   ac_header_preproc=yes
5897 else
5898   echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.$ac_ext >&5
5900
5901   ac_header_preproc=no
5902 fi
5903 rm -f conftest.err conftest.$ac_ext
5904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5905 echo "${ECHO_T}$ac_header_preproc" >&6
5906
5907 # So?  What about this header?
5908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5909   yes:no: )
5910     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5912     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5914     ac_header_preproc=yes
5915     ;;
5916   no:yes:* )
5917     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5919     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5920 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5921     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5923     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5924 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5925     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5927     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5929     (
5930       cat <<\_ASBOX
5931 ## ------------------------------------------------------ ##
5932 ## Report this to the GNU Fortran Runtime Library lists.  ##
5933 ## ------------------------------------------------------ ##
5934 _ASBOX
5935     ) |
5936       sed "s/^/$as_me: WARNING:     /" >&2
5937     ;;
5938 esac
5939 echo "$as_me:$LINENO: checking for $ac_header" >&5
5940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942   echo $ECHO_N "(cached) $ECHO_C" >&6
5943 else
5944   eval "$as_ac_Header=\$ac_header_preproc"
5945 fi
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5948
5949 fi
5950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5951   cat >>confdefs.h <<_ACEOF
5952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5953 _ACEOF
5954
5955 fi
5956
5957 done
5958
5959
5960
5961
5962
5963
5964 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
5965 do
5966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968   echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971   echo $ECHO_N "(cached) $ECHO_C" >&6
5972 fi
5973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5975 else
5976   # Is the header compilable?
5977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5979 cat >conftest.$ac_ext <<_ACEOF
5980 /* confdefs.h.  */
5981 _ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h.  */
5985 $ac_includes_default
5986 #include <$ac_header>
5987 _ACEOF
5988 rm -f conftest.$ac_objext
5989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990   (eval $ac_compile) 2>conftest.er1
5991   ac_status=$?
5992   grep -v '^ *+' conftest.er1 >conftest.err
5993   rm -f conftest.er1
5994   cat conftest.err >&5
5995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996   (exit $ac_status); } &&
5997          { ac_try='test -z "$ac_c_werror_flag"
5998                          || test ! -s conftest.err'
5999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000   (eval $ac_try) 2>&5
6001   ac_status=$?
6002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003   (exit $ac_status); }; } &&
6004          { ac_try='test -s conftest.$ac_objext'
6005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006   (eval $ac_try) 2>&5
6007   ac_status=$?
6008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009   (exit $ac_status); }; }; then
6010   ac_header_compiler=yes
6011 else
6012   echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6014
6015 ac_header_compiler=no
6016 fi
6017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019 echo "${ECHO_T}$ac_header_compiler" >&6
6020
6021 # Is the header present?
6022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6024 cat >conftest.$ac_ext <<_ACEOF
6025 /* confdefs.h.  */
6026 _ACEOF
6027 cat confdefs.h >>conftest.$ac_ext
6028 cat >>conftest.$ac_ext <<_ACEOF
6029 /* end confdefs.h.  */
6030 #include <$ac_header>
6031 _ACEOF
6032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6034   ac_status=$?
6035   grep -v '^ *+' conftest.er1 >conftest.err
6036   rm -f conftest.er1
6037   cat conftest.err >&5
6038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039   (exit $ac_status); } >/dev/null; then
6040   if test -s conftest.err; then
6041     ac_cpp_err=$ac_c_preproc_warn_flag
6042     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6043   else
6044     ac_cpp_err=
6045   fi
6046 else
6047   ac_cpp_err=yes
6048 fi
6049 if test -z "$ac_cpp_err"; then
6050   ac_header_preproc=yes
6051 else
6052   echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.$ac_ext >&5
6054
6055   ac_header_preproc=no
6056 fi
6057 rm -f conftest.err conftest.$ac_ext
6058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059 echo "${ECHO_T}$ac_header_preproc" >&6
6060
6061 # So?  What about this header?
6062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6063   yes:no: )
6064     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068     ac_header_preproc=yes
6069     ;;
6070   no:yes:* )
6071     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6074 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6075     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6078 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6079     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6083     (
6084       cat <<\_ASBOX
6085 ## ------------------------------------------------------ ##
6086 ## Report this to the GNU Fortran Runtime Library lists.  ##
6087 ## ------------------------------------------------------ ##
6088 _ASBOX
6089     ) |
6090       sed "s/^/$as_me: WARNING:     /" >&2
6091     ;;
6092 esac
6093 echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096   echo $ECHO_N "(cached) $ECHO_C" >&6
6097 else
6098   eval "$as_ac_Header=\$ac_header_preproc"
6099 fi
6100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6102
6103 fi
6104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6105   cat >>confdefs.h <<_ACEOF
6106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 _ACEOF
6108
6109 fi
6110
6111 done
6112
6113
6114
6115
6116
6117 for ac_header in sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6118 do
6119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6121   echo "$as_me:$LINENO: checking for $ac_header" >&5
6122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6124   echo $ECHO_N "(cached) $ECHO_C" >&6
6125 fi
6126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6128 else
6129   # Is the header compilable?
6130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
6139 #include <$ac_header>
6140 _ACEOF
6141 rm -f conftest.$ac_objext
6142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6143   (eval $ac_compile) 2>conftest.er1
6144   ac_status=$?
6145   grep -v '^ *+' conftest.er1 >conftest.err
6146   rm -f conftest.er1
6147   cat conftest.err >&5
6148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149   (exit $ac_status); } &&
6150          { ac_try='test -z "$ac_c_werror_flag"
6151                          || test ! -s conftest.err'
6152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153   (eval $ac_try) 2>&5
6154   ac_status=$?
6155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156   (exit $ac_status); }; } &&
6157          { ac_try='test -s conftest.$ac_objext'
6158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159   (eval $ac_try) 2>&5
6160   ac_status=$?
6161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162   (exit $ac_status); }; }; then
6163   ac_header_compiler=yes
6164 else
6165   echo "$as_me: failed program was:" >&5
6166 sed 's/^/| /' conftest.$ac_ext >&5
6167
6168 ac_header_compiler=no
6169 fi
6170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6172 echo "${ECHO_T}$ac_header_compiler" >&6
6173
6174 # Is the header present?
6175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6177 cat >conftest.$ac_ext <<_ACEOF
6178 /* confdefs.h.  */
6179 _ACEOF
6180 cat confdefs.h >>conftest.$ac_ext
6181 cat >>conftest.$ac_ext <<_ACEOF
6182 /* end confdefs.h.  */
6183 #include <$ac_header>
6184 _ACEOF
6185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6186   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6187   ac_status=$?
6188   grep -v '^ *+' conftest.er1 >conftest.err
6189   rm -f conftest.er1
6190   cat conftest.err >&5
6191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192   (exit $ac_status); } >/dev/null; then
6193   if test -s conftest.err; then
6194     ac_cpp_err=$ac_c_preproc_warn_flag
6195     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6196   else
6197     ac_cpp_err=
6198   fi
6199 else
6200   ac_cpp_err=yes
6201 fi
6202 if test -z "$ac_cpp_err"; then
6203   ac_header_preproc=yes
6204 else
6205   echo "$as_me: failed program was:" >&5
6206 sed 's/^/| /' conftest.$ac_ext >&5
6207
6208   ac_header_preproc=no
6209 fi
6210 rm -f conftest.err conftest.$ac_ext
6211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6212 echo "${ECHO_T}$ac_header_preproc" >&6
6213
6214 # So?  What about this header?
6215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6216   yes:no: )
6217     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6219     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6221     ac_header_preproc=yes
6222     ;;
6223   no:yes:* )
6224     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6226     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6227 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6228     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6230     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6231 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6232     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6234     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6236     (
6237       cat <<\_ASBOX
6238 ## ------------------------------------------------------ ##
6239 ## Report this to the GNU Fortran Runtime Library lists.  ##
6240 ## ------------------------------------------------------ ##
6241 _ASBOX
6242     ) |
6243       sed "s/^/$as_me: WARNING:     /" >&2
6244     ;;
6245 esac
6246 echo "$as_me:$LINENO: checking for $ac_header" >&5
6247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6249   echo $ECHO_N "(cached) $ECHO_C" >&6
6250 else
6251   eval "$as_ac_Header=\$ac_header_preproc"
6252 fi
6253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6255
6256 fi
6257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6258   cat >>confdefs.h <<_ACEOF
6259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6260 _ACEOF
6261
6262 fi
6263
6264 done
6265
6266
6267
6268
6269 for ac_header in fenv.h fptrap.h float.h
6270 do
6271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6273   echo "$as_me:$LINENO: checking for $ac_header" >&5
6274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6276   echo $ECHO_N "(cached) $ECHO_C" >&6
6277 fi
6278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6280 else
6281   # Is the header compilable?
6282 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6284 cat >conftest.$ac_ext <<_ACEOF
6285 /* confdefs.h.  */
6286 _ACEOF
6287 cat confdefs.h >>conftest.$ac_ext
6288 cat >>conftest.$ac_ext <<_ACEOF
6289 /* end confdefs.h.  */
6290 $ac_includes_default
6291 #include <$ac_header>
6292 _ACEOF
6293 rm -f conftest.$ac_objext
6294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6295   (eval $ac_compile) 2>conftest.er1
6296   ac_status=$?
6297   grep -v '^ *+' conftest.er1 >conftest.err
6298   rm -f conftest.er1
6299   cat conftest.err >&5
6300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301   (exit $ac_status); } &&
6302          { ac_try='test -z "$ac_c_werror_flag"
6303                          || test ! -s conftest.err'
6304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305   (eval $ac_try) 2>&5
6306   ac_status=$?
6307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308   (exit $ac_status); }; } &&
6309          { ac_try='test -s conftest.$ac_objext'
6310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311   (eval $ac_try) 2>&5
6312   ac_status=$?
6313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314   (exit $ac_status); }; }; then
6315   ac_header_compiler=yes
6316 else
6317   echo "$as_me: failed program was:" >&5
6318 sed 's/^/| /' conftest.$ac_ext >&5
6319
6320 ac_header_compiler=no
6321 fi
6322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6323 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6324 echo "${ECHO_T}$ac_header_compiler" >&6
6325
6326 # Is the header present?
6327 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6328 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6329 cat >conftest.$ac_ext <<_ACEOF
6330 /* confdefs.h.  */
6331 _ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
6334 /* end confdefs.h.  */
6335 #include <$ac_header>
6336 _ACEOF
6337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6338   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6339   ac_status=$?
6340   grep -v '^ *+' conftest.er1 >conftest.err
6341   rm -f conftest.er1
6342   cat conftest.err >&5
6343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344   (exit $ac_status); } >/dev/null; then
6345   if test -s conftest.err; then
6346     ac_cpp_err=$ac_c_preproc_warn_flag
6347     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6348   else
6349     ac_cpp_err=
6350   fi
6351 else
6352   ac_cpp_err=yes
6353 fi
6354 if test -z "$ac_cpp_err"; then
6355   ac_header_preproc=yes
6356 else
6357   echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.$ac_ext >&5
6359
6360   ac_header_preproc=no
6361 fi
6362 rm -f conftest.err conftest.$ac_ext
6363 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6364 echo "${ECHO_T}$ac_header_preproc" >&6
6365
6366 # So?  What about this header?
6367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6368   yes:no: )
6369     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6371     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6373     ac_header_preproc=yes
6374     ;;
6375   no:yes:* )
6376     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6378     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6379 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6380     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6382     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6383 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6384     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6386     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6388     (
6389       cat <<\_ASBOX
6390 ## ------------------------------------------------------ ##
6391 ## Report this to the GNU Fortran Runtime Library lists.  ##
6392 ## ------------------------------------------------------ ##
6393 _ASBOX
6394     ) |
6395       sed "s/^/$as_me: WARNING:     /" >&2
6396     ;;
6397 esac
6398 echo "$as_me:$LINENO: checking for $ac_header" >&5
6399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6401   echo $ECHO_N "(cached) $ECHO_C" >&6
6402 else
6403   eval "$as_ac_Header=\$ac_header_preproc"
6404 fi
6405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6407
6408 fi
6409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6410   cat >>confdefs.h <<_ACEOF
6411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6412 _ACEOF
6413
6414 fi
6415
6416 done
6417
6418 if test "${ac_cv_header_complex_h+set}" = set; then
6419   echo "$as_me:$LINENO: checking for complex.h" >&5
6420 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6421 if test "${ac_cv_header_complex_h+set}" = set; then
6422   echo $ECHO_N "(cached) $ECHO_C" >&6
6423 fi
6424 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6425 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6426 else
6427   # Is the header compilable?
6428 echo "$as_me:$LINENO: checking complex.h usability" >&5
6429 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6430 cat >conftest.$ac_ext <<_ACEOF
6431 /* confdefs.h.  */
6432 _ACEOF
6433 cat confdefs.h >>conftest.$ac_ext
6434 cat >>conftest.$ac_ext <<_ACEOF
6435 /* end confdefs.h.  */
6436 $ac_includes_default
6437 #include <complex.h>
6438 _ACEOF
6439 rm -f conftest.$ac_objext
6440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6441   (eval $ac_compile) 2>conftest.er1
6442   ac_status=$?
6443   grep -v '^ *+' conftest.er1 >conftest.err
6444   rm -f conftest.er1
6445   cat conftest.err >&5
6446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447   (exit $ac_status); } &&
6448          { ac_try='test -z "$ac_c_werror_flag"
6449                          || test ! -s conftest.err'
6450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6451   (eval $ac_try) 2>&5
6452   ac_status=$?
6453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454   (exit $ac_status); }; } &&
6455          { ac_try='test -s conftest.$ac_objext'
6456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457   (eval $ac_try) 2>&5
6458   ac_status=$?
6459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460   (exit $ac_status); }; }; then
6461   ac_header_compiler=yes
6462 else
6463   echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6465
6466 ac_header_compiler=no
6467 fi
6468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6470 echo "${ECHO_T}$ac_header_compiler" >&6
6471
6472 # Is the header present?
6473 echo "$as_me:$LINENO: checking complex.h presence" >&5
6474 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h.  */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h.  */
6481 #include <complex.h>
6482 _ACEOF
6483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6484   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6485   ac_status=$?
6486   grep -v '^ *+' conftest.er1 >conftest.err
6487   rm -f conftest.er1
6488   cat conftest.err >&5
6489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490   (exit $ac_status); } >/dev/null; then
6491   if test -s conftest.err; then
6492     ac_cpp_err=$ac_c_preproc_warn_flag
6493     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6494   else
6495     ac_cpp_err=
6496   fi
6497 else
6498   ac_cpp_err=yes
6499 fi
6500 if test -z "$ac_cpp_err"; then
6501   ac_header_preproc=yes
6502 else
6503   echo "$as_me: failed program was:" >&5
6504 sed 's/^/| /' conftest.$ac_ext >&5
6505
6506   ac_header_preproc=no
6507 fi
6508 rm -f conftest.err conftest.$ac_ext
6509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6510 echo "${ECHO_T}$ac_header_preproc" >&6
6511
6512 # So?  What about this header?
6513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6514   yes:no: )
6515     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6516 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6517     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6518 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6519     ac_header_preproc=yes
6520     ;;
6521   no:yes:* )
6522     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6523 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6524     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
6525 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
6526     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6527 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6528     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
6529 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6530     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6531 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6532     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6533 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6534     (
6535       cat <<\_ASBOX
6536 ## ------------------------------------------------------ ##
6537 ## Report this to the GNU Fortran Runtime Library lists.  ##
6538 ## ------------------------------------------------------ ##
6539 _ASBOX
6540     ) |
6541       sed "s/^/$as_me: WARNING:     /" >&2
6542     ;;
6543 esac
6544 echo "$as_me:$LINENO: checking for complex.h" >&5
6545 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6546 if test "${ac_cv_header_complex_h+set}" = set; then
6547   echo $ECHO_N "(cached) $ECHO_C" >&6
6548 else
6549   ac_cv_header_complex_h=$ac_header_preproc
6550 fi
6551 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6552 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6553
6554 fi
6555 if test $ac_cv_header_complex_h = yes; then
6556
6557 cat >>confdefs.h <<\_ACEOF
6558 #define HAVE_COMPLEX_H 1
6559 _ACEOF
6560
6561 fi
6562
6563
6564
6565
6566 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
6567
6568 acx_cv_header_stdint=stddef.h
6569 acx_cv_header_stdint_kind="(already complete)"
6570 for i in stdint.h $inttype_headers; do
6571   unset ac_cv_type_uintptr_t
6572   unset ac_cv_type_uintmax_t
6573   unset ac_cv_type_int_least32_t
6574   unset ac_cv_type_int_fast32_t
6575   unset ac_cv_type_uint64_t
6576   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6577   echo "$as_me:$LINENO: checking for uintmax_t" >&5
6578 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6579 if test "${ac_cv_type_uintmax_t+set}" = set; then
6580   echo $ECHO_N "(cached) $ECHO_C" >&6
6581 else
6582   cat >conftest.$ac_ext <<_ACEOF
6583 /* confdefs.h.  */
6584 _ACEOF
6585 cat confdefs.h >>conftest.$ac_ext
6586 cat >>conftest.$ac_ext <<_ACEOF
6587 /* end confdefs.h.  */
6588 #include <sys/types.h>
6589 #include <$i>
6590
6591 int
6592 main ()
6593 {
6594 if ((uintmax_t *) 0)
6595   return 0;
6596 if (sizeof (uintmax_t))
6597   return 0;
6598   ;
6599   return 0;
6600 }
6601 _ACEOF
6602 rm -f conftest.$ac_objext
6603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6604   (eval $ac_compile) 2>conftest.er1
6605   ac_status=$?
6606   grep -v '^ *+' conftest.er1 >conftest.err
6607   rm -f conftest.er1
6608   cat conftest.err >&5
6609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610   (exit $ac_status); } &&
6611          { ac_try='test -z "$ac_c_werror_flag"
6612                          || test ! -s conftest.err'
6613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6614   (eval $ac_try) 2>&5
6615   ac_status=$?
6616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617   (exit $ac_status); }; } &&
6618          { ac_try='test -s conftest.$ac_objext'
6619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620   (eval $ac_try) 2>&5
6621   ac_status=$?
6622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623   (exit $ac_status); }; }; then
6624   ac_cv_type_uintmax_t=yes
6625 else
6626   echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6628
6629 ac_cv_type_uintmax_t=no
6630 fi
6631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6632 fi
6633 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6634 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6635 if test $ac_cv_type_uintmax_t = yes; then
6636   acx_cv_header_stdint=$i
6637 else
6638   continue
6639 fi
6640
6641   echo "$as_me:$LINENO: checking for uintptr_t" >&5
6642 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6643 if test "${ac_cv_type_uintptr_t+set}" = set; then
6644   echo $ECHO_N "(cached) $ECHO_C" >&6
6645 else
6646   cat >conftest.$ac_ext <<_ACEOF
6647 /* confdefs.h.  */
6648 _ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h.  */
6652 #include <sys/types.h>
6653 #include <$i>
6654
6655 int
6656 main ()
6657 {
6658 if ((uintptr_t *) 0)
6659   return 0;
6660 if (sizeof (uintptr_t))
6661   return 0;
6662   ;
6663   return 0;
6664 }
6665 _ACEOF
6666 rm -f conftest.$ac_objext
6667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6668   (eval $ac_compile) 2>conftest.er1
6669   ac_status=$?
6670   grep -v '^ *+' conftest.er1 >conftest.err
6671   rm -f conftest.er1
6672   cat conftest.err >&5
6673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674   (exit $ac_status); } &&
6675          { ac_try='test -z "$ac_c_werror_flag"
6676                          || test ! -s conftest.err'
6677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678   (eval $ac_try) 2>&5
6679   ac_status=$?
6680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681   (exit $ac_status); }; } &&
6682          { ac_try='test -s conftest.$ac_objext'
6683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684   (eval $ac_try) 2>&5
6685   ac_status=$?
6686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687   (exit $ac_status); }; }; then
6688   ac_cv_type_uintptr_t=yes
6689 else
6690   echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.$ac_ext >&5
6692
6693 ac_cv_type_uintptr_t=no
6694 fi
6695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6696 fi
6697 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6698 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6699 if test $ac_cv_type_uintptr_t = yes; then
6700   :
6701 else
6702   acx_cv_header_stdint_kind="(mostly complete)"
6703 fi
6704
6705   echo "$as_me:$LINENO: checking for int_least32_t" >&5
6706 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6707 if test "${ac_cv_type_int_least32_t+set}" = set; then
6708   echo $ECHO_N "(cached) $ECHO_C" >&6
6709 else
6710   cat >conftest.$ac_ext <<_ACEOF
6711 /* confdefs.h.  */
6712 _ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h.  */
6716 #include <sys/types.h>
6717 #include <$i>
6718
6719 int
6720 main ()
6721 {
6722 if ((int_least32_t *) 0)
6723   return 0;
6724 if (sizeof (int_least32_t))
6725   return 0;
6726   ;
6727   return 0;
6728 }
6729 _ACEOF
6730 rm -f conftest.$ac_objext
6731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6732   (eval $ac_compile) 2>conftest.er1
6733   ac_status=$?
6734   grep -v '^ *+' conftest.er1 >conftest.err
6735   rm -f conftest.er1
6736   cat conftest.err >&5
6737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738   (exit $ac_status); } &&
6739          { ac_try='test -z "$ac_c_werror_flag"
6740                          || test ! -s conftest.err'
6741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742   (eval $ac_try) 2>&5
6743   ac_status=$?
6744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745   (exit $ac_status); }; } &&
6746          { ac_try='test -s conftest.$ac_objext'
6747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748   (eval $ac_try) 2>&5
6749   ac_status=$?
6750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751   (exit $ac_status); }; }; then
6752   ac_cv_type_int_least32_t=yes
6753 else
6754   echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6756
6757 ac_cv_type_int_least32_t=no
6758 fi
6759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6760 fi
6761 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6762 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6763 if test $ac_cv_type_int_least32_t = yes; then
6764   :
6765 else
6766   acx_cv_header_stdint_kind="(mostly complete)"
6767 fi
6768
6769   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6770 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6771 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6772   echo $ECHO_N "(cached) $ECHO_C" >&6
6773 else
6774   cat >conftest.$ac_ext <<_ACEOF
6775 /* confdefs.h.  */
6776 _ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h.  */
6780 #include <sys/types.h>
6781 #include <$i>
6782
6783 int
6784 main ()
6785 {
6786 if ((int_fast32_t *) 0)
6787   return 0;
6788 if (sizeof (int_fast32_t))
6789   return 0;
6790   ;
6791   return 0;
6792 }
6793 _ACEOF
6794 rm -f conftest.$ac_objext
6795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6796   (eval $ac_compile) 2>conftest.er1
6797   ac_status=$?
6798   grep -v '^ *+' conftest.er1 >conftest.err
6799   rm -f conftest.er1
6800   cat conftest.err >&5
6801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802   (exit $ac_status); } &&
6803          { ac_try='test -z "$ac_c_werror_flag"
6804                          || test ! -s conftest.err'
6805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806   (eval $ac_try) 2>&5
6807   ac_status=$?
6808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809   (exit $ac_status); }; } &&
6810          { ac_try='test -s conftest.$ac_objext'
6811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812   (eval $ac_try) 2>&5
6813   ac_status=$?
6814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815   (exit $ac_status); }; }; then
6816   ac_cv_type_int_fast32_t=yes
6817 else
6818   echo "$as_me: failed program was:" >&5
6819 sed 's/^/| /' conftest.$ac_ext >&5
6820
6821 ac_cv_type_int_fast32_t=no
6822 fi
6823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6824 fi
6825 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
6826 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
6827 if test $ac_cv_type_int_fast32_t = yes; then
6828   :
6829 else
6830   acx_cv_header_stdint_kind="(mostly complete)"
6831 fi
6832
6833   echo "$as_me:$LINENO: checking for uint64_t" >&5
6834 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6835 if test "${ac_cv_type_uint64_t+set}" = set; then
6836   echo $ECHO_N "(cached) $ECHO_C" >&6
6837 else
6838   cat >conftest.$ac_ext <<_ACEOF
6839 /* confdefs.h.  */
6840 _ACEOF
6841 cat confdefs.h >>conftest.$ac_ext
6842 cat >>conftest.$ac_ext <<_ACEOF
6843 /* end confdefs.h.  */
6844 #include <sys/types.h>
6845 #include <$i>
6846
6847 int
6848 main ()
6849 {
6850 if ((uint64_t *) 0)
6851   return 0;
6852 if (sizeof (uint64_t))
6853   return 0;
6854   ;
6855   return 0;
6856 }
6857 _ACEOF
6858 rm -f conftest.$ac_objext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6860   (eval $ac_compile) 2>conftest.er1
6861   ac_status=$?
6862   grep -v '^ *+' conftest.er1 >conftest.err
6863   rm -f conftest.er1
6864   cat conftest.err >&5
6865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866   (exit $ac_status); } &&
6867          { ac_try='test -z "$ac_c_werror_flag"
6868                          || test ! -s conftest.err'
6869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870   (eval $ac_try) 2>&5
6871   ac_status=$?
6872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873   (exit $ac_status); }; } &&
6874          { ac_try='test -s conftest.$ac_objext'
6875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876   (eval $ac_try) 2>&5
6877   ac_status=$?
6878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879   (exit $ac_status); }; }; then
6880   ac_cv_type_uint64_t=yes
6881 else
6882   echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6884
6885 ac_cv_type_uint64_t=no
6886 fi
6887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6888 fi
6889 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
6890 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
6891 if test $ac_cv_type_uint64_t = yes; then
6892   :
6893 else
6894   acx_cv_header_stdint_kind="(lacks uint64_t)"
6895 fi
6896
6897   break
6898 done
6899 if test "$acx_cv_header_stdint" = stddef.h; then
6900   acx_cv_header_stdint_kind="(lacks uintmax_t)"
6901   for i in stdint.h $inttype_headers; do
6902     unset ac_cv_type_uintptr_t
6903     unset ac_cv_type_uint32_t
6904     unset ac_cv_type_uint64_t
6905     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
6906     echo "$as_me:$LINENO: checking for uint32_t" >&5
6907 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6908 if test "${ac_cv_type_uint32_t+set}" = set; then
6909   echo $ECHO_N "(cached) $ECHO_C" >&6
6910 else
6911   cat >conftest.$ac_ext <<_ACEOF
6912 /* confdefs.h.  */
6913 _ACEOF
6914 cat confdefs.h >>conftest.$ac_ext
6915 cat >>conftest.$ac_ext <<_ACEOF
6916 /* end confdefs.h.  */
6917 #include <sys/types.h>
6918 #include <$i>
6919
6920 int
6921 main ()
6922 {
6923 if ((uint32_t *) 0)
6924   return 0;
6925 if (sizeof (uint32_t))
6926   return 0;
6927   ;
6928   return 0;
6929 }
6930 _ACEOF
6931 rm -f conftest.$ac_objext
6932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933   (eval $ac_compile) 2>conftest.er1
6934   ac_status=$?
6935   grep -v '^ *+' conftest.er1 >conftest.err
6936   rm -f conftest.er1
6937   cat conftest.err >&5
6938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939   (exit $ac_status); } &&
6940          { ac_try='test -z "$ac_c_werror_flag"
6941                          || test ! -s conftest.err'
6942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943   (eval $ac_try) 2>&5
6944   ac_status=$?
6945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946   (exit $ac_status); }; } &&
6947          { ac_try='test -s conftest.$ac_objext'
6948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949   (eval $ac_try) 2>&5
6950   ac_status=$?
6951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952   (exit $ac_status); }; }; then
6953   ac_cv_type_uint32_t=yes
6954 else
6955   echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.$ac_ext >&5
6957
6958 ac_cv_type_uint32_t=no
6959 fi
6960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6961 fi
6962 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6963 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
6964 if test $ac_cv_type_uint32_t = yes; then
6965   acx_cv_header_stdint=$i
6966 else
6967   continue
6968 fi
6969
6970     echo "$as_me:$LINENO: checking for uint64_t" >&5
6971 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6972 if test "${ac_cv_type_uint64_t+set}" = set; then
6973   echo $ECHO_N "(cached) $ECHO_C" >&6
6974 else
6975   cat >conftest.$ac_ext <<_ACEOF
6976 /* confdefs.h.  */
6977 _ACEOF
6978 cat confdefs.h >>conftest.$ac_ext
6979 cat >>conftest.$ac_ext <<_ACEOF
6980 /* end confdefs.h.  */
6981 #include <sys/types.h>
6982 #include <$i>
6983
6984 int
6985 main ()
6986 {
6987 if ((uint64_t *) 0)
6988   return 0;
6989 if (sizeof (uint64_t))
6990   return 0;
6991   ;
6992   return 0;
6993 }
6994 _ACEOF
6995 rm -f conftest.$ac_objext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6997   (eval $ac_compile) 2>conftest.er1
6998   ac_status=$?
6999   grep -v '^ *+' conftest.er1 >conftest.err
7000   rm -f conftest.er1
7001   cat conftest.err >&5
7002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003   (exit $ac_status); } &&
7004          { ac_try='test -z "$ac_c_werror_flag"
7005                          || test ! -s conftest.err'
7006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007   (eval $ac_try) 2>&5
7008   ac_status=$?
7009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010   (exit $ac_status); }; } &&
7011          { ac_try='test -s conftest.$ac_objext'
7012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013   (eval $ac_try) 2>&5
7014   ac_status=$?
7015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016   (exit $ac_status); }; }; then
7017   ac_cv_type_uint64_t=yes
7018 else
7019   echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7021
7022 ac_cv_type_uint64_t=no
7023 fi
7024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7025 fi
7026 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7027 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7028
7029     echo "$as_me:$LINENO: checking for uintptr_t" >&5
7030 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7031 if test "${ac_cv_type_uintptr_t+set}" = set; then
7032   echo $ECHO_N "(cached) $ECHO_C" >&6
7033 else
7034   cat >conftest.$ac_ext <<_ACEOF
7035 /* confdefs.h.  */
7036 _ACEOF
7037 cat confdefs.h >>conftest.$ac_ext
7038 cat >>conftest.$ac_ext <<_ACEOF
7039 /* end confdefs.h.  */
7040 #include <sys/types.h>
7041 #include <$i>
7042
7043 int
7044 main ()
7045 {
7046 if ((uintptr_t *) 0)
7047   return 0;
7048 if (sizeof (uintptr_t))
7049   return 0;
7050   ;
7051   return 0;
7052 }
7053 _ACEOF
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056   (eval $ac_compile) 2>conftest.er1
7057   ac_status=$?
7058   grep -v '^ *+' conftest.er1 >conftest.err
7059   rm -f conftest.er1
7060   cat conftest.err >&5
7061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062   (exit $ac_status); } &&
7063          { ac_try='test -z "$ac_c_werror_flag"
7064                          || test ! -s conftest.err'
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); }; } &&
7070          { ac_try='test -s conftest.$ac_objext'
7071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072   (eval $ac_try) 2>&5
7073   ac_status=$?
7074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075   (exit $ac_status); }; }; then
7076   ac_cv_type_uintptr_t=yes
7077 else
7078   echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7080
7081 ac_cv_type_uintptr_t=no
7082 fi
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 fi
7085 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7086 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7087
7088     break
7089   done
7090 fi
7091 if test "$acx_cv_header_stdint" = stddef.h; then
7092   acx_cv_header_stdint_kind="(u_intXX_t style)"
7093   for i in sys/types.h $inttype_headers; do
7094     unset ac_cv_type_u_int32_t
7095     unset ac_cv_type_u_int64_t
7096     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7097     echo "$as_me:$LINENO: checking for u_int32_t" >&5
7098 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7099 if test "${ac_cv_type_u_int32_t+set}" = set; then
7100   echo $ECHO_N "(cached) $ECHO_C" >&6
7101 else
7102   cat >conftest.$ac_ext <<_ACEOF
7103 /* confdefs.h.  */
7104 _ACEOF
7105 cat confdefs.h >>conftest.$ac_ext
7106 cat >>conftest.$ac_ext <<_ACEOF
7107 /* end confdefs.h.  */
7108 #include <sys/types.h>
7109 #include <$i>
7110
7111 int
7112 main ()
7113 {
7114 if ((u_int32_t *) 0)
7115   return 0;
7116 if (sizeof (u_int32_t))
7117   return 0;
7118   ;
7119   return 0;
7120 }
7121 _ACEOF
7122 rm -f conftest.$ac_objext
7123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7124   (eval $ac_compile) 2>conftest.er1
7125   ac_status=$?
7126   grep -v '^ *+' conftest.er1 >conftest.err
7127   rm -f conftest.er1
7128   cat conftest.err >&5
7129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130   (exit $ac_status); } &&
7131          { ac_try='test -z "$ac_c_werror_flag"
7132                          || test ! -s conftest.err'
7133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134   (eval $ac_try) 2>&5
7135   ac_status=$?
7136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137   (exit $ac_status); }; } &&
7138          { ac_try='test -s conftest.$ac_objext'
7139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7140   (eval $ac_try) 2>&5
7141   ac_status=$?
7142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143   (exit $ac_status); }; }; then
7144   ac_cv_type_u_int32_t=yes
7145 else
7146   echo "$as_me: failed program was:" >&5
7147 sed 's/^/| /' conftest.$ac_ext >&5
7148
7149 ac_cv_type_u_int32_t=no
7150 fi
7151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7152 fi
7153 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7154 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7155 if test $ac_cv_type_u_int32_t = yes; then
7156   acx_cv_header_stdint=$i
7157 else
7158   continue
7159 fi
7160
7161     echo "$as_me:$LINENO: checking for u_int64_t" >&5
7162 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7163 if test "${ac_cv_type_u_int64_t+set}" = set; then
7164   echo $ECHO_N "(cached) $ECHO_C" >&6
7165 else
7166   cat >conftest.$ac_ext <<_ACEOF
7167 /* confdefs.h.  */
7168 _ACEOF
7169 cat confdefs.h >>conftest.$ac_ext
7170 cat >>conftest.$ac_ext <<_ACEOF
7171 /* end confdefs.h.  */
7172 #include <sys/types.h>
7173 #include <$i>
7174
7175 int
7176 main ()
7177 {
7178 if ((u_int64_t *) 0)
7179   return 0;
7180 if (sizeof (u_int64_t))
7181   return 0;
7182   ;
7183   return 0;
7184 }
7185 _ACEOF
7186 rm -f conftest.$ac_objext
7187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7188   (eval $ac_compile) 2>conftest.er1
7189   ac_status=$?
7190   grep -v '^ *+' conftest.er1 >conftest.err
7191   rm -f conftest.er1
7192   cat conftest.err >&5
7193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194   (exit $ac_status); } &&
7195          { ac_try='test -z "$ac_c_werror_flag"
7196                          || test ! -s conftest.err'
7197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7198   (eval $ac_try) 2>&5
7199   ac_status=$?
7200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201   (exit $ac_status); }; } &&
7202          { ac_try='test -s conftest.$ac_objext'
7203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7204   (eval $ac_try) 2>&5
7205   ac_status=$?
7206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207   (exit $ac_status); }; }; then
7208   ac_cv_type_u_int64_t=yes
7209 else
7210   echo "$as_me: failed program was:" >&5
7211 sed 's/^/| /' conftest.$ac_ext >&5
7212
7213 ac_cv_type_u_int64_t=no
7214 fi
7215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7216 fi
7217 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7218 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7219
7220     break
7221   done
7222 fi
7223 if test "$acx_cv_header_stdint" = stddef.h; then
7224   acx_cv_header_stdint_kind="(using manual detection)"
7225 fi
7226
7227 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7228 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7229 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7230 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7231 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7232
7233 # ----------------- Summarize what we found so far
7234
7235 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7236 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7237
7238 case `$as_basename gstdint.h ||
7239 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7240          Xgstdint.h : 'X\(//\)$' \| \
7241          Xgstdint.h : 'X\(/\)$' \| \
7242          .     : '\(.\)' 2>/dev/null ||
7243 echo X/gstdint.h |
7244     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7245           /^X\/\(\/\/\)$/{ s//\1/; q; }
7246           /^X\/\(\/\).*/{ s//\1/; q; }
7247           s/.*/./; q'` in
7248   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7249 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7250   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7251 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7252   *) ;;
7253 esac
7254
7255 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7256 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7257
7258 # ----------------- done included file, check C basic types --------
7259
7260 # Lacking an uintptr_t?  Test size of void *
7261 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7262   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7263 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7264 if test "${ac_cv_type_void_p+set}" = set; then
7265   echo $ECHO_N "(cached) $ECHO_C" >&6
7266 else
7267   cat >conftest.$ac_ext <<_ACEOF
7268 /* confdefs.h.  */
7269 _ACEOF
7270 cat confdefs.h >>conftest.$ac_ext
7271 cat >>conftest.$ac_ext <<_ACEOF
7272 /* end confdefs.h.  */
7273 $ac_includes_default
7274 int
7275 main ()
7276 {
7277 if ((void * *) 0)
7278   return 0;
7279 if (sizeof (void *))
7280   return 0;
7281   ;
7282   return 0;
7283 }
7284 _ACEOF
7285 rm -f conftest.$ac_objext
7286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7287   (eval $ac_compile) 2>conftest.er1
7288   ac_status=$?
7289   grep -v '^ *+' conftest.er1 >conftest.err
7290   rm -f conftest.er1
7291   cat conftest.err >&5
7292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293   (exit $ac_status); } &&
7294          { ac_try='test -z "$ac_c_werror_flag"
7295                          || test ! -s conftest.err'
7296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297   (eval $ac_try) 2>&5
7298   ac_status=$?
7299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300   (exit $ac_status); }; } &&
7301          { ac_try='test -s conftest.$ac_objext'
7302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303   (eval $ac_try) 2>&5
7304   ac_status=$?
7305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306   (exit $ac_status); }; }; then
7307   ac_cv_type_void_p=yes
7308 else
7309   echo "$as_me: failed program was:" >&5
7310 sed 's/^/| /' conftest.$ac_ext >&5
7311
7312 ac_cv_type_void_p=no
7313 fi
7314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7315 fi
7316 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7317 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7318
7319 echo "$as_me:$LINENO: checking size of void *" >&5
7320 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7321 if test "${ac_cv_sizeof_void_p+set}" = set; then
7322   echo $ECHO_N "(cached) $ECHO_C" >&6
7323 else
7324   if test "$ac_cv_type_void_p" = yes; then
7325   # The cast to unsigned long works around a bug in the HP C Compiler
7326   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7327   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7328   # This bug is HP SR number 8606223364.
7329   if test "$cross_compiling" = yes; then
7330   # Depending upon the size, compute the lo and hi bounds.
7331 cat >conftest.$ac_ext <<_ACEOF
7332 /* confdefs.h.  */
7333 _ACEOF
7334 cat confdefs.h >>conftest.$ac_ext
7335 cat >>conftest.$ac_ext <<_ACEOF
7336 /* end confdefs.h.  */
7337 $ac_includes_default
7338 int
7339 main ()
7340 {
7341 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7342 test_array [0] = 0
7343
7344   ;
7345   return 0;
7346 }
7347 _ACEOF
7348 rm -f conftest.$ac_objext
7349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7350   (eval $ac_compile) 2>conftest.er1
7351   ac_status=$?
7352   grep -v '^ *+' conftest.er1 >conftest.err
7353   rm -f conftest.er1
7354   cat conftest.err >&5
7355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356   (exit $ac_status); } &&
7357          { ac_try='test -z "$ac_c_werror_flag"
7358                          || test ! -s conftest.err'
7359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7360   (eval $ac_try) 2>&5
7361   ac_status=$?
7362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363   (exit $ac_status); }; } &&
7364          { ac_try='test -s conftest.$ac_objext'
7365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7366   (eval $ac_try) 2>&5
7367   ac_status=$?
7368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369   (exit $ac_status); }; }; then
7370   ac_lo=0 ac_mid=0
7371   while :; do
7372     cat >conftest.$ac_ext <<_ACEOF
7373 /* confdefs.h.  */
7374 _ACEOF
7375 cat confdefs.h >>conftest.$ac_ext
7376 cat >>conftest.$ac_ext <<_ACEOF
7377 /* end confdefs.h.  */
7378 $ac_includes_default
7379 int
7380 main ()
7381 {
7382 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7383 test_array [0] = 0
7384
7385   ;
7386   return 0;
7387 }
7388 _ACEOF
7389 rm -f conftest.$ac_objext
7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7391   (eval $ac_compile) 2>conftest.er1
7392   ac_status=$?
7393   grep -v '^ *+' conftest.er1 >conftest.err
7394   rm -f conftest.er1
7395   cat conftest.err >&5
7396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397   (exit $ac_status); } &&
7398          { ac_try='test -z "$ac_c_werror_flag"
7399                          || test ! -s conftest.err'
7400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7401   (eval $ac_try) 2>&5
7402   ac_status=$?
7403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404   (exit $ac_status); }; } &&
7405          { ac_try='test -s conftest.$ac_objext'
7406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407   (eval $ac_try) 2>&5
7408   ac_status=$?
7409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410   (exit $ac_status); }; }; then
7411   ac_hi=$ac_mid; break
7412 else
7413   echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.$ac_ext >&5
7415
7416 ac_lo=`expr $ac_mid + 1`
7417                     if test $ac_lo -le $ac_mid; then
7418                       ac_lo= ac_hi=
7419                       break
7420                     fi
7421                     ac_mid=`expr 2 '*' $ac_mid + 1`
7422 fi
7423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7424   done
7425 else
7426   echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.$ac_ext >&5
7428
7429 cat >conftest.$ac_ext <<_ACEOF
7430 /* confdefs.h.  */
7431 _ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h.  */
7435 $ac_includes_default
7436 int
7437 main ()
7438 {
7439 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7440 test_array [0] = 0
7441
7442   ;
7443   return 0;
7444 }
7445 _ACEOF
7446 rm -f conftest.$ac_objext
7447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7448   (eval $ac_compile) 2>conftest.er1
7449   ac_status=$?
7450   grep -v '^ *+' conftest.er1 >conftest.err
7451   rm -f conftest.er1
7452   cat conftest.err >&5
7453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454   (exit $ac_status); } &&
7455          { ac_try='test -z "$ac_c_werror_flag"
7456                          || test ! -s conftest.err'
7457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458   (eval $ac_try) 2>&5
7459   ac_status=$?
7460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461   (exit $ac_status); }; } &&
7462          { ac_try='test -s conftest.$ac_objext'
7463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7464   (eval $ac_try) 2>&5
7465   ac_status=$?
7466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467   (exit $ac_status); }; }; then
7468   ac_hi=-1 ac_mid=-1
7469   while :; do
7470     cat >conftest.$ac_ext <<_ACEOF
7471 /* confdefs.h.  */
7472 _ACEOF
7473 cat confdefs.h >>conftest.$ac_ext
7474 cat >>conftest.$ac_ext <<_ACEOF
7475 /* end confdefs.h.  */
7476 $ac_includes_default
7477 int
7478 main ()
7479 {
7480 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7481 test_array [0] = 0
7482
7483   ;
7484   return 0;
7485 }
7486 _ACEOF
7487 rm -f conftest.$ac_objext
7488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7489   (eval $ac_compile) 2>conftest.er1
7490   ac_status=$?
7491   grep -v '^ *+' conftest.er1 >conftest.err
7492   rm -f conftest.er1
7493   cat conftest.err >&5
7494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495   (exit $ac_status); } &&
7496          { ac_try='test -z "$ac_c_werror_flag"
7497                          || test ! -s conftest.err'
7498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499   (eval $ac_try) 2>&5
7500   ac_status=$?
7501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502   (exit $ac_status); }; } &&
7503          { ac_try='test -s conftest.$ac_objext'
7504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505   (eval $ac_try) 2>&5
7506   ac_status=$?
7507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508   (exit $ac_status); }; }; then
7509   ac_lo=$ac_mid; break
7510 else
7511   echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7513
7514 ac_hi=`expr '(' $ac_mid ')' - 1`
7515                        if test $ac_mid -le $ac_hi; then
7516                          ac_lo= ac_hi=
7517                          break
7518                        fi
7519                        ac_mid=`expr 2 '*' $ac_mid`
7520 fi
7521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7522   done
7523 else
7524   echo "$as_me: failed program was:" >&5
7525 sed 's/^/| /' conftest.$ac_ext >&5
7526
7527 ac_lo= ac_hi=
7528 fi
7529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7530 fi
7531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7532 # Binary search between lo and hi bounds.
7533 while test "x$ac_lo" != "x$ac_hi"; do
7534   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7535   cat >conftest.$ac_ext <<_ACEOF
7536 /* confdefs.h.  */
7537 _ACEOF
7538 cat confdefs.h >>conftest.$ac_ext
7539 cat >>conftest.$ac_ext <<_ACEOF
7540 /* end confdefs.h.  */
7541 $ac_includes_default
7542 int
7543 main ()
7544 {
7545 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7546 test_array [0] = 0
7547
7548   ;
7549   return 0;
7550 }
7551 _ACEOF
7552 rm -f conftest.$ac_objext
7553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7554   (eval $ac_compile) 2>conftest.er1
7555   ac_status=$?
7556   grep -v '^ *+' conftest.er1 >conftest.err
7557   rm -f conftest.er1
7558   cat conftest.err >&5
7559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560   (exit $ac_status); } &&
7561          { ac_try='test -z "$ac_c_werror_flag"
7562                          || test ! -s conftest.err'
7563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7564   (eval $ac_try) 2>&5
7565   ac_status=$?
7566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567   (exit $ac_status); }; } &&
7568          { ac_try='test -s conftest.$ac_objext'
7569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570   (eval $ac_try) 2>&5
7571   ac_status=$?
7572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573   (exit $ac_status); }; }; then
7574   ac_hi=$ac_mid
7575 else
7576   echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7578
7579 ac_lo=`expr '(' $ac_mid ')' + 1`
7580 fi
7581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7582 done
7583 case $ac_lo in
7584 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7585 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7586 See \`config.log' for more details." >&5
7587 echo "$as_me: error: cannot compute sizeof (void *), 77
7588 See \`config.log' for more details." >&2;}
7589    { (exit 1); exit 1; }; } ;;
7590 esac
7591 else
7592   if test "$cross_compiling" = yes; then
7593   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7594 See \`config.log' for more details." >&5
7595 echo "$as_me: error: cannot run test program while cross compiling
7596 See \`config.log' for more details." >&2;}
7597    { (exit 1); exit 1; }; }
7598 else
7599   cat >conftest.$ac_ext <<_ACEOF
7600 /* confdefs.h.  */
7601 _ACEOF
7602 cat confdefs.h >>conftest.$ac_ext
7603 cat >>conftest.$ac_ext <<_ACEOF
7604 /* end confdefs.h.  */
7605 $ac_includes_default
7606 long longval () { return (long) (sizeof (void *)); }
7607 unsigned long ulongval () { return (long) (sizeof (void *)); }
7608 #include <stdio.h>
7609 #include <stdlib.h>
7610 int
7611 main ()
7612 {
7613
7614   FILE *f = fopen ("conftest.val", "w");
7615   if (! f)
7616     exit (1);
7617   if (((long) (sizeof (void *))) < 0)
7618     {
7619       long i = longval ();
7620       if (i != ((long) (sizeof (void *))))
7621         exit (1);
7622       fprintf (f, "%ld\n", i);
7623     }
7624   else
7625     {
7626       unsigned long i = ulongval ();
7627       if (i != ((long) (sizeof (void *))))
7628         exit (1);
7629       fprintf (f, "%lu\n", i);
7630     }
7631   exit (ferror (f) || fclose (f) != 0);
7632
7633   ;
7634   return 0;
7635 }
7636 _ACEOF
7637 rm -f conftest$ac_exeext
7638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7639   (eval $ac_link) 2>&5
7640   ac_status=$?
7641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7644   (eval $ac_try) 2>&5
7645   ac_status=$?
7646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647   (exit $ac_status); }; }; then
7648   ac_cv_sizeof_void_p=`cat conftest.val`
7649 else
7650   echo "$as_me: program exited with status $ac_status" >&5
7651 echo "$as_me: failed program was:" >&5
7652 sed 's/^/| /' conftest.$ac_ext >&5
7653
7654 ( exit $ac_status )
7655 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7656 See \`config.log' for more details." >&5
7657 echo "$as_me: error: cannot compute sizeof (void *), 77
7658 See \`config.log' for more details." >&2;}
7659    { (exit 1); exit 1; }; }
7660 fi
7661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7662 fi
7663 fi
7664 rm -f conftest.val
7665 else
7666   ac_cv_sizeof_void_p=0
7667 fi
7668 fi
7669 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7670 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7671 cat >>confdefs.h <<_ACEOF
7672 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7673 _ACEOF
7674
7675  ;;
7676 esac
7677
7678 # Lacking an uint64_t?  Test size of long
7679 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7680   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7681 echo $ECHO_N "checking for long... $ECHO_C" >&6
7682 if test "${ac_cv_type_long+set}" = set; then
7683   echo $ECHO_N "(cached) $ECHO_C" >&6
7684 else
7685   cat >conftest.$ac_ext <<_ACEOF
7686 /* confdefs.h.  */
7687 _ACEOF
7688 cat confdefs.h >>conftest.$ac_ext
7689 cat >>conftest.$ac_ext <<_ACEOF
7690 /* end confdefs.h.  */
7691 $ac_includes_default
7692 int
7693 main ()
7694 {
7695 if ((long *) 0)
7696   return 0;
7697 if (sizeof (long))
7698   return 0;
7699   ;
7700   return 0;
7701 }
7702 _ACEOF
7703 rm -f conftest.$ac_objext
7704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7705   (eval $ac_compile) 2>conftest.er1
7706   ac_status=$?
7707   grep -v '^ *+' conftest.er1 >conftest.err
7708   rm -f conftest.er1
7709   cat conftest.err >&5
7710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711   (exit $ac_status); } &&
7712          { ac_try='test -z "$ac_c_werror_flag"
7713                          || test ! -s conftest.err'
7714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7715   (eval $ac_try) 2>&5
7716   ac_status=$?
7717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718   (exit $ac_status); }; } &&
7719          { ac_try='test -s conftest.$ac_objext'
7720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721   (eval $ac_try) 2>&5
7722   ac_status=$?
7723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724   (exit $ac_status); }; }; then
7725   ac_cv_type_long=yes
7726 else
7727   echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.$ac_ext >&5
7729
7730 ac_cv_type_long=no
7731 fi
7732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7733 fi
7734 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7735 echo "${ECHO_T}$ac_cv_type_long" >&6
7736
7737 echo "$as_me:$LINENO: checking size of long" >&5
7738 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7739 if test "${ac_cv_sizeof_long+set}" = set; then
7740   echo $ECHO_N "(cached) $ECHO_C" >&6
7741 else
7742   if test "$ac_cv_type_long" = yes; then
7743   # The cast to unsigned long works around a bug in the HP C Compiler
7744   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7745   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7746   # This bug is HP SR number 8606223364.
7747   if test "$cross_compiling" = yes; then
7748   # Depending upon the size, compute the lo and hi bounds.
7749 cat >conftest.$ac_ext <<_ACEOF
7750 /* confdefs.h.  */
7751 _ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h.  */
7755 $ac_includes_default
7756 int
7757 main ()
7758 {
7759 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7760 test_array [0] = 0
7761
7762   ;
7763   return 0;
7764 }
7765 _ACEOF
7766 rm -f conftest.$ac_objext
7767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7768   (eval $ac_compile) 2>conftest.er1
7769   ac_status=$?
7770   grep -v '^ *+' conftest.er1 >conftest.err
7771   rm -f conftest.er1
7772   cat conftest.err >&5
7773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774   (exit $ac_status); } &&
7775          { ac_try='test -z "$ac_c_werror_flag"
7776                          || test ! -s conftest.err'
7777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778   (eval $ac_try) 2>&5
7779   ac_status=$?
7780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781   (exit $ac_status); }; } &&
7782          { ac_try='test -s conftest.$ac_objext'
7783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784   (eval $ac_try) 2>&5
7785   ac_status=$?
7786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787   (exit $ac_status); }; }; then
7788   ac_lo=0 ac_mid=0
7789   while :; do
7790     cat >conftest.$ac_ext <<_ACEOF
7791 /* confdefs.h.  */
7792 _ACEOF
7793 cat confdefs.h >>conftest.$ac_ext
7794 cat >>conftest.$ac_ext <<_ACEOF
7795 /* end confdefs.h.  */
7796 $ac_includes_default
7797 int
7798 main ()
7799 {
7800 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7801 test_array [0] = 0
7802
7803   ;
7804   return 0;
7805 }
7806 _ACEOF
7807 rm -f conftest.$ac_objext
7808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7809   (eval $ac_compile) 2>conftest.er1
7810   ac_status=$?
7811   grep -v '^ *+' conftest.er1 >conftest.err
7812   rm -f conftest.er1
7813   cat conftest.err >&5
7814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815   (exit $ac_status); } &&
7816          { ac_try='test -z "$ac_c_werror_flag"
7817                          || test ! -s conftest.err'
7818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819   (eval $ac_try) 2>&5
7820   ac_status=$?
7821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822   (exit $ac_status); }; } &&
7823          { ac_try='test -s conftest.$ac_objext'
7824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825   (eval $ac_try) 2>&5
7826   ac_status=$?
7827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828   (exit $ac_status); }; }; then
7829   ac_hi=$ac_mid; break
7830 else
7831   echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.$ac_ext >&5
7833
7834 ac_lo=`expr $ac_mid + 1`
7835                     if test $ac_lo -le $ac_mid; then
7836                       ac_lo= ac_hi=
7837                       break
7838                     fi
7839                     ac_mid=`expr 2 '*' $ac_mid + 1`
7840 fi
7841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7842   done
7843 else
7844   echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.$ac_ext >&5
7846
7847 cat >conftest.$ac_ext <<_ACEOF
7848 /* confdefs.h.  */
7849 _ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h.  */
7853 $ac_includes_default
7854 int
7855 main ()
7856 {
7857 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7858 test_array [0] = 0
7859
7860   ;
7861   return 0;
7862 }
7863 _ACEOF
7864 rm -f conftest.$ac_objext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7866   (eval $ac_compile) 2>conftest.er1
7867   ac_status=$?
7868   grep -v '^ *+' conftest.er1 >conftest.err
7869   rm -f conftest.er1
7870   cat conftest.err >&5
7871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872   (exit $ac_status); } &&
7873          { ac_try='test -z "$ac_c_werror_flag"
7874                          || test ! -s conftest.err'
7875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876   (eval $ac_try) 2>&5
7877   ac_status=$?
7878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879   (exit $ac_status); }; } &&
7880          { ac_try='test -s conftest.$ac_objext'
7881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7882   (eval $ac_try) 2>&5
7883   ac_status=$?
7884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885   (exit $ac_status); }; }; then
7886   ac_hi=-1 ac_mid=-1
7887   while :; do
7888     cat >conftest.$ac_ext <<_ACEOF
7889 /* confdefs.h.  */
7890 _ACEOF
7891 cat confdefs.h >>conftest.$ac_ext
7892 cat >>conftest.$ac_ext <<_ACEOF
7893 /* end confdefs.h.  */
7894 $ac_includes_default
7895 int
7896 main ()
7897 {
7898 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7899 test_array [0] = 0
7900
7901   ;
7902   return 0;
7903 }
7904 _ACEOF
7905 rm -f conftest.$ac_objext
7906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7907   (eval $ac_compile) 2>conftest.er1
7908   ac_status=$?
7909   grep -v '^ *+' conftest.er1 >conftest.err
7910   rm -f conftest.er1
7911   cat conftest.err >&5
7912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913   (exit $ac_status); } &&
7914          { ac_try='test -z "$ac_c_werror_flag"
7915                          || test ! -s conftest.err'
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); }; } &&
7921          { ac_try='test -s conftest.$ac_objext'
7922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923   (eval $ac_try) 2>&5
7924   ac_status=$?
7925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926   (exit $ac_status); }; }; then
7927   ac_lo=$ac_mid; break
7928 else
7929   echo "$as_me: failed program was:" >&5
7930 sed 's/^/| /' conftest.$ac_ext >&5
7931
7932 ac_hi=`expr '(' $ac_mid ')' - 1`
7933                        if test $ac_mid -le $ac_hi; then
7934                          ac_lo= ac_hi=
7935                          break
7936                        fi
7937                        ac_mid=`expr 2 '*' $ac_mid`
7938 fi
7939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7940   done
7941 else
7942   echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.$ac_ext >&5
7944
7945 ac_lo= ac_hi=
7946 fi
7947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7948 fi
7949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7950 # Binary search between lo and hi bounds.
7951 while test "x$ac_lo" != "x$ac_hi"; do
7952   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7953   cat >conftest.$ac_ext <<_ACEOF
7954 /* confdefs.h.  */
7955 _ACEOF
7956 cat confdefs.h >>conftest.$ac_ext
7957 cat >>conftest.$ac_ext <<_ACEOF
7958 /* end confdefs.h.  */
7959 $ac_includes_default
7960 int
7961 main ()
7962 {
7963 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7964 test_array [0] = 0
7965
7966   ;
7967   return 0;
7968 }
7969 _ACEOF
7970 rm -f conftest.$ac_objext
7971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7972   (eval $ac_compile) 2>conftest.er1
7973   ac_status=$?
7974   grep -v '^ *+' conftest.er1 >conftest.err
7975   rm -f conftest.er1
7976   cat conftest.err >&5
7977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978   (exit $ac_status); } &&
7979          { ac_try='test -z "$ac_c_werror_flag"
7980                          || test ! -s conftest.err'
7981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7982   (eval $ac_try) 2>&5
7983   ac_status=$?
7984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985   (exit $ac_status); }; } &&
7986          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
7992   ac_hi=$ac_mid
7993 else
7994   echo "$as_me: failed program was:" >&5
7995 sed 's/^/| /' conftest.$ac_ext >&5
7996
7997 ac_lo=`expr '(' $ac_mid ')' + 1`
7998 fi
7999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8000 done
8001 case $ac_lo in
8002 ?*) ac_cv_sizeof_long=$ac_lo;;
8003 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8004 See \`config.log' for more details." >&5
8005 echo "$as_me: error: cannot compute sizeof (long), 77
8006 See \`config.log' for more details." >&2;}
8007    { (exit 1); exit 1; }; } ;;
8008 esac
8009 else
8010   if test "$cross_compiling" = yes; then
8011   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8012 See \`config.log' for more details." >&5
8013 echo "$as_me: error: cannot run test program while cross compiling
8014 See \`config.log' for more details." >&2;}
8015    { (exit 1); exit 1; }; }
8016 else
8017   cat >conftest.$ac_ext <<_ACEOF
8018 /* confdefs.h.  */
8019 _ACEOF
8020 cat confdefs.h >>conftest.$ac_ext
8021 cat >>conftest.$ac_ext <<_ACEOF
8022 /* end confdefs.h.  */
8023 $ac_includes_default
8024 long longval () { return (long) (sizeof (long)); }
8025 unsigned long ulongval () { return (long) (sizeof (long)); }
8026 #include <stdio.h>
8027 #include <stdlib.h>
8028 int
8029 main ()
8030 {
8031
8032   FILE *f = fopen ("conftest.val", "w");
8033   if (! f)
8034     exit (1);
8035   if (((long) (sizeof (long))) < 0)
8036     {
8037       long i = longval ();
8038       if (i != ((long) (sizeof (long))))
8039         exit (1);
8040       fprintf (f, "%ld\n", i);
8041     }
8042   else
8043     {
8044       unsigned long i = ulongval ();
8045       if (i != ((long) (sizeof (long))))
8046         exit (1);
8047       fprintf (f, "%lu\n", i);
8048     }
8049   exit (ferror (f) || fclose (f) != 0);
8050
8051   ;
8052   return 0;
8053 }
8054 _ACEOF
8055 rm -f conftest$ac_exeext
8056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8057   (eval $ac_link) 2>&5
8058   ac_status=$?
8059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062   (eval $ac_try) 2>&5
8063   ac_status=$?
8064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065   (exit $ac_status); }; }; then
8066   ac_cv_sizeof_long=`cat conftest.val`
8067 else
8068   echo "$as_me: program exited with status $ac_status" >&5
8069 echo "$as_me: failed program was:" >&5
8070 sed 's/^/| /' conftest.$ac_ext >&5
8071
8072 ( exit $ac_status )
8073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8074 See \`config.log' for more details." >&5
8075 echo "$as_me: error: cannot compute sizeof (long), 77
8076 See \`config.log' for more details." >&2;}
8077    { (exit 1); exit 1; }; }
8078 fi
8079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8080 fi
8081 fi
8082 rm -f conftest.val
8083 else
8084   ac_cv_sizeof_long=0
8085 fi
8086 fi
8087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8088 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8089 cat >>confdefs.h <<_ACEOF
8090 #define SIZEOF_LONG $ac_cv_sizeof_long
8091 _ACEOF
8092
8093  ;;
8094 esac
8095
8096 if test $acx_cv_header_stdint = stddef.h; then
8097   # Lacking a good header?  Test size of everything and deduce all types.
8098   echo "$as_me:$LINENO: checking for int" >&5
8099 echo $ECHO_N "checking for int... $ECHO_C" >&6
8100 if test "${ac_cv_type_int+set}" = set; then
8101   echo $ECHO_N "(cached) $ECHO_C" >&6
8102 else
8103   cat >conftest.$ac_ext <<_ACEOF
8104 /* confdefs.h.  */
8105 _ACEOF
8106 cat confdefs.h >>conftest.$ac_ext
8107 cat >>conftest.$ac_ext <<_ACEOF
8108 /* end confdefs.h.  */
8109 $ac_includes_default
8110 int
8111 main ()
8112 {
8113 if ((int *) 0)
8114   return 0;
8115 if (sizeof (int))
8116   return 0;
8117   ;
8118   return 0;
8119 }
8120 _ACEOF
8121 rm -f conftest.$ac_objext
8122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8123   (eval $ac_compile) 2>conftest.er1
8124   ac_status=$?
8125   grep -v '^ *+' conftest.er1 >conftest.err
8126   rm -f conftest.er1
8127   cat conftest.err >&5
8128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129   (exit $ac_status); } &&
8130          { ac_try='test -z "$ac_c_werror_flag"
8131                          || test ! -s conftest.err'
8132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8133   (eval $ac_try) 2>&5
8134   ac_status=$?
8135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136   (exit $ac_status); }; } &&
8137          { ac_try='test -s conftest.$ac_objext'
8138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139   (eval $ac_try) 2>&5
8140   ac_status=$?
8141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142   (exit $ac_status); }; }; then
8143   ac_cv_type_int=yes
8144 else
8145   echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.$ac_ext >&5
8147
8148 ac_cv_type_int=no
8149 fi
8150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8151 fi
8152 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8153 echo "${ECHO_T}$ac_cv_type_int" >&6
8154
8155 echo "$as_me:$LINENO: checking size of int" >&5
8156 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8157 if test "${ac_cv_sizeof_int+set}" = set; then
8158   echo $ECHO_N "(cached) $ECHO_C" >&6
8159 else
8160   if test "$ac_cv_type_int" = yes; then
8161   # The cast to unsigned long works around a bug in the HP C Compiler
8162   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8163   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8164   # This bug is HP SR number 8606223364.
8165   if test "$cross_compiling" = yes; then
8166   # Depending upon the size, compute the lo and hi bounds.
8167 cat >conftest.$ac_ext <<_ACEOF
8168 /* confdefs.h.  */
8169 _ACEOF
8170 cat confdefs.h >>conftest.$ac_ext
8171 cat >>conftest.$ac_ext <<_ACEOF
8172 /* end confdefs.h.  */
8173 $ac_includes_default
8174 int
8175 main ()
8176 {
8177 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8178 test_array [0] = 0
8179
8180   ;
8181   return 0;
8182 }
8183 _ACEOF
8184 rm -f conftest.$ac_objext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8186   (eval $ac_compile) 2>conftest.er1
8187   ac_status=$?
8188   grep -v '^ *+' conftest.er1 >conftest.err
8189   rm -f conftest.er1
8190   cat conftest.err >&5
8191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192   (exit $ac_status); } &&
8193          { ac_try='test -z "$ac_c_werror_flag"
8194                          || test ! -s conftest.err'
8195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196   (eval $ac_try) 2>&5
8197   ac_status=$?
8198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199   (exit $ac_status); }; } &&
8200          { ac_try='test -s conftest.$ac_objext'
8201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202   (eval $ac_try) 2>&5
8203   ac_status=$?
8204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205   (exit $ac_status); }; }; then
8206   ac_lo=0 ac_mid=0
8207   while :; do
8208     cat >conftest.$ac_ext <<_ACEOF
8209 /* confdefs.h.  */
8210 _ACEOF
8211 cat confdefs.h >>conftest.$ac_ext
8212 cat >>conftest.$ac_ext <<_ACEOF
8213 /* end confdefs.h.  */
8214 $ac_includes_default
8215 int
8216 main ()
8217 {
8218 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8219 test_array [0] = 0
8220
8221   ;
8222   return 0;
8223 }
8224 _ACEOF
8225 rm -f conftest.$ac_objext
8226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8227   (eval $ac_compile) 2>conftest.er1
8228   ac_status=$?
8229   grep -v '^ *+' conftest.er1 >conftest.err
8230   rm -f conftest.er1
8231   cat conftest.err >&5
8232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233   (exit $ac_status); } &&
8234          { ac_try='test -z "$ac_c_werror_flag"
8235                          || test ! -s conftest.err'
8236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237   (eval $ac_try) 2>&5
8238   ac_status=$?
8239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240   (exit $ac_status); }; } &&
8241          { ac_try='test -s conftest.$ac_objext'
8242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243   (eval $ac_try) 2>&5
8244   ac_status=$?
8245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246   (exit $ac_status); }; }; then
8247   ac_hi=$ac_mid; break
8248 else
8249   echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8251
8252 ac_lo=`expr $ac_mid + 1`
8253                     if test $ac_lo -le $ac_mid; then
8254                       ac_lo= ac_hi=
8255                       break
8256                     fi
8257                     ac_mid=`expr 2 '*' $ac_mid + 1`
8258 fi
8259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8260   done
8261 else
8262   echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8264
8265 cat >conftest.$ac_ext <<_ACEOF
8266 /* confdefs.h.  */
8267 _ACEOF
8268 cat confdefs.h >>conftest.$ac_ext
8269 cat >>conftest.$ac_ext <<_ACEOF
8270 /* end confdefs.h.  */
8271 $ac_includes_default
8272 int
8273 main ()
8274 {
8275 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8276 test_array [0] = 0
8277
8278   ;
8279   return 0;
8280 }
8281 _ACEOF
8282 rm -f conftest.$ac_objext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8284   (eval $ac_compile) 2>conftest.er1
8285   ac_status=$?
8286   grep -v '^ *+' conftest.er1 >conftest.err
8287   rm -f conftest.er1
8288   cat conftest.err >&5
8289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290   (exit $ac_status); } &&
8291          { ac_try='test -z "$ac_c_werror_flag"
8292                          || test ! -s conftest.err'
8293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294   (eval $ac_try) 2>&5
8295   ac_status=$?
8296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297   (exit $ac_status); }; } &&
8298          { ac_try='test -s conftest.$ac_objext'
8299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300   (eval $ac_try) 2>&5
8301   ac_status=$?
8302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303   (exit $ac_status); }; }; then
8304   ac_hi=-1 ac_mid=-1
8305   while :; do
8306     cat >conftest.$ac_ext <<_ACEOF
8307 /* confdefs.h.  */
8308 _ACEOF
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h.  */
8312 $ac_includes_default
8313 int
8314 main ()
8315 {
8316 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8317 test_array [0] = 0
8318
8319   ;
8320   return 0;
8321 }
8322 _ACEOF
8323 rm -f conftest.$ac_objext
8324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8325   (eval $ac_compile) 2>conftest.er1
8326   ac_status=$?
8327   grep -v '^ *+' conftest.er1 >conftest.err
8328   rm -f conftest.er1
8329   cat conftest.err >&5
8330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331   (exit $ac_status); } &&
8332          { ac_try='test -z "$ac_c_werror_flag"
8333                          || test ! -s conftest.err'
8334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335   (eval $ac_try) 2>&5
8336   ac_status=$?
8337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338   (exit $ac_status); }; } &&
8339          { ac_try='test -s conftest.$ac_objext'
8340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341   (eval $ac_try) 2>&5
8342   ac_status=$?
8343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344   (exit $ac_status); }; }; then
8345   ac_lo=$ac_mid; break
8346 else
8347   echo "$as_me: failed program was:" >&5
8348 sed 's/^/| /' conftest.$ac_ext >&5
8349
8350 ac_hi=`expr '(' $ac_mid ')' - 1`
8351                        if test $ac_mid -le $ac_hi; then
8352                          ac_lo= ac_hi=
8353                          break
8354                        fi
8355                        ac_mid=`expr 2 '*' $ac_mid`
8356 fi
8357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8358   done
8359 else
8360   echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.$ac_ext >&5
8362
8363 ac_lo= ac_hi=
8364 fi
8365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8366 fi
8367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8368 # Binary search between lo and hi bounds.
8369 while test "x$ac_lo" != "x$ac_hi"; do
8370   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8371   cat >conftest.$ac_ext <<_ACEOF
8372 /* confdefs.h.  */
8373 _ACEOF
8374 cat confdefs.h >>conftest.$ac_ext
8375 cat >>conftest.$ac_ext <<_ACEOF
8376 /* end confdefs.h.  */
8377 $ac_includes_default
8378 int
8379 main ()
8380 {
8381 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8382 test_array [0] = 0
8383
8384   ;
8385   return 0;
8386 }
8387 _ACEOF
8388 rm -f conftest.$ac_objext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390   (eval $ac_compile) 2>conftest.er1
8391   ac_status=$?
8392   grep -v '^ *+' conftest.er1 >conftest.err
8393   rm -f conftest.er1
8394   cat conftest.err >&5
8395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396   (exit $ac_status); } &&
8397          { ac_try='test -z "$ac_c_werror_flag"
8398                          || test ! -s conftest.err'
8399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400   (eval $ac_try) 2>&5
8401   ac_status=$?
8402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403   (exit $ac_status); }; } &&
8404          { ac_try='test -s conftest.$ac_objext'
8405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406   (eval $ac_try) 2>&5
8407   ac_status=$?
8408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409   (exit $ac_status); }; }; then
8410   ac_hi=$ac_mid
8411 else
8412   echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8414
8415 ac_lo=`expr '(' $ac_mid ')' + 1`
8416 fi
8417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8418 done
8419 case $ac_lo in
8420 ?*) ac_cv_sizeof_int=$ac_lo;;
8421 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8422 See \`config.log' for more details." >&5
8423 echo "$as_me: error: cannot compute sizeof (int), 77
8424 See \`config.log' for more details." >&2;}
8425    { (exit 1); exit 1; }; } ;;
8426 esac
8427 else
8428   if test "$cross_compiling" = yes; then
8429   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8430 See \`config.log' for more details." >&5
8431 echo "$as_me: error: cannot run test program while cross compiling
8432 See \`config.log' for more details." >&2;}
8433    { (exit 1); exit 1; }; }
8434 else
8435   cat >conftest.$ac_ext <<_ACEOF
8436 /* confdefs.h.  */
8437 _ACEOF
8438 cat confdefs.h >>conftest.$ac_ext
8439 cat >>conftest.$ac_ext <<_ACEOF
8440 /* end confdefs.h.  */
8441 $ac_includes_default
8442 long longval () { return (long) (sizeof (int)); }
8443 unsigned long ulongval () { return (long) (sizeof (int)); }
8444 #include <stdio.h>
8445 #include <stdlib.h>
8446 int
8447 main ()
8448 {
8449
8450   FILE *f = fopen ("conftest.val", "w");
8451   if (! f)
8452     exit (1);
8453   if (((long) (sizeof (int))) < 0)
8454     {
8455       long i = longval ();
8456       if (i != ((long) (sizeof (int))))
8457         exit (1);
8458       fprintf (f, "%ld\n", i);
8459     }
8460   else
8461     {
8462       unsigned long i = ulongval ();
8463       if (i != ((long) (sizeof (int))))
8464         exit (1);
8465       fprintf (f, "%lu\n", i);
8466     }
8467   exit (ferror (f) || fclose (f) != 0);
8468
8469   ;
8470   return 0;
8471 }
8472 _ACEOF
8473 rm -f conftest$ac_exeext
8474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8475   (eval $ac_link) 2>&5
8476   ac_status=$?
8477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8480   (eval $ac_try) 2>&5
8481   ac_status=$?
8482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483   (exit $ac_status); }; }; then
8484   ac_cv_sizeof_int=`cat conftest.val`
8485 else
8486   echo "$as_me: program exited with status $ac_status" >&5
8487 echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.$ac_ext >&5
8489
8490 ( exit $ac_status )
8491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8492 See \`config.log' for more details." >&5
8493 echo "$as_me: error: cannot compute sizeof (int), 77
8494 See \`config.log' for more details." >&2;}
8495    { (exit 1); exit 1; }; }
8496 fi
8497 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8498 fi
8499 fi
8500 rm -f conftest.val
8501 else
8502   ac_cv_sizeof_int=0
8503 fi
8504 fi
8505 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8506 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8507 cat >>confdefs.h <<_ACEOF
8508 #define SIZEOF_INT $ac_cv_sizeof_int
8509 _ACEOF
8510
8511
8512   echo "$as_me:$LINENO: checking for short" >&5
8513 echo $ECHO_N "checking for short... $ECHO_C" >&6
8514 if test "${ac_cv_type_short+set}" = set; then
8515   echo $ECHO_N "(cached) $ECHO_C" >&6
8516 else
8517   cat >conftest.$ac_ext <<_ACEOF
8518 /* confdefs.h.  */
8519 _ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h.  */
8523 $ac_includes_default
8524 int
8525 main ()
8526 {
8527 if ((short *) 0)
8528   return 0;
8529 if (sizeof (short))
8530   return 0;
8531   ;
8532   return 0;
8533 }
8534 _ACEOF
8535 rm -f conftest.$ac_objext
8536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8537   (eval $ac_compile) 2>conftest.er1
8538   ac_status=$?
8539   grep -v '^ *+' conftest.er1 >conftest.err
8540   rm -f conftest.er1
8541   cat conftest.err >&5
8542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543   (exit $ac_status); } &&
8544          { ac_try='test -z "$ac_c_werror_flag"
8545                          || test ! -s conftest.err'
8546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547   (eval $ac_try) 2>&5
8548   ac_status=$?
8549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550   (exit $ac_status); }; } &&
8551          { ac_try='test -s conftest.$ac_objext'
8552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553   (eval $ac_try) 2>&5
8554   ac_status=$?
8555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556   (exit $ac_status); }; }; then
8557   ac_cv_type_short=yes
8558 else
8559   echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.$ac_ext >&5
8561
8562 ac_cv_type_short=no
8563 fi
8564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8565 fi
8566 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8567 echo "${ECHO_T}$ac_cv_type_short" >&6
8568
8569 echo "$as_me:$LINENO: checking size of short" >&5
8570 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8571 if test "${ac_cv_sizeof_short+set}" = set; then
8572   echo $ECHO_N "(cached) $ECHO_C" >&6
8573 else
8574   if test "$ac_cv_type_short" = yes; then
8575   # The cast to unsigned long works around a bug in the HP C Compiler
8576   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8577   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8578   # This bug is HP SR number 8606223364.
8579   if test "$cross_compiling" = yes; then
8580   # Depending upon the size, compute the lo and hi bounds.
8581 cat >conftest.$ac_ext <<_ACEOF
8582 /* confdefs.h.  */
8583 _ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h.  */
8587 $ac_includes_default
8588 int
8589 main ()
8590 {
8591 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8592 test_array [0] = 0
8593
8594   ;
8595   return 0;
8596 }
8597 _ACEOF
8598 rm -f conftest.$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600   (eval $ac_compile) 2>conftest.er1
8601   ac_status=$?
8602   grep -v '^ *+' conftest.er1 >conftest.err
8603   rm -f conftest.er1
8604   cat conftest.err >&5
8605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606   (exit $ac_status); } &&
8607          { ac_try='test -z "$ac_c_werror_flag"
8608                          || test ! -s conftest.err'
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); }; } &&
8614          { ac_try='test -s conftest.$ac_objext'
8615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616   (eval $ac_try) 2>&5
8617   ac_status=$?
8618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619   (exit $ac_status); }; }; then
8620   ac_lo=0 ac_mid=0
8621   while :; do
8622     cat >conftest.$ac_ext <<_ACEOF
8623 /* confdefs.h.  */
8624 _ACEOF
8625 cat confdefs.h >>conftest.$ac_ext
8626 cat >>conftest.$ac_ext <<_ACEOF
8627 /* end confdefs.h.  */
8628 $ac_includes_default
8629 int
8630 main ()
8631 {
8632 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8633 test_array [0] = 0
8634
8635   ;
8636   return 0;
8637 }
8638 _ACEOF
8639 rm -f conftest.$ac_objext
8640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8641   (eval $ac_compile) 2>conftest.er1
8642   ac_status=$?
8643   grep -v '^ *+' conftest.er1 >conftest.err
8644   rm -f conftest.er1
8645   cat conftest.err >&5
8646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647   (exit $ac_status); } &&
8648          { ac_try='test -z "$ac_c_werror_flag"
8649                          || test ! -s conftest.err'
8650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8651   (eval $ac_try) 2>&5
8652   ac_status=$?
8653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654   (exit $ac_status); }; } &&
8655          { ac_try='test -s conftest.$ac_objext'
8656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8657   (eval $ac_try) 2>&5
8658   ac_status=$?
8659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660   (exit $ac_status); }; }; then
8661   ac_hi=$ac_mid; break
8662 else
8663   echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8665
8666 ac_lo=`expr $ac_mid + 1`
8667                     if test $ac_lo -le $ac_mid; then
8668                       ac_lo= ac_hi=
8669                       break
8670                     fi
8671                     ac_mid=`expr 2 '*' $ac_mid + 1`
8672 fi
8673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8674   done
8675 else
8676   echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.$ac_ext >&5
8678
8679 cat >conftest.$ac_ext <<_ACEOF
8680 /* confdefs.h.  */
8681 _ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h.  */
8685 $ac_includes_default
8686 int
8687 main ()
8688 {
8689 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8690 test_array [0] = 0
8691
8692   ;
8693   return 0;
8694 }
8695 _ACEOF
8696 rm -f conftest.$ac_objext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8698   (eval $ac_compile) 2>conftest.er1
8699   ac_status=$?
8700   grep -v '^ *+' conftest.er1 >conftest.err
8701   rm -f conftest.er1
8702   cat conftest.err >&5
8703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704   (exit $ac_status); } &&
8705          { ac_try='test -z "$ac_c_werror_flag"
8706                          || test ! -s conftest.err'
8707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708   (eval $ac_try) 2>&5
8709   ac_status=$?
8710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711   (exit $ac_status); }; } &&
8712          { ac_try='test -s conftest.$ac_objext'
8713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714   (eval $ac_try) 2>&5
8715   ac_status=$?
8716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717   (exit $ac_status); }; }; then
8718   ac_hi=-1 ac_mid=-1
8719   while :; do
8720     cat >conftest.$ac_ext <<_ACEOF
8721 /* confdefs.h.  */
8722 _ACEOF
8723 cat confdefs.h >>conftest.$ac_ext
8724 cat >>conftest.$ac_ext <<_ACEOF
8725 /* end confdefs.h.  */
8726 $ac_includes_default
8727 int
8728 main ()
8729 {
8730 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8731 test_array [0] = 0
8732
8733   ;
8734   return 0;
8735 }
8736 _ACEOF
8737 rm -f conftest.$ac_objext
8738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8739   (eval $ac_compile) 2>conftest.er1
8740   ac_status=$?
8741   grep -v '^ *+' conftest.er1 >conftest.err
8742   rm -f conftest.er1
8743   cat conftest.err >&5
8744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745   (exit $ac_status); } &&
8746          { ac_try='test -z "$ac_c_werror_flag"
8747                          || test ! -s conftest.err'
8748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749   (eval $ac_try) 2>&5
8750   ac_status=$?
8751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752   (exit $ac_status); }; } &&
8753          { ac_try='test -s conftest.$ac_objext'
8754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755   (eval $ac_try) 2>&5
8756   ac_status=$?
8757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758   (exit $ac_status); }; }; then
8759   ac_lo=$ac_mid; break
8760 else
8761   echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8763
8764 ac_hi=`expr '(' $ac_mid ')' - 1`
8765                        if test $ac_mid -le $ac_hi; then
8766                          ac_lo= ac_hi=
8767                          break
8768                        fi
8769                        ac_mid=`expr 2 '*' $ac_mid`
8770 fi
8771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8772   done
8773 else
8774   echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.$ac_ext >&5
8776
8777 ac_lo= ac_hi=
8778 fi
8779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8780 fi
8781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8782 # Binary search between lo and hi bounds.
8783 while test "x$ac_lo" != "x$ac_hi"; do
8784   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8785   cat >conftest.$ac_ext <<_ACEOF
8786 /* confdefs.h.  */
8787 _ACEOF
8788 cat confdefs.h >>conftest.$ac_ext
8789 cat >>conftest.$ac_ext <<_ACEOF
8790 /* end confdefs.h.  */
8791 $ac_includes_default
8792 int
8793 main ()
8794 {
8795 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8796 test_array [0] = 0
8797
8798   ;
8799   return 0;
8800 }
8801 _ACEOF
8802 rm -f conftest.$ac_objext
8803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8804   (eval $ac_compile) 2>conftest.er1
8805   ac_status=$?
8806   grep -v '^ *+' conftest.er1 >conftest.err
8807   rm -f conftest.er1
8808   cat conftest.err >&5
8809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810   (exit $ac_status); } &&
8811          { ac_try='test -z "$ac_c_werror_flag"
8812                          || test ! -s conftest.err'
8813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814   (eval $ac_try) 2>&5
8815   ac_status=$?
8816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817   (exit $ac_status); }; } &&
8818          { ac_try='test -s conftest.$ac_objext'
8819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820   (eval $ac_try) 2>&5
8821   ac_status=$?
8822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823   (exit $ac_status); }; }; then
8824   ac_hi=$ac_mid
8825 else
8826   echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.$ac_ext >&5
8828
8829 ac_lo=`expr '(' $ac_mid ')' + 1`
8830 fi
8831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8832 done
8833 case $ac_lo in
8834 ?*) ac_cv_sizeof_short=$ac_lo;;
8835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8836 See \`config.log' for more details." >&5
8837 echo "$as_me: error: cannot compute sizeof (short), 77
8838 See \`config.log' for more details." >&2;}
8839    { (exit 1); exit 1; }; } ;;
8840 esac
8841 else
8842   if test "$cross_compiling" = yes; then
8843   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8844 See \`config.log' for more details." >&5
8845 echo "$as_me: error: cannot run test program while cross compiling
8846 See \`config.log' for more details." >&2;}
8847    { (exit 1); exit 1; }; }
8848 else
8849   cat >conftest.$ac_ext <<_ACEOF
8850 /* confdefs.h.  */
8851 _ACEOF
8852 cat confdefs.h >>conftest.$ac_ext
8853 cat >>conftest.$ac_ext <<_ACEOF
8854 /* end confdefs.h.  */
8855 $ac_includes_default
8856 long longval () { return (long) (sizeof (short)); }
8857 unsigned long ulongval () { return (long) (sizeof (short)); }
8858 #include <stdio.h>
8859 #include <stdlib.h>
8860 int
8861 main ()
8862 {
8863
8864   FILE *f = fopen ("conftest.val", "w");
8865   if (! f)
8866     exit (1);
8867   if (((long) (sizeof (short))) < 0)
8868     {
8869       long i = longval ();
8870       if (i != ((long) (sizeof (short))))
8871         exit (1);
8872       fprintf (f, "%ld\n", i);
8873     }
8874   else
8875     {
8876       unsigned long i = ulongval ();
8877       if (i != ((long) (sizeof (short))))
8878         exit (1);
8879       fprintf (f, "%lu\n", i);
8880     }
8881   exit (ferror (f) || fclose (f) != 0);
8882
8883   ;
8884   return 0;
8885 }
8886 _ACEOF
8887 rm -f conftest$ac_exeext
8888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8889   (eval $ac_link) 2>&5
8890   ac_status=$?
8891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894   (eval $ac_try) 2>&5
8895   ac_status=$?
8896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897   (exit $ac_status); }; }; then
8898   ac_cv_sizeof_short=`cat conftest.val`
8899 else
8900   echo "$as_me: program exited with status $ac_status" >&5
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.$ac_ext >&5
8903
8904 ( exit $ac_status )
8905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8906 See \`config.log' for more details." >&5
8907 echo "$as_me: error: cannot compute sizeof (short), 77
8908 See \`config.log' for more details." >&2;}
8909    { (exit 1); exit 1; }; }
8910 fi
8911 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8912 fi
8913 fi
8914 rm -f conftest.val
8915 else
8916   ac_cv_sizeof_short=0
8917 fi
8918 fi
8919 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8920 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8921 cat >>confdefs.h <<_ACEOF
8922 #define SIZEOF_SHORT $ac_cv_sizeof_short
8923 _ACEOF
8924
8925
8926   echo "$as_me:$LINENO: checking for char" >&5
8927 echo $ECHO_N "checking for char... $ECHO_C" >&6
8928 if test "${ac_cv_type_char+set}" = set; then
8929   echo $ECHO_N "(cached) $ECHO_C" >&6
8930 else
8931   cat >conftest.$ac_ext <<_ACEOF
8932 /* confdefs.h.  */
8933 _ACEOF
8934 cat confdefs.h >>conftest.$ac_ext
8935 cat >>conftest.$ac_ext <<_ACEOF
8936 /* end confdefs.h.  */
8937 $ac_includes_default
8938 int
8939 main ()
8940 {
8941 if ((char *) 0)
8942   return 0;
8943 if (sizeof (char))
8944   return 0;
8945   ;
8946   return 0;
8947 }
8948 _ACEOF
8949 rm -f conftest.$ac_objext
8950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8951   (eval $ac_compile) 2>conftest.er1
8952   ac_status=$?
8953   grep -v '^ *+' conftest.er1 >conftest.err
8954   rm -f conftest.er1
8955   cat conftest.err >&5
8956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957   (exit $ac_status); } &&
8958          { ac_try='test -z "$ac_c_werror_flag"
8959                          || test ! -s conftest.err'
8960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961   (eval $ac_try) 2>&5
8962   ac_status=$?
8963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964   (exit $ac_status); }; } &&
8965          { ac_try='test -s conftest.$ac_objext'
8966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967   (eval $ac_try) 2>&5
8968   ac_status=$?
8969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970   (exit $ac_status); }; }; then
8971   ac_cv_type_char=yes
8972 else
8973   echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8975
8976 ac_cv_type_char=no
8977 fi
8978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8979 fi
8980 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
8981 echo "${ECHO_T}$ac_cv_type_char" >&6
8982
8983 echo "$as_me:$LINENO: checking size of char" >&5
8984 echo $ECHO_N "checking size of char... $ECHO_C" >&6
8985 if test "${ac_cv_sizeof_char+set}" = set; then
8986   echo $ECHO_N "(cached) $ECHO_C" >&6
8987 else
8988   if test "$ac_cv_type_char" = yes; then
8989   # The cast to unsigned long works around a bug in the HP C Compiler
8990   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8991   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8992   # This bug is HP SR number 8606223364.
8993   if test "$cross_compiling" = yes; then
8994   # Depending upon the size, compute the lo and hi bounds.
8995 cat >conftest.$ac_ext <<_ACEOF
8996 /* confdefs.h.  */
8997 _ACEOF
8998 cat confdefs.h >>conftest.$ac_ext
8999 cat >>conftest.$ac_ext <<_ACEOF
9000 /* end confdefs.h.  */
9001 $ac_includes_default
9002 int
9003 main ()
9004 {
9005 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9006 test_array [0] = 0
9007
9008   ;
9009   return 0;
9010 }
9011 _ACEOF
9012 rm -f conftest.$ac_objext
9013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9014   (eval $ac_compile) 2>conftest.er1
9015   ac_status=$?
9016   grep -v '^ *+' conftest.er1 >conftest.err
9017   rm -f conftest.er1
9018   cat conftest.err >&5
9019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020   (exit $ac_status); } &&
9021          { ac_try='test -z "$ac_c_werror_flag"
9022                          || test ! -s conftest.err'
9023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024   (eval $ac_try) 2>&5
9025   ac_status=$?
9026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027   (exit $ac_status); }; } &&
9028          { ac_try='test -s conftest.$ac_objext'
9029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030   (eval $ac_try) 2>&5
9031   ac_status=$?
9032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033   (exit $ac_status); }; }; then
9034   ac_lo=0 ac_mid=0
9035   while :; do
9036     cat >conftest.$ac_ext <<_ACEOF
9037 /* confdefs.h.  */
9038 _ACEOF
9039 cat confdefs.h >>conftest.$ac_ext
9040 cat >>conftest.$ac_ext <<_ACEOF
9041 /* end confdefs.h.  */
9042 $ac_includes_default
9043 int
9044 main ()
9045 {
9046 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9047 test_array [0] = 0
9048
9049   ;
9050   return 0;
9051 }
9052 _ACEOF
9053 rm -f conftest.$ac_objext
9054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9055   (eval $ac_compile) 2>conftest.er1
9056   ac_status=$?
9057   grep -v '^ *+' conftest.er1 >conftest.err
9058   rm -f conftest.er1
9059   cat conftest.err >&5
9060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061   (exit $ac_status); } &&
9062          { ac_try='test -z "$ac_c_werror_flag"
9063                          || test ! -s conftest.err'
9064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065   (eval $ac_try) 2>&5
9066   ac_status=$?
9067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068   (exit $ac_status); }; } &&
9069          { ac_try='test -s conftest.$ac_objext'
9070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071   (eval $ac_try) 2>&5
9072   ac_status=$?
9073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074   (exit $ac_status); }; }; then
9075   ac_hi=$ac_mid; break
9076 else
9077   echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9079
9080 ac_lo=`expr $ac_mid + 1`
9081                     if test $ac_lo -le $ac_mid; then
9082                       ac_lo= ac_hi=
9083                       break
9084                     fi
9085                     ac_mid=`expr 2 '*' $ac_mid + 1`
9086 fi
9087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9088   done
9089 else
9090   echo "$as_me: failed program was:" >&5
9091 sed 's/^/| /' conftest.$ac_ext >&5
9092
9093 cat >conftest.$ac_ext <<_ACEOF
9094 /* confdefs.h.  */
9095 _ACEOF
9096 cat confdefs.h >>conftest.$ac_ext
9097 cat >>conftest.$ac_ext <<_ACEOF
9098 /* end confdefs.h.  */
9099 $ac_includes_default
9100 int
9101 main ()
9102 {
9103 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9104 test_array [0] = 0
9105
9106   ;
9107   return 0;
9108 }
9109 _ACEOF
9110 rm -f conftest.$ac_objext
9111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9112   (eval $ac_compile) 2>conftest.er1
9113   ac_status=$?
9114   grep -v '^ *+' conftest.er1 >conftest.err
9115   rm -f conftest.er1
9116   cat conftest.err >&5
9117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118   (exit $ac_status); } &&
9119          { ac_try='test -z "$ac_c_werror_flag"
9120                          || test ! -s conftest.err'
9121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122   (eval $ac_try) 2>&5
9123   ac_status=$?
9124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125   (exit $ac_status); }; } &&
9126          { ac_try='test -s conftest.$ac_objext'
9127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128   (eval $ac_try) 2>&5
9129   ac_status=$?
9130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131   (exit $ac_status); }; }; then
9132   ac_hi=-1 ac_mid=-1
9133   while :; do
9134     cat >conftest.$ac_ext <<_ACEOF
9135 /* confdefs.h.  */
9136 _ACEOF
9137 cat confdefs.h >>conftest.$ac_ext
9138 cat >>conftest.$ac_ext <<_ACEOF
9139 /* end confdefs.h.  */
9140 $ac_includes_default
9141 int
9142 main ()
9143 {
9144 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9145 test_array [0] = 0
9146
9147   ;
9148   return 0;
9149 }
9150 _ACEOF
9151 rm -f conftest.$ac_objext
9152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9153   (eval $ac_compile) 2>conftest.er1
9154   ac_status=$?
9155   grep -v '^ *+' conftest.er1 >conftest.err
9156   rm -f conftest.er1
9157   cat conftest.err >&5
9158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159   (exit $ac_status); } &&
9160          { ac_try='test -z "$ac_c_werror_flag"
9161                          || test ! -s conftest.err'
9162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163   (eval $ac_try) 2>&5
9164   ac_status=$?
9165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166   (exit $ac_status); }; } &&
9167          { ac_try='test -s conftest.$ac_objext'
9168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9169   (eval $ac_try) 2>&5
9170   ac_status=$?
9171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172   (exit $ac_status); }; }; then
9173   ac_lo=$ac_mid; break
9174 else
9175   echo "$as_me: failed program was:" >&5
9176 sed 's/^/| /' conftest.$ac_ext >&5
9177
9178 ac_hi=`expr '(' $ac_mid ')' - 1`
9179                        if test $ac_mid -le $ac_hi; then
9180                          ac_lo= ac_hi=
9181                          break
9182                        fi
9183                        ac_mid=`expr 2 '*' $ac_mid`
9184 fi
9185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9186   done
9187 else
9188   echo "$as_me: failed program was:" >&5
9189 sed 's/^/| /' conftest.$ac_ext >&5
9190
9191 ac_lo= ac_hi=
9192 fi
9193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9194 fi
9195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9196 # Binary search between lo and hi bounds.
9197 while test "x$ac_lo" != "x$ac_hi"; do
9198   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9199   cat >conftest.$ac_ext <<_ACEOF
9200 /* confdefs.h.  */
9201 _ACEOF
9202 cat confdefs.h >>conftest.$ac_ext
9203 cat >>conftest.$ac_ext <<_ACEOF
9204 /* end confdefs.h.  */
9205 $ac_includes_default
9206 int
9207 main ()
9208 {
9209 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9210 test_array [0] = 0
9211
9212   ;
9213   return 0;
9214 }
9215 _ACEOF
9216 rm -f conftest.$ac_objext
9217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9218   (eval $ac_compile) 2>conftest.er1
9219   ac_status=$?
9220   grep -v '^ *+' conftest.er1 >conftest.err
9221   rm -f conftest.er1
9222   cat conftest.err >&5
9223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224   (exit $ac_status); } &&
9225          { ac_try='test -z "$ac_c_werror_flag"
9226                          || test ! -s conftest.err'
9227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9228   (eval $ac_try) 2>&5
9229   ac_status=$?
9230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231   (exit $ac_status); }; } &&
9232          { ac_try='test -s conftest.$ac_objext'
9233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9234   (eval $ac_try) 2>&5
9235   ac_status=$?
9236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237   (exit $ac_status); }; }; then
9238   ac_hi=$ac_mid
9239 else
9240   echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9242
9243 ac_lo=`expr '(' $ac_mid ')' + 1`
9244 fi
9245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9246 done
9247 case $ac_lo in
9248 ?*) ac_cv_sizeof_char=$ac_lo;;
9249 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9250 See \`config.log' for more details." >&5
9251 echo "$as_me: error: cannot compute sizeof (char), 77
9252 See \`config.log' for more details." >&2;}
9253    { (exit 1); exit 1; }; } ;;
9254 esac
9255 else
9256   if test "$cross_compiling" = yes; then
9257   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9258 See \`config.log' for more details." >&5
9259 echo "$as_me: error: cannot run test program while cross compiling
9260 See \`config.log' for more details." >&2;}
9261    { (exit 1); exit 1; }; }
9262 else
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 $ac_includes_default
9270 long longval () { return (long) (sizeof (char)); }
9271 unsigned long ulongval () { return (long) (sizeof (char)); }
9272 #include <stdio.h>
9273 #include <stdlib.h>
9274 int
9275 main ()
9276 {
9277
9278   FILE *f = fopen ("conftest.val", "w");
9279   if (! f)
9280     exit (1);
9281   if (((long) (sizeof (char))) < 0)
9282     {
9283       long i = longval ();
9284       if (i != ((long) (sizeof (char))))
9285         exit (1);
9286       fprintf (f, "%ld\n", i);
9287     }
9288   else
9289     {
9290       unsigned long i = ulongval ();
9291       if (i != ((long) (sizeof (char))))
9292         exit (1);
9293       fprintf (f, "%lu\n", i);
9294     }
9295   exit (ferror (f) || fclose (f) != 0);
9296
9297   ;
9298   return 0;
9299 }
9300 _ACEOF
9301 rm -f conftest$ac_exeext
9302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9303   (eval $ac_link) 2>&5
9304   ac_status=$?
9305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308   (eval $ac_try) 2>&5
9309   ac_status=$?
9310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311   (exit $ac_status); }; }; then
9312   ac_cv_sizeof_char=`cat conftest.val`
9313 else
9314   echo "$as_me: program exited with status $ac_status" >&5
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.$ac_ext >&5
9317
9318 ( exit $ac_status )
9319 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9320 See \`config.log' for more details." >&5
9321 echo "$as_me: error: cannot compute sizeof (char), 77
9322 See \`config.log' for more details." >&2;}
9323    { (exit 1); exit 1; }; }
9324 fi
9325 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9326 fi
9327 fi
9328 rm -f conftest.val
9329 else
9330   ac_cv_sizeof_char=0
9331 fi
9332 fi
9333 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9334 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9335 cat >>confdefs.h <<_ACEOF
9336 #define SIZEOF_CHAR $ac_cv_sizeof_char
9337 _ACEOF
9338
9339
9340
9341   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9342 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9343   case "$ac_cv_sizeof_char" in
9344     1) acx_cv_type_int8_t=char ;;
9345     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9346 echo "$as_me: error: no 8-bit type" >&2;}
9347    { (exit please report a bug); exit please report a bug; }; }
9348   esac
9349   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9350 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9351
9352   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9353 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9354   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9355     2:*) acx_cv_type_int16_t=int ;;
9356     *:2) acx_cv_type_int16_t=short ;;
9357     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9358 echo "$as_me: error: no 16-bit type" >&2;}
9359    { (exit please report a bug); exit please report a bug; }; }
9360   esac
9361   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9362 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9363
9364   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9365 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9366   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9367     4:*) acx_cv_type_int32_t=int ;;
9368     *:4) acx_cv_type_int32_t=long ;;
9369     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9370 echo "$as_me: error: no 32-bit type" >&2;}
9371    { (exit please report a bug); exit please report a bug; }; }
9372   esac
9373   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9374 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9375 fi
9376
9377 # These tests are here to make the output prettier
9378
9379 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9380   case "$ac_cv_sizeof_long" in
9381     8) acx_cv_type_int64_t=long ;;
9382   esac
9383   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9384 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9385   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9386 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9387 fi
9388
9389 # Now we can use the above types
9390
9391 if test "$ac_cv_type_uintptr_t" != yes; then
9392   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9393 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9394   case $ac_cv_sizeof_void_p in
9395     2) acx_cv_type_intptr_t=int16_t ;;
9396     4) acx_cv_type_intptr_t=int32_t ;;
9397     8) acx_cv_type_intptr_t=int64_t ;;
9398     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9399 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9400    { (exit please report a bug); exit please report a bug; }; }
9401   esac
9402   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9403 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9404 fi
9405
9406 # ----------------- done all checks, emit header -------------
9407           ac_config_commands="$ac_config_commands gstdint.h"
9408
9409
9410
9411
9412 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9413 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9414 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9415   echo $ECHO_N "(cached) $ECHO_C" >&6
9416 else
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 $ac_includes_default
9424 int
9425 main ()
9426 {
9427 static struct stat ac_aggr;
9428 if (ac_aggr.st_blksize)
9429 return 0;
9430   ;
9431   return 0;
9432 }
9433 _ACEOF
9434 rm -f conftest.$ac_objext
9435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9436   (eval $ac_compile) 2>conftest.er1
9437   ac_status=$?
9438   grep -v '^ *+' conftest.er1 >conftest.err
9439   rm -f conftest.er1
9440   cat conftest.err >&5
9441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442   (exit $ac_status); } &&
9443          { ac_try='test -z "$ac_c_werror_flag"
9444                          || test ! -s conftest.err'
9445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446   (eval $ac_try) 2>&5
9447   ac_status=$?
9448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449   (exit $ac_status); }; } &&
9450          { ac_try='test -s conftest.$ac_objext'
9451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452   (eval $ac_try) 2>&5
9453   ac_status=$?
9454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455   (exit $ac_status); }; }; then
9456   ac_cv_member_struct_stat_st_blksize=yes
9457 else
9458   echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.$ac_ext >&5
9460
9461 cat >conftest.$ac_ext <<_ACEOF
9462 /* confdefs.h.  */
9463 _ACEOF
9464 cat confdefs.h >>conftest.$ac_ext
9465 cat >>conftest.$ac_ext <<_ACEOF
9466 /* end confdefs.h.  */
9467 $ac_includes_default
9468 int
9469 main ()
9470 {
9471 static struct stat ac_aggr;
9472 if (sizeof ac_aggr.st_blksize)
9473 return 0;
9474   ;
9475   return 0;
9476 }
9477 _ACEOF
9478 rm -f conftest.$ac_objext
9479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9480   (eval $ac_compile) 2>conftest.er1
9481   ac_status=$?
9482   grep -v '^ *+' conftest.er1 >conftest.err
9483   rm -f conftest.er1
9484   cat conftest.err >&5
9485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486   (exit $ac_status); } &&
9487          { ac_try='test -z "$ac_c_werror_flag"
9488                          || test ! -s conftest.err'
9489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9490   (eval $ac_try) 2>&5
9491   ac_status=$?
9492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493   (exit $ac_status); }; } &&
9494          { ac_try='test -s conftest.$ac_objext'
9495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496   (eval $ac_try) 2>&5
9497   ac_status=$?
9498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499   (exit $ac_status); }; }; then
9500   ac_cv_member_struct_stat_st_blksize=yes
9501 else
9502   echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.$ac_ext >&5
9504
9505 ac_cv_member_struct_stat_st_blksize=no
9506 fi
9507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9508 fi
9509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9510 fi
9511 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9512 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9513 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9514
9515 cat >>confdefs.h <<_ACEOF
9516 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9517 _ACEOF
9518
9519
9520 fi
9521
9522 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9523 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9524 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9525   echo $ECHO_N "(cached) $ECHO_C" >&6
9526 else
9527   cat >conftest.$ac_ext <<_ACEOF
9528 /* confdefs.h.  */
9529 _ACEOF
9530 cat confdefs.h >>conftest.$ac_ext
9531 cat >>conftest.$ac_ext <<_ACEOF
9532 /* end confdefs.h.  */
9533 $ac_includes_default
9534 int
9535 main ()
9536 {
9537 static struct stat ac_aggr;
9538 if (ac_aggr.st_blocks)
9539 return 0;
9540   ;
9541   return 0;
9542 }
9543 _ACEOF
9544 rm -f conftest.$ac_objext
9545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9546   (eval $ac_compile) 2>conftest.er1
9547   ac_status=$?
9548   grep -v '^ *+' conftest.er1 >conftest.err
9549   rm -f conftest.er1
9550   cat conftest.err >&5
9551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552   (exit $ac_status); } &&
9553          { ac_try='test -z "$ac_c_werror_flag"
9554                          || test ! -s conftest.err'
9555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556   (eval $ac_try) 2>&5
9557   ac_status=$?
9558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559   (exit $ac_status); }; } &&
9560          { ac_try='test -s conftest.$ac_objext'
9561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9562   (eval $ac_try) 2>&5
9563   ac_status=$?
9564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565   (exit $ac_status); }; }; then
9566   ac_cv_member_struct_stat_st_blocks=yes
9567 else
9568   echo "$as_me: failed program was:" >&5
9569 sed 's/^/| /' conftest.$ac_ext >&5
9570
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 $ac_includes_default
9578 int
9579 main ()
9580 {
9581 static struct stat ac_aggr;
9582 if (sizeof ac_aggr.st_blocks)
9583 return 0;
9584   ;
9585   return 0;
9586 }
9587 _ACEOF
9588 rm -f conftest.$ac_objext
9589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9590   (eval $ac_compile) 2>conftest.er1
9591   ac_status=$?
9592   grep -v '^ *+' conftest.er1 >conftest.err
9593   rm -f conftest.er1
9594   cat conftest.err >&5
9595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596   (exit $ac_status); } &&
9597          { ac_try='test -z "$ac_c_werror_flag"
9598                          || test ! -s conftest.err'
9599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9600   (eval $ac_try) 2>&5
9601   ac_status=$?
9602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603   (exit $ac_status); }; } &&
9604          { ac_try='test -s conftest.$ac_objext'
9605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9606   (eval $ac_try) 2>&5
9607   ac_status=$?
9608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609   (exit $ac_status); }; }; then
9610   ac_cv_member_struct_stat_st_blocks=yes
9611 else
9612   echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.$ac_ext >&5
9614
9615 ac_cv_member_struct_stat_st_blocks=no
9616 fi
9617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9618 fi
9619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9620 fi
9621 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9622 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9623 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9624
9625 cat >>confdefs.h <<_ACEOF
9626 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9627 _ACEOF
9628
9629
9630 fi
9631
9632 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9633 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9634 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9635   echo $ECHO_N "(cached) $ECHO_C" >&6
9636 else
9637   cat >conftest.$ac_ext <<_ACEOF
9638 /* confdefs.h.  */
9639 _ACEOF
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h.  */
9643 $ac_includes_default
9644 int
9645 main ()
9646 {
9647 static struct stat ac_aggr;
9648 if (ac_aggr.st_rdev)
9649 return 0;
9650   ;
9651   return 0;
9652 }
9653 _ACEOF
9654 rm -f conftest.$ac_objext
9655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9656   (eval $ac_compile) 2>conftest.er1
9657   ac_status=$?
9658   grep -v '^ *+' conftest.er1 >conftest.err
9659   rm -f conftest.er1
9660   cat conftest.err >&5
9661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662   (exit $ac_status); } &&
9663          { ac_try='test -z "$ac_c_werror_flag"
9664                          || test ! -s conftest.err'
9665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9666   (eval $ac_try) 2>&5
9667   ac_status=$?
9668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669   (exit $ac_status); }; } &&
9670          { ac_try='test -s conftest.$ac_objext'
9671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672   (eval $ac_try) 2>&5
9673   ac_status=$?
9674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675   (exit $ac_status); }; }; then
9676   ac_cv_member_struct_stat_st_rdev=yes
9677 else
9678   echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9680
9681 cat >conftest.$ac_ext <<_ACEOF
9682 /* confdefs.h.  */
9683 _ACEOF
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h.  */
9687 $ac_includes_default
9688 int
9689 main ()
9690 {
9691 static struct stat ac_aggr;
9692 if (sizeof ac_aggr.st_rdev)
9693 return 0;
9694   ;
9695   return 0;
9696 }
9697 _ACEOF
9698 rm -f conftest.$ac_objext
9699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9700   (eval $ac_compile) 2>conftest.er1
9701   ac_status=$?
9702   grep -v '^ *+' conftest.er1 >conftest.err
9703   rm -f conftest.er1
9704   cat conftest.err >&5
9705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706   (exit $ac_status); } &&
9707          { ac_try='test -z "$ac_c_werror_flag"
9708                          || test ! -s conftest.err'
9709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710   (eval $ac_try) 2>&5
9711   ac_status=$?
9712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713   (exit $ac_status); }; } &&
9714          { ac_try='test -s conftest.$ac_objext'
9715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716   (eval $ac_try) 2>&5
9717   ac_status=$?
9718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719   (exit $ac_status); }; }; then
9720   ac_cv_member_struct_stat_st_rdev=yes
9721 else
9722   echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.$ac_ext >&5
9724
9725 ac_cv_member_struct_stat_st_rdev=no
9726 fi
9727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9728 fi
9729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9730 fi
9731 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9732 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9733 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9734
9735 cat >>confdefs.h <<_ACEOF
9736 #define HAVE_STRUCT_STAT_ST_RDEV 1
9737 _ACEOF
9738
9739
9740 fi
9741
9742
9743 # Check for library functions.
9744
9745
9746
9747
9748
9749
9750
9751
9752 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9753 do
9754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9755 echo "$as_me:$LINENO: checking for $ac_func" >&5
9756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9757 if eval "test \"\${$as_ac_var+set}\" = set"; then
9758   echo $ECHO_N "(cached) $ECHO_C" >&6
9759 else
9760   if test x$gcc_no_link = xyes; then
9761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9763    { (exit 1); exit 1; }; }
9764 fi
9765 cat >conftest.$ac_ext <<_ACEOF
9766 /* confdefs.h.  */
9767 _ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h.  */
9771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9773 #define $ac_func innocuous_$ac_func
9774
9775 /* System header to define __stub macros and hopefully few prototypes,
9776     which can conflict with char $ac_func (); below.
9777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9778     <limits.h> exists even on freestanding compilers.  */
9779
9780 #ifdef __STDC__
9781 # include <limits.h>
9782 #else
9783 # include <assert.h>
9784 #endif
9785
9786 #undef $ac_func
9787
9788 /* Override any gcc2 internal prototype to avoid an error.  */
9789 #ifdef __cplusplus
9790 extern "C"
9791 {
9792 #endif
9793 /* We use char because int might match the return type of a gcc2
9794    builtin and then its argument prototype would still apply.  */
9795 char $ac_func ();
9796 /* The GNU C library defines this for functions which it implements
9797     to always fail with ENOSYS.  Some functions are actually named
9798     something starting with __ and the normal name is an alias.  */
9799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9800 choke me
9801 #else
9802 char (*f) () = $ac_func;
9803 #endif
9804 #ifdef __cplusplus
9805 }
9806 #endif
9807
9808 int
9809 main ()
9810 {
9811 return f != $ac_func;
9812   ;
9813   return 0;
9814 }
9815 _ACEOF
9816 rm -f conftest.$ac_objext conftest$ac_exeext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9818   (eval $ac_link) 2>conftest.er1
9819   ac_status=$?
9820   grep -v '^ *+' conftest.er1 >conftest.err
9821   rm -f conftest.er1
9822   cat conftest.err >&5
9823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824   (exit $ac_status); } &&
9825          { ac_try='test -z "$ac_c_werror_flag"
9826                          || test ! -s conftest.err'
9827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828   (eval $ac_try) 2>&5
9829   ac_status=$?
9830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831   (exit $ac_status); }; } &&
9832          { ac_try='test -s conftest$ac_exeext'
9833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834   (eval $ac_try) 2>&5
9835   ac_status=$?
9836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837   (exit $ac_status); }; }; then
9838   eval "$as_ac_var=yes"
9839 else
9840   echo "$as_me: failed program was:" >&5
9841 sed 's/^/| /' conftest.$ac_ext >&5
9842
9843 eval "$as_ac_var=no"
9844 fi
9845 rm -f conftest.err conftest.$ac_objext \
9846       conftest$ac_exeext conftest.$ac_ext
9847 fi
9848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9850 if test `eval echo '${'$as_ac_var'}'` = yes; then
9851   cat >>confdefs.h <<_ACEOF
9852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9853 _ACEOF
9854
9855 fi
9856 done
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
9867 do
9868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9869 echo "$as_me:$LINENO: checking for $ac_func" >&5
9870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9871 if eval "test \"\${$as_ac_var+set}\" = set"; then
9872   echo $ECHO_N "(cached) $ECHO_C" >&6
9873 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9887 #define $ac_func innocuous_$ac_func
9888
9889 /* System header to define __stub macros and hopefully few prototypes,
9890     which can conflict with char $ac_func (); below.
9891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9892     <limits.h> exists even on freestanding compilers.  */
9893
9894 #ifdef __STDC__
9895 # include <limits.h>
9896 #else
9897 # include <assert.h>
9898 #endif
9899
9900 #undef $ac_func
9901
9902 /* Override any gcc2 internal prototype to avoid an error.  */
9903 #ifdef __cplusplus
9904 extern "C"
9905 {
9906 #endif
9907 /* We use char because int might match the return type of a gcc2
9908    builtin and then its argument prototype would still apply.  */
9909 char $ac_func ();
9910 /* The GNU C library defines this for functions which it implements
9911     to always fail with ENOSYS.  Some functions are actually named
9912     something starting with __ and the normal name is an alias.  */
9913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9914 choke me
9915 #else
9916 char (*f) () = $ac_func;
9917 #endif
9918 #ifdef __cplusplus
9919 }
9920 #endif
9921
9922 int
9923 main ()
9924 {
9925 return f != $ac_func;
9926   ;
9927   return 0;
9928 }
9929 _ACEOF
9930 rm -f conftest.$ac_objext conftest$ac_exeext
9931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9932   (eval $ac_link) 2>conftest.er1
9933   ac_status=$?
9934   grep -v '^ *+' conftest.er1 >conftest.err
9935   rm -f conftest.er1
9936   cat conftest.err >&5
9937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938   (exit $ac_status); } &&
9939          { ac_try='test -z "$ac_c_werror_flag"
9940                          || test ! -s conftest.err'
9941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942   (eval $ac_try) 2>&5
9943   ac_status=$?
9944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945   (exit $ac_status); }; } &&
9946          { ac_try='test -s conftest$ac_exeext'
9947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9948   (eval $ac_try) 2>&5
9949   ac_status=$?
9950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951   (exit $ac_status); }; }; then
9952   eval "$as_ac_var=yes"
9953 else
9954   echo "$as_me: failed program was:" >&5
9955 sed 's/^/| /' conftest.$ac_ext >&5
9956
9957 eval "$as_ac_var=no"
9958 fi
9959 rm -f conftest.err conftest.$ac_objext \
9960       conftest$ac_exeext conftest.$ac_ext
9961 fi
9962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9964 if test `eval echo '${'$as_ac_var'}'` = yes; then
9965   cat >>confdefs.h <<_ACEOF
9966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9967 _ACEOF
9968
9969 fi
9970 done
9971
9972
9973
9974
9975
9976
9977
9978 for ac_func in sleep time ttyname signal alarm ctime
9979 do
9980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9981 echo "$as_me:$LINENO: checking for $ac_func" >&5
9982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9983 if eval "test \"\${$as_ac_var+set}\" = set"; then
9984   echo $ECHO_N "(cached) $ECHO_C" >&6
9985 else
9986   if test x$gcc_no_link = xyes; then
9987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9989    { (exit 1); exit 1; }; }
9990 fi
9991 cat >conftest.$ac_ext <<_ACEOF
9992 /* confdefs.h.  */
9993 _ACEOF
9994 cat confdefs.h >>conftest.$ac_ext
9995 cat >>conftest.$ac_ext <<_ACEOF
9996 /* end confdefs.h.  */
9997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9999 #define $ac_func innocuous_$ac_func
10000
10001 /* System header to define __stub macros and hopefully few prototypes,
10002     which can conflict with char $ac_func (); below.
10003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10004     <limits.h> exists even on freestanding compilers.  */
10005
10006 #ifdef __STDC__
10007 # include <limits.h>
10008 #else
10009 # include <assert.h>
10010 #endif
10011
10012 #undef $ac_func
10013
10014 /* Override any gcc2 internal prototype to avoid an error.  */
10015 #ifdef __cplusplus
10016 extern "C"
10017 {
10018 #endif
10019 /* We use char because int might match the return type of a gcc2
10020    builtin and then its argument prototype would still apply.  */
10021 char $ac_func ();
10022 /* The GNU C library defines this for functions which it implements
10023     to always fail with ENOSYS.  Some functions are actually named
10024     something starting with __ and the normal name is an alias.  */
10025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10026 choke me
10027 #else
10028 char (*f) () = $ac_func;
10029 #endif
10030 #ifdef __cplusplus
10031 }
10032 #endif
10033
10034 int
10035 main ()
10036 {
10037 return f != $ac_func;
10038   ;
10039   return 0;
10040 }
10041 _ACEOF
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10044   (eval $ac_link) 2>conftest.er1
10045   ac_status=$?
10046   grep -v '^ *+' conftest.er1 >conftest.err
10047   rm -f conftest.er1
10048   cat conftest.err >&5
10049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050   (exit $ac_status); } &&
10051          { ac_try='test -z "$ac_c_werror_flag"
10052                          || test ! -s conftest.err'
10053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054   (eval $ac_try) 2>&5
10055   ac_status=$?
10056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057   (exit $ac_status); }; } &&
10058          { ac_try='test -s conftest$ac_exeext'
10059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10060   (eval $ac_try) 2>&5
10061   ac_status=$?
10062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063   (exit $ac_status); }; }; then
10064   eval "$as_ac_var=yes"
10065 else
10066   echo "$as_me: failed program was:" >&5
10067 sed 's/^/| /' conftest.$ac_ext >&5
10068
10069 eval "$as_ac_var=no"
10070 fi
10071 rm -f conftest.err conftest.$ac_objext \
10072       conftest$ac_exeext conftest.$ac_ext
10073 fi
10074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10076 if test `eval echo '${'$as_ac_var'}'` = yes; then
10077   cat >>confdefs.h <<_ACEOF
10078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10079 _ACEOF
10080
10081 fi
10082 done
10083
10084
10085 # Check libc for getgid, getpid, getuid
10086 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10087 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10088 if test "${ac_cv_lib_c_getgid+set}" = set; then
10089   echo $ECHO_N "(cached) $ECHO_C" >&6
10090 else
10091   ac_check_lib_save_LIBS=$LIBS
10092 LIBS="-lc  $LIBS"
10093 if test x$gcc_no_link = xyes; then
10094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10096    { (exit 1); exit 1; }; }
10097 fi
10098 cat >conftest.$ac_ext <<_ACEOF
10099 /* confdefs.h.  */
10100 _ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h.  */
10104
10105 /* Override any gcc2 internal prototype to avoid an error.  */
10106 #ifdef __cplusplus
10107 extern "C"
10108 #endif
10109 /* We use char because int might match the return type of a gcc2
10110    builtin and then its argument prototype would still apply.  */
10111 char getgid ();
10112 int
10113 main ()
10114 {
10115 getgid ();
10116   ;
10117   return 0;
10118 }
10119 _ACEOF
10120 rm -f conftest.$ac_objext conftest$ac_exeext
10121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10122   (eval $ac_link) 2>conftest.er1
10123   ac_status=$?
10124   grep -v '^ *+' conftest.er1 >conftest.err
10125   rm -f conftest.er1
10126   cat conftest.err >&5
10127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128   (exit $ac_status); } &&
10129          { ac_try='test -z "$ac_c_werror_flag"
10130                          || test ! -s conftest.err'
10131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132   (eval $ac_try) 2>&5
10133   ac_status=$?
10134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135   (exit $ac_status); }; } &&
10136          { ac_try='test -s conftest$ac_exeext'
10137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138   (eval $ac_try) 2>&5
10139   ac_status=$?
10140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141   (exit $ac_status); }; }; then
10142   ac_cv_lib_c_getgid=yes
10143 else
10144   echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.$ac_ext >&5
10146
10147 ac_cv_lib_c_getgid=no
10148 fi
10149 rm -f conftest.err conftest.$ac_objext \
10150       conftest$ac_exeext conftest.$ac_ext
10151 LIBS=$ac_check_lib_save_LIBS
10152 fi
10153 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10154 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10155 if test $ac_cv_lib_c_getgid = yes; then
10156
10157 cat >>confdefs.h <<\_ACEOF
10158 #define HAVE_GETGID 1
10159 _ACEOF
10160
10161 fi
10162
10163 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10164 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10165 if test "${ac_cv_lib_c_getpid+set}" = set; then
10166   echo $ECHO_N "(cached) $ECHO_C" >&6
10167 else
10168   ac_check_lib_save_LIBS=$LIBS
10169 LIBS="-lc  $LIBS"
10170 if test x$gcc_no_link = xyes; then
10171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10173    { (exit 1); exit 1; }; }
10174 fi
10175 cat >conftest.$ac_ext <<_ACEOF
10176 /* confdefs.h.  */
10177 _ACEOF
10178 cat confdefs.h >>conftest.$ac_ext
10179 cat >>conftest.$ac_ext <<_ACEOF
10180 /* end confdefs.h.  */
10181
10182 /* Override any gcc2 internal prototype to avoid an error.  */
10183 #ifdef __cplusplus
10184 extern "C"
10185 #endif
10186 /* We use char because int might match the return type of a gcc2
10187    builtin and then its argument prototype would still apply.  */
10188 char getpid ();
10189 int
10190 main ()
10191 {
10192 getpid ();
10193   ;
10194   return 0;
10195 }
10196 _ACEOF
10197 rm -f conftest.$ac_objext conftest$ac_exeext
10198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10199   (eval $ac_link) 2>conftest.er1
10200   ac_status=$?
10201   grep -v '^ *+' conftest.er1 >conftest.err
10202   rm -f conftest.er1
10203   cat conftest.err >&5
10204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205   (exit $ac_status); } &&
10206          { ac_try='test -z "$ac_c_werror_flag"
10207                          || test ! -s conftest.err'
10208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209   (eval $ac_try) 2>&5
10210   ac_status=$?
10211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212   (exit $ac_status); }; } &&
10213          { ac_try='test -s conftest$ac_exeext'
10214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215   (eval $ac_try) 2>&5
10216   ac_status=$?
10217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218   (exit $ac_status); }; }; then
10219   ac_cv_lib_c_getpid=yes
10220 else
10221   echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.$ac_ext >&5
10223
10224 ac_cv_lib_c_getpid=no
10225 fi
10226 rm -f conftest.err conftest.$ac_objext \
10227       conftest$ac_exeext conftest.$ac_ext
10228 LIBS=$ac_check_lib_save_LIBS
10229 fi
10230 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10231 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10232 if test $ac_cv_lib_c_getpid = yes; then
10233
10234 cat >>confdefs.h <<\_ACEOF
10235 #define HAVE_GETPID 1
10236 _ACEOF
10237
10238 fi
10239
10240 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10241 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10242 if test "${ac_cv_lib_c_getuid+set}" = set; then
10243   echo $ECHO_N "(cached) $ECHO_C" >&6
10244 else
10245   ac_check_lib_save_LIBS=$LIBS
10246 LIBS="-lc  $LIBS"
10247 if test x$gcc_no_link = xyes; then
10248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10250    { (exit 1); exit 1; }; }
10251 fi
10252 cat >conftest.$ac_ext <<_ACEOF
10253 /* confdefs.h.  */
10254 _ACEOF
10255 cat confdefs.h >>conftest.$ac_ext
10256 cat >>conftest.$ac_ext <<_ACEOF
10257 /* end confdefs.h.  */
10258
10259 /* Override any gcc2 internal prototype to avoid an error.  */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 /* We use char because int might match the return type of a gcc2
10264    builtin and then its argument prototype would still apply.  */
10265 char getuid ();
10266 int
10267 main ()
10268 {
10269 getuid ();
10270   ;
10271   return 0;
10272 }
10273 _ACEOF
10274 rm -f conftest.$ac_objext conftest$ac_exeext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10276   (eval $ac_link) 2>conftest.er1
10277   ac_status=$?
10278   grep -v '^ *+' conftest.er1 >conftest.err
10279   rm -f conftest.er1
10280   cat conftest.err >&5
10281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282   (exit $ac_status); } &&
10283          { ac_try='test -z "$ac_c_werror_flag"
10284                          || test ! -s conftest.err'
10285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286   (eval $ac_try) 2>&5
10287   ac_status=$?
10288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289   (exit $ac_status); }; } &&
10290          { ac_try='test -s conftest$ac_exeext'
10291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292   (eval $ac_try) 2>&5
10293   ac_status=$?
10294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295   (exit $ac_status); }; }; then
10296   ac_cv_lib_c_getuid=yes
10297 else
10298   echo "$as_me: failed program was:" >&5
10299 sed 's/^/| /' conftest.$ac_ext >&5
10300
10301 ac_cv_lib_c_getuid=no
10302 fi
10303 rm -f conftest.err conftest.$ac_objext \
10304       conftest$ac_exeext conftest.$ac_ext
10305 LIBS=$ac_check_lib_save_LIBS
10306 fi
10307 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10308 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10309 if test $ac_cv_lib_c_getuid = yes; then
10310
10311 cat >>confdefs.h <<\_ACEOF
10312 #define HAVE_GETUID 1
10313 _ACEOF
10314
10315 fi
10316
10317
10318 # Check for C99 (and other IEEE) math functions
10319 # ??? This list seems awful long. Is there a better way to test for these?
10320 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10321 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10322 if test "${ac_cv_lib_m_acosf+set}" = set; then
10323   echo $ECHO_N "(cached) $ECHO_C" >&6
10324 else
10325   ac_check_lib_save_LIBS=$LIBS
10326 LIBS="-lm  $LIBS"
10327 if test x$gcc_no_link = xyes; then
10328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10330    { (exit 1); exit 1; }; }
10331 fi
10332 cat >conftest.$ac_ext <<_ACEOF
10333 /* confdefs.h.  */
10334 _ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h.  */
10338
10339 /* Override any gcc2 internal prototype to avoid an error.  */
10340 #ifdef __cplusplus
10341 extern "C"
10342 #endif
10343 /* We use char because int might match the return type of a gcc2
10344    builtin and then its argument prototype would still apply.  */
10345 char acosf ();
10346 int
10347 main ()
10348 {
10349 acosf ();
10350   ;
10351   return 0;
10352 }
10353 _ACEOF
10354 rm -f conftest.$ac_objext conftest$ac_exeext
10355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10356   (eval $ac_link) 2>conftest.er1
10357   ac_status=$?
10358   grep -v '^ *+' conftest.er1 >conftest.err
10359   rm -f conftest.er1
10360   cat conftest.err >&5
10361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362   (exit $ac_status); } &&
10363          { ac_try='test -z "$ac_c_werror_flag"
10364                          || test ! -s conftest.err'
10365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366   (eval $ac_try) 2>&5
10367   ac_status=$?
10368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369   (exit $ac_status); }; } &&
10370          { ac_try='test -s conftest$ac_exeext'
10371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372   (eval $ac_try) 2>&5
10373   ac_status=$?
10374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375   (exit $ac_status); }; }; then
10376   ac_cv_lib_m_acosf=yes
10377 else
10378   echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.$ac_ext >&5
10380
10381 ac_cv_lib_m_acosf=no
10382 fi
10383 rm -f conftest.err conftest.$ac_objext \
10384       conftest$ac_exeext conftest.$ac_ext
10385 LIBS=$ac_check_lib_save_LIBS
10386 fi
10387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10388 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10389 if test $ac_cv_lib_m_acosf = yes; then
10390
10391 cat >>confdefs.h <<\_ACEOF
10392 #define HAVE_ACOSF 1
10393 _ACEOF
10394
10395 fi
10396
10397 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10398 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10399 if test "${ac_cv_lib_m_acos+set}" = set; then
10400   echo $ECHO_N "(cached) $ECHO_C" >&6
10401 else
10402   ac_check_lib_save_LIBS=$LIBS
10403 LIBS="-lm  $LIBS"
10404 if test x$gcc_no_link = xyes; then
10405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10407    { (exit 1); exit 1; }; }
10408 fi
10409 cat >conftest.$ac_ext <<_ACEOF
10410 /* confdefs.h.  */
10411 _ACEOF
10412 cat confdefs.h >>conftest.$ac_ext
10413 cat >>conftest.$ac_ext <<_ACEOF
10414 /* end confdefs.h.  */
10415
10416 /* Override any gcc2 internal prototype to avoid an error.  */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 /* We use char because int might match the return type of a gcc2
10421    builtin and then its argument prototype would still apply.  */
10422 char acos ();
10423 int
10424 main ()
10425 {
10426 acos ();
10427   ;
10428   return 0;
10429 }
10430 _ACEOF
10431 rm -f conftest.$ac_objext conftest$ac_exeext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10433   (eval $ac_link) 2>conftest.er1
10434   ac_status=$?
10435   grep -v '^ *+' conftest.er1 >conftest.err
10436   rm -f conftest.er1
10437   cat conftest.err >&5
10438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439   (exit $ac_status); } &&
10440          { ac_try='test -z "$ac_c_werror_flag"
10441                          || test ! -s conftest.err'
10442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10443   (eval $ac_try) 2>&5
10444   ac_status=$?
10445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446   (exit $ac_status); }; } &&
10447          { ac_try='test -s conftest$ac_exeext'
10448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10449   (eval $ac_try) 2>&5
10450   ac_status=$?
10451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452   (exit $ac_status); }; }; then
10453   ac_cv_lib_m_acos=yes
10454 else
10455   echo "$as_me: failed program was:" >&5
10456 sed 's/^/| /' conftest.$ac_ext >&5
10457
10458 ac_cv_lib_m_acos=no
10459 fi
10460 rm -f conftest.err conftest.$ac_objext \
10461       conftest$ac_exeext conftest.$ac_ext
10462 LIBS=$ac_check_lib_save_LIBS
10463 fi
10464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10465 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10466 if test $ac_cv_lib_m_acos = yes; then
10467
10468 cat >>confdefs.h <<\_ACEOF
10469 #define HAVE_ACOS 1
10470 _ACEOF
10471
10472 fi
10473
10474 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10475 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10476 if test "${ac_cv_lib_m_acosl+set}" = set; then
10477   echo $ECHO_N "(cached) $ECHO_C" >&6
10478 else
10479   ac_check_lib_save_LIBS=$LIBS
10480 LIBS="-lm  $LIBS"
10481 if test x$gcc_no_link = xyes; then
10482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10484    { (exit 1); exit 1; }; }
10485 fi
10486 cat >conftest.$ac_ext <<_ACEOF
10487 /* confdefs.h.  */
10488 _ACEOF
10489 cat confdefs.h >>conftest.$ac_ext
10490 cat >>conftest.$ac_ext <<_ACEOF
10491 /* end confdefs.h.  */
10492
10493 /* Override any gcc2 internal prototype to avoid an error.  */
10494 #ifdef __cplusplus
10495 extern "C"
10496 #endif
10497 /* We use char because int might match the return type of a gcc2
10498    builtin and then its argument prototype would still apply.  */
10499 char acosl ();
10500 int
10501 main ()
10502 {
10503 acosl ();
10504   ;
10505   return 0;
10506 }
10507 _ACEOF
10508 rm -f conftest.$ac_objext conftest$ac_exeext
10509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10510   (eval $ac_link) 2>conftest.er1
10511   ac_status=$?
10512   grep -v '^ *+' conftest.er1 >conftest.err
10513   rm -f conftest.er1
10514   cat conftest.err >&5
10515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516   (exit $ac_status); } &&
10517          { ac_try='test -z "$ac_c_werror_flag"
10518                          || test ! -s conftest.err'
10519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520   (eval $ac_try) 2>&5
10521   ac_status=$?
10522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523   (exit $ac_status); }; } &&
10524          { ac_try='test -s conftest$ac_exeext'
10525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526   (eval $ac_try) 2>&5
10527   ac_status=$?
10528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529   (exit $ac_status); }; }; then
10530   ac_cv_lib_m_acosl=yes
10531 else
10532   echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.$ac_ext >&5
10534
10535 ac_cv_lib_m_acosl=no
10536 fi
10537 rm -f conftest.err conftest.$ac_objext \
10538       conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS
10540 fi
10541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10542 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10543 if test $ac_cv_lib_m_acosl = yes; then
10544
10545 cat >>confdefs.h <<\_ACEOF
10546 #define HAVE_ACOSL 1
10547 _ACEOF
10548
10549 fi
10550
10551 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10552 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10553 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10554   echo $ECHO_N "(cached) $ECHO_C" >&6
10555 else
10556   ac_check_lib_save_LIBS=$LIBS
10557 LIBS="-lm  $LIBS"
10558 if test x$gcc_no_link = xyes; then
10559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10561    { (exit 1); exit 1; }; }
10562 fi
10563 cat >conftest.$ac_ext <<_ACEOF
10564 /* confdefs.h.  */
10565 _ACEOF
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h.  */
10569
10570 /* Override any gcc2 internal prototype to avoid an error.  */
10571 #ifdef __cplusplus
10572 extern "C"
10573 #endif
10574 /* We use char because int might match the return type of a gcc2
10575    builtin and then its argument prototype would still apply.  */
10576 char acoshf ();
10577 int
10578 main ()
10579 {
10580 acoshf ();
10581   ;
10582   return 0;
10583 }
10584 _ACEOF
10585 rm -f conftest.$ac_objext conftest$ac_exeext
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587   (eval $ac_link) 2>conftest.er1
10588   ac_status=$?
10589   grep -v '^ *+' conftest.er1 >conftest.err
10590   rm -f conftest.er1
10591   cat conftest.err >&5
10592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593   (exit $ac_status); } &&
10594          { ac_try='test -z "$ac_c_werror_flag"
10595                          || test ! -s conftest.err'
10596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597   (eval $ac_try) 2>&5
10598   ac_status=$?
10599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600   (exit $ac_status); }; } &&
10601          { ac_try='test -s conftest$ac_exeext'
10602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603   (eval $ac_try) 2>&5
10604   ac_status=$?
10605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606   (exit $ac_status); }; }; then
10607   ac_cv_lib_m_acoshf=yes
10608 else
10609   echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10611
10612 ac_cv_lib_m_acoshf=no
10613 fi
10614 rm -f conftest.err conftest.$ac_objext \
10615       conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_lib_save_LIBS
10617 fi
10618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10619 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10620 if test $ac_cv_lib_m_acoshf = yes; then
10621
10622 cat >>confdefs.h <<\_ACEOF
10623 #define HAVE_ACOSHF 1
10624 _ACEOF
10625
10626 fi
10627
10628 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10629 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10630 if test "${ac_cv_lib_m_acosh+set}" = set; then
10631   echo $ECHO_N "(cached) $ECHO_C" >&6
10632 else
10633   ac_check_lib_save_LIBS=$LIBS
10634 LIBS="-lm  $LIBS"
10635 if test x$gcc_no_link = xyes; then
10636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10638    { (exit 1); exit 1; }; }
10639 fi
10640 cat >conftest.$ac_ext <<_ACEOF
10641 /* confdefs.h.  */
10642 _ACEOF
10643 cat confdefs.h >>conftest.$ac_ext
10644 cat >>conftest.$ac_ext <<_ACEOF
10645 /* end confdefs.h.  */
10646
10647 /* Override any gcc2 internal prototype to avoid an error.  */
10648 #ifdef __cplusplus
10649 extern "C"
10650 #endif
10651 /* We use char because int might match the return type of a gcc2
10652    builtin and then its argument prototype would still apply.  */
10653 char acosh ();
10654 int
10655 main ()
10656 {
10657 acosh ();
10658   ;
10659   return 0;
10660 }
10661 _ACEOF
10662 rm -f conftest.$ac_objext conftest$ac_exeext
10663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10664   (eval $ac_link) 2>conftest.er1
10665   ac_status=$?
10666   grep -v '^ *+' conftest.er1 >conftest.err
10667   rm -f conftest.er1
10668   cat conftest.err >&5
10669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670   (exit $ac_status); } &&
10671          { ac_try='test -z "$ac_c_werror_flag"
10672                          || test ! -s conftest.err'
10673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10674   (eval $ac_try) 2>&5
10675   ac_status=$?
10676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677   (exit $ac_status); }; } &&
10678          { ac_try='test -s conftest$ac_exeext'
10679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680   (eval $ac_try) 2>&5
10681   ac_status=$?
10682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683   (exit $ac_status); }; }; then
10684   ac_cv_lib_m_acosh=yes
10685 else
10686   echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.$ac_ext >&5
10688
10689 ac_cv_lib_m_acosh=no
10690 fi
10691 rm -f conftest.err conftest.$ac_objext \
10692       conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_lib_save_LIBS
10694 fi
10695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
10696 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
10697 if test $ac_cv_lib_m_acosh = yes; then
10698
10699 cat >>confdefs.h <<\_ACEOF
10700 #define HAVE_ACOSH 1
10701 _ACEOF
10702
10703 fi
10704
10705 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
10706 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
10707 if test "${ac_cv_lib_m_acoshl+set}" = set; then
10708   echo $ECHO_N "(cached) $ECHO_C" >&6
10709 else
10710   ac_check_lib_save_LIBS=$LIBS
10711 LIBS="-lm  $LIBS"
10712 if test x$gcc_no_link = xyes; then
10713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10715    { (exit 1); exit 1; }; }
10716 fi
10717 cat >conftest.$ac_ext <<_ACEOF
10718 /* confdefs.h.  */
10719 _ACEOF
10720 cat confdefs.h >>conftest.$ac_ext
10721 cat >>conftest.$ac_ext <<_ACEOF
10722 /* end confdefs.h.  */
10723
10724 /* Override any gcc2 internal prototype to avoid an error.  */
10725 #ifdef __cplusplus
10726 extern "C"
10727 #endif
10728 /* We use char because int might match the return type of a gcc2
10729    builtin and then its argument prototype would still apply.  */
10730 char acoshl ();
10731 int
10732 main ()
10733 {
10734 acoshl ();
10735   ;
10736   return 0;
10737 }
10738 _ACEOF
10739 rm -f conftest.$ac_objext conftest$ac_exeext
10740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10741   (eval $ac_link) 2>conftest.er1
10742   ac_status=$?
10743   grep -v '^ *+' conftest.er1 >conftest.err
10744   rm -f conftest.er1
10745   cat conftest.err >&5
10746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747   (exit $ac_status); } &&
10748          { ac_try='test -z "$ac_c_werror_flag"
10749                          || test ! -s conftest.err'
10750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10751   (eval $ac_try) 2>&5
10752   ac_status=$?
10753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754   (exit $ac_status); }; } &&
10755          { ac_try='test -s conftest$ac_exeext'
10756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10757   (eval $ac_try) 2>&5
10758   ac_status=$?
10759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760   (exit $ac_status); }; }; then
10761   ac_cv_lib_m_acoshl=yes
10762 else
10763   echo "$as_me: failed program was:" >&5
10764 sed 's/^/| /' conftest.$ac_ext >&5
10765
10766 ac_cv_lib_m_acoshl=no
10767 fi
10768 rm -f conftest.err conftest.$ac_objext \
10769       conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_lib_save_LIBS
10771 fi
10772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
10773 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
10774 if test $ac_cv_lib_m_acoshl = yes; then
10775
10776 cat >>confdefs.h <<\_ACEOF
10777 #define HAVE_ACOSHL 1
10778 _ACEOF
10779
10780 fi
10781
10782 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
10783 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
10784 if test "${ac_cv_lib_m_asinf+set}" = set; then
10785   echo $ECHO_N "(cached) $ECHO_C" >&6
10786 else
10787   ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lm  $LIBS"
10789 if test x$gcc_no_link = xyes; then
10790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10792    { (exit 1); exit 1; }; }
10793 fi
10794 cat >conftest.$ac_ext <<_ACEOF
10795 /* confdefs.h.  */
10796 _ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h.  */
10800
10801 /* Override any gcc2 internal prototype to avoid an error.  */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 /* We use char because int might match the return type of a gcc2
10806    builtin and then its argument prototype would still apply.  */
10807 char asinf ();
10808 int
10809 main ()
10810 {
10811 asinf ();
10812   ;
10813   return 0;
10814 }
10815 _ACEOF
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10818   (eval $ac_link) 2>conftest.er1
10819   ac_status=$?
10820   grep -v '^ *+' conftest.er1 >conftest.err
10821   rm -f conftest.er1
10822   cat conftest.err >&5
10823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824   (exit $ac_status); } &&
10825          { ac_try='test -z "$ac_c_werror_flag"
10826                          || test ! -s conftest.err'
10827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828   (eval $ac_try) 2>&5
10829   ac_status=$?
10830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831   (exit $ac_status); }; } &&
10832          { ac_try='test -s conftest$ac_exeext'
10833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834   (eval $ac_try) 2>&5
10835   ac_status=$?
10836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837   (exit $ac_status); }; }; then
10838   ac_cv_lib_m_asinf=yes
10839 else
10840   echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.$ac_ext >&5
10842
10843 ac_cv_lib_m_asinf=no
10844 fi
10845 rm -f conftest.err conftest.$ac_objext \
10846       conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_check_lib_save_LIBS
10848 fi
10849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
10850 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
10851 if test $ac_cv_lib_m_asinf = yes; then
10852
10853 cat >>confdefs.h <<\_ACEOF
10854 #define HAVE_ASINF 1
10855 _ACEOF
10856
10857 fi
10858
10859 echo "$as_me:$LINENO: checking for asin in -lm" >&5
10860 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
10861 if test "${ac_cv_lib_m_asin+set}" = set; then
10862   echo $ECHO_N "(cached) $ECHO_C" >&6
10863 else
10864   ac_check_lib_save_LIBS=$LIBS
10865 LIBS="-lm  $LIBS"
10866 if test x$gcc_no_link = xyes; then
10867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10869    { (exit 1); exit 1; }; }
10870 fi
10871 cat >conftest.$ac_ext <<_ACEOF
10872 /* confdefs.h.  */
10873 _ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h.  */
10877
10878 /* Override any gcc2 internal prototype to avoid an error.  */
10879 #ifdef __cplusplus
10880 extern "C"
10881 #endif
10882 /* We use char because int might match the return type of a gcc2
10883    builtin and then its argument prototype would still apply.  */
10884 char asin ();
10885 int
10886 main ()
10887 {
10888 asin ();
10889   ;
10890   return 0;
10891 }
10892 _ACEOF
10893 rm -f conftest.$ac_objext conftest$ac_exeext
10894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10895   (eval $ac_link) 2>conftest.er1
10896   ac_status=$?
10897   grep -v '^ *+' conftest.er1 >conftest.err
10898   rm -f conftest.er1
10899   cat conftest.err >&5
10900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901   (exit $ac_status); } &&
10902          { ac_try='test -z "$ac_c_werror_flag"
10903                          || test ! -s conftest.err'
10904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905   (eval $ac_try) 2>&5
10906   ac_status=$?
10907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908   (exit $ac_status); }; } &&
10909          { ac_try='test -s conftest$ac_exeext'
10910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911   (eval $ac_try) 2>&5
10912   ac_status=$?
10913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914   (exit $ac_status); }; }; then
10915   ac_cv_lib_m_asin=yes
10916 else
10917   echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10919
10920 ac_cv_lib_m_asin=no
10921 fi
10922 rm -f conftest.err conftest.$ac_objext \
10923       conftest$ac_exeext conftest.$ac_ext
10924 LIBS=$ac_check_lib_save_LIBS
10925 fi
10926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
10927 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
10928 if test $ac_cv_lib_m_asin = yes; then
10929
10930 cat >>confdefs.h <<\_ACEOF
10931 #define HAVE_ASIN 1
10932 _ACEOF
10933
10934 fi
10935
10936 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
10937 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
10938 if test "${ac_cv_lib_m_asinl+set}" = set; then
10939   echo $ECHO_N "(cached) $ECHO_C" >&6
10940 else
10941   ac_check_lib_save_LIBS=$LIBS
10942 LIBS="-lm  $LIBS"
10943 if test x$gcc_no_link = xyes; then
10944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10946    { (exit 1); exit 1; }; }
10947 fi
10948 cat >conftest.$ac_ext <<_ACEOF
10949 /* confdefs.h.  */
10950 _ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h.  */
10954
10955 /* Override any gcc2 internal prototype to avoid an error.  */
10956 #ifdef __cplusplus
10957 extern "C"
10958 #endif
10959 /* We use char because int might match the return type of a gcc2
10960    builtin and then its argument prototype would still apply.  */
10961 char asinl ();
10962 int
10963 main ()
10964 {
10965 asinl ();
10966   ;
10967   return 0;
10968 }
10969 _ACEOF
10970 rm -f conftest.$ac_objext conftest$ac_exeext
10971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10972   (eval $ac_link) 2>conftest.er1
10973   ac_status=$?
10974   grep -v '^ *+' conftest.er1 >conftest.err
10975   rm -f conftest.er1
10976   cat conftest.err >&5
10977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978   (exit $ac_status); } &&
10979          { ac_try='test -z "$ac_c_werror_flag"
10980                          || test ! -s conftest.err'
10981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982   (eval $ac_try) 2>&5
10983   ac_status=$?
10984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985   (exit $ac_status); }; } &&
10986          { ac_try='test -s conftest$ac_exeext'
10987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10988   (eval $ac_try) 2>&5
10989   ac_status=$?
10990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991   (exit $ac_status); }; }; then
10992   ac_cv_lib_m_asinl=yes
10993 else
10994   echo "$as_me: failed program was:" >&5
10995 sed 's/^/| /' conftest.$ac_ext >&5
10996
10997 ac_cv_lib_m_asinl=no
10998 fi
10999 rm -f conftest.err conftest.$ac_objext \
11000       conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11002 fi
11003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11004 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11005 if test $ac_cv_lib_m_asinl = yes; then
11006
11007 cat >>confdefs.h <<\_ACEOF
11008 #define HAVE_ASINL 1
11009 _ACEOF
11010
11011 fi
11012
11013 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11014 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11015 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11016   echo $ECHO_N "(cached) $ECHO_C" >&6
11017 else
11018   ac_check_lib_save_LIBS=$LIBS
11019 LIBS="-lm  $LIBS"
11020 if test x$gcc_no_link = xyes; then
11021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11023    { (exit 1); exit 1; }; }
11024 fi
11025 cat >conftest.$ac_ext <<_ACEOF
11026 /* confdefs.h.  */
11027 _ACEOF
11028 cat confdefs.h >>conftest.$ac_ext
11029 cat >>conftest.$ac_ext <<_ACEOF
11030 /* end confdefs.h.  */
11031
11032 /* Override any gcc2 internal prototype to avoid an error.  */
11033 #ifdef __cplusplus
11034 extern "C"
11035 #endif
11036 /* We use char because int might match the return type of a gcc2
11037    builtin and then its argument prototype would still apply.  */
11038 char asinhf ();
11039 int
11040 main ()
11041 {
11042 asinhf ();
11043   ;
11044   return 0;
11045 }
11046 _ACEOF
11047 rm -f conftest.$ac_objext conftest$ac_exeext
11048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11049   (eval $ac_link) 2>conftest.er1
11050   ac_status=$?
11051   grep -v '^ *+' conftest.er1 >conftest.err
11052   rm -f conftest.er1
11053   cat conftest.err >&5
11054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055   (exit $ac_status); } &&
11056          { ac_try='test -z "$ac_c_werror_flag"
11057                          || test ! -s conftest.err'
11058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059   (eval $ac_try) 2>&5
11060   ac_status=$?
11061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062   (exit $ac_status); }; } &&
11063          { ac_try='test -s conftest$ac_exeext'
11064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065   (eval $ac_try) 2>&5
11066   ac_status=$?
11067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068   (exit $ac_status); }; }; then
11069   ac_cv_lib_m_asinhf=yes
11070 else
11071   echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11073
11074 ac_cv_lib_m_asinhf=no
11075 fi
11076 rm -f conftest.err conftest.$ac_objext \
11077       conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_lib_save_LIBS
11079 fi
11080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11081 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11082 if test $ac_cv_lib_m_asinhf = yes; then
11083
11084 cat >>confdefs.h <<\_ACEOF
11085 #define HAVE_ASINHF 1
11086 _ACEOF
11087
11088 fi
11089
11090 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11091 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11092 if test "${ac_cv_lib_m_asinh+set}" = set; then
11093   echo $ECHO_N "(cached) $ECHO_C" >&6
11094 else
11095   ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-lm  $LIBS"
11097 if test x$gcc_no_link = xyes; then
11098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11100    { (exit 1); exit 1; }; }
11101 fi
11102 cat >conftest.$ac_ext <<_ACEOF
11103 /* confdefs.h.  */
11104 _ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h.  */
11108
11109 /* Override any gcc2 internal prototype to avoid an error.  */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 /* We use char because int might match the return type of a gcc2
11114    builtin and then its argument prototype would still apply.  */
11115 char asinh ();
11116 int
11117 main ()
11118 {
11119 asinh ();
11120   ;
11121   return 0;
11122 }
11123 _ACEOF
11124 rm -f conftest.$ac_objext conftest$ac_exeext
11125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11126   (eval $ac_link) 2>conftest.er1
11127   ac_status=$?
11128   grep -v '^ *+' conftest.er1 >conftest.err
11129   rm -f conftest.er1
11130   cat conftest.err >&5
11131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132   (exit $ac_status); } &&
11133          { ac_try='test -z "$ac_c_werror_flag"
11134                          || test ! -s conftest.err'
11135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11136   (eval $ac_try) 2>&5
11137   ac_status=$?
11138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139   (exit $ac_status); }; } &&
11140          { ac_try='test -s conftest$ac_exeext'
11141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142   (eval $ac_try) 2>&5
11143   ac_status=$?
11144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145   (exit $ac_status); }; }; then
11146   ac_cv_lib_m_asinh=yes
11147 else
11148   echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.$ac_ext >&5
11150
11151 ac_cv_lib_m_asinh=no
11152 fi
11153 rm -f conftest.err conftest.$ac_objext \
11154       conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_lib_save_LIBS
11156 fi
11157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11158 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11159 if test $ac_cv_lib_m_asinh = yes; then
11160
11161 cat >>confdefs.h <<\_ACEOF
11162 #define HAVE_ASINH 1
11163 _ACEOF
11164
11165 fi
11166
11167 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11168 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11169 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11170   echo $ECHO_N "(cached) $ECHO_C" >&6
11171 else
11172   ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-lm  $LIBS"
11174 if test x$gcc_no_link = xyes; then
11175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11177    { (exit 1); exit 1; }; }
11178 fi
11179 cat >conftest.$ac_ext <<_ACEOF
11180 /* confdefs.h.  */
11181 _ACEOF
11182 cat confdefs.h >>conftest.$ac_ext
11183 cat >>conftest.$ac_ext <<_ACEOF
11184 /* end confdefs.h.  */
11185
11186 /* Override any gcc2 internal prototype to avoid an error.  */
11187 #ifdef __cplusplus
11188 extern "C"
11189 #endif
11190 /* We use char because int might match the return type of a gcc2
11191    builtin and then its argument prototype would still apply.  */
11192 char asinhl ();
11193 int
11194 main ()
11195 {
11196 asinhl ();
11197   ;
11198   return 0;
11199 }
11200 _ACEOF
11201 rm -f conftest.$ac_objext conftest$ac_exeext
11202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11203   (eval $ac_link) 2>conftest.er1
11204   ac_status=$?
11205   grep -v '^ *+' conftest.er1 >conftest.err
11206   rm -f conftest.er1
11207   cat conftest.err >&5
11208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209   (exit $ac_status); } &&
11210          { ac_try='test -z "$ac_c_werror_flag"
11211                          || test ! -s conftest.err'
11212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11213   (eval $ac_try) 2>&5
11214   ac_status=$?
11215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216   (exit $ac_status); }; } &&
11217          { ac_try='test -s conftest$ac_exeext'
11218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11219   (eval $ac_try) 2>&5
11220   ac_status=$?
11221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222   (exit $ac_status); }; }; then
11223   ac_cv_lib_m_asinhl=yes
11224 else
11225   echo "$as_me: failed program was:" >&5
11226 sed 's/^/| /' conftest.$ac_ext >&5
11227
11228 ac_cv_lib_m_asinhl=no
11229 fi
11230 rm -f conftest.err conftest.$ac_objext \
11231       conftest$ac_exeext conftest.$ac_ext
11232 LIBS=$ac_check_lib_save_LIBS
11233 fi
11234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11235 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11236 if test $ac_cv_lib_m_asinhl = yes; then
11237
11238 cat >>confdefs.h <<\_ACEOF
11239 #define HAVE_ASINHL 1
11240 _ACEOF
11241
11242 fi
11243
11244 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11245 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11246 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11247   echo $ECHO_N "(cached) $ECHO_C" >&6
11248 else
11249   ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lm  $LIBS"
11251 if test x$gcc_no_link = xyes; then
11252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11254    { (exit 1); exit 1; }; }
11255 fi
11256 cat >conftest.$ac_ext <<_ACEOF
11257 /* confdefs.h.  */
11258 _ACEOF
11259 cat confdefs.h >>conftest.$ac_ext
11260 cat >>conftest.$ac_ext <<_ACEOF
11261 /* end confdefs.h.  */
11262
11263 /* Override any gcc2 internal prototype to avoid an error.  */
11264 #ifdef __cplusplus
11265 extern "C"
11266 #endif
11267 /* We use char because int might match the return type of a gcc2
11268    builtin and then its argument prototype would still apply.  */
11269 char atan2f ();
11270 int
11271 main ()
11272 {
11273 atan2f ();
11274   ;
11275   return 0;
11276 }
11277 _ACEOF
11278 rm -f conftest.$ac_objext conftest$ac_exeext
11279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11280   (eval $ac_link) 2>conftest.er1
11281   ac_status=$?
11282   grep -v '^ *+' conftest.er1 >conftest.err
11283   rm -f conftest.er1
11284   cat conftest.err >&5
11285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286   (exit $ac_status); } &&
11287          { ac_try='test -z "$ac_c_werror_flag"
11288                          || test ! -s conftest.err'
11289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290   (eval $ac_try) 2>&5
11291   ac_status=$?
11292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293   (exit $ac_status); }; } &&
11294          { ac_try='test -s conftest$ac_exeext'
11295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296   (eval $ac_try) 2>&5
11297   ac_status=$?
11298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299   (exit $ac_status); }; }; then
11300   ac_cv_lib_m_atan2f=yes
11301 else
11302   echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.$ac_ext >&5
11304
11305 ac_cv_lib_m_atan2f=no
11306 fi
11307 rm -f conftest.err conftest.$ac_objext \
11308       conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11310 fi
11311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11312 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11313 if test $ac_cv_lib_m_atan2f = yes; then
11314
11315 cat >>confdefs.h <<\_ACEOF
11316 #define HAVE_ATAN2F 1
11317 _ACEOF
11318
11319 fi
11320
11321 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11322 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11323 if test "${ac_cv_lib_m_atan2+set}" = set; then
11324   echo $ECHO_N "(cached) $ECHO_C" >&6
11325 else
11326   ac_check_lib_save_LIBS=$LIBS
11327 LIBS="-lm  $LIBS"
11328 if test x$gcc_no_link = xyes; then
11329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11331    { (exit 1); exit 1; }; }
11332 fi
11333 cat >conftest.$ac_ext <<_ACEOF
11334 /* confdefs.h.  */
11335 _ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h.  */
11339
11340 /* Override any gcc2 internal prototype to avoid an error.  */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 /* We use char because int might match the return type of a gcc2
11345    builtin and then its argument prototype would still apply.  */
11346 char atan2 ();
11347 int
11348 main ()
11349 {
11350 atan2 ();
11351   ;
11352   return 0;
11353 }
11354 _ACEOF
11355 rm -f conftest.$ac_objext conftest$ac_exeext
11356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11357   (eval $ac_link) 2>conftest.er1
11358   ac_status=$?
11359   grep -v '^ *+' conftest.er1 >conftest.err
11360   rm -f conftest.er1
11361   cat conftest.err >&5
11362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363   (exit $ac_status); } &&
11364          { ac_try='test -z "$ac_c_werror_flag"
11365                          || test ! -s conftest.err'
11366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367   (eval $ac_try) 2>&5
11368   ac_status=$?
11369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370   (exit $ac_status); }; } &&
11371          { ac_try='test -s conftest$ac_exeext'
11372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373   (eval $ac_try) 2>&5
11374   ac_status=$?
11375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376   (exit $ac_status); }; }; then
11377   ac_cv_lib_m_atan2=yes
11378 else
11379   echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.$ac_ext >&5
11381
11382 ac_cv_lib_m_atan2=no
11383 fi
11384 rm -f conftest.err conftest.$ac_objext \
11385       conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_lib_save_LIBS
11387 fi
11388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11389 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11390 if test $ac_cv_lib_m_atan2 = yes; then
11391
11392 cat >>confdefs.h <<\_ACEOF
11393 #define HAVE_ATAN2 1
11394 _ACEOF
11395
11396 fi
11397
11398 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11399 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11400 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11401   echo $ECHO_N "(cached) $ECHO_C" >&6
11402 else
11403   ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lm  $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11408    { (exit 1); exit 1; }; }
11409 fi
11410 cat >conftest.$ac_ext <<_ACEOF
11411 /* confdefs.h.  */
11412 _ACEOF
11413 cat confdefs.h >>conftest.$ac_ext
11414 cat >>conftest.$ac_ext <<_ACEOF
11415 /* end confdefs.h.  */
11416
11417 /* Override any gcc2 internal prototype to avoid an error.  */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 /* We use char because int might match the return type of a gcc2
11422    builtin and then its argument prototype would still apply.  */
11423 char atan2l ();
11424 int
11425 main ()
11426 {
11427 atan2l ();
11428   ;
11429   return 0;
11430 }
11431 _ACEOF
11432 rm -f conftest.$ac_objext conftest$ac_exeext
11433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11434   (eval $ac_link) 2>conftest.er1
11435   ac_status=$?
11436   grep -v '^ *+' conftest.er1 >conftest.err
11437   rm -f conftest.er1
11438   cat conftest.err >&5
11439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440   (exit $ac_status); } &&
11441          { ac_try='test -z "$ac_c_werror_flag"
11442                          || test ! -s conftest.err'
11443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444   (eval $ac_try) 2>&5
11445   ac_status=$?
11446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447   (exit $ac_status); }; } &&
11448          { ac_try='test -s conftest$ac_exeext'
11449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450   (eval $ac_try) 2>&5
11451   ac_status=$?
11452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453   (exit $ac_status); }; }; then
11454   ac_cv_lib_m_atan2l=yes
11455 else
11456   echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11458
11459 ac_cv_lib_m_atan2l=no
11460 fi
11461 rm -f conftest.err conftest.$ac_objext \
11462       conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11464 fi
11465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11466 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11467 if test $ac_cv_lib_m_atan2l = yes; then
11468
11469 cat >>confdefs.h <<\_ACEOF
11470 #define HAVE_ATAN2L 1
11471 _ACEOF
11472
11473 fi
11474
11475 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11476 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11477 if test "${ac_cv_lib_m_atanf+set}" = set; then
11478   echo $ECHO_N "(cached) $ECHO_C" >&6
11479 else
11480   ac_check_lib_save_LIBS=$LIBS
11481 LIBS="-lm  $LIBS"
11482 if test x$gcc_no_link = xyes; then
11483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11485    { (exit 1); exit 1; }; }
11486 fi
11487 cat >conftest.$ac_ext <<_ACEOF
11488 /* confdefs.h.  */
11489 _ACEOF
11490 cat confdefs.h >>conftest.$ac_ext
11491 cat >>conftest.$ac_ext <<_ACEOF
11492 /* end confdefs.h.  */
11493
11494 /* Override any gcc2 internal prototype to avoid an error.  */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 /* We use char because int might match the return type of a gcc2
11499    builtin and then its argument prototype would still apply.  */
11500 char atanf ();
11501 int
11502 main ()
11503 {
11504 atanf ();
11505   ;
11506   return 0;
11507 }
11508 _ACEOF
11509 rm -f conftest.$ac_objext conftest$ac_exeext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11511   (eval $ac_link) 2>conftest.er1
11512   ac_status=$?
11513   grep -v '^ *+' conftest.er1 >conftest.err
11514   rm -f conftest.er1
11515   cat conftest.err >&5
11516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517   (exit $ac_status); } &&
11518          { ac_try='test -z "$ac_c_werror_flag"
11519                          || test ! -s conftest.err'
11520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521   (eval $ac_try) 2>&5
11522   ac_status=$?
11523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524   (exit $ac_status); }; } &&
11525          { ac_try='test -s conftest$ac_exeext'
11526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527   (eval $ac_try) 2>&5
11528   ac_status=$?
11529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530   (exit $ac_status); }; }; then
11531   ac_cv_lib_m_atanf=yes
11532 else
11533   echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.$ac_ext >&5
11535
11536 ac_cv_lib_m_atanf=no
11537 fi
11538 rm -f conftest.err conftest.$ac_objext \
11539       conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_lib_save_LIBS
11541 fi
11542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11543 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11544 if test $ac_cv_lib_m_atanf = yes; then
11545
11546 cat >>confdefs.h <<\_ACEOF
11547 #define HAVE_ATANF 1
11548 _ACEOF
11549
11550 fi
11551
11552 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11553 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11554 if test "${ac_cv_lib_m_atan+set}" = set; then
11555   echo $ECHO_N "(cached) $ECHO_C" >&6
11556 else
11557   ac_check_lib_save_LIBS=$LIBS
11558 LIBS="-lm  $LIBS"
11559 if test x$gcc_no_link = xyes; then
11560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11562    { (exit 1); exit 1; }; }
11563 fi
11564 cat >conftest.$ac_ext <<_ACEOF
11565 /* confdefs.h.  */
11566 _ACEOF
11567 cat confdefs.h >>conftest.$ac_ext
11568 cat >>conftest.$ac_ext <<_ACEOF
11569 /* end confdefs.h.  */
11570
11571 /* Override any gcc2 internal prototype to avoid an error.  */
11572 #ifdef __cplusplus
11573 extern "C"
11574 #endif
11575 /* We use char because int might match the return type of a gcc2
11576    builtin and then its argument prototype would still apply.  */
11577 char atan ();
11578 int
11579 main ()
11580 {
11581 atan ();
11582   ;
11583   return 0;
11584 }
11585 _ACEOF
11586 rm -f conftest.$ac_objext conftest$ac_exeext
11587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11588   (eval $ac_link) 2>conftest.er1
11589   ac_status=$?
11590   grep -v '^ *+' conftest.er1 >conftest.err
11591   rm -f conftest.er1
11592   cat conftest.err >&5
11593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594   (exit $ac_status); } &&
11595          { ac_try='test -z "$ac_c_werror_flag"
11596                          || test ! -s conftest.err'
11597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598   (eval $ac_try) 2>&5
11599   ac_status=$?
11600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601   (exit $ac_status); }; } &&
11602          { ac_try='test -s conftest$ac_exeext'
11603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11604   (eval $ac_try) 2>&5
11605   ac_status=$?
11606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607   (exit $ac_status); }; }; then
11608   ac_cv_lib_m_atan=yes
11609 else
11610   echo "$as_me: failed program was:" >&5
11611 sed 's/^/| /' conftest.$ac_ext >&5
11612
11613 ac_cv_lib_m_atan=no
11614 fi
11615 rm -f conftest.err conftest.$ac_objext \
11616       conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_lib_save_LIBS
11618 fi
11619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11620 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11621 if test $ac_cv_lib_m_atan = yes; then
11622
11623 cat >>confdefs.h <<\_ACEOF
11624 #define HAVE_ATAN 1
11625 _ACEOF
11626
11627 fi
11628
11629 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11630 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11631 if test "${ac_cv_lib_m_atanl+set}" = set; then
11632   echo $ECHO_N "(cached) $ECHO_C" >&6
11633 else
11634   ac_check_lib_save_LIBS=$LIBS
11635 LIBS="-lm  $LIBS"
11636 if test x$gcc_no_link = xyes; then
11637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11639    { (exit 1); exit 1; }; }
11640 fi
11641 cat >conftest.$ac_ext <<_ACEOF
11642 /* confdefs.h.  */
11643 _ACEOF
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h.  */
11647
11648 /* Override any gcc2 internal prototype to avoid an error.  */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 /* We use char because int might match the return type of a gcc2
11653    builtin and then its argument prototype would still apply.  */
11654 char atanl ();
11655 int
11656 main ()
11657 {
11658 atanl ();
11659   ;
11660   return 0;
11661 }
11662 _ACEOF
11663 rm -f conftest.$ac_objext conftest$ac_exeext
11664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11665   (eval $ac_link) 2>conftest.er1
11666   ac_status=$?
11667   grep -v '^ *+' conftest.er1 >conftest.err
11668   rm -f conftest.er1
11669   cat conftest.err >&5
11670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671   (exit $ac_status); } &&
11672          { ac_try='test -z "$ac_c_werror_flag"
11673                          || test ! -s conftest.err'
11674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11675   (eval $ac_try) 2>&5
11676   ac_status=$?
11677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678   (exit $ac_status); }; } &&
11679          { ac_try='test -s conftest$ac_exeext'
11680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681   (eval $ac_try) 2>&5
11682   ac_status=$?
11683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684   (exit $ac_status); }; }; then
11685   ac_cv_lib_m_atanl=yes
11686 else
11687   echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.$ac_ext >&5
11689
11690 ac_cv_lib_m_atanl=no
11691 fi
11692 rm -f conftest.err conftest.$ac_objext \
11693       conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_lib_save_LIBS
11695 fi
11696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
11697 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
11698 if test $ac_cv_lib_m_atanl = yes; then
11699
11700 cat >>confdefs.h <<\_ACEOF
11701 #define HAVE_ATANL 1
11702 _ACEOF
11703
11704 fi
11705
11706 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
11707 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
11708 if test "${ac_cv_lib_m_atanhf+set}" = set; then
11709   echo $ECHO_N "(cached) $ECHO_C" >&6
11710 else
11711   ac_check_lib_save_LIBS=$LIBS
11712 LIBS="-lm  $LIBS"
11713 if test x$gcc_no_link = xyes; then
11714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11716    { (exit 1); exit 1; }; }
11717 fi
11718 cat >conftest.$ac_ext <<_ACEOF
11719 /* confdefs.h.  */
11720 _ACEOF
11721 cat confdefs.h >>conftest.$ac_ext
11722 cat >>conftest.$ac_ext <<_ACEOF
11723 /* end confdefs.h.  */
11724
11725 /* Override any gcc2 internal prototype to avoid an error.  */
11726 #ifdef __cplusplus
11727 extern "C"
11728 #endif
11729 /* We use char because int might match the return type of a gcc2
11730    builtin and then its argument prototype would still apply.  */
11731 char atanhf ();
11732 int
11733 main ()
11734 {
11735 atanhf ();
11736   ;
11737   return 0;
11738 }
11739 _ACEOF
11740 rm -f conftest.$ac_objext conftest$ac_exeext
11741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11742   (eval $ac_link) 2>conftest.er1
11743   ac_status=$?
11744   grep -v '^ *+' conftest.er1 >conftest.err
11745   rm -f conftest.er1
11746   cat conftest.err >&5
11747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748   (exit $ac_status); } &&
11749          { ac_try='test -z "$ac_c_werror_flag"
11750                          || test ! -s conftest.err'
11751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752   (eval $ac_try) 2>&5
11753   ac_status=$?
11754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755   (exit $ac_status); }; } &&
11756          { ac_try='test -s conftest$ac_exeext'
11757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758   (eval $ac_try) 2>&5
11759   ac_status=$?
11760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761   (exit $ac_status); }; }; then
11762   ac_cv_lib_m_atanhf=yes
11763 else
11764   echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11766
11767 ac_cv_lib_m_atanhf=no
11768 fi
11769 rm -f conftest.err conftest.$ac_objext \
11770       conftest$ac_exeext conftest.$ac_ext
11771 LIBS=$ac_check_lib_save_LIBS
11772 fi
11773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
11774 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
11775 if test $ac_cv_lib_m_atanhf = yes; then
11776
11777 cat >>confdefs.h <<\_ACEOF
11778 #define HAVE_ATANHF 1
11779 _ACEOF
11780
11781 fi
11782
11783 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
11784 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
11785 if test "${ac_cv_lib_m_atanh+set}" = set; then
11786   echo $ECHO_N "(cached) $ECHO_C" >&6
11787 else
11788   ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lm  $LIBS"
11790 if test x$gcc_no_link = xyes; then
11791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11793    { (exit 1); exit 1; }; }
11794 fi
11795 cat >conftest.$ac_ext <<_ACEOF
11796 /* confdefs.h.  */
11797 _ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h.  */
11801
11802 /* Override any gcc2 internal prototype to avoid an error.  */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 /* We use char because int might match the return type of a gcc2
11807    builtin and then its argument prototype would still apply.  */
11808 char atanh ();
11809 int
11810 main ()
11811 {
11812 atanh ();
11813   ;
11814   return 0;
11815 }
11816 _ACEOF
11817 rm -f conftest.$ac_objext conftest$ac_exeext
11818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11819   (eval $ac_link) 2>conftest.er1
11820   ac_status=$?
11821   grep -v '^ *+' conftest.er1 >conftest.err
11822   rm -f conftest.er1
11823   cat conftest.err >&5
11824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825   (exit $ac_status); } &&
11826          { ac_try='test -z "$ac_c_werror_flag"
11827                          || test ! -s conftest.err'
11828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829   (eval $ac_try) 2>&5
11830   ac_status=$?
11831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832   (exit $ac_status); }; } &&
11833          { ac_try='test -s conftest$ac_exeext'
11834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835   (eval $ac_try) 2>&5
11836   ac_status=$?
11837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838   (exit $ac_status); }; }; then
11839   ac_cv_lib_m_atanh=yes
11840 else
11841   echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.$ac_ext >&5
11843
11844 ac_cv_lib_m_atanh=no
11845 fi
11846 rm -f conftest.err conftest.$ac_objext \
11847       conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_lib_save_LIBS
11849 fi
11850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
11851 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
11852 if test $ac_cv_lib_m_atanh = yes; then
11853
11854 cat >>confdefs.h <<\_ACEOF
11855 #define HAVE_ATANH 1
11856 _ACEOF
11857
11858 fi
11859
11860 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
11861 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
11862 if test "${ac_cv_lib_m_atanhl+set}" = set; then
11863   echo $ECHO_N "(cached) $ECHO_C" >&6
11864 else
11865   ac_check_lib_save_LIBS=$LIBS
11866 LIBS="-lm  $LIBS"
11867 if test x$gcc_no_link = xyes; then
11868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11870    { (exit 1); exit 1; }; }
11871 fi
11872 cat >conftest.$ac_ext <<_ACEOF
11873 /* confdefs.h.  */
11874 _ACEOF
11875 cat confdefs.h >>conftest.$ac_ext
11876 cat >>conftest.$ac_ext <<_ACEOF
11877 /* end confdefs.h.  */
11878
11879 /* Override any gcc2 internal prototype to avoid an error.  */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 /* We use char because int might match the return type of a gcc2
11884    builtin and then its argument prototype would still apply.  */
11885 char atanhl ();
11886 int
11887 main ()
11888 {
11889 atanhl ();
11890   ;
11891   return 0;
11892 }
11893 _ACEOF
11894 rm -f conftest.$ac_objext conftest$ac_exeext
11895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11896   (eval $ac_link) 2>conftest.er1
11897   ac_status=$?
11898   grep -v '^ *+' conftest.er1 >conftest.err
11899   rm -f conftest.er1
11900   cat conftest.err >&5
11901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902   (exit $ac_status); } &&
11903          { ac_try='test -z "$ac_c_werror_flag"
11904                          || test ! -s conftest.err'
11905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906   (eval $ac_try) 2>&5
11907   ac_status=$?
11908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909   (exit $ac_status); }; } &&
11910          { ac_try='test -s conftest$ac_exeext'
11911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912   (eval $ac_try) 2>&5
11913   ac_status=$?
11914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915   (exit $ac_status); }; }; then
11916   ac_cv_lib_m_atanhl=yes
11917 else
11918   echo "$as_me: failed program was:" >&5
11919 sed 's/^/| /' conftest.$ac_ext >&5
11920
11921 ac_cv_lib_m_atanhl=no
11922 fi
11923 rm -f conftest.err conftest.$ac_objext \
11924       conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_lib_save_LIBS
11926 fi
11927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
11928 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
11929 if test $ac_cv_lib_m_atanhl = yes; then
11930
11931 cat >>confdefs.h <<\_ACEOF
11932 #define HAVE_ATANHL 1
11933 _ACEOF
11934
11935 fi
11936
11937 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
11938 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
11939 if test "${ac_cv_lib_m_cargf+set}" = set; then
11940   echo $ECHO_N "(cached) $ECHO_C" >&6
11941 else
11942   ac_check_lib_save_LIBS=$LIBS
11943 LIBS="-lm  $LIBS"
11944 if test x$gcc_no_link = xyes; then
11945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11947    { (exit 1); exit 1; }; }
11948 fi
11949 cat >conftest.$ac_ext <<_ACEOF
11950 /* confdefs.h.  */
11951 _ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h.  */
11955
11956 /* Override any gcc2 internal prototype to avoid an error.  */
11957 #ifdef __cplusplus
11958 extern "C"
11959 #endif
11960 /* We use char because int might match the return type of a gcc2
11961    builtin and then its argument prototype would still apply.  */
11962 char cargf ();
11963 int
11964 main ()
11965 {
11966 cargf ();
11967   ;
11968   return 0;
11969 }
11970 _ACEOF
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11973   (eval $ac_link) 2>conftest.er1
11974   ac_status=$?
11975   grep -v '^ *+' conftest.er1 >conftest.err
11976   rm -f conftest.er1
11977   cat conftest.err >&5
11978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979   (exit $ac_status); } &&
11980          { ac_try='test -z "$ac_c_werror_flag"
11981                          || test ! -s conftest.err'
11982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983   (eval $ac_try) 2>&5
11984   ac_status=$?
11985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986   (exit $ac_status); }; } &&
11987          { ac_try='test -s conftest$ac_exeext'
11988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11989   (eval $ac_try) 2>&5
11990   ac_status=$?
11991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992   (exit $ac_status); }; }; then
11993   ac_cv_lib_m_cargf=yes
11994 else
11995   echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.$ac_ext >&5
11997
11998 ac_cv_lib_m_cargf=no
11999 fi
12000 rm -f conftest.err conftest.$ac_objext \
12001       conftest$ac_exeext conftest.$ac_ext
12002 LIBS=$ac_check_lib_save_LIBS
12003 fi
12004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12005 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12006 if test $ac_cv_lib_m_cargf = yes; then
12007
12008 cat >>confdefs.h <<\_ACEOF
12009 #define HAVE_CARGF 1
12010 _ACEOF
12011
12012 fi
12013
12014 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12015 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12016 if test "${ac_cv_lib_m_carg+set}" = set; then
12017   echo $ECHO_N "(cached) $ECHO_C" >&6
12018 else
12019   ac_check_lib_save_LIBS=$LIBS
12020 LIBS="-lm  $LIBS"
12021 if test x$gcc_no_link = xyes; then
12022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12024    { (exit 1); exit 1; }; }
12025 fi
12026 cat >conftest.$ac_ext <<_ACEOF
12027 /* confdefs.h.  */
12028 _ACEOF
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h.  */
12032
12033 /* Override any gcc2 internal prototype to avoid an error.  */
12034 #ifdef __cplusplus
12035 extern "C"
12036 #endif
12037 /* We use char because int might match the return type of a gcc2
12038    builtin and then its argument prototype would still apply.  */
12039 char carg ();
12040 int
12041 main ()
12042 {
12043 carg ();
12044   ;
12045   return 0;
12046 }
12047 _ACEOF
12048 rm -f conftest.$ac_objext conftest$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050   (eval $ac_link) 2>conftest.er1
12051   ac_status=$?
12052   grep -v '^ *+' conftest.er1 >conftest.err
12053   rm -f conftest.er1
12054   cat conftest.err >&5
12055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056   (exit $ac_status); } &&
12057          { ac_try='test -z "$ac_c_werror_flag"
12058                          || test ! -s conftest.err'
12059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060   (eval $ac_try) 2>&5
12061   ac_status=$?
12062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063   (exit $ac_status); }; } &&
12064          { ac_try='test -s conftest$ac_exeext'
12065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066   (eval $ac_try) 2>&5
12067   ac_status=$?
12068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069   (exit $ac_status); }; }; then
12070   ac_cv_lib_m_carg=yes
12071 else
12072   echo "$as_me: failed program was:" >&5
12073 sed 's/^/| /' conftest.$ac_ext >&5
12074
12075 ac_cv_lib_m_carg=no
12076 fi
12077 rm -f conftest.err conftest.$ac_objext \
12078       conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12080 fi
12081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12082 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12083 if test $ac_cv_lib_m_carg = yes; then
12084
12085 cat >>confdefs.h <<\_ACEOF
12086 #define HAVE_CARG 1
12087 _ACEOF
12088
12089 fi
12090
12091 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12092 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12093 if test "${ac_cv_lib_m_cargl+set}" = set; then
12094   echo $ECHO_N "(cached) $ECHO_C" >&6
12095 else
12096   ac_check_lib_save_LIBS=$LIBS
12097 LIBS="-lm  $LIBS"
12098 if test x$gcc_no_link = xyes; then
12099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12101    { (exit 1); exit 1; }; }
12102 fi
12103 cat >conftest.$ac_ext <<_ACEOF
12104 /* confdefs.h.  */
12105 _ACEOF
12106 cat confdefs.h >>conftest.$ac_ext
12107 cat >>conftest.$ac_ext <<_ACEOF
12108 /* end confdefs.h.  */
12109
12110 /* Override any gcc2 internal prototype to avoid an error.  */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 /* We use char because int might match the return type of a gcc2
12115    builtin and then its argument prototype would still apply.  */
12116 char cargl ();
12117 int
12118 main ()
12119 {
12120 cargl ();
12121   ;
12122   return 0;
12123 }
12124 _ACEOF
12125 rm -f conftest.$ac_objext conftest$ac_exeext
12126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12127   (eval $ac_link) 2>conftest.er1
12128   ac_status=$?
12129   grep -v '^ *+' conftest.er1 >conftest.err
12130   rm -f conftest.er1
12131   cat conftest.err >&5
12132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133   (exit $ac_status); } &&
12134          { ac_try='test -z "$ac_c_werror_flag"
12135                          || test ! -s conftest.err'
12136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137   (eval $ac_try) 2>&5
12138   ac_status=$?
12139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140   (exit $ac_status); }; } &&
12141          { ac_try='test -s conftest$ac_exeext'
12142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143   (eval $ac_try) 2>&5
12144   ac_status=$?
12145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146   (exit $ac_status); }; }; then
12147   ac_cv_lib_m_cargl=yes
12148 else
12149   echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.$ac_ext >&5
12151
12152 ac_cv_lib_m_cargl=no
12153 fi
12154 rm -f conftest.err conftest.$ac_objext \
12155       conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_lib_save_LIBS
12157 fi
12158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12159 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12160 if test $ac_cv_lib_m_cargl = yes; then
12161
12162 cat >>confdefs.h <<\_ACEOF
12163 #define HAVE_CARGL 1
12164 _ACEOF
12165
12166 fi
12167
12168 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12169 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12170 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12171   echo $ECHO_N "(cached) $ECHO_C" >&6
12172 else
12173   ac_check_lib_save_LIBS=$LIBS
12174 LIBS="-lm  $LIBS"
12175 if test x$gcc_no_link = xyes; then
12176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12178    { (exit 1); exit 1; }; }
12179 fi
12180 cat >conftest.$ac_ext <<_ACEOF
12181 /* confdefs.h.  */
12182 _ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h.  */
12186
12187 /* Override any gcc2 internal prototype to avoid an error.  */
12188 #ifdef __cplusplus
12189 extern "C"
12190 #endif
12191 /* We use char because int might match the return type of a gcc2
12192    builtin and then its argument prototype would still apply.  */
12193 char ceilf ();
12194 int
12195 main ()
12196 {
12197 ceilf ();
12198   ;
12199   return 0;
12200 }
12201 _ACEOF
12202 rm -f conftest.$ac_objext conftest$ac_exeext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12204   (eval $ac_link) 2>conftest.er1
12205   ac_status=$?
12206   grep -v '^ *+' conftest.er1 >conftest.err
12207   rm -f conftest.er1
12208   cat conftest.err >&5
12209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210   (exit $ac_status); } &&
12211          { ac_try='test -z "$ac_c_werror_flag"
12212                          || test ! -s conftest.err'
12213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214   (eval $ac_try) 2>&5
12215   ac_status=$?
12216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217   (exit $ac_status); }; } &&
12218          { ac_try='test -s conftest$ac_exeext'
12219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220   (eval $ac_try) 2>&5
12221   ac_status=$?
12222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223   (exit $ac_status); }; }; then
12224   ac_cv_lib_m_ceilf=yes
12225 else
12226   echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12228
12229 ac_cv_lib_m_ceilf=no
12230 fi
12231 rm -f conftest.err conftest.$ac_objext \
12232       conftest$ac_exeext conftest.$ac_ext
12233 LIBS=$ac_check_lib_save_LIBS
12234 fi
12235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12236 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12237 if test $ac_cv_lib_m_ceilf = yes; then
12238
12239 cat >>confdefs.h <<\_ACEOF
12240 #define HAVE_CEILF 1
12241 _ACEOF
12242
12243 fi
12244
12245 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12246 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12247 if test "${ac_cv_lib_m_ceil+set}" = set; then
12248   echo $ECHO_N "(cached) $ECHO_C" >&6
12249 else
12250   ac_check_lib_save_LIBS=$LIBS
12251 LIBS="-lm  $LIBS"
12252 if test x$gcc_no_link = xyes; then
12253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12255    { (exit 1); exit 1; }; }
12256 fi
12257 cat >conftest.$ac_ext <<_ACEOF
12258 /* confdefs.h.  */
12259 _ACEOF
12260 cat confdefs.h >>conftest.$ac_ext
12261 cat >>conftest.$ac_ext <<_ACEOF
12262 /* end confdefs.h.  */
12263
12264 /* Override any gcc2 internal prototype to avoid an error.  */
12265 #ifdef __cplusplus
12266 extern "C"
12267 #endif
12268 /* We use char because int might match the return type of a gcc2
12269    builtin and then its argument prototype would still apply.  */
12270 char ceil ();
12271 int
12272 main ()
12273 {
12274 ceil ();
12275   ;
12276   return 0;
12277 }
12278 _ACEOF
12279 rm -f conftest.$ac_objext conftest$ac_exeext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12281   (eval $ac_link) 2>conftest.er1
12282   ac_status=$?
12283   grep -v '^ *+' conftest.er1 >conftest.err
12284   rm -f conftest.er1
12285   cat conftest.err >&5
12286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287   (exit $ac_status); } &&
12288          { ac_try='test -z "$ac_c_werror_flag"
12289                          || test ! -s conftest.err'
12290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291   (eval $ac_try) 2>&5
12292   ac_status=$?
12293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294   (exit $ac_status); }; } &&
12295          { ac_try='test -s conftest$ac_exeext'
12296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12297   (eval $ac_try) 2>&5
12298   ac_status=$?
12299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300   (exit $ac_status); }; }; then
12301   ac_cv_lib_m_ceil=yes
12302 else
12303   echo "$as_me: failed program was:" >&5
12304 sed 's/^/| /' conftest.$ac_ext >&5
12305
12306 ac_cv_lib_m_ceil=no
12307 fi
12308 rm -f conftest.err conftest.$ac_objext \
12309       conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12311 fi
12312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12313 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12314 if test $ac_cv_lib_m_ceil = yes; then
12315
12316 cat >>confdefs.h <<\_ACEOF
12317 #define HAVE_CEIL 1
12318 _ACEOF
12319
12320 fi
12321
12322 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12323 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12324 if test "${ac_cv_lib_m_ceill+set}" = set; then
12325   echo $ECHO_N "(cached) $ECHO_C" >&6
12326 else
12327   ac_check_lib_save_LIBS=$LIBS
12328 LIBS="-lm  $LIBS"
12329 if test x$gcc_no_link = xyes; then
12330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12332    { (exit 1); exit 1; }; }
12333 fi
12334 cat >conftest.$ac_ext <<_ACEOF
12335 /* confdefs.h.  */
12336 _ACEOF
12337 cat confdefs.h >>conftest.$ac_ext
12338 cat >>conftest.$ac_ext <<_ACEOF
12339 /* end confdefs.h.  */
12340
12341 /* Override any gcc2 internal prototype to avoid an error.  */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 /* We use char because int might match the return type of a gcc2
12346    builtin and then its argument prototype would still apply.  */
12347 char ceill ();
12348 int
12349 main ()
12350 {
12351 ceill ();
12352   ;
12353   return 0;
12354 }
12355 _ACEOF
12356 rm -f conftest.$ac_objext conftest$ac_exeext
12357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12358   (eval $ac_link) 2>conftest.er1
12359   ac_status=$?
12360   grep -v '^ *+' conftest.er1 >conftest.err
12361   rm -f conftest.er1
12362   cat conftest.err >&5
12363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364   (exit $ac_status); } &&
12365          { ac_try='test -z "$ac_c_werror_flag"
12366                          || test ! -s conftest.err'
12367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368   (eval $ac_try) 2>&5
12369   ac_status=$?
12370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371   (exit $ac_status); }; } &&
12372          { ac_try='test -s conftest$ac_exeext'
12373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374   (eval $ac_try) 2>&5
12375   ac_status=$?
12376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377   (exit $ac_status); }; }; then
12378   ac_cv_lib_m_ceill=yes
12379 else
12380   echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12382
12383 ac_cv_lib_m_ceill=no
12384 fi
12385 rm -f conftest.err conftest.$ac_objext \
12386       conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_lib_save_LIBS
12388 fi
12389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12390 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12391 if test $ac_cv_lib_m_ceill = yes; then
12392
12393 cat >>confdefs.h <<\_ACEOF
12394 #define HAVE_CEILL 1
12395 _ACEOF
12396
12397 fi
12398
12399 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12400 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12401 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12402   echo $ECHO_N "(cached) $ECHO_C" >&6
12403 else
12404   ac_check_lib_save_LIBS=$LIBS
12405 LIBS="-lm  $LIBS"
12406 if test x$gcc_no_link = xyes; then
12407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12409    { (exit 1); exit 1; }; }
12410 fi
12411 cat >conftest.$ac_ext <<_ACEOF
12412 /* confdefs.h.  */
12413 _ACEOF
12414 cat confdefs.h >>conftest.$ac_ext
12415 cat >>conftest.$ac_ext <<_ACEOF
12416 /* end confdefs.h.  */
12417
12418 /* Override any gcc2 internal prototype to avoid an error.  */
12419 #ifdef __cplusplus
12420 extern "C"
12421 #endif
12422 /* We use char because int might match the return type of a gcc2
12423    builtin and then its argument prototype would still apply.  */
12424 char copysignf ();
12425 int
12426 main ()
12427 {
12428 copysignf ();
12429   ;
12430   return 0;
12431 }
12432 _ACEOF
12433 rm -f conftest.$ac_objext conftest$ac_exeext
12434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12435   (eval $ac_link) 2>conftest.er1
12436   ac_status=$?
12437   grep -v '^ *+' conftest.er1 >conftest.err
12438   rm -f conftest.er1
12439   cat conftest.err >&5
12440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441   (exit $ac_status); } &&
12442          { ac_try='test -z "$ac_c_werror_flag"
12443                          || test ! -s conftest.err'
12444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445   (eval $ac_try) 2>&5
12446   ac_status=$?
12447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448   (exit $ac_status); }; } &&
12449          { ac_try='test -s conftest$ac_exeext'
12450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451   (eval $ac_try) 2>&5
12452   ac_status=$?
12453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454   (exit $ac_status); }; }; then
12455   ac_cv_lib_m_copysignf=yes
12456 else
12457   echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.$ac_ext >&5
12459
12460 ac_cv_lib_m_copysignf=no
12461 fi
12462 rm -f conftest.err conftest.$ac_objext \
12463       conftest$ac_exeext conftest.$ac_ext
12464 LIBS=$ac_check_lib_save_LIBS
12465 fi
12466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12467 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12468 if test $ac_cv_lib_m_copysignf = yes; then
12469
12470 cat >>confdefs.h <<\_ACEOF
12471 #define HAVE_COPYSIGNF 1
12472 _ACEOF
12473
12474 fi
12475
12476 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12477 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12478 if test "${ac_cv_lib_m_copysign+set}" = set; then
12479   echo $ECHO_N "(cached) $ECHO_C" >&6
12480 else
12481   ac_check_lib_save_LIBS=$LIBS
12482 LIBS="-lm  $LIBS"
12483 if test x$gcc_no_link = xyes; then
12484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12486    { (exit 1); exit 1; }; }
12487 fi
12488 cat >conftest.$ac_ext <<_ACEOF
12489 /* confdefs.h.  */
12490 _ACEOF
12491 cat confdefs.h >>conftest.$ac_ext
12492 cat >>conftest.$ac_ext <<_ACEOF
12493 /* end confdefs.h.  */
12494
12495 /* Override any gcc2 internal prototype to avoid an error.  */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 /* We use char because int might match the return type of a gcc2
12500    builtin and then its argument prototype would still apply.  */
12501 char copysign ();
12502 int
12503 main ()
12504 {
12505 copysign ();
12506   ;
12507   return 0;
12508 }
12509 _ACEOF
12510 rm -f conftest.$ac_objext conftest$ac_exeext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512   (eval $ac_link) 2>conftest.er1
12513   ac_status=$?
12514   grep -v '^ *+' conftest.er1 >conftest.err
12515   rm -f conftest.er1
12516   cat conftest.err >&5
12517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518   (exit $ac_status); } &&
12519          { ac_try='test -z "$ac_c_werror_flag"
12520                          || test ! -s conftest.err'
12521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522   (eval $ac_try) 2>&5
12523   ac_status=$?
12524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525   (exit $ac_status); }; } &&
12526          { ac_try='test -s conftest$ac_exeext'
12527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528   (eval $ac_try) 2>&5
12529   ac_status=$?
12530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531   (exit $ac_status); }; }; then
12532   ac_cv_lib_m_copysign=yes
12533 else
12534   echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.$ac_ext >&5
12536
12537 ac_cv_lib_m_copysign=no
12538 fi
12539 rm -f conftest.err conftest.$ac_objext \
12540       conftest$ac_exeext conftest.$ac_ext
12541 LIBS=$ac_check_lib_save_LIBS
12542 fi
12543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12544 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12545 if test $ac_cv_lib_m_copysign = yes; then
12546
12547 cat >>confdefs.h <<\_ACEOF
12548 #define HAVE_COPYSIGN 1
12549 _ACEOF
12550
12551 fi
12552
12553 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12554 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12555 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12556   echo $ECHO_N "(cached) $ECHO_C" >&6
12557 else
12558   ac_check_lib_save_LIBS=$LIBS
12559 LIBS="-lm  $LIBS"
12560 if test x$gcc_no_link = xyes; then
12561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12563    { (exit 1); exit 1; }; }
12564 fi
12565 cat >conftest.$ac_ext <<_ACEOF
12566 /* confdefs.h.  */
12567 _ACEOF
12568 cat confdefs.h >>conftest.$ac_ext
12569 cat >>conftest.$ac_ext <<_ACEOF
12570 /* end confdefs.h.  */
12571
12572 /* Override any gcc2 internal prototype to avoid an error.  */
12573 #ifdef __cplusplus
12574 extern "C"
12575 #endif
12576 /* We use char because int might match the return type of a gcc2
12577    builtin and then its argument prototype would still apply.  */
12578 char copysignl ();
12579 int
12580 main ()
12581 {
12582 copysignl ();
12583   ;
12584   return 0;
12585 }
12586 _ACEOF
12587 rm -f conftest.$ac_objext conftest$ac_exeext
12588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12589   (eval $ac_link) 2>conftest.er1
12590   ac_status=$?
12591   grep -v '^ *+' conftest.er1 >conftest.err
12592   rm -f conftest.er1
12593   cat conftest.err >&5
12594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595   (exit $ac_status); } &&
12596          { ac_try='test -z "$ac_c_werror_flag"
12597                          || test ! -s conftest.err'
12598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599   (eval $ac_try) 2>&5
12600   ac_status=$?
12601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602   (exit $ac_status); }; } &&
12603          { ac_try='test -s conftest$ac_exeext'
12604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605   (eval $ac_try) 2>&5
12606   ac_status=$?
12607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608   (exit $ac_status); }; }; then
12609   ac_cv_lib_m_copysignl=yes
12610 else
12611   echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.$ac_ext >&5
12613
12614 ac_cv_lib_m_copysignl=no
12615 fi
12616 rm -f conftest.err conftest.$ac_objext \
12617       conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_lib_save_LIBS
12619 fi
12620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12621 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12622 if test $ac_cv_lib_m_copysignl = yes; then
12623
12624 cat >>confdefs.h <<\_ACEOF
12625 #define HAVE_COPYSIGNL 1
12626 _ACEOF
12627
12628 fi
12629
12630 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12631 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12632 if test "${ac_cv_lib_m_cosf+set}" = set; then
12633   echo $ECHO_N "(cached) $ECHO_C" >&6
12634 else
12635   ac_check_lib_save_LIBS=$LIBS
12636 LIBS="-lm  $LIBS"
12637 if test x$gcc_no_link = xyes; then
12638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12640    { (exit 1); exit 1; }; }
12641 fi
12642 cat >conftest.$ac_ext <<_ACEOF
12643 /* confdefs.h.  */
12644 _ACEOF
12645 cat confdefs.h >>conftest.$ac_ext
12646 cat >>conftest.$ac_ext <<_ACEOF
12647 /* end confdefs.h.  */
12648
12649 /* Override any gcc2 internal prototype to avoid an error.  */
12650 #ifdef __cplusplus
12651 extern "C"
12652 #endif
12653 /* We use char because int might match the return type of a gcc2
12654    builtin and then its argument prototype would still apply.  */
12655 char cosf ();
12656 int
12657 main ()
12658 {
12659 cosf ();
12660   ;
12661   return 0;
12662 }
12663 _ACEOF
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666   (eval $ac_link) 2>conftest.er1
12667   ac_status=$?
12668   grep -v '^ *+' conftest.er1 >conftest.err
12669   rm -f conftest.er1
12670   cat conftest.err >&5
12671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672   (exit $ac_status); } &&
12673          { ac_try='test -z "$ac_c_werror_flag"
12674                          || test ! -s conftest.err'
12675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12676   (eval $ac_try) 2>&5
12677   ac_status=$?
12678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679   (exit $ac_status); }; } &&
12680          { ac_try='test -s conftest$ac_exeext'
12681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682   (eval $ac_try) 2>&5
12683   ac_status=$?
12684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685   (exit $ac_status); }; }; then
12686   ac_cv_lib_m_cosf=yes
12687 else
12688   echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12690
12691 ac_cv_lib_m_cosf=no
12692 fi
12693 rm -f conftest.err conftest.$ac_objext \
12694       conftest$ac_exeext conftest.$ac_ext
12695 LIBS=$ac_check_lib_save_LIBS
12696 fi
12697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
12698 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
12699 if test $ac_cv_lib_m_cosf = yes; then
12700
12701 cat >>confdefs.h <<\_ACEOF
12702 #define HAVE_COSF 1
12703 _ACEOF
12704
12705 fi
12706
12707 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12708 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12709 if test "${ac_cv_lib_m_cos+set}" = set; then
12710   echo $ECHO_N "(cached) $ECHO_C" >&6
12711 else
12712   ac_check_lib_save_LIBS=$LIBS
12713 LIBS="-lm  $LIBS"
12714 if test x$gcc_no_link = xyes; then
12715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12717    { (exit 1); exit 1; }; }
12718 fi
12719 cat >conftest.$ac_ext <<_ACEOF
12720 /* confdefs.h.  */
12721 _ACEOF
12722 cat confdefs.h >>conftest.$ac_ext
12723 cat >>conftest.$ac_ext <<_ACEOF
12724 /* end confdefs.h.  */
12725
12726 /* Override any gcc2 internal prototype to avoid an error.  */
12727 #ifdef __cplusplus
12728 extern "C"
12729 #endif
12730 /* We use char because int might match the return type of a gcc2
12731    builtin and then its argument prototype would still apply.  */
12732 char cos ();
12733 int
12734 main ()
12735 {
12736 cos ();
12737   ;
12738   return 0;
12739 }
12740 _ACEOF
12741 rm -f conftest.$ac_objext conftest$ac_exeext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12743   (eval $ac_link) 2>conftest.er1
12744   ac_status=$?
12745   grep -v '^ *+' conftest.er1 >conftest.err
12746   rm -f conftest.er1
12747   cat conftest.err >&5
12748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749   (exit $ac_status); } &&
12750          { ac_try='test -z "$ac_c_werror_flag"
12751                          || test ! -s conftest.err'
12752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753   (eval $ac_try) 2>&5
12754   ac_status=$?
12755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756   (exit $ac_status); }; } &&
12757          { ac_try='test -s conftest$ac_exeext'
12758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759   (eval $ac_try) 2>&5
12760   ac_status=$?
12761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762   (exit $ac_status); }; }; then
12763   ac_cv_lib_m_cos=yes
12764 else
12765   echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12767
12768 ac_cv_lib_m_cos=no
12769 fi
12770 rm -f conftest.err conftest.$ac_objext \
12771       conftest$ac_exeext conftest.$ac_ext
12772 LIBS=$ac_check_lib_save_LIBS
12773 fi
12774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12775 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12776 if test $ac_cv_lib_m_cos = yes; then
12777
12778 cat >>confdefs.h <<\_ACEOF
12779 #define HAVE_COS 1
12780 _ACEOF
12781
12782 fi
12783
12784 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
12785 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
12786 if test "${ac_cv_lib_m_cosl+set}" = set; then
12787   echo $ECHO_N "(cached) $ECHO_C" >&6
12788 else
12789   ac_check_lib_save_LIBS=$LIBS
12790 LIBS="-lm  $LIBS"
12791 if test x$gcc_no_link = xyes; then
12792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12794    { (exit 1); exit 1; }; }
12795 fi
12796 cat >conftest.$ac_ext <<_ACEOF
12797 /* confdefs.h.  */
12798 _ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h.  */
12802
12803 /* Override any gcc2 internal prototype to avoid an error.  */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 /* We use char because int might match the return type of a gcc2
12808    builtin and then its argument prototype would still apply.  */
12809 char cosl ();
12810 int
12811 main ()
12812 {
12813 cosl ();
12814   ;
12815   return 0;
12816 }
12817 _ACEOF
12818 rm -f conftest.$ac_objext conftest$ac_exeext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12820   (eval $ac_link) 2>conftest.er1
12821   ac_status=$?
12822   grep -v '^ *+' conftest.er1 >conftest.err
12823   rm -f conftest.er1
12824   cat conftest.err >&5
12825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826   (exit $ac_status); } &&
12827          { ac_try='test -z "$ac_c_werror_flag"
12828                          || test ! -s conftest.err'
12829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830   (eval $ac_try) 2>&5
12831   ac_status=$?
12832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833   (exit $ac_status); }; } &&
12834          { ac_try='test -s conftest$ac_exeext'
12835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836   (eval $ac_try) 2>&5
12837   ac_status=$?
12838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839   (exit $ac_status); }; }; then
12840   ac_cv_lib_m_cosl=yes
12841 else
12842   echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12844
12845 ac_cv_lib_m_cosl=no
12846 fi
12847 rm -f conftest.err conftest.$ac_objext \
12848       conftest$ac_exeext conftest.$ac_ext
12849 LIBS=$ac_check_lib_save_LIBS
12850 fi
12851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
12852 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
12853 if test $ac_cv_lib_m_cosl = yes; then
12854
12855 cat >>confdefs.h <<\_ACEOF
12856 #define HAVE_COSL 1
12857 _ACEOF
12858
12859 fi
12860
12861 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
12862 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
12863 if test "${ac_cv_lib_m_ccosf+set}" = set; then
12864   echo $ECHO_N "(cached) $ECHO_C" >&6
12865 else
12866   ac_check_lib_save_LIBS=$LIBS
12867 LIBS="-lm  $LIBS"
12868 if test x$gcc_no_link = xyes; then
12869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12871    { (exit 1); exit 1; }; }
12872 fi
12873 cat >conftest.$ac_ext <<_ACEOF
12874 /* confdefs.h.  */
12875 _ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h.  */
12879
12880 /* Override any gcc2 internal prototype to avoid an error.  */
12881 #ifdef __cplusplus
12882 extern "C"
12883 #endif
12884 /* We use char because int might match the return type of a gcc2
12885    builtin and then its argument prototype would still apply.  */
12886 char ccosf ();
12887 int
12888 main ()
12889 {
12890 ccosf ();
12891   ;
12892   return 0;
12893 }
12894 _ACEOF
12895 rm -f conftest.$ac_objext conftest$ac_exeext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12897   (eval $ac_link) 2>conftest.er1
12898   ac_status=$?
12899   grep -v '^ *+' conftest.er1 >conftest.err
12900   rm -f conftest.er1
12901   cat conftest.err >&5
12902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903   (exit $ac_status); } &&
12904          { ac_try='test -z "$ac_c_werror_flag"
12905                          || test ! -s conftest.err'
12906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907   (eval $ac_try) 2>&5
12908   ac_status=$?
12909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910   (exit $ac_status); }; } &&
12911          { ac_try='test -s conftest$ac_exeext'
12912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913   (eval $ac_try) 2>&5
12914   ac_status=$?
12915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916   (exit $ac_status); }; }; then
12917   ac_cv_lib_m_ccosf=yes
12918 else
12919   echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.$ac_ext >&5
12921
12922 ac_cv_lib_m_ccosf=no
12923 fi
12924 rm -f conftest.err conftest.$ac_objext \
12925       conftest$ac_exeext conftest.$ac_ext
12926 LIBS=$ac_check_lib_save_LIBS
12927 fi
12928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
12929 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
12930 if test $ac_cv_lib_m_ccosf = yes; then
12931
12932 cat >>confdefs.h <<\_ACEOF
12933 #define HAVE_CCOSF 1
12934 _ACEOF
12935
12936 fi
12937
12938 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
12939 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
12940 if test "${ac_cv_lib_m_ccos+set}" = set; then
12941   echo $ECHO_N "(cached) $ECHO_C" >&6
12942 else
12943   ac_check_lib_save_LIBS=$LIBS
12944 LIBS="-lm  $LIBS"
12945 if test x$gcc_no_link = xyes; then
12946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12948    { (exit 1); exit 1; }; }
12949 fi
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h.  */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h.  */
12956
12957 /* Override any gcc2 internal prototype to avoid an error.  */
12958 #ifdef __cplusplus
12959 extern "C"
12960 #endif
12961 /* We use char because int might match the return type of a gcc2
12962    builtin and then its argument prototype would still apply.  */
12963 char ccos ();
12964 int
12965 main ()
12966 {
12967 ccos ();
12968   ;
12969   return 0;
12970 }
12971 _ACEOF
12972 rm -f conftest.$ac_objext conftest$ac_exeext
12973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12974   (eval $ac_link) 2>conftest.er1
12975   ac_status=$?
12976   grep -v '^ *+' conftest.er1 >conftest.err
12977   rm -f conftest.er1
12978   cat conftest.err >&5
12979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980   (exit $ac_status); } &&
12981          { ac_try='test -z "$ac_c_werror_flag"
12982                          || test ! -s conftest.err'
12983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12984   (eval $ac_try) 2>&5
12985   ac_status=$?
12986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987   (exit $ac_status); }; } &&
12988          { ac_try='test -s conftest$ac_exeext'
12989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990   (eval $ac_try) 2>&5
12991   ac_status=$?
12992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993   (exit $ac_status); }; }; then
12994   ac_cv_lib_m_ccos=yes
12995 else
12996   echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12998
12999 ac_cv_lib_m_ccos=no
13000 fi
13001 rm -f conftest.err conftest.$ac_objext \
13002       conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_lib_save_LIBS
13004 fi
13005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13006 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13007 if test $ac_cv_lib_m_ccos = yes; then
13008
13009 cat >>confdefs.h <<\_ACEOF
13010 #define HAVE_CCOS 1
13011 _ACEOF
13012
13013 fi
13014
13015 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13016 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13017 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13018   echo $ECHO_N "(cached) $ECHO_C" >&6
13019 else
13020   ac_check_lib_save_LIBS=$LIBS
13021 LIBS="-lm  $LIBS"
13022 if test x$gcc_no_link = xyes; then
13023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13025    { (exit 1); exit 1; }; }
13026 fi
13027 cat >conftest.$ac_ext <<_ACEOF
13028 /* confdefs.h.  */
13029 _ACEOF
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h.  */
13033
13034 /* Override any gcc2 internal prototype to avoid an error.  */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 /* We use char because int might match the return type of a gcc2
13039    builtin and then its argument prototype would still apply.  */
13040 char ccosl ();
13041 int
13042 main ()
13043 {
13044 ccosl ();
13045   ;
13046   return 0;
13047 }
13048 _ACEOF
13049 rm -f conftest.$ac_objext conftest$ac_exeext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13051   (eval $ac_link) 2>conftest.er1
13052   ac_status=$?
13053   grep -v '^ *+' conftest.er1 >conftest.err
13054   rm -f conftest.er1
13055   cat conftest.err >&5
13056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057   (exit $ac_status); } &&
13058          { ac_try='test -z "$ac_c_werror_flag"
13059                          || test ! -s conftest.err'
13060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061   (eval $ac_try) 2>&5
13062   ac_status=$?
13063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064   (exit $ac_status); }; } &&
13065          { ac_try='test -s conftest$ac_exeext'
13066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067   (eval $ac_try) 2>&5
13068   ac_status=$?
13069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070   (exit $ac_status); }; }; then
13071   ac_cv_lib_m_ccosl=yes
13072 else
13073   echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.$ac_ext >&5
13075
13076 ac_cv_lib_m_ccosl=no
13077 fi
13078 rm -f conftest.err conftest.$ac_objext \
13079       conftest$ac_exeext conftest.$ac_ext
13080 LIBS=$ac_check_lib_save_LIBS
13081 fi
13082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13083 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13084 if test $ac_cv_lib_m_ccosl = yes; then
13085
13086 cat >>confdefs.h <<\_ACEOF
13087 #define HAVE_CCOSL 1
13088 _ACEOF
13089
13090 fi
13091
13092 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13093 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13094 if test "${ac_cv_lib_m_coshf+set}" = set; then
13095   echo $ECHO_N "(cached) $ECHO_C" >&6
13096 else
13097   ac_check_lib_save_LIBS=$LIBS
13098 LIBS="-lm  $LIBS"
13099 if test x$gcc_no_link = xyes; then
13100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13102    { (exit 1); exit 1; }; }
13103 fi
13104 cat >conftest.$ac_ext <<_ACEOF
13105 /* confdefs.h.  */
13106 _ACEOF
13107 cat confdefs.h >>conftest.$ac_ext
13108 cat >>conftest.$ac_ext <<_ACEOF
13109 /* end confdefs.h.  */
13110
13111 /* Override any gcc2 internal prototype to avoid an error.  */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 /* We use char because int might match the return type of a gcc2
13116    builtin and then its argument prototype would still apply.  */
13117 char coshf ();
13118 int
13119 main ()
13120 {
13121 coshf ();
13122   ;
13123   return 0;
13124 }
13125 _ACEOF
13126 rm -f conftest.$ac_objext conftest$ac_exeext
13127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13128   (eval $ac_link) 2>conftest.er1
13129   ac_status=$?
13130   grep -v '^ *+' conftest.er1 >conftest.err
13131   rm -f conftest.er1
13132   cat conftest.err >&5
13133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134   (exit $ac_status); } &&
13135          { ac_try='test -z "$ac_c_werror_flag"
13136                          || test ! -s conftest.err'
13137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138   (eval $ac_try) 2>&5
13139   ac_status=$?
13140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141   (exit $ac_status); }; } &&
13142          { ac_try='test -s conftest$ac_exeext'
13143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144   (eval $ac_try) 2>&5
13145   ac_status=$?
13146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147   (exit $ac_status); }; }; then
13148   ac_cv_lib_m_coshf=yes
13149 else
13150   echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.$ac_ext >&5
13152
13153 ac_cv_lib_m_coshf=no
13154 fi
13155 rm -f conftest.err conftest.$ac_objext \
13156       conftest$ac_exeext conftest.$ac_ext
13157 LIBS=$ac_check_lib_save_LIBS
13158 fi
13159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13160 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13161 if test $ac_cv_lib_m_coshf = yes; then
13162
13163 cat >>confdefs.h <<\_ACEOF
13164 #define HAVE_COSHF 1
13165 _ACEOF
13166
13167 fi
13168
13169 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13170 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13171 if test "${ac_cv_lib_m_cosh+set}" = set; then
13172   echo $ECHO_N "(cached) $ECHO_C" >&6
13173 else
13174   ac_check_lib_save_LIBS=$LIBS
13175 LIBS="-lm  $LIBS"
13176 if test x$gcc_no_link = xyes; then
13177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13179    { (exit 1); exit 1; }; }
13180 fi
13181 cat >conftest.$ac_ext <<_ACEOF
13182 /* confdefs.h.  */
13183 _ACEOF
13184 cat confdefs.h >>conftest.$ac_ext
13185 cat >>conftest.$ac_ext <<_ACEOF
13186 /* end confdefs.h.  */
13187
13188 /* Override any gcc2 internal prototype to avoid an error.  */
13189 #ifdef __cplusplus
13190 extern "C"
13191 #endif
13192 /* We use char because int might match the return type of a gcc2
13193    builtin and then its argument prototype would still apply.  */
13194 char cosh ();
13195 int
13196 main ()
13197 {
13198 cosh ();
13199   ;
13200   return 0;
13201 }
13202 _ACEOF
13203 rm -f conftest.$ac_objext conftest$ac_exeext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13205   (eval $ac_link) 2>conftest.er1
13206   ac_status=$?
13207   grep -v '^ *+' conftest.er1 >conftest.err
13208   rm -f conftest.er1
13209   cat conftest.err >&5
13210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211   (exit $ac_status); } &&
13212          { ac_try='test -z "$ac_c_werror_flag"
13213                          || test ! -s conftest.err'
13214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215   (eval $ac_try) 2>&5
13216   ac_status=$?
13217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218   (exit $ac_status); }; } &&
13219          { ac_try='test -s conftest$ac_exeext'
13220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221   (eval $ac_try) 2>&5
13222   ac_status=$?
13223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224   (exit $ac_status); }; }; then
13225   ac_cv_lib_m_cosh=yes
13226 else
13227   echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.$ac_ext >&5
13229
13230 ac_cv_lib_m_cosh=no
13231 fi
13232 rm -f conftest.err conftest.$ac_objext \
13233       conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_lib_save_LIBS
13235 fi
13236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13237 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13238 if test $ac_cv_lib_m_cosh = yes; then
13239
13240 cat >>confdefs.h <<\_ACEOF
13241 #define HAVE_COSH 1
13242 _ACEOF
13243
13244 fi
13245
13246 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13247 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13248 if test "${ac_cv_lib_m_coshl+set}" = set; then
13249   echo $ECHO_N "(cached) $ECHO_C" >&6
13250 else
13251   ac_check_lib_save_LIBS=$LIBS
13252 LIBS="-lm  $LIBS"
13253 if test x$gcc_no_link = xyes; then
13254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13256    { (exit 1); exit 1; }; }
13257 fi
13258 cat >conftest.$ac_ext <<_ACEOF
13259 /* confdefs.h.  */
13260 _ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h.  */
13264
13265 /* Override any gcc2 internal prototype to avoid an error.  */
13266 #ifdef __cplusplus
13267 extern "C"
13268 #endif
13269 /* We use char because int might match the return type of a gcc2
13270    builtin and then its argument prototype would still apply.  */
13271 char coshl ();
13272 int
13273 main ()
13274 {
13275 coshl ();
13276   ;
13277   return 0;
13278 }
13279 _ACEOF
13280 rm -f conftest.$ac_objext conftest$ac_exeext
13281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13282   (eval $ac_link) 2>conftest.er1
13283   ac_status=$?
13284   grep -v '^ *+' conftest.er1 >conftest.err
13285   rm -f conftest.er1
13286   cat conftest.err >&5
13287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288   (exit $ac_status); } &&
13289          { ac_try='test -z "$ac_c_werror_flag"
13290                          || test ! -s conftest.err'
13291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292   (eval $ac_try) 2>&5
13293   ac_status=$?
13294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295   (exit $ac_status); }; } &&
13296          { ac_try='test -s conftest$ac_exeext'
13297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298   (eval $ac_try) 2>&5
13299   ac_status=$?
13300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301   (exit $ac_status); }; }; then
13302   ac_cv_lib_m_coshl=yes
13303 else
13304   echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.$ac_ext >&5
13306
13307 ac_cv_lib_m_coshl=no
13308 fi
13309 rm -f conftest.err conftest.$ac_objext \
13310       conftest$ac_exeext conftest.$ac_ext
13311 LIBS=$ac_check_lib_save_LIBS
13312 fi
13313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13314 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13315 if test $ac_cv_lib_m_coshl = yes; then
13316
13317 cat >>confdefs.h <<\_ACEOF
13318 #define HAVE_COSHL 1
13319 _ACEOF
13320
13321 fi
13322
13323 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13324 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13325 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13326   echo $ECHO_N "(cached) $ECHO_C" >&6
13327 else
13328   ac_check_lib_save_LIBS=$LIBS
13329 LIBS="-lm  $LIBS"
13330 if test x$gcc_no_link = xyes; then
13331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13333    { (exit 1); exit 1; }; }
13334 fi
13335 cat >conftest.$ac_ext <<_ACEOF
13336 /* confdefs.h.  */
13337 _ACEOF
13338 cat confdefs.h >>conftest.$ac_ext
13339 cat >>conftest.$ac_ext <<_ACEOF
13340 /* end confdefs.h.  */
13341
13342 /* Override any gcc2 internal prototype to avoid an error.  */
13343 #ifdef __cplusplus
13344 extern "C"
13345 #endif
13346 /* We use char because int might match the return type of a gcc2
13347    builtin and then its argument prototype would still apply.  */
13348 char ccoshf ();
13349 int
13350 main ()
13351 {
13352 ccoshf ();
13353   ;
13354   return 0;
13355 }
13356 _ACEOF
13357 rm -f conftest.$ac_objext conftest$ac_exeext
13358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13359   (eval $ac_link) 2>conftest.er1
13360   ac_status=$?
13361   grep -v '^ *+' conftest.er1 >conftest.err
13362   rm -f conftest.er1
13363   cat conftest.err >&5
13364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365   (exit $ac_status); } &&
13366          { ac_try='test -z "$ac_c_werror_flag"
13367                          || test ! -s conftest.err'
13368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369   (eval $ac_try) 2>&5
13370   ac_status=$?
13371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372   (exit $ac_status); }; } &&
13373          { ac_try='test -s conftest$ac_exeext'
13374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375   (eval $ac_try) 2>&5
13376   ac_status=$?
13377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378   (exit $ac_status); }; }; then
13379   ac_cv_lib_m_ccoshf=yes
13380 else
13381   echo "$as_me: failed program was:" >&5
13382 sed 's/^/| /' conftest.$ac_ext >&5
13383
13384 ac_cv_lib_m_ccoshf=no
13385 fi
13386 rm -f conftest.err conftest.$ac_objext \
13387       conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_lib_save_LIBS
13389 fi
13390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13391 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13392 if test $ac_cv_lib_m_ccoshf = yes; then
13393
13394 cat >>confdefs.h <<\_ACEOF
13395 #define HAVE_CCOSHF 1
13396 _ACEOF
13397
13398 fi
13399
13400 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13401 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13402 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13403   echo $ECHO_N "(cached) $ECHO_C" >&6
13404 else
13405   ac_check_lib_save_LIBS=$LIBS
13406 LIBS="-lm  $LIBS"
13407 if test x$gcc_no_link = xyes; then
13408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13410    { (exit 1); exit 1; }; }
13411 fi
13412 cat >conftest.$ac_ext <<_ACEOF
13413 /* confdefs.h.  */
13414 _ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h.  */
13418
13419 /* Override any gcc2 internal prototype to avoid an error.  */
13420 #ifdef __cplusplus
13421 extern "C"
13422 #endif
13423 /* We use char because int might match the return type of a gcc2
13424    builtin and then its argument prototype would still apply.  */
13425 char ccosh ();
13426 int
13427 main ()
13428 {
13429 ccosh ();
13430   ;
13431   return 0;
13432 }
13433 _ACEOF
13434 rm -f conftest.$ac_objext conftest$ac_exeext
13435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13436   (eval $ac_link) 2>conftest.er1
13437   ac_status=$?
13438   grep -v '^ *+' conftest.er1 >conftest.err
13439   rm -f conftest.er1
13440   cat conftest.err >&5
13441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442   (exit $ac_status); } &&
13443          { ac_try='test -z "$ac_c_werror_flag"
13444                          || test ! -s conftest.err'
13445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446   (eval $ac_try) 2>&5
13447   ac_status=$?
13448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449   (exit $ac_status); }; } &&
13450          { ac_try='test -s conftest$ac_exeext'
13451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452   (eval $ac_try) 2>&5
13453   ac_status=$?
13454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455   (exit $ac_status); }; }; then
13456   ac_cv_lib_m_ccosh=yes
13457 else
13458   echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13460
13461 ac_cv_lib_m_ccosh=no
13462 fi
13463 rm -f conftest.err conftest.$ac_objext \
13464       conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_lib_save_LIBS
13466 fi
13467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13468 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13469 if test $ac_cv_lib_m_ccosh = yes; then
13470
13471 cat >>confdefs.h <<\_ACEOF
13472 #define HAVE_CCOSH 1
13473 _ACEOF
13474
13475 fi
13476
13477 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13478 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13479 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13480   echo $ECHO_N "(cached) $ECHO_C" >&6
13481 else
13482   ac_check_lib_save_LIBS=$LIBS
13483 LIBS="-lm  $LIBS"
13484 if test x$gcc_no_link = xyes; then
13485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13487    { (exit 1); exit 1; }; }
13488 fi
13489 cat >conftest.$ac_ext <<_ACEOF
13490 /* confdefs.h.  */
13491 _ACEOF
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h.  */
13495
13496 /* Override any gcc2 internal prototype to avoid an error.  */
13497 #ifdef __cplusplus
13498 extern "C"
13499 #endif
13500 /* We use char because int might match the return type of a gcc2
13501    builtin and then its argument prototype would still apply.  */
13502 char ccoshl ();
13503 int
13504 main ()
13505 {
13506 ccoshl ();
13507   ;
13508   return 0;
13509 }
13510 _ACEOF
13511 rm -f conftest.$ac_objext conftest$ac_exeext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13513   (eval $ac_link) 2>conftest.er1
13514   ac_status=$?
13515   grep -v '^ *+' conftest.er1 >conftest.err
13516   rm -f conftest.er1
13517   cat conftest.err >&5
13518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519   (exit $ac_status); } &&
13520          { ac_try='test -z "$ac_c_werror_flag"
13521                          || test ! -s conftest.err'
13522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523   (eval $ac_try) 2>&5
13524   ac_status=$?
13525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526   (exit $ac_status); }; } &&
13527          { ac_try='test -s conftest$ac_exeext'
13528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529   (eval $ac_try) 2>&5
13530   ac_status=$?
13531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532   (exit $ac_status); }; }; then
13533   ac_cv_lib_m_ccoshl=yes
13534 else
13535   echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13537
13538 ac_cv_lib_m_ccoshl=no
13539 fi
13540 rm -f conftest.err conftest.$ac_objext \
13541       conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_lib_save_LIBS
13543 fi
13544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13545 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13546 if test $ac_cv_lib_m_ccoshl = yes; then
13547
13548 cat >>confdefs.h <<\_ACEOF
13549 #define HAVE_CCOSHL 1
13550 _ACEOF
13551
13552 fi
13553
13554 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13555 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13556 if test "${ac_cv_lib_m_expf+set}" = set; then
13557   echo $ECHO_N "(cached) $ECHO_C" >&6
13558 else
13559   ac_check_lib_save_LIBS=$LIBS
13560 LIBS="-lm  $LIBS"
13561 if test x$gcc_no_link = xyes; then
13562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13564    { (exit 1); exit 1; }; }
13565 fi
13566 cat >conftest.$ac_ext <<_ACEOF
13567 /* confdefs.h.  */
13568 _ACEOF
13569 cat confdefs.h >>conftest.$ac_ext
13570 cat >>conftest.$ac_ext <<_ACEOF
13571 /* end confdefs.h.  */
13572
13573 /* Override any gcc2 internal prototype to avoid an error.  */
13574 #ifdef __cplusplus
13575 extern "C"
13576 #endif
13577 /* We use char because int might match the return type of a gcc2
13578    builtin and then its argument prototype would still apply.  */
13579 char expf ();
13580 int
13581 main ()
13582 {
13583 expf ();
13584   ;
13585   return 0;
13586 }
13587 _ACEOF
13588 rm -f conftest.$ac_objext conftest$ac_exeext
13589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13590   (eval $ac_link) 2>conftest.er1
13591   ac_status=$?
13592   grep -v '^ *+' conftest.er1 >conftest.err
13593   rm -f conftest.er1
13594   cat conftest.err >&5
13595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596   (exit $ac_status); } &&
13597          { ac_try='test -z "$ac_c_werror_flag"
13598                          || test ! -s conftest.err'
13599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600   (eval $ac_try) 2>&5
13601   ac_status=$?
13602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603   (exit $ac_status); }; } &&
13604          { ac_try='test -s conftest$ac_exeext'
13605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606   (eval $ac_try) 2>&5
13607   ac_status=$?
13608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609   (exit $ac_status); }; }; then
13610   ac_cv_lib_m_expf=yes
13611 else
13612   echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5
13614
13615 ac_cv_lib_m_expf=no
13616 fi
13617 rm -f conftest.err conftest.$ac_objext \
13618       conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_lib_save_LIBS
13620 fi
13621 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13622 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13623 if test $ac_cv_lib_m_expf = yes; then
13624
13625 cat >>confdefs.h <<\_ACEOF
13626 #define HAVE_EXPF 1
13627 _ACEOF
13628
13629 fi
13630
13631 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13632 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13633 if test "${ac_cv_lib_m_exp+set}" = set; then
13634   echo $ECHO_N "(cached) $ECHO_C" >&6
13635 else
13636   ac_check_lib_save_LIBS=$LIBS
13637 LIBS="-lm  $LIBS"
13638 if test x$gcc_no_link = xyes; then
13639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13641    { (exit 1); exit 1; }; }
13642 fi
13643 cat >conftest.$ac_ext <<_ACEOF
13644 /* confdefs.h.  */
13645 _ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h.  */
13649
13650 /* Override any gcc2 internal prototype to avoid an error.  */
13651 #ifdef __cplusplus
13652 extern "C"
13653 #endif
13654 /* We use char because int might match the return type of a gcc2
13655    builtin and then its argument prototype would still apply.  */
13656 char exp ();
13657 int
13658 main ()
13659 {
13660 exp ();
13661   ;
13662   return 0;
13663 }
13664 _ACEOF
13665 rm -f conftest.$ac_objext conftest$ac_exeext
13666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13667   (eval $ac_link) 2>conftest.er1
13668   ac_status=$?
13669   grep -v '^ *+' conftest.er1 >conftest.err
13670   rm -f conftest.er1
13671   cat conftest.err >&5
13672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673   (exit $ac_status); } &&
13674          { ac_try='test -z "$ac_c_werror_flag"
13675                          || test ! -s conftest.err'
13676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677   (eval $ac_try) 2>&5
13678   ac_status=$?
13679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680   (exit $ac_status); }; } &&
13681          { ac_try='test -s conftest$ac_exeext'
13682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683   (eval $ac_try) 2>&5
13684   ac_status=$?
13685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686   (exit $ac_status); }; }; then
13687   ac_cv_lib_m_exp=yes
13688 else
13689   echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.$ac_ext >&5
13691
13692 ac_cv_lib_m_exp=no
13693 fi
13694 rm -f conftest.err conftest.$ac_objext \
13695       conftest$ac_exeext conftest.$ac_ext
13696 LIBS=$ac_check_lib_save_LIBS
13697 fi
13698 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
13699 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
13700 if test $ac_cv_lib_m_exp = yes; then
13701
13702 cat >>confdefs.h <<\_ACEOF
13703 #define HAVE_EXP 1
13704 _ACEOF
13705
13706 fi
13707
13708 echo "$as_me:$LINENO: checking for expl in -lm" >&5
13709 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
13710 if test "${ac_cv_lib_m_expl+set}" = set; then
13711   echo $ECHO_N "(cached) $ECHO_C" >&6
13712 else
13713   ac_check_lib_save_LIBS=$LIBS
13714 LIBS="-lm  $LIBS"
13715 if test x$gcc_no_link = xyes; then
13716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13718    { (exit 1); exit 1; }; }
13719 fi
13720 cat >conftest.$ac_ext <<_ACEOF
13721 /* confdefs.h.  */
13722 _ACEOF
13723 cat confdefs.h >>conftest.$ac_ext
13724 cat >>conftest.$ac_ext <<_ACEOF
13725 /* end confdefs.h.  */
13726
13727 /* Override any gcc2 internal prototype to avoid an error.  */
13728 #ifdef __cplusplus
13729 extern "C"
13730 #endif
13731 /* We use char because int might match the return type of a gcc2
13732    builtin and then its argument prototype would still apply.  */
13733 char expl ();
13734 int
13735 main ()
13736 {
13737 expl ();
13738   ;
13739   return 0;
13740 }
13741 _ACEOF
13742 rm -f conftest.$ac_objext conftest$ac_exeext
13743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13744   (eval $ac_link) 2>conftest.er1
13745   ac_status=$?
13746   grep -v '^ *+' conftest.er1 >conftest.err
13747   rm -f conftest.er1
13748   cat conftest.err >&5
13749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750   (exit $ac_status); } &&
13751          { ac_try='test -z "$ac_c_werror_flag"
13752                          || test ! -s conftest.err'
13753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754   (eval $ac_try) 2>&5
13755   ac_status=$?
13756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757   (exit $ac_status); }; } &&
13758          { ac_try='test -s conftest$ac_exeext'
13759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13760   (eval $ac_try) 2>&5
13761   ac_status=$?
13762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763   (exit $ac_status); }; }; then
13764   ac_cv_lib_m_expl=yes
13765 else
13766   echo "$as_me: failed program was:" >&5
13767 sed 's/^/| /' conftest.$ac_ext >&5
13768
13769 ac_cv_lib_m_expl=no
13770 fi
13771 rm -f conftest.err conftest.$ac_objext \
13772       conftest$ac_exeext conftest.$ac_ext
13773 LIBS=$ac_check_lib_save_LIBS
13774 fi
13775 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
13776 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
13777 if test $ac_cv_lib_m_expl = yes; then
13778
13779 cat >>confdefs.h <<\_ACEOF
13780 #define HAVE_EXPL 1
13781 _ACEOF
13782
13783 fi
13784
13785 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
13786 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
13787 if test "${ac_cv_lib_m_cexpf+set}" = set; then
13788   echo $ECHO_N "(cached) $ECHO_C" >&6
13789 else
13790   ac_check_lib_save_LIBS=$LIBS
13791 LIBS="-lm  $LIBS"
13792 if test x$gcc_no_link = xyes; then
13793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13795    { (exit 1); exit 1; }; }
13796 fi
13797 cat >conftest.$ac_ext <<_ACEOF
13798 /* confdefs.h.  */
13799 _ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h.  */
13803
13804 /* Override any gcc2 internal prototype to avoid an error.  */
13805 #ifdef __cplusplus
13806 extern "C"
13807 #endif
13808 /* We use char because int might match the return type of a gcc2
13809    builtin and then its argument prototype would still apply.  */
13810 char cexpf ();
13811 int
13812 main ()
13813 {
13814 cexpf ();
13815   ;
13816   return 0;
13817 }
13818 _ACEOF
13819 rm -f conftest.$ac_objext conftest$ac_exeext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13821   (eval $ac_link) 2>conftest.er1
13822   ac_status=$?
13823   grep -v '^ *+' conftest.er1 >conftest.err
13824   rm -f conftest.er1
13825   cat conftest.err >&5
13826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827   (exit $ac_status); } &&
13828          { ac_try='test -z "$ac_c_werror_flag"
13829                          || test ! -s conftest.err'
13830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831   (eval $ac_try) 2>&5
13832   ac_status=$?
13833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834   (exit $ac_status); }; } &&
13835          { ac_try='test -s conftest$ac_exeext'
13836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837   (eval $ac_try) 2>&5
13838   ac_status=$?
13839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840   (exit $ac_status); }; }; then
13841   ac_cv_lib_m_cexpf=yes
13842 else
13843   echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13845
13846 ac_cv_lib_m_cexpf=no
13847 fi
13848 rm -f conftest.err conftest.$ac_objext \
13849       conftest$ac_exeext conftest.$ac_ext
13850 LIBS=$ac_check_lib_save_LIBS
13851 fi
13852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
13853 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
13854 if test $ac_cv_lib_m_cexpf = yes; then
13855
13856 cat >>confdefs.h <<\_ACEOF
13857 #define HAVE_CEXPF 1
13858 _ACEOF
13859
13860 fi
13861
13862 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
13863 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
13864 if test "${ac_cv_lib_m_cexp+set}" = set; then
13865   echo $ECHO_N "(cached) $ECHO_C" >&6
13866 else
13867   ac_check_lib_save_LIBS=$LIBS
13868 LIBS="-lm  $LIBS"
13869 if test x$gcc_no_link = xyes; then
13870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13872    { (exit 1); exit 1; }; }
13873 fi
13874 cat >conftest.$ac_ext <<_ACEOF
13875 /* confdefs.h.  */
13876 _ACEOF
13877 cat confdefs.h >>conftest.$ac_ext
13878 cat >>conftest.$ac_ext <<_ACEOF
13879 /* end confdefs.h.  */
13880
13881 /* Override any gcc2 internal prototype to avoid an error.  */
13882 #ifdef __cplusplus
13883 extern "C"
13884 #endif
13885 /* We use char because int might match the return type of a gcc2
13886    builtin and then its argument prototype would still apply.  */
13887 char cexp ();
13888 int
13889 main ()
13890 {
13891 cexp ();
13892   ;
13893   return 0;
13894 }
13895 _ACEOF
13896 rm -f conftest.$ac_objext conftest$ac_exeext
13897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13898   (eval $ac_link) 2>conftest.er1
13899   ac_status=$?
13900   grep -v '^ *+' conftest.er1 >conftest.err
13901   rm -f conftest.er1
13902   cat conftest.err >&5
13903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904   (exit $ac_status); } &&
13905          { ac_try='test -z "$ac_c_werror_flag"
13906                          || test ! -s conftest.err'
13907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908   (eval $ac_try) 2>&5
13909   ac_status=$?
13910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911   (exit $ac_status); }; } &&
13912          { ac_try='test -s conftest$ac_exeext'
13913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914   (eval $ac_try) 2>&5
13915   ac_status=$?
13916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917   (exit $ac_status); }; }; then
13918   ac_cv_lib_m_cexp=yes
13919 else
13920   echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.$ac_ext >&5
13922
13923 ac_cv_lib_m_cexp=no
13924 fi
13925 rm -f conftest.err conftest.$ac_objext \
13926       conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_lib_save_LIBS
13928 fi
13929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
13930 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
13931 if test $ac_cv_lib_m_cexp = yes; then
13932
13933 cat >>confdefs.h <<\_ACEOF
13934 #define HAVE_CEXP 1
13935 _ACEOF
13936
13937 fi
13938
13939 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
13940 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
13941 if test "${ac_cv_lib_m_cexpl+set}" = set; then
13942   echo $ECHO_N "(cached) $ECHO_C" >&6
13943 else
13944   ac_check_lib_save_LIBS=$LIBS
13945 LIBS="-lm  $LIBS"
13946 if test x$gcc_no_link = xyes; then
13947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13949    { (exit 1); exit 1; }; }
13950 fi
13951 cat >conftest.$ac_ext <<_ACEOF
13952 /* confdefs.h.  */
13953 _ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h.  */
13957
13958 /* Override any gcc2 internal prototype to avoid an error.  */
13959 #ifdef __cplusplus
13960 extern "C"
13961 #endif
13962 /* We use char because int might match the return type of a gcc2
13963    builtin and then its argument prototype would still apply.  */
13964 char cexpl ();
13965 int
13966 main ()
13967 {
13968 cexpl ();
13969   ;
13970   return 0;
13971 }
13972 _ACEOF
13973 rm -f conftest.$ac_objext conftest$ac_exeext
13974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13975   (eval $ac_link) 2>conftest.er1
13976   ac_status=$?
13977   grep -v '^ *+' conftest.er1 >conftest.err
13978   rm -f conftest.er1
13979   cat conftest.err >&5
13980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981   (exit $ac_status); } &&
13982          { ac_try='test -z "$ac_c_werror_flag"
13983                          || test ! -s conftest.err'
13984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985   (eval $ac_try) 2>&5
13986   ac_status=$?
13987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988   (exit $ac_status); }; } &&
13989          { ac_try='test -s conftest$ac_exeext'
13990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991   (eval $ac_try) 2>&5
13992   ac_status=$?
13993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994   (exit $ac_status); }; }; then
13995   ac_cv_lib_m_cexpl=yes
13996 else
13997   echo "$as_me: failed program was:" >&5
13998 sed 's/^/| /' conftest.$ac_ext >&5
13999
14000 ac_cv_lib_m_cexpl=no
14001 fi
14002 rm -f conftest.err conftest.$ac_objext \
14003       conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_lib_save_LIBS
14005 fi
14006 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14007 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14008 if test $ac_cv_lib_m_cexpl = yes; then
14009
14010 cat >>confdefs.h <<\_ACEOF
14011 #define HAVE_CEXPL 1
14012 _ACEOF
14013
14014 fi
14015
14016 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14017 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14018 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14019   echo $ECHO_N "(cached) $ECHO_C" >&6
14020 else
14021   ac_check_lib_save_LIBS=$LIBS
14022 LIBS="-lm  $LIBS"
14023 if test x$gcc_no_link = xyes; then
14024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14026    { (exit 1); exit 1; }; }
14027 fi
14028 cat >conftest.$ac_ext <<_ACEOF
14029 /* confdefs.h.  */
14030 _ACEOF
14031 cat confdefs.h >>conftest.$ac_ext
14032 cat >>conftest.$ac_ext <<_ACEOF
14033 /* end confdefs.h.  */
14034
14035 /* Override any gcc2 internal prototype to avoid an error.  */
14036 #ifdef __cplusplus
14037 extern "C"
14038 #endif
14039 /* We use char because int might match the return type of a gcc2
14040    builtin and then its argument prototype would still apply.  */
14041 char fabsf ();
14042 int
14043 main ()
14044 {
14045 fabsf ();
14046   ;
14047   return 0;
14048 }
14049 _ACEOF
14050 rm -f conftest.$ac_objext conftest$ac_exeext
14051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14052   (eval $ac_link) 2>conftest.er1
14053   ac_status=$?
14054   grep -v '^ *+' conftest.er1 >conftest.err
14055   rm -f conftest.er1
14056   cat conftest.err >&5
14057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058   (exit $ac_status); } &&
14059          { ac_try='test -z "$ac_c_werror_flag"
14060                          || test ! -s conftest.err'
14061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062   (eval $ac_try) 2>&5
14063   ac_status=$?
14064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065   (exit $ac_status); }; } &&
14066          { ac_try='test -s conftest$ac_exeext'
14067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068   (eval $ac_try) 2>&5
14069   ac_status=$?
14070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071   (exit $ac_status); }; }; then
14072   ac_cv_lib_m_fabsf=yes
14073 else
14074   echo "$as_me: failed program was:" >&5
14075 sed 's/^/| /' conftest.$ac_ext >&5
14076
14077 ac_cv_lib_m_fabsf=no
14078 fi
14079 rm -f conftest.err conftest.$ac_objext \
14080       conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_lib_save_LIBS
14082 fi
14083 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14084 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14085 if test $ac_cv_lib_m_fabsf = yes; then
14086
14087 cat >>confdefs.h <<\_ACEOF
14088 #define HAVE_FABSF 1
14089 _ACEOF
14090
14091 fi
14092
14093 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14094 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14095 if test "${ac_cv_lib_m_fabs+set}" = set; then
14096   echo $ECHO_N "(cached) $ECHO_C" >&6
14097 else
14098   ac_check_lib_save_LIBS=$LIBS
14099 LIBS="-lm  $LIBS"
14100 if test x$gcc_no_link = xyes; then
14101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14103    { (exit 1); exit 1; }; }
14104 fi
14105 cat >conftest.$ac_ext <<_ACEOF
14106 /* confdefs.h.  */
14107 _ACEOF
14108 cat confdefs.h >>conftest.$ac_ext
14109 cat >>conftest.$ac_ext <<_ACEOF
14110 /* end confdefs.h.  */
14111
14112 /* Override any gcc2 internal prototype to avoid an error.  */
14113 #ifdef __cplusplus
14114 extern "C"
14115 #endif
14116 /* We use char because int might match the return type of a gcc2
14117    builtin and then its argument prototype would still apply.  */
14118 char fabs ();
14119 int
14120 main ()
14121 {
14122 fabs ();
14123   ;
14124   return 0;
14125 }
14126 _ACEOF
14127 rm -f conftest.$ac_objext conftest$ac_exeext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14129   (eval $ac_link) 2>conftest.er1
14130   ac_status=$?
14131   grep -v '^ *+' conftest.er1 >conftest.err
14132   rm -f conftest.er1
14133   cat conftest.err >&5
14134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135   (exit $ac_status); } &&
14136          { ac_try='test -z "$ac_c_werror_flag"
14137                          || test ! -s conftest.err'
14138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139   (eval $ac_try) 2>&5
14140   ac_status=$?
14141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142   (exit $ac_status); }; } &&
14143          { ac_try='test -s conftest$ac_exeext'
14144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145   (eval $ac_try) 2>&5
14146   ac_status=$?
14147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148   (exit $ac_status); }; }; then
14149   ac_cv_lib_m_fabs=yes
14150 else
14151   echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.$ac_ext >&5
14153
14154 ac_cv_lib_m_fabs=no
14155 fi
14156 rm -f conftest.err conftest.$ac_objext \
14157       conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_lib_save_LIBS
14159 fi
14160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14161 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14162 if test $ac_cv_lib_m_fabs = yes; then
14163
14164 cat >>confdefs.h <<\_ACEOF
14165 #define HAVE_FABS 1
14166 _ACEOF
14167
14168 fi
14169
14170 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14171 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14172 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14173   echo $ECHO_N "(cached) $ECHO_C" >&6
14174 else
14175   ac_check_lib_save_LIBS=$LIBS
14176 LIBS="-lm  $LIBS"
14177 if test x$gcc_no_link = xyes; then
14178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14180    { (exit 1); exit 1; }; }
14181 fi
14182 cat >conftest.$ac_ext <<_ACEOF
14183 /* confdefs.h.  */
14184 _ACEOF
14185 cat confdefs.h >>conftest.$ac_ext
14186 cat >>conftest.$ac_ext <<_ACEOF
14187 /* end confdefs.h.  */
14188
14189 /* Override any gcc2 internal prototype to avoid an error.  */
14190 #ifdef __cplusplus
14191 extern "C"
14192 #endif
14193 /* We use char because int might match the return type of a gcc2
14194    builtin and then its argument prototype would still apply.  */
14195 char fabsl ();
14196 int
14197 main ()
14198 {
14199 fabsl ();
14200   ;
14201   return 0;
14202 }
14203 _ACEOF
14204 rm -f conftest.$ac_objext conftest$ac_exeext
14205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14206   (eval $ac_link) 2>conftest.er1
14207   ac_status=$?
14208   grep -v '^ *+' conftest.er1 >conftest.err
14209   rm -f conftest.er1
14210   cat conftest.err >&5
14211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212   (exit $ac_status); } &&
14213          { ac_try='test -z "$ac_c_werror_flag"
14214                          || test ! -s conftest.err'
14215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14216   (eval $ac_try) 2>&5
14217   ac_status=$?
14218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219   (exit $ac_status); }; } &&
14220          { ac_try='test -s conftest$ac_exeext'
14221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222   (eval $ac_try) 2>&5
14223   ac_status=$?
14224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225   (exit $ac_status); }; }; then
14226   ac_cv_lib_m_fabsl=yes
14227 else
14228   echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.$ac_ext >&5
14230
14231 ac_cv_lib_m_fabsl=no
14232 fi
14233 rm -f conftest.err conftest.$ac_objext \
14234       conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_lib_save_LIBS
14236 fi
14237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14238 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14239 if test $ac_cv_lib_m_fabsl = yes; then
14240
14241 cat >>confdefs.h <<\_ACEOF
14242 #define HAVE_FABSL 1
14243 _ACEOF
14244
14245 fi
14246
14247 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14248 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14249 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14250   echo $ECHO_N "(cached) $ECHO_C" >&6
14251 else
14252   ac_check_lib_save_LIBS=$LIBS
14253 LIBS="-lm  $LIBS"
14254 if test x$gcc_no_link = xyes; then
14255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14257    { (exit 1); exit 1; }; }
14258 fi
14259 cat >conftest.$ac_ext <<_ACEOF
14260 /* confdefs.h.  */
14261 _ACEOF
14262 cat confdefs.h >>conftest.$ac_ext
14263 cat >>conftest.$ac_ext <<_ACEOF
14264 /* end confdefs.h.  */
14265
14266 /* Override any gcc2 internal prototype to avoid an error.  */
14267 #ifdef __cplusplus
14268 extern "C"
14269 #endif
14270 /* We use char because int might match the return type of a gcc2
14271    builtin and then its argument prototype would still apply.  */
14272 char cabsf ();
14273 int
14274 main ()
14275 {
14276 cabsf ();
14277   ;
14278   return 0;
14279 }
14280 _ACEOF
14281 rm -f conftest.$ac_objext conftest$ac_exeext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14283   (eval $ac_link) 2>conftest.er1
14284   ac_status=$?
14285   grep -v '^ *+' conftest.er1 >conftest.err
14286   rm -f conftest.er1
14287   cat conftest.err >&5
14288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289   (exit $ac_status); } &&
14290          { ac_try='test -z "$ac_c_werror_flag"
14291                          || test ! -s conftest.err'
14292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293   (eval $ac_try) 2>&5
14294   ac_status=$?
14295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296   (exit $ac_status); }; } &&
14297          { ac_try='test -s conftest$ac_exeext'
14298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299   (eval $ac_try) 2>&5
14300   ac_status=$?
14301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302   (exit $ac_status); }; }; then
14303   ac_cv_lib_m_cabsf=yes
14304 else
14305   echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.$ac_ext >&5
14307
14308 ac_cv_lib_m_cabsf=no
14309 fi
14310 rm -f conftest.err conftest.$ac_objext \
14311       conftest$ac_exeext conftest.$ac_ext
14312 LIBS=$ac_check_lib_save_LIBS
14313 fi
14314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14315 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14316 if test $ac_cv_lib_m_cabsf = yes; then
14317
14318 cat >>confdefs.h <<\_ACEOF
14319 #define HAVE_CABSF 1
14320 _ACEOF
14321
14322 fi
14323
14324 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14325 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14326 if test "${ac_cv_lib_m_cabs+set}" = set; then
14327   echo $ECHO_N "(cached) $ECHO_C" >&6
14328 else
14329   ac_check_lib_save_LIBS=$LIBS
14330 LIBS="-lm  $LIBS"
14331 if test x$gcc_no_link = xyes; then
14332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14334    { (exit 1); exit 1; }; }
14335 fi
14336 cat >conftest.$ac_ext <<_ACEOF
14337 /* confdefs.h.  */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h.  */
14342
14343 /* Override any gcc2 internal prototype to avoid an error.  */
14344 #ifdef __cplusplus
14345 extern "C"
14346 #endif
14347 /* We use char because int might match the return type of a gcc2
14348    builtin and then its argument prototype would still apply.  */
14349 char cabs ();
14350 int
14351 main ()
14352 {
14353 cabs ();
14354   ;
14355   return 0;
14356 }
14357 _ACEOF
14358 rm -f conftest.$ac_objext conftest$ac_exeext
14359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14360   (eval $ac_link) 2>conftest.er1
14361   ac_status=$?
14362   grep -v '^ *+' conftest.er1 >conftest.err
14363   rm -f conftest.er1
14364   cat conftest.err >&5
14365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366   (exit $ac_status); } &&
14367          { ac_try='test -z "$ac_c_werror_flag"
14368                          || test ! -s conftest.err'
14369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370   (eval $ac_try) 2>&5
14371   ac_status=$?
14372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373   (exit $ac_status); }; } &&
14374          { ac_try='test -s conftest$ac_exeext'
14375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376   (eval $ac_try) 2>&5
14377   ac_status=$?
14378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379   (exit $ac_status); }; }; then
14380   ac_cv_lib_m_cabs=yes
14381 else
14382   echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.$ac_ext >&5
14384
14385 ac_cv_lib_m_cabs=no
14386 fi
14387 rm -f conftest.err conftest.$ac_objext \
14388       conftest$ac_exeext conftest.$ac_ext
14389 LIBS=$ac_check_lib_save_LIBS
14390 fi
14391 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14392 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14393 if test $ac_cv_lib_m_cabs = yes; then
14394
14395 cat >>confdefs.h <<\_ACEOF
14396 #define HAVE_CABS 1
14397 _ACEOF
14398
14399 fi
14400
14401 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14402 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14403 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14404   echo $ECHO_N "(cached) $ECHO_C" >&6
14405 else
14406   ac_check_lib_save_LIBS=$LIBS
14407 LIBS="-lm  $LIBS"
14408 if test x$gcc_no_link = xyes; then
14409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14411    { (exit 1); exit 1; }; }
14412 fi
14413 cat >conftest.$ac_ext <<_ACEOF
14414 /* confdefs.h.  */
14415 _ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h.  */
14419
14420 /* Override any gcc2 internal prototype to avoid an error.  */
14421 #ifdef __cplusplus
14422 extern "C"
14423 #endif
14424 /* We use char because int might match the return type of a gcc2
14425    builtin and then its argument prototype would still apply.  */
14426 char cabsl ();
14427 int
14428 main ()
14429 {
14430 cabsl ();
14431   ;
14432   return 0;
14433 }
14434 _ACEOF
14435 rm -f conftest.$ac_objext conftest$ac_exeext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14437   (eval $ac_link) 2>conftest.er1
14438   ac_status=$?
14439   grep -v '^ *+' conftest.er1 >conftest.err
14440   rm -f conftest.er1
14441   cat conftest.err >&5
14442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443   (exit $ac_status); } &&
14444          { ac_try='test -z "$ac_c_werror_flag"
14445                          || test ! -s conftest.err'
14446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447   (eval $ac_try) 2>&5
14448   ac_status=$?
14449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450   (exit $ac_status); }; } &&
14451          { ac_try='test -s conftest$ac_exeext'
14452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453   (eval $ac_try) 2>&5
14454   ac_status=$?
14455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456   (exit $ac_status); }; }; then
14457   ac_cv_lib_m_cabsl=yes
14458 else
14459   echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14461
14462 ac_cv_lib_m_cabsl=no
14463 fi
14464 rm -f conftest.err conftest.$ac_objext \
14465       conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_check_lib_save_LIBS
14467 fi
14468 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14469 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14470 if test $ac_cv_lib_m_cabsl = yes; then
14471
14472 cat >>confdefs.h <<\_ACEOF
14473 #define HAVE_CABSL 1
14474 _ACEOF
14475
14476 fi
14477
14478 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14479 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14480 if test "${ac_cv_lib_m_floorf+set}" = set; then
14481   echo $ECHO_N "(cached) $ECHO_C" >&6
14482 else
14483   ac_check_lib_save_LIBS=$LIBS
14484 LIBS="-lm  $LIBS"
14485 if test x$gcc_no_link = xyes; then
14486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14488    { (exit 1); exit 1; }; }
14489 fi
14490 cat >conftest.$ac_ext <<_ACEOF
14491 /* confdefs.h.  */
14492 _ACEOF
14493 cat confdefs.h >>conftest.$ac_ext
14494 cat >>conftest.$ac_ext <<_ACEOF
14495 /* end confdefs.h.  */
14496
14497 /* Override any gcc2 internal prototype to avoid an error.  */
14498 #ifdef __cplusplus
14499 extern "C"
14500 #endif
14501 /* We use char because int might match the return type of a gcc2
14502    builtin and then its argument prototype would still apply.  */
14503 char floorf ();
14504 int
14505 main ()
14506 {
14507 floorf ();
14508   ;
14509   return 0;
14510 }
14511 _ACEOF
14512 rm -f conftest.$ac_objext conftest$ac_exeext
14513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14514   (eval $ac_link) 2>conftest.er1
14515   ac_status=$?
14516   grep -v '^ *+' conftest.er1 >conftest.err
14517   rm -f conftest.er1
14518   cat conftest.err >&5
14519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520   (exit $ac_status); } &&
14521          { ac_try='test -z "$ac_c_werror_flag"
14522                          || test ! -s conftest.err'
14523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524   (eval $ac_try) 2>&5
14525   ac_status=$?
14526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527   (exit $ac_status); }; } &&
14528          { ac_try='test -s conftest$ac_exeext'
14529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530   (eval $ac_try) 2>&5
14531   ac_status=$?
14532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533   (exit $ac_status); }; }; then
14534   ac_cv_lib_m_floorf=yes
14535 else
14536   echo "$as_me: failed program was:" >&5
14537 sed 's/^/| /' conftest.$ac_ext >&5
14538
14539 ac_cv_lib_m_floorf=no
14540 fi
14541 rm -f conftest.err conftest.$ac_objext \
14542       conftest$ac_exeext conftest.$ac_ext
14543 LIBS=$ac_check_lib_save_LIBS
14544 fi
14545 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14546 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14547 if test $ac_cv_lib_m_floorf = yes; then
14548
14549 cat >>confdefs.h <<\_ACEOF
14550 #define HAVE_FLOORF 1
14551 _ACEOF
14552
14553 fi
14554
14555 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14556 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14557 if test "${ac_cv_lib_m_floor+set}" = set; then
14558   echo $ECHO_N "(cached) $ECHO_C" >&6
14559 else
14560   ac_check_lib_save_LIBS=$LIBS
14561 LIBS="-lm  $LIBS"
14562 if test x$gcc_no_link = xyes; then
14563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14565    { (exit 1); exit 1; }; }
14566 fi
14567 cat >conftest.$ac_ext <<_ACEOF
14568 /* confdefs.h.  */
14569 _ACEOF
14570 cat confdefs.h >>conftest.$ac_ext
14571 cat >>conftest.$ac_ext <<_ACEOF
14572 /* end confdefs.h.  */
14573
14574 /* Override any gcc2 internal prototype to avoid an error.  */
14575 #ifdef __cplusplus
14576 extern "C"
14577 #endif
14578 /* We use char because int might match the return type of a gcc2
14579    builtin and then its argument prototype would still apply.  */
14580 char floor ();
14581 int
14582 main ()
14583 {
14584 floor ();
14585   ;
14586   return 0;
14587 }
14588 _ACEOF
14589 rm -f conftest.$ac_objext conftest$ac_exeext
14590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14591   (eval $ac_link) 2>conftest.er1
14592   ac_status=$?
14593   grep -v '^ *+' conftest.er1 >conftest.err
14594   rm -f conftest.er1
14595   cat conftest.err >&5
14596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597   (exit $ac_status); } &&
14598          { ac_try='test -z "$ac_c_werror_flag"
14599                          || test ! -s conftest.err'
14600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601   (eval $ac_try) 2>&5
14602   ac_status=$?
14603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604   (exit $ac_status); }; } &&
14605          { ac_try='test -s conftest$ac_exeext'
14606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607   (eval $ac_try) 2>&5
14608   ac_status=$?
14609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610   (exit $ac_status); }; }; then
14611   ac_cv_lib_m_floor=yes
14612 else
14613   echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 ac_cv_lib_m_floor=no
14617 fi
14618 rm -f conftest.err conftest.$ac_objext \
14619       conftest$ac_exeext conftest.$ac_ext
14620 LIBS=$ac_check_lib_save_LIBS
14621 fi
14622 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14623 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14624 if test $ac_cv_lib_m_floor = yes; then
14625
14626 cat >>confdefs.h <<\_ACEOF
14627 #define HAVE_FLOOR 1
14628 _ACEOF
14629
14630 fi
14631
14632 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14633 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14634 if test "${ac_cv_lib_m_floorl+set}" = set; then
14635   echo $ECHO_N "(cached) $ECHO_C" >&6
14636 else
14637   ac_check_lib_save_LIBS=$LIBS
14638 LIBS="-lm  $LIBS"
14639 if test x$gcc_no_link = xyes; then
14640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14642    { (exit 1); exit 1; }; }
14643 fi
14644 cat >conftest.$ac_ext <<_ACEOF
14645 /* confdefs.h.  */
14646 _ACEOF
14647 cat confdefs.h >>conftest.$ac_ext
14648 cat >>conftest.$ac_ext <<_ACEOF
14649 /* end confdefs.h.  */
14650
14651 /* Override any gcc2 internal prototype to avoid an error.  */
14652 #ifdef __cplusplus
14653 extern "C"
14654 #endif
14655 /* We use char because int might match the return type of a gcc2
14656    builtin and then its argument prototype would still apply.  */
14657 char floorl ();
14658 int
14659 main ()
14660 {
14661 floorl ();
14662   ;
14663   return 0;
14664 }
14665 _ACEOF
14666 rm -f conftest.$ac_objext conftest$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668   (eval $ac_link) 2>conftest.er1
14669   ac_status=$?
14670   grep -v '^ *+' conftest.er1 >conftest.err
14671   rm -f conftest.er1
14672   cat conftest.err >&5
14673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674   (exit $ac_status); } &&
14675          { ac_try='test -z "$ac_c_werror_flag"
14676                          || test ! -s conftest.err'
14677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678   (eval $ac_try) 2>&5
14679   ac_status=$?
14680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681   (exit $ac_status); }; } &&
14682          { ac_try='test -s conftest$ac_exeext'
14683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684   (eval $ac_try) 2>&5
14685   ac_status=$?
14686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687   (exit $ac_status); }; }; then
14688   ac_cv_lib_m_floorl=yes
14689 else
14690   echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14692
14693 ac_cv_lib_m_floorl=no
14694 fi
14695 rm -f conftest.err conftest.$ac_objext \
14696       conftest$ac_exeext conftest.$ac_ext
14697 LIBS=$ac_check_lib_save_LIBS
14698 fi
14699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
14700 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
14701 if test $ac_cv_lib_m_floorl = yes; then
14702
14703 cat >>confdefs.h <<\_ACEOF
14704 #define HAVE_FLOORL 1
14705 _ACEOF
14706
14707 fi
14708
14709 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
14710 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
14711 if test "${ac_cv_lib_m_frexpf+set}" = set; then
14712   echo $ECHO_N "(cached) $ECHO_C" >&6
14713 else
14714   ac_check_lib_save_LIBS=$LIBS
14715 LIBS="-lm  $LIBS"
14716 if test x$gcc_no_link = xyes; then
14717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14719    { (exit 1); exit 1; }; }
14720 fi
14721 cat >conftest.$ac_ext <<_ACEOF
14722 /* confdefs.h.  */
14723 _ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h.  */
14727
14728 /* Override any gcc2 internal prototype to avoid an error.  */
14729 #ifdef __cplusplus
14730 extern "C"
14731 #endif
14732 /* We use char because int might match the return type of a gcc2
14733    builtin and then its argument prototype would still apply.  */
14734 char frexpf ();
14735 int
14736 main ()
14737 {
14738 frexpf ();
14739   ;
14740   return 0;
14741 }
14742 _ACEOF
14743 rm -f conftest.$ac_objext conftest$ac_exeext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745   (eval $ac_link) 2>conftest.er1
14746   ac_status=$?
14747   grep -v '^ *+' conftest.er1 >conftest.err
14748   rm -f conftest.er1
14749   cat conftest.err >&5
14750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751   (exit $ac_status); } &&
14752          { ac_try='test -z "$ac_c_werror_flag"
14753                          || test ! -s conftest.err'
14754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755   (eval $ac_try) 2>&5
14756   ac_status=$?
14757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758   (exit $ac_status); }; } &&
14759          { ac_try='test -s conftest$ac_exeext'
14760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14761   (eval $ac_try) 2>&5
14762   ac_status=$?
14763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764   (exit $ac_status); }; }; then
14765   ac_cv_lib_m_frexpf=yes
14766 else
14767   echo "$as_me: failed program was:" >&5
14768 sed 's/^/| /' conftest.$ac_ext >&5
14769
14770 ac_cv_lib_m_frexpf=no
14771 fi
14772 rm -f conftest.err conftest.$ac_objext \
14773       conftest$ac_exeext conftest.$ac_ext
14774 LIBS=$ac_check_lib_save_LIBS
14775 fi
14776 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
14777 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
14778 if test $ac_cv_lib_m_frexpf = yes; then
14779
14780 cat >>confdefs.h <<\_ACEOF
14781 #define HAVE_FREXPF 1
14782 _ACEOF
14783
14784 fi
14785
14786 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
14787 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
14788 if test "${ac_cv_lib_m_frexp+set}" = set; then
14789   echo $ECHO_N "(cached) $ECHO_C" >&6
14790 else
14791   ac_check_lib_save_LIBS=$LIBS
14792 LIBS="-lm  $LIBS"
14793 if test x$gcc_no_link = xyes; then
14794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14796    { (exit 1); exit 1; }; }
14797 fi
14798 cat >conftest.$ac_ext <<_ACEOF
14799 /* confdefs.h.  */
14800 _ACEOF
14801 cat confdefs.h >>conftest.$ac_ext
14802 cat >>conftest.$ac_ext <<_ACEOF
14803 /* end confdefs.h.  */
14804
14805 /* Override any gcc2 internal prototype to avoid an error.  */
14806 #ifdef __cplusplus
14807 extern "C"
14808 #endif
14809 /* We use char because int might match the return type of a gcc2
14810    builtin and then its argument prototype would still apply.  */
14811 char frexp ();
14812 int
14813 main ()
14814 {
14815 frexp ();
14816   ;
14817   return 0;
14818 }
14819 _ACEOF
14820 rm -f conftest.$ac_objext conftest$ac_exeext
14821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14822   (eval $ac_link) 2>conftest.er1
14823   ac_status=$?
14824   grep -v '^ *+' conftest.er1 >conftest.err
14825   rm -f conftest.er1
14826   cat conftest.err >&5
14827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828   (exit $ac_status); } &&
14829          { ac_try='test -z "$ac_c_werror_flag"
14830                          || test ! -s conftest.err'
14831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14832   (eval $ac_try) 2>&5
14833   ac_status=$?
14834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835   (exit $ac_status); }; } &&
14836          { ac_try='test -s conftest$ac_exeext'
14837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14838   (eval $ac_try) 2>&5
14839   ac_status=$?
14840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14841   (exit $ac_status); }; }; then
14842   ac_cv_lib_m_frexp=yes
14843 else
14844   echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.$ac_ext >&5
14846
14847 ac_cv_lib_m_frexp=no
14848 fi
14849 rm -f conftest.err conftest.$ac_objext \
14850       conftest$ac_exeext conftest.$ac_ext
14851 LIBS=$ac_check_lib_save_LIBS
14852 fi
14853 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
14854 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
14855 if test $ac_cv_lib_m_frexp = yes; then
14856
14857 cat >>confdefs.h <<\_ACEOF
14858 #define HAVE_FREXP 1
14859 _ACEOF
14860
14861 fi
14862
14863 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
14864 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
14865 if test "${ac_cv_lib_m_frexpl+set}" = set; then
14866   echo $ECHO_N "(cached) $ECHO_C" >&6
14867 else
14868   ac_check_lib_save_LIBS=$LIBS
14869 LIBS="-lm  $LIBS"
14870 if test x$gcc_no_link = xyes; then
14871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14873    { (exit 1); exit 1; }; }
14874 fi
14875 cat >conftest.$ac_ext <<_ACEOF
14876 /* confdefs.h.  */
14877 _ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h.  */
14881
14882 /* Override any gcc2 internal prototype to avoid an error.  */
14883 #ifdef __cplusplus
14884 extern "C"
14885 #endif
14886 /* We use char because int might match the return type of a gcc2
14887    builtin and then its argument prototype would still apply.  */
14888 char frexpl ();
14889 int
14890 main ()
14891 {
14892 frexpl ();
14893   ;
14894   return 0;
14895 }
14896 _ACEOF
14897 rm -f conftest.$ac_objext conftest$ac_exeext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14899   (eval $ac_link) 2>conftest.er1
14900   ac_status=$?
14901   grep -v '^ *+' conftest.er1 >conftest.err
14902   rm -f conftest.er1
14903   cat conftest.err >&5
14904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905   (exit $ac_status); } &&
14906          { ac_try='test -z "$ac_c_werror_flag"
14907                          || test ! -s conftest.err'
14908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909   (eval $ac_try) 2>&5
14910   ac_status=$?
14911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912   (exit $ac_status); }; } &&
14913          { ac_try='test -s conftest$ac_exeext'
14914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915   (eval $ac_try) 2>&5
14916   ac_status=$?
14917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918   (exit $ac_status); }; }; then
14919   ac_cv_lib_m_frexpl=yes
14920 else
14921   echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14923
14924 ac_cv_lib_m_frexpl=no
14925 fi
14926 rm -f conftest.err conftest.$ac_objext \
14927       conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14929 fi
14930 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
14931 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
14932 if test $ac_cv_lib_m_frexpl = yes; then
14933
14934 cat >>confdefs.h <<\_ACEOF
14935 #define HAVE_FREXPL 1
14936 _ACEOF
14937
14938 fi
14939
14940 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
14941 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
14942 if test "${ac_cv_lib_m_hypotf+set}" = set; then
14943   echo $ECHO_N "(cached) $ECHO_C" >&6
14944 else
14945   ac_check_lib_save_LIBS=$LIBS
14946 LIBS="-lm  $LIBS"
14947 if test x$gcc_no_link = xyes; then
14948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14950    { (exit 1); exit 1; }; }
14951 fi
14952 cat >conftest.$ac_ext <<_ACEOF
14953 /* confdefs.h.  */
14954 _ACEOF
14955 cat confdefs.h >>conftest.$ac_ext
14956 cat >>conftest.$ac_ext <<_ACEOF
14957 /* end confdefs.h.  */
14958
14959 /* Override any gcc2 internal prototype to avoid an error.  */
14960 #ifdef __cplusplus
14961 extern "C"
14962 #endif
14963 /* We use char because int might match the return type of a gcc2
14964    builtin and then its argument prototype would still apply.  */
14965 char hypotf ();
14966 int
14967 main ()
14968 {
14969 hypotf ();
14970   ;
14971   return 0;
14972 }
14973 _ACEOF
14974 rm -f conftest.$ac_objext conftest$ac_exeext
14975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14976   (eval $ac_link) 2>conftest.er1
14977   ac_status=$?
14978   grep -v '^ *+' conftest.er1 >conftest.err
14979   rm -f conftest.er1
14980   cat conftest.err >&5
14981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982   (exit $ac_status); } &&
14983          { ac_try='test -z "$ac_c_werror_flag"
14984                          || test ! -s conftest.err'
14985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986   (eval $ac_try) 2>&5
14987   ac_status=$?
14988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989   (exit $ac_status); }; } &&
14990          { ac_try='test -s conftest$ac_exeext'
14991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992   (eval $ac_try) 2>&5
14993   ac_status=$?
14994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995   (exit $ac_status); }; }; then
14996   ac_cv_lib_m_hypotf=yes
14997 else
14998   echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15000
15001 ac_cv_lib_m_hypotf=no
15002 fi
15003 rm -f conftest.err conftest.$ac_objext \
15004       conftest$ac_exeext conftest.$ac_ext
15005 LIBS=$ac_check_lib_save_LIBS
15006 fi
15007 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15008 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15009 if test $ac_cv_lib_m_hypotf = yes; then
15010
15011 cat >>confdefs.h <<\_ACEOF
15012 #define HAVE_HYPOTF 1
15013 _ACEOF
15014
15015 fi
15016
15017 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15018 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15019 if test "${ac_cv_lib_m_hypot+set}" = set; then
15020   echo $ECHO_N "(cached) $ECHO_C" >&6
15021 else
15022   ac_check_lib_save_LIBS=$LIBS
15023 LIBS="-lm  $LIBS"
15024 if test x$gcc_no_link = xyes; then
15025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15027    { (exit 1); exit 1; }; }
15028 fi
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h.  */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h.  */
15035
15036 /* Override any gcc2 internal prototype to avoid an error.  */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 /* We use char because int might match the return type of a gcc2
15041    builtin and then its argument prototype would still apply.  */
15042 char hypot ();
15043 int
15044 main ()
15045 {
15046 hypot ();
15047   ;
15048   return 0;
15049 }
15050 _ACEOF
15051 rm -f conftest.$ac_objext conftest$ac_exeext
15052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15053   (eval $ac_link) 2>conftest.er1
15054   ac_status=$?
15055   grep -v '^ *+' conftest.er1 >conftest.err
15056   rm -f conftest.er1
15057   cat conftest.err >&5
15058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059   (exit $ac_status); } &&
15060          { ac_try='test -z "$ac_c_werror_flag"
15061                          || test ! -s conftest.err'
15062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063   (eval $ac_try) 2>&5
15064   ac_status=$?
15065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066   (exit $ac_status); }; } &&
15067          { ac_try='test -s conftest$ac_exeext'
15068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069   (eval $ac_try) 2>&5
15070   ac_status=$?
15071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072   (exit $ac_status); }; }; then
15073   ac_cv_lib_m_hypot=yes
15074 else
15075   echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.$ac_ext >&5
15077
15078 ac_cv_lib_m_hypot=no
15079 fi
15080 rm -f conftest.err conftest.$ac_objext \
15081       conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_check_lib_save_LIBS
15083 fi
15084 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15085 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15086 if test $ac_cv_lib_m_hypot = yes; then
15087
15088 cat >>confdefs.h <<\_ACEOF
15089 #define HAVE_HYPOT 1
15090 _ACEOF
15091
15092 fi
15093
15094 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15095 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15096 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15097   echo $ECHO_N "(cached) $ECHO_C" >&6
15098 else
15099   ac_check_lib_save_LIBS=$LIBS
15100 LIBS="-lm  $LIBS"
15101 if test x$gcc_no_link = xyes; then
15102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15104    { (exit 1); exit 1; }; }
15105 fi
15106 cat >conftest.$ac_ext <<_ACEOF
15107 /* confdefs.h.  */
15108 _ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h.  */
15112
15113 /* Override any gcc2 internal prototype to avoid an error.  */
15114 #ifdef __cplusplus
15115 extern "C"
15116 #endif
15117 /* We use char because int might match the return type of a gcc2
15118    builtin and then its argument prototype would still apply.  */
15119 char hypotl ();
15120 int
15121 main ()
15122 {
15123 hypotl ();
15124   ;
15125   return 0;
15126 }
15127 _ACEOF
15128 rm -f conftest.$ac_objext conftest$ac_exeext
15129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15130   (eval $ac_link) 2>conftest.er1
15131   ac_status=$?
15132   grep -v '^ *+' conftest.er1 >conftest.err
15133   rm -f conftest.er1
15134   cat conftest.err >&5
15135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136   (exit $ac_status); } &&
15137          { ac_try='test -z "$ac_c_werror_flag"
15138                          || test ! -s conftest.err'
15139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140   (eval $ac_try) 2>&5
15141   ac_status=$?
15142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143   (exit $ac_status); }; } &&
15144          { ac_try='test -s conftest$ac_exeext'
15145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146   (eval $ac_try) 2>&5
15147   ac_status=$?
15148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149   (exit $ac_status); }; }; then
15150   ac_cv_lib_m_hypotl=yes
15151 else
15152   echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15154
15155 ac_cv_lib_m_hypotl=no
15156 fi
15157 rm -f conftest.err conftest.$ac_objext \
15158       conftest$ac_exeext conftest.$ac_ext
15159 LIBS=$ac_check_lib_save_LIBS
15160 fi
15161 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15162 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15163 if test $ac_cv_lib_m_hypotl = yes; then
15164
15165 cat >>confdefs.h <<\_ACEOF
15166 #define HAVE_HYPOTL 1
15167 _ACEOF
15168
15169 fi
15170
15171 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15172 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15173 if test "${ac_cv_lib_m_logf+set}" = set; then
15174   echo $ECHO_N "(cached) $ECHO_C" >&6
15175 else
15176   ac_check_lib_save_LIBS=$LIBS
15177 LIBS="-lm  $LIBS"
15178 if test x$gcc_no_link = xyes; then
15179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15181    { (exit 1); exit 1; }; }
15182 fi
15183 cat >conftest.$ac_ext <<_ACEOF
15184 /* confdefs.h.  */
15185 _ACEOF
15186 cat confdefs.h >>conftest.$ac_ext
15187 cat >>conftest.$ac_ext <<_ACEOF
15188 /* end confdefs.h.  */
15189
15190 /* Override any gcc2 internal prototype to avoid an error.  */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 /* We use char because int might match the return type of a gcc2
15195    builtin and then its argument prototype would still apply.  */
15196 char logf ();
15197 int
15198 main ()
15199 {
15200 logf ();
15201   ;
15202   return 0;
15203 }
15204 _ACEOF
15205 rm -f conftest.$ac_objext conftest$ac_exeext
15206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15207   (eval $ac_link) 2>conftest.er1
15208   ac_status=$?
15209   grep -v '^ *+' conftest.er1 >conftest.err
15210   rm -f conftest.er1
15211   cat conftest.err >&5
15212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213   (exit $ac_status); } &&
15214          { ac_try='test -z "$ac_c_werror_flag"
15215                          || test ! -s conftest.err'
15216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217   (eval $ac_try) 2>&5
15218   ac_status=$?
15219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220   (exit $ac_status); }; } &&
15221          { ac_try='test -s conftest$ac_exeext'
15222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223   (eval $ac_try) 2>&5
15224   ac_status=$?
15225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226   (exit $ac_status); }; }; then
15227   ac_cv_lib_m_logf=yes
15228 else
15229   echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.$ac_ext >&5
15231
15232 ac_cv_lib_m_logf=no
15233 fi
15234 rm -f conftest.err conftest.$ac_objext \
15235       conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_lib_save_LIBS
15237 fi
15238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15239 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15240 if test $ac_cv_lib_m_logf = yes; then
15241
15242 cat >>confdefs.h <<\_ACEOF
15243 #define HAVE_LOGF 1
15244 _ACEOF
15245
15246 fi
15247
15248 echo "$as_me:$LINENO: checking for log in -lm" >&5
15249 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15250 if test "${ac_cv_lib_m_log+set}" = set; then
15251   echo $ECHO_N "(cached) $ECHO_C" >&6
15252 else
15253   ac_check_lib_save_LIBS=$LIBS
15254 LIBS="-lm  $LIBS"
15255 if test x$gcc_no_link = xyes; then
15256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15258    { (exit 1); exit 1; }; }
15259 fi
15260 cat >conftest.$ac_ext <<_ACEOF
15261 /* confdefs.h.  */
15262 _ACEOF
15263 cat confdefs.h >>conftest.$ac_ext
15264 cat >>conftest.$ac_ext <<_ACEOF
15265 /* end confdefs.h.  */
15266
15267 /* Override any gcc2 internal prototype to avoid an error.  */
15268 #ifdef __cplusplus
15269 extern "C"
15270 #endif
15271 /* We use char because int might match the return type of a gcc2
15272    builtin and then its argument prototype would still apply.  */
15273 char log ();
15274 int
15275 main ()
15276 {
15277 log ();
15278   ;
15279   return 0;
15280 }
15281 _ACEOF
15282 rm -f conftest.$ac_objext conftest$ac_exeext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15284   (eval $ac_link) 2>conftest.er1
15285   ac_status=$?
15286   grep -v '^ *+' conftest.er1 >conftest.err
15287   rm -f conftest.er1
15288   cat conftest.err >&5
15289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290   (exit $ac_status); } &&
15291          { ac_try='test -z "$ac_c_werror_flag"
15292                          || test ! -s conftest.err'
15293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294   (eval $ac_try) 2>&5
15295   ac_status=$?
15296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297   (exit $ac_status); }; } &&
15298          { ac_try='test -s conftest$ac_exeext'
15299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300   (eval $ac_try) 2>&5
15301   ac_status=$?
15302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303   (exit $ac_status); }; }; then
15304   ac_cv_lib_m_log=yes
15305 else
15306   echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15308
15309 ac_cv_lib_m_log=no
15310 fi
15311 rm -f conftest.err conftest.$ac_objext \
15312       conftest$ac_exeext conftest.$ac_ext
15313 LIBS=$ac_check_lib_save_LIBS
15314 fi
15315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15316 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15317 if test $ac_cv_lib_m_log = yes; then
15318
15319 cat >>confdefs.h <<\_ACEOF
15320 #define HAVE_LOG 1
15321 _ACEOF
15322
15323 fi
15324
15325 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15326 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15327 if test "${ac_cv_lib_m_logl+set}" = set; then
15328   echo $ECHO_N "(cached) $ECHO_C" >&6
15329 else
15330   ac_check_lib_save_LIBS=$LIBS
15331 LIBS="-lm  $LIBS"
15332 if test x$gcc_no_link = xyes; then
15333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15335    { (exit 1); exit 1; }; }
15336 fi
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h.  */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h.  */
15343
15344 /* Override any gcc2 internal prototype to avoid an error.  */
15345 #ifdef __cplusplus
15346 extern "C"
15347 #endif
15348 /* We use char because int might match the return type of a gcc2
15349    builtin and then its argument prototype would still apply.  */
15350 char logl ();
15351 int
15352 main ()
15353 {
15354 logl ();
15355   ;
15356   return 0;
15357 }
15358 _ACEOF
15359 rm -f conftest.$ac_objext conftest$ac_exeext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15361   (eval $ac_link) 2>conftest.er1
15362   ac_status=$?
15363   grep -v '^ *+' conftest.er1 >conftest.err
15364   rm -f conftest.er1
15365   cat conftest.err >&5
15366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367   (exit $ac_status); } &&
15368          { ac_try='test -z "$ac_c_werror_flag"
15369                          || test ! -s conftest.err'
15370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371   (eval $ac_try) 2>&5
15372   ac_status=$?
15373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374   (exit $ac_status); }; } &&
15375          { ac_try='test -s conftest$ac_exeext'
15376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377   (eval $ac_try) 2>&5
15378   ac_status=$?
15379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380   (exit $ac_status); }; }; then
15381   ac_cv_lib_m_logl=yes
15382 else
15383   echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386 ac_cv_lib_m_logl=no
15387 fi
15388 rm -f conftest.err conftest.$ac_objext \
15389       conftest$ac_exeext conftest.$ac_ext
15390 LIBS=$ac_check_lib_save_LIBS
15391 fi
15392 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
15393 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
15394 if test $ac_cv_lib_m_logl = yes; then
15395
15396 cat >>confdefs.h <<\_ACEOF
15397 #define HAVE_LOGL 1
15398 _ACEOF
15399
15400 fi
15401
15402 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
15403 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
15404 if test "${ac_cv_lib_m_clogf+set}" = set; then
15405   echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407   ac_check_lib_save_LIBS=$LIBS
15408 LIBS="-lm  $LIBS"
15409 if test x$gcc_no_link = xyes; then
15410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15412    { (exit 1); exit 1; }; }
15413 fi
15414 cat >conftest.$ac_ext <<_ACEOF
15415 /* confdefs.h.  */
15416 _ACEOF
15417 cat confdefs.h >>conftest.$ac_ext
15418 cat >>conftest.$ac_ext <<_ACEOF
15419 /* end confdefs.h.  */
15420
15421 /* Override any gcc2 internal prototype to avoid an error.  */
15422 #ifdef __cplusplus
15423 extern "C"
15424 #endif
15425 /* We use char because int might match the return type of a gcc2
15426    builtin and then its argument prototype would still apply.  */
15427 char clogf ();
15428 int
15429 main ()
15430 {
15431 clogf ();
15432   ;
15433   return 0;
15434 }
15435 _ACEOF
15436 rm -f conftest.$ac_objext conftest$ac_exeext
15437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15438   (eval $ac_link) 2>conftest.er1
15439   ac_status=$?
15440   grep -v '^ *+' conftest.er1 >conftest.err
15441   rm -f conftest.er1
15442   cat conftest.err >&5
15443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444   (exit $ac_status); } &&
15445          { ac_try='test -z "$ac_c_werror_flag"
15446                          || test ! -s conftest.err'
15447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448   (eval $ac_try) 2>&5
15449   ac_status=$?
15450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451   (exit $ac_status); }; } &&
15452          { ac_try='test -s conftest$ac_exeext'
15453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454   (eval $ac_try) 2>&5
15455   ac_status=$?
15456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457   (exit $ac_status); }; }; then
15458   ac_cv_lib_m_clogf=yes
15459 else
15460   echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.$ac_ext >&5
15462
15463 ac_cv_lib_m_clogf=no
15464 fi
15465 rm -f conftest.err conftest.$ac_objext \
15466       conftest$ac_exeext conftest.$ac_ext
15467 LIBS=$ac_check_lib_save_LIBS
15468 fi
15469 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
15470 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
15471 if test $ac_cv_lib_m_clogf = yes; then
15472
15473 cat >>confdefs.h <<\_ACEOF
15474 #define HAVE_CLOGF 1
15475 _ACEOF
15476
15477 fi
15478
15479 echo "$as_me:$LINENO: checking for clog in -lm" >&5
15480 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
15481 if test "${ac_cv_lib_m_clog+set}" = set; then
15482   echo $ECHO_N "(cached) $ECHO_C" >&6
15483 else
15484   ac_check_lib_save_LIBS=$LIBS
15485 LIBS="-lm  $LIBS"
15486 if test x$gcc_no_link = xyes; then
15487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15489    { (exit 1); exit 1; }; }
15490 fi
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h.  */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h.  */
15497
15498 /* Override any gcc2 internal prototype to avoid an error.  */
15499 #ifdef __cplusplus
15500 extern "C"
15501 #endif
15502 /* We use char because int might match the return type of a gcc2
15503    builtin and then its argument prototype would still apply.  */
15504 char clog ();
15505 int
15506 main ()
15507 {
15508 clog ();
15509   ;
15510   return 0;
15511 }
15512 _ACEOF
15513 rm -f conftest.$ac_objext conftest$ac_exeext
15514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15515   (eval $ac_link) 2>conftest.er1
15516   ac_status=$?
15517   grep -v '^ *+' conftest.er1 >conftest.err
15518   rm -f conftest.er1
15519   cat conftest.err >&5
15520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521   (exit $ac_status); } &&
15522          { ac_try='test -z "$ac_c_werror_flag"
15523                          || test ! -s conftest.err'
15524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525   (eval $ac_try) 2>&5
15526   ac_status=$?
15527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528   (exit $ac_status); }; } &&
15529          { ac_try='test -s conftest$ac_exeext'
15530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531   (eval $ac_try) 2>&5
15532   ac_status=$?
15533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534   (exit $ac_status); }; }; then
15535   ac_cv_lib_m_clog=yes
15536 else
15537   echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15539
15540 ac_cv_lib_m_clog=no
15541 fi
15542 rm -f conftest.err conftest.$ac_objext \
15543       conftest$ac_exeext conftest.$ac_ext
15544 LIBS=$ac_check_lib_save_LIBS
15545 fi
15546 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
15547 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
15548 if test $ac_cv_lib_m_clog = yes; then
15549
15550 cat >>confdefs.h <<\_ACEOF
15551 #define HAVE_CLOG 1
15552 _ACEOF
15553
15554 fi
15555
15556 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
15557 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
15558 if test "${ac_cv_lib_m_clogl+set}" = set; then
15559   echo $ECHO_N "(cached) $ECHO_C" >&6
15560 else
15561   ac_check_lib_save_LIBS=$LIBS
15562 LIBS="-lm  $LIBS"
15563 if test x$gcc_no_link = xyes; then
15564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15566    { (exit 1); exit 1; }; }
15567 fi
15568 cat >conftest.$ac_ext <<_ACEOF
15569 /* confdefs.h.  */
15570 _ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h.  */
15574
15575 /* Override any gcc2 internal prototype to avoid an error.  */
15576 #ifdef __cplusplus
15577 extern "C"
15578 #endif
15579 /* We use char because int might match the return type of a gcc2
15580    builtin and then its argument prototype would still apply.  */
15581 char clogl ();
15582 int
15583 main ()
15584 {
15585 clogl ();
15586   ;
15587   return 0;
15588 }
15589 _ACEOF
15590 rm -f conftest.$ac_objext conftest$ac_exeext
15591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15592   (eval $ac_link) 2>conftest.er1
15593   ac_status=$?
15594   grep -v '^ *+' conftest.er1 >conftest.err
15595   rm -f conftest.er1
15596   cat conftest.err >&5
15597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598   (exit $ac_status); } &&
15599          { ac_try='test -z "$ac_c_werror_flag"
15600                          || test ! -s conftest.err'
15601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602   (eval $ac_try) 2>&5
15603   ac_status=$?
15604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605   (exit $ac_status); }; } &&
15606          { ac_try='test -s conftest$ac_exeext'
15607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608   (eval $ac_try) 2>&5
15609   ac_status=$?
15610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611   (exit $ac_status); }; }; then
15612   ac_cv_lib_m_clogl=yes
15613 else
15614   echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15616
15617 ac_cv_lib_m_clogl=no
15618 fi
15619 rm -f conftest.err conftest.$ac_objext \
15620       conftest$ac_exeext conftest.$ac_ext
15621 LIBS=$ac_check_lib_save_LIBS
15622 fi
15623 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
15624 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
15625 if test $ac_cv_lib_m_clogl = yes; then
15626
15627 cat >>confdefs.h <<\_ACEOF
15628 #define HAVE_CLOGL 1
15629 _ACEOF
15630
15631 fi
15632
15633 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
15634 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
15635 if test "${ac_cv_lib_m_log10f+set}" = set; then
15636   echo $ECHO_N "(cached) $ECHO_C" >&6
15637 else
15638   ac_check_lib_save_LIBS=$LIBS
15639 LIBS="-lm  $LIBS"
15640 if test x$gcc_no_link = xyes; then
15641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15643    { (exit 1); exit 1; }; }
15644 fi
15645 cat >conftest.$ac_ext <<_ACEOF
15646 /* confdefs.h.  */
15647 _ACEOF
15648 cat confdefs.h >>conftest.$ac_ext
15649 cat >>conftest.$ac_ext <<_ACEOF
15650 /* end confdefs.h.  */
15651
15652 /* Override any gcc2 internal prototype to avoid an error.  */
15653 #ifdef __cplusplus
15654 extern "C"
15655 #endif
15656 /* We use char because int might match the return type of a gcc2
15657    builtin and then its argument prototype would still apply.  */
15658 char log10f ();
15659 int
15660 main ()
15661 {
15662 log10f ();
15663   ;
15664   return 0;
15665 }
15666 _ACEOF
15667 rm -f conftest.$ac_objext conftest$ac_exeext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15669   (eval $ac_link) 2>conftest.er1
15670   ac_status=$?
15671   grep -v '^ *+' conftest.er1 >conftest.err
15672   rm -f conftest.er1
15673   cat conftest.err >&5
15674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675   (exit $ac_status); } &&
15676          { ac_try='test -z "$ac_c_werror_flag"
15677                          || test ! -s conftest.err'
15678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679   (eval $ac_try) 2>&5
15680   ac_status=$?
15681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682   (exit $ac_status); }; } &&
15683          { ac_try='test -s conftest$ac_exeext'
15684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685   (eval $ac_try) 2>&5
15686   ac_status=$?
15687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688   (exit $ac_status); }; }; then
15689   ac_cv_lib_m_log10f=yes
15690 else
15691   echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.$ac_ext >&5
15693
15694 ac_cv_lib_m_log10f=no
15695 fi
15696 rm -f conftest.err conftest.$ac_objext \
15697       conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_lib_save_LIBS
15699 fi
15700 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
15701 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
15702 if test $ac_cv_lib_m_log10f = yes; then
15703
15704 cat >>confdefs.h <<\_ACEOF
15705 #define HAVE_LOG10F 1
15706 _ACEOF
15707
15708 fi
15709
15710 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
15711 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
15712 if test "${ac_cv_lib_m_log10+set}" = set; then
15713   echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715   ac_check_lib_save_LIBS=$LIBS
15716 LIBS="-lm  $LIBS"
15717 if test x$gcc_no_link = xyes; then
15718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15720    { (exit 1); exit 1; }; }
15721 fi
15722 cat >conftest.$ac_ext <<_ACEOF
15723 /* confdefs.h.  */
15724 _ACEOF
15725 cat confdefs.h >>conftest.$ac_ext
15726 cat >>conftest.$ac_ext <<_ACEOF
15727 /* end confdefs.h.  */
15728
15729 /* Override any gcc2 internal prototype to avoid an error.  */
15730 #ifdef __cplusplus
15731 extern "C"
15732 #endif
15733 /* We use char because int might match the return type of a gcc2
15734    builtin and then its argument prototype would still apply.  */
15735 char log10 ();
15736 int
15737 main ()
15738 {
15739 log10 ();
15740   ;
15741   return 0;
15742 }
15743 _ACEOF
15744 rm -f conftest.$ac_objext conftest$ac_exeext
15745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15746   (eval $ac_link) 2>conftest.er1
15747   ac_status=$?
15748   grep -v '^ *+' conftest.er1 >conftest.err
15749   rm -f conftest.er1
15750   cat conftest.err >&5
15751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752   (exit $ac_status); } &&
15753          { ac_try='test -z "$ac_c_werror_flag"
15754                          || test ! -s conftest.err'
15755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756   (eval $ac_try) 2>&5
15757   ac_status=$?
15758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759   (exit $ac_status); }; } &&
15760          { ac_try='test -s conftest$ac_exeext'
15761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762   (eval $ac_try) 2>&5
15763   ac_status=$?
15764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765   (exit $ac_status); }; }; then
15766   ac_cv_lib_m_log10=yes
15767 else
15768   echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15770
15771 ac_cv_lib_m_log10=no
15772 fi
15773 rm -f conftest.err conftest.$ac_objext \
15774       conftest$ac_exeext conftest.$ac_ext
15775 LIBS=$ac_check_lib_save_LIBS
15776 fi
15777 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
15778 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
15779 if test $ac_cv_lib_m_log10 = yes; then
15780
15781 cat >>confdefs.h <<\_ACEOF
15782 #define HAVE_LOG10 1
15783 _ACEOF
15784
15785 fi
15786
15787 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
15788 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
15789 if test "${ac_cv_lib_m_log10l+set}" = set; then
15790   echo $ECHO_N "(cached) $ECHO_C" >&6
15791 else
15792   ac_check_lib_save_LIBS=$LIBS
15793 LIBS="-lm  $LIBS"
15794 if test x$gcc_no_link = xyes; then
15795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15797    { (exit 1); exit 1; }; }
15798 fi
15799 cat >conftest.$ac_ext <<_ACEOF
15800 /* confdefs.h.  */
15801 _ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h.  */
15805
15806 /* Override any gcc2 internal prototype to avoid an error.  */
15807 #ifdef __cplusplus
15808 extern "C"
15809 #endif
15810 /* We use char because int might match the return type of a gcc2
15811    builtin and then its argument prototype would still apply.  */
15812 char log10l ();
15813 int
15814 main ()
15815 {
15816 log10l ();
15817   ;
15818   return 0;
15819 }
15820 _ACEOF
15821 rm -f conftest.$ac_objext conftest$ac_exeext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15823   (eval $ac_link) 2>conftest.er1
15824   ac_status=$?
15825   grep -v '^ *+' conftest.er1 >conftest.err
15826   rm -f conftest.er1
15827   cat conftest.err >&5
15828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829   (exit $ac_status); } &&
15830          { ac_try='test -z "$ac_c_werror_flag"
15831                          || test ! -s conftest.err'
15832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833   (eval $ac_try) 2>&5
15834   ac_status=$?
15835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836   (exit $ac_status); }; } &&
15837          { ac_try='test -s conftest$ac_exeext'
15838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839   (eval $ac_try) 2>&5
15840   ac_status=$?
15841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842   (exit $ac_status); }; }; then
15843   ac_cv_lib_m_log10l=yes
15844 else
15845   echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.$ac_ext >&5
15847
15848 ac_cv_lib_m_log10l=no
15849 fi
15850 rm -f conftest.err conftest.$ac_objext \
15851       conftest$ac_exeext conftest.$ac_ext
15852 LIBS=$ac_check_lib_save_LIBS
15853 fi
15854 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
15855 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
15856 if test $ac_cv_lib_m_log10l = yes; then
15857
15858 cat >>confdefs.h <<\_ACEOF
15859 #define HAVE_LOG10L 1
15860 _ACEOF
15861
15862 fi
15863
15864 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
15865 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
15866 if test "${ac_cv_lib_m_clog10f+set}" = set; then
15867   echo $ECHO_N "(cached) $ECHO_C" >&6
15868 else
15869   ac_check_lib_save_LIBS=$LIBS
15870 LIBS="-lm  $LIBS"
15871 if test x$gcc_no_link = xyes; then
15872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15874    { (exit 1); exit 1; }; }
15875 fi
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h.  */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h.  */
15882
15883 /* Override any gcc2 internal prototype to avoid an error.  */
15884 #ifdef __cplusplus
15885 extern "C"
15886 #endif
15887 /* We use char because int might match the return type of a gcc2
15888    builtin and then its argument prototype would still apply.  */
15889 char clog10f ();
15890 int
15891 main ()
15892 {
15893 clog10f ();
15894   ;
15895   return 0;
15896 }
15897 _ACEOF
15898 rm -f conftest.$ac_objext conftest$ac_exeext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15900   (eval $ac_link) 2>conftest.er1
15901   ac_status=$?
15902   grep -v '^ *+' conftest.er1 >conftest.err
15903   rm -f conftest.er1
15904   cat conftest.err >&5
15905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906   (exit $ac_status); } &&
15907          { ac_try='test -z "$ac_c_werror_flag"
15908                          || test ! -s conftest.err'
15909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910   (eval $ac_try) 2>&5
15911   ac_status=$?
15912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913   (exit $ac_status); }; } &&
15914          { ac_try='test -s conftest$ac_exeext'
15915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916   (eval $ac_try) 2>&5
15917   ac_status=$?
15918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919   (exit $ac_status); }; }; then
15920   ac_cv_lib_m_clog10f=yes
15921 else
15922   echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15924
15925 ac_cv_lib_m_clog10f=no
15926 fi
15927 rm -f conftest.err conftest.$ac_objext \
15928       conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_lib_save_LIBS
15930 fi
15931 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
15932 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
15933 if test $ac_cv_lib_m_clog10f = yes; then
15934
15935 cat >>confdefs.h <<\_ACEOF
15936 #define HAVE_CLOG10F 1
15937 _ACEOF
15938
15939 fi
15940
15941 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
15942 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
15943 if test "${ac_cv_lib_m_clog10+set}" = set; then
15944   echo $ECHO_N "(cached) $ECHO_C" >&6
15945 else
15946   ac_check_lib_save_LIBS=$LIBS
15947 LIBS="-lm  $LIBS"
15948 if test x$gcc_no_link = xyes; then
15949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15951    { (exit 1); exit 1; }; }
15952 fi
15953 cat >conftest.$ac_ext <<_ACEOF
15954 /* confdefs.h.  */
15955 _ACEOF
15956 cat confdefs.h >>conftest.$ac_ext
15957 cat >>conftest.$ac_ext <<_ACEOF
15958 /* end confdefs.h.  */
15959
15960 /* Override any gcc2 internal prototype to avoid an error.  */
15961 #ifdef __cplusplus
15962 extern "C"
15963 #endif
15964 /* We use char because int might match the return type of a gcc2
15965    builtin and then its argument prototype would still apply.  */
15966 char clog10 ();
15967 int
15968 main ()
15969 {
15970 clog10 ();
15971   ;
15972   return 0;
15973 }
15974 _ACEOF
15975 rm -f conftest.$ac_objext conftest$ac_exeext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15977   (eval $ac_link) 2>conftest.er1
15978   ac_status=$?
15979   grep -v '^ *+' conftest.er1 >conftest.err
15980   rm -f conftest.er1
15981   cat conftest.err >&5
15982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983   (exit $ac_status); } &&
15984          { ac_try='test -z "$ac_c_werror_flag"
15985                          || test ! -s conftest.err'
15986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987   (eval $ac_try) 2>&5
15988   ac_status=$?
15989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990   (exit $ac_status); }; } &&
15991          { ac_try='test -s conftest$ac_exeext'
15992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993   (eval $ac_try) 2>&5
15994   ac_status=$?
15995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996   (exit $ac_status); }; }; then
15997   ac_cv_lib_m_clog10=yes
15998 else
15999   echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002 ac_cv_lib_m_clog10=no
16003 fi
16004 rm -f conftest.err conftest.$ac_objext \
16005       conftest$ac_exeext conftest.$ac_ext
16006 LIBS=$ac_check_lib_save_LIBS
16007 fi
16008 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16009 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16010 if test $ac_cv_lib_m_clog10 = yes; then
16011
16012 cat >>confdefs.h <<\_ACEOF
16013 #define HAVE_CLOG10 1
16014 _ACEOF
16015
16016 fi
16017
16018 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16019 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16020 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16021   echo $ECHO_N "(cached) $ECHO_C" >&6
16022 else
16023   ac_check_lib_save_LIBS=$LIBS
16024 LIBS="-lm  $LIBS"
16025 if test x$gcc_no_link = xyes; then
16026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16028    { (exit 1); exit 1; }; }
16029 fi
16030 cat >conftest.$ac_ext <<_ACEOF
16031 /* confdefs.h.  */
16032 _ACEOF
16033 cat confdefs.h >>conftest.$ac_ext
16034 cat >>conftest.$ac_ext <<_ACEOF
16035 /* end confdefs.h.  */
16036
16037 /* Override any gcc2 internal prototype to avoid an error.  */
16038 #ifdef __cplusplus
16039 extern "C"
16040 #endif
16041 /* We use char because int might match the return type of a gcc2
16042    builtin and then its argument prototype would still apply.  */
16043 char clog10l ();
16044 int
16045 main ()
16046 {
16047 clog10l ();
16048   ;
16049   return 0;
16050 }
16051 _ACEOF
16052 rm -f conftest.$ac_objext conftest$ac_exeext
16053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16054   (eval $ac_link) 2>conftest.er1
16055   ac_status=$?
16056   grep -v '^ *+' conftest.er1 >conftest.err
16057   rm -f conftest.er1
16058   cat conftest.err >&5
16059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060   (exit $ac_status); } &&
16061          { ac_try='test -z "$ac_c_werror_flag"
16062                          || test ! -s conftest.err'
16063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064   (eval $ac_try) 2>&5
16065   ac_status=$?
16066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067   (exit $ac_status); }; } &&
16068          { ac_try='test -s conftest$ac_exeext'
16069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070   (eval $ac_try) 2>&5
16071   ac_status=$?
16072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073   (exit $ac_status); }; }; then
16074   ac_cv_lib_m_clog10l=yes
16075 else
16076   echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.$ac_ext >&5
16078
16079 ac_cv_lib_m_clog10l=no
16080 fi
16081 rm -f conftest.err conftest.$ac_objext \
16082       conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_lib_save_LIBS
16084 fi
16085 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16086 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16087 if test $ac_cv_lib_m_clog10l = yes; then
16088
16089 cat >>confdefs.h <<\_ACEOF
16090 #define HAVE_CLOG10L 1
16091 _ACEOF
16092
16093 fi
16094
16095 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16096 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16097 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16098   echo $ECHO_N "(cached) $ECHO_C" >&6
16099 else
16100   ac_check_lib_save_LIBS=$LIBS
16101 LIBS="-lm  $LIBS"
16102 if test x$gcc_no_link = xyes; then
16103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16105    { (exit 1); exit 1; }; }
16106 fi
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h.  */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h.  */
16113
16114 /* Override any gcc2 internal prototype to avoid an error.  */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 /* We use char because int might match the return type of a gcc2
16119    builtin and then its argument prototype would still apply.  */
16120 char nextafterf ();
16121 int
16122 main ()
16123 {
16124 nextafterf ();
16125   ;
16126   return 0;
16127 }
16128 _ACEOF
16129 rm -f conftest.$ac_objext conftest$ac_exeext
16130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16131   (eval $ac_link) 2>conftest.er1
16132   ac_status=$?
16133   grep -v '^ *+' conftest.er1 >conftest.err
16134   rm -f conftest.er1
16135   cat conftest.err >&5
16136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137   (exit $ac_status); } &&
16138          { ac_try='test -z "$ac_c_werror_flag"
16139                          || test ! -s conftest.err'
16140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141   (eval $ac_try) 2>&5
16142   ac_status=$?
16143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144   (exit $ac_status); }; } &&
16145          { ac_try='test -s conftest$ac_exeext'
16146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16147   (eval $ac_try) 2>&5
16148   ac_status=$?
16149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150   (exit $ac_status); }; }; then
16151   ac_cv_lib_m_nextafterf=yes
16152 else
16153   echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16155
16156 ac_cv_lib_m_nextafterf=no
16157 fi
16158 rm -f conftest.err conftest.$ac_objext \
16159       conftest$ac_exeext conftest.$ac_ext
16160 LIBS=$ac_check_lib_save_LIBS
16161 fi
16162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16163 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16164 if test $ac_cv_lib_m_nextafterf = yes; then
16165
16166 cat >>confdefs.h <<\_ACEOF
16167 #define HAVE_NEXTAFTERF 1
16168 _ACEOF
16169
16170 fi
16171
16172 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16173 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16174 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16175   echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177   ac_check_lib_save_LIBS=$LIBS
16178 LIBS="-lm  $LIBS"
16179 if test x$gcc_no_link = xyes; then
16180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16182    { (exit 1); exit 1; }; }
16183 fi
16184 cat >conftest.$ac_ext <<_ACEOF
16185 /* confdefs.h.  */
16186 _ACEOF
16187 cat confdefs.h >>conftest.$ac_ext
16188 cat >>conftest.$ac_ext <<_ACEOF
16189 /* end confdefs.h.  */
16190
16191 /* Override any gcc2 internal prototype to avoid an error.  */
16192 #ifdef __cplusplus
16193 extern "C"
16194 #endif
16195 /* We use char because int might match the return type of a gcc2
16196    builtin and then its argument prototype would still apply.  */
16197 char nextafter ();
16198 int
16199 main ()
16200 {
16201 nextafter ();
16202   ;
16203   return 0;
16204 }
16205 _ACEOF
16206 rm -f conftest.$ac_objext conftest$ac_exeext
16207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16208   (eval $ac_link) 2>conftest.er1
16209   ac_status=$?
16210   grep -v '^ *+' conftest.er1 >conftest.err
16211   rm -f conftest.er1
16212   cat conftest.err >&5
16213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214   (exit $ac_status); } &&
16215          { ac_try='test -z "$ac_c_werror_flag"
16216                          || test ! -s conftest.err'
16217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218   (eval $ac_try) 2>&5
16219   ac_status=$?
16220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221   (exit $ac_status); }; } &&
16222          { ac_try='test -s conftest$ac_exeext'
16223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224   (eval $ac_try) 2>&5
16225   ac_status=$?
16226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227   (exit $ac_status); }; }; then
16228   ac_cv_lib_m_nextafter=yes
16229 else
16230   echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.$ac_ext >&5
16232
16233 ac_cv_lib_m_nextafter=no
16234 fi
16235 rm -f conftest.err conftest.$ac_objext \
16236       conftest$ac_exeext conftest.$ac_ext
16237 LIBS=$ac_check_lib_save_LIBS
16238 fi
16239 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
16240 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16241 if test $ac_cv_lib_m_nextafter = yes; then
16242
16243 cat >>confdefs.h <<\_ACEOF
16244 #define HAVE_NEXTAFTER 1
16245 _ACEOF
16246
16247 fi
16248
16249 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16250 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16251 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
16252   echo $ECHO_N "(cached) $ECHO_C" >&6
16253 else
16254   ac_check_lib_save_LIBS=$LIBS
16255 LIBS="-lm  $LIBS"
16256 if test x$gcc_no_link = xyes; then
16257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16259    { (exit 1); exit 1; }; }
16260 fi
16261 cat >conftest.$ac_ext <<_ACEOF
16262 /* confdefs.h.  */
16263 _ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h.  */
16267
16268 /* Override any gcc2 internal prototype to avoid an error.  */
16269 #ifdef __cplusplus
16270 extern "C"
16271 #endif
16272 /* We use char because int might match the return type of a gcc2
16273    builtin and then its argument prototype would still apply.  */
16274 char nextafterl ();
16275 int
16276 main ()
16277 {
16278 nextafterl ();
16279   ;
16280   return 0;
16281 }
16282 _ACEOF
16283 rm -f conftest.$ac_objext conftest$ac_exeext
16284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16285   (eval $ac_link) 2>conftest.er1
16286   ac_status=$?
16287   grep -v '^ *+' conftest.er1 >conftest.err
16288   rm -f conftest.er1
16289   cat conftest.err >&5
16290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291   (exit $ac_status); } &&
16292          { ac_try='test -z "$ac_c_werror_flag"
16293                          || test ! -s conftest.err'
16294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295   (eval $ac_try) 2>&5
16296   ac_status=$?
16297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298   (exit $ac_status); }; } &&
16299          { ac_try='test -s conftest$ac_exeext'
16300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301   (eval $ac_try) 2>&5
16302   ac_status=$?
16303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304   (exit $ac_status); }; }; then
16305   ac_cv_lib_m_nextafterl=yes
16306 else
16307   echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.$ac_ext >&5
16309
16310 ac_cv_lib_m_nextafterl=no
16311 fi
16312 rm -f conftest.err conftest.$ac_objext \
16313       conftest$ac_exeext conftest.$ac_ext
16314 LIBS=$ac_check_lib_save_LIBS
16315 fi
16316 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16317 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16318 if test $ac_cv_lib_m_nextafterl = yes; then
16319
16320 cat >>confdefs.h <<\_ACEOF
16321 #define HAVE_NEXTAFTERL 1
16322 _ACEOF
16323
16324 fi
16325
16326 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16327 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16328 if test "${ac_cv_lib_m_powf+set}" = set; then
16329   echo $ECHO_N "(cached) $ECHO_C" >&6
16330 else
16331   ac_check_lib_save_LIBS=$LIBS
16332 LIBS="-lm  $LIBS"
16333 if test x$gcc_no_link = xyes; then
16334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16336    { (exit 1); exit 1; }; }
16337 fi
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h.  */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h.  */
16344
16345 /* Override any gcc2 internal prototype to avoid an error.  */
16346 #ifdef __cplusplus
16347 extern "C"
16348 #endif
16349 /* We use char because int might match the return type of a gcc2
16350    builtin and then its argument prototype would still apply.  */
16351 char powf ();
16352 int
16353 main ()
16354 {
16355 powf ();
16356   ;
16357   return 0;
16358 }
16359 _ACEOF
16360 rm -f conftest.$ac_objext conftest$ac_exeext
16361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16362   (eval $ac_link) 2>conftest.er1
16363   ac_status=$?
16364   grep -v '^ *+' conftest.er1 >conftest.err
16365   rm -f conftest.er1
16366   cat conftest.err >&5
16367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368   (exit $ac_status); } &&
16369          { ac_try='test -z "$ac_c_werror_flag"
16370                          || test ! -s conftest.err'
16371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372   (eval $ac_try) 2>&5
16373   ac_status=$?
16374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375   (exit $ac_status); }; } &&
16376          { ac_try='test -s conftest$ac_exeext'
16377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378   (eval $ac_try) 2>&5
16379   ac_status=$?
16380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381   (exit $ac_status); }; }; then
16382   ac_cv_lib_m_powf=yes
16383 else
16384   echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.$ac_ext >&5
16386
16387 ac_cv_lib_m_powf=no
16388 fi
16389 rm -f conftest.err conftest.$ac_objext \
16390       conftest$ac_exeext conftest.$ac_ext
16391 LIBS=$ac_check_lib_save_LIBS
16392 fi
16393 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
16394 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
16395 if test $ac_cv_lib_m_powf = yes; then
16396
16397 cat >>confdefs.h <<\_ACEOF
16398 #define HAVE_POWF 1
16399 _ACEOF
16400
16401 fi
16402
16403 echo "$as_me:$LINENO: checking for pow in -lm" >&5
16404 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
16405 if test "${ac_cv_lib_m_pow+set}" = set; then
16406   echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16408   ac_check_lib_save_LIBS=$LIBS
16409 LIBS="-lm  $LIBS"
16410 if test x$gcc_no_link = xyes; then
16411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16413    { (exit 1); exit 1; }; }
16414 fi
16415 cat >conftest.$ac_ext <<_ACEOF
16416 /* confdefs.h.  */
16417 _ACEOF
16418 cat confdefs.h >>conftest.$ac_ext
16419 cat >>conftest.$ac_ext <<_ACEOF
16420 /* end confdefs.h.  */
16421
16422 /* Override any gcc2 internal prototype to avoid an error.  */
16423 #ifdef __cplusplus
16424 extern "C"
16425 #endif
16426 /* We use char because int might match the return type of a gcc2
16427    builtin and then its argument prototype would still apply.  */
16428 char pow ();
16429 int
16430 main ()
16431 {
16432 pow ();
16433   ;
16434   return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest.$ac_objext conftest$ac_exeext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439   (eval $ac_link) 2>conftest.er1
16440   ac_status=$?
16441   grep -v '^ *+' conftest.er1 >conftest.err
16442   rm -f conftest.er1
16443   cat conftest.err >&5
16444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445   (exit $ac_status); } &&
16446          { ac_try='test -z "$ac_c_werror_flag"
16447                          || test ! -s conftest.err'
16448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449   (eval $ac_try) 2>&5
16450   ac_status=$?
16451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452   (exit $ac_status); }; } &&
16453          { ac_try='test -s conftest$ac_exeext'
16454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455   (eval $ac_try) 2>&5
16456   ac_status=$?
16457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458   (exit $ac_status); }; }; then
16459   ac_cv_lib_m_pow=yes
16460 else
16461   echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16463
16464 ac_cv_lib_m_pow=no
16465 fi
16466 rm -f conftest.err conftest.$ac_objext \
16467       conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16469 fi
16470 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16471 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
16472 if test $ac_cv_lib_m_pow = yes; then
16473
16474 cat >>confdefs.h <<\_ACEOF
16475 #define HAVE_POW 1
16476 _ACEOF
16477
16478 fi
16479
16480 echo "$as_me:$LINENO: checking for powl in -lm" >&5
16481 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
16482 if test "${ac_cv_lib_m_powl+set}" = set; then
16483   echo $ECHO_N "(cached) $ECHO_C" >&6
16484 else
16485   ac_check_lib_save_LIBS=$LIBS
16486 LIBS="-lm  $LIBS"
16487 if test x$gcc_no_link = xyes; then
16488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16490    { (exit 1); exit 1; }; }
16491 fi
16492 cat >conftest.$ac_ext <<_ACEOF
16493 /* confdefs.h.  */
16494 _ACEOF
16495 cat confdefs.h >>conftest.$ac_ext
16496 cat >>conftest.$ac_ext <<_ACEOF
16497 /* end confdefs.h.  */
16498
16499 /* Override any gcc2 internal prototype to avoid an error.  */
16500 #ifdef __cplusplus
16501 extern "C"
16502 #endif
16503 /* We use char because int might match the return type of a gcc2
16504    builtin and then its argument prototype would still apply.  */
16505 char powl ();
16506 int
16507 main ()
16508 {
16509 powl ();
16510   ;
16511   return 0;
16512 }
16513 _ACEOF
16514 rm -f conftest.$ac_objext conftest$ac_exeext
16515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16516   (eval $ac_link) 2>conftest.er1
16517   ac_status=$?
16518   grep -v '^ *+' conftest.er1 >conftest.err
16519   rm -f conftest.er1
16520   cat conftest.err >&5
16521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522   (exit $ac_status); } &&
16523          { ac_try='test -z "$ac_c_werror_flag"
16524                          || test ! -s conftest.err'
16525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526   (eval $ac_try) 2>&5
16527   ac_status=$?
16528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529   (exit $ac_status); }; } &&
16530          { ac_try='test -s conftest$ac_exeext'
16531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16532   (eval $ac_try) 2>&5
16533   ac_status=$?
16534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535   (exit $ac_status); }; }; then
16536   ac_cv_lib_m_powl=yes
16537 else
16538   echo "$as_me: failed program was:" >&5
16539 sed 's/^/| /' conftest.$ac_ext >&5
16540
16541 ac_cv_lib_m_powl=no
16542 fi
16543 rm -f conftest.err conftest.$ac_objext \
16544       conftest$ac_exeext conftest.$ac_ext
16545 LIBS=$ac_check_lib_save_LIBS
16546 fi
16547 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
16548 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
16549 if test $ac_cv_lib_m_powl = yes; then
16550
16551 cat >>confdefs.h <<\_ACEOF
16552 #define HAVE_POWL 1
16553 _ACEOF
16554
16555 fi
16556
16557 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
16558 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
16559 if test "${ac_cv_lib_m_cpowf+set}" = set; then
16560   echo $ECHO_N "(cached) $ECHO_C" >&6
16561 else
16562   ac_check_lib_save_LIBS=$LIBS
16563 LIBS="-lm  $LIBS"
16564 if test x$gcc_no_link = xyes; then
16565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16567    { (exit 1); exit 1; }; }
16568 fi
16569 cat >conftest.$ac_ext <<_ACEOF
16570 /* confdefs.h.  */
16571 _ACEOF
16572 cat confdefs.h >>conftest.$ac_ext
16573 cat >>conftest.$ac_ext <<_ACEOF
16574 /* end confdefs.h.  */
16575
16576 /* Override any gcc2 internal prototype to avoid an error.  */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 /* We use char because int might match the return type of a gcc2
16581    builtin and then its argument prototype would still apply.  */
16582 char cpowf ();
16583 int
16584 main ()
16585 {
16586 cpowf ();
16587   ;
16588   return 0;
16589 }
16590 _ACEOF
16591 rm -f conftest.$ac_objext conftest$ac_exeext
16592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16593   (eval $ac_link) 2>conftest.er1
16594   ac_status=$?
16595   grep -v '^ *+' conftest.er1 >conftest.err
16596   rm -f conftest.er1
16597   cat conftest.err >&5
16598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599   (exit $ac_status); } &&
16600          { ac_try='test -z "$ac_c_werror_flag"
16601                          || test ! -s conftest.err'
16602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603   (eval $ac_try) 2>&5
16604   ac_status=$?
16605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606   (exit $ac_status); }; } &&
16607          { ac_try='test -s conftest$ac_exeext'
16608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609   (eval $ac_try) 2>&5
16610   ac_status=$?
16611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612   (exit $ac_status); }; }; then
16613   ac_cv_lib_m_cpowf=yes
16614 else
16615   echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16617
16618 ac_cv_lib_m_cpowf=no
16619 fi
16620 rm -f conftest.err conftest.$ac_objext \
16621       conftest$ac_exeext conftest.$ac_ext
16622 LIBS=$ac_check_lib_save_LIBS
16623 fi
16624 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
16625 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
16626 if test $ac_cv_lib_m_cpowf = yes; then
16627
16628 cat >>confdefs.h <<\_ACEOF
16629 #define HAVE_CPOWF 1
16630 _ACEOF
16631
16632 fi
16633
16634 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
16635 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
16636 if test "${ac_cv_lib_m_cpow+set}" = set; then
16637   echo $ECHO_N "(cached) $ECHO_C" >&6
16638 else
16639   ac_check_lib_save_LIBS=$LIBS
16640 LIBS="-lm  $LIBS"
16641 if test x$gcc_no_link = xyes; then
16642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16644    { (exit 1); exit 1; }; }
16645 fi
16646 cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h.  */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h.  */
16652
16653 /* Override any gcc2 internal prototype to avoid an error.  */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 /* We use char because int might match the return type of a gcc2
16658    builtin and then its argument prototype would still apply.  */
16659 char cpow ();
16660 int
16661 main ()
16662 {
16663 cpow ();
16664   ;
16665   return 0;
16666 }
16667 _ACEOF
16668 rm -f conftest.$ac_objext conftest$ac_exeext
16669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16670   (eval $ac_link) 2>conftest.er1
16671   ac_status=$?
16672   grep -v '^ *+' conftest.er1 >conftest.err
16673   rm -f conftest.er1
16674   cat conftest.err >&5
16675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676   (exit $ac_status); } &&
16677          { ac_try='test -z "$ac_c_werror_flag"
16678                          || test ! -s conftest.err'
16679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16680   (eval $ac_try) 2>&5
16681   ac_status=$?
16682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683   (exit $ac_status); }; } &&
16684          { ac_try='test -s conftest$ac_exeext'
16685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686   (eval $ac_try) 2>&5
16687   ac_status=$?
16688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689   (exit $ac_status); }; }; then
16690   ac_cv_lib_m_cpow=yes
16691 else
16692   echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5
16694
16695 ac_cv_lib_m_cpow=no
16696 fi
16697 rm -f conftest.err conftest.$ac_objext \
16698       conftest$ac_exeext conftest.$ac_ext
16699 LIBS=$ac_check_lib_save_LIBS
16700 fi
16701 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
16702 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
16703 if test $ac_cv_lib_m_cpow = yes; then
16704
16705 cat >>confdefs.h <<\_ACEOF
16706 #define HAVE_CPOW 1
16707 _ACEOF
16708
16709 fi
16710
16711 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
16712 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
16713 if test "${ac_cv_lib_m_cpowl+set}" = set; then
16714   echo $ECHO_N "(cached) $ECHO_C" >&6
16715 else
16716   ac_check_lib_save_LIBS=$LIBS
16717 LIBS="-lm  $LIBS"
16718 if test x$gcc_no_link = xyes; then
16719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16721    { (exit 1); exit 1; }; }
16722 fi
16723 cat >conftest.$ac_ext <<_ACEOF
16724 /* confdefs.h.  */
16725 _ACEOF
16726 cat confdefs.h >>conftest.$ac_ext
16727 cat >>conftest.$ac_ext <<_ACEOF
16728 /* end confdefs.h.  */
16729
16730 /* Override any gcc2 internal prototype to avoid an error.  */
16731 #ifdef __cplusplus
16732 extern "C"
16733 #endif
16734 /* We use char because int might match the return type of a gcc2
16735    builtin and then its argument prototype would still apply.  */
16736 char cpowl ();
16737 int
16738 main ()
16739 {
16740 cpowl ();
16741   ;
16742   return 0;
16743 }
16744 _ACEOF
16745 rm -f conftest.$ac_objext conftest$ac_exeext
16746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16747   (eval $ac_link) 2>conftest.er1
16748   ac_status=$?
16749   grep -v '^ *+' conftest.er1 >conftest.err
16750   rm -f conftest.er1
16751   cat conftest.err >&5
16752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753   (exit $ac_status); } &&
16754          { ac_try='test -z "$ac_c_werror_flag"
16755                          || test ! -s conftest.err'
16756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757   (eval $ac_try) 2>&5
16758   ac_status=$?
16759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760   (exit $ac_status); }; } &&
16761          { ac_try='test -s conftest$ac_exeext'
16762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763   (eval $ac_try) 2>&5
16764   ac_status=$?
16765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766   (exit $ac_status); }; }; then
16767   ac_cv_lib_m_cpowl=yes
16768 else
16769   echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.$ac_ext >&5
16771
16772 ac_cv_lib_m_cpowl=no
16773 fi
16774 rm -f conftest.err conftest.$ac_objext \
16775       conftest$ac_exeext conftest.$ac_ext
16776 LIBS=$ac_check_lib_save_LIBS
16777 fi
16778 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
16779 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
16780 if test $ac_cv_lib_m_cpowl = yes; then
16781
16782 cat >>confdefs.h <<\_ACEOF
16783 #define HAVE_CPOWL 1
16784 _ACEOF
16785
16786 fi
16787
16788 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
16789 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
16790 if test "${ac_cv_lib_m_roundf+set}" = set; then
16791   echo $ECHO_N "(cached) $ECHO_C" >&6
16792 else
16793   ac_check_lib_save_LIBS=$LIBS
16794 LIBS="-lm  $LIBS"
16795 if test x$gcc_no_link = xyes; then
16796   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16798    { (exit 1); exit 1; }; }
16799 fi
16800 cat >conftest.$ac_ext <<_ACEOF
16801 /* confdefs.h.  */
16802 _ACEOF
16803 cat confdefs.h >>conftest.$ac_ext
16804 cat >>conftest.$ac_ext <<_ACEOF
16805 /* end confdefs.h.  */
16806
16807 /* Override any gcc2 internal prototype to avoid an error.  */
16808 #ifdef __cplusplus
16809 extern "C"
16810 #endif
16811 /* We use char because int might match the return type of a gcc2
16812    builtin and then its argument prototype would still apply.  */
16813 char roundf ();
16814 int
16815 main ()
16816 {
16817 roundf ();
16818   ;
16819   return 0;
16820 }
16821 _ACEOF
16822 rm -f conftest.$ac_objext conftest$ac_exeext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16824   (eval $ac_link) 2>conftest.er1
16825   ac_status=$?
16826   grep -v '^ *+' conftest.er1 >conftest.err
16827   rm -f conftest.er1
16828   cat conftest.err >&5
16829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830   (exit $ac_status); } &&
16831          { ac_try='test -z "$ac_c_werror_flag"
16832                          || test ! -s conftest.err'
16833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834   (eval $ac_try) 2>&5
16835   ac_status=$?
16836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837   (exit $ac_status); }; } &&
16838          { ac_try='test -s conftest$ac_exeext'
16839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840   (eval $ac_try) 2>&5
16841   ac_status=$?
16842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843   (exit $ac_status); }; }; then
16844   ac_cv_lib_m_roundf=yes
16845 else
16846   echo "$as_me: failed program was:" >&5
16847 sed 's/^/| /' conftest.$ac_ext >&5
16848
16849 ac_cv_lib_m_roundf=no
16850 fi
16851 rm -f conftest.err conftest.$ac_objext \
16852       conftest$ac_exeext conftest.$ac_ext
16853 LIBS=$ac_check_lib_save_LIBS
16854 fi
16855 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
16856 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
16857 if test $ac_cv_lib_m_roundf = yes; then
16858
16859 cat >>confdefs.h <<\_ACEOF
16860 #define HAVE_ROUNDF 1
16861 _ACEOF
16862
16863 fi
16864
16865 echo "$as_me:$LINENO: checking for round in -lm" >&5
16866 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
16867 if test "${ac_cv_lib_m_round+set}" = set; then
16868   echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870   ac_check_lib_save_LIBS=$LIBS
16871 LIBS="-lm  $LIBS"
16872 if test x$gcc_no_link = xyes; then
16873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16875    { (exit 1); exit 1; }; }
16876 fi
16877 cat >conftest.$ac_ext <<_ACEOF
16878 /* confdefs.h.  */
16879 _ACEOF
16880 cat confdefs.h >>conftest.$ac_ext
16881 cat >>conftest.$ac_ext <<_ACEOF
16882 /* end confdefs.h.  */
16883
16884 /* Override any gcc2 internal prototype to avoid an error.  */
16885 #ifdef __cplusplus
16886 extern "C"
16887 #endif
16888 /* We use char because int might match the return type of a gcc2
16889    builtin and then its argument prototype would still apply.  */
16890 char round ();
16891 int
16892 main ()
16893 {
16894 round ();
16895   ;
16896   return 0;
16897 }
16898 _ACEOF
16899 rm -f conftest.$ac_objext conftest$ac_exeext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16901   (eval $ac_link) 2>conftest.er1
16902   ac_status=$?
16903   grep -v '^ *+' conftest.er1 >conftest.err
16904   rm -f conftest.er1
16905   cat conftest.err >&5
16906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907   (exit $ac_status); } &&
16908          { ac_try='test -z "$ac_c_werror_flag"
16909                          || test ! -s conftest.err'
16910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911   (eval $ac_try) 2>&5
16912   ac_status=$?
16913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914   (exit $ac_status); }; } &&
16915          { ac_try='test -s conftest$ac_exeext'
16916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917   (eval $ac_try) 2>&5
16918   ac_status=$?
16919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920   (exit $ac_status); }; }; then
16921   ac_cv_lib_m_round=yes
16922 else
16923   echo "$as_me: failed program was:" >&5
16924 sed 's/^/| /' conftest.$ac_ext >&5
16925
16926 ac_cv_lib_m_round=no
16927 fi
16928 rm -f conftest.err conftest.$ac_objext \
16929       conftest$ac_exeext conftest.$ac_ext
16930 LIBS=$ac_check_lib_save_LIBS
16931 fi
16932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
16933 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
16934 if test $ac_cv_lib_m_round = yes; then
16935
16936 cat >>confdefs.h <<\_ACEOF
16937 #define HAVE_ROUND 1
16938 _ACEOF
16939
16940 fi
16941
16942 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
16943 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
16944 if test "${ac_cv_lib_m_roundl+set}" = set; then
16945   echo $ECHO_N "(cached) $ECHO_C" >&6
16946 else
16947   ac_check_lib_save_LIBS=$LIBS
16948 LIBS="-lm  $LIBS"
16949 if test x$gcc_no_link = xyes; then
16950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16952    { (exit 1); exit 1; }; }
16953 fi
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h.  */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h.  */
16960
16961 /* Override any gcc2 internal prototype to avoid an error.  */
16962 #ifdef __cplusplus
16963 extern "C"
16964 #endif
16965 /* We use char because int might match the return type of a gcc2
16966    builtin and then its argument prototype would still apply.  */
16967 char roundl ();
16968 int
16969 main ()
16970 {
16971 roundl ();
16972   ;
16973   return 0;
16974 }
16975 _ACEOF
16976 rm -f conftest.$ac_objext conftest$ac_exeext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16978   (eval $ac_link) 2>conftest.er1
16979   ac_status=$?
16980   grep -v '^ *+' conftest.er1 >conftest.err
16981   rm -f conftest.er1
16982   cat conftest.err >&5
16983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984   (exit $ac_status); } &&
16985          { ac_try='test -z "$ac_c_werror_flag"
16986                          || test ! -s conftest.err'
16987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988   (eval $ac_try) 2>&5
16989   ac_status=$?
16990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991   (exit $ac_status); }; } &&
16992          { ac_try='test -s conftest$ac_exeext'
16993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994   (eval $ac_try) 2>&5
16995   ac_status=$?
16996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997   (exit $ac_status); }; }; then
16998   ac_cv_lib_m_roundl=yes
16999 else
17000   echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17002
17003 ac_cv_lib_m_roundl=no
17004 fi
17005 rm -f conftest.err conftest.$ac_objext \
17006       conftest$ac_exeext conftest.$ac_ext
17007 LIBS=$ac_check_lib_save_LIBS
17008 fi
17009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17010 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17011 if test $ac_cv_lib_m_roundl = yes; then
17012
17013 cat >>confdefs.h <<\_ACEOF
17014 #define HAVE_ROUNDL 1
17015 _ACEOF
17016
17017 fi
17018
17019 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17020 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17021 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17022   echo $ECHO_N "(cached) $ECHO_C" >&6
17023 else
17024   ac_check_lib_save_LIBS=$LIBS
17025 LIBS="-lm  $LIBS"
17026 if test x$gcc_no_link = xyes; then
17027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17029    { (exit 1); exit 1; }; }
17030 fi
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h.  */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h.  */
17037
17038 /* Override any gcc2 internal prototype to avoid an error.  */
17039 #ifdef __cplusplus
17040 extern "C"
17041 #endif
17042 /* We use char because int might match the return type of a gcc2
17043    builtin and then its argument prototype would still apply.  */
17044 char scalbnf ();
17045 int
17046 main ()
17047 {
17048 scalbnf ();
17049   ;
17050   return 0;
17051 }
17052 _ACEOF
17053 rm -f conftest.$ac_objext conftest$ac_exeext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17055   (eval $ac_link) 2>conftest.er1
17056   ac_status=$?
17057   grep -v '^ *+' conftest.er1 >conftest.err
17058   rm -f conftest.er1
17059   cat conftest.err >&5
17060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061   (exit $ac_status); } &&
17062          { ac_try='test -z "$ac_c_werror_flag"
17063                          || test ! -s conftest.err'
17064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065   (eval $ac_try) 2>&5
17066   ac_status=$?
17067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068   (exit $ac_status); }; } &&
17069          { ac_try='test -s conftest$ac_exeext'
17070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071   (eval $ac_try) 2>&5
17072   ac_status=$?
17073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074   (exit $ac_status); }; }; then
17075   ac_cv_lib_m_scalbnf=yes
17076 else
17077   echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 ac_cv_lib_m_scalbnf=no
17081 fi
17082 rm -f conftest.err conftest.$ac_objext \
17083       conftest$ac_exeext conftest.$ac_ext
17084 LIBS=$ac_check_lib_save_LIBS
17085 fi
17086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17087 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17088 if test $ac_cv_lib_m_scalbnf = yes; then
17089
17090 cat >>confdefs.h <<\_ACEOF
17091 #define HAVE_SCALBNF 1
17092 _ACEOF
17093
17094 fi
17095
17096 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17097 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17098 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17099   echo $ECHO_N "(cached) $ECHO_C" >&6
17100 else
17101   ac_check_lib_save_LIBS=$LIBS
17102 LIBS="-lm  $LIBS"
17103 if test x$gcc_no_link = xyes; then
17104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17106    { (exit 1); exit 1; }; }
17107 fi
17108 cat >conftest.$ac_ext <<_ACEOF
17109 /* confdefs.h.  */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h.  */
17114
17115 /* Override any gcc2 internal prototype to avoid an error.  */
17116 #ifdef __cplusplus
17117 extern "C"
17118 #endif
17119 /* We use char because int might match the return type of a gcc2
17120    builtin and then its argument prototype would still apply.  */
17121 char scalbn ();
17122 int
17123 main ()
17124 {
17125 scalbn ();
17126   ;
17127   return 0;
17128 }
17129 _ACEOF
17130 rm -f conftest.$ac_objext conftest$ac_exeext
17131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17132   (eval $ac_link) 2>conftest.er1
17133   ac_status=$?
17134   grep -v '^ *+' conftest.er1 >conftest.err
17135   rm -f conftest.er1
17136   cat conftest.err >&5
17137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138   (exit $ac_status); } &&
17139          { ac_try='test -z "$ac_c_werror_flag"
17140                          || test ! -s conftest.err'
17141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17142   (eval $ac_try) 2>&5
17143   ac_status=$?
17144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145   (exit $ac_status); }; } &&
17146          { ac_try='test -s conftest$ac_exeext'
17147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148   (eval $ac_try) 2>&5
17149   ac_status=$?
17150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151   (exit $ac_status); }; }; then
17152   ac_cv_lib_m_scalbn=yes
17153 else
17154   echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.$ac_ext >&5
17156
17157 ac_cv_lib_m_scalbn=no
17158 fi
17159 rm -f conftest.err conftest.$ac_objext \
17160       conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS
17162 fi
17163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17164 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17165 if test $ac_cv_lib_m_scalbn = yes; then
17166
17167 cat >>confdefs.h <<\_ACEOF
17168 #define HAVE_SCALBN 1
17169 _ACEOF
17170
17171 fi
17172
17173 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17174 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17175 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17176   echo $ECHO_N "(cached) $ECHO_C" >&6
17177 else
17178   ac_check_lib_save_LIBS=$LIBS
17179 LIBS="-lm  $LIBS"
17180 if test x$gcc_no_link = xyes; then
17181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17183    { (exit 1); exit 1; }; }
17184 fi
17185 cat >conftest.$ac_ext <<_ACEOF
17186 /* confdefs.h.  */
17187 _ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h.  */
17191
17192 /* Override any gcc2 internal prototype to avoid an error.  */
17193 #ifdef __cplusplus
17194 extern "C"
17195 #endif
17196 /* We use char because int might match the return type of a gcc2
17197    builtin and then its argument prototype would still apply.  */
17198 char scalbnl ();
17199 int
17200 main ()
17201 {
17202 scalbnl ();
17203   ;
17204   return 0;
17205 }
17206 _ACEOF
17207 rm -f conftest.$ac_objext conftest$ac_exeext
17208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17209   (eval $ac_link) 2>conftest.er1
17210   ac_status=$?
17211   grep -v '^ *+' conftest.er1 >conftest.err
17212   rm -f conftest.er1
17213   cat conftest.err >&5
17214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215   (exit $ac_status); } &&
17216          { ac_try='test -z "$ac_c_werror_flag"
17217                          || test ! -s conftest.err'
17218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17219   (eval $ac_try) 2>&5
17220   ac_status=$?
17221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222   (exit $ac_status); }; } &&
17223          { ac_try='test -s conftest$ac_exeext'
17224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17225   (eval $ac_try) 2>&5
17226   ac_status=$?
17227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228   (exit $ac_status); }; }; then
17229   ac_cv_lib_m_scalbnl=yes
17230 else
17231   echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.$ac_ext >&5
17233
17234 ac_cv_lib_m_scalbnl=no
17235 fi
17236 rm -f conftest.err conftest.$ac_objext \
17237       conftest$ac_exeext conftest.$ac_ext
17238 LIBS=$ac_check_lib_save_LIBS
17239 fi
17240 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
17241 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
17242 if test $ac_cv_lib_m_scalbnl = yes; then
17243
17244 cat >>confdefs.h <<\_ACEOF
17245 #define HAVE_SCALBNL 1
17246 _ACEOF
17247
17248 fi
17249
17250 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17251 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17252 if test "${ac_cv_lib_m_sinf+set}" = set; then
17253   echo $ECHO_N "(cached) $ECHO_C" >&6
17254 else
17255   ac_check_lib_save_LIBS=$LIBS
17256 LIBS="-lm  $LIBS"
17257 if test x$gcc_no_link = xyes; then
17258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17260    { (exit 1); exit 1; }; }
17261 fi
17262 cat >conftest.$ac_ext <<_ACEOF
17263 /* confdefs.h.  */
17264 _ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h.  */
17268
17269 /* Override any gcc2 internal prototype to avoid an error.  */
17270 #ifdef __cplusplus
17271 extern "C"
17272 #endif
17273 /* We use char because int might match the return type of a gcc2
17274    builtin and then its argument prototype would still apply.  */
17275 char sinf ();
17276 int
17277 main ()
17278 {
17279 sinf ();
17280   ;
17281   return 0;
17282 }
17283 _ACEOF
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17286   (eval $ac_link) 2>conftest.er1
17287   ac_status=$?
17288   grep -v '^ *+' conftest.er1 >conftest.err
17289   rm -f conftest.er1
17290   cat conftest.err >&5
17291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292   (exit $ac_status); } &&
17293          { ac_try='test -z "$ac_c_werror_flag"
17294                          || test ! -s conftest.err'
17295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296   (eval $ac_try) 2>&5
17297   ac_status=$?
17298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299   (exit $ac_status); }; } &&
17300          { ac_try='test -s conftest$ac_exeext'
17301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302   (eval $ac_try) 2>&5
17303   ac_status=$?
17304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305   (exit $ac_status); }; }; then
17306   ac_cv_lib_m_sinf=yes
17307 else
17308   echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17310
17311 ac_cv_lib_m_sinf=no
17312 fi
17313 rm -f conftest.err conftest.$ac_objext \
17314       conftest$ac_exeext conftest.$ac_ext
17315 LIBS=$ac_check_lib_save_LIBS
17316 fi
17317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17318 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17319 if test $ac_cv_lib_m_sinf = yes; then
17320
17321 cat >>confdefs.h <<\_ACEOF
17322 #define HAVE_SINF 1
17323 _ACEOF
17324
17325 fi
17326
17327 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17328 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17329 if test "${ac_cv_lib_m_sin+set}" = set; then
17330   echo $ECHO_N "(cached) $ECHO_C" >&6
17331 else
17332   ac_check_lib_save_LIBS=$LIBS
17333 LIBS="-lm  $LIBS"
17334 if test x$gcc_no_link = xyes; then
17335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17337    { (exit 1); exit 1; }; }
17338 fi
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h.  */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h.  */
17345
17346 /* Override any gcc2 internal prototype to avoid an error.  */
17347 #ifdef __cplusplus
17348 extern "C"
17349 #endif
17350 /* We use char because int might match the return type of a gcc2
17351    builtin and then its argument prototype would still apply.  */
17352 char sin ();
17353 int
17354 main ()
17355 {
17356 sin ();
17357   ;
17358   return 0;
17359 }
17360 _ACEOF
17361 rm -f conftest.$ac_objext conftest$ac_exeext
17362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17363   (eval $ac_link) 2>conftest.er1
17364   ac_status=$?
17365   grep -v '^ *+' conftest.er1 >conftest.err
17366   rm -f conftest.er1
17367   cat conftest.err >&5
17368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369   (exit $ac_status); } &&
17370          { ac_try='test -z "$ac_c_werror_flag"
17371                          || test ! -s conftest.err'
17372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373   (eval $ac_try) 2>&5
17374   ac_status=$?
17375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376   (exit $ac_status); }; } &&
17377          { ac_try='test -s conftest$ac_exeext'
17378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379   (eval $ac_try) 2>&5
17380   ac_status=$?
17381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382   (exit $ac_status); }; }; then
17383   ac_cv_lib_m_sin=yes
17384 else
17385   echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17387
17388 ac_cv_lib_m_sin=no
17389 fi
17390 rm -f conftest.err conftest.$ac_objext \
17391       conftest$ac_exeext conftest.$ac_ext
17392 LIBS=$ac_check_lib_save_LIBS
17393 fi
17394 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17395 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17396 if test $ac_cv_lib_m_sin = yes; then
17397
17398 cat >>confdefs.h <<\_ACEOF
17399 #define HAVE_SIN 1
17400 _ACEOF
17401
17402 fi
17403
17404 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
17405 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
17406 if test "${ac_cv_lib_m_sinl+set}" = set; then
17407   echo $ECHO_N "(cached) $ECHO_C" >&6
17408 else
17409   ac_check_lib_save_LIBS=$LIBS
17410 LIBS="-lm  $LIBS"
17411 if test x$gcc_no_link = xyes; then
17412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17414    { (exit 1); exit 1; }; }
17415 fi
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h.  */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h.  */
17422
17423 /* Override any gcc2 internal prototype to avoid an error.  */
17424 #ifdef __cplusplus
17425 extern "C"
17426 #endif
17427 /* We use char because int might match the return type of a gcc2
17428    builtin and then its argument prototype would still apply.  */
17429 char sinl ();
17430 int
17431 main ()
17432 {
17433 sinl ();
17434   ;
17435   return 0;
17436 }
17437 _ACEOF
17438 rm -f conftest.$ac_objext conftest$ac_exeext
17439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17440   (eval $ac_link) 2>conftest.er1
17441   ac_status=$?
17442   grep -v '^ *+' conftest.er1 >conftest.err
17443   rm -f conftest.er1
17444   cat conftest.err >&5
17445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446   (exit $ac_status); } &&
17447          { ac_try='test -z "$ac_c_werror_flag"
17448                          || test ! -s conftest.err'
17449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450   (eval $ac_try) 2>&5
17451   ac_status=$?
17452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453   (exit $ac_status); }; } &&
17454          { ac_try='test -s conftest$ac_exeext'
17455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456   (eval $ac_try) 2>&5
17457   ac_status=$?
17458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459   (exit $ac_status); }; }; then
17460   ac_cv_lib_m_sinl=yes
17461 else
17462   echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465 ac_cv_lib_m_sinl=no
17466 fi
17467 rm -f conftest.err conftest.$ac_objext \
17468       conftest$ac_exeext conftest.$ac_ext
17469 LIBS=$ac_check_lib_save_LIBS
17470 fi
17471 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
17472 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
17473 if test $ac_cv_lib_m_sinl = yes; then
17474
17475 cat >>confdefs.h <<\_ACEOF
17476 #define HAVE_SINL 1
17477 _ACEOF
17478
17479 fi
17480
17481 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
17482 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
17483 if test "${ac_cv_lib_m_csinf+set}" = set; then
17484   echo $ECHO_N "(cached) $ECHO_C" >&6
17485 else
17486   ac_check_lib_save_LIBS=$LIBS
17487 LIBS="-lm  $LIBS"
17488 if test x$gcc_no_link = xyes; then
17489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17491    { (exit 1); exit 1; }; }
17492 fi
17493 cat >conftest.$ac_ext <<_ACEOF
17494 /* confdefs.h.  */
17495 _ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h.  */
17499
17500 /* Override any gcc2 internal prototype to avoid an error.  */
17501 #ifdef __cplusplus
17502 extern "C"
17503 #endif
17504 /* We use char because int might match the return type of a gcc2
17505    builtin and then its argument prototype would still apply.  */
17506 char csinf ();
17507 int
17508 main ()
17509 {
17510 csinf ();
17511   ;
17512   return 0;
17513 }
17514 _ACEOF
17515 rm -f conftest.$ac_objext conftest$ac_exeext
17516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17517   (eval $ac_link) 2>conftest.er1
17518   ac_status=$?
17519   grep -v '^ *+' conftest.er1 >conftest.err
17520   rm -f conftest.er1
17521   cat conftest.err >&5
17522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523   (exit $ac_status); } &&
17524          { ac_try='test -z "$ac_c_werror_flag"
17525                          || test ! -s conftest.err'
17526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527   (eval $ac_try) 2>&5
17528   ac_status=$?
17529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530   (exit $ac_status); }; } &&
17531          { ac_try='test -s conftest$ac_exeext'
17532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533   (eval $ac_try) 2>&5
17534   ac_status=$?
17535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536   (exit $ac_status); }; }; then
17537   ac_cv_lib_m_csinf=yes
17538 else
17539   echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17541
17542 ac_cv_lib_m_csinf=no
17543 fi
17544 rm -f conftest.err conftest.$ac_objext \
17545       conftest$ac_exeext conftest.$ac_ext
17546 LIBS=$ac_check_lib_save_LIBS
17547 fi
17548 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
17549 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
17550 if test $ac_cv_lib_m_csinf = yes; then
17551
17552 cat >>confdefs.h <<\_ACEOF
17553 #define HAVE_CSINF 1
17554 _ACEOF
17555
17556 fi
17557
17558 echo "$as_me:$LINENO: checking for csin in -lm" >&5
17559 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
17560 if test "${ac_cv_lib_m_csin+set}" = set; then
17561   echo $ECHO_N "(cached) $ECHO_C" >&6
17562 else
17563   ac_check_lib_save_LIBS=$LIBS
17564 LIBS="-lm  $LIBS"
17565 if test x$gcc_no_link = xyes; then
17566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17568    { (exit 1); exit 1; }; }
17569 fi
17570 cat >conftest.$ac_ext <<_ACEOF
17571 /* confdefs.h.  */
17572 _ACEOF
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h.  */
17576
17577 /* Override any gcc2 internal prototype to avoid an error.  */
17578 #ifdef __cplusplus
17579 extern "C"
17580 #endif
17581 /* We use char because int might match the return type of a gcc2
17582    builtin and then its argument prototype would still apply.  */
17583 char csin ();
17584 int
17585 main ()
17586 {
17587 csin ();
17588   ;
17589   return 0;
17590 }
17591 _ACEOF
17592 rm -f conftest.$ac_objext conftest$ac_exeext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17594   (eval $ac_link) 2>conftest.er1
17595   ac_status=$?
17596   grep -v '^ *+' conftest.er1 >conftest.err
17597   rm -f conftest.er1
17598   cat conftest.err >&5
17599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600   (exit $ac_status); } &&
17601          { ac_try='test -z "$ac_c_werror_flag"
17602                          || test ! -s conftest.err'
17603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604   (eval $ac_try) 2>&5
17605   ac_status=$?
17606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607   (exit $ac_status); }; } &&
17608          { ac_try='test -s conftest$ac_exeext'
17609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610   (eval $ac_try) 2>&5
17611   ac_status=$?
17612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613   (exit $ac_status); }; }; then
17614   ac_cv_lib_m_csin=yes
17615 else
17616   echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17618
17619 ac_cv_lib_m_csin=no
17620 fi
17621 rm -f conftest.err conftest.$ac_objext \
17622       conftest$ac_exeext conftest.$ac_ext
17623 LIBS=$ac_check_lib_save_LIBS
17624 fi
17625 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
17626 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
17627 if test $ac_cv_lib_m_csin = yes; then
17628
17629 cat >>confdefs.h <<\_ACEOF
17630 #define HAVE_CSIN 1
17631 _ACEOF
17632
17633 fi
17634
17635 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
17636 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
17637 if test "${ac_cv_lib_m_csinl+set}" = set; then
17638   echo $ECHO_N "(cached) $ECHO_C" >&6
17639 else
17640   ac_check_lib_save_LIBS=$LIBS
17641 LIBS="-lm  $LIBS"
17642 if test x$gcc_no_link = xyes; then
17643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17645    { (exit 1); exit 1; }; }
17646 fi
17647 cat >conftest.$ac_ext <<_ACEOF
17648 /* confdefs.h.  */
17649 _ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h.  */
17653
17654 /* Override any gcc2 internal prototype to avoid an error.  */
17655 #ifdef __cplusplus
17656 extern "C"
17657 #endif
17658 /* We use char because int might match the return type of a gcc2
17659    builtin and then its argument prototype would still apply.  */
17660 char csinl ();
17661 int
17662 main ()
17663 {
17664 csinl ();
17665   ;
17666   return 0;
17667 }
17668 _ACEOF
17669 rm -f conftest.$ac_objext conftest$ac_exeext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17671   (eval $ac_link) 2>conftest.er1
17672   ac_status=$?
17673   grep -v '^ *+' conftest.er1 >conftest.err
17674   rm -f conftest.er1
17675   cat conftest.err >&5
17676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677   (exit $ac_status); } &&
17678          { ac_try='test -z "$ac_c_werror_flag"
17679                          || test ! -s conftest.err'
17680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681   (eval $ac_try) 2>&5
17682   ac_status=$?
17683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684   (exit $ac_status); }; } &&
17685          { ac_try='test -s conftest$ac_exeext'
17686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687   (eval $ac_try) 2>&5
17688   ac_status=$?
17689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690   (exit $ac_status); }; }; then
17691   ac_cv_lib_m_csinl=yes
17692 else
17693   echo "$as_me: failed program was:" >&5
17694 sed 's/^/| /' conftest.$ac_ext >&5
17695
17696 ac_cv_lib_m_csinl=no
17697 fi
17698 rm -f conftest.err conftest.$ac_objext \
17699       conftest$ac_exeext conftest.$ac_ext
17700 LIBS=$ac_check_lib_save_LIBS
17701 fi
17702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
17703 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
17704 if test $ac_cv_lib_m_csinl = yes; then
17705
17706 cat >>confdefs.h <<\_ACEOF
17707 #define HAVE_CSINL 1
17708 _ACEOF
17709
17710 fi
17711
17712 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
17713 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
17714 if test "${ac_cv_lib_m_sinhf+set}" = set; then
17715   echo $ECHO_N "(cached) $ECHO_C" >&6
17716 else
17717   ac_check_lib_save_LIBS=$LIBS
17718 LIBS="-lm  $LIBS"
17719 if test x$gcc_no_link = xyes; then
17720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17722    { (exit 1); exit 1; }; }
17723 fi
17724 cat >conftest.$ac_ext <<_ACEOF
17725 /* confdefs.h.  */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h.  */
17730
17731 /* Override any gcc2 internal prototype to avoid an error.  */
17732 #ifdef __cplusplus
17733 extern "C"
17734 #endif
17735 /* We use char because int might match the return type of a gcc2
17736    builtin and then its argument prototype would still apply.  */
17737 char sinhf ();
17738 int
17739 main ()
17740 {
17741 sinhf ();
17742   ;
17743   return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17748   (eval $ac_link) 2>conftest.er1
17749   ac_status=$?
17750   grep -v '^ *+' conftest.er1 >conftest.err
17751   rm -f conftest.er1
17752   cat conftest.err >&5
17753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754   (exit $ac_status); } &&
17755          { ac_try='test -z "$ac_c_werror_flag"
17756                          || test ! -s conftest.err'
17757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758   (eval $ac_try) 2>&5
17759   ac_status=$?
17760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761   (exit $ac_status); }; } &&
17762          { ac_try='test -s conftest$ac_exeext'
17763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764   (eval $ac_try) 2>&5
17765   ac_status=$?
17766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767   (exit $ac_status); }; }; then
17768   ac_cv_lib_m_sinhf=yes
17769 else
17770   echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17772
17773 ac_cv_lib_m_sinhf=no
17774 fi
17775 rm -f conftest.err conftest.$ac_objext \
17776       conftest$ac_exeext conftest.$ac_ext
17777 LIBS=$ac_check_lib_save_LIBS
17778 fi
17779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
17780 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
17781 if test $ac_cv_lib_m_sinhf = yes; then
17782
17783 cat >>confdefs.h <<\_ACEOF
17784 #define HAVE_SINHF 1
17785 _ACEOF
17786
17787 fi
17788
17789 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
17790 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
17791 if test "${ac_cv_lib_m_sinh+set}" = set; then
17792   echo $ECHO_N "(cached) $ECHO_C" >&6
17793 else
17794   ac_check_lib_save_LIBS=$LIBS
17795 LIBS="-lm  $LIBS"
17796 if test x$gcc_no_link = xyes; then
17797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17799    { (exit 1); exit 1; }; }
17800 fi
17801 cat >conftest.$ac_ext <<_ACEOF
17802 /* confdefs.h.  */
17803 _ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h.  */
17807
17808 /* Override any gcc2 internal prototype to avoid an error.  */
17809 #ifdef __cplusplus
17810 extern "C"
17811 #endif
17812 /* We use char because int might match the return type of a gcc2
17813    builtin and then its argument prototype would still apply.  */
17814 char sinh ();
17815 int
17816 main ()
17817 {
17818 sinh ();
17819   ;
17820   return 0;
17821 }
17822 _ACEOF
17823 rm -f conftest.$ac_objext conftest$ac_exeext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17825   (eval $ac_link) 2>conftest.er1
17826   ac_status=$?
17827   grep -v '^ *+' conftest.er1 >conftest.err
17828   rm -f conftest.er1
17829   cat conftest.err >&5
17830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831   (exit $ac_status); } &&
17832          { ac_try='test -z "$ac_c_werror_flag"
17833                          || test ! -s conftest.err'
17834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835   (eval $ac_try) 2>&5
17836   ac_status=$?
17837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838   (exit $ac_status); }; } &&
17839          { ac_try='test -s conftest$ac_exeext'
17840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841   (eval $ac_try) 2>&5
17842   ac_status=$?
17843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844   (exit $ac_status); }; }; then
17845   ac_cv_lib_m_sinh=yes
17846 else
17847   echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17849
17850 ac_cv_lib_m_sinh=no
17851 fi
17852 rm -f conftest.err conftest.$ac_objext \
17853       conftest$ac_exeext conftest.$ac_ext
17854 LIBS=$ac_check_lib_save_LIBS
17855 fi
17856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
17857 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
17858 if test $ac_cv_lib_m_sinh = yes; then
17859
17860 cat >>confdefs.h <<\_ACEOF
17861 #define HAVE_SINH 1
17862 _ACEOF
17863
17864 fi
17865
17866 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
17867 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
17868 if test "${ac_cv_lib_m_sinhl+set}" = set; then
17869   echo $ECHO_N "(cached) $ECHO_C" >&6
17870 else
17871   ac_check_lib_save_LIBS=$LIBS
17872 LIBS="-lm  $LIBS"
17873 if test x$gcc_no_link = xyes; then
17874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17876    { (exit 1); exit 1; }; }
17877 fi
17878 cat >conftest.$ac_ext <<_ACEOF
17879 /* confdefs.h.  */
17880 _ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h.  */
17884
17885 /* Override any gcc2 internal prototype to avoid an error.  */
17886 #ifdef __cplusplus
17887 extern "C"
17888 #endif
17889 /* We use char because int might match the return type of a gcc2
17890    builtin and then its argument prototype would still apply.  */
17891 char sinhl ();
17892 int
17893 main ()
17894 {
17895 sinhl ();
17896   ;
17897   return 0;
17898 }
17899 _ACEOF
17900 rm -f conftest.$ac_objext conftest$ac_exeext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17902   (eval $ac_link) 2>conftest.er1
17903   ac_status=$?
17904   grep -v '^ *+' conftest.er1 >conftest.err
17905   rm -f conftest.er1
17906   cat conftest.err >&5
17907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908   (exit $ac_status); } &&
17909          { ac_try='test -z "$ac_c_werror_flag"
17910                          || test ! -s conftest.err'
17911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912   (eval $ac_try) 2>&5
17913   ac_status=$?
17914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915   (exit $ac_status); }; } &&
17916          { ac_try='test -s conftest$ac_exeext'
17917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918   (eval $ac_try) 2>&5
17919   ac_status=$?
17920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921   (exit $ac_status); }; }; then
17922   ac_cv_lib_m_sinhl=yes
17923 else
17924   echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17926
17927 ac_cv_lib_m_sinhl=no
17928 fi
17929 rm -f conftest.err conftest.$ac_objext \
17930       conftest$ac_exeext conftest.$ac_ext
17931 LIBS=$ac_check_lib_save_LIBS
17932 fi
17933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
17934 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
17935 if test $ac_cv_lib_m_sinhl = yes; then
17936
17937 cat >>confdefs.h <<\_ACEOF
17938 #define HAVE_SINHL 1
17939 _ACEOF
17940
17941 fi
17942
17943 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
17944 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
17945 if test "${ac_cv_lib_m_csinhf+set}" = set; then
17946   echo $ECHO_N "(cached) $ECHO_C" >&6
17947 else
17948   ac_check_lib_save_LIBS=$LIBS
17949 LIBS="-lm  $LIBS"
17950 if test x$gcc_no_link = xyes; then
17951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17953    { (exit 1); exit 1; }; }
17954 fi
17955 cat >conftest.$ac_ext <<_ACEOF
17956 /* confdefs.h.  */
17957 _ACEOF
17958 cat confdefs.h >>conftest.$ac_ext
17959 cat >>conftest.$ac_ext <<_ACEOF
17960 /* end confdefs.h.  */
17961
17962 /* Override any gcc2 internal prototype to avoid an error.  */
17963 #ifdef __cplusplus
17964 extern "C"
17965 #endif
17966 /* We use char because int might match the return type of a gcc2
17967    builtin and then its argument prototype would still apply.  */
17968 char csinhf ();
17969 int
17970 main ()
17971 {
17972 csinhf ();
17973   ;
17974   return 0;
17975 }
17976 _ACEOF
17977 rm -f conftest.$ac_objext conftest$ac_exeext
17978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17979   (eval $ac_link) 2>conftest.er1
17980   ac_status=$?
17981   grep -v '^ *+' conftest.er1 >conftest.err
17982   rm -f conftest.er1
17983   cat conftest.err >&5
17984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985   (exit $ac_status); } &&
17986          { ac_try='test -z "$ac_c_werror_flag"
17987                          || test ! -s conftest.err'
17988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989   (eval $ac_try) 2>&5
17990   ac_status=$?
17991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992   (exit $ac_status); }; } &&
17993          { ac_try='test -s conftest$ac_exeext'
17994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17995   (eval $ac_try) 2>&5
17996   ac_status=$?
17997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998   (exit $ac_status); }; }; then
17999   ac_cv_lib_m_csinhf=yes
18000 else
18001   echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18003
18004 ac_cv_lib_m_csinhf=no
18005 fi
18006 rm -f conftest.err conftest.$ac_objext \
18007       conftest$ac_exeext conftest.$ac_ext
18008 LIBS=$ac_check_lib_save_LIBS
18009 fi
18010 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18011 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18012 if test $ac_cv_lib_m_csinhf = yes; then
18013
18014 cat >>confdefs.h <<\_ACEOF
18015 #define HAVE_CSINHF 1
18016 _ACEOF
18017
18018 fi
18019
18020 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18021 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18022 if test "${ac_cv_lib_m_csinh+set}" = set; then
18023   echo $ECHO_N "(cached) $ECHO_C" >&6
18024 else
18025   ac_check_lib_save_LIBS=$LIBS
18026 LIBS="-lm  $LIBS"
18027 if test x$gcc_no_link = xyes; then
18028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18030    { (exit 1); exit 1; }; }
18031 fi
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h.  */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h.  */
18038
18039 /* Override any gcc2 internal prototype to avoid an error.  */
18040 #ifdef __cplusplus
18041 extern "C"
18042 #endif
18043 /* We use char because int might match the return type of a gcc2
18044    builtin and then its argument prototype would still apply.  */
18045 char csinh ();
18046 int
18047 main ()
18048 {
18049 csinh ();
18050   ;
18051   return 0;
18052 }
18053 _ACEOF
18054 rm -f conftest.$ac_objext conftest$ac_exeext
18055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18056   (eval $ac_link) 2>conftest.er1
18057   ac_status=$?
18058   grep -v '^ *+' conftest.er1 >conftest.err
18059   rm -f conftest.er1
18060   cat conftest.err >&5
18061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062   (exit $ac_status); } &&
18063          { ac_try='test -z "$ac_c_werror_flag"
18064                          || test ! -s conftest.err'
18065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066   (eval $ac_try) 2>&5
18067   ac_status=$?
18068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069   (exit $ac_status); }; } &&
18070          { ac_try='test -s conftest$ac_exeext'
18071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072   (eval $ac_try) 2>&5
18073   ac_status=$?
18074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075   (exit $ac_status); }; }; then
18076   ac_cv_lib_m_csinh=yes
18077 else
18078   echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.$ac_ext >&5
18080
18081 ac_cv_lib_m_csinh=no
18082 fi
18083 rm -f conftest.err conftest.$ac_objext \
18084       conftest$ac_exeext conftest.$ac_ext
18085 LIBS=$ac_check_lib_save_LIBS
18086 fi
18087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18088 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18089 if test $ac_cv_lib_m_csinh = yes; then
18090
18091 cat >>confdefs.h <<\_ACEOF
18092 #define HAVE_CSINH 1
18093 _ACEOF
18094
18095 fi
18096
18097 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18098 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18099 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18100   echo $ECHO_N "(cached) $ECHO_C" >&6
18101 else
18102   ac_check_lib_save_LIBS=$LIBS
18103 LIBS="-lm  $LIBS"
18104 if test x$gcc_no_link = xyes; then
18105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18107    { (exit 1); exit 1; }; }
18108 fi
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h.  */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h.  */
18115
18116 /* Override any gcc2 internal prototype to avoid an error.  */
18117 #ifdef __cplusplus
18118 extern "C"
18119 #endif
18120 /* We use char because int might match the return type of a gcc2
18121    builtin and then its argument prototype would still apply.  */
18122 char csinhl ();
18123 int
18124 main ()
18125 {
18126 csinhl ();
18127   ;
18128   return 0;
18129 }
18130 _ACEOF
18131 rm -f conftest.$ac_objext conftest$ac_exeext
18132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18133   (eval $ac_link) 2>conftest.er1
18134   ac_status=$?
18135   grep -v '^ *+' conftest.er1 >conftest.err
18136   rm -f conftest.er1
18137   cat conftest.err >&5
18138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139   (exit $ac_status); } &&
18140          { ac_try='test -z "$ac_c_werror_flag"
18141                          || test ! -s conftest.err'
18142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143   (eval $ac_try) 2>&5
18144   ac_status=$?
18145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146   (exit $ac_status); }; } &&
18147          { ac_try='test -s conftest$ac_exeext'
18148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149   (eval $ac_try) 2>&5
18150   ac_status=$?
18151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152   (exit $ac_status); }; }; then
18153   ac_cv_lib_m_csinhl=yes
18154 else
18155   echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18157
18158 ac_cv_lib_m_csinhl=no
18159 fi
18160 rm -f conftest.err conftest.$ac_objext \
18161       conftest$ac_exeext conftest.$ac_ext
18162 LIBS=$ac_check_lib_save_LIBS
18163 fi
18164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18165 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18166 if test $ac_cv_lib_m_csinhl = yes; then
18167
18168 cat >>confdefs.h <<\_ACEOF
18169 #define HAVE_CSINHL 1
18170 _ACEOF
18171
18172 fi
18173
18174 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18175 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18176 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18177   echo $ECHO_N "(cached) $ECHO_C" >&6
18178 else
18179   ac_check_lib_save_LIBS=$LIBS
18180 LIBS="-lm  $LIBS"
18181 if test x$gcc_no_link = xyes; then
18182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18184    { (exit 1); exit 1; }; }
18185 fi
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h.  */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h.  */
18192
18193 /* Override any gcc2 internal prototype to avoid an error.  */
18194 #ifdef __cplusplus
18195 extern "C"
18196 #endif
18197 /* We use char because int might match the return type of a gcc2
18198    builtin and then its argument prototype would still apply.  */
18199 char sqrtf ();
18200 int
18201 main ()
18202 {
18203 sqrtf ();
18204   ;
18205   return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest.$ac_objext conftest$ac_exeext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210   (eval $ac_link) 2>conftest.er1
18211   ac_status=$?
18212   grep -v '^ *+' conftest.er1 >conftest.err
18213   rm -f conftest.er1
18214   cat conftest.err >&5
18215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216   (exit $ac_status); } &&
18217          { ac_try='test -z "$ac_c_werror_flag"
18218                          || test ! -s conftest.err'
18219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220   (eval $ac_try) 2>&5
18221   ac_status=$?
18222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223   (exit $ac_status); }; } &&
18224          { ac_try='test -s conftest$ac_exeext'
18225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226   (eval $ac_try) 2>&5
18227   ac_status=$?
18228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229   (exit $ac_status); }; }; then
18230   ac_cv_lib_m_sqrtf=yes
18231 else
18232   echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235 ac_cv_lib_m_sqrtf=no
18236 fi
18237 rm -f conftest.err conftest.$ac_objext \
18238       conftest$ac_exeext conftest.$ac_ext
18239 LIBS=$ac_check_lib_save_LIBS
18240 fi
18241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
18242 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
18243 if test $ac_cv_lib_m_sqrtf = yes; then
18244
18245 cat >>confdefs.h <<\_ACEOF
18246 #define HAVE_SQRTF 1
18247 _ACEOF
18248
18249 fi
18250
18251 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
18252 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
18253 if test "${ac_cv_lib_m_sqrt+set}" = set; then
18254   echo $ECHO_N "(cached) $ECHO_C" >&6
18255 else
18256   ac_check_lib_save_LIBS=$LIBS
18257 LIBS="-lm  $LIBS"
18258 if test x$gcc_no_link = xyes; then
18259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18261    { (exit 1); exit 1; }; }
18262 fi
18263 cat >conftest.$ac_ext <<_ACEOF
18264 /* confdefs.h.  */
18265 _ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h.  */
18269
18270 /* Override any gcc2 internal prototype to avoid an error.  */
18271 #ifdef __cplusplus
18272 extern "C"
18273 #endif
18274 /* We use char because int might match the return type of a gcc2
18275    builtin and then its argument prototype would still apply.  */
18276 char sqrt ();
18277 int
18278 main ()
18279 {
18280 sqrt ();
18281   ;
18282   return 0;
18283 }
18284 _ACEOF
18285 rm -f conftest.$ac_objext conftest$ac_exeext
18286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18287   (eval $ac_link) 2>conftest.er1
18288   ac_status=$?
18289   grep -v '^ *+' conftest.er1 >conftest.err
18290   rm -f conftest.er1
18291   cat conftest.err >&5
18292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293   (exit $ac_status); } &&
18294          { ac_try='test -z "$ac_c_werror_flag"
18295                          || test ! -s conftest.err'
18296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297   (eval $ac_try) 2>&5
18298   ac_status=$?
18299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300   (exit $ac_status); }; } &&
18301          { ac_try='test -s conftest$ac_exeext'
18302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303   (eval $ac_try) 2>&5
18304   ac_status=$?
18305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306   (exit $ac_status); }; }; then
18307   ac_cv_lib_m_sqrt=yes
18308 else
18309   echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.$ac_ext >&5
18311
18312 ac_cv_lib_m_sqrt=no
18313 fi
18314 rm -f conftest.err conftest.$ac_objext \
18315       conftest$ac_exeext conftest.$ac_ext
18316 LIBS=$ac_check_lib_save_LIBS
18317 fi
18318 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18319 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18320 if test $ac_cv_lib_m_sqrt = yes; then
18321
18322 cat >>confdefs.h <<\_ACEOF
18323 #define HAVE_SQRT 1
18324 _ACEOF
18325
18326 fi
18327
18328 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18329 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18330 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18331   echo $ECHO_N "(cached) $ECHO_C" >&6
18332 else
18333   ac_check_lib_save_LIBS=$LIBS
18334 LIBS="-lm  $LIBS"
18335 if test x$gcc_no_link = xyes; then
18336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18338    { (exit 1); exit 1; }; }
18339 fi
18340 cat >conftest.$ac_ext <<_ACEOF
18341 /* confdefs.h.  */
18342 _ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h.  */
18346
18347 /* Override any gcc2 internal prototype to avoid an error.  */
18348 #ifdef __cplusplus
18349 extern "C"
18350 #endif
18351 /* We use char because int might match the return type of a gcc2
18352    builtin and then its argument prototype would still apply.  */
18353 char sqrtl ();
18354 int
18355 main ()
18356 {
18357 sqrtl ();
18358   ;
18359   return 0;
18360 }
18361 _ACEOF
18362 rm -f conftest.$ac_objext conftest$ac_exeext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18364   (eval $ac_link) 2>conftest.er1
18365   ac_status=$?
18366   grep -v '^ *+' conftest.er1 >conftest.err
18367   rm -f conftest.er1
18368   cat conftest.err >&5
18369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370   (exit $ac_status); } &&
18371          { ac_try='test -z "$ac_c_werror_flag"
18372                          || test ! -s conftest.err'
18373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374   (eval $ac_try) 2>&5
18375   ac_status=$?
18376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377   (exit $ac_status); }; } &&
18378          { ac_try='test -s conftest$ac_exeext'
18379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380   (eval $ac_try) 2>&5
18381   ac_status=$?
18382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383   (exit $ac_status); }; }; then
18384   ac_cv_lib_m_sqrtl=yes
18385 else
18386   echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18388
18389 ac_cv_lib_m_sqrtl=no
18390 fi
18391 rm -f conftest.err conftest.$ac_objext \
18392       conftest$ac_exeext conftest.$ac_ext
18393 LIBS=$ac_check_lib_save_LIBS
18394 fi
18395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
18396 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
18397 if test $ac_cv_lib_m_sqrtl = yes; then
18398
18399 cat >>confdefs.h <<\_ACEOF
18400 #define HAVE_SQRTL 1
18401 _ACEOF
18402
18403 fi
18404
18405 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
18406 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
18407 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
18408   echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410   ac_check_lib_save_LIBS=$LIBS
18411 LIBS="-lm  $LIBS"
18412 if test x$gcc_no_link = xyes; then
18413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18415    { (exit 1); exit 1; }; }
18416 fi
18417 cat >conftest.$ac_ext <<_ACEOF
18418 /* confdefs.h.  */
18419 _ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h.  */
18423
18424 /* Override any gcc2 internal prototype to avoid an error.  */
18425 #ifdef __cplusplus
18426 extern "C"
18427 #endif
18428 /* We use char because int might match the return type of a gcc2
18429    builtin and then its argument prototype would still apply.  */
18430 char csqrtf ();
18431 int
18432 main ()
18433 {
18434 csqrtf ();
18435   ;
18436   return 0;
18437 }
18438 _ACEOF
18439 rm -f conftest.$ac_objext conftest$ac_exeext
18440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18441   (eval $ac_link) 2>conftest.er1
18442   ac_status=$?
18443   grep -v '^ *+' conftest.er1 >conftest.err
18444   rm -f conftest.er1
18445   cat conftest.err >&5
18446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447   (exit $ac_status); } &&
18448          { ac_try='test -z "$ac_c_werror_flag"
18449                          || test ! -s conftest.err'
18450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451   (eval $ac_try) 2>&5
18452   ac_status=$?
18453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454   (exit $ac_status); }; } &&
18455          { ac_try='test -s conftest$ac_exeext'
18456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457   (eval $ac_try) 2>&5
18458   ac_status=$?
18459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460   (exit $ac_status); }; }; then
18461   ac_cv_lib_m_csqrtf=yes
18462 else
18463   echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18465
18466 ac_cv_lib_m_csqrtf=no
18467 fi
18468 rm -f conftest.err conftest.$ac_objext \
18469       conftest$ac_exeext conftest.$ac_ext
18470 LIBS=$ac_check_lib_save_LIBS
18471 fi
18472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
18473 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
18474 if test $ac_cv_lib_m_csqrtf = yes; then
18475
18476 cat >>confdefs.h <<\_ACEOF
18477 #define HAVE_CSQRTF 1
18478 _ACEOF
18479
18480 fi
18481
18482 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
18483 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
18484 if test "${ac_cv_lib_m_csqrt+set}" = set; then
18485   echo $ECHO_N "(cached) $ECHO_C" >&6
18486 else
18487   ac_check_lib_save_LIBS=$LIBS
18488 LIBS="-lm  $LIBS"
18489 if test x$gcc_no_link = xyes; then
18490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18492    { (exit 1); exit 1; }; }
18493 fi
18494 cat >conftest.$ac_ext <<_ACEOF
18495 /* confdefs.h.  */
18496 _ACEOF
18497 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF
18499 /* end confdefs.h.  */
18500
18501 /* Override any gcc2 internal prototype to avoid an error.  */
18502 #ifdef __cplusplus
18503 extern "C"
18504 #endif
18505 /* We use char because int might match the return type of a gcc2
18506    builtin and then its argument prototype would still apply.  */
18507 char csqrt ();
18508 int
18509 main ()
18510 {
18511 csqrt ();
18512   ;
18513   return 0;
18514 }
18515 _ACEOF
18516 rm -f conftest.$ac_objext conftest$ac_exeext
18517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18518   (eval $ac_link) 2>conftest.er1
18519   ac_status=$?
18520   grep -v '^ *+' conftest.er1 >conftest.err
18521   rm -f conftest.er1
18522   cat conftest.err >&5
18523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524   (exit $ac_status); } &&
18525          { ac_try='test -z "$ac_c_werror_flag"
18526                          || test ! -s conftest.err'
18527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528   (eval $ac_try) 2>&5
18529   ac_status=$?
18530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531   (exit $ac_status); }; } &&
18532          { ac_try='test -s conftest$ac_exeext'
18533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534   (eval $ac_try) 2>&5
18535   ac_status=$?
18536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537   (exit $ac_status); }; }; then
18538   ac_cv_lib_m_csqrt=yes
18539 else
18540   echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18542
18543 ac_cv_lib_m_csqrt=no
18544 fi
18545 rm -f conftest.err conftest.$ac_objext \
18546       conftest$ac_exeext conftest.$ac_ext
18547 LIBS=$ac_check_lib_save_LIBS
18548 fi
18549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
18550 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
18551 if test $ac_cv_lib_m_csqrt = yes; then
18552
18553 cat >>confdefs.h <<\_ACEOF
18554 #define HAVE_CSQRT 1
18555 _ACEOF
18556
18557 fi
18558
18559 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
18560 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
18561 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
18562   echo $ECHO_N "(cached) $ECHO_C" >&6
18563 else
18564   ac_check_lib_save_LIBS=$LIBS
18565 LIBS="-lm  $LIBS"
18566 if test x$gcc_no_link = xyes; then
18567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18569    { (exit 1); exit 1; }; }
18570 fi
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h.  */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h.  */
18577
18578 /* Override any gcc2 internal prototype to avoid an error.  */
18579 #ifdef __cplusplus
18580 extern "C"
18581 #endif
18582 /* We use char because int might match the return type of a gcc2
18583    builtin and then its argument prototype would still apply.  */
18584 char csqrtl ();
18585 int
18586 main ()
18587 {
18588 csqrtl ();
18589   ;
18590   return 0;
18591 }
18592 _ACEOF
18593 rm -f conftest.$ac_objext conftest$ac_exeext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18595   (eval $ac_link) 2>conftest.er1
18596   ac_status=$?
18597   grep -v '^ *+' conftest.er1 >conftest.err
18598   rm -f conftest.er1
18599   cat conftest.err >&5
18600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601   (exit $ac_status); } &&
18602          { ac_try='test -z "$ac_c_werror_flag"
18603                          || test ! -s conftest.err'
18604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605   (eval $ac_try) 2>&5
18606   ac_status=$?
18607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608   (exit $ac_status); }; } &&
18609          { ac_try='test -s conftest$ac_exeext'
18610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611   (eval $ac_try) 2>&5
18612   ac_status=$?
18613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614   (exit $ac_status); }; }; then
18615   ac_cv_lib_m_csqrtl=yes
18616 else
18617   echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18619
18620 ac_cv_lib_m_csqrtl=no
18621 fi
18622 rm -f conftest.err conftest.$ac_objext \
18623       conftest$ac_exeext conftest.$ac_ext
18624 LIBS=$ac_check_lib_save_LIBS
18625 fi
18626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
18627 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
18628 if test $ac_cv_lib_m_csqrtl = yes; then
18629
18630 cat >>confdefs.h <<\_ACEOF
18631 #define HAVE_CSQRTL 1
18632 _ACEOF
18633
18634 fi
18635
18636 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
18637 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
18638 if test "${ac_cv_lib_m_tanf+set}" = set; then
18639   echo $ECHO_N "(cached) $ECHO_C" >&6
18640 else
18641   ac_check_lib_save_LIBS=$LIBS
18642 LIBS="-lm  $LIBS"
18643 if test x$gcc_no_link = xyes; then
18644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18646    { (exit 1); exit 1; }; }
18647 fi
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h.  */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h.  */
18654
18655 /* Override any gcc2 internal prototype to avoid an error.  */
18656 #ifdef __cplusplus
18657 extern "C"
18658 #endif
18659 /* We use char because int might match the return type of a gcc2
18660    builtin and then its argument prototype would still apply.  */
18661 char tanf ();
18662 int
18663 main ()
18664 {
18665 tanf ();
18666   ;
18667   return 0;
18668 }
18669 _ACEOF
18670 rm -f conftest.$ac_objext conftest$ac_exeext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18672   (eval $ac_link) 2>conftest.er1
18673   ac_status=$?
18674   grep -v '^ *+' conftest.er1 >conftest.err
18675   rm -f conftest.er1
18676   cat conftest.err >&5
18677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678   (exit $ac_status); } &&
18679          { ac_try='test -z "$ac_c_werror_flag"
18680                          || test ! -s conftest.err'
18681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682   (eval $ac_try) 2>&5
18683   ac_status=$?
18684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685   (exit $ac_status); }; } &&
18686          { ac_try='test -s conftest$ac_exeext'
18687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688   (eval $ac_try) 2>&5
18689   ac_status=$?
18690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691   (exit $ac_status); }; }; then
18692   ac_cv_lib_m_tanf=yes
18693 else
18694   echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18696
18697 ac_cv_lib_m_tanf=no
18698 fi
18699 rm -f conftest.err conftest.$ac_objext \
18700       conftest$ac_exeext conftest.$ac_ext
18701 LIBS=$ac_check_lib_save_LIBS
18702 fi
18703 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
18704 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
18705 if test $ac_cv_lib_m_tanf = yes; then
18706
18707 cat >>confdefs.h <<\_ACEOF
18708 #define HAVE_TANF 1
18709 _ACEOF
18710
18711 fi
18712
18713 echo "$as_me:$LINENO: checking for tan in -lm" >&5
18714 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
18715 if test "${ac_cv_lib_m_tan+set}" = set; then
18716   echo $ECHO_N "(cached) $ECHO_C" >&6
18717 else
18718   ac_check_lib_save_LIBS=$LIBS
18719 LIBS="-lm  $LIBS"
18720 if test x$gcc_no_link = xyes; then
18721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18723    { (exit 1); exit 1; }; }
18724 fi
18725 cat >conftest.$ac_ext <<_ACEOF
18726 /* confdefs.h.  */
18727 _ACEOF
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h.  */
18731
18732 /* Override any gcc2 internal prototype to avoid an error.  */
18733 #ifdef __cplusplus
18734 extern "C"
18735 #endif
18736 /* We use char because int might match the return type of a gcc2
18737    builtin and then its argument prototype would still apply.  */
18738 char tan ();
18739 int
18740 main ()
18741 {
18742 tan ();
18743   ;
18744   return 0;
18745 }
18746 _ACEOF
18747 rm -f conftest.$ac_objext conftest$ac_exeext
18748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18749   (eval $ac_link) 2>conftest.er1
18750   ac_status=$?
18751   grep -v '^ *+' conftest.er1 >conftest.err
18752   rm -f conftest.er1
18753   cat conftest.err >&5
18754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755   (exit $ac_status); } &&
18756          { ac_try='test -z "$ac_c_werror_flag"
18757                          || test ! -s conftest.err'
18758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18759   (eval $ac_try) 2>&5
18760   ac_status=$?
18761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762   (exit $ac_status); }; } &&
18763          { ac_try='test -s conftest$ac_exeext'
18764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765   (eval $ac_try) 2>&5
18766   ac_status=$?
18767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768   (exit $ac_status); }; }; then
18769   ac_cv_lib_m_tan=yes
18770 else
18771   echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.$ac_ext >&5
18773
18774 ac_cv_lib_m_tan=no
18775 fi
18776 rm -f conftest.err conftest.$ac_objext \
18777       conftest$ac_exeext conftest.$ac_ext
18778 LIBS=$ac_check_lib_save_LIBS
18779 fi
18780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
18781 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
18782 if test $ac_cv_lib_m_tan = yes; then
18783
18784 cat >>confdefs.h <<\_ACEOF
18785 #define HAVE_TAN 1
18786 _ACEOF
18787
18788 fi
18789
18790 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
18791 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
18792 if test "${ac_cv_lib_m_tanl+set}" = set; then
18793   echo $ECHO_N "(cached) $ECHO_C" >&6
18794 else
18795   ac_check_lib_save_LIBS=$LIBS
18796 LIBS="-lm  $LIBS"
18797 if test x$gcc_no_link = xyes; then
18798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18800    { (exit 1); exit 1; }; }
18801 fi
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h.  */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h.  */
18808
18809 /* Override any gcc2 internal prototype to avoid an error.  */
18810 #ifdef __cplusplus
18811 extern "C"
18812 #endif
18813 /* We use char because int might match the return type of a gcc2
18814    builtin and then its argument prototype would still apply.  */
18815 char tanl ();
18816 int
18817 main ()
18818 {
18819 tanl ();
18820   ;
18821   return 0;
18822 }
18823 _ACEOF
18824 rm -f conftest.$ac_objext conftest$ac_exeext
18825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18826   (eval $ac_link) 2>conftest.er1
18827   ac_status=$?
18828   grep -v '^ *+' conftest.er1 >conftest.err
18829   rm -f conftest.er1
18830   cat conftest.err >&5
18831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832   (exit $ac_status); } &&
18833          { ac_try='test -z "$ac_c_werror_flag"
18834                          || test ! -s conftest.err'
18835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836   (eval $ac_try) 2>&5
18837   ac_status=$?
18838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839   (exit $ac_status); }; } &&
18840          { ac_try='test -s conftest$ac_exeext'
18841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842   (eval $ac_try) 2>&5
18843   ac_status=$?
18844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845   (exit $ac_status); }; }; then
18846   ac_cv_lib_m_tanl=yes
18847 else
18848   echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851 ac_cv_lib_m_tanl=no
18852 fi
18853 rm -f conftest.err conftest.$ac_objext \
18854       conftest$ac_exeext conftest.$ac_ext
18855 LIBS=$ac_check_lib_save_LIBS
18856 fi
18857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
18858 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
18859 if test $ac_cv_lib_m_tanl = yes; then
18860
18861 cat >>confdefs.h <<\_ACEOF
18862 #define HAVE_TANL 1
18863 _ACEOF
18864
18865 fi
18866
18867 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
18868 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
18869 if test "${ac_cv_lib_m_ctanf+set}" = set; then
18870   echo $ECHO_N "(cached) $ECHO_C" >&6
18871 else
18872   ac_check_lib_save_LIBS=$LIBS
18873 LIBS="-lm  $LIBS"
18874 if test x$gcc_no_link = xyes; then
18875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18877    { (exit 1); exit 1; }; }
18878 fi
18879 cat >conftest.$ac_ext <<_ACEOF
18880 /* confdefs.h.  */
18881 _ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h.  */
18885
18886 /* Override any gcc2 internal prototype to avoid an error.  */
18887 #ifdef __cplusplus
18888 extern "C"
18889 #endif
18890 /* We use char because int might match the return type of a gcc2
18891    builtin and then its argument prototype would still apply.  */
18892 char ctanf ();
18893 int
18894 main ()
18895 {
18896 ctanf ();
18897   ;
18898   return 0;
18899 }
18900 _ACEOF
18901 rm -f conftest.$ac_objext conftest$ac_exeext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18903   (eval $ac_link) 2>conftest.er1
18904   ac_status=$?
18905   grep -v '^ *+' conftest.er1 >conftest.err
18906   rm -f conftest.er1
18907   cat conftest.err >&5
18908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909   (exit $ac_status); } &&
18910          { ac_try='test -z "$ac_c_werror_flag"
18911                          || test ! -s conftest.err'
18912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913   (eval $ac_try) 2>&5
18914   ac_status=$?
18915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916   (exit $ac_status); }; } &&
18917          { ac_try='test -s conftest$ac_exeext'
18918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919   (eval $ac_try) 2>&5
18920   ac_status=$?
18921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922   (exit $ac_status); }; }; then
18923   ac_cv_lib_m_ctanf=yes
18924 else
18925   echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18927
18928 ac_cv_lib_m_ctanf=no
18929 fi
18930 rm -f conftest.err conftest.$ac_objext \
18931       conftest$ac_exeext conftest.$ac_ext
18932 LIBS=$ac_check_lib_save_LIBS
18933 fi
18934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
18935 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
18936 if test $ac_cv_lib_m_ctanf = yes; then
18937
18938 cat >>confdefs.h <<\_ACEOF
18939 #define HAVE_CTANF 1
18940 _ACEOF
18941
18942 fi
18943
18944 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
18945 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
18946 if test "${ac_cv_lib_m_ctan+set}" = set; then
18947   echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949   ac_check_lib_save_LIBS=$LIBS
18950 LIBS="-lm  $LIBS"
18951 if test x$gcc_no_link = xyes; then
18952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18954    { (exit 1); exit 1; }; }
18955 fi
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h.  */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h.  */
18962
18963 /* Override any gcc2 internal prototype to avoid an error.  */
18964 #ifdef __cplusplus
18965 extern "C"
18966 #endif
18967 /* We use char because int might match the return type of a gcc2
18968    builtin and then its argument prototype would still apply.  */
18969 char ctan ();
18970 int
18971 main ()
18972 {
18973 ctan ();
18974   ;
18975   return 0;
18976 }
18977 _ACEOF
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18980   (eval $ac_link) 2>conftest.er1
18981   ac_status=$?
18982   grep -v '^ *+' conftest.er1 >conftest.err
18983   rm -f conftest.er1
18984   cat conftest.err >&5
18985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986   (exit $ac_status); } &&
18987          { ac_try='test -z "$ac_c_werror_flag"
18988                          || test ! -s conftest.err'
18989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990   (eval $ac_try) 2>&5
18991   ac_status=$?
18992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993   (exit $ac_status); }; } &&
18994          { ac_try='test -s conftest$ac_exeext'
18995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996   (eval $ac_try) 2>&5
18997   ac_status=$?
18998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999   (exit $ac_status); }; }; then
19000   ac_cv_lib_m_ctan=yes
19001 else
19002   echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 ac_cv_lib_m_ctan=no
19006 fi
19007 rm -f conftest.err conftest.$ac_objext \
19008       conftest$ac_exeext conftest.$ac_ext
19009 LIBS=$ac_check_lib_save_LIBS
19010 fi
19011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19012 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19013 if test $ac_cv_lib_m_ctan = yes; then
19014
19015 cat >>confdefs.h <<\_ACEOF
19016 #define HAVE_CTAN 1
19017 _ACEOF
19018
19019 fi
19020
19021 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19022 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19023 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19024   echo $ECHO_N "(cached) $ECHO_C" >&6
19025 else
19026   ac_check_lib_save_LIBS=$LIBS
19027 LIBS="-lm  $LIBS"
19028 if test x$gcc_no_link = xyes; then
19029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19031    { (exit 1); exit 1; }; }
19032 fi
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h.  */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h.  */
19039
19040 /* Override any gcc2 internal prototype to avoid an error.  */
19041 #ifdef __cplusplus
19042 extern "C"
19043 #endif
19044 /* We use char because int might match the return type of a gcc2
19045    builtin and then its argument prototype would still apply.  */
19046 char ctanl ();
19047 int
19048 main ()
19049 {
19050 ctanl ();
19051   ;
19052   return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext conftest$ac_exeext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19057   (eval $ac_link) 2>conftest.er1
19058   ac_status=$?
19059   grep -v '^ *+' conftest.er1 >conftest.err
19060   rm -f conftest.er1
19061   cat conftest.err >&5
19062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063   (exit $ac_status); } &&
19064          { ac_try='test -z "$ac_c_werror_flag"
19065                          || test ! -s conftest.err'
19066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067   (eval $ac_try) 2>&5
19068   ac_status=$?
19069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070   (exit $ac_status); }; } &&
19071          { ac_try='test -s conftest$ac_exeext'
19072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073   (eval $ac_try) 2>&5
19074   ac_status=$?
19075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076   (exit $ac_status); }; }; then
19077   ac_cv_lib_m_ctanl=yes
19078 else
19079   echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19081
19082 ac_cv_lib_m_ctanl=no
19083 fi
19084 rm -f conftest.err conftest.$ac_objext \
19085       conftest$ac_exeext conftest.$ac_ext
19086 LIBS=$ac_check_lib_save_LIBS
19087 fi
19088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19089 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19090 if test $ac_cv_lib_m_ctanl = yes; then
19091
19092 cat >>confdefs.h <<\_ACEOF
19093 #define HAVE_CTANL 1
19094 _ACEOF
19095
19096 fi
19097
19098 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19099 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19100 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19101   echo $ECHO_N "(cached) $ECHO_C" >&6
19102 else
19103   ac_check_lib_save_LIBS=$LIBS
19104 LIBS="-lm  $LIBS"
19105 if test x$gcc_no_link = xyes; then
19106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19108    { (exit 1); exit 1; }; }
19109 fi
19110 cat >conftest.$ac_ext <<_ACEOF
19111 /* confdefs.h.  */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h.  */
19116
19117 /* Override any gcc2 internal prototype to avoid an error.  */
19118 #ifdef __cplusplus
19119 extern "C"
19120 #endif
19121 /* We use char because int might match the return type of a gcc2
19122    builtin and then its argument prototype would still apply.  */
19123 char tanhf ();
19124 int
19125 main ()
19126 {
19127 tanhf ();
19128   ;
19129   return 0;
19130 }
19131 _ACEOF
19132 rm -f conftest.$ac_objext conftest$ac_exeext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19134   (eval $ac_link) 2>conftest.er1
19135   ac_status=$?
19136   grep -v '^ *+' conftest.er1 >conftest.err
19137   rm -f conftest.er1
19138   cat conftest.err >&5
19139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140   (exit $ac_status); } &&
19141          { ac_try='test -z "$ac_c_werror_flag"
19142                          || test ! -s conftest.err'
19143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144   (eval $ac_try) 2>&5
19145   ac_status=$?
19146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147   (exit $ac_status); }; } &&
19148          { ac_try='test -s conftest$ac_exeext'
19149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150   (eval $ac_try) 2>&5
19151   ac_status=$?
19152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153   (exit $ac_status); }; }; then
19154   ac_cv_lib_m_tanhf=yes
19155 else
19156   echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19158
19159 ac_cv_lib_m_tanhf=no
19160 fi
19161 rm -f conftest.err conftest.$ac_objext \
19162       conftest$ac_exeext conftest.$ac_ext
19163 LIBS=$ac_check_lib_save_LIBS
19164 fi
19165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19166 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19167 if test $ac_cv_lib_m_tanhf = yes; then
19168
19169 cat >>confdefs.h <<\_ACEOF
19170 #define HAVE_TANHF 1
19171 _ACEOF
19172
19173 fi
19174
19175 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19176 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19177 if test "${ac_cv_lib_m_tanh+set}" = set; then
19178   echo $ECHO_N "(cached) $ECHO_C" >&6
19179 else
19180   ac_check_lib_save_LIBS=$LIBS
19181 LIBS="-lm  $LIBS"
19182 if test x$gcc_no_link = xyes; then
19183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19185    { (exit 1); exit 1; }; }
19186 fi
19187 cat >conftest.$ac_ext <<_ACEOF
19188 /* confdefs.h.  */
19189 _ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h.  */
19193
19194 /* Override any gcc2 internal prototype to avoid an error.  */
19195 #ifdef __cplusplus
19196 extern "C"
19197 #endif
19198 /* We use char because int might match the return type of a gcc2
19199    builtin and then its argument prototype would still apply.  */
19200 char tanh ();
19201 int
19202 main ()
19203 {
19204 tanh ();
19205   ;
19206   return 0;
19207 }
19208 _ACEOF
19209 rm -f conftest.$ac_objext conftest$ac_exeext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19211   (eval $ac_link) 2>conftest.er1
19212   ac_status=$?
19213   grep -v '^ *+' conftest.er1 >conftest.err
19214   rm -f conftest.er1
19215   cat conftest.err >&5
19216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217   (exit $ac_status); } &&
19218          { ac_try='test -z "$ac_c_werror_flag"
19219                          || test ! -s conftest.err'
19220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221   (eval $ac_try) 2>&5
19222   ac_status=$?
19223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224   (exit $ac_status); }; } &&
19225          { ac_try='test -s conftest$ac_exeext'
19226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227   (eval $ac_try) 2>&5
19228   ac_status=$?
19229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230   (exit $ac_status); }; }; then
19231   ac_cv_lib_m_tanh=yes
19232 else
19233   echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19235
19236 ac_cv_lib_m_tanh=no
19237 fi
19238 rm -f conftest.err conftest.$ac_objext \
19239       conftest$ac_exeext conftest.$ac_ext
19240 LIBS=$ac_check_lib_save_LIBS
19241 fi
19242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
19243 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
19244 if test $ac_cv_lib_m_tanh = yes; then
19245
19246 cat >>confdefs.h <<\_ACEOF
19247 #define HAVE_TANH 1
19248 _ACEOF
19249
19250 fi
19251
19252 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
19253 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
19254 if test "${ac_cv_lib_m_tanhl+set}" = set; then
19255   echo $ECHO_N "(cached) $ECHO_C" >&6
19256 else
19257   ac_check_lib_save_LIBS=$LIBS
19258 LIBS="-lm  $LIBS"
19259 if test x$gcc_no_link = xyes; then
19260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19262    { (exit 1); exit 1; }; }
19263 fi
19264 cat >conftest.$ac_ext <<_ACEOF
19265 /* confdefs.h.  */
19266 _ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h.  */
19270
19271 /* Override any gcc2 internal prototype to avoid an error.  */
19272 #ifdef __cplusplus
19273 extern "C"
19274 #endif
19275 /* We use char because int might match the return type of a gcc2
19276    builtin and then its argument prototype would still apply.  */
19277 char tanhl ();
19278 int
19279 main ()
19280 {
19281 tanhl ();
19282   ;
19283   return 0;
19284 }
19285 _ACEOF
19286 rm -f conftest.$ac_objext conftest$ac_exeext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19288   (eval $ac_link) 2>conftest.er1
19289   ac_status=$?
19290   grep -v '^ *+' conftest.er1 >conftest.err
19291   rm -f conftest.er1
19292   cat conftest.err >&5
19293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294   (exit $ac_status); } &&
19295          { ac_try='test -z "$ac_c_werror_flag"
19296                          || test ! -s conftest.err'
19297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298   (eval $ac_try) 2>&5
19299   ac_status=$?
19300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301   (exit $ac_status); }; } &&
19302          { ac_try='test -s conftest$ac_exeext'
19303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304   (eval $ac_try) 2>&5
19305   ac_status=$?
19306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307   (exit $ac_status); }; }; then
19308   ac_cv_lib_m_tanhl=yes
19309 else
19310   echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19312
19313 ac_cv_lib_m_tanhl=no
19314 fi
19315 rm -f conftest.err conftest.$ac_objext \
19316       conftest$ac_exeext conftest.$ac_ext
19317 LIBS=$ac_check_lib_save_LIBS
19318 fi
19319 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19320 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19321 if test $ac_cv_lib_m_tanhl = yes; then
19322
19323 cat >>confdefs.h <<\_ACEOF
19324 #define HAVE_TANHL 1
19325 _ACEOF
19326
19327 fi
19328
19329 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19330 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19331 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19332   echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334   ac_check_lib_save_LIBS=$LIBS
19335 LIBS="-lm  $LIBS"
19336 if test x$gcc_no_link = xyes; then
19337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19339    { (exit 1); exit 1; }; }
19340 fi
19341 cat >conftest.$ac_ext <<_ACEOF
19342 /* confdefs.h.  */
19343 _ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h.  */
19347
19348 /* Override any gcc2 internal prototype to avoid an error.  */
19349 #ifdef __cplusplus
19350 extern "C"
19351 #endif
19352 /* We use char because int might match the return type of a gcc2
19353    builtin and then its argument prototype would still apply.  */
19354 char ctanhf ();
19355 int
19356 main ()
19357 {
19358 ctanhf ();
19359   ;
19360   return 0;
19361 }
19362 _ACEOF
19363 rm -f conftest.$ac_objext conftest$ac_exeext
19364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19365   (eval $ac_link) 2>conftest.er1
19366   ac_status=$?
19367   grep -v '^ *+' conftest.er1 >conftest.err
19368   rm -f conftest.er1
19369   cat conftest.err >&5
19370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371   (exit $ac_status); } &&
19372          { ac_try='test -z "$ac_c_werror_flag"
19373                          || test ! -s conftest.err'
19374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375   (eval $ac_try) 2>&5
19376   ac_status=$?
19377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378   (exit $ac_status); }; } &&
19379          { ac_try='test -s conftest$ac_exeext'
19380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381   (eval $ac_try) 2>&5
19382   ac_status=$?
19383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384   (exit $ac_status); }; }; then
19385   ac_cv_lib_m_ctanhf=yes
19386 else
19387   echo "$as_me: failed program was:" >&5
19388 sed 's/^/| /' conftest.$ac_ext >&5
19389
19390 ac_cv_lib_m_ctanhf=no
19391 fi
19392 rm -f conftest.err conftest.$ac_objext \
19393       conftest$ac_exeext conftest.$ac_ext
19394 LIBS=$ac_check_lib_save_LIBS
19395 fi
19396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
19397 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
19398 if test $ac_cv_lib_m_ctanhf = yes; then
19399
19400 cat >>confdefs.h <<\_ACEOF
19401 #define HAVE_CTANHF 1
19402 _ACEOF
19403
19404 fi
19405
19406 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
19407 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
19408 if test "${ac_cv_lib_m_ctanh+set}" = set; then
19409   echo $ECHO_N "(cached) $ECHO_C" >&6
19410 else
19411   ac_check_lib_save_LIBS=$LIBS
19412 LIBS="-lm  $LIBS"
19413 if test x$gcc_no_link = xyes; then
19414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19416    { (exit 1); exit 1; }; }
19417 fi
19418 cat >conftest.$ac_ext <<_ACEOF
19419 /* confdefs.h.  */
19420 _ACEOF
19421 cat confdefs.h >>conftest.$ac_ext
19422 cat >>conftest.$ac_ext <<_ACEOF
19423 /* end confdefs.h.  */
19424
19425 /* Override any gcc2 internal prototype to avoid an error.  */
19426 #ifdef __cplusplus
19427 extern "C"
19428 #endif
19429 /* We use char because int might match the return type of a gcc2
19430    builtin and then its argument prototype would still apply.  */
19431 char ctanh ();
19432 int
19433 main ()
19434 {
19435 ctanh ();
19436   ;
19437   return 0;
19438 }
19439 _ACEOF
19440 rm -f conftest.$ac_objext conftest$ac_exeext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19442   (eval $ac_link) 2>conftest.er1
19443   ac_status=$?
19444   grep -v '^ *+' conftest.er1 >conftest.err
19445   rm -f conftest.er1
19446   cat conftest.err >&5
19447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448   (exit $ac_status); } &&
19449          { ac_try='test -z "$ac_c_werror_flag"
19450                          || test ! -s conftest.err'
19451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452   (eval $ac_try) 2>&5
19453   ac_status=$?
19454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455   (exit $ac_status); }; } &&
19456          { ac_try='test -s conftest$ac_exeext'
19457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458   (eval $ac_try) 2>&5
19459   ac_status=$?
19460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461   (exit $ac_status); }; }; then
19462   ac_cv_lib_m_ctanh=yes
19463 else
19464   echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19466
19467 ac_cv_lib_m_ctanh=no
19468 fi
19469 rm -f conftest.err conftest.$ac_objext \
19470       conftest$ac_exeext conftest.$ac_ext
19471 LIBS=$ac_check_lib_save_LIBS
19472 fi
19473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
19474 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
19475 if test $ac_cv_lib_m_ctanh = yes; then
19476
19477 cat >>confdefs.h <<\_ACEOF
19478 #define HAVE_CTANH 1
19479 _ACEOF
19480
19481 fi
19482
19483 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
19484 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
19485 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
19486   echo $ECHO_N "(cached) $ECHO_C" >&6
19487 else
19488   ac_check_lib_save_LIBS=$LIBS
19489 LIBS="-lm  $LIBS"
19490 if test x$gcc_no_link = xyes; then
19491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19493    { (exit 1); exit 1; }; }
19494 fi
19495 cat >conftest.$ac_ext <<_ACEOF
19496 /* confdefs.h.  */
19497 _ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h.  */
19501
19502 /* Override any gcc2 internal prototype to avoid an error.  */
19503 #ifdef __cplusplus
19504 extern "C"
19505 #endif
19506 /* We use char because int might match the return type of a gcc2
19507    builtin and then its argument prototype would still apply.  */
19508 char ctanhl ();
19509 int
19510 main ()
19511 {
19512 ctanhl ();
19513   ;
19514   return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest.$ac_objext conftest$ac_exeext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19519   (eval $ac_link) 2>conftest.er1
19520   ac_status=$?
19521   grep -v '^ *+' conftest.er1 >conftest.err
19522   rm -f conftest.er1
19523   cat conftest.err >&5
19524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525   (exit $ac_status); } &&
19526          { ac_try='test -z "$ac_c_werror_flag"
19527                          || test ! -s conftest.err'
19528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529   (eval $ac_try) 2>&5
19530   ac_status=$?
19531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532   (exit $ac_status); }; } &&
19533          { ac_try='test -s conftest$ac_exeext'
19534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535   (eval $ac_try) 2>&5
19536   ac_status=$?
19537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538   (exit $ac_status); }; }; then
19539   ac_cv_lib_m_ctanhl=yes
19540 else
19541   echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544 ac_cv_lib_m_ctanhl=no
19545 fi
19546 rm -f conftest.err conftest.$ac_objext \
19547       conftest$ac_exeext conftest.$ac_ext
19548 LIBS=$ac_check_lib_save_LIBS
19549 fi
19550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
19551 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
19552 if test $ac_cv_lib_m_ctanhl = yes; then
19553
19554 cat >>confdefs.h <<\_ACEOF
19555 #define HAVE_CTANHL 1
19556 _ACEOF
19557
19558 fi
19559
19560 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
19561 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
19562 if test "${ac_cv_lib_m_truncf+set}" = set; then
19563   echo $ECHO_N "(cached) $ECHO_C" >&6
19564 else
19565   ac_check_lib_save_LIBS=$LIBS
19566 LIBS="-lm  $LIBS"
19567 if test x$gcc_no_link = xyes; then
19568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19570    { (exit 1); exit 1; }; }
19571 fi
19572 cat >conftest.$ac_ext <<_ACEOF
19573 /* confdefs.h.  */
19574 _ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h.  */
19578
19579 /* Override any gcc2 internal prototype to avoid an error.  */
19580 #ifdef __cplusplus
19581 extern "C"
19582 #endif
19583 /* We use char because int might match the return type of a gcc2
19584    builtin and then its argument prototype would still apply.  */
19585 char truncf ();
19586 int
19587 main ()
19588 {
19589 truncf ();
19590   ;
19591   return 0;
19592 }
19593 _ACEOF
19594 rm -f conftest.$ac_objext conftest$ac_exeext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19596   (eval $ac_link) 2>conftest.er1
19597   ac_status=$?
19598   grep -v '^ *+' conftest.er1 >conftest.err
19599   rm -f conftest.er1
19600   cat conftest.err >&5
19601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602   (exit $ac_status); } &&
19603          { ac_try='test -z "$ac_c_werror_flag"
19604                          || test ! -s conftest.err'
19605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606   (eval $ac_try) 2>&5
19607   ac_status=$?
19608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609   (exit $ac_status); }; } &&
19610          { ac_try='test -s conftest$ac_exeext'
19611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612   (eval $ac_try) 2>&5
19613   ac_status=$?
19614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615   (exit $ac_status); }; }; then
19616   ac_cv_lib_m_truncf=yes
19617 else
19618   echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19620
19621 ac_cv_lib_m_truncf=no
19622 fi
19623 rm -f conftest.err conftest.$ac_objext \
19624       conftest$ac_exeext conftest.$ac_ext
19625 LIBS=$ac_check_lib_save_LIBS
19626 fi
19627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
19628 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
19629 if test $ac_cv_lib_m_truncf = yes; then
19630
19631 cat >>confdefs.h <<\_ACEOF
19632 #define HAVE_TRUNCF 1
19633 _ACEOF
19634
19635 fi
19636
19637 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
19638 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
19639 if test "${ac_cv_lib_m_trunc+set}" = set; then
19640   echo $ECHO_N "(cached) $ECHO_C" >&6
19641 else
19642   ac_check_lib_save_LIBS=$LIBS
19643 LIBS="-lm  $LIBS"
19644 if test x$gcc_no_link = xyes; then
19645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19647    { (exit 1); exit 1; }; }
19648 fi
19649 cat >conftest.$ac_ext <<_ACEOF
19650 /* confdefs.h.  */
19651 _ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h.  */
19655
19656 /* Override any gcc2 internal prototype to avoid an error.  */
19657 #ifdef __cplusplus
19658 extern "C"
19659 #endif
19660 /* We use char because int might match the return type of a gcc2
19661    builtin and then its argument prototype would still apply.  */
19662 char trunc ();
19663 int
19664 main ()
19665 {
19666 trunc ();
19667   ;
19668   return 0;
19669 }
19670 _ACEOF
19671 rm -f conftest.$ac_objext conftest$ac_exeext
19672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19673   (eval $ac_link) 2>conftest.er1
19674   ac_status=$?
19675   grep -v '^ *+' conftest.er1 >conftest.err
19676   rm -f conftest.er1
19677   cat conftest.err >&5
19678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679   (exit $ac_status); } &&
19680          { ac_try='test -z "$ac_c_werror_flag"
19681                          || test ! -s conftest.err'
19682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683   (eval $ac_try) 2>&5
19684   ac_status=$?
19685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686   (exit $ac_status); }; } &&
19687          { ac_try='test -s conftest$ac_exeext'
19688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689   (eval $ac_try) 2>&5
19690   ac_status=$?
19691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692   (exit $ac_status); }; }; then
19693   ac_cv_lib_m_trunc=yes
19694 else
19695   echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19697
19698 ac_cv_lib_m_trunc=no
19699 fi
19700 rm -f conftest.err conftest.$ac_objext \
19701       conftest$ac_exeext conftest.$ac_ext
19702 LIBS=$ac_check_lib_save_LIBS
19703 fi
19704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
19705 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
19706 if test $ac_cv_lib_m_trunc = yes; then
19707
19708 cat >>confdefs.h <<\_ACEOF
19709 #define HAVE_TRUNC 1
19710 _ACEOF
19711
19712 fi
19713
19714 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
19715 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
19716 if test "${ac_cv_lib_m_truncl+set}" = set; then
19717   echo $ECHO_N "(cached) $ECHO_C" >&6
19718 else
19719   ac_check_lib_save_LIBS=$LIBS
19720 LIBS="-lm  $LIBS"
19721 if test x$gcc_no_link = xyes; then
19722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19724    { (exit 1); exit 1; }; }
19725 fi
19726 cat >conftest.$ac_ext <<_ACEOF
19727 /* confdefs.h.  */
19728 _ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h.  */
19732
19733 /* Override any gcc2 internal prototype to avoid an error.  */
19734 #ifdef __cplusplus
19735 extern "C"
19736 #endif
19737 /* We use char because int might match the return type of a gcc2
19738    builtin and then its argument prototype would still apply.  */
19739 char truncl ();
19740 int
19741 main ()
19742 {
19743 truncl ();
19744   ;
19745   return 0;
19746 }
19747 _ACEOF
19748 rm -f conftest.$ac_objext conftest$ac_exeext
19749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19750   (eval $ac_link) 2>conftest.er1
19751   ac_status=$?
19752   grep -v '^ *+' conftest.er1 >conftest.err
19753   rm -f conftest.er1
19754   cat conftest.err >&5
19755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756   (exit $ac_status); } &&
19757          { ac_try='test -z "$ac_c_werror_flag"
19758                          || test ! -s conftest.err'
19759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760   (eval $ac_try) 2>&5
19761   ac_status=$?
19762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763   (exit $ac_status); }; } &&
19764          { ac_try='test -s conftest$ac_exeext'
19765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766   (eval $ac_try) 2>&5
19767   ac_status=$?
19768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769   (exit $ac_status); }; }; then
19770   ac_cv_lib_m_truncl=yes
19771 else
19772   echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19774
19775 ac_cv_lib_m_truncl=no
19776 fi
19777 rm -f conftest.err conftest.$ac_objext \
19778       conftest$ac_exeext conftest.$ac_ext
19779 LIBS=$ac_check_lib_save_LIBS
19780 fi
19781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
19782 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
19783 if test $ac_cv_lib_m_truncl = yes; then
19784
19785 cat >>confdefs.h <<\_ACEOF
19786 #define HAVE_TRUNCL 1
19787 _ACEOF
19788
19789 fi
19790
19791 echo "$as_me:$LINENO: checking for erff in -lm" >&5
19792 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
19793 if test "${ac_cv_lib_m_erff+set}" = set; then
19794   echo $ECHO_N "(cached) $ECHO_C" >&6
19795 else
19796   ac_check_lib_save_LIBS=$LIBS
19797 LIBS="-lm  $LIBS"
19798 if test x$gcc_no_link = xyes; then
19799   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19801    { (exit 1); exit 1; }; }
19802 fi
19803 cat >conftest.$ac_ext <<_ACEOF
19804 /* confdefs.h.  */
19805 _ACEOF
19806 cat confdefs.h >>conftest.$ac_ext
19807 cat >>conftest.$ac_ext <<_ACEOF
19808 /* end confdefs.h.  */
19809
19810 /* Override any gcc2 internal prototype to avoid an error.  */
19811 #ifdef __cplusplus
19812 extern "C"
19813 #endif
19814 /* We use char because int might match the return type of a gcc2
19815    builtin and then its argument prototype would still apply.  */
19816 char erff ();
19817 int
19818 main ()
19819 {
19820 erff ();
19821   ;
19822   return 0;
19823 }
19824 _ACEOF
19825 rm -f conftest.$ac_objext conftest$ac_exeext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827   (eval $ac_link) 2>conftest.er1
19828   ac_status=$?
19829   grep -v '^ *+' conftest.er1 >conftest.err
19830   rm -f conftest.er1
19831   cat conftest.err >&5
19832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833   (exit $ac_status); } &&
19834          { ac_try='test -z "$ac_c_werror_flag"
19835                          || test ! -s conftest.err'
19836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837   (eval $ac_try) 2>&5
19838   ac_status=$?
19839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840   (exit $ac_status); }; } &&
19841          { ac_try='test -s conftest$ac_exeext'
19842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843   (eval $ac_try) 2>&5
19844   ac_status=$?
19845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846   (exit $ac_status); }; }; then
19847   ac_cv_lib_m_erff=yes
19848 else
19849   echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19851
19852 ac_cv_lib_m_erff=no
19853 fi
19854 rm -f conftest.err conftest.$ac_objext \
19855       conftest$ac_exeext conftest.$ac_ext
19856 LIBS=$ac_check_lib_save_LIBS
19857 fi
19858 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
19859 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
19860 if test $ac_cv_lib_m_erff = yes; then
19861
19862 cat >>confdefs.h <<\_ACEOF
19863 #define HAVE_ERFF 1
19864 _ACEOF
19865
19866 fi
19867
19868 echo "$as_me:$LINENO: checking for erf in -lm" >&5
19869 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
19870 if test "${ac_cv_lib_m_erf+set}" = set; then
19871   echo $ECHO_N "(cached) $ECHO_C" >&6
19872 else
19873   ac_check_lib_save_LIBS=$LIBS
19874 LIBS="-lm  $LIBS"
19875 if test x$gcc_no_link = xyes; then
19876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19878    { (exit 1); exit 1; }; }
19879 fi
19880 cat >conftest.$ac_ext <<_ACEOF
19881 /* confdefs.h.  */
19882 _ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h.  */
19886
19887 /* Override any gcc2 internal prototype to avoid an error.  */
19888 #ifdef __cplusplus
19889 extern "C"
19890 #endif
19891 /* We use char because int might match the return type of a gcc2
19892    builtin and then its argument prototype would still apply.  */
19893 char erf ();
19894 int
19895 main ()
19896 {
19897 erf ();
19898   ;
19899   return 0;
19900 }
19901 _ACEOF
19902 rm -f conftest.$ac_objext conftest$ac_exeext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19904   (eval $ac_link) 2>conftest.er1
19905   ac_status=$?
19906   grep -v '^ *+' conftest.er1 >conftest.err
19907   rm -f conftest.er1
19908   cat conftest.err >&5
19909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910   (exit $ac_status); } &&
19911          { ac_try='test -z "$ac_c_werror_flag"
19912                          || test ! -s conftest.err'
19913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914   (eval $ac_try) 2>&5
19915   ac_status=$?
19916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917   (exit $ac_status); }; } &&
19918          { ac_try='test -s conftest$ac_exeext'
19919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920   (eval $ac_try) 2>&5
19921   ac_status=$?
19922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923   (exit $ac_status); }; }; then
19924   ac_cv_lib_m_erf=yes
19925 else
19926   echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19928
19929 ac_cv_lib_m_erf=no
19930 fi
19931 rm -f conftest.err conftest.$ac_objext \
19932       conftest$ac_exeext conftest.$ac_ext
19933 LIBS=$ac_check_lib_save_LIBS
19934 fi
19935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
19936 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
19937 if test $ac_cv_lib_m_erf = yes; then
19938
19939 cat >>confdefs.h <<\_ACEOF
19940 #define HAVE_ERF 1
19941 _ACEOF
19942
19943 fi
19944
19945 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
19946 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
19947 if test "${ac_cv_lib_m_erfl+set}" = set; then
19948   echo $ECHO_N "(cached) $ECHO_C" >&6
19949 else
19950   ac_check_lib_save_LIBS=$LIBS
19951 LIBS="-lm  $LIBS"
19952 if test x$gcc_no_link = xyes; then
19953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19955    { (exit 1); exit 1; }; }
19956 fi
19957 cat >conftest.$ac_ext <<_ACEOF
19958 /* confdefs.h.  */
19959 _ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h.  */
19963
19964 /* Override any gcc2 internal prototype to avoid an error.  */
19965 #ifdef __cplusplus
19966 extern "C"
19967 #endif
19968 /* We use char because int might match the return type of a gcc2
19969    builtin and then its argument prototype would still apply.  */
19970 char erfl ();
19971 int
19972 main ()
19973 {
19974 erfl ();
19975   ;
19976   return 0;
19977 }
19978 _ACEOF
19979 rm -f conftest.$ac_objext conftest$ac_exeext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19981   (eval $ac_link) 2>conftest.er1
19982   ac_status=$?
19983   grep -v '^ *+' conftest.er1 >conftest.err
19984   rm -f conftest.er1
19985   cat conftest.err >&5
19986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987   (exit $ac_status); } &&
19988          { ac_try='test -z "$ac_c_werror_flag"
19989                          || test ! -s conftest.err'
19990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991   (eval $ac_try) 2>&5
19992   ac_status=$?
19993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994   (exit $ac_status); }; } &&
19995          { ac_try='test -s conftest$ac_exeext'
19996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997   (eval $ac_try) 2>&5
19998   ac_status=$?
19999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000   (exit $ac_status); }; }; then
20001   ac_cv_lib_m_erfl=yes
20002 else
20003   echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20005
20006 ac_cv_lib_m_erfl=no
20007 fi
20008 rm -f conftest.err conftest.$ac_objext \
20009       conftest$ac_exeext conftest.$ac_ext
20010 LIBS=$ac_check_lib_save_LIBS
20011 fi
20012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20013 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20014 if test $ac_cv_lib_m_erfl = yes; then
20015
20016 cat >>confdefs.h <<\_ACEOF
20017 #define HAVE_ERFL 1
20018 _ACEOF
20019
20020 fi
20021
20022 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20023 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20024 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20025   echo $ECHO_N "(cached) $ECHO_C" >&6
20026 else
20027   ac_check_lib_save_LIBS=$LIBS
20028 LIBS="-lm  $LIBS"
20029 if test x$gcc_no_link = xyes; then
20030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20032    { (exit 1); exit 1; }; }
20033 fi
20034 cat >conftest.$ac_ext <<_ACEOF
20035 /* confdefs.h.  */
20036 _ACEOF
20037 cat confdefs.h >>conftest.$ac_ext
20038 cat >>conftest.$ac_ext <<_ACEOF
20039 /* end confdefs.h.  */
20040
20041 /* Override any gcc2 internal prototype to avoid an error.  */
20042 #ifdef __cplusplus
20043 extern "C"
20044 #endif
20045 /* We use char because int might match the return type of a gcc2
20046    builtin and then its argument prototype would still apply.  */
20047 char erfcf ();
20048 int
20049 main ()
20050 {
20051 erfcf ();
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   ac_cv_lib_m_erfcf=yes
20079 else
20080   echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20082
20083 ac_cv_lib_m_erfcf=no
20084 fi
20085 rm -f conftest.err conftest.$ac_objext \
20086       conftest$ac_exeext conftest.$ac_ext
20087 LIBS=$ac_check_lib_save_LIBS
20088 fi
20089 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20090 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20091 if test $ac_cv_lib_m_erfcf = yes; then
20092
20093 cat >>confdefs.h <<\_ACEOF
20094 #define HAVE_ERFCF 1
20095 _ACEOF
20096
20097 fi
20098
20099 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20100 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20101 if test "${ac_cv_lib_m_erfc+set}" = set; then
20102   echo $ECHO_N "(cached) $ECHO_C" >&6
20103 else
20104   ac_check_lib_save_LIBS=$LIBS
20105 LIBS="-lm  $LIBS"
20106 if test x$gcc_no_link = xyes; then
20107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20109    { (exit 1); exit 1; }; }
20110 fi
20111 cat >conftest.$ac_ext <<_ACEOF
20112 /* confdefs.h.  */
20113 _ACEOF
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h.  */
20117
20118 /* Override any gcc2 internal prototype to avoid an error.  */
20119 #ifdef __cplusplus
20120 extern "C"
20121 #endif
20122 /* We use char because int might match the return type of a gcc2
20123    builtin and then its argument prototype would still apply.  */
20124 char erfc ();
20125 int
20126 main ()
20127 {
20128 erfc ();
20129   ;
20130   return 0;
20131 }
20132 _ACEOF
20133 rm -f conftest.$ac_objext conftest$ac_exeext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20135   (eval $ac_link) 2>conftest.er1
20136   ac_status=$?
20137   grep -v '^ *+' conftest.er1 >conftest.err
20138   rm -f conftest.er1
20139   cat conftest.err >&5
20140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141   (exit $ac_status); } &&
20142          { ac_try='test -z "$ac_c_werror_flag"
20143                          || test ! -s conftest.err'
20144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145   (eval $ac_try) 2>&5
20146   ac_status=$?
20147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148   (exit $ac_status); }; } &&
20149          { ac_try='test -s conftest$ac_exeext'
20150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151   (eval $ac_try) 2>&5
20152   ac_status=$?
20153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154   (exit $ac_status); }; }; then
20155   ac_cv_lib_m_erfc=yes
20156 else
20157   echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20159
20160 ac_cv_lib_m_erfc=no
20161 fi
20162 rm -f conftest.err conftest.$ac_objext \
20163       conftest$ac_exeext conftest.$ac_ext
20164 LIBS=$ac_check_lib_save_LIBS
20165 fi
20166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20167 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20168 if test $ac_cv_lib_m_erfc = yes; then
20169
20170 cat >>confdefs.h <<\_ACEOF
20171 #define HAVE_ERFC 1
20172 _ACEOF
20173
20174 fi
20175
20176 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20177 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20178 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20179   echo $ECHO_N "(cached) $ECHO_C" >&6
20180 else
20181   ac_check_lib_save_LIBS=$LIBS
20182 LIBS="-lm  $LIBS"
20183 if test x$gcc_no_link = xyes; then
20184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20186    { (exit 1); exit 1; }; }
20187 fi
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h.  */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h.  */
20194
20195 /* Override any gcc2 internal prototype to avoid an error.  */
20196 #ifdef __cplusplus
20197 extern "C"
20198 #endif
20199 /* We use char because int might match the return type of a gcc2
20200    builtin and then its argument prototype would still apply.  */
20201 char erfcl ();
20202 int
20203 main ()
20204 {
20205 erfcl ();
20206   ;
20207   return 0;
20208 }
20209 _ACEOF
20210 rm -f conftest.$ac_objext conftest$ac_exeext
20211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20212   (eval $ac_link) 2>conftest.er1
20213   ac_status=$?
20214   grep -v '^ *+' conftest.er1 >conftest.err
20215   rm -f conftest.er1
20216   cat conftest.err >&5
20217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218   (exit $ac_status); } &&
20219          { ac_try='test -z "$ac_c_werror_flag"
20220                          || test ! -s conftest.err'
20221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222   (eval $ac_try) 2>&5
20223   ac_status=$?
20224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225   (exit $ac_status); }; } &&
20226          { ac_try='test -s conftest$ac_exeext'
20227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228   (eval $ac_try) 2>&5
20229   ac_status=$?
20230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231   (exit $ac_status); }; }; then
20232   ac_cv_lib_m_erfcl=yes
20233 else
20234   echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.$ac_ext >&5
20236
20237 ac_cv_lib_m_erfcl=no
20238 fi
20239 rm -f conftest.err conftest.$ac_objext \
20240       conftest$ac_exeext conftest.$ac_ext
20241 LIBS=$ac_check_lib_save_LIBS
20242 fi
20243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
20244 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
20245 if test $ac_cv_lib_m_erfcl = yes; then
20246
20247 cat >>confdefs.h <<\_ACEOF
20248 #define HAVE_ERFCL 1
20249 _ACEOF
20250
20251 fi
20252
20253 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
20254 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
20255 if test "${ac_cv_lib_m_j0f+set}" = set; then
20256   echo $ECHO_N "(cached) $ECHO_C" >&6
20257 else
20258   ac_check_lib_save_LIBS=$LIBS
20259 LIBS="-lm  $LIBS"
20260 if test x$gcc_no_link = xyes; then
20261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20263    { (exit 1); exit 1; }; }
20264 fi
20265 cat >conftest.$ac_ext <<_ACEOF
20266 /* confdefs.h.  */
20267 _ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h.  */
20271
20272 /* Override any gcc2 internal prototype to avoid an error.  */
20273 #ifdef __cplusplus
20274 extern "C"
20275 #endif
20276 /* We use char because int might match the return type of a gcc2
20277    builtin and then its argument prototype would still apply.  */
20278 char j0f ();
20279 int
20280 main ()
20281 {
20282 j0f ();
20283   ;
20284   return 0;
20285 }
20286 _ACEOF
20287 rm -f conftest.$ac_objext conftest$ac_exeext
20288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20289   (eval $ac_link) 2>conftest.er1
20290   ac_status=$?
20291   grep -v '^ *+' conftest.er1 >conftest.err
20292   rm -f conftest.er1
20293   cat conftest.err >&5
20294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295   (exit $ac_status); } &&
20296          { ac_try='test -z "$ac_c_werror_flag"
20297                          || test ! -s conftest.err'
20298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299   (eval $ac_try) 2>&5
20300   ac_status=$?
20301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302   (exit $ac_status); }; } &&
20303          { ac_try='test -s conftest$ac_exeext'
20304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305   (eval $ac_try) 2>&5
20306   ac_status=$?
20307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308   (exit $ac_status); }; }; then
20309   ac_cv_lib_m_j0f=yes
20310 else
20311   echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20313
20314 ac_cv_lib_m_j0f=no
20315 fi
20316 rm -f conftest.err conftest.$ac_objext \
20317       conftest$ac_exeext conftest.$ac_ext
20318 LIBS=$ac_check_lib_save_LIBS
20319 fi
20320 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20321 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20322 if test $ac_cv_lib_m_j0f = yes; then
20323
20324 cat >>confdefs.h <<\_ACEOF
20325 #define HAVE_J0F 1
20326 _ACEOF
20327
20328 fi
20329
20330 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20331 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20332 if test "${ac_cv_lib_m_j0+set}" = set; then
20333   echo $ECHO_N "(cached) $ECHO_C" >&6
20334 else
20335   ac_check_lib_save_LIBS=$LIBS
20336 LIBS="-lm  $LIBS"
20337 if test x$gcc_no_link = xyes; then
20338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20340    { (exit 1); exit 1; }; }
20341 fi
20342 cat >conftest.$ac_ext <<_ACEOF
20343 /* confdefs.h.  */
20344 _ACEOF
20345 cat confdefs.h >>conftest.$ac_ext
20346 cat >>conftest.$ac_ext <<_ACEOF
20347 /* end confdefs.h.  */
20348
20349 /* Override any gcc2 internal prototype to avoid an error.  */
20350 #ifdef __cplusplus
20351 extern "C"
20352 #endif
20353 /* We use char because int might match the return type of a gcc2
20354    builtin and then its argument prototype would still apply.  */
20355 char j0 ();
20356 int
20357 main ()
20358 {
20359 j0 ();
20360   ;
20361   return 0;
20362 }
20363 _ACEOF
20364 rm -f conftest.$ac_objext conftest$ac_exeext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20366   (eval $ac_link) 2>conftest.er1
20367   ac_status=$?
20368   grep -v '^ *+' conftest.er1 >conftest.err
20369   rm -f conftest.er1
20370   cat conftest.err >&5
20371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372   (exit $ac_status); } &&
20373          { ac_try='test -z "$ac_c_werror_flag"
20374                          || test ! -s conftest.err'
20375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20376   (eval $ac_try) 2>&5
20377   ac_status=$?
20378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379   (exit $ac_status); }; } &&
20380          { ac_try='test -s conftest$ac_exeext'
20381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382   (eval $ac_try) 2>&5
20383   ac_status=$?
20384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385   (exit $ac_status); }; }; then
20386   ac_cv_lib_m_j0=yes
20387 else
20388   echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.$ac_ext >&5
20390
20391 ac_cv_lib_m_j0=no
20392 fi
20393 rm -f conftest.err conftest.$ac_objext \
20394       conftest$ac_exeext conftest.$ac_ext
20395 LIBS=$ac_check_lib_save_LIBS
20396 fi
20397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
20398 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
20399 if test $ac_cv_lib_m_j0 = yes; then
20400
20401 cat >>confdefs.h <<\_ACEOF
20402 #define HAVE_J0 1
20403 _ACEOF
20404
20405 fi
20406
20407 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
20408 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
20409 if test "${ac_cv_lib_m_j0l+set}" = set; then
20410   echo $ECHO_N "(cached) $ECHO_C" >&6
20411 else
20412   ac_check_lib_save_LIBS=$LIBS
20413 LIBS="-lm  $LIBS"
20414 if test x$gcc_no_link = xyes; then
20415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20417    { (exit 1); exit 1; }; }
20418 fi
20419 cat >conftest.$ac_ext <<_ACEOF
20420 /* confdefs.h.  */
20421 _ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h.  */
20425
20426 /* Override any gcc2 internal prototype to avoid an error.  */
20427 #ifdef __cplusplus
20428 extern "C"
20429 #endif
20430 /* We use char because int might match the return type of a gcc2
20431    builtin and then its argument prototype would still apply.  */
20432 char j0l ();
20433 int
20434 main ()
20435 {
20436 j0l ();
20437   ;
20438   return 0;
20439 }
20440 _ACEOF
20441 rm -f conftest.$ac_objext conftest$ac_exeext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443   (eval $ac_link) 2>conftest.er1
20444   ac_status=$?
20445   grep -v '^ *+' conftest.er1 >conftest.err
20446   rm -f conftest.er1
20447   cat conftest.err >&5
20448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449   (exit $ac_status); } &&
20450          { ac_try='test -z "$ac_c_werror_flag"
20451                          || test ! -s conftest.err'
20452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453   (eval $ac_try) 2>&5
20454   ac_status=$?
20455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456   (exit $ac_status); }; } &&
20457          { ac_try='test -s conftest$ac_exeext'
20458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459   (eval $ac_try) 2>&5
20460   ac_status=$?
20461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462   (exit $ac_status); }; }; then
20463   ac_cv_lib_m_j0l=yes
20464 else
20465   echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20467
20468 ac_cv_lib_m_j0l=no
20469 fi
20470 rm -f conftest.err conftest.$ac_objext \
20471       conftest$ac_exeext conftest.$ac_ext
20472 LIBS=$ac_check_lib_save_LIBS
20473 fi
20474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
20475 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
20476 if test $ac_cv_lib_m_j0l = yes; then
20477
20478 cat >>confdefs.h <<\_ACEOF
20479 #define HAVE_J0L 1
20480 _ACEOF
20481
20482 fi
20483
20484 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
20485 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
20486 if test "${ac_cv_lib_m_j1f+set}" = set; then
20487   echo $ECHO_N "(cached) $ECHO_C" >&6
20488 else
20489   ac_check_lib_save_LIBS=$LIBS
20490 LIBS="-lm  $LIBS"
20491 if test x$gcc_no_link = xyes; then
20492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20494    { (exit 1); exit 1; }; }
20495 fi
20496 cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h.  */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h.  */
20502
20503 /* Override any gcc2 internal prototype to avoid an error.  */
20504 #ifdef __cplusplus
20505 extern "C"
20506 #endif
20507 /* We use char because int might match the return type of a gcc2
20508    builtin and then its argument prototype would still apply.  */
20509 char j1f ();
20510 int
20511 main ()
20512 {
20513 j1f ();
20514   ;
20515   return 0;
20516 }
20517 _ACEOF
20518 rm -f conftest.$ac_objext conftest$ac_exeext
20519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20520   (eval $ac_link) 2>conftest.er1
20521   ac_status=$?
20522   grep -v '^ *+' conftest.er1 >conftest.err
20523   rm -f conftest.er1
20524   cat conftest.err >&5
20525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526   (exit $ac_status); } &&
20527          { ac_try='test -z "$ac_c_werror_flag"
20528                          || test ! -s conftest.err'
20529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530   (eval $ac_try) 2>&5
20531   ac_status=$?
20532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533   (exit $ac_status); }; } &&
20534          { ac_try='test -s conftest$ac_exeext'
20535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20536   (eval $ac_try) 2>&5
20537   ac_status=$?
20538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539   (exit $ac_status); }; }; then
20540   ac_cv_lib_m_j1f=yes
20541 else
20542   echo "$as_me: failed program was:" >&5
20543 sed 's/^/| /' conftest.$ac_ext >&5
20544
20545 ac_cv_lib_m_j1f=no
20546 fi
20547 rm -f conftest.err conftest.$ac_objext \
20548       conftest$ac_exeext conftest.$ac_ext
20549 LIBS=$ac_check_lib_save_LIBS
20550 fi
20551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
20552 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
20553 if test $ac_cv_lib_m_j1f = yes; then
20554
20555 cat >>confdefs.h <<\_ACEOF
20556 #define HAVE_J1F 1
20557 _ACEOF
20558
20559 fi
20560
20561 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
20562 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
20563 if test "${ac_cv_lib_m_j1+set}" = set; then
20564   echo $ECHO_N "(cached) $ECHO_C" >&6
20565 else
20566   ac_check_lib_save_LIBS=$LIBS
20567 LIBS="-lm  $LIBS"
20568 if test x$gcc_no_link = xyes; then
20569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20571    { (exit 1); exit 1; }; }
20572 fi
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h.  */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h.  */
20579
20580 /* Override any gcc2 internal prototype to avoid an error.  */
20581 #ifdef __cplusplus
20582 extern "C"
20583 #endif
20584 /* We use char because int might match the return type of a gcc2
20585    builtin and then its argument prototype would still apply.  */
20586 char j1 ();
20587 int
20588 main ()
20589 {
20590 j1 ();
20591   ;
20592   return 0;
20593 }
20594 _ACEOF
20595 rm -f conftest.$ac_objext conftest$ac_exeext
20596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597   (eval $ac_link) 2>conftest.er1
20598   ac_status=$?
20599   grep -v '^ *+' conftest.er1 >conftest.err
20600   rm -f conftest.er1
20601   cat conftest.err >&5
20602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603   (exit $ac_status); } &&
20604          { ac_try='test -z "$ac_c_werror_flag"
20605                          || test ! -s conftest.err'
20606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607   (eval $ac_try) 2>&5
20608   ac_status=$?
20609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610   (exit $ac_status); }; } &&
20611          { ac_try='test -s conftest$ac_exeext'
20612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613   (eval $ac_try) 2>&5
20614   ac_status=$?
20615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616   (exit $ac_status); }; }; then
20617   ac_cv_lib_m_j1=yes
20618 else
20619   echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.$ac_ext >&5
20621
20622 ac_cv_lib_m_j1=no
20623 fi
20624 rm -f conftest.err conftest.$ac_objext \
20625       conftest$ac_exeext conftest.$ac_ext
20626 LIBS=$ac_check_lib_save_LIBS
20627 fi
20628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
20629 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
20630 if test $ac_cv_lib_m_j1 = yes; then
20631
20632 cat >>confdefs.h <<\_ACEOF
20633 #define HAVE_J1 1
20634 _ACEOF
20635
20636 fi
20637
20638 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
20639 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
20640 if test "${ac_cv_lib_m_j1l+set}" = set; then
20641   echo $ECHO_N "(cached) $ECHO_C" >&6
20642 else
20643   ac_check_lib_save_LIBS=$LIBS
20644 LIBS="-lm  $LIBS"
20645 if test x$gcc_no_link = xyes; then
20646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20648    { (exit 1); exit 1; }; }
20649 fi
20650 cat >conftest.$ac_ext <<_ACEOF
20651 /* confdefs.h.  */
20652 _ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h.  */
20656
20657 /* Override any gcc2 internal prototype to avoid an error.  */
20658 #ifdef __cplusplus
20659 extern "C"
20660 #endif
20661 /* We use char because int might match the return type of a gcc2
20662    builtin and then its argument prototype would still apply.  */
20663 char j1l ();
20664 int
20665 main ()
20666 {
20667 j1l ();
20668   ;
20669   return 0;
20670 }
20671 _ACEOF
20672 rm -f conftest.$ac_objext conftest$ac_exeext
20673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20674   (eval $ac_link) 2>conftest.er1
20675   ac_status=$?
20676   grep -v '^ *+' conftest.er1 >conftest.err
20677   rm -f conftest.er1
20678   cat conftest.err >&5
20679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680   (exit $ac_status); } &&
20681          { ac_try='test -z "$ac_c_werror_flag"
20682                          || test ! -s conftest.err'
20683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684   (eval $ac_try) 2>&5
20685   ac_status=$?
20686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687   (exit $ac_status); }; } &&
20688          { ac_try='test -s conftest$ac_exeext'
20689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690   (eval $ac_try) 2>&5
20691   ac_status=$?
20692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693   (exit $ac_status); }; }; then
20694   ac_cv_lib_m_j1l=yes
20695 else
20696   echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.$ac_ext >&5
20698
20699 ac_cv_lib_m_j1l=no
20700 fi
20701 rm -f conftest.err conftest.$ac_objext \
20702       conftest$ac_exeext conftest.$ac_ext
20703 LIBS=$ac_check_lib_save_LIBS
20704 fi
20705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
20706 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
20707 if test $ac_cv_lib_m_j1l = yes; then
20708
20709 cat >>confdefs.h <<\_ACEOF
20710 #define HAVE_J1L 1
20711 _ACEOF
20712
20713 fi
20714
20715 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
20716 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
20717 if test "${ac_cv_lib_m_jnf+set}" = set; then
20718   echo $ECHO_N "(cached) $ECHO_C" >&6
20719 else
20720   ac_check_lib_save_LIBS=$LIBS
20721 LIBS="-lm  $LIBS"
20722 if test x$gcc_no_link = xyes; then
20723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20725    { (exit 1); exit 1; }; }
20726 fi
20727 cat >conftest.$ac_ext <<_ACEOF
20728 /* confdefs.h.  */
20729 _ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h.  */
20733
20734 /* Override any gcc2 internal prototype to avoid an error.  */
20735 #ifdef __cplusplus
20736 extern "C"
20737 #endif
20738 /* We use char because int might match the return type of a gcc2
20739    builtin and then its argument prototype would still apply.  */
20740 char jnf ();
20741 int
20742 main ()
20743 {
20744 jnf ();
20745   ;
20746   return 0;
20747 }
20748 _ACEOF
20749 rm -f conftest.$ac_objext conftest$ac_exeext
20750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20751   (eval $ac_link) 2>conftest.er1
20752   ac_status=$?
20753   grep -v '^ *+' conftest.er1 >conftest.err
20754   rm -f conftest.er1
20755   cat conftest.err >&5
20756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757   (exit $ac_status); } &&
20758          { ac_try='test -z "$ac_c_werror_flag"
20759                          || test ! -s conftest.err'
20760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761   (eval $ac_try) 2>&5
20762   ac_status=$?
20763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764   (exit $ac_status); }; } &&
20765          { ac_try='test -s conftest$ac_exeext'
20766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767   (eval $ac_try) 2>&5
20768   ac_status=$?
20769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770   (exit $ac_status); }; }; then
20771   ac_cv_lib_m_jnf=yes
20772 else
20773   echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20775
20776 ac_cv_lib_m_jnf=no
20777 fi
20778 rm -f conftest.err conftest.$ac_objext \
20779       conftest$ac_exeext conftest.$ac_ext
20780 LIBS=$ac_check_lib_save_LIBS
20781 fi
20782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
20783 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
20784 if test $ac_cv_lib_m_jnf = yes; then
20785
20786 cat >>confdefs.h <<\_ACEOF
20787 #define HAVE_JNF 1
20788 _ACEOF
20789
20790 fi
20791
20792 echo "$as_me:$LINENO: checking for jn in -lm" >&5
20793 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
20794 if test "${ac_cv_lib_m_jn+set}" = set; then
20795   echo $ECHO_N "(cached) $ECHO_C" >&6
20796 else
20797   ac_check_lib_save_LIBS=$LIBS
20798 LIBS="-lm  $LIBS"
20799 if test x$gcc_no_link = xyes; then
20800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20802    { (exit 1); exit 1; }; }
20803 fi
20804 cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h.  */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h.  */
20810
20811 /* Override any gcc2 internal prototype to avoid an error.  */
20812 #ifdef __cplusplus
20813 extern "C"
20814 #endif
20815 /* We use char because int might match the return type of a gcc2
20816    builtin and then its argument prototype would still apply.  */
20817 char jn ();
20818 int
20819 main ()
20820 {
20821 jn ();
20822   ;
20823   return 0;
20824 }
20825 _ACEOF
20826 rm -f conftest.$ac_objext conftest$ac_exeext
20827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20828   (eval $ac_link) 2>conftest.er1
20829   ac_status=$?
20830   grep -v '^ *+' conftest.er1 >conftest.err
20831   rm -f conftest.er1
20832   cat conftest.err >&5
20833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834   (exit $ac_status); } &&
20835          { ac_try='test -z "$ac_c_werror_flag"
20836                          || test ! -s conftest.err'
20837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20838   (eval $ac_try) 2>&5
20839   ac_status=$?
20840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841   (exit $ac_status); }; } &&
20842          { ac_try='test -s conftest$ac_exeext'
20843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844   (eval $ac_try) 2>&5
20845   ac_status=$?
20846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847   (exit $ac_status); }; }; then
20848   ac_cv_lib_m_jn=yes
20849 else
20850   echo "$as_me: failed program was:" >&5
20851 sed 's/^/| /' conftest.$ac_ext >&5
20852
20853 ac_cv_lib_m_jn=no
20854 fi
20855 rm -f conftest.err conftest.$ac_objext \
20856       conftest$ac_exeext conftest.$ac_ext
20857 LIBS=$ac_check_lib_save_LIBS
20858 fi
20859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
20860 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
20861 if test $ac_cv_lib_m_jn = yes; then
20862
20863 cat >>confdefs.h <<\_ACEOF
20864 #define HAVE_JN 1
20865 _ACEOF
20866
20867 fi
20868
20869 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
20870 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
20871 if test "${ac_cv_lib_m_jnl+set}" = set; then
20872   echo $ECHO_N "(cached) $ECHO_C" >&6
20873 else
20874   ac_check_lib_save_LIBS=$LIBS
20875 LIBS="-lm  $LIBS"
20876 if test x$gcc_no_link = xyes; then
20877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20879    { (exit 1); exit 1; }; }
20880 fi
20881 cat >conftest.$ac_ext <<_ACEOF
20882 /* confdefs.h.  */
20883 _ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h.  */
20887
20888 /* Override any gcc2 internal prototype to avoid an error.  */
20889 #ifdef __cplusplus
20890 extern "C"
20891 #endif
20892 /* We use char because int might match the return type of a gcc2
20893    builtin and then its argument prototype would still apply.  */
20894 char jnl ();
20895 int
20896 main ()
20897 {
20898 jnl ();
20899   ;
20900   return 0;
20901 }
20902 _ACEOF
20903 rm -f conftest.$ac_objext conftest$ac_exeext
20904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20905   (eval $ac_link) 2>conftest.er1
20906   ac_status=$?
20907   grep -v '^ *+' conftest.er1 >conftest.err
20908   rm -f conftest.er1
20909   cat conftest.err >&5
20910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911   (exit $ac_status); } &&
20912          { ac_try='test -z "$ac_c_werror_flag"
20913                          || test ! -s conftest.err'
20914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20915   (eval $ac_try) 2>&5
20916   ac_status=$?
20917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918   (exit $ac_status); }; } &&
20919          { ac_try='test -s conftest$ac_exeext'
20920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921   (eval $ac_try) 2>&5
20922   ac_status=$?
20923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924   (exit $ac_status); }; }; then
20925   ac_cv_lib_m_jnl=yes
20926 else
20927   echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20929
20930 ac_cv_lib_m_jnl=no
20931 fi
20932 rm -f conftest.err conftest.$ac_objext \
20933       conftest$ac_exeext conftest.$ac_ext
20934 LIBS=$ac_check_lib_save_LIBS
20935 fi
20936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
20937 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
20938 if test $ac_cv_lib_m_jnl = yes; then
20939
20940 cat >>confdefs.h <<\_ACEOF
20941 #define HAVE_JNL 1
20942 _ACEOF
20943
20944 fi
20945
20946 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
20947 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
20948 if test "${ac_cv_lib_m_y0f+set}" = set; then
20949   echo $ECHO_N "(cached) $ECHO_C" >&6
20950 else
20951   ac_check_lib_save_LIBS=$LIBS
20952 LIBS="-lm  $LIBS"
20953 if test x$gcc_no_link = xyes; then
20954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20956    { (exit 1); exit 1; }; }
20957 fi
20958 cat >conftest.$ac_ext <<_ACEOF
20959 /* confdefs.h.  */
20960 _ACEOF
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h.  */
20964
20965 /* Override any gcc2 internal prototype to avoid an error.  */
20966 #ifdef __cplusplus
20967 extern "C"
20968 #endif
20969 /* We use char because int might match the return type of a gcc2
20970    builtin and then its argument prototype would still apply.  */
20971 char y0f ();
20972 int
20973 main ()
20974 {
20975 y0f ();
20976   ;
20977   return 0;
20978 }
20979 _ACEOF
20980 rm -f conftest.$ac_objext conftest$ac_exeext
20981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20982   (eval $ac_link) 2>conftest.er1
20983   ac_status=$?
20984   grep -v '^ *+' conftest.er1 >conftest.err
20985   rm -f conftest.er1
20986   cat conftest.err >&5
20987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988   (exit $ac_status); } &&
20989          { ac_try='test -z "$ac_c_werror_flag"
20990                          || test ! -s conftest.err'
20991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992   (eval $ac_try) 2>&5
20993   ac_status=$?
20994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995   (exit $ac_status); }; } &&
20996          { ac_try='test -s conftest$ac_exeext'
20997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998   (eval $ac_try) 2>&5
20999   ac_status=$?
21000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001   (exit $ac_status); }; }; then
21002   ac_cv_lib_m_y0f=yes
21003 else
21004   echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21006
21007 ac_cv_lib_m_y0f=no
21008 fi
21009 rm -f conftest.err conftest.$ac_objext \
21010       conftest$ac_exeext conftest.$ac_ext
21011 LIBS=$ac_check_lib_save_LIBS
21012 fi
21013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21014 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21015 if test $ac_cv_lib_m_y0f = yes; then
21016
21017 cat >>confdefs.h <<\_ACEOF
21018 #define HAVE_Y0F 1
21019 _ACEOF
21020
21021 fi
21022
21023 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21024 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21025 if test "${ac_cv_lib_m_y0+set}" = set; then
21026   echo $ECHO_N "(cached) $ECHO_C" >&6
21027 else
21028   ac_check_lib_save_LIBS=$LIBS
21029 LIBS="-lm  $LIBS"
21030 if test x$gcc_no_link = xyes; then
21031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21033    { (exit 1); exit 1; }; }
21034 fi
21035 cat >conftest.$ac_ext <<_ACEOF
21036 /* confdefs.h.  */
21037 _ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h.  */
21041
21042 /* Override any gcc2 internal prototype to avoid an error.  */
21043 #ifdef __cplusplus
21044 extern "C"
21045 #endif
21046 /* We use char because int might match the return type of a gcc2
21047    builtin and then its argument prototype would still apply.  */
21048 char y0 ();
21049 int
21050 main ()
21051 {
21052 y0 ();
21053   ;
21054   return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest.$ac_objext conftest$ac_exeext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059   (eval $ac_link) 2>conftest.er1
21060   ac_status=$?
21061   grep -v '^ *+' conftest.er1 >conftest.err
21062   rm -f conftest.er1
21063   cat conftest.err >&5
21064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065   (exit $ac_status); } &&
21066          { ac_try='test -z "$ac_c_werror_flag"
21067                          || test ! -s conftest.err'
21068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069   (eval $ac_try) 2>&5
21070   ac_status=$?
21071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072   (exit $ac_status); }; } &&
21073          { ac_try='test -s conftest$ac_exeext'
21074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075   (eval $ac_try) 2>&5
21076   ac_status=$?
21077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078   (exit $ac_status); }; }; then
21079   ac_cv_lib_m_y0=yes
21080 else
21081   echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21083
21084 ac_cv_lib_m_y0=no
21085 fi
21086 rm -f conftest.err conftest.$ac_objext \
21087       conftest$ac_exeext conftest.$ac_ext
21088 LIBS=$ac_check_lib_save_LIBS
21089 fi
21090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21091 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21092 if test $ac_cv_lib_m_y0 = yes; then
21093
21094 cat >>confdefs.h <<\_ACEOF
21095 #define HAVE_Y0 1
21096 _ACEOF
21097
21098 fi
21099
21100 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21101 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21102 if test "${ac_cv_lib_m_y0l+set}" = set; then
21103   echo $ECHO_N "(cached) $ECHO_C" >&6
21104 else
21105   ac_check_lib_save_LIBS=$LIBS
21106 LIBS="-lm  $LIBS"
21107 if test x$gcc_no_link = xyes; then
21108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21110    { (exit 1); exit 1; }; }
21111 fi
21112 cat >conftest.$ac_ext <<_ACEOF
21113 /* confdefs.h.  */
21114 _ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h.  */
21118
21119 /* Override any gcc2 internal prototype to avoid an error.  */
21120 #ifdef __cplusplus
21121 extern "C"
21122 #endif
21123 /* We use char because int might match the return type of a gcc2
21124    builtin and then its argument prototype would still apply.  */
21125 char y0l ();
21126 int
21127 main ()
21128 {
21129 y0l ();
21130   ;
21131   return 0;
21132 }
21133 _ACEOF
21134 rm -f conftest.$ac_objext conftest$ac_exeext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21136   (eval $ac_link) 2>conftest.er1
21137   ac_status=$?
21138   grep -v '^ *+' conftest.er1 >conftest.err
21139   rm -f conftest.er1
21140   cat conftest.err >&5
21141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142   (exit $ac_status); } &&
21143          { ac_try='test -z "$ac_c_werror_flag"
21144                          || test ! -s conftest.err'
21145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21146   (eval $ac_try) 2>&5
21147   ac_status=$?
21148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149   (exit $ac_status); }; } &&
21150          { ac_try='test -s conftest$ac_exeext'
21151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21152   (eval $ac_try) 2>&5
21153   ac_status=$?
21154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155   (exit $ac_status); }; }; then
21156   ac_cv_lib_m_y0l=yes
21157 else
21158   echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 ac_cv_lib_m_y0l=no
21162 fi
21163 rm -f conftest.err conftest.$ac_objext \
21164       conftest$ac_exeext conftest.$ac_ext
21165 LIBS=$ac_check_lib_save_LIBS
21166 fi
21167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21168 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21169 if test $ac_cv_lib_m_y0l = yes; then
21170
21171 cat >>confdefs.h <<\_ACEOF
21172 #define HAVE_Y0L 1
21173 _ACEOF
21174
21175 fi
21176
21177 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21178 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21179 if test "${ac_cv_lib_m_y1f+set}" = set; then
21180   echo $ECHO_N "(cached) $ECHO_C" >&6
21181 else
21182   ac_check_lib_save_LIBS=$LIBS
21183 LIBS="-lm  $LIBS"
21184 if test x$gcc_no_link = xyes; then
21185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21187    { (exit 1); exit 1; }; }
21188 fi
21189 cat >conftest.$ac_ext <<_ACEOF
21190 /* confdefs.h.  */
21191 _ACEOF
21192 cat confdefs.h >>conftest.$ac_ext
21193 cat >>conftest.$ac_ext <<_ACEOF
21194 /* end confdefs.h.  */
21195
21196 /* Override any gcc2 internal prototype to avoid an error.  */
21197 #ifdef __cplusplus
21198 extern "C"
21199 #endif
21200 /* We use char because int might match the return type of a gcc2
21201    builtin and then its argument prototype would still apply.  */
21202 char y1f ();
21203 int
21204 main ()
21205 {
21206 y1f ();
21207   ;
21208   return 0;
21209 }
21210 _ACEOF
21211 rm -f conftest.$ac_objext conftest$ac_exeext
21212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21213   (eval $ac_link) 2>conftest.er1
21214   ac_status=$?
21215   grep -v '^ *+' conftest.er1 >conftest.err
21216   rm -f conftest.er1
21217   cat conftest.err >&5
21218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219   (exit $ac_status); } &&
21220          { ac_try='test -z "$ac_c_werror_flag"
21221                          || test ! -s conftest.err'
21222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223   (eval $ac_try) 2>&5
21224   ac_status=$?
21225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226   (exit $ac_status); }; } &&
21227          { ac_try='test -s conftest$ac_exeext'
21228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229   (eval $ac_try) 2>&5
21230   ac_status=$?
21231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232   (exit $ac_status); }; }; then
21233   ac_cv_lib_m_y1f=yes
21234 else
21235   echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.$ac_ext >&5
21237
21238 ac_cv_lib_m_y1f=no
21239 fi
21240 rm -f conftest.err conftest.$ac_objext \
21241       conftest$ac_exeext conftest.$ac_ext
21242 LIBS=$ac_check_lib_save_LIBS
21243 fi
21244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
21245 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
21246 if test $ac_cv_lib_m_y1f = yes; then
21247
21248 cat >>confdefs.h <<\_ACEOF
21249 #define HAVE_Y1F 1
21250 _ACEOF
21251
21252 fi
21253
21254 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
21255 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
21256 if test "${ac_cv_lib_m_y1+set}" = set; then
21257   echo $ECHO_N "(cached) $ECHO_C" >&6
21258 else
21259   ac_check_lib_save_LIBS=$LIBS
21260 LIBS="-lm  $LIBS"
21261 if test x$gcc_no_link = xyes; then
21262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21264    { (exit 1); exit 1; }; }
21265 fi
21266 cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h.  */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h.  */
21272
21273 /* Override any gcc2 internal prototype to avoid an error.  */
21274 #ifdef __cplusplus
21275 extern "C"
21276 #endif
21277 /* We use char because int might match the return type of a gcc2
21278    builtin and then its argument prototype would still apply.  */
21279 char y1 ();
21280 int
21281 main ()
21282 {
21283 y1 ();
21284   ;
21285   return 0;
21286 }
21287 _ACEOF
21288 rm -f conftest.$ac_objext conftest$ac_exeext
21289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21290   (eval $ac_link) 2>conftest.er1
21291   ac_status=$?
21292   grep -v '^ *+' conftest.er1 >conftest.err
21293   rm -f conftest.er1
21294   cat conftest.err >&5
21295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296   (exit $ac_status); } &&
21297          { ac_try='test -z "$ac_c_werror_flag"
21298                          || test ! -s conftest.err'
21299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300   (eval $ac_try) 2>&5
21301   ac_status=$?
21302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303   (exit $ac_status); }; } &&
21304          { ac_try='test -s conftest$ac_exeext'
21305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306   (eval $ac_try) 2>&5
21307   ac_status=$?
21308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309   (exit $ac_status); }; }; then
21310   ac_cv_lib_m_y1=yes
21311 else
21312   echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.$ac_ext >&5
21314
21315 ac_cv_lib_m_y1=no
21316 fi
21317 rm -f conftest.err conftest.$ac_objext \
21318       conftest$ac_exeext conftest.$ac_ext
21319 LIBS=$ac_check_lib_save_LIBS
21320 fi
21321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21322 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21323 if test $ac_cv_lib_m_y1 = yes; then
21324
21325 cat >>confdefs.h <<\_ACEOF
21326 #define HAVE_Y1 1
21327 _ACEOF
21328
21329 fi
21330
21331 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21332 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21333 if test "${ac_cv_lib_m_y1l+set}" = set; then
21334   echo $ECHO_N "(cached) $ECHO_C" >&6
21335 else
21336   ac_check_lib_save_LIBS=$LIBS
21337 LIBS="-lm  $LIBS"
21338 if test x$gcc_no_link = xyes; then
21339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21341    { (exit 1); exit 1; }; }
21342 fi
21343 cat >conftest.$ac_ext <<_ACEOF
21344 /* confdefs.h.  */
21345 _ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h.  */
21349
21350 /* Override any gcc2 internal prototype to avoid an error.  */
21351 #ifdef __cplusplus
21352 extern "C"
21353 #endif
21354 /* We use char because int might match the return type of a gcc2
21355    builtin and then its argument prototype would still apply.  */
21356 char y1l ();
21357 int
21358 main ()
21359 {
21360 y1l ();
21361   ;
21362   return 0;
21363 }
21364 _ACEOF
21365 rm -f conftest.$ac_objext conftest$ac_exeext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21367   (eval $ac_link) 2>conftest.er1
21368   ac_status=$?
21369   grep -v '^ *+' conftest.er1 >conftest.err
21370   rm -f conftest.er1
21371   cat conftest.err >&5
21372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373   (exit $ac_status); } &&
21374          { ac_try='test -z "$ac_c_werror_flag"
21375                          || test ! -s conftest.err'
21376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377   (eval $ac_try) 2>&5
21378   ac_status=$?
21379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380   (exit $ac_status); }; } &&
21381          { ac_try='test -s conftest$ac_exeext'
21382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383   (eval $ac_try) 2>&5
21384   ac_status=$?
21385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386   (exit $ac_status); }; }; then
21387   ac_cv_lib_m_y1l=yes
21388 else
21389   echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21391
21392 ac_cv_lib_m_y1l=no
21393 fi
21394 rm -f conftest.err conftest.$ac_objext \
21395       conftest$ac_exeext conftest.$ac_ext
21396 LIBS=$ac_check_lib_save_LIBS
21397 fi
21398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
21399 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
21400 if test $ac_cv_lib_m_y1l = yes; then
21401
21402 cat >>confdefs.h <<\_ACEOF
21403 #define HAVE_Y1L 1
21404 _ACEOF
21405
21406 fi
21407
21408 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
21409 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
21410 if test "${ac_cv_lib_m_ynf+set}" = set; then
21411   echo $ECHO_N "(cached) $ECHO_C" >&6
21412 else
21413   ac_check_lib_save_LIBS=$LIBS
21414 LIBS="-lm  $LIBS"
21415 if test x$gcc_no_link = xyes; then
21416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21418    { (exit 1); exit 1; }; }
21419 fi
21420 cat >conftest.$ac_ext <<_ACEOF
21421 /* confdefs.h.  */
21422 _ACEOF
21423 cat confdefs.h >>conftest.$ac_ext
21424 cat >>conftest.$ac_ext <<_ACEOF
21425 /* end confdefs.h.  */
21426
21427 /* Override any gcc2 internal prototype to avoid an error.  */
21428 #ifdef __cplusplus
21429 extern "C"
21430 #endif
21431 /* We use char because int might match the return type of a gcc2
21432    builtin and then its argument prototype would still apply.  */
21433 char ynf ();
21434 int
21435 main ()
21436 {
21437 ynf ();
21438   ;
21439   return 0;
21440 }
21441 _ACEOF
21442 rm -f conftest.$ac_objext conftest$ac_exeext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21444   (eval $ac_link) 2>conftest.er1
21445   ac_status=$?
21446   grep -v '^ *+' conftest.er1 >conftest.err
21447   rm -f conftest.er1
21448   cat conftest.err >&5
21449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450   (exit $ac_status); } &&
21451          { ac_try='test -z "$ac_c_werror_flag"
21452                          || test ! -s conftest.err'
21453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454   (eval $ac_try) 2>&5
21455   ac_status=$?
21456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457   (exit $ac_status); }; } &&
21458          { ac_try='test -s conftest$ac_exeext'
21459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21460   (eval $ac_try) 2>&5
21461   ac_status=$?
21462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463   (exit $ac_status); }; }; then
21464   ac_cv_lib_m_ynf=yes
21465 else
21466   echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21468
21469 ac_cv_lib_m_ynf=no
21470 fi
21471 rm -f conftest.err conftest.$ac_objext \
21472       conftest$ac_exeext conftest.$ac_ext
21473 LIBS=$ac_check_lib_save_LIBS
21474 fi
21475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
21476 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
21477 if test $ac_cv_lib_m_ynf = yes; then
21478
21479 cat >>confdefs.h <<\_ACEOF
21480 #define HAVE_YNF 1
21481 _ACEOF
21482
21483 fi
21484
21485 echo "$as_me:$LINENO: checking for yn in -lm" >&5
21486 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
21487 if test "${ac_cv_lib_m_yn+set}" = set; then
21488   echo $ECHO_N "(cached) $ECHO_C" >&6
21489 else
21490   ac_check_lib_save_LIBS=$LIBS
21491 LIBS="-lm  $LIBS"
21492 if test x$gcc_no_link = xyes; then
21493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21495    { (exit 1); exit 1; }; }
21496 fi
21497 cat >conftest.$ac_ext <<_ACEOF
21498 /* confdefs.h.  */
21499 _ACEOF
21500 cat confdefs.h >>conftest.$ac_ext
21501 cat >>conftest.$ac_ext <<_ACEOF
21502 /* end confdefs.h.  */
21503
21504 /* Override any gcc2 internal prototype to avoid an error.  */
21505 #ifdef __cplusplus
21506 extern "C"
21507 #endif
21508 /* We use char because int might match the return type of a gcc2
21509    builtin and then its argument prototype would still apply.  */
21510 char yn ();
21511 int
21512 main ()
21513 {
21514 yn ();
21515   ;
21516   return 0;
21517 }
21518 _ACEOF
21519 rm -f conftest.$ac_objext conftest$ac_exeext
21520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21521   (eval $ac_link) 2>conftest.er1
21522   ac_status=$?
21523   grep -v '^ *+' conftest.er1 >conftest.err
21524   rm -f conftest.er1
21525   cat conftest.err >&5
21526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527   (exit $ac_status); } &&
21528          { ac_try='test -z "$ac_c_werror_flag"
21529                          || test ! -s conftest.err'
21530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21531   (eval $ac_try) 2>&5
21532   ac_status=$?
21533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534   (exit $ac_status); }; } &&
21535          { ac_try='test -s conftest$ac_exeext'
21536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537   (eval $ac_try) 2>&5
21538   ac_status=$?
21539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540   (exit $ac_status); }; }; then
21541   ac_cv_lib_m_yn=yes
21542 else
21543   echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21545
21546 ac_cv_lib_m_yn=no
21547 fi
21548 rm -f conftest.err conftest.$ac_objext \
21549       conftest$ac_exeext conftest.$ac_ext
21550 LIBS=$ac_check_lib_save_LIBS
21551 fi
21552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
21553 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
21554 if test $ac_cv_lib_m_yn = yes; then
21555
21556 cat >>confdefs.h <<\_ACEOF
21557 #define HAVE_YN 1
21558 _ACEOF
21559
21560 fi
21561
21562 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
21563 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
21564 if test "${ac_cv_lib_m_ynl+set}" = set; then
21565   echo $ECHO_N "(cached) $ECHO_C" >&6
21566 else
21567   ac_check_lib_save_LIBS=$LIBS
21568 LIBS="-lm  $LIBS"
21569 if test x$gcc_no_link = xyes; then
21570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21572    { (exit 1); exit 1; }; }
21573 fi
21574 cat >conftest.$ac_ext <<_ACEOF
21575 /* confdefs.h.  */
21576 _ACEOF
21577 cat confdefs.h >>conftest.$ac_ext
21578 cat >>conftest.$ac_ext <<_ACEOF
21579 /* end confdefs.h.  */
21580
21581 /* Override any gcc2 internal prototype to avoid an error.  */
21582 #ifdef __cplusplus
21583 extern "C"
21584 #endif
21585 /* We use char because int might match the return type of a gcc2
21586    builtin and then its argument prototype would still apply.  */
21587 char ynl ();
21588 int
21589 main ()
21590 {
21591 ynl ();
21592   ;
21593   return 0;
21594 }
21595 _ACEOF
21596 rm -f conftest.$ac_objext conftest$ac_exeext
21597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21598   (eval $ac_link) 2>conftest.er1
21599   ac_status=$?
21600   grep -v '^ *+' conftest.er1 >conftest.err
21601   rm -f conftest.er1
21602   cat conftest.err >&5
21603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604   (exit $ac_status); } &&
21605          { ac_try='test -z "$ac_c_werror_flag"
21606                          || test ! -s conftest.err'
21607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608   (eval $ac_try) 2>&5
21609   ac_status=$?
21610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611   (exit $ac_status); }; } &&
21612          { ac_try='test -s conftest$ac_exeext'
21613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614   (eval $ac_try) 2>&5
21615   ac_status=$?
21616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617   (exit $ac_status); }; }; then
21618   ac_cv_lib_m_ynl=yes
21619 else
21620   echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21622
21623 ac_cv_lib_m_ynl=no
21624 fi
21625 rm -f conftest.err conftest.$ac_objext \
21626       conftest$ac_exeext conftest.$ac_ext
21627 LIBS=$ac_check_lib_save_LIBS
21628 fi
21629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
21630 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
21631 if test $ac_cv_lib_m_ynl = yes; then
21632
21633 cat >>confdefs.h <<\_ACEOF
21634 #define HAVE_YNL 1
21635 _ACEOF
21636
21637 fi
21638
21639
21640 # On AIX, clog is present in libm as __clog
21641 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
21642 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
21643 if test "${ac_cv_lib_m___clog+set}" = set; then
21644   echo $ECHO_N "(cached) $ECHO_C" >&6
21645 else
21646   ac_check_lib_save_LIBS=$LIBS
21647 LIBS="-lm  $LIBS"
21648 if test x$gcc_no_link = xyes; then
21649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21651    { (exit 1); exit 1; }; }
21652 fi
21653 cat >conftest.$ac_ext <<_ACEOF
21654 /* confdefs.h.  */
21655 _ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h.  */
21659
21660 /* Override any gcc2 internal prototype to avoid an error.  */
21661 #ifdef __cplusplus
21662 extern "C"
21663 #endif
21664 /* We use char because int might match the return type of a gcc2
21665    builtin and then its argument prototype would still apply.  */
21666 char __clog ();
21667 int
21668 main ()
21669 {
21670 __clog ();
21671   ;
21672   return 0;
21673 }
21674 _ACEOF
21675 rm -f conftest.$ac_objext conftest$ac_exeext
21676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21677   (eval $ac_link) 2>conftest.er1
21678   ac_status=$?
21679   grep -v '^ *+' conftest.er1 >conftest.err
21680   rm -f conftest.er1
21681   cat conftest.err >&5
21682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683   (exit $ac_status); } &&
21684          { ac_try='test -z "$ac_c_werror_flag"
21685                          || test ! -s conftest.err'
21686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687   (eval $ac_try) 2>&5
21688   ac_status=$?
21689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690   (exit $ac_status); }; } &&
21691          { ac_try='test -s conftest$ac_exeext'
21692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693   (eval $ac_try) 2>&5
21694   ac_status=$?
21695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696   (exit $ac_status); }; }; then
21697   ac_cv_lib_m___clog=yes
21698 else
21699   echo "$as_me: failed program was:" >&5
21700 sed 's/^/| /' conftest.$ac_ext >&5
21701
21702 ac_cv_lib_m___clog=no
21703 fi
21704 rm -f conftest.err conftest.$ac_objext \
21705       conftest$ac_exeext conftest.$ac_ext
21706 LIBS=$ac_check_lib_save_LIBS
21707 fi
21708 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
21709 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
21710 if test $ac_cv_lib_m___clog = yes; then
21711
21712 cat >>confdefs.h <<\_ACEOF
21713 #define HAVE_CLOG 1
21714 _ACEOF
21715
21716 fi
21717
21718
21719 # Check for a isfinite macro that works on long doubles.
21720
21721   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
21722 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
21723 if test "${have_broken_isfinite+set}" = set; then
21724   echo $ECHO_N "(cached) $ECHO_C" >&6
21725 else
21726
21727   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
21728   LIBS="$LIBS -lm"
21729   if test "$cross_compiling" = yes; then
21730
21731 case "${target}" in
21732   hppa*-*-hpux*) have_broken_isfinite=yes ;;
21733   *) have_broken_isfinite=no ;;
21734 esac
21735 else
21736   cat >conftest.$ac_ext <<_ACEOF
21737 /* confdefs.h.  */
21738 _ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h.  */
21742
21743 #ifdef HAVE_MATH_H
21744 #include <math.h>
21745 #endif
21746 #include <float.h>
21747 int main ()
21748 {
21749 #ifdef isfinite
21750 #ifdef LDBL_MAX
21751   if (!isfinite(LDBL_MAX)) return 1;
21752 #endif
21753 #ifdef DBL_MAX
21754   if (!isfinite(DBL_MAX)) return 1;
21755 #endif
21756 #endif
21757 return 0;
21758 }
21759 _ACEOF
21760 rm -f conftest$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762   (eval $ac_link) 2>&5
21763   ac_status=$?
21764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767   (eval $ac_try) 2>&5
21768   ac_status=$?
21769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770   (exit $ac_status); }; }; then
21771   have_broken_isfinite=no
21772 else
21773   echo "$as_me: program exited with status $ac_status" >&5
21774 echo "$as_me: failed program was:" >&5
21775 sed 's/^/| /' conftest.$ac_ext >&5
21776
21777 ( exit $ac_status )
21778 have_broken_isfinite=yes
21779 fi
21780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21781 fi
21782   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
21783 fi
21784 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
21785 echo "${ECHO_T}$have_broken_isfinite" >&6
21786 if test x"$have_broken_isfinite" = xyes; then
21787
21788 cat >>confdefs.h <<\_ACEOF
21789 #define HAVE_BROKEN_ISFINITE 1
21790 _ACEOF
21791
21792 fi
21793
21794 # Check for a isnan macro that works on long doubles.
21795
21796   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
21797 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
21798 if test "${have_broken_isnan+set}" = set; then
21799   echo $ECHO_N "(cached) $ECHO_C" >&6
21800 else
21801
21802   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
21803   LIBS="$LIBS -lm"
21804   if test "$cross_compiling" = yes; then
21805
21806 case "${target}" in
21807   hppa*-*-hpux*) have_broken_isnan=yes ;;
21808   *) have_broken_isnan=no ;;
21809 esac
21810 else
21811   cat >conftest.$ac_ext <<_ACEOF
21812 /* confdefs.h.  */
21813 _ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h.  */
21817
21818 #ifdef HAVE_MATH_H
21819 #include <math.h>
21820 #endif
21821 #include <float.h>
21822 int main ()
21823 {
21824 #ifdef isnan
21825 #ifdef LDBL_MAX
21826   {
21827     long double x;
21828     x = __builtin_nanl ("");
21829     if (!isnan(x)) return 1;
21830     if (isnan(LDBL_MAX)) return 1;
21831 #ifdef NAN
21832     x = (long double) NAN;
21833     if (!isnan(x)) return 1;
21834 #endif
21835   }
21836 #endif
21837 #ifdef DBL_MAX
21838   {
21839     double y;
21840     y = __builtin_nan ("");
21841     if (!isnan(y)) return 1;
21842     if (isnan(DBL_MAX)) return 1;
21843 #ifdef NAN
21844     y = (double) NAN;
21845     if (!isnan(y)) return 1;
21846 #endif
21847   }
21848 #endif
21849 #endif
21850 return 0;
21851 }
21852 _ACEOF
21853 rm -f conftest$ac_exeext
21854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21855   (eval $ac_link) 2>&5
21856   ac_status=$?
21857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860   (eval $ac_try) 2>&5
21861   ac_status=$?
21862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863   (exit $ac_status); }; }; then
21864   have_broken_isnan=no
21865 else
21866   echo "$as_me: program exited with status $ac_status" >&5
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 ( exit $ac_status )
21871 have_broken_isnan=yes
21872 fi
21873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21874 fi
21875   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
21876 fi
21877 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
21878 echo "${ECHO_T}$have_broken_isnan" >&6
21879 if test x"$have_broken_isnan" = xyes; then
21880
21881 cat >>confdefs.h <<\_ACEOF
21882 #define HAVE_BROKEN_ISNAN 1
21883 _ACEOF
21884
21885 fi
21886
21887 # Check for a fpclassify macro that works on long doubles.
21888
21889   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
21890 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
21891 if test "${have_broken_fpclassify+set}" = set; then
21892   echo $ECHO_N "(cached) $ECHO_C" >&6
21893 else
21894
21895   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
21896   LIBS="$LIBS -lm"
21897   if test "$cross_compiling" = yes; then
21898
21899 case "${target}" in
21900   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
21901   *) have_broken_fpclassify=no ;;
21902 esac
21903 else
21904   cat >conftest.$ac_ext <<_ACEOF
21905 /* confdefs.h.  */
21906 _ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h.  */
21910
21911 #ifdef HAVE_MATH_H
21912 #include <math.h>
21913 #endif
21914 #include <float.h>
21915 int main ()
21916 {
21917 #ifdef fpclassify
21918 #ifdef LDBL_MAX
21919         if (fpclassify(LDBL_MAX) == FP_NAN
21920             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
21921 #endif
21922 #ifdef DBL_MAX
21923         if (fpclassify(DBL_MAX) == FP_NAN
21924             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
21925 #endif
21926 #endif
21927 return 0;
21928 }
21929 _ACEOF
21930 rm -f conftest$ac_exeext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21932   (eval $ac_link) 2>&5
21933   ac_status=$?
21934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937   (eval $ac_try) 2>&5
21938   ac_status=$?
21939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940   (exit $ac_status); }; }; then
21941   have_broken_fpclassify=no
21942 else
21943   echo "$as_me: program exited with status $ac_status" >&5
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21946
21947 ( exit $ac_status )
21948 have_broken_fpclassify=yes
21949 fi
21950 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21951 fi
21952   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
21953 fi
21954 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
21955 echo "${ECHO_T}$have_broken_fpclassify" >&6
21956 if test x"$have_broken_fpclassify" = xyes; then
21957
21958 cat >>confdefs.h <<\_ACEOF
21959 #define HAVE_BROKEN_FPCLASSIFY 1
21960 _ACEOF
21961
21962 fi
21963
21964 # Check whether the system has a working stat()
21965
21966   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
21967 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
21968 if test "${have_working_stat+set}" = set; then
21969   echo $ECHO_N "(cached) $ECHO_C" >&6
21970 else
21971
21972   if test "$cross_compiling" = yes; then
21973
21974 case "${target}" in
21975   *mingw*) have_working_stat=no ;;
21976   *) have_working_stat=yes;;
21977 esac
21978 else
21979   cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h.  */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h.  */
21985
21986 #include <stdio.h>
21987 #include <sys/types.h>
21988 #include <sys/stat.h>
21989 #include <unistd.h>
21990
21991 int main ()
21992 {
21993   FILE *f, *g;
21994   struct stat st1, st2;
21995
21996   f = fopen ("foo", "w");
21997   g = fopen ("bar", "w");
21998   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
21999     return 1;
22000   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22001     return 1;
22002   fclose(f);
22003   fclose(g);
22004   return 0;
22005 }
22006 _ACEOF
22007 rm -f conftest$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009   (eval $ac_link) 2>&5
22010   ac_status=$?
22011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014   (eval $ac_try) 2>&5
22015   ac_status=$?
22016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017   (exit $ac_status); }; }; then
22018   have_working_stat=yes
22019 else
22020   echo "$as_me: program exited with status $ac_status" >&5
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22023
22024 ( exit $ac_status )
22025 have_working_stat=no
22026 fi
22027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22028 fi
22029 fi
22030 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22031 echo "${ECHO_T}$have_working_stat" >&6
22032 if test x"$have_working_stat" = xyes; then
22033
22034 cat >>confdefs.h <<\_ACEOF
22035 #define HAVE_WORKING_STAT 1
22036 _ACEOF
22037
22038 fi
22039
22040 # Fallback in case isfinite is not available.
22041 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22042 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22043 if test "${ac_cv_lib_m_finite+set}" = set; then
22044   echo $ECHO_N "(cached) $ECHO_C" >&6
22045 else
22046   ac_check_lib_save_LIBS=$LIBS
22047 LIBS="-lm  $LIBS"
22048 if test x$gcc_no_link = xyes; then
22049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22051    { (exit 1); exit 1; }; }
22052 fi
22053 cat >conftest.$ac_ext <<_ACEOF
22054 /* confdefs.h.  */
22055 _ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h.  */
22059
22060 /* Override any gcc2 internal prototype to avoid an error.  */
22061 #ifdef __cplusplus
22062 extern "C"
22063 #endif
22064 /* We use char because int might match the return type of a gcc2
22065    builtin and then its argument prototype would still apply.  */
22066 char finite ();
22067 int
22068 main ()
22069 {
22070 finite ();
22071   ;
22072   return 0;
22073 }
22074 _ACEOF
22075 rm -f conftest.$ac_objext conftest$ac_exeext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22077   (eval $ac_link) 2>conftest.er1
22078   ac_status=$?
22079   grep -v '^ *+' conftest.er1 >conftest.err
22080   rm -f conftest.er1
22081   cat conftest.err >&5
22082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083   (exit $ac_status); } &&
22084          { ac_try='test -z "$ac_c_werror_flag"
22085                          || test ! -s conftest.err'
22086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087   (eval $ac_try) 2>&5
22088   ac_status=$?
22089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090   (exit $ac_status); }; } &&
22091          { ac_try='test -s conftest$ac_exeext'
22092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093   (eval $ac_try) 2>&5
22094   ac_status=$?
22095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096   (exit $ac_status); }; }; then
22097   ac_cv_lib_m_finite=yes
22098 else
22099   echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 ac_cv_lib_m_finite=no
22103 fi
22104 rm -f conftest.err conftest.$ac_objext \
22105       conftest$ac_exeext conftest.$ac_ext
22106 LIBS=$ac_check_lib_save_LIBS
22107 fi
22108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22109 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22110 if test $ac_cv_lib_m_finite = yes; then
22111
22112 cat >>confdefs.h <<\_ACEOF
22113 #define HAVE_FINITE 1
22114 _ACEOF
22115
22116 fi
22117
22118
22119 # Check for GNU libc feenableexcept
22120 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22121 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22122 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22123   echo $ECHO_N "(cached) $ECHO_C" >&6
22124 else
22125   ac_check_lib_save_LIBS=$LIBS
22126 LIBS="-lm  $LIBS"
22127 if test x$gcc_no_link = xyes; then
22128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22130    { (exit 1); exit 1; }; }
22131 fi
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h.  */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h.  */
22138
22139 /* Override any gcc2 internal prototype to avoid an error.  */
22140 #ifdef __cplusplus
22141 extern "C"
22142 #endif
22143 /* We use char because int might match the return type of a gcc2
22144    builtin and then its argument prototype would still apply.  */
22145 char feenableexcept ();
22146 int
22147 main ()
22148 {
22149 feenableexcept ();
22150   ;
22151   return 0;
22152 }
22153 _ACEOF
22154 rm -f conftest.$ac_objext conftest$ac_exeext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22156   (eval $ac_link) 2>conftest.er1
22157   ac_status=$?
22158   grep -v '^ *+' conftest.er1 >conftest.err
22159   rm -f conftest.er1
22160   cat conftest.err >&5
22161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162   (exit $ac_status); } &&
22163          { ac_try='test -z "$ac_c_werror_flag"
22164                          || test ! -s conftest.err'
22165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166   (eval $ac_try) 2>&5
22167   ac_status=$?
22168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169   (exit $ac_status); }; } &&
22170          { ac_try='test -s conftest$ac_exeext'
22171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172   (eval $ac_try) 2>&5
22173   ac_status=$?
22174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175   (exit $ac_status); }; }; then
22176   ac_cv_lib_m_feenableexcept=yes
22177 else
22178   echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22180
22181 ac_cv_lib_m_feenableexcept=no
22182 fi
22183 rm -f conftest.err conftest.$ac_objext \
22184       conftest$ac_exeext conftest.$ac_ext
22185 LIBS=$ac_check_lib_save_LIBS
22186 fi
22187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22188 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22189 if test $ac_cv_lib_m_feenableexcept = yes; then
22190   have_feenableexcept=yes
22191 cat >>confdefs.h <<\_ACEOF
22192 #define HAVE_FEENABLEEXCEPT 1
22193 _ACEOF
22194
22195 fi
22196
22197
22198 # Check for SysV fpsetmask
22199
22200   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22201 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22202 if test "${have_fpsetmask+set}" = set; then
22203   echo $ECHO_N "(cached) $ECHO_C" >&6
22204 else
22205
22206     if test x$gcc_no_link = xyes; then
22207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22209    { (exit 1); exit 1; }; }
22210 fi
22211 cat >conftest.$ac_ext <<_ACEOF
22212 /* confdefs.h.  */
22213 _ACEOF
22214 cat confdefs.h >>conftest.$ac_ext
22215 cat >>conftest.$ac_ext <<_ACEOF
22216 /* end confdefs.h.  */
22217
22218 #if HAVE_FLOATINGPOINT_H
22219 # include <floatingpoint.h>
22220 #endif /* HAVE_FLOATINGPOINT_H */
22221 #if HAVE_IEEEFP_H
22222 # include <ieeefp.h>
22223 #endif /* HAVE_IEEEFP_H */
22224 int
22225 main ()
22226 {
22227 fpsetmask(0);
22228   ;
22229   return 0;
22230 }
22231 _ACEOF
22232 rm -f conftest.$ac_objext conftest$ac_exeext
22233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22234   (eval $ac_link) 2>conftest.er1
22235   ac_status=$?
22236   grep -v '^ *+' conftest.er1 >conftest.err
22237   rm -f conftest.er1
22238   cat conftest.err >&5
22239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240   (exit $ac_status); } &&
22241          { ac_try='test -z "$ac_c_werror_flag"
22242                          || test ! -s conftest.err'
22243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244   (eval $ac_try) 2>&5
22245   ac_status=$?
22246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247   (exit $ac_status); }; } &&
22248          { ac_try='test -s conftest$ac_exeext'
22249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250   (eval $ac_try) 2>&5
22251   ac_status=$?
22252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253   (exit $ac_status); }; }; then
22254   eval "have_fpsetmask=yes"
22255 else
22256   echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22258
22259 eval "have_fpsetmask=no"
22260 fi
22261 rm -f conftest.err conftest.$ac_objext \
22262       conftest$ac_exeext conftest.$ac_ext
22263
22264 fi
22265 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
22266 echo "${ECHO_T}$have_fpsetmask" >&6
22267   if test x"$have_fpsetmask" = xyes; then
22268
22269 cat >>confdefs.h <<\_ACEOF
22270 #define HAVE_FPSETMASK 1
22271 _ACEOF
22272
22273   fi
22274
22275
22276 # Check for AIX fp_trap and fp_enable
22277 echo "$as_me:$LINENO: checking for fp_trap" >&5
22278 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
22279 if test "${ac_cv_func_fp_trap+set}" = set; then
22280   echo $ECHO_N "(cached) $ECHO_C" >&6
22281 else
22282   if test x$gcc_no_link = xyes; then
22283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22285    { (exit 1); exit 1; }; }
22286 fi
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h.  */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h.  */
22293 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
22294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22295 #define fp_trap innocuous_fp_trap
22296
22297 /* System header to define __stub macros and hopefully few prototypes,
22298     which can conflict with char fp_trap (); below.
22299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22300     <limits.h> exists even on freestanding compilers.  */
22301
22302 #ifdef __STDC__
22303 # include <limits.h>
22304 #else
22305 # include <assert.h>
22306 #endif
22307
22308 #undef fp_trap
22309
22310 /* Override any gcc2 internal prototype to avoid an error.  */
22311 #ifdef __cplusplus
22312 extern "C"
22313 {
22314 #endif
22315 /* We use char because int might match the return type of a gcc2
22316    builtin and then its argument prototype would still apply.  */
22317 char fp_trap ();
22318 /* The GNU C library defines this for functions which it implements
22319     to always fail with ENOSYS.  Some functions are actually named
22320     something starting with __ and the normal name is an alias.  */
22321 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22322 choke me
22323 #else
22324 char (*f) () = fp_trap;
22325 #endif
22326 #ifdef __cplusplus
22327 }
22328 #endif
22329
22330 int
22331 main ()
22332 {
22333 return f != fp_trap;
22334   ;
22335   return 0;
22336 }
22337 _ACEOF
22338 rm -f conftest.$ac_objext conftest$ac_exeext
22339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22340   (eval $ac_link) 2>conftest.er1
22341   ac_status=$?
22342   grep -v '^ *+' conftest.er1 >conftest.err
22343   rm -f conftest.er1
22344   cat conftest.err >&5
22345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346   (exit $ac_status); } &&
22347          { ac_try='test -z "$ac_c_werror_flag"
22348                          || test ! -s conftest.err'
22349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22350   (eval $ac_try) 2>&5
22351   ac_status=$?
22352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353   (exit $ac_status); }; } &&
22354          { ac_try='test -s conftest$ac_exeext'
22355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356   (eval $ac_try) 2>&5
22357   ac_status=$?
22358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359   (exit $ac_status); }; }; then
22360   ac_cv_func_fp_trap=yes
22361 else
22362   echo "$as_me: failed program was:" >&5
22363 sed 's/^/| /' conftest.$ac_ext >&5
22364
22365 ac_cv_func_fp_trap=no
22366 fi
22367 rm -f conftest.err conftest.$ac_objext \
22368       conftest$ac_exeext conftest.$ac_ext
22369 fi
22370 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
22371 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
22372 if test $ac_cv_func_fp_trap = yes; then
22373   have_fp_trap=yes
22374 cat >>confdefs.h <<\_ACEOF
22375 #define HAVE_FP_TRAP 1
22376 _ACEOF
22377
22378 fi
22379
22380 echo "$as_me:$LINENO: checking for fp_enable" >&5
22381 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
22382 if test "${ac_cv_func_fp_enable+set}" = set; then
22383   echo $ECHO_N "(cached) $ECHO_C" >&6
22384 else
22385   if test x$gcc_no_link = xyes; then
22386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22388    { (exit 1); exit 1; }; }
22389 fi
22390 cat >conftest.$ac_ext <<_ACEOF
22391 /* confdefs.h.  */
22392 _ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h.  */
22396 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
22397    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22398 #define fp_enable innocuous_fp_enable
22399
22400 /* System header to define __stub macros and hopefully few prototypes,
22401     which can conflict with char fp_enable (); below.
22402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22403     <limits.h> exists even on freestanding compilers.  */
22404
22405 #ifdef __STDC__
22406 # include <limits.h>
22407 #else
22408 # include <assert.h>
22409 #endif
22410
22411 #undef fp_enable
22412
22413 /* Override any gcc2 internal prototype to avoid an error.  */
22414 #ifdef __cplusplus
22415 extern "C"
22416 {
22417 #endif
22418 /* We use char because int might match the return type of a gcc2
22419    builtin and then its argument prototype would still apply.  */
22420 char fp_enable ();
22421 /* The GNU C library defines this for functions which it implements
22422     to always fail with ENOSYS.  Some functions are actually named
22423     something starting with __ and the normal name is an alias.  */
22424 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
22425 choke me
22426 #else
22427 char (*f) () = fp_enable;
22428 #endif
22429 #ifdef __cplusplus
22430 }
22431 #endif
22432
22433 int
22434 main ()
22435 {
22436 return f != fp_enable;
22437   ;
22438   return 0;
22439 }
22440 _ACEOF
22441 rm -f conftest.$ac_objext conftest$ac_exeext
22442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22443   (eval $ac_link) 2>conftest.er1
22444   ac_status=$?
22445   grep -v '^ *+' conftest.er1 >conftest.err
22446   rm -f conftest.er1
22447   cat conftest.err >&5
22448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449   (exit $ac_status); } &&
22450          { ac_try='test -z "$ac_c_werror_flag"
22451                          || test ! -s conftest.err'
22452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22453   (eval $ac_try) 2>&5
22454   ac_status=$?
22455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456   (exit $ac_status); }; } &&
22457          { ac_try='test -s conftest$ac_exeext'
22458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459   (eval $ac_try) 2>&5
22460   ac_status=$?
22461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462   (exit $ac_status); }; }; then
22463   ac_cv_func_fp_enable=yes
22464 else
22465   echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22467
22468 ac_cv_func_fp_enable=no
22469 fi
22470 rm -f conftest.err conftest.$ac_objext \
22471       conftest$ac_exeext conftest.$ac_ext
22472 fi
22473 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
22474 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
22475 if test $ac_cv_func_fp_enable = yes; then
22476   have_fp_enable=yes
22477 cat >>confdefs.h <<\_ACEOF
22478 #define HAVE_FP_ENABLE 1
22479 _ACEOF
22480
22481 fi
22482
22483
22484 # Runs configure.host to set up necessary host-dependent shell variables.
22485 # We then display a message about it, and propagate them through the
22486 # build chain.
22487 . ${srcdir}/configure.host
22488 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
22489 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
22490 FPU_HOST_HEADER=config/${fpu_host}.h
22491
22492
22493 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
22494 # for struct timezone, as you might think.  We also need to check how
22495 # to call gettimeofday if we have it.
22496 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22497 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22498 if test "${ac_cv_header_time+set}" = set; then
22499   echo $ECHO_N "(cached) $ECHO_C" >&6
22500 else
22501   cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h.  */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h.  */
22507 #include <sys/types.h>
22508 #include <sys/time.h>
22509 #include <time.h>
22510
22511 int
22512 main ()
22513 {
22514 if ((struct tm *) 0)
22515 return 0;
22516   ;
22517   return 0;
22518 }
22519 _ACEOF
22520 rm -f conftest.$ac_objext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22522   (eval $ac_compile) 2>conftest.er1
22523   ac_status=$?
22524   grep -v '^ *+' conftest.er1 >conftest.err
22525   rm -f conftest.er1
22526   cat conftest.err >&5
22527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528   (exit $ac_status); } &&
22529          { ac_try='test -z "$ac_c_werror_flag"
22530                          || test ! -s conftest.err'
22531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532   (eval $ac_try) 2>&5
22533   ac_status=$?
22534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535   (exit $ac_status); }; } &&
22536          { ac_try='test -s conftest.$ac_objext'
22537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538   (eval $ac_try) 2>&5
22539   ac_status=$?
22540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541   (exit $ac_status); }; }; then
22542   ac_cv_header_time=yes
22543 else
22544   echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22546
22547 ac_cv_header_time=no
22548 fi
22549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22550 fi
22551 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22552 echo "${ECHO_T}$ac_cv_header_time" >&6
22553 if test $ac_cv_header_time = yes; then
22554
22555 cat >>confdefs.h <<\_ACEOF
22556 #define TIME_WITH_SYS_TIME 1
22557 _ACEOF
22558
22559 fi
22560
22561
22562
22563 for ac_func in gettimeofday
22564 do
22565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22566 echo "$as_me:$LINENO: checking for $ac_func" >&5
22567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22568 if eval "test \"\${$as_ac_var+set}\" = set"; then
22569   echo $ECHO_N "(cached) $ECHO_C" >&6
22570 else
22571   if test x$gcc_no_link = xyes; then
22572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22574    { (exit 1); exit 1; }; }
22575 fi
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h.  */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h.  */
22582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22584 #define $ac_func innocuous_$ac_func
22585
22586 /* System header to define __stub macros and hopefully few prototypes,
22587     which can conflict with char $ac_func (); below.
22588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22589     <limits.h> exists even on freestanding compilers.  */
22590
22591 #ifdef __STDC__
22592 # include <limits.h>
22593 #else
22594 # include <assert.h>
22595 #endif
22596
22597 #undef $ac_func
22598
22599 /* Override any gcc2 internal prototype to avoid an error.  */
22600 #ifdef __cplusplus
22601 extern "C"
22602 {
22603 #endif
22604 /* We use char because int might match the return type of a gcc2
22605    builtin and then its argument prototype would still apply.  */
22606 char $ac_func ();
22607 /* The GNU C library defines this for functions which it implements
22608     to always fail with ENOSYS.  Some functions are actually named
22609     something starting with __ and the normal name is an alias.  */
22610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22611 choke me
22612 #else
22613 char (*f) () = $ac_func;
22614 #endif
22615 #ifdef __cplusplus
22616 }
22617 #endif
22618
22619 int
22620 main ()
22621 {
22622 return f != $ac_func;
22623   ;
22624   return 0;
22625 }
22626 _ACEOF
22627 rm -f conftest.$ac_objext conftest$ac_exeext
22628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22629   (eval $ac_link) 2>conftest.er1
22630   ac_status=$?
22631   grep -v '^ *+' conftest.er1 >conftest.err
22632   rm -f conftest.er1
22633   cat conftest.err >&5
22634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635   (exit $ac_status); } &&
22636          { ac_try='test -z "$ac_c_werror_flag"
22637                          || test ! -s conftest.err'
22638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639   (eval $ac_try) 2>&5
22640   ac_status=$?
22641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642   (exit $ac_status); }; } &&
22643          { ac_try='test -s conftest$ac_exeext'
22644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645   (eval $ac_try) 2>&5
22646   ac_status=$?
22647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648   (exit $ac_status); }; }; then
22649   eval "$as_ac_var=yes"
22650 else
22651   echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22653
22654 eval "$as_ac_var=no"
22655 fi
22656 rm -f conftest.err conftest.$ac_objext \
22657       conftest$ac_exeext conftest.$ac_ext
22658 fi
22659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22661 if test `eval echo '${'$as_ac_var'}'` = yes; then
22662   cat >>confdefs.h <<_ACEOF
22663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22664 _ACEOF
22665
22666 fi
22667 done
22668
22669   if test "$ac_cv_func_gettimeofday" = yes; then
22670     echo "$as_me:$LINENO: checking for struct timezone" >&5
22671 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
22672 if test "${gfor_cv_struct_timezone+set}" = set; then
22673   echo $ECHO_N "(cached) $ECHO_C" >&6
22674 else
22675   cat >conftest.$ac_ext <<_ACEOF
22676 /* confdefs.h.  */
22677 _ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h.  */
22681 #include <sys/time.h>
22682 int
22683 main ()
22684 {
22685 struct timezone tz;
22686   ;
22687   return 0;
22688 }
22689 _ACEOF
22690 rm -f conftest.$ac_objext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22692   (eval $ac_compile) 2>conftest.er1
22693   ac_status=$?
22694   grep -v '^ *+' conftest.er1 >conftest.err
22695   rm -f conftest.er1
22696   cat conftest.err >&5
22697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698   (exit $ac_status); } &&
22699          { ac_try='test -z "$ac_c_werror_flag"
22700                          || test ! -s conftest.err'
22701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702   (eval $ac_try) 2>&5
22703   ac_status=$?
22704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705   (exit $ac_status); }; } &&
22706          { ac_try='test -s conftest.$ac_objext'
22707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708   (eval $ac_try) 2>&5
22709   ac_status=$?
22710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711   (exit $ac_status); }; }; then
22712   gfor_cv_struct_timezone=yes
22713 else
22714   echo "$as_me: failed program was:" >&5
22715 sed 's/^/| /' conftest.$ac_ext >&5
22716
22717 gfor_cv_struct_timezone=no
22718 fi
22719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22720 fi
22721 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
22722 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
22723     if test $gfor_cv_struct_timezone = yes; then
22724                   if test "$cross_compiling" = yes; then
22725   gfor_have_struct_timezone=yes
22726 else
22727   cat >conftest.$ac_ext <<_ACEOF
22728 /* confdefs.h.  */
22729 _ACEOF
22730 cat confdefs.h >>conftest.$ac_ext
22731 cat >>conftest.$ac_ext <<_ACEOF
22732 /* end confdefs.h.  */
22733
22734 #ifdef TIME_WITH_SYS_TIME
22735 #include <sys/time.h>
22736 #include <time.h>
22737 #else
22738 #ifdef HAVE_SYS_TIME_H
22739 #include <sys/time.h>
22740 #else
22741 #include <time.h>
22742 #endif
22743 #endif
22744 main ()
22745 {
22746   struct timeval time;
22747   struct timezone dummy;
22748   if (gettimeofday (&time, &dummy))
22749     exit (1);
22750   else
22751     exit (0);
22752 }
22753 _ACEOF
22754 rm -f conftest$ac_exeext
22755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22756   (eval $ac_link) 2>&5
22757   ac_status=$?
22758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761   (eval $ac_try) 2>&5
22762   ac_status=$?
22763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764   (exit $ac_status); }; }; then
22765   gfor_have_struct_timezone=yes
22766 else
22767   echo "$as_me: program exited with status $ac_status" >&5
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.$ac_ext >&5
22770
22771 ( exit $ac_status )
22772 gfor_have_struct_timezone=no
22773 fi
22774 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22775 fi
22776       if test $gfor_have_struct_timezone = yes; then
22777
22778 cat >>confdefs.h <<\_ACEOF
22779 #define HAVE_TIMEZONE 1
22780 _ACEOF
22781
22782       fi
22783     fi
22784
22785     echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
22786 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
22787 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
22788   echo $ECHO_N "(cached) $ECHO_C" >&6
22789 else
22790   if test x$gcc_no_link = xyes; then
22791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22793    { (exit 1); exit 1; }; }
22794 fi
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h.  */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h.  */
22801
22802 #ifdef TIME_WITH_SYS_TIME
22803 #include <sys/time.h>
22804 #include <time.h>
22805 #else
22806 #ifdef HAVE_SYS_TIME_H
22807 #include <sys/time.h>
22808 #else
22809 #include <time.h>
22810 #endif
22811 #endif
22812
22813 int
22814 main ()
22815 {
22816
22817       struct timeval time;
22818 #ifdef HAVE_TIMEZONE
22819       struct timezone dummy;
22820 #define DUMMY &dummy
22821 #else
22822 #define DUMMY NULL
22823 #endif
22824       gettimeofday (&time, DUMMY);
22825   ;
22826   return 0;
22827 }
22828 _ACEOF
22829 rm -f conftest.$ac_objext conftest$ac_exeext
22830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22831   (eval $ac_link) 2>conftest.er1
22832   ac_status=$?
22833   grep -v '^ *+' conftest.er1 >conftest.err
22834   rm -f conftest.er1
22835   cat conftest.err >&5
22836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837   (exit $ac_status); } &&
22838          { ac_try='test -z "$ac_c_werror_flag"
22839                          || test ! -s conftest.err'
22840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22841   (eval $ac_try) 2>&5
22842   ac_status=$?
22843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844   (exit $ac_status); }; } &&
22845          { ac_try='test -s conftest$ac_exeext'
22846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847   (eval $ac_try) 2>&5
22848   ac_status=$?
22849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850   (exit $ac_status); }; }; then
22851   emacs_cv_gettimeofday_two_arguments=yes
22852 else
22853   echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.$ac_ext >&5
22855
22856 emacs_cv_gettimeofday_two_arguments=no
22857 fi
22858 rm -f conftest.err conftest.$ac_objext \
22859       conftest$ac_exeext conftest.$ac_ext
22860 fi
22861 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
22862 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
22863     if test $emacs_cv_gettimeofday_two_arguments = no; then
22864
22865 cat >>confdefs.h <<\_ACEOF
22866 #define GETTIMEOFDAY_ONE_ARGUMENT 1
22867 _ACEOF
22868
22869     fi
22870   fi
22871
22872 # Attempt to assert that the target is of common type in case we don't
22873 # have C99 integer types at all.
22874
22875   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
22876 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
22877 if test "${target_ilp32+set}" = set; then
22878   echo $ECHO_N "(cached) $ECHO_C" >&6
22879 else
22880
22881   save_CFLAGS="$CFLAGS"
22882   CFLAGS="-O2"
22883   if test x$gcc_no_link = xyes; then
22884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22886    { (exit 1); exit 1; }; }
22887 fi
22888 cat >conftest.$ac_ext <<_ACEOF
22889 /* confdefs.h.  */
22890 _ACEOF
22891 cat confdefs.h >>conftest.$ac_ext
22892 cat >>conftest.$ac_ext <<_ACEOF
22893 /* end confdefs.h.  */
22894
22895 int
22896 main ()
22897 {
22898
22899 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
22900   ;
22901 else
22902   undefined_function ();
22903
22904   ;
22905   return 0;
22906 }
22907 _ACEOF
22908 rm -f conftest.$ac_objext conftest$ac_exeext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22910   (eval $ac_link) 2>conftest.er1
22911   ac_status=$?
22912   grep -v '^ *+' conftest.er1 >conftest.err
22913   rm -f conftest.er1
22914   cat conftest.err >&5
22915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916   (exit $ac_status); } &&
22917          { ac_try='test -z "$ac_c_werror_flag"
22918                          || test ! -s conftest.err'
22919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22920   (eval $ac_try) 2>&5
22921   ac_status=$?
22922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923   (exit $ac_status); }; } &&
22924          { ac_try='test -s conftest$ac_exeext'
22925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926   (eval $ac_try) 2>&5
22927   ac_status=$?
22928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929   (exit $ac_status); }; }; then
22930   target_ilp32=yes
22931 else
22932   echo "$as_me: failed program was:" >&5
22933 sed 's/^/| /' conftest.$ac_ext >&5
22934
22935 target_ilp32=no
22936 fi
22937 rm -f conftest.err conftest.$ac_objext \
22938       conftest$ac_exeext conftest.$ac_ext
22939   CFLAGS="$save_CFLAGS"
22940 fi
22941 echo "$as_me:$LINENO: result: $target_ilp32" >&5
22942 echo "${ECHO_T}$target_ilp32" >&6
22943   if test $target_ilp32 = yes; then
22944
22945 cat >>confdefs.h <<\_ACEOF
22946 #define TARGET_ILP32 1
22947 _ACEOF
22948
22949   fi
22950
22951
22952 # Check out attribute support.
22953
22954   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
22955 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
22956 if test "${have_attribute_visibility+set}" = set; then
22957   echo $ECHO_N "(cached) $ECHO_C" >&6
22958 else
22959
22960   save_CFLAGS="$CFLAGS"
22961   CFLAGS="$CFLAGS -Werror"
22962   cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h.  */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h.  */
22968 void __attribute__((visibility("hidden"))) foo(void) { }
22969 int
22970 main ()
22971 {
22972
22973   ;
22974   return 0;
22975 }
22976 _ACEOF
22977 rm -f conftest.$ac_objext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22979   (eval $ac_compile) 2>conftest.er1
22980   ac_status=$?
22981   grep -v '^ *+' conftest.er1 >conftest.err
22982   rm -f conftest.er1
22983   cat conftest.err >&5
22984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985   (exit $ac_status); } &&
22986          { ac_try='test -z "$ac_c_werror_flag"
22987                          || test ! -s conftest.err'
22988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989   (eval $ac_try) 2>&5
22990   ac_status=$?
22991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992   (exit $ac_status); }; } &&
22993          { ac_try='test -s conftest.$ac_objext'
22994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995   (eval $ac_try) 2>&5
22996   ac_status=$?
22997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998   (exit $ac_status); }; }; then
22999   have_attribute_visibility=yes
23000 else
23001   echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 have_attribute_visibility=no
23005 fi
23006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23007   CFLAGS="$save_CFLAGS"
23008 fi
23009 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23010 echo "${ECHO_T}$have_attribute_visibility" >&6
23011   if test $have_attribute_visibility = yes; then
23012
23013 cat >>confdefs.h <<\_ACEOF
23014 #define HAVE_ATTRIBUTE_VISIBILITY 1
23015 _ACEOF
23016
23017   fi
23018
23019   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23020 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23021 if test "${have_attribute_dllexport+set}" = set; then
23022   echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23024
23025   save_CFLAGS="$CFLAGS"
23026   CFLAGS="$CFLAGS -Werror"
23027   cat >conftest.$ac_ext <<_ACEOF
23028 /* confdefs.h.  */
23029 _ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h.  */
23033 void __attribute__((dllexport)) foo(void) { }
23034 int
23035 main ()
23036 {
23037
23038   ;
23039   return 0;
23040 }
23041 _ACEOF
23042 rm -f conftest.$ac_objext
23043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23044   (eval $ac_compile) 2>conftest.er1
23045   ac_status=$?
23046   grep -v '^ *+' conftest.er1 >conftest.err
23047   rm -f conftest.er1
23048   cat conftest.err >&5
23049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050   (exit $ac_status); } &&
23051          { ac_try='test -z "$ac_c_werror_flag"
23052                          || test ! -s conftest.err'
23053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054   (eval $ac_try) 2>&5
23055   ac_status=$?
23056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057   (exit $ac_status); }; } &&
23058          { ac_try='test -s conftest.$ac_objext'
23059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060   (eval $ac_try) 2>&5
23061   ac_status=$?
23062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063   (exit $ac_status); }; }; then
23064   have_attribute_dllexport=yes
23065 else
23066   echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23068
23069 have_attribute_dllexport=no
23070 fi
23071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23072   CFLAGS="$save_CFLAGS"
23073 fi
23074 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23075 echo "${ECHO_T}$have_attribute_dllexport" >&6
23076   if test $have_attribute_dllexport = yes; then
23077
23078 cat >>confdefs.h <<\_ACEOF
23079 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23080 _ACEOF
23081
23082   fi
23083
23084   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23085 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23086 if test "${have_attribute_alias+set}" = set; then
23087   echo $ECHO_N "(cached) $ECHO_C" >&6
23088 else
23089
23090   if test x$gcc_no_link = xyes; then
23091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23093    { (exit 1); exit 1; }; }
23094 fi
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h.  */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h.  */
23101
23102 #define ULP     STR1(__USER_LABEL_PREFIX__)
23103 #define STR1(x) STR2(x)
23104 #define STR2(x) #x
23105 void foo(void) { }
23106 extern void bar(void) __attribute__((alias(ULP "foo")));
23107 int
23108 main ()
23109 {
23110 bar();
23111   ;
23112   return 0;
23113 }
23114 _ACEOF
23115 rm -f conftest.$ac_objext conftest$ac_exeext
23116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23117   (eval $ac_link) 2>conftest.er1
23118   ac_status=$?
23119   grep -v '^ *+' conftest.er1 >conftest.err
23120   rm -f conftest.er1
23121   cat conftest.err >&5
23122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123   (exit $ac_status); } &&
23124          { ac_try='test -z "$ac_c_werror_flag"
23125                          || test ! -s conftest.err'
23126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23127   (eval $ac_try) 2>&5
23128   ac_status=$?
23129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130   (exit $ac_status); }; } &&
23131          { ac_try='test -s conftest$ac_exeext'
23132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133   (eval $ac_try) 2>&5
23134   ac_status=$?
23135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136   (exit $ac_status); }; }; then
23137   have_attribute_alias=yes
23138 else
23139   echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.$ac_ext >&5
23141
23142 have_attribute_alias=no
23143 fi
23144 rm -f conftest.err conftest.$ac_objext \
23145       conftest$ac_exeext conftest.$ac_ext
23146 fi
23147 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23148 echo "${ECHO_T}$have_attribute_alias" >&6
23149   if test $have_attribute_alias = yes; then
23150
23151 cat >>confdefs.h <<\_ACEOF
23152 #define HAVE_ATTRIBUTE_ALIAS 1
23153 _ACEOF
23154
23155   fi
23156
23157 # Check out sync builtins support.
23158
23159   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23160 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23161 if test "${have_sync_fetch_and_add+set}" = set; then
23162   echo $ECHO_N "(cached) $ECHO_C" >&6
23163 else
23164
23165   if test x$gcc_no_link = xyes; then
23166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23168    { (exit 1); exit 1; }; }
23169 fi
23170 cat >conftest.$ac_ext <<_ACEOF
23171 /* confdefs.h.  */
23172 _ACEOF
23173 cat confdefs.h >>conftest.$ac_ext
23174 cat >>conftest.$ac_ext <<_ACEOF
23175 /* end confdefs.h.  */
23176 int foovar = 0;
23177 int
23178 main ()
23179 {
23180
23181 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23182 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23183   ;
23184   return 0;
23185 }
23186 _ACEOF
23187 rm -f conftest.$ac_objext conftest$ac_exeext
23188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23189   (eval $ac_link) 2>conftest.er1
23190   ac_status=$?
23191   grep -v '^ *+' conftest.er1 >conftest.err
23192   rm -f conftest.er1
23193   cat conftest.err >&5
23194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195   (exit $ac_status); } &&
23196          { ac_try='test -z "$ac_c_werror_flag"
23197                          || test ! -s conftest.err'
23198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199   (eval $ac_try) 2>&5
23200   ac_status=$?
23201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202   (exit $ac_status); }; } &&
23203          { ac_try='test -s conftest$ac_exeext'
23204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23205   (eval $ac_try) 2>&5
23206   ac_status=$?
23207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208   (exit $ac_status); }; }; then
23209   have_sync_fetch_and_add=yes
23210 else
23211   echo "$as_me: failed program was:" >&5
23212 sed 's/^/| /' conftest.$ac_ext >&5
23213
23214 have_sync_fetch_and_add=no
23215 fi
23216 rm -f conftest.err conftest.$ac_objext \
23217       conftest$ac_exeext conftest.$ac_ext
23218 fi
23219 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23220 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23221   if test $have_sync_fetch_and_add = yes; then
23222
23223 cat >>confdefs.h <<\_ACEOF
23224 #define HAVE_SYNC_FETCH_AND_ADD 1
23225 _ACEOF
23226
23227   fi
23228
23229 # Check out thread support.
23230
23231   echo "$as_me:$LINENO: checking configured target thread model" >&5
23232 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23233 if test "${target_thread_file+set}" = set; then
23234   echo $ECHO_N "(cached) $ECHO_C" >&6
23235 else
23236
23237 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23238 fi
23239 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23240 echo "${ECHO_T}$target_thread_file" >&6
23241
23242   if test $target_thread_file != single; then
23243
23244 cat >>confdefs.h <<\_ACEOF
23245 #define HAVE_GTHR_DEFAULT 1
23246 _ACEOF
23247
23248   fi
23249
23250 # Check out #pragma weak.
23251
23252   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23253 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23254 if test "${have_pragma_weak+set}" = set; then
23255   echo $ECHO_N "(cached) $ECHO_C" >&6
23256 else
23257
23258   gfor_save_CFLAGS="$CFLAGS"
23259   CFLAGS="$CFLAGS -Wunknown-pragmas"
23260   cat >conftest.$ac_ext <<_ACEOF
23261 /* confdefs.h.  */
23262 _ACEOF
23263 cat confdefs.h >>conftest.$ac_ext
23264 cat >>conftest.$ac_ext <<_ACEOF
23265 /* end confdefs.h.  */
23266 void foo (void);
23267 #pragma weak foo
23268 int
23269 main ()
23270 {
23271 if (foo) foo ();
23272   ;
23273   return 0;
23274 }
23275 _ACEOF
23276 rm -f conftest.$ac_objext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23278   (eval $ac_compile) 2>conftest.er1
23279   ac_status=$?
23280   grep -v '^ *+' conftest.er1 >conftest.err
23281   rm -f conftest.er1
23282   cat conftest.err >&5
23283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284   (exit $ac_status); } &&
23285          { ac_try='test -z "$ac_c_werror_flag"
23286                          || test ! -s conftest.err'
23287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288   (eval $ac_try) 2>&5
23289   ac_status=$?
23290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291   (exit $ac_status); }; } &&
23292          { ac_try='test -s conftest.$ac_objext'
23293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23294   (eval $ac_try) 2>&5
23295   ac_status=$?
23296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297   (exit $ac_status); }; }; then
23298   have_pragma_weak=yes
23299 else
23300   echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5
23302
23303 have_pragma_weak=no
23304 fi
23305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23306 fi
23307 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23308 echo "${ECHO_T}$have_pragma_weak" >&6
23309   if test $have_pragma_weak = yes; then
23310
23311 cat >>confdefs.h <<\_ACEOF
23312 #define SUPPORTS_WEAK 1
23313 _ACEOF
23314
23315   fi
23316   case "$host" in
23317     *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23318
23319 cat >>confdefs.h <<\_ACEOF
23320 #define GTHREAD_USE_WEAK 0
23321 _ACEOF
23322
23323       ;;
23324   esac
23325
23326 # Various other checks on target
23327
23328   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23329 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23330 if test "${have_unlink_open_file+set}" = set; then
23331   echo $ECHO_N "(cached) $ECHO_C" >&6
23332 else
23333
23334   if test "$cross_compiling" = yes; then
23335
23336 case "${target}" in
23337   *mingw*) have_unlink_open_file=no ;;
23338   *) have_unlink_open_file=yes;;
23339 esac
23340 else
23341   cat >conftest.$ac_ext <<_ACEOF
23342 /* confdefs.h.  */
23343 _ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h.  */
23347
23348 #include <errno.h>
23349 #include <fcntl.h>
23350 #include <unistd.h>
23351 #include <sys/stat.h>
23352
23353 int main ()
23354 {
23355   int fd;
23356
23357   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23358   if (fd <= 0)
23359     return 0;
23360   if (unlink ("testfile") == -1)
23361     return 1;
23362   write (fd, "This is a test\n", 15);
23363   close (fd);
23364
23365   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23366     return 0;
23367   else
23368     return 1;
23369 }
23370 _ACEOF
23371 rm -f conftest$ac_exeext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23373   (eval $ac_link) 2>&5
23374   ac_status=$?
23375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378   (eval $ac_try) 2>&5
23379   ac_status=$?
23380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381   (exit $ac_status); }; }; then
23382   have_unlink_open_file=yes
23383 else
23384   echo "$as_me: program exited with status $ac_status" >&5
23385 echo "$as_me: failed program was:" >&5
23386 sed 's/^/| /' conftest.$ac_ext >&5
23387
23388 ( exit $ac_status )
23389 have_unlink_open_file=no
23390 fi
23391 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23392 fi
23393 fi
23394 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23395 echo "${ECHO_T}$have_unlink_open_file" >&6
23396 if test x"$have_unlink_open_file" = xyes; then
23397
23398 cat >>confdefs.h <<\_ACEOF
23399 #define HAVE_UNLINK_OPEN_FILE 1
23400 _ACEOF
23401
23402 fi
23403
23404 # Check whether line terminator is LF or CRLF
23405
23406   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23407 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23408 if test "${have_crlf+set}" = set; then
23409   echo $ECHO_N "(cached) $ECHO_C" >&6
23410 else
23411
23412   if test "$cross_compiling" = yes; then
23413
23414 case "${target}" in
23415   *mingw*) have_crlf=yes ;;
23416   *) have_crlf=no;;
23417 esac
23418 else
23419   cat >conftest.$ac_ext <<_ACEOF
23420 /* confdefs.h.  */
23421 _ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h.  */
23425
23426 /* This test program should exit with status 0 if system uses a CRLF as
23427    line terminator, and status 1 otherwise.
23428    Since it is used to check for mingw systems, and should return 0 in any
23429    other case, in case of a failure we will not use CRLF.  */
23430 #include <sys/stat.h>
23431 #include <stdlib.h>
23432 #include <fcntl.h>
23433 #include <stdio.h>
23434
23435 int main ()
23436 {
23437 #ifndef O_BINARY
23438   exit(1);
23439 #else
23440   int fd, bytes;
23441   char buff[5];
23442
23443   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23444   if (fd < 0)
23445     exit(1);
23446   if (write (fd, "\n", 1) < 0)
23447     perror ("write");
23448
23449   close (fd);
23450
23451   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23452     exit(1);
23453   bytes = read (fd, buff, 5);
23454   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23455     exit(0);
23456   else
23457     exit(1);
23458 #endif
23459 }
23460 _ACEOF
23461 rm -f conftest$ac_exeext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23463   (eval $ac_link) 2>&5
23464   ac_status=$?
23465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23468   (eval $ac_try) 2>&5
23469   ac_status=$?
23470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471   (exit $ac_status); }; }; then
23472   have_crlf=yes
23473 else
23474   echo "$as_me: program exited with status $ac_status" >&5
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 ( exit $ac_status )
23479 have_crlf=no
23480 fi
23481 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23482 fi
23483 fi
23484 echo "$as_me:$LINENO: result: $have_crlf" >&5
23485 echo "${ECHO_T}$have_crlf" >&6
23486 if test x"$have_crlf" = xyes; then
23487
23488 cat >>confdefs.h <<\_ACEOF
23489 #define HAVE_CRLF 1
23490 _ACEOF
23491
23492 fi
23493
23494 cat >confcache <<\_ACEOF
23495 # This file is a shell script that caches the results of configure
23496 # tests run on this system so they can be shared between configure
23497 # scripts and configure runs, see configure's option --config-cache.
23498 # It is not useful on other systems.  If it contains results you don't
23499 # want to keep, you may remove or edit it.
23500 #
23501 # config.status only pays attention to the cache file if you give it
23502 # the --recheck option to rerun configure.
23503 #
23504 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23505 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23506 # following values.
23507
23508 _ACEOF
23509
23510 # The following way of writing the cache mishandles newlines in values,
23511 # but we know of no workaround that is simple, portable, and efficient.
23512 # So, don't put newlines in cache variables' values.
23513 # Ultrix sh set writes to stderr and can't be redirected directly,
23514 # and sets the high bit in the cache file unless we assign to the vars.
23515 {
23516   (set) 2>&1 |
23517     case `(ac_space=' '; set | grep ac_space) 2>&1` in
23518     *ac_space=\ *)
23519       # `set' does not quote correctly, so add quotes (double-quote
23520       # substitution turns \\\\ into \\, and sed turns \\ into \).
23521       sed -n \
23522         "s/'/'\\\\''/g;
23523           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23524       ;;
23525     *)
23526       # `set' quotes correctly as required by POSIX, so do not add quotes.
23527       sed -n \
23528         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23529       ;;
23530     esac;
23531 } |
23532   sed '
23533      t clear
23534      : clear
23535      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23536      t end
23537      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23538      : end' >>confcache
23539 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23540   if test -w $cache_file; then
23541     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23542     cat confcache >$cache_file
23543   else
23544     echo "not updating unwritable cache $cache_file"
23545   fi
23546 fi
23547 rm -f confcache
23548
23549 if test ${multilib} = yes; then
23550   multilib_arg="--enable-multilib"
23551 else
23552   multilib_arg=
23553 fi
23554
23555 # Write our Makefile.
23556           ac_config_files="$ac_config_files Makefile"
23557
23558 cat >confcache <<\_ACEOF
23559 # This file is a shell script that caches the results of configure
23560 # tests run on this system so they can be shared between configure
23561 # scripts and configure runs, see configure's option --config-cache.
23562 # It is not useful on other systems.  If it contains results you don't
23563 # want to keep, you may remove or edit it.
23564 #
23565 # config.status only pays attention to the cache file if you give it
23566 # the --recheck option to rerun configure.
23567 #
23568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23570 # following values.
23571
23572 _ACEOF
23573
23574 # The following way of writing the cache mishandles newlines in values,
23575 # but we know of no workaround that is simple, portable, and efficient.
23576 # So, don't put newlines in cache variables' values.
23577 # Ultrix sh set writes to stderr and can't be redirected directly,
23578 # and sets the high bit in the cache file unless we assign to the vars.
23579 {
23580   (set) 2>&1 |
23581     case `(ac_space=' '; set | grep ac_space) 2>&1` in
23582     *ac_space=\ *)
23583       # `set' does not quote correctly, so add quotes (double-quote
23584       # substitution turns \\\\ into \\, and sed turns \\ into \).
23585       sed -n \
23586         "s/'/'\\\\''/g;
23587           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23588       ;;
23589     *)
23590       # `set' quotes correctly as required by POSIX, so do not add quotes.
23591       sed -n \
23592         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23593       ;;
23594     esac;
23595 } |
23596   sed '
23597      t clear
23598      : clear
23599      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23600      t end
23601      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23602      : end' >>confcache
23603 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23604   if test -w $cache_file; then
23605     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23606     cat confcache >$cache_file
23607   else
23608     echo "not updating unwritable cache $cache_file"
23609   fi
23610 fi
23611 rm -f confcache
23612
23613 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23614 # Let make expand exec_prefix.
23615 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23616
23617 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23618 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23619 # trailing colons and then remove the whole line if VPATH becomes empty
23620 # (actually we leave an empty line to preserve line numbers).
23621 if test "x$srcdir" = x.; then
23622   ac_vpsub='/^[  ]*VPATH[        ]*=/{
23623 s/:*\$(srcdir):*/:/;
23624 s/:*\${srcdir}:*/:/;
23625 s/:*@srcdir@:*/:/;
23626 s/^\([^=]*=[     ]*\):*/\1/;
23627 s/:*$//;
23628 s/^[^=]*=[       ]*$//;
23629 }'
23630 fi
23631
23632 DEFS=-DHAVE_CONFIG_H
23633
23634 ac_libobjs=
23635 ac_ltlibobjs=
23636 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23637   # 1. Remove the extension, and $U if already installed.
23638   ac_i=`echo "$ac_i" |
23639          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23640   # 2. Add them.
23641   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23642   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23643 done
23644 LIBOBJS=$ac_libobjs
23645
23646 LTLIBOBJS=$ac_ltlibobjs
23647
23648
23649 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23650   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23651 Usually this means the macro was only invoked conditionally." >&5
23652 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23653 Usually this means the macro was only invoked conditionally." >&2;}
23654    { (exit 1); exit 1; }; }
23655 fi
23656
23657 : ${CONFIG_STATUS=./config.status}
23658 ac_clean_files_save=$ac_clean_files
23659 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23660 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23661 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23662 cat >$CONFIG_STATUS <<_ACEOF
23663 #! $SHELL
23664 # Generated by $as_me.
23665 # Run this file to recreate the current configuration.
23666 # Compiler output produced by configure, useful for debugging
23667 # configure, is in config.log if it exists.
23668
23669 debug=false
23670 ac_cs_recheck=false
23671 ac_cs_silent=false
23672 SHELL=\${CONFIG_SHELL-$SHELL}
23673 _ACEOF
23674
23675 cat >>$CONFIG_STATUS <<\_ACEOF
23676 ## --------------------- ##
23677 ## M4sh Initialization.  ##
23678 ## --------------------- ##
23679
23680 # Be Bourne compatible
23681 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23682   emulate sh
23683   NULLCMD=:
23684   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23685   # is contrary to our usage.  Disable this feature.
23686   alias -g '${1+"$@"}'='"$@"'
23687 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23688   set -o posix
23689 fi
23690 DUALCASE=1; export DUALCASE # for MKS sh
23691
23692 # Support unset when possible.
23693 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23694   as_unset=unset
23695 else
23696   as_unset=false
23697 fi
23698
23699
23700 # Work around bugs in pre-3.0 UWIN ksh.
23701 $as_unset ENV MAIL MAILPATH
23702 PS1='$ '
23703 PS2='> '
23704 PS4='+ '
23705
23706 # NLS nuisances.
23707 for as_var in \
23708   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23709   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23710   LC_TELEPHONE LC_TIME
23711 do
23712   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23713     eval $as_var=C; export $as_var
23714   else
23715     $as_unset $as_var
23716   fi
23717 done
23718
23719 # Required to use basename.
23720 if expr a : '\(a\)' >/dev/null 2>&1; then
23721   as_expr=expr
23722 else
23723   as_expr=false
23724 fi
23725
23726 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23727   as_basename=basename
23728 else
23729   as_basename=false
23730 fi
23731
23732
23733 # Name of the executable.
23734 as_me=`$as_basename "$0" ||
23735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23736          X"$0" : 'X\(//\)$' \| \
23737          X"$0" : 'X\(/\)$' \| \
23738          .     : '\(.\)' 2>/dev/null ||
23739 echo X/"$0" |
23740     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23741           /^X\/\(\/\/\)$/{ s//\1/; q; }
23742           /^X\/\(\/\).*/{ s//\1/; q; }
23743           s/.*/./; q'`
23744
23745
23746 # PATH needs CR, and LINENO needs CR and PATH.
23747 # Avoid depending upon Character Ranges.
23748 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23749 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23750 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23751 as_cr_digits='0123456789'
23752 as_cr_alnum=$as_cr_Letters$as_cr_digits
23753
23754 # The user is always right.
23755 if test "${PATH_SEPARATOR+set}" != set; then
23756   echo "#! /bin/sh" >conf$$.sh
23757   echo  "exit 0"   >>conf$$.sh
23758   chmod +x conf$$.sh
23759   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23760     PATH_SEPARATOR=';'
23761   else
23762     PATH_SEPARATOR=:
23763   fi
23764   rm -f conf$$.sh
23765 fi
23766
23767
23768   as_lineno_1=$LINENO
23769   as_lineno_2=$LINENO
23770   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23771   test "x$as_lineno_1" != "x$as_lineno_2" &&
23772   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
23773   # Find who we are.  Look in the path if we contain no path at all
23774   # relative or not.
23775   case $0 in
23776     *[\\/]* ) as_myself=$0 ;;
23777     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23778 for as_dir in $PATH
23779 do
23780   IFS=$as_save_IFS
23781   test -z "$as_dir" && as_dir=.
23782   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23783 done
23784
23785        ;;
23786   esac
23787   # We did not find ourselves, most probably we were run as `sh COMMAND'
23788   # in which case we are not to be found in the path.
23789   if test "x$as_myself" = x; then
23790     as_myself=$0
23791   fi
23792   if test ! -f "$as_myself"; then
23793     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23794 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23795    { (exit 1); exit 1; }; }
23796   fi
23797   case $CONFIG_SHELL in
23798   '')
23799     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23800 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23801 do
23802   IFS=$as_save_IFS
23803   test -z "$as_dir" && as_dir=.
23804   for as_base in sh bash ksh sh5; do
23805          case $as_dir in
23806          /*)
23807            if ("$as_dir/$as_base" -c '
23808   as_lineno_1=$LINENO
23809   as_lineno_2=$LINENO
23810   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23811   test "x$as_lineno_1" != "x$as_lineno_2" &&
23812   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
23813              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23814              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23815              CONFIG_SHELL=$as_dir/$as_base
23816              export CONFIG_SHELL
23817              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23818            fi;;
23819          esac
23820        done
23821 done
23822 ;;
23823   esac
23824
23825   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23826   # uniformly replaced by the line number.  The first 'sed' inserts a
23827   # line-number line before each line; the second 'sed' does the real
23828   # work.  The second script uses 'N' to pair each line-number line
23829   # with the numbered line, and appends trailing '-' during
23830   # substitution so that $LINENO is not a special case at line end.
23831   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23832   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
23833   sed '=' <$as_myself |
23834     sed '
23835       N
23836       s,$,-,
23837       : loop
23838       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23839       t loop
23840       s,-$,,
23841       s,^['$as_cr_digits']*\n,,
23842     ' >$as_me.lineno &&
23843   chmod +x $as_me.lineno ||
23844     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23845 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23846    { (exit 1); exit 1; }; }
23847
23848   # Don't try to exec as it changes $[0], causing all sort of problems
23849   # (the dirname of $[0] is not the place where we might find the
23850   # original and so on.  Autoconf is especially sensible to this).
23851   . ./$as_me.lineno
23852   # Exit status is that of the last command.
23853   exit
23854 }
23855
23856
23857 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23858   *c*,-n*) ECHO_N= ECHO_C='
23859 ' ECHO_T='      ' ;;
23860   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23861   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
23862 esac
23863
23864 if expr a : '\(a\)' >/dev/null 2>&1; then
23865   as_expr=expr
23866 else
23867   as_expr=false
23868 fi
23869
23870 rm -f conf$$ conf$$.exe conf$$.file
23871 echo >conf$$.file
23872 if ln -s conf$$.file conf$$ 2>/dev/null; then
23873   # We could just check for DJGPP; but this test a) works b) is more generic
23874   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23875   if test -f conf$$.exe; then
23876     # Don't use ln at all; we don't have any links
23877     as_ln_s='cp -p'
23878   else
23879     as_ln_s='ln -s'
23880   fi
23881 elif ln conf$$.file conf$$ 2>/dev/null; then
23882   as_ln_s=ln
23883 else
23884   as_ln_s='cp -p'
23885 fi
23886 rm -f conf$$ conf$$.exe conf$$.file
23887
23888 if mkdir -p . 2>/dev/null; then
23889   as_mkdir_p=:
23890 else
23891   test -d ./-p && rmdir ./-p
23892   as_mkdir_p=false
23893 fi
23894
23895 as_executable_p="test -f"
23896
23897 # Sed expression to map a string onto a valid CPP name.
23898 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23899
23900 # Sed expression to map a string onto a valid variable name.
23901 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23902
23903
23904 # IFS
23905 # We need space, tab and new line, in precisely that order.
23906 as_nl='
23907 '
23908 IFS="   $as_nl"
23909
23910 # CDPATH.
23911 $as_unset CDPATH
23912
23913 exec 6>&1
23914
23915 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23916 # report actual input values of CONFIG_FILES etc. instead of their
23917 # values after options handling.  Logging --version etc. is OK.
23918 exec 5>>config.log
23919 {
23920   echo
23921   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23922 ## Running $as_me. ##
23923 _ASBOX
23924 } >&5
23925 cat >&5 <<_CSEOF
23926
23927 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
23928 generated by GNU Autoconf 2.59.  Invocation command line was
23929
23930   CONFIG_FILES    = $CONFIG_FILES
23931   CONFIG_HEADERS  = $CONFIG_HEADERS
23932   CONFIG_LINKS    = $CONFIG_LINKS
23933   CONFIG_COMMANDS = $CONFIG_COMMANDS
23934   $ $0 $@
23935
23936 _CSEOF
23937 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23938 echo >&5
23939 _ACEOF
23940
23941 # Files that config.status was made for.
23942 if test -n "$ac_config_files"; then
23943   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23944 fi
23945
23946 if test -n "$ac_config_headers"; then
23947   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23948 fi
23949
23950 if test -n "$ac_config_links"; then
23951   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23952 fi
23953
23954 if test -n "$ac_config_commands"; then
23955   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23956 fi
23957
23958 cat >>$CONFIG_STATUS <<\_ACEOF
23959
23960 ac_cs_usage="\
23961 \`$as_me' instantiates files from templates according to the
23962 current configuration.
23963
23964 Usage: $0 [OPTIONS] [FILE]...
23965
23966   -h, --help       print this help, then exit
23967   -V, --version    print version number, then exit
23968   -q, --quiet      do not print progress messages
23969   -d, --debug      don't remove temporary files
23970       --recheck    update $as_me by reconfiguring in the same conditions
23971   --file=FILE[:TEMPLATE]
23972                    instantiate the configuration file FILE
23973   --header=FILE[:TEMPLATE]
23974                    instantiate the configuration header FILE
23975
23976 Configuration files:
23977 $config_files
23978
23979 Configuration headers:
23980 $config_headers
23981
23982 Configuration commands:
23983 $config_commands
23984
23985 Report bugs to <bug-autoconf@gnu.org>."
23986 _ACEOF
23987
23988 cat >>$CONFIG_STATUS <<_ACEOF
23989 ac_cs_version="\\
23990 GNU Fortran Runtime Library config.status 0.2
23991 configured by $0, generated by GNU Autoconf 2.59,
23992   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23993
23994 Copyright (C) 2003 Free Software Foundation, Inc.
23995 This config.status script is free software; the Free Software Foundation
23996 gives unlimited permission to copy, distribute and modify it."
23997 srcdir=$srcdir
23998 INSTALL="$INSTALL"
23999 _ACEOF
24000
24001 cat >>$CONFIG_STATUS <<\_ACEOF
24002 # If no file are specified by the user, then we need to provide default
24003 # value.  By we need to know if files were specified by the user.
24004 ac_need_defaults=:
24005 while test $# != 0
24006 do
24007   case $1 in
24008   --*=*)
24009     ac_option=`expr "x$1" : 'x\([^=]*\)='`
24010     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24011     ac_shift=:
24012     ;;
24013   -*)
24014     ac_option=$1
24015     ac_optarg=$2
24016     ac_shift=shift
24017     ;;
24018   *) # This is not an option, so the user has probably given explicit
24019      # arguments.
24020      ac_option=$1
24021      ac_need_defaults=false;;
24022   esac
24023
24024   case $ac_option in
24025   # Handling of the options.
24026 _ACEOF
24027 cat >>$CONFIG_STATUS <<\_ACEOF
24028   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24029     ac_cs_recheck=: ;;
24030   --version | --vers* | -V )
24031     echo "$ac_cs_version"; exit 0 ;;
24032   --he | --h)
24033     # Conflict between --help and --header
24034     { { echo "$as_me:$LINENO: error: ambiguous option: $1
24035 Try \`$0 --help' for more information." >&5
24036 echo "$as_me: error: ambiguous option: $1
24037 Try \`$0 --help' for more information." >&2;}
24038    { (exit 1); exit 1; }; };;
24039   --help | --hel | -h )
24040     echo "$ac_cs_usage"; exit 0 ;;
24041   --debug | --d* | -d )
24042     debug=: ;;
24043   --file | --fil | --fi | --f )
24044     $ac_shift
24045     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24046     ac_need_defaults=false;;
24047   --header | --heade | --head | --hea )
24048     $ac_shift
24049     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24050     ac_need_defaults=false;;
24051   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24052   | -silent | --silent | --silen | --sile | --sil | --si | --s)
24053     ac_cs_silent=: ;;
24054
24055   # This is an error.
24056   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24057 Try \`$0 --help' for more information." >&5
24058 echo "$as_me: error: unrecognized option: $1
24059 Try \`$0 --help' for more information." >&2;}
24060    { (exit 1); exit 1; }; } ;;
24061
24062   *) ac_config_targets="$ac_config_targets $1" ;;
24063
24064   esac
24065   shift
24066 done
24067
24068 ac_configure_extra_args=
24069
24070 if $ac_cs_silent; then
24071   exec 6>/dev/null
24072   ac_configure_extra_args="$ac_configure_extra_args --silent"
24073 fi
24074
24075 _ACEOF
24076 cat >>$CONFIG_STATUS <<_ACEOF
24077 if \$ac_cs_recheck; then
24078   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24079   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24080 fi
24081
24082 _ACEOF
24083
24084 cat >>$CONFIG_STATUS <<_ACEOF
24085 #
24086 # INIT-COMMANDS section.
24087 #
24088
24089
24090 srcdir="$srcdir"
24091 host="$host"
24092 target="$target"
24093 with_multisubdir="$with_multisubdir"
24094 with_multisrctop="$with_multisrctop"
24095 with_target_subdir="$with_target_subdir"
24096 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24097 multi_basedir="$multi_basedir"
24098 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24099 CC="$CC"
24100
24101 GCC="$GCC"
24102 CC="$CC"
24103 acx_cv_header_stdint="$acx_cv_header_stdint"
24104 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24105 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24106 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24107 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24108 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24109 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24110 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24111 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24112 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24113 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24114 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24115 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24116 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24117
24118
24119 _ACEOF
24120
24121
24122
24123 cat >>$CONFIG_STATUS <<\_ACEOF
24124 for ac_config_target in $ac_config_targets
24125 do
24126   case "$ac_config_target" in
24127   # Handling of arguments.
24128   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24129   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24130   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24131   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24132   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24133 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24134    { (exit 1); exit 1; }; };;
24135   esac
24136 done
24137
24138 # If the user did not use the arguments to specify the items to instantiate,
24139 # then the envvar interface is used.  Set only those that are not.
24140 # We use the long form for the default assignment because of an extremely
24141 # bizarre bug on SunOS 4.1.3.
24142 if $ac_need_defaults; then
24143   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24144   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24145   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24146 fi
24147
24148 # Have a temporary directory for convenience.  Make it in the build tree
24149 # simply because there is no reason to put it here, and in addition,
24150 # creating and moving files from /tmp can sometimes cause problems.
24151 # Create a temporary directory, and hook for its removal unless debugging.
24152 $debug ||
24153 {
24154   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24155   trap '{ (exit 1); exit 1; }' 1 2 13 15
24156 }
24157
24158 # Create a (secure) tmp directory for tmp files.
24159
24160 {
24161   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24162   test -n "$tmp" && test -d "$tmp"
24163 }  ||
24164 {
24165   tmp=./confstat$$-$RANDOM
24166   (umask 077 && mkdir $tmp)
24167 } ||
24168 {
24169    echo "$me: cannot create a temporary directory in ." >&2
24170    { (exit 1); exit 1; }
24171 }
24172
24173 _ACEOF
24174
24175 cat >>$CONFIG_STATUS <<_ACEOF
24176
24177 #
24178 # CONFIG_FILES section.
24179 #
24180
24181 # No need to generate the scripts if there are no CONFIG_FILES.
24182 # This happens for instance when ./config.status config.h
24183 if test -n "\$CONFIG_FILES"; then
24184   # Protect against being on the right side of a sed subst in config.status.
24185   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24186    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24187 s,@SHELL@,$SHELL,;t t
24188 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24189 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24190 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24191 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24192 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24193 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24194 s,@exec_prefix@,$exec_prefix,;t t
24195 s,@prefix@,$prefix,;t t
24196 s,@program_transform_name@,$program_transform_name,;t t
24197 s,@bindir@,$bindir,;t t
24198 s,@sbindir@,$sbindir,;t t
24199 s,@libexecdir@,$libexecdir,;t t
24200 s,@datadir@,$datadir,;t t
24201 s,@sysconfdir@,$sysconfdir,;t t
24202 s,@sharedstatedir@,$sharedstatedir,;t t
24203 s,@localstatedir@,$localstatedir,;t t
24204 s,@libdir@,$libdir,;t t
24205 s,@includedir@,$includedir,;t t
24206 s,@oldincludedir@,$oldincludedir,;t t
24207 s,@infodir@,$infodir,;t t
24208 s,@mandir@,$mandir,;t t
24209 s,@build_alias@,$build_alias,;t t
24210 s,@host_alias@,$host_alias,;t t
24211 s,@target_alias@,$target_alias,;t t
24212 s,@DEFS@,$DEFS,;t t
24213 s,@ECHO_C@,$ECHO_C,;t t
24214 s,@ECHO_N@,$ECHO_N,;t t
24215 s,@ECHO_T@,$ECHO_T,;t t
24216 s,@LIBS@,$LIBS,;t t
24217 s,@build@,$build,;t t
24218 s,@build_cpu@,$build_cpu,;t t
24219 s,@build_vendor@,$build_vendor,;t t
24220 s,@build_os@,$build_os,;t t
24221 s,@build_libsubdir@,$build_libsubdir,;t t
24222 s,@build_subdir@,$build_subdir,;t t
24223 s,@host_subdir@,$host_subdir,;t t
24224 s,@target_subdir@,$target_subdir,;t t
24225 s,@host@,$host,;t t
24226 s,@host_cpu@,$host_cpu,;t t
24227 s,@host_vendor@,$host_vendor,;t t
24228 s,@host_os@,$host_os,;t t
24229 s,@target@,$target,;t t
24230 s,@target_cpu@,$target_cpu,;t t
24231 s,@target_vendor@,$target_vendor,;t t
24232 s,@target_os@,$target_os,;t t
24233 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24234 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24235 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24236 s,@CYGPATH_W@,$CYGPATH_W,;t t
24237 s,@PACKAGE@,$PACKAGE,;t t
24238 s,@VERSION@,$VERSION,;t t
24239 s,@ACLOCAL@,$ACLOCAL,;t t
24240 s,@AUTOCONF@,$AUTOCONF,;t t
24241 s,@AUTOMAKE@,$AUTOMAKE,;t t
24242 s,@AUTOHEADER@,$AUTOHEADER,;t t
24243 s,@MAKEINFO@,$MAKEINFO,;t t
24244 s,@install_sh@,$install_sh,;t t
24245 s,@STRIP@,$STRIP,;t t
24246 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24247 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24248 s,@mkdir_p@,$mkdir_p,;t t
24249 s,@AWK@,$AWK,;t t
24250 s,@SET_MAKE@,$SET_MAKE,;t t
24251 s,@am__leading_dot@,$am__leading_dot,;t t
24252 s,@AMTAR@,$AMTAR,;t t
24253 s,@am__tar@,$am__tar,;t t
24254 s,@am__untar@,$am__untar,;t t
24255 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24256 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24257 s,@MAINT@,$MAINT,;t t
24258 s,@multi_basedir@,$multi_basedir,;t t
24259 s,@toolexecdir@,$toolexecdir,;t t
24260 s,@toolexeclibdir@,$toolexeclibdir,;t t
24261 s,@CC@,$CC,;t t
24262 s,@ac_ct_CC@,$ac_ct_CC,;t t
24263 s,@EXEEXT@,$EXEEXT,;t t
24264 s,@OBJEXT@,$OBJEXT,;t t
24265 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24266 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24267 s,@AS@,$AS,;t t
24268 s,@ac_ct_AS@,$ac_ct_AS,;t t
24269 s,@AR@,$AR,;t t
24270 s,@ac_ct_AR@,$ac_ct_AR,;t t
24271 s,@RANLIB@,$RANLIB,;t t
24272 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24273 s,@LN_S@,$LN_S,;t t
24274 s,@LIBTOOL@,$LIBTOOL,;t t
24275 s,@enable_shared@,$enable_shared,;t t
24276 s,@enable_static@,$enable_static,;t t
24277 s,@FC@,$FC,;t t
24278 s,@FCFLAGS@,$FCFLAGS,;t t
24279 s,@LDFLAGS@,$LDFLAGS,;t t
24280 s,@ac_ct_FC@,$ac_ct_FC,;t t
24281 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24282 s,@CPP@,$CPP,;t t
24283 s,@CPPFLAGS@,$CPPFLAGS,;t t
24284 s,@EGREP@,$EGREP,;t t
24285 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24286 s,@LIBOBJS@,$LIBOBJS,;t t
24287 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24288 CEOF
24289
24290 _ACEOF
24291
24292   cat >>$CONFIG_STATUS <<\_ACEOF
24293   # Split the substitutions into bite-sized pieces for seds with
24294   # small command number limits, like on Digital OSF/1 and HP-UX.
24295   ac_max_sed_lines=48
24296   ac_sed_frag=1 # Number of current file.
24297   ac_beg=1 # First line for current file.
24298   ac_end=$ac_max_sed_lines # Line after last line for current file.
24299   ac_more_lines=:
24300   ac_sed_cmds=
24301   while $ac_more_lines; do
24302     if test $ac_beg -gt 1; then
24303       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24304     else
24305       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24306     fi
24307     if test ! -s $tmp/subs.frag; then
24308       ac_more_lines=false
24309     else
24310       # The purpose of the label and of the branching condition is to
24311       # speed up the sed processing (if there are no `@' at all, there
24312       # is no need to browse any of the substitutions).
24313       # These are the two extra sed commands mentioned above.
24314       (echo ':t
24315   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24316       if test -z "$ac_sed_cmds"; then
24317         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24318       else
24319         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24320       fi
24321       ac_sed_frag=`expr $ac_sed_frag + 1`
24322       ac_beg=$ac_end
24323       ac_end=`expr $ac_end + $ac_max_sed_lines`
24324     fi
24325   done
24326   if test -z "$ac_sed_cmds"; then
24327     ac_sed_cmds=cat
24328   fi
24329 fi # test -n "$CONFIG_FILES"
24330
24331 _ACEOF
24332 cat >>$CONFIG_STATUS <<\_ACEOF
24333 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24334   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24335   case $ac_file in
24336   - | *:- | *:-:* ) # input from stdin
24337         cat >$tmp/stdin
24338         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24339         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24340   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24341         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24342   * )   ac_file_in=$ac_file.in ;;
24343   esac
24344
24345   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24346   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24348          X"$ac_file" : 'X\(//\)[^/]' \| \
24349          X"$ac_file" : 'X\(//\)$' \| \
24350          X"$ac_file" : 'X\(/\)' \| \
24351          .     : '\(.\)' 2>/dev/null ||
24352 echo X"$ac_file" |
24353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24354           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24355           /^X\(\/\/\)$/{ s//\1/; q; }
24356           /^X\(\/\).*/{ s//\1/; q; }
24357           s/.*/./; q'`
24358   { if $as_mkdir_p; then
24359     mkdir -p "$ac_dir"
24360   else
24361     as_dir="$ac_dir"
24362     as_dirs=
24363     while test ! -d "$as_dir"; do
24364       as_dirs="$as_dir $as_dirs"
24365       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24367          X"$as_dir" : 'X\(//\)[^/]' \| \
24368          X"$as_dir" : 'X\(//\)$' \| \
24369          X"$as_dir" : 'X\(/\)' \| \
24370          .     : '\(.\)' 2>/dev/null ||
24371 echo X"$as_dir" |
24372     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24373           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24374           /^X\(\/\/\)$/{ s//\1/; q; }
24375           /^X\(\/\).*/{ s//\1/; q; }
24376           s/.*/./; q'`
24377     done
24378     test ! -n "$as_dirs" || mkdir $as_dirs
24379   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24380 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24381    { (exit 1); exit 1; }; }; }
24382
24383   ac_builddir=.
24384
24385 if test "$ac_dir" != .; then
24386   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24387   # A "../" for each directory in $ac_dir_suffix.
24388   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24389 else
24390   ac_dir_suffix= ac_top_builddir=
24391 fi
24392
24393 case $srcdir in
24394   .)  # No --srcdir option.  We are building in place.
24395     ac_srcdir=.
24396     if test -z "$ac_top_builddir"; then
24397        ac_top_srcdir=.
24398     else
24399        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24400     fi ;;
24401   [\\/]* | ?:[\\/]* )  # Absolute path.
24402     ac_srcdir=$srcdir$ac_dir_suffix;
24403     ac_top_srcdir=$srcdir ;;
24404   *) # Relative path.
24405     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24406     ac_top_srcdir=$ac_top_builddir$srcdir ;;
24407 esac
24408
24409 # Do not use `cd foo && pwd` to compute absolute paths, because
24410 # the directories may not exist.
24411 case `pwd` in
24412 .) ac_abs_builddir="$ac_dir";;
24413 *)
24414   case "$ac_dir" in
24415   .) ac_abs_builddir=`pwd`;;
24416   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24417   *) ac_abs_builddir=`pwd`/"$ac_dir";;
24418   esac;;
24419 esac
24420 case $ac_abs_builddir in
24421 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24422 *)
24423   case ${ac_top_builddir}. in
24424   .) ac_abs_top_builddir=$ac_abs_builddir;;
24425   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24426   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24427   esac;;
24428 esac
24429 case $ac_abs_builddir in
24430 .) ac_abs_srcdir=$ac_srcdir;;
24431 *)
24432   case $ac_srcdir in
24433   .) ac_abs_srcdir=$ac_abs_builddir;;
24434   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24435   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24436   esac;;
24437 esac
24438 case $ac_abs_builddir in
24439 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24440 *)
24441   case $ac_top_srcdir in
24442   .) ac_abs_top_srcdir=$ac_abs_builddir;;
24443   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24444   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24445   esac;;
24446 esac
24447
24448
24449   case $INSTALL in
24450   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24451   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24452   esac
24453
24454   if test x"$ac_file" != x-; then
24455     { echo "$as_me:$LINENO: creating $ac_file" >&5
24456 echo "$as_me: creating $ac_file" >&6;}
24457     rm -f "$ac_file"
24458   fi
24459   # Let's still pretend it is `configure' which instantiates (i.e., don't
24460   # use $as_me), people would be surprised to read:
24461   #    /* config.h.  Generated by config.status.  */
24462   if test x"$ac_file" = x-; then
24463     configure_input=
24464   else
24465     configure_input="$ac_file.  "
24466   fi
24467   configure_input=$configure_input"Generated from `echo $ac_file_in |
24468                                      sed 's,.*/,,'` by configure."
24469
24470   # First look for the input files in the build tree, otherwise in the
24471   # src tree.
24472   ac_file_inputs=`IFS=:
24473     for f in $ac_file_in; do
24474       case $f in
24475       -) echo $tmp/stdin ;;
24476       [\\/$]*)
24477          # Absolute (can't be DOS-style, as IFS=:)
24478          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24479 echo "$as_me: error: cannot find input file: $f" >&2;}
24480    { (exit 1); exit 1; }; }
24481          echo "$f";;
24482       *) # Relative
24483          if test -f "$f"; then
24484            # Build tree
24485            echo "$f"
24486          elif test -f "$srcdir/$f"; then
24487            # Source tree
24488            echo "$srcdir/$f"
24489          else
24490            # /dev/null tree
24491            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24492 echo "$as_me: error: cannot find input file: $f" >&2;}
24493    { (exit 1); exit 1; }; }
24494          fi;;
24495       esac
24496     done` || { (exit 1); exit 1; }
24497 _ACEOF
24498 cat >>$CONFIG_STATUS <<_ACEOF
24499   sed "$ac_vpsub
24500 $extrasub
24501 _ACEOF
24502 cat >>$CONFIG_STATUS <<\_ACEOF
24503 :t
24504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24505 s,@configure_input@,$configure_input,;t t
24506 s,@srcdir@,$ac_srcdir,;t t
24507 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24508 s,@top_srcdir@,$ac_top_srcdir,;t t
24509 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24510 s,@builddir@,$ac_builddir,;t t
24511 s,@abs_builddir@,$ac_abs_builddir,;t t
24512 s,@top_builddir@,$ac_top_builddir,;t t
24513 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24514 s,@INSTALL@,$ac_INSTALL,;t t
24515 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24516   rm -f $tmp/stdin
24517   if test x"$ac_file" != x-; then
24518     mv $tmp/out $ac_file
24519   else
24520     cat $tmp/out
24521     rm -f $tmp/out
24522   fi
24523
24524 done
24525 _ACEOF
24526 cat >>$CONFIG_STATUS <<\_ACEOF
24527
24528 #
24529 # CONFIG_HEADER section.
24530 #
24531
24532 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24533 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24534 #
24535 # ac_d sets the value in "#define NAME VALUE" lines.
24536 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
24537 ac_dB='[         ].*$,\1#\2'
24538 ac_dC=' '
24539 ac_dD=',;t'
24540 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24541 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
24542 ac_uB='$,\1#\2define\3'
24543 ac_uC=' '
24544 ac_uD=',;t'
24545
24546 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24547   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24548   case $ac_file in
24549   - | *:- | *:-:* ) # input from stdin
24550         cat >$tmp/stdin
24551         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24552         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24553   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24554         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24555   * )   ac_file_in=$ac_file.in ;;
24556   esac
24557
24558   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24559 echo "$as_me: creating $ac_file" >&6;}
24560
24561   # First look for the input files in the build tree, otherwise in the
24562   # src tree.
24563   ac_file_inputs=`IFS=:
24564     for f in $ac_file_in; do
24565       case $f in
24566       -) echo $tmp/stdin ;;
24567       [\\/$]*)
24568          # Absolute (can't be DOS-style, as IFS=:)
24569          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24570 echo "$as_me: error: cannot find input file: $f" >&2;}
24571    { (exit 1); exit 1; }; }
24572          # Do quote $f, to prevent DOS paths from being IFS'd.
24573          echo "$f";;
24574       *) # Relative
24575          if test -f "$f"; then
24576            # Build tree
24577            echo "$f"
24578          elif test -f "$srcdir/$f"; then
24579            # Source tree
24580            echo "$srcdir/$f"
24581          else
24582            # /dev/null tree
24583            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24584 echo "$as_me: error: cannot find input file: $f" >&2;}
24585    { (exit 1); exit 1; }; }
24586          fi;;
24587       esac
24588     done` || { (exit 1); exit 1; }
24589   # Remove the trailing spaces.
24590   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
24591
24592 _ACEOF
24593
24594 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24595 # `conftest.undefs', that substitutes the proper values into
24596 # config.h.in to produce config.h.  The first handles `#define'
24597 # templates, and the second `#undef' templates.
24598 # And first: Protect against being on the right side of a sed subst in
24599 # config.status.  Protect against being in an unquoted here document
24600 # in config.status.
24601 rm -f conftest.defines conftest.undefs
24602 # Using a here document instead of a string reduces the quoting nightmare.
24603 # Putting comments in sed scripts is not portable.
24604 #
24605 # `end' is used to avoid that the second main sed command (meant for
24606 # 0-ary CPP macros) applies to n-ary macro definitions.
24607 # See the Autoconf documentation for `clear'.
24608 cat >confdef2sed.sed <<\_ACEOF
24609 s/[\\&,]/\\&/g
24610 s,[\\$`],\\&,g
24611 t clear
24612 : clear
24613 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24614 t end
24615 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24616 : end
24617 _ACEOF
24618 # If some macros were called several times there might be several times
24619 # the same #defines, which is useless.  Nevertheless, we may not want to
24620 # sort them, since we want the *last* AC-DEFINE to be honored.
24621 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24622 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24623 rm -f confdef2sed.sed
24624
24625 # This sed command replaces #undef with comments.  This is necessary, for
24626 # example, in the case of _POSIX_SOURCE, which is predefined and required
24627 # on some systems where configure will not decide to define it.
24628 cat >>conftest.undefs <<\_ACEOF
24629 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24630 _ACEOF
24631
24632 # Break up conftest.defines because some shells have a limit on the size
24633 # of here documents, and old seds have small limits too (100 cmds).
24634 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24635 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24636 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24637 echo '  :' >>$CONFIG_STATUS
24638 rm -f conftest.tail
24639 while grep . conftest.defines >/dev/null
24640 do
24641   # Write a limited-size here document to $tmp/defines.sed.
24642   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24643   # Speed up: don't consider the non `#define' lines.
24644   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
24645   # Work around the forget-to-reset-the-flag bug.
24646   echo 't clr' >>$CONFIG_STATUS
24647   echo ': clr' >>$CONFIG_STATUS
24648   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24649   echo 'CEOF
24650   sed -f $tmp/defines.sed $tmp/in >$tmp/out
24651   rm -f $tmp/in
24652   mv $tmp/out $tmp/in
24653 ' >>$CONFIG_STATUS
24654   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24655   rm -f conftest.defines
24656   mv conftest.tail conftest.defines
24657 done
24658 rm -f conftest.defines
24659 echo '  fi # grep' >>$CONFIG_STATUS
24660 echo >>$CONFIG_STATUS
24661
24662 # Break up conftest.undefs because some shells have a limit on the size
24663 # of here documents, and old seds have small limits too (100 cmds).
24664 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
24665 rm -f conftest.tail
24666 while grep . conftest.undefs >/dev/null
24667 do
24668   # Write a limited-size here document to $tmp/undefs.sed.
24669   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24670   # Speed up: don't consider the non `#undef'
24671   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
24672   # Work around the forget-to-reset-the-flag bug.
24673   echo 't clr' >>$CONFIG_STATUS
24674   echo ': clr' >>$CONFIG_STATUS
24675   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24676   echo 'CEOF
24677   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24678   rm -f $tmp/in
24679   mv $tmp/out $tmp/in
24680 ' >>$CONFIG_STATUS
24681   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24682   rm -f conftest.undefs
24683   mv conftest.tail conftest.undefs
24684 done
24685 rm -f conftest.undefs
24686
24687 cat >>$CONFIG_STATUS <<\_ACEOF
24688   # Let's still pretend it is `configure' which instantiates (i.e., don't
24689   # use $as_me), people would be surprised to read:
24690   #    /* config.h.  Generated by config.status.  */
24691   if test x"$ac_file" = x-; then
24692     echo "/* Generated by configure.  */" >$tmp/config.h
24693   else
24694     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
24695   fi
24696   cat $tmp/in >>$tmp/config.h
24697   rm -f $tmp/in
24698   if test x"$ac_file" != x-; then
24699     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24700       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24701 echo "$as_me: $ac_file is unchanged" >&6;}
24702     else
24703       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24705          X"$ac_file" : 'X\(//\)[^/]' \| \
24706          X"$ac_file" : 'X\(//\)$' \| \
24707          X"$ac_file" : 'X\(/\)' \| \
24708          .     : '\(.\)' 2>/dev/null ||
24709 echo X"$ac_file" |
24710     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24711           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24712           /^X\(\/\/\)$/{ s//\1/; q; }
24713           /^X\(\/\).*/{ s//\1/; q; }
24714           s/.*/./; q'`
24715       { if $as_mkdir_p; then
24716     mkdir -p "$ac_dir"
24717   else
24718     as_dir="$ac_dir"
24719     as_dirs=
24720     while test ! -d "$as_dir"; do
24721       as_dirs="$as_dir $as_dirs"
24722       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24723 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24724          X"$as_dir" : 'X\(//\)[^/]' \| \
24725          X"$as_dir" : 'X\(//\)$' \| \
24726          X"$as_dir" : 'X\(/\)' \| \
24727          .     : '\(.\)' 2>/dev/null ||
24728 echo X"$as_dir" |
24729     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24730           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24731           /^X\(\/\/\)$/{ s//\1/; q; }
24732           /^X\(\/\).*/{ s//\1/; q; }
24733           s/.*/./; q'`
24734     done
24735     test ! -n "$as_dirs" || mkdir $as_dirs
24736   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24737 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24738    { (exit 1); exit 1; }; }; }
24739
24740       rm -f $ac_file
24741       mv $tmp/config.h $ac_file
24742     fi
24743   else
24744     cat $tmp/config.h
24745     rm -f $tmp/config.h
24746   fi
24747 # Compute $ac_file's index in $config_headers.
24748 _am_stamp_count=1
24749 for _am_header in $config_headers :; do
24750   case $_am_header in
24751     $ac_file | $ac_file:* )
24752       break ;;
24753     * )
24754       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24755   esac
24756 done
24757 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24758 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24759          X$ac_file : 'X\(//\)[^/]' \| \
24760          X$ac_file : 'X\(//\)$' \| \
24761          X$ac_file : 'X\(/\)' \| \
24762          .     : '\(.\)' 2>/dev/null ||
24763 echo X$ac_file |
24764     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24765           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24766           /^X\(\/\/\)$/{ s//\1/; q; }
24767           /^X\(\/\).*/{ s//\1/; q; }
24768           s/.*/./; q'`/stamp-h$_am_stamp_count
24769 done
24770 _ACEOF
24771 cat >>$CONFIG_STATUS <<\_ACEOF
24772
24773 #
24774 # CONFIG_COMMANDS section.
24775 #
24776 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24777   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24778   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24779   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24780 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24781          X"$ac_dest" : 'X\(//\)[^/]' \| \
24782          X"$ac_dest" : 'X\(//\)$' \| \
24783          X"$ac_dest" : 'X\(/\)' \| \
24784          .     : '\(.\)' 2>/dev/null ||
24785 echo X"$ac_dest" |
24786     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24787           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24788           /^X\(\/\/\)$/{ s//\1/; q; }
24789           /^X\(\/\).*/{ s//\1/; q; }
24790           s/.*/./; q'`
24791   { if $as_mkdir_p; then
24792     mkdir -p "$ac_dir"
24793   else
24794     as_dir="$ac_dir"
24795     as_dirs=
24796     while test ! -d "$as_dir"; do
24797       as_dirs="$as_dir $as_dirs"
24798       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24799 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24800          X"$as_dir" : 'X\(//\)[^/]' \| \
24801          X"$as_dir" : 'X\(//\)$' \| \
24802          X"$as_dir" : 'X\(/\)' \| \
24803          .     : '\(.\)' 2>/dev/null ||
24804 echo X"$as_dir" |
24805     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24806           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24807           /^X\(\/\/\)$/{ s//\1/; q; }
24808           /^X\(\/\).*/{ s//\1/; q; }
24809           s/.*/./; q'`
24810     done
24811     test ! -n "$as_dirs" || mkdir $as_dirs
24812   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24813 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24814    { (exit 1); exit 1; }; }; }
24815
24816   ac_builddir=.
24817
24818 if test "$ac_dir" != .; then
24819   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24820   # A "../" for each directory in $ac_dir_suffix.
24821   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24822 else
24823   ac_dir_suffix= ac_top_builddir=
24824 fi
24825
24826 case $srcdir in
24827   .)  # No --srcdir option.  We are building in place.
24828     ac_srcdir=.
24829     if test -z "$ac_top_builddir"; then
24830        ac_top_srcdir=.
24831     else
24832        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24833     fi ;;
24834   [\\/]* | ?:[\\/]* )  # Absolute path.
24835     ac_srcdir=$srcdir$ac_dir_suffix;
24836     ac_top_srcdir=$srcdir ;;
24837   *) # Relative path.
24838     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24839     ac_top_srcdir=$ac_top_builddir$srcdir ;;
24840 esac
24841
24842 # Do not use `cd foo && pwd` to compute absolute paths, because
24843 # the directories may not exist.
24844 case `pwd` in
24845 .) ac_abs_builddir="$ac_dir";;
24846 *)
24847   case "$ac_dir" in
24848   .) ac_abs_builddir=`pwd`;;
24849   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24850   *) ac_abs_builddir=`pwd`/"$ac_dir";;
24851   esac;;
24852 esac
24853 case $ac_abs_builddir in
24854 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24855 *)
24856   case ${ac_top_builddir}. in
24857   .) ac_abs_top_builddir=$ac_abs_builddir;;
24858   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24859   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24860   esac;;
24861 esac
24862 case $ac_abs_builddir in
24863 .) ac_abs_srcdir=$ac_srcdir;;
24864 *)
24865   case $ac_srcdir in
24866   .) ac_abs_srcdir=$ac_abs_builddir;;
24867   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24868   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24869   esac;;
24870 esac
24871 case $ac_abs_builddir in
24872 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24873 *)
24874   case $ac_top_srcdir in
24875   .) ac_abs_top_srcdir=$ac_abs_builddir;;
24876   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24877   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24878   esac;;
24879 esac
24880
24881
24882   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24883 echo "$as_me: executing $ac_dest commands" >&6;}
24884   case $ac_dest in
24885     default-1 )
24886 # Only add multilib support code if we just rebuilt the top-level
24887 # Makefile.
24888 case " $CONFIG_FILES " in
24889  *" Makefile "*)
24890    ac_file=Makefile . ${multi_basedir}/config-ml.in
24891    ;;
24892 esac ;;
24893     gstdint.h )
24894 if test "$GCC" = yes; then
24895   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24896 else
24897   echo "/* generated for $CC */" > tmp-stdint.h
24898 fi
24899
24900 sed 's/^ *//' >> tmp-stdint.h <<EOF
24901
24902   #ifndef GCC_GENERATED_STDINT_H
24903   #define GCC_GENERATED_STDINT_H 1
24904
24905   #include <sys/types.h>
24906 EOF
24907
24908 if test "$acx_cv_header_stdint" != stdint.h; then
24909   echo "#include <stddef.h>" >> tmp-stdint.h
24910 fi
24911 if test "$acx_cv_header_stdint" != stddef.h; then
24912   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24913 fi
24914
24915 sed 's/^ *//' >> tmp-stdint.h <<EOF
24916   /* glibc uses these symbols as guards to prevent redefinitions.  */
24917   #ifdef __int8_t_defined
24918   #define _INT8_T
24919   #define _INT16_T
24920   #define _INT32_T
24921   #endif
24922   #ifdef __uint32_t_defined
24923   #define _UINT32_T
24924   #endif
24925
24926 EOF
24927
24928 # ----------------- done header, emit basic int types -------------
24929 if test "$acx_cv_header_stdint" = stddef.h; then
24930   sed 's/^ *//' >> tmp-stdint.h <<EOF
24931
24932     #ifndef _UINT8_T
24933     #define _UINT8_T
24934     typedef unsigned $acx_cv_type_int8_t uint8_t;
24935     #endif
24936
24937     #ifndef _UINT16_T
24938     #define _UINT16_T
24939     typedef unsigned $acx_cv_type_int16_t uint16_t;
24940     #endif
24941
24942     #ifndef _UINT32_T
24943     #define _UINT32_T
24944     typedef unsigned $acx_cv_type_int32_t uint32_t;
24945     #endif
24946
24947     #ifndef _INT8_T
24948     #define _INT8_T
24949     typedef $acx_cv_type_int8_t int8_t;
24950     #endif
24951
24952     #ifndef _INT16_T
24953     #define _INT16_T
24954     typedef $acx_cv_type_int16_t int16_t;
24955     #endif
24956
24957     #ifndef _INT32_T
24958     #define _INT32_T
24959     typedef $acx_cv_type_int32_t int32_t;
24960     #endif
24961 EOF
24962 elif test "$ac_cv_type_u_int32_t" = yes; then
24963   sed 's/^ *//' >> tmp-stdint.h <<EOF
24964
24965     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24966     #ifndef _INT8_T
24967     #define _INT8_T
24968     #endif
24969     #ifndef _INT16_T
24970     #define _INT16_T
24971     #endif
24972     #ifndef _INT32_T
24973     #define _INT32_T
24974     #endif
24975
24976     #ifndef _UINT8_T
24977     #define _UINT8_T
24978     typedef u_int8_t uint8_t;
24979     #endif
24980
24981     #ifndef _UINT16_T
24982     #define _UINT16_T
24983     typedef u_int16_t uint16_t;
24984     #endif
24985
24986     #ifndef _UINT32_T
24987     #define _UINT32_T
24988     typedef u_int32_t uint32_t;
24989     #endif
24990 EOF
24991 else
24992   sed 's/^ *//' >> tmp-stdint.h <<EOF
24993
24994     /* Some systems have guard macros to prevent redefinitions, define them.  */
24995     #ifndef _INT8_T
24996     #define _INT8_T
24997     #endif
24998     #ifndef _INT16_T
24999     #define _INT16_T
25000     #endif
25001     #ifndef _INT32_T
25002     #define _INT32_T
25003     #endif
25004     #ifndef _UINT8_T
25005     #define _UINT8_T
25006     #endif
25007     #ifndef _UINT16_T
25008     #define _UINT16_T
25009     #endif
25010     #ifndef _UINT32_T
25011     #define _UINT32_T
25012     #endif
25013 EOF
25014 fi
25015
25016 # ------------- done basic int types, emit int64_t types ------------
25017 if test "$ac_cv_type_uint64_t" = yes; then
25018   sed 's/^ *//' >> tmp-stdint.h <<EOF
25019
25020     /* system headers have good uint64_t and int64_t */
25021     #ifndef _INT64_T
25022     #define _INT64_T
25023     #endif
25024     #ifndef _UINT64_T
25025     #define _UINT64_T
25026     #endif
25027 EOF
25028 elif test "$ac_cv_type_u_int64_t" = yes; then
25029   sed 's/^ *//' >> tmp-stdint.h <<EOF
25030
25031     /* system headers have an u_int64_t (and int64_t) */
25032     #ifndef _INT64_T
25033     #define _INT64_T
25034     #endif
25035     #ifndef _UINT64_T
25036     #define _UINT64_T
25037     typedef u_int64_t uint64_t;
25038     #endif
25039 EOF
25040 elif test -n "$acx_cv_type_int64_t"; then
25041   sed 's/^ *//' >> tmp-stdint.h <<EOF
25042
25043     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25044     #ifndef _INT64_T
25045     #define _INT64_T
25046     typedef $acx_cv_type_int64_t int64_t;
25047     #endif
25048     #ifndef _UINT64_T
25049     #define _UINT64_T
25050     typedef unsigned $acx_cv_type_int64_t uint64_t;
25051     #endif
25052 EOF
25053 else
25054   sed 's/^ *//' >> tmp-stdint.h <<EOF
25055
25056     /* some common heuristics for int64_t, using compiler-specific tests */
25057     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25058     #ifndef _INT64_T
25059     #define _INT64_T
25060     typedef long long int64_t;
25061     #endif
25062     #ifndef _UINT64_T
25063     #define _UINT64_T
25064     typedef unsigned long long uint64_t;
25065     #endif
25066
25067     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25068     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25069        does not implement __extension__.  But that compiler doesn't define
25070        __GNUC_MINOR__.  */
25071     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25072     # define __extension__
25073     # endif
25074
25075     # ifndef _INT64_T
25076     # define _INT64_T
25077     __extension__ typedef long long int64_t;
25078     # endif
25079     # ifndef _UINT64_T
25080     # define _UINT64_T
25081     __extension__ typedef unsigned long long uint64_t;
25082     # endif
25083
25084     #elif !defined __STRICT_ANSI__
25085     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25086
25087     #  ifndef _INT64_T
25088     #  define _INT64_T
25089     typedef __int64 int64_t;
25090     #  endif
25091     #  ifndef _UINT64_T
25092     #  define _UINT64_T
25093     typedef unsigned __int64 uint64_t;
25094     #  endif
25095     # endif /* compiler */
25096
25097     #endif /* ANSI version */
25098 EOF
25099 fi
25100
25101 # ------------- done int64_t types, emit intptr types ------------
25102 if test "$ac_cv_type_uintptr_t" != yes; then
25103   sed 's/^ *//' >> tmp-stdint.h <<EOF
25104
25105     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25106     typedef u$acx_cv_type_intptr_t uintptr_t;
25107     typedef $acx_cv_type_intptr_t  intptr_t;
25108 EOF
25109 fi
25110
25111 # ------------- done intptr types, emit int_least types ------------
25112 if test "$ac_cv_type_int_least32_t" != yes; then
25113   sed 's/^ *//' >> tmp-stdint.h <<EOF
25114
25115     /* Define int_least types */
25116     typedef int8_t     int_least8_t;
25117     typedef int16_t    int_least16_t;
25118     typedef int32_t    int_least32_t;
25119     #ifdef _INT64_T
25120     typedef int64_t    int_least64_t;
25121     #endif
25122
25123     typedef uint8_t    uint_least8_t;
25124     typedef uint16_t   uint_least16_t;
25125     typedef uint32_t   uint_least32_t;
25126     #ifdef _UINT64_T
25127     typedef uint64_t   uint_least64_t;
25128     #endif
25129 EOF
25130 fi
25131
25132 # ------------- done intptr types, emit int_fast types ------------
25133 if test "$ac_cv_type_int_fast32_t" != yes; then
25134       sed 's/^ *//' >> tmp-stdint.h <<EOF
25135
25136     /* Define int_fast types.  short is often slow */
25137     typedef int8_t       int_fast8_t;
25138     typedef int          int_fast16_t;
25139     typedef int32_t      int_fast32_t;
25140     #ifdef _INT64_T
25141     typedef int64_t      int_fast64_t;
25142     #endif
25143
25144     typedef uint8_t      uint_fast8_t;
25145     typedef unsigned int uint_fast16_t;
25146     typedef uint32_t     uint_fast32_t;
25147     #ifdef _UINT64_T
25148     typedef uint64_t     uint_fast64_t;
25149     #endif
25150 EOF
25151 fi
25152
25153 if test "$ac_cv_type_uintmax_t" != yes; then
25154   sed 's/^ *//' >> tmp-stdint.h <<EOF
25155
25156     /* Define intmax based on what we found */
25157     #ifdef _INT64_T
25158     typedef int64_t       intmax_t;
25159     #else
25160     typedef long          intmax_t;
25161     #endif
25162     #ifdef _UINT64_T
25163     typedef uint64_t      uintmax_t;
25164     #else
25165     typedef unsigned long uintmax_t;
25166     #endif
25167 EOF
25168 fi
25169
25170 sed 's/^ *//' >> tmp-stdint.h <<EOF
25171
25172   #endif /* GCC_GENERATED_STDINT_H */
25173 EOF
25174
25175 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
25176   rm -f tmp-stdint.h
25177 else
25178   mv -f tmp-stdint.h gstdint.h
25179 fi
25180
25181  ;;
25182   esac
25183 done
25184 _ACEOF
25185
25186 cat >>$CONFIG_STATUS <<\_ACEOF
25187
25188 { (exit 0); exit 0; }
25189 _ACEOF
25190 chmod +x $CONFIG_STATUS
25191 ac_clean_files=$ac_clean_files_save
25192
25193
25194 # configure is writing to config.log, and then calls config.status.
25195 # config.status does its own redirection, appending to config.log.
25196 # Unfortunately, on DOS this fails, as config.log is still kept open
25197 # by configure, so config.status won't be able to write to it; its
25198 # output is simply discarded.  So we exec the FD to /dev/null,
25199 # effectively closing config.log, so it can be properly (re)opened and
25200 # appended to by config.status.  When coming back to configure, we
25201 # need to make the FD available again.
25202 if test "$no_create" != yes; then
25203   ac_cs_success=:
25204   ac_config_status_args=
25205   test "$silent" = yes &&
25206     ac_config_status_args="$ac_config_status_args --quiet"
25207   exec 5>/dev/null
25208   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25209   exec 5>>config.log
25210   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25211   # would make configure fail if this is the last instruction.
25212   $ac_cs_success || { (exit 1); exit 1; }
25213 fi
25214