OSDN Git Service

12c930a26f2f6317a673234c47f61ba875f960d4
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
273
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 #  include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 #  include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 #  include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355   # If the previous option needs an argument, assign it.
356   if test -n "$ac_prev"; then
357     eval "$ac_prev=\$ac_option"
358     ac_prev=
359     continue
360   fi
361
362   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364   # Accept the important Cygnus configure options, so we can diagnose typos.
365
366   case $ac_option in
367
368   -bindir | --bindir | --bindi | --bind | --bin | --bi)
369     ac_prev=bindir ;;
370   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371     bindir=$ac_optarg ;;
372
373   -build | --build | --buil | --bui | --bu)
374     ac_prev=build_alias ;;
375   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376     build_alias=$ac_optarg ;;
377
378   -cache-file | --cache-file | --cache-fil | --cache-fi \
379   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380     ac_prev=cache_file ;;
381   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383     cache_file=$ac_optarg ;;
384
385   --config-cache | -C)
386     cache_file=config.cache ;;
387
388   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389     ac_prev=datadir ;;
390   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391   | --da=*)
392     datadir=$ac_optarg ;;
393
394   -disable-* | --disable-*)
395     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396     # Reject names that are not valid shell variable names.
397     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399    { (exit 1); exit 1; }; }
400     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401     eval "enable_$ac_feature=no" ;;
402
403   -enable-* | --enable-*)
404     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405     # Reject names that are not valid shell variable names.
406     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408    { (exit 1); exit 1; }; }
409     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410     case $ac_option in
411       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412       *) ac_optarg=yes ;;
413     esac
414     eval "enable_$ac_feature='$ac_optarg'" ;;
415
416   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418   | --exec | --exe | --ex)
419     ac_prev=exec_prefix ;;
420   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422   | --exec=* | --exe=* | --ex=*)
423     exec_prefix=$ac_optarg ;;
424
425   -gas | --gas | --ga | --g)
426     # Obsolete; use --with-gas.
427     with_gas=yes ;;
428
429   -help | --help | --hel | --he | -h)
430     ac_init_help=long ;;
431   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432     ac_init_help=recursive ;;
433   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434     ac_init_help=short ;;
435
436   -host | --host | --hos | --ho)
437     ac_prev=host_alias ;;
438   -host=* | --host=* | --hos=* | --ho=*)
439     host_alias=$ac_optarg ;;
440
441   -includedir | --includedir | --includedi | --included | --include \
442   | --includ | --inclu | --incl | --inc)
443     ac_prev=includedir ;;
444   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445   | --includ=* | --inclu=* | --incl=* | --inc=*)
446     includedir=$ac_optarg ;;
447
448   -infodir | --infodir | --infodi | --infod | --info | --inf)
449     ac_prev=infodir ;;
450   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451     infodir=$ac_optarg ;;
452
453   -libdir | --libdir | --libdi | --libd)
454     ac_prev=libdir ;;
455   -libdir=* | --libdir=* | --libdi=* | --libd=*)
456     libdir=$ac_optarg ;;
457
458   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459   | --libexe | --libex | --libe)
460     ac_prev=libexecdir ;;
461   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462   | --libexe=* | --libex=* | --libe=*)
463     libexecdir=$ac_optarg ;;
464
465   -localstatedir | --localstatedir | --localstatedi | --localstated \
466   | --localstate | --localstat | --localsta | --localst \
467   | --locals | --local | --loca | --loc | --lo)
468     ac_prev=localstatedir ;;
469   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472     localstatedir=$ac_optarg ;;
473
474   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475     ac_prev=mandir ;;
476   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477     mandir=$ac_optarg ;;
478
479   -nfp | --nfp | --nf)
480     # Obsolete; use --without-fp.
481     with_fp=no ;;
482
483   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484   | --no-cr | --no-c | -n)
485     no_create=yes ;;
486
487   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489     no_recursion=yes ;;
490
491   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493   | --oldin | --oldi | --old | --ol | --o)
494     ac_prev=oldincludedir ;;
495   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498     oldincludedir=$ac_optarg ;;
499
500   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501     ac_prev=prefix ;;
502   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503     prefix=$ac_optarg ;;
504
505   -program-prefix | --program-prefix | --program-prefi | --program-pref \
506   | --program-pre | --program-pr | --program-p)
507     ac_prev=program_prefix ;;
508   -program-prefix=* | --program-prefix=* | --program-prefi=* \
509   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510     program_prefix=$ac_optarg ;;
511
512   -program-suffix | --program-suffix | --program-suffi | --program-suff \
513   | --program-suf | --program-su | --program-s)
514     ac_prev=program_suffix ;;
515   -program-suffix=* | --program-suffix=* | --program-suffi=* \
516   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517     program_suffix=$ac_optarg ;;
518
519   -program-transform-name | --program-transform-name \
520   | --program-transform-nam | --program-transform-na \
521   | --program-transform-n | --program-transform- \
522   | --program-transform | --program-transfor \
523   | --program-transfo | --program-transf \
524   | --program-trans | --program-tran \
525   | --progr-tra | --program-tr | --program-t)
526     ac_prev=program_transform_name ;;
527   -program-transform-name=* | --program-transform-name=* \
528   | --program-transform-nam=* | --program-transform-na=* \
529   | --program-transform-n=* | --program-transform-=* \
530   | --program-transform=* | --program-transfor=* \
531   | --program-transfo=* | --program-transf=* \
532   | --program-trans=* | --program-tran=* \
533   | --progr-tra=* | --program-tr=* | --program-t=*)
534     program_transform_name=$ac_optarg ;;
535
536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537   | -silent | --silent | --silen | --sile | --sil)
538     silent=yes ;;
539
540   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541     ac_prev=sbindir ;;
542   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543   | --sbi=* | --sb=*)
544     sbindir=$ac_optarg ;;
545
546   -sharedstatedir | --sharedstatedir | --sharedstatedi \
547   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548   | --sharedst | --shareds | --shared | --share | --shar \
549   | --sha | --sh)
550     ac_prev=sharedstatedir ;;
551   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554   | --sha=* | --sh=*)
555     sharedstatedir=$ac_optarg ;;
556
557   -site | --site | --sit)
558     ac_prev=site ;;
559   -site=* | --site=* | --sit=*)
560     site=$ac_optarg ;;
561
562   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563     ac_prev=srcdir ;;
564   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565     srcdir=$ac_optarg ;;
566
567   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568   | --syscon | --sysco | --sysc | --sys | --sy)
569     ac_prev=sysconfdir ;;
570   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572     sysconfdir=$ac_optarg ;;
573
574   -target | --target | --targe | --targ | --tar | --ta | --t)
575     ac_prev=target_alias ;;
576   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577     target_alias=$ac_optarg ;;
578
579   -v | -verbose | --verbose | --verbos | --verbo | --verb)
580     verbose=yes ;;
581
582   -version | --version | --versio | --versi | --vers | -V)
583     ac_init_version=: ;;
584
585   -with-* | --with-*)
586     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587     # Reject names that are not valid shell variable names.
588     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589       { echo "$as_me: error: invalid package name: $ac_package" >&2
590    { (exit 1); exit 1; }; }
591     ac_package=`echo $ac_package| sed 's/-/_/g'`
592     case $ac_option in
593       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594       *) ac_optarg=yes ;;
595     esac
596     eval "with_$ac_package='$ac_optarg'" ;;
597
598   -without-* | --without-*)
599     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600     # Reject names that are not valid shell variable names.
601     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602       { echo "$as_me: error: invalid package name: $ac_package" >&2
603    { (exit 1); exit 1; }; }
604     ac_package=`echo $ac_package | sed 's/-/_/g'`
605     eval "with_$ac_package=no" ;;
606
607   --x)
608     # Obsolete; use --with-x.
609     with_x=yes ;;
610
611   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612   | --x-incl | --x-inc | --x-in | --x-i)
613     ac_prev=x_includes ;;
614   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616     x_includes=$ac_optarg ;;
617
618   -x-libraries | --x-libraries | --x-librarie | --x-librari \
619   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620     ac_prev=x_libraries ;;
621   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623     x_libraries=$ac_optarg ;;
624
625   -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627    { (exit 1); exit 1; }; }
628     ;;
629
630   *=*)
631     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632     # Reject names that are not valid shell variable names.
633     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635    { (exit 1); exit 1; }; }
636     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637     eval "$ac_envvar='$ac_optarg'"
638     export $ac_envvar ;;
639
640   *)
641     # FIXME: should be removed in autoconf 3.0.
642     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646     ;;
647
648   esac
649 done
650
651 if test -n "$ac_prev"; then
652   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653   { echo "$as_me: error: missing argument to $ac_option" >&2
654    { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660   eval ac_val=$`echo $ac_var`
661   case $ac_val in
662     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664    { (exit 1); exit 1; }; };;
665   esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670               localstatedir libdir includedir oldincludedir infodir mandir
671 do
672   eval ac_val=$`echo $ac_var`
673   case $ac_val in
674     [\\/$]* | ?:[\\/]* ) ;;
675     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    { (exit 1); exit 1; }; };;
677   esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689   if test "x$build_alias" = x; then
690     cross_compiling=maybe
691     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692     If a cross compiler is detected then cross compile mode will be used." >&2
693   elif test "x$build_alias" != "x$host_alias"; then
694     cross_compiling=yes
695   fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706   ac_srcdir_defaulted=yes
707   # Try the directory containing this script, then its parent.
708   ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710          X"$0" : 'X\(//\)[^/]' \| \
711          X"$0" : 'X\(//\)$' \| \
712          X"$0" : 'X\(/\)' \| \
713          .     : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717           /^X\(\/\/\)$/{ s//\1/; q; }
718           /^X\(\/\).*/{ s//\1/; q; }
719           s/.*/./; q'`
720   srcdir=$ac_confdir
721   if test ! -r $srcdir/$ac_unique_file; then
722     srcdir=..
723   fi
724 else
725   ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728   if test "$ac_srcdir_defaulted" = yes; then
729     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730    { (exit 1); exit 1; }; }
731   else
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733    { (exit 1); exit 1; }; }
734   fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738    { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777   # Omit some internal or obsolete options to make the list less imposing.
778   # This message is too long to be a string in the A/UX 3.1 sh.
779   cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE.  See below for descriptions of some of the useful variables.
786
787 Defaults for the options are specified in brackets.
788
789 Configuration:
790   -h, --help              display this help and exit
791       --help=short        display options specific to this package
792       --help=recursive    display the short help of all the included packages
793   -V, --version           display version information and exit
794   -q, --quiet, --silent   do not print \`checking...' messages
795       --cache-file=FILE   cache test results in FILE [disabled]
796   -C, --config-cache      alias for \`--cache-file=config.cache'
797   -n, --no-create         do not create output files
798       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
799
800 _ACEOF
801
802   cat <<_ACEOF
803 Installation directories:
804   --prefix=PREFIX         install architecture-independent files in PREFIX
805                           [$ac_default_prefix]
806   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
807                           [PREFIX]
808
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
813
814 For better control, use the options below.
815
816 Fine tuning of the installation directories:
817   --bindir=DIR           user executables [EPREFIX/bin]
818   --sbindir=DIR          system admin executables [EPREFIX/sbin]
819   --libexecdir=DIR       program executables [EPREFIX/libexec]
820   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
821   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
822   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
823   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
824   --libdir=DIR           object code libraries [EPREFIX/lib]
825   --includedir=DIR       C header files [PREFIX/include]
826   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
827   --infodir=DIR          info documentation [PREFIX/info]
828   --mandir=DIR           man documentation [PREFIX/man]
829 _ACEOF
830
831   cat <<\_ACEOF
832
833 Program names:
834   --program-prefix=PREFIX            prepend PREFIX to installed program names
835   --program-suffix=SUFFIX            append SUFFIX to installed program names
836   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
837
838 System types:
839   --build=BUILD     configure for building on BUILD [guessed]
840   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
841   --target=TARGET   configure for building compilers for TARGET [HOST]
842 _ACEOF
843 fi
844
845 if test -n "$ac_init_help"; then
846   case $ac_init_help in
847      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848    esac
849   cat <<\_ACEOF
850
851 Optional Features:
852   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
853   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
854   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
855   --enable-maintainer-mode  enable make rules and dependencies not useful
856                           (and sometimes confusing) to the casual installer
857   --enable-multilib       build many library versions (default)
858   --enable-shared=PKGS  build shared libraries default=yes
859   --enable-static=PKGS  build static libraries default=yes
860   --enable-fast-install=PKGS  optimize for fast installation default=yes
861   --disable-libtool-lock  avoid locking (might break parallel builds)
862   --disable-largefile     omit support for large files
863
864 Optional Packages:
865   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
866   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
867   --with-gnu-ld           assume the C compiler uses GNU ld default=no
868   --with-pic              try to use only PIC/non-PIC objects default=use both
869
870 Some influential environment variables:
871   CC          C compiler command
872   CFLAGS      C compiler flags
873   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
874               nonstandard directory <lib dir>
875   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
876               headers in a nonstandard directory <include dir>
877   FC          Fortran compiler command
878   FCFLAGS     Fortran compiler flags
879   CPP         C preprocessor
880
881 Use these variables to override the choices made by `configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
883
884 _ACEOF
885 fi
886
887 if test "$ac_init_help" = "recursive"; then
888   # If there are subdirs, report their specific --help.
889   ac_popdir=`pwd`
890   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891     test -d $ac_dir || continue
892     ac_builddir=.
893
894 if test "$ac_dir" != .; then
895   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896   # A "../" for each directory in $ac_dir_suffix.
897   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
898 else
899   ac_dir_suffix= ac_top_builddir=
900 fi
901
902 case $srcdir in
903   .)  # No --srcdir option.  We are building in place.
904     ac_srcdir=.
905     if test -z "$ac_top_builddir"; then
906        ac_top_srcdir=.
907     else
908        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909     fi ;;
910   [\\/]* | ?:[\\/]* )  # Absolute path.
911     ac_srcdir=$srcdir$ac_dir_suffix;
912     ac_top_srcdir=$srcdir ;;
913   *) # Relative path.
914     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915     ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 esac
917
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
920 case `pwd` in
921 .) ac_abs_builddir="$ac_dir";;
922 *)
923   case "$ac_dir" in
924   .) ac_abs_builddir=`pwd`;;
925   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926   *) ac_abs_builddir=`pwd`/"$ac_dir";;
927   esac;;
928 esac
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *)
932   case ${ac_top_builddir}. in
933   .) ac_abs_top_builddir=$ac_abs_builddir;;
934   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936   esac;;
937 esac
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
940 *)
941   case $ac_srcdir in
942   .) ac_abs_srcdir=$ac_abs_builddir;;
943   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945   esac;;
946 esac
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *)
950   case $ac_top_srcdir in
951   .) ac_abs_top_srcdir=$ac_abs_builddir;;
952   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954   esac;;
955 esac
956
957     cd $ac_dir
958     # Check for guested configure; otherwise get Cygnus style configure.
959     if test -f $ac_srcdir/configure.gnu; then
960       echo
961       $SHELL $ac_srcdir/configure.gnu  --help=recursive
962     elif test -f $ac_srcdir/configure; then
963       echo
964       $SHELL $ac_srcdir/configure  --help=recursive
965     elif test -f $ac_srcdir/configure.ac ||
966            test -f $ac_srcdir/configure.in; then
967       echo
968       $ac_configure --help
969     else
970       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971     fi
972     cd "$ac_popdir"
973   done
974 fi
975
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
978   cat <<\_ACEOF
979 GNU Fortran Runtime Library configure 0.2
980 generated by GNU Autoconf 2.59
981
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
985 _ACEOF
986   exit 0
987 fi
988 exec 5>config.log
989 cat >&5 <<_ACEOF
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
992
993 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994 generated by GNU Autoconf 2.59.  Invocation command line was
995
996   $ $0 $@
997
998 _ACEOF
999 {
1000 cat <<_ASUNAME
1001 ## --------- ##
1002 ## Platform. ##
1003 ## --------- ##
1004
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1010
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1013
1014 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1015 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1018 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1019 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1020 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1021
1022 _ASUNAME
1023
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 for as_dir in $PATH
1026 do
1027   IFS=$as_save_IFS
1028   test -z "$as_dir" && as_dir=.
1029   echo "PATH: $as_dir"
1030 done
1031
1032 } >&5
1033
1034 cat >&5 <<_ACEOF
1035
1036
1037 ## ----------- ##
1038 ## Core tests. ##
1039 ## ----------- ##
1040
1041 _ACEOF
1042
1043
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_configure_args=
1050 ac_configure_args0=
1051 ac_configure_args1=
1052 ac_sep=
1053 ac_must_keep_next=false
1054 for ac_pass in 1 2
1055 do
1056   for ac_arg
1057   do
1058     case $ac_arg in
1059     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061     | -silent | --silent | --silen | --sile | --sil)
1062       continue ;;
1063     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065     esac
1066     case $ac_pass in
1067     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068     2)
1069       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070       if test $ac_must_keep_next = true; then
1071         ac_must_keep_next=false # Got value, back to normal.
1072       else
1073         case $ac_arg in
1074           *=* | --config-cache | -C | -disable-* | --disable-* \
1075           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077           | -with-* | --with-* | -without-* | --without-* | --x)
1078             case "$ac_configure_args0 " in
1079               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080             esac
1081             ;;
1082           -* ) ac_must_keep_next=true ;;
1083         esac
1084       fi
1085       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086       # Get rid of the leading space.
1087       ac_sep=" "
1088       ;;
1089     esac
1090   done
1091 done
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log.  We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101   # Save into config.log some information that might help in debugging.
1102   {
1103     echo
1104
1105     cat <<\_ASBOX
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1109 _ASBOX
1110     echo
1111     # The following way of writing the cache mishandles newlines in values,
1112 {
1113   (set) 2>&1 |
1114     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115     *ac_space=\ *)
1116       sed -n \
1117         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119       ;;
1120     *)
1121       sed -n \
1122         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123       ;;
1124     esac;
1125 }
1126     echo
1127
1128     cat <<\_ASBOX
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1132 _ASBOX
1133     echo
1134     for ac_var in $ac_subst_vars
1135     do
1136       eval ac_val=$`echo $ac_var`
1137       echo "$ac_var='"'"'$ac_val'"'"'"
1138     done | sort
1139     echo
1140
1141     if test -n "$ac_subst_files"; then
1142       cat <<\_ASBOX
1143 ## ------------- ##
1144 ## Output files. ##
1145 ## ------------- ##
1146 _ASBOX
1147       echo
1148       for ac_var in $ac_subst_files
1149       do
1150         eval ac_val=$`echo $ac_var`
1151         echo "$ac_var='"'"'$ac_val'"'"'"
1152       done | sort
1153       echo
1154     fi
1155
1156     if test -s confdefs.h; then
1157       cat <<\_ASBOX
1158 ## ----------- ##
1159 ## confdefs.h. ##
1160 ## ----------- ##
1161 _ASBOX
1162       echo
1163       sed "/^$/d" confdefs.h | sort
1164       echo
1165     fi
1166     test "$ac_signal" != 0 &&
1167       echo "$as_me: caught signal $ac_signal"
1168     echo "$as_me: exit $exit_status"
1169   } >&5
1170   rm -f core *.core &&
1171   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172     exit $exit_status
1173      ' 0
1174 for ac_signal in 1 2 13 15; do
1175   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 done
1177 ac_signal=0
1178
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 echo >confdefs.h
1183
1184 # Predefined preprocessor variables.
1185
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 _ACEOF
1189
1190
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 _ACEOF
1194
1195
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 _ACEOF
1199
1200
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 _ACEOF
1204
1205
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 _ACEOF
1209
1210
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214   if test "x$prefix" != xNONE; then
1215     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216   else
1217     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218   fi
1219 fi
1220 for ac_site_file in $CONFIG_SITE; do
1221   if test -r "$ac_site_file"; then
1222     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224     sed 's/^/| /' "$ac_site_file" >&5
1225     . "$ac_site_file"
1226   fi
1227 done
1228
1229 if test -r "$cache_file"; then
1230   # Some versions of bash will fail to source /dev/null (special
1231   # files actually), so we avoid doing that.
1232   if test -f "$cache_file"; then
1233     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1235     case $cache_file in
1236       [\\/]* | ?:[\\/]* ) . $cache_file;;
1237       *)                      . ./$cache_file;;
1238     esac
1239   fi
1240 else
1241   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1243   >$cache_file
1244 fi
1245
1246 # Check that the precious variables saved in the cache have kept the same
1247 # value.
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252   eval ac_new_set=\$ac_env_${ac_var}_set
1253   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254   eval ac_new_val="\$ac_env_${ac_var}_value"
1255   case $ac_old_set,$ac_new_set in
1256     set,)
1257       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259       ac_cache_corrupted=: ;;
1260     ,set)
1261       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263       ac_cache_corrupted=: ;;
1264     ,);;
1265     *)
1266       if test "x$ac_old_val" != "x$ac_new_val"; then
1267         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1270 echo "$as_me:   former value:  $ac_old_val" >&2;}
1271         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1272 echo "$as_me:   current value: $ac_new_val" >&2;}
1273         ac_cache_corrupted=:
1274       fi;;
1275   esac
1276   # Pass precious variables to config.status.
1277   if test "$ac_new_set" = set; then
1278     case $ac_new_val in
1279     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281     *) ac_arg=$ac_var=$ac_new_val ;;
1282     esac
1283     case " $ac_configure_args " in
1284       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1285       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286     esac
1287   fi
1288 done
1289 if $ac_cache_corrupted; then
1290   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294    { (exit 1); exit 1; }; }
1295 fi
1296
1297 ac_ext=c
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329           ac_config_headers="$ac_config_headers config.h"
1330
1331 ac_aux_dir=
1332 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333   if test -f $ac_dir/install-sh; then
1334     ac_aux_dir=$ac_dir
1335     ac_install_sh="$ac_aux_dir/install-sh -c"
1336     break
1337   elif test -f $ac_dir/install.sh; then
1338     ac_aux_dir=$ac_dir
1339     ac_install_sh="$ac_aux_dir/install.sh -c"
1340     break
1341   elif test -f $ac_dir/shtool; then
1342     ac_aux_dir=$ac_dir
1343     ac_install_sh="$ac_aux_dir/shtool install -c"
1344     break
1345   fi
1346 done
1347 if test -z "$ac_aux_dir"; then
1348   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350    { (exit 1); exit 1; }; }
1351 fi
1352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355
1356 # Make sure we can run config.sub.
1357 $ac_config_sub sun4 >/dev/null 2>&1 ||
1358   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1359 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1360    { (exit 1); exit 1; }; }
1361
1362 echo "$as_me:$LINENO: checking build system type" >&5
1363 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1364 if test "${ac_cv_build+set}" = set; then
1365   echo $ECHO_N "(cached) $ECHO_C" >&6
1366 else
1367   ac_cv_build_alias=$build_alias
1368 test -z "$ac_cv_build_alias" &&
1369   ac_cv_build_alias=`$ac_config_guess`
1370 test -z "$ac_cv_build_alias" &&
1371   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1372 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1373    { (exit 1); exit 1; }; }
1374 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1375   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1376 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1377    { (exit 1); exit 1; }; }
1378
1379 fi
1380 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1381 echo "${ECHO_T}$ac_cv_build" >&6
1382 build=$ac_cv_build
1383 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1386
1387
1388  case ${build_alias} in
1389   "") build_noncanonical=${build} ;;
1390   *) build_noncanonical=${build_alias} ;;
1391 esac
1392
1393  case ${host_alias} in
1394   "") host_noncanonical=${build_noncanonical} ;;
1395   *) host_noncanonical=${host_alias} ;;
1396 esac
1397
1398  case ${target_alias} in
1399   "") target_noncanonical=${host_noncanonical} ;;
1400   *) target_noncanonical=${target_alias} ;;
1401 esac
1402
1403   # Prefix 'build-' so this never conflicts with target_subdir.
1404 build_subdir="build-${build_noncanonical}"
1405 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1406 if ( test $srcdir = . && test -d gcc ) \
1407    || test -d $srcdir/../host-${host_noncanonical}; then
1408   host_subdir="host-${host_noncanonical}"
1409 else
1410   host_subdir=.
1411 fi
1412 # No prefix.
1413 target_subdir=${target_noncanonical}
1414
1415
1416 # -------
1417 # Options
1418 # -------
1419
1420 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1421 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1422 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1423 if test "${enable_version_specific_runtime_libs+set}" = set; then
1424   enableval="$enable_version_specific_runtime_libs"
1425   case "$enableval" in
1426  yes) version_specific_libs=yes ;;
1427  no)  version_specific_libs=no ;;
1428  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1429 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1430    { (exit 1); exit 1; }; };;
1431  esac
1432 else
1433   version_specific_libs=no
1434 fi;
1435 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1436 echo "${ECHO_T}$version_specific_libs" >&6
1437
1438
1439 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1440 #
1441 # You will slowly go insane if you do not grok the following fact:  when
1442 # building this library, the top-level /target/ becomes the library's /host/.
1443 #
1444 # configure then causes --target to default to --host, exactly like any
1445 # other package using autoconf.  Therefore, 'target' and 'host' will
1446 # always be the same.  This makes sense both for native and cross compilers
1447 # just think about it for a little while.  :-)
1448 #
1449 # Also, if this library is being configured as part of a cross compiler, the
1450 # top-level configure script will pass the "real" host as $with_cross_host.
1451 #
1452 # Do not delete or change the following two lines.  For why, see
1453 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1454 echo "$as_me:$LINENO: checking host system type" >&5
1455 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1456 if test "${ac_cv_host+set}" = set; then
1457   echo $ECHO_N "(cached) $ECHO_C" >&6
1458 else
1459   ac_cv_host_alias=$host_alias
1460 test -z "$ac_cv_host_alias" &&
1461   ac_cv_host_alias=$ac_cv_build_alias
1462 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1463   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1464 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1465    { (exit 1); exit 1; }; }
1466
1467 fi
1468 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1469 echo "${ECHO_T}$ac_cv_host" >&6
1470 host=$ac_cv_host
1471 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1474
1475
1476 echo "$as_me:$LINENO: checking target system type" >&5
1477 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1478 if test "${ac_cv_target+set}" = set; then
1479   echo $ECHO_N "(cached) $ECHO_C" >&6
1480 else
1481   ac_cv_target_alias=$target_alias
1482 test "x$ac_cv_target_alias" = "x" &&
1483   ac_cv_target_alias=$ac_cv_host_alias
1484 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1485   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1486 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1487    { (exit 1); exit 1; }; }
1488
1489 fi
1490 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1491 echo "${ECHO_T}$ac_cv_target" >&6
1492 target=$ac_cv_target
1493 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1494 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1495 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1496
1497
1498 # The aliases save the names the user supplied, while $host etc.
1499 # will get canonicalized.
1500 test -n "$target_alias" &&
1501   test "$program_prefix$program_suffix$program_transform_name" = \
1502     NONENONEs,x,x, &&
1503   program_prefix=${target_alias}-
1504 target_alias=${target_alias-$host_alias}
1505
1506 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1507 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1508 #  1.8.2:  minimum required version
1509 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1510 #              of other PACKAGE_* variables will, however, and there's nothing
1511 #              we can do about that; they come from AC_INIT).
1512 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1513 #            file in the top srcdir, etc, etc), so stop complaining.
1514 #  no-dependencies:  turns off auto dependency generation (just for now)
1515 #  -Wall:  turns on all automake warnings...
1516 #  -Wno-portability:  ...except this one, since GNU make is required.
1517 am__api_version="1.9"
1518 # Find a good install program.  We prefer a C program (faster),
1519 # so one script is as good as another.  But avoid the broken or
1520 # incompatible versions:
1521 # SysV /etc/install, /usr/sbin/install
1522 # SunOS /usr/etc/install
1523 # IRIX /sbin/install
1524 # AIX /bin/install
1525 # AmigaOS /C/install, which installs bootblocks on floppy discs
1526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1529 # OS/2's system install, which has a completely different semantic
1530 # ./install, which can be erroneously created by make from ./install.sh.
1531 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1533 if test -z "$INSTALL"; then
1534 if test "${ac_cv_path_install+set}" = set; then
1535   echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538 for as_dir in $PATH
1539 do
1540   IFS=$as_save_IFS
1541   test -z "$as_dir" && as_dir=.
1542   # Account for people who put trailing slashes in PATH elements.
1543 case $as_dir/ in
1544   ./ | .// | /cC/* | \
1545   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1546   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1547   /usr/ucb/* ) ;;
1548   *)
1549     # OSF1 and SCO ODT 3.0 have their own names for install.
1550     # Don't use installbsd from OSF since it installs stuff as root
1551     # by default.
1552     for ac_prog in ginstall scoinst install; do
1553       for ac_exec_ext in '' $ac_executable_extensions; do
1554         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1555           if test $ac_prog = install &&
1556             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1557             # AIX install.  It has an incompatible calling convention.
1558             :
1559           elif test $ac_prog = install &&
1560             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1561             # program-specific install script used by HP pwplus--don't use.
1562             :
1563           else
1564             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1565             break 3
1566           fi
1567         fi
1568       done
1569     done
1570     ;;
1571 esac
1572 done
1573
1574
1575 fi
1576   if test "${ac_cv_path_install+set}" = set; then
1577     INSTALL=$ac_cv_path_install
1578   else
1579     # As a last resort, use the slow shell script.  We don't cache a
1580     # path for INSTALL within a source directory, because that will
1581     # break other packages using the cache if that directory is
1582     # removed, or if the path is relative.
1583     INSTALL=$ac_install_sh
1584   fi
1585 fi
1586 echo "$as_me:$LINENO: result: $INSTALL" >&5
1587 echo "${ECHO_T}$INSTALL" >&6
1588
1589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1590 # It thinks the first close brace ends the variable substitution.
1591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1592
1593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1594
1595 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1596
1597 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1598 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1599 # Just in case
1600 sleep 1
1601 echo timestamp > conftest.file
1602 # Do `set' in a subshell so we don't clobber the current shell's
1603 # arguments.  Must try -L first in case configure is actually a
1604 # symlink; some systems play weird games with the mod time of symlinks
1605 # (eg FreeBSD returns the mod time of the symlink's containing
1606 # directory).
1607 if (
1608    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1609    if test "$*" = "X"; then
1610       # -L didn't work.
1611       set X `ls -t $srcdir/configure conftest.file`
1612    fi
1613    rm -f conftest.file
1614    if test "$*" != "X $srcdir/configure conftest.file" \
1615       && test "$*" != "X conftest.file $srcdir/configure"; then
1616
1617       # If neither matched, then we have a broken ls.  This can happen
1618       # if, for instance, CONFIG_SHELL is bash and it inherits a
1619       # broken ls alias from the environment.  This has actually
1620       # happened.  Such a system could not be considered "sane".
1621       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1622 alias in your environment" >&5
1623 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1624 alias in your environment" >&2;}
1625    { (exit 1); exit 1; }; }
1626    fi
1627
1628    test "$2" = conftest.file
1629    )
1630 then
1631    # Ok.
1632    :
1633 else
1634    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1635 Check your system clock" >&5
1636 echo "$as_me: error: newly created file is older than distributed files!
1637 Check your system clock" >&2;}
1638    { (exit 1); exit 1; }; }
1639 fi
1640 echo "$as_me:$LINENO: result: yes" >&5
1641 echo "${ECHO_T}yes" >&6
1642 test "$program_prefix" != NONE &&
1643   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1644 # Use a double $ so make ignores it.
1645 test "$program_suffix" != NONE &&
1646   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1647 # Double any \ or $.  echo might interpret backslashes.
1648 # By default was `s,x,x', remove it if useless.
1649 cat <<\_ACEOF >conftest.sed
1650 s/[\\$]/&&/g;s/;s,x,x,$//
1651 _ACEOF
1652 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1653 rm conftest.sed
1654
1655 # expand $ac_aux_dir to an absolute path
1656 am_aux_dir=`cd $ac_aux_dir && pwd`
1657
1658 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1659 # Use eval to expand $SHELL
1660 if eval "$MISSING --run true"; then
1661   am_missing_run="$MISSING --run "
1662 else
1663   am_missing_run=
1664   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1665 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1666 fi
1667
1668 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1669   # We used to keeping the `.' as first argument, in order to
1670   # allow $(mkdir_p) to be used without argument.  As in
1671   #   $(mkdir_p) $(somedir)
1672   # where $(somedir) is conditionally defined.  However this is wrong
1673   # for two reasons:
1674   #  1. if the package is installed by a user who cannot write `.'
1675   #     make install will fail,
1676   #  2. the above comment should most certainly read
1677   #     $(mkdir_p) $(DESTDIR)$(somedir)
1678   #     so it does not work when $(somedir) is undefined and
1679   #     $(DESTDIR) is not.
1680   #  To support the latter case, we have to write
1681   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1682   #  so the `.' trick is pointless.
1683   mkdir_p='mkdir -p --'
1684 else
1685   # On NextStep and OpenStep, the `mkdir' command does not
1686   # recognize any option.  It will interpret all options as
1687   # directories to create, and then abort because `.' already
1688   # exists.
1689   for d in ./-p ./--version;
1690   do
1691     test -d $d && rmdir $d
1692   done
1693   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1694   if test -f "$ac_aux_dir/mkinstalldirs"; then
1695     mkdir_p='$(mkinstalldirs)'
1696   else
1697     mkdir_p='$(install_sh) -d'
1698   fi
1699 fi
1700
1701 for ac_prog in gawk mawk nawk awk
1702 do
1703   # Extract the first word of "$ac_prog", so it can be a program name with args.
1704 set dummy $ac_prog; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_AWK+set}" = set; then
1708   echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710   if test -n "$AWK"; then
1711   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1712 else
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1715 do
1716   IFS=$as_save_IFS
1717   test -z "$as_dir" && as_dir=.
1718   for ac_exec_ext in '' $ac_executable_extensions; do
1719   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720     ac_cv_prog_AWK="$ac_prog"
1721     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722     break 2
1723   fi
1724 done
1725 done
1726
1727 fi
1728 fi
1729 AWK=$ac_cv_prog_AWK
1730 if test -n "$AWK"; then
1731   echo "$as_me:$LINENO: result: $AWK" >&5
1732 echo "${ECHO_T}$AWK" >&6
1733 else
1734   echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 fi
1737
1738   test -n "$AWK" && break
1739 done
1740
1741 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1743 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1744 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1745   echo $ECHO_N "(cached) $ECHO_C" >&6
1746 else
1747   cat >conftest.make <<\_ACEOF
1748 all:
1749         @echo 'ac_maketemp="$(MAKE)"'
1750 _ACEOF
1751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1752 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1753 if test -n "$ac_maketemp"; then
1754   eval ac_cv_prog_make_${ac_make}_set=yes
1755 else
1756   eval ac_cv_prog_make_${ac_make}_set=no
1757 fi
1758 rm -f conftest.make
1759 fi
1760 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1761   echo "$as_me:$LINENO: result: yes" >&5
1762 echo "${ECHO_T}yes" >&6
1763   SET_MAKE=
1764 else
1765   echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1767   SET_MAKE="MAKE=${MAKE-make}"
1768 fi
1769
1770 rm -rf .tst 2>/dev/null
1771 mkdir .tst 2>/dev/null
1772 if test -d .tst; then
1773   am__leading_dot=.
1774 else
1775   am__leading_dot=_
1776 fi
1777 rmdir .tst 2>/dev/null
1778
1779 # test to see if srcdir already configured
1780 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1781    test -f $srcdir/config.status; then
1782   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1783 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1784    { (exit 1); exit 1; }; }
1785 fi
1786
1787 # test whether we have cygpath
1788 if test -z "$CYGPATH_W"; then
1789   if (cygpath --version) >/dev/null 2>/dev/null; then
1790     CYGPATH_W='cygpath -w'
1791   else
1792     CYGPATH_W=echo
1793   fi
1794 fi
1795
1796
1797 # Define the identity of the package.
1798  PACKAGE='libgfortran'
1799  VERSION='0.2'
1800
1801
1802 # Some tools Automake needs.
1803
1804 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1805
1806
1807 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1808
1809
1810 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1811
1812
1813 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1814
1815
1816 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1817
1818 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1819
1820 # Installed binaries are usually stripped using `strip' when the user
1821 # run `make install-strip'.  However `strip' might not be the right
1822 # tool to use in cross-compilation environments, therefore Automake
1823 # will honor the `STRIP' environment variable to overrule this program.
1824 if test "$cross_compiling" != no; then
1825   if test -n "$ac_tool_prefix"; then
1826   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1827 set dummy ${ac_tool_prefix}strip; ac_word=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_STRIP+set}" = set; then
1831   echo $ECHO_N "(cached) $ECHO_C" >&6
1832 else
1833   if test -n "$STRIP"; then
1834   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1835 else
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 for as_dir in $PATH
1838 do
1839   IFS=$as_save_IFS
1840   test -z "$as_dir" && as_dir=.
1841   for ac_exec_ext in '' $ac_executable_extensions; do
1842   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1844     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845     break 2
1846   fi
1847 done
1848 done
1849
1850 fi
1851 fi
1852 STRIP=$ac_cv_prog_STRIP
1853 if test -n "$STRIP"; then
1854   echo "$as_me:$LINENO: result: $STRIP" >&5
1855 echo "${ECHO_T}$STRIP" >&6
1856 else
1857   echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1859 fi
1860
1861 fi
1862 if test -z "$ac_cv_prog_STRIP"; then
1863   ac_ct_STRIP=$STRIP
1864   # Extract the first word of "strip", so it can be a program name with args.
1865 set dummy strip; ac_word=$2
1866 echo "$as_me:$LINENO: checking for $ac_word" >&5
1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1869   echo $ECHO_N "(cached) $ECHO_C" >&6
1870 else
1871   if test -n "$ac_ct_STRIP"; then
1872   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1873 else
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 for as_dir in $PATH
1876 do
1877   IFS=$as_save_IFS
1878   test -z "$as_dir" && as_dir=.
1879   for ac_exec_ext in '' $ac_executable_extensions; do
1880   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881     ac_cv_prog_ac_ct_STRIP="strip"
1882     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883     break 2
1884   fi
1885 done
1886 done
1887
1888   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1889 fi
1890 fi
1891 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1892 if test -n "$ac_ct_STRIP"; then
1893   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1894 echo "${ECHO_T}$ac_ct_STRIP" >&6
1895 else
1896   echo "$as_me:$LINENO: result: no" >&5
1897 echo "${ECHO_T}no" >&6
1898 fi
1899
1900   STRIP=$ac_ct_STRIP
1901 else
1902   STRIP="$ac_cv_prog_STRIP"
1903 fi
1904
1905 fi
1906 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1907
1908 # We need awk for the "check" target.  The system "awk" is bad on
1909 # some platforms.
1910 # Always define AMTAR for backward compatibility.
1911
1912 AMTAR=${AMTAR-"${am_missing_run}tar"}
1913
1914 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1915
1916
1917
1918
1919
1920
1921 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1922 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1923     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1924 if test "${enable_maintainer_mode+set}" = set; then
1925   enableval="$enable_maintainer_mode"
1926   USE_MAINTAINER_MODE=$enableval
1927 else
1928   USE_MAINTAINER_MODE=no
1929 fi;
1930   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1931 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1932
1933
1934 if test $USE_MAINTAINER_MODE = yes; then
1935   MAINTAINER_MODE_TRUE=
1936   MAINTAINER_MODE_FALSE='#'
1937 else
1938   MAINTAINER_MODE_TRUE='#'
1939   MAINTAINER_MODE_FALSE=
1940 fi
1941
1942   MAINT=$MAINTAINER_MODE_TRUE
1943
1944
1945 # Default to --enable-multilib
1946 # Check whether --enable-multilib or --disable-multilib was given.
1947 if test "${enable_multilib+set}" = set; then
1948   enableval="$enable_multilib"
1949   case "$enableval" in
1950   yes) multilib=yes ;;
1951   no)  multilib=no ;;
1952   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1953 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1954    { (exit 1); exit 1; }; } ;;
1955  esac
1956 else
1957   multilib=yes
1958 fi;
1959
1960 # We may get other options which we leave undocumented:
1961 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1962 # See config-ml.in if you want the gory details.
1963
1964 if test "$srcdir" = "."; then
1965   if test "$with_target_subdir" != "."; then
1966     multi_basedir="$srcdir/$with_multisrctop../.."
1967   else
1968     multi_basedir="$srcdir/$with_multisrctop.."
1969   fi
1970 else
1971   multi_basedir="$srcdir/.."
1972 fi
1973
1974
1975           ac_config_commands="$ac_config_commands default-1"
1976
1977
1978 # Handy for debugging:
1979 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1980
1981 # Are we being configured with some form of cross compiler?
1982 # NB: We don't actually need to know this just now, but when, say, a test
1983 #     suite is included, we'll have to know.
1984 if test "$build" != "$host"; then
1985   LIBGFOR_IS_NATIVE=false
1986
1987 else
1988   LIBGFOR_IS_NATIVE=true
1989 fi
1990
1991 # Calculate toolexeclibdir
1992 # Also toolexecdir, though it's only used in toolexeclibdir
1993 case ${version_specific_libs} in
1994   yes)
1995     # Need the gcc compiler version to know where to install libraries
1996     # and header files if --enable-version-specific-runtime-libs option
1997     # is selected.
1998     toolexecdir='$(libdir)/gcc/$(target_alias)'
1999     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2000     ;;
2001   no)
2002     if test -n "$with_cross_host" &&
2003        test x"$with_cross_host" != x"no"; then
2004       # Install a library built with a cross compiler in tooldir, not libdir.
2005       toolexecdir='$(exec_prefix)/$(target_alias)'
2006       toolexeclibdir='$(toolexecdir)/lib'
2007     else
2008       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2009       toolexeclibdir='$(libdir)'
2010     fi
2011     multi_os_directory=`$CC -print-multi-os-directory`
2012     case $multi_os_directory in
2013       .) ;; # Avoid trailing /.
2014       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2015     esac
2016     ;;
2017 esac
2018
2019
2020
2021 # Check the compiler.
2022 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2023 # We must force CC to /not/ be precious variables; otherwise
2024 # the wrong, non-multilib-adjusted value will be used in multilibs.
2025 # As a side effect, we have to subst CFLAGS ourselves.
2026
2027
2028
2029 ac_ext=c
2030 ac_cpp='$CPP $CPPFLAGS'
2031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040   echo $ECHO_N "(cached) $ECHO_C" >&6
2041 else
2042   if test -n "$CC"; then
2043   ac_cv_prog_CC="$CC" # Let the user override the test.
2044 else
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 for as_dir in $PATH
2047 do
2048   IFS=$as_save_IFS
2049   test -z "$as_dir" && as_dir=.
2050   for ac_exec_ext in '' $ac_executable_extensions; do
2051   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2053     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054     break 2
2055   fi
2056 done
2057 done
2058
2059 fi
2060 fi
2061 CC=$ac_cv_prog_CC
2062 if test -n "$CC"; then
2063   echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2065 else
2066   echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2068 fi
2069
2070 fi
2071 if test -z "$ac_cv_prog_CC"; then
2072   ac_ct_CC=$CC
2073   # Extract the first word of "gcc", so it can be a program name with args.
2074 set dummy gcc; ac_word=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078   echo $ECHO_N "(cached) $ECHO_C" >&6
2079 else
2080   if test -n "$ac_ct_CC"; then
2081   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 else
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 for as_dir in $PATH
2085 do
2086   IFS=$as_save_IFS
2087   test -z "$as_dir" && as_dir=.
2088   for ac_exec_ext in '' $ac_executable_extensions; do
2089   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090     ac_cv_prog_ac_ct_CC="gcc"
2091     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092     break 2
2093   fi
2094 done
2095 done
2096
2097 fi
2098 fi
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2103 else
2104   echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2106 fi
2107
2108   CC=$ac_ct_CC
2109 else
2110   CC="$ac_cv_prog_CC"
2111 fi
2112
2113 if test -z "$CC"; then
2114   if test -n "$ac_tool_prefix"; then
2115   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}cc; ac_word=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120   echo $ECHO_N "(cached) $ECHO_C" >&6
2121 else
2122   if test -n "$CC"; then
2123   ac_cv_prog_CC="$CC" # Let the user override the test.
2124 else
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 for as_dir in $PATH
2127 do
2128   IFS=$as_save_IFS
2129   test -z "$as_dir" && as_dir=.
2130   for ac_exec_ext in '' $ac_executable_extensions; do
2131   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132     ac_cv_prog_CC="${ac_tool_prefix}cc"
2133     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134     break 2
2135   fi
2136 done
2137 done
2138
2139 fi
2140 fi
2141 CC=$ac_cv_prog_CC
2142 if test -n "$CC"; then
2143   echo "$as_me:$LINENO: result: $CC" >&5
2144 echo "${ECHO_T}$CC" >&6
2145 else
2146   echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2148 fi
2149
2150 fi
2151 if test -z "$ac_cv_prog_CC"; then
2152   ac_ct_CC=$CC
2153   # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158   echo $ECHO_N "(cached) $ECHO_C" >&6
2159 else
2160   if test -n "$ac_ct_CC"; then
2161   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2162 else
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2165 do
2166   IFS=$as_save_IFS
2167   test -z "$as_dir" && as_dir=.
2168   for ac_exec_ext in '' $ac_executable_extensions; do
2169   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170     ac_cv_prog_ac_ct_CC="cc"
2171     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172     break 2
2173   fi
2174 done
2175 done
2176
2177 fi
2178 fi
2179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 echo "${ECHO_T}$ac_ct_CC" >&6
2183 else
2184   echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2186 fi
2187
2188   CC=$ac_ct_CC
2189 else
2190   CC="$ac_cv_prog_CC"
2191 fi
2192
2193 fi
2194 if test -z "$CC"; then
2195   # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc; ac_word=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200   echo $ECHO_N "(cached) $ECHO_C" >&6
2201 else
2202   if test -n "$CC"; then
2203   ac_cv_prog_CC="$CC" # Let the user override the test.
2204 else
2205   ac_prog_rejected=no
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2208 do
2209   IFS=$as_save_IFS
2210   test -z "$as_dir" && as_dir=.
2211   for ac_exec_ext in '' $ac_executable_extensions; do
2212   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2214        ac_prog_rejected=yes
2215        continue
2216      fi
2217     ac_cv_prog_CC="cc"
2218     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219     break 2
2220   fi
2221 done
2222 done
2223
2224 if test $ac_prog_rejected = yes; then
2225   # We found a bogon in the path, so make sure we never use it.
2226   set dummy $ac_cv_prog_CC
2227   shift
2228   if test $# != 0; then
2229     # We chose a different compiler from the bogus one.
2230     # However, it has the same basename, so the bogon will be chosen
2231     # first if we set CC to just the basename; use the full file name.
2232     shift
2233     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2234   fi
2235 fi
2236 fi
2237 fi
2238 CC=$ac_cv_prog_CC
2239 if test -n "$CC"; then
2240   echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2242 else
2243   echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2245 fi
2246
2247 fi
2248 if test -z "$CC"; then
2249   if test -n "$ac_tool_prefix"; then
2250   for ac_prog in cl
2251   do
2252     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257   echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259   if test -n "$CC"; then
2260   ac_cv_prog_CC="$CC" # Let the user override the test.
2261 else
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 for as_dir in $PATH
2264 do
2265   IFS=$as_save_IFS
2266   test -z "$as_dir" && as_dir=.
2267   for ac_exec_ext in '' $ac_executable_extensions; do
2268   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271     break 2
2272   fi
2273 done
2274 done
2275
2276 fi
2277 fi
2278 CC=$ac_cv_prog_CC
2279 if test -n "$CC"; then
2280   echo "$as_me:$LINENO: result: $CC" >&5
2281 echo "${ECHO_T}$CC" >&6
2282 else
2283   echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2285 fi
2286
2287     test -n "$CC" && break
2288   done
2289 fi
2290 if test -z "$CC"; then
2291   ac_ct_CC=$CC
2292   for ac_prog in cl
2293 do
2294   # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy $ac_prog; ac_word=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299   echo $ECHO_N "(cached) $ECHO_C" >&6
2300 else
2301   if test -n "$ac_ct_CC"; then
2302   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2303 else
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 for as_dir in $PATH
2306 do
2307   IFS=$as_save_IFS
2308   test -z "$as_dir" && as_dir=.
2309   for ac_exec_ext in '' $ac_executable_extensions; do
2310   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311     ac_cv_prog_ac_ct_CC="$ac_prog"
2312     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313     break 2
2314   fi
2315 done
2316 done
2317
2318 fi
2319 fi
2320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323 echo "${ECHO_T}$ac_ct_CC" >&6
2324 else
2325   echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2327 fi
2328
2329   test -n "$ac_ct_CC" && break
2330 done
2331
2332   CC=$ac_ct_CC
2333 fi
2334
2335 fi
2336
2337
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342    { (exit 1); exit 1; }; }
2343
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346      "checking for C compiler version" >&5
2347 ac_compiler=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349   (eval $ac_compiler --version </dev/null >&5) 2>&5
2350   ac_status=$?
2351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352   (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354   (eval $ac_compiler -v </dev/null >&5) 2>&5
2355   ac_status=$?
2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357   (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359   (eval $ac_compiler -V </dev/null >&5) 2>&5
2360   ac_status=$?
2361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362   (exit $ac_status); }
2363
2364 cat >conftest.$ac_ext <<_ACEOF
2365 /* confdefs.h.  */
2366 _ACEOF
2367 cat confdefs.h >>conftest.$ac_ext
2368 cat >>conftest.$ac_ext <<_ACEOF
2369 /* end confdefs.h.  */
2370
2371 int
2372 main ()
2373 {
2374
2375   ;
2376   return 0;
2377 }
2378 _ACEOF
2379 # FIXME: Cleanup?
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381   (eval $ac_link) 2>&5
2382   ac_status=$?
2383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384   (exit $ac_status); }; then
2385   gcc_no_link=no
2386 else
2387   gcc_no_link=yes
2388 fi
2389
2390 if test x$gcc_no_link = xyes; then
2391   # Setting cross_compile will disable run tests; it will
2392   # also disable AC_CHECK_FILE but that's generally
2393   # correct if we can't link.
2394   cross_compiling=yes
2395   EXEEXT=
2396 else
2397   cat >conftest.$ac_ext <<_ACEOF
2398 /* confdefs.h.  */
2399 _ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h.  */
2403
2404 int
2405 main ()
2406 {
2407
2408   ;
2409   return 0;
2410 }
2411 _ACEOF
2412 ac_clean_files_save=$ac_clean_files
2413 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2414 # Try to create an executable without -o first, disregard a.out.
2415 # It will help us diagnose broken compilers, and finding out an intuition
2416 # of exeext.
2417 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2418 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2419 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2420 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2421   (eval $ac_link_default) 2>&5
2422   ac_status=$?
2423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424   (exit $ac_status); }; then
2425   # Find the output, starting from the most likely.  This scheme is
2426 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2427 # resort.
2428
2429 # Be careful to initialize this variable, since it used to be cached.
2430 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2431 ac_cv_exeext=
2432 # b.out is created by i960 compilers.
2433 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2434 do
2435   test -f "$ac_file" || continue
2436   case $ac_file in
2437     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2438         ;;
2439     conftest.$ac_ext )
2440         # This is the source file.
2441         ;;
2442     [ab].out )
2443         # We found the default executable, but exeext='' is most
2444         # certainly right.
2445         break;;
2446     *.* )
2447         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448         # FIXME: I believe we export ac_cv_exeext for Libtool,
2449         # but it would be cool to find out if it's true.  Does anybody
2450         # maintain Libtool? --akim.
2451         export ac_cv_exeext
2452         break;;
2453     * )
2454         break;;
2455   esac
2456 done
2457 else
2458   echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2460
2461 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&2;}
2465    { (exit 77); exit 77; }; }
2466 fi
2467
2468 ac_exeext=$ac_cv_exeext
2469 echo "$as_me:$LINENO: result: $ac_file" >&5
2470 echo "${ECHO_T}$ac_file" >&6
2471
2472 # Check the compiler produces executables we can run.  If not, either
2473 # the compiler is broken, or we cross compile.
2474 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479   if { ac_try='./$ac_file'
2480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481   (eval $ac_try) 2>&5
2482   ac_status=$?
2483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484   (exit $ac_status); }; }; then
2485     cross_compiling=no
2486   else
2487     if test "$cross_compiling" = maybe; then
2488         cross_compiling=yes
2489     else
2490         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&2;}
2496    { (exit 1); exit 1; }; }
2497     fi
2498   fi
2499 fi
2500 echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6
2502
2503 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 # Check the compiler produces executables we can run.  If not, either
2506 # the compiler is broken, or we cross compile.
2507 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2509 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6
2511
2512 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515   (eval $ac_link) 2>&5
2516   ac_status=$?
2517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518   (exit $ac_status); }; then
2519   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2520 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2521 # work properly (i.e., refer to `conftest.exe'), while it won't with
2522 # `rm'.
2523 for ac_file in conftest.exe conftest conftest.*; do
2524   test -f "$ac_file" || continue
2525   case $ac_file in
2526     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2527     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528           export ac_cv_exeext
2529           break;;
2530     * ) break;;
2531   esac
2532 done
2533 else
2534   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538    { (exit 1); exit 1; }; }
2539 fi
2540
2541 rm -f conftest$ac_cv_exeext
2542 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6
2544
2545 rm -f conftest.$ac_ext
2546 EXEEXT=$ac_cv_exeext
2547 ac_exeext=$EXEEXT
2548 fi
2549 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2550 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2551 if test "${ac_cv_objext+set}" = set; then
2552   echo $ECHO_N "(cached) $ECHO_C" >&6
2553 else
2554   cat >conftest.$ac_ext <<_ACEOF
2555 /* confdefs.h.  */
2556 _ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h.  */
2560
2561 int
2562 main ()
2563 {
2564
2565   ;
2566   return 0;
2567 }
2568 _ACEOF
2569 rm -f conftest.o conftest.obj
2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571   (eval $ac_compile) 2>&5
2572   ac_status=$?
2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574   (exit $ac_status); }; then
2575   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2576   case $ac_file in
2577     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2578     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2579        break;;
2580   esac
2581 done
2582 else
2583   echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2585
2586 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2589 See \`config.log' for more details." >&2;}
2590    { (exit 1); exit 1; }; }
2591 fi
2592
2593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2594 fi
2595 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2596 echo "${ECHO_T}$ac_cv_objext" >&6
2597 OBJEXT=$ac_cv_objext
2598 ac_objext=$OBJEXT
2599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2602   echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604   cat >conftest.$ac_ext <<_ACEOF
2605 /* confdefs.h.  */
2606 _ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h.  */
2610
2611 int
2612 main ()
2613 {
2614 #ifndef __GNUC__
2615        choke me
2616 #endif
2617
2618   ;
2619   return 0;
2620 }
2621 _ACEOF
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624   (eval $ac_compile) 2>conftest.er1
2625   ac_status=$?
2626   grep -v '^ *+' conftest.er1 >conftest.err
2627   rm -f conftest.er1
2628   cat conftest.err >&5
2629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630   (exit $ac_status); } &&
2631          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633   (eval $ac_try) 2>&5
2634   ac_status=$?
2635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636   (exit $ac_status); }; } &&
2637          { ac_try='test -s conftest.$ac_objext'
2638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639   (eval $ac_try) 2>&5
2640   ac_status=$?
2641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642   (exit $ac_status); }; }; then
2643   ac_compiler_gnu=yes
2644 else
2645   echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2647
2648 ac_compiler_gnu=no
2649 fi
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2652
2653 fi
2654 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2655 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2656 GCC=`test $ac_compiler_gnu = yes && echo yes`
2657 ac_test_CFLAGS=${CFLAGS+set}
2658 ac_save_CFLAGS=$CFLAGS
2659 CFLAGS="-g"
2660 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2661 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2662 if test "${ac_cv_prog_cc_g+set}" = set; then
2663   echo $ECHO_N "(cached) $ECHO_C" >&6
2664 else
2665   cat >conftest.$ac_ext <<_ACEOF
2666 /* confdefs.h.  */
2667 _ACEOF
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h.  */
2671
2672 int
2673 main ()
2674 {
2675
2676   ;
2677   return 0;
2678 }
2679 _ACEOF
2680 rm -f conftest.$ac_objext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682   (eval $ac_compile) 2>conftest.er1
2683   ac_status=$?
2684   grep -v '^ *+' conftest.er1 >conftest.err
2685   rm -f conftest.er1
2686   cat conftest.err >&5
2687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688   (exit $ac_status); } &&
2689          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691   (eval $ac_try) 2>&5
2692   ac_status=$?
2693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694   (exit $ac_status); }; } &&
2695          { ac_try='test -s conftest.$ac_objext'
2696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697   (eval $ac_try) 2>&5
2698   ac_status=$?
2699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700   (exit $ac_status); }; }; then
2701   ac_cv_prog_cc_g=yes
2702 else
2703   echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2705
2706 ac_cv_prog_cc_g=no
2707 fi
2708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2709 fi
2710 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2711 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2712 if test "$ac_test_CFLAGS" = set; then
2713   CFLAGS=$ac_save_CFLAGS
2714 elif test $ac_cv_prog_cc_g = yes; then
2715   if test "$GCC" = yes; then
2716     CFLAGS="-g -O2"
2717   else
2718     CFLAGS="-g"
2719   fi
2720 else
2721   if test "$GCC" = yes; then
2722     CFLAGS="-O2"
2723   else
2724     CFLAGS=
2725   fi
2726 fi
2727 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2728 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2729 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2730   echo $ECHO_N "(cached) $ECHO_C" >&6
2731 else
2732   ac_cv_prog_cc_stdc=no
2733 ac_save_CC=$CC
2734 cat >conftest.$ac_ext <<_ACEOF
2735 /* confdefs.h.  */
2736 _ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h.  */
2740 #include <stdarg.h>
2741 #include <stdio.h>
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2748      char **p;
2749      int i;
2750 {
2751   return p[i];
2752 }
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2754 {
2755   char *s;
2756   va_list v;
2757   va_start (v,p);
2758   s = g (p, va_arg (v,int));
2759   va_end (v);
2760   return s;
2761 }
2762
2763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2764    function prototypes and stuff, but not '\xHH' hex character constants.
2765    These don't provoke an error unfortunately, instead are silently treated
2766    as 'x'.  The following induces an error, until -std1 is added to get
2767    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2768    array size at least.  It's necessary to write '\x00'==0 to get something
2769    that's true only with -std1.  */
2770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2771
2772 int test (int i, double x);
2773 struct s1 {int (*f) (int a);};
2774 struct s2 {int (*f) (double a);};
2775 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2776 int argc;
2777 char **argv;
2778 int
2779 main ()
2780 {
2781 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2782   ;
2783   return 0;
2784 }
2785 _ACEOF
2786 # Don't try gcc -ansi; that turns off useful extensions and
2787 # breaks some systems' header files.
2788 # AIX                   -qlanglvl=ansi
2789 # Ultrix and OSF/1      -std1
2790 # HP-UX 10.20 and later -Ae
2791 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2792 # SVR4                  -Xc -D__EXTENSIONS__
2793 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2794 do
2795   CC="$ac_save_CC $ac_arg"
2796   rm -f conftest.$ac_objext
2797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2798   (eval $ac_compile) 2>conftest.er1
2799   ac_status=$?
2800   grep -v '^ *+' conftest.er1 >conftest.err
2801   rm -f conftest.er1
2802   cat conftest.err >&5
2803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804   (exit $ac_status); } &&
2805          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807   (eval $ac_try) 2>&5
2808   ac_status=$?
2809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810   (exit $ac_status); }; } &&
2811          { ac_try='test -s conftest.$ac_objext'
2812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813   (eval $ac_try) 2>&5
2814   ac_status=$?
2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816   (exit $ac_status); }; }; then
2817   ac_cv_prog_cc_stdc=$ac_arg
2818 break
2819 else
2820   echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2822
2823 fi
2824 rm -f conftest.err conftest.$ac_objext
2825 done
2826 rm -f conftest.$ac_ext conftest.$ac_objext
2827 CC=$ac_save_CC
2828
2829 fi
2830
2831 case "x$ac_cv_prog_cc_stdc" in
2832   x|xno)
2833     echo "$as_me:$LINENO: result: none needed" >&5
2834 echo "${ECHO_T}none needed" >&6 ;;
2835   *)
2836     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2837 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2838     CC="$CC $ac_cv_prog_cc_stdc" ;;
2839 esac
2840
2841 # Some people use a C++ compiler to compile C.  Since we use `exit',
2842 # in C++ we need to declare it.  In case someone uses the same compiler
2843 # for both compiling C and C++ we need to have the C++ compiler decide
2844 # the declaration of exit, since it's the most demanding environment.
2845 cat >conftest.$ac_ext <<_ACEOF
2846 #ifndef __cplusplus
2847   choke me
2848 #endif
2849 _ACEOF
2850 rm -f conftest.$ac_objext
2851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2852   (eval $ac_compile) 2>conftest.er1
2853   ac_status=$?
2854   grep -v '^ *+' conftest.er1 >conftest.err
2855   rm -f conftest.er1
2856   cat conftest.err >&5
2857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858   (exit $ac_status); } &&
2859          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861   (eval $ac_try) 2>&5
2862   ac_status=$?
2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864   (exit $ac_status); }; } &&
2865          { ac_try='test -s conftest.$ac_objext'
2866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867   (eval $ac_try) 2>&5
2868   ac_status=$?
2869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870   (exit $ac_status); }; }; then
2871   for ac_declaration in \
2872    '' \
2873    'extern "C" void std::exit (int) throw (); using std::exit;' \
2874    'extern "C" void std::exit (int); using std::exit;' \
2875    'extern "C" void exit (int) throw ();' \
2876    'extern "C" void exit (int);' \
2877    'void exit (int);'
2878 do
2879   cat >conftest.$ac_ext <<_ACEOF
2880 /* confdefs.h.  */
2881 _ACEOF
2882 cat confdefs.h >>conftest.$ac_ext
2883 cat >>conftest.$ac_ext <<_ACEOF
2884 /* end confdefs.h.  */
2885 $ac_declaration
2886 #include <stdlib.h>
2887 int
2888 main ()
2889 {
2890 exit (42);
2891   ;
2892   return 0;
2893 }
2894 _ACEOF
2895 rm -f conftest.$ac_objext
2896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2897   (eval $ac_compile) 2>conftest.er1
2898   ac_status=$?
2899   grep -v '^ *+' conftest.er1 >conftest.err
2900   rm -f conftest.er1
2901   cat conftest.err >&5
2902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903   (exit $ac_status); } &&
2904          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906   (eval $ac_try) 2>&5
2907   ac_status=$?
2908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909   (exit $ac_status); }; } &&
2910          { ac_try='test -s conftest.$ac_objext'
2911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912   (eval $ac_try) 2>&5
2913   ac_status=$?
2914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915   (exit $ac_status); }; }; then
2916   :
2917 else
2918   echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2920
2921 continue
2922 fi
2923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2924   cat >conftest.$ac_ext <<_ACEOF
2925 /* confdefs.h.  */
2926 _ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h.  */
2930 $ac_declaration
2931 int
2932 main ()
2933 {
2934 exit (42);
2935   ;
2936   return 0;
2937 }
2938 _ACEOF
2939 rm -f conftest.$ac_objext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941   (eval $ac_compile) 2>conftest.er1
2942   ac_status=$?
2943   grep -v '^ *+' conftest.er1 >conftest.err
2944   rm -f conftest.er1
2945   cat conftest.err >&5
2946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947   (exit $ac_status); } &&
2948          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950   (eval $ac_try) 2>&5
2951   ac_status=$?
2952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953   (exit $ac_status); }; } &&
2954          { ac_try='test -s conftest.$ac_objext'
2955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956   (eval $ac_try) 2>&5
2957   ac_status=$?
2958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959   (exit $ac_status); }; }; then
2960   break
2961 else
2962   echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2964
2965 fi
2966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2967 done
2968 rm -f conftest*
2969 if test -n "$ac_declaration"; then
2970   echo '#ifdef __cplusplus' >>confdefs.h
2971   echo $ac_declaration      >>confdefs.h
2972   echo '#endif'             >>confdefs.h
2973 fi
2974
2975 else
2976   echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2978
2979 fi
2980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2981 ac_ext=c
2982 ac_cpp='$CPP $CPPFLAGS'
2983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2986
2987
2988
2989 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
2990 if test "x$GCC" = "xyes"; then
2991   AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
2992   ## We like to use C99 routines when available.  This makes sure that
2993   ## __STDC_VERSION__ is set such that libc includes make them available.
2994   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2995   ## Compile the following tests with the same system header contents
2996   ## that we'll encounter when compiling our own source files.
2997   CFLAGS="-std=gnu99 $CFLAGS"
2998 fi
2999
3000
3001
3002 # Find other programs we need.
3003 if test -n "$ac_tool_prefix"; then
3004   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3005 set dummy ${ac_tool_prefix}as; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${ac_cv_prog_AS+set}" = set; then
3009   echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011   if test -n "$AS"; then
3012   ac_cv_prog_AS="$AS" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3016 do
3017   IFS=$as_save_IFS
3018   test -z "$as_dir" && as_dir=.
3019   for ac_exec_ext in '' $ac_executable_extensions; do
3020   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021     ac_cv_prog_AS="${ac_tool_prefix}as"
3022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023     break 2
3024   fi
3025 done
3026 done
3027
3028 fi
3029 fi
3030 AS=$ac_cv_prog_AS
3031 if test -n "$AS"; then
3032   echo "$as_me:$LINENO: result: $AS" >&5
3033 echo "${ECHO_T}$AS" >&6
3034 else
3035   echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3037 fi
3038
3039 fi
3040 if test -z "$ac_cv_prog_AS"; then
3041   ac_ct_AS=$AS
3042   # Extract the first word of "as", so it can be a program name with args.
3043 set dummy as; ac_word=$2
3044 echo "$as_me:$LINENO: checking for $ac_word" >&5
3045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3046 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3047   echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049   if test -n "$ac_ct_AS"; then
3050   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3051 else
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3054 do
3055   IFS=$as_save_IFS
3056   test -z "$as_dir" && as_dir=.
3057   for ac_exec_ext in '' $ac_executable_extensions; do
3058   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059     ac_cv_prog_ac_ct_AS="as"
3060     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3061     break 2
3062   fi
3063 done
3064 done
3065
3066 fi
3067 fi
3068 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3069 if test -n "$ac_ct_AS"; then
3070   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3071 echo "${ECHO_T}$ac_ct_AS" >&6
3072 else
3073   echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3075 fi
3076
3077   AS=$ac_ct_AS
3078 else
3079   AS="$ac_cv_prog_AS"
3080 fi
3081
3082 if test -n "$ac_tool_prefix"; then
3083   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3084 set dummy ${ac_tool_prefix}ar; ac_word=$2
3085 echo "$as_me:$LINENO: checking for $ac_word" >&5
3086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3087 if test "${ac_cv_prog_AR+set}" = set; then
3088   echo $ECHO_N "(cached) $ECHO_C" >&6
3089 else
3090   if test -n "$AR"; then
3091   ac_cv_prog_AR="$AR" # Let the user override the test.
3092 else
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 for as_dir in $PATH
3095 do
3096   IFS=$as_save_IFS
3097   test -z "$as_dir" && as_dir=.
3098   for ac_exec_ext in '' $ac_executable_extensions; do
3099   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100     ac_cv_prog_AR="${ac_tool_prefix}ar"
3101     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3102     break 2
3103   fi
3104 done
3105 done
3106
3107 fi
3108 fi
3109 AR=$ac_cv_prog_AR
3110 if test -n "$AR"; then
3111   echo "$as_me:$LINENO: result: $AR" >&5
3112 echo "${ECHO_T}$AR" >&6
3113 else
3114   echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6
3116 fi
3117
3118 fi
3119 if test -z "$ac_cv_prog_AR"; then
3120   ac_ct_AR=$AR
3121   # Extract the first word of "ar", so it can be a program name with args.
3122 set dummy ar; ac_word=$2
3123 echo "$as_me:$LINENO: checking for $ac_word" >&5
3124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3125 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3126   echo $ECHO_N "(cached) $ECHO_C" >&6
3127 else
3128   if test -n "$ac_ct_AR"; then
3129   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3130 else
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3133 do
3134   IFS=$as_save_IFS
3135   test -z "$as_dir" && as_dir=.
3136   for ac_exec_ext in '' $ac_executable_extensions; do
3137   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138     ac_cv_prog_ac_ct_AR="ar"
3139     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3140     break 2
3141   fi
3142 done
3143 done
3144
3145 fi
3146 fi
3147 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3148 if test -n "$ac_ct_AR"; then
3149   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3150 echo "${ECHO_T}$ac_ct_AR" >&6
3151 else
3152   echo "$as_me:$LINENO: result: no" >&5
3153 echo "${ECHO_T}no" >&6
3154 fi
3155
3156   AR=$ac_ct_AR
3157 else
3158   AR="$ac_cv_prog_AR"
3159 fi
3160
3161 if test -n "$ac_tool_prefix"; then
3162   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3163 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3164 echo "$as_me:$LINENO: checking for $ac_word" >&5
3165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3166 if test "${ac_cv_prog_RANLIB+set}" = set; then
3167   echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169   if test -n "$RANLIB"; then
3170   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3171 else
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH
3174 do
3175   IFS=$as_save_IFS
3176   test -z "$as_dir" && as_dir=.
3177   for ac_exec_ext in '' $ac_executable_extensions; do
3178   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3180     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181     break 2
3182   fi
3183 done
3184 done
3185
3186 fi
3187 fi
3188 RANLIB=$ac_cv_prog_RANLIB
3189 if test -n "$RANLIB"; then
3190   echo "$as_me:$LINENO: result: $RANLIB" >&5
3191 echo "${ECHO_T}$RANLIB" >&6
3192 else
3193   echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 fi
3196
3197 fi
3198 if test -z "$ac_cv_prog_RANLIB"; then
3199   ac_ct_RANLIB=$RANLIB
3200   # Extract the first word of "ranlib", so it can be a program name with args.
3201 set dummy ranlib; ac_word=$2
3202 echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3204 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3205   echo $ECHO_N "(cached) $ECHO_C" >&6
3206 else
3207   if test -n "$ac_ct_RANLIB"; then
3208   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3209 else
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 for as_dir in $PATH
3212 do
3213   IFS=$as_save_IFS
3214   test -z "$as_dir" && as_dir=.
3215   for ac_exec_ext in '' $ac_executable_extensions; do
3216   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3217     ac_cv_prog_ac_ct_RANLIB="ranlib"
3218     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219     break 2
3220   fi
3221 done
3222 done
3223
3224   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3225 fi
3226 fi
3227 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3228 if test -n "$ac_ct_RANLIB"; then
3229   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3230 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3231 else
3232   echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3234 fi
3235
3236   RANLIB=$ac_ct_RANLIB
3237 else
3238   RANLIB="$ac_cv_prog_RANLIB"
3239 fi
3240
3241 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3242 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3243 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3244 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3245   echo $ECHO_N "(cached) $ECHO_C" >&6
3246 else
3247   cat >conftest.make <<\_ACEOF
3248 all:
3249         @echo 'ac_maketemp="$(MAKE)"'
3250 _ACEOF
3251 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3252 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3253 if test -n "$ac_maketemp"; then
3254   eval ac_cv_prog_make_${ac_make}_set=yes
3255 else
3256   eval ac_cv_prog_make_${ac_make}_set=no
3257 fi
3258 rm -f conftest.make
3259 fi
3260 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3261   echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6
3263   SET_MAKE=
3264 else
3265   echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267   SET_MAKE="MAKE=${MAKE-make}"
3268 fi
3269
3270 # Find a good install program.  We prefer a C program (faster),
3271 # so one script is as good as another.  But avoid the broken or
3272 # incompatible versions:
3273 # SysV /etc/install, /usr/sbin/install
3274 # SunOS /usr/etc/install
3275 # IRIX /sbin/install
3276 # AIX /bin/install
3277 # AmigaOS /C/install, which installs bootblocks on floppy discs
3278 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3279 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3280 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3281 # OS/2's system install, which has a completely different semantic
3282 # ./install, which can be erroneously created by make from ./install.sh.
3283 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3284 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3285 if test -z "$INSTALL"; then
3286 if test "${ac_cv_path_install+set}" = set; then
3287   echo $ECHO_N "(cached) $ECHO_C" >&6
3288 else
3289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 for as_dir in $PATH
3291 do
3292   IFS=$as_save_IFS
3293   test -z "$as_dir" && as_dir=.
3294   # Account for people who put trailing slashes in PATH elements.
3295 case $as_dir/ in
3296   ./ | .// | /cC/* | \
3297   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3298   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3299   /usr/ucb/* ) ;;
3300   *)
3301     # OSF1 and SCO ODT 3.0 have their own names for install.
3302     # Don't use installbsd from OSF since it installs stuff as root
3303     # by default.
3304     for ac_prog in ginstall scoinst install; do
3305       for ac_exec_ext in '' $ac_executable_extensions; do
3306         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3307           if test $ac_prog = install &&
3308             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3309             # AIX install.  It has an incompatible calling convention.
3310             :
3311           elif test $ac_prog = install &&
3312             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3313             # program-specific install script used by HP pwplus--don't use.
3314             :
3315           else
3316             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3317             break 3
3318           fi
3319         fi
3320       done
3321     done
3322     ;;
3323 esac
3324 done
3325
3326
3327 fi
3328   if test "${ac_cv_path_install+set}" = set; then
3329     INSTALL=$ac_cv_path_install
3330   else
3331     # As a last resort, use the slow shell script.  We don't cache a
3332     # path for INSTALL within a source directory, because that will
3333     # break other packages using the cache if that directory is
3334     # removed, or if the path is relative.
3335     INSTALL=$ac_install_sh
3336   fi
3337 fi
3338 echo "$as_me:$LINENO: result: $INSTALL" >&5
3339 echo "${ECHO_T}$INSTALL" >&6
3340
3341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3342 # It thinks the first close brace ends the variable substitution.
3343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3344
3345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3346
3347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3348
3349
3350 # Configure libtool
3351 #AC_MSG_NOTICE([====== Starting libtool configuration])
3352
3353 # Check whether --enable-shared or --disable-shared was given.
3354 if test "${enable_shared+set}" = set; then
3355   enableval="$enable_shared"
3356   p=${PACKAGE-default}
3357 case $enableval in
3358 yes) enable_shared=yes ;;
3359 no) enable_shared=no ;;
3360 *)
3361   enable_shared=no
3362   # Look at the argument we got.  We use all the common list separators.
3363   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3364   for pkg in $enableval; do
3365     if test "X$pkg" = "X$p"; then
3366       enable_shared=yes
3367     fi
3368   done
3369   IFS="$ac_save_ifs"
3370   ;;
3371 esac
3372 else
3373   enable_shared=yes
3374 fi;
3375 # Check whether --enable-static or --disable-static was given.
3376 if test "${enable_static+set}" = set; then
3377   enableval="$enable_static"
3378   p=${PACKAGE-default}
3379 case $enableval in
3380 yes) enable_static=yes ;;
3381 no) enable_static=no ;;
3382 *)
3383   enable_static=no
3384   # Look at the argument we got.  We use all the common list separators.
3385   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3386   for pkg in $enableval; do
3387     if test "X$pkg" = "X$p"; then
3388       enable_static=yes
3389     fi
3390   done
3391   IFS="$ac_save_ifs"
3392   ;;
3393 esac
3394 else
3395   enable_static=yes
3396 fi;
3397 # Check whether --enable-fast-install or --disable-fast-install was given.
3398 if test "${enable_fast_install+set}" = set; then
3399   enableval="$enable_fast_install"
3400   p=${PACKAGE-default}
3401 case $enableval in
3402 yes) enable_fast_install=yes ;;
3403 no) enable_fast_install=no ;;
3404 *)
3405   enable_fast_install=no
3406   # Look at the argument we got.  We use all the common list separators.
3407   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3408   for pkg in $enableval; do
3409     if test "X$pkg" = "X$p"; then
3410       enable_fast_install=yes
3411     fi
3412   done
3413   IFS="$ac_save_ifs"
3414   ;;
3415 esac
3416 else
3417   enable_fast_install=yes
3418 fi;
3419
3420 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3421 if test "${with_gnu_ld+set}" = set; then
3422   withval="$with_gnu_ld"
3423   test "$withval" = no || with_gnu_ld=yes
3424 else
3425   with_gnu_ld=no
3426 fi;
3427 ac_prog=ld
3428 if test "$GCC" = yes; then
3429   # Check if gcc -print-prog-name=ld gives a path.
3430   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3431 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3432   case $host in
3433   *-*-mingw*)
3434     # gcc leaves a trailing carriage return which upsets mingw
3435     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3436   *)
3437     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3438   esac
3439   case $ac_prog in
3440     # Accept absolute paths.
3441     [\\/]* | [A-Za-z]:[\\/]*)
3442       re_direlt='/[^/][^/]*/\.\./'
3443       # Canonicalize the path of ld
3444       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3445       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3446         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3447       done
3448       test -z "$LD" && LD="$ac_prog"
3449       ;;
3450   "")
3451     # If it fails, then pretend we aren't using GCC.
3452     ac_prog=ld
3453     ;;
3454   *)
3455     # If it is relative, then search for the first ld in PATH.
3456     with_gnu_ld=unknown
3457     ;;
3458   esac
3459 elif test "$with_gnu_ld" = yes; then
3460   echo "$as_me:$LINENO: checking for GNU ld" >&5
3461 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3462 else
3463   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3464 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3465 fi
3466 if test "${lt_cv_path_LD+set}" = set; then
3467   echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else
3469   if test -z "$LD"; then
3470   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3471   for ac_dir in $PATH; do
3472     test -z "$ac_dir" && ac_dir=.
3473     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3474       lt_cv_path_LD="$ac_dir/$ac_prog"
3475       # Check to see if the program is GNU ld.  I'd rather use --version,
3476       # but apparently some GNU ld's only accept -v.
3477       # Break only if it was the GNU/non-GNU ld that we prefer.
3478       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3479         test "$with_gnu_ld" != no && break
3480       else
3481         test "$with_gnu_ld" != yes && break
3482       fi
3483     fi
3484   done
3485   IFS="$ac_save_ifs"
3486 else
3487   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3488 fi
3489 fi
3490
3491 LD="$lt_cv_path_LD"
3492 if test -n "$LD"; then
3493   echo "$as_me:$LINENO: result: $LD" >&5
3494 echo "${ECHO_T}$LD" >&6
3495 else
3496   echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6
3498 fi
3499 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3500 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3501    { (exit 1); exit 1; }; }
3502 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3503 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3504 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3505   echo $ECHO_N "(cached) $ECHO_C" >&6
3506 else
3507   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3508 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3509   lt_cv_prog_gnu_ld=yes
3510 else
3511   lt_cv_prog_gnu_ld=no
3512 fi
3513 fi
3514 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3515 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3516 with_gnu_ld=$lt_cv_prog_gnu_ld
3517
3518
3519 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3520 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3521 if test "${lt_cv_ld_reload_flag+set}" = set; then
3522   echo $ECHO_N "(cached) $ECHO_C" >&6
3523 else
3524   lt_cv_ld_reload_flag='-r'
3525 fi
3526 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3527 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3528 reload_flag=$lt_cv_ld_reload_flag
3529 test -n "$reload_flag" && reload_flag=" $reload_flag"
3530
3531 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3532 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3533 if test "${lt_cv_path_NM+set}" = set; then
3534   echo $ECHO_N "(cached) $ECHO_C" >&6
3535 else
3536   if test -n "$NM"; then
3537   # Let the user override the test.
3538   lt_cv_path_NM="$NM"
3539 else
3540   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3541   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3542     test -z "$ac_dir" && ac_dir=.
3543     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3544     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3545       # Check to see if the nm accepts a BSD-compat flag.
3546       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3547       #   nm: unknown option "B" ignored
3548       # Tru64's nm complains that /dev/null is an invalid object file
3549       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3550         lt_cv_path_NM="$tmp_nm -B"
3551         break
3552       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3553         lt_cv_path_NM="$tmp_nm -p"
3554         break
3555       else
3556         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3557         continue # so that we can try to find one that supports BSD flags
3558       fi
3559     fi
3560   done
3561   IFS="$ac_save_ifs"
3562   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3563 fi
3564 fi
3565
3566 NM="$lt_cv_path_NM"
3567 echo "$as_me:$LINENO: result: $NM" >&5
3568 echo "${ECHO_T}$NM" >&6
3569
3570 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3571 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3572 LN_S=$as_ln_s
3573 if test "$LN_S" = "ln -s"; then
3574   echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6
3576 else
3577   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3578 echo "${ECHO_T}no, using $LN_S" >&6
3579 fi
3580
3581 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3582 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3583 if test "${lt_cv_deplibs_check_method+set}" = set; then
3584   echo $ECHO_N "(cached) $ECHO_C" >&6
3585 else
3586   lt_cv_file_magic_cmd='$MAGIC_CMD'
3587 lt_cv_file_magic_test_file=
3588 lt_cv_deplibs_check_method='unknown'
3589 # Need to set the preceding variable on all platforms that support
3590 # interlibrary dependencies.
3591 # 'none' -- dependencies not supported.
3592 # `unknown' -- same as none, but documents that we really don't know.
3593 # 'pass_all' -- all dependencies passed with no checks.
3594 # 'test_compile' -- check by making test program.
3595 # 'file_magic [regex]' -- check by looking for files in library path
3596 # which responds to the $file_magic_cmd with a given egrep regex.
3597 # If you have `file' or equivalent on your system and you're not sure
3598 # whether `pass_all' will *always* work, you probably want this one.
3599
3600 case $host_os in
3601 aix*)
3602   lt_cv_deplibs_check_method=pass_all
3603   ;;
3604
3605 beos*)
3606   lt_cv_deplibs_check_method=pass_all
3607   ;;
3608
3609 bsdi4*)
3610   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3611   lt_cv_file_magic_cmd='/usr/bin/file -L'
3612   lt_cv_file_magic_test_file=/shlib/libc.so
3613   ;;
3614
3615 cygwin* | mingw* |pw32*)
3616   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3617   lt_cv_file_magic_cmd='$OBJDUMP -f'
3618   ;;
3619
3620 darwin* | rhapsody*)
3621   # this will be overwritten by pass_all, but leave it in just in case
3622   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3623   lt_cv_file_magic_cmd='/usr/bin/file -L'
3624   case "$host_os" in
3625   rhapsody* | darwin1.012)
3626     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3627     ;;
3628   *) # Darwin 1.3 on
3629     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3630     ;;
3631   esac
3632   lt_cv_deplibs_check_method=pass_all
3633   ;;
3634
3635 freebsd* | kfreebsd*-gnu)
3636   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3637     case $host_cpu in
3638     i*86 )
3639       # Not sure whether the presence of OpenBSD here was a mistake.
3640       # Let's accept both of them until this is cleared up.
3641       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3642       lt_cv_file_magic_cmd=/usr/bin/file
3643       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3644       ;;
3645     esac
3646   else
3647     lt_cv_deplibs_check_method=pass_all
3648   fi
3649   ;;
3650
3651 gnu*)
3652   lt_cv_deplibs_check_method=pass_all
3653   ;;
3654
3655 hpux10.20*|hpux11*)
3656   case $host_cpu in
3657   hppa*)
3658     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3659     lt_cv_file_magic_cmd=/usr/bin/file
3660     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3661     ;;
3662   ia64*)
3663     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3664     lt_cv_file_magic_cmd=/usr/bin/file
3665     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3666     ;;
3667   esac
3668   ;;
3669
3670 irix5* | irix6*)
3671   case $host_os in
3672   irix5*)
3673     # this will be overridden with pass_all, but let us keep it just in case
3674     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3675     ;;
3676   *)
3677     case $LD in
3678     *-32|*"-32 ") libmagic=32-bit;;
3679     *-n32|*"-n32 ") libmagic=N32;;
3680     *-64|*"-64 ") libmagic=64-bit;;
3681     *) libmagic=never-match;;
3682     esac
3683     # this will be overridden with pass_all, but let us keep it just in case
3684     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3685     ;;
3686   esac
3687   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3688   lt_cv_deplibs_check_method=pass_all
3689   ;;
3690
3691 # This must be Linux ELF.
3692 linux-gnu*)
3693   lt_cv_deplibs_check_method=pass_all
3694   ;;
3695
3696 netbsd* | knetbsd*-gnu)
3697   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3698     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3699   else
3700     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3701   fi
3702   ;;
3703
3704 newsos6)
3705   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3706   lt_cv_file_magic_cmd=/usr/bin/file
3707   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3708   ;;
3709
3710 osf3* | osf4* | osf5*)
3711   # this will be overridden with pass_all, but let us keep it just in case
3712   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3713   lt_cv_file_magic_test_file=/shlib/libc.so
3714   lt_cv_deplibs_check_method=pass_all
3715   ;;
3716
3717 sco3.2v5*)
3718   lt_cv_deplibs_check_method=pass_all
3719   ;;
3720
3721 solaris*)
3722   lt_cv_deplibs_check_method=pass_all
3723   lt_cv_file_magic_test_file=/lib/libc.so
3724   ;;
3725
3726 sysv5uw[78]* | sysv4*uw2*)
3727   lt_cv_deplibs_check_method=pass_all
3728   ;;
3729
3730 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3731   case $host_vendor in
3732   ncr)
3733     lt_cv_deplibs_check_method=pass_all
3734     ;;
3735   motorola)
3736     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]'
3737     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3738     ;;
3739   esac
3740   ;;
3741 esac
3742
3743 fi
3744 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3745 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3746 file_magic_cmd=$lt_cv_file_magic_cmd
3747 deplibs_check_method=$lt_cv_deplibs_check_method
3748
3749
3750
3751
3752
3753 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3754
3755 # find the maximum length of command line arguments
3756 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3757 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3758 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3759   echo $ECHO_N "(cached) $ECHO_C" >&6
3760 else
3761     i=0
3762   teststring="ABCD"
3763
3764   case $build_os in
3765   msdosdjgpp*)
3766     # On DJGPP, this test can blow up pretty badly due to problems in libc
3767     # (any single argument exceeding 2000 bytes causes a buffer overrun
3768     # during glob expansion).  Even if it were fixed, the result of this
3769     # check would be larger than it should be.
3770     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3771     ;;
3772
3773   cygwin* | mingw*)
3774     # On Win9x/ME, this test blows up -- it succeeds, but takes
3775     # about 5 minutes as the teststring grows exponentially.
3776     # Worse, since 9x/ME are not pre-emptively multitasking,
3777     # you end up with a "frozen" computer, even though with patience
3778     # the test eventually succeeds (with a max line length of 256k).
3779     # Instead, let's just punt: use the minimum linelength reported by
3780     # all of the supported platforms: 8192 (on NT/2K/XP).
3781     lt_cv_sys_max_cmd_len=8192;
3782     ;;
3783
3784   amigaos*)
3785     # On AmigaOS with pdksh, this test takes hours, literally.
3786     # So we just punt and use a minimum line length of 8192.
3787     lt_cv_sys_max_cmd_len=8192;
3788     ;;
3789
3790   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3791     # This has been around since 386BSD, at least.  Likely further.
3792     if test -x /sbin/sysctl; then
3793       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3794     elif test -x /usr/sbin/sysctl; then
3795       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3796     else
3797       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3798     fi
3799     # And add a safety zone
3800     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3801     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3802     ;;
3803   esac
3804
3805 fi
3806
3807 if test -n "$lt_cv_sys_max_cmd_len" ; then
3808   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3809 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3810 else
3811   echo "$as_me:$LINENO: result: none" >&5
3812 echo "${ECHO_T}none" >&6
3813 fi
3814
3815
3816 # Only perform the check for file, if the check method requires it
3817 case $deplibs_check_method in
3818 file_magic*)
3819   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3820     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3821 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3822 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3823   echo $ECHO_N "(cached) $ECHO_C" >&6
3824 else
3825   case $MAGIC_CMD in
3826   /*)
3827   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3828   ;;
3829   ?:/*)
3830   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3831   ;;
3832   *)
3833   ac_save_MAGIC_CMD="$MAGIC_CMD"
3834   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3835   ac_dummy="/usr/bin:$PATH"
3836   for ac_dir in $ac_dummy; do
3837     test -z "$ac_dir" && ac_dir=.
3838     if test -f $ac_dir/${ac_tool_prefix}file; then
3839       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3840       if test -n "$file_magic_test_file"; then
3841         case $deplibs_check_method in
3842         "file_magic "*)
3843           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3844           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3845           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3846             egrep "$file_magic_regex" > /dev/null; then
3847             :
3848           else
3849             cat <<EOF 1>&2
3850
3851 *** Warning: the command libtool uses to detect shared libraries,
3852 *** $file_magic_cmd, produces output that libtool cannot recognize.
3853 *** The result is that libtool may fail to recognize shared libraries
3854 *** as such.  This will affect the creation of libtool libraries that
3855 *** depend on shared libraries, but programs linked with such libtool
3856 *** libraries will work regardless of this problem.  Nevertheless, you
3857 *** may want to report the problem to your system manager and/or to
3858 *** bug-libtool@gnu.org
3859
3860 EOF
3861           fi ;;
3862         esac
3863       fi
3864       break
3865     fi
3866   done
3867   IFS="$ac_save_ifs"
3868   MAGIC_CMD="$ac_save_MAGIC_CMD"
3869   ;;
3870 esac
3871 fi
3872
3873 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3874 if test -n "$MAGIC_CMD"; then
3875   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3876 echo "${ECHO_T}$MAGIC_CMD" >&6
3877 else
3878   echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6
3880 fi
3881
3882 if test -z "$lt_cv_path_MAGIC_CMD"; then
3883   if test -n "$ac_tool_prefix"; then
3884     echo "$as_me:$LINENO: checking for file" >&5
3885 echo $ECHO_N "checking for file... $ECHO_C" >&6
3886 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3887   echo $ECHO_N "(cached) $ECHO_C" >&6
3888 else
3889   case $MAGIC_CMD in
3890   /*)
3891   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3892   ;;
3893   ?:/*)
3894   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3895   ;;
3896   *)
3897   ac_save_MAGIC_CMD="$MAGIC_CMD"
3898   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3899   ac_dummy="/usr/bin:$PATH"
3900   for ac_dir in $ac_dummy; do
3901     test -z "$ac_dir" && ac_dir=.
3902     if test -f $ac_dir/file; then
3903       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3904       if test -n "$file_magic_test_file"; then
3905         case $deplibs_check_method in
3906         "file_magic "*)
3907           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3908           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3909           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3910             egrep "$file_magic_regex" > /dev/null; then
3911             :
3912           else
3913             cat <<EOF 1>&2
3914
3915 *** Warning: the command libtool uses to detect shared libraries,
3916 *** $file_magic_cmd, produces output that libtool cannot recognize.
3917 *** The result is that libtool may fail to recognize shared libraries
3918 *** as such.  This will affect the creation of libtool libraries that
3919 *** depend on shared libraries, but programs linked with such libtool
3920 *** libraries will work regardless of this problem.  Nevertheless, you
3921 *** may want to report the problem to your system manager and/or to
3922 *** bug-libtool@gnu.org
3923
3924 EOF
3925           fi ;;
3926         esac
3927       fi
3928       break
3929     fi
3930   done
3931   IFS="$ac_save_ifs"
3932   MAGIC_CMD="$ac_save_MAGIC_CMD"
3933   ;;
3934 esac
3935 fi
3936
3937 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3938 if test -n "$MAGIC_CMD"; then
3939   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3940 echo "${ECHO_T}$MAGIC_CMD" >&6
3941 else
3942   echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3944 fi
3945
3946   else
3947     MAGIC_CMD=:
3948   fi
3949 fi
3950
3951   fi
3952   ;;
3953 esac
3954
3955 if test -n "$ac_tool_prefix"; then
3956   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3958 echo "$as_me:$LINENO: checking for $ac_word" >&5
3959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3960 if test "${ac_cv_prog_RANLIB+set}" = set; then
3961   echo $ECHO_N "(cached) $ECHO_C" >&6
3962 else
3963   if test -n "$RANLIB"; then
3964   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3965 else
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 for as_dir in $PATH
3968 do
3969   IFS=$as_save_IFS
3970   test -z "$as_dir" && as_dir=.
3971   for ac_exec_ext in '' $ac_executable_extensions; do
3972   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3973     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3974     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975     break 2
3976   fi
3977 done
3978 done
3979
3980 fi
3981 fi
3982 RANLIB=$ac_cv_prog_RANLIB
3983 if test -n "$RANLIB"; then
3984   echo "$as_me:$LINENO: result: $RANLIB" >&5
3985 echo "${ECHO_T}$RANLIB" >&6
3986 else
3987   echo "$as_me:$LINENO: result: no" >&5
3988 echo "${ECHO_T}no" >&6
3989 fi
3990
3991 fi
3992 if test -z "$ac_cv_prog_RANLIB"; then
3993   ac_ct_RANLIB=$RANLIB
3994   # Extract the first word of "ranlib", so it can be a program name with args.
3995 set dummy ranlib; ac_word=$2
3996 echo "$as_me:$LINENO: checking for $ac_word" >&5
3997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3998 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3999   echo $ECHO_N "(cached) $ECHO_C" >&6
4000 else
4001   if test -n "$ac_ct_RANLIB"; then
4002   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4003 else
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 for as_dir in $PATH
4006 do
4007   IFS=$as_save_IFS
4008   test -z "$as_dir" && as_dir=.
4009   for ac_exec_ext in '' $ac_executable_extensions; do
4010   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4011     ac_cv_prog_ac_ct_RANLIB="ranlib"
4012     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4013     break 2
4014   fi
4015 done
4016 done
4017
4018   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4019 fi
4020 fi
4021 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4022 if test -n "$ac_ct_RANLIB"; then
4023   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4024 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4025 else
4026   echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4028 fi
4029
4030   RANLIB=$ac_ct_RANLIB
4031 else
4032   RANLIB="$ac_cv_prog_RANLIB"
4033 fi
4034
4035 if test -n "$ac_tool_prefix"; then
4036   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4037 set dummy ${ac_tool_prefix}strip; ac_word=$2
4038 echo "$as_me:$LINENO: checking for $ac_word" >&5
4039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4040 if test "${ac_cv_prog_STRIP+set}" = set; then
4041   echo $ECHO_N "(cached) $ECHO_C" >&6
4042 else
4043   if test -n "$STRIP"; then
4044   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4045 else
4046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 for as_dir in $PATH
4048 do
4049   IFS=$as_save_IFS
4050   test -z "$as_dir" && as_dir=.
4051   for ac_exec_ext in '' $ac_executable_extensions; do
4052   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4053     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4054     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4055     break 2
4056   fi
4057 done
4058 done
4059
4060 fi
4061 fi
4062 STRIP=$ac_cv_prog_STRIP
4063 if test -n "$STRIP"; then
4064   echo "$as_me:$LINENO: result: $STRIP" >&5
4065 echo "${ECHO_T}$STRIP" >&6
4066 else
4067   echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4069 fi
4070
4071 fi
4072 if test -z "$ac_cv_prog_STRIP"; then
4073   ac_ct_STRIP=$STRIP
4074   # Extract the first word of "strip", so it can be a program name with args.
4075 set dummy strip; ac_word=$2
4076 echo "$as_me:$LINENO: checking for $ac_word" >&5
4077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4079   echo $ECHO_N "(cached) $ECHO_C" >&6
4080 else
4081   if test -n "$ac_ct_STRIP"; then
4082   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4083 else
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 for as_dir in $PATH
4086 do
4087   IFS=$as_save_IFS
4088   test -z "$as_dir" && as_dir=.
4089   for ac_exec_ext in '' $ac_executable_extensions; do
4090   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4091     ac_cv_prog_ac_ct_STRIP="strip"
4092     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4093     break 2
4094   fi
4095 done
4096 done
4097
4098   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4099 fi
4100 fi
4101 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4102 if test -n "$ac_ct_STRIP"; then
4103   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4104 echo "${ECHO_T}$ac_ct_STRIP" >&6
4105 else
4106   echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4108 fi
4109
4110   STRIP=$ac_ct_STRIP
4111 else
4112   STRIP="$ac_cv_prog_STRIP"
4113 fi
4114
4115
4116 # Check for any special flags to pass to ltconfig.
4117 libtool_flags="--cache-file=$cache_file"
4118 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4119 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4120 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4121 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4122 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4123
4124
4125 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4126 if test "${enable_libtool_lock+set}" = set; then
4127   enableval="$enable_libtool_lock"
4128
4129 fi;
4130 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4131 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4132
4133
4134 # Check whether --with-pic or --without-pic was given.
4135 if test "${with_pic+set}" = set; then
4136   withval="$with_pic"
4137   pic_mode="$withval"
4138 else
4139   pic_mode=default
4140 fi;
4141 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4142 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4143
4144 # Some flags need to be propagated to the compiler or linker for good
4145 # libtool support.
4146 case $host in
4147 *-*-irix6*)
4148   # Find out which ABI we are using.
4149   echo '#line 4149 "configure"' > conftest.$ac_ext
4150   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4151   (eval $ac_compile) 2>&5
4152   ac_status=$?
4153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154   (exit $ac_status); }; then
4155    if test "$lt_cv_prog_gnu_ld" = yes; then
4156     case `/usr/bin/file conftest.$ac_objext` in
4157     *32-bit*)
4158       LD="${LD-ld} -melf32bsmip"
4159       ;;
4160     *N32*)
4161       LD="${LD-ld} -melf32bmipn32"
4162       ;;
4163     *64-bit*)
4164       LD="${LD-ld} -melf64bmip"
4165       ;;
4166     esac
4167    else
4168     case `/usr/bin/file conftest.$ac_objext` in
4169     *32-bit*)
4170       LD="${LD-ld} -32"
4171       ;;
4172     *N32*)
4173       LD="${LD-ld} -n32"
4174       ;;
4175     *64-bit*)
4176       LD="${LD-ld} -64"
4177       ;;
4178     esac
4179    fi
4180   fi
4181   rm -rf conftest*
4182   ;;
4183
4184 ia64-*-hpux*)
4185   # Find out which ABI we are using.
4186   echo 'int i;' > conftest.$ac_ext
4187   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4188   (eval $ac_compile) 2>&5
4189   ac_status=$?
4190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191   (exit $ac_status); }; then
4192     case "`/usr/bin/file conftest.o`" in
4193     *ELF-32*)
4194       HPUX_IA64_MODE="32"
4195       ;;
4196     *ELF-64*)
4197       HPUX_IA64_MODE="64"
4198       ;;
4199     esac
4200   fi
4201   rm -rf conftest*
4202   ;;
4203
4204 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4205   # Find out which ABI we are using.
4206   echo 'int i;' > conftest.$ac_ext
4207   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4208   (eval $ac_compile) 2>&5
4209   ac_status=$?
4210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211   (exit $ac_status); }; then
4212     case "`/usr/bin/file conftest.o`" in
4213     *32-bit*)
4214       case $host in
4215         x86_64-*linux*)
4216           LD="${LD-ld} -m elf_i386"
4217           ;;
4218         ppc64-*linux*|powerpc64-*linux*)
4219           LD="${LD-ld} -m elf32ppclinux"
4220           ;;
4221         s390x-*linux*)
4222           LD="${LD-ld} -m elf_s390"
4223           ;;
4224         sparc64-*linux*)
4225           LD="${LD-ld} -m elf32_sparc"
4226           ;;
4227       esac
4228       ;;
4229     *64-bit*)
4230       case $host in
4231         x86_64-*linux*)
4232           LD="${LD-ld} -m elf_x86_64"
4233           ;;
4234         ppc*-*linux*|powerpc*-*linux*)
4235           LD="${LD-ld} -m elf64ppc"
4236           ;;
4237         s390*-*linux*)
4238           LD="${LD-ld} -m elf64_s390"
4239           ;;
4240         sparc*-*linux*)
4241           LD="${LD-ld} -m elf64_sparc"
4242           ;;
4243       esac
4244       ;;
4245     esac
4246   fi
4247   rm -rf conftest*
4248   ;;
4249
4250 *-*-sco3.2v5*)
4251   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4252   SAVE_CFLAGS="$CFLAGS"
4253   CFLAGS="$CFLAGS -belf"
4254   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4255 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4256 if test "${lt_cv_cc_needs_belf+set}" = set; then
4257   echo $ECHO_N "(cached) $ECHO_C" >&6
4258 else
4259
4260
4261      ac_ext=c
4262 ac_cpp='$CPP $CPPFLAGS'
4263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4266
4267      if test x$gcc_no_link = xyes; then
4268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4270    { (exit 1); exit 1; }; }
4271 fi
4272 cat >conftest.$ac_ext <<_ACEOF
4273 /* confdefs.h.  */
4274 _ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h.  */
4278
4279 int
4280 main ()
4281 {
4282
4283   ;
4284   return 0;
4285 }
4286 _ACEOF
4287 rm -f conftest.$ac_objext conftest$ac_exeext
4288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4289   (eval $ac_link) 2>conftest.er1
4290   ac_status=$?
4291   grep -v '^ *+' conftest.er1 >conftest.err
4292   rm -f conftest.er1
4293   cat conftest.err >&5
4294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295   (exit $ac_status); } &&
4296          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4298   (eval $ac_try) 2>&5
4299   ac_status=$?
4300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301   (exit $ac_status); }; } &&
4302          { ac_try='test -s conftest$ac_exeext'
4303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304   (eval $ac_try) 2>&5
4305   ac_status=$?
4306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307   (exit $ac_status); }; }; then
4308   lt_cv_cc_needs_belf=yes
4309 else
4310   echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.$ac_ext >&5
4312
4313 lt_cv_cc_needs_belf=no
4314 fi
4315 rm -f conftest.err conftest.$ac_objext \
4316       conftest$ac_exeext conftest.$ac_ext
4317      ac_ext=c
4318 ac_cpp='$CPP $CPPFLAGS'
4319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4322
4323 fi
4324 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4325 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4326   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4327     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4328     CFLAGS="$SAVE_CFLAGS"
4329   fi
4330   ;;
4331
4332
4333 esac
4334
4335
4336 # Save cache, so that ltconfig can load it
4337 cat >confcache <<\_ACEOF
4338 # This file is a shell script that caches the results of configure
4339 # tests run on this system so they can be shared between configure
4340 # scripts and configure runs, see configure's option --config-cache.
4341 # It is not useful on other systems.  If it contains results you don't
4342 # want to keep, you may remove or edit it.
4343 #
4344 # config.status only pays attention to the cache file if you give it
4345 # the --recheck option to rerun configure.
4346 #
4347 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4348 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4349 # following values.
4350
4351 _ACEOF
4352
4353 # The following way of writing the cache mishandles newlines in values,
4354 # but we know of no workaround that is simple, portable, and efficient.
4355 # So, don't put newlines in cache variables' values.
4356 # Ultrix sh set writes to stderr and can't be redirected directly,
4357 # and sets the high bit in the cache file unless we assign to the vars.
4358 {
4359   (set) 2>&1 |
4360     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4361     *ac_space=\ *)
4362       # `set' does not quote correctly, so add quotes (double-quote
4363       # substitution turns \\\\ into \\, and sed turns \\ into \).
4364       sed -n \
4365         "s/'/'\\\\''/g;
4366           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4367       ;;
4368     *)
4369       # `set' quotes correctly as required by POSIX, so do not add quotes.
4370       sed -n \
4371         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4372       ;;
4373     esac;
4374 } |
4375   sed '
4376      t clear
4377      : clear
4378      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4379      t end
4380      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4381      : end' >>confcache
4382 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4383   if test -w $cache_file; then
4384     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4385     cat confcache >$cache_file
4386   else
4387     echo "not updating unwritable cache $cache_file"
4388   fi
4389 fi
4390 rm -f confcache
4391
4392 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4393 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4394 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4395 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4396 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4397 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4398 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4399 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4400 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4401 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4402 echo "$as_me: error: libtool configure failed" >&2;}
4403    { (exit 1); exit 1; }; }
4404
4405 # Reload cache, that may have been modified by ltconfig
4406 if test -r "$cache_file"; then
4407   # Some versions of bash will fail to source /dev/null (special
4408   # files actually), so we avoid doing that.
4409   if test -f "$cache_file"; then
4410     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4411 echo "$as_me: loading cache $cache_file" >&6;}
4412     case $cache_file in
4413       [\\/]* | ?:[\\/]* ) . $cache_file;;
4414       *)                      . ./$cache_file;;
4415     esac
4416   fi
4417 else
4418   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4419 echo "$as_me: creating cache $cache_file" >&6;}
4420   >$cache_file
4421 fi
4422
4423
4424 # This can be used to rebuild libtool when needed
4425 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4426
4427 # Always use our own libtool.
4428 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4429
4430 # Redirect the config.log output again, so that the ltconfig log is not
4431 # clobbered by the next message.
4432 exec 5>>./config.log
4433
4434
4435
4436
4437
4438
4439
4440
4441 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4442
4443 # We need gfortran to compile parts of the library
4444 #AC_PROG_FC(gfortran)
4445 FC="$GFORTRAN"
4446 ac_ext=${FC_SRCEXT-f}
4447 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4448 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4449 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4450 if test -n "$ac_tool_prefix"; then
4451   for ac_prog in gfortran
4452   do
4453     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4454 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4455 echo "$as_me:$LINENO: checking for $ac_word" >&5
4456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4457 if test "${ac_cv_prog_FC+set}" = set; then
4458   echo $ECHO_N "(cached) $ECHO_C" >&6
4459 else
4460   if test -n "$FC"; then
4461   ac_cv_prog_FC="$FC" # Let the user override the test.
4462 else
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH
4465 do
4466   IFS=$as_save_IFS
4467   test -z "$as_dir" && as_dir=.
4468   for ac_exec_ext in '' $ac_executable_extensions; do
4469   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4470     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4471     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4472     break 2
4473   fi
4474 done
4475 done
4476
4477 fi
4478 fi
4479 FC=$ac_cv_prog_FC
4480 if test -n "$FC"; then
4481   echo "$as_me:$LINENO: result: $FC" >&5
4482 echo "${ECHO_T}$FC" >&6
4483 else
4484   echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4486 fi
4487
4488     test -n "$FC" && break
4489   done
4490 fi
4491 if test -z "$FC"; then
4492   ac_ct_FC=$FC
4493   for ac_prog in gfortran
4494 do
4495   # Extract the first word of "$ac_prog", so it can be a program name with args.
4496 set dummy $ac_prog; ac_word=$2
4497 echo "$as_me:$LINENO: checking for $ac_word" >&5
4498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4499 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4500   echo $ECHO_N "(cached) $ECHO_C" >&6
4501 else
4502   if test -n "$ac_ct_FC"; then
4503   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4504 else
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 for as_dir in $PATH
4507 do
4508   IFS=$as_save_IFS
4509   test -z "$as_dir" && as_dir=.
4510   for ac_exec_ext in '' $ac_executable_extensions; do
4511   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4512     ac_cv_prog_ac_ct_FC="$ac_prog"
4513     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4514     break 2
4515   fi
4516 done
4517 done
4518
4519 fi
4520 fi
4521 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4522 if test -n "$ac_ct_FC"; then
4523   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4524 echo "${ECHO_T}$ac_ct_FC" >&6
4525 else
4526   echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6
4528 fi
4529
4530   test -n "$ac_ct_FC" && break
4531 done
4532
4533   FC=$ac_ct_FC
4534 fi
4535
4536
4537 # Provide some information about the compiler.
4538 echo "$as_me:4538:" \
4539      "checking for Fortran compiler version" >&5
4540 ac_compiler=`set X $ac_compile; echo $2`
4541 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4542   (eval $ac_compiler --version </dev/null >&5) 2>&5
4543   ac_status=$?
4544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545   (exit $ac_status); }
4546 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4547   (eval $ac_compiler -v </dev/null >&5) 2>&5
4548   ac_status=$?
4549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550   (exit $ac_status); }
4551 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4552   (eval $ac_compiler -V </dev/null >&5) 2>&5
4553   ac_status=$?
4554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555   (exit $ac_status); }
4556 rm -f a.out
4557
4558 # If we don't use `.F' as extension, the preprocessor is not run on the
4559 # input file.  (Note that this only needs to work for GNU compilers.)
4560 ac_save_ext=$ac_ext
4561 ac_ext=F
4562 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4563 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4564 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4565   echo $ECHO_N "(cached) $ECHO_C" >&6
4566 else
4567   cat >conftest.$ac_ext <<_ACEOF
4568       program main
4569 #ifndef __GNUC__
4570        choke me
4571 #endif
4572
4573       end
4574 _ACEOF
4575 rm -f conftest.$ac_objext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4577   (eval $ac_compile) 2>conftest.er1
4578   ac_status=$?
4579   grep -v '^ *+' conftest.er1 >conftest.err
4580   rm -f conftest.er1
4581   cat conftest.err >&5
4582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583   (exit $ac_status); } &&
4584          { ac_try='test -z "$ac_fc_werror_flag"                  || test ! -s conftest.err'
4585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4586   (eval $ac_try) 2>&5
4587   ac_status=$?
4588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589   (exit $ac_status); }; } &&
4590          { ac_try='test -s conftest.$ac_objext'
4591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592   (eval $ac_try) 2>&5
4593   ac_status=$?
4594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595   (exit $ac_status); }; }; then
4596   ac_compiler_gnu=yes
4597 else
4598   echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4600
4601 ac_compiler_gnu=no
4602 fi
4603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4604 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4605
4606 fi
4607 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4608 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4609 ac_ext=$ac_save_ext
4610 ac_test_FFLAGS=${FCFLAGS+set}
4611 ac_save_FFLAGS=$FCFLAGS
4612 FCFLAGS=
4613 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4614 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4615 if test "${ac_cv_prog_fc_g+set}" = set; then
4616   echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618   FCFLAGS=-g
4619 cat >conftest.$ac_ext <<_ACEOF
4620       program main
4621
4622       end
4623 _ACEOF
4624 rm -f conftest.$ac_objext
4625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4626   (eval $ac_compile) 2>conftest.er1
4627   ac_status=$?
4628   grep -v '^ *+' conftest.er1 >conftest.err
4629   rm -f conftest.er1
4630   cat conftest.err >&5
4631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632   (exit $ac_status); } &&
4633          { ac_try='test -z "$ac_fc_werror_flag"                  || test ! -s conftest.err'
4634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635   (eval $ac_try) 2>&5
4636   ac_status=$?
4637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638   (exit $ac_status); }; } &&
4639          { ac_try='test -s conftest.$ac_objext'
4640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641   (eval $ac_try) 2>&5
4642   ac_status=$?
4643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644   (exit $ac_status); }; }; then
4645   ac_cv_prog_fc_g=yes
4646 else
4647   echo "$as_me: failed program was:" >&5
4648 sed 's/^/| /' conftest.$ac_ext >&5
4649
4650 ac_cv_prog_fc_g=no
4651 fi
4652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4653
4654 fi
4655 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4656 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4657 if test "$ac_test_FFLAGS" = set; then
4658   FCFLAGS=$ac_save_FFLAGS
4659 elif test $ac_cv_prog_fc_g = yes; then
4660   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4661     FCFLAGS="-g -O2"
4662   else
4663     FCFLAGS="-g"
4664   fi
4665 else
4666   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4667     FCFLAGS="-O2"
4668   else
4669     FCFLAGS=
4670   fi
4671 fi
4672
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4678
4679
4680 # extra LD Flags which are required for targets
4681 case "${host}" in
4682   *-darwin*)
4683     # Darwin needs -single_module when linking libgfortran
4684     extra_ldflags_libgfortran=-Wl,-single_module
4685     ;;
4686 esac
4687
4688
4689 # Check whether --enable-largefile or --disable-largefile was given.
4690 if test "${enable_largefile+set}" = set; then
4691   enableval="$enable_largefile"
4692
4693 fi;
4694 if test "$enable_largefile" != no; then
4695
4696   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4697 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4698 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4699   echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701   ac_cv_sys_largefile_CC=no
4702      if test "$GCC" != yes; then
4703        ac_save_CC=$CC
4704        while :; do
4705          # IRIX 6.2 and later do not support large files by default,
4706          # so use the C compiler's -n32 option if that helps.
4707          cat >conftest.$ac_ext <<_ACEOF
4708 /* confdefs.h.  */
4709 _ACEOF
4710 cat confdefs.h >>conftest.$ac_ext
4711 cat >>conftest.$ac_ext <<_ACEOF
4712 /* end confdefs.h.  */
4713 #include <sys/types.h>
4714  /* Check that off_t can represent 2**63 - 1 correctly.
4715     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4716     since some C++ compilers masquerading as C compilers
4717     incorrectly reject 9223372036854775807.  */
4718 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4719   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4720                        && LARGE_OFF_T % 2147483647 == 1)
4721                       ? 1 : -1];
4722 int
4723 main ()
4724 {
4725
4726   ;
4727   return 0;
4728 }
4729 _ACEOF
4730          rm -f conftest.$ac_objext
4731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4732   (eval $ac_compile) 2>conftest.er1
4733   ac_status=$?
4734   grep -v '^ *+' conftest.er1 >conftest.err
4735   rm -f conftest.er1
4736   cat conftest.err >&5
4737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738   (exit $ac_status); } &&
4739          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741   (eval $ac_try) 2>&5
4742   ac_status=$?
4743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744   (exit $ac_status); }; } &&
4745          { ac_try='test -s conftest.$ac_objext'
4746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747   (eval $ac_try) 2>&5
4748   ac_status=$?
4749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750   (exit $ac_status); }; }; then
4751   break
4752 else
4753   echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4755
4756 fi
4757 rm -f conftest.err conftest.$ac_objext
4758          CC="$CC -n32"
4759          rm -f conftest.$ac_objext
4760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4761   (eval $ac_compile) 2>conftest.er1
4762   ac_status=$?
4763   grep -v '^ *+' conftest.er1 >conftest.err
4764   rm -f conftest.er1
4765   cat conftest.err >&5
4766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767   (exit $ac_status); } &&
4768          { ac_try='test -z "$ac_c_werror_flag"                   || 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   ac_cv_sys_largefile_CC=' -n32'; 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          break
4788        done
4789        CC=$ac_save_CC
4790        rm -f conftest.$ac_ext
4791     fi
4792 fi
4793 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4794 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4795   if test "$ac_cv_sys_largefile_CC" != no; then
4796     CC=$CC$ac_cv_sys_largefile_CC
4797   fi
4798
4799   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4800 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4801 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4802   echo $ECHO_N "(cached) $ECHO_C" >&6
4803 else
4804   while :; do
4805   ac_cv_sys_file_offset_bits=no
4806   cat >conftest.$ac_ext <<_ACEOF
4807 /* confdefs.h.  */
4808 _ACEOF
4809 cat confdefs.h >>conftest.$ac_ext
4810 cat >>conftest.$ac_ext <<_ACEOF
4811 /* end confdefs.h.  */
4812 #include <sys/types.h>
4813  /* Check that off_t can represent 2**63 - 1 correctly.
4814     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4815     since some C++ compilers masquerading as C compilers
4816     incorrectly reject 9223372036854775807.  */
4817 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4818   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4819                        && LARGE_OFF_T % 2147483647 == 1)
4820                       ? 1 : -1];
4821 int
4822 main ()
4823 {
4824
4825   ;
4826   return 0;
4827 }
4828 _ACEOF
4829 rm -f conftest.$ac_objext
4830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4831   (eval $ac_compile) 2>conftest.er1
4832   ac_status=$?
4833   grep -v '^ *+' conftest.er1 >conftest.err
4834   rm -f conftest.er1
4835   cat conftest.err >&5
4836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837   (exit $ac_status); } &&
4838          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4840   (eval $ac_try) 2>&5
4841   ac_status=$?
4842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843   (exit $ac_status); }; } &&
4844          { ac_try='test -s conftest.$ac_objext'
4845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846   (eval $ac_try) 2>&5
4847   ac_status=$?
4848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849   (exit $ac_status); }; }; then
4850   break
4851 else
4852   echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.$ac_ext >&5
4854
4855 fi
4856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4857   cat >conftest.$ac_ext <<_ACEOF
4858 /* confdefs.h.  */
4859 _ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h.  */
4863 #define _FILE_OFFSET_BITS 64
4864 #include <sys/types.h>
4865  /* Check that off_t can represent 2**63 - 1 correctly.
4866     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4867     since some C++ compilers masquerading as C compilers
4868     incorrectly reject 9223372036854775807.  */
4869 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4870   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4871                        && LARGE_OFF_T % 2147483647 == 1)
4872                       ? 1 : -1];
4873 int
4874 main ()
4875 {
4876
4877   ;
4878   return 0;
4879 }
4880 _ACEOF
4881 rm -f conftest.$ac_objext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4883   (eval $ac_compile) 2>conftest.er1
4884   ac_status=$?
4885   grep -v '^ *+' conftest.er1 >conftest.err
4886   rm -f conftest.er1
4887   cat conftest.err >&5
4888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889   (exit $ac_status); } &&
4890          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892   (eval $ac_try) 2>&5
4893   ac_status=$?
4894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895   (exit $ac_status); }; } &&
4896          { ac_try='test -s conftest.$ac_objext'
4897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898   (eval $ac_try) 2>&5
4899   ac_status=$?
4900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901   (exit $ac_status); }; }; then
4902   ac_cv_sys_file_offset_bits=64; break
4903 else
4904   echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.$ac_ext >&5
4906
4907 fi
4908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4909   break
4910 done
4911 fi
4912 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4913 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4914 if test "$ac_cv_sys_file_offset_bits" != no; then
4915
4916 cat >>confdefs.h <<_ACEOF
4917 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4918 _ACEOF
4919
4920 fi
4921 rm -f conftest*
4922   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4923 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4924 if test "${ac_cv_sys_large_files+set}" = set; then
4925   echo $ECHO_N "(cached) $ECHO_C" >&6
4926 else
4927   while :; do
4928   ac_cv_sys_large_files=no
4929   cat >conftest.$ac_ext <<_ACEOF
4930 /* confdefs.h.  */
4931 _ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h.  */
4935 #include <sys/types.h>
4936  /* Check that off_t can represent 2**63 - 1 correctly.
4937     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4938     since some C++ compilers masquerading as C compilers
4939     incorrectly reject 9223372036854775807.  */
4940 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4941   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4942                        && LARGE_OFF_T % 2147483647 == 1)
4943                       ? 1 : -1];
4944 int
4945 main ()
4946 {
4947
4948   ;
4949   return 0;
4950 }
4951 _ACEOF
4952 rm -f conftest.$ac_objext
4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4954   (eval $ac_compile) 2>conftest.er1
4955   ac_status=$?
4956   grep -v '^ *+' conftest.er1 >conftest.err
4957   rm -f conftest.er1
4958   cat conftest.err >&5
4959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960   (exit $ac_status); } &&
4961          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4963   (eval $ac_try) 2>&5
4964   ac_status=$?
4965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966   (exit $ac_status); }; } &&
4967          { ac_try='test -s conftest.$ac_objext'
4968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969   (eval $ac_try) 2>&5
4970   ac_status=$?
4971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972   (exit $ac_status); }; }; then
4973   break
4974 else
4975   echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4977
4978 fi
4979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4980   cat >conftest.$ac_ext <<_ACEOF
4981 /* confdefs.h.  */
4982 _ACEOF
4983 cat confdefs.h >>conftest.$ac_ext
4984 cat >>conftest.$ac_ext <<_ACEOF
4985 /* end confdefs.h.  */
4986 #define _LARGE_FILES 1
4987 #include <sys/types.h>
4988  /* Check that off_t can represent 2**63 - 1 correctly.
4989     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4990     since some C++ compilers masquerading as C compilers
4991     incorrectly reject 9223372036854775807.  */
4992 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4993   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4994                        && LARGE_OFF_T % 2147483647 == 1)
4995                       ? 1 : -1];
4996 int
4997 main ()
4998 {
4999
5000   ;
5001   return 0;
5002 }
5003 _ACEOF
5004 rm -f conftest.$ac_objext
5005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5006   (eval $ac_compile) 2>conftest.er1
5007   ac_status=$?
5008   grep -v '^ *+' conftest.er1 >conftest.err
5009   rm -f conftest.er1
5010   cat conftest.err >&5
5011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012   (exit $ac_status); } &&
5013          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015   (eval $ac_try) 2>&5
5016   ac_status=$?
5017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018   (exit $ac_status); }; } &&
5019          { ac_try='test -s conftest.$ac_objext'
5020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021   (eval $ac_try) 2>&5
5022   ac_status=$?
5023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024   (exit $ac_status); }; }; then
5025   ac_cv_sys_large_files=1; break
5026 else
5027   echo "$as_me: failed program was:" >&5
5028 sed 's/^/| /' conftest.$ac_ext >&5
5029
5030 fi
5031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5032   break
5033 done
5034 fi
5035 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5036 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5037 if test "$ac_cv_sys_large_files" != no; then
5038
5039 cat >>confdefs.h <<_ACEOF
5040 #define _LARGE_FILES $ac_cv_sys_large_files
5041 _ACEOF
5042
5043 fi
5044 rm -f conftest*
5045 fi
5046
5047 ac_ext=c
5048 ac_cpp='$CPP $CPPFLAGS'
5049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5052 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5053 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5054 # On Suns, sometimes $CPP names a directory.
5055 if test -n "$CPP" && test -d "$CPP"; then
5056   CPP=
5057 fi
5058 if test -z "$CPP"; then
5059   if test "${ac_cv_prog_CPP+set}" = set; then
5060   echo $ECHO_N "(cached) $ECHO_C" >&6
5061 else
5062       # Double quotes because CPP needs to be expanded
5063     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5064     do
5065       ac_preproc_ok=false
5066 for ac_c_preproc_warn_flag in '' yes
5067 do
5068   # Use a header file that comes with gcc, so configuring glibc
5069   # with a fresh cross-compiler works.
5070   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5071   # <limits.h> exists even on freestanding compilers.
5072   # On the NeXT, cc -E runs the code through the compiler's parser,
5073   # not just through cpp. "Syntax error" is here to catch this case.
5074   cat >conftest.$ac_ext <<_ACEOF
5075 /* confdefs.h.  */
5076 _ACEOF
5077 cat confdefs.h >>conftest.$ac_ext
5078 cat >>conftest.$ac_ext <<_ACEOF
5079 /* end confdefs.h.  */
5080 #ifdef __STDC__
5081 # include <limits.h>
5082 #else
5083 # include <assert.h>
5084 #endif
5085                      Syntax error
5086 _ACEOF
5087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5088   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5089   ac_status=$?
5090   grep -v '^ *+' conftest.er1 >conftest.err
5091   rm -f conftest.er1
5092   cat conftest.err >&5
5093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094   (exit $ac_status); } >/dev/null; then
5095   if test -s conftest.err; then
5096     ac_cpp_err=$ac_c_preproc_warn_flag
5097     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5098   else
5099     ac_cpp_err=
5100   fi
5101 else
5102   ac_cpp_err=yes
5103 fi
5104 if test -z "$ac_cpp_err"; then
5105   :
5106 else
5107   echo "$as_me: failed program was:" >&5
5108 sed 's/^/| /' conftest.$ac_ext >&5
5109
5110   # Broken: fails on valid input.
5111 continue
5112 fi
5113 rm -f conftest.err conftest.$ac_ext
5114
5115   # OK, works on sane cases.  Now check whether non-existent headers
5116   # can be detected and how.
5117   cat >conftest.$ac_ext <<_ACEOF
5118 /* confdefs.h.  */
5119 _ACEOF
5120 cat confdefs.h >>conftest.$ac_ext
5121 cat >>conftest.$ac_ext <<_ACEOF
5122 /* end confdefs.h.  */
5123 #include <ac_nonexistent.h>
5124 _ACEOF
5125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5126   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5127   ac_status=$?
5128   grep -v '^ *+' conftest.er1 >conftest.err
5129   rm -f conftest.er1
5130   cat conftest.err >&5
5131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132   (exit $ac_status); } >/dev/null; then
5133   if test -s conftest.err; then
5134     ac_cpp_err=$ac_c_preproc_warn_flag
5135     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5136   else
5137     ac_cpp_err=
5138   fi
5139 else
5140   ac_cpp_err=yes
5141 fi
5142 if test -z "$ac_cpp_err"; then
5143   # Broken: success on invalid input.
5144 continue
5145 else
5146   echo "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.$ac_ext >&5
5148
5149   # Passes both tests.
5150 ac_preproc_ok=:
5151 break
5152 fi
5153 rm -f conftest.err conftest.$ac_ext
5154
5155 done
5156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5157 rm -f conftest.err conftest.$ac_ext
5158 if $ac_preproc_ok; then
5159   break
5160 fi
5161
5162     done
5163     ac_cv_prog_CPP=$CPP
5164
5165 fi
5166   CPP=$ac_cv_prog_CPP
5167 else
5168   ac_cv_prog_CPP=$CPP
5169 fi
5170 echo "$as_me:$LINENO: result: $CPP" >&5
5171 echo "${ECHO_T}$CPP" >&6
5172 ac_preproc_ok=false
5173 for ac_c_preproc_warn_flag in '' yes
5174 do
5175   # Use a header file that comes with gcc, so configuring glibc
5176   # with a fresh cross-compiler works.
5177   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5178   # <limits.h> exists even on freestanding compilers.
5179   # On the NeXT, cc -E runs the code through the compiler's parser,
5180   # not just through cpp. "Syntax error" is here to catch this case.
5181   cat >conftest.$ac_ext <<_ACEOF
5182 /* confdefs.h.  */
5183 _ACEOF
5184 cat confdefs.h >>conftest.$ac_ext
5185 cat >>conftest.$ac_ext <<_ACEOF
5186 /* end confdefs.h.  */
5187 #ifdef __STDC__
5188 # include <limits.h>
5189 #else
5190 # include <assert.h>
5191 #endif
5192                      Syntax error
5193 _ACEOF
5194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5195   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5196   ac_status=$?
5197   grep -v '^ *+' conftest.er1 >conftest.err
5198   rm -f conftest.er1
5199   cat conftest.err >&5
5200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201   (exit $ac_status); } >/dev/null; then
5202   if test -s conftest.err; then
5203     ac_cpp_err=$ac_c_preproc_warn_flag
5204     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5205   else
5206     ac_cpp_err=
5207   fi
5208 else
5209   ac_cpp_err=yes
5210 fi
5211 if test -z "$ac_cpp_err"; then
5212   :
5213 else
5214   echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.$ac_ext >&5
5216
5217   # Broken: fails on valid input.
5218 continue
5219 fi
5220 rm -f conftest.err conftest.$ac_ext
5221
5222   # OK, works on sane cases.  Now check whether non-existent headers
5223   # can be detected and how.
5224   cat >conftest.$ac_ext <<_ACEOF
5225 /* confdefs.h.  */
5226 _ACEOF
5227 cat confdefs.h >>conftest.$ac_ext
5228 cat >>conftest.$ac_ext <<_ACEOF
5229 /* end confdefs.h.  */
5230 #include <ac_nonexistent.h>
5231 _ACEOF
5232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5233   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5234   ac_status=$?
5235   grep -v '^ *+' conftest.er1 >conftest.err
5236   rm -f conftest.er1
5237   cat conftest.err >&5
5238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239   (exit $ac_status); } >/dev/null; then
5240   if test -s conftest.err; then
5241     ac_cpp_err=$ac_c_preproc_warn_flag
5242     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5243   else
5244     ac_cpp_err=
5245   fi
5246 else
5247   ac_cpp_err=yes
5248 fi
5249 if test -z "$ac_cpp_err"; then
5250   # Broken: success on invalid input.
5251 continue
5252 else
5253   echo "$as_me: failed program was:" >&5
5254 sed 's/^/| /' conftest.$ac_ext >&5
5255
5256   # Passes both tests.
5257 ac_preproc_ok=:
5258 break
5259 fi
5260 rm -f conftest.err conftest.$ac_ext
5261
5262 done
5263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5264 rm -f conftest.err conftest.$ac_ext
5265 if $ac_preproc_ok; then
5266   :
5267 else
5268   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5269 See \`config.log' for more details." >&5
5270 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5271 See \`config.log' for more details." >&2;}
5272    { (exit 1); exit 1; }; }
5273 fi
5274
5275 ac_ext=c
5276 ac_cpp='$CPP $CPPFLAGS'
5277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5280
5281
5282 echo "$as_me:$LINENO: checking for egrep" >&5
5283 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5284 if test "${ac_cv_prog_egrep+set}" = set; then
5285   echo $ECHO_N "(cached) $ECHO_C" >&6
5286 else
5287   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5288     then ac_cv_prog_egrep='grep -E'
5289     else ac_cv_prog_egrep='egrep'
5290     fi
5291 fi
5292 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5293 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5294  EGREP=$ac_cv_prog_egrep
5295
5296
5297 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5298 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5299 if test "${ac_cv_header_stdc+set}" = set; then
5300   echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302   cat >conftest.$ac_ext <<_ACEOF
5303 /* confdefs.h.  */
5304 _ACEOF
5305 cat confdefs.h >>conftest.$ac_ext
5306 cat >>conftest.$ac_ext <<_ACEOF
5307 /* end confdefs.h.  */
5308 #include <stdlib.h>
5309 #include <stdarg.h>
5310 #include <string.h>
5311 #include <float.h>
5312
5313 int
5314 main ()
5315 {
5316
5317   ;
5318   return 0;
5319 }
5320 _ACEOF
5321 rm -f conftest.$ac_objext
5322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5323   (eval $ac_compile) 2>conftest.er1
5324   ac_status=$?
5325   grep -v '^ *+' conftest.er1 >conftest.err
5326   rm -f conftest.er1
5327   cat conftest.err >&5
5328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329   (exit $ac_status); } &&
5330          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5332   (eval $ac_try) 2>&5
5333   ac_status=$?
5334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335   (exit $ac_status); }; } &&
5336          { ac_try='test -s conftest.$ac_objext'
5337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338   (eval $ac_try) 2>&5
5339   ac_status=$?
5340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341   (exit $ac_status); }; }; then
5342   ac_cv_header_stdc=yes
5343 else
5344   echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.$ac_ext >&5
5346
5347 ac_cv_header_stdc=no
5348 fi
5349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5350
5351 if test $ac_cv_header_stdc = yes; then
5352   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5353   cat >conftest.$ac_ext <<_ACEOF
5354 /* confdefs.h.  */
5355 _ACEOF
5356 cat confdefs.h >>conftest.$ac_ext
5357 cat >>conftest.$ac_ext <<_ACEOF
5358 /* end confdefs.h.  */
5359 #include <string.h>
5360
5361 _ACEOF
5362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5363   $EGREP "memchr" >/dev/null 2>&1; then
5364   :
5365 else
5366   ac_cv_header_stdc=no
5367 fi
5368 rm -f conftest*
5369
5370 fi
5371
5372 if test $ac_cv_header_stdc = yes; then
5373   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5374   cat >conftest.$ac_ext <<_ACEOF
5375 /* confdefs.h.  */
5376 _ACEOF
5377 cat confdefs.h >>conftest.$ac_ext
5378 cat >>conftest.$ac_ext <<_ACEOF
5379 /* end confdefs.h.  */
5380 #include <stdlib.h>
5381
5382 _ACEOF
5383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5384   $EGREP "free" >/dev/null 2>&1; then
5385   :
5386 else
5387   ac_cv_header_stdc=no
5388 fi
5389 rm -f conftest*
5390
5391 fi
5392
5393 if test $ac_cv_header_stdc = yes; then
5394   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5395   if test "$cross_compiling" = yes; then
5396   :
5397 else
5398   cat >conftest.$ac_ext <<_ACEOF
5399 /* confdefs.h.  */
5400 _ACEOF
5401 cat confdefs.h >>conftest.$ac_ext
5402 cat >>conftest.$ac_ext <<_ACEOF
5403 /* end confdefs.h.  */
5404 #include <ctype.h>
5405 #if ((' ' & 0x0FF) == 0x020)
5406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5408 #else
5409 # define ISLOWER(c) \
5410                    (('a' <= (c) && (c) <= 'i') \
5411                      || ('j' <= (c) && (c) <= 'r') \
5412                      || ('s' <= (c) && (c) <= 'z'))
5413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5414 #endif
5415
5416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5417 int
5418 main ()
5419 {
5420   int i;
5421   for (i = 0; i < 256; i++)
5422     if (XOR (islower (i), ISLOWER (i))
5423         || toupper (i) != TOUPPER (i))
5424       exit(2);
5425   exit (0);
5426 }
5427 _ACEOF
5428 rm -f conftest$ac_exeext
5429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5430   (eval $ac_link) 2>&5
5431   ac_status=$?
5432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5435   (eval $ac_try) 2>&5
5436   ac_status=$?
5437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438   (exit $ac_status); }; }; then
5439   :
5440 else
5441   echo "$as_me: program exited with status $ac_status" >&5
5442 echo "$as_me: failed program was:" >&5
5443 sed 's/^/| /' conftest.$ac_ext >&5
5444
5445 ( exit $ac_status )
5446 ac_cv_header_stdc=no
5447 fi
5448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5449 fi
5450 fi
5451 fi
5452 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5453 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5454 if test $ac_cv_header_stdc = yes; then
5455
5456 cat >>confdefs.h <<\_ACEOF
5457 #define STDC_HEADERS 1
5458 _ACEOF
5459
5460 fi
5461
5462 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5473                   inttypes.h stdint.h unistd.h
5474 do
5475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5476 echo "$as_me:$LINENO: checking for $ac_header" >&5
5477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5479   echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else
5481   cat >conftest.$ac_ext <<_ACEOF
5482 /* confdefs.h.  */
5483 _ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h.  */
5487 $ac_includes_default
5488
5489 #include <$ac_header>
5490 _ACEOF
5491 rm -f conftest.$ac_objext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493   (eval $ac_compile) 2>conftest.er1
5494   ac_status=$?
5495   grep -v '^ *+' conftest.er1 >conftest.err
5496   rm -f conftest.er1
5497   cat conftest.err >&5
5498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499   (exit $ac_status); } &&
5500          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5502   (eval $ac_try) 2>&5
5503   ac_status=$?
5504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505   (exit $ac_status); }; } &&
5506          { ac_try='test -s conftest.$ac_objext'
5507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5508   (eval $ac_try) 2>&5
5509   ac_status=$?
5510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511   (exit $ac_status); }; }; then
5512   eval "$as_ac_Header=yes"
5513 else
5514   echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.$ac_ext >&5
5516
5517 eval "$as_ac_Header=no"
5518 fi
5519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5520 fi
5521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5524   cat >>confdefs.h <<_ACEOF
5525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5526 _ACEOF
5527
5528 fi
5529
5530 done
5531
5532
5533 echo "$as_me:$LINENO: checking for off_t" >&5
5534 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5535 if test "${ac_cv_type_off_t+set}" = set; then
5536   echo $ECHO_N "(cached) $ECHO_C" >&6
5537 else
5538   cat >conftest.$ac_ext <<_ACEOF
5539 /* confdefs.h.  */
5540 _ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h.  */
5544 $ac_includes_default
5545 int
5546 main ()
5547 {
5548 if ((off_t *) 0)
5549   return 0;
5550 if (sizeof (off_t))
5551   return 0;
5552   ;
5553   return 0;
5554 }
5555 _ACEOF
5556 rm -f conftest.$ac_objext
5557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5558   (eval $ac_compile) 2>conftest.er1
5559   ac_status=$?
5560   grep -v '^ *+' conftest.er1 >conftest.err
5561   rm -f conftest.er1
5562   cat conftest.err >&5
5563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564   (exit $ac_status); } &&
5565          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567   (eval $ac_try) 2>&5
5568   ac_status=$?
5569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570   (exit $ac_status); }; } &&
5571          { ac_try='test -s conftest.$ac_objext'
5572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573   (eval $ac_try) 2>&5
5574   ac_status=$?
5575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576   (exit $ac_status); }; }; then
5577   ac_cv_type_off_t=yes
5578 else
5579   echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5581
5582 ac_cv_type_off_t=no
5583 fi
5584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5585 fi
5586 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5587 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5588 if test $ac_cv_type_off_t = yes; then
5589   :
5590 else
5591
5592 cat >>confdefs.h <<_ACEOF
5593 #define off_t long
5594 _ACEOF
5595
5596 fi
5597
5598
5599 # check header files
5600 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5601 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5602 if test "${ac_cv_header_stdc+set}" = set; then
5603   echo $ECHO_N "(cached) $ECHO_C" >&6
5604 else
5605   cat >conftest.$ac_ext <<_ACEOF
5606 /* confdefs.h.  */
5607 _ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h.  */
5611 #include <stdlib.h>
5612 #include <stdarg.h>
5613 #include <string.h>
5614 #include <float.h>
5615
5616 int
5617 main ()
5618 {
5619
5620   ;
5621   return 0;
5622 }
5623 _ACEOF
5624 rm -f conftest.$ac_objext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626   (eval $ac_compile) 2>conftest.er1
5627   ac_status=$?
5628   grep -v '^ *+' conftest.er1 >conftest.err
5629   rm -f conftest.er1
5630   cat conftest.err >&5
5631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632   (exit $ac_status); } &&
5633          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635   (eval $ac_try) 2>&5
5636   ac_status=$?
5637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638   (exit $ac_status); }; } &&
5639          { ac_try='test -s conftest.$ac_objext'
5640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5641   (eval $ac_try) 2>&5
5642   ac_status=$?
5643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644   (exit $ac_status); }; }; then
5645   ac_cv_header_stdc=yes
5646 else
5647   echo "$as_me: failed program was:" >&5
5648 sed 's/^/| /' conftest.$ac_ext >&5
5649
5650 ac_cv_header_stdc=no
5651 fi
5652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5653
5654 if test $ac_cv_header_stdc = yes; then
5655   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5656   cat >conftest.$ac_ext <<_ACEOF
5657 /* confdefs.h.  */
5658 _ACEOF
5659 cat confdefs.h >>conftest.$ac_ext
5660 cat >>conftest.$ac_ext <<_ACEOF
5661 /* end confdefs.h.  */
5662 #include <string.h>
5663
5664 _ACEOF
5665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5666   $EGREP "memchr" >/dev/null 2>&1; then
5667   :
5668 else
5669   ac_cv_header_stdc=no
5670 fi
5671 rm -f conftest*
5672
5673 fi
5674
5675 if test $ac_cv_header_stdc = yes; then
5676   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5677   cat >conftest.$ac_ext <<_ACEOF
5678 /* confdefs.h.  */
5679 _ACEOF
5680 cat confdefs.h >>conftest.$ac_ext
5681 cat >>conftest.$ac_ext <<_ACEOF
5682 /* end confdefs.h.  */
5683 #include <stdlib.h>
5684
5685 _ACEOF
5686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5687   $EGREP "free" >/dev/null 2>&1; then
5688   :
5689 else
5690   ac_cv_header_stdc=no
5691 fi
5692 rm -f conftest*
5693
5694 fi
5695
5696 if test $ac_cv_header_stdc = yes; then
5697   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5698   if test "$cross_compiling" = yes; then
5699   :
5700 else
5701   cat >conftest.$ac_ext <<_ACEOF
5702 /* confdefs.h.  */
5703 _ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h.  */
5707 #include <ctype.h>
5708 #if ((' ' & 0x0FF) == 0x020)
5709 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5710 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5711 #else
5712 # define ISLOWER(c) \
5713                    (('a' <= (c) && (c) <= 'i') \
5714                      || ('j' <= (c) && (c) <= 'r') \
5715                      || ('s' <= (c) && (c) <= 'z'))
5716 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5717 #endif
5718
5719 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5720 int
5721 main ()
5722 {
5723   int i;
5724   for (i = 0; i < 256; i++)
5725     if (XOR (islower (i), ISLOWER (i))
5726         || toupper (i) != TOUPPER (i))
5727       exit(2);
5728   exit (0);
5729 }
5730 _ACEOF
5731 rm -f conftest$ac_exeext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5733   (eval $ac_link) 2>&5
5734   ac_status=$?
5735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738   (eval $ac_try) 2>&5
5739   ac_status=$?
5740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741   (exit $ac_status); }; }; then
5742   :
5743 else
5744   echo "$as_me: program exited with status $ac_status" >&5
5745 echo "$as_me: failed program was:" >&5
5746 sed 's/^/| /' conftest.$ac_ext >&5
5747
5748 ( exit $ac_status )
5749 ac_cv_header_stdc=no
5750 fi
5751 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5752 fi
5753 fi
5754 fi
5755 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5756 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5757 if test $ac_cv_header_stdc = yes; then
5758
5759 cat >>confdefs.h <<\_ACEOF
5760 #define STDC_HEADERS 1
5761 _ACEOF
5762
5763 fi
5764
5765
5766
5767
5768
5769
5770
5771
5772 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5773 do
5774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5776   echo "$as_me:$LINENO: checking for $ac_header" >&5
5777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5779   echo $ECHO_N "(cached) $ECHO_C" >&6
5780 fi
5781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5783 else
5784   # Is the header compilable?
5785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5787 cat >conftest.$ac_ext <<_ACEOF
5788 /* confdefs.h.  */
5789 _ACEOF
5790 cat confdefs.h >>conftest.$ac_ext
5791 cat >>conftest.$ac_ext <<_ACEOF
5792 /* end confdefs.h.  */
5793 $ac_includes_default
5794 #include <$ac_header>
5795 _ACEOF
5796 rm -f conftest.$ac_objext
5797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5798   (eval $ac_compile) 2>conftest.er1
5799   ac_status=$?
5800   grep -v '^ *+' conftest.er1 >conftest.err
5801   rm -f conftest.er1
5802   cat conftest.err >&5
5803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804   (exit $ac_status); } &&
5805          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807   (eval $ac_try) 2>&5
5808   ac_status=$?
5809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810   (exit $ac_status); }; } &&
5811          { ac_try='test -s conftest.$ac_objext'
5812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813   (eval $ac_try) 2>&5
5814   ac_status=$?
5815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816   (exit $ac_status); }; }; then
5817   ac_header_compiler=yes
5818 else
5819   echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.$ac_ext >&5
5821
5822 ac_header_compiler=no
5823 fi
5824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5826 echo "${ECHO_T}$ac_header_compiler" >&6
5827
5828 # Is the header present?
5829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5831 cat >conftest.$ac_ext <<_ACEOF
5832 /* confdefs.h.  */
5833 _ACEOF
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h.  */
5837 #include <$ac_header>
5838 _ACEOF
5839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5840   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5841   ac_status=$?
5842   grep -v '^ *+' conftest.er1 >conftest.err
5843   rm -f conftest.er1
5844   cat conftest.err >&5
5845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846   (exit $ac_status); } >/dev/null; then
5847   if test -s conftest.err; then
5848     ac_cpp_err=$ac_c_preproc_warn_flag
5849     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5850   else
5851     ac_cpp_err=
5852   fi
5853 else
5854   ac_cpp_err=yes
5855 fi
5856 if test -z "$ac_cpp_err"; then
5857   ac_header_preproc=yes
5858 else
5859   echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5861
5862   ac_header_preproc=no
5863 fi
5864 rm -f conftest.err conftest.$ac_ext
5865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5866 echo "${ECHO_T}$ac_header_preproc" >&6
5867
5868 # So?  What about this header?
5869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5870   yes:no: )
5871     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5873     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5875     ac_header_preproc=yes
5876     ;;
5877   no:yes:* )
5878     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5880     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5881 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5882     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5884     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5885 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5886     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5888     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5890     (
5891       cat <<\_ASBOX
5892 ## ------------------------------------------------------ ##
5893 ## Report this to the GNU Fortran Runtime Library lists.  ##
5894 ## ------------------------------------------------------ ##
5895 _ASBOX
5896     ) |
5897       sed "s/^/$as_me: WARNING:     /" >&2
5898     ;;
5899 esac
5900 echo "$as_me:$LINENO: checking for $ac_header" >&5
5901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5903   echo $ECHO_N "(cached) $ECHO_C" >&6
5904 else
5905   eval "$as_ac_Header=\$ac_header_preproc"
5906 fi
5907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5909
5910 fi
5911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5912   cat >>confdefs.h <<_ACEOF
5913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5914 _ACEOF
5915
5916 fi
5917
5918 done
5919
5920
5921
5922
5923
5924
5925 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
5926 do
5927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5929   echo "$as_me:$LINENO: checking for $ac_header" >&5
5930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5932   echo $ECHO_N "(cached) $ECHO_C" >&6
5933 fi
5934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5936 else
5937   # Is the header compilable?
5938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5940 cat >conftest.$ac_ext <<_ACEOF
5941 /* confdefs.h.  */
5942 _ACEOF
5943 cat confdefs.h >>conftest.$ac_ext
5944 cat >>conftest.$ac_ext <<_ACEOF
5945 /* end confdefs.h.  */
5946 $ac_includes_default
5947 #include <$ac_header>
5948 _ACEOF
5949 rm -f conftest.$ac_objext
5950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5951   (eval $ac_compile) 2>conftest.er1
5952   ac_status=$?
5953   grep -v '^ *+' conftest.er1 >conftest.err
5954   rm -f conftest.er1
5955   cat conftest.err >&5
5956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957   (exit $ac_status); } &&
5958          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960   (eval $ac_try) 2>&5
5961   ac_status=$?
5962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963   (exit $ac_status); }; } &&
5964          { ac_try='test -s conftest.$ac_objext'
5965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5966   (eval $ac_try) 2>&5
5967   ac_status=$?
5968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969   (exit $ac_status); }; }; then
5970   ac_header_compiler=yes
5971 else
5972   echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.$ac_ext >&5
5974
5975 ac_header_compiler=no
5976 fi
5977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5979 echo "${ECHO_T}$ac_header_compiler" >&6
5980
5981 # Is the header present?
5982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5984 cat >conftest.$ac_ext <<_ACEOF
5985 /* confdefs.h.  */
5986 _ACEOF
5987 cat confdefs.h >>conftest.$ac_ext
5988 cat >>conftest.$ac_ext <<_ACEOF
5989 /* end confdefs.h.  */
5990 #include <$ac_header>
5991 _ACEOF
5992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5993   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5994   ac_status=$?
5995   grep -v '^ *+' conftest.er1 >conftest.err
5996   rm -f conftest.er1
5997   cat conftest.err >&5
5998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999   (exit $ac_status); } >/dev/null; then
6000   if test -s conftest.err; then
6001     ac_cpp_err=$ac_c_preproc_warn_flag
6002     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6003   else
6004     ac_cpp_err=
6005   fi
6006 else
6007   ac_cpp_err=yes
6008 fi
6009 if test -z "$ac_cpp_err"; then
6010   ac_header_preproc=yes
6011 else
6012   echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6014
6015   ac_header_preproc=no
6016 fi
6017 rm -f conftest.err conftest.$ac_ext
6018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6019 echo "${ECHO_T}$ac_header_preproc" >&6
6020
6021 # So?  What about this header?
6022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6023   yes:no: )
6024     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6026     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6028     ac_header_preproc=yes
6029     ;;
6030   no:yes:* )
6031     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6033     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6034 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6035     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6037     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6038 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6039     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6041     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6043     (
6044       cat <<\_ASBOX
6045 ## ------------------------------------------------------ ##
6046 ## Report this to the GNU Fortran Runtime Library lists.  ##
6047 ## ------------------------------------------------------ ##
6048 _ASBOX
6049     ) |
6050       sed "s/^/$as_me: WARNING:     /" >&2
6051     ;;
6052 esac
6053 echo "$as_me:$LINENO: checking for $ac_header" >&5
6054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6056   echo $ECHO_N "(cached) $ECHO_C" >&6
6057 else
6058   eval "$as_ac_Header=\$ac_header_preproc"
6059 fi
6060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6062
6063 fi
6064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6065   cat >>confdefs.h <<_ACEOF
6066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6067 _ACEOF
6068
6069 fi
6070
6071 done
6072
6073
6074
6075
6076
6077 for ac_header in sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6078 do
6079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6081   echo "$as_me:$LINENO: checking for $ac_header" >&5
6082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6084   echo $ECHO_N "(cached) $ECHO_C" >&6
6085 fi
6086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6088 else
6089   # Is the header compilable?
6090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h.  */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h.  */
6098 $ac_includes_default
6099 #include <$ac_header>
6100 _ACEOF
6101 rm -f conftest.$ac_objext
6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6103   (eval $ac_compile) 2>conftest.er1
6104   ac_status=$?
6105   grep -v '^ *+' conftest.er1 >conftest.err
6106   rm -f conftest.er1
6107   cat conftest.err >&5
6108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109   (exit $ac_status); } &&
6110          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112   (eval $ac_try) 2>&5
6113   ac_status=$?
6114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115   (exit $ac_status); }; } &&
6116          { ac_try='test -s conftest.$ac_objext'
6117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6118   (eval $ac_try) 2>&5
6119   ac_status=$?
6120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121   (exit $ac_status); }; }; then
6122   ac_header_compiler=yes
6123 else
6124   echo "$as_me: failed program was:" >&5
6125 sed 's/^/| /' conftest.$ac_ext >&5
6126
6127 ac_header_compiler=no
6128 fi
6129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6131 echo "${ECHO_T}$ac_header_compiler" >&6
6132
6133 # Is the header present?
6134 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6136 cat >conftest.$ac_ext <<_ACEOF
6137 /* confdefs.h.  */
6138 _ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h.  */
6142 #include <$ac_header>
6143 _ACEOF
6144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6145   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6146   ac_status=$?
6147   grep -v '^ *+' conftest.er1 >conftest.err
6148   rm -f conftest.er1
6149   cat conftest.err >&5
6150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151   (exit $ac_status); } >/dev/null; then
6152   if test -s conftest.err; then
6153     ac_cpp_err=$ac_c_preproc_warn_flag
6154     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6155   else
6156     ac_cpp_err=
6157   fi
6158 else
6159   ac_cpp_err=yes
6160 fi
6161 if test -z "$ac_cpp_err"; then
6162   ac_header_preproc=yes
6163 else
6164   echo "$as_me: failed program was:" >&5
6165 sed 's/^/| /' conftest.$ac_ext >&5
6166
6167   ac_header_preproc=no
6168 fi
6169 rm -f conftest.err conftest.$ac_ext
6170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6171 echo "${ECHO_T}$ac_header_preproc" >&6
6172
6173 # So?  What about this header?
6174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6175   yes:no: )
6176     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6177 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6178     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6179 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6180     ac_header_preproc=yes
6181     ;;
6182   no:yes:* )
6183     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6184 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6185     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6186 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6187     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6188 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6189     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6190 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6191     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6193     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6194 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6195     (
6196       cat <<\_ASBOX
6197 ## ------------------------------------------------------ ##
6198 ## Report this to the GNU Fortran Runtime Library lists.  ##
6199 ## ------------------------------------------------------ ##
6200 _ASBOX
6201     ) |
6202       sed "s/^/$as_me: WARNING:     /" >&2
6203     ;;
6204 esac
6205 echo "$as_me:$LINENO: checking for $ac_header" >&5
6206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6208   echo $ECHO_N "(cached) $ECHO_C" >&6
6209 else
6210   eval "$as_ac_Header=\$ac_header_preproc"
6211 fi
6212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6214
6215 fi
6216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6217   cat >>confdefs.h <<_ACEOF
6218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6219 _ACEOF
6220
6221 fi
6222
6223 done
6224
6225
6226
6227
6228 for ac_header in fenv.h fptrap.h float.h
6229 do
6230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6232   echo "$as_me:$LINENO: checking for $ac_header" >&5
6233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6235   echo $ECHO_N "(cached) $ECHO_C" >&6
6236 fi
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6239 else
6240   # Is the header compilable?
6241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6243 cat >conftest.$ac_ext <<_ACEOF
6244 /* confdefs.h.  */
6245 _ACEOF
6246 cat confdefs.h >>conftest.$ac_ext
6247 cat >>conftest.$ac_ext <<_ACEOF
6248 /* end confdefs.h.  */
6249 $ac_includes_default
6250 #include <$ac_header>
6251 _ACEOF
6252 rm -f conftest.$ac_objext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254   (eval $ac_compile) 2>conftest.er1
6255   ac_status=$?
6256   grep -v '^ *+' conftest.er1 >conftest.err
6257   rm -f conftest.er1
6258   cat conftest.err >&5
6259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260   (exit $ac_status); } &&
6261          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263   (eval $ac_try) 2>&5
6264   ac_status=$?
6265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266   (exit $ac_status); }; } &&
6267          { ac_try='test -s conftest.$ac_objext'
6268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269   (eval $ac_try) 2>&5
6270   ac_status=$?
6271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272   (exit $ac_status); }; }; then
6273   ac_header_compiler=yes
6274 else
6275   echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.$ac_ext >&5
6277
6278 ac_header_compiler=no
6279 fi
6280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6282 echo "${ECHO_T}$ac_header_compiler" >&6
6283
6284 # Is the header present?
6285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6287 cat >conftest.$ac_ext <<_ACEOF
6288 /* confdefs.h.  */
6289 _ACEOF
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h.  */
6293 #include <$ac_header>
6294 _ACEOF
6295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6296   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6297   ac_status=$?
6298   grep -v '^ *+' conftest.er1 >conftest.err
6299   rm -f conftest.er1
6300   cat conftest.err >&5
6301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302   (exit $ac_status); } >/dev/null; then
6303   if test -s conftest.err; then
6304     ac_cpp_err=$ac_c_preproc_warn_flag
6305     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6306   else
6307     ac_cpp_err=
6308   fi
6309 else
6310   ac_cpp_err=yes
6311 fi
6312 if test -z "$ac_cpp_err"; then
6313   ac_header_preproc=yes
6314 else
6315   echo "$as_me: failed program was:" >&5
6316 sed 's/^/| /' conftest.$ac_ext >&5
6317
6318   ac_header_preproc=no
6319 fi
6320 rm -f conftest.err conftest.$ac_ext
6321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6322 echo "${ECHO_T}$ac_header_preproc" >&6
6323
6324 # So?  What about this header?
6325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6326   yes:no: )
6327     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6329     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6331     ac_header_preproc=yes
6332     ;;
6333   no:yes:* )
6334     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6336     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6337 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6338     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6340     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6341 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6342     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6344     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6346     (
6347       cat <<\_ASBOX
6348 ## ------------------------------------------------------ ##
6349 ## Report this to the GNU Fortran Runtime Library lists.  ##
6350 ## ------------------------------------------------------ ##
6351 _ASBOX
6352     ) |
6353       sed "s/^/$as_me: WARNING:     /" >&2
6354     ;;
6355 esac
6356 echo "$as_me:$LINENO: checking for $ac_header" >&5
6357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6359   echo $ECHO_N "(cached) $ECHO_C" >&6
6360 else
6361   eval "$as_ac_Header=\$ac_header_preproc"
6362 fi
6363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6365
6366 fi
6367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6368   cat >>confdefs.h <<_ACEOF
6369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6370 _ACEOF
6371
6372 fi
6373
6374 done
6375
6376 if test "${ac_cv_header_complex_h+set}" = set; then
6377   echo "$as_me:$LINENO: checking for complex.h" >&5
6378 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6379 if test "${ac_cv_header_complex_h+set}" = set; then
6380   echo $ECHO_N "(cached) $ECHO_C" >&6
6381 fi
6382 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6383 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6384 else
6385   # Is the header compilable?
6386 echo "$as_me:$LINENO: checking complex.h usability" >&5
6387 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6388 cat >conftest.$ac_ext <<_ACEOF
6389 /* confdefs.h.  */
6390 _ACEOF
6391 cat confdefs.h >>conftest.$ac_ext
6392 cat >>conftest.$ac_ext <<_ACEOF
6393 /* end confdefs.h.  */
6394 $ac_includes_default
6395 #include <complex.h>
6396 _ACEOF
6397 rm -f conftest.$ac_objext
6398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6399   (eval $ac_compile) 2>conftest.er1
6400   ac_status=$?
6401   grep -v '^ *+' conftest.er1 >conftest.err
6402   rm -f conftest.er1
6403   cat conftest.err >&5
6404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405   (exit $ac_status); } &&
6406          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408   (eval $ac_try) 2>&5
6409   ac_status=$?
6410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411   (exit $ac_status); }; } &&
6412          { ac_try='test -s conftest.$ac_objext'
6413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6414   (eval $ac_try) 2>&5
6415   ac_status=$?
6416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417   (exit $ac_status); }; }; then
6418   ac_header_compiler=yes
6419 else
6420   echo "$as_me: failed program was:" >&5
6421 sed 's/^/| /' conftest.$ac_ext >&5
6422
6423 ac_header_compiler=no
6424 fi
6425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6427 echo "${ECHO_T}$ac_header_compiler" >&6
6428
6429 # Is the header present?
6430 echo "$as_me:$LINENO: checking complex.h presence" >&5
6431 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6432 cat >conftest.$ac_ext <<_ACEOF
6433 /* confdefs.h.  */
6434 _ACEOF
6435 cat confdefs.h >>conftest.$ac_ext
6436 cat >>conftest.$ac_ext <<_ACEOF
6437 /* end confdefs.h.  */
6438 #include <complex.h>
6439 _ACEOF
6440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6441   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
6448   if test -s conftest.err; then
6449     ac_cpp_err=$ac_c_preproc_warn_flag
6450     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6451   else
6452     ac_cpp_err=
6453   fi
6454 else
6455   ac_cpp_err=yes
6456 fi
6457 if test -z "$ac_cpp_err"; then
6458   ac_header_preproc=yes
6459 else
6460   echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.$ac_ext >&5
6462
6463   ac_header_preproc=no
6464 fi
6465 rm -f conftest.err conftest.$ac_ext
6466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6467 echo "${ECHO_T}$ac_header_preproc" >&6
6468
6469 # So?  What about this header?
6470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6471   yes:no: )
6472     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6473 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6474     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6475 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6476     ac_header_preproc=yes
6477     ;;
6478   no:yes:* )
6479     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6480 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6481     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
6482 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
6483     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6484 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6485     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
6486 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6487     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6488 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6489     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6490 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6491     (
6492       cat <<\_ASBOX
6493 ## ------------------------------------------------------ ##
6494 ## Report this to the GNU Fortran Runtime Library lists.  ##
6495 ## ------------------------------------------------------ ##
6496 _ASBOX
6497     ) |
6498       sed "s/^/$as_me: WARNING:     /" >&2
6499     ;;
6500 esac
6501 echo "$as_me:$LINENO: checking for complex.h" >&5
6502 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6503 if test "${ac_cv_header_complex_h+set}" = set; then
6504   echo $ECHO_N "(cached) $ECHO_C" >&6
6505 else
6506   ac_cv_header_complex_h=$ac_header_preproc
6507 fi
6508 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6509 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6510
6511 fi
6512 if test $ac_cv_header_complex_h = yes; then
6513
6514 cat >>confdefs.h <<\_ACEOF
6515 #define HAVE_COMPLEX_H 1
6516 _ACEOF
6517
6518 fi
6519
6520
6521
6522
6523 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
6524
6525 acx_cv_header_stdint=stddef.h
6526 acx_cv_header_stdint_kind="(already complete)"
6527 for i in stdint.h $inttype_headers; do
6528   unset ac_cv_type_uintptr_t
6529   unset ac_cv_type_uintmax_t
6530   unset ac_cv_type_int_least32_t
6531   unset ac_cv_type_int_fast32_t
6532   unset ac_cv_type_uint64_t
6533   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6534   echo "$as_me:$LINENO: checking for uintmax_t" >&5
6535 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6536 if test "${ac_cv_type_uintmax_t+set}" = set; then
6537   echo $ECHO_N "(cached) $ECHO_C" >&6
6538 else
6539   cat >conftest.$ac_ext <<_ACEOF
6540 /* confdefs.h.  */
6541 _ACEOF
6542 cat confdefs.h >>conftest.$ac_ext
6543 cat >>conftest.$ac_ext <<_ACEOF
6544 /* end confdefs.h.  */
6545 #include <sys/types.h>
6546 #include <$i>
6547
6548 int
6549 main ()
6550 {
6551 if ((uintmax_t *) 0)
6552   return 0;
6553 if (sizeof (uintmax_t))
6554   return 0;
6555   ;
6556   return 0;
6557 }
6558 _ACEOF
6559 rm -f conftest.$ac_objext
6560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6561   (eval $ac_compile) 2>conftest.er1
6562   ac_status=$?
6563   grep -v '^ *+' conftest.er1 >conftest.err
6564   rm -f conftest.er1
6565   cat conftest.err >&5
6566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567   (exit $ac_status); } &&
6568          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6570   (eval $ac_try) 2>&5
6571   ac_status=$?
6572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573   (exit $ac_status); }; } &&
6574          { ac_try='test -s conftest.$ac_objext'
6575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6576   (eval $ac_try) 2>&5
6577   ac_status=$?
6578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579   (exit $ac_status); }; }; then
6580   ac_cv_type_uintmax_t=yes
6581 else
6582   echo "$as_me: failed program was:" >&5
6583 sed 's/^/| /' conftest.$ac_ext >&5
6584
6585 ac_cv_type_uintmax_t=no
6586 fi
6587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6588 fi
6589 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6590 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6591 if test $ac_cv_type_uintmax_t = yes; then
6592   acx_cv_header_stdint=$i
6593 else
6594   continue
6595 fi
6596
6597   echo "$as_me:$LINENO: checking for uintptr_t" >&5
6598 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6599 if test "${ac_cv_type_uintptr_t+set}" = set; then
6600   echo $ECHO_N "(cached) $ECHO_C" >&6
6601 else
6602   cat >conftest.$ac_ext <<_ACEOF
6603 /* confdefs.h.  */
6604 _ACEOF
6605 cat confdefs.h >>conftest.$ac_ext
6606 cat >>conftest.$ac_ext <<_ACEOF
6607 /* end confdefs.h.  */
6608 #include <sys/types.h>
6609 #include <$i>
6610
6611 int
6612 main ()
6613 {
6614 if ((uintptr_t *) 0)
6615   return 0;
6616 if (sizeof (uintptr_t))
6617   return 0;
6618   ;
6619   return 0;
6620 }
6621 _ACEOF
6622 rm -f conftest.$ac_objext
6623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6624   (eval $ac_compile) 2>conftest.er1
6625   ac_status=$?
6626   grep -v '^ *+' conftest.er1 >conftest.err
6627   rm -f conftest.er1
6628   cat conftest.err >&5
6629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630   (exit $ac_status); } &&
6631          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633   (eval $ac_try) 2>&5
6634   ac_status=$?
6635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636   (exit $ac_status); }; } &&
6637          { ac_try='test -s conftest.$ac_objext'
6638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639   (eval $ac_try) 2>&5
6640   ac_status=$?
6641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642   (exit $ac_status); }; }; then
6643   ac_cv_type_uintptr_t=yes
6644 else
6645   echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.$ac_ext >&5
6647
6648 ac_cv_type_uintptr_t=no
6649 fi
6650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6651 fi
6652 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6653 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6654 if test $ac_cv_type_uintptr_t = yes; then
6655   :
6656 else
6657   acx_cv_header_stdint_kind="(mostly complete)"
6658 fi
6659
6660   echo "$as_me:$LINENO: checking for int_least32_t" >&5
6661 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6662 if test "${ac_cv_type_int_least32_t+set}" = set; then
6663   echo $ECHO_N "(cached) $ECHO_C" >&6
6664 else
6665   cat >conftest.$ac_ext <<_ACEOF
6666 /* confdefs.h.  */
6667 _ACEOF
6668 cat confdefs.h >>conftest.$ac_ext
6669 cat >>conftest.$ac_ext <<_ACEOF
6670 /* end confdefs.h.  */
6671 #include <sys/types.h>
6672 #include <$i>
6673
6674 int
6675 main ()
6676 {
6677 if ((int_least32_t *) 0)
6678   return 0;
6679 if (sizeof (int_least32_t))
6680   return 0;
6681   ;
6682   return 0;
6683 }
6684 _ACEOF
6685 rm -f conftest.$ac_objext
6686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6687   (eval $ac_compile) 2>conftest.er1
6688   ac_status=$?
6689   grep -v '^ *+' conftest.er1 >conftest.err
6690   rm -f conftest.er1
6691   cat conftest.err >&5
6692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693   (exit $ac_status); } &&
6694          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6696   (eval $ac_try) 2>&5
6697   ac_status=$?
6698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699   (exit $ac_status); }; } &&
6700          { ac_try='test -s conftest.$ac_objext'
6701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6702   (eval $ac_try) 2>&5
6703   ac_status=$?
6704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705   (exit $ac_status); }; }; then
6706   ac_cv_type_int_least32_t=yes
6707 else
6708   echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6710
6711 ac_cv_type_int_least32_t=no
6712 fi
6713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6714 fi
6715 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6716 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6717 if test $ac_cv_type_int_least32_t = yes; then
6718   :
6719 else
6720   acx_cv_header_stdint_kind="(mostly complete)"
6721 fi
6722
6723   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6724 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6725 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6726   echo $ECHO_N "(cached) $ECHO_C" >&6
6727 else
6728   cat >conftest.$ac_ext <<_ACEOF
6729 /* confdefs.h.  */
6730 _ACEOF
6731 cat confdefs.h >>conftest.$ac_ext
6732 cat >>conftest.$ac_ext <<_ACEOF
6733 /* end confdefs.h.  */
6734 #include <sys/types.h>
6735 #include <$i>
6736
6737 int
6738 main ()
6739 {
6740 if ((int_fast32_t *) 0)
6741   return 0;
6742 if (sizeof (int_fast32_t))
6743   return 0;
6744   ;
6745   return 0;
6746 }
6747 _ACEOF
6748 rm -f conftest.$ac_objext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6750   (eval $ac_compile) 2>conftest.er1
6751   ac_status=$?
6752   grep -v '^ *+' conftest.er1 >conftest.err
6753   rm -f conftest.er1
6754   cat conftest.err >&5
6755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756   (exit $ac_status); } &&
6757          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759   (eval $ac_try) 2>&5
6760   ac_status=$?
6761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762   (exit $ac_status); }; } &&
6763          { ac_try='test -s conftest.$ac_objext'
6764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6765   (eval $ac_try) 2>&5
6766   ac_status=$?
6767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768   (exit $ac_status); }; }; then
6769   ac_cv_type_int_fast32_t=yes
6770 else
6771   echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6773
6774 ac_cv_type_int_fast32_t=no
6775 fi
6776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6777 fi
6778 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
6779 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
6780 if test $ac_cv_type_int_fast32_t = yes; then
6781   :
6782 else
6783   acx_cv_header_stdint_kind="(mostly complete)"
6784 fi
6785
6786   echo "$as_me:$LINENO: checking for uint64_t" >&5
6787 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6788 if test "${ac_cv_type_uint64_t+set}" = set; then
6789   echo $ECHO_N "(cached) $ECHO_C" >&6
6790 else
6791   cat >conftest.$ac_ext <<_ACEOF
6792 /* confdefs.h.  */
6793 _ACEOF
6794 cat confdefs.h >>conftest.$ac_ext
6795 cat >>conftest.$ac_ext <<_ACEOF
6796 /* end confdefs.h.  */
6797 #include <sys/types.h>
6798 #include <$i>
6799
6800 int
6801 main ()
6802 {
6803 if ((uint64_t *) 0)
6804   return 0;
6805 if (sizeof (uint64_t))
6806   return 0;
6807   ;
6808   return 0;
6809 }
6810 _ACEOF
6811 rm -f conftest.$ac_objext
6812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6813   (eval $ac_compile) 2>conftest.er1
6814   ac_status=$?
6815   grep -v '^ *+' conftest.er1 >conftest.err
6816   rm -f conftest.er1
6817   cat conftest.err >&5
6818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819   (exit $ac_status); } &&
6820          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822   (eval $ac_try) 2>&5
6823   ac_status=$?
6824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825   (exit $ac_status); }; } &&
6826          { ac_try='test -s conftest.$ac_objext'
6827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828   (eval $ac_try) 2>&5
6829   ac_status=$?
6830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831   (exit $ac_status); }; }; then
6832   ac_cv_type_uint64_t=yes
6833 else
6834   echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6836
6837 ac_cv_type_uint64_t=no
6838 fi
6839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6840 fi
6841 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
6842 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
6843 if test $ac_cv_type_uint64_t = yes; then
6844   :
6845 else
6846   acx_cv_header_stdint_kind="(lacks uint64_t)"
6847 fi
6848
6849   break
6850 done
6851 if test "$acx_cv_header_stdint" = stddef.h; then
6852   acx_cv_header_stdint_kind="(lacks uintptr_t)"
6853   for i in stdint.h $inttype_headers; do
6854     unset ac_cv_type_uint32_t
6855     unset ac_cv_type_uint64_t
6856     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
6857     echo "$as_me:$LINENO: checking for uint32_t" >&5
6858 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6859 if test "${ac_cv_type_uint32_t+set}" = set; then
6860   echo $ECHO_N "(cached) $ECHO_C" >&6
6861 else
6862   cat >conftest.$ac_ext <<_ACEOF
6863 /* confdefs.h.  */
6864 _ACEOF
6865 cat confdefs.h >>conftest.$ac_ext
6866 cat >>conftest.$ac_ext <<_ACEOF
6867 /* end confdefs.h.  */
6868 #include <sys/types.h>
6869 #include <$i>
6870
6871 int
6872 main ()
6873 {
6874 if ((uint32_t *) 0)
6875   return 0;
6876 if (sizeof (uint32_t))
6877   return 0;
6878   ;
6879   return 0;
6880 }
6881 _ACEOF
6882 rm -f conftest.$ac_objext
6883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6884   (eval $ac_compile) 2>conftest.er1
6885   ac_status=$?
6886   grep -v '^ *+' conftest.er1 >conftest.err
6887   rm -f conftest.er1
6888   cat conftest.err >&5
6889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890   (exit $ac_status); } &&
6891          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893   (eval $ac_try) 2>&5
6894   ac_status=$?
6895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896   (exit $ac_status); }; } &&
6897          { ac_try='test -s conftest.$ac_objext'
6898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899   (eval $ac_try) 2>&5
6900   ac_status=$?
6901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902   (exit $ac_status); }; }; then
6903   ac_cv_type_uint32_t=yes
6904 else
6905   echo "$as_me: failed program was:" >&5
6906 sed 's/^/| /' conftest.$ac_ext >&5
6907
6908 ac_cv_type_uint32_t=no
6909 fi
6910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6911 fi
6912 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6913 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
6914 if test $ac_cv_type_uint32_t = yes; then
6915   acx_cv_header_stdint=$i
6916 else
6917   continue
6918 fi
6919
6920     echo "$as_me:$LINENO: checking for uint64_t" >&5
6921 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6922 if test "${ac_cv_type_uint64_t+set}" = set; then
6923   echo $ECHO_N "(cached) $ECHO_C" >&6
6924 else
6925   cat >conftest.$ac_ext <<_ACEOF
6926 /* confdefs.h.  */
6927 _ACEOF
6928 cat confdefs.h >>conftest.$ac_ext
6929 cat >>conftest.$ac_ext <<_ACEOF
6930 /* end confdefs.h.  */
6931 #include <sys/types.h>
6932 #include <$i>
6933
6934 int
6935 main ()
6936 {
6937 if ((uint64_t *) 0)
6938   return 0;
6939 if (sizeof (uint64_t))
6940   return 0;
6941   ;
6942   return 0;
6943 }
6944 _ACEOF
6945 rm -f conftest.$ac_objext
6946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6947   (eval $ac_compile) 2>conftest.er1
6948   ac_status=$?
6949   grep -v '^ *+' conftest.er1 >conftest.err
6950   rm -f conftest.er1
6951   cat conftest.err >&5
6952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953   (exit $ac_status); } &&
6954          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956   (eval $ac_try) 2>&5
6957   ac_status=$?
6958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959   (exit $ac_status); }; } &&
6960          { ac_try='test -s conftest.$ac_objext'
6961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962   (eval $ac_try) 2>&5
6963   ac_status=$?
6964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965   (exit $ac_status); }; }; then
6966   ac_cv_type_uint64_t=yes
6967 else
6968   echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6970
6971 ac_cv_type_uint64_t=no
6972 fi
6973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6974 fi
6975 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
6976 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
6977 if test $ac_cv_type_uint64_t = yes; then
6978   :
6979 else
6980   acx_cv_header_stdint_kind="(lacks uintptr_t and uint64_t)"
6981 fi
6982
6983     break
6984   done
6985 fi
6986 if test "$acx_cv_header_stdint" = stddef.h; then
6987   acx_cv_header_stdint_kind="(u_intXX_t style)"
6988   for i in sys/types.h $inttype_headers; do
6989     unset ac_cv_type_u_int32_t
6990     unset ac_cv_type_u_int64_t
6991     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
6992     echo "$as_me:$LINENO: checking for u_int32_t" >&5
6993 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
6994 if test "${ac_cv_type_u_int32_t+set}" = set; then
6995   echo $ECHO_N "(cached) $ECHO_C" >&6
6996 else
6997   cat >conftest.$ac_ext <<_ACEOF
6998 /* confdefs.h.  */
6999 _ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h.  */
7003 #include <sys/types.h>
7004 #include <$i>
7005
7006 int
7007 main ()
7008 {
7009 if ((u_int32_t *) 0)
7010   return 0;
7011 if (sizeof (u_int32_t))
7012   return 0;
7013   ;
7014   return 0;
7015 }
7016 _ACEOF
7017 rm -f conftest.$ac_objext
7018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7019   (eval $ac_compile) 2>conftest.er1
7020   ac_status=$?
7021   grep -v '^ *+' conftest.er1 >conftest.err
7022   rm -f conftest.er1
7023   cat conftest.err >&5
7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025   (exit $ac_status); } &&
7026          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028   (eval $ac_try) 2>&5
7029   ac_status=$?
7030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031   (exit $ac_status); }; } &&
7032          { ac_try='test -s conftest.$ac_objext'
7033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034   (eval $ac_try) 2>&5
7035   ac_status=$?
7036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037   (exit $ac_status); }; }; then
7038   ac_cv_type_u_int32_t=yes
7039 else
7040   echo "$as_me: failed program was:" >&5
7041 sed 's/^/| /' conftest.$ac_ext >&5
7042
7043 ac_cv_type_u_int32_t=no
7044 fi
7045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7046 fi
7047 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7048 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7049 if test $ac_cv_type_u_int32_t = yes; then
7050   acx_cv_header_stdint=$i
7051 else
7052   continue
7053 fi
7054
7055     echo "$as_me:$LINENO: checking for u_int64_t" >&5
7056 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7057 if test "${ac_cv_type_u_int64_t+set}" = set; then
7058   echo $ECHO_N "(cached) $ECHO_C" >&6
7059 else
7060   cat >conftest.$ac_ext <<_ACEOF
7061 /* confdefs.h.  */
7062 _ACEOF
7063 cat confdefs.h >>conftest.$ac_ext
7064 cat >>conftest.$ac_ext <<_ACEOF
7065 /* end confdefs.h.  */
7066 #include <sys/types.h>
7067 #include <$i>
7068
7069 int
7070 main ()
7071 {
7072 if ((u_int64_t *) 0)
7073   return 0;
7074 if (sizeof (u_int64_t))
7075   return 0;
7076   ;
7077   return 0;
7078 }
7079 _ACEOF
7080 rm -f conftest.$ac_objext
7081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7082   (eval $ac_compile) 2>conftest.er1
7083   ac_status=$?
7084   grep -v '^ *+' conftest.er1 >conftest.err
7085   rm -f conftest.er1
7086   cat conftest.err >&5
7087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088   (exit $ac_status); } &&
7089          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091   (eval $ac_try) 2>&5
7092   ac_status=$?
7093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094   (exit $ac_status); }; } &&
7095          { ac_try='test -s conftest.$ac_objext'
7096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097   (eval $ac_try) 2>&5
7098   ac_status=$?
7099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100   (exit $ac_status); }; }; then
7101   ac_cv_type_u_int64_t=yes
7102 else
7103   echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.$ac_ext >&5
7105
7106 ac_cv_type_u_int64_t=no
7107 fi
7108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7109 fi
7110 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7111 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7112 if test $ac_cv_type_u_int64_t = yes; then
7113   :
7114 else
7115   acx_cv_header_stdint_kind="(u_intXX_t style, lacks u_int64_t)"
7116 fi
7117
7118     break
7119   done
7120 fi
7121 if test "$acx_cv_header_stdint" = stddef.h; then
7122   acx_cv_header_stdint_kind="(using manual detection)"
7123 fi
7124
7125 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7126 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7127 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7128 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7129 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7130
7131 # ----------------- Summarize what we found so far
7132
7133 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7134 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7135
7136 case `$as_basename gstdint.h ||
7137 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7138          Xgstdint.h : 'X\(//\)$' \| \
7139          Xgstdint.h : 'X\(/\)$' \| \
7140          .     : '\(.\)' 2>/dev/null ||
7141 echo X/gstdint.h |
7142     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7143           /^X\/\(\/\/\)$/{ s//\1/; q; }
7144           /^X\/\(\/\).*/{ s//\1/; q; }
7145           s/.*/./; q'` in
7146   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7147 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7148   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7149 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7150   *) ;;
7151 esac
7152
7153 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7154 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7155
7156 # ----------------- done included file, check C basic types --------
7157
7158 # Lacking an uintptr_t?  Test size of void *
7159 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7160   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7161 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7162 if test "${ac_cv_type_void_p+set}" = set; then
7163   echo $ECHO_N "(cached) $ECHO_C" >&6
7164 else
7165   cat >conftest.$ac_ext <<_ACEOF
7166 /* confdefs.h.  */
7167 _ACEOF
7168 cat confdefs.h >>conftest.$ac_ext
7169 cat >>conftest.$ac_ext <<_ACEOF
7170 /* end confdefs.h.  */
7171 $ac_includes_default
7172 int
7173 main ()
7174 {
7175 if ((void * *) 0)
7176   return 0;
7177 if (sizeof (void *))
7178   return 0;
7179   ;
7180   return 0;
7181 }
7182 _ACEOF
7183 rm -f conftest.$ac_objext
7184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7185   (eval $ac_compile) 2>conftest.er1
7186   ac_status=$?
7187   grep -v '^ *+' conftest.er1 >conftest.err
7188   rm -f conftest.er1
7189   cat conftest.err >&5
7190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191   (exit $ac_status); } &&
7192          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194   (eval $ac_try) 2>&5
7195   ac_status=$?
7196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197   (exit $ac_status); }; } &&
7198          { ac_try='test -s conftest.$ac_objext'
7199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200   (eval $ac_try) 2>&5
7201   ac_status=$?
7202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203   (exit $ac_status); }; }; then
7204   ac_cv_type_void_p=yes
7205 else
7206   echo "$as_me: failed program was:" >&5
7207 sed 's/^/| /' conftest.$ac_ext >&5
7208
7209 ac_cv_type_void_p=no
7210 fi
7211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7212 fi
7213 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7214 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7215
7216 echo "$as_me:$LINENO: checking size of void *" >&5
7217 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7218 if test "${ac_cv_sizeof_void_p+set}" = set; then
7219   echo $ECHO_N "(cached) $ECHO_C" >&6
7220 else
7221   if test "$ac_cv_type_void_p" = yes; then
7222   # The cast to unsigned long works around a bug in the HP C Compiler
7223   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7224   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7225   # This bug is HP SR number 8606223364.
7226   if test "$cross_compiling" = yes; then
7227   # Depending upon the size, compute the lo and hi bounds.
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h.  */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h.  */
7234 $ac_includes_default
7235 int
7236 main ()
7237 {
7238 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7239 test_array [0] = 0
7240
7241   ;
7242   return 0;
7243 }
7244 _ACEOF
7245 rm -f conftest.$ac_objext
7246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7247   (eval $ac_compile) 2>conftest.er1
7248   ac_status=$?
7249   grep -v '^ *+' conftest.er1 >conftest.err
7250   rm -f conftest.er1
7251   cat conftest.err >&5
7252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253   (exit $ac_status); } &&
7254          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256   (eval $ac_try) 2>&5
7257   ac_status=$?
7258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259   (exit $ac_status); }; } &&
7260          { ac_try='test -s conftest.$ac_objext'
7261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262   (eval $ac_try) 2>&5
7263   ac_status=$?
7264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265   (exit $ac_status); }; }; then
7266   ac_lo=0 ac_mid=0
7267   while :; do
7268     cat >conftest.$ac_ext <<_ACEOF
7269 /* confdefs.h.  */
7270 _ACEOF
7271 cat confdefs.h >>conftest.$ac_ext
7272 cat >>conftest.$ac_ext <<_ACEOF
7273 /* end confdefs.h.  */
7274 $ac_includes_default
7275 int
7276 main ()
7277 {
7278 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7279 test_array [0] = 0
7280
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"                   || test ! -s conftest.err'
7295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296   (eval $ac_try) 2>&5
7297   ac_status=$?
7298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299   (exit $ac_status); }; } &&
7300          { ac_try='test -s conftest.$ac_objext'
7301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302   (eval $ac_try) 2>&5
7303   ac_status=$?
7304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305   (exit $ac_status); }; }; then
7306   ac_hi=$ac_mid; break
7307 else
7308   echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7310
7311 ac_lo=`expr $ac_mid + 1`
7312                     if test $ac_lo -le $ac_mid; then
7313                       ac_lo= ac_hi=
7314                       break
7315                     fi
7316                     ac_mid=`expr 2 '*' $ac_mid + 1`
7317 fi
7318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7319   done
7320 else
7321   echo "$as_me: failed program was:" >&5
7322 sed 's/^/| /' conftest.$ac_ext >&5
7323
7324 cat >conftest.$ac_ext <<_ACEOF
7325 /* confdefs.h.  */
7326 _ACEOF
7327 cat confdefs.h >>conftest.$ac_ext
7328 cat >>conftest.$ac_ext <<_ACEOF
7329 /* end confdefs.h.  */
7330 $ac_includes_default
7331 int
7332 main ()
7333 {
7334 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7335 test_array [0] = 0
7336
7337   ;
7338   return 0;
7339 }
7340 _ACEOF
7341 rm -f conftest.$ac_objext
7342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7343   (eval $ac_compile) 2>conftest.er1
7344   ac_status=$?
7345   grep -v '^ *+' conftest.er1 >conftest.err
7346   rm -f conftest.er1
7347   cat conftest.err >&5
7348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349   (exit $ac_status); } &&
7350          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352   (eval $ac_try) 2>&5
7353   ac_status=$?
7354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355   (exit $ac_status); }; } &&
7356          { ac_try='test -s conftest.$ac_objext'
7357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358   (eval $ac_try) 2>&5
7359   ac_status=$?
7360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361   (exit $ac_status); }; }; then
7362   ac_hi=-1 ac_mid=-1
7363   while :; do
7364     cat >conftest.$ac_ext <<_ACEOF
7365 /* confdefs.h.  */
7366 _ACEOF
7367 cat confdefs.h >>conftest.$ac_ext
7368 cat >>conftest.$ac_ext <<_ACEOF
7369 /* end confdefs.h.  */
7370 $ac_includes_default
7371 int
7372 main ()
7373 {
7374 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7375 test_array [0] = 0
7376
7377   ;
7378   return 0;
7379 }
7380 _ACEOF
7381 rm -f conftest.$ac_objext
7382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7383   (eval $ac_compile) 2>conftest.er1
7384   ac_status=$?
7385   grep -v '^ *+' conftest.er1 >conftest.err
7386   rm -f conftest.er1
7387   cat conftest.err >&5
7388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389   (exit $ac_status); } &&
7390          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392   (eval $ac_try) 2>&5
7393   ac_status=$?
7394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395   (exit $ac_status); }; } &&
7396          { ac_try='test -s conftest.$ac_objext'
7397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398   (eval $ac_try) 2>&5
7399   ac_status=$?
7400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401   (exit $ac_status); }; }; then
7402   ac_lo=$ac_mid; break
7403 else
7404   echo "$as_me: failed program was:" >&5
7405 sed 's/^/| /' conftest.$ac_ext >&5
7406
7407 ac_hi=`expr '(' $ac_mid ')' - 1`
7408                        if test $ac_mid -le $ac_hi; then
7409                          ac_lo= ac_hi=
7410                          break
7411                        fi
7412                        ac_mid=`expr 2 '*' $ac_mid`
7413 fi
7414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7415   done
7416 else
7417   echo "$as_me: failed program was:" >&5
7418 sed 's/^/| /' conftest.$ac_ext >&5
7419
7420 ac_lo= ac_hi=
7421 fi
7422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7423 fi
7424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7425 # Binary search between lo and hi bounds.
7426 while test "x$ac_lo" != "x$ac_hi"; do
7427   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7428   cat >conftest.$ac_ext <<_ACEOF
7429 /* confdefs.h.  */
7430 _ACEOF
7431 cat confdefs.h >>conftest.$ac_ext
7432 cat >>conftest.$ac_ext <<_ACEOF
7433 /* end confdefs.h.  */
7434 $ac_includes_default
7435 int
7436 main ()
7437 {
7438 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7439 test_array [0] = 0
7440
7441   ;
7442   return 0;
7443 }
7444 _ACEOF
7445 rm -f conftest.$ac_objext
7446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7447   (eval $ac_compile) 2>conftest.er1
7448   ac_status=$?
7449   grep -v '^ *+' conftest.er1 >conftest.err
7450   rm -f conftest.er1
7451   cat conftest.err >&5
7452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453   (exit $ac_status); } &&
7454          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456   (eval $ac_try) 2>&5
7457   ac_status=$?
7458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459   (exit $ac_status); }; } &&
7460          { ac_try='test -s conftest.$ac_objext'
7461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462   (eval $ac_try) 2>&5
7463   ac_status=$?
7464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465   (exit $ac_status); }; }; then
7466   ac_hi=$ac_mid
7467 else
7468   echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7470
7471 ac_lo=`expr '(' $ac_mid ')' + 1`
7472 fi
7473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7474 done
7475 case $ac_lo in
7476 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7477 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7478 See \`config.log' for more details." >&5
7479 echo "$as_me: error: cannot compute sizeof (void *), 77
7480 See \`config.log' for more details." >&2;}
7481    { (exit 1); exit 1; }; } ;;
7482 esac
7483 else
7484   if test "$cross_compiling" = yes; then
7485   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
7486 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
7487    { (exit 1); exit 1; }; }
7488 else
7489   cat >conftest.$ac_ext <<_ACEOF
7490 /* confdefs.h.  */
7491 _ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h.  */
7495 $ac_includes_default
7496 long longval () { return (long) (sizeof (void *)); }
7497 unsigned long ulongval () { return (long) (sizeof (void *)); }
7498 #include <stdio.h>
7499 #include <stdlib.h>
7500 int
7501 main ()
7502 {
7503
7504   FILE *f = fopen ("conftest.val", "w");
7505   if (! f)
7506     exit (1);
7507   if (((long) (sizeof (void *))) < 0)
7508     {
7509       long i = longval ();
7510       if (i != ((long) (sizeof (void *))))
7511         exit (1);
7512       fprintf (f, "%ld\n", i);
7513     }
7514   else
7515     {
7516       unsigned long i = ulongval ();
7517       if (i != ((long) (sizeof (void *))))
7518         exit (1);
7519       fprintf (f, "%lu\n", i);
7520     }
7521   exit (ferror (f) || fclose (f) != 0);
7522
7523   ;
7524   return 0;
7525 }
7526 _ACEOF
7527 rm -f conftest$ac_exeext
7528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7529   (eval $ac_link) 2>&5
7530   ac_status=$?
7531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7534   (eval $ac_try) 2>&5
7535   ac_status=$?
7536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537   (exit $ac_status); }; }; then
7538   ac_cv_sizeof_void_p=`cat conftest.val`
7539 else
7540   echo "$as_me: program exited with status $ac_status" >&5
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.$ac_ext >&5
7543
7544 ( exit $ac_status )
7545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7546 See \`config.log' for more details." >&5
7547 echo "$as_me: error: cannot compute sizeof (void *), 77
7548 See \`config.log' for more details." >&2;}
7549    { (exit 1); exit 1; }; }
7550 fi
7551 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7552 fi
7553 fi
7554 rm -f conftest.val
7555 else
7556   ac_cv_sizeof_void_p=0
7557 fi
7558 fi
7559 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7560 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7561 cat >>confdefs.h <<_ACEOF
7562 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7563 _ACEOF
7564
7565  ;;
7566 esac
7567
7568 # Lacking an uint64_t?  Test size of long
7569 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7570   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7571 echo $ECHO_N "checking for long... $ECHO_C" >&6
7572 if test "${ac_cv_type_long+set}" = set; then
7573   echo $ECHO_N "(cached) $ECHO_C" >&6
7574 else
7575   cat >conftest.$ac_ext <<_ACEOF
7576 /* confdefs.h.  */
7577 _ACEOF
7578 cat confdefs.h >>conftest.$ac_ext
7579 cat >>conftest.$ac_ext <<_ACEOF
7580 /* end confdefs.h.  */
7581 $ac_includes_default
7582 int
7583 main ()
7584 {
7585 if ((long *) 0)
7586   return 0;
7587 if (sizeof (long))
7588   return 0;
7589   ;
7590   return 0;
7591 }
7592 _ACEOF
7593 rm -f conftest.$ac_objext
7594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7595   (eval $ac_compile) 2>conftest.er1
7596   ac_status=$?
7597   grep -v '^ *+' conftest.er1 >conftest.err
7598   rm -f conftest.er1
7599   cat conftest.err >&5
7600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601   (exit $ac_status); } &&
7602          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604   (eval $ac_try) 2>&5
7605   ac_status=$?
7606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607   (exit $ac_status); }; } &&
7608          { ac_try='test -s conftest.$ac_objext'
7609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610   (eval $ac_try) 2>&5
7611   ac_status=$?
7612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613   (exit $ac_status); }; }; then
7614   ac_cv_type_long=yes
7615 else
7616   echo "$as_me: failed program was:" >&5
7617 sed 's/^/| /' conftest.$ac_ext >&5
7618
7619 ac_cv_type_long=no
7620 fi
7621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7622 fi
7623 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7624 echo "${ECHO_T}$ac_cv_type_long" >&6
7625
7626 echo "$as_me:$LINENO: checking size of long" >&5
7627 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7628 if test "${ac_cv_sizeof_long+set}" = set; then
7629   echo $ECHO_N "(cached) $ECHO_C" >&6
7630 else
7631   if test "$ac_cv_type_long" = yes; then
7632   # The cast to unsigned long works around a bug in the HP C Compiler
7633   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7634   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7635   # This bug is HP SR number 8606223364.
7636   if test "$cross_compiling" = yes; then
7637   # Depending upon the size, compute the lo and hi bounds.
7638 cat >conftest.$ac_ext <<_ACEOF
7639 /* confdefs.h.  */
7640 _ACEOF
7641 cat confdefs.h >>conftest.$ac_ext
7642 cat >>conftest.$ac_ext <<_ACEOF
7643 /* end confdefs.h.  */
7644 $ac_includes_default
7645 int
7646 main ()
7647 {
7648 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7649 test_array [0] = 0
7650
7651   ;
7652   return 0;
7653 }
7654 _ACEOF
7655 rm -f conftest.$ac_objext
7656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7657   (eval $ac_compile) 2>conftest.er1
7658   ac_status=$?
7659   grep -v '^ *+' conftest.er1 >conftest.err
7660   rm -f conftest.er1
7661   cat conftest.err >&5
7662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663   (exit $ac_status); } &&
7664          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666   (eval $ac_try) 2>&5
7667   ac_status=$?
7668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669   (exit $ac_status); }; } &&
7670          { ac_try='test -s conftest.$ac_objext'
7671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672   (eval $ac_try) 2>&5
7673   ac_status=$?
7674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675   (exit $ac_status); }; }; then
7676   ac_lo=0 ac_mid=0
7677   while :; do
7678     cat >conftest.$ac_ext <<_ACEOF
7679 /* confdefs.h.  */
7680 _ACEOF
7681 cat confdefs.h >>conftest.$ac_ext
7682 cat >>conftest.$ac_ext <<_ACEOF
7683 /* end confdefs.h.  */
7684 $ac_includes_default
7685 int
7686 main ()
7687 {
7688 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7689 test_array [0] = 0
7690
7691   ;
7692   return 0;
7693 }
7694 _ACEOF
7695 rm -f conftest.$ac_objext
7696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7697   (eval $ac_compile) 2>conftest.er1
7698   ac_status=$?
7699   grep -v '^ *+' conftest.er1 >conftest.err
7700   rm -f conftest.er1
7701   cat conftest.err >&5
7702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703   (exit $ac_status); } &&
7704          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706   (eval $ac_try) 2>&5
7707   ac_status=$?
7708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709   (exit $ac_status); }; } &&
7710          { ac_try='test -s conftest.$ac_objext'
7711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712   (eval $ac_try) 2>&5
7713   ac_status=$?
7714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715   (exit $ac_status); }; }; then
7716   ac_hi=$ac_mid; break
7717 else
7718   echo "$as_me: failed program was:" >&5
7719 sed 's/^/| /' conftest.$ac_ext >&5
7720
7721 ac_lo=`expr $ac_mid + 1`
7722                     if test $ac_lo -le $ac_mid; then
7723                       ac_lo= ac_hi=
7724                       break
7725                     fi
7726                     ac_mid=`expr 2 '*' $ac_mid + 1`
7727 fi
7728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7729   done
7730 else
7731   echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.$ac_ext >&5
7733
7734 cat >conftest.$ac_ext <<_ACEOF
7735 /* confdefs.h.  */
7736 _ACEOF
7737 cat confdefs.h >>conftest.$ac_ext
7738 cat >>conftest.$ac_ext <<_ACEOF
7739 /* end confdefs.h.  */
7740 $ac_includes_default
7741 int
7742 main ()
7743 {
7744 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7745 test_array [0] = 0
7746
7747   ;
7748   return 0;
7749 }
7750 _ACEOF
7751 rm -f conftest.$ac_objext
7752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7753   (eval $ac_compile) 2>conftest.er1
7754   ac_status=$?
7755   grep -v '^ *+' conftest.er1 >conftest.err
7756   rm -f conftest.er1
7757   cat conftest.err >&5
7758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759   (exit $ac_status); } &&
7760          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762   (eval $ac_try) 2>&5
7763   ac_status=$?
7764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765   (exit $ac_status); }; } &&
7766          { ac_try='test -s conftest.$ac_objext'
7767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768   (eval $ac_try) 2>&5
7769   ac_status=$?
7770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771   (exit $ac_status); }; }; then
7772   ac_hi=-1 ac_mid=-1
7773   while :; do
7774     cat >conftest.$ac_ext <<_ACEOF
7775 /* confdefs.h.  */
7776 _ACEOF
7777 cat confdefs.h >>conftest.$ac_ext
7778 cat >>conftest.$ac_ext <<_ACEOF
7779 /* end confdefs.h.  */
7780 $ac_includes_default
7781 int
7782 main ()
7783 {
7784 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7785 test_array [0] = 0
7786
7787   ;
7788   return 0;
7789 }
7790 _ACEOF
7791 rm -f conftest.$ac_objext
7792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7793   (eval $ac_compile) 2>conftest.er1
7794   ac_status=$?
7795   grep -v '^ *+' conftest.er1 >conftest.err
7796   rm -f conftest.er1
7797   cat conftest.err >&5
7798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7799   (exit $ac_status); } &&
7800          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7802   (eval $ac_try) 2>&5
7803   ac_status=$?
7804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805   (exit $ac_status); }; } &&
7806          { ac_try='test -s conftest.$ac_objext'
7807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7808   (eval $ac_try) 2>&5
7809   ac_status=$?
7810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811   (exit $ac_status); }; }; then
7812   ac_lo=$ac_mid; break
7813 else
7814   echo "$as_me: failed program was:" >&5
7815 sed 's/^/| /' conftest.$ac_ext >&5
7816
7817 ac_hi=`expr '(' $ac_mid ')' - 1`
7818                        if test $ac_mid -le $ac_hi; then
7819                          ac_lo= ac_hi=
7820                          break
7821                        fi
7822                        ac_mid=`expr 2 '*' $ac_mid`
7823 fi
7824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7825   done
7826 else
7827   echo "$as_me: failed program was:" >&5
7828 sed 's/^/| /' conftest.$ac_ext >&5
7829
7830 ac_lo= ac_hi=
7831 fi
7832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7833 fi
7834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7835 # Binary search between lo and hi bounds.
7836 while test "x$ac_lo" != "x$ac_hi"; do
7837   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7838   cat >conftest.$ac_ext <<_ACEOF
7839 /* confdefs.h.  */
7840 _ACEOF
7841 cat confdefs.h >>conftest.$ac_ext
7842 cat >>conftest.$ac_ext <<_ACEOF
7843 /* end confdefs.h.  */
7844 $ac_includes_default
7845 int
7846 main ()
7847 {
7848 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7849 test_array [0] = 0
7850
7851   ;
7852   return 0;
7853 }
7854 _ACEOF
7855 rm -f conftest.$ac_objext
7856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7857   (eval $ac_compile) 2>conftest.er1
7858   ac_status=$?
7859   grep -v '^ *+' conftest.er1 >conftest.err
7860   rm -f conftest.er1
7861   cat conftest.err >&5
7862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863   (exit $ac_status); } &&
7864          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866   (eval $ac_try) 2>&5
7867   ac_status=$?
7868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869   (exit $ac_status); }; } &&
7870          { ac_try='test -s conftest.$ac_objext'
7871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7872   (eval $ac_try) 2>&5
7873   ac_status=$?
7874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875   (exit $ac_status); }; }; then
7876   ac_hi=$ac_mid
7877 else
7878   echo "$as_me: failed program was:" >&5
7879 sed 's/^/| /' conftest.$ac_ext >&5
7880
7881 ac_lo=`expr '(' $ac_mid ')' + 1`
7882 fi
7883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7884 done
7885 case $ac_lo in
7886 ?*) ac_cv_sizeof_long=$ac_lo;;
7887 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7888 See \`config.log' for more details." >&5
7889 echo "$as_me: error: cannot compute sizeof (long), 77
7890 See \`config.log' for more details." >&2;}
7891    { (exit 1); exit 1; }; } ;;
7892 esac
7893 else
7894   if test "$cross_compiling" = yes; then
7895   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
7896 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
7897    { (exit 1); exit 1; }; }
7898 else
7899   cat >conftest.$ac_ext <<_ACEOF
7900 /* confdefs.h.  */
7901 _ACEOF
7902 cat confdefs.h >>conftest.$ac_ext
7903 cat >>conftest.$ac_ext <<_ACEOF
7904 /* end confdefs.h.  */
7905 $ac_includes_default
7906 long longval () { return (long) (sizeof (long)); }
7907 unsigned long ulongval () { return (long) (sizeof (long)); }
7908 #include <stdio.h>
7909 #include <stdlib.h>
7910 int
7911 main ()
7912 {
7913
7914   FILE *f = fopen ("conftest.val", "w");
7915   if (! f)
7916     exit (1);
7917   if (((long) (sizeof (long))) < 0)
7918     {
7919       long i = longval ();
7920       if (i != ((long) (sizeof (long))))
7921         exit (1);
7922       fprintf (f, "%ld\n", i);
7923     }
7924   else
7925     {
7926       unsigned long i = ulongval ();
7927       if (i != ((long) (sizeof (long))))
7928         exit (1);
7929       fprintf (f, "%lu\n", i);
7930     }
7931   exit (ferror (f) || fclose (f) != 0);
7932
7933   ;
7934   return 0;
7935 }
7936 _ACEOF
7937 rm -f conftest$ac_exeext
7938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7939   (eval $ac_link) 2>&5
7940   ac_status=$?
7941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7944   (eval $ac_try) 2>&5
7945   ac_status=$?
7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947   (exit $ac_status); }; }; then
7948   ac_cv_sizeof_long=`cat conftest.val`
7949 else
7950   echo "$as_me: program exited with status $ac_status" >&5
7951 echo "$as_me: failed program was:" >&5
7952 sed 's/^/| /' conftest.$ac_ext >&5
7953
7954 ( exit $ac_status )
7955 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7956 See \`config.log' for more details." >&5
7957 echo "$as_me: error: cannot compute sizeof (long), 77
7958 See \`config.log' for more details." >&2;}
7959    { (exit 1); exit 1; }; }
7960 fi
7961 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7962 fi
7963 fi
7964 rm -f conftest.val
7965 else
7966   ac_cv_sizeof_long=0
7967 fi
7968 fi
7969 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7970 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7971 cat >>confdefs.h <<_ACEOF
7972 #define SIZEOF_LONG $ac_cv_sizeof_long
7973 _ACEOF
7974
7975  ;;
7976 esac
7977
7978 if test $acx_cv_header_stdint = stddef.h; then
7979   # Lacking a good header?  Test size of everything and deduce all types.
7980   echo "$as_me:$LINENO: checking for int" >&5
7981 echo $ECHO_N "checking for int... $ECHO_C" >&6
7982 if test "${ac_cv_type_int+set}" = set; then
7983   echo $ECHO_N "(cached) $ECHO_C" >&6
7984 else
7985   cat >conftest.$ac_ext <<_ACEOF
7986 /* confdefs.h.  */
7987 _ACEOF
7988 cat confdefs.h >>conftest.$ac_ext
7989 cat >>conftest.$ac_ext <<_ACEOF
7990 /* end confdefs.h.  */
7991 $ac_includes_default
7992 int
7993 main ()
7994 {
7995 if ((int *) 0)
7996   return 0;
7997 if (sizeof (int))
7998   return 0;
7999   ;
8000   return 0;
8001 }
8002 _ACEOF
8003 rm -f conftest.$ac_objext
8004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8005   (eval $ac_compile) 2>conftest.er1
8006   ac_status=$?
8007   grep -v '^ *+' conftest.er1 >conftest.err
8008   rm -f conftest.er1
8009   cat conftest.err >&5
8010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011   (exit $ac_status); } &&
8012          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014   (eval $ac_try) 2>&5
8015   ac_status=$?
8016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017   (exit $ac_status); }; } &&
8018          { ac_try='test -s conftest.$ac_objext'
8019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8020   (eval $ac_try) 2>&5
8021   ac_status=$?
8022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023   (exit $ac_status); }; }; then
8024   ac_cv_type_int=yes
8025 else
8026   echo "$as_me: failed program was:" >&5
8027 sed 's/^/| /' conftest.$ac_ext >&5
8028
8029 ac_cv_type_int=no
8030 fi
8031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8032 fi
8033 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8034 echo "${ECHO_T}$ac_cv_type_int" >&6
8035
8036 echo "$as_me:$LINENO: checking size of int" >&5
8037 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8038 if test "${ac_cv_sizeof_int+set}" = set; then
8039   echo $ECHO_N "(cached) $ECHO_C" >&6
8040 else
8041   if test "$ac_cv_type_int" = yes; then
8042   # The cast to unsigned long works around a bug in the HP C Compiler
8043   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8044   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8045   # This bug is HP SR number 8606223364.
8046   if test "$cross_compiling" = yes; then
8047   # Depending upon the size, compute the lo and hi bounds.
8048 cat >conftest.$ac_ext <<_ACEOF
8049 /* confdefs.h.  */
8050 _ACEOF
8051 cat confdefs.h >>conftest.$ac_ext
8052 cat >>conftest.$ac_ext <<_ACEOF
8053 /* end confdefs.h.  */
8054 $ac_includes_default
8055 int
8056 main ()
8057 {
8058 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8059 test_array [0] = 0
8060
8061   ;
8062   return 0;
8063 }
8064 _ACEOF
8065 rm -f conftest.$ac_objext
8066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8067   (eval $ac_compile) 2>conftest.er1
8068   ac_status=$?
8069   grep -v '^ *+' conftest.er1 >conftest.err
8070   rm -f conftest.er1
8071   cat conftest.err >&5
8072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073   (exit $ac_status); } &&
8074          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8076   (eval $ac_try) 2>&5
8077   ac_status=$?
8078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079   (exit $ac_status); }; } &&
8080          { ac_try='test -s conftest.$ac_objext'
8081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8082   (eval $ac_try) 2>&5
8083   ac_status=$?
8084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085   (exit $ac_status); }; }; then
8086   ac_lo=0 ac_mid=0
8087   while :; do
8088     cat >conftest.$ac_ext <<_ACEOF
8089 /* confdefs.h.  */
8090 _ACEOF
8091 cat confdefs.h >>conftest.$ac_ext
8092 cat >>conftest.$ac_ext <<_ACEOF
8093 /* end confdefs.h.  */
8094 $ac_includes_default
8095 int
8096 main ()
8097 {
8098 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8099 test_array [0] = 0
8100
8101   ;
8102   return 0;
8103 }
8104 _ACEOF
8105 rm -f conftest.$ac_objext
8106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8107   (eval $ac_compile) 2>conftest.er1
8108   ac_status=$?
8109   grep -v '^ *+' conftest.er1 >conftest.err
8110   rm -f conftest.er1
8111   cat conftest.err >&5
8112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113   (exit $ac_status); } &&
8114          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116   (eval $ac_try) 2>&5
8117   ac_status=$?
8118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119   (exit $ac_status); }; } &&
8120          { ac_try='test -s conftest.$ac_objext'
8121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122   (eval $ac_try) 2>&5
8123   ac_status=$?
8124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125   (exit $ac_status); }; }; then
8126   ac_hi=$ac_mid; break
8127 else
8128   echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.$ac_ext >&5
8130
8131 ac_lo=`expr $ac_mid + 1`
8132                     if test $ac_lo -le $ac_mid; then
8133                       ac_lo= ac_hi=
8134                       break
8135                     fi
8136                     ac_mid=`expr 2 '*' $ac_mid + 1`
8137 fi
8138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8139   done
8140 else
8141   echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.$ac_ext >&5
8143
8144 cat >conftest.$ac_ext <<_ACEOF
8145 /* confdefs.h.  */
8146 _ACEOF
8147 cat confdefs.h >>conftest.$ac_ext
8148 cat >>conftest.$ac_ext <<_ACEOF
8149 /* end confdefs.h.  */
8150 $ac_includes_default
8151 int
8152 main ()
8153 {
8154 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8155 test_array [0] = 0
8156
8157   ;
8158   return 0;
8159 }
8160 _ACEOF
8161 rm -f conftest.$ac_objext
8162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8163   (eval $ac_compile) 2>conftest.er1
8164   ac_status=$?
8165   grep -v '^ *+' conftest.er1 >conftest.err
8166   rm -f conftest.er1
8167   cat conftest.err >&5
8168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169   (exit $ac_status); } &&
8170          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8172   (eval $ac_try) 2>&5
8173   ac_status=$?
8174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175   (exit $ac_status); }; } &&
8176          { ac_try='test -s conftest.$ac_objext'
8177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8178   (eval $ac_try) 2>&5
8179   ac_status=$?
8180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181   (exit $ac_status); }; }; then
8182   ac_hi=-1 ac_mid=-1
8183   while :; do
8184     cat >conftest.$ac_ext <<_ACEOF
8185 /* confdefs.h.  */
8186 _ACEOF
8187 cat confdefs.h >>conftest.$ac_ext
8188 cat >>conftest.$ac_ext <<_ACEOF
8189 /* end confdefs.h.  */
8190 $ac_includes_default
8191 int
8192 main ()
8193 {
8194 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8195 test_array [0] = 0
8196
8197   ;
8198   return 0;
8199 }
8200 _ACEOF
8201 rm -f conftest.$ac_objext
8202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8203   (eval $ac_compile) 2>conftest.er1
8204   ac_status=$?
8205   grep -v '^ *+' conftest.er1 >conftest.err
8206   rm -f conftest.er1
8207   cat conftest.err >&5
8208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209   (exit $ac_status); } &&
8210          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8212   (eval $ac_try) 2>&5
8213   ac_status=$?
8214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215   (exit $ac_status); }; } &&
8216          { ac_try='test -s conftest.$ac_objext'
8217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218   (eval $ac_try) 2>&5
8219   ac_status=$?
8220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221   (exit $ac_status); }; }; then
8222   ac_lo=$ac_mid; break
8223 else
8224   echo "$as_me: failed program was:" >&5
8225 sed 's/^/| /' conftest.$ac_ext >&5
8226
8227 ac_hi=`expr '(' $ac_mid ')' - 1`
8228                        if test $ac_mid -le $ac_hi; then
8229                          ac_lo= ac_hi=
8230                          break
8231                        fi
8232                        ac_mid=`expr 2 '*' $ac_mid`
8233 fi
8234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8235   done
8236 else
8237   echo "$as_me: failed program was:" >&5
8238 sed 's/^/| /' conftest.$ac_ext >&5
8239
8240 ac_lo= ac_hi=
8241 fi
8242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8243 fi
8244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8245 # Binary search between lo and hi bounds.
8246 while test "x$ac_lo" != "x$ac_hi"; do
8247   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8248   cat >conftest.$ac_ext <<_ACEOF
8249 /* confdefs.h.  */
8250 _ACEOF
8251 cat confdefs.h >>conftest.$ac_ext
8252 cat >>conftest.$ac_ext <<_ACEOF
8253 /* end confdefs.h.  */
8254 $ac_includes_default
8255 int
8256 main ()
8257 {
8258 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8259 test_array [0] = 0
8260
8261   ;
8262   return 0;
8263 }
8264 _ACEOF
8265 rm -f conftest.$ac_objext
8266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8267   (eval $ac_compile) 2>conftest.er1
8268   ac_status=$?
8269   grep -v '^ *+' conftest.er1 >conftest.err
8270   rm -f conftest.er1
8271   cat conftest.err >&5
8272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273   (exit $ac_status); } &&
8274          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276   (eval $ac_try) 2>&5
8277   ac_status=$?
8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279   (exit $ac_status); }; } &&
8280          { ac_try='test -s conftest.$ac_objext'
8281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8282   (eval $ac_try) 2>&5
8283   ac_status=$?
8284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285   (exit $ac_status); }; }; then
8286   ac_hi=$ac_mid
8287 else
8288   echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8290
8291 ac_lo=`expr '(' $ac_mid ')' + 1`
8292 fi
8293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8294 done
8295 case $ac_lo in
8296 ?*) ac_cv_sizeof_int=$ac_lo;;
8297 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8298 See \`config.log' for more details." >&5
8299 echo "$as_me: error: cannot compute sizeof (int), 77
8300 See \`config.log' for more details." >&2;}
8301    { (exit 1); exit 1; }; } ;;
8302 esac
8303 else
8304   if test "$cross_compiling" = yes; then
8305   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
8306 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
8307    { (exit 1); exit 1; }; }
8308 else
8309   cat >conftest.$ac_ext <<_ACEOF
8310 /* confdefs.h.  */
8311 _ACEOF
8312 cat confdefs.h >>conftest.$ac_ext
8313 cat >>conftest.$ac_ext <<_ACEOF
8314 /* end confdefs.h.  */
8315 $ac_includes_default
8316 long longval () { return (long) (sizeof (int)); }
8317 unsigned long ulongval () { return (long) (sizeof (int)); }
8318 #include <stdio.h>
8319 #include <stdlib.h>
8320 int
8321 main ()
8322 {
8323
8324   FILE *f = fopen ("conftest.val", "w");
8325   if (! f)
8326     exit (1);
8327   if (((long) (sizeof (int))) < 0)
8328     {
8329       long i = longval ();
8330       if (i != ((long) (sizeof (int))))
8331         exit (1);
8332       fprintf (f, "%ld\n", i);
8333     }
8334   else
8335     {
8336       unsigned long i = ulongval ();
8337       if (i != ((long) (sizeof (int))))
8338         exit (1);
8339       fprintf (f, "%lu\n", i);
8340     }
8341   exit (ferror (f) || fclose (f) != 0);
8342
8343   ;
8344   return 0;
8345 }
8346 _ACEOF
8347 rm -f conftest$ac_exeext
8348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8349   (eval $ac_link) 2>&5
8350   ac_status=$?
8351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354   (eval $ac_try) 2>&5
8355   ac_status=$?
8356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357   (exit $ac_status); }; }; then
8358   ac_cv_sizeof_int=`cat conftest.val`
8359 else
8360   echo "$as_me: program exited with status $ac_status" >&5
8361 echo "$as_me: failed program was:" >&5
8362 sed 's/^/| /' conftest.$ac_ext >&5
8363
8364 ( exit $ac_status )
8365 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8366 See \`config.log' for more details." >&5
8367 echo "$as_me: error: cannot compute sizeof (int), 77
8368 See \`config.log' for more details." >&2;}
8369    { (exit 1); exit 1; }; }
8370 fi
8371 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8372 fi
8373 fi
8374 rm -f conftest.val
8375 else
8376   ac_cv_sizeof_int=0
8377 fi
8378 fi
8379 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8380 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8381 cat >>confdefs.h <<_ACEOF
8382 #define SIZEOF_INT $ac_cv_sizeof_int
8383 _ACEOF
8384
8385
8386   echo "$as_me:$LINENO: checking for short" >&5
8387 echo $ECHO_N "checking for short... $ECHO_C" >&6
8388 if test "${ac_cv_type_short+set}" = set; then
8389   echo $ECHO_N "(cached) $ECHO_C" >&6
8390 else
8391   cat >conftest.$ac_ext <<_ACEOF
8392 /* confdefs.h.  */
8393 _ACEOF
8394 cat confdefs.h >>conftest.$ac_ext
8395 cat >>conftest.$ac_ext <<_ACEOF
8396 /* end confdefs.h.  */
8397 $ac_includes_default
8398 int
8399 main ()
8400 {
8401 if ((short *) 0)
8402   return 0;
8403 if (sizeof (short))
8404   return 0;
8405   ;
8406   return 0;
8407 }
8408 _ACEOF
8409 rm -f conftest.$ac_objext
8410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8411   (eval $ac_compile) 2>conftest.er1
8412   ac_status=$?
8413   grep -v '^ *+' conftest.er1 >conftest.err
8414   rm -f conftest.er1
8415   cat conftest.err >&5
8416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417   (exit $ac_status); } &&
8418          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420   (eval $ac_try) 2>&5
8421   ac_status=$?
8422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423   (exit $ac_status); }; } &&
8424          { ac_try='test -s conftest.$ac_objext'
8425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426   (eval $ac_try) 2>&5
8427   ac_status=$?
8428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429   (exit $ac_status); }; }; then
8430   ac_cv_type_short=yes
8431 else
8432   echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8434
8435 ac_cv_type_short=no
8436 fi
8437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8438 fi
8439 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8440 echo "${ECHO_T}$ac_cv_type_short" >&6
8441
8442 echo "$as_me:$LINENO: checking size of short" >&5
8443 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8444 if test "${ac_cv_sizeof_short+set}" = set; then
8445   echo $ECHO_N "(cached) $ECHO_C" >&6
8446 else
8447   if test "$ac_cv_type_short" = yes; then
8448   # The cast to unsigned long works around a bug in the HP C Compiler
8449   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8450   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8451   # This bug is HP SR number 8606223364.
8452   if test "$cross_compiling" = yes; then
8453   # Depending upon the size, compute the lo and hi bounds.
8454 cat >conftest.$ac_ext <<_ACEOF
8455 /* confdefs.h.  */
8456 _ACEOF
8457 cat confdefs.h >>conftest.$ac_ext
8458 cat >>conftest.$ac_ext <<_ACEOF
8459 /* end confdefs.h.  */
8460 $ac_includes_default
8461 int
8462 main ()
8463 {
8464 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8465 test_array [0] = 0
8466
8467   ;
8468   return 0;
8469 }
8470 _ACEOF
8471 rm -f conftest.$ac_objext
8472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8473   (eval $ac_compile) 2>conftest.er1
8474   ac_status=$?
8475   grep -v '^ *+' conftest.er1 >conftest.err
8476   rm -f conftest.er1
8477   cat conftest.err >&5
8478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479   (exit $ac_status); } &&
8480          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482   (eval $ac_try) 2>&5
8483   ac_status=$?
8484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485   (exit $ac_status); }; } &&
8486          { ac_try='test -s conftest.$ac_objext'
8487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488   (eval $ac_try) 2>&5
8489   ac_status=$?
8490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491   (exit $ac_status); }; }; then
8492   ac_lo=0 ac_mid=0
8493   while :; do
8494     cat >conftest.$ac_ext <<_ACEOF
8495 /* confdefs.h.  */
8496 _ACEOF
8497 cat confdefs.h >>conftest.$ac_ext
8498 cat >>conftest.$ac_ext <<_ACEOF
8499 /* end confdefs.h.  */
8500 $ac_includes_default
8501 int
8502 main ()
8503 {
8504 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8505 test_array [0] = 0
8506
8507   ;
8508   return 0;
8509 }
8510 _ACEOF
8511 rm -f conftest.$ac_objext
8512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8513   (eval $ac_compile) 2>conftest.er1
8514   ac_status=$?
8515   grep -v '^ *+' conftest.er1 >conftest.err
8516   rm -f conftest.er1
8517   cat conftest.err >&5
8518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519   (exit $ac_status); } &&
8520          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522   (eval $ac_try) 2>&5
8523   ac_status=$?
8524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525   (exit $ac_status); }; } &&
8526          { ac_try='test -s conftest.$ac_objext'
8527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528   (eval $ac_try) 2>&5
8529   ac_status=$?
8530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531   (exit $ac_status); }; }; then
8532   ac_hi=$ac_mid; break
8533 else
8534   echo "$as_me: failed program was:" >&5
8535 sed 's/^/| /' conftest.$ac_ext >&5
8536
8537 ac_lo=`expr $ac_mid + 1`
8538                     if test $ac_lo -le $ac_mid; then
8539                       ac_lo= ac_hi=
8540                       break
8541                     fi
8542                     ac_mid=`expr 2 '*' $ac_mid + 1`
8543 fi
8544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8545   done
8546 else
8547   echo "$as_me: failed program was:" >&5
8548 sed 's/^/| /' conftest.$ac_ext >&5
8549
8550 cat >conftest.$ac_ext <<_ACEOF
8551 /* confdefs.h.  */
8552 _ACEOF
8553 cat confdefs.h >>conftest.$ac_ext
8554 cat >>conftest.$ac_ext <<_ACEOF
8555 /* end confdefs.h.  */
8556 $ac_includes_default
8557 int
8558 main ()
8559 {
8560 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8561 test_array [0] = 0
8562
8563   ;
8564   return 0;
8565 }
8566 _ACEOF
8567 rm -f conftest.$ac_objext
8568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8569   (eval $ac_compile) 2>conftest.er1
8570   ac_status=$?
8571   grep -v '^ *+' conftest.er1 >conftest.err
8572   rm -f conftest.er1
8573   cat conftest.err >&5
8574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575   (exit $ac_status); } &&
8576          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8578   (eval $ac_try) 2>&5
8579   ac_status=$?
8580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581   (exit $ac_status); }; } &&
8582          { ac_try='test -s conftest.$ac_objext'
8583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8584   (eval $ac_try) 2>&5
8585   ac_status=$?
8586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587   (exit $ac_status); }; }; then
8588   ac_hi=-1 ac_mid=-1
8589   while :; do
8590     cat >conftest.$ac_ext <<_ACEOF
8591 /* confdefs.h.  */
8592 _ACEOF
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h.  */
8596 $ac_includes_default
8597 int
8598 main ()
8599 {
8600 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8601 test_array [0] = 0
8602
8603   ;
8604   return 0;
8605 }
8606 _ACEOF
8607 rm -f conftest.$ac_objext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8609   (eval $ac_compile) 2>conftest.er1
8610   ac_status=$?
8611   grep -v '^ *+' conftest.er1 >conftest.err
8612   rm -f conftest.er1
8613   cat conftest.err >&5
8614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615   (exit $ac_status); } &&
8616          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618   (eval $ac_try) 2>&5
8619   ac_status=$?
8620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621   (exit $ac_status); }; } &&
8622          { ac_try='test -s conftest.$ac_objext'
8623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8624   (eval $ac_try) 2>&5
8625   ac_status=$?
8626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627   (exit $ac_status); }; }; then
8628   ac_lo=$ac_mid; break
8629 else
8630   echo "$as_me: failed program was:" >&5
8631 sed 's/^/| /' conftest.$ac_ext >&5
8632
8633 ac_hi=`expr '(' $ac_mid ')' - 1`
8634                        if test $ac_mid -le $ac_hi; then
8635                          ac_lo= ac_hi=
8636                          break
8637                        fi
8638                        ac_mid=`expr 2 '*' $ac_mid`
8639 fi
8640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8641   done
8642 else
8643   echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.$ac_ext >&5
8645
8646 ac_lo= ac_hi=
8647 fi
8648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8649 fi
8650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8651 # Binary search between lo and hi bounds.
8652 while test "x$ac_lo" != "x$ac_hi"; do
8653   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8654   cat >conftest.$ac_ext <<_ACEOF
8655 /* confdefs.h.  */
8656 _ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h.  */
8660 $ac_includes_default
8661 int
8662 main ()
8663 {
8664 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8665 test_array [0] = 0
8666
8667   ;
8668   return 0;
8669 }
8670 _ACEOF
8671 rm -f conftest.$ac_objext
8672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8673   (eval $ac_compile) 2>conftest.er1
8674   ac_status=$?
8675   grep -v '^ *+' conftest.er1 >conftest.err
8676   rm -f conftest.er1
8677   cat conftest.err >&5
8678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679   (exit $ac_status); } &&
8680          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682   (eval $ac_try) 2>&5
8683   ac_status=$?
8684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685   (exit $ac_status); }; } &&
8686          { ac_try='test -s conftest.$ac_objext'
8687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688   (eval $ac_try) 2>&5
8689   ac_status=$?
8690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691   (exit $ac_status); }; }; then
8692   ac_hi=$ac_mid
8693 else
8694   echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8696
8697 ac_lo=`expr '(' $ac_mid ')' + 1`
8698 fi
8699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8700 done
8701 case $ac_lo in
8702 ?*) ac_cv_sizeof_short=$ac_lo;;
8703 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8704 See \`config.log' for more details." >&5
8705 echo "$as_me: error: cannot compute sizeof (short), 77
8706 See \`config.log' for more details." >&2;}
8707    { (exit 1); exit 1; }; } ;;
8708 esac
8709 else
8710   if test "$cross_compiling" = yes; then
8711   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
8712 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
8713    { (exit 1); exit 1; }; }
8714 else
8715   cat >conftest.$ac_ext <<_ACEOF
8716 /* confdefs.h.  */
8717 _ACEOF
8718 cat confdefs.h >>conftest.$ac_ext
8719 cat >>conftest.$ac_ext <<_ACEOF
8720 /* end confdefs.h.  */
8721 $ac_includes_default
8722 long longval () { return (long) (sizeof (short)); }
8723 unsigned long ulongval () { return (long) (sizeof (short)); }
8724 #include <stdio.h>
8725 #include <stdlib.h>
8726 int
8727 main ()
8728 {
8729
8730   FILE *f = fopen ("conftest.val", "w");
8731   if (! f)
8732     exit (1);
8733   if (((long) (sizeof (short))) < 0)
8734     {
8735       long i = longval ();
8736       if (i != ((long) (sizeof (short))))
8737         exit (1);
8738       fprintf (f, "%ld\n", i);
8739     }
8740   else
8741     {
8742       unsigned long i = ulongval ();
8743       if (i != ((long) (sizeof (short))))
8744         exit (1);
8745       fprintf (f, "%lu\n", i);
8746     }
8747   exit (ferror (f) || fclose (f) != 0);
8748
8749   ;
8750   return 0;
8751 }
8752 _ACEOF
8753 rm -f conftest$ac_exeext
8754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8755   (eval $ac_link) 2>&5
8756   ac_status=$?
8757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760   (eval $ac_try) 2>&5
8761   ac_status=$?
8762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763   (exit $ac_status); }; }; then
8764   ac_cv_sizeof_short=`cat conftest.val`
8765 else
8766   echo "$as_me: program exited with status $ac_status" >&5
8767 echo "$as_me: failed program was:" >&5
8768 sed 's/^/| /' conftest.$ac_ext >&5
8769
8770 ( exit $ac_status )
8771 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8772 See \`config.log' for more details." >&5
8773 echo "$as_me: error: cannot compute sizeof (short), 77
8774 See \`config.log' for more details." >&2;}
8775    { (exit 1); exit 1; }; }
8776 fi
8777 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8778 fi
8779 fi
8780 rm -f conftest.val
8781 else
8782   ac_cv_sizeof_short=0
8783 fi
8784 fi
8785 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8786 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8787 cat >>confdefs.h <<_ACEOF
8788 #define SIZEOF_SHORT $ac_cv_sizeof_short
8789 _ACEOF
8790
8791
8792   echo "$as_me:$LINENO: checking for char" >&5
8793 echo $ECHO_N "checking for char... $ECHO_C" >&6
8794 if test "${ac_cv_type_char+set}" = set; then
8795   echo $ECHO_N "(cached) $ECHO_C" >&6
8796 else
8797   cat >conftest.$ac_ext <<_ACEOF
8798 /* confdefs.h.  */
8799 _ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h.  */
8803 $ac_includes_default
8804 int
8805 main ()
8806 {
8807 if ((char *) 0)
8808   return 0;
8809 if (sizeof (char))
8810   return 0;
8811   ;
8812   return 0;
8813 }
8814 _ACEOF
8815 rm -f conftest.$ac_objext
8816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8817   (eval $ac_compile) 2>conftest.er1
8818   ac_status=$?
8819   grep -v '^ *+' conftest.er1 >conftest.err
8820   rm -f conftest.er1
8821   cat conftest.err >&5
8822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823   (exit $ac_status); } &&
8824          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826   (eval $ac_try) 2>&5
8827   ac_status=$?
8828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829   (exit $ac_status); }; } &&
8830          { ac_try='test -s conftest.$ac_objext'
8831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8832   (eval $ac_try) 2>&5
8833   ac_status=$?
8834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835   (exit $ac_status); }; }; then
8836   ac_cv_type_char=yes
8837 else
8838   echo "$as_me: failed program was:" >&5
8839 sed 's/^/| /' conftest.$ac_ext >&5
8840
8841 ac_cv_type_char=no
8842 fi
8843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8844 fi
8845 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
8846 echo "${ECHO_T}$ac_cv_type_char" >&6
8847
8848 echo "$as_me:$LINENO: checking size of char" >&5
8849 echo $ECHO_N "checking size of char... $ECHO_C" >&6
8850 if test "${ac_cv_sizeof_char+set}" = set; then
8851   echo $ECHO_N "(cached) $ECHO_C" >&6
8852 else
8853   if test "$ac_cv_type_char" = yes; then
8854   # The cast to unsigned long works around a bug in the HP C Compiler
8855   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8856   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8857   # This bug is HP SR number 8606223364.
8858   if test "$cross_compiling" = yes; then
8859   # Depending upon the size, compute the lo and hi bounds.
8860 cat >conftest.$ac_ext <<_ACEOF
8861 /* confdefs.h.  */
8862 _ACEOF
8863 cat confdefs.h >>conftest.$ac_ext
8864 cat >>conftest.$ac_ext <<_ACEOF
8865 /* end confdefs.h.  */
8866 $ac_includes_default
8867 int
8868 main ()
8869 {
8870 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
8871 test_array [0] = 0
8872
8873   ;
8874   return 0;
8875 }
8876 _ACEOF
8877 rm -f conftest.$ac_objext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8879   (eval $ac_compile) 2>conftest.er1
8880   ac_status=$?
8881   grep -v '^ *+' conftest.er1 >conftest.err
8882   rm -f conftest.er1
8883   cat conftest.err >&5
8884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885   (exit $ac_status); } &&
8886          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8888   (eval $ac_try) 2>&5
8889   ac_status=$?
8890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891   (exit $ac_status); }; } &&
8892          { ac_try='test -s conftest.$ac_objext'
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_lo=0 ac_mid=0
8899   while :; do
8900     cat >conftest.$ac_ext <<_ACEOF
8901 /* confdefs.h.  */
8902 _ACEOF
8903 cat confdefs.h >>conftest.$ac_ext
8904 cat >>conftest.$ac_ext <<_ACEOF
8905 /* end confdefs.h.  */
8906 $ac_includes_default
8907 int
8908 main ()
8909 {
8910 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
8911 test_array [0] = 0
8912
8913   ;
8914   return 0;
8915 }
8916 _ACEOF
8917 rm -f conftest.$ac_objext
8918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8919   (eval $ac_compile) 2>conftest.er1
8920   ac_status=$?
8921   grep -v '^ *+' conftest.er1 >conftest.err
8922   rm -f conftest.er1
8923   cat conftest.err >&5
8924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925   (exit $ac_status); } &&
8926          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928   (eval $ac_try) 2>&5
8929   ac_status=$?
8930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931   (exit $ac_status); }; } &&
8932          { ac_try='test -s conftest.$ac_objext'
8933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934   (eval $ac_try) 2>&5
8935   ac_status=$?
8936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937   (exit $ac_status); }; }; then
8938   ac_hi=$ac_mid; break
8939 else
8940   echo "$as_me: failed program was:" >&5
8941 sed 's/^/| /' conftest.$ac_ext >&5
8942
8943 ac_lo=`expr $ac_mid + 1`
8944                     if test $ac_lo -le $ac_mid; then
8945                       ac_lo= ac_hi=
8946                       break
8947                     fi
8948                     ac_mid=`expr 2 '*' $ac_mid + 1`
8949 fi
8950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8951   done
8952 else
8953   echo "$as_me: failed program was:" >&5
8954 sed 's/^/| /' conftest.$ac_ext >&5
8955
8956 cat >conftest.$ac_ext <<_ACEOF
8957 /* confdefs.h.  */
8958 _ACEOF
8959 cat confdefs.h >>conftest.$ac_ext
8960 cat >>conftest.$ac_ext <<_ACEOF
8961 /* end confdefs.h.  */
8962 $ac_includes_default
8963 int
8964 main ()
8965 {
8966 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
8967 test_array [0] = 0
8968
8969   ;
8970   return 0;
8971 }
8972 _ACEOF
8973 rm -f conftest.$ac_objext
8974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8975   (eval $ac_compile) 2>conftest.er1
8976   ac_status=$?
8977   grep -v '^ *+' conftest.er1 >conftest.err
8978   rm -f conftest.er1
8979   cat conftest.err >&5
8980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981   (exit $ac_status); } &&
8982          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984   (eval $ac_try) 2>&5
8985   ac_status=$?
8986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987   (exit $ac_status); }; } &&
8988          { ac_try='test -s conftest.$ac_objext'
8989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990   (eval $ac_try) 2>&5
8991   ac_status=$?
8992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993   (exit $ac_status); }; }; then
8994   ac_hi=-1 ac_mid=-1
8995   while :; do
8996     cat >conftest.$ac_ext <<_ACEOF
8997 /* confdefs.h.  */
8998 _ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h.  */
9002 $ac_includes_default
9003 int
9004 main ()
9005 {
9006 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9007 test_array [0] = 0
9008
9009   ;
9010   return 0;
9011 }
9012 _ACEOF
9013 rm -f conftest.$ac_objext
9014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9015   (eval $ac_compile) 2>conftest.er1
9016   ac_status=$?
9017   grep -v '^ *+' conftest.er1 >conftest.err
9018   rm -f conftest.er1
9019   cat conftest.err >&5
9020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021   (exit $ac_status); } &&
9022          { ac_try='test -z "$ac_c_werror_flag"                   || 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=$ac_mid; break
9035 else
9036   echo "$as_me: failed program was:" >&5
9037 sed 's/^/| /' conftest.$ac_ext >&5
9038
9039 ac_hi=`expr '(' $ac_mid ')' - 1`
9040                        if test $ac_mid -le $ac_hi; then
9041                          ac_lo= ac_hi=
9042                          break
9043                        fi
9044                        ac_mid=`expr 2 '*' $ac_mid`
9045 fi
9046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9047   done
9048 else
9049   echo "$as_me: failed program was:" >&5
9050 sed 's/^/| /' conftest.$ac_ext >&5
9051
9052 ac_lo= ac_hi=
9053 fi
9054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9055 fi
9056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9057 # Binary search between lo and hi bounds.
9058 while test "x$ac_lo" != "x$ac_hi"; do
9059   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9060   cat >conftest.$ac_ext <<_ACEOF
9061 /* confdefs.h.  */
9062 _ACEOF
9063 cat confdefs.h >>conftest.$ac_ext
9064 cat >>conftest.$ac_ext <<_ACEOF
9065 /* end confdefs.h.  */
9066 $ac_includes_default
9067 int
9068 main ()
9069 {
9070 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9071 test_array [0] = 0
9072
9073   ;
9074   return 0;
9075 }
9076 _ACEOF
9077 rm -f conftest.$ac_objext
9078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9079   (eval $ac_compile) 2>conftest.er1
9080   ac_status=$?
9081   grep -v '^ *+' conftest.er1 >conftest.err
9082   rm -f conftest.er1
9083   cat conftest.err >&5
9084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085   (exit $ac_status); } &&
9086          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9088   (eval $ac_try) 2>&5
9089   ac_status=$?
9090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091   (exit $ac_status); }; } &&
9092          { ac_try='test -s conftest.$ac_objext'
9093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9094   (eval $ac_try) 2>&5
9095   ac_status=$?
9096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097   (exit $ac_status); }; }; then
9098   ac_hi=$ac_mid
9099 else
9100   echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9102
9103 ac_lo=`expr '(' $ac_mid ')' + 1`
9104 fi
9105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9106 done
9107 case $ac_lo in
9108 ?*) ac_cv_sizeof_char=$ac_lo;;
9109 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9110 See \`config.log' for more details." >&5
9111 echo "$as_me: error: cannot compute sizeof (char), 77
9112 See \`config.log' for more details." >&2;}
9113    { (exit 1); exit 1; }; } ;;
9114 esac
9115 else
9116   if test "$cross_compiling" = yes; then
9117   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
9118 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
9119    { (exit 1); exit 1; }; }
9120 else
9121   cat >conftest.$ac_ext <<_ACEOF
9122 /* confdefs.h.  */
9123 _ACEOF
9124 cat confdefs.h >>conftest.$ac_ext
9125 cat >>conftest.$ac_ext <<_ACEOF
9126 /* end confdefs.h.  */
9127 $ac_includes_default
9128 long longval () { return (long) (sizeof (char)); }
9129 unsigned long ulongval () { return (long) (sizeof (char)); }
9130 #include <stdio.h>
9131 #include <stdlib.h>
9132 int
9133 main ()
9134 {
9135
9136   FILE *f = fopen ("conftest.val", "w");
9137   if (! f)
9138     exit (1);
9139   if (((long) (sizeof (char))) < 0)
9140     {
9141       long i = longval ();
9142       if (i != ((long) (sizeof (char))))
9143         exit (1);
9144       fprintf (f, "%ld\n", i);
9145     }
9146   else
9147     {
9148       unsigned long i = ulongval ();
9149       if (i != ((long) (sizeof (char))))
9150         exit (1);
9151       fprintf (f, "%lu\n", i);
9152     }
9153   exit (ferror (f) || fclose (f) != 0);
9154
9155   ;
9156   return 0;
9157 }
9158 _ACEOF
9159 rm -f conftest$ac_exeext
9160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9161   (eval $ac_link) 2>&5
9162   ac_status=$?
9163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9166   (eval $ac_try) 2>&5
9167   ac_status=$?
9168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169   (exit $ac_status); }; }; then
9170   ac_cv_sizeof_char=`cat conftest.val`
9171 else
9172   echo "$as_me: program exited with status $ac_status" >&5
9173 echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.$ac_ext >&5
9175
9176 ( exit $ac_status )
9177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9178 See \`config.log' for more details." >&5
9179 echo "$as_me: error: cannot compute sizeof (char), 77
9180 See \`config.log' for more details." >&2;}
9181    { (exit 1); exit 1; }; }
9182 fi
9183 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9184 fi
9185 fi
9186 rm -f conftest.val
9187 else
9188   ac_cv_sizeof_char=0
9189 fi
9190 fi
9191 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9192 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9193 cat >>confdefs.h <<_ACEOF
9194 #define SIZEOF_CHAR $ac_cv_sizeof_char
9195 _ACEOF
9196
9197
9198
9199   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9200 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9201   case "$ac_cv_sizeof_char" in
9202     1) acx_cv_type_int8_t=char ;;
9203     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9204 echo "$as_me: error: no 8-bit type" >&2;}
9205    { (exit please report a bug); exit please report a bug; }; }
9206   esac
9207   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9208 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9209
9210   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9211 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9212   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9213     2:*) acx_cv_type_int16_t=int ;;
9214     *:2) acx_cv_type_int16_t=short ;;
9215     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9216 echo "$as_me: error: no 16-bit type" >&2;}
9217    { (exit please report a bug); exit please report a bug; }; }
9218   esac
9219   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9220 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9221
9222   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9223 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9224   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9225     4:*) acx_cv_type_int32_t=int ;;
9226     *:4) acx_cv_type_int32_t=long ;;
9227     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9228 echo "$as_me: error: no 32-bit type" >&2;}
9229    { (exit please report a bug); exit please report a bug; }; }
9230   esac
9231   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9232 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9233 fi
9234
9235 # These tests are here to make the output prettier
9236
9237 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9238   case "$ac_cv_sizeof_long" in
9239     8) acx_cv_type_int64_t=long ;;
9240   esac
9241   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9242 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9243   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9244 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9245 fi
9246
9247 # Now we can use the above types
9248
9249 if test "$ac_cv_type_uintptr_t" != yes; then
9250   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9251 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9252   case $ac_cv_sizeof_void_p in
9253     2) acx_cv_type_intptr_t=int16_t ;;
9254     4) acx_cv_type_intptr_t=int32_t ;;
9255     8) acx_cv_type_intptr_t=int64_t ;;
9256     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9257 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9258    { (exit please report a bug); exit please report a bug; }; }
9259   esac
9260   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9261 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9262 fi
9263
9264 # ----------------- done all checks, emit header -------------
9265           ac_config_commands="$ac_config_commands gstdint.h"
9266
9267
9268
9269
9270 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9271 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9272 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9273   echo $ECHO_N "(cached) $ECHO_C" >&6
9274 else
9275   cat >conftest.$ac_ext <<_ACEOF
9276 /* confdefs.h.  */
9277 _ACEOF
9278 cat confdefs.h >>conftest.$ac_ext
9279 cat >>conftest.$ac_ext <<_ACEOF
9280 /* end confdefs.h.  */
9281 $ac_includes_default
9282 int
9283 main ()
9284 {
9285 static struct stat ac_aggr;
9286 if (ac_aggr.st_blksize)
9287 return 0;
9288   ;
9289   return 0;
9290 }
9291 _ACEOF
9292 rm -f conftest.$ac_objext
9293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9294   (eval $ac_compile) 2>conftest.er1
9295   ac_status=$?
9296   grep -v '^ *+' conftest.er1 >conftest.err
9297   rm -f conftest.er1
9298   cat conftest.err >&5
9299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300   (exit $ac_status); } &&
9301          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9303   (eval $ac_try) 2>&5
9304   ac_status=$?
9305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306   (exit $ac_status); }; } &&
9307          { ac_try='test -s conftest.$ac_objext'
9308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309   (eval $ac_try) 2>&5
9310   ac_status=$?
9311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312   (exit $ac_status); }; }; then
9313   ac_cv_member_struct_stat_st_blksize=yes
9314 else
9315   echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.$ac_ext >&5
9317
9318 cat >conftest.$ac_ext <<_ACEOF
9319 /* confdefs.h.  */
9320 _ACEOF
9321 cat confdefs.h >>conftest.$ac_ext
9322 cat >>conftest.$ac_ext <<_ACEOF
9323 /* end confdefs.h.  */
9324 $ac_includes_default
9325 int
9326 main ()
9327 {
9328 static struct stat ac_aggr;
9329 if (sizeof ac_aggr.st_blksize)
9330 return 0;
9331   ;
9332   return 0;
9333 }
9334 _ACEOF
9335 rm -f conftest.$ac_objext
9336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9337   (eval $ac_compile) 2>conftest.er1
9338   ac_status=$?
9339   grep -v '^ *+' conftest.er1 >conftest.err
9340   rm -f conftest.er1
9341   cat conftest.err >&5
9342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343   (exit $ac_status); } &&
9344          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9346   (eval $ac_try) 2>&5
9347   ac_status=$?
9348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349   (exit $ac_status); }; } &&
9350          { ac_try='test -s conftest.$ac_objext'
9351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9352   (eval $ac_try) 2>&5
9353   ac_status=$?
9354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355   (exit $ac_status); }; }; then
9356   ac_cv_member_struct_stat_st_blksize=yes
9357 else
9358   echo "$as_me: failed program was:" >&5
9359 sed 's/^/| /' conftest.$ac_ext >&5
9360
9361 ac_cv_member_struct_stat_st_blksize=no
9362 fi
9363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9364 fi
9365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9366 fi
9367 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9368 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9369 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9370
9371 cat >>confdefs.h <<_ACEOF
9372 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9373 _ACEOF
9374
9375
9376 fi
9377
9378 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9379 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9380 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9381   echo $ECHO_N "(cached) $ECHO_C" >&6
9382 else
9383   cat >conftest.$ac_ext <<_ACEOF
9384 /* confdefs.h.  */
9385 _ACEOF
9386 cat confdefs.h >>conftest.$ac_ext
9387 cat >>conftest.$ac_ext <<_ACEOF
9388 /* end confdefs.h.  */
9389 $ac_includes_default
9390 int
9391 main ()
9392 {
9393 static struct stat ac_aggr;
9394 if (ac_aggr.st_blocks)
9395 return 0;
9396   ;
9397   return 0;
9398 }
9399 _ACEOF
9400 rm -f conftest.$ac_objext
9401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9402   (eval $ac_compile) 2>conftest.er1
9403   ac_status=$?
9404   grep -v '^ *+' conftest.er1 >conftest.err
9405   rm -f conftest.er1
9406   cat conftest.err >&5
9407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408   (exit $ac_status); } &&
9409          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9411   (eval $ac_try) 2>&5
9412   ac_status=$?
9413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414   (exit $ac_status); }; } &&
9415          { ac_try='test -s conftest.$ac_objext'
9416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417   (eval $ac_try) 2>&5
9418   ac_status=$?
9419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420   (exit $ac_status); }; }; then
9421   ac_cv_member_struct_stat_st_blocks=yes
9422 else
9423   echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.$ac_ext >&5
9425
9426 cat >conftest.$ac_ext <<_ACEOF
9427 /* confdefs.h.  */
9428 _ACEOF
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h.  */
9432 $ac_includes_default
9433 int
9434 main ()
9435 {
9436 static struct stat ac_aggr;
9437 if (sizeof ac_aggr.st_blocks)
9438 return 0;
9439   ;
9440   return 0;
9441 }
9442 _ACEOF
9443 rm -f conftest.$ac_objext
9444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9445   (eval $ac_compile) 2>conftest.er1
9446   ac_status=$?
9447   grep -v '^ *+' conftest.er1 >conftest.err
9448   rm -f conftest.er1
9449   cat conftest.err >&5
9450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451   (exit $ac_status); } &&
9452          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454   (eval $ac_try) 2>&5
9455   ac_status=$?
9456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457   (exit $ac_status); }; } &&
9458          { ac_try='test -s conftest.$ac_objext'
9459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460   (eval $ac_try) 2>&5
9461   ac_status=$?
9462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463   (exit $ac_status); }; }; then
9464   ac_cv_member_struct_stat_st_blocks=yes
9465 else
9466   echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9468
9469 ac_cv_member_struct_stat_st_blocks=no
9470 fi
9471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9472 fi
9473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9474 fi
9475 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9476 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9477 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9478
9479 cat >>confdefs.h <<_ACEOF
9480 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9481 _ACEOF
9482
9483
9484 fi
9485
9486 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9487 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9488 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9489   echo $ECHO_N "(cached) $ECHO_C" >&6
9490 else
9491   cat >conftest.$ac_ext <<_ACEOF
9492 /* confdefs.h.  */
9493 _ACEOF
9494 cat confdefs.h >>conftest.$ac_ext
9495 cat >>conftest.$ac_ext <<_ACEOF
9496 /* end confdefs.h.  */
9497 $ac_includes_default
9498 int
9499 main ()
9500 {
9501 static struct stat ac_aggr;
9502 if (ac_aggr.st_rdev)
9503 return 0;
9504   ;
9505   return 0;
9506 }
9507 _ACEOF
9508 rm -f conftest.$ac_objext
9509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9510   (eval $ac_compile) 2>conftest.er1
9511   ac_status=$?
9512   grep -v '^ *+' conftest.er1 >conftest.err
9513   rm -f conftest.er1
9514   cat conftest.err >&5
9515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516   (exit $ac_status); } &&
9517          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9519   (eval $ac_try) 2>&5
9520   ac_status=$?
9521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522   (exit $ac_status); }; } &&
9523          { ac_try='test -s conftest.$ac_objext'
9524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525   (eval $ac_try) 2>&5
9526   ac_status=$?
9527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528   (exit $ac_status); }; }; then
9529   ac_cv_member_struct_stat_st_rdev=yes
9530 else
9531   echo "$as_me: failed program was:" >&5
9532 sed 's/^/| /' conftest.$ac_ext >&5
9533
9534 cat >conftest.$ac_ext <<_ACEOF
9535 /* confdefs.h.  */
9536 _ACEOF
9537 cat confdefs.h >>conftest.$ac_ext
9538 cat >>conftest.$ac_ext <<_ACEOF
9539 /* end confdefs.h.  */
9540 $ac_includes_default
9541 int
9542 main ()
9543 {
9544 static struct stat ac_aggr;
9545 if (sizeof ac_aggr.st_rdev)
9546 return 0;
9547   ;
9548   return 0;
9549 }
9550 _ACEOF
9551 rm -f conftest.$ac_objext
9552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9553   (eval $ac_compile) 2>conftest.er1
9554   ac_status=$?
9555   grep -v '^ *+' conftest.er1 >conftest.err
9556   rm -f conftest.er1
9557   cat conftest.err >&5
9558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559   (exit $ac_status); } &&
9560          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
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); }; } &&
9566          { ac_try='test -s conftest.$ac_objext'
9567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9568   (eval $ac_try) 2>&5
9569   ac_status=$?
9570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571   (exit $ac_status); }; }; then
9572   ac_cv_member_struct_stat_st_rdev=yes
9573 else
9574   echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9576
9577 ac_cv_member_struct_stat_st_rdev=no
9578 fi
9579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9580 fi
9581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9582 fi
9583 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9584 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9585 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9586
9587 cat >>confdefs.h <<_ACEOF
9588 #define HAVE_STRUCT_STAT_ST_RDEV 1
9589 _ACEOF
9590
9591
9592 fi
9593
9594
9595 # Check for library functions.
9596
9597
9598
9599
9600
9601
9602
9603
9604 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9605 do
9606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9607 echo "$as_me:$LINENO: checking for $ac_func" >&5
9608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9609 if eval "test \"\${$as_ac_var+set}\" = set"; then
9610   echo $ECHO_N "(cached) $ECHO_C" >&6
9611 else
9612   if test x$gcc_no_link = xyes; then
9613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9615    { (exit 1); exit 1; }; }
9616 fi
9617 cat >conftest.$ac_ext <<_ACEOF
9618 /* confdefs.h.  */
9619 _ACEOF
9620 cat confdefs.h >>conftest.$ac_ext
9621 cat >>conftest.$ac_ext <<_ACEOF
9622 /* end confdefs.h.  */
9623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9625 #define $ac_func innocuous_$ac_func
9626
9627 /* System header to define __stub macros and hopefully few prototypes,
9628     which can conflict with char $ac_func (); below.
9629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9630     <limits.h> exists even on freestanding compilers.  */
9631
9632 #ifdef __STDC__
9633 # include <limits.h>
9634 #else
9635 # include <assert.h>
9636 #endif
9637
9638 #undef $ac_func
9639
9640 /* Override any gcc2 internal prototype to avoid an error.  */
9641 #ifdef __cplusplus
9642 extern "C"
9643 {
9644 #endif
9645 /* We use char because int might match the return type of a gcc2
9646    builtin and then its argument prototype would still apply.  */
9647 char $ac_func ();
9648 /* The GNU C library defines this for functions which it implements
9649     to always fail with ENOSYS.  Some functions are actually named
9650     something starting with __ and the normal name is an alias.  */
9651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9652 choke me
9653 #else
9654 char (*f) () = $ac_func;
9655 #endif
9656 #ifdef __cplusplus
9657 }
9658 #endif
9659
9660 int
9661 main ()
9662 {
9663 return f != $ac_func;
9664   ;
9665   return 0;
9666 }
9667 _ACEOF
9668 rm -f conftest.$ac_objext conftest$ac_exeext
9669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9670   (eval $ac_link) 2>conftest.er1
9671   ac_status=$?
9672   grep -v '^ *+' conftest.er1 >conftest.err
9673   rm -f conftest.er1
9674   cat conftest.err >&5
9675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676   (exit $ac_status); } &&
9677          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679   (eval $ac_try) 2>&5
9680   ac_status=$?
9681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682   (exit $ac_status); }; } &&
9683          { ac_try='test -s conftest$ac_exeext'
9684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685   (eval $ac_try) 2>&5
9686   ac_status=$?
9687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688   (exit $ac_status); }; }; then
9689   eval "$as_ac_var=yes"
9690 else
9691   echo "$as_me: failed program was:" >&5
9692 sed 's/^/| /' conftest.$ac_ext >&5
9693
9694 eval "$as_ac_var=no"
9695 fi
9696 rm -f conftest.err conftest.$ac_objext \
9697       conftest$ac_exeext conftest.$ac_ext
9698 fi
9699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9701 if test `eval echo '${'$as_ac_var'}'` = yes; then
9702   cat >>confdefs.h <<_ACEOF
9703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9704 _ACEOF
9705
9706 fi
9707 done
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
9718 do
9719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9720 echo "$as_me:$LINENO: checking for $ac_func" >&5
9721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9722 if eval "test \"\${$as_ac_var+set}\" = set"; then
9723   echo $ECHO_N "(cached) $ECHO_C" >&6
9724 else
9725   if test x$gcc_no_link = xyes; then
9726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9728    { (exit 1); exit 1; }; }
9729 fi
9730 cat >conftest.$ac_ext <<_ACEOF
9731 /* confdefs.h.  */
9732 _ACEOF
9733 cat confdefs.h >>conftest.$ac_ext
9734 cat >>conftest.$ac_ext <<_ACEOF
9735 /* end confdefs.h.  */
9736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9738 #define $ac_func innocuous_$ac_func
9739
9740 /* System header to define __stub macros and hopefully few prototypes,
9741     which can conflict with char $ac_func (); below.
9742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9743     <limits.h> exists even on freestanding compilers.  */
9744
9745 #ifdef __STDC__
9746 # include <limits.h>
9747 #else
9748 # include <assert.h>
9749 #endif
9750
9751 #undef $ac_func
9752
9753 /* Override any gcc2 internal prototype to avoid an error.  */
9754 #ifdef __cplusplus
9755 extern "C"
9756 {
9757 #endif
9758 /* We use char because int might match the return type of a gcc2
9759    builtin and then its argument prototype would still apply.  */
9760 char $ac_func ();
9761 /* The GNU C library defines this for functions which it implements
9762     to always fail with ENOSYS.  Some functions are actually named
9763     something starting with __ and the normal name is an alias.  */
9764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9765 choke me
9766 #else
9767 char (*f) () = $ac_func;
9768 #endif
9769 #ifdef __cplusplus
9770 }
9771 #endif
9772
9773 int
9774 main ()
9775 {
9776 return f != $ac_func;
9777   ;
9778   return 0;
9779 }
9780 _ACEOF
9781 rm -f conftest.$ac_objext conftest$ac_exeext
9782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9783   (eval $ac_link) 2>conftest.er1
9784   ac_status=$?
9785   grep -v '^ *+' conftest.er1 >conftest.err
9786   rm -f conftest.er1
9787   cat conftest.err >&5
9788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789   (exit $ac_status); } &&
9790          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9792   (eval $ac_try) 2>&5
9793   ac_status=$?
9794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795   (exit $ac_status); }; } &&
9796          { ac_try='test -s conftest$ac_exeext'
9797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9798   (eval $ac_try) 2>&5
9799   ac_status=$?
9800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801   (exit $ac_status); }; }; then
9802   eval "$as_ac_var=yes"
9803 else
9804   echo "$as_me: failed program was:" >&5
9805 sed 's/^/| /' conftest.$ac_ext >&5
9806
9807 eval "$as_ac_var=no"
9808 fi
9809 rm -f conftest.err conftest.$ac_objext \
9810       conftest$ac_exeext conftest.$ac_ext
9811 fi
9812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9814 if test `eval echo '${'$as_ac_var'}'` = yes; then
9815   cat >>confdefs.h <<_ACEOF
9816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9817 _ACEOF
9818
9819 fi
9820 done
9821
9822
9823
9824
9825
9826
9827
9828 for ac_func in sleep time ttyname signal alarm ctime
9829 do
9830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9831 echo "$as_me:$LINENO: checking for $ac_func" >&5
9832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9833 if eval "test \"\${$as_ac_var+set}\" = set"; then
9834   echo $ECHO_N "(cached) $ECHO_C" >&6
9835 else
9836   if test x$gcc_no_link = xyes; then
9837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9839    { (exit 1); exit 1; }; }
9840 fi
9841 cat >conftest.$ac_ext <<_ACEOF
9842 /* confdefs.h.  */
9843 _ACEOF
9844 cat confdefs.h >>conftest.$ac_ext
9845 cat >>conftest.$ac_ext <<_ACEOF
9846 /* end confdefs.h.  */
9847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9849 #define $ac_func innocuous_$ac_func
9850
9851 /* System header to define __stub macros and hopefully few prototypes,
9852     which can conflict with char $ac_func (); below.
9853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9854     <limits.h> exists even on freestanding compilers.  */
9855
9856 #ifdef __STDC__
9857 # include <limits.h>
9858 #else
9859 # include <assert.h>
9860 #endif
9861
9862 #undef $ac_func
9863
9864 /* Override any gcc2 internal prototype to avoid an error.  */
9865 #ifdef __cplusplus
9866 extern "C"
9867 {
9868 #endif
9869 /* We use char because int might match the return type of a gcc2
9870    builtin and then its argument prototype would still apply.  */
9871 char $ac_func ();
9872 /* The GNU C library defines this for functions which it implements
9873     to always fail with ENOSYS.  Some functions are actually named
9874     something starting with __ and the normal name is an alias.  */
9875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9876 choke me
9877 #else
9878 char (*f) () = $ac_func;
9879 #endif
9880 #ifdef __cplusplus
9881 }
9882 #endif
9883
9884 int
9885 main ()
9886 {
9887 return f != $ac_func;
9888   ;
9889   return 0;
9890 }
9891 _ACEOF
9892 rm -f conftest.$ac_objext conftest$ac_exeext
9893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9894   (eval $ac_link) 2>conftest.er1
9895   ac_status=$?
9896   grep -v '^ *+' conftest.er1 >conftest.err
9897   rm -f conftest.er1
9898   cat conftest.err >&5
9899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900   (exit $ac_status); } &&
9901          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903   (eval $ac_try) 2>&5
9904   ac_status=$?
9905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906   (exit $ac_status); }; } &&
9907          { ac_try='test -s conftest$ac_exeext'
9908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909   (eval $ac_try) 2>&5
9910   ac_status=$?
9911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912   (exit $ac_status); }; }; then
9913   eval "$as_ac_var=yes"
9914 else
9915   echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.$ac_ext >&5
9917
9918 eval "$as_ac_var=no"
9919 fi
9920 rm -f conftest.err conftest.$ac_objext \
9921       conftest$ac_exeext conftest.$ac_ext
9922 fi
9923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9925 if test `eval echo '${'$as_ac_var'}'` = yes; then
9926   cat >>confdefs.h <<_ACEOF
9927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9928 _ACEOF
9929
9930 fi
9931 done
9932
9933
9934 # Check libc for getgid, getpid, getuid
9935 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
9936 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
9937 if test "${ac_cv_lib_c_getgid+set}" = set; then
9938   echo $ECHO_N "(cached) $ECHO_C" >&6
9939 else
9940   ac_check_lib_save_LIBS=$LIBS
9941 LIBS="-lc  $LIBS"
9942 if test x$gcc_no_link = xyes; then
9943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9945    { (exit 1); exit 1; }; }
9946 fi
9947 cat >conftest.$ac_ext <<_ACEOF
9948 /* confdefs.h.  */
9949 _ACEOF
9950 cat confdefs.h >>conftest.$ac_ext
9951 cat >>conftest.$ac_ext <<_ACEOF
9952 /* end confdefs.h.  */
9953
9954 /* Override any gcc2 internal prototype to avoid an error.  */
9955 #ifdef __cplusplus
9956 extern "C"
9957 #endif
9958 /* We use char because int might match the return type of a gcc2
9959    builtin and then its argument prototype would still apply.  */
9960 char getgid ();
9961 int
9962 main ()
9963 {
9964 getgid ();
9965   ;
9966   return 0;
9967 }
9968 _ACEOF
9969 rm -f conftest.$ac_objext conftest$ac_exeext
9970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9971   (eval $ac_link) 2>conftest.er1
9972   ac_status=$?
9973   grep -v '^ *+' conftest.er1 >conftest.err
9974   rm -f conftest.er1
9975   cat conftest.err >&5
9976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977   (exit $ac_status); } &&
9978          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9980   (eval $ac_try) 2>&5
9981   ac_status=$?
9982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983   (exit $ac_status); }; } &&
9984          { ac_try='test -s conftest$ac_exeext'
9985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9986   (eval $ac_try) 2>&5
9987   ac_status=$?
9988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989   (exit $ac_status); }; }; then
9990   ac_cv_lib_c_getgid=yes
9991 else
9992   echo "$as_me: failed program was:" >&5
9993 sed 's/^/| /' conftest.$ac_ext >&5
9994
9995 ac_cv_lib_c_getgid=no
9996 fi
9997 rm -f conftest.err conftest.$ac_objext \
9998       conftest$ac_exeext conftest.$ac_ext
9999 LIBS=$ac_check_lib_save_LIBS
10000 fi
10001 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10002 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10003 if test $ac_cv_lib_c_getgid = yes; then
10004
10005 cat >>confdefs.h <<\_ACEOF
10006 #define HAVE_GETGID 1
10007 _ACEOF
10008
10009 fi
10010
10011 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10012 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10013 if test "${ac_cv_lib_c_getpid+set}" = set; then
10014   echo $ECHO_N "(cached) $ECHO_C" >&6
10015 else
10016   ac_check_lib_save_LIBS=$LIBS
10017 LIBS="-lc  $LIBS"
10018 if test x$gcc_no_link = xyes; then
10019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10021    { (exit 1); exit 1; }; }
10022 fi
10023 cat >conftest.$ac_ext <<_ACEOF
10024 /* confdefs.h.  */
10025 _ACEOF
10026 cat confdefs.h >>conftest.$ac_ext
10027 cat >>conftest.$ac_ext <<_ACEOF
10028 /* end confdefs.h.  */
10029
10030 /* Override any gcc2 internal prototype to avoid an error.  */
10031 #ifdef __cplusplus
10032 extern "C"
10033 #endif
10034 /* We use char because int might match the return type of a gcc2
10035    builtin and then its argument prototype would still apply.  */
10036 char getpid ();
10037 int
10038 main ()
10039 {
10040 getpid ();
10041   ;
10042   return 0;
10043 }
10044 _ACEOF
10045 rm -f conftest.$ac_objext conftest$ac_exeext
10046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10047   (eval $ac_link) 2>conftest.er1
10048   ac_status=$?
10049   grep -v '^ *+' conftest.er1 >conftest.err
10050   rm -f conftest.er1
10051   cat conftest.err >&5
10052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053   (exit $ac_status); } &&
10054          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10056   (eval $ac_try) 2>&5
10057   ac_status=$?
10058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059   (exit $ac_status); }; } &&
10060          { ac_try='test -s conftest$ac_exeext'
10061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10062   (eval $ac_try) 2>&5
10063   ac_status=$?
10064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065   (exit $ac_status); }; }; then
10066   ac_cv_lib_c_getpid=yes
10067 else
10068   echo "$as_me: failed program was:" >&5
10069 sed 's/^/| /' conftest.$ac_ext >&5
10070
10071 ac_cv_lib_c_getpid=no
10072 fi
10073 rm -f conftest.err conftest.$ac_objext \
10074       conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_lib_save_LIBS
10076 fi
10077 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10078 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10079 if test $ac_cv_lib_c_getpid = yes; then
10080
10081 cat >>confdefs.h <<\_ACEOF
10082 #define HAVE_GETPID 1
10083 _ACEOF
10084
10085 fi
10086
10087 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10088 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10089 if test "${ac_cv_lib_c_getuid+set}" = set; then
10090   echo $ECHO_N "(cached) $ECHO_C" >&6
10091 else
10092   ac_check_lib_save_LIBS=$LIBS
10093 LIBS="-lc  $LIBS"
10094 if test x$gcc_no_link = xyes; then
10095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10097    { (exit 1); exit 1; }; }
10098 fi
10099 cat >conftest.$ac_ext <<_ACEOF
10100 /* confdefs.h.  */
10101 _ACEOF
10102 cat confdefs.h >>conftest.$ac_ext
10103 cat >>conftest.$ac_ext <<_ACEOF
10104 /* end confdefs.h.  */
10105
10106 /* Override any gcc2 internal prototype to avoid an error.  */
10107 #ifdef __cplusplus
10108 extern "C"
10109 #endif
10110 /* We use char because int might match the return type of a gcc2
10111    builtin and then its argument prototype would still apply.  */
10112 char getuid ();
10113 int
10114 main ()
10115 {
10116 getuid ();
10117   ;
10118   return 0;
10119 }
10120 _ACEOF
10121 rm -f conftest.$ac_objext conftest$ac_exeext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10123   (eval $ac_link) 2>conftest.er1
10124   ac_status=$?
10125   grep -v '^ *+' conftest.er1 >conftest.err
10126   rm -f conftest.er1
10127   cat conftest.err >&5
10128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129   (exit $ac_status); } &&
10130          { ac_try='test -z "$ac_c_werror_flag"                   || 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_getuid=yes
10143 else
10144   echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.$ac_ext >&5
10146
10147 ac_cv_lib_c_getuid=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_getuid" >&5
10154 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10155 if test $ac_cv_lib_c_getuid = yes; then
10156
10157 cat >>confdefs.h <<\_ACEOF
10158 #define HAVE_GETUID 1
10159 _ACEOF
10160
10161 fi
10162
10163
10164 # Check for C99 (and other IEEE) math functions
10165 # ??? This list seems awful long. Is there a better way to test for these?
10166 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10167 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10168 if test "${ac_cv_lib_m_acosf+set}" = set; then
10169   echo $ECHO_N "(cached) $ECHO_C" >&6
10170 else
10171   ac_check_lib_save_LIBS=$LIBS
10172 LIBS="-lm  $LIBS"
10173 if test x$gcc_no_link = xyes; then
10174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10176    { (exit 1); exit 1; }; }
10177 fi
10178 cat >conftest.$ac_ext <<_ACEOF
10179 /* confdefs.h.  */
10180 _ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h.  */
10184
10185 /* Override any gcc2 internal prototype to avoid an error.  */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 /* We use char because int might match the return type of a gcc2
10190    builtin and then its argument prototype would still apply.  */
10191 char acosf ();
10192 int
10193 main ()
10194 {
10195 acosf ();
10196   ;
10197   return 0;
10198 }
10199 _ACEOF
10200 rm -f conftest.$ac_objext conftest$ac_exeext
10201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202   (eval $ac_link) 2>conftest.er1
10203   ac_status=$?
10204   grep -v '^ *+' conftest.er1 >conftest.err
10205   rm -f conftest.er1
10206   cat conftest.err >&5
10207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208   (exit $ac_status); } &&
10209          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211   (eval $ac_try) 2>&5
10212   ac_status=$?
10213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214   (exit $ac_status); }; } &&
10215          { ac_try='test -s conftest$ac_exeext'
10216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217   (eval $ac_try) 2>&5
10218   ac_status=$?
10219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220   (exit $ac_status); }; }; then
10221   ac_cv_lib_m_acosf=yes
10222 else
10223   echo "$as_me: failed program was:" >&5
10224 sed 's/^/| /' conftest.$ac_ext >&5
10225
10226 ac_cv_lib_m_acosf=no
10227 fi
10228 rm -f conftest.err conftest.$ac_objext \
10229       conftest$ac_exeext conftest.$ac_ext
10230 LIBS=$ac_check_lib_save_LIBS
10231 fi
10232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10233 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10234 if test $ac_cv_lib_m_acosf = yes; then
10235
10236 cat >>confdefs.h <<\_ACEOF
10237 #define HAVE_ACOSF 1
10238 _ACEOF
10239
10240 fi
10241
10242 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10243 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10244 if test "${ac_cv_lib_m_acos+set}" = set; then
10245   echo $ECHO_N "(cached) $ECHO_C" >&6
10246 else
10247   ac_check_lib_save_LIBS=$LIBS
10248 LIBS="-lm  $LIBS"
10249 if test x$gcc_no_link = xyes; then
10250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10252    { (exit 1); exit 1; }; }
10253 fi
10254 cat >conftest.$ac_ext <<_ACEOF
10255 /* confdefs.h.  */
10256 _ACEOF
10257 cat confdefs.h >>conftest.$ac_ext
10258 cat >>conftest.$ac_ext <<_ACEOF
10259 /* end confdefs.h.  */
10260
10261 /* Override any gcc2 internal prototype to avoid an error.  */
10262 #ifdef __cplusplus
10263 extern "C"
10264 #endif
10265 /* We use char because int might match the return type of a gcc2
10266    builtin and then its argument prototype would still apply.  */
10267 char acos ();
10268 int
10269 main ()
10270 {
10271 acos ();
10272   ;
10273   return 0;
10274 }
10275 _ACEOF
10276 rm -f conftest.$ac_objext conftest$ac_exeext
10277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10278   (eval $ac_link) 2>conftest.er1
10279   ac_status=$?
10280   grep -v '^ *+' conftest.er1 >conftest.err
10281   rm -f conftest.er1
10282   cat conftest.err >&5
10283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284   (exit $ac_status); } &&
10285          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10287   (eval $ac_try) 2>&5
10288   ac_status=$?
10289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10290   (exit $ac_status); }; } &&
10291          { ac_try='test -s conftest$ac_exeext'
10292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10293   (eval $ac_try) 2>&5
10294   ac_status=$?
10295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296   (exit $ac_status); }; }; then
10297   ac_cv_lib_m_acos=yes
10298 else
10299   echo "$as_me: failed program was:" >&5
10300 sed 's/^/| /' conftest.$ac_ext >&5
10301
10302 ac_cv_lib_m_acos=no
10303 fi
10304 rm -f conftest.err conftest.$ac_objext \
10305       conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_lib_save_LIBS
10307 fi
10308 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10309 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10310 if test $ac_cv_lib_m_acos = yes; then
10311
10312 cat >>confdefs.h <<\_ACEOF
10313 #define HAVE_ACOS 1
10314 _ACEOF
10315
10316 fi
10317
10318 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10319 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10320 if test "${ac_cv_lib_m_acosl+set}" = set; then
10321   echo $ECHO_N "(cached) $ECHO_C" >&6
10322 else
10323   ac_check_lib_save_LIBS=$LIBS
10324 LIBS="-lm  $LIBS"
10325 if test x$gcc_no_link = xyes; then
10326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10328    { (exit 1); exit 1; }; }
10329 fi
10330 cat >conftest.$ac_ext <<_ACEOF
10331 /* confdefs.h.  */
10332 _ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h.  */
10336
10337 /* Override any gcc2 internal prototype to avoid an error.  */
10338 #ifdef __cplusplus
10339 extern "C"
10340 #endif
10341 /* We use char because int might match the return type of a gcc2
10342    builtin and then its argument prototype would still apply.  */
10343 char acosl ();
10344 int
10345 main ()
10346 {
10347 acosl ();
10348   ;
10349   return 0;
10350 }
10351 _ACEOF
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10354   (eval $ac_link) 2>conftest.er1
10355   ac_status=$?
10356   grep -v '^ *+' conftest.er1 >conftest.err
10357   rm -f conftest.er1
10358   cat conftest.err >&5
10359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360   (exit $ac_status); } &&
10361          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10363   (eval $ac_try) 2>&5
10364   ac_status=$?
10365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366   (exit $ac_status); }; } &&
10367          { ac_try='test -s conftest$ac_exeext'
10368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369   (eval $ac_try) 2>&5
10370   ac_status=$?
10371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372   (exit $ac_status); }; }; then
10373   ac_cv_lib_m_acosl=yes
10374 else
10375   echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.$ac_ext >&5
10377
10378 ac_cv_lib_m_acosl=no
10379 fi
10380 rm -f conftest.err conftest.$ac_objext \
10381       conftest$ac_exeext conftest.$ac_ext
10382 LIBS=$ac_check_lib_save_LIBS
10383 fi
10384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10385 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10386 if test $ac_cv_lib_m_acosl = yes; then
10387
10388 cat >>confdefs.h <<\_ACEOF
10389 #define HAVE_ACOSL 1
10390 _ACEOF
10391
10392 fi
10393
10394 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10395 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10396 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10397   echo $ECHO_N "(cached) $ECHO_C" >&6
10398 else
10399   ac_check_lib_save_LIBS=$LIBS
10400 LIBS="-lm  $LIBS"
10401 if test x$gcc_no_link = xyes; then
10402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10404    { (exit 1); exit 1; }; }
10405 fi
10406 cat >conftest.$ac_ext <<_ACEOF
10407 /* confdefs.h.  */
10408 _ACEOF
10409 cat confdefs.h >>conftest.$ac_ext
10410 cat >>conftest.$ac_ext <<_ACEOF
10411 /* end confdefs.h.  */
10412
10413 /* Override any gcc2 internal prototype to avoid an error.  */
10414 #ifdef __cplusplus
10415 extern "C"
10416 #endif
10417 /* We use char because int might match the return type of a gcc2
10418    builtin and then its argument prototype would still apply.  */
10419 char acoshf ();
10420 int
10421 main ()
10422 {
10423 acoshf ();
10424   ;
10425   return 0;
10426 }
10427 _ACEOF
10428 rm -f conftest.$ac_objext conftest$ac_exeext
10429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10430   (eval $ac_link) 2>conftest.er1
10431   ac_status=$?
10432   grep -v '^ *+' conftest.er1 >conftest.err
10433   rm -f conftest.er1
10434   cat conftest.err >&5
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); } &&
10437          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439   (eval $ac_try) 2>&5
10440   ac_status=$?
10441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442   (exit $ac_status); }; } &&
10443          { ac_try='test -s conftest$ac_exeext'
10444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445   (eval $ac_try) 2>&5
10446   ac_status=$?
10447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448   (exit $ac_status); }; }; then
10449   ac_cv_lib_m_acoshf=yes
10450 else
10451   echo "$as_me: failed program was:" >&5
10452 sed 's/^/| /' conftest.$ac_ext >&5
10453
10454 ac_cv_lib_m_acoshf=no
10455 fi
10456 rm -f conftest.err conftest.$ac_objext \
10457       conftest$ac_exeext conftest.$ac_ext
10458 LIBS=$ac_check_lib_save_LIBS
10459 fi
10460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10461 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10462 if test $ac_cv_lib_m_acoshf = yes; then
10463
10464 cat >>confdefs.h <<\_ACEOF
10465 #define HAVE_ACOSHF 1
10466 _ACEOF
10467
10468 fi
10469
10470 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10471 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10472 if test "${ac_cv_lib_m_acosh+set}" = set; then
10473   echo $ECHO_N "(cached) $ECHO_C" >&6
10474 else
10475   ac_check_lib_save_LIBS=$LIBS
10476 LIBS="-lm  $LIBS"
10477 if test x$gcc_no_link = xyes; then
10478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10480    { (exit 1); exit 1; }; }
10481 fi
10482 cat >conftest.$ac_ext <<_ACEOF
10483 /* confdefs.h.  */
10484 _ACEOF
10485 cat confdefs.h >>conftest.$ac_ext
10486 cat >>conftest.$ac_ext <<_ACEOF
10487 /* end confdefs.h.  */
10488
10489 /* Override any gcc2 internal prototype to avoid an error.  */
10490 #ifdef __cplusplus
10491 extern "C"
10492 #endif
10493 /* We use char because int might match the return type of a gcc2
10494    builtin and then its argument prototype would still apply.  */
10495 char acosh ();
10496 int
10497 main ()
10498 {
10499 acosh ();
10500   ;
10501   return 0;
10502 }
10503 _ACEOF
10504 rm -f conftest.$ac_objext conftest$ac_exeext
10505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10506   (eval $ac_link) 2>conftest.er1
10507   ac_status=$?
10508   grep -v '^ *+' conftest.er1 >conftest.err
10509   rm -f conftest.er1
10510   cat conftest.err >&5
10511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512   (exit $ac_status); } &&
10513          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10515   (eval $ac_try) 2>&5
10516   ac_status=$?
10517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518   (exit $ac_status); }; } &&
10519          { ac_try='test -s conftest$ac_exeext'
10520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521   (eval $ac_try) 2>&5
10522   ac_status=$?
10523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524   (exit $ac_status); }; }; then
10525   ac_cv_lib_m_acosh=yes
10526 else
10527   echo "$as_me: failed program was:" >&5
10528 sed 's/^/| /' conftest.$ac_ext >&5
10529
10530 ac_cv_lib_m_acosh=no
10531 fi
10532 rm -f conftest.err conftest.$ac_objext \
10533       conftest$ac_exeext conftest.$ac_ext
10534 LIBS=$ac_check_lib_save_LIBS
10535 fi
10536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
10537 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
10538 if test $ac_cv_lib_m_acosh = yes; then
10539
10540 cat >>confdefs.h <<\_ACEOF
10541 #define HAVE_ACOSH 1
10542 _ACEOF
10543
10544 fi
10545
10546 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
10547 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
10548 if test "${ac_cv_lib_m_acoshl+set}" = set; then
10549   echo $ECHO_N "(cached) $ECHO_C" >&6
10550 else
10551   ac_check_lib_save_LIBS=$LIBS
10552 LIBS="-lm  $LIBS"
10553 if test x$gcc_no_link = xyes; then
10554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10556    { (exit 1); exit 1; }; }
10557 fi
10558 cat >conftest.$ac_ext <<_ACEOF
10559 /* confdefs.h.  */
10560 _ACEOF
10561 cat confdefs.h >>conftest.$ac_ext
10562 cat >>conftest.$ac_ext <<_ACEOF
10563 /* end confdefs.h.  */
10564
10565 /* Override any gcc2 internal prototype to avoid an error.  */
10566 #ifdef __cplusplus
10567 extern "C"
10568 #endif
10569 /* We use char because int might match the return type of a gcc2
10570    builtin and then its argument prototype would still apply.  */
10571 char acoshl ();
10572 int
10573 main ()
10574 {
10575 acoshl ();
10576   ;
10577   return 0;
10578 }
10579 _ACEOF
10580 rm -f conftest.$ac_objext conftest$ac_exeext
10581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10582   (eval $ac_link) 2>conftest.er1
10583   ac_status=$?
10584   grep -v '^ *+' conftest.er1 >conftest.err
10585   rm -f conftest.er1
10586   cat conftest.err >&5
10587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588   (exit $ac_status); } &&
10589          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591   (eval $ac_try) 2>&5
10592   ac_status=$?
10593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594   (exit $ac_status); }; } &&
10595          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10601   ac_cv_lib_m_acoshl=yes
10602 else
10603   echo "$as_me: failed program was:" >&5
10604 sed 's/^/| /' conftest.$ac_ext >&5
10605
10606 ac_cv_lib_m_acoshl=no
10607 fi
10608 rm -f conftest.err conftest.$ac_objext \
10609       conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_lib_save_LIBS
10611 fi
10612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
10613 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
10614 if test $ac_cv_lib_m_acoshl = yes; then
10615
10616 cat >>confdefs.h <<\_ACEOF
10617 #define HAVE_ACOSHL 1
10618 _ACEOF
10619
10620 fi
10621
10622 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
10623 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
10624 if test "${ac_cv_lib_m_asinf+set}" = set; then
10625   echo $ECHO_N "(cached) $ECHO_C" >&6
10626 else
10627   ac_check_lib_save_LIBS=$LIBS
10628 LIBS="-lm  $LIBS"
10629 if test x$gcc_no_link = xyes; then
10630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10632    { (exit 1); exit 1; }; }
10633 fi
10634 cat >conftest.$ac_ext <<_ACEOF
10635 /* confdefs.h.  */
10636 _ACEOF
10637 cat confdefs.h >>conftest.$ac_ext
10638 cat >>conftest.$ac_ext <<_ACEOF
10639 /* end confdefs.h.  */
10640
10641 /* Override any gcc2 internal prototype to avoid an error.  */
10642 #ifdef __cplusplus
10643 extern "C"
10644 #endif
10645 /* We use char because int might match the return type of a gcc2
10646    builtin and then its argument prototype would still apply.  */
10647 char asinf ();
10648 int
10649 main ()
10650 {
10651 asinf ();
10652   ;
10653   return 0;
10654 }
10655 _ACEOF
10656 rm -f conftest.$ac_objext conftest$ac_exeext
10657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10658   (eval $ac_link) 2>conftest.er1
10659   ac_status=$?
10660   grep -v '^ *+' conftest.er1 >conftest.err
10661   rm -f conftest.er1
10662   cat conftest.err >&5
10663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664   (exit $ac_status); } &&
10665          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667   (eval $ac_try) 2>&5
10668   ac_status=$?
10669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670   (exit $ac_status); }; } &&
10671          { ac_try='test -s conftest$ac_exeext'
10672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673   (eval $ac_try) 2>&5
10674   ac_status=$?
10675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676   (exit $ac_status); }; }; then
10677   ac_cv_lib_m_asinf=yes
10678 else
10679   echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10681
10682 ac_cv_lib_m_asinf=no
10683 fi
10684 rm -f conftest.err conftest.$ac_objext \
10685       conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_lib_save_LIBS
10687 fi
10688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
10689 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
10690 if test $ac_cv_lib_m_asinf = yes; then
10691
10692 cat >>confdefs.h <<\_ACEOF
10693 #define HAVE_ASINF 1
10694 _ACEOF
10695
10696 fi
10697
10698 echo "$as_me:$LINENO: checking for asin in -lm" >&5
10699 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
10700 if test "${ac_cv_lib_m_asin+set}" = set; then
10701   echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703   ac_check_lib_save_LIBS=$LIBS
10704 LIBS="-lm  $LIBS"
10705 if test x$gcc_no_link = xyes; then
10706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10708    { (exit 1); exit 1; }; }
10709 fi
10710 cat >conftest.$ac_ext <<_ACEOF
10711 /* confdefs.h.  */
10712 _ACEOF
10713 cat confdefs.h >>conftest.$ac_ext
10714 cat >>conftest.$ac_ext <<_ACEOF
10715 /* end confdefs.h.  */
10716
10717 /* Override any gcc2 internal prototype to avoid an error.  */
10718 #ifdef __cplusplus
10719 extern "C"
10720 #endif
10721 /* We use char because int might match the return type of a gcc2
10722    builtin and then its argument prototype would still apply.  */
10723 char asin ();
10724 int
10725 main ()
10726 {
10727 asin ();
10728   ;
10729   return 0;
10730 }
10731 _ACEOF
10732 rm -f conftest.$ac_objext conftest$ac_exeext
10733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10734   (eval $ac_link) 2>conftest.er1
10735   ac_status=$?
10736   grep -v '^ *+' conftest.er1 >conftest.err
10737   rm -f conftest.er1
10738   cat conftest.err >&5
10739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740   (exit $ac_status); } &&
10741          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10743   (eval $ac_try) 2>&5
10744   ac_status=$?
10745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746   (exit $ac_status); }; } &&
10747          { ac_try='test -s conftest$ac_exeext'
10748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10749   (eval $ac_try) 2>&5
10750   ac_status=$?
10751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752   (exit $ac_status); }; }; then
10753   ac_cv_lib_m_asin=yes
10754 else
10755   echo "$as_me: failed program was:" >&5
10756 sed 's/^/| /' conftest.$ac_ext >&5
10757
10758 ac_cv_lib_m_asin=no
10759 fi
10760 rm -f conftest.err conftest.$ac_objext \
10761       conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_lib_save_LIBS
10763 fi
10764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
10765 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
10766 if test $ac_cv_lib_m_asin = yes; then
10767
10768 cat >>confdefs.h <<\_ACEOF
10769 #define HAVE_ASIN 1
10770 _ACEOF
10771
10772 fi
10773
10774 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
10775 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
10776 if test "${ac_cv_lib_m_asinl+set}" = set; then
10777   echo $ECHO_N "(cached) $ECHO_C" >&6
10778 else
10779   ac_check_lib_save_LIBS=$LIBS
10780 LIBS="-lm  $LIBS"
10781 if test x$gcc_no_link = xyes; then
10782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10784    { (exit 1); exit 1; }; }
10785 fi
10786 cat >conftest.$ac_ext <<_ACEOF
10787 /* confdefs.h.  */
10788 _ACEOF
10789 cat confdefs.h >>conftest.$ac_ext
10790 cat >>conftest.$ac_ext <<_ACEOF
10791 /* end confdefs.h.  */
10792
10793 /* Override any gcc2 internal prototype to avoid an error.  */
10794 #ifdef __cplusplus
10795 extern "C"
10796 #endif
10797 /* We use char because int might match the return type of a gcc2
10798    builtin and then its argument prototype would still apply.  */
10799 char asinl ();
10800 int
10801 main ()
10802 {
10803 asinl ();
10804   ;
10805   return 0;
10806 }
10807 _ACEOF
10808 rm -f conftest.$ac_objext conftest$ac_exeext
10809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10810   (eval $ac_link) 2>conftest.er1
10811   ac_status=$?
10812   grep -v '^ *+' conftest.er1 >conftest.err
10813   rm -f conftest.er1
10814   cat conftest.err >&5
10815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816   (exit $ac_status); } &&
10817          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819   (eval $ac_try) 2>&5
10820   ac_status=$?
10821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822   (exit $ac_status); }; } &&
10823          { ac_try='test -s conftest$ac_exeext'
10824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825   (eval $ac_try) 2>&5
10826   ac_status=$?
10827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828   (exit $ac_status); }; }; then
10829   ac_cv_lib_m_asinl=yes
10830 else
10831   echo "$as_me: failed program was:" >&5
10832 sed 's/^/| /' conftest.$ac_ext >&5
10833
10834 ac_cv_lib_m_asinl=no
10835 fi
10836 rm -f conftest.err conftest.$ac_objext \
10837       conftest$ac_exeext conftest.$ac_ext
10838 LIBS=$ac_check_lib_save_LIBS
10839 fi
10840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
10841 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
10842 if test $ac_cv_lib_m_asinl = yes; then
10843
10844 cat >>confdefs.h <<\_ACEOF
10845 #define HAVE_ASINL 1
10846 _ACEOF
10847
10848 fi
10849
10850 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
10851 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
10852 if test "${ac_cv_lib_m_asinhf+set}" = set; then
10853   echo $ECHO_N "(cached) $ECHO_C" >&6
10854 else
10855   ac_check_lib_save_LIBS=$LIBS
10856 LIBS="-lm  $LIBS"
10857 if test x$gcc_no_link = xyes; then
10858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10860    { (exit 1); exit 1; }; }
10861 fi
10862 cat >conftest.$ac_ext <<_ACEOF
10863 /* confdefs.h.  */
10864 _ACEOF
10865 cat confdefs.h >>conftest.$ac_ext
10866 cat >>conftest.$ac_ext <<_ACEOF
10867 /* end confdefs.h.  */
10868
10869 /* Override any gcc2 internal prototype to avoid an error.  */
10870 #ifdef __cplusplus
10871 extern "C"
10872 #endif
10873 /* We use char because int might match the return type of a gcc2
10874    builtin and then its argument prototype would still apply.  */
10875 char asinhf ();
10876 int
10877 main ()
10878 {
10879 asinhf ();
10880   ;
10881   return 0;
10882 }
10883 _ACEOF
10884 rm -f conftest.$ac_objext conftest$ac_exeext
10885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10886   (eval $ac_link) 2>conftest.er1
10887   ac_status=$?
10888   grep -v '^ *+' conftest.er1 >conftest.err
10889   rm -f conftest.er1
10890   cat conftest.err >&5
10891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892   (exit $ac_status); } &&
10893          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895   (eval $ac_try) 2>&5
10896   ac_status=$?
10897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898   (exit $ac_status); }; } &&
10899          { ac_try='test -s conftest$ac_exeext'
10900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901   (eval $ac_try) 2>&5
10902   ac_status=$?
10903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904   (exit $ac_status); }; }; then
10905   ac_cv_lib_m_asinhf=yes
10906 else
10907   echo "$as_me: failed program was:" >&5
10908 sed 's/^/| /' conftest.$ac_ext >&5
10909
10910 ac_cv_lib_m_asinhf=no
10911 fi
10912 rm -f conftest.err conftest.$ac_objext \
10913       conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_lib_save_LIBS
10915 fi
10916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
10917 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
10918 if test $ac_cv_lib_m_asinhf = yes; then
10919
10920 cat >>confdefs.h <<\_ACEOF
10921 #define HAVE_ASINHF 1
10922 _ACEOF
10923
10924 fi
10925
10926 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
10927 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
10928 if test "${ac_cv_lib_m_asinh+set}" = set; then
10929   echo $ECHO_N "(cached) $ECHO_C" >&6
10930 else
10931   ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lm  $LIBS"
10933 if test x$gcc_no_link = xyes; then
10934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10936    { (exit 1); exit 1; }; }
10937 fi
10938 cat >conftest.$ac_ext <<_ACEOF
10939 /* confdefs.h.  */
10940 _ACEOF
10941 cat confdefs.h >>conftest.$ac_ext
10942 cat >>conftest.$ac_ext <<_ACEOF
10943 /* end confdefs.h.  */
10944
10945 /* Override any gcc2 internal prototype to avoid an error.  */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 /* We use char because int might match the return type of a gcc2
10950    builtin and then its argument prototype would still apply.  */
10951 char asinh ();
10952 int
10953 main ()
10954 {
10955 asinh ();
10956   ;
10957   return 0;
10958 }
10959 _ACEOF
10960 rm -f conftest.$ac_objext conftest$ac_exeext
10961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10962   (eval $ac_link) 2>conftest.er1
10963   ac_status=$?
10964   grep -v '^ *+' conftest.er1 >conftest.err
10965   rm -f conftest.er1
10966   cat conftest.err >&5
10967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968   (exit $ac_status); } &&
10969          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
10970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971   (eval $ac_try) 2>&5
10972   ac_status=$?
10973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974   (exit $ac_status); }; } &&
10975          { ac_try='test -s conftest$ac_exeext'
10976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10977   (eval $ac_try) 2>&5
10978   ac_status=$?
10979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980   (exit $ac_status); }; }; then
10981   ac_cv_lib_m_asinh=yes
10982 else
10983   echo "$as_me: failed program was:" >&5
10984 sed 's/^/| /' conftest.$ac_ext >&5
10985
10986 ac_cv_lib_m_asinh=no
10987 fi
10988 rm -f conftest.err conftest.$ac_objext \
10989       conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10991 fi
10992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
10993 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
10994 if test $ac_cv_lib_m_asinh = yes; then
10995
10996 cat >>confdefs.h <<\_ACEOF
10997 #define HAVE_ASINH 1
10998 _ACEOF
10999
11000 fi
11001
11002 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11003 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11004 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11005   echo $ECHO_N "(cached) $ECHO_C" >&6
11006 else
11007   ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lm  $LIBS"
11009 if test x$gcc_no_link = xyes; then
11010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11012    { (exit 1); exit 1; }; }
11013 fi
11014 cat >conftest.$ac_ext <<_ACEOF
11015 /* confdefs.h.  */
11016 _ACEOF
11017 cat confdefs.h >>conftest.$ac_ext
11018 cat >>conftest.$ac_ext <<_ACEOF
11019 /* end confdefs.h.  */
11020
11021 /* Override any gcc2 internal prototype to avoid an error.  */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 /* We use char because int might match the return type of a gcc2
11026    builtin and then its argument prototype would still apply.  */
11027 char asinhl ();
11028 int
11029 main ()
11030 {
11031 asinhl ();
11032   ;
11033   return 0;
11034 }
11035 _ACEOF
11036 rm -f conftest.$ac_objext conftest$ac_exeext
11037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11038   (eval $ac_link) 2>conftest.er1
11039   ac_status=$?
11040   grep -v '^ *+' conftest.er1 >conftest.err
11041   rm -f conftest.er1
11042   cat conftest.err >&5
11043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044   (exit $ac_status); } &&
11045          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11047   (eval $ac_try) 2>&5
11048   ac_status=$?
11049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050   (exit $ac_status); }; } &&
11051          { ac_try='test -s conftest$ac_exeext'
11052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11053   (eval $ac_try) 2>&5
11054   ac_status=$?
11055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056   (exit $ac_status); }; }; then
11057   ac_cv_lib_m_asinhl=yes
11058 else
11059   echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.$ac_ext >&5
11061
11062 ac_cv_lib_m_asinhl=no
11063 fi
11064 rm -f conftest.err conftest.$ac_objext \
11065       conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11067 fi
11068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11069 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11070 if test $ac_cv_lib_m_asinhl = yes; then
11071
11072 cat >>confdefs.h <<\_ACEOF
11073 #define HAVE_ASINHL 1
11074 _ACEOF
11075
11076 fi
11077
11078 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11079 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11080 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11081   echo $ECHO_N "(cached) $ECHO_C" >&6
11082 else
11083   ac_check_lib_save_LIBS=$LIBS
11084 LIBS="-lm  $LIBS"
11085 if test x$gcc_no_link = xyes; then
11086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11088    { (exit 1); exit 1; }; }
11089 fi
11090 cat >conftest.$ac_ext <<_ACEOF
11091 /* confdefs.h.  */
11092 _ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h.  */
11096
11097 /* Override any gcc2 internal prototype to avoid an error.  */
11098 #ifdef __cplusplus
11099 extern "C"
11100 #endif
11101 /* We use char because int might match the return type of a gcc2
11102    builtin and then its argument prototype would still apply.  */
11103 char atan2f ();
11104 int
11105 main ()
11106 {
11107 atan2f ();
11108   ;
11109   return 0;
11110 }
11111 _ACEOF
11112 rm -f conftest.$ac_objext conftest$ac_exeext
11113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11114   (eval $ac_link) 2>conftest.er1
11115   ac_status=$?
11116   grep -v '^ *+' conftest.er1 >conftest.err
11117   rm -f conftest.er1
11118   cat conftest.err >&5
11119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120   (exit $ac_status); } &&
11121          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123   (eval $ac_try) 2>&5
11124   ac_status=$?
11125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126   (exit $ac_status); }; } &&
11127          { ac_try='test -s conftest$ac_exeext'
11128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129   (eval $ac_try) 2>&5
11130   ac_status=$?
11131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132   (exit $ac_status); }; }; then
11133   ac_cv_lib_m_atan2f=yes
11134 else
11135   echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.$ac_ext >&5
11137
11138 ac_cv_lib_m_atan2f=no
11139 fi
11140 rm -f conftest.err conftest.$ac_objext \
11141       conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_lib_save_LIBS
11143 fi
11144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11145 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11146 if test $ac_cv_lib_m_atan2f = yes; then
11147
11148 cat >>confdefs.h <<\_ACEOF
11149 #define HAVE_ATAN2F 1
11150 _ACEOF
11151
11152 fi
11153
11154 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11155 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11156 if test "${ac_cv_lib_m_atan2+set}" = set; then
11157   echo $ECHO_N "(cached) $ECHO_C" >&6
11158 else
11159   ac_check_lib_save_LIBS=$LIBS
11160 LIBS="-lm  $LIBS"
11161 if test x$gcc_no_link = xyes; then
11162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11164    { (exit 1); exit 1; }; }
11165 fi
11166 cat >conftest.$ac_ext <<_ACEOF
11167 /* confdefs.h.  */
11168 _ACEOF
11169 cat confdefs.h >>conftest.$ac_ext
11170 cat >>conftest.$ac_ext <<_ACEOF
11171 /* end confdefs.h.  */
11172
11173 /* Override any gcc2 internal prototype to avoid an error.  */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 /* We use char because int might match the return type of a gcc2
11178    builtin and then its argument prototype would still apply.  */
11179 char atan2 ();
11180 int
11181 main ()
11182 {
11183 atan2 ();
11184   ;
11185   return 0;
11186 }
11187 _ACEOF
11188 rm -f conftest.$ac_objext conftest$ac_exeext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11190   (eval $ac_link) 2>conftest.er1
11191   ac_status=$?
11192   grep -v '^ *+' conftest.er1 >conftest.err
11193   rm -f conftest.er1
11194   cat conftest.err >&5
11195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196   (exit $ac_status); } &&
11197          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11199   (eval $ac_try) 2>&5
11200   ac_status=$?
11201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202   (exit $ac_status); }; } &&
11203          { ac_try='test -s conftest$ac_exeext'
11204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11205   (eval $ac_try) 2>&5
11206   ac_status=$?
11207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208   (exit $ac_status); }; }; then
11209   ac_cv_lib_m_atan2=yes
11210 else
11211   echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.$ac_ext >&5
11213
11214 ac_cv_lib_m_atan2=no
11215 fi
11216 rm -f conftest.err conftest.$ac_objext \
11217       conftest$ac_exeext conftest.$ac_ext
11218 LIBS=$ac_check_lib_save_LIBS
11219 fi
11220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11221 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11222 if test $ac_cv_lib_m_atan2 = yes; then
11223
11224 cat >>confdefs.h <<\_ACEOF
11225 #define HAVE_ATAN2 1
11226 _ACEOF
11227
11228 fi
11229
11230 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11231 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11232 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11233   echo $ECHO_N "(cached) $ECHO_C" >&6
11234 else
11235   ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lm  $LIBS"
11237 if test x$gcc_no_link = xyes; then
11238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11240    { (exit 1); exit 1; }; }
11241 fi
11242 cat >conftest.$ac_ext <<_ACEOF
11243 /* confdefs.h.  */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h.  */
11248
11249 /* Override any gcc2 internal prototype to avoid an error.  */
11250 #ifdef __cplusplus
11251 extern "C"
11252 #endif
11253 /* We use char because int might match the return type of a gcc2
11254    builtin and then its argument prototype would still apply.  */
11255 char atan2l ();
11256 int
11257 main ()
11258 {
11259 atan2l ();
11260   ;
11261   return 0;
11262 }
11263 _ACEOF
11264 rm -f conftest.$ac_objext conftest$ac_exeext
11265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11266   (eval $ac_link) 2>conftest.er1
11267   ac_status=$?
11268   grep -v '^ *+' conftest.er1 >conftest.err
11269   rm -f conftest.er1
11270   cat conftest.err >&5
11271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272   (exit $ac_status); } &&
11273          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11275   (eval $ac_try) 2>&5
11276   ac_status=$?
11277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278   (exit $ac_status); }; } &&
11279          { ac_try='test -s conftest$ac_exeext'
11280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281   (eval $ac_try) 2>&5
11282   ac_status=$?
11283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284   (exit $ac_status); }; }; then
11285   ac_cv_lib_m_atan2l=yes
11286 else
11287   echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11289
11290 ac_cv_lib_m_atan2l=no
11291 fi
11292 rm -f conftest.err conftest.$ac_objext \
11293       conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11295 fi
11296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11297 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11298 if test $ac_cv_lib_m_atan2l = yes; then
11299
11300 cat >>confdefs.h <<\_ACEOF
11301 #define HAVE_ATAN2L 1
11302 _ACEOF
11303
11304 fi
11305
11306 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11307 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11308 if test "${ac_cv_lib_m_atanf+set}" = set; then
11309   echo $ECHO_N "(cached) $ECHO_C" >&6
11310 else
11311   ac_check_lib_save_LIBS=$LIBS
11312 LIBS="-lm  $LIBS"
11313 if test x$gcc_no_link = xyes; then
11314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11316    { (exit 1); exit 1; }; }
11317 fi
11318 cat >conftest.$ac_ext <<_ACEOF
11319 /* confdefs.h.  */
11320 _ACEOF
11321 cat confdefs.h >>conftest.$ac_ext
11322 cat >>conftest.$ac_ext <<_ACEOF
11323 /* end confdefs.h.  */
11324
11325 /* Override any gcc2 internal prototype to avoid an error.  */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 /* We use char because int might match the return type of a gcc2
11330    builtin and then its argument prototype would still apply.  */
11331 char atanf ();
11332 int
11333 main ()
11334 {
11335 atanf ();
11336   ;
11337   return 0;
11338 }
11339 _ACEOF
11340 rm -f conftest.$ac_objext conftest$ac_exeext
11341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11342   (eval $ac_link) 2>conftest.er1
11343   ac_status=$?
11344   grep -v '^ *+' conftest.er1 >conftest.err
11345   rm -f conftest.er1
11346   cat conftest.err >&5
11347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348   (exit $ac_status); } &&
11349          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351   (eval $ac_try) 2>&5
11352   ac_status=$?
11353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354   (exit $ac_status); }; } &&
11355          { ac_try='test -s conftest$ac_exeext'
11356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357   (eval $ac_try) 2>&5
11358   ac_status=$?
11359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360   (exit $ac_status); }; }; then
11361   ac_cv_lib_m_atanf=yes
11362 else
11363   echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11365
11366 ac_cv_lib_m_atanf=no
11367 fi
11368 rm -f conftest.err conftest.$ac_objext \
11369       conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11371 fi
11372 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11373 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11374 if test $ac_cv_lib_m_atanf = yes; then
11375
11376 cat >>confdefs.h <<\_ACEOF
11377 #define HAVE_ATANF 1
11378 _ACEOF
11379
11380 fi
11381
11382 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11383 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11384 if test "${ac_cv_lib_m_atan+set}" = set; then
11385   echo $ECHO_N "(cached) $ECHO_C" >&6
11386 else
11387   ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-lm  $LIBS"
11389 if test x$gcc_no_link = xyes; then
11390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11392    { (exit 1); exit 1; }; }
11393 fi
11394 cat >conftest.$ac_ext <<_ACEOF
11395 /* confdefs.h.  */
11396 _ACEOF
11397 cat confdefs.h >>conftest.$ac_ext
11398 cat >>conftest.$ac_ext <<_ACEOF
11399 /* end confdefs.h.  */
11400
11401 /* Override any gcc2 internal prototype to avoid an error.  */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 /* We use char because int might match the return type of a gcc2
11406    builtin and then its argument prototype would still apply.  */
11407 char atan ();
11408 int
11409 main ()
11410 {
11411 atan ();
11412   ;
11413   return 0;
11414 }
11415 _ACEOF
11416 rm -f conftest.$ac_objext conftest$ac_exeext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11418   (eval $ac_link) 2>conftest.er1
11419   ac_status=$?
11420   grep -v '^ *+' conftest.er1 >conftest.err
11421   rm -f conftest.er1
11422   cat conftest.err >&5
11423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424   (exit $ac_status); } &&
11425          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11427   (eval $ac_try) 2>&5
11428   ac_status=$?
11429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430   (exit $ac_status); }; } &&
11431          { ac_try='test -s conftest$ac_exeext'
11432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11433   (eval $ac_try) 2>&5
11434   ac_status=$?
11435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436   (exit $ac_status); }; }; then
11437   ac_cv_lib_m_atan=yes
11438 else
11439   echo "$as_me: failed program was:" >&5
11440 sed 's/^/| /' conftest.$ac_ext >&5
11441
11442 ac_cv_lib_m_atan=no
11443 fi
11444 rm -f conftest.err conftest.$ac_objext \
11445       conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11447 fi
11448 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11449 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11450 if test $ac_cv_lib_m_atan = yes; then
11451
11452 cat >>confdefs.h <<\_ACEOF
11453 #define HAVE_ATAN 1
11454 _ACEOF
11455
11456 fi
11457
11458 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11459 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11460 if test "${ac_cv_lib_m_atanl+set}" = set; then
11461   echo $ECHO_N "(cached) $ECHO_C" >&6
11462 else
11463   ac_check_lib_save_LIBS=$LIBS
11464 LIBS="-lm  $LIBS"
11465 if test x$gcc_no_link = xyes; then
11466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11468    { (exit 1); exit 1; }; }
11469 fi
11470 cat >conftest.$ac_ext <<_ACEOF
11471 /* confdefs.h.  */
11472 _ACEOF
11473 cat confdefs.h >>conftest.$ac_ext
11474 cat >>conftest.$ac_ext <<_ACEOF
11475 /* end confdefs.h.  */
11476
11477 /* Override any gcc2 internal prototype to avoid an error.  */
11478 #ifdef __cplusplus
11479 extern "C"
11480 #endif
11481 /* We use char because int might match the return type of a gcc2
11482    builtin and then its argument prototype would still apply.  */
11483 char atanl ();
11484 int
11485 main ()
11486 {
11487 atanl ();
11488   ;
11489   return 0;
11490 }
11491 _ACEOF
11492 rm -f conftest.$ac_objext conftest$ac_exeext
11493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11494   (eval $ac_link) 2>conftest.er1
11495   ac_status=$?
11496   grep -v '^ *+' conftest.er1 >conftest.err
11497   rm -f conftest.er1
11498   cat conftest.err >&5
11499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500   (exit $ac_status); } &&
11501          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11503   (eval $ac_try) 2>&5
11504   ac_status=$?
11505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506   (exit $ac_status); }; } &&
11507          { ac_try='test -s conftest$ac_exeext'
11508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11509   (eval $ac_try) 2>&5
11510   ac_status=$?
11511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512   (exit $ac_status); }; }; then
11513   ac_cv_lib_m_atanl=yes
11514 else
11515   echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.$ac_ext >&5
11517
11518 ac_cv_lib_m_atanl=no
11519 fi
11520 rm -f conftest.err conftest.$ac_objext \
11521       conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_lib_save_LIBS
11523 fi
11524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
11525 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
11526 if test $ac_cv_lib_m_atanl = yes; then
11527
11528 cat >>confdefs.h <<\_ACEOF
11529 #define HAVE_ATANL 1
11530 _ACEOF
11531
11532 fi
11533
11534 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
11535 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
11536 if test "${ac_cv_lib_m_atanhf+set}" = set; then
11537   echo $ECHO_N "(cached) $ECHO_C" >&6
11538 else
11539   ac_check_lib_save_LIBS=$LIBS
11540 LIBS="-lm  $LIBS"
11541 if test x$gcc_no_link = xyes; then
11542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11544    { (exit 1); exit 1; }; }
11545 fi
11546 cat >conftest.$ac_ext <<_ACEOF
11547 /* confdefs.h.  */
11548 _ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h.  */
11552
11553 /* Override any gcc2 internal prototype to avoid an error.  */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 /* We use char because int might match the return type of a gcc2
11558    builtin and then its argument prototype would still apply.  */
11559 char atanhf ();
11560 int
11561 main ()
11562 {
11563 atanhf ();
11564   ;
11565   return 0;
11566 }
11567 _ACEOF
11568 rm -f conftest.$ac_objext conftest$ac_exeext
11569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11570   (eval $ac_link) 2>conftest.er1
11571   ac_status=$?
11572   grep -v '^ *+' conftest.er1 >conftest.err
11573   rm -f conftest.er1
11574   cat conftest.err >&5
11575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576   (exit $ac_status); } &&
11577          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579   (eval $ac_try) 2>&5
11580   ac_status=$?
11581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582   (exit $ac_status); }; } &&
11583          { ac_try='test -s conftest$ac_exeext'
11584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585   (eval $ac_try) 2>&5
11586   ac_status=$?
11587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588   (exit $ac_status); }; }; then
11589   ac_cv_lib_m_atanhf=yes
11590 else
11591   echo "$as_me: failed program was:" >&5
11592 sed 's/^/| /' conftest.$ac_ext >&5
11593
11594 ac_cv_lib_m_atanhf=no
11595 fi
11596 rm -f conftest.err conftest.$ac_objext \
11597       conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11599 fi
11600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
11601 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
11602 if test $ac_cv_lib_m_atanhf = yes; then
11603
11604 cat >>confdefs.h <<\_ACEOF
11605 #define HAVE_ATANHF 1
11606 _ACEOF
11607
11608 fi
11609
11610 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
11611 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
11612 if test "${ac_cv_lib_m_atanh+set}" = set; then
11613   echo $ECHO_N "(cached) $ECHO_C" >&6
11614 else
11615   ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-lm  $LIBS"
11617 if test x$gcc_no_link = xyes; then
11618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11620    { (exit 1); exit 1; }; }
11621 fi
11622 cat >conftest.$ac_ext <<_ACEOF
11623 /* confdefs.h.  */
11624 _ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h.  */
11628
11629 /* Override any gcc2 internal prototype to avoid an error.  */
11630 #ifdef __cplusplus
11631 extern "C"
11632 #endif
11633 /* We use char because int might match the return type of a gcc2
11634    builtin and then its argument prototype would still apply.  */
11635 char atanh ();
11636 int
11637 main ()
11638 {
11639 atanh ();
11640   ;
11641   return 0;
11642 }
11643 _ACEOF
11644 rm -f conftest.$ac_objext conftest$ac_exeext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11646   (eval $ac_link) 2>conftest.er1
11647   ac_status=$?
11648   grep -v '^ *+' conftest.er1 >conftest.err
11649   rm -f conftest.er1
11650   cat conftest.err >&5
11651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652   (exit $ac_status); } &&
11653          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655   (eval $ac_try) 2>&5
11656   ac_status=$?
11657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658   (exit $ac_status); }; } &&
11659          { ac_try='test -s conftest$ac_exeext'
11660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661   (eval $ac_try) 2>&5
11662   ac_status=$?
11663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664   (exit $ac_status); }; }; then
11665   ac_cv_lib_m_atanh=yes
11666 else
11667   echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11669
11670 ac_cv_lib_m_atanh=no
11671 fi
11672 rm -f conftest.err conftest.$ac_objext \
11673       conftest$ac_exeext conftest.$ac_ext
11674 LIBS=$ac_check_lib_save_LIBS
11675 fi
11676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
11677 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
11678 if test $ac_cv_lib_m_atanh = yes; then
11679
11680 cat >>confdefs.h <<\_ACEOF
11681 #define HAVE_ATANH 1
11682 _ACEOF
11683
11684 fi
11685
11686 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
11687 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
11688 if test "${ac_cv_lib_m_atanhl+set}" = set; then
11689   echo $ECHO_N "(cached) $ECHO_C" >&6
11690 else
11691   ac_check_lib_save_LIBS=$LIBS
11692 LIBS="-lm  $LIBS"
11693 if test x$gcc_no_link = xyes; then
11694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11696    { (exit 1); exit 1; }; }
11697 fi
11698 cat >conftest.$ac_ext <<_ACEOF
11699 /* confdefs.h.  */
11700 _ACEOF
11701 cat confdefs.h >>conftest.$ac_ext
11702 cat >>conftest.$ac_ext <<_ACEOF
11703 /* end confdefs.h.  */
11704
11705 /* Override any gcc2 internal prototype to avoid an error.  */
11706 #ifdef __cplusplus
11707 extern "C"
11708 #endif
11709 /* We use char because int might match the return type of a gcc2
11710    builtin and then its argument prototype would still apply.  */
11711 char atanhl ();
11712 int
11713 main ()
11714 {
11715 atanhl ();
11716   ;
11717   return 0;
11718 }
11719 _ACEOF
11720 rm -f conftest.$ac_objext conftest$ac_exeext
11721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11722   (eval $ac_link) 2>conftest.er1
11723   ac_status=$?
11724   grep -v '^ *+' conftest.er1 >conftest.err
11725   rm -f conftest.er1
11726   cat conftest.err >&5
11727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728   (exit $ac_status); } &&
11729          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731   (eval $ac_try) 2>&5
11732   ac_status=$?
11733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734   (exit $ac_status); }; } &&
11735          { ac_try='test -s conftest$ac_exeext'
11736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737   (eval $ac_try) 2>&5
11738   ac_status=$?
11739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740   (exit $ac_status); }; }; then
11741   ac_cv_lib_m_atanhl=yes
11742 else
11743   echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.$ac_ext >&5
11745
11746 ac_cv_lib_m_atanhl=no
11747 fi
11748 rm -f conftest.err conftest.$ac_objext \
11749       conftest$ac_exeext conftest.$ac_ext
11750 LIBS=$ac_check_lib_save_LIBS
11751 fi
11752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
11753 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
11754 if test $ac_cv_lib_m_atanhl = yes; then
11755
11756 cat >>confdefs.h <<\_ACEOF
11757 #define HAVE_ATANHL 1
11758 _ACEOF
11759
11760 fi
11761
11762 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
11763 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
11764 if test "${ac_cv_lib_m_cargf+set}" = set; then
11765   echo $ECHO_N "(cached) $ECHO_C" >&6
11766 else
11767   ac_check_lib_save_LIBS=$LIBS
11768 LIBS="-lm  $LIBS"
11769 if test x$gcc_no_link = xyes; then
11770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11772    { (exit 1); exit 1; }; }
11773 fi
11774 cat >conftest.$ac_ext <<_ACEOF
11775 /* confdefs.h.  */
11776 _ACEOF
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h.  */
11780
11781 /* Override any gcc2 internal prototype to avoid an error.  */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 /* We use char because int might match the return type of a gcc2
11786    builtin and then its argument prototype would still apply.  */
11787 char cargf ();
11788 int
11789 main ()
11790 {
11791 cargf ();
11792   ;
11793   return 0;
11794 }
11795 _ACEOF
11796 rm -f conftest.$ac_objext conftest$ac_exeext
11797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11798   (eval $ac_link) 2>conftest.er1
11799   ac_status=$?
11800   grep -v '^ *+' conftest.er1 >conftest.err
11801   rm -f conftest.er1
11802   cat conftest.err >&5
11803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804   (exit $ac_status); } &&
11805          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807   (eval $ac_try) 2>&5
11808   ac_status=$?
11809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810   (exit $ac_status); }; } &&
11811          { ac_try='test -s conftest$ac_exeext'
11812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11813   (eval $ac_try) 2>&5
11814   ac_status=$?
11815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816   (exit $ac_status); }; }; then
11817   ac_cv_lib_m_cargf=yes
11818 else
11819   echo "$as_me: failed program was:" >&5
11820 sed 's/^/| /' conftest.$ac_ext >&5
11821
11822 ac_cv_lib_m_cargf=no
11823 fi
11824 rm -f conftest.err conftest.$ac_objext \
11825       conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11827 fi
11828 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
11829 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
11830 if test $ac_cv_lib_m_cargf = yes; then
11831
11832 cat >>confdefs.h <<\_ACEOF
11833 #define HAVE_CARGF 1
11834 _ACEOF
11835
11836 fi
11837
11838 echo "$as_me:$LINENO: checking for carg in -lm" >&5
11839 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
11840 if test "${ac_cv_lib_m_carg+set}" = set; then
11841   echo $ECHO_N "(cached) $ECHO_C" >&6
11842 else
11843   ac_check_lib_save_LIBS=$LIBS
11844 LIBS="-lm  $LIBS"
11845 if test x$gcc_no_link = xyes; then
11846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11848    { (exit 1); exit 1; }; }
11849 fi
11850 cat >conftest.$ac_ext <<_ACEOF
11851 /* confdefs.h.  */
11852 _ACEOF
11853 cat confdefs.h >>conftest.$ac_ext
11854 cat >>conftest.$ac_ext <<_ACEOF
11855 /* end confdefs.h.  */
11856
11857 /* Override any gcc2 internal prototype to avoid an error.  */
11858 #ifdef __cplusplus
11859 extern "C"
11860 #endif
11861 /* We use char because int might match the return type of a gcc2
11862    builtin and then its argument prototype would still apply.  */
11863 char carg ();
11864 int
11865 main ()
11866 {
11867 carg ();
11868   ;
11869   return 0;
11870 }
11871 _ACEOF
11872 rm -f conftest.$ac_objext conftest$ac_exeext
11873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11874   (eval $ac_link) 2>conftest.er1
11875   ac_status=$?
11876   grep -v '^ *+' conftest.er1 >conftest.err
11877   rm -f conftest.er1
11878   cat conftest.err >&5
11879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880   (exit $ac_status); } &&
11881          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11883   (eval $ac_try) 2>&5
11884   ac_status=$?
11885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886   (exit $ac_status); }; } &&
11887          { ac_try='test -s conftest$ac_exeext'
11888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889   (eval $ac_try) 2>&5
11890   ac_status=$?
11891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892   (exit $ac_status); }; }; then
11893   ac_cv_lib_m_carg=yes
11894 else
11895   echo "$as_me: failed program was:" >&5
11896 sed 's/^/| /' conftest.$ac_ext >&5
11897
11898 ac_cv_lib_m_carg=no
11899 fi
11900 rm -f conftest.err conftest.$ac_objext \
11901       conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11903 fi
11904 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
11905 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
11906 if test $ac_cv_lib_m_carg = yes; then
11907
11908 cat >>confdefs.h <<\_ACEOF
11909 #define HAVE_CARG 1
11910 _ACEOF
11911
11912 fi
11913
11914 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
11915 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
11916 if test "${ac_cv_lib_m_cargl+set}" = set; then
11917   echo $ECHO_N "(cached) $ECHO_C" >&6
11918 else
11919   ac_check_lib_save_LIBS=$LIBS
11920 LIBS="-lm  $LIBS"
11921 if test x$gcc_no_link = xyes; then
11922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11924    { (exit 1); exit 1; }; }
11925 fi
11926 cat >conftest.$ac_ext <<_ACEOF
11927 /* confdefs.h.  */
11928 _ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h.  */
11932
11933 /* Override any gcc2 internal prototype to avoid an error.  */
11934 #ifdef __cplusplus
11935 extern "C"
11936 #endif
11937 /* We use char because int might match the return type of a gcc2
11938    builtin and then its argument prototype would still apply.  */
11939 char cargl ();
11940 int
11941 main ()
11942 {
11943 cargl ();
11944   ;
11945   return 0;
11946 }
11947 _ACEOF
11948 rm -f conftest.$ac_objext conftest$ac_exeext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11950   (eval $ac_link) 2>conftest.er1
11951   ac_status=$?
11952   grep -v '^ *+' conftest.er1 >conftest.err
11953   rm -f conftest.er1
11954   cat conftest.err >&5
11955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956   (exit $ac_status); } &&
11957          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
11958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959   (eval $ac_try) 2>&5
11960   ac_status=$?
11961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962   (exit $ac_status); }; } &&
11963          { ac_try='test -s conftest$ac_exeext'
11964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965   (eval $ac_try) 2>&5
11966   ac_status=$?
11967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968   (exit $ac_status); }; }; then
11969   ac_cv_lib_m_cargl=yes
11970 else
11971   echo "$as_me: failed program was:" >&5
11972 sed 's/^/| /' conftest.$ac_ext >&5
11973
11974 ac_cv_lib_m_cargl=no
11975 fi
11976 rm -f conftest.err conftest.$ac_objext \
11977       conftest$ac_exeext conftest.$ac_ext
11978 LIBS=$ac_check_lib_save_LIBS
11979 fi
11980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
11981 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
11982 if test $ac_cv_lib_m_cargl = yes; then
11983
11984 cat >>confdefs.h <<\_ACEOF
11985 #define HAVE_CARGL 1
11986 _ACEOF
11987
11988 fi
11989
11990 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
11991 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
11992 if test "${ac_cv_lib_m_ceilf+set}" = set; then
11993   echo $ECHO_N "(cached) $ECHO_C" >&6
11994 else
11995   ac_check_lib_save_LIBS=$LIBS
11996 LIBS="-lm  $LIBS"
11997 if test x$gcc_no_link = xyes; then
11998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12000    { (exit 1); exit 1; }; }
12001 fi
12002 cat >conftest.$ac_ext <<_ACEOF
12003 /* confdefs.h.  */
12004 _ACEOF
12005 cat confdefs.h >>conftest.$ac_ext
12006 cat >>conftest.$ac_ext <<_ACEOF
12007 /* end confdefs.h.  */
12008
12009 /* Override any gcc2 internal prototype to avoid an error.  */
12010 #ifdef __cplusplus
12011 extern "C"
12012 #endif
12013 /* We use char because int might match the return type of a gcc2
12014    builtin and then its argument prototype would still apply.  */
12015 char ceilf ();
12016 int
12017 main ()
12018 {
12019 ceilf ();
12020   ;
12021   return 0;
12022 }
12023 _ACEOF
12024 rm -f conftest.$ac_objext conftest$ac_exeext
12025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12026   (eval $ac_link) 2>conftest.er1
12027   ac_status=$?
12028   grep -v '^ *+' conftest.er1 >conftest.err
12029   rm -f conftest.er1
12030   cat conftest.err >&5
12031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032   (exit $ac_status); } &&
12033          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12035   (eval $ac_try) 2>&5
12036   ac_status=$?
12037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038   (exit $ac_status); }; } &&
12039          { ac_try='test -s conftest$ac_exeext'
12040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041   (eval $ac_try) 2>&5
12042   ac_status=$?
12043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044   (exit $ac_status); }; }; then
12045   ac_cv_lib_m_ceilf=yes
12046 else
12047   echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12049
12050 ac_cv_lib_m_ceilf=no
12051 fi
12052 rm -f conftest.err conftest.$ac_objext \
12053       conftest$ac_exeext conftest.$ac_ext
12054 LIBS=$ac_check_lib_save_LIBS
12055 fi
12056 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12057 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12058 if test $ac_cv_lib_m_ceilf = yes; then
12059
12060 cat >>confdefs.h <<\_ACEOF
12061 #define HAVE_CEILF 1
12062 _ACEOF
12063
12064 fi
12065
12066 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12067 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12068 if test "${ac_cv_lib_m_ceil+set}" = set; then
12069   echo $ECHO_N "(cached) $ECHO_C" >&6
12070 else
12071   ac_check_lib_save_LIBS=$LIBS
12072 LIBS="-lm  $LIBS"
12073 if test x$gcc_no_link = xyes; then
12074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12076    { (exit 1); exit 1; }; }
12077 fi
12078 cat >conftest.$ac_ext <<_ACEOF
12079 /* confdefs.h.  */
12080 _ACEOF
12081 cat confdefs.h >>conftest.$ac_ext
12082 cat >>conftest.$ac_ext <<_ACEOF
12083 /* end confdefs.h.  */
12084
12085 /* Override any gcc2 internal prototype to avoid an error.  */
12086 #ifdef __cplusplus
12087 extern "C"
12088 #endif
12089 /* We use char because int might match the return type of a gcc2
12090    builtin and then its argument prototype would still apply.  */
12091 char ceil ();
12092 int
12093 main ()
12094 {
12095 ceil ();
12096   ;
12097   return 0;
12098 }
12099 _ACEOF
12100 rm -f conftest.$ac_objext conftest$ac_exeext
12101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12102   (eval $ac_link) 2>conftest.er1
12103   ac_status=$?
12104   grep -v '^ *+' conftest.er1 >conftest.err
12105   rm -f conftest.er1
12106   cat conftest.err >&5
12107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108   (exit $ac_status); } &&
12109          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12111   (eval $ac_try) 2>&5
12112   ac_status=$?
12113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114   (exit $ac_status); }; } &&
12115          { ac_try='test -s conftest$ac_exeext'
12116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117   (eval $ac_try) 2>&5
12118   ac_status=$?
12119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120   (exit $ac_status); }; }; then
12121   ac_cv_lib_m_ceil=yes
12122 else
12123   echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12125
12126 ac_cv_lib_m_ceil=no
12127 fi
12128 rm -f conftest.err conftest.$ac_objext \
12129       conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12131 fi
12132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12133 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12134 if test $ac_cv_lib_m_ceil = yes; then
12135
12136 cat >>confdefs.h <<\_ACEOF
12137 #define HAVE_CEIL 1
12138 _ACEOF
12139
12140 fi
12141
12142 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12143 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12144 if test "${ac_cv_lib_m_ceill+set}" = set; then
12145   echo $ECHO_N "(cached) $ECHO_C" >&6
12146 else
12147   ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-lm  $LIBS"
12149 if test x$gcc_no_link = xyes; then
12150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12152    { (exit 1); exit 1; }; }
12153 fi
12154 cat >conftest.$ac_ext <<_ACEOF
12155 /* confdefs.h.  */
12156 _ACEOF
12157 cat confdefs.h >>conftest.$ac_ext
12158 cat >>conftest.$ac_ext <<_ACEOF
12159 /* end confdefs.h.  */
12160
12161 /* Override any gcc2 internal prototype to avoid an error.  */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 /* We use char because int might match the return type of a gcc2
12166    builtin and then its argument prototype would still apply.  */
12167 char ceill ();
12168 int
12169 main ()
12170 {
12171 ceill ();
12172   ;
12173   return 0;
12174 }
12175 _ACEOF
12176 rm -f conftest.$ac_objext conftest$ac_exeext
12177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12178   (eval $ac_link) 2>conftest.er1
12179   ac_status=$?
12180   grep -v '^ *+' conftest.er1 >conftest.err
12181   rm -f conftest.er1
12182   cat conftest.err >&5
12183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184   (exit $ac_status); } &&
12185          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187   (eval $ac_try) 2>&5
12188   ac_status=$?
12189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190   (exit $ac_status); }; } &&
12191          { ac_try='test -s conftest$ac_exeext'
12192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193   (eval $ac_try) 2>&5
12194   ac_status=$?
12195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196   (exit $ac_status); }; }; then
12197   ac_cv_lib_m_ceill=yes
12198 else
12199   echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.$ac_ext >&5
12201
12202 ac_cv_lib_m_ceill=no
12203 fi
12204 rm -f conftest.err conftest.$ac_objext \
12205       conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_lib_save_LIBS
12207 fi
12208 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12209 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12210 if test $ac_cv_lib_m_ceill = yes; then
12211
12212 cat >>confdefs.h <<\_ACEOF
12213 #define HAVE_CEILL 1
12214 _ACEOF
12215
12216 fi
12217
12218 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12219 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12220 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12221   echo $ECHO_N "(cached) $ECHO_C" >&6
12222 else
12223   ac_check_lib_save_LIBS=$LIBS
12224 LIBS="-lm  $LIBS"
12225 if test x$gcc_no_link = xyes; then
12226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12228    { (exit 1); exit 1; }; }
12229 fi
12230 cat >conftest.$ac_ext <<_ACEOF
12231 /* confdefs.h.  */
12232 _ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h.  */
12236
12237 /* Override any gcc2 internal prototype to avoid an error.  */
12238 #ifdef __cplusplus
12239 extern "C"
12240 #endif
12241 /* We use char because int might match the return type of a gcc2
12242    builtin and then its argument prototype would still apply.  */
12243 char copysignf ();
12244 int
12245 main ()
12246 {
12247 copysignf ();
12248   ;
12249   return 0;
12250 }
12251 _ACEOF
12252 rm -f conftest.$ac_objext conftest$ac_exeext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12254   (eval $ac_link) 2>conftest.er1
12255   ac_status=$?
12256   grep -v '^ *+' conftest.er1 >conftest.err
12257   rm -f conftest.er1
12258   cat conftest.err >&5
12259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260   (exit $ac_status); } &&
12261          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263   (eval $ac_try) 2>&5
12264   ac_status=$?
12265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266   (exit $ac_status); }; } &&
12267          { ac_try='test -s conftest$ac_exeext'
12268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269   (eval $ac_try) 2>&5
12270   ac_status=$?
12271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272   (exit $ac_status); }; }; then
12273   ac_cv_lib_m_copysignf=yes
12274 else
12275   echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12277
12278 ac_cv_lib_m_copysignf=no
12279 fi
12280 rm -f conftest.err conftest.$ac_objext \
12281       conftest$ac_exeext conftest.$ac_ext
12282 LIBS=$ac_check_lib_save_LIBS
12283 fi
12284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12285 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12286 if test $ac_cv_lib_m_copysignf = yes; then
12287
12288 cat >>confdefs.h <<\_ACEOF
12289 #define HAVE_COPYSIGNF 1
12290 _ACEOF
12291
12292 fi
12293
12294 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12295 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12296 if test "${ac_cv_lib_m_copysign+set}" = set; then
12297   echo $ECHO_N "(cached) $ECHO_C" >&6
12298 else
12299   ac_check_lib_save_LIBS=$LIBS
12300 LIBS="-lm  $LIBS"
12301 if test x$gcc_no_link = xyes; then
12302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12304    { (exit 1); exit 1; }; }
12305 fi
12306 cat >conftest.$ac_ext <<_ACEOF
12307 /* confdefs.h.  */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h.  */
12312
12313 /* Override any gcc2 internal prototype to avoid an error.  */
12314 #ifdef __cplusplus
12315 extern "C"
12316 #endif
12317 /* We use char because int might match the return type of a gcc2
12318    builtin and then its argument prototype would still apply.  */
12319 char copysign ();
12320 int
12321 main ()
12322 {
12323 copysign ();
12324   ;
12325   return 0;
12326 }
12327 _ACEOF
12328 rm -f conftest.$ac_objext conftest$ac_exeext
12329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12330   (eval $ac_link) 2>conftest.er1
12331   ac_status=$?
12332   grep -v '^ *+' conftest.er1 >conftest.err
12333   rm -f conftest.er1
12334   cat conftest.err >&5
12335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336   (exit $ac_status); } &&
12337          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339   (eval $ac_try) 2>&5
12340   ac_status=$?
12341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342   (exit $ac_status); }; } &&
12343          { ac_try='test -s conftest$ac_exeext'
12344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12345   (eval $ac_try) 2>&5
12346   ac_status=$?
12347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348   (exit $ac_status); }; }; then
12349   ac_cv_lib_m_copysign=yes
12350 else
12351   echo "$as_me: failed program was:" >&5
12352 sed 's/^/| /' conftest.$ac_ext >&5
12353
12354 ac_cv_lib_m_copysign=no
12355 fi
12356 rm -f conftest.err conftest.$ac_objext \
12357       conftest$ac_exeext conftest.$ac_ext
12358 LIBS=$ac_check_lib_save_LIBS
12359 fi
12360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12361 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12362 if test $ac_cv_lib_m_copysign = yes; then
12363
12364 cat >>confdefs.h <<\_ACEOF
12365 #define HAVE_COPYSIGN 1
12366 _ACEOF
12367
12368 fi
12369
12370 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12371 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12372 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12373   echo $ECHO_N "(cached) $ECHO_C" >&6
12374 else
12375   ac_check_lib_save_LIBS=$LIBS
12376 LIBS="-lm  $LIBS"
12377 if test x$gcc_no_link = xyes; then
12378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12380    { (exit 1); exit 1; }; }
12381 fi
12382 cat >conftest.$ac_ext <<_ACEOF
12383 /* confdefs.h.  */
12384 _ACEOF
12385 cat confdefs.h >>conftest.$ac_ext
12386 cat >>conftest.$ac_ext <<_ACEOF
12387 /* end confdefs.h.  */
12388
12389 /* Override any gcc2 internal prototype to avoid an error.  */
12390 #ifdef __cplusplus
12391 extern "C"
12392 #endif
12393 /* We use char because int might match the return type of a gcc2
12394    builtin and then its argument prototype would still apply.  */
12395 char copysignl ();
12396 int
12397 main ()
12398 {
12399 copysignl ();
12400   ;
12401   return 0;
12402 }
12403 _ACEOF
12404 rm -f conftest.$ac_objext conftest$ac_exeext
12405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12406   (eval $ac_link) 2>conftest.er1
12407   ac_status=$?
12408   grep -v '^ *+' conftest.er1 >conftest.err
12409   rm -f conftest.er1
12410   cat conftest.err >&5
12411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412   (exit $ac_status); } &&
12413          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415   (eval $ac_try) 2>&5
12416   ac_status=$?
12417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418   (exit $ac_status); }; } &&
12419          { ac_try='test -s conftest$ac_exeext'
12420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12421   (eval $ac_try) 2>&5
12422   ac_status=$?
12423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424   (exit $ac_status); }; }; then
12425   ac_cv_lib_m_copysignl=yes
12426 else
12427   echo "$as_me: failed program was:" >&5
12428 sed 's/^/| /' conftest.$ac_ext >&5
12429
12430 ac_cv_lib_m_copysignl=no
12431 fi
12432 rm -f conftest.err conftest.$ac_objext \
12433       conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_lib_save_LIBS
12435 fi
12436 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12437 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12438 if test $ac_cv_lib_m_copysignl = yes; then
12439
12440 cat >>confdefs.h <<\_ACEOF
12441 #define HAVE_COPYSIGNL 1
12442 _ACEOF
12443
12444 fi
12445
12446 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12447 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12448 if test "${ac_cv_lib_m_cosf+set}" = set; then
12449   echo $ECHO_N "(cached) $ECHO_C" >&6
12450 else
12451   ac_check_lib_save_LIBS=$LIBS
12452 LIBS="-lm  $LIBS"
12453 if test x$gcc_no_link = xyes; then
12454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12456    { (exit 1); exit 1; }; }
12457 fi
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h.  */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h.  */
12464
12465 /* Override any gcc2 internal prototype to avoid an error.  */
12466 #ifdef __cplusplus
12467 extern "C"
12468 #endif
12469 /* We use char because int might match the return type of a gcc2
12470    builtin and then its argument prototype would still apply.  */
12471 char cosf ();
12472 int
12473 main ()
12474 {
12475 cosf ();
12476   ;
12477   return 0;
12478 }
12479 _ACEOF
12480 rm -f conftest.$ac_objext conftest$ac_exeext
12481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12482   (eval $ac_link) 2>conftest.er1
12483   ac_status=$?
12484   grep -v '^ *+' conftest.er1 >conftest.err
12485   rm -f conftest.er1
12486   cat conftest.err >&5
12487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488   (exit $ac_status); } &&
12489          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12491   (eval $ac_try) 2>&5
12492   ac_status=$?
12493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494   (exit $ac_status); }; } &&
12495          { ac_try='test -s conftest$ac_exeext'
12496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497   (eval $ac_try) 2>&5
12498   ac_status=$?
12499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500   (exit $ac_status); }; }; then
12501   ac_cv_lib_m_cosf=yes
12502 else
12503   echo "$as_me: failed program was:" >&5
12504 sed 's/^/| /' conftest.$ac_ext >&5
12505
12506 ac_cv_lib_m_cosf=no
12507 fi
12508 rm -f conftest.err conftest.$ac_objext \
12509       conftest$ac_exeext conftest.$ac_ext
12510 LIBS=$ac_check_lib_save_LIBS
12511 fi
12512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
12513 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
12514 if test $ac_cv_lib_m_cosf = yes; then
12515
12516 cat >>confdefs.h <<\_ACEOF
12517 #define HAVE_COSF 1
12518 _ACEOF
12519
12520 fi
12521
12522 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12523 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12524 if test "${ac_cv_lib_m_cos+set}" = set; then
12525   echo $ECHO_N "(cached) $ECHO_C" >&6
12526 else
12527   ac_check_lib_save_LIBS=$LIBS
12528 LIBS="-lm  $LIBS"
12529 if test x$gcc_no_link = xyes; then
12530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12532    { (exit 1); exit 1; }; }
12533 fi
12534 cat >conftest.$ac_ext <<_ACEOF
12535 /* confdefs.h.  */
12536 _ACEOF
12537 cat confdefs.h >>conftest.$ac_ext
12538 cat >>conftest.$ac_ext <<_ACEOF
12539 /* end confdefs.h.  */
12540
12541 /* Override any gcc2 internal prototype to avoid an error.  */
12542 #ifdef __cplusplus
12543 extern "C"
12544 #endif
12545 /* We use char because int might match the return type of a gcc2
12546    builtin and then its argument prototype would still apply.  */
12547 char cos ();
12548 int
12549 main ()
12550 {
12551 cos ();
12552   ;
12553   return 0;
12554 }
12555 _ACEOF
12556 rm -f conftest.$ac_objext conftest$ac_exeext
12557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12558   (eval $ac_link) 2>conftest.er1
12559   ac_status=$?
12560   grep -v '^ *+' conftest.er1 >conftest.err
12561   rm -f conftest.er1
12562   cat conftest.err >&5
12563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564   (exit $ac_status); } &&
12565          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567   (eval $ac_try) 2>&5
12568   ac_status=$?
12569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570   (exit $ac_status); }; } &&
12571          { ac_try='test -s conftest$ac_exeext'
12572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573   (eval $ac_try) 2>&5
12574   ac_status=$?
12575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576   (exit $ac_status); }; }; then
12577   ac_cv_lib_m_cos=yes
12578 else
12579   echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.$ac_ext >&5
12581
12582 ac_cv_lib_m_cos=no
12583 fi
12584 rm -f conftest.err conftest.$ac_objext \
12585       conftest$ac_exeext conftest.$ac_ext
12586 LIBS=$ac_check_lib_save_LIBS
12587 fi
12588 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12589 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12590 if test $ac_cv_lib_m_cos = yes; then
12591
12592 cat >>confdefs.h <<\_ACEOF
12593 #define HAVE_COS 1
12594 _ACEOF
12595
12596 fi
12597
12598 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
12599 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
12600 if test "${ac_cv_lib_m_cosl+set}" = set; then
12601   echo $ECHO_N "(cached) $ECHO_C" >&6
12602 else
12603   ac_check_lib_save_LIBS=$LIBS
12604 LIBS="-lm  $LIBS"
12605 if test x$gcc_no_link = xyes; then
12606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12608    { (exit 1); exit 1; }; }
12609 fi
12610 cat >conftest.$ac_ext <<_ACEOF
12611 /* confdefs.h.  */
12612 _ACEOF
12613 cat confdefs.h >>conftest.$ac_ext
12614 cat >>conftest.$ac_ext <<_ACEOF
12615 /* end confdefs.h.  */
12616
12617 /* Override any gcc2 internal prototype to avoid an error.  */
12618 #ifdef __cplusplus
12619 extern "C"
12620 #endif
12621 /* We use char because int might match the return type of a gcc2
12622    builtin and then its argument prototype would still apply.  */
12623 char cosl ();
12624 int
12625 main ()
12626 {
12627 cosl ();
12628   ;
12629   return 0;
12630 }
12631 _ACEOF
12632 rm -f conftest.$ac_objext conftest$ac_exeext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12634   (eval $ac_link) 2>conftest.er1
12635   ac_status=$?
12636   grep -v '^ *+' conftest.er1 >conftest.err
12637   rm -f conftest.er1
12638   cat conftest.err >&5
12639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640   (exit $ac_status); } &&
12641          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643   (eval $ac_try) 2>&5
12644   ac_status=$?
12645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646   (exit $ac_status); }; } &&
12647          { ac_try='test -s conftest$ac_exeext'
12648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649   (eval $ac_try) 2>&5
12650   ac_status=$?
12651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652   (exit $ac_status); }; }; then
12653   ac_cv_lib_m_cosl=yes
12654 else
12655   echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.$ac_ext >&5
12657
12658 ac_cv_lib_m_cosl=no
12659 fi
12660 rm -f conftest.err conftest.$ac_objext \
12661       conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_lib_save_LIBS
12663 fi
12664 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
12665 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
12666 if test $ac_cv_lib_m_cosl = yes; then
12667
12668 cat >>confdefs.h <<\_ACEOF
12669 #define HAVE_COSL 1
12670 _ACEOF
12671
12672 fi
12673
12674 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
12675 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
12676 if test "${ac_cv_lib_m_ccosf+set}" = set; then
12677   echo $ECHO_N "(cached) $ECHO_C" >&6
12678 else
12679   ac_check_lib_save_LIBS=$LIBS
12680 LIBS="-lm  $LIBS"
12681 if test x$gcc_no_link = xyes; then
12682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12684    { (exit 1); exit 1; }; }
12685 fi
12686 cat >conftest.$ac_ext <<_ACEOF
12687 /* confdefs.h.  */
12688 _ACEOF
12689 cat confdefs.h >>conftest.$ac_ext
12690 cat >>conftest.$ac_ext <<_ACEOF
12691 /* end confdefs.h.  */
12692
12693 /* Override any gcc2 internal prototype to avoid an error.  */
12694 #ifdef __cplusplus
12695 extern "C"
12696 #endif
12697 /* We use char because int might match the return type of a gcc2
12698    builtin and then its argument prototype would still apply.  */
12699 char ccosf ();
12700 int
12701 main ()
12702 {
12703 ccosf ();
12704   ;
12705   return 0;
12706 }
12707 _ACEOF
12708 rm -f conftest.$ac_objext conftest$ac_exeext
12709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12710   (eval $ac_link) 2>conftest.er1
12711   ac_status=$?
12712   grep -v '^ *+' conftest.er1 >conftest.err
12713   rm -f conftest.er1
12714   cat conftest.err >&5
12715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716   (exit $ac_status); } &&
12717          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719   (eval $ac_try) 2>&5
12720   ac_status=$?
12721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722   (exit $ac_status); }; } &&
12723          { ac_try='test -s conftest$ac_exeext'
12724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12725   (eval $ac_try) 2>&5
12726   ac_status=$?
12727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728   (exit $ac_status); }; }; then
12729   ac_cv_lib_m_ccosf=yes
12730 else
12731   echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.$ac_ext >&5
12733
12734 ac_cv_lib_m_ccosf=no
12735 fi
12736 rm -f conftest.err conftest.$ac_objext \
12737       conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_lib_save_LIBS
12739 fi
12740 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
12741 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
12742 if test $ac_cv_lib_m_ccosf = yes; then
12743
12744 cat >>confdefs.h <<\_ACEOF
12745 #define HAVE_CCOSF 1
12746 _ACEOF
12747
12748 fi
12749
12750 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
12751 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
12752 if test "${ac_cv_lib_m_ccos+set}" = set; then
12753   echo $ECHO_N "(cached) $ECHO_C" >&6
12754 else
12755   ac_check_lib_save_LIBS=$LIBS
12756 LIBS="-lm  $LIBS"
12757 if test x$gcc_no_link = xyes; then
12758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12760    { (exit 1); exit 1; }; }
12761 fi
12762 cat >conftest.$ac_ext <<_ACEOF
12763 /* confdefs.h.  */
12764 _ACEOF
12765 cat confdefs.h >>conftest.$ac_ext
12766 cat >>conftest.$ac_ext <<_ACEOF
12767 /* end confdefs.h.  */
12768
12769 /* Override any gcc2 internal prototype to avoid an error.  */
12770 #ifdef __cplusplus
12771 extern "C"
12772 #endif
12773 /* We use char because int might match the return type of a gcc2
12774    builtin and then its argument prototype would still apply.  */
12775 char ccos ();
12776 int
12777 main ()
12778 {
12779 ccos ();
12780   ;
12781   return 0;
12782 }
12783 _ACEOF
12784 rm -f conftest.$ac_objext conftest$ac_exeext
12785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12786   (eval $ac_link) 2>conftest.er1
12787   ac_status=$?
12788   grep -v '^ *+' conftest.er1 >conftest.err
12789   rm -f conftest.er1
12790   cat conftest.err >&5
12791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792   (exit $ac_status); } &&
12793          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795   (eval $ac_try) 2>&5
12796   ac_status=$?
12797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798   (exit $ac_status); }; } &&
12799          { ac_try='test -s conftest$ac_exeext'
12800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801   (eval $ac_try) 2>&5
12802   ac_status=$?
12803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804   (exit $ac_status); }; }; then
12805   ac_cv_lib_m_ccos=yes
12806 else
12807   echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.$ac_ext >&5
12809
12810 ac_cv_lib_m_ccos=no
12811 fi
12812 rm -f conftest.err conftest.$ac_objext \
12813       conftest$ac_exeext conftest.$ac_ext
12814 LIBS=$ac_check_lib_save_LIBS
12815 fi
12816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
12817 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
12818 if test $ac_cv_lib_m_ccos = yes; then
12819
12820 cat >>confdefs.h <<\_ACEOF
12821 #define HAVE_CCOS 1
12822 _ACEOF
12823
12824 fi
12825
12826 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
12827 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
12828 if test "${ac_cv_lib_m_ccosl+set}" = set; then
12829   echo $ECHO_N "(cached) $ECHO_C" >&6
12830 else
12831   ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lm  $LIBS"
12833 if test x$gcc_no_link = xyes; then
12834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12836    { (exit 1); exit 1; }; }
12837 fi
12838 cat >conftest.$ac_ext <<_ACEOF
12839 /* confdefs.h.  */
12840 _ACEOF
12841 cat confdefs.h >>conftest.$ac_ext
12842 cat >>conftest.$ac_ext <<_ACEOF
12843 /* end confdefs.h.  */
12844
12845 /* Override any gcc2 internal prototype to avoid an error.  */
12846 #ifdef __cplusplus
12847 extern "C"
12848 #endif
12849 /* We use char because int might match the return type of a gcc2
12850    builtin and then its argument prototype would still apply.  */
12851 char ccosl ();
12852 int
12853 main ()
12854 {
12855 ccosl ();
12856   ;
12857   return 0;
12858 }
12859 _ACEOF
12860 rm -f conftest.$ac_objext conftest$ac_exeext
12861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12862   (eval $ac_link) 2>conftest.er1
12863   ac_status=$?
12864   grep -v '^ *+' conftest.er1 >conftest.err
12865   rm -f conftest.er1
12866   cat conftest.err >&5
12867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868   (exit $ac_status); } &&
12869          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871   (eval $ac_try) 2>&5
12872   ac_status=$?
12873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874   (exit $ac_status); }; } &&
12875          { ac_try='test -s conftest$ac_exeext'
12876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877   (eval $ac_try) 2>&5
12878   ac_status=$?
12879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880   (exit $ac_status); }; }; then
12881   ac_cv_lib_m_ccosl=yes
12882 else
12883   echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.$ac_ext >&5
12885
12886 ac_cv_lib_m_ccosl=no
12887 fi
12888 rm -f conftest.err conftest.$ac_objext \
12889       conftest$ac_exeext conftest.$ac_ext
12890 LIBS=$ac_check_lib_save_LIBS
12891 fi
12892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
12893 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
12894 if test $ac_cv_lib_m_ccosl = yes; then
12895
12896 cat >>confdefs.h <<\_ACEOF
12897 #define HAVE_CCOSL 1
12898 _ACEOF
12899
12900 fi
12901
12902 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
12903 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
12904 if test "${ac_cv_lib_m_coshf+set}" = set; then
12905   echo $ECHO_N "(cached) $ECHO_C" >&6
12906 else
12907   ac_check_lib_save_LIBS=$LIBS
12908 LIBS="-lm  $LIBS"
12909 if test x$gcc_no_link = xyes; then
12910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12912    { (exit 1); exit 1; }; }
12913 fi
12914 cat >conftest.$ac_ext <<_ACEOF
12915 /* confdefs.h.  */
12916 _ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h.  */
12920
12921 /* Override any gcc2 internal prototype to avoid an error.  */
12922 #ifdef __cplusplus
12923 extern "C"
12924 #endif
12925 /* We use char because int might match the return type of a gcc2
12926    builtin and then its argument prototype would still apply.  */
12927 char coshf ();
12928 int
12929 main ()
12930 {
12931 coshf ();
12932   ;
12933   return 0;
12934 }
12935 _ACEOF
12936 rm -f conftest.$ac_objext conftest$ac_exeext
12937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12938   (eval $ac_link) 2>conftest.er1
12939   ac_status=$?
12940   grep -v '^ *+' conftest.er1 >conftest.err
12941   rm -f conftest.er1
12942   cat conftest.err >&5
12943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944   (exit $ac_status); } &&
12945          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
12946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947   (eval $ac_try) 2>&5
12948   ac_status=$?
12949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950   (exit $ac_status); }; } &&
12951          { ac_try='test -s conftest$ac_exeext'
12952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12953   (eval $ac_try) 2>&5
12954   ac_status=$?
12955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956   (exit $ac_status); }; }; then
12957   ac_cv_lib_m_coshf=yes
12958 else
12959   echo "$as_me: failed program was:" >&5
12960 sed 's/^/| /' conftest.$ac_ext >&5
12961
12962 ac_cv_lib_m_coshf=no
12963 fi
12964 rm -f conftest.err conftest.$ac_objext \
12965       conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12967 fi
12968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
12969 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
12970 if test $ac_cv_lib_m_coshf = yes; then
12971
12972 cat >>confdefs.h <<\_ACEOF
12973 #define HAVE_COSHF 1
12974 _ACEOF
12975
12976 fi
12977
12978 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
12979 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
12980 if test "${ac_cv_lib_m_cosh+set}" = set; then
12981   echo $ECHO_N "(cached) $ECHO_C" >&6
12982 else
12983   ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-lm  $LIBS"
12985 if test x$gcc_no_link = xyes; then
12986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12988    { (exit 1); exit 1; }; }
12989 fi
12990 cat >conftest.$ac_ext <<_ACEOF
12991 /* confdefs.h.  */
12992 _ACEOF
12993 cat confdefs.h >>conftest.$ac_ext
12994 cat >>conftest.$ac_ext <<_ACEOF
12995 /* end confdefs.h.  */
12996
12997 /* Override any gcc2 internal prototype to avoid an error.  */
12998 #ifdef __cplusplus
12999 extern "C"
13000 #endif
13001 /* We use char because int might match the return type of a gcc2
13002    builtin and then its argument prototype would still apply.  */
13003 char cosh ();
13004 int
13005 main ()
13006 {
13007 cosh ();
13008   ;
13009   return 0;
13010 }
13011 _ACEOF
13012 rm -f conftest.$ac_objext conftest$ac_exeext
13013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13014   (eval $ac_link) 2>conftest.er1
13015   ac_status=$?
13016   grep -v '^ *+' conftest.er1 >conftest.err
13017   rm -f conftest.er1
13018   cat conftest.err >&5
13019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020   (exit $ac_status); } &&
13021          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023   (eval $ac_try) 2>&5
13024   ac_status=$?
13025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026   (exit $ac_status); }; } &&
13027          { ac_try='test -s conftest$ac_exeext'
13028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029   (eval $ac_try) 2>&5
13030   ac_status=$?
13031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032   (exit $ac_status); }; }; then
13033   ac_cv_lib_m_cosh=yes
13034 else
13035   echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13037
13038 ac_cv_lib_m_cosh=no
13039 fi
13040 rm -f conftest.err conftest.$ac_objext \
13041       conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_lib_save_LIBS
13043 fi
13044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13045 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13046 if test $ac_cv_lib_m_cosh = yes; then
13047
13048 cat >>confdefs.h <<\_ACEOF
13049 #define HAVE_COSH 1
13050 _ACEOF
13051
13052 fi
13053
13054 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13055 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13056 if test "${ac_cv_lib_m_coshl+set}" = set; then
13057   echo $ECHO_N "(cached) $ECHO_C" >&6
13058 else
13059   ac_check_lib_save_LIBS=$LIBS
13060 LIBS="-lm  $LIBS"
13061 if test x$gcc_no_link = xyes; then
13062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13064    { (exit 1); exit 1; }; }
13065 fi
13066 cat >conftest.$ac_ext <<_ACEOF
13067 /* confdefs.h.  */
13068 _ACEOF
13069 cat confdefs.h >>conftest.$ac_ext
13070 cat >>conftest.$ac_ext <<_ACEOF
13071 /* end confdefs.h.  */
13072
13073 /* Override any gcc2 internal prototype to avoid an error.  */
13074 #ifdef __cplusplus
13075 extern "C"
13076 #endif
13077 /* We use char because int might match the return type of a gcc2
13078    builtin and then its argument prototype would still apply.  */
13079 char coshl ();
13080 int
13081 main ()
13082 {
13083 coshl ();
13084   ;
13085   return 0;
13086 }
13087 _ACEOF
13088 rm -f conftest.$ac_objext conftest$ac_exeext
13089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13090   (eval $ac_link) 2>conftest.er1
13091   ac_status=$?
13092   grep -v '^ *+' conftest.er1 >conftest.err
13093   rm -f conftest.er1
13094   cat conftest.err >&5
13095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096   (exit $ac_status); } &&
13097          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099   (eval $ac_try) 2>&5
13100   ac_status=$?
13101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102   (exit $ac_status); }; } &&
13103          { ac_try='test -s conftest$ac_exeext'
13104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105   (eval $ac_try) 2>&5
13106   ac_status=$?
13107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108   (exit $ac_status); }; }; then
13109   ac_cv_lib_m_coshl=yes
13110 else
13111   echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.$ac_ext >&5
13113
13114 ac_cv_lib_m_coshl=no
13115 fi
13116 rm -f conftest.err conftest.$ac_objext \
13117       conftest$ac_exeext conftest.$ac_ext
13118 LIBS=$ac_check_lib_save_LIBS
13119 fi
13120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13121 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13122 if test $ac_cv_lib_m_coshl = yes; then
13123
13124 cat >>confdefs.h <<\_ACEOF
13125 #define HAVE_COSHL 1
13126 _ACEOF
13127
13128 fi
13129
13130 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13131 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13132 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13133   echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else
13135   ac_check_lib_save_LIBS=$LIBS
13136 LIBS="-lm  $LIBS"
13137 if test x$gcc_no_link = xyes; then
13138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13140    { (exit 1); exit 1; }; }
13141 fi
13142 cat >conftest.$ac_ext <<_ACEOF
13143 /* confdefs.h.  */
13144 _ACEOF
13145 cat confdefs.h >>conftest.$ac_ext
13146 cat >>conftest.$ac_ext <<_ACEOF
13147 /* end confdefs.h.  */
13148
13149 /* Override any gcc2 internal prototype to avoid an error.  */
13150 #ifdef __cplusplus
13151 extern "C"
13152 #endif
13153 /* We use char because int might match the return type of a gcc2
13154    builtin and then its argument prototype would still apply.  */
13155 char ccoshf ();
13156 int
13157 main ()
13158 {
13159 ccoshf ();
13160   ;
13161   return 0;
13162 }
13163 _ACEOF
13164 rm -f conftest.$ac_objext conftest$ac_exeext
13165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13166   (eval $ac_link) 2>conftest.er1
13167   ac_status=$?
13168   grep -v '^ *+' conftest.er1 >conftest.err
13169   rm -f conftest.er1
13170   cat conftest.err >&5
13171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172   (exit $ac_status); } &&
13173          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175   (eval $ac_try) 2>&5
13176   ac_status=$?
13177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178   (exit $ac_status); }; } &&
13179          { ac_try='test -s conftest$ac_exeext'
13180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13181   (eval $ac_try) 2>&5
13182   ac_status=$?
13183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184   (exit $ac_status); }; }; then
13185   ac_cv_lib_m_ccoshf=yes
13186 else
13187   echo "$as_me: failed program was:" >&5
13188 sed 's/^/| /' conftest.$ac_ext >&5
13189
13190 ac_cv_lib_m_ccoshf=no
13191 fi
13192 rm -f conftest.err conftest.$ac_objext \
13193       conftest$ac_exeext conftest.$ac_ext
13194 LIBS=$ac_check_lib_save_LIBS
13195 fi
13196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13197 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13198 if test $ac_cv_lib_m_ccoshf = yes; then
13199
13200 cat >>confdefs.h <<\_ACEOF
13201 #define HAVE_CCOSHF 1
13202 _ACEOF
13203
13204 fi
13205
13206 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13207 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13208 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13209   echo $ECHO_N "(cached) $ECHO_C" >&6
13210 else
13211   ac_check_lib_save_LIBS=$LIBS
13212 LIBS="-lm  $LIBS"
13213 if test x$gcc_no_link = xyes; then
13214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13216    { (exit 1); exit 1; }; }
13217 fi
13218 cat >conftest.$ac_ext <<_ACEOF
13219 /* confdefs.h.  */
13220 _ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h.  */
13224
13225 /* Override any gcc2 internal prototype to avoid an error.  */
13226 #ifdef __cplusplus
13227 extern "C"
13228 #endif
13229 /* We use char because int might match the return type of a gcc2
13230    builtin and then its argument prototype would still apply.  */
13231 char ccosh ();
13232 int
13233 main ()
13234 {
13235 ccosh ();
13236   ;
13237   return 0;
13238 }
13239 _ACEOF
13240 rm -f conftest.$ac_objext conftest$ac_exeext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13242   (eval $ac_link) 2>conftest.er1
13243   ac_status=$?
13244   grep -v '^ *+' conftest.er1 >conftest.err
13245   rm -f conftest.er1
13246   cat conftest.err >&5
13247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248   (exit $ac_status); } &&
13249          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251   (eval $ac_try) 2>&5
13252   ac_status=$?
13253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254   (exit $ac_status); }; } &&
13255          { ac_try='test -s conftest$ac_exeext'
13256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257   (eval $ac_try) 2>&5
13258   ac_status=$?
13259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260   (exit $ac_status); }; }; then
13261   ac_cv_lib_m_ccosh=yes
13262 else
13263   echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13265
13266 ac_cv_lib_m_ccosh=no
13267 fi
13268 rm -f conftest.err conftest.$ac_objext \
13269       conftest$ac_exeext conftest.$ac_ext
13270 LIBS=$ac_check_lib_save_LIBS
13271 fi
13272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13273 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13274 if test $ac_cv_lib_m_ccosh = yes; then
13275
13276 cat >>confdefs.h <<\_ACEOF
13277 #define HAVE_CCOSH 1
13278 _ACEOF
13279
13280 fi
13281
13282 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13283 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13284 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13285   echo $ECHO_N "(cached) $ECHO_C" >&6
13286 else
13287   ac_check_lib_save_LIBS=$LIBS
13288 LIBS="-lm  $LIBS"
13289 if test x$gcc_no_link = xyes; then
13290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13292    { (exit 1); exit 1; }; }
13293 fi
13294 cat >conftest.$ac_ext <<_ACEOF
13295 /* confdefs.h.  */
13296 _ACEOF
13297 cat confdefs.h >>conftest.$ac_ext
13298 cat >>conftest.$ac_ext <<_ACEOF
13299 /* end confdefs.h.  */
13300
13301 /* Override any gcc2 internal prototype to avoid an error.  */
13302 #ifdef __cplusplus
13303 extern "C"
13304 #endif
13305 /* We use char because int might match the return type of a gcc2
13306    builtin and then its argument prototype would still apply.  */
13307 char ccoshl ();
13308 int
13309 main ()
13310 {
13311 ccoshl ();
13312   ;
13313   return 0;
13314 }
13315 _ACEOF
13316 rm -f conftest.$ac_objext conftest$ac_exeext
13317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13318   (eval $ac_link) 2>conftest.er1
13319   ac_status=$?
13320   grep -v '^ *+' conftest.er1 >conftest.err
13321   rm -f conftest.er1
13322   cat conftest.err >&5
13323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324   (exit $ac_status); } &&
13325          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327   (eval $ac_try) 2>&5
13328   ac_status=$?
13329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330   (exit $ac_status); }; } &&
13331          { ac_try='test -s conftest$ac_exeext'
13332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333   (eval $ac_try) 2>&5
13334   ac_status=$?
13335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336   (exit $ac_status); }; }; then
13337   ac_cv_lib_m_ccoshl=yes
13338 else
13339   echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.$ac_ext >&5
13341
13342 ac_cv_lib_m_ccoshl=no
13343 fi
13344 rm -f conftest.err conftest.$ac_objext \
13345       conftest$ac_exeext conftest.$ac_ext
13346 LIBS=$ac_check_lib_save_LIBS
13347 fi
13348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13349 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13350 if test $ac_cv_lib_m_ccoshl = yes; then
13351
13352 cat >>confdefs.h <<\_ACEOF
13353 #define HAVE_CCOSHL 1
13354 _ACEOF
13355
13356 fi
13357
13358 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13359 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13360 if test "${ac_cv_lib_m_expf+set}" = set; then
13361   echo $ECHO_N "(cached) $ECHO_C" >&6
13362 else
13363   ac_check_lib_save_LIBS=$LIBS
13364 LIBS="-lm  $LIBS"
13365 if test x$gcc_no_link = xyes; then
13366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13368    { (exit 1); exit 1; }; }
13369 fi
13370 cat >conftest.$ac_ext <<_ACEOF
13371 /* confdefs.h.  */
13372 _ACEOF
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h.  */
13376
13377 /* Override any gcc2 internal prototype to avoid an error.  */
13378 #ifdef __cplusplus
13379 extern "C"
13380 #endif
13381 /* We use char because int might match the return type of a gcc2
13382    builtin and then its argument prototype would still apply.  */
13383 char expf ();
13384 int
13385 main ()
13386 {
13387 expf ();
13388   ;
13389   return 0;
13390 }
13391 _ACEOF
13392 rm -f conftest.$ac_objext conftest$ac_exeext
13393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13394   (eval $ac_link) 2>conftest.er1
13395   ac_status=$?
13396   grep -v '^ *+' conftest.er1 >conftest.err
13397   rm -f conftest.er1
13398   cat conftest.err >&5
13399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400   (exit $ac_status); } &&
13401          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13403   (eval $ac_try) 2>&5
13404   ac_status=$?
13405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406   (exit $ac_status); }; } &&
13407          { ac_try='test -s conftest$ac_exeext'
13408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409   (eval $ac_try) 2>&5
13410   ac_status=$?
13411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412   (exit $ac_status); }; }; then
13413   ac_cv_lib_m_expf=yes
13414 else
13415   echo "$as_me: failed program was:" >&5
13416 sed 's/^/| /' conftest.$ac_ext >&5
13417
13418 ac_cv_lib_m_expf=no
13419 fi
13420 rm -f conftest.err conftest.$ac_objext \
13421       conftest$ac_exeext conftest.$ac_ext
13422 LIBS=$ac_check_lib_save_LIBS
13423 fi
13424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13425 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13426 if test $ac_cv_lib_m_expf = yes; then
13427
13428 cat >>confdefs.h <<\_ACEOF
13429 #define HAVE_EXPF 1
13430 _ACEOF
13431
13432 fi
13433
13434 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13435 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13436 if test "${ac_cv_lib_m_exp+set}" = set; then
13437   echo $ECHO_N "(cached) $ECHO_C" >&6
13438 else
13439   ac_check_lib_save_LIBS=$LIBS
13440 LIBS="-lm  $LIBS"
13441 if test x$gcc_no_link = xyes; then
13442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13444    { (exit 1); exit 1; }; }
13445 fi
13446 cat >conftest.$ac_ext <<_ACEOF
13447 /* confdefs.h.  */
13448 _ACEOF
13449 cat confdefs.h >>conftest.$ac_ext
13450 cat >>conftest.$ac_ext <<_ACEOF
13451 /* end confdefs.h.  */
13452
13453 /* Override any gcc2 internal prototype to avoid an error.  */
13454 #ifdef __cplusplus
13455 extern "C"
13456 #endif
13457 /* We use char because int might match the return type of a gcc2
13458    builtin and then its argument prototype would still apply.  */
13459 char exp ();
13460 int
13461 main ()
13462 {
13463 exp ();
13464   ;
13465   return 0;
13466 }
13467 _ACEOF
13468 rm -f conftest.$ac_objext conftest$ac_exeext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13470   (eval $ac_link) 2>conftest.er1
13471   ac_status=$?
13472   grep -v '^ *+' conftest.er1 >conftest.err
13473   rm -f conftest.er1
13474   cat conftest.err >&5
13475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476   (exit $ac_status); } &&
13477          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13479   (eval $ac_try) 2>&5
13480   ac_status=$?
13481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482   (exit $ac_status); }; } &&
13483          { ac_try='test -s conftest$ac_exeext'
13484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485   (eval $ac_try) 2>&5
13486   ac_status=$?
13487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488   (exit $ac_status); }; }; then
13489   ac_cv_lib_m_exp=yes
13490 else
13491   echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.$ac_ext >&5
13493
13494 ac_cv_lib_m_exp=no
13495 fi
13496 rm -f conftest.err conftest.$ac_objext \
13497       conftest$ac_exeext conftest.$ac_ext
13498 LIBS=$ac_check_lib_save_LIBS
13499 fi
13500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
13501 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
13502 if test $ac_cv_lib_m_exp = yes; then
13503
13504 cat >>confdefs.h <<\_ACEOF
13505 #define HAVE_EXP 1
13506 _ACEOF
13507
13508 fi
13509
13510 echo "$as_me:$LINENO: checking for expl in -lm" >&5
13511 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
13512 if test "${ac_cv_lib_m_expl+set}" = set; then
13513   echo $ECHO_N "(cached) $ECHO_C" >&6
13514 else
13515   ac_check_lib_save_LIBS=$LIBS
13516 LIBS="-lm  $LIBS"
13517 if test x$gcc_no_link = xyes; then
13518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13520    { (exit 1); exit 1; }; }
13521 fi
13522 cat >conftest.$ac_ext <<_ACEOF
13523 /* confdefs.h.  */
13524 _ACEOF
13525 cat confdefs.h >>conftest.$ac_ext
13526 cat >>conftest.$ac_ext <<_ACEOF
13527 /* end confdefs.h.  */
13528
13529 /* Override any gcc2 internal prototype to avoid an error.  */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 /* We use char because int might match the return type of a gcc2
13534    builtin and then its argument prototype would still apply.  */
13535 char expl ();
13536 int
13537 main ()
13538 {
13539 expl ();
13540   ;
13541   return 0;
13542 }
13543 _ACEOF
13544 rm -f conftest.$ac_objext conftest$ac_exeext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13546   (eval $ac_link) 2>conftest.er1
13547   ac_status=$?
13548   grep -v '^ *+' conftest.er1 >conftest.err
13549   rm -f conftest.er1
13550   cat conftest.err >&5
13551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552   (exit $ac_status); } &&
13553          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555   (eval $ac_try) 2>&5
13556   ac_status=$?
13557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558   (exit $ac_status); }; } &&
13559          { ac_try='test -s conftest$ac_exeext'
13560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561   (eval $ac_try) 2>&5
13562   ac_status=$?
13563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564   (exit $ac_status); }; }; then
13565   ac_cv_lib_m_expl=yes
13566 else
13567   echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13569
13570 ac_cv_lib_m_expl=no
13571 fi
13572 rm -f conftest.err conftest.$ac_objext \
13573       conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_lib_save_LIBS
13575 fi
13576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
13577 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
13578 if test $ac_cv_lib_m_expl = yes; then
13579
13580 cat >>confdefs.h <<\_ACEOF
13581 #define HAVE_EXPL 1
13582 _ACEOF
13583
13584 fi
13585
13586 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
13587 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
13588 if test "${ac_cv_lib_m_cexpf+set}" = set; then
13589   echo $ECHO_N "(cached) $ECHO_C" >&6
13590 else
13591   ac_check_lib_save_LIBS=$LIBS
13592 LIBS="-lm  $LIBS"
13593 if test x$gcc_no_link = xyes; then
13594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13596    { (exit 1); exit 1; }; }
13597 fi
13598 cat >conftest.$ac_ext <<_ACEOF
13599 /* confdefs.h.  */
13600 _ACEOF
13601 cat confdefs.h >>conftest.$ac_ext
13602 cat >>conftest.$ac_ext <<_ACEOF
13603 /* end confdefs.h.  */
13604
13605 /* Override any gcc2 internal prototype to avoid an error.  */
13606 #ifdef __cplusplus
13607 extern "C"
13608 #endif
13609 /* We use char because int might match the return type of a gcc2
13610    builtin and then its argument prototype would still apply.  */
13611 char cexpf ();
13612 int
13613 main ()
13614 {
13615 cexpf ();
13616   ;
13617   return 0;
13618 }
13619 _ACEOF
13620 rm -f conftest.$ac_objext conftest$ac_exeext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13622   (eval $ac_link) 2>conftest.er1
13623   ac_status=$?
13624   grep -v '^ *+' conftest.er1 >conftest.err
13625   rm -f conftest.er1
13626   cat conftest.err >&5
13627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628   (exit $ac_status); } &&
13629          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631   (eval $ac_try) 2>&5
13632   ac_status=$?
13633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634   (exit $ac_status); }; } &&
13635          { ac_try='test -s conftest$ac_exeext'
13636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637   (eval $ac_try) 2>&5
13638   ac_status=$?
13639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640   (exit $ac_status); }; }; then
13641   ac_cv_lib_m_cexpf=yes
13642 else
13643   echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.$ac_ext >&5
13645
13646 ac_cv_lib_m_cexpf=no
13647 fi
13648 rm -f conftest.err conftest.$ac_objext \
13649       conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_lib_save_LIBS
13651 fi
13652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
13653 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
13654 if test $ac_cv_lib_m_cexpf = yes; then
13655
13656 cat >>confdefs.h <<\_ACEOF
13657 #define HAVE_CEXPF 1
13658 _ACEOF
13659
13660 fi
13661
13662 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
13663 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
13664 if test "${ac_cv_lib_m_cexp+set}" = set; then
13665   echo $ECHO_N "(cached) $ECHO_C" >&6
13666 else
13667   ac_check_lib_save_LIBS=$LIBS
13668 LIBS="-lm  $LIBS"
13669 if test x$gcc_no_link = xyes; then
13670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13672    { (exit 1); exit 1; }; }
13673 fi
13674 cat >conftest.$ac_ext <<_ACEOF
13675 /* confdefs.h.  */
13676 _ACEOF
13677 cat confdefs.h >>conftest.$ac_ext
13678 cat >>conftest.$ac_ext <<_ACEOF
13679 /* end confdefs.h.  */
13680
13681 /* Override any gcc2 internal prototype to avoid an error.  */
13682 #ifdef __cplusplus
13683 extern "C"
13684 #endif
13685 /* We use char because int might match the return type of a gcc2
13686    builtin and then its argument prototype would still apply.  */
13687 char cexp ();
13688 int
13689 main ()
13690 {
13691 cexp ();
13692   ;
13693   return 0;
13694 }
13695 _ACEOF
13696 rm -f conftest.$ac_objext conftest$ac_exeext
13697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13698   (eval $ac_link) 2>conftest.er1
13699   ac_status=$?
13700   grep -v '^ *+' conftest.er1 >conftest.err
13701   rm -f conftest.er1
13702   cat conftest.err >&5
13703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704   (exit $ac_status); } &&
13705          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707   (eval $ac_try) 2>&5
13708   ac_status=$?
13709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710   (exit $ac_status); }; } &&
13711          { ac_try='test -s conftest$ac_exeext'
13712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713   (eval $ac_try) 2>&5
13714   ac_status=$?
13715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716   (exit $ac_status); }; }; then
13717   ac_cv_lib_m_cexp=yes
13718 else
13719   echo "$as_me: failed program was:" >&5
13720 sed 's/^/| /' conftest.$ac_ext >&5
13721
13722 ac_cv_lib_m_cexp=no
13723 fi
13724 rm -f conftest.err conftest.$ac_objext \
13725       conftest$ac_exeext conftest.$ac_ext
13726 LIBS=$ac_check_lib_save_LIBS
13727 fi
13728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
13729 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
13730 if test $ac_cv_lib_m_cexp = yes; then
13731
13732 cat >>confdefs.h <<\_ACEOF
13733 #define HAVE_CEXP 1
13734 _ACEOF
13735
13736 fi
13737
13738 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
13739 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
13740 if test "${ac_cv_lib_m_cexpl+set}" = set; then
13741   echo $ECHO_N "(cached) $ECHO_C" >&6
13742 else
13743   ac_check_lib_save_LIBS=$LIBS
13744 LIBS="-lm  $LIBS"
13745 if test x$gcc_no_link = xyes; then
13746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13748    { (exit 1); exit 1; }; }
13749 fi
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h.  */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h.  */
13756
13757 /* Override any gcc2 internal prototype to avoid an error.  */
13758 #ifdef __cplusplus
13759 extern "C"
13760 #endif
13761 /* We use char because int might match the return type of a gcc2
13762    builtin and then its argument prototype would still apply.  */
13763 char cexpl ();
13764 int
13765 main ()
13766 {
13767 cexpl ();
13768   ;
13769   return 0;
13770 }
13771 _ACEOF
13772 rm -f conftest.$ac_objext conftest$ac_exeext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13774   (eval $ac_link) 2>conftest.er1
13775   ac_status=$?
13776   grep -v '^ *+' conftest.er1 >conftest.err
13777   rm -f conftest.er1
13778   cat conftest.err >&5
13779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780   (exit $ac_status); } &&
13781          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783   (eval $ac_try) 2>&5
13784   ac_status=$?
13785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786   (exit $ac_status); }; } &&
13787          { ac_try='test -s conftest$ac_exeext'
13788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789   (eval $ac_try) 2>&5
13790   ac_status=$?
13791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792   (exit $ac_status); }; }; then
13793   ac_cv_lib_m_cexpl=yes
13794 else
13795   echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13797
13798 ac_cv_lib_m_cexpl=no
13799 fi
13800 rm -f conftest.err conftest.$ac_objext \
13801       conftest$ac_exeext conftest.$ac_ext
13802 LIBS=$ac_check_lib_save_LIBS
13803 fi
13804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
13805 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
13806 if test $ac_cv_lib_m_cexpl = yes; then
13807
13808 cat >>confdefs.h <<\_ACEOF
13809 #define HAVE_CEXPL 1
13810 _ACEOF
13811
13812 fi
13813
13814 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
13815 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
13816 if test "${ac_cv_lib_m_fabsf+set}" = set; then
13817   echo $ECHO_N "(cached) $ECHO_C" >&6
13818 else
13819   ac_check_lib_save_LIBS=$LIBS
13820 LIBS="-lm  $LIBS"
13821 if test x$gcc_no_link = xyes; then
13822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13824    { (exit 1); exit 1; }; }
13825 fi
13826 cat >conftest.$ac_ext <<_ACEOF
13827 /* confdefs.h.  */
13828 _ACEOF
13829 cat confdefs.h >>conftest.$ac_ext
13830 cat >>conftest.$ac_ext <<_ACEOF
13831 /* end confdefs.h.  */
13832
13833 /* Override any gcc2 internal prototype to avoid an error.  */
13834 #ifdef __cplusplus
13835 extern "C"
13836 #endif
13837 /* We use char because int might match the return type of a gcc2
13838    builtin and then its argument prototype would still apply.  */
13839 char fabsf ();
13840 int
13841 main ()
13842 {
13843 fabsf ();
13844   ;
13845   return 0;
13846 }
13847 _ACEOF
13848 rm -f conftest.$ac_objext conftest$ac_exeext
13849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13850   (eval $ac_link) 2>conftest.er1
13851   ac_status=$?
13852   grep -v '^ *+' conftest.er1 >conftest.err
13853   rm -f conftest.er1
13854   cat conftest.err >&5
13855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856   (exit $ac_status); } &&
13857          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13859   (eval $ac_try) 2>&5
13860   ac_status=$?
13861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862   (exit $ac_status); }; } &&
13863          { ac_try='test -s conftest$ac_exeext'
13864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13865   (eval $ac_try) 2>&5
13866   ac_status=$?
13867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868   (exit $ac_status); }; }; then
13869   ac_cv_lib_m_fabsf=yes
13870 else
13871   echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13873
13874 ac_cv_lib_m_fabsf=no
13875 fi
13876 rm -f conftest.err conftest.$ac_objext \
13877       conftest$ac_exeext conftest.$ac_ext
13878 LIBS=$ac_check_lib_save_LIBS
13879 fi
13880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
13881 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
13882 if test $ac_cv_lib_m_fabsf = yes; then
13883
13884 cat >>confdefs.h <<\_ACEOF
13885 #define HAVE_FABSF 1
13886 _ACEOF
13887
13888 fi
13889
13890 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
13891 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
13892 if test "${ac_cv_lib_m_fabs+set}" = set; then
13893   echo $ECHO_N "(cached) $ECHO_C" >&6
13894 else
13895   ac_check_lib_save_LIBS=$LIBS
13896 LIBS="-lm  $LIBS"
13897 if test x$gcc_no_link = xyes; then
13898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13900    { (exit 1); exit 1; }; }
13901 fi
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h.  */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h.  */
13908
13909 /* Override any gcc2 internal prototype to avoid an error.  */
13910 #ifdef __cplusplus
13911 extern "C"
13912 #endif
13913 /* We use char because int might match the return type of a gcc2
13914    builtin and then its argument prototype would still apply.  */
13915 char fabs ();
13916 int
13917 main ()
13918 {
13919 fabs ();
13920   ;
13921   return 0;
13922 }
13923 _ACEOF
13924 rm -f conftest.$ac_objext conftest$ac_exeext
13925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13926   (eval $ac_link) 2>conftest.er1
13927   ac_status=$?
13928   grep -v '^ *+' conftest.er1 >conftest.err
13929   rm -f conftest.er1
13930   cat conftest.err >&5
13931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932   (exit $ac_status); } &&
13933          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
13934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13935   (eval $ac_try) 2>&5
13936   ac_status=$?
13937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938   (exit $ac_status); }; } &&
13939          { ac_try='test -s conftest$ac_exeext'
13940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13941   (eval $ac_try) 2>&5
13942   ac_status=$?
13943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944   (exit $ac_status); }; }; then
13945   ac_cv_lib_m_fabs=yes
13946 else
13947   echo "$as_me: failed program was:" >&5
13948 sed 's/^/| /' conftest.$ac_ext >&5
13949
13950 ac_cv_lib_m_fabs=no
13951 fi
13952 rm -f conftest.err conftest.$ac_objext \
13953       conftest$ac_exeext conftest.$ac_ext
13954 LIBS=$ac_check_lib_save_LIBS
13955 fi
13956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
13957 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
13958 if test $ac_cv_lib_m_fabs = yes; then
13959
13960 cat >>confdefs.h <<\_ACEOF
13961 #define HAVE_FABS 1
13962 _ACEOF
13963
13964 fi
13965
13966 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
13967 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
13968 if test "${ac_cv_lib_m_fabsl+set}" = set; then
13969   echo $ECHO_N "(cached) $ECHO_C" >&6
13970 else
13971   ac_check_lib_save_LIBS=$LIBS
13972 LIBS="-lm  $LIBS"
13973 if test x$gcc_no_link = xyes; then
13974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13976    { (exit 1); exit 1; }; }
13977 fi
13978 cat >conftest.$ac_ext <<_ACEOF
13979 /* confdefs.h.  */
13980 _ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h.  */
13984
13985 /* Override any gcc2 internal prototype to avoid an error.  */
13986 #ifdef __cplusplus
13987 extern "C"
13988 #endif
13989 /* We use char because int might match the return type of a gcc2
13990    builtin and then its argument prototype would still apply.  */
13991 char fabsl ();
13992 int
13993 main ()
13994 {
13995 fabsl ();
13996   ;
13997   return 0;
13998 }
13999 _ACEOF
14000 rm -f conftest.$ac_objext conftest$ac_exeext
14001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14002   (eval $ac_link) 2>conftest.er1
14003   ac_status=$?
14004   grep -v '^ *+' conftest.er1 >conftest.err
14005   rm -f conftest.er1
14006   cat conftest.err >&5
14007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008   (exit $ac_status); } &&
14009          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011   (eval $ac_try) 2>&5
14012   ac_status=$?
14013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014   (exit $ac_status); }; } &&
14015          { ac_try='test -s conftest$ac_exeext'
14016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017   (eval $ac_try) 2>&5
14018   ac_status=$?
14019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020   (exit $ac_status); }; }; then
14021   ac_cv_lib_m_fabsl=yes
14022 else
14023   echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14025
14026 ac_cv_lib_m_fabsl=no
14027 fi
14028 rm -f conftest.err conftest.$ac_objext \
14029       conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14031 fi
14032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14033 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14034 if test $ac_cv_lib_m_fabsl = yes; then
14035
14036 cat >>confdefs.h <<\_ACEOF
14037 #define HAVE_FABSL 1
14038 _ACEOF
14039
14040 fi
14041
14042 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14043 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14044 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14045   echo $ECHO_N "(cached) $ECHO_C" >&6
14046 else
14047   ac_check_lib_save_LIBS=$LIBS
14048 LIBS="-lm  $LIBS"
14049 if test x$gcc_no_link = xyes; then
14050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14052    { (exit 1); exit 1; }; }
14053 fi
14054 cat >conftest.$ac_ext <<_ACEOF
14055 /* confdefs.h.  */
14056 _ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h.  */
14060
14061 /* Override any gcc2 internal prototype to avoid an error.  */
14062 #ifdef __cplusplus
14063 extern "C"
14064 #endif
14065 /* We use char because int might match the return type of a gcc2
14066    builtin and then its argument prototype would still apply.  */
14067 char cabsf ();
14068 int
14069 main ()
14070 {
14071 cabsf ();
14072   ;
14073   return 0;
14074 }
14075 _ACEOF
14076 rm -f conftest.$ac_objext conftest$ac_exeext
14077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14078   (eval $ac_link) 2>conftest.er1
14079   ac_status=$?
14080   grep -v '^ *+' conftest.er1 >conftest.err
14081   rm -f conftest.er1
14082   cat conftest.err >&5
14083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084   (exit $ac_status); } &&
14085          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087   (eval $ac_try) 2>&5
14088   ac_status=$?
14089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090   (exit $ac_status); }; } &&
14091          { ac_try='test -s conftest$ac_exeext'
14092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14093   (eval $ac_try) 2>&5
14094   ac_status=$?
14095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096   (exit $ac_status); }; }; then
14097   ac_cv_lib_m_cabsf=yes
14098 else
14099   echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.$ac_ext >&5
14101
14102 ac_cv_lib_m_cabsf=no
14103 fi
14104 rm -f conftest.err conftest.$ac_objext \
14105       conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14107 fi
14108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14109 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14110 if test $ac_cv_lib_m_cabsf = yes; then
14111
14112 cat >>confdefs.h <<\_ACEOF
14113 #define HAVE_CABSF 1
14114 _ACEOF
14115
14116 fi
14117
14118 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14119 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14120 if test "${ac_cv_lib_m_cabs+set}" = set; then
14121   echo $ECHO_N "(cached) $ECHO_C" >&6
14122 else
14123   ac_check_lib_save_LIBS=$LIBS
14124 LIBS="-lm  $LIBS"
14125 if test x$gcc_no_link = xyes; then
14126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14128    { (exit 1); exit 1; }; }
14129 fi
14130 cat >conftest.$ac_ext <<_ACEOF
14131 /* confdefs.h.  */
14132 _ACEOF
14133 cat confdefs.h >>conftest.$ac_ext
14134 cat >>conftest.$ac_ext <<_ACEOF
14135 /* end confdefs.h.  */
14136
14137 /* Override any gcc2 internal prototype to avoid an error.  */
14138 #ifdef __cplusplus
14139 extern "C"
14140 #endif
14141 /* We use char because int might match the return type of a gcc2
14142    builtin and then its argument prototype would still apply.  */
14143 char cabs ();
14144 int
14145 main ()
14146 {
14147 cabs ();
14148   ;
14149   return 0;
14150 }
14151 _ACEOF
14152 rm -f conftest.$ac_objext conftest$ac_exeext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14154   (eval $ac_link) 2>conftest.er1
14155   ac_status=$?
14156   grep -v '^ *+' conftest.er1 >conftest.err
14157   rm -f conftest.er1
14158   cat conftest.err >&5
14159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160   (exit $ac_status); } &&
14161          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163   (eval $ac_try) 2>&5
14164   ac_status=$?
14165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166   (exit $ac_status); }; } &&
14167          { ac_try='test -s conftest$ac_exeext'
14168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169   (eval $ac_try) 2>&5
14170   ac_status=$?
14171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172   (exit $ac_status); }; }; then
14173   ac_cv_lib_m_cabs=yes
14174 else
14175   echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14177
14178 ac_cv_lib_m_cabs=no
14179 fi
14180 rm -f conftest.err conftest.$ac_objext \
14181       conftest$ac_exeext conftest.$ac_ext
14182 LIBS=$ac_check_lib_save_LIBS
14183 fi
14184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14185 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14186 if test $ac_cv_lib_m_cabs = yes; then
14187
14188 cat >>confdefs.h <<\_ACEOF
14189 #define HAVE_CABS 1
14190 _ACEOF
14191
14192 fi
14193
14194 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14195 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14196 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14197   echo $ECHO_N "(cached) $ECHO_C" >&6
14198 else
14199   ac_check_lib_save_LIBS=$LIBS
14200 LIBS="-lm  $LIBS"
14201 if test x$gcc_no_link = xyes; then
14202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14204    { (exit 1); exit 1; }; }
14205 fi
14206 cat >conftest.$ac_ext <<_ACEOF
14207 /* confdefs.h.  */
14208 _ACEOF
14209 cat confdefs.h >>conftest.$ac_ext
14210 cat >>conftest.$ac_ext <<_ACEOF
14211 /* end confdefs.h.  */
14212
14213 /* Override any gcc2 internal prototype to avoid an error.  */
14214 #ifdef __cplusplus
14215 extern "C"
14216 #endif
14217 /* We use char because int might match the return type of a gcc2
14218    builtin and then its argument prototype would still apply.  */
14219 char cabsl ();
14220 int
14221 main ()
14222 {
14223 cabsl ();
14224   ;
14225   return 0;
14226 }
14227 _ACEOF
14228 rm -f conftest.$ac_objext conftest$ac_exeext
14229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14230   (eval $ac_link) 2>conftest.er1
14231   ac_status=$?
14232   grep -v '^ *+' conftest.er1 >conftest.err
14233   rm -f conftest.er1
14234   cat conftest.err >&5
14235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236   (exit $ac_status); } &&
14237          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239   (eval $ac_try) 2>&5
14240   ac_status=$?
14241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242   (exit $ac_status); }; } &&
14243          { ac_try='test -s conftest$ac_exeext'
14244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245   (eval $ac_try) 2>&5
14246   ac_status=$?
14247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248   (exit $ac_status); }; }; then
14249   ac_cv_lib_m_cabsl=yes
14250 else
14251   echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14253
14254 ac_cv_lib_m_cabsl=no
14255 fi
14256 rm -f conftest.err conftest.$ac_objext \
14257       conftest$ac_exeext conftest.$ac_ext
14258 LIBS=$ac_check_lib_save_LIBS
14259 fi
14260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14261 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14262 if test $ac_cv_lib_m_cabsl = yes; then
14263
14264 cat >>confdefs.h <<\_ACEOF
14265 #define HAVE_CABSL 1
14266 _ACEOF
14267
14268 fi
14269
14270 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14271 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14272 if test "${ac_cv_lib_m_floorf+set}" = set; then
14273   echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275   ac_check_lib_save_LIBS=$LIBS
14276 LIBS="-lm  $LIBS"
14277 if test x$gcc_no_link = xyes; then
14278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14280    { (exit 1); exit 1; }; }
14281 fi
14282 cat >conftest.$ac_ext <<_ACEOF
14283 /* confdefs.h.  */
14284 _ACEOF
14285 cat confdefs.h >>conftest.$ac_ext
14286 cat >>conftest.$ac_ext <<_ACEOF
14287 /* end confdefs.h.  */
14288
14289 /* Override any gcc2 internal prototype to avoid an error.  */
14290 #ifdef __cplusplus
14291 extern "C"
14292 #endif
14293 /* We use char because int might match the return type of a gcc2
14294    builtin and then its argument prototype would still apply.  */
14295 char floorf ();
14296 int
14297 main ()
14298 {
14299 floorf ();
14300   ;
14301   return 0;
14302 }
14303 _ACEOF
14304 rm -f conftest.$ac_objext conftest$ac_exeext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14306   (eval $ac_link) 2>conftest.er1
14307   ac_status=$?
14308   grep -v '^ *+' conftest.er1 >conftest.err
14309   rm -f conftest.er1
14310   cat conftest.err >&5
14311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312   (exit $ac_status); } &&
14313          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315   (eval $ac_try) 2>&5
14316   ac_status=$?
14317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318   (exit $ac_status); }; } &&
14319          { ac_try='test -s conftest$ac_exeext'
14320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321   (eval $ac_try) 2>&5
14322   ac_status=$?
14323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324   (exit $ac_status); }; }; then
14325   ac_cv_lib_m_floorf=yes
14326 else
14327   echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.$ac_ext >&5
14329
14330 ac_cv_lib_m_floorf=no
14331 fi
14332 rm -f conftest.err conftest.$ac_objext \
14333       conftest$ac_exeext conftest.$ac_ext
14334 LIBS=$ac_check_lib_save_LIBS
14335 fi
14336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14337 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14338 if test $ac_cv_lib_m_floorf = yes; then
14339
14340 cat >>confdefs.h <<\_ACEOF
14341 #define HAVE_FLOORF 1
14342 _ACEOF
14343
14344 fi
14345
14346 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14347 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14348 if test "${ac_cv_lib_m_floor+set}" = set; then
14349   echo $ECHO_N "(cached) $ECHO_C" >&6
14350 else
14351   ac_check_lib_save_LIBS=$LIBS
14352 LIBS="-lm  $LIBS"
14353 if test x$gcc_no_link = xyes; then
14354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14356    { (exit 1); exit 1; }; }
14357 fi
14358 cat >conftest.$ac_ext <<_ACEOF
14359 /* confdefs.h.  */
14360 _ACEOF
14361 cat confdefs.h >>conftest.$ac_ext
14362 cat >>conftest.$ac_ext <<_ACEOF
14363 /* end confdefs.h.  */
14364
14365 /* Override any gcc2 internal prototype to avoid an error.  */
14366 #ifdef __cplusplus
14367 extern "C"
14368 #endif
14369 /* We use char because int might match the return type of a gcc2
14370    builtin and then its argument prototype would still apply.  */
14371 char floor ();
14372 int
14373 main ()
14374 {
14375 floor ();
14376   ;
14377   return 0;
14378 }
14379 _ACEOF
14380 rm -f conftest.$ac_objext conftest$ac_exeext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14382   (eval $ac_link) 2>conftest.er1
14383   ac_status=$?
14384   grep -v '^ *+' conftest.er1 >conftest.err
14385   rm -f conftest.er1
14386   cat conftest.err >&5
14387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388   (exit $ac_status); } &&
14389          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391   (eval $ac_try) 2>&5
14392   ac_status=$?
14393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394   (exit $ac_status); }; } &&
14395          { ac_try='test -s conftest$ac_exeext'
14396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397   (eval $ac_try) 2>&5
14398   ac_status=$?
14399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400   (exit $ac_status); }; }; then
14401   ac_cv_lib_m_floor=yes
14402 else
14403   echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14405
14406 ac_cv_lib_m_floor=no
14407 fi
14408 rm -f conftest.err conftest.$ac_objext \
14409       conftest$ac_exeext conftest.$ac_ext
14410 LIBS=$ac_check_lib_save_LIBS
14411 fi
14412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14413 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14414 if test $ac_cv_lib_m_floor = yes; then
14415
14416 cat >>confdefs.h <<\_ACEOF
14417 #define HAVE_FLOOR 1
14418 _ACEOF
14419
14420 fi
14421
14422 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14423 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14424 if test "${ac_cv_lib_m_floorl+set}" = set; then
14425   echo $ECHO_N "(cached) $ECHO_C" >&6
14426 else
14427   ac_check_lib_save_LIBS=$LIBS
14428 LIBS="-lm  $LIBS"
14429 if test x$gcc_no_link = xyes; then
14430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14432    { (exit 1); exit 1; }; }
14433 fi
14434 cat >conftest.$ac_ext <<_ACEOF
14435 /* confdefs.h.  */
14436 _ACEOF
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h.  */
14440
14441 /* Override any gcc2 internal prototype to avoid an error.  */
14442 #ifdef __cplusplus
14443 extern "C"
14444 #endif
14445 /* We use char because int might match the return type of a gcc2
14446    builtin and then its argument prototype would still apply.  */
14447 char floorl ();
14448 int
14449 main ()
14450 {
14451 floorl ();
14452   ;
14453   return 0;
14454 }
14455 _ACEOF
14456 rm -f conftest.$ac_objext conftest$ac_exeext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14458   (eval $ac_link) 2>conftest.er1
14459   ac_status=$?
14460   grep -v '^ *+' conftest.er1 >conftest.err
14461   rm -f conftest.er1
14462   cat conftest.err >&5
14463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464   (exit $ac_status); } &&
14465          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467   (eval $ac_try) 2>&5
14468   ac_status=$?
14469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470   (exit $ac_status); }; } &&
14471          { ac_try='test -s conftest$ac_exeext'
14472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473   (eval $ac_try) 2>&5
14474   ac_status=$?
14475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476   (exit $ac_status); }; }; then
14477   ac_cv_lib_m_floorl=yes
14478 else
14479   echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.$ac_ext >&5
14481
14482 ac_cv_lib_m_floorl=no
14483 fi
14484 rm -f conftest.err conftest.$ac_objext \
14485       conftest$ac_exeext conftest.$ac_ext
14486 LIBS=$ac_check_lib_save_LIBS
14487 fi
14488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
14489 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
14490 if test $ac_cv_lib_m_floorl = yes; then
14491
14492 cat >>confdefs.h <<\_ACEOF
14493 #define HAVE_FLOORL 1
14494 _ACEOF
14495
14496 fi
14497
14498 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
14499 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
14500 if test "${ac_cv_lib_m_frexpf+set}" = set; then
14501   echo $ECHO_N "(cached) $ECHO_C" >&6
14502 else
14503   ac_check_lib_save_LIBS=$LIBS
14504 LIBS="-lm  $LIBS"
14505 if test x$gcc_no_link = xyes; then
14506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14508    { (exit 1); exit 1; }; }
14509 fi
14510 cat >conftest.$ac_ext <<_ACEOF
14511 /* confdefs.h.  */
14512 _ACEOF
14513 cat confdefs.h >>conftest.$ac_ext
14514 cat >>conftest.$ac_ext <<_ACEOF
14515 /* end confdefs.h.  */
14516
14517 /* Override any gcc2 internal prototype to avoid an error.  */
14518 #ifdef __cplusplus
14519 extern "C"
14520 #endif
14521 /* We use char because int might match the return type of a gcc2
14522    builtin and then its argument prototype would still apply.  */
14523 char frexpf ();
14524 int
14525 main ()
14526 {
14527 frexpf ();
14528   ;
14529   return 0;
14530 }
14531 _ACEOF
14532 rm -f conftest.$ac_objext conftest$ac_exeext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14534   (eval $ac_link) 2>conftest.er1
14535   ac_status=$?
14536   grep -v '^ *+' conftest.er1 >conftest.err
14537   rm -f conftest.er1
14538   cat conftest.err >&5
14539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540   (exit $ac_status); } &&
14541          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543   (eval $ac_try) 2>&5
14544   ac_status=$?
14545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546   (exit $ac_status); }; } &&
14547          { ac_try='test -s conftest$ac_exeext'
14548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549   (eval $ac_try) 2>&5
14550   ac_status=$?
14551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552   (exit $ac_status); }; }; then
14553   ac_cv_lib_m_frexpf=yes
14554 else
14555   echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14557
14558 ac_cv_lib_m_frexpf=no
14559 fi
14560 rm -f conftest.err conftest.$ac_objext \
14561       conftest$ac_exeext conftest.$ac_ext
14562 LIBS=$ac_check_lib_save_LIBS
14563 fi
14564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
14565 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
14566 if test $ac_cv_lib_m_frexpf = yes; then
14567
14568 cat >>confdefs.h <<\_ACEOF
14569 #define HAVE_FREXPF 1
14570 _ACEOF
14571
14572 fi
14573
14574 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
14575 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
14576 if test "${ac_cv_lib_m_frexp+set}" = set; then
14577   echo $ECHO_N "(cached) $ECHO_C" >&6
14578 else
14579   ac_check_lib_save_LIBS=$LIBS
14580 LIBS="-lm  $LIBS"
14581 if test x$gcc_no_link = xyes; then
14582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14584    { (exit 1); exit 1; }; }
14585 fi
14586 cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h.  */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h.  */
14592
14593 /* Override any gcc2 internal prototype to avoid an error.  */
14594 #ifdef __cplusplus
14595 extern "C"
14596 #endif
14597 /* We use char because int might match the return type of a gcc2
14598    builtin and then its argument prototype would still apply.  */
14599 char frexp ();
14600 int
14601 main ()
14602 {
14603 frexp ();
14604   ;
14605   return 0;
14606 }
14607 _ACEOF
14608 rm -f conftest.$ac_objext conftest$ac_exeext
14609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14610   (eval $ac_link) 2>conftest.er1
14611   ac_status=$?
14612   grep -v '^ *+' conftest.er1 >conftest.err
14613   rm -f conftest.er1
14614   cat conftest.err >&5
14615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616   (exit $ac_status); } &&
14617          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619   (eval $ac_try) 2>&5
14620   ac_status=$?
14621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622   (exit $ac_status); }; } &&
14623          { ac_try='test -s conftest$ac_exeext'
14624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625   (eval $ac_try) 2>&5
14626   ac_status=$?
14627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628   (exit $ac_status); }; }; then
14629   ac_cv_lib_m_frexp=yes
14630 else
14631   echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.$ac_ext >&5
14633
14634 ac_cv_lib_m_frexp=no
14635 fi
14636 rm -f conftest.err conftest.$ac_objext \
14637       conftest$ac_exeext conftest.$ac_ext
14638 LIBS=$ac_check_lib_save_LIBS
14639 fi
14640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
14641 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
14642 if test $ac_cv_lib_m_frexp = yes; then
14643
14644 cat >>confdefs.h <<\_ACEOF
14645 #define HAVE_FREXP 1
14646 _ACEOF
14647
14648 fi
14649
14650 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
14651 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
14652 if test "${ac_cv_lib_m_frexpl+set}" = set; then
14653   echo $ECHO_N "(cached) $ECHO_C" >&6
14654 else
14655   ac_check_lib_save_LIBS=$LIBS
14656 LIBS="-lm  $LIBS"
14657 if test x$gcc_no_link = xyes; then
14658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14660    { (exit 1); exit 1; }; }
14661 fi
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h.  */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h.  */
14668
14669 /* Override any gcc2 internal prototype to avoid an error.  */
14670 #ifdef __cplusplus
14671 extern "C"
14672 #endif
14673 /* We use char because int might match the return type of a gcc2
14674    builtin and then its argument prototype would still apply.  */
14675 char frexpl ();
14676 int
14677 main ()
14678 {
14679 frexpl ();
14680   ;
14681   return 0;
14682 }
14683 _ACEOF
14684 rm -f conftest.$ac_objext conftest$ac_exeext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14686   (eval $ac_link) 2>conftest.er1
14687   ac_status=$?
14688   grep -v '^ *+' conftest.er1 >conftest.err
14689   rm -f conftest.er1
14690   cat conftest.err >&5
14691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692   (exit $ac_status); } &&
14693          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695   (eval $ac_try) 2>&5
14696   ac_status=$?
14697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698   (exit $ac_status); }; } &&
14699          { ac_try='test -s conftest$ac_exeext'
14700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701   (eval $ac_try) 2>&5
14702   ac_status=$?
14703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704   (exit $ac_status); }; }; then
14705   ac_cv_lib_m_frexpl=yes
14706 else
14707   echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710 ac_cv_lib_m_frexpl=no
14711 fi
14712 rm -f conftest.err conftest.$ac_objext \
14713       conftest$ac_exeext conftest.$ac_ext
14714 LIBS=$ac_check_lib_save_LIBS
14715 fi
14716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
14717 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
14718 if test $ac_cv_lib_m_frexpl = yes; then
14719
14720 cat >>confdefs.h <<\_ACEOF
14721 #define HAVE_FREXPL 1
14722 _ACEOF
14723
14724 fi
14725
14726 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
14727 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
14728 if test "${ac_cv_lib_m_hypotf+set}" = set; then
14729   echo $ECHO_N "(cached) $ECHO_C" >&6
14730 else
14731   ac_check_lib_save_LIBS=$LIBS
14732 LIBS="-lm  $LIBS"
14733 if test x$gcc_no_link = xyes; then
14734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14736    { (exit 1); exit 1; }; }
14737 fi
14738 cat >conftest.$ac_ext <<_ACEOF
14739 /* confdefs.h.  */
14740 _ACEOF
14741 cat confdefs.h >>conftest.$ac_ext
14742 cat >>conftest.$ac_ext <<_ACEOF
14743 /* end confdefs.h.  */
14744
14745 /* Override any gcc2 internal prototype to avoid an error.  */
14746 #ifdef __cplusplus
14747 extern "C"
14748 #endif
14749 /* We use char because int might match the return type of a gcc2
14750    builtin and then its argument prototype would still apply.  */
14751 char hypotf ();
14752 int
14753 main ()
14754 {
14755 hypotf ();
14756   ;
14757   return 0;
14758 }
14759 _ACEOF
14760 rm -f conftest.$ac_objext conftest$ac_exeext
14761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14762   (eval $ac_link) 2>conftest.er1
14763   ac_status=$?
14764   grep -v '^ *+' conftest.er1 >conftest.err
14765   rm -f conftest.er1
14766   cat conftest.err >&5
14767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768   (exit $ac_status); } &&
14769          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771   (eval $ac_try) 2>&5
14772   ac_status=$?
14773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774   (exit $ac_status); }; } &&
14775          { ac_try='test -s conftest$ac_exeext'
14776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777   (eval $ac_try) 2>&5
14778   ac_status=$?
14779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780   (exit $ac_status); }; }; then
14781   ac_cv_lib_m_hypotf=yes
14782 else
14783   echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14785
14786 ac_cv_lib_m_hypotf=no
14787 fi
14788 rm -f conftest.err conftest.$ac_objext \
14789       conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_check_lib_save_LIBS
14791 fi
14792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
14793 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
14794 if test $ac_cv_lib_m_hypotf = yes; then
14795
14796 cat >>confdefs.h <<\_ACEOF
14797 #define HAVE_HYPOTF 1
14798 _ACEOF
14799
14800 fi
14801
14802 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
14803 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
14804 if test "${ac_cv_lib_m_hypot+set}" = set; then
14805   echo $ECHO_N "(cached) $ECHO_C" >&6
14806 else
14807   ac_check_lib_save_LIBS=$LIBS
14808 LIBS="-lm  $LIBS"
14809 if test x$gcc_no_link = xyes; then
14810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14812    { (exit 1); exit 1; }; }
14813 fi
14814 cat >conftest.$ac_ext <<_ACEOF
14815 /* confdefs.h.  */
14816 _ACEOF
14817 cat confdefs.h >>conftest.$ac_ext
14818 cat >>conftest.$ac_ext <<_ACEOF
14819 /* end confdefs.h.  */
14820
14821 /* Override any gcc2 internal prototype to avoid an error.  */
14822 #ifdef __cplusplus
14823 extern "C"
14824 #endif
14825 /* We use char because int might match the return type of a gcc2
14826    builtin and then its argument prototype would still apply.  */
14827 char hypot ();
14828 int
14829 main ()
14830 {
14831 hypot ();
14832   ;
14833   return 0;
14834 }
14835 _ACEOF
14836 rm -f conftest.$ac_objext conftest$ac_exeext
14837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14838   (eval $ac_link) 2>conftest.er1
14839   ac_status=$?
14840   grep -v '^ *+' conftest.er1 >conftest.err
14841   rm -f conftest.er1
14842   cat conftest.err >&5
14843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844   (exit $ac_status); } &&
14845          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847   (eval $ac_try) 2>&5
14848   ac_status=$?
14849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850   (exit $ac_status); }; } &&
14851          { ac_try='test -s conftest$ac_exeext'
14852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853   (eval $ac_try) 2>&5
14854   ac_status=$?
14855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856   (exit $ac_status); }; }; then
14857   ac_cv_lib_m_hypot=yes
14858 else
14859   echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.$ac_ext >&5
14861
14862 ac_cv_lib_m_hypot=no
14863 fi
14864 rm -f conftest.err conftest.$ac_objext \
14865       conftest$ac_exeext conftest.$ac_ext
14866 LIBS=$ac_check_lib_save_LIBS
14867 fi
14868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
14869 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
14870 if test $ac_cv_lib_m_hypot = yes; then
14871
14872 cat >>confdefs.h <<\_ACEOF
14873 #define HAVE_HYPOT 1
14874 _ACEOF
14875
14876 fi
14877
14878 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
14879 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
14880 if test "${ac_cv_lib_m_hypotl+set}" = set; then
14881   echo $ECHO_N "(cached) $ECHO_C" >&6
14882 else
14883   ac_check_lib_save_LIBS=$LIBS
14884 LIBS="-lm  $LIBS"
14885 if test x$gcc_no_link = xyes; then
14886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14888    { (exit 1); exit 1; }; }
14889 fi
14890 cat >conftest.$ac_ext <<_ACEOF
14891 /* confdefs.h.  */
14892 _ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h.  */
14896
14897 /* Override any gcc2 internal prototype to avoid an error.  */
14898 #ifdef __cplusplus
14899 extern "C"
14900 #endif
14901 /* We use char because int might match the return type of a gcc2
14902    builtin and then its argument prototype would still apply.  */
14903 char hypotl ();
14904 int
14905 main ()
14906 {
14907 hypotl ();
14908   ;
14909   return 0;
14910 }
14911 _ACEOF
14912 rm -f conftest.$ac_objext conftest$ac_exeext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14914   (eval $ac_link) 2>conftest.er1
14915   ac_status=$?
14916   grep -v '^ *+' conftest.er1 >conftest.err
14917   rm -f conftest.er1
14918   cat conftest.err >&5
14919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920   (exit $ac_status); } &&
14921          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923   (eval $ac_try) 2>&5
14924   ac_status=$?
14925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926   (exit $ac_status); }; } &&
14927          { ac_try='test -s conftest$ac_exeext'
14928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929   (eval $ac_try) 2>&5
14930   ac_status=$?
14931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932   (exit $ac_status); }; }; then
14933   ac_cv_lib_m_hypotl=yes
14934 else
14935   echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14937
14938 ac_cv_lib_m_hypotl=no
14939 fi
14940 rm -f conftest.err conftest.$ac_objext \
14941       conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_lib_save_LIBS
14943 fi
14944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
14945 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
14946 if test $ac_cv_lib_m_hypotl = yes; then
14947
14948 cat >>confdefs.h <<\_ACEOF
14949 #define HAVE_HYPOTL 1
14950 _ACEOF
14951
14952 fi
14953
14954 echo "$as_me:$LINENO: checking for logf in -lm" >&5
14955 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
14956 if test "${ac_cv_lib_m_logf+set}" = set; then
14957   echo $ECHO_N "(cached) $ECHO_C" >&6
14958 else
14959   ac_check_lib_save_LIBS=$LIBS
14960 LIBS="-lm  $LIBS"
14961 if test x$gcc_no_link = xyes; then
14962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14964    { (exit 1); exit 1; }; }
14965 fi
14966 cat >conftest.$ac_ext <<_ACEOF
14967 /* confdefs.h.  */
14968 _ACEOF
14969 cat confdefs.h >>conftest.$ac_ext
14970 cat >>conftest.$ac_ext <<_ACEOF
14971 /* end confdefs.h.  */
14972
14973 /* Override any gcc2 internal prototype to avoid an error.  */
14974 #ifdef __cplusplus
14975 extern "C"
14976 #endif
14977 /* We use char because int might match the return type of a gcc2
14978    builtin and then its argument prototype would still apply.  */
14979 char logf ();
14980 int
14981 main ()
14982 {
14983 logf ();
14984   ;
14985   return 0;
14986 }
14987 _ACEOF
14988 rm -f conftest.$ac_objext conftest$ac_exeext
14989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14990   (eval $ac_link) 2>conftest.er1
14991   ac_status=$?
14992   grep -v '^ *+' conftest.er1 >conftest.err
14993   rm -f conftest.er1
14994   cat conftest.err >&5
14995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996   (exit $ac_status); } &&
14997          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
14998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999   (eval $ac_try) 2>&5
15000   ac_status=$?
15001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002   (exit $ac_status); }; } &&
15003          { ac_try='test -s conftest$ac_exeext'
15004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005   (eval $ac_try) 2>&5
15006   ac_status=$?
15007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008   (exit $ac_status); }; }; then
15009   ac_cv_lib_m_logf=yes
15010 else
15011   echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.$ac_ext >&5
15013
15014 ac_cv_lib_m_logf=no
15015 fi
15016 rm -f conftest.err conftest.$ac_objext \
15017       conftest$ac_exeext conftest.$ac_ext
15018 LIBS=$ac_check_lib_save_LIBS
15019 fi
15020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15021 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15022 if test $ac_cv_lib_m_logf = yes; then
15023
15024 cat >>confdefs.h <<\_ACEOF
15025 #define HAVE_LOGF 1
15026 _ACEOF
15027
15028 fi
15029
15030 echo "$as_me:$LINENO: checking for log in -lm" >&5
15031 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15032 if test "${ac_cv_lib_m_log+set}" = set; then
15033   echo $ECHO_N "(cached) $ECHO_C" >&6
15034 else
15035   ac_check_lib_save_LIBS=$LIBS
15036 LIBS="-lm  $LIBS"
15037 if test x$gcc_no_link = xyes; then
15038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15040    { (exit 1); exit 1; }; }
15041 fi
15042 cat >conftest.$ac_ext <<_ACEOF
15043 /* confdefs.h.  */
15044 _ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h.  */
15048
15049 /* Override any gcc2 internal prototype to avoid an error.  */
15050 #ifdef __cplusplus
15051 extern "C"
15052 #endif
15053 /* We use char because int might match the return type of a gcc2
15054    builtin and then its argument prototype would still apply.  */
15055 char log ();
15056 int
15057 main ()
15058 {
15059 log ();
15060   ;
15061   return 0;
15062 }
15063 _ACEOF
15064 rm -f conftest.$ac_objext conftest$ac_exeext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15066   (eval $ac_link) 2>conftest.er1
15067   ac_status=$?
15068   grep -v '^ *+' conftest.er1 >conftest.err
15069   rm -f conftest.er1
15070   cat conftest.err >&5
15071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072   (exit $ac_status); } &&
15073          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075   (eval $ac_try) 2>&5
15076   ac_status=$?
15077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078   (exit $ac_status); }; } &&
15079          { ac_try='test -s conftest$ac_exeext'
15080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081   (eval $ac_try) 2>&5
15082   ac_status=$?
15083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084   (exit $ac_status); }; }; then
15085   ac_cv_lib_m_log=yes
15086 else
15087   echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15089
15090 ac_cv_lib_m_log=no
15091 fi
15092 rm -f conftest.err conftest.$ac_objext \
15093       conftest$ac_exeext conftest.$ac_ext
15094 LIBS=$ac_check_lib_save_LIBS
15095 fi
15096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15097 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15098 if test $ac_cv_lib_m_log = yes; then
15099
15100 cat >>confdefs.h <<\_ACEOF
15101 #define HAVE_LOG 1
15102 _ACEOF
15103
15104 fi
15105
15106 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15107 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15108 if test "${ac_cv_lib_m_logl+set}" = set; then
15109   echo $ECHO_N "(cached) $ECHO_C" >&6
15110 else
15111   ac_check_lib_save_LIBS=$LIBS
15112 LIBS="-lm  $LIBS"
15113 if test x$gcc_no_link = xyes; then
15114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15116    { (exit 1); exit 1; }; }
15117 fi
15118 cat >conftest.$ac_ext <<_ACEOF
15119 /* confdefs.h.  */
15120 _ACEOF
15121 cat confdefs.h >>conftest.$ac_ext
15122 cat >>conftest.$ac_ext <<_ACEOF
15123 /* end confdefs.h.  */
15124
15125 /* Override any gcc2 internal prototype to avoid an error.  */
15126 #ifdef __cplusplus
15127 extern "C"
15128 #endif
15129 /* We use char because int might match the return type of a gcc2
15130    builtin and then its argument prototype would still apply.  */
15131 char logl ();
15132 int
15133 main ()
15134 {
15135 logl ();
15136   ;
15137   return 0;
15138 }
15139 _ACEOF
15140 rm -f conftest.$ac_objext conftest$ac_exeext
15141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15142   (eval $ac_link) 2>conftest.er1
15143   ac_status=$?
15144   grep -v '^ *+' conftest.er1 >conftest.err
15145   rm -f conftest.er1
15146   cat conftest.err >&5
15147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148   (exit $ac_status); } &&
15149          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151   (eval $ac_try) 2>&5
15152   ac_status=$?
15153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154   (exit $ac_status); }; } &&
15155          { ac_try='test -s conftest$ac_exeext'
15156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157   (eval $ac_try) 2>&5
15158   ac_status=$?
15159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160   (exit $ac_status); }; }; then
15161   ac_cv_lib_m_logl=yes
15162 else
15163   echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15165
15166 ac_cv_lib_m_logl=no
15167 fi
15168 rm -f conftest.err conftest.$ac_objext \
15169       conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_lib_save_LIBS
15171 fi
15172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
15173 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
15174 if test $ac_cv_lib_m_logl = yes; then
15175
15176 cat >>confdefs.h <<\_ACEOF
15177 #define HAVE_LOGL 1
15178 _ACEOF
15179
15180 fi
15181
15182 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
15183 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
15184 if test "${ac_cv_lib_m_clogf+set}" = set; then
15185   echo $ECHO_N "(cached) $ECHO_C" >&6
15186 else
15187   ac_check_lib_save_LIBS=$LIBS
15188 LIBS="-lm  $LIBS"
15189 if test x$gcc_no_link = xyes; then
15190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15192    { (exit 1); exit 1; }; }
15193 fi
15194 cat >conftest.$ac_ext <<_ACEOF
15195 /* confdefs.h.  */
15196 _ACEOF
15197 cat confdefs.h >>conftest.$ac_ext
15198 cat >>conftest.$ac_ext <<_ACEOF
15199 /* end confdefs.h.  */
15200
15201 /* Override any gcc2 internal prototype to avoid an error.  */
15202 #ifdef __cplusplus
15203 extern "C"
15204 #endif
15205 /* We use char because int might match the return type of a gcc2
15206    builtin and then its argument prototype would still apply.  */
15207 char clogf ();
15208 int
15209 main ()
15210 {
15211 clogf ();
15212   ;
15213   return 0;
15214 }
15215 _ACEOF
15216 rm -f conftest.$ac_objext conftest$ac_exeext
15217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15218   (eval $ac_link) 2>conftest.er1
15219   ac_status=$?
15220   grep -v '^ *+' conftest.er1 >conftest.err
15221   rm -f conftest.er1
15222   cat conftest.err >&5
15223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224   (exit $ac_status); } &&
15225          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227   (eval $ac_try) 2>&5
15228   ac_status=$?
15229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230   (exit $ac_status); }; } &&
15231          { ac_try='test -s conftest$ac_exeext'
15232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233   (eval $ac_try) 2>&5
15234   ac_status=$?
15235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236   (exit $ac_status); }; }; then
15237   ac_cv_lib_m_clogf=yes
15238 else
15239   echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15241
15242 ac_cv_lib_m_clogf=no
15243 fi
15244 rm -f conftest.err conftest.$ac_objext \
15245       conftest$ac_exeext conftest.$ac_ext
15246 LIBS=$ac_check_lib_save_LIBS
15247 fi
15248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
15249 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
15250 if test $ac_cv_lib_m_clogf = yes; then
15251
15252 cat >>confdefs.h <<\_ACEOF
15253 #define HAVE_CLOGF 1
15254 _ACEOF
15255
15256 fi
15257
15258 echo "$as_me:$LINENO: checking for clog in -lm" >&5
15259 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
15260 if test "${ac_cv_lib_m_clog+set}" = set; then
15261   echo $ECHO_N "(cached) $ECHO_C" >&6
15262 else
15263   ac_check_lib_save_LIBS=$LIBS
15264 LIBS="-lm  $LIBS"
15265 if test x$gcc_no_link = xyes; then
15266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15268    { (exit 1); exit 1; }; }
15269 fi
15270 cat >conftest.$ac_ext <<_ACEOF
15271 /* confdefs.h.  */
15272 _ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h.  */
15276
15277 /* Override any gcc2 internal prototype to avoid an error.  */
15278 #ifdef __cplusplus
15279 extern "C"
15280 #endif
15281 /* We use char because int might match the return type of a gcc2
15282    builtin and then its argument prototype would still apply.  */
15283 char clog ();
15284 int
15285 main ()
15286 {
15287 clog ();
15288   ;
15289   return 0;
15290 }
15291 _ACEOF
15292 rm -f conftest.$ac_objext conftest$ac_exeext
15293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15294   (eval $ac_link) 2>conftest.er1
15295   ac_status=$?
15296   grep -v '^ *+' conftest.er1 >conftest.err
15297   rm -f conftest.er1
15298   cat conftest.err >&5
15299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300   (exit $ac_status); } &&
15301          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303   (eval $ac_try) 2>&5
15304   ac_status=$?
15305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306   (exit $ac_status); }; } &&
15307          { ac_try='test -s conftest$ac_exeext'
15308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309   (eval $ac_try) 2>&5
15310   ac_status=$?
15311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312   (exit $ac_status); }; }; then
15313   ac_cv_lib_m_clog=yes
15314 else
15315   echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15317
15318 ac_cv_lib_m_clog=no
15319 fi
15320 rm -f conftest.err conftest.$ac_objext \
15321       conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_check_lib_save_LIBS
15323 fi
15324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
15325 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
15326 if test $ac_cv_lib_m_clog = yes; then
15327
15328 cat >>confdefs.h <<\_ACEOF
15329 #define HAVE_CLOG 1
15330 _ACEOF
15331
15332 fi
15333
15334 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
15335 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
15336 if test "${ac_cv_lib_m_clogl+set}" = set; then
15337   echo $ECHO_N "(cached) $ECHO_C" >&6
15338 else
15339   ac_check_lib_save_LIBS=$LIBS
15340 LIBS="-lm  $LIBS"
15341 if test x$gcc_no_link = xyes; then
15342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15344    { (exit 1); exit 1; }; }
15345 fi
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h.  */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h.  */
15352
15353 /* Override any gcc2 internal prototype to avoid an error.  */
15354 #ifdef __cplusplus
15355 extern "C"
15356 #endif
15357 /* We use char because int might match the return type of a gcc2
15358    builtin and then its argument prototype would still apply.  */
15359 char clogl ();
15360 int
15361 main ()
15362 {
15363 clogl ();
15364   ;
15365   return 0;
15366 }
15367 _ACEOF
15368 rm -f conftest.$ac_objext conftest$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370   (eval $ac_link) 2>conftest.er1
15371   ac_status=$?
15372   grep -v '^ *+' conftest.er1 >conftest.err
15373   rm -f conftest.er1
15374   cat conftest.err >&5
15375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376   (exit $ac_status); } &&
15377          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379   (eval $ac_try) 2>&5
15380   ac_status=$?
15381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382   (exit $ac_status); }; } &&
15383          { ac_try='test -s conftest$ac_exeext'
15384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385   (eval $ac_try) 2>&5
15386   ac_status=$?
15387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388   (exit $ac_status); }; }; then
15389   ac_cv_lib_m_clogl=yes
15390 else
15391   echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15393
15394 ac_cv_lib_m_clogl=no
15395 fi
15396 rm -f conftest.err conftest.$ac_objext \
15397       conftest$ac_exeext conftest.$ac_ext
15398 LIBS=$ac_check_lib_save_LIBS
15399 fi
15400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
15401 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
15402 if test $ac_cv_lib_m_clogl = yes; then
15403
15404 cat >>confdefs.h <<\_ACEOF
15405 #define HAVE_CLOGL 1
15406 _ACEOF
15407
15408 fi
15409
15410 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
15411 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
15412 if test "${ac_cv_lib_m_log10f+set}" = set; then
15413   echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415   ac_check_lib_save_LIBS=$LIBS
15416 LIBS="-lm  $LIBS"
15417 if test x$gcc_no_link = xyes; then
15418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15420    { (exit 1); exit 1; }; }
15421 fi
15422 cat >conftest.$ac_ext <<_ACEOF
15423 /* confdefs.h.  */
15424 _ACEOF
15425 cat confdefs.h >>conftest.$ac_ext
15426 cat >>conftest.$ac_ext <<_ACEOF
15427 /* end confdefs.h.  */
15428
15429 /* Override any gcc2 internal prototype to avoid an error.  */
15430 #ifdef __cplusplus
15431 extern "C"
15432 #endif
15433 /* We use char because int might match the return type of a gcc2
15434    builtin and then its argument prototype would still apply.  */
15435 char log10f ();
15436 int
15437 main ()
15438 {
15439 log10f ();
15440   ;
15441   return 0;
15442 }
15443 _ACEOF
15444 rm -f conftest.$ac_objext conftest$ac_exeext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15446   (eval $ac_link) 2>conftest.er1
15447   ac_status=$?
15448   grep -v '^ *+' conftest.er1 >conftest.err
15449   rm -f conftest.er1
15450   cat conftest.err >&5
15451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452   (exit $ac_status); } &&
15453          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455   (eval $ac_try) 2>&5
15456   ac_status=$?
15457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458   (exit $ac_status); }; } &&
15459          { ac_try='test -s conftest$ac_exeext'
15460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461   (eval $ac_try) 2>&5
15462   ac_status=$?
15463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464   (exit $ac_status); }; }; then
15465   ac_cv_lib_m_log10f=yes
15466 else
15467   echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15469
15470 ac_cv_lib_m_log10f=no
15471 fi
15472 rm -f conftest.err conftest.$ac_objext \
15473       conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_lib_save_LIBS
15475 fi
15476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
15477 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
15478 if test $ac_cv_lib_m_log10f = yes; then
15479
15480 cat >>confdefs.h <<\_ACEOF
15481 #define HAVE_LOG10F 1
15482 _ACEOF
15483
15484 fi
15485
15486 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
15487 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
15488 if test "${ac_cv_lib_m_log10+set}" = set; then
15489   echo $ECHO_N "(cached) $ECHO_C" >&6
15490 else
15491   ac_check_lib_save_LIBS=$LIBS
15492 LIBS="-lm  $LIBS"
15493 if test x$gcc_no_link = xyes; then
15494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15496    { (exit 1); exit 1; }; }
15497 fi
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h.  */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h.  */
15504
15505 /* Override any gcc2 internal prototype to avoid an error.  */
15506 #ifdef __cplusplus
15507 extern "C"
15508 #endif
15509 /* We use char because int might match the return type of a gcc2
15510    builtin and then its argument prototype would still apply.  */
15511 char log10 ();
15512 int
15513 main ()
15514 {
15515 log10 ();
15516   ;
15517   return 0;
15518 }
15519 _ACEOF
15520 rm -f conftest.$ac_objext conftest$ac_exeext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15522   (eval $ac_link) 2>conftest.er1
15523   ac_status=$?
15524   grep -v '^ *+' conftest.er1 >conftest.err
15525   rm -f conftest.er1
15526   cat conftest.err >&5
15527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528   (exit $ac_status); } &&
15529          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
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); }; } &&
15535          { ac_try='test -s conftest$ac_exeext'
15536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537   (eval $ac_try) 2>&5
15538   ac_status=$?
15539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540   (exit $ac_status); }; }; then
15541   ac_cv_lib_m_log10=yes
15542 else
15543   echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.$ac_ext >&5
15545
15546 ac_cv_lib_m_log10=no
15547 fi
15548 rm -f conftest.err conftest.$ac_objext \
15549       conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_lib_save_LIBS
15551 fi
15552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
15553 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
15554 if test $ac_cv_lib_m_log10 = yes; then
15555
15556 cat >>confdefs.h <<\_ACEOF
15557 #define HAVE_LOG10 1
15558 _ACEOF
15559
15560 fi
15561
15562 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
15563 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
15564 if test "${ac_cv_lib_m_log10l+set}" = set; then
15565   echo $ECHO_N "(cached) $ECHO_C" >&6
15566 else
15567   ac_check_lib_save_LIBS=$LIBS
15568 LIBS="-lm  $LIBS"
15569 if test x$gcc_no_link = xyes; then
15570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15572    { (exit 1); exit 1; }; }
15573 fi
15574 cat >conftest.$ac_ext <<_ACEOF
15575 /* confdefs.h.  */
15576 _ACEOF
15577 cat confdefs.h >>conftest.$ac_ext
15578 cat >>conftest.$ac_ext <<_ACEOF
15579 /* end confdefs.h.  */
15580
15581 /* Override any gcc2 internal prototype to avoid an error.  */
15582 #ifdef __cplusplus
15583 extern "C"
15584 #endif
15585 /* We use char because int might match the return type of a gcc2
15586    builtin and then its argument prototype would still apply.  */
15587 char log10l ();
15588 int
15589 main ()
15590 {
15591 log10l ();
15592   ;
15593   return 0;
15594 }
15595 _ACEOF
15596 rm -f conftest.$ac_objext conftest$ac_exeext
15597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15598   (eval $ac_link) 2>conftest.er1
15599   ac_status=$?
15600   grep -v '^ *+' conftest.er1 >conftest.err
15601   rm -f conftest.er1
15602   cat conftest.err >&5
15603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604   (exit $ac_status); } &&
15605          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607   (eval $ac_try) 2>&5
15608   ac_status=$?
15609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610   (exit $ac_status); }; } &&
15611          { ac_try='test -s conftest$ac_exeext'
15612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15613   (eval $ac_try) 2>&5
15614   ac_status=$?
15615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616   (exit $ac_status); }; }; then
15617   ac_cv_lib_m_log10l=yes
15618 else
15619   echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.$ac_ext >&5
15621
15622 ac_cv_lib_m_log10l=no
15623 fi
15624 rm -f conftest.err conftest.$ac_objext \
15625       conftest$ac_exeext conftest.$ac_ext
15626 LIBS=$ac_check_lib_save_LIBS
15627 fi
15628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
15629 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
15630 if test $ac_cv_lib_m_log10l = yes; then
15631
15632 cat >>confdefs.h <<\_ACEOF
15633 #define HAVE_LOG10L 1
15634 _ACEOF
15635
15636 fi
15637
15638 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
15639 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
15640 if test "${ac_cv_lib_m_clog10f+set}" = set; then
15641   echo $ECHO_N "(cached) $ECHO_C" >&6
15642 else
15643   ac_check_lib_save_LIBS=$LIBS
15644 LIBS="-lm  $LIBS"
15645 if test x$gcc_no_link = xyes; then
15646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15648    { (exit 1); exit 1; }; }
15649 fi
15650 cat >conftest.$ac_ext <<_ACEOF
15651 /* confdefs.h.  */
15652 _ACEOF
15653 cat confdefs.h >>conftest.$ac_ext
15654 cat >>conftest.$ac_ext <<_ACEOF
15655 /* end confdefs.h.  */
15656
15657 /* Override any gcc2 internal prototype to avoid an error.  */
15658 #ifdef __cplusplus
15659 extern "C"
15660 #endif
15661 /* We use char because int might match the return type of a gcc2
15662    builtin and then its argument prototype would still apply.  */
15663 char clog10f ();
15664 int
15665 main ()
15666 {
15667 clog10f ();
15668   ;
15669   return 0;
15670 }
15671 _ACEOF
15672 rm -f conftest.$ac_objext conftest$ac_exeext
15673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15674   (eval $ac_link) 2>conftest.er1
15675   ac_status=$?
15676   grep -v '^ *+' conftest.er1 >conftest.err
15677   rm -f conftest.er1
15678   cat conftest.err >&5
15679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680   (exit $ac_status); } &&
15681          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683   (eval $ac_try) 2>&5
15684   ac_status=$?
15685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686   (exit $ac_status); }; } &&
15687          { ac_try='test -s conftest$ac_exeext'
15688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689   (eval $ac_try) 2>&5
15690   ac_status=$?
15691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692   (exit $ac_status); }; }; then
15693   ac_cv_lib_m_clog10f=yes
15694 else
15695   echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15697
15698 ac_cv_lib_m_clog10f=no
15699 fi
15700 rm -f conftest.err conftest.$ac_objext \
15701       conftest$ac_exeext conftest.$ac_ext
15702 LIBS=$ac_check_lib_save_LIBS
15703 fi
15704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
15705 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
15706 if test $ac_cv_lib_m_clog10f = yes; then
15707
15708 cat >>confdefs.h <<\_ACEOF
15709 #define HAVE_CLOG10F 1
15710 _ACEOF
15711
15712 fi
15713
15714 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
15715 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
15716 if test "${ac_cv_lib_m_clog10+set}" = set; then
15717   echo $ECHO_N "(cached) $ECHO_C" >&6
15718 else
15719   ac_check_lib_save_LIBS=$LIBS
15720 LIBS="-lm  $LIBS"
15721 if test x$gcc_no_link = xyes; then
15722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15724    { (exit 1); exit 1; }; }
15725 fi
15726 cat >conftest.$ac_ext <<_ACEOF
15727 /* confdefs.h.  */
15728 _ACEOF
15729 cat confdefs.h >>conftest.$ac_ext
15730 cat >>conftest.$ac_ext <<_ACEOF
15731 /* end confdefs.h.  */
15732
15733 /* Override any gcc2 internal prototype to avoid an error.  */
15734 #ifdef __cplusplus
15735 extern "C"
15736 #endif
15737 /* We use char because int might match the return type of a gcc2
15738    builtin and then its argument prototype would still apply.  */
15739 char clog10 ();
15740 int
15741 main ()
15742 {
15743 clog10 ();
15744   ;
15745   return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext conftest$ac_exeext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15750   (eval $ac_link) 2>conftest.er1
15751   ac_status=$?
15752   grep -v '^ *+' conftest.er1 >conftest.err
15753   rm -f conftest.er1
15754   cat conftest.err >&5
15755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756   (exit $ac_status); } &&
15757          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759   (eval $ac_try) 2>&5
15760   ac_status=$?
15761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762   (exit $ac_status); }; } &&
15763          { ac_try='test -s conftest$ac_exeext'
15764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765   (eval $ac_try) 2>&5
15766   ac_status=$?
15767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768   (exit $ac_status); }; }; then
15769   ac_cv_lib_m_clog10=yes
15770 else
15771   echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15773
15774 ac_cv_lib_m_clog10=no
15775 fi
15776 rm -f conftest.err conftest.$ac_objext \
15777       conftest$ac_exeext conftest.$ac_ext
15778 LIBS=$ac_check_lib_save_LIBS
15779 fi
15780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
15781 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
15782 if test $ac_cv_lib_m_clog10 = yes; then
15783
15784 cat >>confdefs.h <<\_ACEOF
15785 #define HAVE_CLOG10 1
15786 _ACEOF
15787
15788 fi
15789
15790 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
15791 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
15792 if test "${ac_cv_lib_m_clog10l+set}" = set; then
15793   echo $ECHO_N "(cached) $ECHO_C" >&6
15794 else
15795   ac_check_lib_save_LIBS=$LIBS
15796 LIBS="-lm  $LIBS"
15797 if test x$gcc_no_link = xyes; then
15798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15800    { (exit 1); exit 1; }; }
15801 fi
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h.  */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h.  */
15808
15809 /* Override any gcc2 internal prototype to avoid an error.  */
15810 #ifdef __cplusplus
15811 extern "C"
15812 #endif
15813 /* We use char because int might match the return type of a gcc2
15814    builtin and then its argument prototype would still apply.  */
15815 char clog10l ();
15816 int
15817 main ()
15818 {
15819 clog10l ();
15820   ;
15821   return 0;
15822 }
15823 _ACEOF
15824 rm -f conftest.$ac_objext conftest$ac_exeext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15826   (eval $ac_link) 2>conftest.er1
15827   ac_status=$?
15828   grep -v '^ *+' conftest.er1 >conftest.err
15829   rm -f conftest.er1
15830   cat conftest.err >&5
15831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832   (exit $ac_status); } &&
15833          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835   (eval $ac_try) 2>&5
15836   ac_status=$?
15837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838   (exit $ac_status); }; } &&
15839          { ac_try='test -s conftest$ac_exeext'
15840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841   (eval $ac_try) 2>&5
15842   ac_status=$?
15843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844   (exit $ac_status); }; }; then
15845   ac_cv_lib_m_clog10l=yes
15846 else
15847   echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15849
15850 ac_cv_lib_m_clog10l=no
15851 fi
15852 rm -f conftest.err conftest.$ac_objext \
15853       conftest$ac_exeext conftest.$ac_ext
15854 LIBS=$ac_check_lib_save_LIBS
15855 fi
15856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
15857 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
15858 if test $ac_cv_lib_m_clog10l = yes; then
15859
15860 cat >>confdefs.h <<\_ACEOF
15861 #define HAVE_CLOG10L 1
15862 _ACEOF
15863
15864 fi
15865
15866 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
15867 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
15868 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
15869   echo $ECHO_N "(cached) $ECHO_C" >&6
15870 else
15871   ac_check_lib_save_LIBS=$LIBS
15872 LIBS="-lm  $LIBS"
15873 if test x$gcc_no_link = xyes; then
15874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15876    { (exit 1); exit 1; }; }
15877 fi
15878 cat >conftest.$ac_ext <<_ACEOF
15879 /* confdefs.h.  */
15880 _ACEOF
15881 cat confdefs.h >>conftest.$ac_ext
15882 cat >>conftest.$ac_ext <<_ACEOF
15883 /* end confdefs.h.  */
15884
15885 /* Override any gcc2 internal prototype to avoid an error.  */
15886 #ifdef __cplusplus
15887 extern "C"
15888 #endif
15889 /* We use char because int might match the return type of a gcc2
15890    builtin and then its argument prototype would still apply.  */
15891 char nextafterf ();
15892 int
15893 main ()
15894 {
15895 nextafterf ();
15896   ;
15897   return 0;
15898 }
15899 _ACEOF
15900 rm -f conftest.$ac_objext conftest$ac_exeext
15901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15902   (eval $ac_link) 2>conftest.er1
15903   ac_status=$?
15904   grep -v '^ *+' conftest.er1 >conftest.err
15905   rm -f conftest.er1
15906   cat conftest.err >&5
15907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908   (exit $ac_status); } &&
15909          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
15910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911   (eval $ac_try) 2>&5
15912   ac_status=$?
15913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914   (exit $ac_status); }; } &&
15915          { ac_try='test -s conftest$ac_exeext'
15916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15917   (eval $ac_try) 2>&5
15918   ac_status=$?
15919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920   (exit $ac_status); }; }; then
15921   ac_cv_lib_m_nextafterf=yes
15922 else
15923   echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.$ac_ext >&5
15925
15926 ac_cv_lib_m_nextafterf=no
15927 fi
15928 rm -f conftest.err conftest.$ac_objext \
15929       conftest$ac_exeext conftest.$ac_ext
15930 LIBS=$ac_check_lib_save_LIBS
15931 fi
15932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
15933 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
15934 if test $ac_cv_lib_m_nextafterf = yes; then
15935
15936 cat >>confdefs.h <<\_ACEOF
15937 #define HAVE_NEXTAFTERF 1
15938 _ACEOF
15939
15940 fi
15941
15942 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
15943 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
15944 if test "${ac_cv_lib_m_nextafter+set}" = set; then
15945   echo $ECHO_N "(cached) $ECHO_C" >&6
15946 else
15947   ac_check_lib_save_LIBS=$LIBS
15948 LIBS="-lm  $LIBS"
15949 if test x$gcc_no_link = xyes; then
15950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15952    { (exit 1); exit 1; }; }
15953 fi
15954 cat >conftest.$ac_ext <<_ACEOF
15955 /* confdefs.h.  */
15956 _ACEOF
15957 cat confdefs.h >>conftest.$ac_ext
15958 cat >>conftest.$ac_ext <<_ACEOF
15959 /* end confdefs.h.  */
15960
15961 /* Override any gcc2 internal prototype to avoid an error.  */
15962 #ifdef __cplusplus
15963 extern "C"
15964 #endif
15965 /* We use char because int might match the return type of a gcc2
15966    builtin and then its argument prototype would still apply.  */
15967 char nextafter ();
15968 int
15969 main ()
15970 {
15971 nextafter ();
15972   ;
15973   return 0;
15974 }
15975 _ACEOF
15976 rm -f conftest.$ac_objext conftest$ac_exeext
15977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15978   (eval $ac_link) 2>conftest.er1
15979   ac_status=$?
15980   grep -v '^ *+' conftest.er1 >conftest.err
15981   rm -f conftest.er1
15982   cat conftest.err >&5
15983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984   (exit $ac_status); } &&
15985          { ac_try='test -z "$ac_c_werror_flag"                   || 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_nextafter=yes
15998 else
15999   echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002 ac_cv_lib_m_nextafter=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_nextafter" >&5
16009 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16010 if test $ac_cv_lib_m_nextafter = yes; then
16011
16012 cat >>confdefs.h <<\_ACEOF
16013 #define HAVE_NEXTAFTER 1
16014 _ACEOF
16015
16016 fi
16017
16018 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16019 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16020 if test "${ac_cv_lib_m_nextafterl+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 nextafterl ();
16044 int
16045 main ()
16046 {
16047 nextafterl ();
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"                   || test ! -s conftest.err'
16062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063   (eval $ac_try) 2>&5
16064   ac_status=$?
16065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066   (exit $ac_status); }; } &&
16067          { ac_try='test -s conftest$ac_exeext'
16068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069   (eval $ac_try) 2>&5
16070   ac_status=$?
16071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072   (exit $ac_status); }; }; then
16073   ac_cv_lib_m_nextafterl=yes
16074 else
16075   echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16077
16078 ac_cv_lib_m_nextafterl=no
16079 fi
16080 rm -f conftest.err conftest.$ac_objext \
16081       conftest$ac_exeext conftest.$ac_ext
16082 LIBS=$ac_check_lib_save_LIBS
16083 fi
16084 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16085 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16086 if test $ac_cv_lib_m_nextafterl = yes; then
16087
16088 cat >>confdefs.h <<\_ACEOF
16089 #define HAVE_NEXTAFTERL 1
16090 _ACEOF
16091
16092 fi
16093
16094 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16095 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16096 if test "${ac_cv_lib_m_powf+set}" = set; then
16097   echo $ECHO_N "(cached) $ECHO_C" >&6
16098 else
16099   ac_check_lib_save_LIBS=$LIBS
16100 LIBS="-lm  $LIBS"
16101 if test x$gcc_no_link = xyes; then
16102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16104    { (exit 1); exit 1; }; }
16105 fi
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h.  */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h.  */
16112
16113 /* Override any gcc2 internal prototype to avoid an error.  */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 /* We use char because int might match the return type of a gcc2
16118    builtin and then its argument prototype would still apply.  */
16119 char powf ();
16120 int
16121 main ()
16122 {
16123 powf ();
16124   ;
16125   return 0;
16126 }
16127 _ACEOF
16128 rm -f conftest.$ac_objext conftest$ac_exeext
16129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16130   (eval $ac_link) 2>conftest.er1
16131   ac_status=$?
16132   grep -v '^ *+' conftest.er1 >conftest.err
16133   rm -f conftest.er1
16134   cat conftest.err >&5
16135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136   (exit $ac_status); } &&
16137          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139   (eval $ac_try) 2>&5
16140   ac_status=$?
16141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142   (exit $ac_status); }; } &&
16143          { ac_try='test -s conftest$ac_exeext'
16144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145   (eval $ac_try) 2>&5
16146   ac_status=$?
16147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148   (exit $ac_status); }; }; then
16149   ac_cv_lib_m_powf=yes
16150 else
16151   echo "$as_me: failed program was:" >&5
16152 sed 's/^/| /' conftest.$ac_ext >&5
16153
16154 ac_cv_lib_m_powf=no
16155 fi
16156 rm -f conftest.err conftest.$ac_objext \
16157       conftest$ac_exeext conftest.$ac_ext
16158 LIBS=$ac_check_lib_save_LIBS
16159 fi
16160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
16161 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
16162 if test $ac_cv_lib_m_powf = yes; then
16163
16164 cat >>confdefs.h <<\_ACEOF
16165 #define HAVE_POWF 1
16166 _ACEOF
16167
16168 fi
16169
16170 echo "$as_me:$LINENO: checking for pow in -lm" >&5
16171 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
16172 if test "${ac_cv_lib_m_pow+set}" = set; then
16173   echo $ECHO_N "(cached) $ECHO_C" >&6
16174 else
16175   ac_check_lib_save_LIBS=$LIBS
16176 LIBS="-lm  $LIBS"
16177 if test x$gcc_no_link = xyes; then
16178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16180    { (exit 1); exit 1; }; }
16181 fi
16182 cat >conftest.$ac_ext <<_ACEOF
16183 /* confdefs.h.  */
16184 _ACEOF
16185 cat confdefs.h >>conftest.$ac_ext
16186 cat >>conftest.$ac_ext <<_ACEOF
16187 /* end confdefs.h.  */
16188
16189 /* Override any gcc2 internal prototype to avoid an error.  */
16190 #ifdef __cplusplus
16191 extern "C"
16192 #endif
16193 /* We use char because int might match the return type of a gcc2
16194    builtin and then its argument prototype would still apply.  */
16195 char pow ();
16196 int
16197 main ()
16198 {
16199 pow ();
16200   ;
16201   return 0;
16202 }
16203 _ACEOF
16204 rm -f conftest.$ac_objext conftest$ac_exeext
16205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16206   (eval $ac_link) 2>conftest.er1
16207   ac_status=$?
16208   grep -v '^ *+' conftest.er1 >conftest.err
16209   rm -f conftest.er1
16210   cat conftest.err >&5
16211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212   (exit $ac_status); } &&
16213          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215   (eval $ac_try) 2>&5
16216   ac_status=$?
16217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218   (exit $ac_status); }; } &&
16219          { ac_try='test -s conftest$ac_exeext'
16220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221   (eval $ac_try) 2>&5
16222   ac_status=$?
16223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224   (exit $ac_status); }; }; then
16225   ac_cv_lib_m_pow=yes
16226 else
16227   echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.$ac_ext >&5
16229
16230 ac_cv_lib_m_pow=no
16231 fi
16232 rm -f conftest.err conftest.$ac_objext \
16233       conftest$ac_exeext conftest.$ac_ext
16234 LIBS=$ac_check_lib_save_LIBS
16235 fi
16236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16237 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
16238 if test $ac_cv_lib_m_pow = yes; then
16239
16240 cat >>confdefs.h <<\_ACEOF
16241 #define HAVE_POW 1
16242 _ACEOF
16243
16244 fi
16245
16246 echo "$as_me:$LINENO: checking for powl in -lm" >&5
16247 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
16248 if test "${ac_cv_lib_m_powl+set}" = set; then
16249   echo $ECHO_N "(cached) $ECHO_C" >&6
16250 else
16251   ac_check_lib_save_LIBS=$LIBS
16252 LIBS="-lm  $LIBS"
16253 if test x$gcc_no_link = xyes; then
16254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16256    { (exit 1); exit 1; }; }
16257 fi
16258 cat >conftest.$ac_ext <<_ACEOF
16259 /* confdefs.h.  */
16260 _ACEOF
16261 cat confdefs.h >>conftest.$ac_ext
16262 cat >>conftest.$ac_ext <<_ACEOF
16263 /* end confdefs.h.  */
16264
16265 /* Override any gcc2 internal prototype to avoid an error.  */
16266 #ifdef __cplusplus
16267 extern "C"
16268 #endif
16269 /* We use char because int might match the return type of a gcc2
16270    builtin and then its argument prototype would still apply.  */
16271 char powl ();
16272 int
16273 main ()
16274 {
16275 powl ();
16276   ;
16277   return 0;
16278 }
16279 _ACEOF
16280 rm -f conftest.$ac_objext conftest$ac_exeext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16282   (eval $ac_link) 2>conftest.er1
16283   ac_status=$?
16284   grep -v '^ *+' conftest.er1 >conftest.err
16285   rm -f conftest.er1
16286   cat conftest.err >&5
16287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288   (exit $ac_status); } &&
16289          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291   (eval $ac_try) 2>&5
16292   ac_status=$?
16293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294   (exit $ac_status); }; } &&
16295          { ac_try='test -s conftest$ac_exeext'
16296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297   (eval $ac_try) 2>&5
16298   ac_status=$?
16299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300   (exit $ac_status); }; }; then
16301   ac_cv_lib_m_powl=yes
16302 else
16303   echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.$ac_ext >&5
16305
16306 ac_cv_lib_m_powl=no
16307 fi
16308 rm -f conftest.err conftest.$ac_objext \
16309       conftest$ac_exeext conftest.$ac_ext
16310 LIBS=$ac_check_lib_save_LIBS
16311 fi
16312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
16313 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
16314 if test $ac_cv_lib_m_powl = yes; then
16315
16316 cat >>confdefs.h <<\_ACEOF
16317 #define HAVE_POWL 1
16318 _ACEOF
16319
16320 fi
16321
16322 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
16323 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
16324 if test "${ac_cv_lib_m_cpowf+set}" = set; then
16325   echo $ECHO_N "(cached) $ECHO_C" >&6
16326 else
16327   ac_check_lib_save_LIBS=$LIBS
16328 LIBS="-lm  $LIBS"
16329 if test x$gcc_no_link = xyes; then
16330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16332    { (exit 1); exit 1; }; }
16333 fi
16334 cat >conftest.$ac_ext <<_ACEOF
16335 /* confdefs.h.  */
16336 _ACEOF
16337 cat confdefs.h >>conftest.$ac_ext
16338 cat >>conftest.$ac_ext <<_ACEOF
16339 /* end confdefs.h.  */
16340
16341 /* Override any gcc2 internal prototype to avoid an error.  */
16342 #ifdef __cplusplus
16343 extern "C"
16344 #endif
16345 /* We use char because int might match the return type of a gcc2
16346    builtin and then its argument prototype would still apply.  */
16347 char cpowf ();
16348 int
16349 main ()
16350 {
16351 cpowf ();
16352   ;
16353   return 0;
16354 }
16355 _ACEOF
16356 rm -f conftest.$ac_objext conftest$ac_exeext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16358   (eval $ac_link) 2>conftest.er1
16359   ac_status=$?
16360   grep -v '^ *+' conftest.er1 >conftest.err
16361   rm -f conftest.er1
16362   cat conftest.err >&5
16363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364   (exit $ac_status); } &&
16365          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367   (eval $ac_try) 2>&5
16368   ac_status=$?
16369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370   (exit $ac_status); }; } &&
16371          { ac_try='test -s conftest$ac_exeext'
16372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373   (eval $ac_try) 2>&5
16374   ac_status=$?
16375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376   (exit $ac_status); }; }; then
16377   ac_cv_lib_m_cpowf=yes
16378 else
16379   echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.$ac_ext >&5
16381
16382 ac_cv_lib_m_cpowf=no
16383 fi
16384 rm -f conftest.err conftest.$ac_objext \
16385       conftest$ac_exeext conftest.$ac_ext
16386 LIBS=$ac_check_lib_save_LIBS
16387 fi
16388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
16389 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
16390 if test $ac_cv_lib_m_cpowf = yes; then
16391
16392 cat >>confdefs.h <<\_ACEOF
16393 #define HAVE_CPOWF 1
16394 _ACEOF
16395
16396 fi
16397
16398 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
16399 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
16400 if test "${ac_cv_lib_m_cpow+set}" = set; then
16401   echo $ECHO_N "(cached) $ECHO_C" >&6
16402 else
16403   ac_check_lib_save_LIBS=$LIBS
16404 LIBS="-lm  $LIBS"
16405 if test x$gcc_no_link = xyes; then
16406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16408    { (exit 1); exit 1; }; }
16409 fi
16410 cat >conftest.$ac_ext <<_ACEOF
16411 /* confdefs.h.  */
16412 _ACEOF
16413 cat confdefs.h >>conftest.$ac_ext
16414 cat >>conftest.$ac_ext <<_ACEOF
16415 /* end confdefs.h.  */
16416
16417 /* Override any gcc2 internal prototype to avoid an error.  */
16418 #ifdef __cplusplus
16419 extern "C"
16420 #endif
16421 /* We use char because int might match the return type of a gcc2
16422    builtin and then its argument prototype would still apply.  */
16423 char cpow ();
16424 int
16425 main ()
16426 {
16427 cpow ();
16428   ;
16429   return 0;
16430 }
16431 _ACEOF
16432 rm -f conftest.$ac_objext conftest$ac_exeext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16434   (eval $ac_link) 2>conftest.er1
16435   ac_status=$?
16436   grep -v '^ *+' conftest.er1 >conftest.err
16437   rm -f conftest.er1
16438   cat conftest.err >&5
16439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440   (exit $ac_status); } &&
16441          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443   (eval $ac_try) 2>&5
16444   ac_status=$?
16445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446   (exit $ac_status); }; } &&
16447          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16453   ac_cv_lib_m_cpow=yes
16454 else
16455   echo "$as_me: failed program was:" >&5
16456 sed 's/^/| /' conftest.$ac_ext >&5
16457
16458 ac_cv_lib_m_cpow=no
16459 fi
16460 rm -f conftest.err conftest.$ac_objext \
16461       conftest$ac_exeext conftest.$ac_ext
16462 LIBS=$ac_check_lib_save_LIBS
16463 fi
16464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
16465 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
16466 if test $ac_cv_lib_m_cpow = yes; then
16467
16468 cat >>confdefs.h <<\_ACEOF
16469 #define HAVE_CPOW 1
16470 _ACEOF
16471
16472 fi
16473
16474 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
16475 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
16476 if test "${ac_cv_lib_m_cpowl+set}" = set; then
16477   echo $ECHO_N "(cached) $ECHO_C" >&6
16478 else
16479   ac_check_lib_save_LIBS=$LIBS
16480 LIBS="-lm  $LIBS"
16481 if test x$gcc_no_link = xyes; then
16482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16484    { (exit 1); exit 1; }; }
16485 fi
16486 cat >conftest.$ac_ext <<_ACEOF
16487 /* confdefs.h.  */
16488 _ACEOF
16489 cat confdefs.h >>conftest.$ac_ext
16490 cat >>conftest.$ac_ext <<_ACEOF
16491 /* end confdefs.h.  */
16492
16493 /* Override any gcc2 internal prototype to avoid an error.  */
16494 #ifdef __cplusplus
16495 extern "C"
16496 #endif
16497 /* We use char because int might match the return type of a gcc2
16498    builtin and then its argument prototype would still apply.  */
16499 char cpowl ();
16500 int
16501 main ()
16502 {
16503 cpowl ();
16504   ;
16505   return 0;
16506 }
16507 _ACEOF
16508 rm -f conftest.$ac_objext conftest$ac_exeext
16509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16510   (eval $ac_link) 2>conftest.er1
16511   ac_status=$?
16512   grep -v '^ *+' conftest.er1 >conftest.err
16513   rm -f conftest.er1
16514   cat conftest.err >&5
16515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516   (exit $ac_status); } &&
16517          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519   (eval $ac_try) 2>&5
16520   ac_status=$?
16521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522   (exit $ac_status); }; } &&
16523          { ac_try='test -s conftest$ac_exeext'
16524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16525   (eval $ac_try) 2>&5
16526   ac_status=$?
16527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528   (exit $ac_status); }; }; then
16529   ac_cv_lib_m_cpowl=yes
16530 else
16531   echo "$as_me: failed program was:" >&5
16532 sed 's/^/| /' conftest.$ac_ext >&5
16533
16534 ac_cv_lib_m_cpowl=no
16535 fi
16536 rm -f conftest.err conftest.$ac_objext \
16537       conftest$ac_exeext conftest.$ac_ext
16538 LIBS=$ac_check_lib_save_LIBS
16539 fi
16540 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
16541 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
16542 if test $ac_cv_lib_m_cpowl = yes; then
16543
16544 cat >>confdefs.h <<\_ACEOF
16545 #define HAVE_CPOWL 1
16546 _ACEOF
16547
16548 fi
16549
16550 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
16551 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
16552 if test "${ac_cv_lib_m_roundf+set}" = set; then
16553   echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555   ac_check_lib_save_LIBS=$LIBS
16556 LIBS="-lm  $LIBS"
16557 if test x$gcc_no_link = xyes; then
16558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16560    { (exit 1); exit 1; }; }
16561 fi
16562 cat >conftest.$ac_ext <<_ACEOF
16563 /* confdefs.h.  */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h.  */
16568
16569 /* Override any gcc2 internal prototype to avoid an error.  */
16570 #ifdef __cplusplus
16571 extern "C"
16572 #endif
16573 /* We use char because int might match the return type of a gcc2
16574    builtin and then its argument prototype would still apply.  */
16575 char roundf ();
16576 int
16577 main ()
16578 {
16579 roundf ();
16580   ;
16581   return 0;
16582 }
16583 _ACEOF
16584 rm -f conftest.$ac_objext conftest$ac_exeext
16585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16586   (eval $ac_link) 2>conftest.er1
16587   ac_status=$?
16588   grep -v '^ *+' conftest.er1 >conftest.err
16589   rm -f conftest.er1
16590   cat conftest.err >&5
16591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592   (exit $ac_status); } &&
16593          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595   (eval $ac_try) 2>&5
16596   ac_status=$?
16597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598   (exit $ac_status); }; } &&
16599          { ac_try='test -s conftest$ac_exeext'
16600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601   (eval $ac_try) 2>&5
16602   ac_status=$?
16603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604   (exit $ac_status); }; }; then
16605   ac_cv_lib_m_roundf=yes
16606 else
16607   echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.$ac_ext >&5
16609
16610 ac_cv_lib_m_roundf=no
16611 fi
16612 rm -f conftest.err conftest.$ac_objext \
16613       conftest$ac_exeext conftest.$ac_ext
16614 LIBS=$ac_check_lib_save_LIBS
16615 fi
16616 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
16617 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
16618 if test $ac_cv_lib_m_roundf = yes; then
16619
16620 cat >>confdefs.h <<\_ACEOF
16621 #define HAVE_ROUNDF 1
16622 _ACEOF
16623
16624 fi
16625
16626 echo "$as_me:$LINENO: checking for round in -lm" >&5
16627 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
16628 if test "${ac_cv_lib_m_round+set}" = set; then
16629   echo $ECHO_N "(cached) $ECHO_C" >&6
16630 else
16631   ac_check_lib_save_LIBS=$LIBS
16632 LIBS="-lm  $LIBS"
16633 if test x$gcc_no_link = xyes; then
16634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16636    { (exit 1); exit 1; }; }
16637 fi
16638 cat >conftest.$ac_ext <<_ACEOF
16639 /* confdefs.h.  */
16640 _ACEOF
16641 cat confdefs.h >>conftest.$ac_ext
16642 cat >>conftest.$ac_ext <<_ACEOF
16643 /* end confdefs.h.  */
16644
16645 /* Override any gcc2 internal prototype to avoid an error.  */
16646 #ifdef __cplusplus
16647 extern "C"
16648 #endif
16649 /* We use char because int might match the return type of a gcc2
16650    builtin and then its argument prototype would still apply.  */
16651 char round ();
16652 int
16653 main ()
16654 {
16655 round ();
16656   ;
16657   return 0;
16658 }
16659 _ACEOF
16660 rm -f conftest.$ac_objext conftest$ac_exeext
16661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16662   (eval $ac_link) 2>conftest.er1
16663   ac_status=$?
16664   grep -v '^ *+' conftest.er1 >conftest.err
16665   rm -f conftest.er1
16666   cat conftest.err >&5
16667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668   (exit $ac_status); } &&
16669          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671   (eval $ac_try) 2>&5
16672   ac_status=$?
16673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674   (exit $ac_status); }; } &&
16675          { ac_try='test -s conftest$ac_exeext'
16676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677   (eval $ac_try) 2>&5
16678   ac_status=$?
16679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680   (exit $ac_status); }; }; then
16681   ac_cv_lib_m_round=yes
16682 else
16683   echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 ac_cv_lib_m_round=no
16687 fi
16688 rm -f conftest.err conftest.$ac_objext \
16689       conftest$ac_exeext conftest.$ac_ext
16690 LIBS=$ac_check_lib_save_LIBS
16691 fi
16692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
16693 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
16694 if test $ac_cv_lib_m_round = yes; then
16695
16696 cat >>confdefs.h <<\_ACEOF
16697 #define HAVE_ROUND 1
16698 _ACEOF
16699
16700 fi
16701
16702 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
16703 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
16704 if test "${ac_cv_lib_m_roundl+set}" = set; then
16705   echo $ECHO_N "(cached) $ECHO_C" >&6
16706 else
16707   ac_check_lib_save_LIBS=$LIBS
16708 LIBS="-lm  $LIBS"
16709 if test x$gcc_no_link = xyes; then
16710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16712    { (exit 1); exit 1; }; }
16713 fi
16714 cat >conftest.$ac_ext <<_ACEOF
16715 /* confdefs.h.  */
16716 _ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h.  */
16720
16721 /* Override any gcc2 internal prototype to avoid an error.  */
16722 #ifdef __cplusplus
16723 extern "C"
16724 #endif
16725 /* We use char because int might match the return type of a gcc2
16726    builtin and then its argument prototype would still apply.  */
16727 char roundl ();
16728 int
16729 main ()
16730 {
16731 roundl ();
16732   ;
16733   return 0;
16734 }
16735 _ACEOF
16736 rm -f conftest.$ac_objext conftest$ac_exeext
16737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16738   (eval $ac_link) 2>conftest.er1
16739   ac_status=$?
16740   grep -v '^ *+' conftest.er1 >conftest.err
16741   rm -f conftest.er1
16742   cat conftest.err >&5
16743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744   (exit $ac_status); } &&
16745          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747   (eval $ac_try) 2>&5
16748   ac_status=$?
16749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750   (exit $ac_status); }; } &&
16751          { ac_try='test -s conftest$ac_exeext'
16752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753   (eval $ac_try) 2>&5
16754   ac_status=$?
16755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756   (exit $ac_status); }; }; then
16757   ac_cv_lib_m_roundl=yes
16758 else
16759   echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16761
16762 ac_cv_lib_m_roundl=no
16763 fi
16764 rm -f conftest.err conftest.$ac_objext \
16765       conftest$ac_exeext conftest.$ac_ext
16766 LIBS=$ac_check_lib_save_LIBS
16767 fi
16768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
16769 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
16770 if test $ac_cv_lib_m_roundl = yes; then
16771
16772 cat >>confdefs.h <<\_ACEOF
16773 #define HAVE_ROUNDL 1
16774 _ACEOF
16775
16776 fi
16777
16778 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
16779 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
16780 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
16781   echo $ECHO_N "(cached) $ECHO_C" >&6
16782 else
16783   ac_check_lib_save_LIBS=$LIBS
16784 LIBS="-lm  $LIBS"
16785 if test x$gcc_no_link = xyes; then
16786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16788    { (exit 1); exit 1; }; }
16789 fi
16790 cat >conftest.$ac_ext <<_ACEOF
16791 /* confdefs.h.  */
16792 _ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h.  */
16796
16797 /* Override any gcc2 internal prototype to avoid an error.  */
16798 #ifdef __cplusplus
16799 extern "C"
16800 #endif
16801 /* We use char because int might match the return type of a gcc2
16802    builtin and then its argument prototype would still apply.  */
16803 char scalbnf ();
16804 int
16805 main ()
16806 {
16807 scalbnf ();
16808   ;
16809   return 0;
16810 }
16811 _ACEOF
16812 rm -f conftest.$ac_objext conftest$ac_exeext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16814   (eval $ac_link) 2>conftest.er1
16815   ac_status=$?
16816   grep -v '^ *+' conftest.er1 >conftest.err
16817   rm -f conftest.er1
16818   cat conftest.err >&5
16819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820   (exit $ac_status); } &&
16821          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823   (eval $ac_try) 2>&5
16824   ac_status=$?
16825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826   (exit $ac_status); }; } &&
16827          { ac_try='test -s conftest$ac_exeext'
16828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829   (eval $ac_try) 2>&5
16830   ac_status=$?
16831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832   (exit $ac_status); }; }; then
16833   ac_cv_lib_m_scalbnf=yes
16834 else
16835   echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16837
16838 ac_cv_lib_m_scalbnf=no
16839 fi
16840 rm -f conftest.err conftest.$ac_objext \
16841       conftest$ac_exeext conftest.$ac_ext
16842 LIBS=$ac_check_lib_save_LIBS
16843 fi
16844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
16845 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
16846 if test $ac_cv_lib_m_scalbnf = yes; then
16847
16848 cat >>confdefs.h <<\_ACEOF
16849 #define HAVE_SCALBNF 1
16850 _ACEOF
16851
16852 fi
16853
16854 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
16855 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
16856 if test "${ac_cv_lib_m_scalbn+set}" = set; then
16857   echo $ECHO_N "(cached) $ECHO_C" >&6
16858 else
16859   ac_check_lib_save_LIBS=$LIBS
16860 LIBS="-lm  $LIBS"
16861 if test x$gcc_no_link = xyes; then
16862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16864    { (exit 1); exit 1; }; }
16865 fi
16866 cat >conftest.$ac_ext <<_ACEOF
16867 /* confdefs.h.  */
16868 _ACEOF
16869 cat confdefs.h >>conftest.$ac_ext
16870 cat >>conftest.$ac_ext <<_ACEOF
16871 /* end confdefs.h.  */
16872
16873 /* Override any gcc2 internal prototype to avoid an error.  */
16874 #ifdef __cplusplus
16875 extern "C"
16876 #endif
16877 /* We use char because int might match the return type of a gcc2
16878    builtin and then its argument prototype would still apply.  */
16879 char scalbn ();
16880 int
16881 main ()
16882 {
16883 scalbn ();
16884   ;
16885   return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext conftest$ac_exeext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16890   (eval $ac_link) 2>conftest.er1
16891   ac_status=$?
16892   grep -v '^ *+' conftest.er1 >conftest.err
16893   rm -f conftest.er1
16894   cat conftest.err >&5
16895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896   (exit $ac_status); } &&
16897          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899   (eval $ac_try) 2>&5
16900   ac_status=$?
16901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902   (exit $ac_status); }; } &&
16903          { ac_try='test -s conftest$ac_exeext'
16904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905   (eval $ac_try) 2>&5
16906   ac_status=$?
16907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908   (exit $ac_status); }; }; then
16909   ac_cv_lib_m_scalbn=yes
16910 else
16911   echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16913
16914 ac_cv_lib_m_scalbn=no
16915 fi
16916 rm -f conftest.err conftest.$ac_objext \
16917       conftest$ac_exeext conftest.$ac_ext
16918 LIBS=$ac_check_lib_save_LIBS
16919 fi
16920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
16921 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
16922 if test $ac_cv_lib_m_scalbn = yes; then
16923
16924 cat >>confdefs.h <<\_ACEOF
16925 #define HAVE_SCALBN 1
16926 _ACEOF
16927
16928 fi
16929
16930 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
16931 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
16932 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
16933   echo $ECHO_N "(cached) $ECHO_C" >&6
16934 else
16935   ac_check_lib_save_LIBS=$LIBS
16936 LIBS="-lm  $LIBS"
16937 if test x$gcc_no_link = xyes; then
16938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16940    { (exit 1); exit 1; }; }
16941 fi
16942 cat >conftest.$ac_ext <<_ACEOF
16943 /* confdefs.h.  */
16944 _ACEOF
16945 cat confdefs.h >>conftest.$ac_ext
16946 cat >>conftest.$ac_ext <<_ACEOF
16947 /* end confdefs.h.  */
16948
16949 /* Override any gcc2 internal prototype to avoid an error.  */
16950 #ifdef __cplusplus
16951 extern "C"
16952 #endif
16953 /* We use char because int might match the return type of a gcc2
16954    builtin and then its argument prototype would still apply.  */
16955 char scalbnl ();
16956 int
16957 main ()
16958 {
16959 scalbnl ();
16960   ;
16961   return 0;
16962 }
16963 _ACEOF
16964 rm -f conftest.$ac_objext conftest$ac_exeext
16965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16966   (eval $ac_link) 2>conftest.er1
16967   ac_status=$?
16968   grep -v '^ *+' conftest.er1 >conftest.err
16969   rm -f conftest.er1
16970   cat conftest.err >&5
16971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972   (exit $ac_status); } &&
16973          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
16974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975   (eval $ac_try) 2>&5
16976   ac_status=$?
16977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978   (exit $ac_status); }; } &&
16979          { ac_try='test -s conftest$ac_exeext'
16980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981   (eval $ac_try) 2>&5
16982   ac_status=$?
16983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984   (exit $ac_status); }; }; then
16985   ac_cv_lib_m_scalbnl=yes
16986 else
16987   echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16989
16990 ac_cv_lib_m_scalbnl=no
16991 fi
16992 rm -f conftest.err conftest.$ac_objext \
16993       conftest$ac_exeext conftest.$ac_ext
16994 LIBS=$ac_check_lib_save_LIBS
16995 fi
16996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
16997 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
16998 if test $ac_cv_lib_m_scalbnl = yes; then
16999
17000 cat >>confdefs.h <<\_ACEOF
17001 #define HAVE_SCALBNL 1
17002 _ACEOF
17003
17004 fi
17005
17006 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17007 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17008 if test "${ac_cv_lib_m_sinf+set}" = set; then
17009   echo $ECHO_N "(cached) $ECHO_C" >&6
17010 else
17011   ac_check_lib_save_LIBS=$LIBS
17012 LIBS="-lm  $LIBS"
17013 if test x$gcc_no_link = xyes; then
17014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17016    { (exit 1); exit 1; }; }
17017 fi
17018 cat >conftest.$ac_ext <<_ACEOF
17019 /* confdefs.h.  */
17020 _ACEOF
17021 cat confdefs.h >>conftest.$ac_ext
17022 cat >>conftest.$ac_ext <<_ACEOF
17023 /* end confdefs.h.  */
17024
17025 /* Override any gcc2 internal prototype to avoid an error.  */
17026 #ifdef __cplusplus
17027 extern "C"
17028 #endif
17029 /* We use char because int might match the return type of a gcc2
17030    builtin and then its argument prototype would still apply.  */
17031 char sinf ();
17032 int
17033 main ()
17034 {
17035 sinf ();
17036   ;
17037   return 0;
17038 }
17039 _ACEOF
17040 rm -f conftest.$ac_objext conftest$ac_exeext
17041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17042   (eval $ac_link) 2>conftest.er1
17043   ac_status=$?
17044   grep -v '^ *+' conftest.er1 >conftest.err
17045   rm -f conftest.er1
17046   cat conftest.err >&5
17047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048   (exit $ac_status); } &&
17049          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051   (eval $ac_try) 2>&5
17052   ac_status=$?
17053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054   (exit $ac_status); }; } &&
17055          { ac_try='test -s conftest$ac_exeext'
17056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057   (eval $ac_try) 2>&5
17058   ac_status=$?
17059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060   (exit $ac_status); }; }; then
17061   ac_cv_lib_m_sinf=yes
17062 else
17063   echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17065
17066 ac_cv_lib_m_sinf=no
17067 fi
17068 rm -f conftest.err conftest.$ac_objext \
17069       conftest$ac_exeext conftest.$ac_ext
17070 LIBS=$ac_check_lib_save_LIBS
17071 fi
17072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17073 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17074 if test $ac_cv_lib_m_sinf = yes; then
17075
17076 cat >>confdefs.h <<\_ACEOF
17077 #define HAVE_SINF 1
17078 _ACEOF
17079
17080 fi
17081
17082 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17083 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17084 if test "${ac_cv_lib_m_sin+set}" = set; then
17085   echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087   ac_check_lib_save_LIBS=$LIBS
17088 LIBS="-lm  $LIBS"
17089 if test x$gcc_no_link = xyes; then
17090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17092    { (exit 1); exit 1; }; }
17093 fi
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h.  */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h.  */
17100
17101 /* Override any gcc2 internal prototype to avoid an error.  */
17102 #ifdef __cplusplus
17103 extern "C"
17104 #endif
17105 /* We use char because int might match the return type of a gcc2
17106    builtin and then its argument prototype would still apply.  */
17107 char sin ();
17108 int
17109 main ()
17110 {
17111 sin ();
17112   ;
17113   return 0;
17114 }
17115 _ACEOF
17116 rm -f conftest.$ac_objext conftest$ac_exeext
17117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17118   (eval $ac_link) 2>conftest.er1
17119   ac_status=$?
17120   grep -v '^ *+' conftest.er1 >conftest.err
17121   rm -f conftest.er1
17122   cat conftest.err >&5
17123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124   (exit $ac_status); } &&
17125          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127   (eval $ac_try) 2>&5
17128   ac_status=$?
17129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130   (exit $ac_status); }; } &&
17131          { ac_try='test -s conftest$ac_exeext'
17132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133   (eval $ac_try) 2>&5
17134   ac_status=$?
17135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136   (exit $ac_status); }; }; then
17137   ac_cv_lib_m_sin=yes
17138 else
17139   echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 ac_cv_lib_m_sin=no
17143 fi
17144 rm -f conftest.err conftest.$ac_objext \
17145       conftest$ac_exeext conftest.$ac_ext
17146 LIBS=$ac_check_lib_save_LIBS
17147 fi
17148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17149 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17150 if test $ac_cv_lib_m_sin = yes; then
17151
17152 cat >>confdefs.h <<\_ACEOF
17153 #define HAVE_SIN 1
17154 _ACEOF
17155
17156 fi
17157
17158 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
17159 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
17160 if test "${ac_cv_lib_m_sinl+set}" = set; then
17161   echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163   ac_check_lib_save_LIBS=$LIBS
17164 LIBS="-lm  $LIBS"
17165 if test x$gcc_no_link = xyes; then
17166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17168    { (exit 1); exit 1; }; }
17169 fi
17170 cat >conftest.$ac_ext <<_ACEOF
17171 /* confdefs.h.  */
17172 _ACEOF
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h.  */
17176
17177 /* Override any gcc2 internal prototype to avoid an error.  */
17178 #ifdef __cplusplus
17179 extern "C"
17180 #endif
17181 /* We use char because int might match the return type of a gcc2
17182    builtin and then its argument prototype would still apply.  */
17183 char sinl ();
17184 int
17185 main ()
17186 {
17187 sinl ();
17188   ;
17189   return 0;
17190 }
17191 _ACEOF
17192 rm -f conftest.$ac_objext conftest$ac_exeext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17194   (eval $ac_link) 2>conftest.er1
17195   ac_status=$?
17196   grep -v '^ *+' conftest.er1 >conftest.err
17197   rm -f conftest.er1
17198   cat conftest.err >&5
17199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200   (exit $ac_status); } &&
17201          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203   (eval $ac_try) 2>&5
17204   ac_status=$?
17205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206   (exit $ac_status); }; } &&
17207          { ac_try='test -s conftest$ac_exeext'
17208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209   (eval $ac_try) 2>&5
17210   ac_status=$?
17211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212   (exit $ac_status); }; }; then
17213   ac_cv_lib_m_sinl=yes
17214 else
17215   echo "$as_me: failed program was:" >&5
17216 sed 's/^/| /' conftest.$ac_ext >&5
17217
17218 ac_cv_lib_m_sinl=no
17219 fi
17220 rm -f conftest.err conftest.$ac_objext \
17221       conftest$ac_exeext conftest.$ac_ext
17222 LIBS=$ac_check_lib_save_LIBS
17223 fi
17224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
17225 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
17226 if test $ac_cv_lib_m_sinl = yes; then
17227
17228 cat >>confdefs.h <<\_ACEOF
17229 #define HAVE_SINL 1
17230 _ACEOF
17231
17232 fi
17233
17234 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
17235 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
17236 if test "${ac_cv_lib_m_csinf+set}" = set; then
17237   echo $ECHO_N "(cached) $ECHO_C" >&6
17238 else
17239   ac_check_lib_save_LIBS=$LIBS
17240 LIBS="-lm  $LIBS"
17241 if test x$gcc_no_link = xyes; then
17242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17244    { (exit 1); exit 1; }; }
17245 fi
17246 cat >conftest.$ac_ext <<_ACEOF
17247 /* confdefs.h.  */
17248 _ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h.  */
17252
17253 /* Override any gcc2 internal prototype to avoid an error.  */
17254 #ifdef __cplusplus
17255 extern "C"
17256 #endif
17257 /* We use char because int might match the return type of a gcc2
17258    builtin and then its argument prototype would still apply.  */
17259 char csinf ();
17260 int
17261 main ()
17262 {
17263 csinf ();
17264   ;
17265   return 0;
17266 }
17267 _ACEOF
17268 rm -f conftest.$ac_objext conftest$ac_exeext
17269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17270   (eval $ac_link) 2>conftest.er1
17271   ac_status=$?
17272   grep -v '^ *+' conftest.er1 >conftest.err
17273   rm -f conftest.er1
17274   cat conftest.err >&5
17275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276   (exit $ac_status); } &&
17277          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279   (eval $ac_try) 2>&5
17280   ac_status=$?
17281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282   (exit $ac_status); }; } &&
17283          { ac_try='test -s conftest$ac_exeext'
17284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285   (eval $ac_try) 2>&5
17286   ac_status=$?
17287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288   (exit $ac_status); }; }; then
17289   ac_cv_lib_m_csinf=yes
17290 else
17291   echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.$ac_ext >&5
17293
17294 ac_cv_lib_m_csinf=no
17295 fi
17296 rm -f conftest.err conftest.$ac_objext \
17297       conftest$ac_exeext conftest.$ac_ext
17298 LIBS=$ac_check_lib_save_LIBS
17299 fi
17300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
17301 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
17302 if test $ac_cv_lib_m_csinf = yes; then
17303
17304 cat >>confdefs.h <<\_ACEOF
17305 #define HAVE_CSINF 1
17306 _ACEOF
17307
17308 fi
17309
17310 echo "$as_me:$LINENO: checking for csin in -lm" >&5
17311 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
17312 if test "${ac_cv_lib_m_csin+set}" = set; then
17313   echo $ECHO_N "(cached) $ECHO_C" >&6
17314 else
17315   ac_check_lib_save_LIBS=$LIBS
17316 LIBS="-lm  $LIBS"
17317 if test x$gcc_no_link = xyes; then
17318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17320    { (exit 1); exit 1; }; }
17321 fi
17322 cat >conftest.$ac_ext <<_ACEOF
17323 /* confdefs.h.  */
17324 _ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h.  */
17328
17329 /* Override any gcc2 internal prototype to avoid an error.  */
17330 #ifdef __cplusplus
17331 extern "C"
17332 #endif
17333 /* We use char because int might match the return type of a gcc2
17334    builtin and then its argument prototype would still apply.  */
17335 char csin ();
17336 int
17337 main ()
17338 {
17339 csin ();
17340   ;
17341   return 0;
17342 }
17343 _ACEOF
17344 rm -f conftest.$ac_objext conftest$ac_exeext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17346   (eval $ac_link) 2>conftest.er1
17347   ac_status=$?
17348   grep -v '^ *+' conftest.er1 >conftest.err
17349   rm -f conftest.er1
17350   cat conftest.err >&5
17351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352   (exit $ac_status); } &&
17353          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355   (eval $ac_try) 2>&5
17356   ac_status=$?
17357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358   (exit $ac_status); }; } &&
17359          { ac_try='test -s conftest$ac_exeext'
17360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17361   (eval $ac_try) 2>&5
17362   ac_status=$?
17363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364   (exit $ac_status); }; }; then
17365   ac_cv_lib_m_csin=yes
17366 else
17367   echo "$as_me: failed program was:" >&5
17368 sed 's/^/| /' conftest.$ac_ext >&5
17369
17370 ac_cv_lib_m_csin=no
17371 fi
17372 rm -f conftest.err conftest.$ac_objext \
17373       conftest$ac_exeext conftest.$ac_ext
17374 LIBS=$ac_check_lib_save_LIBS
17375 fi
17376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
17377 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
17378 if test $ac_cv_lib_m_csin = yes; then
17379
17380 cat >>confdefs.h <<\_ACEOF
17381 #define HAVE_CSIN 1
17382 _ACEOF
17383
17384 fi
17385
17386 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
17387 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
17388 if test "${ac_cv_lib_m_csinl+set}" = set; then
17389   echo $ECHO_N "(cached) $ECHO_C" >&6
17390 else
17391   ac_check_lib_save_LIBS=$LIBS
17392 LIBS="-lm  $LIBS"
17393 if test x$gcc_no_link = xyes; then
17394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17396    { (exit 1); exit 1; }; }
17397 fi
17398 cat >conftest.$ac_ext <<_ACEOF
17399 /* confdefs.h.  */
17400 _ACEOF
17401 cat confdefs.h >>conftest.$ac_ext
17402 cat >>conftest.$ac_ext <<_ACEOF
17403 /* end confdefs.h.  */
17404
17405 /* Override any gcc2 internal prototype to avoid an error.  */
17406 #ifdef __cplusplus
17407 extern "C"
17408 #endif
17409 /* We use char because int might match the return type of a gcc2
17410    builtin and then its argument prototype would still apply.  */
17411 char csinl ();
17412 int
17413 main ()
17414 {
17415 csinl ();
17416   ;
17417   return 0;
17418 }
17419 _ACEOF
17420 rm -f conftest.$ac_objext conftest$ac_exeext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17422   (eval $ac_link) 2>conftest.er1
17423   ac_status=$?
17424   grep -v '^ *+' conftest.er1 >conftest.err
17425   rm -f conftest.er1
17426   cat conftest.err >&5
17427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428   (exit $ac_status); } &&
17429          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431   (eval $ac_try) 2>&5
17432   ac_status=$?
17433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434   (exit $ac_status); }; } &&
17435          { ac_try='test -s conftest$ac_exeext'
17436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437   (eval $ac_try) 2>&5
17438   ac_status=$?
17439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440   (exit $ac_status); }; }; then
17441   ac_cv_lib_m_csinl=yes
17442 else
17443   echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17445
17446 ac_cv_lib_m_csinl=no
17447 fi
17448 rm -f conftest.err conftest.$ac_objext \
17449       conftest$ac_exeext conftest.$ac_ext
17450 LIBS=$ac_check_lib_save_LIBS
17451 fi
17452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
17453 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
17454 if test $ac_cv_lib_m_csinl = yes; then
17455
17456 cat >>confdefs.h <<\_ACEOF
17457 #define HAVE_CSINL 1
17458 _ACEOF
17459
17460 fi
17461
17462 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
17463 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
17464 if test "${ac_cv_lib_m_sinhf+set}" = set; then
17465   echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467   ac_check_lib_save_LIBS=$LIBS
17468 LIBS="-lm  $LIBS"
17469 if test x$gcc_no_link = xyes; then
17470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17472    { (exit 1); exit 1; }; }
17473 fi
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h.  */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h.  */
17480
17481 /* Override any gcc2 internal prototype to avoid an error.  */
17482 #ifdef __cplusplus
17483 extern "C"
17484 #endif
17485 /* We use char because int might match the return type of a gcc2
17486    builtin and then its argument prototype would still apply.  */
17487 char sinhf ();
17488 int
17489 main ()
17490 {
17491 sinhf ();
17492   ;
17493   return 0;
17494 }
17495 _ACEOF
17496 rm -f conftest.$ac_objext conftest$ac_exeext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17498   (eval $ac_link) 2>conftest.er1
17499   ac_status=$?
17500   grep -v '^ *+' conftest.er1 >conftest.err
17501   rm -f conftest.er1
17502   cat conftest.err >&5
17503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504   (exit $ac_status); } &&
17505          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507   (eval $ac_try) 2>&5
17508   ac_status=$?
17509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510   (exit $ac_status); }; } &&
17511          { ac_try='test -s conftest$ac_exeext'
17512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513   (eval $ac_try) 2>&5
17514   ac_status=$?
17515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516   (exit $ac_status); }; }; then
17517   ac_cv_lib_m_sinhf=yes
17518 else
17519   echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17521
17522 ac_cv_lib_m_sinhf=no
17523 fi
17524 rm -f conftest.err conftest.$ac_objext \
17525       conftest$ac_exeext conftest.$ac_ext
17526 LIBS=$ac_check_lib_save_LIBS
17527 fi
17528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
17529 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
17530 if test $ac_cv_lib_m_sinhf = yes; then
17531
17532 cat >>confdefs.h <<\_ACEOF
17533 #define HAVE_SINHF 1
17534 _ACEOF
17535
17536 fi
17537
17538 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
17539 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
17540 if test "${ac_cv_lib_m_sinh+set}" = set; then
17541   echo $ECHO_N "(cached) $ECHO_C" >&6
17542 else
17543   ac_check_lib_save_LIBS=$LIBS
17544 LIBS="-lm  $LIBS"
17545 if test x$gcc_no_link = xyes; then
17546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17548    { (exit 1); exit 1; }; }
17549 fi
17550 cat >conftest.$ac_ext <<_ACEOF
17551 /* confdefs.h.  */
17552 _ACEOF
17553 cat confdefs.h >>conftest.$ac_ext
17554 cat >>conftest.$ac_ext <<_ACEOF
17555 /* end confdefs.h.  */
17556
17557 /* Override any gcc2 internal prototype to avoid an error.  */
17558 #ifdef __cplusplus
17559 extern "C"
17560 #endif
17561 /* We use char because int might match the return type of a gcc2
17562    builtin and then its argument prototype would still apply.  */
17563 char sinh ();
17564 int
17565 main ()
17566 {
17567 sinh ();
17568   ;
17569   return 0;
17570 }
17571 _ACEOF
17572 rm -f conftest.$ac_objext conftest$ac_exeext
17573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17574   (eval $ac_link) 2>conftest.er1
17575   ac_status=$?
17576   grep -v '^ *+' conftest.er1 >conftest.err
17577   rm -f conftest.er1
17578   cat conftest.err >&5
17579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580   (exit $ac_status); } &&
17581          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583   (eval $ac_try) 2>&5
17584   ac_status=$?
17585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586   (exit $ac_status); }; } &&
17587          { ac_try='test -s conftest$ac_exeext'
17588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589   (eval $ac_try) 2>&5
17590   ac_status=$?
17591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592   (exit $ac_status); }; }; then
17593   ac_cv_lib_m_sinh=yes
17594 else
17595   echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17597
17598 ac_cv_lib_m_sinh=no
17599 fi
17600 rm -f conftest.err conftest.$ac_objext \
17601       conftest$ac_exeext conftest.$ac_ext
17602 LIBS=$ac_check_lib_save_LIBS
17603 fi
17604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
17605 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
17606 if test $ac_cv_lib_m_sinh = yes; then
17607
17608 cat >>confdefs.h <<\_ACEOF
17609 #define HAVE_SINH 1
17610 _ACEOF
17611
17612 fi
17613
17614 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
17615 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
17616 if test "${ac_cv_lib_m_sinhl+set}" = set; then
17617   echo $ECHO_N "(cached) $ECHO_C" >&6
17618 else
17619   ac_check_lib_save_LIBS=$LIBS
17620 LIBS="-lm  $LIBS"
17621 if test x$gcc_no_link = xyes; then
17622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17624    { (exit 1); exit 1; }; }
17625 fi
17626 cat >conftest.$ac_ext <<_ACEOF
17627 /* confdefs.h.  */
17628 _ACEOF
17629 cat confdefs.h >>conftest.$ac_ext
17630 cat >>conftest.$ac_ext <<_ACEOF
17631 /* end confdefs.h.  */
17632
17633 /* Override any gcc2 internal prototype to avoid an error.  */
17634 #ifdef __cplusplus
17635 extern "C"
17636 #endif
17637 /* We use char because int might match the return type of a gcc2
17638    builtin and then its argument prototype would still apply.  */
17639 char sinhl ();
17640 int
17641 main ()
17642 {
17643 sinhl ();
17644   ;
17645   return 0;
17646 }
17647 _ACEOF
17648 rm -f conftest.$ac_objext conftest$ac_exeext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17650   (eval $ac_link) 2>conftest.er1
17651   ac_status=$?
17652   grep -v '^ *+' conftest.er1 >conftest.err
17653   rm -f conftest.er1
17654   cat conftest.err >&5
17655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656   (exit $ac_status); } &&
17657          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659   (eval $ac_try) 2>&5
17660   ac_status=$?
17661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662   (exit $ac_status); }; } &&
17663          { ac_try='test -s conftest$ac_exeext'
17664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665   (eval $ac_try) 2>&5
17666   ac_status=$?
17667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668   (exit $ac_status); }; }; then
17669   ac_cv_lib_m_sinhl=yes
17670 else
17671   echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.$ac_ext >&5
17673
17674 ac_cv_lib_m_sinhl=no
17675 fi
17676 rm -f conftest.err conftest.$ac_objext \
17677       conftest$ac_exeext conftest.$ac_ext
17678 LIBS=$ac_check_lib_save_LIBS
17679 fi
17680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
17681 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
17682 if test $ac_cv_lib_m_sinhl = yes; then
17683
17684 cat >>confdefs.h <<\_ACEOF
17685 #define HAVE_SINHL 1
17686 _ACEOF
17687
17688 fi
17689
17690 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
17691 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
17692 if test "${ac_cv_lib_m_csinhf+set}" = set; then
17693   echo $ECHO_N "(cached) $ECHO_C" >&6
17694 else
17695   ac_check_lib_save_LIBS=$LIBS
17696 LIBS="-lm  $LIBS"
17697 if test x$gcc_no_link = xyes; then
17698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17700    { (exit 1); exit 1; }; }
17701 fi
17702 cat >conftest.$ac_ext <<_ACEOF
17703 /* confdefs.h.  */
17704 _ACEOF
17705 cat confdefs.h >>conftest.$ac_ext
17706 cat >>conftest.$ac_ext <<_ACEOF
17707 /* end confdefs.h.  */
17708
17709 /* Override any gcc2 internal prototype to avoid an error.  */
17710 #ifdef __cplusplus
17711 extern "C"
17712 #endif
17713 /* We use char because int might match the return type of a gcc2
17714    builtin and then its argument prototype would still apply.  */
17715 char csinhf ();
17716 int
17717 main ()
17718 {
17719 csinhf ();
17720   ;
17721   return 0;
17722 }
17723 _ACEOF
17724 rm -f conftest.$ac_objext conftest$ac_exeext
17725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17726   (eval $ac_link) 2>conftest.er1
17727   ac_status=$?
17728   grep -v '^ *+' conftest.er1 >conftest.err
17729   rm -f conftest.er1
17730   cat conftest.err >&5
17731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732   (exit $ac_status); } &&
17733          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17735   (eval $ac_try) 2>&5
17736   ac_status=$?
17737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738   (exit $ac_status); }; } &&
17739          { ac_try='test -s conftest$ac_exeext'
17740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741   (eval $ac_try) 2>&5
17742   ac_status=$?
17743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744   (exit $ac_status); }; }; then
17745   ac_cv_lib_m_csinhf=yes
17746 else
17747   echo "$as_me: failed program was:" >&5
17748 sed 's/^/| /' conftest.$ac_ext >&5
17749
17750 ac_cv_lib_m_csinhf=no
17751 fi
17752 rm -f conftest.err conftest.$ac_objext \
17753       conftest$ac_exeext conftest.$ac_ext
17754 LIBS=$ac_check_lib_save_LIBS
17755 fi
17756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
17757 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
17758 if test $ac_cv_lib_m_csinhf = yes; then
17759
17760 cat >>confdefs.h <<\_ACEOF
17761 #define HAVE_CSINHF 1
17762 _ACEOF
17763
17764 fi
17765
17766 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
17767 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
17768 if test "${ac_cv_lib_m_csinh+set}" = set; then
17769   echo $ECHO_N "(cached) $ECHO_C" >&6
17770 else
17771   ac_check_lib_save_LIBS=$LIBS
17772 LIBS="-lm  $LIBS"
17773 if test x$gcc_no_link = xyes; then
17774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17776    { (exit 1); exit 1; }; }
17777 fi
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h.  */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h.  */
17784
17785 /* Override any gcc2 internal prototype to avoid an error.  */
17786 #ifdef __cplusplus
17787 extern "C"
17788 #endif
17789 /* We use char because int might match the return type of a gcc2
17790    builtin and then its argument prototype would still apply.  */
17791 char csinh ();
17792 int
17793 main ()
17794 {
17795 csinh ();
17796   ;
17797   return 0;
17798 }
17799 _ACEOF
17800 rm -f conftest.$ac_objext conftest$ac_exeext
17801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17802   (eval $ac_link) 2>conftest.er1
17803   ac_status=$?
17804   grep -v '^ *+' conftest.er1 >conftest.err
17805   rm -f conftest.er1
17806   cat conftest.err >&5
17807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808   (exit $ac_status); } &&
17809          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17811   (eval $ac_try) 2>&5
17812   ac_status=$?
17813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814   (exit $ac_status); }; } &&
17815          { ac_try='test -s conftest$ac_exeext'
17816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817   (eval $ac_try) 2>&5
17818   ac_status=$?
17819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820   (exit $ac_status); }; }; then
17821   ac_cv_lib_m_csinh=yes
17822 else
17823   echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17825
17826 ac_cv_lib_m_csinh=no
17827 fi
17828 rm -f conftest.err conftest.$ac_objext \
17829       conftest$ac_exeext conftest.$ac_ext
17830 LIBS=$ac_check_lib_save_LIBS
17831 fi
17832 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
17833 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
17834 if test $ac_cv_lib_m_csinh = yes; then
17835
17836 cat >>confdefs.h <<\_ACEOF
17837 #define HAVE_CSINH 1
17838 _ACEOF
17839
17840 fi
17841
17842 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
17843 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
17844 if test "${ac_cv_lib_m_csinhl+set}" = set; then
17845   echo $ECHO_N "(cached) $ECHO_C" >&6
17846 else
17847   ac_check_lib_save_LIBS=$LIBS
17848 LIBS="-lm  $LIBS"
17849 if test x$gcc_no_link = xyes; then
17850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17852    { (exit 1); exit 1; }; }
17853 fi
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h.  */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h.  */
17860
17861 /* Override any gcc2 internal prototype to avoid an error.  */
17862 #ifdef __cplusplus
17863 extern "C"
17864 #endif
17865 /* We use char because int might match the return type of a gcc2
17866    builtin and then its argument prototype would still apply.  */
17867 char csinhl ();
17868 int
17869 main ()
17870 {
17871 csinhl ();
17872   ;
17873   return 0;
17874 }
17875 _ACEOF
17876 rm -f conftest.$ac_objext conftest$ac_exeext
17877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17878   (eval $ac_link) 2>conftest.er1
17879   ac_status=$?
17880   grep -v '^ *+' conftest.er1 >conftest.err
17881   rm -f conftest.er1
17882   cat conftest.err >&5
17883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884   (exit $ac_status); } &&
17885          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887   (eval $ac_try) 2>&5
17888   ac_status=$?
17889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890   (exit $ac_status); }; } &&
17891          { ac_try='test -s conftest$ac_exeext'
17892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893   (eval $ac_try) 2>&5
17894   ac_status=$?
17895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896   (exit $ac_status); }; }; then
17897   ac_cv_lib_m_csinhl=yes
17898 else
17899   echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17901
17902 ac_cv_lib_m_csinhl=no
17903 fi
17904 rm -f conftest.err conftest.$ac_objext \
17905       conftest$ac_exeext conftest.$ac_ext
17906 LIBS=$ac_check_lib_save_LIBS
17907 fi
17908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
17909 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
17910 if test $ac_cv_lib_m_csinhl = yes; then
17911
17912 cat >>confdefs.h <<\_ACEOF
17913 #define HAVE_CSINHL 1
17914 _ACEOF
17915
17916 fi
17917
17918 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
17919 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
17920 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
17921   echo $ECHO_N "(cached) $ECHO_C" >&6
17922 else
17923   ac_check_lib_save_LIBS=$LIBS
17924 LIBS="-lm  $LIBS"
17925 if test x$gcc_no_link = xyes; then
17926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17928    { (exit 1); exit 1; }; }
17929 fi
17930 cat >conftest.$ac_ext <<_ACEOF
17931 /* confdefs.h.  */
17932 _ACEOF
17933 cat confdefs.h >>conftest.$ac_ext
17934 cat >>conftest.$ac_ext <<_ACEOF
17935 /* end confdefs.h.  */
17936
17937 /* Override any gcc2 internal prototype to avoid an error.  */
17938 #ifdef __cplusplus
17939 extern "C"
17940 #endif
17941 /* We use char because int might match the return type of a gcc2
17942    builtin and then its argument prototype would still apply.  */
17943 char sqrtf ();
17944 int
17945 main ()
17946 {
17947 sqrtf ();
17948   ;
17949   return 0;
17950 }
17951 _ACEOF
17952 rm -f conftest.$ac_objext conftest$ac_exeext
17953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17954   (eval $ac_link) 2>conftest.er1
17955   ac_status=$?
17956   grep -v '^ *+' conftest.er1 >conftest.err
17957   rm -f conftest.er1
17958   cat conftest.err >&5
17959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960   (exit $ac_status); } &&
17961          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
17962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963   (eval $ac_try) 2>&5
17964   ac_status=$?
17965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966   (exit $ac_status); }; } &&
17967          { ac_try='test -s conftest$ac_exeext'
17968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969   (eval $ac_try) 2>&5
17970   ac_status=$?
17971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972   (exit $ac_status); }; }; then
17973   ac_cv_lib_m_sqrtf=yes
17974 else
17975   echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17977
17978 ac_cv_lib_m_sqrtf=no
17979 fi
17980 rm -f conftest.err conftest.$ac_objext \
17981       conftest$ac_exeext conftest.$ac_ext
17982 LIBS=$ac_check_lib_save_LIBS
17983 fi
17984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
17985 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
17986 if test $ac_cv_lib_m_sqrtf = yes; then
17987
17988 cat >>confdefs.h <<\_ACEOF
17989 #define HAVE_SQRTF 1
17990 _ACEOF
17991
17992 fi
17993
17994 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
17995 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
17996 if test "${ac_cv_lib_m_sqrt+set}" = set; then
17997   echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999   ac_check_lib_save_LIBS=$LIBS
18000 LIBS="-lm  $LIBS"
18001 if test x$gcc_no_link = xyes; then
18002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18004    { (exit 1); exit 1; }; }
18005 fi
18006 cat >conftest.$ac_ext <<_ACEOF
18007 /* confdefs.h.  */
18008 _ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h.  */
18012
18013 /* Override any gcc2 internal prototype to avoid an error.  */
18014 #ifdef __cplusplus
18015 extern "C"
18016 #endif
18017 /* We use char because int might match the return type of a gcc2
18018    builtin and then its argument prototype would still apply.  */
18019 char sqrt ();
18020 int
18021 main ()
18022 {
18023 sqrt ();
18024   ;
18025   return 0;
18026 }
18027 _ACEOF
18028 rm -f conftest.$ac_objext conftest$ac_exeext
18029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18030   (eval $ac_link) 2>conftest.er1
18031   ac_status=$?
18032   grep -v '^ *+' conftest.er1 >conftest.err
18033   rm -f conftest.er1
18034   cat conftest.err >&5
18035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036   (exit $ac_status); } &&
18037          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039   (eval $ac_try) 2>&5
18040   ac_status=$?
18041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042   (exit $ac_status); }; } &&
18043          { ac_try='test -s conftest$ac_exeext'
18044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045   (eval $ac_try) 2>&5
18046   ac_status=$?
18047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048   (exit $ac_status); }; }; then
18049   ac_cv_lib_m_sqrt=yes
18050 else
18051   echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 ac_cv_lib_m_sqrt=no
18055 fi
18056 rm -f conftest.err conftest.$ac_objext \
18057       conftest$ac_exeext conftest.$ac_ext
18058 LIBS=$ac_check_lib_save_LIBS
18059 fi
18060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18061 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18062 if test $ac_cv_lib_m_sqrt = yes; then
18063
18064 cat >>confdefs.h <<\_ACEOF
18065 #define HAVE_SQRT 1
18066 _ACEOF
18067
18068 fi
18069
18070 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18071 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18072 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18073   echo $ECHO_N "(cached) $ECHO_C" >&6
18074 else
18075   ac_check_lib_save_LIBS=$LIBS
18076 LIBS="-lm  $LIBS"
18077 if test x$gcc_no_link = xyes; then
18078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18080    { (exit 1); exit 1; }; }
18081 fi
18082 cat >conftest.$ac_ext <<_ACEOF
18083 /* confdefs.h.  */
18084 _ACEOF
18085 cat confdefs.h >>conftest.$ac_ext
18086 cat >>conftest.$ac_ext <<_ACEOF
18087 /* end confdefs.h.  */
18088
18089 /* Override any gcc2 internal prototype to avoid an error.  */
18090 #ifdef __cplusplus
18091 extern "C"
18092 #endif
18093 /* We use char because int might match the return type of a gcc2
18094    builtin and then its argument prototype would still apply.  */
18095 char sqrtl ();
18096 int
18097 main ()
18098 {
18099 sqrtl ();
18100   ;
18101   return 0;
18102 }
18103 _ACEOF
18104 rm -f conftest.$ac_objext conftest$ac_exeext
18105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18106   (eval $ac_link) 2>conftest.er1
18107   ac_status=$?
18108   grep -v '^ *+' conftest.er1 >conftest.err
18109   rm -f conftest.er1
18110   cat conftest.err >&5
18111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112   (exit $ac_status); } &&
18113          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115   (eval $ac_try) 2>&5
18116   ac_status=$?
18117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118   (exit $ac_status); }; } &&
18119          { ac_try='test -s conftest$ac_exeext'
18120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121   (eval $ac_try) 2>&5
18122   ac_status=$?
18123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124   (exit $ac_status); }; }; then
18125   ac_cv_lib_m_sqrtl=yes
18126 else
18127   echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.$ac_ext >&5
18129
18130 ac_cv_lib_m_sqrtl=no
18131 fi
18132 rm -f conftest.err conftest.$ac_objext \
18133       conftest$ac_exeext conftest.$ac_ext
18134 LIBS=$ac_check_lib_save_LIBS
18135 fi
18136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
18137 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
18138 if test $ac_cv_lib_m_sqrtl = yes; then
18139
18140 cat >>confdefs.h <<\_ACEOF
18141 #define HAVE_SQRTL 1
18142 _ACEOF
18143
18144 fi
18145
18146 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
18147 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
18148 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
18149   echo $ECHO_N "(cached) $ECHO_C" >&6
18150 else
18151   ac_check_lib_save_LIBS=$LIBS
18152 LIBS="-lm  $LIBS"
18153 if test x$gcc_no_link = xyes; then
18154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18156    { (exit 1); exit 1; }; }
18157 fi
18158 cat >conftest.$ac_ext <<_ACEOF
18159 /* confdefs.h.  */
18160 _ACEOF
18161 cat confdefs.h >>conftest.$ac_ext
18162 cat >>conftest.$ac_ext <<_ACEOF
18163 /* end confdefs.h.  */
18164
18165 /* Override any gcc2 internal prototype to avoid an error.  */
18166 #ifdef __cplusplus
18167 extern "C"
18168 #endif
18169 /* We use char because int might match the return type of a gcc2
18170    builtin and then its argument prototype would still apply.  */
18171 char csqrtf ();
18172 int
18173 main ()
18174 {
18175 csqrtf ();
18176   ;
18177   return 0;
18178 }
18179 _ACEOF
18180 rm -f conftest.$ac_objext conftest$ac_exeext
18181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18182   (eval $ac_link) 2>conftest.er1
18183   ac_status=$?
18184   grep -v '^ *+' conftest.er1 >conftest.err
18185   rm -f conftest.er1
18186   cat conftest.err >&5
18187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188   (exit $ac_status); } &&
18189          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191   (eval $ac_try) 2>&5
18192   ac_status=$?
18193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194   (exit $ac_status); }; } &&
18195          { ac_try='test -s conftest$ac_exeext'
18196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197   (eval $ac_try) 2>&5
18198   ac_status=$?
18199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200   (exit $ac_status); }; }; then
18201   ac_cv_lib_m_csqrtf=yes
18202 else
18203   echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18205
18206 ac_cv_lib_m_csqrtf=no
18207 fi
18208 rm -f conftest.err conftest.$ac_objext \
18209       conftest$ac_exeext conftest.$ac_ext
18210 LIBS=$ac_check_lib_save_LIBS
18211 fi
18212 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
18213 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
18214 if test $ac_cv_lib_m_csqrtf = yes; then
18215
18216 cat >>confdefs.h <<\_ACEOF
18217 #define HAVE_CSQRTF 1
18218 _ACEOF
18219
18220 fi
18221
18222 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
18223 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
18224 if test "${ac_cv_lib_m_csqrt+set}" = set; then
18225   echo $ECHO_N "(cached) $ECHO_C" >&6
18226 else
18227   ac_check_lib_save_LIBS=$LIBS
18228 LIBS="-lm  $LIBS"
18229 if test x$gcc_no_link = xyes; then
18230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18232    { (exit 1); exit 1; }; }
18233 fi
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h.  */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h.  */
18240
18241 /* Override any gcc2 internal prototype to avoid an error.  */
18242 #ifdef __cplusplus
18243 extern "C"
18244 #endif
18245 /* We use char because int might match the return type of a gcc2
18246    builtin and then its argument prototype would still apply.  */
18247 char csqrt ();
18248 int
18249 main ()
18250 {
18251 csqrt ();
18252   ;
18253   return 0;
18254 }
18255 _ACEOF
18256 rm -f conftest.$ac_objext conftest$ac_exeext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18258   (eval $ac_link) 2>conftest.er1
18259   ac_status=$?
18260   grep -v '^ *+' conftest.er1 >conftest.err
18261   rm -f conftest.er1
18262   cat conftest.err >&5
18263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264   (exit $ac_status); } &&
18265          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267   (eval $ac_try) 2>&5
18268   ac_status=$?
18269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270   (exit $ac_status); }; } &&
18271          { ac_try='test -s conftest$ac_exeext'
18272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273   (eval $ac_try) 2>&5
18274   ac_status=$?
18275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276   (exit $ac_status); }; }; then
18277   ac_cv_lib_m_csqrt=yes
18278 else
18279   echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.$ac_ext >&5
18281
18282 ac_cv_lib_m_csqrt=no
18283 fi
18284 rm -f conftest.err conftest.$ac_objext \
18285       conftest$ac_exeext conftest.$ac_ext
18286 LIBS=$ac_check_lib_save_LIBS
18287 fi
18288 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
18289 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
18290 if test $ac_cv_lib_m_csqrt = yes; then
18291
18292 cat >>confdefs.h <<\_ACEOF
18293 #define HAVE_CSQRT 1
18294 _ACEOF
18295
18296 fi
18297
18298 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
18299 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
18300 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
18301   echo $ECHO_N "(cached) $ECHO_C" >&6
18302 else
18303   ac_check_lib_save_LIBS=$LIBS
18304 LIBS="-lm  $LIBS"
18305 if test x$gcc_no_link = xyes; then
18306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18308    { (exit 1); exit 1; }; }
18309 fi
18310 cat >conftest.$ac_ext <<_ACEOF
18311 /* confdefs.h.  */
18312 _ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h.  */
18316
18317 /* Override any gcc2 internal prototype to avoid an error.  */
18318 #ifdef __cplusplus
18319 extern "C"
18320 #endif
18321 /* We use char because int might match the return type of a gcc2
18322    builtin and then its argument prototype would still apply.  */
18323 char csqrtl ();
18324 int
18325 main ()
18326 {
18327 csqrtl ();
18328   ;
18329   return 0;
18330 }
18331 _ACEOF
18332 rm -f conftest.$ac_objext conftest$ac_exeext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18334   (eval $ac_link) 2>conftest.er1
18335   ac_status=$?
18336   grep -v '^ *+' conftest.er1 >conftest.err
18337   rm -f conftest.er1
18338   cat conftest.err >&5
18339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340   (exit $ac_status); } &&
18341          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343   (eval $ac_try) 2>&5
18344   ac_status=$?
18345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346   (exit $ac_status); }; } &&
18347          { ac_try='test -s conftest$ac_exeext'
18348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349   (eval $ac_try) 2>&5
18350   ac_status=$?
18351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352   (exit $ac_status); }; }; then
18353   ac_cv_lib_m_csqrtl=yes
18354 else
18355   echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18357
18358 ac_cv_lib_m_csqrtl=no
18359 fi
18360 rm -f conftest.err conftest.$ac_objext \
18361       conftest$ac_exeext conftest.$ac_ext
18362 LIBS=$ac_check_lib_save_LIBS
18363 fi
18364 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
18365 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
18366 if test $ac_cv_lib_m_csqrtl = yes; then
18367
18368 cat >>confdefs.h <<\_ACEOF
18369 #define HAVE_CSQRTL 1
18370 _ACEOF
18371
18372 fi
18373
18374 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
18375 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
18376 if test "${ac_cv_lib_m_tanf+set}" = set; then
18377   echo $ECHO_N "(cached) $ECHO_C" >&6
18378 else
18379   ac_check_lib_save_LIBS=$LIBS
18380 LIBS="-lm  $LIBS"
18381 if test x$gcc_no_link = xyes; then
18382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18384    { (exit 1); exit 1; }; }
18385 fi
18386 cat >conftest.$ac_ext <<_ACEOF
18387 /* confdefs.h.  */
18388 _ACEOF
18389 cat confdefs.h >>conftest.$ac_ext
18390 cat >>conftest.$ac_ext <<_ACEOF
18391 /* end confdefs.h.  */
18392
18393 /* Override any gcc2 internal prototype to avoid an error.  */
18394 #ifdef __cplusplus
18395 extern "C"
18396 #endif
18397 /* We use char because int might match the return type of a gcc2
18398    builtin and then its argument prototype would still apply.  */
18399 char tanf ();
18400 int
18401 main ()
18402 {
18403 tanf ();
18404   ;
18405   return 0;
18406 }
18407 _ACEOF
18408 rm -f conftest.$ac_objext conftest$ac_exeext
18409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18410   (eval $ac_link) 2>conftest.er1
18411   ac_status=$?
18412   grep -v '^ *+' conftest.er1 >conftest.err
18413   rm -f conftest.er1
18414   cat conftest.err >&5
18415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416   (exit $ac_status); } &&
18417          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419   (eval $ac_try) 2>&5
18420   ac_status=$?
18421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422   (exit $ac_status); }; } &&
18423          { ac_try='test -s conftest$ac_exeext'
18424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425   (eval $ac_try) 2>&5
18426   ac_status=$?
18427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428   (exit $ac_status); }; }; then
18429   ac_cv_lib_m_tanf=yes
18430 else
18431   echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.$ac_ext >&5
18433
18434 ac_cv_lib_m_tanf=no
18435 fi
18436 rm -f conftest.err conftest.$ac_objext \
18437       conftest$ac_exeext conftest.$ac_ext
18438 LIBS=$ac_check_lib_save_LIBS
18439 fi
18440 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
18441 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
18442 if test $ac_cv_lib_m_tanf = yes; then
18443
18444 cat >>confdefs.h <<\_ACEOF
18445 #define HAVE_TANF 1
18446 _ACEOF
18447
18448 fi
18449
18450 echo "$as_me:$LINENO: checking for tan in -lm" >&5
18451 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
18452 if test "${ac_cv_lib_m_tan+set}" = set; then
18453   echo $ECHO_N "(cached) $ECHO_C" >&6
18454 else
18455   ac_check_lib_save_LIBS=$LIBS
18456 LIBS="-lm  $LIBS"
18457 if test x$gcc_no_link = xyes; then
18458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18460    { (exit 1); exit 1; }; }
18461 fi
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h.  */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h.  */
18468
18469 /* Override any gcc2 internal prototype to avoid an error.  */
18470 #ifdef __cplusplus
18471 extern "C"
18472 #endif
18473 /* We use char because int might match the return type of a gcc2
18474    builtin and then its argument prototype would still apply.  */
18475 char tan ();
18476 int
18477 main ()
18478 {
18479 tan ();
18480   ;
18481   return 0;
18482 }
18483 _ACEOF
18484 rm -f conftest.$ac_objext conftest$ac_exeext
18485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18486   (eval $ac_link) 2>conftest.er1
18487   ac_status=$?
18488   grep -v '^ *+' conftest.er1 >conftest.err
18489   rm -f conftest.er1
18490   cat conftest.err >&5
18491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492   (exit $ac_status); } &&
18493          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495   (eval $ac_try) 2>&5
18496   ac_status=$?
18497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498   (exit $ac_status); }; } &&
18499          { ac_try='test -s conftest$ac_exeext'
18500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501   (eval $ac_try) 2>&5
18502   ac_status=$?
18503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504   (exit $ac_status); }; }; then
18505   ac_cv_lib_m_tan=yes
18506 else
18507   echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18509
18510 ac_cv_lib_m_tan=no
18511 fi
18512 rm -f conftest.err conftest.$ac_objext \
18513       conftest$ac_exeext conftest.$ac_ext
18514 LIBS=$ac_check_lib_save_LIBS
18515 fi
18516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
18517 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
18518 if test $ac_cv_lib_m_tan = yes; then
18519
18520 cat >>confdefs.h <<\_ACEOF
18521 #define HAVE_TAN 1
18522 _ACEOF
18523
18524 fi
18525
18526 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
18527 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
18528 if test "${ac_cv_lib_m_tanl+set}" = set; then
18529   echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531   ac_check_lib_save_LIBS=$LIBS
18532 LIBS="-lm  $LIBS"
18533 if test x$gcc_no_link = xyes; then
18534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18536    { (exit 1); exit 1; }; }
18537 fi
18538 cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h.  */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h.  */
18544
18545 /* Override any gcc2 internal prototype to avoid an error.  */
18546 #ifdef __cplusplus
18547 extern "C"
18548 #endif
18549 /* We use char because int might match the return type of a gcc2
18550    builtin and then its argument prototype would still apply.  */
18551 char tanl ();
18552 int
18553 main ()
18554 {
18555 tanl ();
18556   ;
18557   return 0;
18558 }
18559 _ACEOF
18560 rm -f conftest.$ac_objext conftest$ac_exeext
18561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18562   (eval $ac_link) 2>conftest.er1
18563   ac_status=$?
18564   grep -v '^ *+' conftest.er1 >conftest.err
18565   rm -f conftest.er1
18566   cat conftest.err >&5
18567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568   (exit $ac_status); } &&
18569          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571   (eval $ac_try) 2>&5
18572   ac_status=$?
18573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574   (exit $ac_status); }; } &&
18575          { ac_try='test -s conftest$ac_exeext'
18576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577   (eval $ac_try) 2>&5
18578   ac_status=$?
18579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580   (exit $ac_status); }; }; then
18581   ac_cv_lib_m_tanl=yes
18582 else
18583   echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.$ac_ext >&5
18585
18586 ac_cv_lib_m_tanl=no
18587 fi
18588 rm -f conftest.err conftest.$ac_objext \
18589       conftest$ac_exeext conftest.$ac_ext
18590 LIBS=$ac_check_lib_save_LIBS
18591 fi
18592 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
18593 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
18594 if test $ac_cv_lib_m_tanl = yes; then
18595
18596 cat >>confdefs.h <<\_ACEOF
18597 #define HAVE_TANL 1
18598 _ACEOF
18599
18600 fi
18601
18602 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
18603 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
18604 if test "${ac_cv_lib_m_ctanf+set}" = set; then
18605   echo $ECHO_N "(cached) $ECHO_C" >&6
18606 else
18607   ac_check_lib_save_LIBS=$LIBS
18608 LIBS="-lm  $LIBS"
18609 if test x$gcc_no_link = xyes; then
18610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18612    { (exit 1); exit 1; }; }
18613 fi
18614 cat >conftest.$ac_ext <<_ACEOF
18615 /* confdefs.h.  */
18616 _ACEOF
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h.  */
18620
18621 /* Override any gcc2 internal prototype to avoid an error.  */
18622 #ifdef __cplusplus
18623 extern "C"
18624 #endif
18625 /* We use char because int might match the return type of a gcc2
18626    builtin and then its argument prototype would still apply.  */
18627 char ctanf ();
18628 int
18629 main ()
18630 {
18631 ctanf ();
18632   ;
18633   return 0;
18634 }
18635 _ACEOF
18636 rm -f conftest.$ac_objext conftest$ac_exeext
18637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18638   (eval $ac_link) 2>conftest.er1
18639   ac_status=$?
18640   grep -v '^ *+' conftest.er1 >conftest.err
18641   rm -f conftest.er1
18642   cat conftest.err >&5
18643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644   (exit $ac_status); } &&
18645          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647   (eval $ac_try) 2>&5
18648   ac_status=$?
18649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650   (exit $ac_status); }; } &&
18651          { ac_try='test -s conftest$ac_exeext'
18652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653   (eval $ac_try) 2>&5
18654   ac_status=$?
18655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656   (exit $ac_status); }; }; then
18657   ac_cv_lib_m_ctanf=yes
18658 else
18659   echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18661
18662 ac_cv_lib_m_ctanf=no
18663 fi
18664 rm -f conftest.err conftest.$ac_objext \
18665       conftest$ac_exeext conftest.$ac_ext
18666 LIBS=$ac_check_lib_save_LIBS
18667 fi
18668 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
18669 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
18670 if test $ac_cv_lib_m_ctanf = yes; then
18671
18672 cat >>confdefs.h <<\_ACEOF
18673 #define HAVE_CTANF 1
18674 _ACEOF
18675
18676 fi
18677
18678 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
18679 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
18680 if test "${ac_cv_lib_m_ctan+set}" = set; then
18681   echo $ECHO_N "(cached) $ECHO_C" >&6
18682 else
18683   ac_check_lib_save_LIBS=$LIBS
18684 LIBS="-lm  $LIBS"
18685 if test x$gcc_no_link = xyes; then
18686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18688    { (exit 1); exit 1; }; }
18689 fi
18690 cat >conftest.$ac_ext <<_ACEOF
18691 /* confdefs.h.  */
18692 _ACEOF
18693 cat confdefs.h >>conftest.$ac_ext
18694 cat >>conftest.$ac_ext <<_ACEOF
18695 /* end confdefs.h.  */
18696
18697 /* Override any gcc2 internal prototype to avoid an error.  */
18698 #ifdef __cplusplus
18699 extern "C"
18700 #endif
18701 /* We use char because int might match the return type of a gcc2
18702    builtin and then its argument prototype would still apply.  */
18703 char ctan ();
18704 int
18705 main ()
18706 {
18707 ctan ();
18708   ;
18709   return 0;
18710 }
18711 _ACEOF
18712 rm -f conftest.$ac_objext conftest$ac_exeext
18713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18714   (eval $ac_link) 2>conftest.er1
18715   ac_status=$?
18716   grep -v '^ *+' conftest.er1 >conftest.err
18717   rm -f conftest.er1
18718   cat conftest.err >&5
18719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720   (exit $ac_status); } &&
18721          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723   (eval $ac_try) 2>&5
18724   ac_status=$?
18725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726   (exit $ac_status); }; } &&
18727          { ac_try='test -s conftest$ac_exeext'
18728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729   (eval $ac_try) 2>&5
18730   ac_status=$?
18731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732   (exit $ac_status); }; }; then
18733   ac_cv_lib_m_ctan=yes
18734 else
18735   echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18737
18738 ac_cv_lib_m_ctan=no
18739 fi
18740 rm -f conftest.err conftest.$ac_objext \
18741       conftest$ac_exeext conftest.$ac_ext
18742 LIBS=$ac_check_lib_save_LIBS
18743 fi
18744 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
18745 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
18746 if test $ac_cv_lib_m_ctan = yes; then
18747
18748 cat >>confdefs.h <<\_ACEOF
18749 #define HAVE_CTAN 1
18750 _ACEOF
18751
18752 fi
18753
18754 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
18755 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
18756 if test "${ac_cv_lib_m_ctanl+set}" = set; then
18757   echo $ECHO_N "(cached) $ECHO_C" >&6
18758 else
18759   ac_check_lib_save_LIBS=$LIBS
18760 LIBS="-lm  $LIBS"
18761 if test x$gcc_no_link = xyes; then
18762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18764    { (exit 1); exit 1; }; }
18765 fi
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h.  */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h.  */
18772
18773 /* Override any gcc2 internal prototype to avoid an error.  */
18774 #ifdef __cplusplus
18775 extern "C"
18776 #endif
18777 /* We use char because int might match the return type of a gcc2
18778    builtin and then its argument prototype would still apply.  */
18779 char ctanl ();
18780 int
18781 main ()
18782 {
18783 ctanl ();
18784   ;
18785   return 0;
18786 }
18787 _ACEOF
18788 rm -f conftest.$ac_objext conftest$ac_exeext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18790   (eval $ac_link) 2>conftest.er1
18791   ac_status=$?
18792   grep -v '^ *+' conftest.er1 >conftest.err
18793   rm -f conftest.er1
18794   cat conftest.err >&5
18795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796   (exit $ac_status); } &&
18797          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799   (eval $ac_try) 2>&5
18800   ac_status=$?
18801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802   (exit $ac_status); }; } &&
18803          { ac_try='test -s conftest$ac_exeext'
18804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805   (eval $ac_try) 2>&5
18806   ac_status=$?
18807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808   (exit $ac_status); }; }; then
18809   ac_cv_lib_m_ctanl=yes
18810 else
18811   echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18813
18814 ac_cv_lib_m_ctanl=no
18815 fi
18816 rm -f conftest.err conftest.$ac_objext \
18817       conftest$ac_exeext conftest.$ac_ext
18818 LIBS=$ac_check_lib_save_LIBS
18819 fi
18820 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
18821 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
18822 if test $ac_cv_lib_m_ctanl = yes; then
18823
18824 cat >>confdefs.h <<\_ACEOF
18825 #define HAVE_CTANL 1
18826 _ACEOF
18827
18828 fi
18829
18830 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
18831 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
18832 if test "${ac_cv_lib_m_tanhf+set}" = set; then
18833   echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18835   ac_check_lib_save_LIBS=$LIBS
18836 LIBS="-lm  $LIBS"
18837 if test x$gcc_no_link = xyes; then
18838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18840    { (exit 1); exit 1; }; }
18841 fi
18842 cat >conftest.$ac_ext <<_ACEOF
18843 /* confdefs.h.  */
18844 _ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h.  */
18848
18849 /* Override any gcc2 internal prototype to avoid an error.  */
18850 #ifdef __cplusplus
18851 extern "C"
18852 #endif
18853 /* We use char because int might match the return type of a gcc2
18854    builtin and then its argument prototype would still apply.  */
18855 char tanhf ();
18856 int
18857 main ()
18858 {
18859 tanhf ();
18860   ;
18861   return 0;
18862 }
18863 _ACEOF
18864 rm -f conftest.$ac_objext conftest$ac_exeext
18865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18866   (eval $ac_link) 2>conftest.er1
18867   ac_status=$?
18868   grep -v '^ *+' conftest.er1 >conftest.err
18869   rm -f conftest.er1
18870   cat conftest.err >&5
18871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872   (exit $ac_status); } &&
18873          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875   (eval $ac_try) 2>&5
18876   ac_status=$?
18877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878   (exit $ac_status); }; } &&
18879          { ac_try='test -s conftest$ac_exeext'
18880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881   (eval $ac_try) 2>&5
18882   ac_status=$?
18883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884   (exit $ac_status); }; }; then
18885   ac_cv_lib_m_tanhf=yes
18886 else
18887   echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 ac_cv_lib_m_tanhf=no
18891 fi
18892 rm -f conftest.err conftest.$ac_objext \
18893       conftest$ac_exeext conftest.$ac_ext
18894 LIBS=$ac_check_lib_save_LIBS
18895 fi
18896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
18897 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
18898 if test $ac_cv_lib_m_tanhf = yes; then
18899
18900 cat >>confdefs.h <<\_ACEOF
18901 #define HAVE_TANHF 1
18902 _ACEOF
18903
18904 fi
18905
18906 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
18907 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
18908 if test "${ac_cv_lib_m_tanh+set}" = set; then
18909   echo $ECHO_N "(cached) $ECHO_C" >&6
18910 else
18911   ac_check_lib_save_LIBS=$LIBS
18912 LIBS="-lm  $LIBS"
18913 if test x$gcc_no_link = xyes; then
18914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18916    { (exit 1); exit 1; }; }
18917 fi
18918 cat >conftest.$ac_ext <<_ACEOF
18919 /* confdefs.h.  */
18920 _ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h.  */
18924
18925 /* Override any gcc2 internal prototype to avoid an error.  */
18926 #ifdef __cplusplus
18927 extern "C"
18928 #endif
18929 /* We use char because int might match the return type of a gcc2
18930    builtin and then its argument prototype would still apply.  */
18931 char tanh ();
18932 int
18933 main ()
18934 {
18935 tanh ();
18936   ;
18937   return 0;
18938 }
18939 _ACEOF
18940 rm -f conftest.$ac_objext conftest$ac_exeext
18941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18942   (eval $ac_link) 2>conftest.er1
18943   ac_status=$?
18944   grep -v '^ *+' conftest.er1 >conftest.err
18945   rm -f conftest.er1
18946   cat conftest.err >&5
18947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948   (exit $ac_status); } &&
18949          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
18950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951   (eval $ac_try) 2>&5
18952   ac_status=$?
18953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954   (exit $ac_status); }; } &&
18955          { ac_try='test -s conftest$ac_exeext'
18956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957   (eval $ac_try) 2>&5
18958   ac_status=$?
18959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960   (exit $ac_status); }; }; then
18961   ac_cv_lib_m_tanh=yes
18962 else
18963   echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18965
18966 ac_cv_lib_m_tanh=no
18967 fi
18968 rm -f conftest.err conftest.$ac_objext \
18969       conftest$ac_exeext conftest.$ac_ext
18970 LIBS=$ac_check_lib_save_LIBS
18971 fi
18972 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
18973 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
18974 if test $ac_cv_lib_m_tanh = yes; then
18975
18976 cat >>confdefs.h <<\_ACEOF
18977 #define HAVE_TANH 1
18978 _ACEOF
18979
18980 fi
18981
18982 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
18983 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
18984 if test "${ac_cv_lib_m_tanhl+set}" = set; then
18985   echo $ECHO_N "(cached) $ECHO_C" >&6
18986 else
18987   ac_check_lib_save_LIBS=$LIBS
18988 LIBS="-lm  $LIBS"
18989 if test x$gcc_no_link = xyes; then
18990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18992    { (exit 1); exit 1; }; }
18993 fi
18994 cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h.  */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h.  */
19000
19001 /* Override any gcc2 internal prototype to avoid an error.  */
19002 #ifdef __cplusplus
19003 extern "C"
19004 #endif
19005 /* We use char because int might match the return type of a gcc2
19006    builtin and then its argument prototype would still apply.  */
19007 char tanhl ();
19008 int
19009 main ()
19010 {
19011 tanhl ();
19012   ;
19013   return 0;
19014 }
19015 _ACEOF
19016 rm -f conftest.$ac_objext conftest$ac_exeext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19018   (eval $ac_link) 2>conftest.er1
19019   ac_status=$?
19020   grep -v '^ *+' conftest.er1 >conftest.err
19021   rm -f conftest.er1
19022   cat conftest.err >&5
19023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024   (exit $ac_status); } &&
19025          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027   (eval $ac_try) 2>&5
19028   ac_status=$?
19029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030   (exit $ac_status); }; } &&
19031          { ac_try='test -s conftest$ac_exeext'
19032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033   (eval $ac_try) 2>&5
19034   ac_status=$?
19035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036   (exit $ac_status); }; }; then
19037   ac_cv_lib_m_tanhl=yes
19038 else
19039   echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.$ac_ext >&5
19041
19042 ac_cv_lib_m_tanhl=no
19043 fi
19044 rm -f conftest.err conftest.$ac_objext \
19045       conftest$ac_exeext conftest.$ac_ext
19046 LIBS=$ac_check_lib_save_LIBS
19047 fi
19048 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19049 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19050 if test $ac_cv_lib_m_tanhl = yes; then
19051
19052 cat >>confdefs.h <<\_ACEOF
19053 #define HAVE_TANHL 1
19054 _ACEOF
19055
19056 fi
19057
19058 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19059 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19060 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19061   echo $ECHO_N "(cached) $ECHO_C" >&6
19062 else
19063   ac_check_lib_save_LIBS=$LIBS
19064 LIBS="-lm  $LIBS"
19065 if test x$gcc_no_link = xyes; then
19066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19068    { (exit 1); exit 1; }; }
19069 fi
19070 cat >conftest.$ac_ext <<_ACEOF
19071 /* confdefs.h.  */
19072 _ACEOF
19073 cat confdefs.h >>conftest.$ac_ext
19074 cat >>conftest.$ac_ext <<_ACEOF
19075 /* end confdefs.h.  */
19076
19077 /* Override any gcc2 internal prototype to avoid an error.  */
19078 #ifdef __cplusplus
19079 extern "C"
19080 #endif
19081 /* We use char because int might match the return type of a gcc2
19082    builtin and then its argument prototype would still apply.  */
19083 char ctanhf ();
19084 int
19085 main ()
19086 {
19087 ctanhf ();
19088   ;
19089   return 0;
19090 }
19091 _ACEOF
19092 rm -f conftest.$ac_objext conftest$ac_exeext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19094   (eval $ac_link) 2>conftest.er1
19095   ac_status=$?
19096   grep -v '^ *+' conftest.er1 >conftest.err
19097   rm -f conftest.er1
19098   cat conftest.err >&5
19099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100   (exit $ac_status); } &&
19101          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103   (eval $ac_try) 2>&5
19104   ac_status=$?
19105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106   (exit $ac_status); }; } &&
19107          { ac_try='test -s conftest$ac_exeext'
19108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109   (eval $ac_try) 2>&5
19110   ac_status=$?
19111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112   (exit $ac_status); }; }; then
19113   ac_cv_lib_m_ctanhf=yes
19114 else
19115   echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.$ac_ext >&5
19117
19118 ac_cv_lib_m_ctanhf=no
19119 fi
19120 rm -f conftest.err conftest.$ac_objext \
19121       conftest$ac_exeext conftest.$ac_ext
19122 LIBS=$ac_check_lib_save_LIBS
19123 fi
19124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
19125 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
19126 if test $ac_cv_lib_m_ctanhf = yes; then
19127
19128 cat >>confdefs.h <<\_ACEOF
19129 #define HAVE_CTANHF 1
19130 _ACEOF
19131
19132 fi
19133
19134 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
19135 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
19136 if test "${ac_cv_lib_m_ctanh+set}" = set; then
19137   echo $ECHO_N "(cached) $ECHO_C" >&6
19138 else
19139   ac_check_lib_save_LIBS=$LIBS
19140 LIBS="-lm  $LIBS"
19141 if test x$gcc_no_link = xyes; then
19142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19144    { (exit 1); exit 1; }; }
19145 fi
19146 cat >conftest.$ac_ext <<_ACEOF
19147 /* confdefs.h.  */
19148 _ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h.  */
19152
19153 /* Override any gcc2 internal prototype to avoid an error.  */
19154 #ifdef __cplusplus
19155 extern "C"
19156 #endif
19157 /* We use char because int might match the return type of a gcc2
19158    builtin and then its argument prototype would still apply.  */
19159 char ctanh ();
19160 int
19161 main ()
19162 {
19163 ctanh ();
19164   ;
19165   return 0;
19166 }
19167 _ACEOF
19168 rm -f conftest.$ac_objext conftest$ac_exeext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19170   (eval $ac_link) 2>conftest.er1
19171   ac_status=$?
19172   grep -v '^ *+' conftest.er1 >conftest.err
19173   rm -f conftest.er1
19174   cat conftest.err >&5
19175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176   (exit $ac_status); } &&
19177          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179   (eval $ac_try) 2>&5
19180   ac_status=$?
19181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182   (exit $ac_status); }; } &&
19183          { ac_try='test -s conftest$ac_exeext'
19184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185   (eval $ac_try) 2>&5
19186   ac_status=$?
19187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188   (exit $ac_status); }; }; then
19189   ac_cv_lib_m_ctanh=yes
19190 else
19191   echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19193
19194 ac_cv_lib_m_ctanh=no
19195 fi
19196 rm -f conftest.err conftest.$ac_objext \
19197       conftest$ac_exeext conftest.$ac_ext
19198 LIBS=$ac_check_lib_save_LIBS
19199 fi
19200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
19201 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
19202 if test $ac_cv_lib_m_ctanh = yes; then
19203
19204 cat >>confdefs.h <<\_ACEOF
19205 #define HAVE_CTANH 1
19206 _ACEOF
19207
19208 fi
19209
19210 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
19211 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
19212 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
19213   echo $ECHO_N "(cached) $ECHO_C" >&6
19214 else
19215   ac_check_lib_save_LIBS=$LIBS
19216 LIBS="-lm  $LIBS"
19217 if test x$gcc_no_link = xyes; then
19218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19220    { (exit 1); exit 1; }; }
19221 fi
19222 cat >conftest.$ac_ext <<_ACEOF
19223 /* confdefs.h.  */
19224 _ACEOF
19225 cat confdefs.h >>conftest.$ac_ext
19226 cat >>conftest.$ac_ext <<_ACEOF
19227 /* end confdefs.h.  */
19228
19229 /* Override any gcc2 internal prototype to avoid an error.  */
19230 #ifdef __cplusplus
19231 extern "C"
19232 #endif
19233 /* We use char because int might match the return type of a gcc2
19234    builtin and then its argument prototype would still apply.  */
19235 char ctanhl ();
19236 int
19237 main ()
19238 {
19239 ctanhl ();
19240   ;
19241   return 0;
19242 }
19243 _ACEOF
19244 rm -f conftest.$ac_objext conftest$ac_exeext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19246   (eval $ac_link) 2>conftest.er1
19247   ac_status=$?
19248   grep -v '^ *+' conftest.er1 >conftest.err
19249   rm -f conftest.er1
19250   cat conftest.err >&5
19251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252   (exit $ac_status); } &&
19253          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255   (eval $ac_try) 2>&5
19256   ac_status=$?
19257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258   (exit $ac_status); }; } &&
19259          { ac_try='test -s conftest$ac_exeext'
19260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261   (eval $ac_try) 2>&5
19262   ac_status=$?
19263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264   (exit $ac_status); }; }; then
19265   ac_cv_lib_m_ctanhl=yes
19266 else
19267   echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 ac_cv_lib_m_ctanhl=no
19271 fi
19272 rm -f conftest.err conftest.$ac_objext \
19273       conftest$ac_exeext conftest.$ac_ext
19274 LIBS=$ac_check_lib_save_LIBS
19275 fi
19276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
19277 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
19278 if test $ac_cv_lib_m_ctanhl = yes; then
19279
19280 cat >>confdefs.h <<\_ACEOF
19281 #define HAVE_CTANHL 1
19282 _ACEOF
19283
19284 fi
19285
19286 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
19287 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
19288 if test "${ac_cv_lib_m_truncf+set}" = set; then
19289   echo $ECHO_N "(cached) $ECHO_C" >&6
19290 else
19291   ac_check_lib_save_LIBS=$LIBS
19292 LIBS="-lm  $LIBS"
19293 if test x$gcc_no_link = xyes; then
19294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19296    { (exit 1); exit 1; }; }
19297 fi
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h.  */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h.  */
19304
19305 /* Override any gcc2 internal prototype to avoid an error.  */
19306 #ifdef __cplusplus
19307 extern "C"
19308 #endif
19309 /* We use char because int might match the return type of a gcc2
19310    builtin and then its argument prototype would still apply.  */
19311 char truncf ();
19312 int
19313 main ()
19314 {
19315 truncf ();
19316   ;
19317   return 0;
19318 }
19319 _ACEOF
19320 rm -f conftest.$ac_objext conftest$ac_exeext
19321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19322   (eval $ac_link) 2>conftest.er1
19323   ac_status=$?
19324   grep -v '^ *+' conftest.er1 >conftest.err
19325   rm -f conftest.er1
19326   cat conftest.err >&5
19327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328   (exit $ac_status); } &&
19329          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331   (eval $ac_try) 2>&5
19332   ac_status=$?
19333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334   (exit $ac_status); }; } &&
19335          { ac_try='test -s conftest$ac_exeext'
19336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337   (eval $ac_try) 2>&5
19338   ac_status=$?
19339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340   (exit $ac_status); }; }; then
19341   ac_cv_lib_m_truncf=yes
19342 else
19343   echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.$ac_ext >&5
19345
19346 ac_cv_lib_m_truncf=no
19347 fi
19348 rm -f conftest.err conftest.$ac_objext \
19349       conftest$ac_exeext conftest.$ac_ext
19350 LIBS=$ac_check_lib_save_LIBS
19351 fi
19352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
19353 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
19354 if test $ac_cv_lib_m_truncf = yes; then
19355
19356 cat >>confdefs.h <<\_ACEOF
19357 #define HAVE_TRUNCF 1
19358 _ACEOF
19359
19360 fi
19361
19362 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
19363 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
19364 if test "${ac_cv_lib_m_trunc+set}" = set; then
19365   echo $ECHO_N "(cached) $ECHO_C" >&6
19366 else
19367   ac_check_lib_save_LIBS=$LIBS
19368 LIBS="-lm  $LIBS"
19369 if test x$gcc_no_link = xyes; then
19370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19372    { (exit 1); exit 1; }; }
19373 fi
19374 cat >conftest.$ac_ext <<_ACEOF
19375 /* confdefs.h.  */
19376 _ACEOF
19377 cat confdefs.h >>conftest.$ac_ext
19378 cat >>conftest.$ac_ext <<_ACEOF
19379 /* end confdefs.h.  */
19380
19381 /* Override any gcc2 internal prototype to avoid an error.  */
19382 #ifdef __cplusplus
19383 extern "C"
19384 #endif
19385 /* We use char because int might match the return type of a gcc2
19386    builtin and then its argument prototype would still apply.  */
19387 char trunc ();
19388 int
19389 main ()
19390 {
19391 trunc ();
19392   ;
19393   return 0;
19394 }
19395 _ACEOF
19396 rm -f conftest.$ac_objext conftest$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398   (eval $ac_link) 2>conftest.er1
19399   ac_status=$?
19400   grep -v '^ *+' conftest.er1 >conftest.err
19401   rm -f conftest.er1
19402   cat conftest.err >&5
19403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404   (exit $ac_status); } &&
19405          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407   (eval $ac_try) 2>&5
19408   ac_status=$?
19409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410   (exit $ac_status); }; } &&
19411          { ac_try='test -s conftest$ac_exeext'
19412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413   (eval $ac_try) 2>&5
19414   ac_status=$?
19415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416   (exit $ac_status); }; }; then
19417   ac_cv_lib_m_trunc=yes
19418 else
19419   echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.$ac_ext >&5
19421
19422 ac_cv_lib_m_trunc=no
19423 fi
19424 rm -f conftest.err conftest.$ac_objext \
19425       conftest$ac_exeext conftest.$ac_ext
19426 LIBS=$ac_check_lib_save_LIBS
19427 fi
19428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
19429 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
19430 if test $ac_cv_lib_m_trunc = yes; then
19431
19432 cat >>confdefs.h <<\_ACEOF
19433 #define HAVE_TRUNC 1
19434 _ACEOF
19435
19436 fi
19437
19438 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
19439 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
19440 if test "${ac_cv_lib_m_truncl+set}" = set; then
19441   echo $ECHO_N "(cached) $ECHO_C" >&6
19442 else
19443   ac_check_lib_save_LIBS=$LIBS
19444 LIBS="-lm  $LIBS"
19445 if test x$gcc_no_link = xyes; then
19446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19448    { (exit 1); exit 1; }; }
19449 fi
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h.  */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h.  */
19456
19457 /* Override any gcc2 internal prototype to avoid an error.  */
19458 #ifdef __cplusplus
19459 extern "C"
19460 #endif
19461 /* We use char because int might match the return type of a gcc2
19462    builtin and then its argument prototype would still apply.  */
19463 char truncl ();
19464 int
19465 main ()
19466 {
19467 truncl ();
19468   ;
19469   return 0;
19470 }
19471 _ACEOF
19472 rm -f conftest.$ac_objext conftest$ac_exeext
19473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19474   (eval $ac_link) 2>conftest.er1
19475   ac_status=$?
19476   grep -v '^ *+' conftest.er1 >conftest.err
19477   rm -f conftest.er1
19478   cat conftest.err >&5
19479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480   (exit $ac_status); } &&
19481          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483   (eval $ac_try) 2>&5
19484   ac_status=$?
19485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486   (exit $ac_status); }; } &&
19487          { ac_try='test -s conftest$ac_exeext'
19488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489   (eval $ac_try) 2>&5
19490   ac_status=$?
19491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492   (exit $ac_status); }; }; then
19493   ac_cv_lib_m_truncl=yes
19494 else
19495   echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19497
19498 ac_cv_lib_m_truncl=no
19499 fi
19500 rm -f conftest.err conftest.$ac_objext \
19501       conftest$ac_exeext conftest.$ac_ext
19502 LIBS=$ac_check_lib_save_LIBS
19503 fi
19504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
19505 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
19506 if test $ac_cv_lib_m_truncl = yes; then
19507
19508 cat >>confdefs.h <<\_ACEOF
19509 #define HAVE_TRUNCL 1
19510 _ACEOF
19511
19512 fi
19513
19514 echo "$as_me:$LINENO: checking for erff in -lm" >&5
19515 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
19516 if test "${ac_cv_lib_m_erff+set}" = set; then
19517   echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19519   ac_check_lib_save_LIBS=$LIBS
19520 LIBS="-lm  $LIBS"
19521 if test x$gcc_no_link = xyes; then
19522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19524    { (exit 1); exit 1; }; }
19525 fi
19526 cat >conftest.$ac_ext <<_ACEOF
19527 /* confdefs.h.  */
19528 _ACEOF
19529 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h.  */
19532
19533 /* Override any gcc2 internal prototype to avoid an error.  */
19534 #ifdef __cplusplus
19535 extern "C"
19536 #endif
19537 /* We use char because int might match the return type of a gcc2
19538    builtin and then its argument prototype would still apply.  */
19539 char erff ();
19540 int
19541 main ()
19542 {
19543 erff ();
19544   ;
19545   return 0;
19546 }
19547 _ACEOF
19548 rm -f conftest.$ac_objext conftest$ac_exeext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19550   (eval $ac_link) 2>conftest.er1
19551   ac_status=$?
19552   grep -v '^ *+' conftest.er1 >conftest.err
19553   rm -f conftest.er1
19554   cat conftest.err >&5
19555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556   (exit $ac_status); } &&
19557          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559   (eval $ac_try) 2>&5
19560   ac_status=$?
19561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562   (exit $ac_status); }; } &&
19563          { ac_try='test -s conftest$ac_exeext'
19564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565   (eval $ac_try) 2>&5
19566   ac_status=$?
19567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568   (exit $ac_status); }; }; then
19569   ac_cv_lib_m_erff=yes
19570 else
19571   echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.$ac_ext >&5
19573
19574 ac_cv_lib_m_erff=no
19575 fi
19576 rm -f conftest.err conftest.$ac_objext \
19577       conftest$ac_exeext conftest.$ac_ext
19578 LIBS=$ac_check_lib_save_LIBS
19579 fi
19580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
19581 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
19582 if test $ac_cv_lib_m_erff = yes; then
19583
19584 cat >>confdefs.h <<\_ACEOF
19585 #define HAVE_ERFF 1
19586 _ACEOF
19587
19588 fi
19589
19590 echo "$as_me:$LINENO: checking for erf in -lm" >&5
19591 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
19592 if test "${ac_cv_lib_m_erf+set}" = set; then
19593   echo $ECHO_N "(cached) $ECHO_C" >&6
19594 else
19595   ac_check_lib_save_LIBS=$LIBS
19596 LIBS="-lm  $LIBS"
19597 if test x$gcc_no_link = xyes; then
19598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19600    { (exit 1); exit 1; }; }
19601 fi
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h.  */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h.  */
19608
19609 /* Override any gcc2 internal prototype to avoid an error.  */
19610 #ifdef __cplusplus
19611 extern "C"
19612 #endif
19613 /* We use char because int might match the return type of a gcc2
19614    builtin and then its argument prototype would still apply.  */
19615 char erf ();
19616 int
19617 main ()
19618 {
19619 erf ();
19620   ;
19621   return 0;
19622 }
19623 _ACEOF
19624 rm -f conftest.$ac_objext conftest$ac_exeext
19625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19626   (eval $ac_link) 2>conftest.er1
19627   ac_status=$?
19628   grep -v '^ *+' conftest.er1 >conftest.err
19629   rm -f conftest.er1
19630   cat conftest.err >&5
19631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632   (exit $ac_status); } &&
19633          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635   (eval $ac_try) 2>&5
19636   ac_status=$?
19637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638   (exit $ac_status); }; } &&
19639          { ac_try='test -s conftest$ac_exeext'
19640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641   (eval $ac_try) 2>&5
19642   ac_status=$?
19643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644   (exit $ac_status); }; }; then
19645   ac_cv_lib_m_erf=yes
19646 else
19647   echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19649
19650 ac_cv_lib_m_erf=no
19651 fi
19652 rm -f conftest.err conftest.$ac_objext \
19653       conftest$ac_exeext conftest.$ac_ext
19654 LIBS=$ac_check_lib_save_LIBS
19655 fi
19656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
19657 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
19658 if test $ac_cv_lib_m_erf = yes; then
19659
19660 cat >>confdefs.h <<\_ACEOF
19661 #define HAVE_ERF 1
19662 _ACEOF
19663
19664 fi
19665
19666 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
19667 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
19668 if test "${ac_cv_lib_m_erfl+set}" = set; then
19669   echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19671   ac_check_lib_save_LIBS=$LIBS
19672 LIBS="-lm  $LIBS"
19673 if test x$gcc_no_link = xyes; then
19674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19676    { (exit 1); exit 1; }; }
19677 fi
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h.  */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h.  */
19684
19685 /* Override any gcc2 internal prototype to avoid an error.  */
19686 #ifdef __cplusplus
19687 extern "C"
19688 #endif
19689 /* We use char because int might match the return type of a gcc2
19690    builtin and then its argument prototype would still apply.  */
19691 char erfl ();
19692 int
19693 main ()
19694 {
19695 erfl ();
19696   ;
19697   return 0;
19698 }
19699 _ACEOF
19700 rm -f conftest.$ac_objext conftest$ac_exeext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19702   (eval $ac_link) 2>conftest.er1
19703   ac_status=$?
19704   grep -v '^ *+' conftest.er1 >conftest.err
19705   rm -f conftest.er1
19706   cat conftest.err >&5
19707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708   (exit $ac_status); } &&
19709          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711   (eval $ac_try) 2>&5
19712   ac_status=$?
19713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714   (exit $ac_status); }; } &&
19715          { ac_try='test -s conftest$ac_exeext'
19716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717   (eval $ac_try) 2>&5
19718   ac_status=$?
19719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720   (exit $ac_status); }; }; then
19721   ac_cv_lib_m_erfl=yes
19722 else
19723   echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ac_cv_lib_m_erfl=no
19727 fi
19728 rm -f conftest.err conftest.$ac_objext \
19729       conftest$ac_exeext conftest.$ac_ext
19730 LIBS=$ac_check_lib_save_LIBS
19731 fi
19732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
19733 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
19734 if test $ac_cv_lib_m_erfl = yes; then
19735
19736 cat >>confdefs.h <<\_ACEOF
19737 #define HAVE_ERFL 1
19738 _ACEOF
19739
19740 fi
19741
19742 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
19743 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
19744 if test "${ac_cv_lib_m_erfcf+set}" = set; then
19745   echo $ECHO_N "(cached) $ECHO_C" >&6
19746 else
19747   ac_check_lib_save_LIBS=$LIBS
19748 LIBS="-lm  $LIBS"
19749 if test x$gcc_no_link = xyes; then
19750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19752    { (exit 1); exit 1; }; }
19753 fi
19754 cat >conftest.$ac_ext <<_ACEOF
19755 /* confdefs.h.  */
19756 _ACEOF
19757 cat confdefs.h >>conftest.$ac_ext
19758 cat >>conftest.$ac_ext <<_ACEOF
19759 /* end confdefs.h.  */
19760
19761 /* Override any gcc2 internal prototype to avoid an error.  */
19762 #ifdef __cplusplus
19763 extern "C"
19764 #endif
19765 /* We use char because int might match the return type of a gcc2
19766    builtin and then its argument prototype would still apply.  */
19767 char erfcf ();
19768 int
19769 main ()
19770 {
19771 erfcf ();
19772   ;
19773   return 0;
19774 }
19775 _ACEOF
19776 rm -f conftest.$ac_objext conftest$ac_exeext
19777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19778   (eval $ac_link) 2>conftest.er1
19779   ac_status=$?
19780   grep -v '^ *+' conftest.er1 >conftest.err
19781   rm -f conftest.er1
19782   cat conftest.err >&5
19783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784   (exit $ac_status); } &&
19785          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787   (eval $ac_try) 2>&5
19788   ac_status=$?
19789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790   (exit $ac_status); }; } &&
19791          { ac_try='test -s conftest$ac_exeext'
19792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19793   (eval $ac_try) 2>&5
19794   ac_status=$?
19795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796   (exit $ac_status); }; }; then
19797   ac_cv_lib_m_erfcf=yes
19798 else
19799   echo "$as_me: failed program was:" >&5
19800 sed 's/^/| /' conftest.$ac_ext >&5
19801
19802 ac_cv_lib_m_erfcf=no
19803 fi
19804 rm -f conftest.err conftest.$ac_objext \
19805       conftest$ac_exeext conftest.$ac_ext
19806 LIBS=$ac_check_lib_save_LIBS
19807 fi
19808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
19809 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
19810 if test $ac_cv_lib_m_erfcf = yes; then
19811
19812 cat >>confdefs.h <<\_ACEOF
19813 #define HAVE_ERFCF 1
19814 _ACEOF
19815
19816 fi
19817
19818 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
19819 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
19820 if test "${ac_cv_lib_m_erfc+set}" = set; then
19821   echo $ECHO_N "(cached) $ECHO_C" >&6
19822 else
19823   ac_check_lib_save_LIBS=$LIBS
19824 LIBS="-lm  $LIBS"
19825 if test x$gcc_no_link = xyes; then
19826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19828    { (exit 1); exit 1; }; }
19829 fi
19830 cat >conftest.$ac_ext <<_ACEOF
19831 /* confdefs.h.  */
19832 _ACEOF
19833 cat confdefs.h >>conftest.$ac_ext
19834 cat >>conftest.$ac_ext <<_ACEOF
19835 /* end confdefs.h.  */
19836
19837 /* Override any gcc2 internal prototype to avoid an error.  */
19838 #ifdef __cplusplus
19839 extern "C"
19840 #endif
19841 /* We use char because int might match the return type of a gcc2
19842    builtin and then its argument prototype would still apply.  */
19843 char erfc ();
19844 int
19845 main ()
19846 {
19847 erfc ();
19848   ;
19849   return 0;
19850 }
19851 _ACEOF
19852 rm -f conftest.$ac_objext conftest$ac_exeext
19853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19854   (eval $ac_link) 2>conftest.er1
19855   ac_status=$?
19856   grep -v '^ *+' conftest.er1 >conftest.err
19857   rm -f conftest.er1
19858   cat conftest.err >&5
19859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860   (exit $ac_status); } &&
19861          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863   (eval $ac_try) 2>&5
19864   ac_status=$?
19865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866   (exit $ac_status); }; } &&
19867          { ac_try='test -s conftest$ac_exeext'
19868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869   (eval $ac_try) 2>&5
19870   ac_status=$?
19871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872   (exit $ac_status); }; }; then
19873   ac_cv_lib_m_erfc=yes
19874 else
19875   echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19877
19878 ac_cv_lib_m_erfc=no
19879 fi
19880 rm -f conftest.err conftest.$ac_objext \
19881       conftest$ac_exeext conftest.$ac_ext
19882 LIBS=$ac_check_lib_save_LIBS
19883 fi
19884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
19885 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
19886 if test $ac_cv_lib_m_erfc = yes; then
19887
19888 cat >>confdefs.h <<\_ACEOF
19889 #define HAVE_ERFC 1
19890 _ACEOF
19891
19892 fi
19893
19894 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
19895 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
19896 if test "${ac_cv_lib_m_erfcl+set}" = set; then
19897   echo $ECHO_N "(cached) $ECHO_C" >&6
19898 else
19899   ac_check_lib_save_LIBS=$LIBS
19900 LIBS="-lm  $LIBS"
19901 if test x$gcc_no_link = xyes; then
19902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19904    { (exit 1); exit 1; }; }
19905 fi
19906 cat >conftest.$ac_ext <<_ACEOF
19907 /* confdefs.h.  */
19908 _ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h.  */
19912
19913 /* Override any gcc2 internal prototype to avoid an error.  */
19914 #ifdef __cplusplus
19915 extern "C"
19916 #endif
19917 /* We use char because int might match the return type of a gcc2
19918    builtin and then its argument prototype would still apply.  */
19919 char erfcl ();
19920 int
19921 main ()
19922 {
19923 erfcl ();
19924   ;
19925   return 0;
19926 }
19927 _ACEOF
19928 rm -f conftest.$ac_objext conftest$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930   (eval $ac_link) 2>conftest.er1
19931   ac_status=$?
19932   grep -v '^ *+' conftest.er1 >conftest.err
19933   rm -f conftest.er1
19934   cat conftest.err >&5
19935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936   (exit $ac_status); } &&
19937          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
19938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939   (eval $ac_try) 2>&5
19940   ac_status=$?
19941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942   (exit $ac_status); }; } &&
19943          { ac_try='test -s conftest$ac_exeext'
19944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945   (eval $ac_try) 2>&5
19946   ac_status=$?
19947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948   (exit $ac_status); }; }; then
19949   ac_cv_lib_m_erfcl=yes
19950 else
19951   echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.$ac_ext >&5
19953
19954 ac_cv_lib_m_erfcl=no
19955 fi
19956 rm -f conftest.err conftest.$ac_objext \
19957       conftest$ac_exeext conftest.$ac_ext
19958 LIBS=$ac_check_lib_save_LIBS
19959 fi
19960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
19961 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
19962 if test $ac_cv_lib_m_erfcl = yes; then
19963
19964 cat >>confdefs.h <<\_ACEOF
19965 #define HAVE_ERFCL 1
19966 _ACEOF
19967
19968 fi
19969
19970 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
19971 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
19972 if test "${ac_cv_lib_m_j0f+set}" = set; then
19973   echo $ECHO_N "(cached) $ECHO_C" >&6
19974 else
19975   ac_check_lib_save_LIBS=$LIBS
19976 LIBS="-lm  $LIBS"
19977 if test x$gcc_no_link = xyes; then
19978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19980    { (exit 1); exit 1; }; }
19981 fi
19982 cat >conftest.$ac_ext <<_ACEOF
19983 /* confdefs.h.  */
19984 _ACEOF
19985 cat confdefs.h >>conftest.$ac_ext
19986 cat >>conftest.$ac_ext <<_ACEOF
19987 /* end confdefs.h.  */
19988
19989 /* Override any gcc2 internal prototype to avoid an error.  */
19990 #ifdef __cplusplus
19991 extern "C"
19992 #endif
19993 /* We use char because int might match the return type of a gcc2
19994    builtin and then its argument prototype would still apply.  */
19995 char j0f ();
19996 int
19997 main ()
19998 {
19999 j0f ();
20000   ;
20001   return 0;
20002 }
20003 _ACEOF
20004 rm -f conftest.$ac_objext conftest$ac_exeext
20005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20006   (eval $ac_link) 2>conftest.er1
20007   ac_status=$?
20008   grep -v '^ *+' conftest.er1 >conftest.err
20009   rm -f conftest.er1
20010   cat conftest.err >&5
20011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012   (exit $ac_status); } &&
20013          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015   (eval $ac_try) 2>&5
20016   ac_status=$?
20017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018   (exit $ac_status); }; } &&
20019          { ac_try='test -s conftest$ac_exeext'
20020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021   (eval $ac_try) 2>&5
20022   ac_status=$?
20023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024   (exit $ac_status); }; }; then
20025   ac_cv_lib_m_j0f=yes
20026 else
20027   echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.$ac_ext >&5
20029
20030 ac_cv_lib_m_j0f=no
20031 fi
20032 rm -f conftest.err conftest.$ac_objext \
20033       conftest$ac_exeext conftest.$ac_ext
20034 LIBS=$ac_check_lib_save_LIBS
20035 fi
20036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20037 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20038 if test $ac_cv_lib_m_j0f = yes; then
20039
20040 cat >>confdefs.h <<\_ACEOF
20041 #define HAVE_J0F 1
20042 _ACEOF
20043
20044 fi
20045
20046 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20047 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20048 if test "${ac_cv_lib_m_j0+set}" = set; then
20049   echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20051   ac_check_lib_save_LIBS=$LIBS
20052 LIBS="-lm  $LIBS"
20053 if test x$gcc_no_link = xyes; then
20054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20056    { (exit 1); exit 1; }; }
20057 fi
20058 cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h.  */
20060 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h.  */
20064
20065 /* Override any gcc2 internal prototype to avoid an error.  */
20066 #ifdef __cplusplus
20067 extern "C"
20068 #endif
20069 /* We use char because int might match the return type of a gcc2
20070    builtin and then its argument prototype would still apply.  */
20071 char j0 ();
20072 int
20073 main ()
20074 {
20075 j0 ();
20076   ;
20077   return 0;
20078 }
20079 _ACEOF
20080 rm -f conftest.$ac_objext conftest$ac_exeext
20081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20082   (eval $ac_link) 2>conftest.er1
20083   ac_status=$?
20084   grep -v '^ *+' conftest.er1 >conftest.err
20085   rm -f conftest.er1
20086   cat conftest.err >&5
20087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088   (exit $ac_status); } &&
20089          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091   (eval $ac_try) 2>&5
20092   ac_status=$?
20093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094   (exit $ac_status); }; } &&
20095          { ac_try='test -s conftest$ac_exeext'
20096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097   (eval $ac_try) 2>&5
20098   ac_status=$?
20099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100   (exit $ac_status); }; }; then
20101   ac_cv_lib_m_j0=yes
20102 else
20103   echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20105
20106 ac_cv_lib_m_j0=no
20107 fi
20108 rm -f conftest.err conftest.$ac_objext \
20109       conftest$ac_exeext conftest.$ac_ext
20110 LIBS=$ac_check_lib_save_LIBS
20111 fi
20112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
20113 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
20114 if test $ac_cv_lib_m_j0 = yes; then
20115
20116 cat >>confdefs.h <<\_ACEOF
20117 #define HAVE_J0 1
20118 _ACEOF
20119
20120 fi
20121
20122 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
20123 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
20124 if test "${ac_cv_lib_m_j0l+set}" = set; then
20125   echo $ECHO_N "(cached) $ECHO_C" >&6
20126 else
20127   ac_check_lib_save_LIBS=$LIBS
20128 LIBS="-lm  $LIBS"
20129 if test x$gcc_no_link = xyes; then
20130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20132    { (exit 1); exit 1; }; }
20133 fi
20134 cat >conftest.$ac_ext <<_ACEOF
20135 /* confdefs.h.  */
20136 _ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h.  */
20140
20141 /* Override any gcc2 internal prototype to avoid an error.  */
20142 #ifdef __cplusplus
20143 extern "C"
20144 #endif
20145 /* We use char because int might match the return type of a gcc2
20146    builtin and then its argument prototype would still apply.  */
20147 char j0l ();
20148 int
20149 main ()
20150 {
20151 j0l ();
20152   ;
20153   return 0;
20154 }
20155 _ACEOF
20156 rm -f conftest.$ac_objext conftest$ac_exeext
20157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20158   (eval $ac_link) 2>conftest.er1
20159   ac_status=$?
20160   grep -v '^ *+' conftest.er1 >conftest.err
20161   rm -f conftest.er1
20162   cat conftest.err >&5
20163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164   (exit $ac_status); } &&
20165          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20167   (eval $ac_try) 2>&5
20168   ac_status=$?
20169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170   (exit $ac_status); }; } &&
20171          { ac_try='test -s conftest$ac_exeext'
20172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173   (eval $ac_try) 2>&5
20174   ac_status=$?
20175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176   (exit $ac_status); }; }; then
20177   ac_cv_lib_m_j0l=yes
20178 else
20179   echo "$as_me: failed program was:" >&5
20180 sed 's/^/| /' conftest.$ac_ext >&5
20181
20182 ac_cv_lib_m_j0l=no
20183 fi
20184 rm -f conftest.err conftest.$ac_objext \
20185       conftest$ac_exeext conftest.$ac_ext
20186 LIBS=$ac_check_lib_save_LIBS
20187 fi
20188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
20189 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
20190 if test $ac_cv_lib_m_j0l = yes; then
20191
20192 cat >>confdefs.h <<\_ACEOF
20193 #define HAVE_J0L 1
20194 _ACEOF
20195
20196 fi
20197
20198 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
20199 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
20200 if test "${ac_cv_lib_m_j1f+set}" = set; then
20201   echo $ECHO_N "(cached) $ECHO_C" >&6
20202 else
20203   ac_check_lib_save_LIBS=$LIBS
20204 LIBS="-lm  $LIBS"
20205 if test x$gcc_no_link = xyes; then
20206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20208    { (exit 1); exit 1; }; }
20209 fi
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h.  */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h.  */
20216
20217 /* Override any gcc2 internal prototype to avoid an error.  */
20218 #ifdef __cplusplus
20219 extern "C"
20220 #endif
20221 /* We use char because int might match the return type of a gcc2
20222    builtin and then its argument prototype would still apply.  */
20223 char j1f ();
20224 int
20225 main ()
20226 {
20227 j1f ();
20228   ;
20229   return 0;
20230 }
20231 _ACEOF
20232 rm -f conftest.$ac_objext conftest$ac_exeext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20234   (eval $ac_link) 2>conftest.er1
20235   ac_status=$?
20236   grep -v '^ *+' conftest.er1 >conftest.err
20237   rm -f conftest.er1
20238   cat conftest.err >&5
20239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240   (exit $ac_status); } &&
20241          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243   (eval $ac_try) 2>&5
20244   ac_status=$?
20245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246   (exit $ac_status); }; } &&
20247          { ac_try='test -s conftest$ac_exeext'
20248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20249   (eval $ac_try) 2>&5
20250   ac_status=$?
20251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252   (exit $ac_status); }; }; then
20253   ac_cv_lib_m_j1f=yes
20254 else
20255   echo "$as_me: failed program was:" >&5
20256 sed 's/^/| /' conftest.$ac_ext >&5
20257
20258 ac_cv_lib_m_j1f=no
20259 fi
20260 rm -f conftest.err conftest.$ac_objext \
20261       conftest$ac_exeext conftest.$ac_ext
20262 LIBS=$ac_check_lib_save_LIBS
20263 fi
20264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
20265 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
20266 if test $ac_cv_lib_m_j1f = yes; then
20267
20268 cat >>confdefs.h <<\_ACEOF
20269 #define HAVE_J1F 1
20270 _ACEOF
20271
20272 fi
20273
20274 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
20275 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
20276 if test "${ac_cv_lib_m_j1+set}" = set; then
20277   echo $ECHO_N "(cached) $ECHO_C" >&6
20278 else
20279   ac_check_lib_save_LIBS=$LIBS
20280 LIBS="-lm  $LIBS"
20281 if test x$gcc_no_link = xyes; then
20282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20284    { (exit 1); exit 1; }; }
20285 fi
20286 cat >conftest.$ac_ext <<_ACEOF
20287 /* confdefs.h.  */
20288 _ACEOF
20289 cat confdefs.h >>conftest.$ac_ext
20290 cat >>conftest.$ac_ext <<_ACEOF
20291 /* end confdefs.h.  */
20292
20293 /* Override any gcc2 internal prototype to avoid an error.  */
20294 #ifdef __cplusplus
20295 extern "C"
20296 #endif
20297 /* We use char because int might match the return type of a gcc2
20298    builtin and then its argument prototype would still apply.  */
20299 char j1 ();
20300 int
20301 main ()
20302 {
20303 j1 ();
20304   ;
20305   return 0;
20306 }
20307 _ACEOF
20308 rm -f conftest.$ac_objext conftest$ac_exeext
20309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20310   (eval $ac_link) 2>conftest.er1
20311   ac_status=$?
20312   grep -v '^ *+' conftest.er1 >conftest.err
20313   rm -f conftest.er1
20314   cat conftest.err >&5
20315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316   (exit $ac_status); } &&
20317          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319   (eval $ac_try) 2>&5
20320   ac_status=$?
20321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322   (exit $ac_status); }; } &&
20323          { ac_try='test -s conftest$ac_exeext'
20324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325   (eval $ac_try) 2>&5
20326   ac_status=$?
20327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328   (exit $ac_status); }; }; then
20329   ac_cv_lib_m_j1=yes
20330 else
20331   echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20333
20334 ac_cv_lib_m_j1=no
20335 fi
20336 rm -f conftest.err conftest.$ac_objext \
20337       conftest$ac_exeext conftest.$ac_ext
20338 LIBS=$ac_check_lib_save_LIBS
20339 fi
20340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
20341 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
20342 if test $ac_cv_lib_m_j1 = yes; then
20343
20344 cat >>confdefs.h <<\_ACEOF
20345 #define HAVE_J1 1
20346 _ACEOF
20347
20348 fi
20349
20350 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
20351 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
20352 if test "${ac_cv_lib_m_j1l+set}" = set; then
20353   echo $ECHO_N "(cached) $ECHO_C" >&6
20354 else
20355   ac_check_lib_save_LIBS=$LIBS
20356 LIBS="-lm  $LIBS"
20357 if test x$gcc_no_link = xyes; then
20358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20360    { (exit 1); exit 1; }; }
20361 fi
20362 cat >conftest.$ac_ext <<_ACEOF
20363 /* confdefs.h.  */
20364 _ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h.  */
20368
20369 /* Override any gcc2 internal prototype to avoid an error.  */
20370 #ifdef __cplusplus
20371 extern "C"
20372 #endif
20373 /* We use char because int might match the return type of a gcc2
20374    builtin and then its argument prototype would still apply.  */
20375 char j1l ();
20376 int
20377 main ()
20378 {
20379 j1l ();
20380   ;
20381   return 0;
20382 }
20383 _ACEOF
20384 rm -f conftest.$ac_objext conftest$ac_exeext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20386   (eval $ac_link) 2>conftest.er1
20387   ac_status=$?
20388   grep -v '^ *+' conftest.er1 >conftest.err
20389   rm -f conftest.er1
20390   cat conftest.err >&5
20391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392   (exit $ac_status); } &&
20393          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395   (eval $ac_try) 2>&5
20396   ac_status=$?
20397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398   (exit $ac_status); }; } &&
20399          { ac_try='test -s conftest$ac_exeext'
20400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401   (eval $ac_try) 2>&5
20402   ac_status=$?
20403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404   (exit $ac_status); }; }; then
20405   ac_cv_lib_m_j1l=yes
20406 else
20407   echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20409
20410 ac_cv_lib_m_j1l=no
20411 fi
20412 rm -f conftest.err conftest.$ac_objext \
20413       conftest$ac_exeext conftest.$ac_ext
20414 LIBS=$ac_check_lib_save_LIBS
20415 fi
20416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
20417 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
20418 if test $ac_cv_lib_m_j1l = yes; then
20419
20420 cat >>confdefs.h <<\_ACEOF
20421 #define HAVE_J1L 1
20422 _ACEOF
20423
20424 fi
20425
20426 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
20427 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
20428 if test "${ac_cv_lib_m_jnf+set}" = set; then
20429   echo $ECHO_N "(cached) $ECHO_C" >&6
20430 else
20431   ac_check_lib_save_LIBS=$LIBS
20432 LIBS="-lm  $LIBS"
20433 if test x$gcc_no_link = xyes; then
20434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20436    { (exit 1); exit 1; }; }
20437 fi
20438 cat >conftest.$ac_ext <<_ACEOF
20439 /* confdefs.h.  */
20440 _ACEOF
20441 cat confdefs.h >>conftest.$ac_ext
20442 cat >>conftest.$ac_ext <<_ACEOF
20443 /* end confdefs.h.  */
20444
20445 /* Override any gcc2 internal prototype to avoid an error.  */
20446 #ifdef __cplusplus
20447 extern "C"
20448 #endif
20449 /* We use char because int might match the return type of a gcc2
20450    builtin and then its argument prototype would still apply.  */
20451 char jnf ();
20452 int
20453 main ()
20454 {
20455 jnf ();
20456   ;
20457   return 0;
20458 }
20459 _ACEOF
20460 rm -f conftest.$ac_objext conftest$ac_exeext
20461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20462   (eval $ac_link) 2>conftest.er1
20463   ac_status=$?
20464   grep -v '^ *+' conftest.er1 >conftest.err
20465   rm -f conftest.er1
20466   cat conftest.err >&5
20467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468   (exit $ac_status); } &&
20469          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471   (eval $ac_try) 2>&5
20472   ac_status=$?
20473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474   (exit $ac_status); }; } &&
20475          { ac_try='test -s conftest$ac_exeext'
20476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477   (eval $ac_try) 2>&5
20478   ac_status=$?
20479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480   (exit $ac_status); }; }; then
20481   ac_cv_lib_m_jnf=yes
20482 else
20483   echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20485
20486 ac_cv_lib_m_jnf=no
20487 fi
20488 rm -f conftest.err conftest.$ac_objext \
20489       conftest$ac_exeext conftest.$ac_ext
20490 LIBS=$ac_check_lib_save_LIBS
20491 fi
20492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
20493 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
20494 if test $ac_cv_lib_m_jnf = yes; then
20495
20496 cat >>confdefs.h <<\_ACEOF
20497 #define HAVE_JNF 1
20498 _ACEOF
20499
20500 fi
20501
20502 echo "$as_me:$LINENO: checking for jn in -lm" >&5
20503 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
20504 if test "${ac_cv_lib_m_jn+set}" = set; then
20505   echo $ECHO_N "(cached) $ECHO_C" >&6
20506 else
20507   ac_check_lib_save_LIBS=$LIBS
20508 LIBS="-lm  $LIBS"
20509 if test x$gcc_no_link = xyes; then
20510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20512    { (exit 1); exit 1; }; }
20513 fi
20514 cat >conftest.$ac_ext <<_ACEOF
20515 /* confdefs.h.  */
20516 _ACEOF
20517 cat confdefs.h >>conftest.$ac_ext
20518 cat >>conftest.$ac_ext <<_ACEOF
20519 /* end confdefs.h.  */
20520
20521 /* Override any gcc2 internal prototype to avoid an error.  */
20522 #ifdef __cplusplus
20523 extern "C"
20524 #endif
20525 /* We use char because int might match the return type of a gcc2
20526    builtin and then its argument prototype would still apply.  */
20527 char jn ();
20528 int
20529 main ()
20530 {
20531 jn ();
20532   ;
20533   return 0;
20534 }
20535 _ACEOF
20536 rm -f conftest.$ac_objext conftest$ac_exeext
20537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20538   (eval $ac_link) 2>conftest.er1
20539   ac_status=$?
20540   grep -v '^ *+' conftest.er1 >conftest.err
20541   rm -f conftest.er1
20542   cat conftest.err >&5
20543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544   (exit $ac_status); } &&
20545          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547   (eval $ac_try) 2>&5
20548   ac_status=$?
20549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550   (exit $ac_status); }; } &&
20551          { ac_try='test -s conftest$ac_exeext'
20552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553   (eval $ac_try) 2>&5
20554   ac_status=$?
20555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556   (exit $ac_status); }; }; then
20557   ac_cv_lib_m_jn=yes
20558 else
20559   echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20561
20562 ac_cv_lib_m_jn=no
20563 fi
20564 rm -f conftest.err conftest.$ac_objext \
20565       conftest$ac_exeext conftest.$ac_ext
20566 LIBS=$ac_check_lib_save_LIBS
20567 fi
20568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
20569 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
20570 if test $ac_cv_lib_m_jn = yes; then
20571
20572 cat >>confdefs.h <<\_ACEOF
20573 #define HAVE_JN 1
20574 _ACEOF
20575
20576 fi
20577
20578 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
20579 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
20580 if test "${ac_cv_lib_m_jnl+set}" = set; then
20581   echo $ECHO_N "(cached) $ECHO_C" >&6
20582 else
20583   ac_check_lib_save_LIBS=$LIBS
20584 LIBS="-lm  $LIBS"
20585 if test x$gcc_no_link = xyes; then
20586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20588    { (exit 1); exit 1; }; }
20589 fi
20590 cat >conftest.$ac_ext <<_ACEOF
20591 /* confdefs.h.  */
20592 _ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h.  */
20596
20597 /* Override any gcc2 internal prototype to avoid an error.  */
20598 #ifdef __cplusplus
20599 extern "C"
20600 #endif
20601 /* We use char because int might match the return type of a gcc2
20602    builtin and then its argument prototype would still apply.  */
20603 char jnl ();
20604 int
20605 main ()
20606 {
20607 jnl ();
20608   ;
20609   return 0;
20610 }
20611 _ACEOF
20612 rm -f conftest.$ac_objext conftest$ac_exeext
20613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20614   (eval $ac_link) 2>conftest.er1
20615   ac_status=$?
20616   grep -v '^ *+' conftest.er1 >conftest.err
20617   rm -f conftest.er1
20618   cat conftest.err >&5
20619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620   (exit $ac_status); } &&
20621          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623   (eval $ac_try) 2>&5
20624   ac_status=$?
20625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626   (exit $ac_status); }; } &&
20627          { ac_try='test -s conftest$ac_exeext'
20628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629   (eval $ac_try) 2>&5
20630   ac_status=$?
20631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632   (exit $ac_status); }; }; then
20633   ac_cv_lib_m_jnl=yes
20634 else
20635   echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20637
20638 ac_cv_lib_m_jnl=no
20639 fi
20640 rm -f conftest.err conftest.$ac_objext \
20641       conftest$ac_exeext conftest.$ac_ext
20642 LIBS=$ac_check_lib_save_LIBS
20643 fi
20644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
20645 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
20646 if test $ac_cv_lib_m_jnl = yes; then
20647
20648 cat >>confdefs.h <<\_ACEOF
20649 #define HAVE_JNL 1
20650 _ACEOF
20651
20652 fi
20653
20654 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
20655 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
20656 if test "${ac_cv_lib_m_y0f+set}" = set; then
20657   echo $ECHO_N "(cached) $ECHO_C" >&6
20658 else
20659   ac_check_lib_save_LIBS=$LIBS
20660 LIBS="-lm  $LIBS"
20661 if test x$gcc_no_link = xyes; then
20662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20664    { (exit 1); exit 1; }; }
20665 fi
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h.  */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h.  */
20672
20673 /* Override any gcc2 internal prototype to avoid an error.  */
20674 #ifdef __cplusplus
20675 extern "C"
20676 #endif
20677 /* We use char because int might match the return type of a gcc2
20678    builtin and then its argument prototype would still apply.  */
20679 char y0f ();
20680 int
20681 main ()
20682 {
20683 y0f ();
20684   ;
20685   return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext conftest$ac_exeext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20690   (eval $ac_link) 2>conftest.er1
20691   ac_status=$?
20692   grep -v '^ *+' conftest.er1 >conftest.err
20693   rm -f conftest.er1
20694   cat conftest.err >&5
20695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696   (exit $ac_status); } &&
20697          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699   (eval $ac_try) 2>&5
20700   ac_status=$?
20701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702   (exit $ac_status); }; } &&
20703          { ac_try='test -s conftest$ac_exeext'
20704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705   (eval $ac_try) 2>&5
20706   ac_status=$?
20707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708   (exit $ac_status); }; }; then
20709   ac_cv_lib_m_y0f=yes
20710 else
20711   echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.$ac_ext >&5
20713
20714 ac_cv_lib_m_y0f=no
20715 fi
20716 rm -f conftest.err conftest.$ac_objext \
20717       conftest$ac_exeext conftest.$ac_ext
20718 LIBS=$ac_check_lib_save_LIBS
20719 fi
20720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
20721 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
20722 if test $ac_cv_lib_m_y0f = yes; then
20723
20724 cat >>confdefs.h <<\_ACEOF
20725 #define HAVE_Y0F 1
20726 _ACEOF
20727
20728 fi
20729
20730 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
20731 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
20732 if test "${ac_cv_lib_m_y0+set}" = set; then
20733   echo $ECHO_N "(cached) $ECHO_C" >&6
20734 else
20735   ac_check_lib_save_LIBS=$LIBS
20736 LIBS="-lm  $LIBS"
20737 if test x$gcc_no_link = xyes; then
20738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20740    { (exit 1); exit 1; }; }
20741 fi
20742 cat >conftest.$ac_ext <<_ACEOF
20743 /* confdefs.h.  */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h.  */
20748
20749 /* Override any gcc2 internal prototype to avoid an error.  */
20750 #ifdef __cplusplus
20751 extern "C"
20752 #endif
20753 /* We use char because int might match the return type of a gcc2
20754    builtin and then its argument prototype would still apply.  */
20755 char y0 ();
20756 int
20757 main ()
20758 {
20759 y0 ();
20760   ;
20761   return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext conftest$ac_exeext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20766   (eval $ac_link) 2>conftest.er1
20767   ac_status=$?
20768   grep -v '^ *+' conftest.er1 >conftest.err
20769   rm -f conftest.er1
20770   cat conftest.err >&5
20771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772   (exit $ac_status); } &&
20773          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775   (eval $ac_try) 2>&5
20776   ac_status=$?
20777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778   (exit $ac_status); }; } &&
20779          { ac_try='test -s conftest$ac_exeext'
20780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781   (eval $ac_try) 2>&5
20782   ac_status=$?
20783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784   (exit $ac_status); }; }; then
20785   ac_cv_lib_m_y0=yes
20786 else
20787   echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20789
20790 ac_cv_lib_m_y0=no
20791 fi
20792 rm -f conftest.err conftest.$ac_objext \
20793       conftest$ac_exeext conftest.$ac_ext
20794 LIBS=$ac_check_lib_save_LIBS
20795 fi
20796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
20797 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
20798 if test $ac_cv_lib_m_y0 = yes; then
20799
20800 cat >>confdefs.h <<\_ACEOF
20801 #define HAVE_Y0 1
20802 _ACEOF
20803
20804 fi
20805
20806 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
20807 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
20808 if test "${ac_cv_lib_m_y0l+set}" = set; then
20809   echo $ECHO_N "(cached) $ECHO_C" >&6
20810 else
20811   ac_check_lib_save_LIBS=$LIBS
20812 LIBS="-lm  $LIBS"
20813 if test x$gcc_no_link = xyes; then
20814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20816    { (exit 1); exit 1; }; }
20817 fi
20818 cat >conftest.$ac_ext <<_ACEOF
20819 /* confdefs.h.  */
20820 _ACEOF
20821 cat confdefs.h >>conftest.$ac_ext
20822 cat >>conftest.$ac_ext <<_ACEOF
20823 /* end confdefs.h.  */
20824
20825 /* Override any gcc2 internal prototype to avoid an error.  */
20826 #ifdef __cplusplus
20827 extern "C"
20828 #endif
20829 /* We use char because int might match the return type of a gcc2
20830    builtin and then its argument prototype would still apply.  */
20831 char y0l ();
20832 int
20833 main ()
20834 {
20835 y0l ();
20836   ;
20837   return 0;
20838 }
20839 _ACEOF
20840 rm -f conftest.$ac_objext conftest$ac_exeext
20841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20842   (eval $ac_link) 2>conftest.er1
20843   ac_status=$?
20844   grep -v '^ *+' conftest.er1 >conftest.err
20845   rm -f conftest.er1
20846   cat conftest.err >&5
20847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848   (exit $ac_status); } &&
20849          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20851   (eval $ac_try) 2>&5
20852   ac_status=$?
20853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854   (exit $ac_status); }; } &&
20855          { ac_try='test -s conftest$ac_exeext'
20856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857   (eval $ac_try) 2>&5
20858   ac_status=$?
20859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860   (exit $ac_status); }; }; then
20861   ac_cv_lib_m_y0l=yes
20862 else
20863   echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.$ac_ext >&5
20865
20866 ac_cv_lib_m_y0l=no
20867 fi
20868 rm -f conftest.err conftest.$ac_objext \
20869       conftest$ac_exeext conftest.$ac_ext
20870 LIBS=$ac_check_lib_save_LIBS
20871 fi
20872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
20873 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
20874 if test $ac_cv_lib_m_y0l = yes; then
20875
20876 cat >>confdefs.h <<\_ACEOF
20877 #define HAVE_Y0L 1
20878 _ACEOF
20879
20880 fi
20881
20882 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
20883 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
20884 if test "${ac_cv_lib_m_y1f+set}" = set; then
20885   echo $ECHO_N "(cached) $ECHO_C" >&6
20886 else
20887   ac_check_lib_save_LIBS=$LIBS
20888 LIBS="-lm  $LIBS"
20889 if test x$gcc_no_link = xyes; then
20890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20892    { (exit 1); exit 1; }; }
20893 fi
20894 cat >conftest.$ac_ext <<_ACEOF
20895 /* confdefs.h.  */
20896 _ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h.  */
20900
20901 /* Override any gcc2 internal prototype to avoid an error.  */
20902 #ifdef __cplusplus
20903 extern "C"
20904 #endif
20905 /* We use char because int might match the return type of a gcc2
20906    builtin and then its argument prototype would still apply.  */
20907 char y1f ();
20908 int
20909 main ()
20910 {
20911 y1f ();
20912   ;
20913   return 0;
20914 }
20915 _ACEOF
20916 rm -f conftest.$ac_objext conftest$ac_exeext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20918   (eval $ac_link) 2>conftest.er1
20919   ac_status=$?
20920   grep -v '^ *+' conftest.er1 >conftest.err
20921   rm -f conftest.er1
20922   cat conftest.err >&5
20923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924   (exit $ac_status); } &&
20925          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
20926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20927   (eval $ac_try) 2>&5
20928   ac_status=$?
20929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930   (exit $ac_status); }; } &&
20931          { ac_try='test -s conftest$ac_exeext'
20932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20933   (eval $ac_try) 2>&5
20934   ac_status=$?
20935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936   (exit $ac_status); }; }; then
20937   ac_cv_lib_m_y1f=yes
20938 else
20939   echo "$as_me: failed program was:" >&5
20940 sed 's/^/| /' conftest.$ac_ext >&5
20941
20942 ac_cv_lib_m_y1f=no
20943 fi
20944 rm -f conftest.err conftest.$ac_objext \
20945       conftest$ac_exeext conftest.$ac_ext
20946 LIBS=$ac_check_lib_save_LIBS
20947 fi
20948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
20949 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
20950 if test $ac_cv_lib_m_y1f = yes; then
20951
20952 cat >>confdefs.h <<\_ACEOF
20953 #define HAVE_Y1F 1
20954 _ACEOF
20955
20956 fi
20957
20958 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
20959 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
20960 if test "${ac_cv_lib_m_y1+set}" = set; then
20961   echo $ECHO_N "(cached) $ECHO_C" >&6
20962 else
20963   ac_check_lib_save_LIBS=$LIBS
20964 LIBS="-lm  $LIBS"
20965 if test x$gcc_no_link = xyes; then
20966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20968    { (exit 1); exit 1; }; }
20969 fi
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h.  */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h.  */
20976
20977 /* Override any gcc2 internal prototype to avoid an error.  */
20978 #ifdef __cplusplus
20979 extern "C"
20980 #endif
20981 /* We use char because int might match the return type of a gcc2
20982    builtin and then its argument prototype would still apply.  */
20983 char y1 ();
20984 int
20985 main ()
20986 {
20987 y1 ();
20988   ;
20989   return 0;
20990 }
20991 _ACEOF
20992 rm -f conftest.$ac_objext conftest$ac_exeext
20993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20994   (eval $ac_link) 2>conftest.er1
20995   ac_status=$?
20996   grep -v '^ *+' conftest.er1 >conftest.err
20997   rm -f conftest.er1
20998   cat conftest.err >&5
20999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000   (exit $ac_status); } &&
21001          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003   (eval $ac_try) 2>&5
21004   ac_status=$?
21005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006   (exit $ac_status); }; } &&
21007          { ac_try='test -s conftest$ac_exeext'
21008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21009   (eval $ac_try) 2>&5
21010   ac_status=$?
21011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012   (exit $ac_status); }; }; then
21013   ac_cv_lib_m_y1=yes
21014 else
21015   echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21017
21018 ac_cv_lib_m_y1=no
21019 fi
21020 rm -f conftest.err conftest.$ac_objext \
21021       conftest$ac_exeext conftest.$ac_ext
21022 LIBS=$ac_check_lib_save_LIBS
21023 fi
21024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21025 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21026 if test $ac_cv_lib_m_y1 = yes; then
21027
21028 cat >>confdefs.h <<\_ACEOF
21029 #define HAVE_Y1 1
21030 _ACEOF
21031
21032 fi
21033
21034 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21035 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21036 if test "${ac_cv_lib_m_y1l+set}" = set; then
21037   echo $ECHO_N "(cached) $ECHO_C" >&6
21038 else
21039   ac_check_lib_save_LIBS=$LIBS
21040 LIBS="-lm  $LIBS"
21041 if test x$gcc_no_link = xyes; then
21042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21044    { (exit 1); exit 1; }; }
21045 fi
21046 cat >conftest.$ac_ext <<_ACEOF
21047 /* confdefs.h.  */
21048 _ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h.  */
21052
21053 /* Override any gcc2 internal prototype to avoid an error.  */
21054 #ifdef __cplusplus
21055 extern "C"
21056 #endif
21057 /* We use char because int might match the return type of a gcc2
21058    builtin and then its argument prototype would still apply.  */
21059 char y1l ();
21060 int
21061 main ()
21062 {
21063 y1l ();
21064   ;
21065   return 0;
21066 }
21067 _ACEOF
21068 rm -f conftest.$ac_objext conftest$ac_exeext
21069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21070   (eval $ac_link) 2>conftest.er1
21071   ac_status=$?
21072   grep -v '^ *+' conftest.er1 >conftest.err
21073   rm -f conftest.er1
21074   cat conftest.err >&5
21075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076   (exit $ac_status); } &&
21077          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079   (eval $ac_try) 2>&5
21080   ac_status=$?
21081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082   (exit $ac_status); }; } &&
21083          { ac_try='test -s conftest$ac_exeext'
21084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085   (eval $ac_try) 2>&5
21086   ac_status=$?
21087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088   (exit $ac_status); }; }; then
21089   ac_cv_lib_m_y1l=yes
21090 else
21091   echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21093
21094 ac_cv_lib_m_y1l=no
21095 fi
21096 rm -f conftest.err conftest.$ac_objext \
21097       conftest$ac_exeext conftest.$ac_ext
21098 LIBS=$ac_check_lib_save_LIBS
21099 fi
21100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
21101 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
21102 if test $ac_cv_lib_m_y1l = yes; then
21103
21104 cat >>confdefs.h <<\_ACEOF
21105 #define HAVE_Y1L 1
21106 _ACEOF
21107
21108 fi
21109
21110 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
21111 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
21112 if test "${ac_cv_lib_m_ynf+set}" = set; then
21113   echo $ECHO_N "(cached) $ECHO_C" >&6
21114 else
21115   ac_check_lib_save_LIBS=$LIBS
21116 LIBS="-lm  $LIBS"
21117 if test x$gcc_no_link = xyes; then
21118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21120    { (exit 1); exit 1; }; }
21121 fi
21122 cat >conftest.$ac_ext <<_ACEOF
21123 /* confdefs.h.  */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h.  */
21128
21129 /* Override any gcc2 internal prototype to avoid an error.  */
21130 #ifdef __cplusplus
21131 extern "C"
21132 #endif
21133 /* We use char because int might match the return type of a gcc2
21134    builtin and then its argument prototype would still apply.  */
21135 char ynf ();
21136 int
21137 main ()
21138 {
21139 ynf ();
21140   ;
21141   return 0;
21142 }
21143 _ACEOF
21144 rm -f conftest.$ac_objext conftest$ac_exeext
21145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21146   (eval $ac_link) 2>conftest.er1
21147   ac_status=$?
21148   grep -v '^ *+' conftest.er1 >conftest.err
21149   rm -f conftest.er1
21150   cat conftest.err >&5
21151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152   (exit $ac_status); } &&
21153          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21155   (eval $ac_try) 2>&5
21156   ac_status=$?
21157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158   (exit $ac_status); }; } &&
21159          { ac_try='test -s conftest$ac_exeext'
21160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161   (eval $ac_try) 2>&5
21162   ac_status=$?
21163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164   (exit $ac_status); }; }; then
21165   ac_cv_lib_m_ynf=yes
21166 else
21167   echo "$as_me: failed program was:" >&5
21168 sed 's/^/| /' conftest.$ac_ext >&5
21169
21170 ac_cv_lib_m_ynf=no
21171 fi
21172 rm -f conftest.err conftest.$ac_objext \
21173       conftest$ac_exeext conftest.$ac_ext
21174 LIBS=$ac_check_lib_save_LIBS
21175 fi
21176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
21177 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
21178 if test $ac_cv_lib_m_ynf = yes; then
21179
21180 cat >>confdefs.h <<\_ACEOF
21181 #define HAVE_YNF 1
21182 _ACEOF
21183
21184 fi
21185
21186 echo "$as_me:$LINENO: checking for yn in -lm" >&5
21187 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
21188 if test "${ac_cv_lib_m_yn+set}" = set; then
21189   echo $ECHO_N "(cached) $ECHO_C" >&6
21190 else
21191   ac_check_lib_save_LIBS=$LIBS
21192 LIBS="-lm  $LIBS"
21193 if test x$gcc_no_link = xyes; then
21194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21196    { (exit 1); exit 1; }; }
21197 fi
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h.  */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h.  */
21204
21205 /* Override any gcc2 internal prototype to avoid an error.  */
21206 #ifdef __cplusplus
21207 extern "C"
21208 #endif
21209 /* We use char because int might match the return type of a gcc2
21210    builtin and then its argument prototype would still apply.  */
21211 char yn ();
21212 int
21213 main ()
21214 {
21215 yn ();
21216   ;
21217   return 0;
21218 }
21219 _ACEOF
21220 rm -f conftest.$ac_objext conftest$ac_exeext
21221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21222   (eval $ac_link) 2>conftest.er1
21223   ac_status=$?
21224   grep -v '^ *+' conftest.er1 >conftest.err
21225   rm -f conftest.er1
21226   cat conftest.err >&5
21227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228   (exit $ac_status); } &&
21229          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231   (eval $ac_try) 2>&5
21232   ac_status=$?
21233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234   (exit $ac_status); }; } &&
21235          { ac_try='test -s conftest$ac_exeext'
21236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21237   (eval $ac_try) 2>&5
21238   ac_status=$?
21239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240   (exit $ac_status); }; }; then
21241   ac_cv_lib_m_yn=yes
21242 else
21243   echo "$as_me: failed program was:" >&5
21244 sed 's/^/| /' conftest.$ac_ext >&5
21245
21246 ac_cv_lib_m_yn=no
21247 fi
21248 rm -f conftest.err conftest.$ac_objext \
21249       conftest$ac_exeext conftest.$ac_ext
21250 LIBS=$ac_check_lib_save_LIBS
21251 fi
21252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
21253 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
21254 if test $ac_cv_lib_m_yn = yes; then
21255
21256 cat >>confdefs.h <<\_ACEOF
21257 #define HAVE_YN 1
21258 _ACEOF
21259
21260 fi
21261
21262 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
21263 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
21264 if test "${ac_cv_lib_m_ynl+set}" = set; then
21265   echo $ECHO_N "(cached) $ECHO_C" >&6
21266 else
21267   ac_check_lib_save_LIBS=$LIBS
21268 LIBS="-lm  $LIBS"
21269 if test x$gcc_no_link = xyes; then
21270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21272    { (exit 1); exit 1; }; }
21273 fi
21274 cat >conftest.$ac_ext <<_ACEOF
21275 /* confdefs.h.  */
21276 _ACEOF
21277 cat confdefs.h >>conftest.$ac_ext
21278 cat >>conftest.$ac_ext <<_ACEOF
21279 /* end confdefs.h.  */
21280
21281 /* Override any gcc2 internal prototype to avoid an error.  */
21282 #ifdef __cplusplus
21283 extern "C"
21284 #endif
21285 /* We use char because int might match the return type of a gcc2
21286    builtin and then its argument prototype would still apply.  */
21287 char ynl ();
21288 int
21289 main ()
21290 {
21291 ynl ();
21292   ;
21293   return 0;
21294 }
21295 _ACEOF
21296 rm -f conftest.$ac_objext conftest$ac_exeext
21297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21298   (eval $ac_link) 2>conftest.er1
21299   ac_status=$?
21300   grep -v '^ *+' conftest.er1 >conftest.err
21301   rm -f conftest.er1
21302   cat conftest.err >&5
21303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304   (exit $ac_status); } &&
21305          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307   (eval $ac_try) 2>&5
21308   ac_status=$?
21309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310   (exit $ac_status); }; } &&
21311          { ac_try='test -s conftest$ac_exeext'
21312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313   (eval $ac_try) 2>&5
21314   ac_status=$?
21315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316   (exit $ac_status); }; }; then
21317   ac_cv_lib_m_ynl=yes
21318 else
21319   echo "$as_me: failed program was:" >&5
21320 sed 's/^/| /' conftest.$ac_ext >&5
21321
21322 ac_cv_lib_m_ynl=no
21323 fi
21324 rm -f conftest.err conftest.$ac_objext \
21325       conftest$ac_exeext conftest.$ac_ext
21326 LIBS=$ac_check_lib_save_LIBS
21327 fi
21328 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
21329 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
21330 if test $ac_cv_lib_m_ynl = yes; then
21331
21332 cat >>confdefs.h <<\_ACEOF
21333 #define HAVE_YNL 1
21334 _ACEOF
21335
21336 fi
21337
21338
21339 # On AIX, clog is present in libm as __clog
21340 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
21341 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
21342 if test "${ac_cv_lib_m___clog+set}" = set; then
21343   echo $ECHO_N "(cached) $ECHO_C" >&6
21344 else
21345   ac_check_lib_save_LIBS=$LIBS
21346 LIBS="-lm  $LIBS"
21347 if test x$gcc_no_link = xyes; then
21348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21350    { (exit 1); exit 1; }; }
21351 fi
21352 cat >conftest.$ac_ext <<_ACEOF
21353 /* confdefs.h.  */
21354 _ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h.  */
21358
21359 /* Override any gcc2 internal prototype to avoid an error.  */
21360 #ifdef __cplusplus
21361 extern "C"
21362 #endif
21363 /* We use char because int might match the return type of a gcc2
21364    builtin and then its argument prototype would still apply.  */
21365 char __clog ();
21366 int
21367 main ()
21368 {
21369 __clog ();
21370   ;
21371   return 0;
21372 }
21373 _ACEOF
21374 rm -f conftest.$ac_objext conftest$ac_exeext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21376   (eval $ac_link) 2>conftest.er1
21377   ac_status=$?
21378   grep -v '^ *+' conftest.er1 >conftest.err
21379   rm -f conftest.er1
21380   cat conftest.err >&5
21381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382   (exit $ac_status); } &&
21383          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385   (eval $ac_try) 2>&5
21386   ac_status=$?
21387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388   (exit $ac_status); }; } &&
21389          { ac_try='test -s conftest$ac_exeext'
21390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21391   (eval $ac_try) 2>&5
21392   ac_status=$?
21393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394   (exit $ac_status); }; }; then
21395   ac_cv_lib_m___clog=yes
21396 else
21397   echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.$ac_ext >&5
21399
21400 ac_cv_lib_m___clog=no
21401 fi
21402 rm -f conftest.err conftest.$ac_objext \
21403       conftest$ac_exeext conftest.$ac_ext
21404 LIBS=$ac_check_lib_save_LIBS
21405 fi
21406 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
21407 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
21408 if test $ac_cv_lib_m___clog = yes; then
21409
21410 cat >>confdefs.h <<\_ACEOF
21411 #define HAVE_CLOG 1
21412 _ACEOF
21413
21414 fi
21415
21416
21417 # Check for a isfinite macro that works on long doubles.
21418
21419   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
21420 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
21421 if test "${have_broken_isfinite+set}" = set; then
21422   echo $ECHO_N "(cached) $ECHO_C" >&6
21423 else
21424
21425   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
21426   LIBS="$LIBS -lm"
21427   if test "$cross_compiling" = yes; then
21428
21429 case "${target}" in
21430   hppa*-*-hpux*) have_broken_isfinite=yes ;;
21431   *) have_broken_isfinite=no ;;
21432 esac
21433 else
21434   cat >conftest.$ac_ext <<_ACEOF
21435 /* confdefs.h.  */
21436 _ACEOF
21437 cat confdefs.h >>conftest.$ac_ext
21438 cat >>conftest.$ac_ext <<_ACEOF
21439 /* end confdefs.h.  */
21440
21441 #ifdef HAVE_MATH_H
21442 #include <math.h>
21443 #endif
21444 #include <float.h>
21445 int main ()
21446 {
21447 #ifdef isfinite
21448 #ifdef LDBL_MAX
21449   if (!isfinite(LDBL_MAX)) return 1;
21450 #endif
21451 #ifdef DBL_MAX
21452   if (!isfinite(DBL_MAX)) return 1;
21453 #endif
21454 #endif
21455 return 0;
21456 }
21457 _ACEOF
21458 rm -f conftest$ac_exeext
21459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21460   (eval $ac_link) 2>&5
21461   ac_status=$?
21462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465   (eval $ac_try) 2>&5
21466   ac_status=$?
21467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468   (exit $ac_status); }; }; then
21469   have_broken_isfinite=no
21470 else
21471   echo "$as_me: program exited with status $ac_status" >&5
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 ( exit $ac_status )
21476 have_broken_isfinite=yes
21477 fi
21478 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21479 fi
21480   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
21481 fi
21482 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
21483 echo "${ECHO_T}$have_broken_isfinite" >&6
21484 if test x"$have_broken_isfinite" = xyes; then
21485
21486 cat >>confdefs.h <<\_ACEOF
21487 #define HAVE_BROKEN_ISFINITE 1
21488 _ACEOF
21489
21490 fi
21491
21492 # Check for a isnan macro that works on long doubles.
21493
21494   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
21495 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
21496 if test "${have_broken_isnan+set}" = set; then
21497   echo $ECHO_N "(cached) $ECHO_C" >&6
21498 else
21499
21500   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
21501   LIBS="$LIBS -lm"
21502   if test "$cross_compiling" = yes; then
21503
21504 case "${target}" in
21505   hppa*-*-hpux*) have_broken_isnan=yes ;;
21506   *) have_broken_isnan=no ;;
21507 esac
21508 else
21509   cat >conftest.$ac_ext <<_ACEOF
21510 /* confdefs.h.  */
21511 _ACEOF
21512 cat confdefs.h >>conftest.$ac_ext
21513 cat >>conftest.$ac_ext <<_ACEOF
21514 /* end confdefs.h.  */
21515
21516 #ifdef HAVE_MATH_H
21517 #include <math.h>
21518 #endif
21519 #include <float.h>
21520 int main ()
21521 {
21522 #ifdef isnan
21523 #ifdef LDBL_MAX
21524   {
21525     long double x;
21526     x = __builtin_nanl ("");
21527     if (!isnan(x)) return 1;
21528     if (isnan(LDBL_MAX)) return 1;
21529 #ifdef NAN
21530     x = (long double) NAN;
21531     if (!isnan(x)) return 1;
21532 #endif
21533   }
21534 #endif
21535 #ifdef DBL_MAX
21536   {
21537     double y;
21538     y = __builtin_nan ("");
21539     if (!isnan(y)) return 1;
21540     if (isnan(DBL_MAX)) return 1;
21541 #ifdef NAN
21542     y = (double) NAN;
21543     if (!isnan(y)) return 1;
21544 #endif
21545   }
21546 #endif
21547 #endif
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest$ac_exeext
21552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21553   (eval $ac_link) 2>&5
21554   ac_status=$?
21555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558   (eval $ac_try) 2>&5
21559   ac_status=$?
21560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561   (exit $ac_status); }; }; then
21562   have_broken_isnan=no
21563 else
21564   echo "$as_me: program exited with status $ac_status" >&5
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21567
21568 ( exit $ac_status )
21569 have_broken_isnan=yes
21570 fi
21571 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21572 fi
21573   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
21574 fi
21575 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
21576 echo "${ECHO_T}$have_broken_isnan" >&6
21577 if test x"$have_broken_isnan" = xyes; then
21578
21579 cat >>confdefs.h <<\_ACEOF
21580 #define HAVE_BROKEN_ISNAN 1
21581 _ACEOF
21582
21583 fi
21584
21585 # Check for a fpclassify macro that works on long doubles.
21586
21587   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
21588 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
21589 if test "${have_broken_fpclassify+set}" = set; then
21590   echo $ECHO_N "(cached) $ECHO_C" >&6
21591 else
21592
21593   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
21594   LIBS="$LIBS -lm"
21595   if test "$cross_compiling" = yes; then
21596
21597 case "${target}" in
21598   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
21599   *) have_broken_fpclassify=no ;;
21600 esac
21601 else
21602   cat >conftest.$ac_ext <<_ACEOF
21603 /* confdefs.h.  */
21604 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h.  */
21608
21609 #ifdef HAVE_MATH_H
21610 #include <math.h>
21611 #endif
21612 #include <float.h>
21613 int main ()
21614 {
21615 #ifdef fpclassify
21616 #ifdef LDBL_MAX
21617         if (fpclassify(LDBL_MAX) == FP_NAN
21618             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
21619 #endif
21620 #ifdef DBL_MAX
21621         if (fpclassify(DBL_MAX) == FP_NAN
21622             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
21623 #endif
21624 #endif
21625 return 0;
21626 }
21627 _ACEOF
21628 rm -f conftest$ac_exeext
21629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21630   (eval $ac_link) 2>&5
21631   ac_status=$?
21632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635   (eval $ac_try) 2>&5
21636   ac_status=$?
21637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638   (exit $ac_status); }; }; then
21639   have_broken_fpclassify=no
21640 else
21641   echo "$as_me: program exited with status $ac_status" >&5
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21644
21645 ( exit $ac_status )
21646 have_broken_fpclassify=yes
21647 fi
21648 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21649 fi
21650   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
21651 fi
21652 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
21653 echo "${ECHO_T}$have_broken_fpclassify" >&6
21654 if test x"$have_broken_fpclassify" = xyes; then
21655
21656 cat >>confdefs.h <<\_ACEOF
21657 #define HAVE_BROKEN_FPCLASSIFY 1
21658 _ACEOF
21659
21660 fi
21661
21662 # Check whether the system has a working stat()
21663
21664   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
21665 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
21666 if test "${have_working_stat+set}" = set; then
21667   echo $ECHO_N "(cached) $ECHO_C" >&6
21668 else
21669
21670   if test "$cross_compiling" = yes; then
21671
21672 case "${target}" in
21673   *mingw*) have_working_stat=no ;;
21674   *) have_working_stat=yes;;
21675 esac
21676 else
21677   cat >conftest.$ac_ext <<_ACEOF
21678 /* confdefs.h.  */
21679 _ACEOF
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h.  */
21683
21684 #include <stdio.h>
21685 #include <sys/types.h>
21686 #include <sys/stat.h>
21687 #include <unistd.h>
21688
21689 int main ()
21690 {
21691   FILE *f, *g;
21692   struct stat st1, st2;
21693
21694   f = fopen ("foo", "w");
21695   g = fopen ("bar", "w");
21696   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
21697     return 1;
21698   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
21699     return 1;
21700   fclose(f);
21701   fclose(g);
21702   return 0;
21703 }
21704 _ACEOF
21705 rm -f conftest$ac_exeext
21706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21707   (eval $ac_link) 2>&5
21708   ac_status=$?
21709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21712   (eval $ac_try) 2>&5
21713   ac_status=$?
21714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715   (exit $ac_status); }; }; then
21716   have_working_stat=yes
21717 else
21718   echo "$as_me: program exited with status $ac_status" >&5
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.$ac_ext >&5
21721
21722 ( exit $ac_status )
21723 have_working_stat=no
21724 fi
21725 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21726 fi
21727 fi
21728 echo "$as_me:$LINENO: result: $have_working_stat" >&5
21729 echo "${ECHO_T}$have_working_stat" >&6
21730 if test x"$have_working_stat" = xyes; then
21731
21732 cat >>confdefs.h <<\_ACEOF
21733 #define HAVE_WORKING_STAT 1
21734 _ACEOF
21735
21736 fi
21737
21738 # Fallback in case isfinite is not available.
21739 echo "$as_me:$LINENO: checking for finite in -lm" >&5
21740 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
21741 if test "${ac_cv_lib_m_finite+set}" = set; then
21742   echo $ECHO_N "(cached) $ECHO_C" >&6
21743 else
21744   ac_check_lib_save_LIBS=$LIBS
21745 LIBS="-lm  $LIBS"
21746 if test x$gcc_no_link = xyes; then
21747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21749    { (exit 1); exit 1; }; }
21750 fi
21751 cat >conftest.$ac_ext <<_ACEOF
21752 /* confdefs.h.  */
21753 _ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h.  */
21757
21758 /* Override any gcc2 internal prototype to avoid an error.  */
21759 #ifdef __cplusplus
21760 extern "C"
21761 #endif
21762 /* We use char because int might match the return type of a gcc2
21763    builtin and then its argument prototype would still apply.  */
21764 char finite ();
21765 int
21766 main ()
21767 {
21768 finite ();
21769   ;
21770   return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext conftest$ac_exeext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21775   (eval $ac_link) 2>conftest.er1
21776   ac_status=$?
21777   grep -v '^ *+' conftest.er1 >conftest.err
21778   rm -f conftest.er1
21779   cat conftest.err >&5
21780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781   (exit $ac_status); } &&
21782          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784   (eval $ac_try) 2>&5
21785   ac_status=$?
21786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787   (exit $ac_status); }; } &&
21788          { ac_try='test -s conftest$ac_exeext'
21789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790   (eval $ac_try) 2>&5
21791   ac_status=$?
21792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793   (exit $ac_status); }; }; then
21794   ac_cv_lib_m_finite=yes
21795 else
21796   echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 ac_cv_lib_m_finite=no
21800 fi
21801 rm -f conftest.err conftest.$ac_objext \
21802       conftest$ac_exeext conftest.$ac_ext
21803 LIBS=$ac_check_lib_save_LIBS
21804 fi
21805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
21806 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
21807 if test $ac_cv_lib_m_finite = yes; then
21808
21809 cat >>confdefs.h <<\_ACEOF
21810 #define HAVE_FINITE 1
21811 _ACEOF
21812
21813 fi
21814
21815
21816 # Check for GNU libc feenableexcept
21817 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
21818 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
21819 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
21820   echo $ECHO_N "(cached) $ECHO_C" >&6
21821 else
21822   ac_check_lib_save_LIBS=$LIBS
21823 LIBS="-lm  $LIBS"
21824 if test x$gcc_no_link = xyes; then
21825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21827    { (exit 1); exit 1; }; }
21828 fi
21829 cat >conftest.$ac_ext <<_ACEOF
21830 /* confdefs.h.  */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h.  */
21835
21836 /* Override any gcc2 internal prototype to avoid an error.  */
21837 #ifdef __cplusplus
21838 extern "C"
21839 #endif
21840 /* We use char because int might match the return type of a gcc2
21841    builtin and then its argument prototype would still apply.  */
21842 char feenableexcept ();
21843 int
21844 main ()
21845 {
21846 feenableexcept ();
21847   ;
21848   return 0;
21849 }
21850 _ACEOF
21851 rm -f conftest.$ac_objext conftest$ac_exeext
21852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21853   (eval $ac_link) 2>conftest.er1
21854   ac_status=$?
21855   grep -v '^ *+' conftest.er1 >conftest.err
21856   rm -f conftest.er1
21857   cat conftest.err >&5
21858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859   (exit $ac_status); } &&
21860          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862   (eval $ac_try) 2>&5
21863   ac_status=$?
21864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865   (exit $ac_status); }; } &&
21866          { ac_try='test -s conftest$ac_exeext'
21867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868   (eval $ac_try) 2>&5
21869   ac_status=$?
21870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871   (exit $ac_status); }; }; then
21872   ac_cv_lib_m_feenableexcept=yes
21873 else
21874   echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 ac_cv_lib_m_feenableexcept=no
21878 fi
21879 rm -f conftest.err conftest.$ac_objext \
21880       conftest$ac_exeext conftest.$ac_ext
21881 LIBS=$ac_check_lib_save_LIBS
21882 fi
21883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
21884 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
21885 if test $ac_cv_lib_m_feenableexcept = yes; then
21886   have_feenableexcept=yes
21887 cat >>confdefs.h <<\_ACEOF
21888 #define HAVE_FEENABLEEXCEPT 1
21889 _ACEOF
21890
21891 fi
21892
21893
21894 # Check for SysV fpsetmask
21895
21896   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
21897 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
21898 if test "${have_fpsetmask+set}" = set; then
21899   echo $ECHO_N "(cached) $ECHO_C" >&6
21900 else
21901
21902     if test x$gcc_no_link = xyes; then
21903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21905    { (exit 1); exit 1; }; }
21906 fi
21907 cat >conftest.$ac_ext <<_ACEOF
21908 /* confdefs.h.  */
21909 _ACEOF
21910 cat confdefs.h >>conftest.$ac_ext
21911 cat >>conftest.$ac_ext <<_ACEOF
21912 /* end confdefs.h.  */
21913
21914 #if HAVE_FLOATINGPOINT_H
21915 # include <floatingpoint.h>
21916 #endif /* HAVE_FLOATINGPOINT_H */
21917 #if HAVE_IEEEFP_H
21918 # include <ieeefp.h>
21919 #endif /* HAVE_IEEEFP_H */
21920 int
21921 main ()
21922 {
21923 fpsetmask(0);
21924   ;
21925   return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext conftest$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930   (eval $ac_link) 2>conftest.er1
21931   ac_status=$?
21932   grep -v '^ *+' conftest.er1 >conftest.err
21933   rm -f conftest.er1
21934   cat conftest.err >&5
21935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936   (exit $ac_status); } &&
21937          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
21938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939   (eval $ac_try) 2>&5
21940   ac_status=$?
21941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942   (exit $ac_status); }; } &&
21943          { ac_try='test -s conftest$ac_exeext'
21944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945   (eval $ac_try) 2>&5
21946   ac_status=$?
21947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948   (exit $ac_status); }; }; then
21949   eval "have_fpsetmask=yes"
21950 else
21951   echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21953
21954 eval "have_fpsetmask=no"
21955 fi
21956 rm -f conftest.err conftest.$ac_objext \
21957       conftest$ac_exeext conftest.$ac_ext
21958
21959 fi
21960 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
21961 echo "${ECHO_T}$have_fpsetmask" >&6
21962   if test x"$have_fpsetmask" = xyes; then
21963
21964 cat >>confdefs.h <<\_ACEOF
21965 #define HAVE_FPSETMASK 1
21966 _ACEOF
21967
21968   fi
21969
21970
21971 # Check for AIX fp_trap and fp_enable
21972 echo "$as_me:$LINENO: checking for fp_trap" >&5
21973 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
21974 if test "${ac_cv_func_fp_trap+set}" = set; then
21975   echo $ECHO_N "(cached) $ECHO_C" >&6
21976 else
21977   if test x$gcc_no_link = xyes; then
21978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21980    { (exit 1); exit 1; }; }
21981 fi
21982 cat >conftest.$ac_ext <<_ACEOF
21983 /* confdefs.h.  */
21984 _ACEOF
21985 cat confdefs.h >>conftest.$ac_ext
21986 cat >>conftest.$ac_ext <<_ACEOF
21987 /* end confdefs.h.  */
21988 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
21989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21990 #define fp_trap innocuous_fp_trap
21991
21992 /* System header to define __stub macros and hopefully few prototypes,
21993     which can conflict with char fp_trap (); below.
21994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21995     <limits.h> exists even on freestanding compilers.  */
21996
21997 #ifdef __STDC__
21998 # include <limits.h>
21999 #else
22000 # include <assert.h>
22001 #endif
22002
22003 #undef fp_trap
22004
22005 /* Override any gcc2 internal prototype to avoid an error.  */
22006 #ifdef __cplusplus
22007 extern "C"
22008 {
22009 #endif
22010 /* We use char because int might match the return type of a gcc2
22011    builtin and then its argument prototype would still apply.  */
22012 char fp_trap ();
22013 /* The GNU C library defines this for functions which it implements
22014     to always fail with ENOSYS.  Some functions are actually named
22015     something starting with __ and the normal name is an alias.  */
22016 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22017 choke me
22018 #else
22019 char (*f) () = fp_trap;
22020 #endif
22021 #ifdef __cplusplus
22022 }
22023 #endif
22024
22025 int
22026 main ()
22027 {
22028 return f != fp_trap;
22029   ;
22030   return 0;
22031 }
22032 _ACEOF
22033 rm -f conftest.$ac_objext conftest$ac_exeext
22034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22035   (eval $ac_link) 2>conftest.er1
22036   ac_status=$?
22037   grep -v '^ *+' conftest.er1 >conftest.err
22038   rm -f conftest.er1
22039   cat conftest.err >&5
22040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041   (exit $ac_status); } &&
22042          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22044   (eval $ac_try) 2>&5
22045   ac_status=$?
22046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047   (exit $ac_status); }; } &&
22048          { ac_try='test -s conftest$ac_exeext'
22049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050   (eval $ac_try) 2>&5
22051   ac_status=$?
22052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053   (exit $ac_status); }; }; then
22054   ac_cv_func_fp_trap=yes
22055 else
22056   echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_cv_func_fp_trap=no
22060 fi
22061 rm -f conftest.err conftest.$ac_objext \
22062       conftest$ac_exeext conftest.$ac_ext
22063 fi
22064 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
22065 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
22066 if test $ac_cv_func_fp_trap = yes; then
22067   have_fp_trap=yes
22068 cat >>confdefs.h <<\_ACEOF
22069 #define HAVE_FP_TRAP 1
22070 _ACEOF
22071
22072 fi
22073
22074 echo "$as_me:$LINENO: checking for fp_enable" >&5
22075 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
22076 if test "${ac_cv_func_fp_enable+set}" = set; then
22077   echo $ECHO_N "(cached) $ECHO_C" >&6
22078 else
22079   if test x$gcc_no_link = xyes; then
22080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22082    { (exit 1); exit 1; }; }
22083 fi
22084 cat >conftest.$ac_ext <<_ACEOF
22085 /* confdefs.h.  */
22086 _ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h.  */
22090 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
22091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22092 #define fp_enable innocuous_fp_enable
22093
22094 /* System header to define __stub macros and hopefully few prototypes,
22095     which can conflict with char fp_enable (); below.
22096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22097     <limits.h> exists even on freestanding compilers.  */
22098
22099 #ifdef __STDC__
22100 # include <limits.h>
22101 #else
22102 # include <assert.h>
22103 #endif
22104
22105 #undef fp_enable
22106
22107 /* Override any gcc2 internal prototype to avoid an error.  */
22108 #ifdef __cplusplus
22109 extern "C"
22110 {
22111 #endif
22112 /* We use char because int might match the return type of a gcc2
22113    builtin and then its argument prototype would still apply.  */
22114 char fp_enable ();
22115 /* The GNU C library defines this for functions which it implements
22116     to always fail with ENOSYS.  Some functions are actually named
22117     something starting with __ and the normal name is an alias.  */
22118 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
22119 choke me
22120 #else
22121 char (*f) () = fp_enable;
22122 #endif
22123 #ifdef __cplusplus
22124 }
22125 #endif
22126
22127 int
22128 main ()
22129 {
22130 return f != fp_enable;
22131   ;
22132   return 0;
22133 }
22134 _ACEOF
22135 rm -f conftest.$ac_objext conftest$ac_exeext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22137   (eval $ac_link) 2>conftest.er1
22138   ac_status=$?
22139   grep -v '^ *+' conftest.er1 >conftest.err
22140   rm -f conftest.er1
22141   cat conftest.err >&5
22142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143   (exit $ac_status); } &&
22144          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146   (eval $ac_try) 2>&5
22147   ac_status=$?
22148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149   (exit $ac_status); }; } &&
22150          { ac_try='test -s conftest$ac_exeext'
22151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22152   (eval $ac_try) 2>&5
22153   ac_status=$?
22154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155   (exit $ac_status); }; }; then
22156   ac_cv_func_fp_enable=yes
22157 else
22158   echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22160
22161 ac_cv_func_fp_enable=no
22162 fi
22163 rm -f conftest.err conftest.$ac_objext \
22164       conftest$ac_exeext conftest.$ac_ext
22165 fi
22166 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
22167 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
22168 if test $ac_cv_func_fp_enable = yes; then
22169   have_fp_enable=yes
22170 cat >>confdefs.h <<\_ACEOF
22171 #define HAVE_FP_ENABLE 1
22172 _ACEOF
22173
22174 fi
22175
22176
22177 # Runs configure.host to set up necessary host-dependent shell variables.
22178 # We then display a message about it, and propagate them through the
22179 # build chain.
22180 . ${srcdir}/configure.host
22181 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
22182 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
22183 FPU_HOST_HEADER=config/${fpu_host}.h
22184
22185
22186 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
22187 # for struct timezone, as you might think.  We also need to check how
22188 # to call gettimeofday if we have it.
22189 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22190 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22191 if test "${ac_cv_header_time+set}" = set; then
22192   echo $ECHO_N "(cached) $ECHO_C" >&6
22193 else
22194   cat >conftest.$ac_ext <<_ACEOF
22195 /* confdefs.h.  */
22196 _ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h.  */
22200 #include <sys/types.h>
22201 #include <sys/time.h>
22202 #include <time.h>
22203
22204 int
22205 main ()
22206 {
22207 if ((struct tm *) 0)
22208 return 0;
22209   ;
22210   return 0;
22211 }
22212 _ACEOF
22213 rm -f conftest.$ac_objext
22214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22215   (eval $ac_compile) 2>conftest.er1
22216   ac_status=$?
22217   grep -v '^ *+' conftest.er1 >conftest.err
22218   rm -f conftest.er1
22219   cat conftest.err >&5
22220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221   (exit $ac_status); } &&
22222          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224   (eval $ac_try) 2>&5
22225   ac_status=$?
22226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227   (exit $ac_status); }; } &&
22228          { ac_try='test -s conftest.$ac_objext'
22229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230   (eval $ac_try) 2>&5
22231   ac_status=$?
22232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233   (exit $ac_status); }; }; then
22234   ac_cv_header_time=yes
22235 else
22236   echo "$as_me: failed program was:" >&5
22237 sed 's/^/| /' conftest.$ac_ext >&5
22238
22239 ac_cv_header_time=no
22240 fi
22241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22242 fi
22243 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22244 echo "${ECHO_T}$ac_cv_header_time" >&6
22245 if test $ac_cv_header_time = yes; then
22246
22247 cat >>confdefs.h <<\_ACEOF
22248 #define TIME_WITH_SYS_TIME 1
22249 _ACEOF
22250
22251 fi
22252
22253
22254
22255 for ac_func in gettimeofday
22256 do
22257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22258 echo "$as_me:$LINENO: checking for $ac_func" >&5
22259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22260 if eval "test \"\${$as_ac_var+set}\" = set"; then
22261   echo $ECHO_N "(cached) $ECHO_C" >&6
22262 else
22263   if test x$gcc_no_link = xyes; then
22264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22266    { (exit 1); exit 1; }; }
22267 fi
22268 cat >conftest.$ac_ext <<_ACEOF
22269 /* confdefs.h.  */
22270 _ACEOF
22271 cat confdefs.h >>conftest.$ac_ext
22272 cat >>conftest.$ac_ext <<_ACEOF
22273 /* end confdefs.h.  */
22274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22276 #define $ac_func innocuous_$ac_func
22277
22278 /* System header to define __stub macros and hopefully few prototypes,
22279     which can conflict with char $ac_func (); below.
22280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22281     <limits.h> exists even on freestanding compilers.  */
22282
22283 #ifdef __STDC__
22284 # include <limits.h>
22285 #else
22286 # include <assert.h>
22287 #endif
22288
22289 #undef $ac_func
22290
22291 /* Override any gcc2 internal prototype to avoid an error.  */
22292 #ifdef __cplusplus
22293 extern "C"
22294 {
22295 #endif
22296 /* We use char because int might match the return type of a gcc2
22297    builtin and then its argument prototype would still apply.  */
22298 char $ac_func ();
22299 /* The GNU C library defines this for functions which it implements
22300     to always fail with ENOSYS.  Some functions are actually named
22301     something starting with __ and the normal name is an alias.  */
22302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22303 choke me
22304 #else
22305 char (*f) () = $ac_func;
22306 #endif
22307 #ifdef __cplusplus
22308 }
22309 #endif
22310
22311 int
22312 main ()
22313 {
22314 return f != $ac_func;
22315   ;
22316   return 0;
22317 }
22318 _ACEOF
22319 rm -f conftest.$ac_objext conftest$ac_exeext
22320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22321   (eval $ac_link) 2>conftest.er1
22322   ac_status=$?
22323   grep -v '^ *+' conftest.er1 >conftest.err
22324   rm -f conftest.er1
22325   cat conftest.err >&5
22326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327   (exit $ac_status); } &&
22328          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22330   (eval $ac_try) 2>&5
22331   ac_status=$?
22332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333   (exit $ac_status); }; } &&
22334          { ac_try='test -s conftest$ac_exeext'
22335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22336   (eval $ac_try) 2>&5
22337   ac_status=$?
22338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339   (exit $ac_status); }; }; then
22340   eval "$as_ac_var=yes"
22341 else
22342   echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22344
22345 eval "$as_ac_var=no"
22346 fi
22347 rm -f conftest.err conftest.$ac_objext \
22348       conftest$ac_exeext conftest.$ac_ext
22349 fi
22350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22352 if test `eval echo '${'$as_ac_var'}'` = yes; then
22353   cat >>confdefs.h <<_ACEOF
22354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22355 _ACEOF
22356
22357 fi
22358 done
22359
22360   if test "$ac_cv_func_gettimeofday" = yes; then
22361     echo "$as_me:$LINENO: checking for struct timezone" >&5
22362 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
22363 if test "${gfor_cv_struct_timezone+set}" = set; then
22364   echo $ECHO_N "(cached) $ECHO_C" >&6
22365 else
22366   cat >conftest.$ac_ext <<_ACEOF
22367 /* confdefs.h.  */
22368 _ACEOF
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h.  */
22372 #include <sys/time.h>
22373 int
22374 main ()
22375 {
22376 struct timezone tz;
22377   ;
22378   return 0;
22379 }
22380 _ACEOF
22381 rm -f conftest.$ac_objext
22382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22383   (eval $ac_compile) 2>conftest.er1
22384   ac_status=$?
22385   grep -v '^ *+' conftest.er1 >conftest.err
22386   rm -f conftest.er1
22387   cat conftest.err >&5
22388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389   (exit $ac_status); } &&
22390          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392   (eval $ac_try) 2>&5
22393   ac_status=$?
22394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395   (exit $ac_status); }; } &&
22396          { ac_try='test -s conftest.$ac_objext'
22397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398   (eval $ac_try) 2>&5
22399   ac_status=$?
22400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401   (exit $ac_status); }; }; then
22402   gfor_cv_struct_timezone=yes
22403 else
22404   echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22406
22407 gfor_cv_struct_timezone=no
22408 fi
22409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22410 fi
22411 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
22412 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
22413     if test $gfor_cv_struct_timezone = yes; then
22414                   if test "$cross_compiling" = yes; then
22415   gfor_have_struct_timezone=yes
22416 else
22417   cat >conftest.$ac_ext <<_ACEOF
22418 /* confdefs.h.  */
22419 _ACEOF
22420 cat confdefs.h >>conftest.$ac_ext
22421 cat >>conftest.$ac_ext <<_ACEOF
22422 /* end confdefs.h.  */
22423
22424 #ifdef TIME_WITH_SYS_TIME
22425 #include <sys/time.h>
22426 #include <time.h>
22427 #else
22428 #ifdef HAVE_SYS_TIME_H
22429 #include <sys/time.h>
22430 #else
22431 #include <time.h>
22432 #endif
22433 #endif
22434 main ()
22435 {
22436   struct timeval time;
22437   struct timezone dummy;
22438   if (gettimeofday (&time, &dummy))
22439     exit (1);
22440   else
22441     exit (0);
22442 }
22443 _ACEOF
22444 rm -f conftest$ac_exeext
22445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22446   (eval $ac_link) 2>&5
22447   ac_status=$?
22448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22451   (eval $ac_try) 2>&5
22452   ac_status=$?
22453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454   (exit $ac_status); }; }; then
22455   gfor_have_struct_timezone=yes
22456 else
22457   echo "$as_me: program exited with status $ac_status" >&5
22458 echo "$as_me: failed program was:" >&5
22459 sed 's/^/| /' conftest.$ac_ext >&5
22460
22461 ( exit $ac_status )
22462 gfor_have_struct_timezone=no
22463 fi
22464 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22465 fi
22466       if test $gfor_have_struct_timezone = yes; then
22467
22468 cat >>confdefs.h <<\_ACEOF
22469 #define HAVE_TIMEZONE 1
22470 _ACEOF
22471
22472       fi
22473     fi
22474
22475     echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
22476 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
22477 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
22478   echo $ECHO_N "(cached) $ECHO_C" >&6
22479 else
22480   if test x$gcc_no_link = xyes; then
22481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22483    { (exit 1); exit 1; }; }
22484 fi
22485 cat >conftest.$ac_ext <<_ACEOF
22486 /* confdefs.h.  */
22487 _ACEOF
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h.  */
22491
22492 #ifdef TIME_WITH_SYS_TIME
22493 #include <sys/time.h>
22494 #include <time.h>
22495 #else
22496 #ifdef HAVE_SYS_TIME_H
22497 #include <sys/time.h>
22498 #else
22499 #include <time.h>
22500 #endif
22501 #endif
22502
22503 int
22504 main ()
22505 {
22506
22507       struct timeval time;
22508 #ifdef HAVE_TIMEZONE
22509       struct timezone dummy;
22510 #define DUMMY &dummy
22511 #else
22512 #define DUMMY NULL
22513 #endif
22514       gettimeofday (&time, DUMMY);
22515   ;
22516   return 0;
22517 }
22518 _ACEOF
22519 rm -f conftest.$ac_objext conftest$ac_exeext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22521   (eval $ac_link) 2>conftest.er1
22522   ac_status=$?
22523   grep -v '^ *+' conftest.er1 >conftest.err
22524   rm -f conftest.er1
22525   cat conftest.err >&5
22526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527   (exit $ac_status); } &&
22528          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530   (eval $ac_try) 2>&5
22531   ac_status=$?
22532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533   (exit $ac_status); }; } &&
22534          { ac_try='test -s conftest$ac_exeext'
22535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536   (eval $ac_try) 2>&5
22537   ac_status=$?
22538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539   (exit $ac_status); }; }; then
22540   emacs_cv_gettimeofday_two_arguments=yes
22541 else
22542   echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.$ac_ext >&5
22544
22545 emacs_cv_gettimeofday_two_arguments=no
22546 fi
22547 rm -f conftest.err conftest.$ac_objext \
22548       conftest$ac_exeext conftest.$ac_ext
22549 fi
22550 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
22551 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
22552     if test $emacs_cv_gettimeofday_two_arguments = no; then
22553
22554 cat >>confdefs.h <<\_ACEOF
22555 #define GETTIMEOFDAY_ONE_ARGUMENT 1
22556 _ACEOF
22557
22558     fi
22559   fi
22560
22561 # Attempt to assert that the target is of common type in case we don't
22562 # have C99 integer types at all.
22563
22564   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
22565 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
22566 if test "${target_ilp32+set}" = set; then
22567   echo $ECHO_N "(cached) $ECHO_C" >&6
22568 else
22569
22570   save_CFLAGS="$CFLAGS"
22571   CFLAGS="-O2"
22572   if test x$gcc_no_link = xyes; then
22573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22575    { (exit 1); exit 1; }; }
22576 fi
22577 cat >conftest.$ac_ext <<_ACEOF
22578 /* confdefs.h.  */
22579 _ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h.  */
22583
22584 int
22585 main ()
22586 {
22587
22588 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
22589   ;
22590 else
22591   undefined_function ();
22592
22593   ;
22594   return 0;
22595 }
22596 _ACEOF
22597 rm -f conftest.$ac_objext conftest$ac_exeext
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599   (eval $ac_link) 2>conftest.er1
22600   ac_status=$?
22601   grep -v '^ *+' conftest.er1 >conftest.err
22602   rm -f conftest.er1
22603   cat conftest.err >&5
22604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605   (exit $ac_status); } &&
22606          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608   (eval $ac_try) 2>&5
22609   ac_status=$?
22610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611   (exit $ac_status); }; } &&
22612          { ac_try='test -s conftest$ac_exeext'
22613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614   (eval $ac_try) 2>&5
22615   ac_status=$?
22616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617   (exit $ac_status); }; }; then
22618   target_ilp32=yes
22619 else
22620   echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.$ac_ext >&5
22622
22623 target_ilp32=no
22624 fi
22625 rm -f conftest.err conftest.$ac_objext \
22626       conftest$ac_exeext conftest.$ac_ext
22627   CFLAGS="$save_CFLAGS"
22628 fi
22629 echo "$as_me:$LINENO: result: $target_ilp32" >&5
22630 echo "${ECHO_T}$target_ilp32" >&6
22631   if test $target_ilp32 = yes; then
22632
22633 cat >>confdefs.h <<\_ACEOF
22634 #define TARGET_ILP32 1
22635 _ACEOF
22636
22637   fi
22638
22639
22640 # Check out attribute support.
22641
22642   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
22643 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
22644 if test "${have_attribute_visibility+set}" = set; then
22645   echo $ECHO_N "(cached) $ECHO_C" >&6
22646 else
22647
22648   save_CFLAGS="$CFLAGS"
22649   CFLAGS="$CFLAGS -Werror"
22650   cat >conftest.$ac_ext <<_ACEOF
22651 /* confdefs.h.  */
22652 _ACEOF
22653 cat confdefs.h >>conftest.$ac_ext
22654 cat >>conftest.$ac_ext <<_ACEOF
22655 /* end confdefs.h.  */
22656 void __attribute__((visibility("hidden"))) foo(void) { }
22657 int
22658 main ()
22659 {
22660
22661   ;
22662   return 0;
22663 }
22664 _ACEOF
22665 rm -f conftest.$ac_objext
22666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22667   (eval $ac_compile) 2>conftest.er1
22668   ac_status=$?
22669   grep -v '^ *+' conftest.er1 >conftest.err
22670   rm -f conftest.er1
22671   cat conftest.err >&5
22672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673   (exit $ac_status); } &&
22674          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676   (eval $ac_try) 2>&5
22677   ac_status=$?
22678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679   (exit $ac_status); }; } &&
22680          { ac_try='test -s conftest.$ac_objext'
22681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682   (eval $ac_try) 2>&5
22683   ac_status=$?
22684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685   (exit $ac_status); }; }; then
22686   have_attribute_visibility=yes
22687 else
22688   echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.$ac_ext >&5
22690
22691 have_attribute_visibility=no
22692 fi
22693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22694   CFLAGS="$save_CFLAGS"
22695 fi
22696 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
22697 echo "${ECHO_T}$have_attribute_visibility" >&6
22698   if test $have_attribute_visibility = yes; then
22699
22700 cat >>confdefs.h <<\_ACEOF
22701 #define HAVE_ATTRIBUTE_VISIBILITY 1
22702 _ACEOF
22703
22704   fi
22705
22706   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
22707 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
22708 if test "${have_attribute_dllexport+set}" = set; then
22709   echo $ECHO_N "(cached) $ECHO_C" >&6
22710 else
22711
22712   save_CFLAGS="$CFLAGS"
22713   CFLAGS="$CFLAGS -Werror"
22714   cat >conftest.$ac_ext <<_ACEOF
22715 /* confdefs.h.  */
22716 _ACEOF
22717 cat confdefs.h >>conftest.$ac_ext
22718 cat >>conftest.$ac_ext <<_ACEOF
22719 /* end confdefs.h.  */
22720 void __attribute__((dllexport)) foo(void) { }
22721 int
22722 main ()
22723 {
22724
22725   ;
22726   return 0;
22727 }
22728 _ACEOF
22729 rm -f conftest.$ac_objext
22730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22731   (eval $ac_compile) 2>conftest.er1
22732   ac_status=$?
22733   grep -v '^ *+' conftest.er1 >conftest.err
22734   rm -f conftest.er1
22735   cat conftest.err >&5
22736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737   (exit $ac_status); } &&
22738          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740   (eval $ac_try) 2>&5
22741   ac_status=$?
22742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743   (exit $ac_status); }; } &&
22744          { ac_try='test -s conftest.$ac_objext'
22745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22746   (eval $ac_try) 2>&5
22747   ac_status=$?
22748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749   (exit $ac_status); }; }; then
22750   have_attribute_dllexport=yes
22751 else
22752   echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 have_attribute_dllexport=no
22756 fi
22757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22758   CFLAGS="$save_CFLAGS"
22759 fi
22760 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
22761 echo "${ECHO_T}$have_attribute_dllexport" >&6
22762   if test $have_attribute_dllexport = yes; then
22763
22764 cat >>confdefs.h <<\_ACEOF
22765 #define HAVE_ATTRIBUTE_DLLEXPORT 1
22766 _ACEOF
22767
22768   fi
22769
22770   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
22771 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
22772 if test "${have_attribute_alias+set}" = set; then
22773   echo $ECHO_N "(cached) $ECHO_C" >&6
22774 else
22775
22776   if test x$gcc_no_link = xyes; then
22777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22779    { (exit 1); exit 1; }; }
22780 fi
22781 cat >conftest.$ac_ext <<_ACEOF
22782 /* confdefs.h.  */
22783 _ACEOF
22784 cat confdefs.h >>conftest.$ac_ext
22785 cat >>conftest.$ac_ext <<_ACEOF
22786 /* end confdefs.h.  */
22787
22788 #define ULP     STR1(__USER_LABEL_PREFIX__)
22789 #define STR1(x) STR2(x)
22790 #define STR2(x) #x
22791 void foo(void) { }
22792 extern void bar(void) __attribute__((alias(ULP "foo")));
22793 int
22794 main ()
22795 {
22796 bar();
22797   ;
22798   return 0;
22799 }
22800 _ACEOF
22801 rm -f conftest.$ac_objext conftest$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803   (eval $ac_link) 2>conftest.er1
22804   ac_status=$?
22805   grep -v '^ *+' conftest.er1 >conftest.err
22806   rm -f conftest.er1
22807   cat conftest.err >&5
22808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809   (exit $ac_status); } &&
22810          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22812   (eval $ac_try) 2>&5
22813   ac_status=$?
22814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22815   (exit $ac_status); }; } &&
22816          { ac_try='test -s conftest$ac_exeext'
22817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22818   (eval $ac_try) 2>&5
22819   ac_status=$?
22820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821   (exit $ac_status); }; }; then
22822   have_attribute_alias=yes
22823 else
22824   echo "$as_me: failed program was:" >&5
22825 sed 's/^/| /' conftest.$ac_ext >&5
22826
22827 have_attribute_alias=no
22828 fi
22829 rm -f conftest.err conftest.$ac_objext \
22830       conftest$ac_exeext conftest.$ac_ext
22831 fi
22832 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
22833 echo "${ECHO_T}$have_attribute_alias" >&6
22834   if test $have_attribute_alias = yes; then
22835
22836 cat >>confdefs.h <<\_ACEOF
22837 #define HAVE_ATTRIBUTE_ALIAS 1
22838 _ACEOF
22839
22840   fi
22841
22842 # Check out sync builtins support.
22843
22844   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
22845 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
22846 if test "${have_sync_fetch_and_add+set}" = set; then
22847   echo $ECHO_N "(cached) $ECHO_C" >&6
22848 else
22849
22850   if test x$gcc_no_link = xyes; then
22851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22853    { (exit 1); exit 1; }; }
22854 fi
22855 cat >conftest.$ac_ext <<_ACEOF
22856 /* confdefs.h.  */
22857 _ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h.  */
22861 int foovar = 0;
22862 int
22863 main ()
22864 {
22865
22866 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
22867 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
22868   ;
22869   return 0;
22870 }
22871 _ACEOF
22872 rm -f conftest.$ac_objext conftest$ac_exeext
22873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22874   (eval $ac_link) 2>conftest.er1
22875   ac_status=$?
22876   grep -v '^ *+' conftest.er1 >conftest.err
22877   rm -f conftest.er1
22878   cat conftest.err >&5
22879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880   (exit $ac_status); } &&
22881          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22883   (eval $ac_try) 2>&5
22884   ac_status=$?
22885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886   (exit $ac_status); }; } &&
22887          { ac_try='test -s conftest$ac_exeext'
22888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22889   (eval $ac_try) 2>&5
22890   ac_status=$?
22891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892   (exit $ac_status); }; }; then
22893   have_sync_fetch_and_add=yes
22894 else
22895   echo "$as_me: failed program was:" >&5
22896 sed 's/^/| /' conftest.$ac_ext >&5
22897
22898 have_sync_fetch_and_add=no
22899 fi
22900 rm -f conftest.err conftest.$ac_objext \
22901       conftest$ac_exeext conftest.$ac_ext
22902 fi
22903 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
22904 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
22905   if test $have_sync_fetch_and_add = yes; then
22906
22907 cat >>confdefs.h <<\_ACEOF
22908 #define HAVE_SYNC_FETCH_AND_ADD 1
22909 _ACEOF
22910
22911   fi
22912
22913 # Check out thread support.
22914
22915   echo "$as_me:$LINENO: checking configured target thread model" >&5
22916 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
22917 if test "${target_thread_file+set}" = set; then
22918   echo $ECHO_N "(cached) $ECHO_C" >&6
22919 else
22920
22921 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
22922 fi
22923 echo "$as_me:$LINENO: result: $target_thread_file" >&5
22924 echo "${ECHO_T}$target_thread_file" >&6
22925
22926   if test $target_thread_file != single; then
22927
22928 cat >>confdefs.h <<\_ACEOF
22929 #define HAVE_GTHR_DEFAULT 1
22930 _ACEOF
22931
22932   fi
22933
22934 # Check out #pragma weak.
22935
22936   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
22937 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
22938 if test "${have_pragma_weak+set}" = set; then
22939   echo $ECHO_N "(cached) $ECHO_C" >&6
22940 else
22941
22942   gfor_save_CFLAGS="$CFLAGS"
22943   CFLAGS="$CFLAGS -Wunknown-pragmas"
22944   cat >conftest.$ac_ext <<_ACEOF
22945 /* confdefs.h.  */
22946 _ACEOF
22947 cat confdefs.h >>conftest.$ac_ext
22948 cat >>conftest.$ac_ext <<_ACEOF
22949 /* end confdefs.h.  */
22950 void foo (void);
22951 #pragma weak foo
22952 int
22953 main ()
22954 {
22955 if (foo) foo ();
22956   ;
22957   return 0;
22958 }
22959 _ACEOF
22960 rm -f conftest.$ac_objext
22961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22962   (eval $ac_compile) 2>conftest.er1
22963   ac_status=$?
22964   grep -v '^ *+' conftest.er1 >conftest.err
22965   rm -f conftest.er1
22966   cat conftest.err >&5
22967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968   (exit $ac_status); } &&
22969          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
22970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22971   (eval $ac_try) 2>&5
22972   ac_status=$?
22973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974   (exit $ac_status); }; } &&
22975          { ac_try='test -s conftest.$ac_objext'
22976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977   (eval $ac_try) 2>&5
22978   ac_status=$?
22979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980   (exit $ac_status); }; }; then
22981   have_pragma_weak=yes
22982 else
22983   echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 have_pragma_weak=no
22987 fi
22988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22989 fi
22990 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
22991 echo "${ECHO_T}$have_pragma_weak" >&6
22992   if test $have_pragma_weak = yes; then
22993
22994 cat >>confdefs.h <<\_ACEOF
22995 #define SUPPORTS_WEAK 1
22996 _ACEOF
22997
22998   fi
22999   case "$host" in
23000     *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23001
23002 cat >>confdefs.h <<\_ACEOF
23003 #define GTHREAD_USE_WEAK 0
23004 _ACEOF
23005
23006       ;;
23007   esac
23008
23009 # Various other checks on target
23010
23011   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23012 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23013 if test "${have_unlink_open_file+set}" = set; then
23014   echo $ECHO_N "(cached) $ECHO_C" >&6
23015 else
23016
23017   if test "$cross_compiling" = yes; then
23018
23019 case "${target}" in
23020   *mingw*) have_unlink_open_file=no ;;
23021   *) have_unlink_open_file=yes;;
23022 esac
23023 else
23024   cat >conftest.$ac_ext <<_ACEOF
23025 /* confdefs.h.  */
23026 _ACEOF
23027 cat confdefs.h >>conftest.$ac_ext
23028 cat >>conftest.$ac_ext <<_ACEOF
23029 /* end confdefs.h.  */
23030
23031 #include <errno.h>
23032 #include <fcntl.h>
23033 #include <unistd.h>
23034 #include <sys/stat.h>
23035
23036 int main ()
23037 {
23038   int fd;
23039
23040   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23041   if (fd <= 0)
23042     return 0;
23043   if (unlink ("testfile") == -1)
23044     return 1;
23045   write (fd, "This is a test\n", 15);
23046   close (fd);
23047
23048   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23049     return 0;
23050   else
23051     return 1;
23052 }
23053 _ACEOF
23054 rm -f conftest$ac_exeext
23055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23056   (eval $ac_link) 2>&5
23057   ac_status=$?
23058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23061   (eval $ac_try) 2>&5
23062   ac_status=$?
23063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064   (exit $ac_status); }; }; then
23065   have_unlink_open_file=yes
23066 else
23067   echo "$as_me: program exited with status $ac_status" >&5
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.$ac_ext >&5
23070
23071 ( exit $ac_status )
23072 have_unlink_open_file=no
23073 fi
23074 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23075 fi
23076 fi
23077 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23078 echo "${ECHO_T}$have_unlink_open_file" >&6
23079 if test x"$have_unlink_open_file" = xyes; then
23080
23081 cat >>confdefs.h <<\_ACEOF
23082 #define HAVE_UNLINK_OPEN_FILE 1
23083 _ACEOF
23084
23085 fi
23086
23087 # Check whether line terminator is LF or CRLF
23088
23089   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23090 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23091 if test "${have_crlf+set}" = set; then
23092   echo $ECHO_N "(cached) $ECHO_C" >&6
23093 else
23094
23095   if test "$cross_compiling" = yes; then
23096
23097 case "${target}" in
23098   *mingw*) have_crlf=yes ;;
23099   *) have_crlf=no;;
23100 esac
23101 else
23102   cat >conftest.$ac_ext <<_ACEOF
23103 /* confdefs.h.  */
23104 _ACEOF
23105 cat confdefs.h >>conftest.$ac_ext
23106 cat >>conftest.$ac_ext <<_ACEOF
23107 /* end confdefs.h.  */
23108
23109 /* This test program should exit with status 0 if system uses a CRLF as
23110    line terminator, and status 1 otherwise.
23111    Since it is used to check for mingw systems, and should return 0 in any
23112    other case, in case of a failure we will not use CRLF.  */
23113 #include <sys/stat.h>
23114 #include <stdlib.h>
23115 #include <fcntl.h>
23116 #include <stdio.h>
23117
23118 int main ()
23119 {
23120 #ifndef O_BINARY
23121   exit(1);
23122 #else
23123   int fd, bytes;
23124   char buff[5];
23125
23126   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23127   if (fd < 0)
23128     exit(1);
23129   if (write (fd, "\n", 1) < 0)
23130     perror ("write");
23131
23132   close (fd);
23133
23134   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23135     exit(1);
23136   bytes = read (fd, buff, 5);
23137   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23138     exit(0);
23139   else
23140     exit(1);
23141 #endif
23142 }
23143 _ACEOF
23144 rm -f conftest$ac_exeext
23145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23146   (eval $ac_link) 2>&5
23147   ac_status=$?
23148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151   (eval $ac_try) 2>&5
23152   ac_status=$?
23153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154   (exit $ac_status); }; }; then
23155   have_crlf=yes
23156 else
23157   echo "$as_me: program exited with status $ac_status" >&5
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23160
23161 ( exit $ac_status )
23162 have_crlf=no
23163 fi
23164 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23165 fi
23166 fi
23167 echo "$as_me:$LINENO: result: $have_crlf" >&5
23168 echo "${ECHO_T}$have_crlf" >&6
23169 if test x"$have_crlf" = xyes; then
23170
23171 cat >>confdefs.h <<\_ACEOF
23172 #define HAVE_CRLF 1
23173 _ACEOF
23174
23175 fi
23176
23177 cat >confcache <<\_ACEOF
23178 # This file is a shell script that caches the results of configure
23179 # tests run on this system so they can be shared between configure
23180 # scripts and configure runs, see configure's option --config-cache.
23181 # It is not useful on other systems.  If it contains results you don't
23182 # want to keep, you may remove or edit it.
23183 #
23184 # config.status only pays attention to the cache file if you give it
23185 # the --recheck option to rerun configure.
23186 #
23187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23189 # following values.
23190
23191 _ACEOF
23192
23193 # The following way of writing the cache mishandles newlines in values,
23194 # but we know of no workaround that is simple, portable, and efficient.
23195 # So, don't put newlines in cache variables' values.
23196 # Ultrix sh set writes to stderr and can't be redirected directly,
23197 # and sets the high bit in the cache file unless we assign to the vars.
23198 {
23199   (set) 2>&1 |
23200     case `(ac_space=' '; set | grep ac_space) 2>&1` in
23201     *ac_space=\ *)
23202       # `set' does not quote correctly, so add quotes (double-quote
23203       # substitution turns \\\\ into \\, and sed turns \\ into \).
23204       sed -n \
23205         "s/'/'\\\\''/g;
23206           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23207       ;;
23208     *)
23209       # `set' quotes correctly as required by POSIX, so do not add quotes.
23210       sed -n \
23211         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23212       ;;
23213     esac;
23214 } |
23215   sed '
23216      t clear
23217      : clear
23218      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23219      t end
23220      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23221      : end' >>confcache
23222 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23223   if test -w $cache_file; then
23224     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23225     cat confcache >$cache_file
23226   else
23227     echo "not updating unwritable cache $cache_file"
23228   fi
23229 fi
23230 rm -f confcache
23231
23232 if test ${multilib} = yes; then
23233   multilib_arg="--enable-multilib"
23234 else
23235   multilib_arg=
23236 fi
23237
23238 # Write our Makefile.
23239           ac_config_files="$ac_config_files Makefile"
23240
23241 cat >confcache <<\_ACEOF
23242 # This file is a shell script that caches the results of configure
23243 # tests run on this system so they can be shared between configure
23244 # scripts and configure runs, see configure's option --config-cache.
23245 # It is not useful on other systems.  If it contains results you don't
23246 # want to keep, you may remove or edit it.
23247 #
23248 # config.status only pays attention to the cache file if you give it
23249 # the --recheck option to rerun configure.
23250 #
23251 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23252 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23253 # following values.
23254
23255 _ACEOF
23256
23257 # The following way of writing the cache mishandles newlines in values,
23258 # but we know of no workaround that is simple, portable, and efficient.
23259 # So, don't put newlines in cache variables' values.
23260 # Ultrix sh set writes to stderr and can't be redirected directly,
23261 # and sets the high bit in the cache file unless we assign to the vars.
23262 {
23263   (set) 2>&1 |
23264     case `(ac_space=' '; set | grep ac_space) 2>&1` in
23265     *ac_space=\ *)
23266       # `set' does not quote correctly, so add quotes (double-quote
23267       # substitution turns \\\\ into \\, and sed turns \\ into \).
23268       sed -n \
23269         "s/'/'\\\\''/g;
23270           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23271       ;;
23272     *)
23273       # `set' quotes correctly as required by POSIX, so do not add quotes.
23274       sed -n \
23275         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23276       ;;
23277     esac;
23278 } |
23279   sed '
23280      t clear
23281      : clear
23282      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23283      t end
23284      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23285      : end' >>confcache
23286 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23287   if test -w $cache_file; then
23288     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23289     cat confcache >$cache_file
23290   else
23291     echo "not updating unwritable cache $cache_file"
23292   fi
23293 fi
23294 rm -f confcache
23295
23296 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23297 # Let make expand exec_prefix.
23298 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23299
23300 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23301 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23302 # trailing colons and then remove the whole line if VPATH becomes empty
23303 # (actually we leave an empty line to preserve line numbers).
23304 if test "x$srcdir" = x.; then
23305   ac_vpsub='/^[  ]*VPATH[        ]*=/{
23306 s/:*\$(srcdir):*/:/;
23307 s/:*\${srcdir}:*/:/;
23308 s/:*@srcdir@:*/:/;
23309 s/^\([^=]*=[     ]*\):*/\1/;
23310 s/:*$//;
23311 s/^[^=]*=[       ]*$//;
23312 }'
23313 fi
23314
23315 DEFS=-DHAVE_CONFIG_H
23316
23317 ac_libobjs=
23318 ac_ltlibobjs=
23319 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23320   # 1. Remove the extension, and $U if already installed.
23321   ac_i=`echo "$ac_i" |
23322          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23323   # 2. Add them.
23324   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23325   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23326 done
23327 LIBOBJS=$ac_libobjs
23328
23329 LTLIBOBJS=$ac_ltlibobjs
23330
23331
23332 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23333   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23334 Usually this means the macro was only invoked conditionally." >&5
23335 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23336 Usually this means the macro was only invoked conditionally." >&2;}
23337    { (exit 1); exit 1; }; }
23338 fi
23339
23340 : ${CONFIG_STATUS=./config.status}
23341 ac_clean_files_save=$ac_clean_files
23342 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23343 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23344 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23345 cat >$CONFIG_STATUS <<_ACEOF
23346 #! $SHELL
23347 # Generated by $as_me.
23348 # Run this file to recreate the current configuration.
23349 # Compiler output produced by configure, useful for debugging
23350 # configure, is in config.log if it exists.
23351
23352 debug=false
23353 ac_cs_recheck=false
23354 ac_cs_silent=false
23355 SHELL=\${CONFIG_SHELL-$SHELL}
23356 _ACEOF
23357
23358 cat >>$CONFIG_STATUS <<\_ACEOF
23359 ## --------------------- ##
23360 ## M4sh Initialization.  ##
23361 ## --------------------- ##
23362
23363 # Be Bourne compatible
23364 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23365   emulate sh
23366   NULLCMD=:
23367   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23368   # is contrary to our usage.  Disable this feature.
23369   alias -g '${1+"$@"}'='"$@"'
23370 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23371   set -o posix
23372 fi
23373 DUALCASE=1; export DUALCASE # for MKS sh
23374
23375 # Support unset when possible.
23376 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23377   as_unset=unset
23378 else
23379   as_unset=false
23380 fi
23381
23382
23383 # Work around bugs in pre-3.0 UWIN ksh.
23384 $as_unset ENV MAIL MAILPATH
23385 PS1='$ '
23386 PS2='> '
23387 PS4='+ '
23388
23389 # NLS nuisances.
23390 for as_var in \
23391   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23392   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23393   LC_TELEPHONE LC_TIME
23394 do
23395   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23396     eval $as_var=C; export $as_var
23397   else
23398     $as_unset $as_var
23399   fi
23400 done
23401
23402 # Required to use basename.
23403 if expr a : '\(a\)' >/dev/null 2>&1; then
23404   as_expr=expr
23405 else
23406   as_expr=false
23407 fi
23408
23409 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23410   as_basename=basename
23411 else
23412   as_basename=false
23413 fi
23414
23415
23416 # Name of the executable.
23417 as_me=`$as_basename "$0" ||
23418 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23419          X"$0" : 'X\(//\)$' \| \
23420          X"$0" : 'X\(/\)$' \| \
23421          .     : '\(.\)' 2>/dev/null ||
23422 echo X/"$0" |
23423     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23424           /^X\/\(\/\/\)$/{ s//\1/; q; }
23425           /^X\/\(\/\).*/{ s//\1/; q; }
23426           s/.*/./; q'`
23427
23428
23429 # PATH needs CR, and LINENO needs CR and PATH.
23430 # Avoid depending upon Character Ranges.
23431 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23432 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23433 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23434 as_cr_digits='0123456789'
23435 as_cr_alnum=$as_cr_Letters$as_cr_digits
23436
23437 # The user is always right.
23438 if test "${PATH_SEPARATOR+set}" != set; then
23439   echo "#! /bin/sh" >conf$$.sh
23440   echo  "exit 0"   >>conf$$.sh
23441   chmod +x conf$$.sh
23442   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23443     PATH_SEPARATOR=';'
23444   else
23445     PATH_SEPARATOR=:
23446   fi
23447   rm -f conf$$.sh
23448 fi
23449
23450
23451   as_lineno_1=$LINENO
23452   as_lineno_2=$LINENO
23453   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23454   test "x$as_lineno_1" != "x$as_lineno_2" &&
23455   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
23456   # Find who we are.  Look in the path if we contain no path at all
23457   # relative or not.
23458   case $0 in
23459     *[\\/]* ) as_myself=$0 ;;
23460     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23461 for as_dir in $PATH
23462 do
23463   IFS=$as_save_IFS
23464   test -z "$as_dir" && as_dir=.
23465   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23466 done
23467
23468        ;;
23469   esac
23470   # We did not find ourselves, most probably we were run as `sh COMMAND'
23471   # in which case we are not to be found in the path.
23472   if test "x$as_myself" = x; then
23473     as_myself=$0
23474   fi
23475   if test ! -f "$as_myself"; then
23476     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23477 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23478    { (exit 1); exit 1; }; }
23479   fi
23480   case $CONFIG_SHELL in
23481   '')
23482     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23483 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23484 do
23485   IFS=$as_save_IFS
23486   test -z "$as_dir" && as_dir=.
23487   for as_base in sh bash ksh sh5; do
23488          case $as_dir in
23489          /*)
23490            if ("$as_dir/$as_base" -c '
23491   as_lineno_1=$LINENO
23492   as_lineno_2=$LINENO
23493   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23494   test "x$as_lineno_1" != "x$as_lineno_2" &&
23495   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
23496              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23497              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23498              CONFIG_SHELL=$as_dir/$as_base
23499              export CONFIG_SHELL
23500              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23501            fi;;
23502          esac
23503        done
23504 done
23505 ;;
23506   esac
23507
23508   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23509   # uniformly replaced by the line number.  The first 'sed' inserts a
23510   # line-number line before each line; the second 'sed' does the real
23511   # work.  The second script uses 'N' to pair each line-number line
23512   # with the numbered line, and appends trailing '-' during
23513   # substitution so that $LINENO is not a special case at line end.
23514   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23515   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
23516   sed '=' <$as_myself |
23517     sed '
23518       N
23519       s,$,-,
23520       : loop
23521       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23522       t loop
23523       s,-$,,
23524       s,^['$as_cr_digits']*\n,,
23525     ' >$as_me.lineno &&
23526   chmod +x $as_me.lineno ||
23527     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23528 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23529    { (exit 1); exit 1; }; }
23530
23531   # Don't try to exec as it changes $[0], causing all sort of problems
23532   # (the dirname of $[0] is not the place where we might find the
23533   # original and so on.  Autoconf is especially sensible to this).
23534   . ./$as_me.lineno
23535   # Exit status is that of the last command.
23536   exit
23537 }
23538
23539
23540 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23541   *c*,-n*) ECHO_N= ECHO_C='
23542 ' ECHO_T='      ' ;;
23543   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23544   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
23545 esac
23546
23547 if expr a : '\(a\)' >/dev/null 2>&1; then
23548   as_expr=expr
23549 else
23550   as_expr=false
23551 fi
23552
23553 rm -f conf$$ conf$$.exe conf$$.file
23554 echo >conf$$.file
23555 if ln -s conf$$.file conf$$ 2>/dev/null; then
23556   # We could just check for DJGPP; but this test a) works b) is more generic
23557   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23558   if test -f conf$$.exe; then
23559     # Don't use ln at all; we don't have any links
23560     as_ln_s='cp -p'
23561   else
23562     as_ln_s='ln -s'
23563   fi
23564 elif ln conf$$.file conf$$ 2>/dev/null; then
23565   as_ln_s=ln
23566 else
23567   as_ln_s='cp -p'
23568 fi
23569 rm -f conf$$ conf$$.exe conf$$.file
23570
23571 if mkdir -p . 2>/dev/null; then
23572   as_mkdir_p=:
23573 else
23574   test -d ./-p && rmdir ./-p
23575   as_mkdir_p=false
23576 fi
23577
23578 as_executable_p="test -f"
23579
23580 # Sed expression to map a string onto a valid CPP name.
23581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23582
23583 # Sed expression to map a string onto a valid variable name.
23584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23585
23586
23587 # IFS
23588 # We need space, tab and new line, in precisely that order.
23589 as_nl='
23590 '
23591 IFS="   $as_nl"
23592
23593 # CDPATH.
23594 $as_unset CDPATH
23595
23596 exec 6>&1
23597
23598 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23599 # report actual input values of CONFIG_FILES etc. instead of their
23600 # values after options handling.  Logging --version etc. is OK.
23601 exec 5>>config.log
23602 {
23603   echo
23604   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23605 ## Running $as_me. ##
23606 _ASBOX
23607 } >&5
23608 cat >&5 <<_CSEOF
23609
23610 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
23611 generated by GNU Autoconf 2.59.  Invocation command line was
23612
23613   CONFIG_FILES    = $CONFIG_FILES
23614   CONFIG_HEADERS  = $CONFIG_HEADERS
23615   CONFIG_LINKS    = $CONFIG_LINKS
23616   CONFIG_COMMANDS = $CONFIG_COMMANDS
23617   $ $0 $@
23618
23619 _CSEOF
23620 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23621 echo >&5
23622 _ACEOF
23623
23624 # Files that config.status was made for.
23625 if test -n "$ac_config_files"; then
23626   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23627 fi
23628
23629 if test -n "$ac_config_headers"; then
23630   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23631 fi
23632
23633 if test -n "$ac_config_links"; then
23634   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23635 fi
23636
23637 if test -n "$ac_config_commands"; then
23638   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23639 fi
23640
23641 cat >>$CONFIG_STATUS <<\_ACEOF
23642
23643 ac_cs_usage="\
23644 \`$as_me' instantiates files from templates according to the
23645 current configuration.
23646
23647 Usage: $0 [OPTIONS] [FILE]...
23648
23649   -h, --help       print this help, then exit
23650   -V, --version    print version number, then exit
23651   -q, --quiet      do not print progress messages
23652   -d, --debug      don't remove temporary files
23653       --recheck    update $as_me by reconfiguring in the same conditions
23654   --file=FILE[:TEMPLATE]
23655                    instantiate the configuration file FILE
23656   --header=FILE[:TEMPLATE]
23657                    instantiate the configuration header FILE
23658
23659 Configuration files:
23660 $config_files
23661
23662 Configuration headers:
23663 $config_headers
23664
23665 Configuration commands:
23666 $config_commands
23667
23668 Report bugs to <bug-autoconf@gnu.org>."
23669 _ACEOF
23670
23671 cat >>$CONFIG_STATUS <<_ACEOF
23672 ac_cs_version="\\
23673 GNU Fortran Runtime Library config.status 0.2
23674 configured by $0, generated by GNU Autoconf 2.59,
23675   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23676
23677 Copyright (C) 2003 Free Software Foundation, Inc.
23678 This config.status script is free software; the Free Software Foundation
23679 gives unlimited permission to copy, distribute and modify it."
23680 srcdir=$srcdir
23681 INSTALL="$INSTALL"
23682 _ACEOF
23683
23684 cat >>$CONFIG_STATUS <<\_ACEOF
23685 # If no file are specified by the user, then we need to provide default
23686 # value.  By we need to know if files were specified by the user.
23687 ac_need_defaults=:
23688 while test $# != 0
23689 do
23690   case $1 in
23691   --*=*)
23692     ac_option=`expr "x$1" : 'x\([^=]*\)='`
23693     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23694     ac_shift=:
23695     ;;
23696   -*)
23697     ac_option=$1
23698     ac_optarg=$2
23699     ac_shift=shift
23700     ;;
23701   *) # This is not an option, so the user has probably given explicit
23702      # arguments.
23703      ac_option=$1
23704      ac_need_defaults=false;;
23705   esac
23706
23707   case $ac_option in
23708   # Handling of the options.
23709 _ACEOF
23710 cat >>$CONFIG_STATUS <<\_ACEOF
23711   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23712     ac_cs_recheck=: ;;
23713   --version | --vers* | -V )
23714     echo "$ac_cs_version"; exit 0 ;;
23715   --he | --h)
23716     # Conflict between --help and --header
23717     { { echo "$as_me:$LINENO: error: ambiguous option: $1
23718 Try \`$0 --help' for more information." >&5
23719 echo "$as_me: error: ambiguous option: $1
23720 Try \`$0 --help' for more information." >&2;}
23721    { (exit 1); exit 1; }; };;
23722   --help | --hel | -h )
23723     echo "$ac_cs_usage"; exit 0 ;;
23724   --debug | --d* | -d )
23725     debug=: ;;
23726   --file | --fil | --fi | --f )
23727     $ac_shift
23728     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23729     ac_need_defaults=false;;
23730   --header | --heade | --head | --hea )
23731     $ac_shift
23732     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23733     ac_need_defaults=false;;
23734   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23735   | -silent | --silent | --silen | --sile | --sil | --si | --s)
23736     ac_cs_silent=: ;;
23737
23738   # This is an error.
23739   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23740 Try \`$0 --help' for more information." >&5
23741 echo "$as_me: error: unrecognized option: $1
23742 Try \`$0 --help' for more information." >&2;}
23743    { (exit 1); exit 1; }; } ;;
23744
23745   *) ac_config_targets="$ac_config_targets $1" ;;
23746
23747   esac
23748   shift
23749 done
23750
23751 ac_configure_extra_args=
23752
23753 if $ac_cs_silent; then
23754   exec 6>/dev/null
23755   ac_configure_extra_args="$ac_configure_extra_args --silent"
23756 fi
23757
23758 _ACEOF
23759 cat >>$CONFIG_STATUS <<_ACEOF
23760 if \$ac_cs_recheck; then
23761   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23762   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23763 fi
23764
23765 _ACEOF
23766
23767 cat >>$CONFIG_STATUS <<_ACEOF
23768 #
23769 # INIT-COMMANDS section.
23770 #
23771
23772
23773 srcdir="$srcdir"
23774 host="$host"
23775 target="$target"
23776 with_multisubdir="$with_multisubdir"
23777 with_multisrctop="$with_multisrctop"
23778 with_target_subdir="$with_target_subdir"
23779 ac_configure_args="${multilib_arg} ${ac_configure_args}"
23780 multi_basedir="$multi_basedir"
23781 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
23782 CC="$CC"
23783
23784 GCC="$GCC"
23785 CC="$CC"
23786 acx_cv_header_stdint="$acx_cv_header_stdint"
23787 acx_cv_type_int8_t="$acx_cv_type_int8_t"
23788 acx_cv_type_int16_t="$acx_cv_type_int16_t"
23789 acx_cv_type_int32_t="$acx_cv_type_int32_t"
23790 acx_cv_type_int64_t="$acx_cv_type_int64_t"
23791 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
23792 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
23793 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
23794 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
23795 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
23796 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
23797 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
23798 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
23799 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
23800
23801
23802 _ACEOF
23803
23804
23805
23806 cat >>$CONFIG_STATUS <<\_ACEOF
23807 for ac_config_target in $ac_config_targets
23808 do
23809   case "$ac_config_target" in
23810   # Handling of arguments.
23811   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23812   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23813   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
23814   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23815   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23816 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23817    { (exit 1); exit 1; }; };;
23818   esac
23819 done
23820
23821 # If the user did not use the arguments to specify the items to instantiate,
23822 # then the envvar interface is used.  Set only those that are not.
23823 # We use the long form for the default assignment because of an extremely
23824 # bizarre bug on SunOS 4.1.3.
23825 if $ac_need_defaults; then
23826   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23827   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23828   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23829 fi
23830
23831 # Have a temporary directory for convenience.  Make it in the build tree
23832 # simply because there is no reason to put it here, and in addition,
23833 # creating and moving files from /tmp can sometimes cause problems.
23834 # Create a temporary directory, and hook for its removal unless debugging.
23835 $debug ||
23836 {
23837   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23838   trap '{ (exit 1); exit 1; }' 1 2 13 15
23839 }
23840
23841 # Create a (secure) tmp directory for tmp files.
23842
23843 {
23844   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23845   test -n "$tmp" && test -d "$tmp"
23846 }  ||
23847 {
23848   tmp=./confstat$$-$RANDOM
23849   (umask 077 && mkdir $tmp)
23850 } ||
23851 {
23852    echo "$me: cannot create a temporary directory in ." >&2
23853    { (exit 1); exit 1; }
23854 }
23855
23856 _ACEOF
23857
23858 cat >>$CONFIG_STATUS <<_ACEOF
23859
23860 #
23861 # CONFIG_FILES section.
23862 #
23863
23864 # No need to generate the scripts if there are no CONFIG_FILES.
23865 # This happens for instance when ./config.status config.h
23866 if test -n "\$CONFIG_FILES"; then
23867   # Protect against being on the right side of a sed subst in config.status.
23868   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23869    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23870 s,@SHELL@,$SHELL,;t t
23871 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23872 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23873 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23874 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23875 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23876 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23877 s,@exec_prefix@,$exec_prefix,;t t
23878 s,@prefix@,$prefix,;t t
23879 s,@program_transform_name@,$program_transform_name,;t t
23880 s,@bindir@,$bindir,;t t
23881 s,@sbindir@,$sbindir,;t t
23882 s,@libexecdir@,$libexecdir,;t t
23883 s,@datadir@,$datadir,;t t
23884 s,@sysconfdir@,$sysconfdir,;t t
23885 s,@sharedstatedir@,$sharedstatedir,;t t
23886 s,@localstatedir@,$localstatedir,;t t
23887 s,@libdir@,$libdir,;t t
23888 s,@includedir@,$includedir,;t t
23889 s,@oldincludedir@,$oldincludedir,;t t
23890 s,@infodir@,$infodir,;t t
23891 s,@mandir@,$mandir,;t t
23892 s,@build_alias@,$build_alias,;t t
23893 s,@host_alias@,$host_alias,;t t
23894 s,@target_alias@,$target_alias,;t t
23895 s,@DEFS@,$DEFS,;t t
23896 s,@ECHO_C@,$ECHO_C,;t t
23897 s,@ECHO_N@,$ECHO_N,;t t
23898 s,@ECHO_T@,$ECHO_T,;t t
23899 s,@LIBS@,$LIBS,;t t
23900 s,@build@,$build,;t t
23901 s,@build_cpu@,$build_cpu,;t t
23902 s,@build_vendor@,$build_vendor,;t t
23903 s,@build_os@,$build_os,;t t
23904 s,@build_subdir@,$build_subdir,;t t
23905 s,@host_subdir@,$host_subdir,;t t
23906 s,@target_subdir@,$target_subdir,;t t
23907 s,@host@,$host,;t t
23908 s,@host_cpu@,$host_cpu,;t t
23909 s,@host_vendor@,$host_vendor,;t t
23910 s,@host_os@,$host_os,;t t
23911 s,@target@,$target,;t t
23912 s,@target_cpu@,$target_cpu,;t t
23913 s,@target_vendor@,$target_vendor,;t t
23914 s,@target_os@,$target_os,;t t
23915 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23916 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23917 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23918 s,@CYGPATH_W@,$CYGPATH_W,;t t
23919 s,@PACKAGE@,$PACKAGE,;t t
23920 s,@VERSION@,$VERSION,;t t
23921 s,@ACLOCAL@,$ACLOCAL,;t t
23922 s,@AUTOCONF@,$AUTOCONF,;t t
23923 s,@AUTOMAKE@,$AUTOMAKE,;t t
23924 s,@AUTOHEADER@,$AUTOHEADER,;t t
23925 s,@MAKEINFO@,$MAKEINFO,;t t
23926 s,@install_sh@,$install_sh,;t t
23927 s,@STRIP@,$STRIP,;t t
23928 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23929 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
23930 s,@mkdir_p@,$mkdir_p,;t t
23931 s,@AWK@,$AWK,;t t
23932 s,@SET_MAKE@,$SET_MAKE,;t t
23933 s,@am__leading_dot@,$am__leading_dot,;t t
23934 s,@AMTAR@,$AMTAR,;t t
23935 s,@am__tar@,$am__tar,;t t
23936 s,@am__untar@,$am__untar,;t t
23937 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
23938 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
23939 s,@MAINT@,$MAINT,;t t
23940 s,@multi_basedir@,$multi_basedir,;t t
23941 s,@toolexecdir@,$toolexecdir,;t t
23942 s,@toolexeclibdir@,$toolexeclibdir,;t t
23943 s,@CC@,$CC,;t t
23944 s,@ac_ct_CC@,$ac_ct_CC,;t t
23945 s,@EXEEXT@,$EXEEXT,;t t
23946 s,@OBJEXT@,$OBJEXT,;t t
23947 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
23948 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
23949 s,@AS@,$AS,;t t
23950 s,@ac_ct_AS@,$ac_ct_AS,;t t
23951 s,@AR@,$AR,;t t
23952 s,@ac_ct_AR@,$ac_ct_AR,;t t
23953 s,@RANLIB@,$RANLIB,;t t
23954 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23955 s,@LN_S@,$LN_S,;t t
23956 s,@LIBTOOL@,$LIBTOOL,;t t
23957 s,@enable_shared@,$enable_shared,;t t
23958 s,@enable_static@,$enable_static,;t t
23959 s,@FC@,$FC,;t t
23960 s,@FCFLAGS@,$FCFLAGS,;t t
23961 s,@LDFLAGS@,$LDFLAGS,;t t
23962 s,@ac_ct_FC@,$ac_ct_FC,;t t
23963 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
23964 s,@CPP@,$CPP,;t t
23965 s,@CPPFLAGS@,$CPPFLAGS,;t t
23966 s,@EGREP@,$EGREP,;t t
23967 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
23968 s,@LIBOBJS@,$LIBOBJS,;t t
23969 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23970 CEOF
23971
23972 _ACEOF
23973
23974   cat >>$CONFIG_STATUS <<\_ACEOF
23975   # Split the substitutions into bite-sized pieces for seds with
23976   # small command number limits, like on Digital OSF/1 and HP-UX.
23977   ac_max_sed_lines=48
23978   ac_sed_frag=1 # Number of current file.
23979   ac_beg=1 # First line for current file.
23980   ac_end=$ac_max_sed_lines # Line after last line for current file.
23981   ac_more_lines=:
23982   ac_sed_cmds=
23983   while $ac_more_lines; do
23984     if test $ac_beg -gt 1; then
23985       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23986     else
23987       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23988     fi
23989     if test ! -s $tmp/subs.frag; then
23990       ac_more_lines=false
23991     else
23992       # The purpose of the label and of the branching condition is to
23993       # speed up the sed processing (if there are no `@' at all, there
23994       # is no need to browse any of the substitutions).
23995       # These are the two extra sed commands mentioned above.
23996       (echo ':t
23997   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23998       if test -z "$ac_sed_cmds"; then
23999         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24000       else
24001         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24002       fi
24003       ac_sed_frag=`expr $ac_sed_frag + 1`
24004       ac_beg=$ac_end
24005       ac_end=`expr $ac_end + $ac_max_sed_lines`
24006     fi
24007   done
24008   if test -z "$ac_sed_cmds"; then
24009     ac_sed_cmds=cat
24010   fi
24011 fi # test -n "$CONFIG_FILES"
24012
24013 _ACEOF
24014 cat >>$CONFIG_STATUS <<\_ACEOF
24015 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24016   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24017   case $ac_file in
24018   - | *:- | *:-:* ) # input from stdin
24019         cat >$tmp/stdin
24020         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24021         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24022   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24023         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24024   * )   ac_file_in=$ac_file.in ;;
24025   esac
24026
24027   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24028   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24029 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24030          X"$ac_file" : 'X\(//\)[^/]' \| \
24031          X"$ac_file" : 'X\(//\)$' \| \
24032          X"$ac_file" : 'X\(/\)' \| \
24033          .     : '\(.\)' 2>/dev/null ||
24034 echo X"$ac_file" |
24035     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24036           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24037           /^X\(\/\/\)$/{ s//\1/; q; }
24038           /^X\(\/\).*/{ s//\1/; q; }
24039           s/.*/./; q'`
24040   { if $as_mkdir_p; then
24041     mkdir -p "$ac_dir"
24042   else
24043     as_dir="$ac_dir"
24044     as_dirs=
24045     while test ! -d "$as_dir"; do
24046       as_dirs="$as_dir $as_dirs"
24047       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24049          X"$as_dir" : 'X\(//\)[^/]' \| \
24050          X"$as_dir" : 'X\(//\)$' \| \
24051          X"$as_dir" : 'X\(/\)' \| \
24052          .     : '\(.\)' 2>/dev/null ||
24053 echo X"$as_dir" |
24054     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24055           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24056           /^X\(\/\/\)$/{ s//\1/; q; }
24057           /^X\(\/\).*/{ s//\1/; q; }
24058           s/.*/./; q'`
24059     done
24060     test ! -n "$as_dirs" || mkdir $as_dirs
24061   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24062 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24063    { (exit 1); exit 1; }; }; }
24064
24065   ac_builddir=.
24066
24067 if test "$ac_dir" != .; then
24068   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24069   # A "../" for each directory in $ac_dir_suffix.
24070   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24071 else
24072   ac_dir_suffix= ac_top_builddir=
24073 fi
24074
24075 case $srcdir in
24076   .)  # No --srcdir option.  We are building in place.
24077     ac_srcdir=.
24078     if test -z "$ac_top_builddir"; then
24079        ac_top_srcdir=.
24080     else
24081        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24082     fi ;;
24083   [\\/]* | ?:[\\/]* )  # Absolute path.
24084     ac_srcdir=$srcdir$ac_dir_suffix;
24085     ac_top_srcdir=$srcdir ;;
24086   *) # Relative path.
24087     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24088     ac_top_srcdir=$ac_top_builddir$srcdir ;;
24089 esac
24090
24091 # Do not use `cd foo && pwd` to compute absolute paths, because
24092 # the directories may not exist.
24093 case `pwd` in
24094 .) ac_abs_builddir="$ac_dir";;
24095 *)
24096   case "$ac_dir" in
24097   .) ac_abs_builddir=`pwd`;;
24098   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24099   *) ac_abs_builddir=`pwd`/"$ac_dir";;
24100   esac;;
24101 esac
24102 case $ac_abs_builddir in
24103 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24104 *)
24105   case ${ac_top_builddir}. in
24106   .) ac_abs_top_builddir=$ac_abs_builddir;;
24107   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24108   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24109   esac;;
24110 esac
24111 case $ac_abs_builddir in
24112 .) ac_abs_srcdir=$ac_srcdir;;
24113 *)
24114   case $ac_srcdir in
24115   .) ac_abs_srcdir=$ac_abs_builddir;;
24116   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24117   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24118   esac;;
24119 esac
24120 case $ac_abs_builddir in
24121 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24122 *)
24123   case $ac_top_srcdir in
24124   .) ac_abs_top_srcdir=$ac_abs_builddir;;
24125   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24126   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24127   esac;;
24128 esac
24129
24130
24131   case $INSTALL in
24132   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24133   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24134   esac
24135
24136   # Let's still pretend it is `configure' which instantiates (i.e., don't
24137   # use $as_me), people would be surprised to read:
24138   #    /* config.h.  Generated by config.status.  */
24139   if test x"$ac_file" = x-; then
24140     configure_input=
24141   else
24142     configure_input="$ac_file.  "
24143   fi
24144   configure_input=$configure_input"Generated from `echo $ac_file_in |
24145                                      sed 's,.*/,,'` by configure."
24146
24147   # First look for the input files in the build tree, otherwise in the
24148   # src tree.
24149   ac_file_inputs=`IFS=:
24150     for f in $ac_file_in; do
24151       case $f in
24152       -) echo $tmp/stdin ;;
24153       [\\/$]*)
24154          # Absolute (can't be DOS-style, as IFS=:)
24155          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24156 echo "$as_me: error: cannot find input file: $f" >&2;}
24157    { (exit 1); exit 1; }; }
24158          echo "$f";;
24159       *) # Relative
24160          if test -f "$f"; then
24161            # Build tree
24162            echo "$f"
24163          elif test -f "$srcdir/$f"; then
24164            # Source tree
24165            echo "$srcdir/$f"
24166          else
24167            # /dev/null tree
24168            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24169 echo "$as_me: error: cannot find input file: $f" >&2;}
24170    { (exit 1); exit 1; }; }
24171          fi;;
24172       esac
24173     done` || { (exit 1); exit 1; }
24174
24175   if test x"$ac_file" != x-; then
24176     { echo "$as_me:$LINENO: creating $ac_file" >&5
24177 echo "$as_me: creating $ac_file" >&6;}
24178     rm -f "$ac_file"
24179   fi
24180 _ACEOF
24181 cat >>$CONFIG_STATUS <<_ACEOF
24182   sed "$ac_vpsub
24183 $extrasub
24184 _ACEOF
24185 cat >>$CONFIG_STATUS <<\_ACEOF
24186 :t
24187 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24188 s,@configure_input@,$configure_input,;t t
24189 s,@srcdir@,$ac_srcdir,;t t
24190 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24191 s,@top_srcdir@,$ac_top_srcdir,;t t
24192 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24193 s,@builddir@,$ac_builddir,;t t
24194 s,@abs_builddir@,$ac_abs_builddir,;t t
24195 s,@top_builddir@,$ac_top_builddir,;t t
24196 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24197 s,@INSTALL@,$ac_INSTALL,;t t
24198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24199   rm -f $tmp/stdin
24200   if test x"$ac_file" != x-; then
24201     mv $tmp/out $ac_file
24202   else
24203     cat $tmp/out
24204     rm -f $tmp/out
24205   fi
24206
24207 done
24208 _ACEOF
24209 cat >>$CONFIG_STATUS <<\_ACEOF
24210
24211 #
24212 # CONFIG_HEADER section.
24213 #
24214
24215 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24216 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24217 #
24218 # ac_d sets the value in "#define NAME VALUE" lines.
24219 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
24220 ac_dB='[         ].*$,\1#\2'
24221 ac_dC=' '
24222 ac_dD=',;t'
24223 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24224 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
24225 ac_uB='$,\1#\2define\3'
24226 ac_uC=' '
24227 ac_uD=',;t'
24228
24229 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24230   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24231   case $ac_file in
24232   - | *:- | *:-:* ) # input from stdin
24233         cat >$tmp/stdin
24234         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24235         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24236   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24237         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24238   * )   ac_file_in=$ac_file.in ;;
24239   esac
24240
24241   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24242 echo "$as_me: creating $ac_file" >&6;}
24243
24244   # First look for the input files in the build tree, otherwise in the
24245   # src tree.
24246   ac_file_inputs=`IFS=:
24247     for f in $ac_file_in; do
24248       case $f in
24249       -) echo $tmp/stdin ;;
24250       [\\/$]*)
24251          # Absolute (can't be DOS-style, as IFS=:)
24252          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24253 echo "$as_me: error: cannot find input file: $f" >&2;}
24254    { (exit 1); exit 1; }; }
24255          # Do quote $f, to prevent DOS paths from being IFS'd.
24256          echo "$f";;
24257       *) # Relative
24258          if test -f "$f"; then
24259            # Build tree
24260            echo "$f"
24261          elif test -f "$srcdir/$f"; then
24262            # Source tree
24263            echo "$srcdir/$f"
24264          else
24265            # /dev/null tree
24266            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24267 echo "$as_me: error: cannot find input file: $f" >&2;}
24268    { (exit 1); exit 1; }; }
24269          fi;;
24270       esac
24271     done` || { (exit 1); exit 1; }
24272   # Remove the trailing spaces.
24273   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
24274
24275 _ACEOF
24276
24277 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24278 # `conftest.undefs', that substitutes the proper values into
24279 # config.h.in to produce config.h.  The first handles `#define'
24280 # templates, and the second `#undef' templates.
24281 # And first: Protect against being on the right side of a sed subst in
24282 # config.status.  Protect against being in an unquoted here document
24283 # in config.status.
24284 rm -f conftest.defines conftest.undefs
24285 # Using a here document instead of a string reduces the quoting nightmare.
24286 # Putting comments in sed scripts is not portable.
24287 #
24288 # `end' is used to avoid that the second main sed command (meant for
24289 # 0-ary CPP macros) applies to n-ary macro definitions.
24290 # See the Autoconf documentation for `clear'.
24291 cat >confdef2sed.sed <<\_ACEOF
24292 s/[\\&,]/\\&/g
24293 s,[\\$`],\\&,g
24294 t clear
24295 : clear
24296 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24297 t end
24298 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24299 : end
24300 _ACEOF
24301 # If some macros were called several times there might be several times
24302 # the same #defines, which is useless.  Nevertheless, we may not want to
24303 # sort them, since we want the *last* AC-DEFINE to be honored.
24304 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24305 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24306 rm -f confdef2sed.sed
24307
24308 # This sed command replaces #undef with comments.  This is necessary, for
24309 # example, in the case of _POSIX_SOURCE, which is predefined and required
24310 # on some systems where configure will not decide to define it.
24311 cat >>conftest.undefs <<\_ACEOF
24312 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24313 _ACEOF
24314
24315 # Break up conftest.defines because some shells have a limit on the size
24316 # of here documents, and old seds have small limits too (100 cmds).
24317 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24318 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24319 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24320 echo '  :' >>$CONFIG_STATUS
24321 rm -f conftest.tail
24322 while grep . conftest.defines >/dev/null
24323 do
24324   # Write a limited-size here document to $tmp/defines.sed.
24325   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24326   # Speed up: don't consider the non `#define' lines.
24327   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
24328   # Work around the forget-to-reset-the-flag bug.
24329   echo 't clr' >>$CONFIG_STATUS
24330   echo ': clr' >>$CONFIG_STATUS
24331   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24332   echo 'CEOF
24333   sed -f $tmp/defines.sed $tmp/in >$tmp/out
24334   rm -f $tmp/in
24335   mv $tmp/out $tmp/in
24336 ' >>$CONFIG_STATUS
24337   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24338   rm -f conftest.defines
24339   mv conftest.tail conftest.defines
24340 done
24341 rm -f conftest.defines
24342 echo '  fi # grep' >>$CONFIG_STATUS
24343 echo >>$CONFIG_STATUS
24344
24345 # Break up conftest.undefs because some shells have a limit on the size
24346 # of here documents, and old seds have small limits too (100 cmds).
24347 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
24348 rm -f conftest.tail
24349 while grep . conftest.undefs >/dev/null
24350 do
24351   # Write a limited-size here document to $tmp/undefs.sed.
24352   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24353   # Speed up: don't consider the non `#undef'
24354   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
24355   # Work around the forget-to-reset-the-flag bug.
24356   echo 't clr' >>$CONFIG_STATUS
24357   echo ': clr' >>$CONFIG_STATUS
24358   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24359   echo 'CEOF
24360   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24361   rm -f $tmp/in
24362   mv $tmp/out $tmp/in
24363 ' >>$CONFIG_STATUS
24364   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24365   rm -f conftest.undefs
24366   mv conftest.tail conftest.undefs
24367 done
24368 rm -f conftest.undefs
24369
24370 cat >>$CONFIG_STATUS <<\_ACEOF
24371   # Let's still pretend it is `configure' which instantiates (i.e., don't
24372   # use $as_me), people would be surprised to read:
24373   #    /* config.h.  Generated by config.status.  */
24374   if test x"$ac_file" = x-; then
24375     echo "/* Generated by configure.  */" >$tmp/config.h
24376   else
24377     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
24378   fi
24379   cat $tmp/in >>$tmp/config.h
24380   rm -f $tmp/in
24381   if test x"$ac_file" != x-; then
24382     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24383       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24384 echo "$as_me: $ac_file is unchanged" >&6;}
24385     else
24386       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24388          X"$ac_file" : 'X\(//\)[^/]' \| \
24389          X"$ac_file" : 'X\(//\)$' \| \
24390          X"$ac_file" : 'X\(/\)' \| \
24391          .     : '\(.\)' 2>/dev/null ||
24392 echo X"$ac_file" |
24393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24394           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24395           /^X\(\/\/\)$/{ s//\1/; q; }
24396           /^X\(\/\).*/{ s//\1/; q; }
24397           s/.*/./; q'`
24398       { if $as_mkdir_p; then
24399     mkdir -p "$ac_dir"
24400   else
24401     as_dir="$ac_dir"
24402     as_dirs=
24403     while test ! -d "$as_dir"; do
24404       as_dirs="$as_dir $as_dirs"
24405       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24407          X"$as_dir" : 'X\(//\)[^/]' \| \
24408          X"$as_dir" : 'X\(//\)$' \| \
24409          X"$as_dir" : 'X\(/\)' \| \
24410          .     : '\(.\)' 2>/dev/null ||
24411 echo X"$as_dir" |
24412     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24413           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24414           /^X\(\/\/\)$/{ s//\1/; q; }
24415           /^X\(\/\).*/{ s//\1/; q; }
24416           s/.*/./; q'`
24417     done
24418     test ! -n "$as_dirs" || mkdir $as_dirs
24419   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24421    { (exit 1); exit 1; }; }; }
24422
24423       rm -f $ac_file
24424       mv $tmp/config.h $ac_file
24425     fi
24426   else
24427     cat $tmp/config.h
24428     rm -f $tmp/config.h
24429   fi
24430 # Compute $ac_file's index in $config_headers.
24431 _am_stamp_count=1
24432 for _am_header in $config_headers :; do
24433   case $_am_header in
24434     $ac_file | $ac_file:* )
24435       break ;;
24436     * )
24437       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24438   esac
24439 done
24440 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24441 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24442          X$ac_file : 'X\(//\)[^/]' \| \
24443          X$ac_file : 'X\(//\)$' \| \
24444          X$ac_file : 'X\(/\)' \| \
24445          .     : '\(.\)' 2>/dev/null ||
24446 echo X$ac_file |
24447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24448           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24449           /^X\(\/\/\)$/{ s//\1/; q; }
24450           /^X\(\/\).*/{ s//\1/; q; }
24451           s/.*/./; q'`/stamp-h$_am_stamp_count
24452 done
24453 _ACEOF
24454 cat >>$CONFIG_STATUS <<\_ACEOF
24455
24456 #
24457 # CONFIG_COMMANDS section.
24458 #
24459 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24460   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24461   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24462   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24463 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24464          X"$ac_dest" : 'X\(//\)[^/]' \| \
24465          X"$ac_dest" : 'X\(//\)$' \| \
24466          X"$ac_dest" : 'X\(/\)' \| \
24467          .     : '\(.\)' 2>/dev/null ||
24468 echo X"$ac_dest" |
24469     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24470           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24471           /^X\(\/\/\)$/{ s//\1/; q; }
24472           /^X\(\/\).*/{ s//\1/; q; }
24473           s/.*/./; q'`
24474   { if $as_mkdir_p; then
24475     mkdir -p "$ac_dir"
24476   else
24477     as_dir="$ac_dir"
24478     as_dirs=
24479     while test ! -d "$as_dir"; do
24480       as_dirs="$as_dir $as_dirs"
24481       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24482 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24483          X"$as_dir" : 'X\(//\)[^/]' \| \
24484          X"$as_dir" : 'X\(//\)$' \| \
24485          X"$as_dir" : 'X\(/\)' \| \
24486          .     : '\(.\)' 2>/dev/null ||
24487 echo X"$as_dir" |
24488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24489           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24490           /^X\(\/\/\)$/{ s//\1/; q; }
24491           /^X\(\/\).*/{ s//\1/; q; }
24492           s/.*/./; q'`
24493     done
24494     test ! -n "$as_dirs" || mkdir $as_dirs
24495   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24496 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24497    { (exit 1); exit 1; }; }; }
24498
24499   ac_builddir=.
24500
24501 if test "$ac_dir" != .; then
24502   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24503   # A "../" for each directory in $ac_dir_suffix.
24504   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24505 else
24506   ac_dir_suffix= ac_top_builddir=
24507 fi
24508
24509 case $srcdir in
24510   .)  # No --srcdir option.  We are building in place.
24511     ac_srcdir=.
24512     if test -z "$ac_top_builddir"; then
24513        ac_top_srcdir=.
24514     else
24515        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24516     fi ;;
24517   [\\/]* | ?:[\\/]* )  # Absolute path.
24518     ac_srcdir=$srcdir$ac_dir_suffix;
24519     ac_top_srcdir=$srcdir ;;
24520   *) # Relative path.
24521     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24522     ac_top_srcdir=$ac_top_builddir$srcdir ;;
24523 esac
24524
24525 # Do not use `cd foo && pwd` to compute absolute paths, because
24526 # the directories may not exist.
24527 case `pwd` in
24528 .) ac_abs_builddir="$ac_dir";;
24529 *)
24530   case "$ac_dir" in
24531   .) ac_abs_builddir=`pwd`;;
24532   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24533   *) ac_abs_builddir=`pwd`/"$ac_dir";;
24534   esac;;
24535 esac
24536 case $ac_abs_builddir in
24537 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24538 *)
24539   case ${ac_top_builddir}. in
24540   .) ac_abs_top_builddir=$ac_abs_builddir;;
24541   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24542   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24543   esac;;
24544 esac
24545 case $ac_abs_builddir in
24546 .) ac_abs_srcdir=$ac_srcdir;;
24547 *)
24548   case $ac_srcdir in
24549   .) ac_abs_srcdir=$ac_abs_builddir;;
24550   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24551   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24552   esac;;
24553 esac
24554 case $ac_abs_builddir in
24555 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24556 *)
24557   case $ac_top_srcdir in
24558   .) ac_abs_top_srcdir=$ac_abs_builddir;;
24559   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24560   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24561   esac;;
24562 esac
24563
24564
24565   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24566 echo "$as_me: executing $ac_dest commands" >&6;}
24567   case $ac_dest in
24568     default-1 )
24569 # Only add multilib support code if we just rebuilt the top-level
24570 # Makefile.
24571 case " $CONFIG_FILES " in
24572  *" Makefile "*)
24573    ac_file=Makefile . ${multi_basedir}/config-ml.in
24574    ;;
24575 esac ;;
24576     gstdint.h )
24577 if test "$GCC" = yes; then
24578   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24579 else
24580   echo "/* generated for $CC */" > tmp-stdint.h
24581 fi
24582
24583 sed 's/^ *//' >> tmp-stdint.h <<EOF
24584
24585   #ifndef GCC_GENERATED_STDINT_H
24586   #define GCC_GENERATED_STDINT_H 1
24587
24588   #include <sys/types.h>
24589 EOF
24590
24591 if test "$acx_cv_header_stdint" != stdint.h; then
24592   echo "#include <stddef.h>" >> tmp-stdint.h
24593 fi
24594 if test "$acx_cv_header_stdint" != stddef.h; then
24595   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24596 fi
24597
24598 sed 's/^ *//' >> tmp-stdint.h <<EOF
24599   /* glibc uses these symbols as guards to prevent redefinitions.  */
24600   #ifdef __int8_t_defined
24601   #define _INT8_T
24602   #define _INT16_T
24603   #define _INT32_T
24604   #endif
24605   #ifdef __uint32_t_defined
24606   #define _UINT32_T
24607   #endif
24608
24609 EOF
24610
24611 # ----------------- done header, emit basic int types -------------
24612 if test "$acx_cv_header_stdint" = stddef.h; then
24613   sed 's/^ *//' >> tmp-stdint.h <<EOF
24614
24615     #ifndef _UINT8_T
24616     #define _UINT8_T
24617     typedef unsigned $acx_cv_type_int8_t uint8_t;
24618     #endif
24619
24620     #ifndef _UINT16_T
24621     #define _UINT16_T
24622     typedef unsigned $acx_cv_type_int16_t uint16_t;
24623     #endif
24624
24625     #ifndef _UINT32_T
24626     #define _UINT32_T
24627     typedef unsigned $acx_cv_type_int32_t uint32_t;
24628     #endif
24629
24630     #ifndef _INT8_T
24631     #define _INT8_T
24632     typedef $acx_cv_type_int8_t int8_t;
24633     #endif
24634
24635     #ifndef _INT16_T
24636     #define _INT16_T
24637     typedef $acx_cv_type_int16_t int16_t;
24638     #endif
24639
24640     #ifndef _INT32_T
24641     #define _INT32_T
24642     typedef $acx_cv_type_int32_t int32_t;
24643     #endif
24644 EOF
24645 elif test "$ac_cv_type_u_int32_t" = yes; then
24646   sed 's/^ *//' >> tmp-stdint.h <<EOF
24647
24648     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24649     #ifndef _INT8_T
24650     #define _INT8_T
24651     #endif
24652     #ifndef _INT16_T
24653     #define _INT16_T
24654     #endif
24655     #ifndef _INT32_T
24656     #define _INT32_T
24657     #endif
24658
24659     #ifndef _UINT8_T
24660     #define _UINT8_T
24661     typedef u_int8_t uint8_t;
24662     #endif
24663
24664     #ifndef _UINT16_T
24665     #define _UINT16_T
24666     typedef u_int16_t uint16_t;
24667     #endif
24668
24669     #ifndef _UINT32_T
24670     #define _UINT32_T
24671     typedef u_int32_t uint32_t;
24672     #endif
24673 EOF
24674 else
24675   sed 's/^ *//' >> tmp-stdint.h <<EOF
24676
24677     /* Some systems have guard macros to prevent redefinitions, define them.  */
24678     #ifndef _INT8_T
24679     #define _INT8_T
24680     #endif
24681     #ifndef _INT16_T
24682     #define _INT16_T
24683     #endif
24684     #ifndef _INT32_T
24685     #define _INT32_T
24686     #endif
24687     #ifndef _UINT8_T
24688     #define _UINT8_T
24689     #endif
24690     #ifndef _UINT16_T
24691     #define _UINT16_T
24692     #endif
24693     #ifndef _UINT32_T
24694     #define _UINT32_T
24695     #endif
24696 EOF
24697 fi
24698
24699 # ------------- done basic int types, emit int64_t types ------------
24700 if test "$ac_cv_type_uint64_t" = yes; then
24701   sed 's/^ *//' >> tmp-stdint.h <<EOF
24702
24703     /* system headers have good uint64_t and int64_t */
24704     #ifndef _INT64_T
24705     #define _INT64_T
24706     #endif
24707     #ifndef _UINT64_T
24708     #define _UINT64_T
24709     #endif
24710 EOF
24711 elif test "$ac_cv_type_u_int64_t" = yes; then
24712   sed 's/^ *//' >> tmp-stdint.h <<EOF
24713
24714     /* system headers have an u_int64_t (and int64_t) */
24715     #ifndef _INT64_T
24716     #define _INT64_T
24717     #endif
24718     #ifndef _UINT64_T
24719     #define _UINT64_T
24720     typedef u_int64_t uint64_t;
24721     #endif
24722 EOF
24723 elif test -n "$acx_cv_type_int64_t"; then
24724   sed 's/^ *//' >> tmp-stdint.h <<EOF
24725
24726     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
24727     #ifndef _INT64_T
24728     #define _INT64_T
24729     typedef $acx_cv_type_int64_t int64_t;
24730     #endif
24731     #ifndef _UINT64_T
24732     #define _UINT64_T
24733     typedef unsigned $acx_cv_type_int64_t uint64_t;
24734     #endif
24735 EOF
24736 else
24737   sed 's/^ *//' >> tmp-stdint.h <<EOF
24738
24739     /* some common heuristics for int64_t, using compiler-specific tests */
24740     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
24741     #ifndef _INT64_T
24742     #define _INT64_T
24743     typedef long long int64_t;
24744     #endif
24745     #ifndef _UINT64_T
24746     #define _UINT64_T
24747     typedef unsigned long long uint64_t;
24748     #endif
24749
24750     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
24751     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
24752        does not implement __extension__.  But that compiler doesn't define
24753        __GNUC_MINOR__.  */
24754     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
24755     # define __extension__
24756     # endif
24757
24758     # ifndef _INT64_T
24759     # define _INT64_T
24760     __extension__ typedef long long int64_t;
24761     # endif
24762     # ifndef _UINT64_T
24763     # define _UINT64_T
24764     __extension__ typedef unsigned long long uint64_t;
24765     # endif
24766
24767     #elif !defined __STRICT_ANSI__
24768     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
24769
24770     #  ifndef _INT64_T
24771     #  define _INT64_T
24772     typedef __int64 int64_t;
24773     #  endif
24774     #  ifndef _UINT64_T
24775     #  define _UINT64_T
24776     typedef unsigned __int64 uint64_t;
24777     #  endif
24778     # endif /* compiler */
24779
24780     #endif /* ANSI version */
24781 EOF
24782 fi
24783
24784 # ------------- done int64_t types, emit intptr types ------------
24785 if test "$ac_cv_type_uintptr_t" != yes; then
24786   sed 's/^ *//' >> tmp-stdint.h <<EOF
24787
24788     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
24789     typedef u$acx_cv_type_intptr_t uintptr_t;
24790     typedef $acx_cv_type_intptr_t  intptr_t;
24791 EOF
24792 fi
24793
24794 # ------------- done intptr types, emit int_least types ------------
24795 if test "$ac_cv_type_int_least32_t" != yes; then
24796   sed 's/^ *//' >> tmp-stdint.h <<EOF
24797
24798     /* Define int_least types */
24799     typedef int8_t     int_least8_t;
24800     typedef int16_t    int_least16_t;
24801     typedef int32_t    int_least32_t;
24802     #ifdef _INT64_T
24803     typedef int64_t    int_least64_t;
24804     #endif
24805
24806     typedef uint8_t    uint_least8_t;
24807     typedef uint16_t   uint_least16_t;
24808     typedef uint32_t   uint_least32_t;
24809     #ifdef _UINT64_T
24810     typedef uint64_t   uint_least64_t;
24811     #endif
24812 EOF
24813 fi
24814
24815 # ------------- done intptr types, emit int_fast types ------------
24816 if test "$ac_cv_type_int_fast32_t" != yes; then
24817       sed 's/^ *//' >> tmp-stdint.h <<EOF
24818
24819     /* Define int_fast types.  short is often slow */
24820     typedef int8_t       int_fast8_t;
24821     typedef int          int_fast16_t;
24822     typedef int32_t      int_fast32_t;
24823     #ifdef _INT64_T
24824     typedef int64_t      int_fast64_t;
24825     #endif
24826
24827     typedef uint8_t      uint_fast8_t;
24828     typedef unsigned int uint_fast16_t;
24829     typedef uint32_t     uint_fast32_t;
24830     #ifdef _UINT64_T
24831     typedef uint64_t     uint_fast64_t;
24832     #endif
24833 EOF
24834 fi
24835
24836 if test "$ac_cv_type_uintmax_t" != yes; then
24837   sed 's/^ *//' >> tmp-stdint.h <<EOF
24838
24839     /* Define intmax based on what we found */
24840     #ifdef _INT64_T
24841     typedef int64_t       intmax_t;
24842     #else
24843     typedef long          intmax_t;
24844     #endif
24845     #ifdef _UINT64_T
24846     typedef uint64_t      uintmax_t;
24847     #else
24848     typedef unsigned long uintmax_t;
24849     #endif
24850 EOF
24851 fi
24852
24853 sed 's/^ *//' >> tmp-stdint.h <<EOF
24854
24855   #endif /* GCC_GENERATED_STDINT_H */
24856 EOF
24857
24858 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
24859   rm -f tmp-stdint.h
24860 else
24861   mv -f tmp-stdint.h gstdint.h
24862 fi
24863
24864  ;;
24865   esac
24866 done
24867 _ACEOF
24868
24869 cat >>$CONFIG_STATUS <<\_ACEOF
24870
24871 { (exit 0); exit 0; }
24872 _ACEOF
24873 chmod +x $CONFIG_STATUS
24874 ac_clean_files=$ac_clean_files_save
24875
24876
24877 # configure is writing to config.log, and then calls config.status.
24878 # config.status does its own redirection, appending to config.log.
24879 # Unfortunately, on DOS this fails, as config.log is still kept open
24880 # by configure, so config.status won't be able to write to it; its
24881 # output is simply discarded.  So we exec the FD to /dev/null,
24882 # effectively closing config.log, so it can be properly (re)opened and
24883 # appended to by config.status.  When coming back to configure, we
24884 # need to make the FD available again.
24885 if test "$no_create" != yes; then
24886   ac_cs_success=:
24887   ac_config_status_args=
24888   test "$silent" = yes &&
24889     ac_config_status_args="$ac_config_status_args --quiet"
24890   exec 5>/dev/null
24891   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24892   exec 5>>config.log
24893   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24894   # would make configure fail if this is the last instruction.
24895   $ac_cs_success || { (exit 1); exit 1; }
24896 fi
24897