OSDN Git Service

75872aa861db76510c86f7b2cb7f93915de27044
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272 PACKAGE_BUGREPORT=''
273
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 #  include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 #  include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 #  include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355   # If the previous option needs an argument, assign it.
356   if test -n "$ac_prev"; then
357     eval "$ac_prev=\$ac_option"
358     ac_prev=
359     continue
360   fi
361
362   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364   # Accept the important Cygnus configure options, so we can diagnose typos.
365
366   case $ac_option in
367
368   -bindir | --bindir | --bindi | --bind | --bin | --bi)
369     ac_prev=bindir ;;
370   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371     bindir=$ac_optarg ;;
372
373   -build | --build | --buil | --bui | --bu)
374     ac_prev=build_alias ;;
375   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376     build_alias=$ac_optarg ;;
377
378   -cache-file | --cache-file | --cache-fil | --cache-fi \
379   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380     ac_prev=cache_file ;;
381   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383     cache_file=$ac_optarg ;;
384
385   --config-cache | -C)
386     cache_file=config.cache ;;
387
388   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389     ac_prev=datadir ;;
390   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391   | --da=*)
392     datadir=$ac_optarg ;;
393
394   -disable-* | --disable-*)
395     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396     # Reject names that are not valid shell variable names.
397     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399    { (exit 1); exit 1; }; }
400     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401     eval "enable_$ac_feature=no" ;;
402
403   -enable-* | --enable-*)
404     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405     # Reject names that are not valid shell variable names.
406     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408    { (exit 1); exit 1; }; }
409     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410     case $ac_option in
411       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412       *) ac_optarg=yes ;;
413     esac
414     eval "enable_$ac_feature='$ac_optarg'" ;;
415
416   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418   | --exec | --exe | --ex)
419     ac_prev=exec_prefix ;;
420   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422   | --exec=* | --exe=* | --ex=*)
423     exec_prefix=$ac_optarg ;;
424
425   -gas | --gas | --ga | --g)
426     # Obsolete; use --with-gas.
427     with_gas=yes ;;
428
429   -help | --help | --hel | --he | -h)
430     ac_init_help=long ;;
431   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432     ac_init_help=recursive ;;
433   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434     ac_init_help=short ;;
435
436   -host | --host | --hos | --ho)
437     ac_prev=host_alias ;;
438   -host=* | --host=* | --hos=* | --ho=*)
439     host_alias=$ac_optarg ;;
440
441   -includedir | --includedir | --includedi | --included | --include \
442   | --includ | --inclu | --incl | --inc)
443     ac_prev=includedir ;;
444   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445   | --includ=* | --inclu=* | --incl=* | --inc=*)
446     includedir=$ac_optarg ;;
447
448   -infodir | --infodir | --infodi | --infod | --info | --inf)
449     ac_prev=infodir ;;
450   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451     infodir=$ac_optarg ;;
452
453   -libdir | --libdir | --libdi | --libd)
454     ac_prev=libdir ;;
455   -libdir=* | --libdir=* | --libdi=* | --libd=*)
456     libdir=$ac_optarg ;;
457
458   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459   | --libexe | --libex | --libe)
460     ac_prev=libexecdir ;;
461   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462   | --libexe=* | --libex=* | --libe=*)
463     libexecdir=$ac_optarg ;;
464
465   -localstatedir | --localstatedir | --localstatedi | --localstated \
466   | --localstate | --localstat | --localsta | --localst \
467   | --locals | --local | --loca | --loc | --lo)
468     ac_prev=localstatedir ;;
469   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472     localstatedir=$ac_optarg ;;
473
474   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475     ac_prev=mandir ;;
476   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477     mandir=$ac_optarg ;;
478
479   -nfp | --nfp | --nf)
480     # Obsolete; use --without-fp.
481     with_fp=no ;;
482
483   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484   | --no-cr | --no-c | -n)
485     no_create=yes ;;
486
487   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489     no_recursion=yes ;;
490
491   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493   | --oldin | --oldi | --old | --ol | --o)
494     ac_prev=oldincludedir ;;
495   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498     oldincludedir=$ac_optarg ;;
499
500   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501     ac_prev=prefix ;;
502   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503     prefix=$ac_optarg ;;
504
505   -program-prefix | --program-prefix | --program-prefi | --program-pref \
506   | --program-pre | --program-pr | --program-p)
507     ac_prev=program_prefix ;;
508   -program-prefix=* | --program-prefix=* | --program-prefi=* \
509   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510     program_prefix=$ac_optarg ;;
511
512   -program-suffix | --program-suffix | --program-suffi | --program-suff \
513   | --program-suf | --program-su | --program-s)
514     ac_prev=program_suffix ;;
515   -program-suffix=* | --program-suffix=* | --program-suffi=* \
516   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517     program_suffix=$ac_optarg ;;
518
519   -program-transform-name | --program-transform-name \
520   | --program-transform-nam | --program-transform-na \
521   | --program-transform-n | --program-transform- \
522   | --program-transform | --program-transfor \
523   | --program-transfo | --program-transf \
524   | --program-trans | --program-tran \
525   | --progr-tra | --program-tr | --program-t)
526     ac_prev=program_transform_name ;;
527   -program-transform-name=* | --program-transform-name=* \
528   | --program-transform-nam=* | --program-transform-na=* \
529   | --program-transform-n=* | --program-transform-=* \
530   | --program-transform=* | --program-transfor=* \
531   | --program-transfo=* | --program-transf=* \
532   | --program-trans=* | --program-tran=* \
533   | --progr-tra=* | --program-tr=* | --program-t=*)
534     program_transform_name=$ac_optarg ;;
535
536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537   | -silent | --silent | --silen | --sile | --sil)
538     silent=yes ;;
539
540   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541     ac_prev=sbindir ;;
542   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543   | --sbi=* | --sb=*)
544     sbindir=$ac_optarg ;;
545
546   -sharedstatedir | --sharedstatedir | --sharedstatedi \
547   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548   | --sharedst | --shareds | --shared | --share | --shar \
549   | --sha | --sh)
550     ac_prev=sharedstatedir ;;
551   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554   | --sha=* | --sh=*)
555     sharedstatedir=$ac_optarg ;;
556
557   -site | --site | --sit)
558     ac_prev=site ;;
559   -site=* | --site=* | --sit=*)
560     site=$ac_optarg ;;
561
562   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563     ac_prev=srcdir ;;
564   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565     srcdir=$ac_optarg ;;
566
567   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568   | --syscon | --sysco | --sysc | --sys | --sy)
569     ac_prev=sysconfdir ;;
570   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572     sysconfdir=$ac_optarg ;;
573
574   -target | --target | --targe | --targ | --tar | --ta | --t)
575     ac_prev=target_alias ;;
576   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577     target_alias=$ac_optarg ;;
578
579   -v | -verbose | --verbose | --verbos | --verbo | --verb)
580     verbose=yes ;;
581
582   -version | --version | --versio | --versi | --vers | -V)
583     ac_init_version=: ;;
584
585   -with-* | --with-*)
586     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587     # Reject names that are not valid shell variable names.
588     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589       { echo "$as_me: error: invalid package name: $ac_package" >&2
590    { (exit 1); exit 1; }; }
591     ac_package=`echo $ac_package| sed 's/-/_/g'`
592     case $ac_option in
593       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594       *) ac_optarg=yes ;;
595     esac
596     eval "with_$ac_package='$ac_optarg'" ;;
597
598   -without-* | --without-*)
599     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600     # Reject names that are not valid shell variable names.
601     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602       { echo "$as_me: error: invalid package name: $ac_package" >&2
603    { (exit 1); exit 1; }; }
604     ac_package=`echo $ac_package | sed 's/-/_/g'`
605     eval "with_$ac_package=no" ;;
606
607   --x)
608     # Obsolete; use --with-x.
609     with_x=yes ;;
610
611   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612   | --x-incl | --x-inc | --x-in | --x-i)
613     ac_prev=x_includes ;;
614   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616     x_includes=$ac_optarg ;;
617
618   -x-libraries | --x-libraries | --x-librarie | --x-librari \
619   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620     ac_prev=x_libraries ;;
621   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623     x_libraries=$ac_optarg ;;
624
625   -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627    { (exit 1); exit 1; }; }
628     ;;
629
630   *=*)
631     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632     # Reject names that are not valid shell variable names.
633     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635    { (exit 1); exit 1; }; }
636     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637     eval "$ac_envvar='$ac_optarg'"
638     export $ac_envvar ;;
639
640   *)
641     # FIXME: should be removed in autoconf 3.0.
642     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646     ;;
647
648   esac
649 done
650
651 if test -n "$ac_prev"; then
652   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653   { echo "$as_me: error: missing argument to $ac_option" >&2
654    { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660   eval ac_val=$`echo $ac_var`
661   case $ac_val in
662     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664    { (exit 1); exit 1; }; };;
665   esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670               localstatedir libdir includedir oldincludedir infodir mandir
671 do
672   eval ac_val=$`echo $ac_var`
673   case $ac_val in
674     [\\/$]* | ?:[\\/]* ) ;;
675     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    { (exit 1); exit 1; }; };;
677   esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689   if test "x$build_alias" = x; then
690     cross_compiling=maybe
691     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692     If a cross compiler is detected then cross compile mode will be used." >&2
693   elif test "x$build_alias" != "x$host_alias"; then
694     cross_compiling=yes
695   fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706   ac_srcdir_defaulted=yes
707   # Try the directory containing this script, then its parent.
708   ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710          X"$0" : 'X\(//\)[^/]' \| \
711          X"$0" : 'X\(//\)$' \| \
712          X"$0" : 'X\(/\)' \| \
713          .     : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717           /^X\(\/\/\)$/{ s//\1/; q; }
718           /^X\(\/\).*/{ s//\1/; q; }
719           s/.*/./; q'`
720   srcdir=$ac_confdir
721   if test ! -r $srcdir/$ac_unique_file; then
722     srcdir=..
723   fi
724 else
725   ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728   if test "$ac_srcdir_defaulted" = yes; then
729     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730    { (exit 1); exit 1; }; }
731   else
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733    { (exit 1); exit 1; }; }
734   fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738    { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
753 ac_env_FC_value=$FC
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777   # Omit some internal or obsolete options to make the list less imposing.
778   # This message is too long to be a string in the A/UX 3.1 sh.
779   cat <<_ACEOF
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE.  See below for descriptions of some of the useful variables.
786
787 Defaults for the options are specified in brackets.
788
789 Configuration:
790   -h, --help              display this help and exit
791       --help=short        display options specific to this package
792       --help=recursive    display the short help of all the included packages
793   -V, --version           display version information and exit
794   -q, --quiet, --silent   do not print \`checking...' messages
795       --cache-file=FILE   cache test results in FILE [disabled]
796   -C, --config-cache      alias for \`--cache-file=config.cache'
797   -n, --no-create         do not create output files
798       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
799
800 _ACEOF
801
802   cat <<_ACEOF
803 Installation directories:
804   --prefix=PREFIX         install architecture-independent files in PREFIX
805                           [$ac_default_prefix]
806   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
807                           [PREFIX]
808
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
813
814 For better control, use the options below.
815
816 Fine tuning of the installation directories:
817   --bindir=DIR           user executables [EPREFIX/bin]
818   --sbindir=DIR          system admin executables [EPREFIX/sbin]
819   --libexecdir=DIR       program executables [EPREFIX/libexec]
820   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
821   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
822   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
823   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
824   --libdir=DIR           object code libraries [EPREFIX/lib]
825   --includedir=DIR       C header files [PREFIX/include]
826   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
827   --infodir=DIR          info documentation [PREFIX/info]
828   --mandir=DIR           man documentation [PREFIX/man]
829 _ACEOF
830
831   cat <<\_ACEOF
832
833 Program names:
834   --program-prefix=PREFIX            prepend PREFIX to installed program names
835   --program-suffix=SUFFIX            append SUFFIX to installed program names
836   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
837
838 System types:
839   --build=BUILD     configure for building on BUILD [guessed]
840   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
841   --target=TARGET   configure for building compilers for TARGET [HOST]
842 _ACEOF
843 fi
844
845 if test -n "$ac_init_help"; then
846   case $ac_init_help in
847      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848    esac
849   cat <<\_ACEOF
850
851 Optional Features:
852   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
853   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
854   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
855   --enable-maintainer-mode  enable make rules and dependencies not useful
856                           (and sometimes confusing) to the casual installer
857   --enable-multilib       build many library versions (default)
858   --enable-shared=PKGS  build shared libraries default=yes
859   --enable-static=PKGS  build static libraries default=yes
860   --enable-fast-install=PKGS  optimize for fast installation default=yes
861   --disable-libtool-lock  avoid locking (might break parallel builds)
862   --disable-largefile     omit support for large files
863
864 Optional Packages:
865   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
866   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
867   --with-build-libsubdir=DIR  Directory where to find libraries for build system
868   --with-gnu-ld           assume the C compiler uses GNU ld default=no
869   --with-pic              try to use only PIC/non-PIC objects default=use both
870
871 Some influential environment variables:
872   CC          C compiler command
873   CFLAGS      C compiler flags
874   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
875               nonstandard directory <lib dir>
876   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
877               headers in a nonstandard directory <include dir>
878   FC          Fortran compiler command
879   FCFLAGS     Fortran compiler flags
880   CPP         C preprocessor
881
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
884
885 _ACEOF
886 fi
887
888 if test "$ac_init_help" = "recursive"; then
889   # If there are subdirs, report their specific --help.
890   ac_popdir=`pwd`
891   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892     test -d $ac_dir || continue
893     ac_builddir=.
894
895 if test "$ac_dir" != .; then
896   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897   # A "../" for each directory in $ac_dir_suffix.
898   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 else
900   ac_dir_suffix= ac_top_builddir=
901 fi
902
903 case $srcdir in
904   .)  # No --srcdir option.  We are building in place.
905     ac_srcdir=.
906     if test -z "$ac_top_builddir"; then
907        ac_top_srcdir=.
908     else
909        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910     fi ;;
911   [\\/]* | ?:[\\/]* )  # Absolute path.
912     ac_srcdir=$srcdir$ac_dir_suffix;
913     ac_top_srcdir=$srcdir ;;
914   *) # Relative path.
915     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916     ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 esac
918
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
921 case `pwd` in
922 .) ac_abs_builddir="$ac_dir";;
923 *)
924   case "$ac_dir" in
925   .) ac_abs_builddir=`pwd`;;
926   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927   *) ac_abs_builddir=`pwd`/"$ac_dir";;
928   esac;;
929 esac
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *)
933   case ${ac_top_builddir}. in
934   .) ac_abs_top_builddir=$ac_abs_builddir;;
935   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937   esac;;
938 esac
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
941 *)
942   case $ac_srcdir in
943   .) ac_abs_srcdir=$ac_abs_builddir;;
944   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946   esac;;
947 esac
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *)
951   case $ac_top_srcdir in
952   .) ac_abs_top_srcdir=$ac_abs_builddir;;
953   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955   esac;;
956 esac
957
958     cd $ac_dir
959     # Check for guested configure; otherwise get Cygnus style configure.
960     if test -f $ac_srcdir/configure.gnu; then
961       echo
962       $SHELL $ac_srcdir/configure.gnu  --help=recursive
963     elif test -f $ac_srcdir/configure; then
964       echo
965       $SHELL $ac_srcdir/configure  --help=recursive
966     elif test -f $ac_srcdir/configure.ac ||
967            test -f $ac_srcdir/configure.in; then
968       echo
969       $ac_configure --help
970     else
971       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972     fi
973     cd $ac_popdir
974   done
975 fi
976
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
979   cat <<\_ACEOF
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
982
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
986 _ACEOF
987   exit 0
988 fi
989 exec 5>config.log
990 cat >&5 <<_ACEOF
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
993
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59.  Invocation command line was
996
997   $ $0 $@
998
999 _ACEOF
1000 {
1001 cat <<_ASUNAME
1002 ## --------- ##
1003 ## Platform. ##
1004 ## --------- ##
1005
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1014
1015 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1016 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1019 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1020 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1021 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1022
1023 _ASUNAME
1024
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 for as_dir in $PATH
1027 do
1028   IFS=$as_save_IFS
1029   test -z "$as_dir" && as_dir=.
1030   echo "PATH: $as_dir"
1031 done
1032
1033 } >&5
1034
1035 cat >&5 <<_ACEOF
1036
1037
1038 ## ----------- ##
1039 ## Core tests. ##
1040 ## ----------- ##
1041
1042 _ACEOF
1043
1044
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_configure_args=
1051 ac_configure_args0=
1052 ac_configure_args1=
1053 ac_sep=
1054 ac_must_keep_next=false
1055 for ac_pass in 1 2
1056 do
1057   for ac_arg
1058   do
1059     case $ac_arg in
1060     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062     | -silent | --silent | --silen | --sile | --sil)
1063       continue ;;
1064     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1066     esac
1067     case $ac_pass in
1068     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069     2)
1070       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071       if test $ac_must_keep_next = true; then
1072         ac_must_keep_next=false # Got value, back to normal.
1073       else
1074         case $ac_arg in
1075           *=* | --config-cache | -C | -disable-* | --disable-* \
1076           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078           | -with-* | --with-* | -without-* | --without-* | --x)
1079             case "$ac_configure_args0 " in
1080               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081             esac
1082             ;;
1083           -* ) ac_must_keep_next=true ;;
1084         esac
1085       fi
1086       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087       # Get rid of the leading space.
1088       ac_sep=" "
1089       ;;
1090     esac
1091   done
1092 done
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log.  We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102   # Save into config.log some information that might help in debugging.
1103   {
1104     echo
1105
1106     cat <<\_ASBOX
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1110 _ASBOX
1111     echo
1112     # The following way of writing the cache mishandles newlines in values,
1113 {
1114   (set) 2>&1 |
1115     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116     *ac_space=\ *)
1117       sed -n \
1118         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120       ;;
1121     *)
1122       sed -n \
1123         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124       ;;
1125     esac;
1126 }
1127     echo
1128
1129     cat <<\_ASBOX
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1133 _ASBOX
1134     echo
1135     for ac_var in $ac_subst_vars
1136     do
1137       eval ac_val=$`echo $ac_var`
1138       echo "$ac_var='"'"'$ac_val'"'"'"
1139     done | sort
1140     echo
1141
1142     if test -n "$ac_subst_files"; then
1143       cat <<\_ASBOX
1144 ## ------------- ##
1145 ## Output files. ##
1146 ## ------------- ##
1147 _ASBOX
1148       echo
1149       for ac_var in $ac_subst_files
1150       do
1151         eval ac_val=$`echo $ac_var`
1152         echo "$ac_var='"'"'$ac_val'"'"'"
1153       done | sort
1154       echo
1155     fi
1156
1157     if test -s confdefs.h; then
1158       cat <<\_ASBOX
1159 ## ----------- ##
1160 ## confdefs.h. ##
1161 ## ----------- ##
1162 _ASBOX
1163       echo
1164       sed "/^$/d" confdefs.h | sort
1165       echo
1166     fi
1167     test "$ac_signal" != 0 &&
1168       echo "$as_me: caught signal $ac_signal"
1169     echo "$as_me: exit $exit_status"
1170   } >&5
1171   rm -f core *.core &&
1172   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1173     exit $exit_status
1174      ' 0
1175 for ac_signal in 1 2 13 15; do
1176   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 done
1178 ac_signal=0
1179
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 echo >confdefs.h
1184
1185 # Predefined preprocessor variables.
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 _ACEOF
1200
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 _ACEOF
1205
1206
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 _ACEOF
1210
1211
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215   if test "x$prefix" != xNONE; then
1216     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217   else
1218     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219   fi
1220 fi
1221 for ac_site_file in $CONFIG_SITE; do
1222   if test -r "$ac_site_file"; then
1223     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225     sed 's/^/| /' "$ac_site_file" >&5
1226     . "$ac_site_file"
1227   fi
1228 done
1229
1230 if test -r "$cache_file"; then
1231   # Some versions of bash will fail to source /dev/null (special
1232   # files actually), so we avoid doing that.
1233   if test -f "$cache_file"; then
1234     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1236     case $cache_file in
1237       [\\/]* | ?:[\\/]* ) . $cache_file;;
1238       *)                      . ./$cache_file;;
1239     esac
1240   fi
1241 else
1242   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1244   >$cache_file
1245 fi
1246
1247 # Check that the precious variables saved in the cache have kept the same
1248 # value.
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253   eval ac_new_set=\$ac_env_${ac_var}_set
1254   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255   eval ac_new_val="\$ac_env_${ac_var}_value"
1256   case $ac_old_set,$ac_new_set in
1257     set,)
1258       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260       ac_cache_corrupted=: ;;
1261     ,set)
1262       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264       ac_cache_corrupted=: ;;
1265     ,);;
1266     *)
1267       if test "x$ac_old_val" != "x$ac_new_val"; then
1268         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1271 echo "$as_me:   former value:  $ac_old_val" >&2;}
1272         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1273 echo "$as_me:   current value: $ac_new_val" >&2;}
1274         ac_cache_corrupted=:
1275       fi;;
1276   esac
1277   # Pass precious variables to config.status.
1278   if test "$ac_new_set" = set; then
1279     case $ac_new_val in
1280     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282     *) ac_arg=$ac_var=$ac_new_val ;;
1283     esac
1284     case " $ac_configure_args " in
1285       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1286       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287     esac
1288   fi
1289 done
1290 if $ac_cache_corrupted; then
1291   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295    { (exit 1); exit 1; }; }
1296 fi
1297
1298 ac_ext=c
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330           ac_config_headers="$ac_config_headers config.h"
1331
1332 ac_aux_dir=
1333 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334   if test -f $ac_dir/install-sh; then
1335     ac_aux_dir=$ac_dir
1336     ac_install_sh="$ac_aux_dir/install-sh -c"
1337     break
1338   elif test -f $ac_dir/install.sh; then
1339     ac_aux_dir=$ac_dir
1340     ac_install_sh="$ac_aux_dir/install.sh -c"
1341     break
1342   elif test -f $ac_dir/shtool; then
1343     ac_aux_dir=$ac_dir
1344     ac_install_sh="$ac_aux_dir/shtool install -c"
1345     break
1346   fi
1347 done
1348 if test -z "$ac_aux_dir"; then
1349   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351    { (exit 1); exit 1; }; }
1352 fi
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1356
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361    { (exit 1); exit 1; }; }
1362
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366   echo $ECHO_N "(cached) $ECHO_C" >&6
1367 else
1368   ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370   ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374    { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378    { (exit 1); exit 1; }; }
1379
1380 fi
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1383 build=$ac_cv_build
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1387
1388
1389  case ${build_alias} in
1390   "") build_noncanonical=${build} ;;
1391   *) build_noncanonical=${build_alias} ;;
1392 esac
1393
1394  case ${host_alias} in
1395   "") host_noncanonical=${build_noncanonical} ;;
1396   *) host_noncanonical=${host_alias} ;;
1397 esac
1398
1399  case ${target_alias} in
1400   "") target_noncanonical=${host_noncanonical} ;;
1401   *) target_noncanonical=${target_alias} ;;
1402 esac
1403
1404
1405 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1406 # have matching libraries, they should use host libraries: Makefile.tpl
1407 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1408 # However, they still use the build modules, because the corresponding
1409 # host modules (e.g. bison) are only built for the host when bootstrap
1410 # finishes. So:
1411 # - build_subdir is where we find build modules, and never changes.
1412 # - build_libsubdir is where we find build libraries, and can be overridden.
1413
1414 # Prefix 'build-' so this never conflicts with target_subdir.
1415 build_subdir="build-${build_noncanonical}"
1416
1417 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1418 if test "${with_build_libsubdir+set}" = set; then
1419   withval="$with_build_libsubdir"
1420   build_libsubdir="$withval"
1421 else
1422   build_libsubdir="$build_subdir"
1423 fi;
1424 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1425 if ( test $srcdir = . && test -d gcc ) \
1426    || test -d $srcdir/../host-${host_noncanonical}; then
1427   host_subdir="host-${host_noncanonical}"
1428 else
1429   host_subdir=.
1430 fi
1431 # No prefix.
1432 target_subdir=${target_noncanonical}
1433
1434
1435 # -------
1436 # Options
1437 # -------
1438
1439 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1440 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1441 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1442 if test "${enable_version_specific_runtime_libs+set}" = set; then
1443   enableval="$enable_version_specific_runtime_libs"
1444   case "$enableval" in
1445  yes) version_specific_libs=yes ;;
1446  no)  version_specific_libs=no ;;
1447  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1448 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1449    { (exit 1); exit 1; }; };;
1450  esac
1451 else
1452   version_specific_libs=no
1453 fi;
1454 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1455 echo "${ECHO_T}$version_specific_libs" >&6
1456
1457
1458 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1459 #
1460 # You will slowly go insane if you do not grok the following fact:  when
1461 # building this library, the top-level /target/ becomes the library's /host/.
1462 #
1463 # configure then causes --target to default to --host, exactly like any
1464 # other package using autoconf.  Therefore, 'target' and 'host' will
1465 # always be the same.  This makes sense both for native and cross compilers
1466 # just think about it for a little while.  :-)
1467 #
1468 # Also, if this library is being configured as part of a cross compiler, the
1469 # top-level configure script will pass the "real" host as $with_cross_host.
1470 #
1471 # Do not delete or change the following two lines.  For why, see
1472 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1473 echo "$as_me:$LINENO: checking host system type" >&5
1474 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1475 if test "${ac_cv_host+set}" = set; then
1476   echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478   ac_cv_host_alias=$host_alias
1479 test -z "$ac_cv_host_alias" &&
1480   ac_cv_host_alias=$ac_cv_build_alias
1481 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1482   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1483 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1484    { (exit 1); exit 1; }; }
1485
1486 fi
1487 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1488 echo "${ECHO_T}$ac_cv_host" >&6
1489 host=$ac_cv_host
1490 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1491 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1492 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1493
1494
1495 echo "$as_me:$LINENO: checking target system type" >&5
1496 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1497 if test "${ac_cv_target+set}" = set; then
1498   echo $ECHO_N "(cached) $ECHO_C" >&6
1499 else
1500   ac_cv_target_alias=$target_alias
1501 test "x$ac_cv_target_alias" = "x" &&
1502   ac_cv_target_alias=$ac_cv_host_alias
1503 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1504   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1505 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1506    { (exit 1); exit 1; }; }
1507
1508 fi
1509 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1510 echo "${ECHO_T}$ac_cv_target" >&6
1511 target=$ac_cv_target
1512 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1513 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1514 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1515
1516
1517 # The aliases save the names the user supplied, while $host etc.
1518 # will get canonicalized.
1519 test -n "$target_alias" &&
1520   test "$program_prefix$program_suffix$program_transform_name" = \
1521     NONENONEs,x,x, &&
1522   program_prefix=${target_alias}-
1523 target_alias=${target_alias-$host_alias}
1524
1525 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1526 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1527 #  1.8.2:  minimum required version
1528 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1529 #              of other PACKAGE_* variables will, however, and there's nothing
1530 #              we can do about that; they come from AC_INIT).
1531 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1532 #            file in the top srcdir, etc, etc), so stop complaining.
1533 #  no-dependencies:  turns off auto dependency generation (just for now)
1534 #  -Wall:  turns on all automake warnings...
1535 #  -Wno-portability:  ...except this one, since GNU make is required.
1536 am__api_version="1.9"
1537 # Find a good install program.  We prefer a C program (faster),
1538 # so one script is as good as another.  But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1543 # AIX /bin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554   echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1558 do
1559   IFS=$as_save_IFS
1560   test -z "$as_dir" && as_dir=.
1561   # Account for people who put trailing slashes in PATH elements.
1562 case $as_dir/ in
1563   ./ | .// | /cC/* | \
1564   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1566   /usr/ucb/* ) ;;
1567   *)
1568     # OSF1 and SCO ODT 3.0 have their own names for install.
1569     # Don't use installbsd from OSF since it installs stuff as root
1570     # by default.
1571     for ac_prog in ginstall scoinst install; do
1572       for ac_exec_ext in '' $ac_executable_extensions; do
1573         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574           if test $ac_prog = install &&
1575             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1576             # AIX install.  It has an incompatible calling convention.
1577             :
1578           elif test $ac_prog = install &&
1579             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1580             # program-specific install script used by HP pwplus--don't use.
1581             :
1582           else
1583             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1584             break 3
1585           fi
1586         fi
1587       done
1588     done
1589     ;;
1590 esac
1591 done
1592
1593
1594 fi
1595   if test "${ac_cv_path_install+set}" = set; then
1596     INSTALL=$ac_cv_path_install
1597   else
1598     # As a last resort, use the slow shell script.  We don't cache a
1599     # path for INSTALL within a source directory, because that will
1600     # break other packages using the cache if that directory is
1601     # removed, or if the path is relative.
1602     INSTALL=$ac_install_sh
1603   fi
1604 fi
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1607
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1611
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1613
1614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1615
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1618 # Just in case
1619 sleep 1
1620 echo timestamp > conftest.file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments.  Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1625 # directory).
1626 if (
1627    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628    if test "$*" = "X"; then
1629       # -L didn't work.
1630       set X `ls -t $srcdir/configure conftest.file`
1631    fi
1632    rm -f conftest.file
1633    if test "$*" != "X $srcdir/configure conftest.file" \
1634       && test "$*" != "X conftest.file $srcdir/configure"; then
1635
1636       # If neither matched, then we have a broken ls.  This can happen
1637       # if, for instance, CONFIG_SHELL is bash and it inherits a
1638       # broken ls alias from the environment.  This has actually
1639       # happened.  Such a system could not be considered "sane".
1640       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1643 alias in your environment" >&2;}
1644    { (exit 1); exit 1; }; }
1645    fi
1646
1647    test "$2" = conftest.file
1648    )
1649 then
1650    # Ok.
1651    :
1652 else
1653    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657    { (exit 1); exit 1; }; }
1658 fi
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE &&
1662   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE &&
1665   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $.  echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF >conftest.sed
1669 s/[\\$]/&&/g;s/;s,x,x,$//
1670 _ACEOF
1671 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1672 rm conftest.sed
1673
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir=`cd $ac_aux_dir && pwd`
1676
1677 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680   am_missing_run="$MISSING --run "
1681 else
1682   am_missing_run=
1683   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1685 fi
1686
1687 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1688   # We used to keeping the `.' as first argument, in order to
1689   # allow $(mkdir_p) to be used without argument.  As in
1690   #   $(mkdir_p) $(somedir)
1691   # where $(somedir) is conditionally defined.  However this is wrong
1692   # for two reasons:
1693   #  1. if the package is installed by a user who cannot write `.'
1694   #     make install will fail,
1695   #  2. the above comment should most certainly read
1696   #     $(mkdir_p) $(DESTDIR)$(somedir)
1697   #     so it does not work when $(somedir) is undefined and
1698   #     $(DESTDIR) is not.
1699   #  To support the latter case, we have to write
1700   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701   #  so the `.' trick is pointless.
1702   mkdir_p='mkdir -p --'
1703 else
1704   # On NextStep and OpenStep, the `mkdir' command does not
1705   # recognize any option.  It will interpret all options as
1706   # directories to create, and then abort because `.' already
1707   # exists.
1708   for d in ./-p ./--version;
1709   do
1710     test -d $d && rmdir $d
1711   done
1712   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713   if test -f "$ac_aux_dir/mkinstalldirs"; then
1714     mkdir_p='$(mkinstalldirs)'
1715   else
1716     mkdir_p='$(install_sh) -d'
1717   fi
1718 fi
1719
1720 for ac_prog in gawk mawk nawk awk
1721 do
1722   # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy $ac_prog; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727   echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729   if test -n "$AWK"; then
1730   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1731 else
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 for as_dir in $PATH
1734 do
1735   IFS=$as_save_IFS
1736   test -z "$as_dir" && as_dir=.
1737   for ac_exec_ext in '' $ac_executable_extensions; do
1738   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739     ac_cv_prog_AWK="$ac_prog"
1740     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741     break 2
1742   fi
1743 done
1744 done
1745
1746 fi
1747 fi
1748 AWK=$ac_cv_prog_AWK
1749 if test -n "$AWK"; then
1750   echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1752 else
1753   echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1755 fi
1756
1757   test -n "$AWK" && break
1758 done
1759
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764   echo $ECHO_N "(cached) $ECHO_C" >&6
1765 else
1766   cat >conftest.make <<\_ACEOF
1767 all:
1768         @echo 'ac_maketemp="$(MAKE)"'
1769 _ACEOF
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773   eval ac_cv_prog_make_${ac_make}_set=yes
1774 else
1775   eval ac_cv_prog_make_${ac_make}_set=no
1776 fi
1777 rm -f conftest.make
1778 fi
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780   echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1782   SET_MAKE=
1783 else
1784   echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786   SET_MAKE="MAKE=${MAKE-make}"
1787 fi
1788
1789 rm -rf .tst 2>/dev/null
1790 mkdir .tst 2>/dev/null
1791 if test -d .tst; then
1792   am__leading_dot=.
1793 else
1794   am__leading_dot=_
1795 fi
1796 rmdir .tst 2>/dev/null
1797
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800    test -f $srcdir/config.status; then
1801   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803    { (exit 1); exit 1; }; }
1804 fi
1805
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808   if (cygpath --version) >/dev/null 2>/dev/null; then
1809     CYGPATH_W='cygpath -w'
1810   else
1811     CYGPATH_W=echo
1812   fi
1813 fi
1814
1815
1816 # Define the identity of the package.
1817  PACKAGE='libgfortran'
1818  VERSION='0.2'
1819
1820
1821 # Some tools Automake needs.
1822
1823 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1824
1825
1826 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1827
1828
1829 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1830
1831
1832 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1833
1834
1835 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1836
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1838
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'.  However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844   if test -n "$ac_tool_prefix"; then
1845   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850   echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852   if test -n "$STRIP"; then
1853   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858   IFS=$as_save_IFS
1859   test -z "$as_dir" && as_dir=.
1860   for ac_exec_ext in '' $ac_executable_extensions; do
1861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864     break 2
1865   fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873   echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1875 else
1876   echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880 fi
1881 if test -z "$ac_cv_prog_STRIP"; then
1882   ac_ct_STRIP=$STRIP
1883   # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888   echo $ECHO_N "(cached) $ECHO_C" >&6
1889 else
1890   if test -n "$ac_ct_STRIP"; then
1891   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1892 else
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1895 do
1896   IFS=$as_save_IFS
1897   test -z "$as_dir" && as_dir=.
1898   for ac_exec_ext in '' $ac_executable_extensions; do
1899   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900     ac_cv_prog_ac_ct_STRIP="strip"
1901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1902     break 2
1903   fi
1904 done
1905 done
1906
1907   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1908 fi
1909 fi
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1914 else
1915   echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1917 fi
1918
1919   STRIP=$ac_ct_STRIP
1920 else
1921   STRIP="$ac_cv_prog_STRIP"
1922 fi
1923
1924 fi
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1926
1927 # We need awk for the "check" target.  The system "awk" is bad on
1928 # some platforms.
1929 # Always define AMTAR for backward compatibility.
1930
1931 AMTAR=${AMTAR-"${am_missing_run}tar"}
1932
1933 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1934
1935
1936
1937
1938
1939
1940 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1941 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1942     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1943 if test "${enable_maintainer_mode+set}" = set; then
1944   enableval="$enable_maintainer_mode"
1945   USE_MAINTAINER_MODE=$enableval
1946 else
1947   USE_MAINTAINER_MODE=no
1948 fi;
1949   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1950 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1951
1952
1953 if test $USE_MAINTAINER_MODE = yes; then
1954   MAINTAINER_MODE_TRUE=
1955   MAINTAINER_MODE_FALSE='#'
1956 else
1957   MAINTAINER_MODE_TRUE='#'
1958   MAINTAINER_MODE_FALSE=
1959 fi
1960
1961   MAINT=$MAINTAINER_MODE_TRUE
1962
1963
1964 # Default to --enable-multilib
1965 # Check whether --enable-multilib or --disable-multilib was given.
1966 if test "${enable_multilib+set}" = set; then
1967   enableval="$enable_multilib"
1968   case "$enableval" in
1969   yes) multilib=yes ;;
1970   no)  multilib=no ;;
1971   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1972 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1973    { (exit 1); exit 1; }; } ;;
1974  esac
1975 else
1976   multilib=yes
1977 fi;
1978
1979 # We may get other options which we leave undocumented:
1980 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1981 # See config-ml.in if you want the gory details.
1982
1983 if test "$srcdir" = "."; then
1984   if test "$with_target_subdir" != "."; then
1985     multi_basedir="$srcdir/$with_multisrctop../.."
1986   else
1987     multi_basedir="$srcdir/$with_multisrctop.."
1988   fi
1989 else
1990   multi_basedir="$srcdir/.."
1991 fi
1992
1993
1994           ac_config_commands="$ac_config_commands default-1"
1995
1996
1997 # Handy for debugging:
1998 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1999
2000 # Are we being configured with some form of cross compiler?
2001 # NB: We don't actually need to know this just now, but when, say, a test
2002 #     suite is included, we'll have to know.
2003 if test "$build" != "$host"; then
2004   LIBGFOR_IS_NATIVE=false
2005
2006 else
2007   LIBGFOR_IS_NATIVE=true
2008 fi
2009
2010 # Calculate toolexeclibdir
2011 # Also toolexecdir, though it's only used in toolexeclibdir
2012 case ${version_specific_libs} in
2013   yes)
2014     # Need the gcc compiler version to know where to install libraries
2015     # and header files if --enable-version-specific-runtime-libs option
2016     # is selected.
2017     toolexecdir='$(libdir)/gcc/$(target_alias)'
2018     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2019     ;;
2020   no)
2021     if test -n "$with_cross_host" &&
2022        test x"$with_cross_host" != x"no"; then
2023       # Install a library built with a cross compiler in tooldir, not libdir.
2024       toolexecdir='$(exec_prefix)/$(target_alias)'
2025       toolexeclibdir='$(toolexecdir)/lib'
2026     else
2027       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2028       toolexeclibdir='$(libdir)'
2029     fi
2030     multi_os_directory=`$CC -print-multi-os-directory`
2031     case $multi_os_directory in
2032       .) ;; # Avoid trailing /.
2033       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2034     esac
2035     ;;
2036 esac
2037
2038
2039
2040 # Check the compiler.
2041 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2042 # We must force CC to /not/ be precious variables; otherwise
2043 # the wrong, non-multilib-adjusted value will be used in multilibs.
2044 # As a side effect, we have to subst CFLAGS ourselves.
2045
2046
2047
2048 ac_ext=c
2049 ac_cpp='$CPP $CPPFLAGS'
2050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2053 if test -n "$ac_tool_prefix"; then
2054   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2056 echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058 if test "${ac_cv_prog_CC+set}" = set; then
2059   echo $ECHO_N "(cached) $ECHO_C" >&6
2060 else
2061   if test -n "$CC"; then
2062   ac_cv_prog_CC="$CC" # Let the user override the test.
2063 else
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067   IFS=$as_save_IFS
2068   test -z "$as_dir" && as_dir=.
2069   for ac_exec_ext in '' $ac_executable_extensions; do
2070   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2072     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073     break 2
2074   fi
2075 done
2076 done
2077
2078 fi
2079 fi
2080 CC=$ac_cv_prog_CC
2081 if test -n "$CC"; then
2082   echo "$as_me:$LINENO: result: $CC" >&5
2083 echo "${ECHO_T}$CC" >&6
2084 else
2085   echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2087 fi
2088
2089 fi
2090 if test -z "$ac_cv_prog_CC"; then
2091   ac_ct_CC=$CC
2092   # Extract the first word of "gcc", so it can be a program name with args.
2093 set dummy gcc; ac_word=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2097   echo $ECHO_N "(cached) $ECHO_C" >&6
2098 else
2099   if test -n "$ac_ct_CC"; then
2100   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2104 do
2105   IFS=$as_save_IFS
2106   test -z "$as_dir" && as_dir=.
2107   for ac_exec_ext in '' $ac_executable_extensions; do
2108   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109     ac_cv_prog_ac_ct_CC="gcc"
2110     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111     break 2
2112   fi
2113 done
2114 done
2115
2116 fi
2117 fi
2118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6
2122 else
2123   echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2125 fi
2126
2127   CC=$ac_ct_CC
2128 else
2129   CC="$ac_cv_prog_CC"
2130 fi
2131
2132 if test -z "$CC"; then
2133   if test -n "$ac_tool_prefix"; then
2134   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2135 set dummy ${ac_tool_prefix}cc; ac_word=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_CC+set}" = set; then
2139   echo $ECHO_N "(cached) $ECHO_C" >&6
2140 else
2141   if test -n "$CC"; then
2142   ac_cv_prog_CC="$CC" # Let the user override the test.
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2146 do
2147   IFS=$as_save_IFS
2148   test -z "$as_dir" && as_dir=.
2149   for ac_exec_ext in '' $ac_executable_extensions; do
2150   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151     ac_cv_prog_CC="${ac_tool_prefix}cc"
2152     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153     break 2
2154   fi
2155 done
2156 done
2157
2158 fi
2159 fi
2160 CC=$ac_cv_prog_CC
2161 if test -n "$CC"; then
2162   echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6
2164 else
2165   echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6
2167 fi
2168
2169 fi
2170 if test -z "$ac_cv_prog_CC"; then
2171   ac_ct_CC=$CC
2172   # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc; ac_word=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2177   echo $ECHO_N "(cached) $ECHO_C" >&6
2178 else
2179   if test -n "$ac_ct_CC"; then
2180   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2181 else
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 for as_dir in $PATH
2184 do
2185   IFS=$as_save_IFS
2186   test -z "$as_dir" && as_dir=.
2187   for ac_exec_ext in '' $ac_executable_extensions; do
2188   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189     ac_cv_prog_ac_ct_CC="cc"
2190     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191     break 2
2192   fi
2193 done
2194 done
2195
2196 fi
2197 fi
2198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2199 if test -n "$ac_ct_CC"; then
2200   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2201 echo "${ECHO_T}$ac_ct_CC" >&6
2202 else
2203   echo "$as_me:$LINENO: result: no" >&5
2204 echo "${ECHO_T}no" >&6
2205 fi
2206
2207   CC=$ac_ct_CC
2208 else
2209   CC="$ac_cv_prog_CC"
2210 fi
2211
2212 fi
2213 if test -z "$CC"; then
2214   # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc; ac_word=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_CC+set}" = set; then
2219   echo $ECHO_N "(cached) $ECHO_C" >&6
2220 else
2221   if test -n "$CC"; then
2222   ac_cv_prog_CC="$CC" # Let the user override the test.
2223 else
2224   ac_prog_rejected=no
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 for as_dir in $PATH
2227 do
2228   IFS=$as_save_IFS
2229   test -z "$as_dir" && as_dir=.
2230   for ac_exec_ext in '' $ac_executable_extensions; do
2231   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2233        ac_prog_rejected=yes
2234        continue
2235      fi
2236     ac_cv_prog_CC="cc"
2237     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238     break 2
2239   fi
2240 done
2241 done
2242
2243 if test $ac_prog_rejected = yes; then
2244   # We found a bogon in the path, so make sure we never use it.
2245   set dummy $ac_cv_prog_CC
2246   shift
2247   if test $# != 0; then
2248     # We chose a different compiler from the bogus one.
2249     # However, it has the same basename, so the bogon will be chosen
2250     # first if we set CC to just the basename; use the full file name.
2251     shift
2252     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2253   fi
2254 fi
2255 fi
2256 fi
2257 CC=$ac_cv_prog_CC
2258 if test -n "$CC"; then
2259   echo "$as_me:$LINENO: result: $CC" >&5
2260 echo "${ECHO_T}$CC" >&6
2261 else
2262   echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2264 fi
2265
2266 fi
2267 if test -z "$CC"; then
2268   if test -n "$ac_tool_prefix"; then
2269   for ac_prog in cl
2270   do
2271     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276   echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278   if test -n "$CC"; then
2279   ac_cv_prog_CC="$CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2283 do
2284   IFS=$as_save_IFS
2285   test -z "$as_dir" && as_dir=.
2286   for ac_exec_ext in '' $ac_executable_extensions; do
2287   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2289     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290     break 2
2291   fi
2292 done
2293 done
2294
2295 fi
2296 fi
2297 CC=$ac_cv_prog_CC
2298 if test -n "$CC"; then
2299   echo "$as_me:$LINENO: result: $CC" >&5
2300 echo "${ECHO_T}$CC" >&6
2301 else
2302   echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2304 fi
2305
2306     test -n "$CC" && break
2307   done
2308 fi
2309 if test -z "$CC"; then
2310   ac_ct_CC=$CC
2311   for ac_prog in cl
2312 do
2313   # Extract the first word of "$ac_prog", so it can be a program name with args.
2314 set dummy $ac_prog; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2318   echo $ECHO_N "(cached) $ECHO_C" >&6
2319 else
2320   if test -n "$ac_ct_CC"; then
2321   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2322 else
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2325 do
2326   IFS=$as_save_IFS
2327   test -z "$as_dir" && as_dir=.
2328   for ac_exec_ext in '' $ac_executable_extensions; do
2329   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330     ac_cv_prog_ac_ct_CC="$ac_prog"
2331     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332     break 2
2333   fi
2334 done
2335 done
2336
2337 fi
2338 fi
2339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2340 if test -n "$ac_ct_CC"; then
2341   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2342 echo "${ECHO_T}$ac_ct_CC" >&6
2343 else
2344   echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2346 fi
2347
2348   test -n "$ac_ct_CC" && break
2349 done
2350
2351   CC=$ac_ct_CC
2352 fi
2353
2354 fi
2355
2356
2357 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2358 See \`config.log' for more details." >&5
2359 echo "$as_me: error: no acceptable C compiler found in \$PATH
2360 See \`config.log' for more details." >&2;}
2361    { (exit 1); exit 1; }; }
2362
2363 # Provide some information about the compiler.
2364 echo "$as_me:$LINENO:" \
2365      "checking for C compiler version" >&5
2366 ac_compiler=`set X $ac_compile; echo $2`
2367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2368   (eval $ac_compiler --version </dev/null >&5) 2>&5
2369   ac_status=$?
2370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371   (exit $ac_status); }
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2373   (eval $ac_compiler -v </dev/null >&5) 2>&5
2374   ac_status=$?
2375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376   (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2378   (eval $ac_compiler -V </dev/null >&5) 2>&5
2379   ac_status=$?
2380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381   (exit $ac_status); }
2382
2383 cat >conftest.$ac_ext <<_ACEOF
2384 /* confdefs.h.  */
2385 _ACEOF
2386 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h.  */
2389
2390 int
2391 main ()
2392 {
2393
2394   ;
2395   return 0;
2396 }
2397 _ACEOF
2398 # FIXME: Cleanup?
2399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2400   (eval $ac_link) 2>&5
2401   ac_status=$?
2402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403   (exit $ac_status); }; then
2404   gcc_no_link=no
2405 else
2406   gcc_no_link=yes
2407 fi
2408
2409 if test x$gcc_no_link = xyes; then
2410   # Setting cross_compile will disable run tests; it will
2411   # also disable AC_CHECK_FILE but that's generally
2412   # correct if we can't link.
2413   cross_compiling=yes
2414   EXEEXT=
2415 else
2416   cat >conftest.$ac_ext <<_ACEOF
2417 /* confdefs.h.  */
2418 _ACEOF
2419 cat confdefs.h >>conftest.$ac_ext
2420 cat >>conftest.$ac_ext <<_ACEOF
2421 /* end confdefs.h.  */
2422
2423 int
2424 main ()
2425 {
2426
2427   ;
2428   return 0;
2429 }
2430 _ACEOF
2431 ac_clean_files_save=$ac_clean_files
2432 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2433 # Try to create an executable without -o first, disregard a.out.
2434 # It will help us diagnose broken compilers, and finding out an intuition
2435 # of exeext.
2436 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2437 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2438 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2439 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2440   (eval $ac_link_default) 2>&5
2441   ac_status=$?
2442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443   (exit $ac_status); }; then
2444   # Find the output, starting from the most likely.  This scheme is
2445 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2446 # resort.
2447
2448 # Be careful to initialize this variable, since it used to be cached.
2449 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2450 ac_cv_exeext=
2451 # b.out is created by i960 compilers.
2452 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2453 do
2454   test -f "$ac_file" || continue
2455   case $ac_file in
2456     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2457         ;;
2458     conftest.$ac_ext )
2459         # This is the source file.
2460         ;;
2461     [ab].out )
2462         # We found the default executable, but exeext='' is most
2463         # certainly right.
2464         break;;
2465     *.* )
2466         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2467         # FIXME: I believe we export ac_cv_exeext for Libtool,
2468         # but it would be cool to find out if it's true.  Does anybody
2469         # maintain Libtool? --akim.
2470         export ac_cv_exeext
2471         break;;
2472     * )
2473         break;;
2474   esac
2475 done
2476 else
2477   echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2479
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484    { (exit 77); exit 77; }; }
2485 fi
2486
2487 ac_exeext=$ac_cv_exeext
2488 echo "$as_me:$LINENO: result: $ac_file" >&5
2489 echo "${ECHO_T}$ac_file" >&6
2490
2491 # Check the compiler produces executables we can run.  If not, either
2492 # the compiler is broken, or we cross compile.
2493 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2494 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2495 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2496 # If not cross compiling, check that we can run a simple program.
2497 if test "$cross_compiling" != yes; then
2498   if { ac_try='./$ac_file'
2499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500   (eval $ac_try) 2>&5
2501   ac_status=$?
2502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503   (exit $ac_status); }; }; then
2504     cross_compiling=no
2505   else
2506     if test "$cross_compiling" = maybe; then
2507         cross_compiling=yes
2508     else
2509         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515    { (exit 1); exit 1; }; }
2516     fi
2517   fi
2518 fi
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2521
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check the compiler produces executables we can run.  If not, either
2525 # the compiler is broken, or we cross compile.
2526 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2528 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6
2530
2531 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2534   (eval $ac_link) 2>&5
2535   ac_status=$?
2536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537   (exit $ac_status); }; then
2538   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2539 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2540 # work properly (i.e., refer to `conftest.exe'), while it won't with
2541 # `rm'.
2542 for ac_file in conftest.exe conftest conftest.*; do
2543   test -f "$ac_file" || continue
2544   case $ac_file in
2545     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2546     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2547           export ac_cv_exeext
2548           break;;
2549     * ) break;;
2550   esac
2551 done
2552 else
2553   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&5
2555 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2556 See \`config.log' for more details." >&2;}
2557    { (exit 1); exit 1; }; }
2558 fi
2559
2560 rm -f conftest$ac_cv_exeext
2561 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2562 echo "${ECHO_T}$ac_cv_exeext" >&6
2563
2564 rm -f conftest.$ac_ext
2565 EXEEXT=$ac_cv_exeext
2566 ac_exeext=$EXEEXT
2567 fi
2568 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2569 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2570 if test "${ac_cv_objext+set}" = set; then
2571   echo $ECHO_N "(cached) $ECHO_C" >&6
2572 else
2573   cat >conftest.$ac_ext <<_ACEOF
2574 /* confdefs.h.  */
2575 _ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h.  */
2579
2580 int
2581 main ()
2582 {
2583
2584   ;
2585   return 0;
2586 }
2587 _ACEOF
2588 rm -f conftest.o conftest.obj
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590   (eval $ac_compile) 2>&5
2591   ac_status=$?
2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593   (exit $ac_status); }; then
2594   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2595   case $ac_file in
2596     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2597     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2598        break;;
2599   esac
2600 done
2601 else
2602   echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2606 See \`config.log' for more details." >&5
2607 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2608 See \`config.log' for more details." >&2;}
2609    { (exit 1); exit 1; }; }
2610 fi
2611
2612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2613 fi
2614 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2615 echo "${ECHO_T}$ac_cv_objext" >&6
2616 OBJEXT=$ac_cv_objext
2617 ac_objext=$OBJEXT
2618 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2619 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2620 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2621   echo $ECHO_N "(cached) $ECHO_C" >&6
2622 else
2623   cat >conftest.$ac_ext <<_ACEOF
2624 /* confdefs.h.  */
2625 _ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h.  */
2629
2630 int
2631 main ()
2632 {
2633 #ifndef __GNUC__
2634        choke me
2635 #endif
2636
2637   ;
2638   return 0;
2639 }
2640 _ACEOF
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643   (eval $ac_compile) 2>conftest.er1
2644   ac_status=$?
2645   grep -v '^ *+' conftest.er1 >conftest.err
2646   rm -f conftest.er1
2647   cat conftest.err >&5
2648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649   (exit $ac_status); } &&
2650          { ac_try='test -z "$ac_c_werror_flag"
2651                          || test ! -s conftest.err'
2652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653   (eval $ac_try) 2>&5
2654   ac_status=$?
2655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656   (exit $ac_status); }; } &&
2657          { ac_try='test -s conftest.$ac_objext'
2658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659   (eval $ac_try) 2>&5
2660   ac_status=$?
2661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662   (exit $ac_status); }; }; then
2663   ac_compiler_gnu=yes
2664 else
2665   echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2667
2668 ac_compiler_gnu=no
2669 fi
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2672
2673 fi
2674 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2676 GCC=`test $ac_compiler_gnu = yes && echo yes`
2677 ac_test_CFLAGS=${CFLAGS+set}
2678 ac_save_CFLAGS=$CFLAGS
2679 CFLAGS="-g"
2680 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2681 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2682 if test "${ac_cv_prog_cc_g+set}" = set; then
2683   echo $ECHO_N "(cached) $ECHO_C" >&6
2684 else
2685   cat >conftest.$ac_ext <<_ACEOF
2686 /* confdefs.h.  */
2687 _ACEOF
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h.  */
2691
2692 int
2693 main ()
2694 {
2695
2696   ;
2697   return 0;
2698 }
2699 _ACEOF
2700 rm -f conftest.$ac_objext
2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2702   (eval $ac_compile) 2>conftest.er1
2703   ac_status=$?
2704   grep -v '^ *+' conftest.er1 >conftest.err
2705   rm -f conftest.er1
2706   cat conftest.err >&5
2707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708   (exit $ac_status); } &&
2709          { ac_try='test -z "$ac_c_werror_flag"
2710                          || test ! -s conftest.err'
2711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712   (eval $ac_try) 2>&5
2713   ac_status=$?
2714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715   (exit $ac_status); }; } &&
2716          { ac_try='test -s conftest.$ac_objext'
2717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718   (eval $ac_try) 2>&5
2719   ac_status=$?
2720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721   (exit $ac_status); }; }; then
2722   ac_cv_prog_cc_g=yes
2723 else
2724   echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2726
2727 ac_cv_prog_cc_g=no
2728 fi
2729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2730 fi
2731 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2732 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2733 if test "$ac_test_CFLAGS" = set; then
2734   CFLAGS=$ac_save_CFLAGS
2735 elif test $ac_cv_prog_cc_g = yes; then
2736   if test "$GCC" = yes; then
2737     CFLAGS="-g -O2"
2738   else
2739     CFLAGS="-g"
2740   fi
2741 else
2742   if test "$GCC" = yes; then
2743     CFLAGS="-O2"
2744   else
2745     CFLAGS=
2746   fi
2747 fi
2748 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2749 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2750 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2751   echo $ECHO_N "(cached) $ECHO_C" >&6
2752 else
2753   ac_cv_prog_cc_stdc=no
2754 ac_save_CC=$CC
2755 cat >conftest.$ac_ext <<_ACEOF
2756 /* confdefs.h.  */
2757 _ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h.  */
2761 #include <stdarg.h>
2762 #include <stdio.h>
2763 #include <sys/types.h>
2764 #include <sys/stat.h>
2765 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2766 struct buf { int x; };
2767 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2768 static char *e (p, i)
2769      char **p;
2770      int i;
2771 {
2772   return p[i];
2773 }
2774 static char *f (char * (*g) (char **, int), char **p, ...)
2775 {
2776   char *s;
2777   va_list v;
2778   va_start (v,p);
2779   s = g (p, va_arg (v,int));
2780   va_end (v);
2781   return s;
2782 }
2783
2784 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2785    function prototypes and stuff, but not '\xHH' hex character constants.
2786    These don't provoke an error unfortunately, instead are silently treated
2787    as 'x'.  The following induces an error, until -std1 is added to get
2788    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2789    array size at least.  It's necessary to write '\x00'==0 to get something
2790    that's true only with -std1.  */
2791 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2792
2793 int test (int i, double x);
2794 struct s1 {int (*f) (int a);};
2795 struct s2 {int (*f) (double a);};
2796 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2797 int argc;
2798 char **argv;
2799 int
2800 main ()
2801 {
2802 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2803   ;
2804   return 0;
2805 }
2806 _ACEOF
2807 # Don't try gcc -ansi; that turns off useful extensions and
2808 # breaks some systems' header files.
2809 # AIX                   -qlanglvl=ansi
2810 # Ultrix and OSF/1      -std1
2811 # HP-UX 10.20 and later -Ae
2812 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2813 # SVR4                  -Xc -D__EXTENSIONS__
2814 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2815 do
2816   CC="$ac_save_CC $ac_arg"
2817   rm -f conftest.$ac_objext
2818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2819   (eval $ac_compile) 2>conftest.er1
2820   ac_status=$?
2821   grep -v '^ *+' conftest.er1 >conftest.err
2822   rm -f conftest.er1
2823   cat conftest.err >&5
2824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825   (exit $ac_status); } &&
2826          { ac_try='test -z "$ac_c_werror_flag"
2827                          || test ! -s conftest.err'
2828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829   (eval $ac_try) 2>&5
2830   ac_status=$?
2831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832   (exit $ac_status); }; } &&
2833          { ac_try='test -s conftest.$ac_objext'
2834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835   (eval $ac_try) 2>&5
2836   ac_status=$?
2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838   (exit $ac_status); }; }; then
2839   ac_cv_prog_cc_stdc=$ac_arg
2840 break
2841 else
2842   echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 fi
2846 rm -f conftest.err conftest.$ac_objext
2847 done
2848 rm -f conftest.$ac_ext conftest.$ac_objext
2849 CC=$ac_save_CC
2850
2851 fi
2852
2853 case "x$ac_cv_prog_cc_stdc" in
2854   x|xno)
2855     echo "$as_me:$LINENO: result: none needed" >&5
2856 echo "${ECHO_T}none needed" >&6 ;;
2857   *)
2858     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2859 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2860     CC="$CC $ac_cv_prog_cc_stdc" ;;
2861 esac
2862
2863 # Some people use a C++ compiler to compile C.  Since we use `exit',
2864 # in C++ we need to declare it.  In case someone uses the same compiler
2865 # for both compiling C and C++ we need to have the C++ compiler decide
2866 # the declaration of exit, since it's the most demanding environment.
2867 cat >conftest.$ac_ext <<_ACEOF
2868 #ifndef __cplusplus
2869   choke me
2870 #endif
2871 _ACEOF
2872 rm -f conftest.$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874   (eval $ac_compile) 2>conftest.er1
2875   ac_status=$?
2876   grep -v '^ *+' conftest.er1 >conftest.err
2877   rm -f conftest.er1
2878   cat conftest.err >&5
2879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880   (exit $ac_status); } &&
2881          { ac_try='test -z "$ac_c_werror_flag"
2882                          || test ! -s conftest.err'
2883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884   (eval $ac_try) 2>&5
2885   ac_status=$?
2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887   (exit $ac_status); }; } &&
2888          { ac_try='test -s conftest.$ac_objext'
2889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890   (eval $ac_try) 2>&5
2891   ac_status=$?
2892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893   (exit $ac_status); }; }; then
2894   for ac_declaration in \
2895    '' \
2896    'extern "C" void std::exit (int) throw (); using std::exit;' \
2897    'extern "C" void std::exit (int); using std::exit;' \
2898    'extern "C" void exit (int) throw ();' \
2899    'extern "C" void exit (int);' \
2900    'void exit (int);'
2901 do
2902   cat >conftest.$ac_ext <<_ACEOF
2903 /* confdefs.h.  */
2904 _ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h.  */
2908 $ac_declaration
2909 #include <stdlib.h>
2910 int
2911 main ()
2912 {
2913 exit (42);
2914   ;
2915   return 0;
2916 }
2917 _ACEOF
2918 rm -f conftest.$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920   (eval $ac_compile) 2>conftest.er1
2921   ac_status=$?
2922   grep -v '^ *+' conftest.er1 >conftest.err
2923   rm -f conftest.er1
2924   cat conftest.err >&5
2925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926   (exit $ac_status); } &&
2927          { ac_try='test -z "$ac_c_werror_flag"
2928                          || test ! -s conftest.err'
2929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930   (eval $ac_try) 2>&5
2931   ac_status=$?
2932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933   (exit $ac_status); }; } &&
2934          { ac_try='test -s conftest.$ac_objext'
2935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936   (eval $ac_try) 2>&5
2937   ac_status=$?
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); }; }; then
2940   :
2941 else
2942   echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2944
2945 continue
2946 fi
2947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2948   cat >conftest.$ac_ext <<_ACEOF
2949 /* confdefs.h.  */
2950 _ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h.  */
2954 $ac_declaration
2955 int
2956 main ()
2957 {
2958 exit (42);
2959   ;
2960   return 0;
2961 }
2962 _ACEOF
2963 rm -f conftest.$ac_objext
2964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2965   (eval $ac_compile) 2>conftest.er1
2966   ac_status=$?
2967   grep -v '^ *+' conftest.er1 >conftest.err
2968   rm -f conftest.er1
2969   cat conftest.err >&5
2970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971   (exit $ac_status); } &&
2972          { ac_try='test -z "$ac_c_werror_flag"
2973                          || test ! -s conftest.err'
2974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975   (eval $ac_try) 2>&5
2976   ac_status=$?
2977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978   (exit $ac_status); }; } &&
2979          { ac_try='test -s conftest.$ac_objext'
2980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2981   (eval $ac_try) 2>&5
2982   ac_status=$?
2983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984   (exit $ac_status); }; }; then
2985   break
2986 else
2987   echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 fi
2991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2992 done
2993 rm -f conftest*
2994 if test -n "$ac_declaration"; then
2995   echo '#ifdef __cplusplus' >>confdefs.h
2996   echo $ac_declaration      >>confdefs.h
2997   echo '#endif'             >>confdefs.h
2998 fi
2999
3000 else
3001   echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3003
3004 fi
3005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3006 ac_ext=c
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011
3012
3013
3014 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3015 if test "x$GCC" = "xyes"; then
3016   AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3017   ## We like to use C99 routines when available.  This makes sure that
3018   ## __STDC_VERSION__ is set such that libc includes make them available.
3019   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3020   ## Compile the following tests with the same system header contents
3021   ## that we'll encounter when compiling our own source files.
3022   CFLAGS="-std=gnu99 $CFLAGS"
3023 fi
3024
3025
3026
3027 # Find other programs we need.
3028 if test -n "$ac_tool_prefix"; then
3029   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}as; ac_word=$2
3031 echo "$as_me:$LINENO: checking for $ac_word" >&5
3032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3033 if test "${ac_cv_prog_AS+set}" = set; then
3034   echo $ECHO_N "(cached) $ECHO_C" >&6
3035 else
3036   if test -n "$AS"; then
3037   ac_cv_prog_AS="$AS" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3041 do
3042   IFS=$as_save_IFS
3043   test -z "$as_dir" && as_dir=.
3044   for ac_exec_ext in '' $ac_executable_extensions; do
3045   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046     ac_cv_prog_AS="${ac_tool_prefix}as"
3047     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048     break 2
3049   fi
3050 done
3051 done
3052
3053 fi
3054 fi
3055 AS=$ac_cv_prog_AS
3056 if test -n "$AS"; then
3057   echo "$as_me:$LINENO: result: $AS" >&5
3058 echo "${ECHO_T}$AS" >&6
3059 else
3060   echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3062 fi
3063
3064 fi
3065 if test -z "$ac_cv_prog_AS"; then
3066   ac_ct_AS=$AS
3067   # Extract the first word of "as", so it can be a program name with args.
3068 set dummy as; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3072   echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074   if test -n "$ac_ct_AS"; then
3075   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3079 do
3080   IFS=$as_save_IFS
3081   test -z "$as_dir" && as_dir=.
3082   for ac_exec_ext in '' $ac_executable_extensions; do
3083   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084     ac_cv_prog_ac_ct_AS="as"
3085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086     break 2
3087   fi
3088 done
3089 done
3090
3091 fi
3092 fi
3093 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3094 if test -n "$ac_ct_AS"; then
3095   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3096 echo "${ECHO_T}$ac_ct_AS" >&6
3097 else
3098   echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102   AS=$ac_ct_AS
3103 else
3104   AS="$ac_cv_prog_AS"
3105 fi
3106
3107 if test -n "$ac_tool_prefix"; then
3108   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3109 set dummy ${ac_tool_prefix}ar; ac_word=$2
3110 echo "$as_me:$LINENO: checking for $ac_word" >&5
3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3112 if test "${ac_cv_prog_AR+set}" = set; then
3113   echo $ECHO_N "(cached) $ECHO_C" >&6
3114 else
3115   if test -n "$AR"; then
3116   ac_cv_prog_AR="$AR" # Let the user override the test.
3117 else
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 for as_dir in $PATH
3120 do
3121   IFS=$as_save_IFS
3122   test -z "$as_dir" && as_dir=.
3123   for ac_exec_ext in '' $ac_executable_extensions; do
3124   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125     ac_cv_prog_AR="${ac_tool_prefix}ar"
3126     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127     break 2
3128   fi
3129 done
3130 done
3131
3132 fi
3133 fi
3134 AR=$ac_cv_prog_AR
3135 if test -n "$AR"; then
3136   echo "$as_me:$LINENO: result: $AR" >&5
3137 echo "${ECHO_T}$AR" >&6
3138 else
3139   echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143 fi
3144 if test -z "$ac_cv_prog_AR"; then
3145   ac_ct_AR=$AR
3146   # Extract the first word of "ar", so it can be a program name with args.
3147 set dummy ar; ac_word=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3151   echo $ECHO_N "(cached) $ECHO_C" >&6
3152 else
3153   if test -n "$ac_ct_AR"; then
3154   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3155 else
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3158 do
3159   IFS=$as_save_IFS
3160   test -z "$as_dir" && as_dir=.
3161   for ac_exec_ext in '' $ac_executable_extensions; do
3162   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163     ac_cv_prog_ac_ct_AR="ar"
3164     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165     break 2
3166   fi
3167 done
3168 done
3169
3170 fi
3171 fi
3172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3173 if test -n "$ac_ct_AR"; then
3174   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3175 echo "${ECHO_T}$ac_ct_AR" >&6
3176 else
3177   echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3179 fi
3180
3181   AR=$ac_ct_AR
3182 else
3183   AR="$ac_cv_prog_AR"
3184 fi
3185
3186 if test -n "$ac_tool_prefix"; then
3187   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_RANLIB+set}" = set; then
3192   echo $ECHO_N "(cached) $ECHO_C" >&6
3193 else
3194   if test -n "$RANLIB"; then
3195   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3199 do
3200   IFS=$as_save_IFS
3201   test -z "$as_dir" && as_dir=.
3202   for ac_exec_ext in '' $ac_executable_extensions; do
3203   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3206     break 2
3207   fi
3208 done
3209 done
3210
3211 fi
3212 fi
3213 RANLIB=$ac_cv_prog_RANLIB
3214 if test -n "$RANLIB"; then
3215   echo "$as_me:$LINENO: result: $RANLIB" >&5
3216 echo "${ECHO_T}$RANLIB" >&6
3217 else
3218   echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3220 fi
3221
3222 fi
3223 if test -z "$ac_cv_prog_RANLIB"; then
3224   ac_ct_RANLIB=$RANLIB
3225   # Extract the first word of "ranlib", so it can be a program name with args.
3226 set dummy ranlib; ac_word=$2
3227 echo "$as_me:$LINENO: checking for $ac_word" >&5
3228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3230   echo $ECHO_N "(cached) $ECHO_C" >&6
3231 else
3232   if test -n "$ac_ct_RANLIB"; then
3233   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3234 else
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 for as_dir in $PATH
3237 do
3238   IFS=$as_save_IFS
3239   test -z "$as_dir" && as_dir=.
3240   for ac_exec_ext in '' $ac_executable_extensions; do
3241   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242     ac_cv_prog_ac_ct_RANLIB="ranlib"
3243     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3244     break 2
3245   fi
3246 done
3247 done
3248
3249   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3250 fi
3251 fi
3252 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3253 if test -n "$ac_ct_RANLIB"; then
3254   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3255 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3256 else
3257   echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3259 fi
3260
3261   RANLIB=$ac_ct_RANLIB
3262 else
3263   RANLIB="$ac_cv_prog_RANLIB"
3264 fi
3265
3266 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3267 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3268 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3269 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3270   echo $ECHO_N "(cached) $ECHO_C" >&6
3271 else
3272   cat >conftest.make <<\_ACEOF
3273 all:
3274         @echo 'ac_maketemp="$(MAKE)"'
3275 _ACEOF
3276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3277 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3278 if test -n "$ac_maketemp"; then
3279   eval ac_cv_prog_make_${ac_make}_set=yes
3280 else
3281   eval ac_cv_prog_make_${ac_make}_set=no
3282 fi
3283 rm -f conftest.make
3284 fi
3285 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3286   echo "$as_me:$LINENO: result: yes" >&5
3287 echo "${ECHO_T}yes" >&6
3288   SET_MAKE=
3289 else
3290   echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6
3292   SET_MAKE="MAKE=${MAKE-make}"
3293 fi
3294
3295 # Find a good install program.  We prefer a C program (faster),
3296 # so one script is as good as another.  But avoid the broken or
3297 # incompatible versions:
3298 # SysV /etc/install, /usr/sbin/install
3299 # SunOS /usr/etc/install
3300 # IRIX /sbin/install
3301 # AIX /bin/install
3302 # AmigaOS /C/install, which installs bootblocks on floppy discs
3303 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3306 # OS/2's system install, which has a completely different semantic
3307 # ./install, which can be erroneously created by make from ./install.sh.
3308 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3309 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3310 if test -z "$INSTALL"; then
3311 if test "${ac_cv_path_install+set}" = set; then
3312   echo $ECHO_N "(cached) $ECHO_C" >&6
3313 else
3314   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 for as_dir in $PATH
3316 do
3317   IFS=$as_save_IFS
3318   test -z "$as_dir" && as_dir=.
3319   # Account for people who put trailing slashes in PATH elements.
3320 case $as_dir/ in
3321   ./ | .// | /cC/* | \
3322   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3323   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3324   /usr/ucb/* ) ;;
3325   *)
3326     # OSF1 and SCO ODT 3.0 have their own names for install.
3327     # Don't use installbsd from OSF since it installs stuff as root
3328     # by default.
3329     for ac_prog in ginstall scoinst install; do
3330       for ac_exec_ext in '' $ac_executable_extensions; do
3331         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3332           if test $ac_prog = install &&
3333             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3334             # AIX install.  It has an incompatible calling convention.
3335             :
3336           elif test $ac_prog = install &&
3337             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3338             # program-specific install script used by HP pwplus--don't use.
3339             :
3340           else
3341             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3342             break 3
3343           fi
3344         fi
3345       done
3346     done
3347     ;;
3348 esac
3349 done
3350
3351
3352 fi
3353   if test "${ac_cv_path_install+set}" = set; then
3354     INSTALL=$ac_cv_path_install
3355   else
3356     # As a last resort, use the slow shell script.  We don't cache a
3357     # path for INSTALL within a source directory, because that will
3358     # break other packages using the cache if that directory is
3359     # removed, or if the path is relative.
3360     INSTALL=$ac_install_sh
3361   fi
3362 fi
3363 echo "$as_me:$LINENO: result: $INSTALL" >&5
3364 echo "${ECHO_T}$INSTALL" >&6
3365
3366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3367 # It thinks the first close brace ends the variable substitution.
3368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3369
3370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3371
3372 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3373
3374
3375 # Configure libtool
3376 #AC_MSG_NOTICE([====== Starting libtool configuration])
3377
3378 # Check whether --enable-shared or --disable-shared was given.
3379 if test "${enable_shared+set}" = set; then
3380   enableval="$enable_shared"
3381   p=${PACKAGE-default}
3382 case $enableval in
3383 yes) enable_shared=yes ;;
3384 no) enable_shared=no ;;
3385 *)
3386   enable_shared=no
3387   # Look at the argument we got.  We use all the common list separators.
3388   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3389   for pkg in $enableval; do
3390     if test "X$pkg" = "X$p"; then
3391       enable_shared=yes
3392     fi
3393   done
3394   IFS="$ac_save_ifs"
3395   ;;
3396 esac
3397 else
3398   enable_shared=yes
3399 fi;
3400 # Check whether --enable-static or --disable-static was given.
3401 if test "${enable_static+set}" = set; then
3402   enableval="$enable_static"
3403   p=${PACKAGE-default}
3404 case $enableval in
3405 yes) enable_static=yes ;;
3406 no) enable_static=no ;;
3407 *)
3408   enable_static=no
3409   # Look at the argument we got.  We use all the common list separators.
3410   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3411   for pkg in $enableval; do
3412     if test "X$pkg" = "X$p"; then
3413       enable_static=yes
3414     fi
3415   done
3416   IFS="$ac_save_ifs"
3417   ;;
3418 esac
3419 else
3420   enable_static=yes
3421 fi;
3422 # Check whether --enable-fast-install or --disable-fast-install was given.
3423 if test "${enable_fast_install+set}" = set; then
3424   enableval="$enable_fast_install"
3425   p=${PACKAGE-default}
3426 case $enableval in
3427 yes) enable_fast_install=yes ;;
3428 no) enable_fast_install=no ;;
3429 *)
3430   enable_fast_install=no
3431   # Look at the argument we got.  We use all the common list separators.
3432   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3433   for pkg in $enableval; do
3434     if test "X$pkg" = "X$p"; then
3435       enable_fast_install=yes
3436     fi
3437   done
3438   IFS="$ac_save_ifs"
3439   ;;
3440 esac
3441 else
3442   enable_fast_install=yes
3443 fi;
3444
3445 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3446 if test "${with_gnu_ld+set}" = set; then
3447   withval="$with_gnu_ld"
3448   test "$withval" = no || with_gnu_ld=yes
3449 else
3450   with_gnu_ld=no
3451 fi;
3452 ac_prog=ld
3453 if test "$GCC" = yes; then
3454   # Check if gcc -print-prog-name=ld gives a path.
3455   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3456 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3457   case $host in
3458   *-*-mingw*)
3459     # gcc leaves a trailing carriage return which upsets mingw
3460     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3461   *)
3462     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3463   esac
3464   case $ac_prog in
3465     # Accept absolute paths.
3466     [\\/]* | [A-Za-z]:[\\/]*)
3467       re_direlt='/[^/][^/]*/\.\./'
3468       # Canonicalize the path of ld
3469       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3470       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3471         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3472       done
3473       test -z "$LD" && LD="$ac_prog"
3474       ;;
3475   "")
3476     # If it fails, then pretend we aren't using GCC.
3477     ac_prog=ld
3478     ;;
3479   *)
3480     # If it is relative, then search for the first ld in PATH.
3481     with_gnu_ld=unknown
3482     ;;
3483   esac
3484 elif test "$with_gnu_ld" = yes; then
3485   echo "$as_me:$LINENO: checking for GNU ld" >&5
3486 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3487 else
3488   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3489 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3490 fi
3491 if test "${lt_cv_path_LD+set}" = set; then
3492   echo $ECHO_N "(cached) $ECHO_C" >&6
3493 else
3494   if test -z "$LD"; then
3495   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3496   for ac_dir in $PATH; do
3497     test -z "$ac_dir" && ac_dir=.
3498     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3499       lt_cv_path_LD="$ac_dir/$ac_prog"
3500       # Check to see if the program is GNU ld.  I'd rather use --version,
3501       # but apparently some GNU ld's only accept -v.
3502       # Break only if it was the GNU/non-GNU ld that we prefer.
3503       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3504         test "$with_gnu_ld" != no && break
3505       else
3506         test "$with_gnu_ld" != yes && break
3507       fi
3508     fi
3509   done
3510   IFS="$ac_save_ifs"
3511 else
3512   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3513 fi
3514 fi
3515
3516 LD="$lt_cv_path_LD"
3517 if test -n "$LD"; then
3518   echo "$as_me:$LINENO: result: $LD" >&5
3519 echo "${ECHO_T}$LD" >&6
3520 else
3521   echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3523 fi
3524 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3525 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3526    { (exit 1); exit 1; }; }
3527 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3528 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3529 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3530   echo $ECHO_N "(cached) $ECHO_C" >&6
3531 else
3532   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3533 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3534   lt_cv_prog_gnu_ld=yes
3535 else
3536   lt_cv_prog_gnu_ld=no
3537 fi
3538 fi
3539 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3540 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3541 with_gnu_ld=$lt_cv_prog_gnu_ld
3542
3543
3544 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3545 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3546 if test "${lt_cv_ld_reload_flag+set}" = set; then
3547   echo $ECHO_N "(cached) $ECHO_C" >&6
3548 else
3549   lt_cv_ld_reload_flag='-r'
3550 fi
3551 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3552 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3553 reload_flag=$lt_cv_ld_reload_flag
3554 test -n "$reload_flag" && reload_flag=" $reload_flag"
3555
3556 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3557 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3558 if test "${lt_cv_path_NM+set}" = set; then
3559   echo $ECHO_N "(cached) $ECHO_C" >&6
3560 else
3561   if test -n "$NM"; then
3562   # Let the user override the test.
3563   lt_cv_path_NM="$NM"
3564 else
3565   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3566   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3567     test -z "$ac_dir" && ac_dir=.
3568     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3569     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3570       # Check to see if the nm accepts a BSD-compat flag.
3571       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3572       #   nm: unknown option "B" ignored
3573       # Tru64's nm complains that /dev/null is an invalid object file
3574       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3575         lt_cv_path_NM="$tmp_nm -B"
3576         break
3577       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3578         lt_cv_path_NM="$tmp_nm -p"
3579         break
3580       else
3581         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3582         continue # so that we can try to find one that supports BSD flags
3583       fi
3584     fi
3585   done
3586   IFS="$ac_save_ifs"
3587   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3588 fi
3589 fi
3590
3591 NM="$lt_cv_path_NM"
3592 echo "$as_me:$LINENO: result: $NM" >&5
3593 echo "${ECHO_T}$NM" >&6
3594
3595 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3597 LN_S=$as_ln_s
3598 if test "$LN_S" = "ln -s"; then
3599   echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 else
3602   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3603 echo "${ECHO_T}no, using $LN_S" >&6
3604 fi
3605
3606 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3607 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3608 if test "${lt_cv_deplibs_check_method+set}" = set; then
3609   echo $ECHO_N "(cached) $ECHO_C" >&6
3610 else
3611   lt_cv_file_magic_cmd='$MAGIC_CMD'
3612 lt_cv_file_magic_test_file=
3613 lt_cv_deplibs_check_method='unknown'
3614 # Need to set the preceding variable on all platforms that support
3615 # interlibrary dependencies.
3616 # 'none' -- dependencies not supported.
3617 # `unknown' -- same as none, but documents that we really don't know.
3618 # 'pass_all' -- all dependencies passed with no checks.
3619 # 'test_compile' -- check by making test program.
3620 # 'file_magic [regex]' -- check by looking for files in library path
3621 # which responds to the $file_magic_cmd with a given egrep regex.
3622 # If you have `file' or equivalent on your system and you're not sure
3623 # whether `pass_all' will *always* work, you probably want this one.
3624
3625 case $host_os in
3626 aix*)
3627   lt_cv_deplibs_check_method=pass_all
3628   ;;
3629
3630 beos*)
3631   lt_cv_deplibs_check_method=pass_all
3632   ;;
3633
3634 bsdi4*)
3635   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3636   lt_cv_file_magic_cmd='/usr/bin/file -L'
3637   lt_cv_file_magic_test_file=/shlib/libc.so
3638   ;;
3639
3640 cygwin* | mingw* |pw32*)
3641   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3642   lt_cv_file_magic_cmd='$OBJDUMP -f'
3643   ;;
3644
3645 darwin* | rhapsody*)
3646   # this will be overwritten by pass_all, but leave it in just in case
3647   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3648   lt_cv_file_magic_cmd='/usr/bin/file -L'
3649   case "$host_os" in
3650   rhapsody* | darwin1.012)
3651     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3652     ;;
3653   *) # Darwin 1.3 on
3654     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3655     ;;
3656   esac
3657   lt_cv_deplibs_check_method=pass_all
3658   ;;
3659
3660 freebsd* | kfreebsd*-gnu)
3661   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3662     case $host_cpu in
3663     i*86 )
3664       # Not sure whether the presence of OpenBSD here was a mistake.
3665       # Let's accept both of them until this is cleared up.
3666       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3667       lt_cv_file_magic_cmd=/usr/bin/file
3668       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3669       ;;
3670     esac
3671   else
3672     lt_cv_deplibs_check_method=pass_all
3673   fi
3674   ;;
3675
3676 gnu*)
3677   lt_cv_deplibs_check_method=pass_all
3678   ;;
3679
3680 hpux10.20*|hpux11*)
3681   case $host_cpu in
3682   hppa*)
3683     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3684     lt_cv_file_magic_cmd=/usr/bin/file
3685     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3686     ;;
3687   ia64*)
3688     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3689     lt_cv_file_magic_cmd=/usr/bin/file
3690     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3691     ;;
3692   esac
3693   ;;
3694
3695 irix5* | irix6*)
3696   case $host_os in
3697   irix5*)
3698     # this will be overridden with pass_all, but let us keep it just in case
3699     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3700     ;;
3701   *)
3702     case $LD in
3703     *-32|*"-32 ") libmagic=32-bit;;
3704     *-n32|*"-n32 ") libmagic=N32;;
3705     *-64|*"-64 ") libmagic=64-bit;;
3706     *) libmagic=never-match;;
3707     esac
3708     # this will be overridden with pass_all, but let us keep it just in case
3709     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3710     ;;
3711   esac
3712   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3713   lt_cv_deplibs_check_method=pass_all
3714   ;;
3715
3716 # This must be Linux ELF.
3717 linux-gnu*)
3718   lt_cv_deplibs_check_method=pass_all
3719   ;;
3720
3721 netbsd* | knetbsd*-gnu)
3722   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3723     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3724   else
3725     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3726   fi
3727   ;;
3728
3729 newsos6)
3730   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3731   lt_cv_file_magic_cmd=/usr/bin/file
3732   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3733   ;;
3734
3735 osf3* | osf4* | osf5*)
3736   # this will be overridden with pass_all, but let us keep it just in case
3737   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3738   lt_cv_file_magic_test_file=/shlib/libc.so
3739   lt_cv_deplibs_check_method=pass_all
3740   ;;
3741
3742 sco3.2v5*)
3743   lt_cv_deplibs_check_method=pass_all
3744   ;;
3745
3746 solaris*)
3747   lt_cv_deplibs_check_method=pass_all
3748   lt_cv_file_magic_test_file=/lib/libc.so
3749   ;;
3750
3751 sysv5uw[78]* | sysv4*uw2*)
3752   lt_cv_deplibs_check_method=pass_all
3753   ;;
3754
3755 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3756   case $host_vendor in
3757   ncr)
3758     lt_cv_deplibs_check_method=pass_all
3759     ;;
3760   motorola)
3761     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3762     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3763     ;;
3764   esac
3765   ;;
3766 esac
3767
3768 fi
3769 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3770 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3771 file_magic_cmd=$lt_cv_file_magic_cmd
3772 deplibs_check_method=$lt_cv_deplibs_check_method
3773
3774
3775
3776
3777
3778 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3779
3780 # find the maximum length of command line arguments
3781 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3782 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3783 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3784   echo $ECHO_N "(cached) $ECHO_C" >&6
3785 else
3786     i=0
3787   teststring="ABCD"
3788
3789   case $build_os in
3790   msdosdjgpp*)
3791     # On DJGPP, this test can blow up pretty badly due to problems in libc
3792     # (any single argument exceeding 2000 bytes causes a buffer overrun
3793     # during glob expansion).  Even if it were fixed, the result of this
3794     # check would be larger than it should be.
3795     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3796     ;;
3797
3798   cygwin* | mingw*)
3799     # On Win9x/ME, this test blows up -- it succeeds, but takes
3800     # about 5 minutes as the teststring grows exponentially.
3801     # Worse, since 9x/ME are not pre-emptively multitasking,
3802     # you end up with a "frozen" computer, even though with patience
3803     # the test eventually succeeds (with a max line length of 256k).
3804     # Instead, let's just punt: use the minimum linelength reported by
3805     # all of the supported platforms: 8192 (on NT/2K/XP).
3806     lt_cv_sys_max_cmd_len=8192;
3807     ;;
3808
3809   amigaos*)
3810     # On AmigaOS with pdksh, this test takes hours, literally.
3811     # So we just punt and use a minimum line length of 8192.
3812     lt_cv_sys_max_cmd_len=8192;
3813     ;;
3814
3815   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3816     # This has been around since 386BSD, at least.  Likely further.
3817     if test -x /sbin/sysctl; then
3818       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3819     elif test -x /usr/sbin/sysctl; then
3820       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3821     else
3822       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3823     fi
3824     # And add a safety zone
3825     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3826     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3827     ;;
3828   esac
3829
3830 fi
3831
3832 if test -n "$lt_cv_sys_max_cmd_len" ; then
3833   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3834 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3835 else
3836   echo "$as_me:$LINENO: result: none" >&5
3837 echo "${ECHO_T}none" >&6
3838 fi
3839
3840
3841 # Only perform the check for file, if the check method requires it
3842 case $deplibs_check_method in
3843 file_magic*)
3844   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3845     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3846 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3847 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3848   echo $ECHO_N "(cached) $ECHO_C" >&6
3849 else
3850   case $MAGIC_CMD in
3851   /*)
3852   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3853   ;;
3854   ?:/*)
3855   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3856   ;;
3857   *)
3858   ac_save_MAGIC_CMD="$MAGIC_CMD"
3859   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3860   ac_dummy="/usr/bin:$PATH"
3861   for ac_dir in $ac_dummy; do
3862     test -z "$ac_dir" && ac_dir=.
3863     if test -f $ac_dir/${ac_tool_prefix}file; then
3864       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3865       if test -n "$file_magic_test_file"; then
3866         case $deplibs_check_method in
3867         "file_magic "*)
3868           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3869           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3870           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3871             egrep "$file_magic_regex" > /dev/null; then
3872             :
3873           else
3874             cat <<EOF 1>&2
3875
3876 *** Warning: the command libtool uses to detect shared libraries,
3877 *** $file_magic_cmd, produces output that libtool cannot recognize.
3878 *** The result is that libtool may fail to recognize shared libraries
3879 *** as such.  This will affect the creation of libtool libraries that
3880 *** depend on shared libraries, but programs linked with such libtool
3881 *** libraries will work regardless of this problem.  Nevertheless, you
3882 *** may want to report the problem to your system manager and/or to
3883 *** bug-libtool@gnu.org
3884
3885 EOF
3886           fi ;;
3887         esac
3888       fi
3889       break
3890     fi
3891   done
3892   IFS="$ac_save_ifs"
3893   MAGIC_CMD="$ac_save_MAGIC_CMD"
3894   ;;
3895 esac
3896 fi
3897
3898 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3899 if test -n "$MAGIC_CMD"; then
3900   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3901 echo "${ECHO_T}$MAGIC_CMD" >&6
3902 else
3903   echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3905 fi
3906
3907 if test -z "$lt_cv_path_MAGIC_CMD"; then
3908   if test -n "$ac_tool_prefix"; then
3909     echo "$as_me:$LINENO: checking for file" >&5
3910 echo $ECHO_N "checking for file... $ECHO_C" >&6
3911 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3912   echo $ECHO_N "(cached) $ECHO_C" >&6
3913 else
3914   case $MAGIC_CMD in
3915   /*)
3916   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3917   ;;
3918   ?:/*)
3919   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3920   ;;
3921   *)
3922   ac_save_MAGIC_CMD="$MAGIC_CMD"
3923   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3924   ac_dummy="/usr/bin:$PATH"
3925   for ac_dir in $ac_dummy; do
3926     test -z "$ac_dir" && ac_dir=.
3927     if test -f $ac_dir/file; then
3928       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3929       if test -n "$file_magic_test_file"; then
3930         case $deplibs_check_method in
3931         "file_magic "*)
3932           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3933           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3934           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3935             egrep "$file_magic_regex" > /dev/null; then
3936             :
3937           else
3938             cat <<EOF 1>&2
3939
3940 *** Warning: the command libtool uses to detect shared libraries,
3941 *** $file_magic_cmd, produces output that libtool cannot recognize.
3942 *** The result is that libtool may fail to recognize shared libraries
3943 *** as such.  This will affect the creation of libtool libraries that
3944 *** depend on shared libraries, but programs linked with such libtool
3945 *** libraries will work regardless of this problem.  Nevertheless, you
3946 *** may want to report the problem to your system manager and/or to
3947 *** bug-libtool@gnu.org
3948
3949 EOF
3950           fi ;;
3951         esac
3952       fi
3953       break
3954     fi
3955   done
3956   IFS="$ac_save_ifs"
3957   MAGIC_CMD="$ac_save_MAGIC_CMD"
3958   ;;
3959 esac
3960 fi
3961
3962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3963 if test -n "$MAGIC_CMD"; then
3964   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3965 echo "${ECHO_T}$MAGIC_CMD" >&6
3966 else
3967   echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3969 fi
3970
3971   else
3972     MAGIC_CMD=:
3973   fi
3974 fi
3975
3976   fi
3977   ;;
3978 esac
3979
3980 if test -n "$ac_tool_prefix"; then
3981   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3983 echo "$as_me:$LINENO: checking for $ac_word" >&5
3984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3985 if test "${ac_cv_prog_RANLIB+set}" = set; then
3986   echo $ECHO_N "(cached) $ECHO_C" >&6
3987 else
3988   if test -n "$RANLIB"; then
3989   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3993 do
3994   IFS=$as_save_IFS
3995   test -z "$as_dir" && as_dir=.
3996   for ac_exec_ext in '' $ac_executable_extensions; do
3997   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3999     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4000     break 2
4001   fi
4002 done
4003 done
4004
4005 fi
4006 fi
4007 RANLIB=$ac_cv_prog_RANLIB
4008 if test -n "$RANLIB"; then
4009   echo "$as_me:$LINENO: result: $RANLIB" >&5
4010 echo "${ECHO_T}$RANLIB" >&6
4011 else
4012   echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4014 fi
4015
4016 fi
4017 if test -z "$ac_cv_prog_RANLIB"; then
4018   ac_ct_RANLIB=$RANLIB
4019   # Extract the first word of "ranlib", so it can be a program name with args.
4020 set dummy ranlib; ac_word=$2
4021 echo "$as_me:$LINENO: checking for $ac_word" >&5
4022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4023 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4024   echo $ECHO_N "(cached) $ECHO_C" >&6
4025 else
4026   if test -n "$ac_ct_RANLIB"; then
4027   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4028 else
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 for as_dir in $PATH
4031 do
4032   IFS=$as_save_IFS
4033   test -z "$as_dir" && as_dir=.
4034   for ac_exec_ext in '' $ac_executable_extensions; do
4035   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4036     ac_cv_prog_ac_ct_RANLIB="ranlib"
4037     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4038     break 2
4039   fi
4040 done
4041 done
4042
4043   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4044 fi
4045 fi
4046 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4047 if test -n "$ac_ct_RANLIB"; then
4048   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4049 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4050 else
4051   echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4053 fi
4054
4055   RANLIB=$ac_ct_RANLIB
4056 else
4057   RANLIB="$ac_cv_prog_RANLIB"
4058 fi
4059
4060 if test -n "$ac_tool_prefix"; then
4061   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4062 set dummy ${ac_tool_prefix}strip; ac_word=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_STRIP+set}" = set; then
4066   echo $ECHO_N "(cached) $ECHO_C" >&6
4067 else
4068   if test -n "$STRIP"; then
4069   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4073 do
4074   IFS=$as_save_IFS
4075   test -z "$as_dir" && as_dir=.
4076   for ac_exec_ext in '' $ac_executable_extensions; do
4077   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4080     break 2
4081   fi
4082 done
4083 done
4084
4085 fi
4086 fi
4087 STRIP=$ac_cv_prog_STRIP
4088 if test -n "$STRIP"; then
4089   echo "$as_me:$LINENO: result: $STRIP" >&5
4090 echo "${ECHO_T}$STRIP" >&6
4091 else
4092   echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6
4094 fi
4095
4096 fi
4097 if test -z "$ac_cv_prog_STRIP"; then
4098   ac_ct_STRIP=$STRIP
4099   # Extract the first word of "strip", so it can be a program name with args.
4100 set dummy strip; ac_word=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4104   echo $ECHO_N "(cached) $ECHO_C" >&6
4105 else
4106   if test -n "$ac_ct_STRIP"; then
4107   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4108 else
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 for as_dir in $PATH
4111 do
4112   IFS=$as_save_IFS
4113   test -z "$as_dir" && as_dir=.
4114   for ac_exec_ext in '' $ac_executable_extensions; do
4115   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116     ac_cv_prog_ac_ct_STRIP="strip"
4117     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4118     break 2
4119   fi
4120 done
4121 done
4122
4123   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4124 fi
4125 fi
4126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4127 if test -n "$ac_ct_STRIP"; then
4128   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4129 echo "${ECHO_T}$ac_ct_STRIP" >&6
4130 else
4131   echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4133 fi
4134
4135   STRIP=$ac_ct_STRIP
4136 else
4137   STRIP="$ac_cv_prog_STRIP"
4138 fi
4139
4140
4141 # Check for any special flags to pass to ltconfig.
4142 libtool_flags="--cache-file=$cache_file"
4143 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4144 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4145 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4146 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4147 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4148
4149
4150 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4151 if test "${enable_libtool_lock+set}" = set; then
4152   enableval="$enable_libtool_lock"
4153
4154 fi;
4155 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4156 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4157
4158
4159 # Check whether --with-pic or --without-pic was given.
4160 if test "${with_pic+set}" = set; then
4161   withval="$with_pic"
4162   pic_mode="$withval"
4163 else
4164   pic_mode=default
4165 fi;
4166 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4167 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4168
4169 # Some flags need to be propagated to the compiler or linker for good
4170 # libtool support.
4171 case $host in
4172 *-*-irix6*)
4173   # Find out which ABI we are using.
4174   echo '#line 4174 "configure"' > conftest.$ac_ext
4175   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176   (eval $ac_compile) 2>&5
4177   ac_status=$?
4178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179   (exit $ac_status); }; then
4180    if test "$lt_cv_prog_gnu_ld" = yes; then
4181     case `/usr/bin/file conftest.$ac_objext` in
4182     *32-bit*)
4183       LD="${LD-ld} -melf32bsmip"
4184       ;;
4185     *N32*)
4186       LD="${LD-ld} -melf32bmipn32"
4187       ;;
4188     *64-bit*)
4189       LD="${LD-ld} -melf64bmip"
4190       ;;
4191     esac
4192    else
4193     case `/usr/bin/file conftest.$ac_objext` in
4194     *32-bit*)
4195       LD="${LD-ld} -32"
4196       ;;
4197     *N32*)
4198       LD="${LD-ld} -n32"
4199       ;;
4200     *64-bit*)
4201       LD="${LD-ld} -64"
4202       ;;
4203     esac
4204    fi
4205   fi
4206   rm -rf conftest*
4207   ;;
4208
4209 ia64-*-hpux*)
4210   # Find out which ABI we are using.
4211   echo 'int i;' > conftest.$ac_ext
4212   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4213   (eval $ac_compile) 2>&5
4214   ac_status=$?
4215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216   (exit $ac_status); }; then
4217     case "`/usr/bin/file conftest.o`" in
4218     *ELF-32*)
4219       HPUX_IA64_MODE="32"
4220       ;;
4221     *ELF-64*)
4222       HPUX_IA64_MODE="64"
4223       ;;
4224     esac
4225   fi
4226   rm -rf conftest*
4227   ;;
4228
4229 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4230   # Find out which ABI we are using.
4231   echo 'int i;' > conftest.$ac_ext
4232   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233   (eval $ac_compile) 2>&5
4234   ac_status=$?
4235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236   (exit $ac_status); }; then
4237     case "`/usr/bin/file conftest.o`" in
4238     *32-bit*)
4239       case $host in
4240         x86_64-*linux*)
4241           LD="${LD-ld} -m elf_i386"
4242           ;;
4243         ppc64-*linux*|powerpc64-*linux*)
4244           LD="${LD-ld} -m elf32ppclinux"
4245           ;;
4246         s390x-*linux*)
4247           LD="${LD-ld} -m elf_s390"
4248           ;;
4249         sparc64-*linux*)
4250           LD="${LD-ld} -m elf32_sparc"
4251           ;;
4252       esac
4253       ;;
4254     *64-bit*)
4255       case $host in
4256         x86_64-*linux*)
4257           LD="${LD-ld} -m elf_x86_64"
4258           ;;
4259         ppc*-*linux*|powerpc*-*linux*)
4260           LD="${LD-ld} -m elf64ppc"
4261           ;;
4262         s390*-*linux*)
4263           LD="${LD-ld} -m elf64_s390"
4264           ;;
4265         sparc*-*linux*)
4266           LD="${LD-ld} -m elf64_sparc"
4267           ;;
4268       esac
4269       ;;
4270     esac
4271   fi
4272   rm -rf conftest*
4273   ;;
4274
4275 *-*-sco3.2v5*)
4276   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4277   SAVE_CFLAGS="$CFLAGS"
4278   CFLAGS="$CFLAGS -belf"
4279   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4280 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4281 if test "${lt_cv_cc_needs_belf+set}" = set; then
4282   echo $ECHO_N "(cached) $ECHO_C" >&6
4283 else
4284
4285
4286      ac_ext=c
4287 ac_cpp='$CPP $CPPFLAGS'
4288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4291
4292      if test x$gcc_no_link = xyes; then
4293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4295    { (exit 1); exit 1; }; }
4296 fi
4297 cat >conftest.$ac_ext <<_ACEOF
4298 /* confdefs.h.  */
4299 _ACEOF
4300 cat confdefs.h >>conftest.$ac_ext
4301 cat >>conftest.$ac_ext <<_ACEOF
4302 /* end confdefs.h.  */
4303
4304 int
4305 main ()
4306 {
4307
4308   ;
4309   return 0;
4310 }
4311 _ACEOF
4312 rm -f conftest.$ac_objext conftest$ac_exeext
4313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4314   (eval $ac_link) 2>conftest.er1
4315   ac_status=$?
4316   grep -v '^ *+' conftest.er1 >conftest.err
4317   rm -f conftest.er1
4318   cat conftest.err >&5
4319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320   (exit $ac_status); } &&
4321          { ac_try='test -z "$ac_c_werror_flag"
4322                          || test ! -s conftest.err'
4323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4324   (eval $ac_try) 2>&5
4325   ac_status=$?
4326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327   (exit $ac_status); }; } &&
4328          { ac_try='test -s conftest$ac_exeext'
4329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330   (eval $ac_try) 2>&5
4331   ac_status=$?
4332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333   (exit $ac_status); }; }; then
4334   lt_cv_cc_needs_belf=yes
4335 else
4336   echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.$ac_ext >&5
4338
4339 lt_cv_cc_needs_belf=no
4340 fi
4341 rm -f conftest.err conftest.$ac_objext \
4342       conftest$ac_exeext conftest.$ac_ext
4343      ac_ext=c
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348
4349 fi
4350 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4351 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4352   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4353     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4354     CFLAGS="$SAVE_CFLAGS"
4355   fi
4356   ;;
4357
4358
4359 esac
4360
4361
4362 # Save cache, so that ltconfig can load it
4363 cat >confcache <<\_ACEOF
4364 # This file is a shell script that caches the results of configure
4365 # tests run on this system so they can be shared between configure
4366 # scripts and configure runs, see configure's option --config-cache.
4367 # It is not useful on other systems.  If it contains results you don't
4368 # want to keep, you may remove or edit it.
4369 #
4370 # config.status only pays attention to the cache file if you give it
4371 # the --recheck option to rerun configure.
4372 #
4373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4375 # following values.
4376
4377 _ACEOF
4378
4379 # The following way of writing the cache mishandles newlines in values,
4380 # but we know of no workaround that is simple, portable, and efficient.
4381 # So, don't put newlines in cache variables' values.
4382 # Ultrix sh set writes to stderr and can't be redirected directly,
4383 # and sets the high bit in the cache file unless we assign to the vars.
4384 {
4385   (set) 2>&1 |
4386     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4387     *ac_space=\ *)
4388       # `set' does not quote correctly, so add quotes (double-quote
4389       # substitution turns \\\\ into \\, and sed turns \\ into \).
4390       sed -n \
4391         "s/'/'\\\\''/g;
4392           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4393       ;;
4394     *)
4395       # `set' quotes correctly as required by POSIX, so do not add quotes.
4396       sed -n \
4397         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4398       ;;
4399     esac;
4400 } |
4401   sed '
4402      t clear
4403      : clear
4404      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4405      t end
4406      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4407      : end' >>confcache
4408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4409   if test -w $cache_file; then
4410     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4411     cat confcache >$cache_file
4412   else
4413     echo "not updating unwritable cache $cache_file"
4414   fi
4415 fi
4416 rm -f confcache
4417
4418 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4419 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4420 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4421 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4422 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4423 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4424 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4425 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4426 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4427 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4428 echo "$as_me: error: libtool configure failed" >&2;}
4429    { (exit 1); exit 1; }; }
4430
4431 # Reload cache, that may have been modified by ltconfig
4432 if test -r "$cache_file"; then
4433   # Some versions of bash will fail to source /dev/null (special
4434   # files actually), so we avoid doing that.
4435   if test -f "$cache_file"; then
4436     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4437 echo "$as_me: loading cache $cache_file" >&6;}
4438     case $cache_file in
4439       [\\/]* | ?:[\\/]* ) . $cache_file;;
4440       *)                      . ./$cache_file;;
4441     esac
4442   fi
4443 else
4444   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4445 echo "$as_me: creating cache $cache_file" >&6;}
4446   >$cache_file
4447 fi
4448
4449
4450 # This can be used to rebuild libtool when needed
4451 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4452
4453 # Always use our own libtool.
4454 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4455
4456 # Redirect the config.log output again, so that the ltconfig log is not
4457 # clobbered by the next message.
4458 exec 5>>./config.log
4459
4460
4461
4462
4463
4464
4465
4466
4467 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4468
4469 # We need gfortran to compile parts of the library
4470 #AC_PROG_FC(gfortran)
4471 FC="$GFORTRAN"
4472 ac_ext=${FC_SRCEXT-f}
4473 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4474 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4475 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4476 if test -n "$ac_tool_prefix"; then
4477   for ac_prog in gfortran
4478   do
4479     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4483 if test "${ac_cv_prog_FC+set}" = set; then
4484   echo $ECHO_N "(cached) $ECHO_C" >&6
4485 else
4486   if test -n "$FC"; then
4487   ac_cv_prog_FC="$FC" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4491 do
4492   IFS=$as_save_IFS
4493   test -z "$as_dir" && as_dir=.
4494   for ac_exec_ext in '' $ac_executable_extensions; do
4495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498     break 2
4499   fi
4500 done
4501 done
4502
4503 fi
4504 fi
4505 FC=$ac_cv_prog_FC
4506 if test -n "$FC"; then
4507   echo "$as_me:$LINENO: result: $FC" >&5
4508 echo "${ECHO_T}$FC" >&6
4509 else
4510   echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4512 fi
4513
4514     test -n "$FC" && break
4515   done
4516 fi
4517 if test -z "$FC"; then
4518   ac_ct_FC=$FC
4519   for ac_prog in gfortran
4520 do
4521   # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4526   echo $ECHO_N "(cached) $ECHO_C" >&6
4527 else
4528   if test -n "$ac_ct_FC"; then
4529   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4533 do
4534   IFS=$as_save_IFS
4535   test -z "$as_dir" && as_dir=.
4536   for ac_exec_ext in '' $ac_executable_extensions; do
4537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538     ac_cv_prog_ac_ct_FC="$ac_prog"
4539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540     break 2
4541   fi
4542 done
4543 done
4544
4545 fi
4546 fi
4547 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4548 if test -n "$ac_ct_FC"; then
4549   echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4550 echo "${ECHO_T}$ac_ct_FC" >&6
4551 else
4552   echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4554 fi
4555
4556   test -n "$ac_ct_FC" && break
4557 done
4558
4559   FC=$ac_ct_FC
4560 fi
4561
4562
4563 # Provide some information about the compiler.
4564 echo "$as_me:4564:" \
4565      "checking for Fortran compiler version" >&5
4566 ac_compiler=`set X $ac_compile; echo $2`
4567 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4568   (eval $ac_compiler --version </dev/null >&5) 2>&5
4569   ac_status=$?
4570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571   (exit $ac_status); }
4572 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4573   (eval $ac_compiler -v </dev/null >&5) 2>&5
4574   ac_status=$?
4575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576   (exit $ac_status); }
4577 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4578   (eval $ac_compiler -V </dev/null >&5) 2>&5
4579   ac_status=$?
4580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581   (exit $ac_status); }
4582 rm -f a.out
4583
4584 # If we don't use `.F' as extension, the preprocessor is not run on the
4585 # input file.  (Note that this only needs to work for GNU compilers.)
4586 ac_save_ext=$ac_ext
4587 ac_ext=F
4588 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4589 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4590 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4591   echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593   cat >conftest.$ac_ext <<_ACEOF
4594       program main
4595 #ifndef __GNUC__
4596        choke me
4597 #endif
4598
4599       end
4600 _ACEOF
4601 rm -f conftest.$ac_objext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603   (eval $ac_compile) 2>conftest.er1
4604   ac_status=$?
4605   grep -v '^ *+' conftest.er1 >conftest.err
4606   rm -f conftest.er1
4607   cat conftest.err >&5
4608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609   (exit $ac_status); } &&
4610          { ac_try='test -z "$ac_fc_werror_flag"
4611                          || test ! -s conftest.err'
4612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613   (eval $ac_try) 2>&5
4614   ac_status=$?
4615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616   (exit $ac_status); }; } &&
4617          { ac_try='test -s conftest.$ac_objext'
4618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619   (eval $ac_try) 2>&5
4620   ac_status=$?
4621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622   (exit $ac_status); }; }; then
4623   ac_compiler_gnu=yes
4624 else
4625   echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4627
4628 ac_compiler_gnu=no
4629 fi
4630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4632
4633 fi
4634 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4635 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4636 ac_ext=$ac_save_ext
4637 ac_test_FFLAGS=${FCFLAGS+set}
4638 ac_save_FFLAGS=$FCFLAGS
4639 FCFLAGS=
4640 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4641 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4642 if test "${ac_cv_prog_fc_g+set}" = set; then
4643   echo $ECHO_N "(cached) $ECHO_C" >&6
4644 else
4645   FCFLAGS=-g
4646 cat >conftest.$ac_ext <<_ACEOF
4647       program main
4648
4649       end
4650 _ACEOF
4651 rm -f conftest.$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653   (eval $ac_compile) 2>conftest.er1
4654   ac_status=$?
4655   grep -v '^ *+' conftest.er1 >conftest.err
4656   rm -f conftest.er1
4657   cat conftest.err >&5
4658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659   (exit $ac_status); } &&
4660          { ac_try='test -z "$ac_fc_werror_flag"
4661                          || test ! -s conftest.err'
4662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663   (eval $ac_try) 2>&5
4664   ac_status=$?
4665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666   (exit $ac_status); }; } &&
4667          { ac_try='test -s conftest.$ac_objext'
4668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669   (eval $ac_try) 2>&5
4670   ac_status=$?
4671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672   (exit $ac_status); }; }; then
4673   ac_cv_prog_fc_g=yes
4674 else
4675   echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4677
4678 ac_cv_prog_fc_g=no
4679 fi
4680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4681
4682 fi
4683 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4684 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4685 if test "$ac_test_FFLAGS" = set; then
4686   FCFLAGS=$ac_save_FFLAGS
4687 elif test $ac_cv_prog_fc_g = yes; then
4688   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4689     FCFLAGS="-g -O2"
4690   else
4691     FCFLAGS="-g"
4692   fi
4693 else
4694   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4695     FCFLAGS="-O2"
4696   else
4697     FCFLAGS=
4698   fi
4699 fi
4700
4701 ac_ext=c
4702 ac_cpp='$CPP $CPPFLAGS'
4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4706
4707
4708 # extra LD Flags which are required for targets
4709 case "${host}" in
4710   *-darwin*)
4711     # Darwin needs -single_module when linking libgfortran
4712     extra_ldflags_libgfortran=-Wl,-single_module
4713     ;;
4714 esac
4715
4716
4717 # Check whether --enable-largefile or --disable-largefile was given.
4718 if test "${enable_largefile+set}" = set; then
4719   enableval="$enable_largefile"
4720
4721 fi;
4722 if test "$enable_largefile" != no; then
4723
4724   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4725 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4726 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4727   echo $ECHO_N "(cached) $ECHO_C" >&6
4728 else
4729   ac_cv_sys_largefile_CC=no
4730      if test "$GCC" != yes; then
4731        ac_save_CC=$CC
4732        while :; do
4733          # IRIX 6.2 and later do not support large files by default,
4734          # so use the C compiler's -n32 option if that helps.
4735          cat >conftest.$ac_ext <<_ACEOF
4736 /* confdefs.h.  */
4737 _ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h.  */
4741 #include <sys/types.h>
4742  /* Check that off_t can represent 2**63 - 1 correctly.
4743     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4744     since some C++ compilers masquerading as C compilers
4745     incorrectly reject 9223372036854775807.  */
4746 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4747   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4748                        && LARGE_OFF_T % 2147483647 == 1)
4749                       ? 1 : -1];
4750 int
4751 main ()
4752 {
4753
4754   ;
4755   return 0;
4756 }
4757 _ACEOF
4758          rm -f conftest.$ac_objext
4759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760   (eval $ac_compile) 2>conftest.er1
4761   ac_status=$?
4762   grep -v '^ *+' conftest.er1 >conftest.err
4763   rm -f conftest.er1
4764   cat conftest.err >&5
4765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766   (exit $ac_status); } &&
4767          { ac_try='test -z "$ac_c_werror_flag"
4768                          || test ! -s conftest.err'
4769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770   (eval $ac_try) 2>&5
4771   ac_status=$?
4772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773   (exit $ac_status); }; } &&
4774          { ac_try='test -s conftest.$ac_objext'
4775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776   (eval $ac_try) 2>&5
4777   ac_status=$?
4778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779   (exit $ac_status); }; }; then
4780   break
4781 else
4782   echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4784
4785 fi
4786 rm -f conftest.err conftest.$ac_objext
4787          CC="$CC -n32"
4788          rm -f conftest.$ac_objext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790   (eval $ac_compile) 2>conftest.er1
4791   ac_status=$?
4792   grep -v '^ *+' conftest.er1 >conftest.err
4793   rm -f conftest.er1
4794   cat conftest.err >&5
4795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796   (exit $ac_status); } &&
4797          { ac_try='test -z "$ac_c_werror_flag"
4798                          || test ! -s conftest.err'
4799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800   (eval $ac_try) 2>&5
4801   ac_status=$?
4802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803   (exit $ac_status); }; } &&
4804          { ac_try='test -s conftest.$ac_objext'
4805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806   (eval $ac_try) 2>&5
4807   ac_status=$?
4808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809   (exit $ac_status); }; }; then
4810   ac_cv_sys_largefile_CC=' -n32'; break
4811 else
4812   echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4814
4815 fi
4816 rm -f conftest.err conftest.$ac_objext
4817          break
4818        done
4819        CC=$ac_save_CC
4820        rm -f conftest.$ac_ext
4821     fi
4822 fi
4823 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4824 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4825   if test "$ac_cv_sys_largefile_CC" != no; then
4826     CC=$CC$ac_cv_sys_largefile_CC
4827   fi
4828
4829   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4830 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4831 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4832   echo $ECHO_N "(cached) $ECHO_C" >&6
4833 else
4834   while :; do
4835   ac_cv_sys_file_offset_bits=no
4836   cat >conftest.$ac_ext <<_ACEOF
4837 /* confdefs.h.  */
4838 _ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h.  */
4842 #include <sys/types.h>
4843  /* Check that off_t can represent 2**63 - 1 correctly.
4844     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4845     since some C++ compilers masquerading as C compilers
4846     incorrectly reject 9223372036854775807.  */
4847 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4848   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4849                        && LARGE_OFF_T % 2147483647 == 1)
4850                       ? 1 : -1];
4851 int
4852 main ()
4853 {
4854
4855   ;
4856   return 0;
4857 }
4858 _ACEOF
4859 rm -f conftest.$ac_objext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861   (eval $ac_compile) 2>conftest.er1
4862   ac_status=$?
4863   grep -v '^ *+' conftest.er1 >conftest.err
4864   rm -f conftest.er1
4865   cat conftest.err >&5
4866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867   (exit $ac_status); } &&
4868          { ac_try='test -z "$ac_c_werror_flag"
4869                          || test ! -s conftest.err'
4870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4871   (eval $ac_try) 2>&5
4872   ac_status=$?
4873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874   (exit $ac_status); }; } &&
4875          { ac_try='test -s conftest.$ac_objext'
4876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877   (eval $ac_try) 2>&5
4878   ac_status=$?
4879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880   (exit $ac_status); }; }; then
4881   break
4882 else
4883   echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.$ac_ext >&5
4885
4886 fi
4887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888   cat >conftest.$ac_ext <<_ACEOF
4889 /* confdefs.h.  */
4890 _ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h.  */
4894 #define _FILE_OFFSET_BITS 64
4895 #include <sys/types.h>
4896  /* Check that off_t can represent 2**63 - 1 correctly.
4897     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4898     since some C++ compilers masquerading as C compilers
4899     incorrectly reject 9223372036854775807.  */
4900 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4901   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4902                        && LARGE_OFF_T % 2147483647 == 1)
4903                       ? 1 : -1];
4904 int
4905 main ()
4906 {
4907
4908   ;
4909   return 0;
4910 }
4911 _ACEOF
4912 rm -f conftest.$ac_objext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914   (eval $ac_compile) 2>conftest.er1
4915   ac_status=$?
4916   grep -v '^ *+' conftest.er1 >conftest.err
4917   rm -f conftest.er1
4918   cat conftest.err >&5
4919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920   (exit $ac_status); } &&
4921          { ac_try='test -z "$ac_c_werror_flag"
4922                          || test ! -s conftest.err'
4923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924   (eval $ac_try) 2>&5
4925   ac_status=$?
4926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927   (exit $ac_status); }; } &&
4928          { ac_try='test -s conftest.$ac_objext'
4929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930   (eval $ac_try) 2>&5
4931   ac_status=$?
4932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933   (exit $ac_status); }; }; then
4934   ac_cv_sys_file_offset_bits=64; break
4935 else
4936   echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4938
4939 fi
4940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4941   break
4942 done
4943 fi
4944 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4945 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4946 if test "$ac_cv_sys_file_offset_bits" != no; then
4947
4948 cat >>confdefs.h <<_ACEOF
4949 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4950 _ACEOF
4951
4952 fi
4953 rm -f conftest*
4954   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4955 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4956 if test "${ac_cv_sys_large_files+set}" = set; then
4957   echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959   while :; do
4960   ac_cv_sys_large_files=no
4961   cat >conftest.$ac_ext <<_ACEOF
4962 /* confdefs.h.  */
4963 _ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h.  */
4967 #include <sys/types.h>
4968  /* Check that off_t can represent 2**63 - 1 correctly.
4969     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4970     since some C++ compilers masquerading as C compilers
4971     incorrectly reject 9223372036854775807.  */
4972 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4973   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4974                        && LARGE_OFF_T % 2147483647 == 1)
4975                       ? 1 : -1];
4976 int
4977 main ()
4978 {
4979
4980   ;
4981   return 0;
4982 }
4983 _ACEOF
4984 rm -f conftest.$ac_objext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4986   (eval $ac_compile) 2>conftest.er1
4987   ac_status=$?
4988   grep -v '^ *+' conftest.er1 >conftest.err
4989   rm -f conftest.er1
4990   cat conftest.err >&5
4991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992   (exit $ac_status); } &&
4993          { ac_try='test -z "$ac_c_werror_flag"
4994                          || test ! -s conftest.err'
4995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996   (eval $ac_try) 2>&5
4997   ac_status=$?
4998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999   (exit $ac_status); }; } &&
5000          { ac_try='test -s conftest.$ac_objext'
5001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002   (eval $ac_try) 2>&5
5003   ac_status=$?
5004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005   (exit $ac_status); }; }; then
5006   break
5007 else
5008   echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5010
5011 fi
5012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5013   cat >conftest.$ac_ext <<_ACEOF
5014 /* confdefs.h.  */
5015 _ACEOF
5016 cat confdefs.h >>conftest.$ac_ext
5017 cat >>conftest.$ac_ext <<_ACEOF
5018 /* end confdefs.h.  */
5019 #define _LARGE_FILES 1
5020 #include <sys/types.h>
5021  /* Check that off_t can represent 2**63 - 1 correctly.
5022     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5023     since some C++ compilers masquerading as C compilers
5024     incorrectly reject 9223372036854775807.  */
5025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5026   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5027                        && LARGE_OFF_T % 2147483647 == 1)
5028                       ? 1 : -1];
5029 int
5030 main ()
5031 {
5032
5033   ;
5034   return 0;
5035 }
5036 _ACEOF
5037 rm -f conftest.$ac_objext
5038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5039   (eval $ac_compile) 2>conftest.er1
5040   ac_status=$?
5041   grep -v '^ *+' conftest.er1 >conftest.err
5042   rm -f conftest.er1
5043   cat conftest.err >&5
5044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045   (exit $ac_status); } &&
5046          { ac_try='test -z "$ac_c_werror_flag"
5047                          || test ! -s conftest.err'
5048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049   (eval $ac_try) 2>&5
5050   ac_status=$?
5051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052   (exit $ac_status); }; } &&
5053          { ac_try='test -s conftest.$ac_objext'
5054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055   (eval $ac_try) 2>&5
5056   ac_status=$?
5057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058   (exit $ac_status); }; }; then
5059   ac_cv_sys_large_files=1; break
5060 else
5061   echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5063
5064 fi
5065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5066   break
5067 done
5068 fi
5069 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5070 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5071 if test "$ac_cv_sys_large_files" != no; then
5072
5073 cat >>confdefs.h <<_ACEOF
5074 #define _LARGE_FILES $ac_cv_sys_large_files
5075 _ACEOF
5076
5077 fi
5078 rm -f conftest*
5079 fi
5080
5081 ac_ext=c
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5087 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5088 # On Suns, sometimes $CPP names a directory.
5089 if test -n "$CPP" && test -d "$CPP"; then
5090   CPP=
5091 fi
5092 if test -z "$CPP"; then
5093   if test "${ac_cv_prog_CPP+set}" = set; then
5094   echo $ECHO_N "(cached) $ECHO_C" >&6
5095 else
5096       # Double quotes because CPP needs to be expanded
5097     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5098     do
5099       ac_preproc_ok=false
5100 for ac_c_preproc_warn_flag in '' yes
5101 do
5102   # Use a header file that comes with gcc, so configuring glibc
5103   # with a fresh cross-compiler works.
5104   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105   # <limits.h> exists even on freestanding compilers.
5106   # On the NeXT, cc -E runs the code through the compiler's parser,
5107   # not just through cpp. "Syntax error" is here to catch this case.
5108   cat >conftest.$ac_ext <<_ACEOF
5109 /* confdefs.h.  */
5110 _ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h.  */
5114 #ifdef __STDC__
5115 # include <limits.h>
5116 #else
5117 # include <assert.h>
5118 #endif
5119                      Syntax error
5120 _ACEOF
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5123   ac_status=$?
5124   grep -v '^ *+' conftest.er1 >conftest.err
5125   rm -f conftest.er1
5126   cat conftest.err >&5
5127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128   (exit $ac_status); } >/dev/null; then
5129   if test -s conftest.err; then
5130     ac_cpp_err=$ac_c_preproc_warn_flag
5131     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5132   else
5133     ac_cpp_err=
5134   fi
5135 else
5136   ac_cpp_err=yes
5137 fi
5138 if test -z "$ac_cpp_err"; then
5139   :
5140 else
5141   echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5143
5144   # Broken: fails on valid input.
5145 continue
5146 fi
5147 rm -f conftest.err conftest.$ac_ext
5148
5149   # OK, works on sane cases.  Now check whether non-existent headers
5150   # can be detected and how.
5151   cat >conftest.$ac_ext <<_ACEOF
5152 /* confdefs.h.  */
5153 _ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h.  */
5157 #include <ac_nonexistent.h>
5158 _ACEOF
5159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5160   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5161   ac_status=$?
5162   grep -v '^ *+' conftest.er1 >conftest.err
5163   rm -f conftest.er1
5164   cat conftest.err >&5
5165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166   (exit $ac_status); } >/dev/null; then
5167   if test -s conftest.err; then
5168     ac_cpp_err=$ac_c_preproc_warn_flag
5169     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5170   else
5171     ac_cpp_err=
5172   fi
5173 else
5174   ac_cpp_err=yes
5175 fi
5176 if test -z "$ac_cpp_err"; then
5177   # Broken: success on invalid input.
5178 continue
5179 else
5180   echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.$ac_ext >&5
5182
5183   # Passes both tests.
5184 ac_preproc_ok=:
5185 break
5186 fi
5187 rm -f conftest.err conftest.$ac_ext
5188
5189 done
5190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5191 rm -f conftest.err conftest.$ac_ext
5192 if $ac_preproc_ok; then
5193   break
5194 fi
5195
5196     done
5197     ac_cv_prog_CPP=$CPP
5198
5199 fi
5200   CPP=$ac_cv_prog_CPP
5201 else
5202   ac_cv_prog_CPP=$CPP
5203 fi
5204 echo "$as_me:$LINENO: result: $CPP" >&5
5205 echo "${ECHO_T}$CPP" >&6
5206 ac_preproc_ok=false
5207 for ac_c_preproc_warn_flag in '' yes
5208 do
5209   # Use a header file that comes with gcc, so configuring glibc
5210   # with a fresh cross-compiler works.
5211   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5212   # <limits.h> exists even on freestanding compilers.
5213   # On the NeXT, cc -E runs the code through the compiler's parser,
5214   # not just through cpp. "Syntax error" is here to catch this case.
5215   cat >conftest.$ac_ext <<_ACEOF
5216 /* confdefs.h.  */
5217 _ACEOF
5218 cat confdefs.h >>conftest.$ac_ext
5219 cat >>conftest.$ac_ext <<_ACEOF
5220 /* end confdefs.h.  */
5221 #ifdef __STDC__
5222 # include <limits.h>
5223 #else
5224 # include <assert.h>
5225 #endif
5226                      Syntax error
5227 _ACEOF
5228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5230   ac_status=$?
5231   grep -v '^ *+' conftest.er1 >conftest.err
5232   rm -f conftest.er1
5233   cat conftest.err >&5
5234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235   (exit $ac_status); } >/dev/null; then
5236   if test -s conftest.err; then
5237     ac_cpp_err=$ac_c_preproc_warn_flag
5238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5239   else
5240     ac_cpp_err=
5241   fi
5242 else
5243   ac_cpp_err=yes
5244 fi
5245 if test -z "$ac_cpp_err"; then
5246   :
5247 else
5248   echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5250
5251   # Broken: fails on valid input.
5252 continue
5253 fi
5254 rm -f conftest.err conftest.$ac_ext
5255
5256   # OK, works on sane cases.  Now check whether non-existent headers
5257   # can be detected and how.
5258   cat >conftest.$ac_ext <<_ACEOF
5259 /* confdefs.h.  */
5260 _ACEOF
5261 cat confdefs.h >>conftest.$ac_ext
5262 cat >>conftest.$ac_ext <<_ACEOF
5263 /* end confdefs.h.  */
5264 #include <ac_nonexistent.h>
5265 _ACEOF
5266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268   ac_status=$?
5269   grep -v '^ *+' conftest.er1 >conftest.err
5270   rm -f conftest.er1
5271   cat conftest.err >&5
5272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273   (exit $ac_status); } >/dev/null; then
5274   if test -s conftest.err; then
5275     ac_cpp_err=$ac_c_preproc_warn_flag
5276     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5277   else
5278     ac_cpp_err=
5279   fi
5280 else
5281   ac_cpp_err=yes
5282 fi
5283 if test -z "$ac_cpp_err"; then
5284   # Broken: success on invalid input.
5285 continue
5286 else
5287   echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.$ac_ext >&5
5289
5290   # Passes both tests.
5291 ac_preproc_ok=:
5292 break
5293 fi
5294 rm -f conftest.err conftest.$ac_ext
5295
5296 done
5297 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5298 rm -f conftest.err conftest.$ac_ext
5299 if $ac_preproc_ok; then
5300   :
5301 else
5302   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5303 See \`config.log' for more details." >&5
5304 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5305 See \`config.log' for more details." >&2;}
5306    { (exit 1); exit 1; }; }
5307 fi
5308
5309 ac_ext=c
5310 ac_cpp='$CPP $CPPFLAGS'
5311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5314
5315
5316 echo "$as_me:$LINENO: checking for egrep" >&5
5317 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5318 if test "${ac_cv_prog_egrep+set}" = set; then
5319   echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5322     then ac_cv_prog_egrep='grep -E'
5323     else ac_cv_prog_egrep='egrep'
5324     fi
5325 fi
5326 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5327 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5328  EGREP=$ac_cv_prog_egrep
5329
5330
5331 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5332 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5333 if test "${ac_cv_header_stdc+set}" = set; then
5334   echo $ECHO_N "(cached) $ECHO_C" >&6
5335 else
5336   cat >conftest.$ac_ext <<_ACEOF
5337 /* confdefs.h.  */
5338 _ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h.  */
5342 #include <stdlib.h>
5343 #include <stdarg.h>
5344 #include <string.h>
5345 #include <float.h>
5346
5347 int
5348 main ()
5349 {
5350
5351   ;
5352   return 0;
5353 }
5354 _ACEOF
5355 rm -f conftest.$ac_objext
5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5357   (eval $ac_compile) 2>conftest.er1
5358   ac_status=$?
5359   grep -v '^ *+' conftest.er1 >conftest.err
5360   rm -f conftest.er1
5361   cat conftest.err >&5
5362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363   (exit $ac_status); } &&
5364          { ac_try='test -z "$ac_c_werror_flag"
5365                          || test ! -s conftest.err'
5366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5367   (eval $ac_try) 2>&5
5368   ac_status=$?
5369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370   (exit $ac_status); }; } &&
5371          { ac_try='test -s conftest.$ac_objext'
5372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373   (eval $ac_try) 2>&5
5374   ac_status=$?
5375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376   (exit $ac_status); }; }; then
5377   ac_cv_header_stdc=yes
5378 else
5379   echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.$ac_ext >&5
5381
5382 ac_cv_header_stdc=no
5383 fi
5384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5385
5386 if test $ac_cv_header_stdc = yes; then
5387   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5388   cat >conftest.$ac_ext <<_ACEOF
5389 /* confdefs.h.  */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h.  */
5394 #include <string.h>
5395
5396 _ACEOF
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398   $EGREP "memchr" >/dev/null 2>&1; then
5399   :
5400 else
5401   ac_cv_header_stdc=no
5402 fi
5403 rm -f conftest*
5404
5405 fi
5406
5407 if test $ac_cv_header_stdc = yes; then
5408   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5409   cat >conftest.$ac_ext <<_ACEOF
5410 /* confdefs.h.  */
5411 _ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h.  */
5415 #include <stdlib.h>
5416
5417 _ACEOF
5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5419   $EGREP "free" >/dev/null 2>&1; then
5420   :
5421 else
5422   ac_cv_header_stdc=no
5423 fi
5424 rm -f conftest*
5425
5426 fi
5427
5428 if test $ac_cv_header_stdc = yes; then
5429   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5430   if test "$cross_compiling" = yes; then
5431   :
5432 else
5433   cat >conftest.$ac_ext <<_ACEOF
5434 /* confdefs.h.  */
5435 _ACEOF
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h.  */
5439 #include <ctype.h>
5440 #if ((' ' & 0x0FF) == 0x020)
5441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5443 #else
5444 # define ISLOWER(c) \
5445                    (('a' <= (c) && (c) <= 'i') \
5446                      || ('j' <= (c) && (c) <= 'r') \
5447                      || ('s' <= (c) && (c) <= 'z'))
5448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5449 #endif
5450
5451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5452 int
5453 main ()
5454 {
5455   int i;
5456   for (i = 0; i < 256; i++)
5457     if (XOR (islower (i), ISLOWER (i))
5458         || toupper (i) != TOUPPER (i))
5459       exit(2);
5460   exit (0);
5461 }
5462 _ACEOF
5463 rm -f conftest$ac_exeext
5464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5465   (eval $ac_link) 2>&5
5466   ac_status=$?
5467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470   (eval $ac_try) 2>&5
5471   ac_status=$?
5472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473   (exit $ac_status); }; }; then
5474   :
5475 else
5476   echo "$as_me: program exited with status $ac_status" >&5
5477 echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5479
5480 ( exit $ac_status )
5481 ac_cv_header_stdc=no
5482 fi
5483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5484 fi
5485 fi
5486 fi
5487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5488 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5489 if test $ac_cv_header_stdc = yes; then
5490
5491 cat >>confdefs.h <<\_ACEOF
5492 #define STDC_HEADERS 1
5493 _ACEOF
5494
5495 fi
5496
5497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5508                   inttypes.h stdint.h unistd.h
5509 do
5510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5511 echo "$as_me:$LINENO: checking for $ac_header" >&5
5512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5514   echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516   cat >conftest.$ac_ext <<_ACEOF
5517 /* confdefs.h.  */
5518 _ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h.  */
5522 $ac_includes_default
5523
5524 #include <$ac_header>
5525 _ACEOF
5526 rm -f conftest.$ac_objext
5527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5528   (eval $ac_compile) 2>conftest.er1
5529   ac_status=$?
5530   grep -v '^ *+' conftest.er1 >conftest.err
5531   rm -f conftest.er1
5532   cat conftest.err >&5
5533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534   (exit $ac_status); } &&
5535          { ac_try='test -z "$ac_c_werror_flag"
5536                          || test ! -s conftest.err'
5537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5538   (eval $ac_try) 2>&5
5539   ac_status=$?
5540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541   (exit $ac_status); }; } &&
5542          { ac_try='test -s conftest.$ac_objext'
5543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544   (eval $ac_try) 2>&5
5545   ac_status=$?
5546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547   (exit $ac_status); }; }; then
5548   eval "$as_ac_Header=yes"
5549 else
5550   echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5552
5553 eval "$as_ac_Header=no"
5554 fi
5555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5556 fi
5557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5560   cat >>confdefs.h <<_ACEOF
5561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 _ACEOF
5563
5564 fi
5565
5566 done
5567
5568
5569 echo "$as_me:$LINENO: checking for off_t" >&5
5570 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5571 if test "${ac_cv_type_off_t+set}" = set; then
5572   echo $ECHO_N "(cached) $ECHO_C" >&6
5573 else
5574   cat >conftest.$ac_ext <<_ACEOF
5575 /* confdefs.h.  */
5576 _ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h.  */
5580 $ac_includes_default
5581 int
5582 main ()
5583 {
5584 if ((off_t *) 0)
5585   return 0;
5586 if (sizeof (off_t))
5587   return 0;
5588   ;
5589   return 0;
5590 }
5591 _ACEOF
5592 rm -f conftest.$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594   (eval $ac_compile) 2>conftest.er1
5595   ac_status=$?
5596   grep -v '^ *+' conftest.er1 >conftest.err
5597   rm -f conftest.er1
5598   cat conftest.err >&5
5599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600   (exit $ac_status); } &&
5601          { ac_try='test -z "$ac_c_werror_flag"
5602                          || test ! -s conftest.err'
5603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604   (eval $ac_try) 2>&5
5605   ac_status=$?
5606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607   (exit $ac_status); }; } &&
5608          { ac_try='test -s conftest.$ac_objext'
5609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610   (eval $ac_try) 2>&5
5611   ac_status=$?
5612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613   (exit $ac_status); }; }; then
5614   ac_cv_type_off_t=yes
5615 else
5616   echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5618
5619 ac_cv_type_off_t=no
5620 fi
5621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5622 fi
5623 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5624 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5625 if test $ac_cv_type_off_t = yes; then
5626   :
5627 else
5628
5629 cat >>confdefs.h <<_ACEOF
5630 #define off_t long
5631 _ACEOF
5632
5633 fi
5634
5635
5636 # check header files
5637 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5638 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5639 if test "${ac_cv_header_stdc+set}" = set; then
5640   echo $ECHO_N "(cached) $ECHO_C" >&6
5641 else
5642   cat >conftest.$ac_ext <<_ACEOF
5643 /* confdefs.h.  */
5644 _ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h.  */
5648 #include <stdlib.h>
5649 #include <stdarg.h>
5650 #include <string.h>
5651 #include <float.h>
5652
5653 int
5654 main ()
5655 {
5656
5657   ;
5658   return 0;
5659 }
5660 _ACEOF
5661 rm -f conftest.$ac_objext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5663   (eval $ac_compile) 2>conftest.er1
5664   ac_status=$?
5665   grep -v '^ *+' conftest.er1 >conftest.err
5666   rm -f conftest.er1
5667   cat conftest.err >&5
5668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669   (exit $ac_status); } &&
5670          { ac_try='test -z "$ac_c_werror_flag"
5671                          || test ! -s conftest.err'
5672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673   (eval $ac_try) 2>&5
5674   ac_status=$?
5675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676   (exit $ac_status); }; } &&
5677          { ac_try='test -s conftest.$ac_objext'
5678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679   (eval $ac_try) 2>&5
5680   ac_status=$?
5681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682   (exit $ac_status); }; }; then
5683   ac_cv_header_stdc=yes
5684 else
5685   echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.$ac_ext >&5
5687
5688 ac_cv_header_stdc=no
5689 fi
5690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5691
5692 if test $ac_cv_header_stdc = yes; then
5693   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5694   cat >conftest.$ac_ext <<_ACEOF
5695 /* confdefs.h.  */
5696 _ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h.  */
5700 #include <string.h>
5701
5702 _ACEOF
5703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5704   $EGREP "memchr" >/dev/null 2>&1; then
5705   :
5706 else
5707   ac_cv_header_stdc=no
5708 fi
5709 rm -f conftest*
5710
5711 fi
5712
5713 if test $ac_cv_header_stdc = yes; then
5714   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5715   cat >conftest.$ac_ext <<_ACEOF
5716 /* confdefs.h.  */
5717 _ACEOF
5718 cat confdefs.h >>conftest.$ac_ext
5719 cat >>conftest.$ac_ext <<_ACEOF
5720 /* end confdefs.h.  */
5721 #include <stdlib.h>
5722
5723 _ACEOF
5724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5725   $EGREP "free" >/dev/null 2>&1; then
5726   :
5727 else
5728   ac_cv_header_stdc=no
5729 fi
5730 rm -f conftest*
5731
5732 fi
5733
5734 if test $ac_cv_header_stdc = yes; then
5735   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5736   if test "$cross_compiling" = yes; then
5737   :
5738 else
5739   cat >conftest.$ac_ext <<_ACEOF
5740 /* confdefs.h.  */
5741 _ACEOF
5742 cat confdefs.h >>conftest.$ac_ext
5743 cat >>conftest.$ac_ext <<_ACEOF
5744 /* end confdefs.h.  */
5745 #include <ctype.h>
5746 #if ((' ' & 0x0FF) == 0x020)
5747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5749 #else
5750 # define ISLOWER(c) \
5751                    (('a' <= (c) && (c) <= 'i') \
5752                      || ('j' <= (c) && (c) <= 'r') \
5753                      || ('s' <= (c) && (c) <= 'z'))
5754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5755 #endif
5756
5757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5758 int
5759 main ()
5760 {
5761   int i;
5762   for (i = 0; i < 256; i++)
5763     if (XOR (islower (i), ISLOWER (i))
5764         || toupper (i) != TOUPPER (i))
5765       exit(2);
5766   exit (0);
5767 }
5768 _ACEOF
5769 rm -f conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771   (eval $ac_link) 2>&5
5772   ac_status=$?
5773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776   (eval $ac_try) 2>&5
5777   ac_status=$?
5778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779   (exit $ac_status); }; }; then
5780   :
5781 else
5782   echo "$as_me: program exited with status $ac_status" >&5
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.$ac_ext >&5
5785
5786 ( exit $ac_status )
5787 ac_cv_header_stdc=no
5788 fi
5789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5790 fi
5791 fi
5792 fi
5793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5794 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5795 if test $ac_cv_header_stdc = yes; then
5796
5797 cat >>confdefs.h <<\_ACEOF
5798 #define STDC_HEADERS 1
5799 _ACEOF
5800
5801 fi
5802
5803
5804
5805
5806
5807
5808
5809
5810 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5811 do
5812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5814   echo "$as_me:$LINENO: checking for $ac_header" >&5
5815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5817   echo $ECHO_N "(cached) $ECHO_C" >&6
5818 fi
5819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5821 else
5822   # Is the header compilable?
5823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5825 cat >conftest.$ac_ext <<_ACEOF
5826 /* confdefs.h.  */
5827 _ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h.  */
5831 $ac_includes_default
5832 #include <$ac_header>
5833 _ACEOF
5834 rm -f conftest.$ac_objext
5835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5836   (eval $ac_compile) 2>conftest.er1
5837   ac_status=$?
5838   grep -v '^ *+' conftest.er1 >conftest.err
5839   rm -f conftest.er1
5840   cat conftest.err >&5
5841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842   (exit $ac_status); } &&
5843          { ac_try='test -z "$ac_c_werror_flag"
5844                          || test ! -s conftest.err'
5845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846   (eval $ac_try) 2>&5
5847   ac_status=$?
5848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849   (exit $ac_status); }; } &&
5850          { ac_try='test -s conftest.$ac_objext'
5851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852   (eval $ac_try) 2>&5
5853   ac_status=$?
5854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855   (exit $ac_status); }; }; then
5856   ac_header_compiler=yes
5857 else
5858   echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5860
5861 ac_header_compiler=no
5862 fi
5863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5865 echo "${ECHO_T}$ac_header_compiler" >&6
5866
5867 # Is the header present?
5868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5870 cat >conftest.$ac_ext <<_ACEOF
5871 /* confdefs.h.  */
5872 _ACEOF
5873 cat confdefs.h >>conftest.$ac_ext
5874 cat >>conftest.$ac_ext <<_ACEOF
5875 /* end confdefs.h.  */
5876 #include <$ac_header>
5877 _ACEOF
5878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5879   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5880   ac_status=$?
5881   grep -v '^ *+' conftest.er1 >conftest.err
5882   rm -f conftest.er1
5883   cat conftest.err >&5
5884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885   (exit $ac_status); } >/dev/null; then
5886   if test -s conftest.err; then
5887     ac_cpp_err=$ac_c_preproc_warn_flag
5888     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5889   else
5890     ac_cpp_err=
5891   fi
5892 else
5893   ac_cpp_err=yes
5894 fi
5895 if test -z "$ac_cpp_err"; then
5896   ac_header_preproc=yes
5897 else
5898   echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.$ac_ext >&5
5900
5901   ac_header_preproc=no
5902 fi
5903 rm -f conftest.err conftest.$ac_ext
5904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5905 echo "${ECHO_T}$ac_header_preproc" >&6
5906
5907 # So?  What about this header?
5908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5909   yes:no: )
5910     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5912     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5914     ac_header_preproc=yes
5915     ;;
5916   no:yes:* )
5917     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5919     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5920 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5921     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5923     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5924 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5925     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5927     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5929     (
5930       cat <<\_ASBOX
5931 ## ------------------------------------------------------ ##
5932 ## Report this to the GNU Fortran Runtime Library lists.  ##
5933 ## ------------------------------------------------------ ##
5934 _ASBOX
5935     ) |
5936       sed "s/^/$as_me: WARNING:     /" >&2
5937     ;;
5938 esac
5939 echo "$as_me:$LINENO: checking for $ac_header" >&5
5940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942   echo $ECHO_N "(cached) $ECHO_C" >&6
5943 else
5944   eval "$as_ac_Header=\$ac_header_preproc"
5945 fi
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5948
5949 fi
5950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5951   cat >>confdefs.h <<_ACEOF
5952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5953 _ACEOF
5954
5955 fi
5956
5957 done
5958
5959
5960
5961
5962
5963
5964 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
5965 do
5966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968   echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971   echo $ECHO_N "(cached) $ECHO_C" >&6
5972 fi
5973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5975 else
5976   # Is the header compilable?
5977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5979 cat >conftest.$ac_ext <<_ACEOF
5980 /* confdefs.h.  */
5981 _ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h.  */
5985 $ac_includes_default
5986 #include <$ac_header>
5987 _ACEOF
5988 rm -f conftest.$ac_objext
5989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990   (eval $ac_compile) 2>conftest.er1
5991   ac_status=$?
5992   grep -v '^ *+' conftest.er1 >conftest.err
5993   rm -f conftest.er1
5994   cat conftest.err >&5
5995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996   (exit $ac_status); } &&
5997          { ac_try='test -z "$ac_c_werror_flag"
5998                          || test ! -s conftest.err'
5999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000   (eval $ac_try) 2>&5
6001   ac_status=$?
6002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003   (exit $ac_status); }; } &&
6004          { ac_try='test -s conftest.$ac_objext'
6005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006   (eval $ac_try) 2>&5
6007   ac_status=$?
6008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009   (exit $ac_status); }; }; then
6010   ac_header_compiler=yes
6011 else
6012   echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6014
6015 ac_header_compiler=no
6016 fi
6017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019 echo "${ECHO_T}$ac_header_compiler" >&6
6020
6021 # Is the header present?
6022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6024 cat >conftest.$ac_ext <<_ACEOF
6025 /* confdefs.h.  */
6026 _ACEOF
6027 cat confdefs.h >>conftest.$ac_ext
6028 cat >>conftest.$ac_ext <<_ACEOF
6029 /* end confdefs.h.  */
6030 #include <$ac_header>
6031 _ACEOF
6032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6034   ac_status=$?
6035   grep -v '^ *+' conftest.er1 >conftest.err
6036   rm -f conftest.er1
6037   cat conftest.err >&5
6038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039   (exit $ac_status); } >/dev/null; then
6040   if test -s conftest.err; then
6041     ac_cpp_err=$ac_c_preproc_warn_flag
6042     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6043   else
6044     ac_cpp_err=
6045   fi
6046 else
6047   ac_cpp_err=yes
6048 fi
6049 if test -z "$ac_cpp_err"; then
6050   ac_header_preproc=yes
6051 else
6052   echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.$ac_ext >&5
6054
6055   ac_header_preproc=no
6056 fi
6057 rm -f conftest.err conftest.$ac_ext
6058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059 echo "${ECHO_T}$ac_header_preproc" >&6
6060
6061 # So?  What about this header?
6062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6063   yes:no: )
6064     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068     ac_header_preproc=yes
6069     ;;
6070   no:yes:* )
6071     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6074 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6075     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6078 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6079     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6083     (
6084       cat <<\_ASBOX
6085 ## ------------------------------------------------------ ##
6086 ## Report this to the GNU Fortran Runtime Library lists.  ##
6087 ## ------------------------------------------------------ ##
6088 _ASBOX
6089     ) |
6090       sed "s/^/$as_me: WARNING:     /" >&2
6091     ;;
6092 esac
6093 echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096   echo $ECHO_N "(cached) $ECHO_C" >&6
6097 else
6098   eval "$as_ac_Header=\$ac_header_preproc"
6099 fi
6100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6102
6103 fi
6104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6105   cat >>confdefs.h <<_ACEOF
6106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 _ACEOF
6108
6109 fi
6110
6111 done
6112
6113
6114
6115
6116
6117
6118 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6119 do
6120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6122   echo "$as_me:$LINENO: checking for $ac_header" >&5
6123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6125   echo $ECHO_N "(cached) $ECHO_C" >&6
6126 fi
6127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6129 else
6130   # Is the header compilable?
6131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6133 cat >conftest.$ac_ext <<_ACEOF
6134 /* confdefs.h.  */
6135 _ACEOF
6136 cat confdefs.h >>conftest.$ac_ext
6137 cat >>conftest.$ac_ext <<_ACEOF
6138 /* end confdefs.h.  */
6139 $ac_includes_default
6140 #include <$ac_header>
6141 _ACEOF
6142 rm -f conftest.$ac_objext
6143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6144   (eval $ac_compile) 2>conftest.er1
6145   ac_status=$?
6146   grep -v '^ *+' conftest.er1 >conftest.err
6147   rm -f conftest.er1
6148   cat conftest.err >&5
6149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150   (exit $ac_status); } &&
6151          { ac_try='test -z "$ac_c_werror_flag"
6152                          || test ! -s conftest.err'
6153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154   (eval $ac_try) 2>&5
6155   ac_status=$?
6156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157   (exit $ac_status); }; } &&
6158          { ac_try='test -s conftest.$ac_objext'
6159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160   (eval $ac_try) 2>&5
6161   ac_status=$?
6162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163   (exit $ac_status); }; }; then
6164   ac_header_compiler=yes
6165 else
6166   echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.$ac_ext >&5
6168
6169 ac_header_compiler=no
6170 fi
6171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6173 echo "${ECHO_T}$ac_header_compiler" >&6
6174
6175 # Is the header present?
6176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6178 cat >conftest.$ac_ext <<_ACEOF
6179 /* confdefs.h.  */
6180 _ACEOF
6181 cat confdefs.h >>conftest.$ac_ext
6182 cat >>conftest.$ac_ext <<_ACEOF
6183 /* end confdefs.h.  */
6184 #include <$ac_header>
6185 _ACEOF
6186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6187   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6188   ac_status=$?
6189   grep -v '^ *+' conftest.er1 >conftest.err
6190   rm -f conftest.er1
6191   cat conftest.err >&5
6192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193   (exit $ac_status); } >/dev/null; then
6194   if test -s conftest.err; then
6195     ac_cpp_err=$ac_c_preproc_warn_flag
6196     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6197   else
6198     ac_cpp_err=
6199   fi
6200 else
6201   ac_cpp_err=yes
6202 fi
6203 if test -z "$ac_cpp_err"; then
6204   ac_header_preproc=yes
6205 else
6206   echo "$as_me: failed program was:" >&5
6207 sed 's/^/| /' conftest.$ac_ext >&5
6208
6209   ac_header_preproc=no
6210 fi
6211 rm -f conftest.err conftest.$ac_ext
6212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6213 echo "${ECHO_T}$ac_header_preproc" >&6
6214
6215 # So?  What about this header?
6216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6217   yes:no: )
6218     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6220     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6222     ac_header_preproc=yes
6223     ;;
6224   no:yes:* )
6225     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6227     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6228 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6229     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6231     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6232 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6233     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6235     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6237     (
6238       cat <<\_ASBOX
6239 ## ------------------------------------------------------ ##
6240 ## Report this to the GNU Fortran Runtime Library lists.  ##
6241 ## ------------------------------------------------------ ##
6242 _ASBOX
6243     ) |
6244       sed "s/^/$as_me: WARNING:     /" >&2
6245     ;;
6246 esac
6247 echo "$as_me:$LINENO: checking for $ac_header" >&5
6248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6250   echo $ECHO_N "(cached) $ECHO_C" >&6
6251 else
6252   eval "$as_ac_Header=\$ac_header_preproc"
6253 fi
6254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6256
6257 fi
6258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6259   cat >>confdefs.h <<_ACEOF
6260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6261 _ACEOF
6262
6263 fi
6264
6265 done
6266
6267
6268
6269
6270 for ac_header in fenv.h fptrap.h float.h
6271 do
6272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6274   echo "$as_me:$LINENO: checking for $ac_header" >&5
6275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6277   echo $ECHO_N "(cached) $ECHO_C" >&6
6278 fi
6279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6281 else
6282   # Is the header compilable?
6283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6285 cat >conftest.$ac_ext <<_ACEOF
6286 /* confdefs.h.  */
6287 _ACEOF
6288 cat confdefs.h >>conftest.$ac_ext
6289 cat >>conftest.$ac_ext <<_ACEOF
6290 /* end confdefs.h.  */
6291 $ac_includes_default
6292 #include <$ac_header>
6293 _ACEOF
6294 rm -f conftest.$ac_objext
6295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6296   (eval $ac_compile) 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); } &&
6303          { ac_try='test -z "$ac_c_werror_flag"
6304                          || test ! -s conftest.err'
6305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306   (eval $ac_try) 2>&5
6307   ac_status=$?
6308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309   (exit $ac_status); }; } &&
6310          { ac_try='test -s conftest.$ac_objext'
6311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312   (eval $ac_try) 2>&5
6313   ac_status=$?
6314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315   (exit $ac_status); }; }; then
6316   ac_header_compiler=yes
6317 else
6318   echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6320
6321 ac_header_compiler=no
6322 fi
6323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6325 echo "${ECHO_T}$ac_header_compiler" >&6
6326
6327 # Is the header present?
6328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6330 cat >conftest.$ac_ext <<_ACEOF
6331 /* confdefs.h.  */
6332 _ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h.  */
6336 #include <$ac_header>
6337 _ACEOF
6338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6339   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6340   ac_status=$?
6341   grep -v '^ *+' conftest.er1 >conftest.err
6342   rm -f conftest.er1
6343   cat conftest.err >&5
6344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345   (exit $ac_status); } >/dev/null; then
6346   if test -s conftest.err; then
6347     ac_cpp_err=$ac_c_preproc_warn_flag
6348     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6349   else
6350     ac_cpp_err=
6351   fi
6352 else
6353   ac_cpp_err=yes
6354 fi
6355 if test -z "$ac_cpp_err"; then
6356   ac_header_preproc=yes
6357 else
6358   echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.$ac_ext >&5
6360
6361   ac_header_preproc=no
6362 fi
6363 rm -f conftest.err conftest.$ac_ext
6364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6365 echo "${ECHO_T}$ac_header_preproc" >&6
6366
6367 # So?  What about this header?
6368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6369   yes:no: )
6370     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6372     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6374     ac_header_preproc=yes
6375     ;;
6376   no:yes:* )
6377     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6379     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6380 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6381     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6383     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6384 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6385     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6387     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6389     (
6390       cat <<\_ASBOX
6391 ## ------------------------------------------------------ ##
6392 ## Report this to the GNU Fortran Runtime Library lists.  ##
6393 ## ------------------------------------------------------ ##
6394 _ASBOX
6395     ) |
6396       sed "s/^/$as_me: WARNING:     /" >&2
6397     ;;
6398 esac
6399 echo "$as_me:$LINENO: checking for $ac_header" >&5
6400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6402   echo $ECHO_N "(cached) $ECHO_C" >&6
6403 else
6404   eval "$as_ac_Header=\$ac_header_preproc"
6405 fi
6406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6408
6409 fi
6410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6411   cat >>confdefs.h <<_ACEOF
6412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6413 _ACEOF
6414
6415 fi
6416
6417 done
6418
6419 if test "${ac_cv_header_complex_h+set}" = set; then
6420   echo "$as_me:$LINENO: checking for complex.h" >&5
6421 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6422 if test "${ac_cv_header_complex_h+set}" = set; then
6423   echo $ECHO_N "(cached) $ECHO_C" >&6
6424 fi
6425 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6426 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6427 else
6428   # Is the header compilable?
6429 echo "$as_me:$LINENO: checking complex.h usability" >&5
6430 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6431 cat >conftest.$ac_ext <<_ACEOF
6432 /* confdefs.h.  */
6433 _ACEOF
6434 cat confdefs.h >>conftest.$ac_ext
6435 cat >>conftest.$ac_ext <<_ACEOF
6436 /* end confdefs.h.  */
6437 $ac_includes_default
6438 #include <complex.h>
6439 _ACEOF
6440 rm -f conftest.$ac_objext
6441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6442   (eval $ac_compile) 2>conftest.er1
6443   ac_status=$?
6444   grep -v '^ *+' conftest.er1 >conftest.err
6445   rm -f conftest.er1
6446   cat conftest.err >&5
6447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448   (exit $ac_status); } &&
6449          { ac_try='test -z "$ac_c_werror_flag"
6450                          || test ! -s conftest.err'
6451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452   (eval $ac_try) 2>&5
6453   ac_status=$?
6454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455   (exit $ac_status); }; } &&
6456          { ac_try='test -s conftest.$ac_objext'
6457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458   (eval $ac_try) 2>&5
6459   ac_status=$?
6460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461   (exit $ac_status); }; }; then
6462   ac_header_compiler=yes
6463 else
6464   echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.$ac_ext >&5
6466
6467 ac_header_compiler=no
6468 fi
6469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6471 echo "${ECHO_T}$ac_header_compiler" >&6
6472
6473 # Is the header present?
6474 echo "$as_me:$LINENO: checking complex.h presence" >&5
6475 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h.  */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h.  */
6482 #include <complex.h>
6483 _ACEOF
6484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6485   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6486   ac_status=$?
6487   grep -v '^ *+' conftest.er1 >conftest.err
6488   rm -f conftest.er1
6489   cat conftest.err >&5
6490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491   (exit $ac_status); } >/dev/null; then
6492   if test -s conftest.err; then
6493     ac_cpp_err=$ac_c_preproc_warn_flag
6494     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6495   else
6496     ac_cpp_err=
6497   fi
6498 else
6499   ac_cpp_err=yes
6500 fi
6501 if test -z "$ac_cpp_err"; then
6502   ac_header_preproc=yes
6503 else
6504   echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6506
6507   ac_header_preproc=no
6508 fi
6509 rm -f conftest.err conftest.$ac_ext
6510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6511 echo "${ECHO_T}$ac_header_preproc" >&6
6512
6513 # So?  What about this header?
6514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6515   yes:no: )
6516     { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6517 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6518     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6519 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6520     ac_header_preproc=yes
6521     ;;
6522   no:yes:* )
6523     { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6524 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6525     { echo "$as_me:$LINENO: WARNING: complex.h:     check for missing prerequisite headers?" >&5
6526 echo "$as_me: WARNING: complex.h:     check for missing prerequisite headers?" >&2;}
6527     { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6528 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6529     { echo "$as_me:$LINENO: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&5
6530 echo "$as_me: WARNING: complex.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6531     { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6532 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6533     { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6534 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6535     (
6536       cat <<\_ASBOX
6537 ## ------------------------------------------------------ ##
6538 ## Report this to the GNU Fortran Runtime Library lists.  ##
6539 ## ------------------------------------------------------ ##
6540 _ASBOX
6541     ) |
6542       sed "s/^/$as_me: WARNING:     /" >&2
6543     ;;
6544 esac
6545 echo "$as_me:$LINENO: checking for complex.h" >&5
6546 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6547 if test "${ac_cv_header_complex_h+set}" = set; then
6548   echo $ECHO_N "(cached) $ECHO_C" >&6
6549 else
6550   ac_cv_header_complex_h=$ac_header_preproc
6551 fi
6552 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6553 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6554
6555 fi
6556 if test $ac_cv_header_complex_h = yes; then
6557
6558 cat >>confdefs.h <<\_ACEOF
6559 #define HAVE_COMPLEX_H 1
6560 _ACEOF
6561
6562 fi
6563
6564
6565
6566
6567 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
6568
6569 acx_cv_header_stdint=stddef.h
6570 acx_cv_header_stdint_kind="(already complete)"
6571 for i in stdint.h $inttype_headers; do
6572   unset ac_cv_type_uintptr_t
6573   unset ac_cv_type_uintmax_t
6574   unset ac_cv_type_int_least32_t
6575   unset ac_cv_type_int_fast32_t
6576   unset ac_cv_type_uint64_t
6577   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6578   echo "$as_me:$LINENO: checking for uintmax_t" >&5
6579 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6580 if test "${ac_cv_type_uintmax_t+set}" = set; then
6581   echo $ECHO_N "(cached) $ECHO_C" >&6
6582 else
6583   cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h.  */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h.  */
6589 #include <sys/types.h>
6590 #include <$i>
6591
6592 int
6593 main ()
6594 {
6595 if ((uintmax_t *) 0)
6596   return 0;
6597 if (sizeof (uintmax_t))
6598   return 0;
6599   ;
6600   return 0;
6601 }
6602 _ACEOF
6603 rm -f conftest.$ac_objext
6604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605   (eval $ac_compile) 2>conftest.er1
6606   ac_status=$?
6607   grep -v '^ *+' conftest.er1 >conftest.err
6608   rm -f conftest.er1
6609   cat conftest.err >&5
6610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611   (exit $ac_status); } &&
6612          { ac_try='test -z "$ac_c_werror_flag"
6613                          || test ! -s conftest.err'
6614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615   (eval $ac_try) 2>&5
6616   ac_status=$?
6617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618   (exit $ac_status); }; } &&
6619          { ac_try='test -s conftest.$ac_objext'
6620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6621   (eval $ac_try) 2>&5
6622   ac_status=$?
6623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624   (exit $ac_status); }; }; then
6625   ac_cv_type_uintmax_t=yes
6626 else
6627   echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6629
6630 ac_cv_type_uintmax_t=no
6631 fi
6632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6633 fi
6634 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6635 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6636 if test $ac_cv_type_uintmax_t = yes; then
6637   acx_cv_header_stdint=$i
6638 else
6639   continue
6640 fi
6641
6642   echo "$as_me:$LINENO: checking for uintptr_t" >&5
6643 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6644 if test "${ac_cv_type_uintptr_t+set}" = set; then
6645   echo $ECHO_N "(cached) $ECHO_C" >&6
6646 else
6647   cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h.  */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h.  */
6653 #include <sys/types.h>
6654 #include <$i>
6655
6656 int
6657 main ()
6658 {
6659 if ((uintptr_t *) 0)
6660   return 0;
6661 if (sizeof (uintptr_t))
6662   return 0;
6663   ;
6664   return 0;
6665 }
6666 _ACEOF
6667 rm -f conftest.$ac_objext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6669   (eval $ac_compile) 2>conftest.er1
6670   ac_status=$?
6671   grep -v '^ *+' conftest.er1 >conftest.err
6672   rm -f conftest.er1
6673   cat conftest.err >&5
6674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675   (exit $ac_status); } &&
6676          { ac_try='test -z "$ac_c_werror_flag"
6677                          || test ! -s conftest.err'
6678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679   (eval $ac_try) 2>&5
6680   ac_status=$?
6681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682   (exit $ac_status); }; } &&
6683          { ac_try='test -s conftest.$ac_objext'
6684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685   (eval $ac_try) 2>&5
6686   ac_status=$?
6687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688   (exit $ac_status); }; }; then
6689   ac_cv_type_uintptr_t=yes
6690 else
6691   echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.$ac_ext >&5
6693
6694 ac_cv_type_uintptr_t=no
6695 fi
6696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6697 fi
6698 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6699 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6700 if test $ac_cv_type_uintptr_t = yes; then
6701   :
6702 else
6703   acx_cv_header_stdint_kind="(mostly complete)"
6704 fi
6705
6706   echo "$as_me:$LINENO: checking for int_least32_t" >&5
6707 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6708 if test "${ac_cv_type_int_least32_t+set}" = set; then
6709   echo $ECHO_N "(cached) $ECHO_C" >&6
6710 else
6711   cat >conftest.$ac_ext <<_ACEOF
6712 /* confdefs.h.  */
6713 _ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h.  */
6717 #include <sys/types.h>
6718 #include <$i>
6719
6720 int
6721 main ()
6722 {
6723 if ((int_least32_t *) 0)
6724   return 0;
6725 if (sizeof (int_least32_t))
6726   return 0;
6727   ;
6728   return 0;
6729 }
6730 _ACEOF
6731 rm -f conftest.$ac_objext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733   (eval $ac_compile) 2>conftest.er1
6734   ac_status=$?
6735   grep -v '^ *+' conftest.er1 >conftest.err
6736   rm -f conftest.er1
6737   cat conftest.err >&5
6738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739   (exit $ac_status); } &&
6740          { ac_try='test -z "$ac_c_werror_flag"
6741                          || test ! -s conftest.err'
6742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743   (eval $ac_try) 2>&5
6744   ac_status=$?
6745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746   (exit $ac_status); }; } &&
6747          { ac_try='test -s conftest.$ac_objext'
6748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749   (eval $ac_try) 2>&5
6750   ac_status=$?
6751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752   (exit $ac_status); }; }; then
6753   ac_cv_type_int_least32_t=yes
6754 else
6755   echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.$ac_ext >&5
6757
6758 ac_cv_type_int_least32_t=no
6759 fi
6760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6761 fi
6762 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6763 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6764 if test $ac_cv_type_int_least32_t = yes; then
6765   :
6766 else
6767   acx_cv_header_stdint_kind="(mostly complete)"
6768 fi
6769
6770   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6771 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6772 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6773   echo $ECHO_N "(cached) $ECHO_C" >&6
6774 else
6775   cat >conftest.$ac_ext <<_ACEOF
6776 /* confdefs.h.  */
6777 _ACEOF
6778 cat confdefs.h >>conftest.$ac_ext
6779 cat >>conftest.$ac_ext <<_ACEOF
6780 /* end confdefs.h.  */
6781 #include <sys/types.h>
6782 #include <$i>
6783
6784 int
6785 main ()
6786 {
6787 if ((int_fast32_t *) 0)
6788   return 0;
6789 if (sizeof (int_fast32_t))
6790   return 0;
6791   ;
6792   return 0;
6793 }
6794 _ACEOF
6795 rm -f conftest.$ac_objext
6796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797   (eval $ac_compile) 2>conftest.er1
6798   ac_status=$?
6799   grep -v '^ *+' conftest.er1 >conftest.err
6800   rm -f conftest.er1
6801   cat conftest.err >&5
6802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803   (exit $ac_status); } &&
6804          { ac_try='test -z "$ac_c_werror_flag"
6805                          || test ! -s conftest.err'
6806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807   (eval $ac_try) 2>&5
6808   ac_status=$?
6809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810   (exit $ac_status); }; } &&
6811          { ac_try='test -s conftest.$ac_objext'
6812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813   (eval $ac_try) 2>&5
6814   ac_status=$?
6815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816   (exit $ac_status); }; }; then
6817   ac_cv_type_int_fast32_t=yes
6818 else
6819   echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.$ac_ext >&5
6821
6822 ac_cv_type_int_fast32_t=no
6823 fi
6824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6825 fi
6826 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
6827 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
6828 if test $ac_cv_type_int_fast32_t = yes; then
6829   :
6830 else
6831   acx_cv_header_stdint_kind="(mostly complete)"
6832 fi
6833
6834   echo "$as_me:$LINENO: checking for uint64_t" >&5
6835 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6836 if test "${ac_cv_type_uint64_t+set}" = set; then
6837   echo $ECHO_N "(cached) $ECHO_C" >&6
6838 else
6839   cat >conftest.$ac_ext <<_ACEOF
6840 /* confdefs.h.  */
6841 _ACEOF
6842 cat confdefs.h >>conftest.$ac_ext
6843 cat >>conftest.$ac_ext <<_ACEOF
6844 /* end confdefs.h.  */
6845 #include <sys/types.h>
6846 #include <$i>
6847
6848 int
6849 main ()
6850 {
6851 if ((uint64_t *) 0)
6852   return 0;
6853 if (sizeof (uint64_t))
6854   return 0;
6855   ;
6856   return 0;
6857 }
6858 _ACEOF
6859 rm -f conftest.$ac_objext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6861   (eval $ac_compile) 2>conftest.er1
6862   ac_status=$?
6863   grep -v '^ *+' conftest.er1 >conftest.err
6864   rm -f conftest.er1
6865   cat conftest.err >&5
6866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867   (exit $ac_status); } &&
6868          { ac_try='test -z "$ac_c_werror_flag"
6869                          || test ! -s conftest.err'
6870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871   (eval $ac_try) 2>&5
6872   ac_status=$?
6873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874   (exit $ac_status); }; } &&
6875          { ac_try='test -s conftest.$ac_objext'
6876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877   (eval $ac_try) 2>&5
6878   ac_status=$?
6879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880   (exit $ac_status); }; }; then
6881   ac_cv_type_uint64_t=yes
6882 else
6883   echo "$as_me: failed program was:" >&5
6884 sed 's/^/| /' conftest.$ac_ext >&5
6885
6886 ac_cv_type_uint64_t=no
6887 fi
6888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6889 fi
6890 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
6891 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
6892 if test $ac_cv_type_uint64_t = yes; then
6893   :
6894 else
6895   acx_cv_header_stdint_kind="(lacks uint64_t)"
6896 fi
6897
6898   break
6899 done
6900 if test "$acx_cv_header_stdint" = stddef.h; then
6901   acx_cv_header_stdint_kind="(lacks uintptr_t)"
6902   for i in stdint.h $inttype_headers; do
6903     unset ac_cv_type_uint32_t
6904     unset ac_cv_type_uint64_t
6905     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
6906     echo "$as_me:$LINENO: checking for uint32_t" >&5
6907 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6908 if test "${ac_cv_type_uint32_t+set}" = set; then
6909   echo $ECHO_N "(cached) $ECHO_C" >&6
6910 else
6911   cat >conftest.$ac_ext <<_ACEOF
6912 /* confdefs.h.  */
6913 _ACEOF
6914 cat confdefs.h >>conftest.$ac_ext
6915 cat >>conftest.$ac_ext <<_ACEOF
6916 /* end confdefs.h.  */
6917 #include <sys/types.h>
6918 #include <$i>
6919
6920 int
6921 main ()
6922 {
6923 if ((uint32_t *) 0)
6924   return 0;
6925 if (sizeof (uint32_t))
6926   return 0;
6927   ;
6928   return 0;
6929 }
6930 _ACEOF
6931 rm -f conftest.$ac_objext
6932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933   (eval $ac_compile) 2>conftest.er1
6934   ac_status=$?
6935   grep -v '^ *+' conftest.er1 >conftest.err
6936   rm -f conftest.er1
6937   cat conftest.err >&5
6938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939   (exit $ac_status); } &&
6940          { ac_try='test -z "$ac_c_werror_flag"
6941                          || test ! -s conftest.err'
6942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943   (eval $ac_try) 2>&5
6944   ac_status=$?
6945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946   (exit $ac_status); }; } &&
6947          { ac_try='test -s conftest.$ac_objext'
6948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949   (eval $ac_try) 2>&5
6950   ac_status=$?
6951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952   (exit $ac_status); }; }; then
6953   ac_cv_type_uint32_t=yes
6954 else
6955   echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.$ac_ext >&5
6957
6958 ac_cv_type_uint32_t=no
6959 fi
6960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6961 fi
6962 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6963 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
6964 if test $ac_cv_type_uint32_t = yes; then
6965   acx_cv_header_stdint=$i
6966 else
6967   continue
6968 fi
6969
6970     echo "$as_me:$LINENO: checking for uint64_t" >&5
6971 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6972 if test "${ac_cv_type_uint64_t+set}" = set; then
6973   echo $ECHO_N "(cached) $ECHO_C" >&6
6974 else
6975   cat >conftest.$ac_ext <<_ACEOF
6976 /* confdefs.h.  */
6977 _ACEOF
6978 cat confdefs.h >>conftest.$ac_ext
6979 cat >>conftest.$ac_ext <<_ACEOF
6980 /* end confdefs.h.  */
6981 #include <sys/types.h>
6982 #include <$i>
6983
6984 int
6985 main ()
6986 {
6987 if ((uint64_t *) 0)
6988   return 0;
6989 if (sizeof (uint64_t))
6990   return 0;
6991   ;
6992   return 0;
6993 }
6994 _ACEOF
6995 rm -f conftest.$ac_objext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6997   (eval $ac_compile) 2>conftest.er1
6998   ac_status=$?
6999   grep -v '^ *+' conftest.er1 >conftest.err
7000   rm -f conftest.er1
7001   cat conftest.err >&5
7002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003   (exit $ac_status); } &&
7004          { ac_try='test -z "$ac_c_werror_flag"
7005                          || test ! -s conftest.err'
7006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007   (eval $ac_try) 2>&5
7008   ac_status=$?
7009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010   (exit $ac_status); }; } &&
7011          { ac_try='test -s conftest.$ac_objext'
7012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013   (eval $ac_try) 2>&5
7014   ac_status=$?
7015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016   (exit $ac_status); }; }; then
7017   ac_cv_type_uint64_t=yes
7018 else
7019   echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7021
7022 ac_cv_type_uint64_t=no
7023 fi
7024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7025 fi
7026 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7027 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7028 if test $ac_cv_type_uint64_t = yes; then
7029   :
7030 else
7031   acx_cv_header_stdint_kind="(lacks uintptr_t and uint64_t)"
7032 fi
7033
7034     break
7035   done
7036 fi
7037 if test "$acx_cv_header_stdint" = stddef.h; then
7038   acx_cv_header_stdint_kind="(u_intXX_t style)"
7039   for i in sys/types.h $inttype_headers; do
7040     unset ac_cv_type_u_int32_t
7041     unset ac_cv_type_u_int64_t
7042     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7043     echo "$as_me:$LINENO: checking for u_int32_t" >&5
7044 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7045 if test "${ac_cv_type_u_int32_t+set}" = set; then
7046   echo $ECHO_N "(cached) $ECHO_C" >&6
7047 else
7048   cat >conftest.$ac_ext <<_ACEOF
7049 /* confdefs.h.  */
7050 _ACEOF
7051 cat confdefs.h >>conftest.$ac_ext
7052 cat >>conftest.$ac_ext <<_ACEOF
7053 /* end confdefs.h.  */
7054 #include <sys/types.h>
7055 #include <$i>
7056
7057 int
7058 main ()
7059 {
7060 if ((u_int32_t *) 0)
7061   return 0;
7062 if (sizeof (u_int32_t))
7063   return 0;
7064   ;
7065   return 0;
7066 }
7067 _ACEOF
7068 rm -f conftest.$ac_objext
7069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7070   (eval $ac_compile) 2>conftest.er1
7071   ac_status=$?
7072   grep -v '^ *+' conftest.er1 >conftest.err
7073   rm -f conftest.er1
7074   cat conftest.err >&5
7075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076   (exit $ac_status); } &&
7077          { ac_try='test -z "$ac_c_werror_flag"
7078                          || test ! -s conftest.err'
7079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080   (eval $ac_try) 2>&5
7081   ac_status=$?
7082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083   (exit $ac_status); }; } &&
7084          { ac_try='test -s conftest.$ac_objext'
7085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086   (eval $ac_try) 2>&5
7087   ac_status=$?
7088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089   (exit $ac_status); }; }; then
7090   ac_cv_type_u_int32_t=yes
7091 else
7092   echo "$as_me: failed program was:" >&5
7093 sed 's/^/| /' conftest.$ac_ext >&5
7094
7095 ac_cv_type_u_int32_t=no
7096 fi
7097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7098 fi
7099 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7100 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7101 if test $ac_cv_type_u_int32_t = yes; then
7102   acx_cv_header_stdint=$i
7103 else
7104   continue
7105 fi
7106
7107     echo "$as_me:$LINENO: checking for u_int64_t" >&5
7108 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7109 if test "${ac_cv_type_u_int64_t+set}" = set; then
7110   echo $ECHO_N "(cached) $ECHO_C" >&6
7111 else
7112   cat >conftest.$ac_ext <<_ACEOF
7113 /* confdefs.h.  */
7114 _ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h.  */
7118 #include <sys/types.h>
7119 #include <$i>
7120
7121 int
7122 main ()
7123 {
7124 if ((u_int64_t *) 0)
7125   return 0;
7126 if (sizeof (u_int64_t))
7127   return 0;
7128   ;
7129   return 0;
7130 }
7131 _ACEOF
7132 rm -f conftest.$ac_objext
7133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7134   (eval $ac_compile) 2>conftest.er1
7135   ac_status=$?
7136   grep -v '^ *+' conftest.er1 >conftest.err
7137   rm -f conftest.er1
7138   cat conftest.err >&5
7139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140   (exit $ac_status); } &&
7141          { ac_try='test -z "$ac_c_werror_flag"
7142                          || test ! -s conftest.err'
7143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144   (eval $ac_try) 2>&5
7145   ac_status=$?
7146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147   (exit $ac_status); }; } &&
7148          { ac_try='test -s conftest.$ac_objext'
7149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150   (eval $ac_try) 2>&5
7151   ac_status=$?
7152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153   (exit $ac_status); }; }; then
7154   ac_cv_type_u_int64_t=yes
7155 else
7156   echo "$as_me: failed program was:" >&5
7157 sed 's/^/| /' conftest.$ac_ext >&5
7158
7159 ac_cv_type_u_int64_t=no
7160 fi
7161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7162 fi
7163 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7164 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7165 if test $ac_cv_type_u_int64_t = yes; then
7166   :
7167 else
7168   acx_cv_header_stdint_kind="(u_intXX_t style, lacks u_int64_t)"
7169 fi
7170
7171     break
7172   done
7173 fi
7174 if test "$acx_cv_header_stdint" = stddef.h; then
7175   acx_cv_header_stdint_kind="(using manual detection)"
7176 fi
7177
7178 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7179 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7180 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7181 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7182 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7183
7184 # ----------------- Summarize what we found so far
7185
7186 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7187 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7188
7189 case `$as_basename gstdint.h ||
7190 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7191          Xgstdint.h : 'X\(//\)$' \| \
7192          Xgstdint.h : 'X\(/\)$' \| \
7193          .     : '\(.\)' 2>/dev/null ||
7194 echo X/gstdint.h |
7195     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7196           /^X\/\(\/\/\)$/{ s//\1/; q; }
7197           /^X\/\(\/\).*/{ s//\1/; q; }
7198           s/.*/./; q'` in
7199   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7200 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7201   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7202 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7203   *) ;;
7204 esac
7205
7206 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7207 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7208
7209 # ----------------- done included file, check C basic types --------
7210
7211 # Lacking an uintptr_t?  Test size of void *
7212 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7213   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7214 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7215 if test "${ac_cv_type_void_p+set}" = set; then
7216   echo $ECHO_N "(cached) $ECHO_C" >&6
7217 else
7218   cat >conftest.$ac_ext <<_ACEOF
7219 /* confdefs.h.  */
7220 _ACEOF
7221 cat confdefs.h >>conftest.$ac_ext
7222 cat >>conftest.$ac_ext <<_ACEOF
7223 /* end confdefs.h.  */
7224 $ac_includes_default
7225 int
7226 main ()
7227 {
7228 if ((void * *) 0)
7229   return 0;
7230 if (sizeof (void *))
7231   return 0;
7232   ;
7233   return 0;
7234 }
7235 _ACEOF
7236 rm -f conftest.$ac_objext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7238   (eval $ac_compile) 2>conftest.er1
7239   ac_status=$?
7240   grep -v '^ *+' conftest.er1 >conftest.err
7241   rm -f conftest.er1
7242   cat conftest.err >&5
7243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244   (exit $ac_status); } &&
7245          { ac_try='test -z "$ac_c_werror_flag"
7246                          || test ! -s conftest.err'
7247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248   (eval $ac_try) 2>&5
7249   ac_status=$?
7250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251   (exit $ac_status); }; } &&
7252          { ac_try='test -s conftest.$ac_objext'
7253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254   (eval $ac_try) 2>&5
7255   ac_status=$?
7256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257   (exit $ac_status); }; }; then
7258   ac_cv_type_void_p=yes
7259 else
7260   echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7262
7263 ac_cv_type_void_p=no
7264 fi
7265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7266 fi
7267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7269
7270 echo "$as_me:$LINENO: checking size of void *" >&5
7271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7272 if test "${ac_cv_sizeof_void_p+set}" = set; then
7273   echo $ECHO_N "(cached) $ECHO_C" >&6
7274 else
7275   if test "$ac_cv_type_void_p" = yes; then
7276   # The cast to unsigned long works around a bug in the HP C Compiler
7277   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7278   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7279   # This bug is HP SR number 8606223364.
7280   if test "$cross_compiling" = yes; then
7281   # Depending upon the size, compute the lo and hi bounds.
7282 cat >conftest.$ac_ext <<_ACEOF
7283 /* confdefs.h.  */
7284 _ACEOF
7285 cat confdefs.h >>conftest.$ac_ext
7286 cat >>conftest.$ac_ext <<_ACEOF
7287 /* end confdefs.h.  */
7288 $ac_includes_default
7289 int
7290 main ()
7291 {
7292 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7293 test_array [0] = 0
7294
7295   ;
7296   return 0;
7297 }
7298 _ACEOF
7299 rm -f conftest.$ac_objext
7300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7301   (eval $ac_compile) 2>conftest.er1
7302   ac_status=$?
7303   grep -v '^ *+' conftest.er1 >conftest.err
7304   rm -f conftest.er1
7305   cat conftest.err >&5
7306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307   (exit $ac_status); } &&
7308          { ac_try='test -z "$ac_c_werror_flag"
7309                          || test ! -s conftest.err'
7310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311   (eval $ac_try) 2>&5
7312   ac_status=$?
7313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314   (exit $ac_status); }; } &&
7315          { ac_try='test -s conftest.$ac_objext'
7316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317   (eval $ac_try) 2>&5
7318   ac_status=$?
7319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320   (exit $ac_status); }; }; then
7321   ac_lo=0 ac_mid=0
7322   while :; do
7323     cat >conftest.$ac_ext <<_ACEOF
7324 /* confdefs.h.  */
7325 _ACEOF
7326 cat confdefs.h >>conftest.$ac_ext
7327 cat >>conftest.$ac_ext <<_ACEOF
7328 /* end confdefs.h.  */
7329 $ac_includes_default
7330 int
7331 main ()
7332 {
7333 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7334 test_array [0] = 0
7335
7336   ;
7337   return 0;
7338 }
7339 _ACEOF
7340 rm -f conftest.$ac_objext
7341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7342   (eval $ac_compile) 2>conftest.er1
7343   ac_status=$?
7344   grep -v '^ *+' conftest.er1 >conftest.err
7345   rm -f conftest.er1
7346   cat conftest.err >&5
7347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348   (exit $ac_status); } &&
7349          { ac_try='test -z "$ac_c_werror_flag"
7350                          || 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=$ac_mid; break
7363 else
7364   echo "$as_me: failed program was:" >&5
7365 sed 's/^/| /' conftest.$ac_ext >&5
7366
7367 ac_lo=`expr $ac_mid + 1`
7368                     if test $ac_lo -le $ac_mid; then
7369                       ac_lo= ac_hi=
7370                       break
7371                     fi
7372                     ac_mid=`expr 2 '*' $ac_mid + 1`
7373 fi
7374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7375   done
7376 else
7377   echo "$as_me: failed program was:" >&5
7378 sed 's/^/| /' conftest.$ac_ext >&5
7379
7380 cat >conftest.$ac_ext <<_ACEOF
7381 /* confdefs.h.  */
7382 _ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h.  */
7386 $ac_includes_default
7387 int
7388 main ()
7389 {
7390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7391 test_array [0] = 0
7392
7393   ;
7394   return 0;
7395 }
7396 _ACEOF
7397 rm -f conftest.$ac_objext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399   (eval $ac_compile) 2>conftest.er1
7400   ac_status=$?
7401   grep -v '^ *+' conftest.er1 >conftest.err
7402   rm -f conftest.er1
7403   cat conftest.err >&5
7404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405   (exit $ac_status); } &&
7406          { ac_try='test -z "$ac_c_werror_flag"
7407                          || test ! -s conftest.err'
7408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409   (eval $ac_try) 2>&5
7410   ac_status=$?
7411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412   (exit $ac_status); }; } &&
7413          { ac_try='test -s conftest.$ac_objext'
7414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415   (eval $ac_try) 2>&5
7416   ac_status=$?
7417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418   (exit $ac_status); }; }; then
7419   ac_hi=-1 ac_mid=-1
7420   while :; do
7421     cat >conftest.$ac_ext <<_ACEOF
7422 /* confdefs.h.  */
7423 _ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h.  */
7427 $ac_includes_default
7428 int
7429 main ()
7430 {
7431 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7432 test_array [0] = 0
7433
7434   ;
7435   return 0;
7436 }
7437 _ACEOF
7438 rm -f conftest.$ac_objext
7439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7440   (eval $ac_compile) 2>conftest.er1
7441   ac_status=$?
7442   grep -v '^ *+' conftest.er1 >conftest.err
7443   rm -f conftest.er1
7444   cat conftest.err >&5
7445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446   (exit $ac_status); } &&
7447          { ac_try='test -z "$ac_c_werror_flag"
7448                          || test ! -s conftest.err'
7449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7450   (eval $ac_try) 2>&5
7451   ac_status=$?
7452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453   (exit $ac_status); }; } &&
7454          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
7460   ac_lo=$ac_mid; break
7461 else
7462   echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5
7464
7465 ac_hi=`expr '(' $ac_mid ')' - 1`
7466                        if test $ac_mid -le $ac_hi; then
7467                          ac_lo= ac_hi=
7468                          break
7469                        fi
7470                        ac_mid=`expr 2 '*' $ac_mid`
7471 fi
7472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7473   done
7474 else
7475   echo "$as_me: failed program was:" >&5
7476 sed 's/^/| /' conftest.$ac_ext >&5
7477
7478 ac_lo= ac_hi=
7479 fi
7480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7481 fi
7482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7483 # Binary search between lo and hi bounds.
7484 while test "x$ac_lo" != "x$ac_hi"; do
7485   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7486   cat >conftest.$ac_ext <<_ACEOF
7487 /* confdefs.h.  */
7488 _ACEOF
7489 cat confdefs.h >>conftest.$ac_ext
7490 cat >>conftest.$ac_ext <<_ACEOF
7491 /* end confdefs.h.  */
7492 $ac_includes_default
7493 int
7494 main ()
7495 {
7496 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7497 test_array [0] = 0
7498
7499   ;
7500   return 0;
7501 }
7502 _ACEOF
7503 rm -f conftest.$ac_objext
7504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7505   (eval $ac_compile) 2>conftest.er1
7506   ac_status=$?
7507   grep -v '^ *+' conftest.er1 >conftest.err
7508   rm -f conftest.er1
7509   cat conftest.err >&5
7510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511   (exit $ac_status); } &&
7512          { ac_try='test -z "$ac_c_werror_flag"
7513                          || test ! -s conftest.err'
7514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515   (eval $ac_try) 2>&5
7516   ac_status=$?
7517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518   (exit $ac_status); }; } &&
7519          { ac_try='test -s conftest.$ac_objext'
7520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7521   (eval $ac_try) 2>&5
7522   ac_status=$?
7523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524   (exit $ac_status); }; }; then
7525   ac_hi=$ac_mid
7526 else
7527   echo "$as_me: failed program was:" >&5
7528 sed 's/^/| /' conftest.$ac_ext >&5
7529
7530 ac_lo=`expr '(' $ac_mid ')' + 1`
7531 fi
7532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7533 done
7534 case $ac_lo in
7535 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7536 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7537 See \`config.log' for more details." >&5
7538 echo "$as_me: error: cannot compute sizeof (void *), 77
7539 See \`config.log' for more details." >&2;}
7540    { (exit 1); exit 1; }; } ;;
7541 esac
7542 else
7543   if test "$cross_compiling" = yes; then
7544   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7545 See \`config.log' for more details." >&5
7546 echo "$as_me: error: cannot run test program while cross compiling
7547 See \`config.log' for more details." >&2;}
7548    { (exit 1); exit 1; }; }
7549 else
7550   cat >conftest.$ac_ext <<_ACEOF
7551 /* confdefs.h.  */
7552 _ACEOF
7553 cat confdefs.h >>conftest.$ac_ext
7554 cat >>conftest.$ac_ext <<_ACEOF
7555 /* end confdefs.h.  */
7556 $ac_includes_default
7557 long longval () { return (long) (sizeof (void *)); }
7558 unsigned long ulongval () { return (long) (sizeof (void *)); }
7559 #include <stdio.h>
7560 #include <stdlib.h>
7561 int
7562 main ()
7563 {
7564
7565   FILE *f = fopen ("conftest.val", "w");
7566   if (! f)
7567     exit (1);
7568   if (((long) (sizeof (void *))) < 0)
7569     {
7570       long i = longval ();
7571       if (i != ((long) (sizeof (void *))))
7572         exit (1);
7573       fprintf (f, "%ld\n", i);
7574     }
7575   else
7576     {
7577       unsigned long i = ulongval ();
7578       if (i != ((long) (sizeof (void *))))
7579         exit (1);
7580       fprintf (f, "%lu\n", i);
7581     }
7582   exit (ferror (f) || fclose (f) != 0);
7583
7584   ;
7585   return 0;
7586 }
7587 _ACEOF
7588 rm -f conftest$ac_exeext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7590   (eval $ac_link) 2>&5
7591   ac_status=$?
7592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595   (eval $ac_try) 2>&5
7596   ac_status=$?
7597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598   (exit $ac_status); }; }; then
7599   ac_cv_sizeof_void_p=`cat conftest.val`
7600 else
7601   echo "$as_me: program exited with status $ac_status" >&5
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.$ac_ext >&5
7604
7605 ( exit $ac_status )
7606 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7607 See \`config.log' for more details." >&5
7608 echo "$as_me: error: cannot compute sizeof (void *), 77
7609 See \`config.log' for more details." >&2;}
7610    { (exit 1); exit 1; }; }
7611 fi
7612 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7613 fi
7614 fi
7615 rm -f conftest.val
7616 else
7617   ac_cv_sizeof_void_p=0
7618 fi
7619 fi
7620 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7621 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7622 cat >>confdefs.h <<_ACEOF
7623 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7624 _ACEOF
7625
7626  ;;
7627 esac
7628
7629 # Lacking an uint64_t?  Test size of long
7630 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7631   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7632 echo $ECHO_N "checking for long... $ECHO_C" >&6
7633 if test "${ac_cv_type_long+set}" = set; then
7634   echo $ECHO_N "(cached) $ECHO_C" >&6
7635 else
7636   cat >conftest.$ac_ext <<_ACEOF
7637 /* confdefs.h.  */
7638 _ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h.  */
7642 $ac_includes_default
7643 int
7644 main ()
7645 {
7646 if ((long *) 0)
7647   return 0;
7648 if (sizeof (long))
7649   return 0;
7650   ;
7651   return 0;
7652 }
7653 _ACEOF
7654 rm -f conftest.$ac_objext
7655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7656   (eval $ac_compile) 2>conftest.er1
7657   ac_status=$?
7658   grep -v '^ *+' conftest.er1 >conftest.err
7659   rm -f conftest.er1
7660   cat conftest.err >&5
7661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662   (exit $ac_status); } &&
7663          { ac_try='test -z "$ac_c_werror_flag"
7664                          || 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_cv_type_long=yes
7677 else
7678   echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.$ac_ext >&5
7680
7681 ac_cv_type_long=no
7682 fi
7683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7684 fi
7685 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7686 echo "${ECHO_T}$ac_cv_type_long" >&6
7687
7688 echo "$as_me:$LINENO: checking size of long" >&5
7689 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7690 if test "${ac_cv_sizeof_long+set}" = set; then
7691   echo $ECHO_N "(cached) $ECHO_C" >&6
7692 else
7693   if test "$ac_cv_type_long" = yes; then
7694   # The cast to unsigned long works around a bug in the HP C Compiler
7695   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7696   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7697   # This bug is HP SR number 8606223364.
7698   if test "$cross_compiling" = yes; then
7699   # Depending upon the size, compute the lo and hi bounds.
7700 cat >conftest.$ac_ext <<_ACEOF
7701 /* confdefs.h.  */
7702 _ACEOF
7703 cat confdefs.h >>conftest.$ac_ext
7704 cat >>conftest.$ac_ext <<_ACEOF
7705 /* end confdefs.h.  */
7706 $ac_includes_default
7707 int
7708 main ()
7709 {
7710 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7711 test_array [0] = 0
7712
7713   ;
7714   return 0;
7715 }
7716 _ACEOF
7717 rm -f conftest.$ac_objext
7718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7719   (eval $ac_compile) 2>conftest.er1
7720   ac_status=$?
7721   grep -v '^ *+' conftest.er1 >conftest.err
7722   rm -f conftest.er1
7723   cat conftest.err >&5
7724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725   (exit $ac_status); } &&
7726          { ac_try='test -z "$ac_c_werror_flag"
7727                          || test ! -s conftest.err'
7728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7729   (eval $ac_try) 2>&5
7730   ac_status=$?
7731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732   (exit $ac_status); }; } &&
7733          { ac_try='test -s conftest.$ac_objext'
7734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735   (eval $ac_try) 2>&5
7736   ac_status=$?
7737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738   (exit $ac_status); }; }; then
7739   ac_lo=0 ac_mid=0
7740   while :; do
7741     cat >conftest.$ac_ext <<_ACEOF
7742 /* confdefs.h.  */
7743 _ACEOF
7744 cat confdefs.h >>conftest.$ac_ext
7745 cat >>conftest.$ac_ext <<_ACEOF
7746 /* end confdefs.h.  */
7747 $ac_includes_default
7748 int
7749 main ()
7750 {
7751 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7752 test_array [0] = 0
7753
7754   ;
7755   return 0;
7756 }
7757 _ACEOF
7758 rm -f conftest.$ac_objext
7759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7760   (eval $ac_compile) 2>conftest.er1
7761   ac_status=$?
7762   grep -v '^ *+' conftest.er1 >conftest.err
7763   rm -f conftest.er1
7764   cat conftest.err >&5
7765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766   (exit $ac_status); } &&
7767          { ac_try='test -z "$ac_c_werror_flag"
7768                          || test ! -s conftest.err'
7769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7770   (eval $ac_try) 2>&5
7771   ac_status=$?
7772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773   (exit $ac_status); }; } &&
7774          { ac_try='test -s conftest.$ac_objext'
7775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7776   (eval $ac_try) 2>&5
7777   ac_status=$?
7778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779   (exit $ac_status); }; }; then
7780   ac_hi=$ac_mid; break
7781 else
7782   echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.$ac_ext >&5
7784
7785 ac_lo=`expr $ac_mid + 1`
7786                     if test $ac_lo -le $ac_mid; then
7787                       ac_lo= ac_hi=
7788                       break
7789                     fi
7790                     ac_mid=`expr 2 '*' $ac_mid + 1`
7791 fi
7792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7793   done
7794 else
7795   echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7797
7798 cat >conftest.$ac_ext <<_ACEOF
7799 /* confdefs.h.  */
7800 _ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h.  */
7804 $ac_includes_default
7805 int
7806 main ()
7807 {
7808 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7809 test_array [0] = 0
7810
7811   ;
7812   return 0;
7813 }
7814 _ACEOF
7815 rm -f conftest.$ac_objext
7816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7817   (eval $ac_compile) 2>conftest.er1
7818   ac_status=$?
7819   grep -v '^ *+' conftest.er1 >conftest.err
7820   rm -f conftest.er1
7821   cat conftest.err >&5
7822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823   (exit $ac_status); } &&
7824          { ac_try='test -z "$ac_c_werror_flag"
7825                          || test ! -s conftest.err'
7826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7827   (eval $ac_try) 2>&5
7828   ac_status=$?
7829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830   (exit $ac_status); }; } &&
7831          { ac_try='test -s conftest.$ac_objext'
7832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833   (eval $ac_try) 2>&5
7834   ac_status=$?
7835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836   (exit $ac_status); }; }; then
7837   ac_hi=-1 ac_mid=-1
7838   while :; do
7839     cat >conftest.$ac_ext <<_ACEOF
7840 /* confdefs.h.  */
7841 _ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h.  */
7845 $ac_includes_default
7846 int
7847 main ()
7848 {
7849 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7850 test_array [0] = 0
7851
7852   ;
7853   return 0;
7854 }
7855 _ACEOF
7856 rm -f conftest.$ac_objext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858   (eval $ac_compile) 2>conftest.er1
7859   ac_status=$?
7860   grep -v '^ *+' conftest.er1 >conftest.err
7861   rm -f conftest.er1
7862   cat conftest.err >&5
7863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864   (exit $ac_status); } &&
7865          { ac_try='test -z "$ac_c_werror_flag"
7866                          || test ! -s conftest.err'
7867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7868   (eval $ac_try) 2>&5
7869   ac_status=$?
7870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871   (exit $ac_status); }; } &&
7872          { ac_try='test -s conftest.$ac_objext'
7873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7874   (eval $ac_try) 2>&5
7875   ac_status=$?
7876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877   (exit $ac_status); }; }; then
7878   ac_lo=$ac_mid; break
7879 else
7880   echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7882
7883 ac_hi=`expr '(' $ac_mid ')' - 1`
7884                        if test $ac_mid -le $ac_hi; then
7885                          ac_lo= ac_hi=
7886                          break
7887                        fi
7888                        ac_mid=`expr 2 '*' $ac_mid`
7889 fi
7890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7891   done
7892 else
7893   echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7895
7896 ac_lo= ac_hi=
7897 fi
7898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7899 fi
7900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7901 # Binary search between lo and hi bounds.
7902 while test "x$ac_lo" != "x$ac_hi"; do
7903   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7904   cat >conftest.$ac_ext <<_ACEOF
7905 /* confdefs.h.  */
7906 _ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h.  */
7910 $ac_includes_default
7911 int
7912 main ()
7913 {
7914 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7915 test_array [0] = 0
7916
7917   ;
7918   return 0;
7919 }
7920 _ACEOF
7921 rm -f conftest.$ac_objext
7922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7923   (eval $ac_compile) 2>conftest.er1
7924   ac_status=$?
7925   grep -v '^ *+' conftest.er1 >conftest.err
7926   rm -f conftest.er1
7927   cat conftest.err >&5
7928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929   (exit $ac_status); } &&
7930          { ac_try='test -z "$ac_c_werror_flag"
7931                          || test ! -s conftest.err'
7932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933   (eval $ac_try) 2>&5
7934   ac_status=$?
7935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936   (exit $ac_status); }; } &&
7937          { ac_try='test -s conftest.$ac_objext'
7938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939   (eval $ac_try) 2>&5
7940   ac_status=$?
7941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942   (exit $ac_status); }; }; then
7943   ac_hi=$ac_mid
7944 else
7945   echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7947
7948 ac_lo=`expr '(' $ac_mid ')' + 1`
7949 fi
7950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7951 done
7952 case $ac_lo in
7953 ?*) ac_cv_sizeof_long=$ac_lo;;
7954 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7955 See \`config.log' for more details." >&5
7956 echo "$as_me: error: cannot compute sizeof (long), 77
7957 See \`config.log' for more details." >&2;}
7958    { (exit 1); exit 1; }; } ;;
7959 esac
7960 else
7961   if test "$cross_compiling" = yes; then
7962   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7963 See \`config.log' for more details." >&5
7964 echo "$as_me: error: cannot run test program while cross compiling
7965 See \`config.log' for more details." >&2;}
7966    { (exit 1); exit 1; }; }
7967 else
7968   cat >conftest.$ac_ext <<_ACEOF
7969 /* confdefs.h.  */
7970 _ACEOF
7971 cat confdefs.h >>conftest.$ac_ext
7972 cat >>conftest.$ac_ext <<_ACEOF
7973 /* end confdefs.h.  */
7974 $ac_includes_default
7975 long longval () { return (long) (sizeof (long)); }
7976 unsigned long ulongval () { return (long) (sizeof (long)); }
7977 #include <stdio.h>
7978 #include <stdlib.h>
7979 int
7980 main ()
7981 {
7982
7983   FILE *f = fopen ("conftest.val", "w");
7984   if (! f)
7985     exit (1);
7986   if (((long) (sizeof (long))) < 0)
7987     {
7988       long i = longval ();
7989       if (i != ((long) (sizeof (long))))
7990         exit (1);
7991       fprintf (f, "%ld\n", i);
7992     }
7993   else
7994     {
7995       unsigned long i = ulongval ();
7996       if (i != ((long) (sizeof (long))))
7997         exit (1);
7998       fprintf (f, "%lu\n", i);
7999     }
8000   exit (ferror (f) || fclose (f) != 0);
8001
8002   ;
8003   return 0;
8004 }
8005 _ACEOF
8006 rm -f conftest$ac_exeext
8007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8008   (eval $ac_link) 2>&5
8009   ac_status=$?
8010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013   (eval $ac_try) 2>&5
8014   ac_status=$?
8015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016   (exit $ac_status); }; }; then
8017   ac_cv_sizeof_long=`cat conftest.val`
8018 else
8019   echo "$as_me: program exited with status $ac_status" >&5
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8022
8023 ( exit $ac_status )
8024 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8025 See \`config.log' for more details." >&5
8026 echo "$as_me: error: cannot compute sizeof (long), 77
8027 See \`config.log' for more details." >&2;}
8028    { (exit 1); exit 1; }; }
8029 fi
8030 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8031 fi
8032 fi
8033 rm -f conftest.val
8034 else
8035   ac_cv_sizeof_long=0
8036 fi
8037 fi
8038 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8039 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8040 cat >>confdefs.h <<_ACEOF
8041 #define SIZEOF_LONG $ac_cv_sizeof_long
8042 _ACEOF
8043
8044  ;;
8045 esac
8046
8047 if test $acx_cv_header_stdint = stddef.h; then
8048   # Lacking a good header?  Test size of everything and deduce all types.
8049   echo "$as_me:$LINENO: checking for int" >&5
8050 echo $ECHO_N "checking for int... $ECHO_C" >&6
8051 if test "${ac_cv_type_int+set}" = set; then
8052   echo $ECHO_N "(cached) $ECHO_C" >&6
8053 else
8054   cat >conftest.$ac_ext <<_ACEOF
8055 /* confdefs.h.  */
8056 _ACEOF
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h.  */
8060 $ac_includes_default
8061 int
8062 main ()
8063 {
8064 if ((int *) 0)
8065   return 0;
8066 if (sizeof (int))
8067   return 0;
8068   ;
8069   return 0;
8070 }
8071 _ACEOF
8072 rm -f conftest.$ac_objext
8073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8074   (eval $ac_compile) 2>conftest.er1
8075   ac_status=$?
8076   grep -v '^ *+' conftest.er1 >conftest.err
8077   rm -f conftest.er1
8078   cat conftest.err >&5
8079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080   (exit $ac_status); } &&
8081          { ac_try='test -z "$ac_c_werror_flag"
8082                          || test ! -s conftest.err'
8083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8084   (eval $ac_try) 2>&5
8085   ac_status=$?
8086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087   (exit $ac_status); }; } &&
8088          { ac_try='test -s conftest.$ac_objext'
8089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090   (eval $ac_try) 2>&5
8091   ac_status=$?
8092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093   (exit $ac_status); }; }; then
8094   ac_cv_type_int=yes
8095 else
8096   echo "$as_me: failed program was:" >&5
8097 sed 's/^/| /' conftest.$ac_ext >&5
8098
8099 ac_cv_type_int=no
8100 fi
8101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8102 fi
8103 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8104 echo "${ECHO_T}$ac_cv_type_int" >&6
8105
8106 echo "$as_me:$LINENO: checking size of int" >&5
8107 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8108 if test "${ac_cv_sizeof_int+set}" = set; then
8109   echo $ECHO_N "(cached) $ECHO_C" >&6
8110 else
8111   if test "$ac_cv_type_int" = yes; then
8112   # The cast to unsigned long works around a bug in the HP C Compiler
8113   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8114   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8115   # This bug is HP SR number 8606223364.
8116   if test "$cross_compiling" = yes; then
8117   # Depending upon the size, compute the lo and hi bounds.
8118 cat >conftest.$ac_ext <<_ACEOF
8119 /* confdefs.h.  */
8120 _ACEOF
8121 cat confdefs.h >>conftest.$ac_ext
8122 cat >>conftest.$ac_ext <<_ACEOF
8123 /* end confdefs.h.  */
8124 $ac_includes_default
8125 int
8126 main ()
8127 {
8128 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8129 test_array [0] = 0
8130
8131   ;
8132   return 0;
8133 }
8134 _ACEOF
8135 rm -f conftest.$ac_objext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8137   (eval $ac_compile) 2>conftest.er1
8138   ac_status=$?
8139   grep -v '^ *+' conftest.er1 >conftest.err
8140   rm -f conftest.er1
8141   cat conftest.err >&5
8142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143   (exit $ac_status); } &&
8144          { ac_try='test -z "$ac_c_werror_flag"
8145                          || test ! -s conftest.err'
8146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147   (eval $ac_try) 2>&5
8148   ac_status=$?
8149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150   (exit $ac_status); }; } &&
8151          { ac_try='test -s conftest.$ac_objext'
8152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153   (eval $ac_try) 2>&5
8154   ac_status=$?
8155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156   (exit $ac_status); }; }; then
8157   ac_lo=0 ac_mid=0
8158   while :; do
8159     cat >conftest.$ac_ext <<_ACEOF
8160 /* confdefs.h.  */
8161 _ACEOF
8162 cat confdefs.h >>conftest.$ac_ext
8163 cat >>conftest.$ac_ext <<_ACEOF
8164 /* end confdefs.h.  */
8165 $ac_includes_default
8166 int
8167 main ()
8168 {
8169 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8170 test_array [0] = 0
8171
8172   ;
8173   return 0;
8174 }
8175 _ACEOF
8176 rm -f conftest.$ac_objext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8178   (eval $ac_compile) 2>conftest.er1
8179   ac_status=$?
8180   grep -v '^ *+' conftest.er1 >conftest.err
8181   rm -f conftest.er1
8182   cat conftest.err >&5
8183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184   (exit $ac_status); } &&
8185          { ac_try='test -z "$ac_c_werror_flag"
8186                          || test ! -s conftest.err'
8187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188   (eval $ac_try) 2>&5
8189   ac_status=$?
8190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191   (exit $ac_status); }; } &&
8192          { ac_try='test -s conftest.$ac_objext'
8193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194   (eval $ac_try) 2>&5
8195   ac_status=$?
8196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197   (exit $ac_status); }; }; then
8198   ac_hi=$ac_mid; break
8199 else
8200   echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8202
8203 ac_lo=`expr $ac_mid + 1`
8204                     if test $ac_lo -le $ac_mid; then
8205                       ac_lo= ac_hi=
8206                       break
8207                     fi
8208                     ac_mid=`expr 2 '*' $ac_mid + 1`
8209 fi
8210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8211   done
8212 else
8213   echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5
8215
8216 cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h.  */
8218 _ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h.  */
8222 $ac_includes_default
8223 int
8224 main ()
8225 {
8226 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8227 test_array [0] = 0
8228
8229   ;
8230   return 0;
8231 }
8232 _ACEOF
8233 rm -f conftest.$ac_objext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8235   (eval $ac_compile) 2>conftest.er1
8236   ac_status=$?
8237   grep -v '^ *+' conftest.er1 >conftest.err
8238   rm -f conftest.er1
8239   cat conftest.err >&5
8240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241   (exit $ac_status); } &&
8242          { ac_try='test -z "$ac_c_werror_flag"
8243                          || test ! -s conftest.err'
8244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245   (eval $ac_try) 2>&5
8246   ac_status=$?
8247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248   (exit $ac_status); }; } &&
8249          { ac_try='test -s conftest.$ac_objext'
8250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251   (eval $ac_try) 2>&5
8252   ac_status=$?
8253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254   (exit $ac_status); }; }; then
8255   ac_hi=-1 ac_mid=-1
8256   while :; do
8257     cat >conftest.$ac_ext <<_ACEOF
8258 /* confdefs.h.  */
8259 _ACEOF
8260 cat confdefs.h >>conftest.$ac_ext
8261 cat >>conftest.$ac_ext <<_ACEOF
8262 /* end confdefs.h.  */
8263 $ac_includes_default
8264 int
8265 main ()
8266 {
8267 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8268 test_array [0] = 0
8269
8270   ;
8271   return 0;
8272 }
8273 _ACEOF
8274 rm -f conftest.$ac_objext
8275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8276   (eval $ac_compile) 2>conftest.er1
8277   ac_status=$?
8278   grep -v '^ *+' conftest.er1 >conftest.err
8279   rm -f conftest.er1
8280   cat conftest.err >&5
8281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282   (exit $ac_status); } &&
8283          { ac_try='test -z "$ac_c_werror_flag"
8284                          || test ! -s conftest.err'
8285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8286   (eval $ac_try) 2>&5
8287   ac_status=$?
8288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289   (exit $ac_status); }; } &&
8290          { ac_try='test -s conftest.$ac_objext'
8291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292   (eval $ac_try) 2>&5
8293   ac_status=$?
8294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295   (exit $ac_status); }; }; then
8296   ac_lo=$ac_mid; break
8297 else
8298   echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.$ac_ext >&5
8300
8301 ac_hi=`expr '(' $ac_mid ')' - 1`
8302                        if test $ac_mid -le $ac_hi; then
8303                          ac_lo= ac_hi=
8304                          break
8305                        fi
8306                        ac_mid=`expr 2 '*' $ac_mid`
8307 fi
8308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8309   done
8310 else
8311   echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.$ac_ext >&5
8313
8314 ac_lo= ac_hi=
8315 fi
8316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8317 fi
8318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8319 # Binary search between lo and hi bounds.
8320 while test "x$ac_lo" != "x$ac_hi"; do
8321   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8322   cat >conftest.$ac_ext <<_ACEOF
8323 /* confdefs.h.  */
8324 _ACEOF
8325 cat confdefs.h >>conftest.$ac_ext
8326 cat >>conftest.$ac_ext <<_ACEOF
8327 /* end confdefs.h.  */
8328 $ac_includes_default
8329 int
8330 main ()
8331 {
8332 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8333 test_array [0] = 0
8334
8335   ;
8336   return 0;
8337 }
8338 _ACEOF
8339 rm -f conftest.$ac_objext
8340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8341   (eval $ac_compile) 2>conftest.er1
8342   ac_status=$?
8343   grep -v '^ *+' conftest.er1 >conftest.err
8344   rm -f conftest.er1
8345   cat conftest.err >&5
8346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347   (exit $ac_status); } &&
8348          { ac_try='test -z "$ac_c_werror_flag"
8349                          || test ! -s conftest.err'
8350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351   (eval $ac_try) 2>&5
8352   ac_status=$?
8353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354   (exit $ac_status); }; } &&
8355          { ac_try='test -s conftest.$ac_objext'
8356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357   (eval $ac_try) 2>&5
8358   ac_status=$?
8359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360   (exit $ac_status); }; }; then
8361   ac_hi=$ac_mid
8362 else
8363   echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.$ac_ext >&5
8365
8366 ac_lo=`expr '(' $ac_mid ')' + 1`
8367 fi
8368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8369 done
8370 case $ac_lo in
8371 ?*) ac_cv_sizeof_int=$ac_lo;;
8372 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8373 See \`config.log' for more details." >&5
8374 echo "$as_me: error: cannot compute sizeof (int), 77
8375 See \`config.log' for more details." >&2;}
8376    { (exit 1); exit 1; }; } ;;
8377 esac
8378 else
8379   if test "$cross_compiling" = yes; then
8380   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8381 See \`config.log' for more details." >&5
8382 echo "$as_me: error: cannot run test program while cross compiling
8383 See \`config.log' for more details." >&2;}
8384    { (exit 1); exit 1; }; }
8385 else
8386   cat >conftest.$ac_ext <<_ACEOF
8387 /* confdefs.h.  */
8388 _ACEOF
8389 cat confdefs.h >>conftest.$ac_ext
8390 cat >>conftest.$ac_ext <<_ACEOF
8391 /* end confdefs.h.  */
8392 $ac_includes_default
8393 long longval () { return (long) (sizeof (int)); }
8394 unsigned long ulongval () { return (long) (sizeof (int)); }
8395 #include <stdio.h>
8396 #include <stdlib.h>
8397 int
8398 main ()
8399 {
8400
8401   FILE *f = fopen ("conftest.val", "w");
8402   if (! f)
8403     exit (1);
8404   if (((long) (sizeof (int))) < 0)
8405     {
8406       long i = longval ();
8407       if (i != ((long) (sizeof (int))))
8408         exit (1);
8409       fprintf (f, "%ld\n", i);
8410     }
8411   else
8412     {
8413       unsigned long i = ulongval ();
8414       if (i != ((long) (sizeof (int))))
8415         exit (1);
8416       fprintf (f, "%lu\n", i);
8417     }
8418   exit (ferror (f) || fclose (f) != 0);
8419
8420   ;
8421   return 0;
8422 }
8423 _ACEOF
8424 rm -f conftest$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426   (eval $ac_link) 2>&5
8427   ac_status=$?
8428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431   (eval $ac_try) 2>&5
8432   ac_status=$?
8433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434   (exit $ac_status); }; }; then
8435   ac_cv_sizeof_int=`cat conftest.val`
8436 else
8437   echo "$as_me: program exited with status $ac_status" >&5
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8440
8441 ( exit $ac_status )
8442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8443 See \`config.log' for more details." >&5
8444 echo "$as_me: error: cannot compute sizeof (int), 77
8445 See \`config.log' for more details." >&2;}
8446    { (exit 1); exit 1; }; }
8447 fi
8448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8449 fi
8450 fi
8451 rm -f conftest.val
8452 else
8453   ac_cv_sizeof_int=0
8454 fi
8455 fi
8456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8457 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8458 cat >>confdefs.h <<_ACEOF
8459 #define SIZEOF_INT $ac_cv_sizeof_int
8460 _ACEOF
8461
8462
8463   echo "$as_me:$LINENO: checking for short" >&5
8464 echo $ECHO_N "checking for short... $ECHO_C" >&6
8465 if test "${ac_cv_type_short+set}" = set; then
8466   echo $ECHO_N "(cached) $ECHO_C" >&6
8467 else
8468   cat >conftest.$ac_ext <<_ACEOF
8469 /* confdefs.h.  */
8470 _ACEOF
8471 cat confdefs.h >>conftest.$ac_ext
8472 cat >>conftest.$ac_ext <<_ACEOF
8473 /* end confdefs.h.  */
8474 $ac_includes_default
8475 int
8476 main ()
8477 {
8478 if ((short *) 0)
8479   return 0;
8480 if (sizeof (short))
8481   return 0;
8482   ;
8483   return 0;
8484 }
8485 _ACEOF
8486 rm -f conftest.$ac_objext
8487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8488   (eval $ac_compile) 2>conftest.er1
8489   ac_status=$?
8490   grep -v '^ *+' conftest.er1 >conftest.err
8491   rm -f conftest.er1
8492   cat conftest.err >&5
8493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494   (exit $ac_status); } &&
8495          { ac_try='test -z "$ac_c_werror_flag"
8496                          || test ! -s conftest.err'
8497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498   (eval $ac_try) 2>&5
8499   ac_status=$?
8500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501   (exit $ac_status); }; } &&
8502          { ac_try='test -s conftest.$ac_objext'
8503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504   (eval $ac_try) 2>&5
8505   ac_status=$?
8506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507   (exit $ac_status); }; }; then
8508   ac_cv_type_short=yes
8509 else
8510   echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.$ac_ext >&5
8512
8513 ac_cv_type_short=no
8514 fi
8515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8516 fi
8517 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8518 echo "${ECHO_T}$ac_cv_type_short" >&6
8519
8520 echo "$as_me:$LINENO: checking size of short" >&5
8521 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8522 if test "${ac_cv_sizeof_short+set}" = set; then
8523   echo $ECHO_N "(cached) $ECHO_C" >&6
8524 else
8525   if test "$ac_cv_type_short" = yes; then
8526   # The cast to unsigned long works around a bug in the HP C Compiler
8527   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8528   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8529   # This bug is HP SR number 8606223364.
8530   if test "$cross_compiling" = yes; then
8531   # Depending upon the size, compute the lo and hi bounds.
8532 cat >conftest.$ac_ext <<_ACEOF
8533 /* confdefs.h.  */
8534 _ACEOF
8535 cat confdefs.h >>conftest.$ac_ext
8536 cat >>conftest.$ac_ext <<_ACEOF
8537 /* end confdefs.h.  */
8538 $ac_includes_default
8539 int
8540 main ()
8541 {
8542 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8543 test_array [0] = 0
8544
8545   ;
8546   return 0;
8547 }
8548 _ACEOF
8549 rm -f conftest.$ac_objext
8550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8551   (eval $ac_compile) 2>conftest.er1
8552   ac_status=$?
8553   grep -v '^ *+' conftest.er1 >conftest.err
8554   rm -f conftest.er1
8555   cat conftest.err >&5
8556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557   (exit $ac_status); } &&
8558          { ac_try='test -z "$ac_c_werror_flag"
8559                          || test ! -s conftest.err'
8560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8561   (eval $ac_try) 2>&5
8562   ac_status=$?
8563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564   (exit $ac_status); }; } &&
8565          { ac_try='test -s conftest.$ac_objext'
8566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567   (eval $ac_try) 2>&5
8568   ac_status=$?
8569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570   (exit $ac_status); }; }; then
8571   ac_lo=0 ac_mid=0
8572   while :; do
8573     cat >conftest.$ac_ext <<_ACEOF
8574 /* confdefs.h.  */
8575 _ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h.  */
8579 $ac_includes_default
8580 int
8581 main ()
8582 {
8583 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8584 test_array [0] = 0
8585
8586   ;
8587   return 0;
8588 }
8589 _ACEOF
8590 rm -f conftest.$ac_objext
8591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8592   (eval $ac_compile) 2>conftest.er1
8593   ac_status=$?
8594   grep -v '^ *+' conftest.er1 >conftest.err
8595   rm -f conftest.er1
8596   cat conftest.err >&5
8597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598   (exit $ac_status); } &&
8599          { ac_try='test -z "$ac_c_werror_flag"
8600                          || test ! -s conftest.err'
8601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602   (eval $ac_try) 2>&5
8603   ac_status=$?
8604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605   (exit $ac_status); }; } &&
8606          { ac_try='test -s conftest.$ac_objext'
8607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608   (eval $ac_try) 2>&5
8609   ac_status=$?
8610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611   (exit $ac_status); }; }; then
8612   ac_hi=$ac_mid; break
8613 else
8614   echo "$as_me: failed program was:" >&5
8615 sed 's/^/| /' conftest.$ac_ext >&5
8616
8617 ac_lo=`expr $ac_mid + 1`
8618                     if test $ac_lo -le $ac_mid; then
8619                       ac_lo= ac_hi=
8620                       break
8621                     fi
8622                     ac_mid=`expr 2 '*' $ac_mid + 1`
8623 fi
8624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8625   done
8626 else
8627   echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8629
8630 cat >conftest.$ac_ext <<_ACEOF
8631 /* confdefs.h.  */
8632 _ACEOF
8633 cat confdefs.h >>conftest.$ac_ext
8634 cat >>conftest.$ac_ext <<_ACEOF
8635 /* end confdefs.h.  */
8636 $ac_includes_default
8637 int
8638 main ()
8639 {
8640 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8641 test_array [0] = 0
8642
8643   ;
8644   return 0;
8645 }
8646 _ACEOF
8647 rm -f conftest.$ac_objext
8648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8649   (eval $ac_compile) 2>conftest.er1
8650   ac_status=$?
8651   grep -v '^ *+' conftest.er1 >conftest.err
8652   rm -f conftest.er1
8653   cat conftest.err >&5
8654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655   (exit $ac_status); } &&
8656          { ac_try='test -z "$ac_c_werror_flag"
8657                          || test ! -s conftest.err'
8658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659   (eval $ac_try) 2>&5
8660   ac_status=$?
8661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662   (exit $ac_status); }; } &&
8663          { ac_try='test -s conftest.$ac_objext'
8664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665   (eval $ac_try) 2>&5
8666   ac_status=$?
8667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668   (exit $ac_status); }; }; then
8669   ac_hi=-1 ac_mid=-1
8670   while :; do
8671     cat >conftest.$ac_ext <<_ACEOF
8672 /* confdefs.h.  */
8673 _ACEOF
8674 cat confdefs.h >>conftest.$ac_ext
8675 cat >>conftest.$ac_ext <<_ACEOF
8676 /* end confdefs.h.  */
8677 $ac_includes_default
8678 int
8679 main ()
8680 {
8681 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8682 test_array [0] = 0
8683
8684   ;
8685   return 0;
8686 }
8687 _ACEOF
8688 rm -f conftest.$ac_objext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690   (eval $ac_compile) 2>conftest.er1
8691   ac_status=$?
8692   grep -v '^ *+' conftest.er1 >conftest.err
8693   rm -f conftest.er1
8694   cat conftest.err >&5
8695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696   (exit $ac_status); } &&
8697          { ac_try='test -z "$ac_c_werror_flag"
8698                          || test ! -s conftest.err'
8699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700   (eval $ac_try) 2>&5
8701   ac_status=$?
8702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703   (exit $ac_status); }; } &&
8704          { ac_try='test -s conftest.$ac_objext'
8705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706   (eval $ac_try) 2>&5
8707   ac_status=$?
8708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709   (exit $ac_status); }; }; then
8710   ac_lo=$ac_mid; break
8711 else
8712   echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8714
8715 ac_hi=`expr '(' $ac_mid ')' - 1`
8716                        if test $ac_mid -le $ac_hi; then
8717                          ac_lo= ac_hi=
8718                          break
8719                        fi
8720                        ac_mid=`expr 2 '*' $ac_mid`
8721 fi
8722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8723   done
8724 else
8725   echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8727
8728 ac_lo= ac_hi=
8729 fi
8730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8731 fi
8732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8733 # Binary search between lo and hi bounds.
8734 while test "x$ac_lo" != "x$ac_hi"; do
8735   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8736   cat >conftest.$ac_ext <<_ACEOF
8737 /* confdefs.h.  */
8738 _ACEOF
8739 cat confdefs.h >>conftest.$ac_ext
8740 cat >>conftest.$ac_ext <<_ACEOF
8741 /* end confdefs.h.  */
8742 $ac_includes_default
8743 int
8744 main ()
8745 {
8746 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8747 test_array [0] = 0
8748
8749   ;
8750   return 0;
8751 }
8752 _ACEOF
8753 rm -f conftest.$ac_objext
8754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8755   (eval $ac_compile) 2>conftest.er1
8756   ac_status=$?
8757   grep -v '^ *+' conftest.er1 >conftest.err
8758   rm -f conftest.er1
8759   cat conftest.err >&5
8760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761   (exit $ac_status); } &&
8762          { ac_try='test -z "$ac_c_werror_flag"
8763                          || test ! -s conftest.err'
8764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8765   (eval $ac_try) 2>&5
8766   ac_status=$?
8767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768   (exit $ac_status); }; } &&
8769          { ac_try='test -s conftest.$ac_objext'
8770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8771   (eval $ac_try) 2>&5
8772   ac_status=$?
8773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774   (exit $ac_status); }; }; then
8775   ac_hi=$ac_mid
8776 else
8777   echo "$as_me: failed program was:" >&5
8778 sed 's/^/| /' conftest.$ac_ext >&5
8779
8780 ac_lo=`expr '(' $ac_mid ')' + 1`
8781 fi
8782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8783 done
8784 case $ac_lo in
8785 ?*) ac_cv_sizeof_short=$ac_lo;;
8786 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8787 See \`config.log' for more details." >&5
8788 echo "$as_me: error: cannot compute sizeof (short), 77
8789 See \`config.log' for more details." >&2;}
8790    { (exit 1); exit 1; }; } ;;
8791 esac
8792 else
8793   if test "$cross_compiling" = yes; then
8794   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8795 See \`config.log' for more details." >&5
8796 echo "$as_me: error: cannot run test program while cross compiling
8797 See \`config.log' for more details." >&2;}
8798    { (exit 1); exit 1; }; }
8799 else
8800   cat >conftest.$ac_ext <<_ACEOF
8801 /* confdefs.h.  */
8802 _ACEOF
8803 cat confdefs.h >>conftest.$ac_ext
8804 cat >>conftest.$ac_ext <<_ACEOF
8805 /* end confdefs.h.  */
8806 $ac_includes_default
8807 long longval () { return (long) (sizeof (short)); }
8808 unsigned long ulongval () { return (long) (sizeof (short)); }
8809 #include <stdio.h>
8810 #include <stdlib.h>
8811 int
8812 main ()
8813 {
8814
8815   FILE *f = fopen ("conftest.val", "w");
8816   if (! f)
8817     exit (1);
8818   if (((long) (sizeof (short))) < 0)
8819     {
8820       long i = longval ();
8821       if (i != ((long) (sizeof (short))))
8822         exit (1);
8823       fprintf (f, "%ld\n", i);
8824     }
8825   else
8826     {
8827       unsigned long i = ulongval ();
8828       if (i != ((long) (sizeof (short))))
8829         exit (1);
8830       fprintf (f, "%lu\n", i);
8831     }
8832   exit (ferror (f) || fclose (f) != 0);
8833
8834   ;
8835   return 0;
8836 }
8837 _ACEOF
8838 rm -f conftest$ac_exeext
8839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8840   (eval $ac_link) 2>&5
8841   ac_status=$?
8842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8845   (eval $ac_try) 2>&5
8846   ac_status=$?
8847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848   (exit $ac_status); }; }; then
8849   ac_cv_sizeof_short=`cat conftest.val`
8850 else
8851   echo "$as_me: program exited with status $ac_status" >&5
8852 echo "$as_me: failed program was:" >&5
8853 sed 's/^/| /' conftest.$ac_ext >&5
8854
8855 ( exit $ac_status )
8856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8857 See \`config.log' for more details." >&5
8858 echo "$as_me: error: cannot compute sizeof (short), 77
8859 See \`config.log' for more details." >&2;}
8860    { (exit 1); exit 1; }; }
8861 fi
8862 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8863 fi
8864 fi
8865 rm -f conftest.val
8866 else
8867   ac_cv_sizeof_short=0
8868 fi
8869 fi
8870 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8871 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8872 cat >>confdefs.h <<_ACEOF
8873 #define SIZEOF_SHORT $ac_cv_sizeof_short
8874 _ACEOF
8875
8876
8877   echo "$as_me:$LINENO: checking for char" >&5
8878 echo $ECHO_N "checking for char... $ECHO_C" >&6
8879 if test "${ac_cv_type_char+set}" = set; then
8880   echo $ECHO_N "(cached) $ECHO_C" >&6
8881 else
8882   cat >conftest.$ac_ext <<_ACEOF
8883 /* confdefs.h.  */
8884 _ACEOF
8885 cat confdefs.h >>conftest.$ac_ext
8886 cat >>conftest.$ac_ext <<_ACEOF
8887 /* end confdefs.h.  */
8888 $ac_includes_default
8889 int
8890 main ()
8891 {
8892 if ((char *) 0)
8893   return 0;
8894 if (sizeof (char))
8895   return 0;
8896   ;
8897   return 0;
8898 }
8899 _ACEOF
8900 rm -f conftest.$ac_objext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8902   (eval $ac_compile) 2>conftest.er1
8903   ac_status=$?
8904   grep -v '^ *+' conftest.er1 >conftest.err
8905   rm -f conftest.er1
8906   cat conftest.err >&5
8907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908   (exit $ac_status); } &&
8909          { ac_try='test -z "$ac_c_werror_flag"
8910                          || test ! -s conftest.err'
8911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912   (eval $ac_try) 2>&5
8913   ac_status=$?
8914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915   (exit $ac_status); }; } &&
8916          { ac_try='test -s conftest.$ac_objext'
8917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918   (eval $ac_try) 2>&5
8919   ac_status=$?
8920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921   (exit $ac_status); }; }; then
8922   ac_cv_type_char=yes
8923 else
8924   echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8926
8927 ac_cv_type_char=no
8928 fi
8929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8930 fi
8931 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
8932 echo "${ECHO_T}$ac_cv_type_char" >&6
8933
8934 echo "$as_me:$LINENO: checking size of char" >&5
8935 echo $ECHO_N "checking size of char... $ECHO_C" >&6
8936 if test "${ac_cv_sizeof_char+set}" = set; then
8937   echo $ECHO_N "(cached) $ECHO_C" >&6
8938 else
8939   if test "$ac_cv_type_char" = yes; then
8940   # The cast to unsigned long works around a bug in the HP C Compiler
8941   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8942   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8943   # This bug is HP SR number 8606223364.
8944   if test "$cross_compiling" = yes; then
8945   # Depending upon the size, compute the lo and hi bounds.
8946 cat >conftest.$ac_ext <<_ACEOF
8947 /* confdefs.h.  */
8948 _ACEOF
8949 cat confdefs.h >>conftest.$ac_ext
8950 cat >>conftest.$ac_ext <<_ACEOF
8951 /* end confdefs.h.  */
8952 $ac_includes_default
8953 int
8954 main ()
8955 {
8956 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
8957 test_array [0] = 0
8958
8959   ;
8960   return 0;
8961 }
8962 _ACEOF
8963 rm -f conftest.$ac_objext
8964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8965   (eval $ac_compile) 2>conftest.er1
8966   ac_status=$?
8967   grep -v '^ *+' conftest.er1 >conftest.err
8968   rm -f conftest.er1
8969   cat conftest.err >&5
8970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971   (exit $ac_status); } &&
8972          { ac_try='test -z "$ac_c_werror_flag"
8973                          || test ! -s conftest.err'
8974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975   (eval $ac_try) 2>&5
8976   ac_status=$?
8977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978   (exit $ac_status); }; } &&
8979          { ac_try='test -s conftest.$ac_objext'
8980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981   (eval $ac_try) 2>&5
8982   ac_status=$?
8983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984   (exit $ac_status); }; }; then
8985   ac_lo=0 ac_mid=0
8986   while :; do
8987     cat >conftest.$ac_ext <<_ACEOF
8988 /* confdefs.h.  */
8989 _ACEOF
8990 cat confdefs.h >>conftest.$ac_ext
8991 cat >>conftest.$ac_ext <<_ACEOF
8992 /* end confdefs.h.  */
8993 $ac_includes_default
8994 int
8995 main ()
8996 {
8997 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
8998 test_array [0] = 0
8999
9000   ;
9001   return 0;
9002 }
9003 _ACEOF
9004 rm -f conftest.$ac_objext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9006   (eval $ac_compile) 2>conftest.er1
9007   ac_status=$?
9008   grep -v '^ *+' conftest.er1 >conftest.err
9009   rm -f conftest.er1
9010   cat conftest.err >&5
9011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012   (exit $ac_status); } &&
9013          { ac_try='test -z "$ac_c_werror_flag"
9014                          || test ! -s conftest.err'
9015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016   (eval $ac_try) 2>&5
9017   ac_status=$?
9018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019   (exit $ac_status); }; } &&
9020          { ac_try='test -s conftest.$ac_objext'
9021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022   (eval $ac_try) 2>&5
9023   ac_status=$?
9024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025   (exit $ac_status); }; }; then
9026   ac_hi=$ac_mid; break
9027 else
9028   echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9030
9031 ac_lo=`expr $ac_mid + 1`
9032                     if test $ac_lo -le $ac_mid; then
9033                       ac_lo= ac_hi=
9034                       break
9035                     fi
9036                     ac_mid=`expr 2 '*' $ac_mid + 1`
9037 fi
9038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9039   done
9040 else
9041   echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9043
9044 cat >conftest.$ac_ext <<_ACEOF
9045 /* confdefs.h.  */
9046 _ACEOF
9047 cat confdefs.h >>conftest.$ac_ext
9048 cat >>conftest.$ac_ext <<_ACEOF
9049 /* end confdefs.h.  */
9050 $ac_includes_default
9051 int
9052 main ()
9053 {
9054 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9055 test_array [0] = 0
9056
9057   ;
9058   return 0;
9059 }
9060 _ACEOF
9061 rm -f conftest.$ac_objext
9062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9063   (eval $ac_compile) 2>conftest.er1
9064   ac_status=$?
9065   grep -v '^ *+' conftest.er1 >conftest.err
9066   rm -f conftest.er1
9067   cat conftest.err >&5
9068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069   (exit $ac_status); } &&
9070          { ac_try='test -z "$ac_c_werror_flag"
9071                          || test ! -s conftest.err'
9072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073   (eval $ac_try) 2>&5
9074   ac_status=$?
9075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076   (exit $ac_status); }; } &&
9077          { ac_try='test -s conftest.$ac_objext'
9078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079   (eval $ac_try) 2>&5
9080   ac_status=$?
9081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082   (exit $ac_status); }; }; then
9083   ac_hi=-1 ac_mid=-1
9084   while :; do
9085     cat >conftest.$ac_ext <<_ACEOF
9086 /* confdefs.h.  */
9087 _ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h.  */
9091 $ac_includes_default
9092 int
9093 main ()
9094 {
9095 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9096 test_array [0] = 0
9097
9098   ;
9099   return 0;
9100 }
9101 _ACEOF
9102 rm -f conftest.$ac_objext
9103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9104   (eval $ac_compile) 2>conftest.er1
9105   ac_status=$?
9106   grep -v '^ *+' conftest.er1 >conftest.err
9107   rm -f conftest.er1
9108   cat conftest.err >&5
9109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110   (exit $ac_status); } &&
9111          { ac_try='test -z "$ac_c_werror_flag"
9112                          || test ! -s conftest.err'
9113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9114   (eval $ac_try) 2>&5
9115   ac_status=$?
9116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117   (exit $ac_status); }; } &&
9118          { ac_try='test -s conftest.$ac_objext'
9119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9120   (eval $ac_try) 2>&5
9121   ac_status=$?
9122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123   (exit $ac_status); }; }; then
9124   ac_lo=$ac_mid; break
9125 else
9126   echo "$as_me: failed program was:" >&5
9127 sed 's/^/| /' conftest.$ac_ext >&5
9128
9129 ac_hi=`expr '(' $ac_mid ')' - 1`
9130                        if test $ac_mid -le $ac_hi; then
9131                          ac_lo= ac_hi=
9132                          break
9133                        fi
9134                        ac_mid=`expr 2 '*' $ac_mid`
9135 fi
9136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9137   done
9138 else
9139   echo "$as_me: failed program was:" >&5
9140 sed 's/^/| /' conftest.$ac_ext >&5
9141
9142 ac_lo= ac_hi=
9143 fi
9144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9145 fi
9146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9147 # Binary search between lo and hi bounds.
9148 while test "x$ac_lo" != "x$ac_hi"; do
9149   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9150   cat >conftest.$ac_ext <<_ACEOF
9151 /* confdefs.h.  */
9152 _ACEOF
9153 cat confdefs.h >>conftest.$ac_ext
9154 cat >>conftest.$ac_ext <<_ACEOF
9155 /* end confdefs.h.  */
9156 $ac_includes_default
9157 int
9158 main ()
9159 {
9160 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9161 test_array [0] = 0
9162
9163   ;
9164   return 0;
9165 }
9166 _ACEOF
9167 rm -f conftest.$ac_objext
9168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9169   (eval $ac_compile) 2>conftest.er1
9170   ac_status=$?
9171   grep -v '^ *+' conftest.er1 >conftest.err
9172   rm -f conftest.er1
9173   cat conftest.err >&5
9174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175   (exit $ac_status); } &&
9176          { ac_try='test -z "$ac_c_werror_flag"
9177                          || test ! -s conftest.err'
9178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179   (eval $ac_try) 2>&5
9180   ac_status=$?
9181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182   (exit $ac_status); }; } &&
9183          { ac_try='test -s conftest.$ac_objext'
9184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185   (eval $ac_try) 2>&5
9186   ac_status=$?
9187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188   (exit $ac_status); }; }; then
9189   ac_hi=$ac_mid
9190 else
9191   echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9193
9194 ac_lo=`expr '(' $ac_mid ')' + 1`
9195 fi
9196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9197 done
9198 case $ac_lo in
9199 ?*) ac_cv_sizeof_char=$ac_lo;;
9200 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9201 See \`config.log' for more details." >&5
9202 echo "$as_me: error: cannot compute sizeof (char), 77
9203 See \`config.log' for more details." >&2;}
9204    { (exit 1); exit 1; }; } ;;
9205 esac
9206 else
9207   if test "$cross_compiling" = yes; then
9208   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9209 See \`config.log' for more details." >&5
9210 echo "$as_me: error: cannot run test program while cross compiling
9211 See \`config.log' for more details." >&2;}
9212    { (exit 1); exit 1; }; }
9213 else
9214   cat >conftest.$ac_ext <<_ACEOF
9215 /* confdefs.h.  */
9216 _ACEOF
9217 cat confdefs.h >>conftest.$ac_ext
9218 cat >>conftest.$ac_ext <<_ACEOF
9219 /* end confdefs.h.  */
9220 $ac_includes_default
9221 long longval () { return (long) (sizeof (char)); }
9222 unsigned long ulongval () { return (long) (sizeof (char)); }
9223 #include <stdio.h>
9224 #include <stdlib.h>
9225 int
9226 main ()
9227 {
9228
9229   FILE *f = fopen ("conftest.val", "w");
9230   if (! f)
9231     exit (1);
9232   if (((long) (sizeof (char))) < 0)
9233     {
9234       long i = longval ();
9235       if (i != ((long) (sizeof (char))))
9236         exit (1);
9237       fprintf (f, "%ld\n", i);
9238     }
9239   else
9240     {
9241       unsigned long i = ulongval ();
9242       if (i != ((long) (sizeof (char))))
9243         exit (1);
9244       fprintf (f, "%lu\n", i);
9245     }
9246   exit (ferror (f) || fclose (f) != 0);
9247
9248   ;
9249   return 0;
9250 }
9251 _ACEOF
9252 rm -f conftest$ac_exeext
9253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9254   (eval $ac_link) 2>&5
9255   ac_status=$?
9256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259   (eval $ac_try) 2>&5
9260   ac_status=$?
9261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262   (exit $ac_status); }; }; then
9263   ac_cv_sizeof_char=`cat conftest.val`
9264 else
9265   echo "$as_me: program exited with status $ac_status" >&5
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.$ac_ext >&5
9268
9269 ( exit $ac_status )
9270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9271 See \`config.log' for more details." >&5
9272 echo "$as_me: error: cannot compute sizeof (char), 77
9273 See \`config.log' for more details." >&2;}
9274    { (exit 1); exit 1; }; }
9275 fi
9276 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9277 fi
9278 fi
9279 rm -f conftest.val
9280 else
9281   ac_cv_sizeof_char=0
9282 fi
9283 fi
9284 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9285 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9286 cat >>confdefs.h <<_ACEOF
9287 #define SIZEOF_CHAR $ac_cv_sizeof_char
9288 _ACEOF
9289
9290
9291
9292   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9293 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9294   case "$ac_cv_sizeof_char" in
9295     1) acx_cv_type_int8_t=char ;;
9296     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9297 echo "$as_me: error: no 8-bit type" >&2;}
9298    { (exit please report a bug); exit please report a bug; }; }
9299   esac
9300   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9301 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9302
9303   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9304 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9305   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9306     2:*) acx_cv_type_int16_t=int ;;
9307     *:2) acx_cv_type_int16_t=short ;;
9308     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9309 echo "$as_me: error: no 16-bit type" >&2;}
9310    { (exit please report a bug); exit please report a bug; }; }
9311   esac
9312   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9313 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9314
9315   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9316 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9317   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9318     4:*) acx_cv_type_int32_t=int ;;
9319     *:4) acx_cv_type_int32_t=long ;;
9320     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9321 echo "$as_me: error: no 32-bit type" >&2;}
9322    { (exit please report a bug); exit please report a bug; }; }
9323   esac
9324   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9325 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9326 fi
9327
9328 # These tests are here to make the output prettier
9329
9330 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9331   case "$ac_cv_sizeof_long" in
9332     8) acx_cv_type_int64_t=long ;;
9333   esac
9334   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9335 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9336   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9337 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9338 fi
9339
9340 # Now we can use the above types
9341
9342 if test "$ac_cv_type_uintptr_t" != yes; then
9343   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9344 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9345   case $ac_cv_sizeof_void_p in
9346     2) acx_cv_type_intptr_t=int16_t ;;
9347     4) acx_cv_type_intptr_t=int32_t ;;
9348     8) acx_cv_type_intptr_t=int64_t ;;
9349     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9350 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9351    { (exit please report a bug); exit please report a bug; }; }
9352   esac
9353   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9354 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9355 fi
9356
9357 # ----------------- done all checks, emit header -------------
9358           ac_config_commands="$ac_config_commands gstdint.h"
9359
9360
9361
9362
9363 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9364 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9365 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9366   echo $ECHO_N "(cached) $ECHO_C" >&6
9367 else
9368   cat >conftest.$ac_ext <<_ACEOF
9369 /* confdefs.h.  */
9370 _ACEOF
9371 cat confdefs.h >>conftest.$ac_ext
9372 cat >>conftest.$ac_ext <<_ACEOF
9373 /* end confdefs.h.  */
9374 $ac_includes_default
9375 int
9376 main ()
9377 {
9378 static struct stat ac_aggr;
9379 if (ac_aggr.st_blksize)
9380 return 0;
9381   ;
9382   return 0;
9383 }
9384 _ACEOF
9385 rm -f conftest.$ac_objext
9386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9387   (eval $ac_compile) 2>conftest.er1
9388   ac_status=$?
9389   grep -v '^ *+' conftest.er1 >conftest.err
9390   rm -f conftest.er1
9391   cat conftest.err >&5
9392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393   (exit $ac_status); } &&
9394          { ac_try='test -z "$ac_c_werror_flag"
9395                          || test ! -s conftest.err'
9396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9397   (eval $ac_try) 2>&5
9398   ac_status=$?
9399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400   (exit $ac_status); }; } &&
9401          { ac_try='test -s conftest.$ac_objext'
9402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403   (eval $ac_try) 2>&5
9404   ac_status=$?
9405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406   (exit $ac_status); }; }; then
9407   ac_cv_member_struct_stat_st_blksize=yes
9408 else
9409   echo "$as_me: failed program was:" >&5
9410 sed 's/^/| /' conftest.$ac_ext >&5
9411
9412 cat >conftest.$ac_ext <<_ACEOF
9413 /* confdefs.h.  */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h.  */
9418 $ac_includes_default
9419 int
9420 main ()
9421 {
9422 static struct stat ac_aggr;
9423 if (sizeof ac_aggr.st_blksize)
9424 return 0;
9425   ;
9426   return 0;
9427 }
9428 _ACEOF
9429 rm -f conftest.$ac_objext
9430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9431   (eval $ac_compile) 2>conftest.er1
9432   ac_status=$?
9433   grep -v '^ *+' conftest.er1 >conftest.err
9434   rm -f conftest.er1
9435   cat conftest.err >&5
9436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437   (exit $ac_status); } &&
9438          { ac_try='test -z "$ac_c_werror_flag"
9439                          || test ! -s conftest.err'
9440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441   (eval $ac_try) 2>&5
9442   ac_status=$?
9443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444   (exit $ac_status); }; } &&
9445          { ac_try='test -s conftest.$ac_objext'
9446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447   (eval $ac_try) 2>&5
9448   ac_status=$?
9449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450   (exit $ac_status); }; }; then
9451   ac_cv_member_struct_stat_st_blksize=yes
9452 else
9453   echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.$ac_ext >&5
9455
9456 ac_cv_member_struct_stat_st_blksize=no
9457 fi
9458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9459 fi
9460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9461 fi
9462 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9463 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9464 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9465
9466 cat >>confdefs.h <<_ACEOF
9467 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9468 _ACEOF
9469
9470
9471 fi
9472
9473 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9474 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9475 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9476   echo $ECHO_N "(cached) $ECHO_C" >&6
9477 else
9478   cat >conftest.$ac_ext <<_ACEOF
9479 /* confdefs.h.  */
9480 _ACEOF
9481 cat confdefs.h >>conftest.$ac_ext
9482 cat >>conftest.$ac_ext <<_ACEOF
9483 /* end confdefs.h.  */
9484 $ac_includes_default
9485 int
9486 main ()
9487 {
9488 static struct stat ac_aggr;
9489 if (ac_aggr.st_blocks)
9490 return 0;
9491   ;
9492   return 0;
9493 }
9494 _ACEOF
9495 rm -f conftest.$ac_objext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9497   (eval $ac_compile) 2>conftest.er1
9498   ac_status=$?
9499   grep -v '^ *+' conftest.er1 >conftest.err
9500   rm -f conftest.er1
9501   cat conftest.err >&5
9502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503   (exit $ac_status); } &&
9504          { ac_try='test -z "$ac_c_werror_flag"
9505                          || test ! -s conftest.err'
9506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507   (eval $ac_try) 2>&5
9508   ac_status=$?
9509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510   (exit $ac_status); }; } &&
9511          { ac_try='test -s conftest.$ac_objext'
9512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513   (eval $ac_try) 2>&5
9514   ac_status=$?
9515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516   (exit $ac_status); }; }; then
9517   ac_cv_member_struct_stat_st_blocks=yes
9518 else
9519   echo "$as_me: failed program was:" >&5
9520 sed 's/^/| /' conftest.$ac_ext >&5
9521
9522 cat >conftest.$ac_ext <<_ACEOF
9523 /* confdefs.h.  */
9524 _ACEOF
9525 cat confdefs.h >>conftest.$ac_ext
9526 cat >>conftest.$ac_ext <<_ACEOF
9527 /* end confdefs.h.  */
9528 $ac_includes_default
9529 int
9530 main ()
9531 {
9532 static struct stat ac_aggr;
9533 if (sizeof ac_aggr.st_blocks)
9534 return 0;
9535   ;
9536   return 0;
9537 }
9538 _ACEOF
9539 rm -f conftest.$ac_objext
9540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9541   (eval $ac_compile) 2>conftest.er1
9542   ac_status=$?
9543   grep -v '^ *+' conftest.er1 >conftest.err
9544   rm -f conftest.er1
9545   cat conftest.err >&5
9546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547   (exit $ac_status); } &&
9548          { ac_try='test -z "$ac_c_werror_flag"
9549                          || test ! -s conftest.err'
9550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551   (eval $ac_try) 2>&5
9552   ac_status=$?
9553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554   (exit $ac_status); }; } &&
9555          { ac_try='test -s conftest.$ac_objext'
9556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557   (eval $ac_try) 2>&5
9558   ac_status=$?
9559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560   (exit $ac_status); }; }; then
9561   ac_cv_member_struct_stat_st_blocks=yes
9562 else
9563   echo "$as_me: failed program was:" >&5
9564 sed 's/^/| /' conftest.$ac_ext >&5
9565
9566 ac_cv_member_struct_stat_st_blocks=no
9567 fi
9568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9569 fi
9570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9571 fi
9572 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9573 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9574 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9575
9576 cat >>confdefs.h <<_ACEOF
9577 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9578 _ACEOF
9579
9580
9581 fi
9582
9583 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9584 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9585 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9586   echo $ECHO_N "(cached) $ECHO_C" >&6
9587 else
9588   cat >conftest.$ac_ext <<_ACEOF
9589 /* confdefs.h.  */
9590 _ACEOF
9591 cat confdefs.h >>conftest.$ac_ext
9592 cat >>conftest.$ac_ext <<_ACEOF
9593 /* end confdefs.h.  */
9594 $ac_includes_default
9595 int
9596 main ()
9597 {
9598 static struct stat ac_aggr;
9599 if (ac_aggr.st_rdev)
9600 return 0;
9601   ;
9602   return 0;
9603 }
9604 _ACEOF
9605 rm -f conftest.$ac_objext
9606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9607   (eval $ac_compile) 2>conftest.er1
9608   ac_status=$?
9609   grep -v '^ *+' conftest.er1 >conftest.err
9610   rm -f conftest.er1
9611   cat conftest.err >&5
9612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613   (exit $ac_status); } &&
9614          { ac_try='test -z "$ac_c_werror_flag"
9615                          || test ! -s conftest.err'
9616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617   (eval $ac_try) 2>&5
9618   ac_status=$?
9619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620   (exit $ac_status); }; } &&
9621          { ac_try='test -s conftest.$ac_objext'
9622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623   (eval $ac_try) 2>&5
9624   ac_status=$?
9625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626   (exit $ac_status); }; }; then
9627   ac_cv_member_struct_stat_st_rdev=yes
9628 else
9629   echo "$as_me: failed program was:" >&5
9630 sed 's/^/| /' conftest.$ac_ext >&5
9631
9632 cat >conftest.$ac_ext <<_ACEOF
9633 /* confdefs.h.  */
9634 _ACEOF
9635 cat confdefs.h >>conftest.$ac_ext
9636 cat >>conftest.$ac_ext <<_ACEOF
9637 /* end confdefs.h.  */
9638 $ac_includes_default
9639 int
9640 main ()
9641 {
9642 static struct stat ac_aggr;
9643 if (sizeof ac_aggr.st_rdev)
9644 return 0;
9645   ;
9646   return 0;
9647 }
9648 _ACEOF
9649 rm -f conftest.$ac_objext
9650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9651   (eval $ac_compile) 2>conftest.er1
9652   ac_status=$?
9653   grep -v '^ *+' conftest.er1 >conftest.err
9654   rm -f conftest.er1
9655   cat conftest.err >&5
9656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657   (exit $ac_status); } &&
9658          { ac_try='test -z "$ac_c_werror_flag"
9659                          || test ! -s conftest.err'
9660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9661   (eval $ac_try) 2>&5
9662   ac_status=$?
9663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664   (exit $ac_status); }; } &&
9665          { ac_try='test -s conftest.$ac_objext'
9666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9667   (eval $ac_try) 2>&5
9668   ac_status=$?
9669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670   (exit $ac_status); }; }; then
9671   ac_cv_member_struct_stat_st_rdev=yes
9672 else
9673   echo "$as_me: failed program was:" >&5
9674 sed 's/^/| /' conftest.$ac_ext >&5
9675
9676 ac_cv_member_struct_stat_st_rdev=no
9677 fi
9678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9679 fi
9680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9681 fi
9682 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9683 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9684 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9685
9686 cat >>confdefs.h <<_ACEOF
9687 #define HAVE_STRUCT_STAT_ST_RDEV 1
9688 _ACEOF
9689
9690
9691 fi
9692
9693
9694 # Check for library functions.
9695
9696
9697
9698
9699
9700
9701
9702
9703 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9704 do
9705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9706 echo "$as_me:$LINENO: checking for $ac_func" >&5
9707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9708 if eval "test \"\${$as_ac_var+set}\" = set"; then
9709   echo $ECHO_N "(cached) $ECHO_C" >&6
9710 else
9711   if test x$gcc_no_link = xyes; then
9712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9714    { (exit 1); exit 1; }; }
9715 fi
9716 cat >conftest.$ac_ext <<_ACEOF
9717 /* confdefs.h.  */
9718 _ACEOF
9719 cat confdefs.h >>conftest.$ac_ext
9720 cat >>conftest.$ac_ext <<_ACEOF
9721 /* end confdefs.h.  */
9722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9724 #define $ac_func innocuous_$ac_func
9725
9726 /* System header to define __stub macros and hopefully few prototypes,
9727     which can conflict with char $ac_func (); below.
9728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9729     <limits.h> exists even on freestanding compilers.  */
9730
9731 #ifdef __STDC__
9732 # include <limits.h>
9733 #else
9734 # include <assert.h>
9735 #endif
9736
9737 #undef $ac_func
9738
9739 /* Override any gcc2 internal prototype to avoid an error.  */
9740 #ifdef __cplusplus
9741 extern "C"
9742 {
9743 #endif
9744 /* We use char because int might match the return type of a gcc2
9745    builtin and then its argument prototype would still apply.  */
9746 char $ac_func ();
9747 /* The GNU C library defines this for functions which it implements
9748     to always fail with ENOSYS.  Some functions are actually named
9749     something starting with __ and the normal name is an alias.  */
9750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9751 choke me
9752 #else
9753 char (*f) () = $ac_func;
9754 #endif
9755 #ifdef __cplusplus
9756 }
9757 #endif
9758
9759 int
9760 main ()
9761 {
9762 return f != $ac_func;
9763   ;
9764   return 0;
9765 }
9766 _ACEOF
9767 rm -f conftest.$ac_objext conftest$ac_exeext
9768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9769   (eval $ac_link) 2>conftest.er1
9770   ac_status=$?
9771   grep -v '^ *+' conftest.er1 >conftest.err
9772   rm -f conftest.er1
9773   cat conftest.err >&5
9774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775   (exit $ac_status); } &&
9776          { ac_try='test -z "$ac_c_werror_flag"
9777                          || test ! -s conftest.err'
9778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9779   (eval $ac_try) 2>&5
9780   ac_status=$?
9781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782   (exit $ac_status); }; } &&
9783          { ac_try='test -s conftest$ac_exeext'
9784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785   (eval $ac_try) 2>&5
9786   ac_status=$?
9787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788   (exit $ac_status); }; }; then
9789   eval "$as_ac_var=yes"
9790 else
9791   echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.$ac_ext >&5
9793
9794 eval "$as_ac_var=no"
9795 fi
9796 rm -f conftest.err conftest.$ac_objext \
9797       conftest$ac_exeext conftest.$ac_ext
9798 fi
9799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9801 if test `eval echo '${'$as_ac_var'}'` = yes; then
9802   cat >>confdefs.h <<_ACEOF
9803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9804 _ACEOF
9805
9806 fi
9807 done
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
9818 do
9819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9820 echo "$as_me:$LINENO: checking for $ac_func" >&5
9821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9822 if eval "test \"\${$as_ac_var+set}\" = set"; then
9823   echo $ECHO_N "(cached) $ECHO_C" >&6
9824 else
9825   if test x$gcc_no_link = xyes; then
9826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9828    { (exit 1); exit 1; }; }
9829 fi
9830 cat >conftest.$ac_ext <<_ACEOF
9831 /* confdefs.h.  */
9832 _ACEOF
9833 cat confdefs.h >>conftest.$ac_ext
9834 cat >>conftest.$ac_ext <<_ACEOF
9835 /* end confdefs.h.  */
9836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9838 #define $ac_func innocuous_$ac_func
9839
9840 /* System header to define __stub macros and hopefully few prototypes,
9841     which can conflict with char $ac_func (); below.
9842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9843     <limits.h> exists even on freestanding compilers.  */
9844
9845 #ifdef __STDC__
9846 # include <limits.h>
9847 #else
9848 # include <assert.h>
9849 #endif
9850
9851 #undef $ac_func
9852
9853 /* Override any gcc2 internal prototype to avoid an error.  */
9854 #ifdef __cplusplus
9855 extern "C"
9856 {
9857 #endif
9858 /* We use char because int might match the return type of a gcc2
9859    builtin and then its argument prototype would still apply.  */
9860 char $ac_func ();
9861 /* The GNU C library defines this for functions which it implements
9862     to always fail with ENOSYS.  Some functions are actually named
9863     something starting with __ and the normal name is an alias.  */
9864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9865 choke me
9866 #else
9867 char (*f) () = $ac_func;
9868 #endif
9869 #ifdef __cplusplus
9870 }
9871 #endif
9872
9873 int
9874 main ()
9875 {
9876 return f != $ac_func;
9877   ;
9878   return 0;
9879 }
9880 _ACEOF
9881 rm -f conftest.$ac_objext conftest$ac_exeext
9882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9883   (eval $ac_link) 2>conftest.er1
9884   ac_status=$?
9885   grep -v '^ *+' conftest.er1 >conftest.err
9886   rm -f conftest.er1
9887   cat conftest.err >&5
9888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889   (exit $ac_status); } &&
9890          { ac_try='test -z "$ac_c_werror_flag"
9891                          || test ! -s conftest.err'
9892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9893   (eval $ac_try) 2>&5
9894   ac_status=$?
9895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896   (exit $ac_status); }; } &&
9897          { ac_try='test -s conftest$ac_exeext'
9898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899   (eval $ac_try) 2>&5
9900   ac_status=$?
9901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902   (exit $ac_status); }; }; then
9903   eval "$as_ac_var=yes"
9904 else
9905   echo "$as_me: failed program was:" >&5
9906 sed 's/^/| /' conftest.$ac_ext >&5
9907
9908 eval "$as_ac_var=no"
9909 fi
9910 rm -f conftest.err conftest.$ac_objext \
9911       conftest$ac_exeext conftest.$ac_ext
9912 fi
9913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9915 if test `eval echo '${'$as_ac_var'}'` = yes; then
9916   cat >>confdefs.h <<_ACEOF
9917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9918 _ACEOF
9919
9920 fi
9921 done
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
9934 do
9935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9936 echo "$as_me:$LINENO: checking for $ac_func" >&5
9937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9938 if eval "test \"\${$as_ac_var+set}\" = set"; then
9939   echo $ECHO_N "(cached) $ECHO_C" >&6
9940 else
9941   if test x$gcc_no_link = xyes; then
9942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9944    { (exit 1); exit 1; }; }
9945 fi
9946 cat >conftest.$ac_ext <<_ACEOF
9947 /* confdefs.h.  */
9948 _ACEOF
9949 cat confdefs.h >>conftest.$ac_ext
9950 cat >>conftest.$ac_ext <<_ACEOF
9951 /* end confdefs.h.  */
9952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9954 #define $ac_func innocuous_$ac_func
9955
9956 /* System header to define __stub macros and hopefully few prototypes,
9957     which can conflict with char $ac_func (); below.
9958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9959     <limits.h> exists even on freestanding compilers.  */
9960
9961 #ifdef __STDC__
9962 # include <limits.h>
9963 #else
9964 # include <assert.h>
9965 #endif
9966
9967 #undef $ac_func
9968
9969 /* Override any gcc2 internal prototype to avoid an error.  */
9970 #ifdef __cplusplus
9971 extern "C"
9972 {
9973 #endif
9974 /* We use char because int might match the return type of a gcc2
9975    builtin and then its argument prototype would still apply.  */
9976 char $ac_func ();
9977 /* The GNU C library defines this for functions which it implements
9978     to always fail with ENOSYS.  Some functions are actually named
9979     something starting with __ and the normal name is an alias.  */
9980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9981 choke me
9982 #else
9983 char (*f) () = $ac_func;
9984 #endif
9985 #ifdef __cplusplus
9986 }
9987 #endif
9988
9989 int
9990 main ()
9991 {
9992 return f != $ac_func;
9993   ;
9994   return 0;
9995 }
9996 _ACEOF
9997 rm -f conftest.$ac_objext conftest$ac_exeext
9998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9999   (eval $ac_link) 2>conftest.er1
10000   ac_status=$?
10001   grep -v '^ *+' conftest.er1 >conftest.err
10002   rm -f conftest.er1
10003   cat conftest.err >&5
10004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005   (exit $ac_status); } &&
10006          { ac_try='test -z "$ac_c_werror_flag"
10007                          || test ! -s conftest.err'
10008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10009   (eval $ac_try) 2>&5
10010   ac_status=$?
10011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012   (exit $ac_status); }; } &&
10013          { ac_try='test -s conftest$ac_exeext'
10014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015   (eval $ac_try) 2>&5
10016   ac_status=$?
10017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018   (exit $ac_status); }; }; then
10019   eval "$as_ac_var=yes"
10020 else
10021   echo "$as_me: failed program was:" >&5
10022 sed 's/^/| /' conftest.$ac_ext >&5
10023
10024 eval "$as_ac_var=no"
10025 fi
10026 rm -f conftest.err conftest.$ac_objext \
10027       conftest$ac_exeext conftest.$ac_ext
10028 fi
10029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10031 if test `eval echo '${'$as_ac_var'}'` = yes; then
10032   cat >>confdefs.h <<_ACEOF
10033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10034 _ACEOF
10035
10036 fi
10037 done
10038
10039
10040 for ac_func in wait setmode
10041 do
10042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10043 echo "$as_me:$LINENO: checking for $ac_func" >&5
10044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10045 if eval "test \"\${$as_ac_var+set}\" = set"; then
10046   echo $ECHO_N "(cached) $ECHO_C" >&6
10047 else
10048   if test x$gcc_no_link = xyes; then
10049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10051    { (exit 1); exit 1; }; }
10052 fi
10053 cat >conftest.$ac_ext <<_ACEOF
10054 /* confdefs.h.  */
10055 _ACEOF
10056 cat confdefs.h >>conftest.$ac_ext
10057 cat >>conftest.$ac_ext <<_ACEOF
10058 /* end confdefs.h.  */
10059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10061 #define $ac_func innocuous_$ac_func
10062
10063 /* System header to define __stub macros and hopefully few prototypes,
10064     which can conflict with char $ac_func (); below.
10065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10066     <limits.h> exists even on freestanding compilers.  */
10067
10068 #ifdef __STDC__
10069 # include <limits.h>
10070 #else
10071 # include <assert.h>
10072 #endif
10073
10074 #undef $ac_func
10075
10076 /* Override any gcc2 internal prototype to avoid an error.  */
10077 #ifdef __cplusplus
10078 extern "C"
10079 {
10080 #endif
10081 /* We use char because int might match the return type of a gcc2
10082    builtin and then its argument prototype would still apply.  */
10083 char $ac_func ();
10084 /* The GNU C library defines this for functions which it implements
10085     to always fail with ENOSYS.  Some functions are actually named
10086     something starting with __ and the normal name is an alias.  */
10087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10088 choke me
10089 #else
10090 char (*f) () = $ac_func;
10091 #endif
10092 #ifdef __cplusplus
10093 }
10094 #endif
10095
10096 int
10097 main ()
10098 {
10099 return f != $ac_func;
10100   ;
10101   return 0;
10102 }
10103 _ACEOF
10104 rm -f conftest.$ac_objext conftest$ac_exeext
10105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10106   (eval $ac_link) 2>conftest.er1
10107   ac_status=$?
10108   grep -v '^ *+' conftest.er1 >conftest.err
10109   rm -f conftest.er1
10110   cat conftest.err >&5
10111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112   (exit $ac_status); } &&
10113          { ac_try='test -z "$ac_c_werror_flag"
10114                          || test ! -s conftest.err'
10115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10116   (eval $ac_try) 2>&5
10117   ac_status=$?
10118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119   (exit $ac_status); }; } &&
10120          { ac_try='test -s conftest$ac_exeext'
10121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10122   (eval $ac_try) 2>&5
10123   ac_status=$?
10124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125   (exit $ac_status); }; }; then
10126   eval "$as_ac_var=yes"
10127 else
10128   echo "$as_me: failed program was:" >&5
10129 sed 's/^/| /' conftest.$ac_ext >&5
10130
10131 eval "$as_ac_var=no"
10132 fi
10133 rm -f conftest.err conftest.$ac_objext \
10134       conftest$ac_exeext conftest.$ac_ext
10135 fi
10136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10138 if test `eval echo '${'$as_ac_var'}'` = yes; then
10139   cat >>confdefs.h <<_ACEOF
10140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10141 _ACEOF
10142
10143 fi
10144 done
10145
10146
10147 # Check libc for getgid, getpid, getuid
10148 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10149 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10150 if test "${ac_cv_lib_c_getgid+set}" = set; then
10151   echo $ECHO_N "(cached) $ECHO_C" >&6
10152 else
10153   ac_check_lib_save_LIBS=$LIBS
10154 LIBS="-lc  $LIBS"
10155 if test x$gcc_no_link = xyes; then
10156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10158    { (exit 1); exit 1; }; }
10159 fi
10160 cat >conftest.$ac_ext <<_ACEOF
10161 /* confdefs.h.  */
10162 _ACEOF
10163 cat confdefs.h >>conftest.$ac_ext
10164 cat >>conftest.$ac_ext <<_ACEOF
10165 /* end confdefs.h.  */
10166
10167 /* Override any gcc2 internal prototype to avoid an error.  */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 /* We use char because int might match the return type of a gcc2
10172    builtin and then its argument prototype would still apply.  */
10173 char getgid ();
10174 int
10175 main ()
10176 {
10177 getgid ();
10178   ;
10179   return 0;
10180 }
10181 _ACEOF
10182 rm -f conftest.$ac_objext conftest$ac_exeext
10183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10184   (eval $ac_link) 2>conftest.er1
10185   ac_status=$?
10186   grep -v '^ *+' conftest.er1 >conftest.err
10187   rm -f conftest.er1
10188   cat conftest.err >&5
10189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190   (exit $ac_status); } &&
10191          { ac_try='test -z "$ac_c_werror_flag"
10192                          || test ! -s conftest.err'
10193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10194   (eval $ac_try) 2>&5
10195   ac_status=$?
10196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197   (exit $ac_status); }; } &&
10198          { ac_try='test -s conftest$ac_exeext'
10199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200   (eval $ac_try) 2>&5
10201   ac_status=$?
10202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203   (exit $ac_status); }; }; then
10204   ac_cv_lib_c_getgid=yes
10205 else
10206   echo "$as_me: failed program was:" >&5
10207 sed 's/^/| /' conftest.$ac_ext >&5
10208
10209 ac_cv_lib_c_getgid=no
10210 fi
10211 rm -f conftest.err conftest.$ac_objext \
10212       conftest$ac_exeext conftest.$ac_ext
10213 LIBS=$ac_check_lib_save_LIBS
10214 fi
10215 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10216 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10217 if test $ac_cv_lib_c_getgid = yes; then
10218
10219 cat >>confdefs.h <<\_ACEOF
10220 #define HAVE_GETGID 1
10221 _ACEOF
10222
10223 fi
10224
10225 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10226 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10227 if test "${ac_cv_lib_c_getpid+set}" = set; then
10228   echo $ECHO_N "(cached) $ECHO_C" >&6
10229 else
10230   ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lc  $LIBS"
10232 if test x$gcc_no_link = xyes; then
10233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10235    { (exit 1); exit 1; }; }
10236 fi
10237 cat >conftest.$ac_ext <<_ACEOF
10238 /* confdefs.h.  */
10239 _ACEOF
10240 cat confdefs.h >>conftest.$ac_ext
10241 cat >>conftest.$ac_ext <<_ACEOF
10242 /* end confdefs.h.  */
10243
10244 /* Override any gcc2 internal prototype to avoid an error.  */
10245 #ifdef __cplusplus
10246 extern "C"
10247 #endif
10248 /* We use char because int might match the return type of a gcc2
10249    builtin and then its argument prototype would still apply.  */
10250 char getpid ();
10251 int
10252 main ()
10253 {
10254 getpid ();
10255   ;
10256   return 0;
10257 }
10258 _ACEOF
10259 rm -f conftest.$ac_objext conftest$ac_exeext
10260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10261   (eval $ac_link) 2>conftest.er1
10262   ac_status=$?
10263   grep -v '^ *+' conftest.er1 >conftest.err
10264   rm -f conftest.er1
10265   cat conftest.err >&5
10266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267   (exit $ac_status); } &&
10268          { ac_try='test -z "$ac_c_werror_flag"
10269                          || test ! -s conftest.err'
10270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271   (eval $ac_try) 2>&5
10272   ac_status=$?
10273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274   (exit $ac_status); }; } &&
10275          { ac_try='test -s conftest$ac_exeext'
10276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277   (eval $ac_try) 2>&5
10278   ac_status=$?
10279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280   (exit $ac_status); }; }; then
10281   ac_cv_lib_c_getpid=yes
10282 else
10283   echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.$ac_ext >&5
10285
10286 ac_cv_lib_c_getpid=no
10287 fi
10288 rm -f conftest.err conftest.$ac_objext \
10289       conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_lib_save_LIBS
10291 fi
10292 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10293 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10294 if test $ac_cv_lib_c_getpid = yes; then
10295
10296 cat >>confdefs.h <<\_ACEOF
10297 #define HAVE_GETPID 1
10298 _ACEOF
10299
10300 fi
10301
10302 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10303 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10304 if test "${ac_cv_lib_c_getuid+set}" = set; then
10305   echo $ECHO_N "(cached) $ECHO_C" >&6
10306 else
10307   ac_check_lib_save_LIBS=$LIBS
10308 LIBS="-lc  $LIBS"
10309 if test x$gcc_no_link = xyes; then
10310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10312    { (exit 1); exit 1; }; }
10313 fi
10314 cat >conftest.$ac_ext <<_ACEOF
10315 /* confdefs.h.  */
10316 _ACEOF
10317 cat confdefs.h >>conftest.$ac_ext
10318 cat >>conftest.$ac_ext <<_ACEOF
10319 /* end confdefs.h.  */
10320
10321 /* Override any gcc2 internal prototype to avoid an error.  */
10322 #ifdef __cplusplus
10323 extern "C"
10324 #endif
10325 /* We use char because int might match the return type of a gcc2
10326    builtin and then its argument prototype would still apply.  */
10327 char getuid ();
10328 int
10329 main ()
10330 {
10331 getuid ();
10332   ;
10333   return 0;
10334 }
10335 _ACEOF
10336 rm -f conftest.$ac_objext conftest$ac_exeext
10337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10338   (eval $ac_link) 2>conftest.er1
10339   ac_status=$?
10340   grep -v '^ *+' conftest.er1 >conftest.err
10341   rm -f conftest.er1
10342   cat conftest.err >&5
10343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344   (exit $ac_status); } &&
10345          { ac_try='test -z "$ac_c_werror_flag"
10346                          || test ! -s conftest.err'
10347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348   (eval $ac_try) 2>&5
10349   ac_status=$?
10350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351   (exit $ac_status); }; } &&
10352          { ac_try='test -s conftest$ac_exeext'
10353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10354   (eval $ac_try) 2>&5
10355   ac_status=$?
10356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357   (exit $ac_status); }; }; then
10358   ac_cv_lib_c_getuid=yes
10359 else
10360   echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.$ac_ext >&5
10362
10363 ac_cv_lib_c_getuid=no
10364 fi
10365 rm -f conftest.err conftest.$ac_objext \
10366       conftest$ac_exeext conftest.$ac_ext
10367 LIBS=$ac_check_lib_save_LIBS
10368 fi
10369 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10370 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10371 if test $ac_cv_lib_c_getuid = yes; then
10372
10373 cat >>confdefs.h <<\_ACEOF
10374 #define HAVE_GETUID 1
10375 _ACEOF
10376
10377 fi
10378
10379
10380 # Check for C99 (and other IEEE) math functions
10381 # ??? This list seems awful long. Is there a better way to test for these?
10382 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10383 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10384 if test "${ac_cv_lib_m_acosf+set}" = set; then
10385   echo $ECHO_N "(cached) $ECHO_C" >&6
10386 else
10387   ac_check_lib_save_LIBS=$LIBS
10388 LIBS="-lm  $LIBS"
10389 if test x$gcc_no_link = xyes; then
10390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10392    { (exit 1); exit 1; }; }
10393 fi
10394 cat >conftest.$ac_ext <<_ACEOF
10395 /* confdefs.h.  */
10396 _ACEOF
10397 cat confdefs.h >>conftest.$ac_ext
10398 cat >>conftest.$ac_ext <<_ACEOF
10399 /* end confdefs.h.  */
10400
10401 /* Override any gcc2 internal prototype to avoid an error.  */
10402 #ifdef __cplusplus
10403 extern "C"
10404 #endif
10405 /* We use char because int might match the return type of a gcc2
10406    builtin and then its argument prototype would still apply.  */
10407 char acosf ();
10408 int
10409 main ()
10410 {
10411 acosf ();
10412   ;
10413   return 0;
10414 }
10415 _ACEOF
10416 rm -f conftest.$ac_objext conftest$ac_exeext
10417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10418   (eval $ac_link) 2>conftest.er1
10419   ac_status=$?
10420   grep -v '^ *+' conftest.er1 >conftest.err
10421   rm -f conftest.er1
10422   cat conftest.err >&5
10423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424   (exit $ac_status); } &&
10425          { ac_try='test -z "$ac_c_werror_flag"
10426                          || test ! -s conftest.err'
10427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10428   (eval $ac_try) 2>&5
10429   ac_status=$?
10430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431   (exit $ac_status); }; } &&
10432          { ac_try='test -s conftest$ac_exeext'
10433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434   (eval $ac_try) 2>&5
10435   ac_status=$?
10436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437   (exit $ac_status); }; }; then
10438   ac_cv_lib_m_acosf=yes
10439 else
10440   echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10442
10443 ac_cv_lib_m_acosf=no
10444 fi
10445 rm -f conftest.err conftest.$ac_objext \
10446       conftest$ac_exeext conftest.$ac_ext
10447 LIBS=$ac_check_lib_save_LIBS
10448 fi
10449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10450 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10451 if test $ac_cv_lib_m_acosf = yes; then
10452
10453 cat >>confdefs.h <<\_ACEOF
10454 #define HAVE_ACOSF 1
10455 _ACEOF
10456
10457 fi
10458
10459 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10460 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10461 if test "${ac_cv_lib_m_acos+set}" = set; then
10462   echo $ECHO_N "(cached) $ECHO_C" >&6
10463 else
10464   ac_check_lib_save_LIBS=$LIBS
10465 LIBS="-lm  $LIBS"
10466 if test x$gcc_no_link = xyes; then
10467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10469    { (exit 1); exit 1; }; }
10470 fi
10471 cat >conftest.$ac_ext <<_ACEOF
10472 /* confdefs.h.  */
10473 _ACEOF
10474 cat confdefs.h >>conftest.$ac_ext
10475 cat >>conftest.$ac_ext <<_ACEOF
10476 /* end confdefs.h.  */
10477
10478 /* Override any gcc2 internal prototype to avoid an error.  */
10479 #ifdef __cplusplus
10480 extern "C"
10481 #endif
10482 /* We use char because int might match the return type of a gcc2
10483    builtin and then its argument prototype would still apply.  */
10484 char acos ();
10485 int
10486 main ()
10487 {
10488 acos ();
10489   ;
10490   return 0;
10491 }
10492 _ACEOF
10493 rm -f conftest.$ac_objext conftest$ac_exeext
10494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10495   (eval $ac_link) 2>conftest.er1
10496   ac_status=$?
10497   grep -v '^ *+' conftest.er1 >conftest.err
10498   rm -f conftest.er1
10499   cat conftest.err >&5
10500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501   (exit $ac_status); } &&
10502          { ac_try='test -z "$ac_c_werror_flag"
10503                          || test ! -s conftest.err'
10504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505   (eval $ac_try) 2>&5
10506   ac_status=$?
10507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508   (exit $ac_status); }; } &&
10509          { ac_try='test -s conftest$ac_exeext'
10510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511   (eval $ac_try) 2>&5
10512   ac_status=$?
10513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514   (exit $ac_status); }; }; then
10515   ac_cv_lib_m_acos=yes
10516 else
10517   echo "$as_me: failed program was:" >&5
10518 sed 's/^/| /' conftest.$ac_ext >&5
10519
10520 ac_cv_lib_m_acos=no
10521 fi
10522 rm -f conftest.err conftest.$ac_objext \
10523       conftest$ac_exeext conftest.$ac_ext
10524 LIBS=$ac_check_lib_save_LIBS
10525 fi
10526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10527 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10528 if test $ac_cv_lib_m_acos = yes; then
10529
10530 cat >>confdefs.h <<\_ACEOF
10531 #define HAVE_ACOS 1
10532 _ACEOF
10533
10534 fi
10535
10536 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10537 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10538 if test "${ac_cv_lib_m_acosl+set}" = set; then
10539   echo $ECHO_N "(cached) $ECHO_C" >&6
10540 else
10541   ac_check_lib_save_LIBS=$LIBS
10542 LIBS="-lm  $LIBS"
10543 if test x$gcc_no_link = xyes; then
10544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10546    { (exit 1); exit 1; }; }
10547 fi
10548 cat >conftest.$ac_ext <<_ACEOF
10549 /* confdefs.h.  */
10550 _ACEOF
10551 cat confdefs.h >>conftest.$ac_ext
10552 cat >>conftest.$ac_ext <<_ACEOF
10553 /* end confdefs.h.  */
10554
10555 /* Override any gcc2 internal prototype to avoid an error.  */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 /* We use char because int might match the return type of a gcc2
10560    builtin and then its argument prototype would still apply.  */
10561 char acosl ();
10562 int
10563 main ()
10564 {
10565 acosl ();
10566   ;
10567   return 0;
10568 }
10569 _ACEOF
10570 rm -f conftest.$ac_objext conftest$ac_exeext
10571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10572   (eval $ac_link) 2>conftest.er1
10573   ac_status=$?
10574   grep -v '^ *+' conftest.er1 >conftest.err
10575   rm -f conftest.er1
10576   cat conftest.err >&5
10577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578   (exit $ac_status); } &&
10579          { ac_try='test -z "$ac_c_werror_flag"
10580                          || test ! -s conftest.err'
10581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582   (eval $ac_try) 2>&5
10583   ac_status=$?
10584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585   (exit $ac_status); }; } &&
10586          { ac_try='test -s conftest$ac_exeext'
10587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588   (eval $ac_try) 2>&5
10589   ac_status=$?
10590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591   (exit $ac_status); }; }; then
10592   ac_cv_lib_m_acosl=yes
10593 else
10594   echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.$ac_ext >&5
10596
10597 ac_cv_lib_m_acosl=no
10598 fi
10599 rm -f conftest.err conftest.$ac_objext \
10600       conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_lib_save_LIBS
10602 fi
10603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10604 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10605 if test $ac_cv_lib_m_acosl = yes; then
10606
10607 cat >>confdefs.h <<\_ACEOF
10608 #define HAVE_ACOSL 1
10609 _ACEOF
10610
10611 fi
10612
10613 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10614 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10615 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10616   echo $ECHO_N "(cached) $ECHO_C" >&6
10617 else
10618   ac_check_lib_save_LIBS=$LIBS
10619 LIBS="-lm  $LIBS"
10620 if test x$gcc_no_link = xyes; then
10621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10623    { (exit 1); exit 1; }; }
10624 fi
10625 cat >conftest.$ac_ext <<_ACEOF
10626 /* confdefs.h.  */
10627 _ACEOF
10628 cat confdefs.h >>conftest.$ac_ext
10629 cat >>conftest.$ac_ext <<_ACEOF
10630 /* end confdefs.h.  */
10631
10632 /* Override any gcc2 internal prototype to avoid an error.  */
10633 #ifdef __cplusplus
10634 extern "C"
10635 #endif
10636 /* We use char because int might match the return type of a gcc2
10637    builtin and then its argument prototype would still apply.  */
10638 char acoshf ();
10639 int
10640 main ()
10641 {
10642 acoshf ();
10643   ;
10644   return 0;
10645 }
10646 _ACEOF
10647 rm -f conftest.$ac_objext conftest$ac_exeext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10649   (eval $ac_link) 2>conftest.er1
10650   ac_status=$?
10651   grep -v '^ *+' conftest.er1 >conftest.err
10652   rm -f conftest.er1
10653   cat conftest.err >&5
10654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655   (exit $ac_status); } &&
10656          { ac_try='test -z "$ac_c_werror_flag"
10657                          || test ! -s conftest.err'
10658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659   (eval $ac_try) 2>&5
10660   ac_status=$?
10661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662   (exit $ac_status); }; } &&
10663          { ac_try='test -s conftest$ac_exeext'
10664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665   (eval $ac_try) 2>&5
10666   ac_status=$?
10667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668   (exit $ac_status); }; }; then
10669   ac_cv_lib_m_acoshf=yes
10670 else
10671   echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10673
10674 ac_cv_lib_m_acoshf=no
10675 fi
10676 rm -f conftest.err conftest.$ac_objext \
10677       conftest$ac_exeext conftest.$ac_ext
10678 LIBS=$ac_check_lib_save_LIBS
10679 fi
10680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10681 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10682 if test $ac_cv_lib_m_acoshf = yes; then
10683
10684 cat >>confdefs.h <<\_ACEOF
10685 #define HAVE_ACOSHF 1
10686 _ACEOF
10687
10688 fi
10689
10690 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10691 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10692 if test "${ac_cv_lib_m_acosh+set}" = set; then
10693   echo $ECHO_N "(cached) $ECHO_C" >&6
10694 else
10695   ac_check_lib_save_LIBS=$LIBS
10696 LIBS="-lm  $LIBS"
10697 if test x$gcc_no_link = xyes; then
10698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10700    { (exit 1); exit 1; }; }
10701 fi
10702 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h.  */
10704 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
10707 /* end confdefs.h.  */
10708
10709 /* Override any gcc2 internal prototype to avoid an error.  */
10710 #ifdef __cplusplus
10711 extern "C"
10712 #endif
10713 /* We use char because int might match the return type of a gcc2
10714    builtin and then its argument prototype would still apply.  */
10715 char acosh ();
10716 int
10717 main ()
10718 {
10719 acosh ();
10720   ;
10721   return 0;
10722 }
10723 _ACEOF
10724 rm -f conftest.$ac_objext conftest$ac_exeext
10725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10726   (eval $ac_link) 2>conftest.er1
10727   ac_status=$?
10728   grep -v '^ *+' conftest.er1 >conftest.err
10729   rm -f conftest.er1
10730   cat conftest.err >&5
10731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10732   (exit $ac_status); } &&
10733          { ac_try='test -z "$ac_c_werror_flag"
10734                          || test ! -s conftest.err'
10735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10736   (eval $ac_try) 2>&5
10737   ac_status=$?
10738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739   (exit $ac_status); }; } &&
10740          { ac_try='test -s conftest$ac_exeext'
10741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10742   (eval $ac_try) 2>&5
10743   ac_status=$?
10744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745   (exit $ac_status); }; }; then
10746   ac_cv_lib_m_acosh=yes
10747 else
10748   echo "$as_me: failed program was:" >&5
10749 sed 's/^/| /' conftest.$ac_ext >&5
10750
10751 ac_cv_lib_m_acosh=no
10752 fi
10753 rm -f conftest.err conftest.$ac_objext \
10754       conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_lib_save_LIBS
10756 fi
10757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
10758 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
10759 if test $ac_cv_lib_m_acosh = yes; then
10760
10761 cat >>confdefs.h <<\_ACEOF
10762 #define HAVE_ACOSH 1
10763 _ACEOF
10764
10765 fi
10766
10767 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
10768 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
10769 if test "${ac_cv_lib_m_acoshl+set}" = set; then
10770   echo $ECHO_N "(cached) $ECHO_C" >&6
10771 else
10772   ac_check_lib_save_LIBS=$LIBS
10773 LIBS="-lm  $LIBS"
10774 if test x$gcc_no_link = xyes; then
10775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10777    { (exit 1); exit 1; }; }
10778 fi
10779 cat >conftest.$ac_ext <<_ACEOF
10780 /* confdefs.h.  */
10781 _ACEOF
10782 cat confdefs.h >>conftest.$ac_ext
10783 cat >>conftest.$ac_ext <<_ACEOF
10784 /* end confdefs.h.  */
10785
10786 /* Override any gcc2 internal prototype to avoid an error.  */
10787 #ifdef __cplusplus
10788 extern "C"
10789 #endif
10790 /* We use char because int might match the return type of a gcc2
10791    builtin and then its argument prototype would still apply.  */
10792 char acoshl ();
10793 int
10794 main ()
10795 {
10796 acoshl ();
10797   ;
10798   return 0;
10799 }
10800 _ACEOF
10801 rm -f conftest.$ac_objext conftest$ac_exeext
10802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10803   (eval $ac_link) 2>conftest.er1
10804   ac_status=$?
10805   grep -v '^ *+' conftest.er1 >conftest.err
10806   rm -f conftest.er1
10807   cat conftest.err >&5
10808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809   (exit $ac_status); } &&
10810          { ac_try='test -z "$ac_c_werror_flag"
10811                          || test ! -s conftest.err'
10812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813   (eval $ac_try) 2>&5
10814   ac_status=$?
10815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816   (exit $ac_status); }; } &&
10817          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10823   ac_cv_lib_m_acoshl=yes
10824 else
10825   echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.$ac_ext >&5
10827
10828 ac_cv_lib_m_acoshl=no
10829 fi
10830 rm -f conftest.err conftest.$ac_objext \
10831       conftest$ac_exeext conftest.$ac_ext
10832 LIBS=$ac_check_lib_save_LIBS
10833 fi
10834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
10835 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
10836 if test $ac_cv_lib_m_acoshl = yes; then
10837
10838 cat >>confdefs.h <<\_ACEOF
10839 #define HAVE_ACOSHL 1
10840 _ACEOF
10841
10842 fi
10843
10844 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
10845 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
10846 if test "${ac_cv_lib_m_asinf+set}" = set; then
10847   echo $ECHO_N "(cached) $ECHO_C" >&6
10848 else
10849   ac_check_lib_save_LIBS=$LIBS
10850 LIBS="-lm  $LIBS"
10851 if test x$gcc_no_link = xyes; then
10852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10854    { (exit 1); exit 1; }; }
10855 fi
10856 cat >conftest.$ac_ext <<_ACEOF
10857 /* confdefs.h.  */
10858 _ACEOF
10859 cat confdefs.h >>conftest.$ac_ext
10860 cat >>conftest.$ac_ext <<_ACEOF
10861 /* end confdefs.h.  */
10862
10863 /* Override any gcc2 internal prototype to avoid an error.  */
10864 #ifdef __cplusplus
10865 extern "C"
10866 #endif
10867 /* We use char because int might match the return type of a gcc2
10868    builtin and then its argument prototype would still apply.  */
10869 char asinf ();
10870 int
10871 main ()
10872 {
10873 asinf ();
10874   ;
10875   return 0;
10876 }
10877 _ACEOF
10878 rm -f conftest.$ac_objext conftest$ac_exeext
10879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10880   (eval $ac_link) 2>conftest.er1
10881   ac_status=$?
10882   grep -v '^ *+' conftest.er1 >conftest.err
10883   rm -f conftest.er1
10884   cat conftest.err >&5
10885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886   (exit $ac_status); } &&
10887          { ac_try='test -z "$ac_c_werror_flag"
10888                          || test ! -s conftest.err'
10889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890   (eval $ac_try) 2>&5
10891   ac_status=$?
10892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893   (exit $ac_status); }; } &&
10894          { ac_try='test -s conftest$ac_exeext'
10895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10896   (eval $ac_try) 2>&5
10897   ac_status=$?
10898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899   (exit $ac_status); }; }; then
10900   ac_cv_lib_m_asinf=yes
10901 else
10902   echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10904
10905 ac_cv_lib_m_asinf=no
10906 fi
10907 rm -f conftest.err conftest.$ac_objext \
10908       conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS
10910 fi
10911 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
10912 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
10913 if test $ac_cv_lib_m_asinf = yes; then
10914
10915 cat >>confdefs.h <<\_ACEOF
10916 #define HAVE_ASINF 1
10917 _ACEOF
10918
10919 fi
10920
10921 echo "$as_me:$LINENO: checking for asin in -lm" >&5
10922 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
10923 if test "${ac_cv_lib_m_asin+set}" = set; then
10924   echo $ECHO_N "(cached) $ECHO_C" >&6
10925 else
10926   ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lm  $LIBS"
10928 if test x$gcc_no_link = xyes; then
10929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10931    { (exit 1); exit 1; }; }
10932 fi
10933 cat >conftest.$ac_ext <<_ACEOF
10934 /* confdefs.h.  */
10935 _ACEOF
10936 cat confdefs.h >>conftest.$ac_ext
10937 cat >>conftest.$ac_ext <<_ACEOF
10938 /* end confdefs.h.  */
10939
10940 /* Override any gcc2 internal prototype to avoid an error.  */
10941 #ifdef __cplusplus
10942 extern "C"
10943 #endif
10944 /* We use char because int might match the return type of a gcc2
10945    builtin and then its argument prototype would still apply.  */
10946 char asin ();
10947 int
10948 main ()
10949 {
10950 asin ();
10951   ;
10952   return 0;
10953 }
10954 _ACEOF
10955 rm -f conftest.$ac_objext conftest$ac_exeext
10956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10957   (eval $ac_link) 2>conftest.er1
10958   ac_status=$?
10959   grep -v '^ *+' conftest.er1 >conftest.err
10960   rm -f conftest.er1
10961   cat conftest.err >&5
10962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963   (exit $ac_status); } &&
10964          { ac_try='test -z "$ac_c_werror_flag"
10965                          || test ! -s conftest.err'
10966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10967   (eval $ac_try) 2>&5
10968   ac_status=$?
10969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970   (exit $ac_status); }; } &&
10971          { ac_try='test -s conftest$ac_exeext'
10972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973   (eval $ac_try) 2>&5
10974   ac_status=$?
10975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976   (exit $ac_status); }; }; then
10977   ac_cv_lib_m_asin=yes
10978 else
10979   echo "$as_me: failed program was:" >&5
10980 sed 's/^/| /' conftest.$ac_ext >&5
10981
10982 ac_cv_lib_m_asin=no
10983 fi
10984 rm -f conftest.err conftest.$ac_objext \
10985       conftest$ac_exeext conftest.$ac_ext
10986 LIBS=$ac_check_lib_save_LIBS
10987 fi
10988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
10989 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
10990 if test $ac_cv_lib_m_asin = yes; then
10991
10992 cat >>confdefs.h <<\_ACEOF
10993 #define HAVE_ASIN 1
10994 _ACEOF
10995
10996 fi
10997
10998 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
10999 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11000 if test "${ac_cv_lib_m_asinl+set}" = set; then
11001   echo $ECHO_N "(cached) $ECHO_C" >&6
11002 else
11003   ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-lm  $LIBS"
11005 if test x$gcc_no_link = xyes; then
11006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11008    { (exit 1); exit 1; }; }
11009 fi
11010 cat >conftest.$ac_ext <<_ACEOF
11011 /* confdefs.h.  */
11012 _ACEOF
11013 cat confdefs.h >>conftest.$ac_ext
11014 cat >>conftest.$ac_ext <<_ACEOF
11015 /* end confdefs.h.  */
11016
11017 /* Override any gcc2 internal prototype to avoid an error.  */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 /* We use char because int might match the return type of a gcc2
11022    builtin and then its argument prototype would still apply.  */
11023 char asinl ();
11024 int
11025 main ()
11026 {
11027 asinl ();
11028   ;
11029   return 0;
11030 }
11031 _ACEOF
11032 rm -f conftest.$ac_objext conftest$ac_exeext
11033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11034   (eval $ac_link) 2>conftest.er1
11035   ac_status=$?
11036   grep -v '^ *+' conftest.er1 >conftest.err
11037   rm -f conftest.er1
11038   cat conftest.err >&5
11039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040   (exit $ac_status); } &&
11041          { ac_try='test -z "$ac_c_werror_flag"
11042                          || test ! -s conftest.err'
11043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044   (eval $ac_try) 2>&5
11045   ac_status=$?
11046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047   (exit $ac_status); }; } &&
11048          { ac_try='test -s conftest$ac_exeext'
11049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050   (eval $ac_try) 2>&5
11051   ac_status=$?
11052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053   (exit $ac_status); }; }; then
11054   ac_cv_lib_m_asinl=yes
11055 else
11056   echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11058
11059 ac_cv_lib_m_asinl=no
11060 fi
11061 rm -f conftest.err conftest.$ac_objext \
11062       conftest$ac_exeext conftest.$ac_ext
11063 LIBS=$ac_check_lib_save_LIBS
11064 fi
11065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11066 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11067 if test $ac_cv_lib_m_asinl = yes; then
11068
11069 cat >>confdefs.h <<\_ACEOF
11070 #define HAVE_ASINL 1
11071 _ACEOF
11072
11073 fi
11074
11075 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11076 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11077 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11078   echo $ECHO_N "(cached) $ECHO_C" >&6
11079 else
11080   ac_check_lib_save_LIBS=$LIBS
11081 LIBS="-lm  $LIBS"
11082 if test x$gcc_no_link = xyes; then
11083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11085    { (exit 1); exit 1; }; }
11086 fi
11087 cat >conftest.$ac_ext <<_ACEOF
11088 /* confdefs.h.  */
11089 _ACEOF
11090 cat confdefs.h >>conftest.$ac_ext
11091 cat >>conftest.$ac_ext <<_ACEOF
11092 /* end confdefs.h.  */
11093
11094 /* Override any gcc2 internal prototype to avoid an error.  */
11095 #ifdef __cplusplus
11096 extern "C"
11097 #endif
11098 /* We use char because int might match the return type of a gcc2
11099    builtin and then its argument prototype would still apply.  */
11100 char asinhf ();
11101 int
11102 main ()
11103 {
11104 asinhf ();
11105   ;
11106   return 0;
11107 }
11108 _ACEOF
11109 rm -f conftest.$ac_objext conftest$ac_exeext
11110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11111   (eval $ac_link) 2>conftest.er1
11112   ac_status=$?
11113   grep -v '^ *+' conftest.er1 >conftest.err
11114   rm -f conftest.er1
11115   cat conftest.err >&5
11116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117   (exit $ac_status); } &&
11118          { ac_try='test -z "$ac_c_werror_flag"
11119                          || test ! -s conftest.err'
11120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121   (eval $ac_try) 2>&5
11122   ac_status=$?
11123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124   (exit $ac_status); }; } &&
11125          { ac_try='test -s conftest$ac_exeext'
11126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127   (eval $ac_try) 2>&5
11128   ac_status=$?
11129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130   (exit $ac_status); }; }; then
11131   ac_cv_lib_m_asinhf=yes
11132 else
11133   echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11135
11136 ac_cv_lib_m_asinhf=no
11137 fi
11138 rm -f conftest.err conftest.$ac_objext \
11139       conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11141 fi
11142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11143 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11144 if test $ac_cv_lib_m_asinhf = yes; then
11145
11146 cat >>confdefs.h <<\_ACEOF
11147 #define HAVE_ASINHF 1
11148 _ACEOF
11149
11150 fi
11151
11152 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11153 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11154 if test "${ac_cv_lib_m_asinh+set}" = set; then
11155   echo $ECHO_N "(cached) $ECHO_C" >&6
11156 else
11157   ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-lm  $LIBS"
11159 if test x$gcc_no_link = xyes; then
11160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11162    { (exit 1); exit 1; }; }
11163 fi
11164 cat >conftest.$ac_ext <<_ACEOF
11165 /* confdefs.h.  */
11166 _ACEOF
11167 cat confdefs.h >>conftest.$ac_ext
11168 cat >>conftest.$ac_ext <<_ACEOF
11169 /* end confdefs.h.  */
11170
11171 /* Override any gcc2 internal prototype to avoid an error.  */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 /* We use char because int might match the return type of a gcc2
11176    builtin and then its argument prototype would still apply.  */
11177 char asinh ();
11178 int
11179 main ()
11180 {
11181 asinh ();
11182   ;
11183   return 0;
11184 }
11185 _ACEOF
11186 rm -f conftest.$ac_objext conftest$ac_exeext
11187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11188   (eval $ac_link) 2>conftest.er1
11189   ac_status=$?
11190   grep -v '^ *+' conftest.er1 >conftest.err
11191   rm -f conftest.er1
11192   cat conftest.err >&5
11193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194   (exit $ac_status); } &&
11195          { ac_try='test -z "$ac_c_werror_flag"
11196                          || test ! -s conftest.err'
11197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198   (eval $ac_try) 2>&5
11199   ac_status=$?
11200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201   (exit $ac_status); }; } &&
11202          { ac_try='test -s conftest$ac_exeext'
11203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204   (eval $ac_try) 2>&5
11205   ac_status=$?
11206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207   (exit $ac_status); }; }; then
11208   ac_cv_lib_m_asinh=yes
11209 else
11210   echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11212
11213 ac_cv_lib_m_asinh=no
11214 fi
11215 rm -f conftest.err conftest.$ac_objext \
11216       conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11218 fi
11219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11220 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11221 if test $ac_cv_lib_m_asinh = yes; then
11222
11223 cat >>confdefs.h <<\_ACEOF
11224 #define HAVE_ASINH 1
11225 _ACEOF
11226
11227 fi
11228
11229 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11230 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11231 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11232   echo $ECHO_N "(cached) $ECHO_C" >&6
11233 else
11234   ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-lm  $LIBS"
11236 if test x$gcc_no_link = xyes; then
11237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11239    { (exit 1); exit 1; }; }
11240 fi
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h.  */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h.  */
11247
11248 /* Override any gcc2 internal prototype to avoid an error.  */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 /* We use char because int might match the return type of a gcc2
11253    builtin and then its argument prototype would still apply.  */
11254 char asinhl ();
11255 int
11256 main ()
11257 {
11258 asinhl ();
11259   ;
11260   return 0;
11261 }
11262 _ACEOF
11263 rm -f conftest.$ac_objext conftest$ac_exeext
11264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11265   (eval $ac_link) 2>conftest.er1
11266   ac_status=$?
11267   grep -v '^ *+' conftest.er1 >conftest.err
11268   rm -f conftest.er1
11269   cat conftest.err >&5
11270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271   (exit $ac_status); } &&
11272          { ac_try='test -z "$ac_c_werror_flag"
11273                          || 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_asinhl=yes
11286 else
11287   echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11289
11290 ac_cv_lib_m_asinhl=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_asinhl" >&5
11297 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11298 if test $ac_cv_lib_m_asinhl = yes; then
11299
11300 cat >>confdefs.h <<\_ACEOF
11301 #define HAVE_ASINHL 1
11302 _ACEOF
11303
11304 fi
11305
11306 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11307 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11308 if test "${ac_cv_lib_m_atan2f+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 atan2f ();
11332 int
11333 main ()
11334 {
11335 atan2f ();
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"
11350                          || test ! -s conftest.err'
11351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11352   (eval $ac_try) 2>&5
11353   ac_status=$?
11354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355   (exit $ac_status); }; } &&
11356          { ac_try='test -s conftest$ac_exeext'
11357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11358   (eval $ac_try) 2>&5
11359   ac_status=$?
11360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361   (exit $ac_status); }; }; then
11362   ac_cv_lib_m_atan2f=yes
11363 else
11364   echo "$as_me: failed program was:" >&5
11365 sed 's/^/| /' conftest.$ac_ext >&5
11366
11367 ac_cv_lib_m_atan2f=no
11368 fi
11369 rm -f conftest.err conftest.$ac_objext \
11370       conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_lib_save_LIBS
11372 fi
11373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11374 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11375 if test $ac_cv_lib_m_atan2f = yes; then
11376
11377 cat >>confdefs.h <<\_ACEOF
11378 #define HAVE_ATAN2F 1
11379 _ACEOF
11380
11381 fi
11382
11383 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11384 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11385 if test "${ac_cv_lib_m_atan2+set}" = set; then
11386   echo $ECHO_N "(cached) $ECHO_C" >&6
11387 else
11388   ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-lm  $LIBS"
11390 if test x$gcc_no_link = xyes; then
11391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11393    { (exit 1); exit 1; }; }
11394 fi
11395 cat >conftest.$ac_ext <<_ACEOF
11396 /* confdefs.h.  */
11397 _ACEOF
11398 cat confdefs.h >>conftest.$ac_ext
11399 cat >>conftest.$ac_ext <<_ACEOF
11400 /* end confdefs.h.  */
11401
11402 /* Override any gcc2 internal prototype to avoid an error.  */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 /* We use char because int might match the return type of a gcc2
11407    builtin and then its argument prototype would still apply.  */
11408 char atan2 ();
11409 int
11410 main ()
11411 {
11412 atan2 ();
11413   ;
11414   return 0;
11415 }
11416 _ACEOF
11417 rm -f conftest.$ac_objext conftest$ac_exeext
11418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11419   (eval $ac_link) 2>conftest.er1
11420   ac_status=$?
11421   grep -v '^ *+' conftest.er1 >conftest.err
11422   rm -f conftest.er1
11423   cat conftest.err >&5
11424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425   (exit $ac_status); } &&
11426          { ac_try='test -z "$ac_c_werror_flag"
11427                          || test ! -s conftest.err'
11428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11429   (eval $ac_try) 2>&5
11430   ac_status=$?
11431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432   (exit $ac_status); }; } &&
11433          { ac_try='test -s conftest$ac_exeext'
11434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435   (eval $ac_try) 2>&5
11436   ac_status=$?
11437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438   (exit $ac_status); }; }; then
11439   ac_cv_lib_m_atan2=yes
11440 else
11441   echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.$ac_ext >&5
11443
11444 ac_cv_lib_m_atan2=no
11445 fi
11446 rm -f conftest.err conftest.$ac_objext \
11447       conftest$ac_exeext conftest.$ac_ext
11448 LIBS=$ac_check_lib_save_LIBS
11449 fi
11450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11451 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11452 if test $ac_cv_lib_m_atan2 = yes; then
11453
11454 cat >>confdefs.h <<\_ACEOF
11455 #define HAVE_ATAN2 1
11456 _ACEOF
11457
11458 fi
11459
11460 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11461 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11462 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11463   echo $ECHO_N "(cached) $ECHO_C" >&6
11464 else
11465   ac_check_lib_save_LIBS=$LIBS
11466 LIBS="-lm  $LIBS"
11467 if test x$gcc_no_link = xyes; then
11468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11470    { (exit 1); exit 1; }; }
11471 fi
11472 cat >conftest.$ac_ext <<_ACEOF
11473 /* confdefs.h.  */
11474 _ACEOF
11475 cat confdefs.h >>conftest.$ac_ext
11476 cat >>conftest.$ac_ext <<_ACEOF
11477 /* end confdefs.h.  */
11478
11479 /* Override any gcc2 internal prototype to avoid an error.  */
11480 #ifdef __cplusplus
11481 extern "C"
11482 #endif
11483 /* We use char because int might match the return type of a gcc2
11484    builtin and then its argument prototype would still apply.  */
11485 char atan2l ();
11486 int
11487 main ()
11488 {
11489 atan2l ();
11490   ;
11491   return 0;
11492 }
11493 _ACEOF
11494 rm -f conftest.$ac_objext conftest$ac_exeext
11495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11496   (eval $ac_link) 2>conftest.er1
11497   ac_status=$?
11498   grep -v '^ *+' conftest.er1 >conftest.err
11499   rm -f conftest.er1
11500   cat conftest.err >&5
11501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502   (exit $ac_status); } &&
11503          { ac_try='test -z "$ac_c_werror_flag"
11504                          || test ! -s conftest.err'
11505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506   (eval $ac_try) 2>&5
11507   ac_status=$?
11508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509   (exit $ac_status); }; } &&
11510          { ac_try='test -s conftest$ac_exeext'
11511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11512   (eval $ac_try) 2>&5
11513   ac_status=$?
11514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515   (exit $ac_status); }; }; then
11516   ac_cv_lib_m_atan2l=yes
11517 else
11518   echo "$as_me: failed program was:" >&5
11519 sed 's/^/| /' conftest.$ac_ext >&5
11520
11521 ac_cv_lib_m_atan2l=no
11522 fi
11523 rm -f conftest.err conftest.$ac_objext \
11524       conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_lib_save_LIBS
11526 fi
11527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11528 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11529 if test $ac_cv_lib_m_atan2l = yes; then
11530
11531 cat >>confdefs.h <<\_ACEOF
11532 #define HAVE_ATAN2L 1
11533 _ACEOF
11534
11535 fi
11536
11537 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11538 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11539 if test "${ac_cv_lib_m_atanf+set}" = set; then
11540   echo $ECHO_N "(cached) $ECHO_C" >&6
11541 else
11542   ac_check_lib_save_LIBS=$LIBS
11543 LIBS="-lm  $LIBS"
11544 if test x$gcc_no_link = xyes; then
11545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11547    { (exit 1); exit 1; }; }
11548 fi
11549 cat >conftest.$ac_ext <<_ACEOF
11550 /* confdefs.h.  */
11551 _ACEOF
11552 cat confdefs.h >>conftest.$ac_ext
11553 cat >>conftest.$ac_ext <<_ACEOF
11554 /* end confdefs.h.  */
11555
11556 /* Override any gcc2 internal prototype to avoid an error.  */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 /* We use char because int might match the return type of a gcc2
11561    builtin and then its argument prototype would still apply.  */
11562 char atanf ();
11563 int
11564 main ()
11565 {
11566 atanf ();
11567   ;
11568   return 0;
11569 }
11570 _ACEOF
11571 rm -f conftest.$ac_objext conftest$ac_exeext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11573   (eval $ac_link) 2>conftest.er1
11574   ac_status=$?
11575   grep -v '^ *+' conftest.er1 >conftest.err
11576   rm -f conftest.er1
11577   cat conftest.err >&5
11578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579   (exit $ac_status); } &&
11580          { ac_try='test -z "$ac_c_werror_flag"
11581                          || test ! -s conftest.err'
11582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583   (eval $ac_try) 2>&5
11584   ac_status=$?
11585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586   (exit $ac_status); }; } &&
11587          { ac_try='test -s conftest$ac_exeext'
11588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589   (eval $ac_try) 2>&5
11590   ac_status=$?
11591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592   (exit $ac_status); }; }; then
11593   ac_cv_lib_m_atanf=yes
11594 else
11595   echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.$ac_ext >&5
11597
11598 ac_cv_lib_m_atanf=no
11599 fi
11600 rm -f conftest.err conftest.$ac_objext \
11601       conftest$ac_exeext conftest.$ac_ext
11602 LIBS=$ac_check_lib_save_LIBS
11603 fi
11604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11605 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11606 if test $ac_cv_lib_m_atanf = yes; then
11607
11608 cat >>confdefs.h <<\_ACEOF
11609 #define HAVE_ATANF 1
11610 _ACEOF
11611
11612 fi
11613
11614 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11615 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11616 if test "${ac_cv_lib_m_atan+set}" = set; then
11617   echo $ECHO_N "(cached) $ECHO_C" >&6
11618 else
11619   ac_check_lib_save_LIBS=$LIBS
11620 LIBS="-lm  $LIBS"
11621 if test x$gcc_no_link = xyes; then
11622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11624    { (exit 1); exit 1; }; }
11625 fi
11626 cat >conftest.$ac_ext <<_ACEOF
11627 /* confdefs.h.  */
11628 _ACEOF
11629 cat confdefs.h >>conftest.$ac_ext
11630 cat >>conftest.$ac_ext <<_ACEOF
11631 /* end confdefs.h.  */
11632
11633 /* Override any gcc2 internal prototype to avoid an error.  */
11634 #ifdef __cplusplus
11635 extern "C"
11636 #endif
11637 /* We use char because int might match the return type of a gcc2
11638    builtin and then its argument prototype would still apply.  */
11639 char atan ();
11640 int
11641 main ()
11642 {
11643 atan ();
11644   ;
11645   return 0;
11646 }
11647 _ACEOF
11648 rm -f conftest.$ac_objext conftest$ac_exeext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11650   (eval $ac_link) 2>conftest.er1
11651   ac_status=$?
11652   grep -v '^ *+' conftest.er1 >conftest.err
11653   rm -f conftest.er1
11654   cat conftest.err >&5
11655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656   (exit $ac_status); } &&
11657          { ac_try='test -z "$ac_c_werror_flag"
11658                          || test ! -s conftest.err'
11659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660   (eval $ac_try) 2>&5
11661   ac_status=$?
11662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663   (exit $ac_status); }; } &&
11664          { ac_try='test -s conftest$ac_exeext'
11665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666   (eval $ac_try) 2>&5
11667   ac_status=$?
11668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669   (exit $ac_status); }; }; then
11670   ac_cv_lib_m_atan=yes
11671 else
11672   echo "$as_me: failed program was:" >&5
11673 sed 's/^/| /' conftest.$ac_ext >&5
11674
11675 ac_cv_lib_m_atan=no
11676 fi
11677 rm -f conftest.err conftest.$ac_objext \
11678       conftest$ac_exeext conftest.$ac_ext
11679 LIBS=$ac_check_lib_save_LIBS
11680 fi
11681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11682 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11683 if test $ac_cv_lib_m_atan = yes; then
11684
11685 cat >>confdefs.h <<\_ACEOF
11686 #define HAVE_ATAN 1
11687 _ACEOF
11688
11689 fi
11690
11691 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11692 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11693 if test "${ac_cv_lib_m_atanl+set}" = set; then
11694   echo $ECHO_N "(cached) $ECHO_C" >&6
11695 else
11696   ac_check_lib_save_LIBS=$LIBS
11697 LIBS="-lm  $LIBS"
11698 if test x$gcc_no_link = xyes; then
11699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11701    { (exit 1); exit 1; }; }
11702 fi
11703 cat >conftest.$ac_ext <<_ACEOF
11704 /* confdefs.h.  */
11705 _ACEOF
11706 cat confdefs.h >>conftest.$ac_ext
11707 cat >>conftest.$ac_ext <<_ACEOF
11708 /* end confdefs.h.  */
11709
11710 /* Override any gcc2 internal prototype to avoid an error.  */
11711 #ifdef __cplusplus
11712 extern "C"
11713 #endif
11714 /* We use char because int might match the return type of a gcc2
11715    builtin and then its argument prototype would still apply.  */
11716 char atanl ();
11717 int
11718 main ()
11719 {
11720 atanl ();
11721   ;
11722   return 0;
11723 }
11724 _ACEOF
11725 rm -f conftest.$ac_objext conftest$ac_exeext
11726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11727   (eval $ac_link) 2>conftest.er1
11728   ac_status=$?
11729   grep -v '^ *+' conftest.er1 >conftest.err
11730   rm -f conftest.er1
11731   cat conftest.err >&5
11732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733   (exit $ac_status); } &&
11734          { ac_try='test -z "$ac_c_werror_flag"
11735                          || test ! -s conftest.err'
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); }; } &&
11741          { ac_try='test -s conftest$ac_exeext'
11742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11743   (eval $ac_try) 2>&5
11744   ac_status=$?
11745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746   (exit $ac_status); }; }; then
11747   ac_cv_lib_m_atanl=yes
11748 else
11749   echo "$as_me: failed program was:" >&5
11750 sed 's/^/| /' conftest.$ac_ext >&5
11751
11752 ac_cv_lib_m_atanl=no
11753 fi
11754 rm -f conftest.err conftest.$ac_objext \
11755       conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_lib_save_LIBS
11757 fi
11758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
11759 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
11760 if test $ac_cv_lib_m_atanl = yes; then
11761
11762 cat >>confdefs.h <<\_ACEOF
11763 #define HAVE_ATANL 1
11764 _ACEOF
11765
11766 fi
11767
11768 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
11769 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
11770 if test "${ac_cv_lib_m_atanhf+set}" = set; then
11771   echo $ECHO_N "(cached) $ECHO_C" >&6
11772 else
11773   ac_check_lib_save_LIBS=$LIBS
11774 LIBS="-lm  $LIBS"
11775 if test x$gcc_no_link = xyes; then
11776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11778    { (exit 1); exit 1; }; }
11779 fi
11780 cat >conftest.$ac_ext <<_ACEOF
11781 /* confdefs.h.  */
11782 _ACEOF
11783 cat confdefs.h >>conftest.$ac_ext
11784 cat >>conftest.$ac_ext <<_ACEOF
11785 /* end confdefs.h.  */
11786
11787 /* Override any gcc2 internal prototype to avoid an error.  */
11788 #ifdef __cplusplus
11789 extern "C"
11790 #endif
11791 /* We use char because int might match the return type of a gcc2
11792    builtin and then its argument prototype would still apply.  */
11793 char atanhf ();
11794 int
11795 main ()
11796 {
11797 atanhf ();
11798   ;
11799   return 0;
11800 }
11801 _ACEOF
11802 rm -f conftest.$ac_objext conftest$ac_exeext
11803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11804   (eval $ac_link) 2>conftest.er1
11805   ac_status=$?
11806   grep -v '^ *+' conftest.er1 >conftest.err
11807   rm -f conftest.er1
11808   cat conftest.err >&5
11809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810   (exit $ac_status); } &&
11811          { ac_try='test -z "$ac_c_werror_flag"
11812                          || test ! -s conftest.err'
11813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814   (eval $ac_try) 2>&5
11815   ac_status=$?
11816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817   (exit $ac_status); }; } &&
11818          { ac_try='test -s conftest$ac_exeext'
11819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11820   (eval $ac_try) 2>&5
11821   ac_status=$?
11822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823   (exit $ac_status); }; }; then
11824   ac_cv_lib_m_atanhf=yes
11825 else
11826   echo "$as_me: failed program was:" >&5
11827 sed 's/^/| /' conftest.$ac_ext >&5
11828
11829 ac_cv_lib_m_atanhf=no
11830 fi
11831 rm -f conftest.err conftest.$ac_objext \
11832       conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_lib_save_LIBS
11834 fi
11835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
11836 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
11837 if test $ac_cv_lib_m_atanhf = yes; then
11838
11839 cat >>confdefs.h <<\_ACEOF
11840 #define HAVE_ATANHF 1
11841 _ACEOF
11842
11843 fi
11844
11845 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
11846 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
11847 if test "${ac_cv_lib_m_atanh+set}" = set; then
11848   echo $ECHO_N "(cached) $ECHO_C" >&6
11849 else
11850   ac_check_lib_save_LIBS=$LIBS
11851 LIBS="-lm  $LIBS"
11852 if test x$gcc_no_link = xyes; then
11853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11855    { (exit 1); exit 1; }; }
11856 fi
11857 cat >conftest.$ac_ext <<_ACEOF
11858 /* confdefs.h.  */
11859 _ACEOF
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h.  */
11863
11864 /* Override any gcc2 internal prototype to avoid an error.  */
11865 #ifdef __cplusplus
11866 extern "C"
11867 #endif
11868 /* We use char because int might match the return type of a gcc2
11869    builtin and then its argument prototype would still apply.  */
11870 char atanh ();
11871 int
11872 main ()
11873 {
11874 atanh ();
11875   ;
11876   return 0;
11877 }
11878 _ACEOF
11879 rm -f conftest.$ac_objext conftest$ac_exeext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881   (eval $ac_link) 2>conftest.er1
11882   ac_status=$?
11883   grep -v '^ *+' conftest.er1 >conftest.err
11884   rm -f conftest.er1
11885   cat conftest.err >&5
11886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887   (exit $ac_status); } &&
11888          { ac_try='test -z "$ac_c_werror_flag"
11889                          || test ! -s conftest.err'
11890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891   (eval $ac_try) 2>&5
11892   ac_status=$?
11893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894   (exit $ac_status); }; } &&
11895          { ac_try='test -s conftest$ac_exeext'
11896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897   (eval $ac_try) 2>&5
11898   ac_status=$?
11899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900   (exit $ac_status); }; }; then
11901   ac_cv_lib_m_atanh=yes
11902 else
11903   echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.$ac_ext >&5
11905
11906 ac_cv_lib_m_atanh=no
11907 fi
11908 rm -f conftest.err conftest.$ac_objext \
11909       conftest$ac_exeext conftest.$ac_ext
11910 LIBS=$ac_check_lib_save_LIBS
11911 fi
11912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
11913 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
11914 if test $ac_cv_lib_m_atanh = yes; then
11915
11916 cat >>confdefs.h <<\_ACEOF
11917 #define HAVE_ATANH 1
11918 _ACEOF
11919
11920 fi
11921
11922 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
11923 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
11924 if test "${ac_cv_lib_m_atanhl+set}" = set; then
11925   echo $ECHO_N "(cached) $ECHO_C" >&6
11926 else
11927   ac_check_lib_save_LIBS=$LIBS
11928 LIBS="-lm  $LIBS"
11929 if test x$gcc_no_link = xyes; then
11930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11932    { (exit 1); exit 1; }; }
11933 fi
11934 cat >conftest.$ac_ext <<_ACEOF
11935 /* confdefs.h.  */
11936 _ACEOF
11937 cat confdefs.h >>conftest.$ac_ext
11938 cat >>conftest.$ac_ext <<_ACEOF
11939 /* end confdefs.h.  */
11940
11941 /* Override any gcc2 internal prototype to avoid an error.  */
11942 #ifdef __cplusplus
11943 extern "C"
11944 #endif
11945 /* We use char because int might match the return type of a gcc2
11946    builtin and then its argument prototype would still apply.  */
11947 char atanhl ();
11948 int
11949 main ()
11950 {
11951 atanhl ();
11952   ;
11953   return 0;
11954 }
11955 _ACEOF
11956 rm -f conftest.$ac_objext conftest$ac_exeext
11957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11958   (eval $ac_link) 2>conftest.er1
11959   ac_status=$?
11960   grep -v '^ *+' conftest.er1 >conftest.err
11961   rm -f conftest.er1
11962   cat conftest.err >&5
11963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964   (exit $ac_status); } &&
11965          { ac_try='test -z "$ac_c_werror_flag"
11966                          || test ! -s conftest.err'
11967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968   (eval $ac_try) 2>&5
11969   ac_status=$?
11970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971   (exit $ac_status); }; } &&
11972          { ac_try='test -s conftest$ac_exeext'
11973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11974   (eval $ac_try) 2>&5
11975   ac_status=$?
11976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977   (exit $ac_status); }; }; then
11978   ac_cv_lib_m_atanhl=yes
11979 else
11980   echo "$as_me: failed program was:" >&5
11981 sed 's/^/| /' conftest.$ac_ext >&5
11982
11983 ac_cv_lib_m_atanhl=no
11984 fi
11985 rm -f conftest.err conftest.$ac_objext \
11986       conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11988 fi
11989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
11990 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
11991 if test $ac_cv_lib_m_atanhl = yes; then
11992
11993 cat >>confdefs.h <<\_ACEOF
11994 #define HAVE_ATANHL 1
11995 _ACEOF
11996
11997 fi
11998
11999 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12000 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12001 if test "${ac_cv_lib_m_cargf+set}" = set; then
12002   echo $ECHO_N "(cached) $ECHO_C" >&6
12003 else
12004   ac_check_lib_save_LIBS=$LIBS
12005 LIBS="-lm  $LIBS"
12006 if test x$gcc_no_link = xyes; then
12007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12009    { (exit 1); exit 1; }; }
12010 fi
12011 cat >conftest.$ac_ext <<_ACEOF
12012 /* confdefs.h.  */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h.  */
12017
12018 /* Override any gcc2 internal prototype to avoid an error.  */
12019 #ifdef __cplusplus
12020 extern "C"
12021 #endif
12022 /* We use char because int might match the return type of a gcc2
12023    builtin and then its argument prototype would still apply.  */
12024 char cargf ();
12025 int
12026 main ()
12027 {
12028 cargf ();
12029   ;
12030   return 0;
12031 }
12032 _ACEOF
12033 rm -f conftest.$ac_objext conftest$ac_exeext
12034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12035   (eval $ac_link) 2>conftest.er1
12036   ac_status=$?
12037   grep -v '^ *+' conftest.er1 >conftest.err
12038   rm -f conftest.er1
12039   cat conftest.err >&5
12040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041   (exit $ac_status); } &&
12042          { ac_try='test -z "$ac_c_werror_flag"
12043                          || test ! -s conftest.err'
12044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045   (eval $ac_try) 2>&5
12046   ac_status=$?
12047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048   (exit $ac_status); }; } &&
12049          { ac_try='test -s conftest$ac_exeext'
12050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12051   (eval $ac_try) 2>&5
12052   ac_status=$?
12053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054   (exit $ac_status); }; }; then
12055   ac_cv_lib_m_cargf=yes
12056 else
12057   echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.$ac_ext >&5
12059
12060 ac_cv_lib_m_cargf=no
12061 fi
12062 rm -f conftest.err conftest.$ac_objext \
12063       conftest$ac_exeext conftest.$ac_ext
12064 LIBS=$ac_check_lib_save_LIBS
12065 fi
12066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12067 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12068 if test $ac_cv_lib_m_cargf = yes; then
12069
12070 cat >>confdefs.h <<\_ACEOF
12071 #define HAVE_CARGF 1
12072 _ACEOF
12073
12074 fi
12075
12076 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12077 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12078 if test "${ac_cv_lib_m_carg+set}" = set; then
12079   echo $ECHO_N "(cached) $ECHO_C" >&6
12080 else
12081   ac_check_lib_save_LIBS=$LIBS
12082 LIBS="-lm  $LIBS"
12083 if test x$gcc_no_link = xyes; then
12084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12086    { (exit 1); exit 1; }; }
12087 fi
12088 cat >conftest.$ac_ext <<_ACEOF
12089 /* confdefs.h.  */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h.  */
12094
12095 /* Override any gcc2 internal prototype to avoid an error.  */
12096 #ifdef __cplusplus
12097 extern "C"
12098 #endif
12099 /* We use char because int might match the return type of a gcc2
12100    builtin and then its argument prototype would still apply.  */
12101 char carg ();
12102 int
12103 main ()
12104 {
12105 carg ();
12106   ;
12107   return 0;
12108 }
12109 _ACEOF
12110 rm -f conftest.$ac_objext conftest$ac_exeext
12111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12112   (eval $ac_link) 2>conftest.er1
12113   ac_status=$?
12114   grep -v '^ *+' conftest.er1 >conftest.err
12115   rm -f conftest.er1
12116   cat conftest.err >&5
12117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118   (exit $ac_status); } &&
12119          { ac_try='test -z "$ac_c_werror_flag"
12120                          || test ! -s conftest.err'
12121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12122   (eval $ac_try) 2>&5
12123   ac_status=$?
12124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125   (exit $ac_status); }; } &&
12126          { ac_try='test -s conftest$ac_exeext'
12127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128   (eval $ac_try) 2>&5
12129   ac_status=$?
12130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131   (exit $ac_status); }; }; then
12132   ac_cv_lib_m_carg=yes
12133 else
12134   echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12136
12137 ac_cv_lib_m_carg=no
12138 fi
12139 rm -f conftest.err conftest.$ac_objext \
12140       conftest$ac_exeext conftest.$ac_ext
12141 LIBS=$ac_check_lib_save_LIBS
12142 fi
12143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12144 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12145 if test $ac_cv_lib_m_carg = yes; then
12146
12147 cat >>confdefs.h <<\_ACEOF
12148 #define HAVE_CARG 1
12149 _ACEOF
12150
12151 fi
12152
12153 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12154 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12155 if test "${ac_cv_lib_m_cargl+set}" = set; then
12156   echo $ECHO_N "(cached) $ECHO_C" >&6
12157 else
12158   ac_check_lib_save_LIBS=$LIBS
12159 LIBS="-lm  $LIBS"
12160 if test x$gcc_no_link = xyes; then
12161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12163    { (exit 1); exit 1; }; }
12164 fi
12165 cat >conftest.$ac_ext <<_ACEOF
12166 /* confdefs.h.  */
12167 _ACEOF
12168 cat confdefs.h >>conftest.$ac_ext
12169 cat >>conftest.$ac_ext <<_ACEOF
12170 /* end confdefs.h.  */
12171
12172 /* Override any gcc2 internal prototype to avoid an error.  */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 /* We use char because int might match the return type of a gcc2
12177    builtin and then its argument prototype would still apply.  */
12178 char cargl ();
12179 int
12180 main ()
12181 {
12182 cargl ();
12183   ;
12184   return 0;
12185 }
12186 _ACEOF
12187 rm -f conftest.$ac_objext conftest$ac_exeext
12188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12189   (eval $ac_link) 2>conftest.er1
12190   ac_status=$?
12191   grep -v '^ *+' conftest.er1 >conftest.err
12192   rm -f conftest.er1
12193   cat conftest.err >&5
12194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195   (exit $ac_status); } &&
12196          { ac_try='test -z "$ac_c_werror_flag"
12197                          || test ! -s conftest.err'
12198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199   (eval $ac_try) 2>&5
12200   ac_status=$?
12201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202   (exit $ac_status); }; } &&
12203          { ac_try='test -s conftest$ac_exeext'
12204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205   (eval $ac_try) 2>&5
12206   ac_status=$?
12207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208   (exit $ac_status); }; }; then
12209   ac_cv_lib_m_cargl=yes
12210 else
12211   echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.$ac_ext >&5
12213
12214 ac_cv_lib_m_cargl=no
12215 fi
12216 rm -f conftest.err conftest.$ac_objext \
12217       conftest$ac_exeext conftest.$ac_ext
12218 LIBS=$ac_check_lib_save_LIBS
12219 fi
12220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12221 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12222 if test $ac_cv_lib_m_cargl = yes; then
12223
12224 cat >>confdefs.h <<\_ACEOF
12225 #define HAVE_CARGL 1
12226 _ACEOF
12227
12228 fi
12229
12230 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12231 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12232 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12233   echo $ECHO_N "(cached) $ECHO_C" >&6
12234 else
12235   ac_check_lib_save_LIBS=$LIBS
12236 LIBS="-lm  $LIBS"
12237 if test x$gcc_no_link = xyes; then
12238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12240    { (exit 1); exit 1; }; }
12241 fi
12242 cat >conftest.$ac_ext <<_ACEOF
12243 /* confdefs.h.  */
12244 _ACEOF
12245 cat confdefs.h >>conftest.$ac_ext
12246 cat >>conftest.$ac_ext <<_ACEOF
12247 /* end confdefs.h.  */
12248
12249 /* Override any gcc2 internal prototype to avoid an error.  */
12250 #ifdef __cplusplus
12251 extern "C"
12252 #endif
12253 /* We use char because int might match the return type of a gcc2
12254    builtin and then its argument prototype would still apply.  */
12255 char ceilf ();
12256 int
12257 main ()
12258 {
12259 ceilf ();
12260   ;
12261   return 0;
12262 }
12263 _ACEOF
12264 rm -f conftest.$ac_objext conftest$ac_exeext
12265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12266   (eval $ac_link) 2>conftest.er1
12267   ac_status=$?
12268   grep -v '^ *+' conftest.er1 >conftest.err
12269   rm -f conftest.er1
12270   cat conftest.err >&5
12271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272   (exit $ac_status); } &&
12273          { ac_try='test -z "$ac_c_werror_flag"
12274                          || test ! -s conftest.err'
12275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276   (eval $ac_try) 2>&5
12277   ac_status=$?
12278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279   (exit $ac_status); }; } &&
12280          { ac_try='test -s conftest$ac_exeext'
12281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282   (eval $ac_try) 2>&5
12283   ac_status=$?
12284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285   (exit $ac_status); }; }; then
12286   ac_cv_lib_m_ceilf=yes
12287 else
12288   echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.$ac_ext >&5
12290
12291 ac_cv_lib_m_ceilf=no
12292 fi
12293 rm -f conftest.err conftest.$ac_objext \
12294       conftest$ac_exeext conftest.$ac_ext
12295 LIBS=$ac_check_lib_save_LIBS
12296 fi
12297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12298 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12299 if test $ac_cv_lib_m_ceilf = yes; then
12300
12301 cat >>confdefs.h <<\_ACEOF
12302 #define HAVE_CEILF 1
12303 _ACEOF
12304
12305 fi
12306
12307 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12308 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12309 if test "${ac_cv_lib_m_ceil+set}" = set; then
12310   echo $ECHO_N "(cached) $ECHO_C" >&6
12311 else
12312   ac_check_lib_save_LIBS=$LIBS
12313 LIBS="-lm  $LIBS"
12314 if test x$gcc_no_link = xyes; then
12315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12317    { (exit 1); exit 1; }; }
12318 fi
12319 cat >conftest.$ac_ext <<_ACEOF
12320 /* confdefs.h.  */
12321 _ACEOF
12322 cat confdefs.h >>conftest.$ac_ext
12323 cat >>conftest.$ac_ext <<_ACEOF
12324 /* end confdefs.h.  */
12325
12326 /* Override any gcc2 internal prototype to avoid an error.  */
12327 #ifdef __cplusplus
12328 extern "C"
12329 #endif
12330 /* We use char because int might match the return type of a gcc2
12331    builtin and then its argument prototype would still apply.  */
12332 char ceil ();
12333 int
12334 main ()
12335 {
12336 ceil ();
12337   ;
12338   return 0;
12339 }
12340 _ACEOF
12341 rm -f conftest.$ac_objext conftest$ac_exeext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12343   (eval $ac_link) 2>conftest.er1
12344   ac_status=$?
12345   grep -v '^ *+' conftest.er1 >conftest.err
12346   rm -f conftest.er1
12347   cat conftest.err >&5
12348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349   (exit $ac_status); } &&
12350          { ac_try='test -z "$ac_c_werror_flag"
12351                          || test ! -s conftest.err'
12352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353   (eval $ac_try) 2>&5
12354   ac_status=$?
12355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356   (exit $ac_status); }; } &&
12357          { ac_try='test -s conftest$ac_exeext'
12358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359   (eval $ac_try) 2>&5
12360   ac_status=$?
12361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362   (exit $ac_status); }; }; then
12363   ac_cv_lib_m_ceil=yes
12364 else
12365   echo "$as_me: failed program was:" >&5
12366 sed 's/^/| /' conftest.$ac_ext >&5
12367
12368 ac_cv_lib_m_ceil=no
12369 fi
12370 rm -f conftest.err conftest.$ac_objext \
12371       conftest$ac_exeext conftest.$ac_ext
12372 LIBS=$ac_check_lib_save_LIBS
12373 fi
12374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12375 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12376 if test $ac_cv_lib_m_ceil = yes; then
12377
12378 cat >>confdefs.h <<\_ACEOF
12379 #define HAVE_CEIL 1
12380 _ACEOF
12381
12382 fi
12383
12384 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12385 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12386 if test "${ac_cv_lib_m_ceill+set}" = set; then
12387   echo $ECHO_N "(cached) $ECHO_C" >&6
12388 else
12389   ac_check_lib_save_LIBS=$LIBS
12390 LIBS="-lm  $LIBS"
12391 if test x$gcc_no_link = xyes; then
12392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12394    { (exit 1); exit 1; }; }
12395 fi
12396 cat >conftest.$ac_ext <<_ACEOF
12397 /* confdefs.h.  */
12398 _ACEOF
12399 cat confdefs.h >>conftest.$ac_ext
12400 cat >>conftest.$ac_ext <<_ACEOF
12401 /* end confdefs.h.  */
12402
12403 /* Override any gcc2 internal prototype to avoid an error.  */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 /* We use char because int might match the return type of a gcc2
12408    builtin and then its argument prototype would still apply.  */
12409 char ceill ();
12410 int
12411 main ()
12412 {
12413 ceill ();
12414   ;
12415   return 0;
12416 }
12417 _ACEOF
12418 rm -f conftest.$ac_objext conftest$ac_exeext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420   (eval $ac_link) 2>conftest.er1
12421   ac_status=$?
12422   grep -v '^ *+' conftest.er1 >conftest.err
12423   rm -f conftest.er1
12424   cat conftest.err >&5
12425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426   (exit $ac_status); } &&
12427          { ac_try='test -z "$ac_c_werror_flag"
12428                          || test ! -s conftest.err'
12429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430   (eval $ac_try) 2>&5
12431   ac_status=$?
12432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433   (exit $ac_status); }; } &&
12434          { ac_try='test -s conftest$ac_exeext'
12435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436   (eval $ac_try) 2>&5
12437   ac_status=$?
12438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439   (exit $ac_status); }; }; then
12440   ac_cv_lib_m_ceill=yes
12441 else
12442   echo "$as_me: failed program was:" >&5
12443 sed 's/^/| /' conftest.$ac_ext >&5
12444
12445 ac_cv_lib_m_ceill=no
12446 fi
12447 rm -f conftest.err conftest.$ac_objext \
12448       conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_lib_save_LIBS
12450 fi
12451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12452 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12453 if test $ac_cv_lib_m_ceill = yes; then
12454
12455 cat >>confdefs.h <<\_ACEOF
12456 #define HAVE_CEILL 1
12457 _ACEOF
12458
12459 fi
12460
12461 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12462 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12463 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12464   echo $ECHO_N "(cached) $ECHO_C" >&6
12465 else
12466   ac_check_lib_save_LIBS=$LIBS
12467 LIBS="-lm  $LIBS"
12468 if test x$gcc_no_link = xyes; then
12469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12471    { (exit 1); exit 1; }; }
12472 fi
12473 cat >conftest.$ac_ext <<_ACEOF
12474 /* confdefs.h.  */
12475 _ACEOF
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h.  */
12479
12480 /* Override any gcc2 internal prototype to avoid an error.  */
12481 #ifdef __cplusplus
12482 extern "C"
12483 #endif
12484 /* We use char because int might match the return type of a gcc2
12485    builtin and then its argument prototype would still apply.  */
12486 char copysignf ();
12487 int
12488 main ()
12489 {
12490 copysignf ();
12491   ;
12492   return 0;
12493 }
12494 _ACEOF
12495 rm -f conftest.$ac_objext conftest$ac_exeext
12496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12497   (eval $ac_link) 2>conftest.er1
12498   ac_status=$?
12499   grep -v '^ *+' conftest.er1 >conftest.err
12500   rm -f conftest.er1
12501   cat conftest.err >&5
12502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503   (exit $ac_status); } &&
12504          { ac_try='test -z "$ac_c_werror_flag"
12505                          || test ! -s conftest.err'
12506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12507   (eval $ac_try) 2>&5
12508   ac_status=$?
12509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510   (exit $ac_status); }; } &&
12511          { ac_try='test -s conftest$ac_exeext'
12512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12513   (eval $ac_try) 2>&5
12514   ac_status=$?
12515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516   (exit $ac_status); }; }; then
12517   ac_cv_lib_m_copysignf=yes
12518 else
12519   echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.$ac_ext >&5
12521
12522 ac_cv_lib_m_copysignf=no
12523 fi
12524 rm -f conftest.err conftest.$ac_objext \
12525       conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_lib_save_LIBS
12527 fi
12528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12529 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12530 if test $ac_cv_lib_m_copysignf = yes; then
12531
12532 cat >>confdefs.h <<\_ACEOF
12533 #define HAVE_COPYSIGNF 1
12534 _ACEOF
12535
12536 fi
12537
12538 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12539 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12540 if test "${ac_cv_lib_m_copysign+set}" = set; then
12541   echo $ECHO_N "(cached) $ECHO_C" >&6
12542 else
12543   ac_check_lib_save_LIBS=$LIBS
12544 LIBS="-lm  $LIBS"
12545 if test x$gcc_no_link = xyes; then
12546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12548    { (exit 1); exit 1; }; }
12549 fi
12550 cat >conftest.$ac_ext <<_ACEOF
12551 /* confdefs.h.  */
12552 _ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h.  */
12556
12557 /* Override any gcc2 internal prototype to avoid an error.  */
12558 #ifdef __cplusplus
12559 extern "C"
12560 #endif
12561 /* We use char because int might match the return type of a gcc2
12562    builtin and then its argument prototype would still apply.  */
12563 char copysign ();
12564 int
12565 main ()
12566 {
12567 copysign ();
12568   ;
12569   return 0;
12570 }
12571 _ACEOF
12572 rm -f conftest.$ac_objext conftest$ac_exeext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12574   (eval $ac_link) 2>conftest.er1
12575   ac_status=$?
12576   grep -v '^ *+' conftest.er1 >conftest.err
12577   rm -f conftest.er1
12578   cat conftest.err >&5
12579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580   (exit $ac_status); } &&
12581          { ac_try='test -z "$ac_c_werror_flag"
12582                          || test ! -s conftest.err'
12583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584   (eval $ac_try) 2>&5
12585   ac_status=$?
12586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587   (exit $ac_status); }; } &&
12588          { ac_try='test -s conftest$ac_exeext'
12589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590   (eval $ac_try) 2>&5
12591   ac_status=$?
12592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593   (exit $ac_status); }; }; then
12594   ac_cv_lib_m_copysign=yes
12595 else
12596   echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12598
12599 ac_cv_lib_m_copysign=no
12600 fi
12601 rm -f conftest.err conftest.$ac_objext \
12602       conftest$ac_exeext conftest.$ac_ext
12603 LIBS=$ac_check_lib_save_LIBS
12604 fi
12605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12606 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12607 if test $ac_cv_lib_m_copysign = yes; then
12608
12609 cat >>confdefs.h <<\_ACEOF
12610 #define HAVE_COPYSIGN 1
12611 _ACEOF
12612
12613 fi
12614
12615 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12616 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12617 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12618   echo $ECHO_N "(cached) $ECHO_C" >&6
12619 else
12620   ac_check_lib_save_LIBS=$LIBS
12621 LIBS="-lm  $LIBS"
12622 if test x$gcc_no_link = xyes; then
12623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12625    { (exit 1); exit 1; }; }
12626 fi
12627 cat >conftest.$ac_ext <<_ACEOF
12628 /* confdefs.h.  */
12629 _ACEOF
12630 cat confdefs.h >>conftest.$ac_ext
12631 cat >>conftest.$ac_ext <<_ACEOF
12632 /* end confdefs.h.  */
12633
12634 /* Override any gcc2 internal prototype to avoid an error.  */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 /* We use char because int might match the return type of a gcc2
12639    builtin and then its argument prototype would still apply.  */
12640 char copysignl ();
12641 int
12642 main ()
12643 {
12644 copysignl ();
12645   ;
12646   return 0;
12647 }
12648 _ACEOF
12649 rm -f conftest.$ac_objext conftest$ac_exeext
12650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12651   (eval $ac_link) 2>conftest.er1
12652   ac_status=$?
12653   grep -v '^ *+' conftest.er1 >conftest.err
12654   rm -f conftest.er1
12655   cat conftest.err >&5
12656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657   (exit $ac_status); } &&
12658          { ac_try='test -z "$ac_c_werror_flag"
12659                          || test ! -s conftest.err'
12660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661   (eval $ac_try) 2>&5
12662   ac_status=$?
12663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664   (exit $ac_status); }; } &&
12665          { ac_try='test -s conftest$ac_exeext'
12666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667   (eval $ac_try) 2>&5
12668   ac_status=$?
12669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670   (exit $ac_status); }; }; then
12671   ac_cv_lib_m_copysignl=yes
12672 else
12673   echo "$as_me: failed program was:" >&5
12674 sed 's/^/| /' conftest.$ac_ext >&5
12675
12676 ac_cv_lib_m_copysignl=no
12677 fi
12678 rm -f conftest.err conftest.$ac_objext \
12679       conftest$ac_exeext conftest.$ac_ext
12680 LIBS=$ac_check_lib_save_LIBS
12681 fi
12682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12683 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12684 if test $ac_cv_lib_m_copysignl = yes; then
12685
12686 cat >>confdefs.h <<\_ACEOF
12687 #define HAVE_COPYSIGNL 1
12688 _ACEOF
12689
12690 fi
12691
12692 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12693 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12694 if test "${ac_cv_lib_m_cosf+set}" = set; then
12695   echo $ECHO_N "(cached) $ECHO_C" >&6
12696 else
12697   ac_check_lib_save_LIBS=$LIBS
12698 LIBS="-lm  $LIBS"
12699 if test x$gcc_no_link = xyes; then
12700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12702    { (exit 1); exit 1; }; }
12703 fi
12704 cat >conftest.$ac_ext <<_ACEOF
12705 /* confdefs.h.  */
12706 _ACEOF
12707 cat confdefs.h >>conftest.$ac_ext
12708 cat >>conftest.$ac_ext <<_ACEOF
12709 /* end confdefs.h.  */
12710
12711 /* Override any gcc2 internal prototype to avoid an error.  */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 /* We use char because int might match the return type of a gcc2
12716    builtin and then its argument prototype would still apply.  */
12717 char cosf ();
12718 int
12719 main ()
12720 {
12721 cosf ();
12722   ;
12723   return 0;
12724 }
12725 _ACEOF
12726 rm -f conftest.$ac_objext conftest$ac_exeext
12727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12728   (eval $ac_link) 2>conftest.er1
12729   ac_status=$?
12730   grep -v '^ *+' conftest.er1 >conftest.err
12731   rm -f conftest.er1
12732   cat conftest.err >&5
12733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734   (exit $ac_status); } &&
12735          { ac_try='test -z "$ac_c_werror_flag"
12736                          || test ! -s conftest.err'
12737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738   (eval $ac_try) 2>&5
12739   ac_status=$?
12740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741   (exit $ac_status); }; } &&
12742          { ac_try='test -s conftest$ac_exeext'
12743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744   (eval $ac_try) 2>&5
12745   ac_status=$?
12746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747   (exit $ac_status); }; }; then
12748   ac_cv_lib_m_cosf=yes
12749 else
12750   echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12752
12753 ac_cv_lib_m_cosf=no
12754 fi
12755 rm -f conftest.err conftest.$ac_objext \
12756       conftest$ac_exeext conftest.$ac_ext
12757 LIBS=$ac_check_lib_save_LIBS
12758 fi
12759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
12760 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
12761 if test $ac_cv_lib_m_cosf = yes; then
12762
12763 cat >>confdefs.h <<\_ACEOF
12764 #define HAVE_COSF 1
12765 _ACEOF
12766
12767 fi
12768
12769 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12770 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12771 if test "${ac_cv_lib_m_cos+set}" = set; then
12772   echo $ECHO_N "(cached) $ECHO_C" >&6
12773 else
12774   ac_check_lib_save_LIBS=$LIBS
12775 LIBS="-lm  $LIBS"
12776 if test x$gcc_no_link = xyes; then
12777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12779    { (exit 1); exit 1; }; }
12780 fi
12781 cat >conftest.$ac_ext <<_ACEOF
12782 /* confdefs.h.  */
12783 _ACEOF
12784 cat confdefs.h >>conftest.$ac_ext
12785 cat >>conftest.$ac_ext <<_ACEOF
12786 /* end confdefs.h.  */
12787
12788 /* Override any gcc2 internal prototype to avoid an error.  */
12789 #ifdef __cplusplus
12790 extern "C"
12791 #endif
12792 /* We use char because int might match the return type of a gcc2
12793    builtin and then its argument prototype would still apply.  */
12794 char cos ();
12795 int
12796 main ()
12797 {
12798 cos ();
12799   ;
12800   return 0;
12801 }
12802 _ACEOF
12803 rm -f conftest.$ac_objext conftest$ac_exeext
12804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12805   (eval $ac_link) 2>conftest.er1
12806   ac_status=$?
12807   grep -v '^ *+' conftest.er1 >conftest.err
12808   rm -f conftest.er1
12809   cat conftest.err >&5
12810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811   (exit $ac_status); } &&
12812          { ac_try='test -z "$ac_c_werror_flag"
12813                          || test ! -s conftest.err'
12814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12815   (eval $ac_try) 2>&5
12816   ac_status=$?
12817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818   (exit $ac_status); }; } &&
12819          { ac_try='test -s conftest$ac_exeext'
12820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12821   (eval $ac_try) 2>&5
12822   ac_status=$?
12823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824   (exit $ac_status); }; }; then
12825   ac_cv_lib_m_cos=yes
12826 else
12827   echo "$as_me: failed program was:" >&5
12828 sed 's/^/| /' conftest.$ac_ext >&5
12829
12830 ac_cv_lib_m_cos=no
12831 fi
12832 rm -f conftest.err conftest.$ac_objext \
12833       conftest$ac_exeext conftest.$ac_ext
12834 LIBS=$ac_check_lib_save_LIBS
12835 fi
12836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12837 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12838 if test $ac_cv_lib_m_cos = yes; then
12839
12840 cat >>confdefs.h <<\_ACEOF
12841 #define HAVE_COS 1
12842 _ACEOF
12843
12844 fi
12845
12846 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
12847 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
12848 if test "${ac_cv_lib_m_cosl+set}" = set; then
12849   echo $ECHO_N "(cached) $ECHO_C" >&6
12850 else
12851   ac_check_lib_save_LIBS=$LIBS
12852 LIBS="-lm  $LIBS"
12853 if test x$gcc_no_link = xyes; then
12854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12856    { (exit 1); exit 1; }; }
12857 fi
12858 cat >conftest.$ac_ext <<_ACEOF
12859 /* confdefs.h.  */
12860 _ACEOF
12861 cat confdefs.h >>conftest.$ac_ext
12862 cat >>conftest.$ac_ext <<_ACEOF
12863 /* end confdefs.h.  */
12864
12865 /* Override any gcc2 internal prototype to avoid an error.  */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 /* We use char because int might match the return type of a gcc2
12870    builtin and then its argument prototype would still apply.  */
12871 char cosl ();
12872 int
12873 main ()
12874 {
12875 cosl ();
12876   ;
12877   return 0;
12878 }
12879 _ACEOF
12880 rm -f conftest.$ac_objext conftest$ac_exeext
12881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12882   (eval $ac_link) 2>conftest.er1
12883   ac_status=$?
12884   grep -v '^ *+' conftest.er1 >conftest.err
12885   rm -f conftest.er1
12886   cat conftest.err >&5
12887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888   (exit $ac_status); } &&
12889          { ac_try='test -z "$ac_c_werror_flag"
12890                          || test ! -s conftest.err'
12891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892   (eval $ac_try) 2>&5
12893   ac_status=$?
12894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895   (exit $ac_status); }; } &&
12896          { ac_try='test -s conftest$ac_exeext'
12897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898   (eval $ac_try) 2>&5
12899   ac_status=$?
12900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901   (exit $ac_status); }; }; then
12902   ac_cv_lib_m_cosl=yes
12903 else
12904   echo "$as_me: failed program was:" >&5
12905 sed 's/^/| /' conftest.$ac_ext >&5
12906
12907 ac_cv_lib_m_cosl=no
12908 fi
12909 rm -f conftest.err conftest.$ac_objext \
12910       conftest$ac_exeext conftest.$ac_ext
12911 LIBS=$ac_check_lib_save_LIBS
12912 fi
12913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
12914 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
12915 if test $ac_cv_lib_m_cosl = yes; then
12916
12917 cat >>confdefs.h <<\_ACEOF
12918 #define HAVE_COSL 1
12919 _ACEOF
12920
12921 fi
12922
12923 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
12924 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
12925 if test "${ac_cv_lib_m_ccosf+set}" = set; then
12926   echo $ECHO_N "(cached) $ECHO_C" >&6
12927 else
12928   ac_check_lib_save_LIBS=$LIBS
12929 LIBS="-lm  $LIBS"
12930 if test x$gcc_no_link = xyes; then
12931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12933    { (exit 1); exit 1; }; }
12934 fi
12935 cat >conftest.$ac_ext <<_ACEOF
12936 /* confdefs.h.  */
12937 _ACEOF
12938 cat confdefs.h >>conftest.$ac_ext
12939 cat >>conftest.$ac_ext <<_ACEOF
12940 /* end confdefs.h.  */
12941
12942 /* Override any gcc2 internal prototype to avoid an error.  */
12943 #ifdef __cplusplus
12944 extern "C"
12945 #endif
12946 /* We use char because int might match the return type of a gcc2
12947    builtin and then its argument prototype would still apply.  */
12948 char ccosf ();
12949 int
12950 main ()
12951 {
12952 ccosf ();
12953   ;
12954   return 0;
12955 }
12956 _ACEOF
12957 rm -f conftest.$ac_objext conftest$ac_exeext
12958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12959   (eval $ac_link) 2>conftest.er1
12960   ac_status=$?
12961   grep -v '^ *+' conftest.er1 >conftest.err
12962   rm -f conftest.er1
12963   cat conftest.err >&5
12964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965   (exit $ac_status); } &&
12966          { ac_try='test -z "$ac_c_werror_flag"
12967                          || test ! -s conftest.err'
12968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969   (eval $ac_try) 2>&5
12970   ac_status=$?
12971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972   (exit $ac_status); }; } &&
12973          { ac_try='test -s conftest$ac_exeext'
12974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975   (eval $ac_try) 2>&5
12976   ac_status=$?
12977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978   (exit $ac_status); }; }; then
12979   ac_cv_lib_m_ccosf=yes
12980 else
12981   echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12983
12984 ac_cv_lib_m_ccosf=no
12985 fi
12986 rm -f conftest.err conftest.$ac_objext \
12987       conftest$ac_exeext conftest.$ac_ext
12988 LIBS=$ac_check_lib_save_LIBS
12989 fi
12990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
12991 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
12992 if test $ac_cv_lib_m_ccosf = yes; then
12993
12994 cat >>confdefs.h <<\_ACEOF
12995 #define HAVE_CCOSF 1
12996 _ACEOF
12997
12998 fi
12999
13000 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13001 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13002 if test "${ac_cv_lib_m_ccos+set}" = set; then
13003   echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005   ac_check_lib_save_LIBS=$LIBS
13006 LIBS="-lm  $LIBS"
13007 if test x$gcc_no_link = xyes; then
13008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13010    { (exit 1); exit 1; }; }
13011 fi
13012 cat >conftest.$ac_ext <<_ACEOF
13013 /* confdefs.h.  */
13014 _ACEOF
13015 cat confdefs.h >>conftest.$ac_ext
13016 cat >>conftest.$ac_ext <<_ACEOF
13017 /* end confdefs.h.  */
13018
13019 /* Override any gcc2 internal prototype to avoid an error.  */
13020 #ifdef __cplusplus
13021 extern "C"
13022 #endif
13023 /* We use char because int might match the return type of a gcc2
13024    builtin and then its argument prototype would still apply.  */
13025 char ccos ();
13026 int
13027 main ()
13028 {
13029 ccos ();
13030   ;
13031   return 0;
13032 }
13033 _ACEOF
13034 rm -f conftest.$ac_objext conftest$ac_exeext
13035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13036   (eval $ac_link) 2>conftest.er1
13037   ac_status=$?
13038   grep -v '^ *+' conftest.er1 >conftest.err
13039   rm -f conftest.er1
13040   cat conftest.err >&5
13041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042   (exit $ac_status); } &&
13043          { ac_try='test -z "$ac_c_werror_flag"
13044                          || test ! -s conftest.err'
13045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13046   (eval $ac_try) 2>&5
13047   ac_status=$?
13048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049   (exit $ac_status); }; } &&
13050          { ac_try='test -s conftest$ac_exeext'
13051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052   (eval $ac_try) 2>&5
13053   ac_status=$?
13054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055   (exit $ac_status); }; }; then
13056   ac_cv_lib_m_ccos=yes
13057 else
13058   echo "$as_me: failed program was:" >&5
13059 sed 's/^/| /' conftest.$ac_ext >&5
13060
13061 ac_cv_lib_m_ccos=no
13062 fi
13063 rm -f conftest.err conftest.$ac_objext \
13064       conftest$ac_exeext conftest.$ac_ext
13065 LIBS=$ac_check_lib_save_LIBS
13066 fi
13067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13068 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13069 if test $ac_cv_lib_m_ccos = yes; then
13070
13071 cat >>confdefs.h <<\_ACEOF
13072 #define HAVE_CCOS 1
13073 _ACEOF
13074
13075 fi
13076
13077 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13078 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13079 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13080   echo $ECHO_N "(cached) $ECHO_C" >&6
13081 else
13082   ac_check_lib_save_LIBS=$LIBS
13083 LIBS="-lm  $LIBS"
13084 if test x$gcc_no_link = xyes; then
13085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13087    { (exit 1); exit 1; }; }
13088 fi
13089 cat >conftest.$ac_ext <<_ACEOF
13090 /* confdefs.h.  */
13091 _ACEOF
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h.  */
13095
13096 /* Override any gcc2 internal prototype to avoid an error.  */
13097 #ifdef __cplusplus
13098 extern "C"
13099 #endif
13100 /* We use char because int might match the return type of a gcc2
13101    builtin and then its argument prototype would still apply.  */
13102 char ccosl ();
13103 int
13104 main ()
13105 {
13106 ccosl ();
13107   ;
13108   return 0;
13109 }
13110 _ACEOF
13111 rm -f conftest.$ac_objext conftest$ac_exeext
13112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13113   (eval $ac_link) 2>conftest.er1
13114   ac_status=$?
13115   grep -v '^ *+' conftest.er1 >conftest.err
13116   rm -f conftest.er1
13117   cat conftest.err >&5
13118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119   (exit $ac_status); } &&
13120          { ac_try='test -z "$ac_c_werror_flag"
13121                          || test ! -s conftest.err'
13122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123   (eval $ac_try) 2>&5
13124   ac_status=$?
13125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126   (exit $ac_status); }; } &&
13127          { ac_try='test -s conftest$ac_exeext'
13128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129   (eval $ac_try) 2>&5
13130   ac_status=$?
13131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132   (exit $ac_status); }; }; then
13133   ac_cv_lib_m_ccosl=yes
13134 else
13135   echo "$as_me: failed program was:" >&5
13136 sed 's/^/| /' conftest.$ac_ext >&5
13137
13138 ac_cv_lib_m_ccosl=no
13139 fi
13140 rm -f conftest.err conftest.$ac_objext \
13141       conftest$ac_exeext conftest.$ac_ext
13142 LIBS=$ac_check_lib_save_LIBS
13143 fi
13144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13145 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13146 if test $ac_cv_lib_m_ccosl = yes; then
13147
13148 cat >>confdefs.h <<\_ACEOF
13149 #define HAVE_CCOSL 1
13150 _ACEOF
13151
13152 fi
13153
13154 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13155 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13156 if test "${ac_cv_lib_m_coshf+set}" = set; then
13157   echo $ECHO_N "(cached) $ECHO_C" >&6
13158 else
13159   ac_check_lib_save_LIBS=$LIBS
13160 LIBS="-lm  $LIBS"
13161 if test x$gcc_no_link = xyes; then
13162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13164    { (exit 1); exit 1; }; }
13165 fi
13166 cat >conftest.$ac_ext <<_ACEOF
13167 /* confdefs.h.  */
13168 _ACEOF
13169 cat confdefs.h >>conftest.$ac_ext
13170 cat >>conftest.$ac_ext <<_ACEOF
13171 /* end confdefs.h.  */
13172
13173 /* Override any gcc2 internal prototype to avoid an error.  */
13174 #ifdef __cplusplus
13175 extern "C"
13176 #endif
13177 /* We use char because int might match the return type of a gcc2
13178    builtin and then its argument prototype would still apply.  */
13179 char coshf ();
13180 int
13181 main ()
13182 {
13183 coshf ();
13184   ;
13185   return 0;
13186 }
13187 _ACEOF
13188 rm -f conftest.$ac_objext conftest$ac_exeext
13189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13190   (eval $ac_link) 2>conftest.er1
13191   ac_status=$?
13192   grep -v '^ *+' conftest.er1 >conftest.err
13193   rm -f conftest.er1
13194   cat conftest.err >&5
13195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196   (exit $ac_status); } &&
13197          { ac_try='test -z "$ac_c_werror_flag"
13198                          || test ! -s conftest.err'
13199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200   (eval $ac_try) 2>&5
13201   ac_status=$?
13202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203   (exit $ac_status); }; } &&
13204          { ac_try='test -s conftest$ac_exeext'
13205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13206   (eval $ac_try) 2>&5
13207   ac_status=$?
13208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209   (exit $ac_status); }; }; then
13210   ac_cv_lib_m_coshf=yes
13211 else
13212   echo "$as_me: failed program was:" >&5
13213 sed 's/^/| /' conftest.$ac_ext >&5
13214
13215 ac_cv_lib_m_coshf=no
13216 fi
13217 rm -f conftest.err conftest.$ac_objext \
13218       conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_lib_save_LIBS
13220 fi
13221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13222 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13223 if test $ac_cv_lib_m_coshf = yes; then
13224
13225 cat >>confdefs.h <<\_ACEOF
13226 #define HAVE_COSHF 1
13227 _ACEOF
13228
13229 fi
13230
13231 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13232 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13233 if test "${ac_cv_lib_m_cosh+set}" = set; then
13234   echo $ECHO_N "(cached) $ECHO_C" >&6
13235 else
13236   ac_check_lib_save_LIBS=$LIBS
13237 LIBS="-lm  $LIBS"
13238 if test x$gcc_no_link = xyes; then
13239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13241    { (exit 1); exit 1; }; }
13242 fi
13243 cat >conftest.$ac_ext <<_ACEOF
13244 /* confdefs.h.  */
13245 _ACEOF
13246 cat confdefs.h >>conftest.$ac_ext
13247 cat >>conftest.$ac_ext <<_ACEOF
13248 /* end confdefs.h.  */
13249
13250 /* Override any gcc2 internal prototype to avoid an error.  */
13251 #ifdef __cplusplus
13252 extern "C"
13253 #endif
13254 /* We use char because int might match the return type of a gcc2
13255    builtin and then its argument prototype would still apply.  */
13256 char cosh ();
13257 int
13258 main ()
13259 {
13260 cosh ();
13261   ;
13262   return 0;
13263 }
13264 _ACEOF
13265 rm -f conftest.$ac_objext conftest$ac_exeext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13267   (eval $ac_link) 2>conftest.er1
13268   ac_status=$?
13269   grep -v '^ *+' conftest.er1 >conftest.err
13270   rm -f conftest.er1
13271   cat conftest.err >&5
13272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273   (exit $ac_status); } &&
13274          { ac_try='test -z "$ac_c_werror_flag"
13275                          || test ! -s conftest.err'
13276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277   (eval $ac_try) 2>&5
13278   ac_status=$?
13279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280   (exit $ac_status); }; } &&
13281          { ac_try='test -s conftest$ac_exeext'
13282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283   (eval $ac_try) 2>&5
13284   ac_status=$?
13285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286   (exit $ac_status); }; }; then
13287   ac_cv_lib_m_cosh=yes
13288 else
13289   echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13291
13292 ac_cv_lib_m_cosh=no
13293 fi
13294 rm -f conftest.err conftest.$ac_objext \
13295       conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_lib_save_LIBS
13297 fi
13298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13299 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13300 if test $ac_cv_lib_m_cosh = yes; then
13301
13302 cat >>confdefs.h <<\_ACEOF
13303 #define HAVE_COSH 1
13304 _ACEOF
13305
13306 fi
13307
13308 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13309 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13310 if test "${ac_cv_lib_m_coshl+set}" = set; then
13311   echo $ECHO_N "(cached) $ECHO_C" >&6
13312 else
13313   ac_check_lib_save_LIBS=$LIBS
13314 LIBS="-lm  $LIBS"
13315 if test x$gcc_no_link = xyes; then
13316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13318    { (exit 1); exit 1; }; }
13319 fi
13320 cat >conftest.$ac_ext <<_ACEOF
13321 /* confdefs.h.  */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h.  */
13326
13327 /* Override any gcc2 internal prototype to avoid an error.  */
13328 #ifdef __cplusplus
13329 extern "C"
13330 #endif
13331 /* We use char because int might match the return type of a gcc2
13332    builtin and then its argument prototype would still apply.  */
13333 char coshl ();
13334 int
13335 main ()
13336 {
13337 coshl ();
13338   ;
13339   return 0;
13340 }
13341 _ACEOF
13342 rm -f conftest.$ac_objext conftest$ac_exeext
13343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13344   (eval $ac_link) 2>conftest.er1
13345   ac_status=$?
13346   grep -v '^ *+' conftest.er1 >conftest.err
13347   rm -f conftest.er1
13348   cat conftest.err >&5
13349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350   (exit $ac_status); } &&
13351          { ac_try='test -z "$ac_c_werror_flag"
13352                          || test ! -s conftest.err'
13353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354   (eval $ac_try) 2>&5
13355   ac_status=$?
13356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357   (exit $ac_status); }; } &&
13358          { ac_try='test -s conftest$ac_exeext'
13359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13360   (eval $ac_try) 2>&5
13361   ac_status=$?
13362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363   (exit $ac_status); }; }; then
13364   ac_cv_lib_m_coshl=yes
13365 else
13366   echo "$as_me: failed program was:" >&5
13367 sed 's/^/| /' conftest.$ac_ext >&5
13368
13369 ac_cv_lib_m_coshl=no
13370 fi
13371 rm -f conftest.err conftest.$ac_objext \
13372       conftest$ac_exeext conftest.$ac_ext
13373 LIBS=$ac_check_lib_save_LIBS
13374 fi
13375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13376 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13377 if test $ac_cv_lib_m_coshl = yes; then
13378
13379 cat >>confdefs.h <<\_ACEOF
13380 #define HAVE_COSHL 1
13381 _ACEOF
13382
13383 fi
13384
13385 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13386 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13387 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13388   echo $ECHO_N "(cached) $ECHO_C" >&6
13389 else
13390   ac_check_lib_save_LIBS=$LIBS
13391 LIBS="-lm  $LIBS"
13392 if test x$gcc_no_link = xyes; then
13393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13395    { (exit 1); exit 1; }; }
13396 fi
13397 cat >conftest.$ac_ext <<_ACEOF
13398 /* confdefs.h.  */
13399 _ACEOF
13400 cat confdefs.h >>conftest.$ac_ext
13401 cat >>conftest.$ac_ext <<_ACEOF
13402 /* end confdefs.h.  */
13403
13404 /* Override any gcc2 internal prototype to avoid an error.  */
13405 #ifdef __cplusplus
13406 extern "C"
13407 #endif
13408 /* We use char because int might match the return type of a gcc2
13409    builtin and then its argument prototype would still apply.  */
13410 char ccoshf ();
13411 int
13412 main ()
13413 {
13414 ccoshf ();
13415   ;
13416   return 0;
13417 }
13418 _ACEOF
13419 rm -f conftest.$ac_objext conftest$ac_exeext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13421   (eval $ac_link) 2>conftest.er1
13422   ac_status=$?
13423   grep -v '^ *+' conftest.er1 >conftest.err
13424   rm -f conftest.er1
13425   cat conftest.err >&5
13426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427   (exit $ac_status); } &&
13428          { ac_try='test -z "$ac_c_werror_flag"
13429                          || test ! -s conftest.err'
13430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13431   (eval $ac_try) 2>&5
13432   ac_status=$?
13433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434   (exit $ac_status); }; } &&
13435          { ac_try='test -s conftest$ac_exeext'
13436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437   (eval $ac_try) 2>&5
13438   ac_status=$?
13439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440   (exit $ac_status); }; }; then
13441   ac_cv_lib_m_ccoshf=yes
13442 else
13443   echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13445
13446 ac_cv_lib_m_ccoshf=no
13447 fi
13448 rm -f conftest.err conftest.$ac_objext \
13449       conftest$ac_exeext conftest.$ac_ext
13450 LIBS=$ac_check_lib_save_LIBS
13451 fi
13452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13453 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13454 if test $ac_cv_lib_m_ccoshf = yes; then
13455
13456 cat >>confdefs.h <<\_ACEOF
13457 #define HAVE_CCOSHF 1
13458 _ACEOF
13459
13460 fi
13461
13462 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13463 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13464 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13465   echo $ECHO_N "(cached) $ECHO_C" >&6
13466 else
13467   ac_check_lib_save_LIBS=$LIBS
13468 LIBS="-lm  $LIBS"
13469 if test x$gcc_no_link = xyes; then
13470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13472    { (exit 1); exit 1; }; }
13473 fi
13474 cat >conftest.$ac_ext <<_ACEOF
13475 /* confdefs.h.  */
13476 _ACEOF
13477 cat confdefs.h >>conftest.$ac_ext
13478 cat >>conftest.$ac_ext <<_ACEOF
13479 /* end confdefs.h.  */
13480
13481 /* Override any gcc2 internal prototype to avoid an error.  */
13482 #ifdef __cplusplus
13483 extern "C"
13484 #endif
13485 /* We use char because int might match the return type of a gcc2
13486    builtin and then its argument prototype would still apply.  */
13487 char ccosh ();
13488 int
13489 main ()
13490 {
13491 ccosh ();
13492   ;
13493   return 0;
13494 }
13495 _ACEOF
13496 rm -f conftest.$ac_objext conftest$ac_exeext
13497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13498   (eval $ac_link) 2>conftest.er1
13499   ac_status=$?
13500   grep -v '^ *+' conftest.er1 >conftest.err
13501   rm -f conftest.er1
13502   cat conftest.err >&5
13503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504   (exit $ac_status); } &&
13505          { ac_try='test -z "$ac_c_werror_flag"
13506                          || test ! -s conftest.err'
13507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508   (eval $ac_try) 2>&5
13509   ac_status=$?
13510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511   (exit $ac_status); }; } &&
13512          { ac_try='test -s conftest$ac_exeext'
13513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514   (eval $ac_try) 2>&5
13515   ac_status=$?
13516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517   (exit $ac_status); }; }; then
13518   ac_cv_lib_m_ccosh=yes
13519 else
13520   echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.$ac_ext >&5
13522
13523 ac_cv_lib_m_ccosh=no
13524 fi
13525 rm -f conftest.err conftest.$ac_objext \
13526       conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_lib_save_LIBS
13528 fi
13529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13530 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13531 if test $ac_cv_lib_m_ccosh = yes; then
13532
13533 cat >>confdefs.h <<\_ACEOF
13534 #define HAVE_CCOSH 1
13535 _ACEOF
13536
13537 fi
13538
13539 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13540 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13541 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13542   echo $ECHO_N "(cached) $ECHO_C" >&6
13543 else
13544   ac_check_lib_save_LIBS=$LIBS
13545 LIBS="-lm  $LIBS"
13546 if test x$gcc_no_link = xyes; then
13547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13549    { (exit 1); exit 1; }; }
13550 fi
13551 cat >conftest.$ac_ext <<_ACEOF
13552 /* confdefs.h.  */
13553 _ACEOF
13554 cat confdefs.h >>conftest.$ac_ext
13555 cat >>conftest.$ac_ext <<_ACEOF
13556 /* end confdefs.h.  */
13557
13558 /* Override any gcc2 internal prototype to avoid an error.  */
13559 #ifdef __cplusplus
13560 extern "C"
13561 #endif
13562 /* We use char because int might match the return type of a gcc2
13563    builtin and then its argument prototype would still apply.  */
13564 char ccoshl ();
13565 int
13566 main ()
13567 {
13568 ccoshl ();
13569   ;
13570   return 0;
13571 }
13572 _ACEOF
13573 rm -f conftest.$ac_objext conftest$ac_exeext
13574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13575   (eval $ac_link) 2>conftest.er1
13576   ac_status=$?
13577   grep -v '^ *+' conftest.er1 >conftest.err
13578   rm -f conftest.er1
13579   cat conftest.err >&5
13580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581   (exit $ac_status); } &&
13582          { ac_try='test -z "$ac_c_werror_flag"
13583                          || test ! -s conftest.err'
13584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585   (eval $ac_try) 2>&5
13586   ac_status=$?
13587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588   (exit $ac_status); }; } &&
13589          { ac_try='test -s conftest$ac_exeext'
13590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591   (eval $ac_try) 2>&5
13592   ac_status=$?
13593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594   (exit $ac_status); }; }; then
13595   ac_cv_lib_m_ccoshl=yes
13596 else
13597   echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13599
13600 ac_cv_lib_m_ccoshl=no
13601 fi
13602 rm -f conftest.err conftest.$ac_objext \
13603       conftest$ac_exeext conftest.$ac_ext
13604 LIBS=$ac_check_lib_save_LIBS
13605 fi
13606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13607 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13608 if test $ac_cv_lib_m_ccoshl = yes; then
13609
13610 cat >>confdefs.h <<\_ACEOF
13611 #define HAVE_CCOSHL 1
13612 _ACEOF
13613
13614 fi
13615
13616 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13617 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13618 if test "${ac_cv_lib_m_expf+set}" = set; then
13619   echo $ECHO_N "(cached) $ECHO_C" >&6
13620 else
13621   ac_check_lib_save_LIBS=$LIBS
13622 LIBS="-lm  $LIBS"
13623 if test x$gcc_no_link = xyes; then
13624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13626    { (exit 1); exit 1; }; }
13627 fi
13628 cat >conftest.$ac_ext <<_ACEOF
13629 /* confdefs.h.  */
13630 _ACEOF
13631 cat confdefs.h >>conftest.$ac_ext
13632 cat >>conftest.$ac_ext <<_ACEOF
13633 /* end confdefs.h.  */
13634
13635 /* Override any gcc2 internal prototype to avoid an error.  */
13636 #ifdef __cplusplus
13637 extern "C"
13638 #endif
13639 /* We use char because int might match the return type of a gcc2
13640    builtin and then its argument prototype would still apply.  */
13641 char expf ();
13642 int
13643 main ()
13644 {
13645 expf ();
13646   ;
13647   return 0;
13648 }
13649 _ACEOF
13650 rm -f conftest.$ac_objext conftest$ac_exeext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13652   (eval $ac_link) 2>conftest.er1
13653   ac_status=$?
13654   grep -v '^ *+' conftest.er1 >conftest.err
13655   rm -f conftest.er1
13656   cat conftest.err >&5
13657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658   (exit $ac_status); } &&
13659          { ac_try='test -z "$ac_c_werror_flag"
13660                          || test ! -s conftest.err'
13661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662   (eval $ac_try) 2>&5
13663   ac_status=$?
13664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665   (exit $ac_status); }; } &&
13666          { ac_try='test -s conftest$ac_exeext'
13667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668   (eval $ac_try) 2>&5
13669   ac_status=$?
13670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671   (exit $ac_status); }; }; then
13672   ac_cv_lib_m_expf=yes
13673 else
13674   echo "$as_me: failed program was:" >&5
13675 sed 's/^/| /' conftest.$ac_ext >&5
13676
13677 ac_cv_lib_m_expf=no
13678 fi
13679 rm -f conftest.err conftest.$ac_objext \
13680       conftest$ac_exeext conftest.$ac_ext
13681 LIBS=$ac_check_lib_save_LIBS
13682 fi
13683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13684 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13685 if test $ac_cv_lib_m_expf = yes; then
13686
13687 cat >>confdefs.h <<\_ACEOF
13688 #define HAVE_EXPF 1
13689 _ACEOF
13690
13691 fi
13692
13693 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13694 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13695 if test "${ac_cv_lib_m_exp+set}" = set; then
13696   echo $ECHO_N "(cached) $ECHO_C" >&6
13697 else
13698   ac_check_lib_save_LIBS=$LIBS
13699 LIBS="-lm  $LIBS"
13700 if test x$gcc_no_link = xyes; then
13701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13703    { (exit 1); exit 1; }; }
13704 fi
13705 cat >conftest.$ac_ext <<_ACEOF
13706 /* confdefs.h.  */
13707 _ACEOF
13708 cat confdefs.h >>conftest.$ac_ext
13709 cat >>conftest.$ac_ext <<_ACEOF
13710 /* end confdefs.h.  */
13711
13712 /* Override any gcc2 internal prototype to avoid an error.  */
13713 #ifdef __cplusplus
13714 extern "C"
13715 #endif
13716 /* We use char because int might match the return type of a gcc2
13717    builtin and then its argument prototype would still apply.  */
13718 char exp ();
13719 int
13720 main ()
13721 {
13722 exp ();
13723   ;
13724   return 0;
13725 }
13726 _ACEOF
13727 rm -f conftest.$ac_objext conftest$ac_exeext
13728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13729   (eval $ac_link) 2>conftest.er1
13730   ac_status=$?
13731   grep -v '^ *+' conftest.er1 >conftest.err
13732   rm -f conftest.er1
13733   cat conftest.err >&5
13734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735   (exit $ac_status); } &&
13736          { ac_try='test -z "$ac_c_werror_flag"
13737                          || test ! -s conftest.err'
13738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13739   (eval $ac_try) 2>&5
13740   ac_status=$?
13741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742   (exit $ac_status); }; } &&
13743          { ac_try='test -s conftest$ac_exeext'
13744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13745   (eval $ac_try) 2>&5
13746   ac_status=$?
13747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748   (exit $ac_status); }; }; then
13749   ac_cv_lib_m_exp=yes
13750 else
13751   echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.$ac_ext >&5
13753
13754 ac_cv_lib_m_exp=no
13755 fi
13756 rm -f conftest.err conftest.$ac_objext \
13757       conftest$ac_exeext conftest.$ac_ext
13758 LIBS=$ac_check_lib_save_LIBS
13759 fi
13760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
13761 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
13762 if test $ac_cv_lib_m_exp = yes; then
13763
13764 cat >>confdefs.h <<\_ACEOF
13765 #define HAVE_EXP 1
13766 _ACEOF
13767
13768 fi
13769
13770 echo "$as_me:$LINENO: checking for expl in -lm" >&5
13771 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
13772 if test "${ac_cv_lib_m_expl+set}" = set; then
13773   echo $ECHO_N "(cached) $ECHO_C" >&6
13774 else
13775   ac_check_lib_save_LIBS=$LIBS
13776 LIBS="-lm  $LIBS"
13777 if test x$gcc_no_link = xyes; then
13778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13780    { (exit 1); exit 1; }; }
13781 fi
13782 cat >conftest.$ac_ext <<_ACEOF
13783 /* confdefs.h.  */
13784 _ACEOF
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h.  */
13788
13789 /* Override any gcc2 internal prototype to avoid an error.  */
13790 #ifdef __cplusplus
13791 extern "C"
13792 #endif
13793 /* We use char because int might match the return type of a gcc2
13794    builtin and then its argument prototype would still apply.  */
13795 char expl ();
13796 int
13797 main ()
13798 {
13799 expl ();
13800   ;
13801   return 0;
13802 }
13803 _ACEOF
13804 rm -f conftest.$ac_objext conftest$ac_exeext
13805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13806   (eval $ac_link) 2>conftest.er1
13807   ac_status=$?
13808   grep -v '^ *+' conftest.er1 >conftest.err
13809   rm -f conftest.er1
13810   cat conftest.err >&5
13811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812   (exit $ac_status); } &&
13813          { ac_try='test -z "$ac_c_werror_flag"
13814                          || test ! -s conftest.err'
13815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816   (eval $ac_try) 2>&5
13817   ac_status=$?
13818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819   (exit $ac_status); }; } &&
13820          { ac_try='test -s conftest$ac_exeext'
13821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822   (eval $ac_try) 2>&5
13823   ac_status=$?
13824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825   (exit $ac_status); }; }; then
13826   ac_cv_lib_m_expl=yes
13827 else
13828   echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.$ac_ext >&5
13830
13831 ac_cv_lib_m_expl=no
13832 fi
13833 rm -f conftest.err conftest.$ac_objext \
13834       conftest$ac_exeext conftest.$ac_ext
13835 LIBS=$ac_check_lib_save_LIBS
13836 fi
13837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
13838 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
13839 if test $ac_cv_lib_m_expl = yes; then
13840
13841 cat >>confdefs.h <<\_ACEOF
13842 #define HAVE_EXPL 1
13843 _ACEOF
13844
13845 fi
13846
13847 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
13848 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
13849 if test "${ac_cv_lib_m_cexpf+set}" = set; then
13850   echo $ECHO_N "(cached) $ECHO_C" >&6
13851 else
13852   ac_check_lib_save_LIBS=$LIBS
13853 LIBS="-lm  $LIBS"
13854 if test x$gcc_no_link = xyes; then
13855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13857    { (exit 1); exit 1; }; }
13858 fi
13859 cat >conftest.$ac_ext <<_ACEOF
13860 /* confdefs.h.  */
13861 _ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h.  */
13865
13866 /* Override any gcc2 internal prototype to avoid an error.  */
13867 #ifdef __cplusplus
13868 extern "C"
13869 #endif
13870 /* We use char because int might match the return type of a gcc2
13871    builtin and then its argument prototype would still apply.  */
13872 char cexpf ();
13873 int
13874 main ()
13875 {
13876 cexpf ();
13877   ;
13878   return 0;
13879 }
13880 _ACEOF
13881 rm -f conftest.$ac_objext conftest$ac_exeext
13882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13883   (eval $ac_link) 2>conftest.er1
13884   ac_status=$?
13885   grep -v '^ *+' conftest.er1 >conftest.err
13886   rm -f conftest.er1
13887   cat conftest.err >&5
13888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889   (exit $ac_status); } &&
13890          { ac_try='test -z "$ac_c_werror_flag"
13891                          || test ! -s conftest.err'
13892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893   (eval $ac_try) 2>&5
13894   ac_status=$?
13895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896   (exit $ac_status); }; } &&
13897          { ac_try='test -s conftest$ac_exeext'
13898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13899   (eval $ac_try) 2>&5
13900   ac_status=$?
13901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902   (exit $ac_status); }; }; then
13903   ac_cv_lib_m_cexpf=yes
13904 else
13905   echo "$as_me: failed program was:" >&5
13906 sed 's/^/| /' conftest.$ac_ext >&5
13907
13908 ac_cv_lib_m_cexpf=no
13909 fi
13910 rm -f conftest.err conftest.$ac_objext \
13911       conftest$ac_exeext conftest.$ac_ext
13912 LIBS=$ac_check_lib_save_LIBS
13913 fi
13914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
13915 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
13916 if test $ac_cv_lib_m_cexpf = yes; then
13917
13918 cat >>confdefs.h <<\_ACEOF
13919 #define HAVE_CEXPF 1
13920 _ACEOF
13921
13922 fi
13923
13924 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
13925 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
13926 if test "${ac_cv_lib_m_cexp+set}" = set; then
13927   echo $ECHO_N "(cached) $ECHO_C" >&6
13928 else
13929   ac_check_lib_save_LIBS=$LIBS
13930 LIBS="-lm  $LIBS"
13931 if test x$gcc_no_link = xyes; then
13932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13934    { (exit 1); exit 1; }; }
13935 fi
13936 cat >conftest.$ac_ext <<_ACEOF
13937 /* confdefs.h.  */
13938 _ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h.  */
13942
13943 /* Override any gcc2 internal prototype to avoid an error.  */
13944 #ifdef __cplusplus
13945 extern "C"
13946 #endif
13947 /* We use char because int might match the return type of a gcc2
13948    builtin and then its argument prototype would still apply.  */
13949 char cexp ();
13950 int
13951 main ()
13952 {
13953 cexp ();
13954   ;
13955   return 0;
13956 }
13957 _ACEOF
13958 rm -f conftest.$ac_objext conftest$ac_exeext
13959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13960   (eval $ac_link) 2>conftest.er1
13961   ac_status=$?
13962   grep -v '^ *+' conftest.er1 >conftest.err
13963   rm -f conftest.er1
13964   cat conftest.err >&5
13965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966   (exit $ac_status); } &&
13967          { ac_try='test -z "$ac_c_werror_flag"
13968                          || test ! -s conftest.err'
13969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970   (eval $ac_try) 2>&5
13971   ac_status=$?
13972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973   (exit $ac_status); }; } &&
13974          { ac_try='test -s conftest$ac_exeext'
13975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976   (eval $ac_try) 2>&5
13977   ac_status=$?
13978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979   (exit $ac_status); }; }; then
13980   ac_cv_lib_m_cexp=yes
13981 else
13982   echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.$ac_ext >&5
13984
13985 ac_cv_lib_m_cexp=no
13986 fi
13987 rm -f conftest.err conftest.$ac_objext \
13988       conftest$ac_exeext conftest.$ac_ext
13989 LIBS=$ac_check_lib_save_LIBS
13990 fi
13991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
13992 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
13993 if test $ac_cv_lib_m_cexp = yes; then
13994
13995 cat >>confdefs.h <<\_ACEOF
13996 #define HAVE_CEXP 1
13997 _ACEOF
13998
13999 fi
14000
14001 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14002 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14003 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14004   echo $ECHO_N "(cached) $ECHO_C" >&6
14005 else
14006   ac_check_lib_save_LIBS=$LIBS
14007 LIBS="-lm  $LIBS"
14008 if test x$gcc_no_link = xyes; then
14009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14011    { (exit 1); exit 1; }; }
14012 fi
14013 cat >conftest.$ac_ext <<_ACEOF
14014 /* confdefs.h.  */
14015 _ACEOF
14016 cat confdefs.h >>conftest.$ac_ext
14017 cat >>conftest.$ac_ext <<_ACEOF
14018 /* end confdefs.h.  */
14019
14020 /* Override any gcc2 internal prototype to avoid an error.  */
14021 #ifdef __cplusplus
14022 extern "C"
14023 #endif
14024 /* We use char because int might match the return type of a gcc2
14025    builtin and then its argument prototype would still apply.  */
14026 char cexpl ();
14027 int
14028 main ()
14029 {
14030 cexpl ();
14031   ;
14032   return 0;
14033 }
14034 _ACEOF
14035 rm -f conftest.$ac_objext conftest$ac_exeext
14036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14037   (eval $ac_link) 2>conftest.er1
14038   ac_status=$?
14039   grep -v '^ *+' conftest.er1 >conftest.err
14040   rm -f conftest.er1
14041   cat conftest.err >&5
14042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043   (exit $ac_status); } &&
14044          { ac_try='test -z "$ac_c_werror_flag"
14045                          || test ! -s conftest.err'
14046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047   (eval $ac_try) 2>&5
14048   ac_status=$?
14049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050   (exit $ac_status); }; } &&
14051          { ac_try='test -s conftest$ac_exeext'
14052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053   (eval $ac_try) 2>&5
14054   ac_status=$?
14055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056   (exit $ac_status); }; }; then
14057   ac_cv_lib_m_cexpl=yes
14058 else
14059   echo "$as_me: failed program was:" >&5
14060 sed 's/^/| /' conftest.$ac_ext >&5
14061
14062 ac_cv_lib_m_cexpl=no
14063 fi
14064 rm -f conftest.err conftest.$ac_objext \
14065       conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_lib_save_LIBS
14067 fi
14068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14069 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14070 if test $ac_cv_lib_m_cexpl = yes; then
14071
14072 cat >>confdefs.h <<\_ACEOF
14073 #define HAVE_CEXPL 1
14074 _ACEOF
14075
14076 fi
14077
14078 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14079 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14080 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14081   echo $ECHO_N "(cached) $ECHO_C" >&6
14082 else
14083   ac_check_lib_save_LIBS=$LIBS
14084 LIBS="-lm  $LIBS"
14085 if test x$gcc_no_link = xyes; then
14086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14088    { (exit 1); exit 1; }; }
14089 fi
14090 cat >conftest.$ac_ext <<_ACEOF
14091 /* confdefs.h.  */
14092 _ACEOF
14093 cat confdefs.h >>conftest.$ac_ext
14094 cat >>conftest.$ac_ext <<_ACEOF
14095 /* end confdefs.h.  */
14096
14097 /* Override any gcc2 internal prototype to avoid an error.  */
14098 #ifdef __cplusplus
14099 extern "C"
14100 #endif
14101 /* We use char because int might match the return type of a gcc2
14102    builtin and then its argument prototype would still apply.  */
14103 char fabsf ();
14104 int
14105 main ()
14106 {
14107 fabsf ();
14108   ;
14109   return 0;
14110 }
14111 _ACEOF
14112 rm -f conftest.$ac_objext conftest$ac_exeext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14114   (eval $ac_link) 2>conftest.er1
14115   ac_status=$?
14116   grep -v '^ *+' conftest.er1 >conftest.err
14117   rm -f conftest.er1
14118   cat conftest.err >&5
14119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120   (exit $ac_status); } &&
14121          { ac_try='test -z "$ac_c_werror_flag"
14122                          || test ! -s conftest.err'
14123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124   (eval $ac_try) 2>&5
14125   ac_status=$?
14126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127   (exit $ac_status); }; } &&
14128          { ac_try='test -s conftest$ac_exeext'
14129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130   (eval $ac_try) 2>&5
14131   ac_status=$?
14132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133   (exit $ac_status); }; }; then
14134   ac_cv_lib_m_fabsf=yes
14135 else
14136   echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.$ac_ext >&5
14138
14139 ac_cv_lib_m_fabsf=no
14140 fi
14141 rm -f conftest.err conftest.$ac_objext \
14142       conftest$ac_exeext conftest.$ac_ext
14143 LIBS=$ac_check_lib_save_LIBS
14144 fi
14145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14146 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14147 if test $ac_cv_lib_m_fabsf = yes; then
14148
14149 cat >>confdefs.h <<\_ACEOF
14150 #define HAVE_FABSF 1
14151 _ACEOF
14152
14153 fi
14154
14155 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14156 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14157 if test "${ac_cv_lib_m_fabs+set}" = set; then
14158   echo $ECHO_N "(cached) $ECHO_C" >&6
14159 else
14160   ac_check_lib_save_LIBS=$LIBS
14161 LIBS="-lm  $LIBS"
14162 if test x$gcc_no_link = xyes; then
14163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14165    { (exit 1); exit 1; }; }
14166 fi
14167 cat >conftest.$ac_ext <<_ACEOF
14168 /* confdefs.h.  */
14169 _ACEOF
14170 cat confdefs.h >>conftest.$ac_ext
14171 cat >>conftest.$ac_ext <<_ACEOF
14172 /* end confdefs.h.  */
14173
14174 /* Override any gcc2 internal prototype to avoid an error.  */
14175 #ifdef __cplusplus
14176 extern "C"
14177 #endif
14178 /* We use char because int might match the return type of a gcc2
14179    builtin and then its argument prototype would still apply.  */
14180 char fabs ();
14181 int
14182 main ()
14183 {
14184 fabs ();
14185   ;
14186   return 0;
14187 }
14188 _ACEOF
14189 rm -f conftest.$ac_objext conftest$ac_exeext
14190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14191   (eval $ac_link) 2>conftest.er1
14192   ac_status=$?
14193   grep -v '^ *+' conftest.er1 >conftest.err
14194   rm -f conftest.er1
14195   cat conftest.err >&5
14196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197   (exit $ac_status); } &&
14198          { ac_try='test -z "$ac_c_werror_flag"
14199                          || test ! -s conftest.err'
14200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201   (eval $ac_try) 2>&5
14202   ac_status=$?
14203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204   (exit $ac_status); }; } &&
14205          { ac_try='test -s conftest$ac_exeext'
14206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207   (eval $ac_try) 2>&5
14208   ac_status=$?
14209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210   (exit $ac_status); }; }; then
14211   ac_cv_lib_m_fabs=yes
14212 else
14213   echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14215
14216 ac_cv_lib_m_fabs=no
14217 fi
14218 rm -f conftest.err conftest.$ac_objext \
14219       conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_lib_save_LIBS
14221 fi
14222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14223 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14224 if test $ac_cv_lib_m_fabs = yes; then
14225
14226 cat >>confdefs.h <<\_ACEOF
14227 #define HAVE_FABS 1
14228 _ACEOF
14229
14230 fi
14231
14232 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14233 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14234 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14235   echo $ECHO_N "(cached) $ECHO_C" >&6
14236 else
14237   ac_check_lib_save_LIBS=$LIBS
14238 LIBS="-lm  $LIBS"
14239 if test x$gcc_no_link = xyes; then
14240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14242    { (exit 1); exit 1; }; }
14243 fi
14244 cat >conftest.$ac_ext <<_ACEOF
14245 /* confdefs.h.  */
14246 _ACEOF
14247 cat confdefs.h >>conftest.$ac_ext
14248 cat >>conftest.$ac_ext <<_ACEOF
14249 /* end confdefs.h.  */
14250
14251 /* Override any gcc2 internal prototype to avoid an error.  */
14252 #ifdef __cplusplus
14253 extern "C"
14254 #endif
14255 /* We use char because int might match the return type of a gcc2
14256    builtin and then its argument prototype would still apply.  */
14257 char fabsl ();
14258 int
14259 main ()
14260 {
14261 fabsl ();
14262   ;
14263   return 0;
14264 }
14265 _ACEOF
14266 rm -f conftest.$ac_objext conftest$ac_exeext
14267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14268   (eval $ac_link) 2>conftest.er1
14269   ac_status=$?
14270   grep -v '^ *+' conftest.er1 >conftest.err
14271   rm -f conftest.er1
14272   cat conftest.err >&5
14273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274   (exit $ac_status); } &&
14275          { ac_try='test -z "$ac_c_werror_flag"
14276                          || test ! -s conftest.err'
14277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278   (eval $ac_try) 2>&5
14279   ac_status=$?
14280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281   (exit $ac_status); }; } &&
14282          { ac_try='test -s conftest$ac_exeext'
14283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284   (eval $ac_try) 2>&5
14285   ac_status=$?
14286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287   (exit $ac_status); }; }; then
14288   ac_cv_lib_m_fabsl=yes
14289 else
14290   echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14292
14293 ac_cv_lib_m_fabsl=no
14294 fi
14295 rm -f conftest.err conftest.$ac_objext \
14296       conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14298 fi
14299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14300 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14301 if test $ac_cv_lib_m_fabsl = yes; then
14302
14303 cat >>confdefs.h <<\_ACEOF
14304 #define HAVE_FABSL 1
14305 _ACEOF
14306
14307 fi
14308
14309 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14310 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14311 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14312   echo $ECHO_N "(cached) $ECHO_C" >&6
14313 else
14314   ac_check_lib_save_LIBS=$LIBS
14315 LIBS="-lm  $LIBS"
14316 if test x$gcc_no_link = xyes; then
14317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14319    { (exit 1); exit 1; }; }
14320 fi
14321 cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h.  */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h.  */
14327
14328 /* Override any gcc2 internal prototype to avoid an error.  */
14329 #ifdef __cplusplus
14330 extern "C"
14331 #endif
14332 /* We use char because int might match the return type of a gcc2
14333    builtin and then its argument prototype would still apply.  */
14334 char cabsf ();
14335 int
14336 main ()
14337 {
14338 cabsf ();
14339   ;
14340   return 0;
14341 }
14342 _ACEOF
14343 rm -f conftest.$ac_objext conftest$ac_exeext
14344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14345   (eval $ac_link) 2>conftest.er1
14346   ac_status=$?
14347   grep -v '^ *+' conftest.er1 >conftest.err
14348   rm -f conftest.er1
14349   cat conftest.err >&5
14350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351   (exit $ac_status); } &&
14352          { ac_try='test -z "$ac_c_werror_flag"
14353                          || test ! -s conftest.err'
14354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14355   (eval $ac_try) 2>&5
14356   ac_status=$?
14357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358   (exit $ac_status); }; } &&
14359          { ac_try='test -s conftest$ac_exeext'
14360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14361   (eval $ac_try) 2>&5
14362   ac_status=$?
14363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364   (exit $ac_status); }; }; then
14365   ac_cv_lib_m_cabsf=yes
14366 else
14367   echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14369
14370 ac_cv_lib_m_cabsf=no
14371 fi
14372 rm -f conftest.err conftest.$ac_objext \
14373       conftest$ac_exeext conftest.$ac_ext
14374 LIBS=$ac_check_lib_save_LIBS
14375 fi
14376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14377 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14378 if test $ac_cv_lib_m_cabsf = yes; then
14379
14380 cat >>confdefs.h <<\_ACEOF
14381 #define HAVE_CABSF 1
14382 _ACEOF
14383
14384 fi
14385
14386 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14387 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14388 if test "${ac_cv_lib_m_cabs+set}" = set; then
14389   echo $ECHO_N "(cached) $ECHO_C" >&6
14390 else
14391   ac_check_lib_save_LIBS=$LIBS
14392 LIBS="-lm  $LIBS"
14393 if test x$gcc_no_link = xyes; then
14394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14396    { (exit 1); exit 1; }; }
14397 fi
14398 cat >conftest.$ac_ext <<_ACEOF
14399 /* confdefs.h.  */
14400 _ACEOF
14401 cat confdefs.h >>conftest.$ac_ext
14402 cat >>conftest.$ac_ext <<_ACEOF
14403 /* end confdefs.h.  */
14404
14405 /* Override any gcc2 internal prototype to avoid an error.  */
14406 #ifdef __cplusplus
14407 extern "C"
14408 #endif
14409 /* We use char because int might match the return type of a gcc2
14410    builtin and then its argument prototype would still apply.  */
14411 char cabs ();
14412 int
14413 main ()
14414 {
14415 cabs ();
14416   ;
14417   return 0;
14418 }
14419 _ACEOF
14420 rm -f conftest.$ac_objext conftest$ac_exeext
14421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14422   (eval $ac_link) 2>conftest.er1
14423   ac_status=$?
14424   grep -v '^ *+' conftest.er1 >conftest.err
14425   rm -f conftest.er1
14426   cat conftest.err >&5
14427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428   (exit $ac_status); } &&
14429          { ac_try='test -z "$ac_c_werror_flag"
14430                          || test ! -s conftest.err'
14431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432   (eval $ac_try) 2>&5
14433   ac_status=$?
14434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435   (exit $ac_status); }; } &&
14436          { ac_try='test -s conftest$ac_exeext'
14437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438   (eval $ac_try) 2>&5
14439   ac_status=$?
14440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441   (exit $ac_status); }; }; then
14442   ac_cv_lib_m_cabs=yes
14443 else
14444   echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14446
14447 ac_cv_lib_m_cabs=no
14448 fi
14449 rm -f conftest.err conftest.$ac_objext \
14450       conftest$ac_exeext conftest.$ac_ext
14451 LIBS=$ac_check_lib_save_LIBS
14452 fi
14453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14454 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14455 if test $ac_cv_lib_m_cabs = yes; then
14456
14457 cat >>confdefs.h <<\_ACEOF
14458 #define HAVE_CABS 1
14459 _ACEOF
14460
14461 fi
14462
14463 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14464 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14465 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14466   echo $ECHO_N "(cached) $ECHO_C" >&6
14467 else
14468   ac_check_lib_save_LIBS=$LIBS
14469 LIBS="-lm  $LIBS"
14470 if test x$gcc_no_link = xyes; then
14471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14473    { (exit 1); exit 1; }; }
14474 fi
14475 cat >conftest.$ac_ext <<_ACEOF
14476 /* confdefs.h.  */
14477 _ACEOF
14478 cat confdefs.h >>conftest.$ac_ext
14479 cat >>conftest.$ac_ext <<_ACEOF
14480 /* end confdefs.h.  */
14481
14482 /* Override any gcc2 internal prototype to avoid an error.  */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 /* We use char because int might match the return type of a gcc2
14487    builtin and then its argument prototype would still apply.  */
14488 char cabsl ();
14489 int
14490 main ()
14491 {
14492 cabsl ();
14493   ;
14494   return 0;
14495 }
14496 _ACEOF
14497 rm -f conftest.$ac_objext conftest$ac_exeext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14499   (eval $ac_link) 2>conftest.er1
14500   ac_status=$?
14501   grep -v '^ *+' conftest.er1 >conftest.err
14502   rm -f conftest.er1
14503   cat conftest.err >&5
14504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505   (exit $ac_status); } &&
14506          { ac_try='test -z "$ac_c_werror_flag"
14507                          || test ! -s conftest.err'
14508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509   (eval $ac_try) 2>&5
14510   ac_status=$?
14511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512   (exit $ac_status); }; } &&
14513          { ac_try='test -s conftest$ac_exeext'
14514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515   (eval $ac_try) 2>&5
14516   ac_status=$?
14517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518   (exit $ac_status); }; }; then
14519   ac_cv_lib_m_cabsl=yes
14520 else
14521   echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14523
14524 ac_cv_lib_m_cabsl=no
14525 fi
14526 rm -f conftest.err conftest.$ac_objext \
14527       conftest$ac_exeext conftest.$ac_ext
14528 LIBS=$ac_check_lib_save_LIBS
14529 fi
14530 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14531 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14532 if test $ac_cv_lib_m_cabsl = yes; then
14533
14534 cat >>confdefs.h <<\_ACEOF
14535 #define HAVE_CABSL 1
14536 _ACEOF
14537
14538 fi
14539
14540 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14541 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14542 if test "${ac_cv_lib_m_floorf+set}" = set; then
14543   echo $ECHO_N "(cached) $ECHO_C" >&6
14544 else
14545   ac_check_lib_save_LIBS=$LIBS
14546 LIBS="-lm  $LIBS"
14547 if test x$gcc_no_link = xyes; then
14548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14550    { (exit 1); exit 1; }; }
14551 fi
14552 cat >conftest.$ac_ext <<_ACEOF
14553 /* confdefs.h.  */
14554 _ACEOF
14555 cat confdefs.h >>conftest.$ac_ext
14556 cat >>conftest.$ac_ext <<_ACEOF
14557 /* end confdefs.h.  */
14558
14559 /* Override any gcc2 internal prototype to avoid an error.  */
14560 #ifdef __cplusplus
14561 extern "C"
14562 #endif
14563 /* We use char because int might match the return type of a gcc2
14564    builtin and then its argument prototype would still apply.  */
14565 char floorf ();
14566 int
14567 main ()
14568 {
14569 floorf ();
14570   ;
14571   return 0;
14572 }
14573 _ACEOF
14574 rm -f conftest.$ac_objext conftest$ac_exeext
14575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14576   (eval $ac_link) 2>conftest.er1
14577   ac_status=$?
14578   grep -v '^ *+' conftest.er1 >conftest.err
14579   rm -f conftest.er1
14580   cat conftest.err >&5
14581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582   (exit $ac_status); } &&
14583          { ac_try='test -z "$ac_c_werror_flag"
14584                          || test ! -s conftest.err'
14585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586   (eval $ac_try) 2>&5
14587   ac_status=$?
14588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589   (exit $ac_status); }; } &&
14590          { ac_try='test -s conftest$ac_exeext'
14591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592   (eval $ac_try) 2>&5
14593   ac_status=$?
14594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595   (exit $ac_status); }; }; then
14596   ac_cv_lib_m_floorf=yes
14597 else
14598   echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14600
14601 ac_cv_lib_m_floorf=no
14602 fi
14603 rm -f conftest.err conftest.$ac_objext \
14604       conftest$ac_exeext conftest.$ac_ext
14605 LIBS=$ac_check_lib_save_LIBS
14606 fi
14607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14608 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14609 if test $ac_cv_lib_m_floorf = yes; then
14610
14611 cat >>confdefs.h <<\_ACEOF
14612 #define HAVE_FLOORF 1
14613 _ACEOF
14614
14615 fi
14616
14617 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14618 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14619 if test "${ac_cv_lib_m_floor+set}" = set; then
14620   echo $ECHO_N "(cached) $ECHO_C" >&6
14621 else
14622   ac_check_lib_save_LIBS=$LIBS
14623 LIBS="-lm  $LIBS"
14624 if test x$gcc_no_link = xyes; then
14625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14627    { (exit 1); exit 1; }; }
14628 fi
14629 cat >conftest.$ac_ext <<_ACEOF
14630 /* confdefs.h.  */
14631 _ACEOF
14632 cat confdefs.h >>conftest.$ac_ext
14633 cat >>conftest.$ac_ext <<_ACEOF
14634 /* end confdefs.h.  */
14635
14636 /* Override any gcc2 internal prototype to avoid an error.  */
14637 #ifdef __cplusplus
14638 extern "C"
14639 #endif
14640 /* We use char because int might match the return type of a gcc2
14641    builtin and then its argument prototype would still apply.  */
14642 char floor ();
14643 int
14644 main ()
14645 {
14646 floor ();
14647   ;
14648   return 0;
14649 }
14650 _ACEOF
14651 rm -f conftest.$ac_objext conftest$ac_exeext
14652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14653   (eval $ac_link) 2>conftest.er1
14654   ac_status=$?
14655   grep -v '^ *+' conftest.er1 >conftest.err
14656   rm -f conftest.er1
14657   cat conftest.err >&5
14658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659   (exit $ac_status); } &&
14660          { ac_try='test -z "$ac_c_werror_flag"
14661                          || test ! -s conftest.err'
14662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663   (eval $ac_try) 2>&5
14664   ac_status=$?
14665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666   (exit $ac_status); }; } &&
14667          { ac_try='test -s conftest$ac_exeext'
14668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669   (eval $ac_try) 2>&5
14670   ac_status=$?
14671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672   (exit $ac_status); }; }; then
14673   ac_cv_lib_m_floor=yes
14674 else
14675   echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14677
14678 ac_cv_lib_m_floor=no
14679 fi
14680 rm -f conftest.err conftest.$ac_objext \
14681       conftest$ac_exeext conftest.$ac_ext
14682 LIBS=$ac_check_lib_save_LIBS
14683 fi
14684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14685 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14686 if test $ac_cv_lib_m_floor = yes; then
14687
14688 cat >>confdefs.h <<\_ACEOF
14689 #define HAVE_FLOOR 1
14690 _ACEOF
14691
14692 fi
14693
14694 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14695 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14696 if test "${ac_cv_lib_m_floorl+set}" = set; then
14697   echo $ECHO_N "(cached) $ECHO_C" >&6
14698 else
14699   ac_check_lib_save_LIBS=$LIBS
14700 LIBS="-lm  $LIBS"
14701 if test x$gcc_no_link = xyes; then
14702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14704    { (exit 1); exit 1; }; }
14705 fi
14706 cat >conftest.$ac_ext <<_ACEOF
14707 /* confdefs.h.  */
14708 _ACEOF
14709 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF
14711 /* end confdefs.h.  */
14712
14713 /* Override any gcc2 internal prototype to avoid an error.  */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 /* We use char because int might match the return type of a gcc2
14718    builtin and then its argument prototype would still apply.  */
14719 char floorl ();
14720 int
14721 main ()
14722 {
14723 floorl ();
14724   ;
14725   return 0;
14726 }
14727 _ACEOF
14728 rm -f conftest.$ac_objext conftest$ac_exeext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14730   (eval $ac_link) 2>conftest.er1
14731   ac_status=$?
14732   grep -v '^ *+' conftest.er1 >conftest.err
14733   rm -f conftest.er1
14734   cat conftest.err >&5
14735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736   (exit $ac_status); } &&
14737          { ac_try='test -z "$ac_c_werror_flag"
14738                          || test ! -s conftest.err'
14739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740   (eval $ac_try) 2>&5
14741   ac_status=$?
14742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743   (exit $ac_status); }; } &&
14744          { ac_try='test -s conftest$ac_exeext'
14745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746   (eval $ac_try) 2>&5
14747   ac_status=$?
14748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749   (exit $ac_status); }; }; then
14750   ac_cv_lib_m_floorl=yes
14751 else
14752   echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14754
14755 ac_cv_lib_m_floorl=no
14756 fi
14757 rm -f conftest.err conftest.$ac_objext \
14758       conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_check_lib_save_LIBS
14760 fi
14761 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
14762 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
14763 if test $ac_cv_lib_m_floorl = yes; then
14764
14765 cat >>confdefs.h <<\_ACEOF
14766 #define HAVE_FLOORL 1
14767 _ACEOF
14768
14769 fi
14770
14771 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
14772 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
14773 if test "${ac_cv_lib_m_frexpf+set}" = set; then
14774   echo $ECHO_N "(cached) $ECHO_C" >&6
14775 else
14776   ac_check_lib_save_LIBS=$LIBS
14777 LIBS="-lm  $LIBS"
14778 if test x$gcc_no_link = xyes; then
14779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14781    { (exit 1); exit 1; }; }
14782 fi
14783 cat >conftest.$ac_ext <<_ACEOF
14784 /* confdefs.h.  */
14785 _ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h.  */
14789
14790 /* Override any gcc2 internal prototype to avoid an error.  */
14791 #ifdef __cplusplus
14792 extern "C"
14793 #endif
14794 /* We use char because int might match the return type of a gcc2
14795    builtin and then its argument prototype would still apply.  */
14796 char frexpf ();
14797 int
14798 main ()
14799 {
14800 frexpf ();
14801   ;
14802   return 0;
14803 }
14804 _ACEOF
14805 rm -f conftest.$ac_objext conftest$ac_exeext
14806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14807   (eval $ac_link) 2>conftest.er1
14808   ac_status=$?
14809   grep -v '^ *+' conftest.er1 >conftest.err
14810   rm -f conftest.er1
14811   cat conftest.err >&5
14812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813   (exit $ac_status); } &&
14814          { ac_try='test -z "$ac_c_werror_flag"
14815                          || test ! -s conftest.err'
14816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817   (eval $ac_try) 2>&5
14818   ac_status=$?
14819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820   (exit $ac_status); }; } &&
14821          { ac_try='test -s conftest$ac_exeext'
14822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823   (eval $ac_try) 2>&5
14824   ac_status=$?
14825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826   (exit $ac_status); }; }; then
14827   ac_cv_lib_m_frexpf=yes
14828 else
14829   echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14831
14832 ac_cv_lib_m_frexpf=no
14833 fi
14834 rm -f conftest.err conftest.$ac_objext \
14835       conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_check_lib_save_LIBS
14837 fi
14838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
14839 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
14840 if test $ac_cv_lib_m_frexpf = yes; then
14841
14842 cat >>confdefs.h <<\_ACEOF
14843 #define HAVE_FREXPF 1
14844 _ACEOF
14845
14846 fi
14847
14848 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
14849 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
14850 if test "${ac_cv_lib_m_frexp+set}" = set; then
14851   echo $ECHO_N "(cached) $ECHO_C" >&6
14852 else
14853   ac_check_lib_save_LIBS=$LIBS
14854 LIBS="-lm  $LIBS"
14855 if test x$gcc_no_link = xyes; then
14856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14858    { (exit 1); exit 1; }; }
14859 fi
14860 cat >conftest.$ac_ext <<_ACEOF
14861 /* confdefs.h.  */
14862 _ACEOF
14863 cat confdefs.h >>conftest.$ac_ext
14864 cat >>conftest.$ac_ext <<_ACEOF
14865 /* end confdefs.h.  */
14866
14867 /* Override any gcc2 internal prototype to avoid an error.  */
14868 #ifdef __cplusplus
14869 extern "C"
14870 #endif
14871 /* We use char because int might match the return type of a gcc2
14872    builtin and then its argument prototype would still apply.  */
14873 char frexp ();
14874 int
14875 main ()
14876 {
14877 frexp ();
14878   ;
14879   return 0;
14880 }
14881 _ACEOF
14882 rm -f conftest.$ac_objext conftest$ac_exeext
14883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14884   (eval $ac_link) 2>conftest.er1
14885   ac_status=$?
14886   grep -v '^ *+' conftest.er1 >conftest.err
14887   rm -f conftest.er1
14888   cat conftest.err >&5
14889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890   (exit $ac_status); } &&
14891          { ac_try='test -z "$ac_c_werror_flag"
14892                          || test ! -s conftest.err'
14893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14894   (eval $ac_try) 2>&5
14895   ac_status=$?
14896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897   (exit $ac_status); }; } &&
14898          { ac_try='test -s conftest$ac_exeext'
14899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900   (eval $ac_try) 2>&5
14901   ac_status=$?
14902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903   (exit $ac_status); }; }; then
14904   ac_cv_lib_m_frexp=yes
14905 else
14906   echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.$ac_ext >&5
14908
14909 ac_cv_lib_m_frexp=no
14910 fi
14911 rm -f conftest.err conftest.$ac_objext \
14912       conftest$ac_exeext conftest.$ac_ext
14913 LIBS=$ac_check_lib_save_LIBS
14914 fi
14915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
14916 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
14917 if test $ac_cv_lib_m_frexp = yes; then
14918
14919 cat >>confdefs.h <<\_ACEOF
14920 #define HAVE_FREXP 1
14921 _ACEOF
14922
14923 fi
14924
14925 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
14926 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
14927 if test "${ac_cv_lib_m_frexpl+set}" = set; then
14928   echo $ECHO_N "(cached) $ECHO_C" >&6
14929 else
14930   ac_check_lib_save_LIBS=$LIBS
14931 LIBS="-lm  $LIBS"
14932 if test x$gcc_no_link = xyes; then
14933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14935    { (exit 1); exit 1; }; }
14936 fi
14937 cat >conftest.$ac_ext <<_ACEOF
14938 /* confdefs.h.  */
14939 _ACEOF
14940 cat confdefs.h >>conftest.$ac_ext
14941 cat >>conftest.$ac_ext <<_ACEOF
14942 /* end confdefs.h.  */
14943
14944 /* Override any gcc2 internal prototype to avoid an error.  */
14945 #ifdef __cplusplus
14946 extern "C"
14947 #endif
14948 /* We use char because int might match the return type of a gcc2
14949    builtin and then its argument prototype would still apply.  */
14950 char frexpl ();
14951 int
14952 main ()
14953 {
14954 frexpl ();
14955   ;
14956   return 0;
14957 }
14958 _ACEOF
14959 rm -f conftest.$ac_objext conftest$ac_exeext
14960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14961   (eval $ac_link) 2>conftest.er1
14962   ac_status=$?
14963   grep -v '^ *+' conftest.er1 >conftest.err
14964   rm -f conftest.er1
14965   cat conftest.err >&5
14966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967   (exit $ac_status); } &&
14968          { ac_try='test -z "$ac_c_werror_flag"
14969                          || test ! -s conftest.err'
14970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14971   (eval $ac_try) 2>&5
14972   ac_status=$?
14973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974   (exit $ac_status); }; } &&
14975          { ac_try='test -s conftest$ac_exeext'
14976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977   (eval $ac_try) 2>&5
14978   ac_status=$?
14979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980   (exit $ac_status); }; }; then
14981   ac_cv_lib_m_frexpl=yes
14982 else
14983   echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14985
14986 ac_cv_lib_m_frexpl=no
14987 fi
14988 rm -f conftest.err conftest.$ac_objext \
14989       conftest$ac_exeext conftest.$ac_ext
14990 LIBS=$ac_check_lib_save_LIBS
14991 fi
14992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
14993 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
14994 if test $ac_cv_lib_m_frexpl = yes; then
14995
14996 cat >>confdefs.h <<\_ACEOF
14997 #define HAVE_FREXPL 1
14998 _ACEOF
14999
15000 fi
15001
15002 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15003 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15004 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15005   echo $ECHO_N "(cached) $ECHO_C" >&6
15006 else
15007   ac_check_lib_save_LIBS=$LIBS
15008 LIBS="-lm  $LIBS"
15009 if test x$gcc_no_link = xyes; then
15010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15012    { (exit 1); exit 1; }; }
15013 fi
15014 cat >conftest.$ac_ext <<_ACEOF
15015 /* confdefs.h.  */
15016 _ACEOF
15017 cat confdefs.h >>conftest.$ac_ext
15018 cat >>conftest.$ac_ext <<_ACEOF
15019 /* end confdefs.h.  */
15020
15021 /* Override any gcc2 internal prototype to avoid an error.  */
15022 #ifdef __cplusplus
15023 extern "C"
15024 #endif
15025 /* We use char because int might match the return type of a gcc2
15026    builtin and then its argument prototype would still apply.  */
15027 char hypotf ();
15028 int
15029 main ()
15030 {
15031 hypotf ();
15032   ;
15033   return 0;
15034 }
15035 _ACEOF
15036 rm -f conftest.$ac_objext conftest$ac_exeext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15038   (eval $ac_link) 2>conftest.er1
15039   ac_status=$?
15040   grep -v '^ *+' conftest.er1 >conftest.err
15041   rm -f conftest.er1
15042   cat conftest.err >&5
15043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044   (exit $ac_status); } &&
15045          { ac_try='test -z "$ac_c_werror_flag"
15046                          || test ! -s conftest.err'
15047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048   (eval $ac_try) 2>&5
15049   ac_status=$?
15050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051   (exit $ac_status); }; } &&
15052          { ac_try='test -s conftest$ac_exeext'
15053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054   (eval $ac_try) 2>&5
15055   ac_status=$?
15056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057   (exit $ac_status); }; }; then
15058   ac_cv_lib_m_hypotf=yes
15059 else
15060   echo "$as_me: failed program was:" >&5
15061 sed 's/^/| /' conftest.$ac_ext >&5
15062
15063 ac_cv_lib_m_hypotf=no
15064 fi
15065 rm -f conftest.err conftest.$ac_objext \
15066       conftest$ac_exeext conftest.$ac_ext
15067 LIBS=$ac_check_lib_save_LIBS
15068 fi
15069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15070 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15071 if test $ac_cv_lib_m_hypotf = yes; then
15072
15073 cat >>confdefs.h <<\_ACEOF
15074 #define HAVE_HYPOTF 1
15075 _ACEOF
15076
15077 fi
15078
15079 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15080 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15081 if test "${ac_cv_lib_m_hypot+set}" = set; then
15082   echo $ECHO_N "(cached) $ECHO_C" >&6
15083 else
15084   ac_check_lib_save_LIBS=$LIBS
15085 LIBS="-lm  $LIBS"
15086 if test x$gcc_no_link = xyes; then
15087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15089    { (exit 1); exit 1; }; }
15090 fi
15091 cat >conftest.$ac_ext <<_ACEOF
15092 /* confdefs.h.  */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h.  */
15097
15098 /* Override any gcc2 internal prototype to avoid an error.  */
15099 #ifdef __cplusplus
15100 extern "C"
15101 #endif
15102 /* We use char because int might match the return type of a gcc2
15103    builtin and then its argument prototype would still apply.  */
15104 char hypot ();
15105 int
15106 main ()
15107 {
15108 hypot ();
15109   ;
15110   return 0;
15111 }
15112 _ACEOF
15113 rm -f conftest.$ac_objext conftest$ac_exeext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15115   (eval $ac_link) 2>conftest.er1
15116   ac_status=$?
15117   grep -v '^ *+' conftest.er1 >conftest.err
15118   rm -f conftest.er1
15119   cat conftest.err >&5
15120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121   (exit $ac_status); } &&
15122          { ac_try='test -z "$ac_c_werror_flag"
15123                          || test ! -s conftest.err'
15124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125   (eval $ac_try) 2>&5
15126   ac_status=$?
15127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128   (exit $ac_status); }; } &&
15129          { ac_try='test -s conftest$ac_exeext'
15130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131   (eval $ac_try) 2>&5
15132   ac_status=$?
15133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134   (exit $ac_status); }; }; then
15135   ac_cv_lib_m_hypot=yes
15136 else
15137   echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.$ac_ext >&5
15139
15140 ac_cv_lib_m_hypot=no
15141 fi
15142 rm -f conftest.err conftest.$ac_objext \
15143       conftest$ac_exeext conftest.$ac_ext
15144 LIBS=$ac_check_lib_save_LIBS
15145 fi
15146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15147 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15148 if test $ac_cv_lib_m_hypot = yes; then
15149
15150 cat >>confdefs.h <<\_ACEOF
15151 #define HAVE_HYPOT 1
15152 _ACEOF
15153
15154 fi
15155
15156 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15157 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15158 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15159   echo $ECHO_N "(cached) $ECHO_C" >&6
15160 else
15161   ac_check_lib_save_LIBS=$LIBS
15162 LIBS="-lm  $LIBS"
15163 if test x$gcc_no_link = xyes; then
15164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15166    { (exit 1); exit 1; }; }
15167 fi
15168 cat >conftest.$ac_ext <<_ACEOF
15169 /* confdefs.h.  */
15170 _ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h.  */
15174
15175 /* Override any gcc2 internal prototype to avoid an error.  */
15176 #ifdef __cplusplus
15177 extern "C"
15178 #endif
15179 /* We use char because int might match the return type of a gcc2
15180    builtin and then its argument prototype would still apply.  */
15181 char hypotl ();
15182 int
15183 main ()
15184 {
15185 hypotl ();
15186   ;
15187   return 0;
15188 }
15189 _ACEOF
15190 rm -f conftest.$ac_objext conftest$ac_exeext
15191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15192   (eval $ac_link) 2>conftest.er1
15193   ac_status=$?
15194   grep -v '^ *+' conftest.er1 >conftest.err
15195   rm -f conftest.er1
15196   cat conftest.err >&5
15197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198   (exit $ac_status); } &&
15199          { ac_try='test -z "$ac_c_werror_flag"
15200                          || test ! -s conftest.err'
15201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202   (eval $ac_try) 2>&5
15203   ac_status=$?
15204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205   (exit $ac_status); }; } &&
15206          { ac_try='test -s conftest$ac_exeext'
15207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208   (eval $ac_try) 2>&5
15209   ac_status=$?
15210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211   (exit $ac_status); }; }; then
15212   ac_cv_lib_m_hypotl=yes
15213 else
15214   echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.$ac_ext >&5
15216
15217 ac_cv_lib_m_hypotl=no
15218 fi
15219 rm -f conftest.err conftest.$ac_objext \
15220       conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_lib_save_LIBS
15222 fi
15223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15224 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15225 if test $ac_cv_lib_m_hypotl = yes; then
15226
15227 cat >>confdefs.h <<\_ACEOF
15228 #define HAVE_HYPOTL 1
15229 _ACEOF
15230
15231 fi
15232
15233 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15234 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15235 if test "${ac_cv_lib_m_logf+set}" = set; then
15236   echo $ECHO_N "(cached) $ECHO_C" >&6
15237 else
15238   ac_check_lib_save_LIBS=$LIBS
15239 LIBS="-lm  $LIBS"
15240 if test x$gcc_no_link = xyes; then
15241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15243    { (exit 1); exit 1; }; }
15244 fi
15245 cat >conftest.$ac_ext <<_ACEOF
15246 /* confdefs.h.  */
15247 _ACEOF
15248 cat confdefs.h >>conftest.$ac_ext
15249 cat >>conftest.$ac_ext <<_ACEOF
15250 /* end confdefs.h.  */
15251
15252 /* Override any gcc2 internal prototype to avoid an error.  */
15253 #ifdef __cplusplus
15254 extern "C"
15255 #endif
15256 /* We use char because int might match the return type of a gcc2
15257    builtin and then its argument prototype would still apply.  */
15258 char logf ();
15259 int
15260 main ()
15261 {
15262 logf ();
15263   ;
15264   return 0;
15265 }
15266 _ACEOF
15267 rm -f conftest.$ac_objext conftest$ac_exeext
15268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15269   (eval $ac_link) 2>conftest.er1
15270   ac_status=$?
15271   grep -v '^ *+' conftest.er1 >conftest.err
15272   rm -f conftest.er1
15273   cat conftest.err >&5
15274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275   (exit $ac_status); } &&
15276          { ac_try='test -z "$ac_c_werror_flag"
15277                          || test ! -s conftest.err'
15278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15279   (eval $ac_try) 2>&5
15280   ac_status=$?
15281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282   (exit $ac_status); }; } &&
15283          { ac_try='test -s conftest$ac_exeext'
15284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15285   (eval $ac_try) 2>&5
15286   ac_status=$?
15287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288   (exit $ac_status); }; }; then
15289   ac_cv_lib_m_logf=yes
15290 else
15291   echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15293
15294 ac_cv_lib_m_logf=no
15295 fi
15296 rm -f conftest.err conftest.$ac_objext \
15297       conftest$ac_exeext conftest.$ac_ext
15298 LIBS=$ac_check_lib_save_LIBS
15299 fi
15300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15301 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15302 if test $ac_cv_lib_m_logf = yes; then
15303
15304 cat >>confdefs.h <<\_ACEOF
15305 #define HAVE_LOGF 1
15306 _ACEOF
15307
15308 fi
15309
15310 echo "$as_me:$LINENO: checking for log in -lm" >&5
15311 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15312 if test "${ac_cv_lib_m_log+set}" = set; then
15313   echo $ECHO_N "(cached) $ECHO_C" >&6
15314 else
15315   ac_check_lib_save_LIBS=$LIBS
15316 LIBS="-lm  $LIBS"
15317 if test x$gcc_no_link = xyes; then
15318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15320    { (exit 1); exit 1; }; }
15321 fi
15322 cat >conftest.$ac_ext <<_ACEOF
15323 /* confdefs.h.  */
15324 _ACEOF
15325 cat confdefs.h >>conftest.$ac_ext
15326 cat >>conftest.$ac_ext <<_ACEOF
15327 /* end confdefs.h.  */
15328
15329 /* Override any gcc2 internal prototype to avoid an error.  */
15330 #ifdef __cplusplus
15331 extern "C"
15332 #endif
15333 /* We use char because int might match the return type of a gcc2
15334    builtin and then its argument prototype would still apply.  */
15335 char log ();
15336 int
15337 main ()
15338 {
15339 log ();
15340   ;
15341   return 0;
15342 }
15343 _ACEOF
15344 rm -f conftest.$ac_objext conftest$ac_exeext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15346   (eval $ac_link) 2>conftest.er1
15347   ac_status=$?
15348   grep -v '^ *+' conftest.er1 >conftest.err
15349   rm -f conftest.er1
15350   cat conftest.err >&5
15351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352   (exit $ac_status); } &&
15353          { ac_try='test -z "$ac_c_werror_flag"
15354                          || test ! -s conftest.err'
15355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356   (eval $ac_try) 2>&5
15357   ac_status=$?
15358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359   (exit $ac_status); }; } &&
15360          { ac_try='test -s conftest$ac_exeext'
15361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362   (eval $ac_try) 2>&5
15363   ac_status=$?
15364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365   (exit $ac_status); }; }; then
15366   ac_cv_lib_m_log=yes
15367 else
15368   echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 ac_cv_lib_m_log=no
15372 fi
15373 rm -f conftest.err conftest.$ac_objext \
15374       conftest$ac_exeext conftest.$ac_ext
15375 LIBS=$ac_check_lib_save_LIBS
15376 fi
15377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15378 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15379 if test $ac_cv_lib_m_log = yes; then
15380
15381 cat >>confdefs.h <<\_ACEOF
15382 #define HAVE_LOG 1
15383 _ACEOF
15384
15385 fi
15386
15387 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15388 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15389 if test "${ac_cv_lib_m_logl+set}" = set; then
15390   echo $ECHO_N "(cached) $ECHO_C" >&6
15391 else
15392   ac_check_lib_save_LIBS=$LIBS
15393 LIBS="-lm  $LIBS"
15394 if test x$gcc_no_link = xyes; then
15395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15397    { (exit 1); exit 1; }; }
15398 fi
15399 cat >conftest.$ac_ext <<_ACEOF
15400 /* confdefs.h.  */
15401 _ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h.  */
15405
15406 /* Override any gcc2 internal prototype to avoid an error.  */
15407 #ifdef __cplusplus
15408 extern "C"
15409 #endif
15410 /* We use char because int might match the return type of a gcc2
15411    builtin and then its argument prototype would still apply.  */
15412 char logl ();
15413 int
15414 main ()
15415 {
15416 logl ();
15417   ;
15418   return 0;
15419 }
15420 _ACEOF
15421 rm -f conftest.$ac_objext conftest$ac_exeext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15423   (eval $ac_link) 2>conftest.er1
15424   ac_status=$?
15425   grep -v '^ *+' conftest.er1 >conftest.err
15426   rm -f conftest.er1
15427   cat conftest.err >&5
15428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429   (exit $ac_status); } &&
15430          { ac_try='test -z "$ac_c_werror_flag"
15431                          || test ! -s conftest.err'
15432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433   (eval $ac_try) 2>&5
15434   ac_status=$?
15435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436   (exit $ac_status); }; } &&
15437          { ac_try='test -s conftest$ac_exeext'
15438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439   (eval $ac_try) 2>&5
15440   ac_status=$?
15441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442   (exit $ac_status); }; }; then
15443   ac_cv_lib_m_logl=yes
15444 else
15445   echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.$ac_ext >&5
15447
15448 ac_cv_lib_m_logl=no
15449 fi
15450 rm -f conftest.err conftest.$ac_objext \
15451       conftest$ac_exeext conftest.$ac_ext
15452 LIBS=$ac_check_lib_save_LIBS
15453 fi
15454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
15455 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
15456 if test $ac_cv_lib_m_logl = yes; then
15457
15458 cat >>confdefs.h <<\_ACEOF
15459 #define HAVE_LOGL 1
15460 _ACEOF
15461
15462 fi
15463
15464 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
15465 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
15466 if test "${ac_cv_lib_m_clogf+set}" = set; then
15467   echo $ECHO_N "(cached) $ECHO_C" >&6
15468 else
15469   ac_check_lib_save_LIBS=$LIBS
15470 LIBS="-lm  $LIBS"
15471 if test x$gcc_no_link = xyes; then
15472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15474    { (exit 1); exit 1; }; }
15475 fi
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h.  */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h.  */
15482
15483 /* Override any gcc2 internal prototype to avoid an error.  */
15484 #ifdef __cplusplus
15485 extern "C"
15486 #endif
15487 /* We use char because int might match the return type of a gcc2
15488    builtin and then its argument prototype would still apply.  */
15489 char clogf ();
15490 int
15491 main ()
15492 {
15493 clogf ();
15494   ;
15495   return 0;
15496 }
15497 _ACEOF
15498 rm -f conftest.$ac_objext conftest$ac_exeext
15499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15500   (eval $ac_link) 2>conftest.er1
15501   ac_status=$?
15502   grep -v '^ *+' conftest.er1 >conftest.err
15503   rm -f conftest.er1
15504   cat conftest.err >&5
15505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506   (exit $ac_status); } &&
15507          { ac_try='test -z "$ac_c_werror_flag"
15508                          || test ! -s conftest.err'
15509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510   (eval $ac_try) 2>&5
15511   ac_status=$?
15512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513   (exit $ac_status); }; } &&
15514          { ac_try='test -s conftest$ac_exeext'
15515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15516   (eval $ac_try) 2>&5
15517   ac_status=$?
15518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519   (exit $ac_status); }; }; then
15520   ac_cv_lib_m_clogf=yes
15521 else
15522   echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.$ac_ext >&5
15524
15525 ac_cv_lib_m_clogf=no
15526 fi
15527 rm -f conftest.err conftest.$ac_objext \
15528       conftest$ac_exeext conftest.$ac_ext
15529 LIBS=$ac_check_lib_save_LIBS
15530 fi
15531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
15532 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
15533 if test $ac_cv_lib_m_clogf = yes; then
15534
15535 cat >>confdefs.h <<\_ACEOF
15536 #define HAVE_CLOGF 1
15537 _ACEOF
15538
15539 fi
15540
15541 echo "$as_me:$LINENO: checking for clog in -lm" >&5
15542 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
15543 if test "${ac_cv_lib_m_clog+set}" = set; then
15544   echo $ECHO_N "(cached) $ECHO_C" >&6
15545 else
15546   ac_check_lib_save_LIBS=$LIBS
15547 LIBS="-lm  $LIBS"
15548 if test x$gcc_no_link = xyes; then
15549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15551    { (exit 1); exit 1; }; }
15552 fi
15553 cat >conftest.$ac_ext <<_ACEOF
15554 /* confdefs.h.  */
15555 _ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h.  */
15559
15560 /* Override any gcc2 internal prototype to avoid an error.  */
15561 #ifdef __cplusplus
15562 extern "C"
15563 #endif
15564 /* We use char because int might match the return type of a gcc2
15565    builtin and then its argument prototype would still apply.  */
15566 char clog ();
15567 int
15568 main ()
15569 {
15570 clog ();
15571   ;
15572   return 0;
15573 }
15574 _ACEOF
15575 rm -f conftest.$ac_objext conftest$ac_exeext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15577   (eval $ac_link) 2>conftest.er1
15578   ac_status=$?
15579   grep -v '^ *+' conftest.er1 >conftest.err
15580   rm -f conftest.er1
15581   cat conftest.err >&5
15582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583   (exit $ac_status); } &&
15584          { ac_try='test -z "$ac_c_werror_flag"
15585                          || test ! -s conftest.err'
15586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587   (eval $ac_try) 2>&5
15588   ac_status=$?
15589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590   (exit $ac_status); }; } &&
15591          { ac_try='test -s conftest$ac_exeext'
15592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593   (eval $ac_try) 2>&5
15594   ac_status=$?
15595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596   (exit $ac_status); }; }; then
15597   ac_cv_lib_m_clog=yes
15598 else
15599   echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602 ac_cv_lib_m_clog=no
15603 fi
15604 rm -f conftest.err conftest.$ac_objext \
15605       conftest$ac_exeext conftest.$ac_ext
15606 LIBS=$ac_check_lib_save_LIBS
15607 fi
15608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
15609 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
15610 if test $ac_cv_lib_m_clog = yes; then
15611
15612 cat >>confdefs.h <<\_ACEOF
15613 #define HAVE_CLOG 1
15614 _ACEOF
15615
15616 fi
15617
15618 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
15619 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
15620 if test "${ac_cv_lib_m_clogl+set}" = set; then
15621   echo $ECHO_N "(cached) $ECHO_C" >&6
15622 else
15623   ac_check_lib_save_LIBS=$LIBS
15624 LIBS="-lm  $LIBS"
15625 if test x$gcc_no_link = xyes; then
15626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15628    { (exit 1); exit 1; }; }
15629 fi
15630 cat >conftest.$ac_ext <<_ACEOF
15631 /* confdefs.h.  */
15632 _ACEOF
15633 cat confdefs.h >>conftest.$ac_ext
15634 cat >>conftest.$ac_ext <<_ACEOF
15635 /* end confdefs.h.  */
15636
15637 /* Override any gcc2 internal prototype to avoid an error.  */
15638 #ifdef __cplusplus
15639 extern "C"
15640 #endif
15641 /* We use char because int might match the return type of a gcc2
15642    builtin and then its argument prototype would still apply.  */
15643 char clogl ();
15644 int
15645 main ()
15646 {
15647 clogl ();
15648   ;
15649   return 0;
15650 }
15651 _ACEOF
15652 rm -f conftest.$ac_objext conftest$ac_exeext
15653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15654   (eval $ac_link) 2>conftest.er1
15655   ac_status=$?
15656   grep -v '^ *+' conftest.er1 >conftest.err
15657   rm -f conftest.er1
15658   cat conftest.err >&5
15659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660   (exit $ac_status); } &&
15661          { ac_try='test -z "$ac_c_werror_flag"
15662                          || test ! -s conftest.err'
15663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664   (eval $ac_try) 2>&5
15665   ac_status=$?
15666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667   (exit $ac_status); }; } &&
15668          { ac_try='test -s conftest$ac_exeext'
15669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670   (eval $ac_try) 2>&5
15671   ac_status=$?
15672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673   (exit $ac_status); }; }; then
15674   ac_cv_lib_m_clogl=yes
15675 else
15676   echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.$ac_ext >&5
15678
15679 ac_cv_lib_m_clogl=no
15680 fi
15681 rm -f conftest.err conftest.$ac_objext \
15682       conftest$ac_exeext conftest.$ac_ext
15683 LIBS=$ac_check_lib_save_LIBS
15684 fi
15685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
15686 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
15687 if test $ac_cv_lib_m_clogl = yes; then
15688
15689 cat >>confdefs.h <<\_ACEOF
15690 #define HAVE_CLOGL 1
15691 _ACEOF
15692
15693 fi
15694
15695 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
15696 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
15697 if test "${ac_cv_lib_m_log10f+set}" = set; then
15698   echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700   ac_check_lib_save_LIBS=$LIBS
15701 LIBS="-lm  $LIBS"
15702 if test x$gcc_no_link = xyes; then
15703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15705    { (exit 1); exit 1; }; }
15706 fi
15707 cat >conftest.$ac_ext <<_ACEOF
15708 /* confdefs.h.  */
15709 _ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h.  */
15713
15714 /* Override any gcc2 internal prototype to avoid an error.  */
15715 #ifdef __cplusplus
15716 extern "C"
15717 #endif
15718 /* We use char because int might match the return type of a gcc2
15719    builtin and then its argument prototype would still apply.  */
15720 char log10f ();
15721 int
15722 main ()
15723 {
15724 log10f ();
15725   ;
15726   return 0;
15727 }
15728 _ACEOF
15729 rm -f conftest.$ac_objext conftest$ac_exeext
15730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15731   (eval $ac_link) 2>conftest.er1
15732   ac_status=$?
15733   grep -v '^ *+' conftest.er1 >conftest.err
15734   rm -f conftest.er1
15735   cat conftest.err >&5
15736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737   (exit $ac_status); } &&
15738          { ac_try='test -z "$ac_c_werror_flag"
15739                          || test ! -s conftest.err'
15740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741   (eval $ac_try) 2>&5
15742   ac_status=$?
15743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744   (exit $ac_status); }; } &&
15745          { ac_try='test -s conftest$ac_exeext'
15746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15747   (eval $ac_try) 2>&5
15748   ac_status=$?
15749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750   (exit $ac_status); }; }; then
15751   ac_cv_lib_m_log10f=yes
15752 else
15753   echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.$ac_ext >&5
15755
15756 ac_cv_lib_m_log10f=no
15757 fi
15758 rm -f conftest.err conftest.$ac_objext \
15759       conftest$ac_exeext conftest.$ac_ext
15760 LIBS=$ac_check_lib_save_LIBS
15761 fi
15762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
15763 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
15764 if test $ac_cv_lib_m_log10f = yes; then
15765
15766 cat >>confdefs.h <<\_ACEOF
15767 #define HAVE_LOG10F 1
15768 _ACEOF
15769
15770 fi
15771
15772 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
15773 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
15774 if test "${ac_cv_lib_m_log10+set}" = set; then
15775   echo $ECHO_N "(cached) $ECHO_C" >&6
15776 else
15777   ac_check_lib_save_LIBS=$LIBS
15778 LIBS="-lm  $LIBS"
15779 if test x$gcc_no_link = xyes; then
15780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15782    { (exit 1); exit 1; }; }
15783 fi
15784 cat >conftest.$ac_ext <<_ACEOF
15785 /* confdefs.h.  */
15786 _ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h.  */
15790
15791 /* Override any gcc2 internal prototype to avoid an error.  */
15792 #ifdef __cplusplus
15793 extern "C"
15794 #endif
15795 /* We use char because int might match the return type of a gcc2
15796    builtin and then its argument prototype would still apply.  */
15797 char log10 ();
15798 int
15799 main ()
15800 {
15801 log10 ();
15802   ;
15803   return 0;
15804 }
15805 _ACEOF
15806 rm -f conftest.$ac_objext conftest$ac_exeext
15807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15808   (eval $ac_link) 2>conftest.er1
15809   ac_status=$?
15810   grep -v '^ *+' conftest.er1 >conftest.err
15811   rm -f conftest.er1
15812   cat conftest.err >&5
15813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814   (exit $ac_status); } &&
15815          { ac_try='test -z "$ac_c_werror_flag"
15816                          || test ! -s conftest.err'
15817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818   (eval $ac_try) 2>&5
15819   ac_status=$?
15820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821   (exit $ac_status); }; } &&
15822          { ac_try='test -s conftest$ac_exeext'
15823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824   (eval $ac_try) 2>&5
15825   ac_status=$?
15826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827   (exit $ac_status); }; }; then
15828   ac_cv_lib_m_log10=yes
15829 else
15830   echo "$as_me: failed program was:" >&5
15831 sed 's/^/| /' conftest.$ac_ext >&5
15832
15833 ac_cv_lib_m_log10=no
15834 fi
15835 rm -f conftest.err conftest.$ac_objext \
15836       conftest$ac_exeext conftest.$ac_ext
15837 LIBS=$ac_check_lib_save_LIBS
15838 fi
15839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
15840 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
15841 if test $ac_cv_lib_m_log10 = yes; then
15842
15843 cat >>confdefs.h <<\_ACEOF
15844 #define HAVE_LOG10 1
15845 _ACEOF
15846
15847 fi
15848
15849 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
15850 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
15851 if test "${ac_cv_lib_m_log10l+set}" = set; then
15852   echo $ECHO_N "(cached) $ECHO_C" >&6
15853 else
15854   ac_check_lib_save_LIBS=$LIBS
15855 LIBS="-lm  $LIBS"
15856 if test x$gcc_no_link = xyes; then
15857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15859    { (exit 1); exit 1; }; }
15860 fi
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h.  */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h.  */
15867
15868 /* Override any gcc2 internal prototype to avoid an error.  */
15869 #ifdef __cplusplus
15870 extern "C"
15871 #endif
15872 /* We use char because int might match the return type of a gcc2
15873    builtin and then its argument prototype would still apply.  */
15874 char log10l ();
15875 int
15876 main ()
15877 {
15878 log10l ();
15879   ;
15880   return 0;
15881 }
15882 _ACEOF
15883 rm -f conftest.$ac_objext conftest$ac_exeext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15885   (eval $ac_link) 2>conftest.er1
15886   ac_status=$?
15887   grep -v '^ *+' conftest.er1 >conftest.err
15888   rm -f conftest.er1
15889   cat conftest.err >&5
15890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891   (exit $ac_status); } &&
15892          { ac_try='test -z "$ac_c_werror_flag"
15893                          || test ! -s conftest.err'
15894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895   (eval $ac_try) 2>&5
15896   ac_status=$?
15897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898   (exit $ac_status); }; } &&
15899          { ac_try='test -s conftest$ac_exeext'
15900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901   (eval $ac_try) 2>&5
15902   ac_status=$?
15903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904   (exit $ac_status); }; }; then
15905   ac_cv_lib_m_log10l=yes
15906 else
15907   echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15909
15910 ac_cv_lib_m_log10l=no
15911 fi
15912 rm -f conftest.err conftest.$ac_objext \
15913       conftest$ac_exeext conftest.$ac_ext
15914 LIBS=$ac_check_lib_save_LIBS
15915 fi
15916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
15917 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
15918 if test $ac_cv_lib_m_log10l = yes; then
15919
15920 cat >>confdefs.h <<\_ACEOF
15921 #define HAVE_LOG10L 1
15922 _ACEOF
15923
15924 fi
15925
15926 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
15927 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
15928 if test "${ac_cv_lib_m_clog10f+set}" = set; then
15929   echo $ECHO_N "(cached) $ECHO_C" >&6
15930 else
15931   ac_check_lib_save_LIBS=$LIBS
15932 LIBS="-lm  $LIBS"
15933 if test x$gcc_no_link = xyes; then
15934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15936    { (exit 1); exit 1; }; }
15937 fi
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h.  */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h.  */
15944
15945 /* Override any gcc2 internal prototype to avoid an error.  */
15946 #ifdef __cplusplus
15947 extern "C"
15948 #endif
15949 /* We use char because int might match the return type of a gcc2
15950    builtin and then its argument prototype would still apply.  */
15951 char clog10f ();
15952 int
15953 main ()
15954 {
15955 clog10f ();
15956   ;
15957   return 0;
15958 }
15959 _ACEOF
15960 rm -f conftest.$ac_objext conftest$ac_exeext
15961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15962   (eval $ac_link) 2>conftest.er1
15963   ac_status=$?
15964   grep -v '^ *+' conftest.er1 >conftest.err
15965   rm -f conftest.er1
15966   cat conftest.err >&5
15967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968   (exit $ac_status); } &&
15969          { ac_try='test -z "$ac_c_werror_flag"
15970                          || test ! -s conftest.err'
15971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972   (eval $ac_try) 2>&5
15973   ac_status=$?
15974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975   (exit $ac_status); }; } &&
15976          { ac_try='test -s conftest$ac_exeext'
15977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978   (eval $ac_try) 2>&5
15979   ac_status=$?
15980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981   (exit $ac_status); }; }; then
15982   ac_cv_lib_m_clog10f=yes
15983 else
15984   echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15986
15987 ac_cv_lib_m_clog10f=no
15988 fi
15989 rm -f conftest.err conftest.$ac_objext \
15990       conftest$ac_exeext conftest.$ac_ext
15991 LIBS=$ac_check_lib_save_LIBS
15992 fi
15993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
15994 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
15995 if test $ac_cv_lib_m_clog10f = yes; then
15996
15997 cat >>confdefs.h <<\_ACEOF
15998 #define HAVE_CLOG10F 1
15999 _ACEOF
16000
16001 fi
16002
16003 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16004 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16005 if test "${ac_cv_lib_m_clog10+set}" = set; then
16006   echo $ECHO_N "(cached) $ECHO_C" >&6
16007 else
16008   ac_check_lib_save_LIBS=$LIBS
16009 LIBS="-lm  $LIBS"
16010 if test x$gcc_no_link = xyes; then
16011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16013    { (exit 1); exit 1; }; }
16014 fi
16015 cat >conftest.$ac_ext <<_ACEOF
16016 /* confdefs.h.  */
16017 _ACEOF
16018 cat confdefs.h >>conftest.$ac_ext
16019 cat >>conftest.$ac_ext <<_ACEOF
16020 /* end confdefs.h.  */
16021
16022 /* Override any gcc2 internal prototype to avoid an error.  */
16023 #ifdef __cplusplus
16024 extern "C"
16025 #endif
16026 /* We use char because int might match the return type of a gcc2
16027    builtin and then its argument prototype would still apply.  */
16028 char clog10 ();
16029 int
16030 main ()
16031 {
16032 clog10 ();
16033   ;
16034   return 0;
16035 }
16036 _ACEOF
16037 rm -f conftest.$ac_objext conftest$ac_exeext
16038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16039   (eval $ac_link) 2>conftest.er1
16040   ac_status=$?
16041   grep -v '^ *+' conftest.er1 >conftest.err
16042   rm -f conftest.er1
16043   cat conftest.err >&5
16044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045   (exit $ac_status); } &&
16046          { ac_try='test -z "$ac_c_werror_flag"
16047                          || test ! -s conftest.err'
16048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049   (eval $ac_try) 2>&5
16050   ac_status=$?
16051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052   (exit $ac_status); }; } &&
16053          { ac_try='test -s conftest$ac_exeext'
16054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055   (eval $ac_try) 2>&5
16056   ac_status=$?
16057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058   (exit $ac_status); }; }; then
16059   ac_cv_lib_m_clog10=yes
16060 else
16061   echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16063
16064 ac_cv_lib_m_clog10=no
16065 fi
16066 rm -f conftest.err conftest.$ac_objext \
16067       conftest$ac_exeext conftest.$ac_ext
16068 LIBS=$ac_check_lib_save_LIBS
16069 fi
16070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16071 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16072 if test $ac_cv_lib_m_clog10 = yes; then
16073
16074 cat >>confdefs.h <<\_ACEOF
16075 #define HAVE_CLOG10 1
16076 _ACEOF
16077
16078 fi
16079
16080 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16081 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16082 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16083   echo $ECHO_N "(cached) $ECHO_C" >&6
16084 else
16085   ac_check_lib_save_LIBS=$LIBS
16086 LIBS="-lm  $LIBS"
16087 if test x$gcc_no_link = xyes; then
16088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16090    { (exit 1); exit 1; }; }
16091 fi
16092 cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h.  */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h.  */
16098
16099 /* Override any gcc2 internal prototype to avoid an error.  */
16100 #ifdef __cplusplus
16101 extern "C"
16102 #endif
16103 /* We use char because int might match the return type of a gcc2
16104    builtin and then its argument prototype would still apply.  */
16105 char clog10l ();
16106 int
16107 main ()
16108 {
16109 clog10l ();
16110   ;
16111   return 0;
16112 }
16113 _ACEOF
16114 rm -f conftest.$ac_objext conftest$ac_exeext
16115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16116   (eval $ac_link) 2>conftest.er1
16117   ac_status=$?
16118   grep -v '^ *+' conftest.er1 >conftest.err
16119   rm -f conftest.er1
16120   cat conftest.err >&5
16121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122   (exit $ac_status); } &&
16123          { ac_try='test -z "$ac_c_werror_flag"
16124                          || test ! -s conftest.err'
16125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126   (eval $ac_try) 2>&5
16127   ac_status=$?
16128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129   (exit $ac_status); }; } &&
16130          { ac_try='test -s conftest$ac_exeext'
16131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16132   (eval $ac_try) 2>&5
16133   ac_status=$?
16134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135   (exit $ac_status); }; }; then
16136   ac_cv_lib_m_clog10l=yes
16137 else
16138   echo "$as_me: failed program was:" >&5
16139 sed 's/^/| /' conftest.$ac_ext >&5
16140
16141 ac_cv_lib_m_clog10l=no
16142 fi
16143 rm -f conftest.err conftest.$ac_objext \
16144       conftest$ac_exeext conftest.$ac_ext
16145 LIBS=$ac_check_lib_save_LIBS
16146 fi
16147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16148 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16149 if test $ac_cv_lib_m_clog10l = yes; then
16150
16151 cat >>confdefs.h <<\_ACEOF
16152 #define HAVE_CLOG10L 1
16153 _ACEOF
16154
16155 fi
16156
16157 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16158 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16159 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16160   echo $ECHO_N "(cached) $ECHO_C" >&6
16161 else
16162   ac_check_lib_save_LIBS=$LIBS
16163 LIBS="-lm  $LIBS"
16164 if test x$gcc_no_link = xyes; then
16165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16167    { (exit 1); exit 1; }; }
16168 fi
16169 cat >conftest.$ac_ext <<_ACEOF
16170 /* confdefs.h.  */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h.  */
16175
16176 /* Override any gcc2 internal prototype to avoid an error.  */
16177 #ifdef __cplusplus
16178 extern "C"
16179 #endif
16180 /* We use char because int might match the return type of a gcc2
16181    builtin and then its argument prototype would still apply.  */
16182 char nextafterf ();
16183 int
16184 main ()
16185 {
16186 nextafterf ();
16187   ;
16188   return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext conftest$ac_exeext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16193   (eval $ac_link) 2>conftest.er1
16194   ac_status=$?
16195   grep -v '^ *+' conftest.er1 >conftest.err
16196   rm -f conftest.er1
16197   cat conftest.err >&5
16198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199   (exit $ac_status); } &&
16200          { ac_try='test -z "$ac_c_werror_flag"
16201                          || test ! -s conftest.err'
16202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203   (eval $ac_try) 2>&5
16204   ac_status=$?
16205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206   (exit $ac_status); }; } &&
16207          { ac_try='test -s conftest$ac_exeext'
16208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209   (eval $ac_try) 2>&5
16210   ac_status=$?
16211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212   (exit $ac_status); }; }; then
16213   ac_cv_lib_m_nextafterf=yes
16214 else
16215   echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16217
16218 ac_cv_lib_m_nextafterf=no
16219 fi
16220 rm -f conftest.err conftest.$ac_objext \
16221       conftest$ac_exeext conftest.$ac_ext
16222 LIBS=$ac_check_lib_save_LIBS
16223 fi
16224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16225 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16226 if test $ac_cv_lib_m_nextafterf = yes; then
16227
16228 cat >>confdefs.h <<\_ACEOF
16229 #define HAVE_NEXTAFTERF 1
16230 _ACEOF
16231
16232 fi
16233
16234 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16235 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16236 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16237   echo $ECHO_N "(cached) $ECHO_C" >&6
16238 else
16239   ac_check_lib_save_LIBS=$LIBS
16240 LIBS="-lm  $LIBS"
16241 if test x$gcc_no_link = xyes; then
16242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16244    { (exit 1); exit 1; }; }
16245 fi
16246 cat >conftest.$ac_ext <<_ACEOF
16247 /* confdefs.h.  */
16248 _ACEOF
16249 cat confdefs.h >>conftest.$ac_ext
16250 cat >>conftest.$ac_ext <<_ACEOF
16251 /* end confdefs.h.  */
16252
16253 /* Override any gcc2 internal prototype to avoid an error.  */
16254 #ifdef __cplusplus
16255 extern "C"
16256 #endif
16257 /* We use char because int might match the return type of a gcc2
16258    builtin and then its argument prototype would still apply.  */
16259 char nextafter ();
16260 int
16261 main ()
16262 {
16263 nextafter ();
16264   ;
16265   return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext conftest$ac_exeext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16270   (eval $ac_link) 2>conftest.er1
16271   ac_status=$?
16272   grep -v '^ *+' conftest.er1 >conftest.err
16273   rm -f conftest.er1
16274   cat conftest.err >&5
16275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276   (exit $ac_status); } &&
16277          { ac_try='test -z "$ac_c_werror_flag"
16278                          || test ! -s conftest.err'
16279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280   (eval $ac_try) 2>&5
16281   ac_status=$?
16282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283   (exit $ac_status); }; } &&
16284          { ac_try='test -s conftest$ac_exeext'
16285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286   (eval $ac_try) 2>&5
16287   ac_status=$?
16288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289   (exit $ac_status); }; }; then
16290   ac_cv_lib_m_nextafter=yes
16291 else
16292   echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 ac_cv_lib_m_nextafter=no
16296 fi
16297 rm -f conftest.err conftest.$ac_objext \
16298       conftest$ac_exeext conftest.$ac_ext
16299 LIBS=$ac_check_lib_save_LIBS
16300 fi
16301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
16302 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16303 if test $ac_cv_lib_m_nextafter = yes; then
16304
16305 cat >>confdefs.h <<\_ACEOF
16306 #define HAVE_NEXTAFTER 1
16307 _ACEOF
16308
16309 fi
16310
16311 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16312 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16313 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
16314   echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316   ac_check_lib_save_LIBS=$LIBS
16317 LIBS="-lm  $LIBS"
16318 if test x$gcc_no_link = xyes; then
16319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16321    { (exit 1); exit 1; }; }
16322 fi
16323 cat >conftest.$ac_ext <<_ACEOF
16324 /* confdefs.h.  */
16325 _ACEOF
16326 cat confdefs.h >>conftest.$ac_ext
16327 cat >>conftest.$ac_ext <<_ACEOF
16328 /* end confdefs.h.  */
16329
16330 /* Override any gcc2 internal prototype to avoid an error.  */
16331 #ifdef __cplusplus
16332 extern "C"
16333 #endif
16334 /* We use char because int might match the return type of a gcc2
16335    builtin and then its argument prototype would still apply.  */
16336 char nextafterl ();
16337 int
16338 main ()
16339 {
16340 nextafterl ();
16341   ;
16342   return 0;
16343 }
16344 _ACEOF
16345 rm -f conftest.$ac_objext conftest$ac_exeext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16347   (eval $ac_link) 2>conftest.er1
16348   ac_status=$?
16349   grep -v '^ *+' conftest.er1 >conftest.err
16350   rm -f conftest.er1
16351   cat conftest.err >&5
16352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353   (exit $ac_status); } &&
16354          { ac_try='test -z "$ac_c_werror_flag"
16355                          || test ! -s conftest.err'
16356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357   (eval $ac_try) 2>&5
16358   ac_status=$?
16359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360   (exit $ac_status); }; } &&
16361          { ac_try='test -s conftest$ac_exeext'
16362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363   (eval $ac_try) 2>&5
16364   ac_status=$?
16365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366   (exit $ac_status); }; }; then
16367   ac_cv_lib_m_nextafterl=yes
16368 else
16369   echo "$as_me: failed program was:" >&5
16370 sed 's/^/| /' conftest.$ac_ext >&5
16371
16372 ac_cv_lib_m_nextafterl=no
16373 fi
16374 rm -f conftest.err conftest.$ac_objext \
16375       conftest$ac_exeext conftest.$ac_ext
16376 LIBS=$ac_check_lib_save_LIBS
16377 fi
16378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16379 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16380 if test $ac_cv_lib_m_nextafterl = yes; then
16381
16382 cat >>confdefs.h <<\_ACEOF
16383 #define HAVE_NEXTAFTERL 1
16384 _ACEOF
16385
16386 fi
16387
16388 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16389 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16390 if test "${ac_cv_lib_m_powf+set}" = set; then
16391   echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393   ac_check_lib_save_LIBS=$LIBS
16394 LIBS="-lm  $LIBS"
16395 if test x$gcc_no_link = xyes; then
16396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16398    { (exit 1); exit 1; }; }
16399 fi
16400 cat >conftest.$ac_ext <<_ACEOF
16401 /* confdefs.h.  */
16402 _ACEOF
16403 cat confdefs.h >>conftest.$ac_ext
16404 cat >>conftest.$ac_ext <<_ACEOF
16405 /* end confdefs.h.  */
16406
16407 /* Override any gcc2 internal prototype to avoid an error.  */
16408 #ifdef __cplusplus
16409 extern "C"
16410 #endif
16411 /* We use char because int might match the return type of a gcc2
16412    builtin and then its argument prototype would still apply.  */
16413 char powf ();
16414 int
16415 main ()
16416 {
16417 powf ();
16418   ;
16419   return 0;
16420 }
16421 _ACEOF
16422 rm -f conftest.$ac_objext conftest$ac_exeext
16423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16424   (eval $ac_link) 2>conftest.er1
16425   ac_status=$?
16426   grep -v '^ *+' conftest.er1 >conftest.err
16427   rm -f conftest.er1
16428   cat conftest.err >&5
16429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430   (exit $ac_status); } &&
16431          { ac_try='test -z "$ac_c_werror_flag"
16432                          || test ! -s conftest.err'
16433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434   (eval $ac_try) 2>&5
16435   ac_status=$?
16436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437   (exit $ac_status); }; } &&
16438          { ac_try='test -s conftest$ac_exeext'
16439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440   (eval $ac_try) 2>&5
16441   ac_status=$?
16442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443   (exit $ac_status); }; }; then
16444   ac_cv_lib_m_powf=yes
16445 else
16446   echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.$ac_ext >&5
16448
16449 ac_cv_lib_m_powf=no
16450 fi
16451 rm -f conftest.err conftest.$ac_objext \
16452       conftest$ac_exeext conftest.$ac_ext
16453 LIBS=$ac_check_lib_save_LIBS
16454 fi
16455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
16456 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
16457 if test $ac_cv_lib_m_powf = yes; then
16458
16459 cat >>confdefs.h <<\_ACEOF
16460 #define HAVE_POWF 1
16461 _ACEOF
16462
16463 fi
16464
16465 echo "$as_me:$LINENO: checking for pow in -lm" >&5
16466 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
16467 if test "${ac_cv_lib_m_pow+set}" = set; then
16468   echo $ECHO_N "(cached) $ECHO_C" >&6
16469 else
16470   ac_check_lib_save_LIBS=$LIBS
16471 LIBS="-lm  $LIBS"
16472 if test x$gcc_no_link = xyes; then
16473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16475    { (exit 1); exit 1; }; }
16476 fi
16477 cat >conftest.$ac_ext <<_ACEOF
16478 /* confdefs.h.  */
16479 _ACEOF
16480 cat confdefs.h >>conftest.$ac_ext
16481 cat >>conftest.$ac_ext <<_ACEOF
16482 /* end confdefs.h.  */
16483
16484 /* Override any gcc2 internal prototype to avoid an error.  */
16485 #ifdef __cplusplus
16486 extern "C"
16487 #endif
16488 /* We use char because int might match the return type of a gcc2
16489    builtin and then its argument prototype would still apply.  */
16490 char pow ();
16491 int
16492 main ()
16493 {
16494 pow ();
16495   ;
16496   return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext conftest$ac_exeext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16501   (eval $ac_link) 2>conftest.er1
16502   ac_status=$?
16503   grep -v '^ *+' conftest.er1 >conftest.err
16504   rm -f conftest.er1
16505   cat conftest.err >&5
16506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507   (exit $ac_status); } &&
16508          { ac_try='test -z "$ac_c_werror_flag"
16509                          || test ! -s conftest.err'
16510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511   (eval $ac_try) 2>&5
16512   ac_status=$?
16513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514   (exit $ac_status); }; } &&
16515          { ac_try='test -s conftest$ac_exeext'
16516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517   (eval $ac_try) 2>&5
16518   ac_status=$?
16519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520   (exit $ac_status); }; }; then
16521   ac_cv_lib_m_pow=yes
16522 else
16523   echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.$ac_ext >&5
16525
16526 ac_cv_lib_m_pow=no
16527 fi
16528 rm -f conftest.err conftest.$ac_objext \
16529       conftest$ac_exeext conftest.$ac_ext
16530 LIBS=$ac_check_lib_save_LIBS
16531 fi
16532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16533 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
16534 if test $ac_cv_lib_m_pow = yes; then
16535
16536 cat >>confdefs.h <<\_ACEOF
16537 #define HAVE_POW 1
16538 _ACEOF
16539
16540 fi
16541
16542 echo "$as_me:$LINENO: checking for powl in -lm" >&5
16543 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
16544 if test "${ac_cv_lib_m_powl+set}" = set; then
16545   echo $ECHO_N "(cached) $ECHO_C" >&6
16546 else
16547   ac_check_lib_save_LIBS=$LIBS
16548 LIBS="-lm  $LIBS"
16549 if test x$gcc_no_link = xyes; then
16550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16552    { (exit 1); exit 1; }; }
16553 fi
16554 cat >conftest.$ac_ext <<_ACEOF
16555 /* confdefs.h.  */
16556 _ACEOF
16557 cat confdefs.h >>conftest.$ac_ext
16558 cat >>conftest.$ac_ext <<_ACEOF
16559 /* end confdefs.h.  */
16560
16561 /* Override any gcc2 internal prototype to avoid an error.  */
16562 #ifdef __cplusplus
16563 extern "C"
16564 #endif
16565 /* We use char because int might match the return type of a gcc2
16566    builtin and then its argument prototype would still apply.  */
16567 char powl ();
16568 int
16569 main ()
16570 {
16571 powl ();
16572   ;
16573   return 0;
16574 }
16575 _ACEOF
16576 rm -f conftest.$ac_objext conftest$ac_exeext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16578   (eval $ac_link) 2>conftest.er1
16579   ac_status=$?
16580   grep -v '^ *+' conftest.er1 >conftest.err
16581   rm -f conftest.er1
16582   cat conftest.err >&5
16583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584   (exit $ac_status); } &&
16585          { ac_try='test -z "$ac_c_werror_flag"
16586                          || test ! -s conftest.err'
16587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16588   (eval $ac_try) 2>&5
16589   ac_status=$?
16590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591   (exit $ac_status); }; } &&
16592          { ac_try='test -s conftest$ac_exeext'
16593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594   (eval $ac_try) 2>&5
16595   ac_status=$?
16596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597   (exit $ac_status); }; }; then
16598   ac_cv_lib_m_powl=yes
16599 else
16600   echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16602
16603 ac_cv_lib_m_powl=no
16604 fi
16605 rm -f conftest.err conftest.$ac_objext \
16606       conftest$ac_exeext conftest.$ac_ext
16607 LIBS=$ac_check_lib_save_LIBS
16608 fi
16609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
16610 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
16611 if test $ac_cv_lib_m_powl = yes; then
16612
16613 cat >>confdefs.h <<\_ACEOF
16614 #define HAVE_POWL 1
16615 _ACEOF
16616
16617 fi
16618
16619 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
16620 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
16621 if test "${ac_cv_lib_m_cpowf+set}" = set; then
16622   echo $ECHO_N "(cached) $ECHO_C" >&6
16623 else
16624   ac_check_lib_save_LIBS=$LIBS
16625 LIBS="-lm  $LIBS"
16626 if test x$gcc_no_link = xyes; then
16627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16629    { (exit 1); exit 1; }; }
16630 fi
16631 cat >conftest.$ac_ext <<_ACEOF
16632 /* confdefs.h.  */
16633 _ACEOF
16634 cat confdefs.h >>conftest.$ac_ext
16635 cat >>conftest.$ac_ext <<_ACEOF
16636 /* end confdefs.h.  */
16637
16638 /* Override any gcc2 internal prototype to avoid an error.  */
16639 #ifdef __cplusplus
16640 extern "C"
16641 #endif
16642 /* We use char because int might match the return type of a gcc2
16643    builtin and then its argument prototype would still apply.  */
16644 char cpowf ();
16645 int
16646 main ()
16647 {
16648 cpowf ();
16649   ;
16650   return 0;
16651 }
16652 _ACEOF
16653 rm -f conftest.$ac_objext conftest$ac_exeext
16654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16655   (eval $ac_link) 2>conftest.er1
16656   ac_status=$?
16657   grep -v '^ *+' conftest.er1 >conftest.err
16658   rm -f conftest.er1
16659   cat conftest.err >&5
16660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661   (exit $ac_status); } &&
16662          { ac_try='test -z "$ac_c_werror_flag"
16663                          || test ! -s conftest.err'
16664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665   (eval $ac_try) 2>&5
16666   ac_status=$?
16667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668   (exit $ac_status); }; } &&
16669          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
16675   ac_cv_lib_m_cpowf=yes
16676 else
16677   echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16679
16680 ac_cv_lib_m_cpowf=no
16681 fi
16682 rm -f conftest.err conftest.$ac_objext \
16683       conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_check_lib_save_LIBS
16685 fi
16686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
16687 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
16688 if test $ac_cv_lib_m_cpowf = yes; then
16689
16690 cat >>confdefs.h <<\_ACEOF
16691 #define HAVE_CPOWF 1
16692 _ACEOF
16693
16694 fi
16695
16696 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
16697 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
16698 if test "${ac_cv_lib_m_cpow+set}" = set; then
16699   echo $ECHO_N "(cached) $ECHO_C" >&6
16700 else
16701   ac_check_lib_save_LIBS=$LIBS
16702 LIBS="-lm  $LIBS"
16703 if test x$gcc_no_link = xyes; then
16704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16706    { (exit 1); exit 1; }; }
16707 fi
16708 cat >conftest.$ac_ext <<_ACEOF
16709 /* confdefs.h.  */
16710 _ACEOF
16711 cat confdefs.h >>conftest.$ac_ext
16712 cat >>conftest.$ac_ext <<_ACEOF
16713 /* end confdefs.h.  */
16714
16715 /* Override any gcc2 internal prototype to avoid an error.  */
16716 #ifdef __cplusplus
16717 extern "C"
16718 #endif
16719 /* We use char because int might match the return type of a gcc2
16720    builtin and then its argument prototype would still apply.  */
16721 char cpow ();
16722 int
16723 main ()
16724 {
16725 cpow ();
16726   ;
16727   return 0;
16728 }
16729 _ACEOF
16730 rm -f conftest.$ac_objext conftest$ac_exeext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16732   (eval $ac_link) 2>conftest.er1
16733   ac_status=$?
16734   grep -v '^ *+' conftest.er1 >conftest.err
16735   rm -f conftest.er1
16736   cat conftest.err >&5
16737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738   (exit $ac_status); } &&
16739          { ac_try='test -z "$ac_c_werror_flag"
16740                          || test ! -s conftest.err'
16741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742   (eval $ac_try) 2>&5
16743   ac_status=$?
16744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745   (exit $ac_status); }; } &&
16746          { ac_try='test -s conftest$ac_exeext'
16747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748   (eval $ac_try) 2>&5
16749   ac_status=$?
16750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751   (exit $ac_status); }; }; then
16752   ac_cv_lib_m_cpow=yes
16753 else
16754   echo "$as_me: failed program was:" >&5
16755 sed 's/^/| /' conftest.$ac_ext >&5
16756
16757 ac_cv_lib_m_cpow=no
16758 fi
16759 rm -f conftest.err conftest.$ac_objext \
16760       conftest$ac_exeext conftest.$ac_ext
16761 LIBS=$ac_check_lib_save_LIBS
16762 fi
16763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
16764 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
16765 if test $ac_cv_lib_m_cpow = yes; then
16766
16767 cat >>confdefs.h <<\_ACEOF
16768 #define HAVE_CPOW 1
16769 _ACEOF
16770
16771 fi
16772
16773 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
16774 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
16775 if test "${ac_cv_lib_m_cpowl+set}" = set; then
16776   echo $ECHO_N "(cached) $ECHO_C" >&6
16777 else
16778   ac_check_lib_save_LIBS=$LIBS
16779 LIBS="-lm  $LIBS"
16780 if test x$gcc_no_link = xyes; then
16781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16783    { (exit 1); exit 1; }; }
16784 fi
16785 cat >conftest.$ac_ext <<_ACEOF
16786 /* confdefs.h.  */
16787 _ACEOF
16788 cat confdefs.h >>conftest.$ac_ext
16789 cat >>conftest.$ac_ext <<_ACEOF
16790 /* end confdefs.h.  */
16791
16792 /* Override any gcc2 internal prototype to avoid an error.  */
16793 #ifdef __cplusplus
16794 extern "C"
16795 #endif
16796 /* We use char because int might match the return type of a gcc2
16797    builtin and then its argument prototype would still apply.  */
16798 char cpowl ();
16799 int
16800 main ()
16801 {
16802 cpowl ();
16803   ;
16804   return 0;
16805 }
16806 _ACEOF
16807 rm -f conftest.$ac_objext conftest$ac_exeext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16809   (eval $ac_link) 2>conftest.er1
16810   ac_status=$?
16811   grep -v '^ *+' conftest.er1 >conftest.err
16812   rm -f conftest.er1
16813   cat conftest.err >&5
16814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815   (exit $ac_status); } &&
16816          { ac_try='test -z "$ac_c_werror_flag"
16817                          || test ! -s conftest.err'
16818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819   (eval $ac_try) 2>&5
16820   ac_status=$?
16821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822   (exit $ac_status); }; } &&
16823          { ac_try='test -s conftest$ac_exeext'
16824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825   (eval $ac_try) 2>&5
16826   ac_status=$?
16827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828   (exit $ac_status); }; }; then
16829   ac_cv_lib_m_cpowl=yes
16830 else
16831   echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16833
16834 ac_cv_lib_m_cpowl=no
16835 fi
16836 rm -f conftest.err conftest.$ac_objext \
16837       conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16839 fi
16840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
16841 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
16842 if test $ac_cv_lib_m_cpowl = yes; then
16843
16844 cat >>confdefs.h <<\_ACEOF
16845 #define HAVE_CPOWL 1
16846 _ACEOF
16847
16848 fi
16849
16850 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
16851 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
16852 if test "${ac_cv_lib_m_roundf+set}" = set; then
16853   echo $ECHO_N "(cached) $ECHO_C" >&6
16854 else
16855   ac_check_lib_save_LIBS=$LIBS
16856 LIBS="-lm  $LIBS"
16857 if test x$gcc_no_link = xyes; then
16858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16860    { (exit 1); exit 1; }; }
16861 fi
16862 cat >conftest.$ac_ext <<_ACEOF
16863 /* confdefs.h.  */
16864 _ACEOF
16865 cat confdefs.h >>conftest.$ac_ext
16866 cat >>conftest.$ac_ext <<_ACEOF
16867 /* end confdefs.h.  */
16868
16869 /* Override any gcc2 internal prototype to avoid an error.  */
16870 #ifdef __cplusplus
16871 extern "C"
16872 #endif
16873 /* We use char because int might match the return type of a gcc2
16874    builtin and then its argument prototype would still apply.  */
16875 char roundf ();
16876 int
16877 main ()
16878 {
16879 roundf ();
16880   ;
16881   return 0;
16882 }
16883 _ACEOF
16884 rm -f conftest.$ac_objext conftest$ac_exeext
16885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16886   (eval $ac_link) 2>conftest.er1
16887   ac_status=$?
16888   grep -v '^ *+' conftest.er1 >conftest.err
16889   rm -f conftest.er1
16890   cat conftest.err >&5
16891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892   (exit $ac_status); } &&
16893          { ac_try='test -z "$ac_c_werror_flag"
16894                          || test ! -s conftest.err'
16895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896   (eval $ac_try) 2>&5
16897   ac_status=$?
16898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899   (exit $ac_status); }; } &&
16900          { ac_try='test -s conftest$ac_exeext'
16901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16902   (eval $ac_try) 2>&5
16903   ac_status=$?
16904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905   (exit $ac_status); }; }; then
16906   ac_cv_lib_m_roundf=yes
16907 else
16908   echo "$as_me: failed program was:" >&5
16909 sed 's/^/| /' conftest.$ac_ext >&5
16910
16911 ac_cv_lib_m_roundf=no
16912 fi
16913 rm -f conftest.err conftest.$ac_objext \
16914       conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_lib_save_LIBS
16916 fi
16917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
16918 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
16919 if test $ac_cv_lib_m_roundf = yes; then
16920
16921 cat >>confdefs.h <<\_ACEOF
16922 #define HAVE_ROUNDF 1
16923 _ACEOF
16924
16925 fi
16926
16927 echo "$as_me:$LINENO: checking for round in -lm" >&5
16928 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
16929 if test "${ac_cv_lib_m_round+set}" = set; then
16930   echo $ECHO_N "(cached) $ECHO_C" >&6
16931 else
16932   ac_check_lib_save_LIBS=$LIBS
16933 LIBS="-lm  $LIBS"
16934 if test x$gcc_no_link = xyes; then
16935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16937    { (exit 1); exit 1; }; }
16938 fi
16939 cat >conftest.$ac_ext <<_ACEOF
16940 /* confdefs.h.  */
16941 _ACEOF
16942 cat confdefs.h >>conftest.$ac_ext
16943 cat >>conftest.$ac_ext <<_ACEOF
16944 /* end confdefs.h.  */
16945
16946 /* Override any gcc2 internal prototype to avoid an error.  */
16947 #ifdef __cplusplus
16948 extern "C"
16949 #endif
16950 /* We use char because int might match the return type of a gcc2
16951    builtin and then its argument prototype would still apply.  */
16952 char round ();
16953 int
16954 main ()
16955 {
16956 round ();
16957   ;
16958   return 0;
16959 }
16960 _ACEOF
16961 rm -f conftest.$ac_objext conftest$ac_exeext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16963   (eval $ac_link) 2>conftest.er1
16964   ac_status=$?
16965   grep -v '^ *+' conftest.er1 >conftest.err
16966   rm -f conftest.er1
16967   cat conftest.err >&5
16968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969   (exit $ac_status); } &&
16970          { ac_try='test -z "$ac_c_werror_flag"
16971                          || test ! -s conftest.err'
16972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973   (eval $ac_try) 2>&5
16974   ac_status=$?
16975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976   (exit $ac_status); }; } &&
16977          { ac_try='test -s conftest$ac_exeext'
16978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979   (eval $ac_try) 2>&5
16980   ac_status=$?
16981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982   (exit $ac_status); }; }; then
16983   ac_cv_lib_m_round=yes
16984 else
16985   echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 ac_cv_lib_m_round=no
16989 fi
16990 rm -f conftest.err conftest.$ac_objext \
16991       conftest$ac_exeext conftest.$ac_ext
16992 LIBS=$ac_check_lib_save_LIBS
16993 fi
16994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
16995 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
16996 if test $ac_cv_lib_m_round = yes; then
16997
16998 cat >>confdefs.h <<\_ACEOF
16999 #define HAVE_ROUND 1
17000 _ACEOF
17001
17002 fi
17003
17004 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17005 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17006 if test "${ac_cv_lib_m_roundl+set}" = set; then
17007   echo $ECHO_N "(cached) $ECHO_C" >&6
17008 else
17009   ac_check_lib_save_LIBS=$LIBS
17010 LIBS="-lm  $LIBS"
17011 if test x$gcc_no_link = xyes; then
17012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17014    { (exit 1); exit 1; }; }
17015 fi
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h.  */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h.  */
17022
17023 /* Override any gcc2 internal prototype to avoid an error.  */
17024 #ifdef __cplusplus
17025 extern "C"
17026 #endif
17027 /* We use char because int might match the return type of a gcc2
17028    builtin and then its argument prototype would still apply.  */
17029 char roundl ();
17030 int
17031 main ()
17032 {
17033 roundl ();
17034   ;
17035   return 0;
17036 }
17037 _ACEOF
17038 rm -f conftest.$ac_objext conftest$ac_exeext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17040   (eval $ac_link) 2>conftest.er1
17041   ac_status=$?
17042   grep -v '^ *+' conftest.er1 >conftest.err
17043   rm -f conftest.er1
17044   cat conftest.err >&5
17045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046   (exit $ac_status); } &&
17047          { ac_try='test -z "$ac_c_werror_flag"
17048                          || test ! -s conftest.err'
17049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050   (eval $ac_try) 2>&5
17051   ac_status=$?
17052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053   (exit $ac_status); }; } &&
17054          { ac_try='test -s conftest$ac_exeext'
17055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056   (eval $ac_try) 2>&5
17057   ac_status=$?
17058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059   (exit $ac_status); }; }; then
17060   ac_cv_lib_m_roundl=yes
17061 else
17062   echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 ac_cv_lib_m_roundl=no
17066 fi
17067 rm -f conftest.err conftest.$ac_objext \
17068       conftest$ac_exeext conftest.$ac_ext
17069 LIBS=$ac_check_lib_save_LIBS
17070 fi
17071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17072 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17073 if test $ac_cv_lib_m_roundl = yes; then
17074
17075 cat >>confdefs.h <<\_ACEOF
17076 #define HAVE_ROUNDL 1
17077 _ACEOF
17078
17079 fi
17080
17081 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17082 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17083 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17084   echo $ECHO_N "(cached) $ECHO_C" >&6
17085 else
17086   ac_check_lib_save_LIBS=$LIBS
17087 LIBS="-lm  $LIBS"
17088 if test x$gcc_no_link = xyes; then
17089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17091    { (exit 1); exit 1; }; }
17092 fi
17093 cat >conftest.$ac_ext <<_ACEOF
17094 /* confdefs.h.  */
17095 _ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h.  */
17099
17100 /* Override any gcc2 internal prototype to avoid an error.  */
17101 #ifdef __cplusplus
17102 extern "C"
17103 #endif
17104 /* We use char because int might match the return type of a gcc2
17105    builtin and then its argument prototype would still apply.  */
17106 char scalbnf ();
17107 int
17108 main ()
17109 {
17110 scalbnf ();
17111   ;
17112   return 0;
17113 }
17114 _ACEOF
17115 rm -f conftest.$ac_objext conftest$ac_exeext
17116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17117   (eval $ac_link) 2>conftest.er1
17118   ac_status=$?
17119   grep -v '^ *+' conftest.er1 >conftest.err
17120   rm -f conftest.er1
17121   cat conftest.err >&5
17122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123   (exit $ac_status); } &&
17124          { ac_try='test -z "$ac_c_werror_flag"
17125                          || 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_scalbnf=yes
17138 else
17139   echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 ac_cv_lib_m_scalbnf=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_scalbnf" >&5
17149 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17150 if test $ac_cv_lib_m_scalbnf = yes; then
17151
17152 cat >>confdefs.h <<\_ACEOF
17153 #define HAVE_SCALBNF 1
17154 _ACEOF
17155
17156 fi
17157
17158 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17159 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17160 if test "${ac_cv_lib_m_scalbn+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 scalbn ();
17184 int
17185 main ()
17186 {
17187 scalbn ();
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"
17202                          || test ! -s conftest.err'
17203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204   (eval $ac_try) 2>&5
17205   ac_status=$?
17206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207   (exit $ac_status); }; } &&
17208          { ac_try='test -s conftest$ac_exeext'
17209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210   (eval $ac_try) 2>&5
17211   ac_status=$?
17212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213   (exit $ac_status); }; }; then
17214   ac_cv_lib_m_scalbn=yes
17215 else
17216   echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17218
17219 ac_cv_lib_m_scalbn=no
17220 fi
17221 rm -f conftest.err conftest.$ac_objext \
17222       conftest$ac_exeext conftest.$ac_ext
17223 LIBS=$ac_check_lib_save_LIBS
17224 fi
17225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17226 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17227 if test $ac_cv_lib_m_scalbn = yes; then
17228
17229 cat >>confdefs.h <<\_ACEOF
17230 #define HAVE_SCALBN 1
17231 _ACEOF
17232
17233 fi
17234
17235 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17236 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17237 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17238   echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240   ac_check_lib_save_LIBS=$LIBS
17241 LIBS="-lm  $LIBS"
17242 if test x$gcc_no_link = xyes; then
17243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17245    { (exit 1); exit 1; }; }
17246 fi
17247 cat >conftest.$ac_ext <<_ACEOF
17248 /* confdefs.h.  */
17249 _ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h.  */
17253
17254 /* Override any gcc2 internal prototype to avoid an error.  */
17255 #ifdef __cplusplus
17256 extern "C"
17257 #endif
17258 /* We use char because int might match the return type of a gcc2
17259    builtin and then its argument prototype would still apply.  */
17260 char scalbnl ();
17261 int
17262 main ()
17263 {
17264 scalbnl ();
17265   ;
17266   return 0;
17267 }
17268 _ACEOF
17269 rm -f conftest.$ac_objext conftest$ac_exeext
17270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17271   (eval $ac_link) 2>conftest.er1
17272   ac_status=$?
17273   grep -v '^ *+' conftest.er1 >conftest.err
17274   rm -f conftest.er1
17275   cat conftest.err >&5
17276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277   (exit $ac_status); } &&
17278          { ac_try='test -z "$ac_c_werror_flag"
17279                          || test ! -s conftest.err'
17280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17281   (eval $ac_try) 2>&5
17282   ac_status=$?
17283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284   (exit $ac_status); }; } &&
17285          { ac_try='test -s conftest$ac_exeext'
17286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287   (eval $ac_try) 2>&5
17288   ac_status=$?
17289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290   (exit $ac_status); }; }; then
17291   ac_cv_lib_m_scalbnl=yes
17292 else
17293   echo "$as_me: failed program was:" >&5
17294 sed 's/^/| /' conftest.$ac_ext >&5
17295
17296 ac_cv_lib_m_scalbnl=no
17297 fi
17298 rm -f conftest.err conftest.$ac_objext \
17299       conftest$ac_exeext conftest.$ac_ext
17300 LIBS=$ac_check_lib_save_LIBS
17301 fi
17302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
17303 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
17304 if test $ac_cv_lib_m_scalbnl = yes; then
17305
17306 cat >>confdefs.h <<\_ACEOF
17307 #define HAVE_SCALBNL 1
17308 _ACEOF
17309
17310 fi
17311
17312 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17313 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17314 if test "${ac_cv_lib_m_sinf+set}" = set; then
17315   echo $ECHO_N "(cached) $ECHO_C" >&6
17316 else
17317   ac_check_lib_save_LIBS=$LIBS
17318 LIBS="-lm  $LIBS"
17319 if test x$gcc_no_link = xyes; then
17320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17322    { (exit 1); exit 1; }; }
17323 fi
17324 cat >conftest.$ac_ext <<_ACEOF
17325 /* confdefs.h.  */
17326 _ACEOF
17327 cat confdefs.h >>conftest.$ac_ext
17328 cat >>conftest.$ac_ext <<_ACEOF
17329 /* end confdefs.h.  */
17330
17331 /* Override any gcc2 internal prototype to avoid an error.  */
17332 #ifdef __cplusplus
17333 extern "C"
17334 #endif
17335 /* We use char because int might match the return type of a gcc2
17336    builtin and then its argument prototype would still apply.  */
17337 char sinf ();
17338 int
17339 main ()
17340 {
17341 sinf ();
17342   ;
17343   return 0;
17344 }
17345 _ACEOF
17346 rm -f conftest.$ac_objext conftest$ac_exeext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17348   (eval $ac_link) 2>conftest.er1
17349   ac_status=$?
17350   grep -v '^ *+' conftest.er1 >conftest.err
17351   rm -f conftest.er1
17352   cat conftest.err >&5
17353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354   (exit $ac_status); } &&
17355          { ac_try='test -z "$ac_c_werror_flag"
17356                          || test ! -s conftest.err'
17357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358   (eval $ac_try) 2>&5
17359   ac_status=$?
17360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361   (exit $ac_status); }; } &&
17362          { ac_try='test -s conftest$ac_exeext'
17363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364   (eval $ac_try) 2>&5
17365   ac_status=$?
17366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367   (exit $ac_status); }; }; then
17368   ac_cv_lib_m_sinf=yes
17369 else
17370   echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17372
17373 ac_cv_lib_m_sinf=no
17374 fi
17375 rm -f conftest.err conftest.$ac_objext \
17376       conftest$ac_exeext conftest.$ac_ext
17377 LIBS=$ac_check_lib_save_LIBS
17378 fi
17379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17380 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17381 if test $ac_cv_lib_m_sinf = yes; then
17382
17383 cat >>confdefs.h <<\_ACEOF
17384 #define HAVE_SINF 1
17385 _ACEOF
17386
17387 fi
17388
17389 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17390 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17391 if test "${ac_cv_lib_m_sin+set}" = set; then
17392   echo $ECHO_N "(cached) $ECHO_C" >&6
17393 else
17394   ac_check_lib_save_LIBS=$LIBS
17395 LIBS="-lm  $LIBS"
17396 if test x$gcc_no_link = xyes; then
17397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17399    { (exit 1); exit 1; }; }
17400 fi
17401 cat >conftest.$ac_ext <<_ACEOF
17402 /* confdefs.h.  */
17403 _ACEOF
17404 cat confdefs.h >>conftest.$ac_ext
17405 cat >>conftest.$ac_ext <<_ACEOF
17406 /* end confdefs.h.  */
17407
17408 /* Override any gcc2 internal prototype to avoid an error.  */
17409 #ifdef __cplusplus
17410 extern "C"
17411 #endif
17412 /* We use char because int might match the return type of a gcc2
17413    builtin and then its argument prototype would still apply.  */
17414 char sin ();
17415 int
17416 main ()
17417 {
17418 sin ();
17419   ;
17420   return 0;
17421 }
17422 _ACEOF
17423 rm -f conftest.$ac_objext conftest$ac_exeext
17424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17425   (eval $ac_link) 2>conftest.er1
17426   ac_status=$?
17427   grep -v '^ *+' conftest.er1 >conftest.err
17428   rm -f conftest.er1
17429   cat conftest.err >&5
17430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431   (exit $ac_status); } &&
17432          { ac_try='test -z "$ac_c_werror_flag"
17433                          || test ! -s conftest.err'
17434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435   (eval $ac_try) 2>&5
17436   ac_status=$?
17437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438   (exit $ac_status); }; } &&
17439          { ac_try='test -s conftest$ac_exeext'
17440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441   (eval $ac_try) 2>&5
17442   ac_status=$?
17443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444   (exit $ac_status); }; }; then
17445   ac_cv_lib_m_sin=yes
17446 else
17447   echo "$as_me: failed program was:" >&5
17448 sed 's/^/| /' conftest.$ac_ext >&5
17449
17450 ac_cv_lib_m_sin=no
17451 fi
17452 rm -f conftest.err conftest.$ac_objext \
17453       conftest$ac_exeext conftest.$ac_ext
17454 LIBS=$ac_check_lib_save_LIBS
17455 fi
17456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17457 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17458 if test $ac_cv_lib_m_sin = yes; then
17459
17460 cat >>confdefs.h <<\_ACEOF
17461 #define HAVE_SIN 1
17462 _ACEOF
17463
17464 fi
17465
17466 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
17467 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
17468 if test "${ac_cv_lib_m_sinl+set}" = set; then
17469   echo $ECHO_N "(cached) $ECHO_C" >&6
17470 else
17471   ac_check_lib_save_LIBS=$LIBS
17472 LIBS="-lm  $LIBS"
17473 if test x$gcc_no_link = xyes; then
17474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17476    { (exit 1); exit 1; }; }
17477 fi
17478 cat >conftest.$ac_ext <<_ACEOF
17479 /* confdefs.h.  */
17480 _ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h.  */
17484
17485 /* Override any gcc2 internal prototype to avoid an error.  */
17486 #ifdef __cplusplus
17487 extern "C"
17488 #endif
17489 /* We use char because int might match the return type of a gcc2
17490    builtin and then its argument prototype would still apply.  */
17491 char sinl ();
17492 int
17493 main ()
17494 {
17495 sinl ();
17496   ;
17497   return 0;
17498 }
17499 _ACEOF
17500 rm -f conftest.$ac_objext conftest$ac_exeext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17502   (eval $ac_link) 2>conftest.er1
17503   ac_status=$?
17504   grep -v '^ *+' conftest.er1 >conftest.err
17505   rm -f conftest.er1
17506   cat conftest.err >&5
17507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508   (exit $ac_status); } &&
17509          { ac_try='test -z "$ac_c_werror_flag"
17510                          || test ! -s conftest.err'
17511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512   (eval $ac_try) 2>&5
17513   ac_status=$?
17514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515   (exit $ac_status); }; } &&
17516          { ac_try='test -s conftest$ac_exeext'
17517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518   (eval $ac_try) 2>&5
17519   ac_status=$?
17520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521   (exit $ac_status); }; }; then
17522   ac_cv_lib_m_sinl=yes
17523 else
17524   echo "$as_me: failed program was:" >&5
17525 sed 's/^/| /' conftest.$ac_ext >&5
17526
17527 ac_cv_lib_m_sinl=no
17528 fi
17529 rm -f conftest.err conftest.$ac_objext \
17530       conftest$ac_exeext conftest.$ac_ext
17531 LIBS=$ac_check_lib_save_LIBS
17532 fi
17533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
17534 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
17535 if test $ac_cv_lib_m_sinl = yes; then
17536
17537 cat >>confdefs.h <<\_ACEOF
17538 #define HAVE_SINL 1
17539 _ACEOF
17540
17541 fi
17542
17543 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
17544 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
17545 if test "${ac_cv_lib_m_csinf+set}" = set; then
17546   echo $ECHO_N "(cached) $ECHO_C" >&6
17547 else
17548   ac_check_lib_save_LIBS=$LIBS
17549 LIBS="-lm  $LIBS"
17550 if test x$gcc_no_link = xyes; then
17551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17553    { (exit 1); exit 1; }; }
17554 fi
17555 cat >conftest.$ac_ext <<_ACEOF
17556 /* confdefs.h.  */
17557 _ACEOF
17558 cat confdefs.h >>conftest.$ac_ext
17559 cat >>conftest.$ac_ext <<_ACEOF
17560 /* end confdefs.h.  */
17561
17562 /* Override any gcc2 internal prototype to avoid an error.  */
17563 #ifdef __cplusplus
17564 extern "C"
17565 #endif
17566 /* We use char because int might match the return type of a gcc2
17567    builtin and then its argument prototype would still apply.  */
17568 char csinf ();
17569 int
17570 main ()
17571 {
17572 csinf ();
17573   ;
17574   return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext conftest$ac_exeext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17579   (eval $ac_link) 2>conftest.er1
17580   ac_status=$?
17581   grep -v '^ *+' conftest.er1 >conftest.err
17582   rm -f conftest.er1
17583   cat conftest.err >&5
17584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585   (exit $ac_status); } &&
17586          { ac_try='test -z "$ac_c_werror_flag"
17587                          || test ! -s conftest.err'
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); }; } &&
17593          { ac_try='test -s conftest$ac_exeext'
17594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595   (eval $ac_try) 2>&5
17596   ac_status=$?
17597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598   (exit $ac_status); }; }; then
17599   ac_cv_lib_m_csinf=yes
17600 else
17601   echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 ac_cv_lib_m_csinf=no
17605 fi
17606 rm -f conftest.err conftest.$ac_objext \
17607       conftest$ac_exeext conftest.$ac_ext
17608 LIBS=$ac_check_lib_save_LIBS
17609 fi
17610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
17611 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
17612 if test $ac_cv_lib_m_csinf = yes; then
17613
17614 cat >>confdefs.h <<\_ACEOF
17615 #define HAVE_CSINF 1
17616 _ACEOF
17617
17618 fi
17619
17620 echo "$as_me:$LINENO: checking for csin in -lm" >&5
17621 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
17622 if test "${ac_cv_lib_m_csin+set}" = set; then
17623   echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625   ac_check_lib_save_LIBS=$LIBS
17626 LIBS="-lm  $LIBS"
17627 if test x$gcc_no_link = xyes; then
17628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17630    { (exit 1); exit 1; }; }
17631 fi
17632 cat >conftest.$ac_ext <<_ACEOF
17633 /* confdefs.h.  */
17634 _ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h.  */
17638
17639 /* Override any gcc2 internal prototype to avoid an error.  */
17640 #ifdef __cplusplus
17641 extern "C"
17642 #endif
17643 /* We use char because int might match the return type of a gcc2
17644    builtin and then its argument prototype would still apply.  */
17645 char csin ();
17646 int
17647 main ()
17648 {
17649 csin ();
17650   ;
17651   return 0;
17652 }
17653 _ACEOF
17654 rm -f conftest.$ac_objext conftest$ac_exeext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17656   (eval $ac_link) 2>conftest.er1
17657   ac_status=$?
17658   grep -v '^ *+' conftest.er1 >conftest.err
17659   rm -f conftest.er1
17660   cat conftest.err >&5
17661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662   (exit $ac_status); } &&
17663          { ac_try='test -z "$ac_c_werror_flag"
17664                          || test ! -s conftest.err'
17665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666   (eval $ac_try) 2>&5
17667   ac_status=$?
17668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669   (exit $ac_status); }; } &&
17670          { ac_try='test -s conftest$ac_exeext'
17671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672   (eval $ac_try) 2>&5
17673   ac_status=$?
17674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675   (exit $ac_status); }; }; then
17676   ac_cv_lib_m_csin=yes
17677 else
17678   echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17680
17681 ac_cv_lib_m_csin=no
17682 fi
17683 rm -f conftest.err conftest.$ac_objext \
17684       conftest$ac_exeext conftest.$ac_ext
17685 LIBS=$ac_check_lib_save_LIBS
17686 fi
17687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
17688 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
17689 if test $ac_cv_lib_m_csin = yes; then
17690
17691 cat >>confdefs.h <<\_ACEOF
17692 #define HAVE_CSIN 1
17693 _ACEOF
17694
17695 fi
17696
17697 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
17698 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
17699 if test "${ac_cv_lib_m_csinl+set}" = set; then
17700   echo $ECHO_N "(cached) $ECHO_C" >&6
17701 else
17702   ac_check_lib_save_LIBS=$LIBS
17703 LIBS="-lm  $LIBS"
17704 if test x$gcc_no_link = xyes; then
17705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17707    { (exit 1); exit 1; }; }
17708 fi
17709 cat >conftest.$ac_ext <<_ACEOF
17710 /* confdefs.h.  */
17711 _ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h.  */
17715
17716 /* Override any gcc2 internal prototype to avoid an error.  */
17717 #ifdef __cplusplus
17718 extern "C"
17719 #endif
17720 /* We use char because int might match the return type of a gcc2
17721    builtin and then its argument prototype would still apply.  */
17722 char csinl ();
17723 int
17724 main ()
17725 {
17726 csinl ();
17727   ;
17728   return 0;
17729 }
17730 _ACEOF
17731 rm -f conftest.$ac_objext conftest$ac_exeext
17732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17733   (eval $ac_link) 2>conftest.er1
17734   ac_status=$?
17735   grep -v '^ *+' conftest.er1 >conftest.err
17736   rm -f conftest.er1
17737   cat conftest.err >&5
17738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739   (exit $ac_status); } &&
17740          { ac_try='test -z "$ac_c_werror_flag"
17741                          || test ! -s conftest.err'
17742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743   (eval $ac_try) 2>&5
17744   ac_status=$?
17745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746   (exit $ac_status); }; } &&
17747          { ac_try='test -s conftest$ac_exeext'
17748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749   (eval $ac_try) 2>&5
17750   ac_status=$?
17751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752   (exit $ac_status); }; }; then
17753   ac_cv_lib_m_csinl=yes
17754 else
17755   echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 ac_cv_lib_m_csinl=no
17759 fi
17760 rm -f conftest.err conftest.$ac_objext \
17761       conftest$ac_exeext conftest.$ac_ext
17762 LIBS=$ac_check_lib_save_LIBS
17763 fi
17764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
17765 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
17766 if test $ac_cv_lib_m_csinl = yes; then
17767
17768 cat >>confdefs.h <<\_ACEOF
17769 #define HAVE_CSINL 1
17770 _ACEOF
17771
17772 fi
17773
17774 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
17775 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
17776 if test "${ac_cv_lib_m_sinhf+set}" = set; then
17777   echo $ECHO_N "(cached) $ECHO_C" >&6
17778 else
17779   ac_check_lib_save_LIBS=$LIBS
17780 LIBS="-lm  $LIBS"
17781 if test x$gcc_no_link = xyes; then
17782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17784    { (exit 1); exit 1; }; }
17785 fi
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h.  */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h.  */
17792
17793 /* Override any gcc2 internal prototype to avoid an error.  */
17794 #ifdef __cplusplus
17795 extern "C"
17796 #endif
17797 /* We use char because int might match the return type of a gcc2
17798    builtin and then its argument prototype would still apply.  */
17799 char sinhf ();
17800 int
17801 main ()
17802 {
17803 sinhf ();
17804   ;
17805   return 0;
17806 }
17807 _ACEOF
17808 rm -f conftest.$ac_objext conftest$ac_exeext
17809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17810   (eval $ac_link) 2>conftest.er1
17811   ac_status=$?
17812   grep -v '^ *+' conftest.er1 >conftest.err
17813   rm -f conftest.er1
17814   cat conftest.err >&5
17815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816   (exit $ac_status); } &&
17817          { ac_try='test -z "$ac_c_werror_flag"
17818                          || test ! -s conftest.err'
17819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820   (eval $ac_try) 2>&5
17821   ac_status=$?
17822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823   (exit $ac_status); }; } &&
17824          { ac_try='test -s conftest$ac_exeext'
17825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826   (eval $ac_try) 2>&5
17827   ac_status=$?
17828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829   (exit $ac_status); }; }; then
17830   ac_cv_lib_m_sinhf=yes
17831 else
17832   echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835 ac_cv_lib_m_sinhf=no
17836 fi
17837 rm -f conftest.err conftest.$ac_objext \
17838       conftest$ac_exeext conftest.$ac_ext
17839 LIBS=$ac_check_lib_save_LIBS
17840 fi
17841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
17842 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
17843 if test $ac_cv_lib_m_sinhf = yes; then
17844
17845 cat >>confdefs.h <<\_ACEOF
17846 #define HAVE_SINHF 1
17847 _ACEOF
17848
17849 fi
17850
17851 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
17852 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
17853 if test "${ac_cv_lib_m_sinh+set}" = set; then
17854   echo $ECHO_N "(cached) $ECHO_C" >&6
17855 else
17856   ac_check_lib_save_LIBS=$LIBS
17857 LIBS="-lm  $LIBS"
17858 if test x$gcc_no_link = xyes; then
17859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17861    { (exit 1); exit 1; }; }
17862 fi
17863 cat >conftest.$ac_ext <<_ACEOF
17864 /* confdefs.h.  */
17865 _ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h.  */
17869
17870 /* Override any gcc2 internal prototype to avoid an error.  */
17871 #ifdef __cplusplus
17872 extern "C"
17873 #endif
17874 /* We use char because int might match the return type of a gcc2
17875    builtin and then its argument prototype would still apply.  */
17876 char sinh ();
17877 int
17878 main ()
17879 {
17880 sinh ();
17881   ;
17882   return 0;
17883 }
17884 _ACEOF
17885 rm -f conftest.$ac_objext conftest$ac_exeext
17886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17887   (eval $ac_link) 2>conftest.er1
17888   ac_status=$?
17889   grep -v '^ *+' conftest.er1 >conftest.err
17890   rm -f conftest.er1
17891   cat conftest.err >&5
17892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893   (exit $ac_status); } &&
17894          { ac_try='test -z "$ac_c_werror_flag"
17895                          || test ! -s conftest.err'
17896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897   (eval $ac_try) 2>&5
17898   ac_status=$?
17899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900   (exit $ac_status); }; } &&
17901          { ac_try='test -s conftest$ac_exeext'
17902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903   (eval $ac_try) 2>&5
17904   ac_status=$?
17905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906   (exit $ac_status); }; }; then
17907   ac_cv_lib_m_sinh=yes
17908 else
17909   echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17911
17912 ac_cv_lib_m_sinh=no
17913 fi
17914 rm -f conftest.err conftest.$ac_objext \
17915       conftest$ac_exeext conftest.$ac_ext
17916 LIBS=$ac_check_lib_save_LIBS
17917 fi
17918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
17919 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
17920 if test $ac_cv_lib_m_sinh = yes; then
17921
17922 cat >>confdefs.h <<\_ACEOF
17923 #define HAVE_SINH 1
17924 _ACEOF
17925
17926 fi
17927
17928 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
17929 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
17930 if test "${ac_cv_lib_m_sinhl+set}" = set; then
17931   echo $ECHO_N "(cached) $ECHO_C" >&6
17932 else
17933   ac_check_lib_save_LIBS=$LIBS
17934 LIBS="-lm  $LIBS"
17935 if test x$gcc_no_link = xyes; then
17936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17938    { (exit 1); exit 1; }; }
17939 fi
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h.  */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h.  */
17946
17947 /* Override any gcc2 internal prototype to avoid an error.  */
17948 #ifdef __cplusplus
17949 extern "C"
17950 #endif
17951 /* We use char because int might match the return type of a gcc2
17952    builtin and then its argument prototype would still apply.  */
17953 char sinhl ();
17954 int
17955 main ()
17956 {
17957 sinhl ();
17958   ;
17959   return 0;
17960 }
17961 _ACEOF
17962 rm -f conftest.$ac_objext conftest$ac_exeext
17963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17964   (eval $ac_link) 2>conftest.er1
17965   ac_status=$?
17966   grep -v '^ *+' conftest.er1 >conftest.err
17967   rm -f conftest.er1
17968   cat conftest.err >&5
17969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970   (exit $ac_status); } &&
17971          { ac_try='test -z "$ac_c_werror_flag"
17972                          || test ! -s conftest.err'
17973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974   (eval $ac_try) 2>&5
17975   ac_status=$?
17976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977   (exit $ac_status); }; } &&
17978          { ac_try='test -s conftest$ac_exeext'
17979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980   (eval $ac_try) 2>&5
17981   ac_status=$?
17982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983   (exit $ac_status); }; }; then
17984   ac_cv_lib_m_sinhl=yes
17985 else
17986   echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17988
17989 ac_cv_lib_m_sinhl=no
17990 fi
17991 rm -f conftest.err conftest.$ac_objext \
17992       conftest$ac_exeext conftest.$ac_ext
17993 LIBS=$ac_check_lib_save_LIBS
17994 fi
17995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
17996 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
17997 if test $ac_cv_lib_m_sinhl = yes; then
17998
17999 cat >>confdefs.h <<\_ACEOF
18000 #define HAVE_SINHL 1
18001 _ACEOF
18002
18003 fi
18004
18005 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18006 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18007 if test "${ac_cv_lib_m_csinhf+set}" = set; then
18008   echo $ECHO_N "(cached) $ECHO_C" >&6
18009 else
18010   ac_check_lib_save_LIBS=$LIBS
18011 LIBS="-lm  $LIBS"
18012 if test x$gcc_no_link = xyes; then
18013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18015    { (exit 1); exit 1; }; }
18016 fi
18017 cat >conftest.$ac_ext <<_ACEOF
18018 /* confdefs.h.  */
18019 _ACEOF
18020 cat confdefs.h >>conftest.$ac_ext
18021 cat >>conftest.$ac_ext <<_ACEOF
18022 /* end confdefs.h.  */
18023
18024 /* Override any gcc2 internal prototype to avoid an error.  */
18025 #ifdef __cplusplus
18026 extern "C"
18027 #endif
18028 /* We use char because int might match the return type of a gcc2
18029    builtin and then its argument prototype would still apply.  */
18030 char csinhf ();
18031 int
18032 main ()
18033 {
18034 csinhf ();
18035   ;
18036   return 0;
18037 }
18038 _ACEOF
18039 rm -f conftest.$ac_objext conftest$ac_exeext
18040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18041   (eval $ac_link) 2>conftest.er1
18042   ac_status=$?
18043   grep -v '^ *+' conftest.er1 >conftest.err
18044   rm -f conftest.er1
18045   cat conftest.err >&5
18046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047   (exit $ac_status); } &&
18048          { ac_try='test -z "$ac_c_werror_flag"
18049                          || test ! -s conftest.err'
18050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051   (eval $ac_try) 2>&5
18052   ac_status=$?
18053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054   (exit $ac_status); }; } &&
18055          { ac_try='test -s conftest$ac_exeext'
18056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057   (eval $ac_try) 2>&5
18058   ac_status=$?
18059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060   (exit $ac_status); }; }; then
18061   ac_cv_lib_m_csinhf=yes
18062 else
18063   echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18065
18066 ac_cv_lib_m_csinhf=no
18067 fi
18068 rm -f conftest.err conftest.$ac_objext \
18069       conftest$ac_exeext conftest.$ac_ext
18070 LIBS=$ac_check_lib_save_LIBS
18071 fi
18072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18073 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18074 if test $ac_cv_lib_m_csinhf = yes; then
18075
18076 cat >>confdefs.h <<\_ACEOF
18077 #define HAVE_CSINHF 1
18078 _ACEOF
18079
18080 fi
18081
18082 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18083 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18084 if test "${ac_cv_lib_m_csinh+set}" = set; then
18085   echo $ECHO_N "(cached) $ECHO_C" >&6
18086 else
18087   ac_check_lib_save_LIBS=$LIBS
18088 LIBS="-lm  $LIBS"
18089 if test x$gcc_no_link = xyes; then
18090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18092    { (exit 1); exit 1; }; }
18093 fi
18094 cat >conftest.$ac_ext <<_ACEOF
18095 /* confdefs.h.  */
18096 _ACEOF
18097 cat confdefs.h >>conftest.$ac_ext
18098 cat >>conftest.$ac_ext <<_ACEOF
18099 /* end confdefs.h.  */
18100
18101 /* Override any gcc2 internal prototype to avoid an error.  */
18102 #ifdef __cplusplus
18103 extern "C"
18104 #endif
18105 /* We use char because int might match the return type of a gcc2
18106    builtin and then its argument prototype would still apply.  */
18107 char csinh ();
18108 int
18109 main ()
18110 {
18111 csinh ();
18112   ;
18113   return 0;
18114 }
18115 _ACEOF
18116 rm -f conftest.$ac_objext conftest$ac_exeext
18117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18118   (eval $ac_link) 2>conftest.er1
18119   ac_status=$?
18120   grep -v '^ *+' conftest.er1 >conftest.err
18121   rm -f conftest.er1
18122   cat conftest.err >&5
18123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124   (exit $ac_status); } &&
18125          { ac_try='test -z "$ac_c_werror_flag"
18126                          || test ! -s conftest.err'
18127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128   (eval $ac_try) 2>&5
18129   ac_status=$?
18130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131   (exit $ac_status); }; } &&
18132          { ac_try='test -s conftest$ac_exeext'
18133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134   (eval $ac_try) 2>&5
18135   ac_status=$?
18136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137   (exit $ac_status); }; }; then
18138   ac_cv_lib_m_csinh=yes
18139 else
18140   echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 ac_cv_lib_m_csinh=no
18144 fi
18145 rm -f conftest.err conftest.$ac_objext \
18146       conftest$ac_exeext conftest.$ac_ext
18147 LIBS=$ac_check_lib_save_LIBS
18148 fi
18149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18150 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18151 if test $ac_cv_lib_m_csinh = yes; then
18152
18153 cat >>confdefs.h <<\_ACEOF
18154 #define HAVE_CSINH 1
18155 _ACEOF
18156
18157 fi
18158
18159 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18160 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18161 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18162   echo $ECHO_N "(cached) $ECHO_C" >&6
18163 else
18164   ac_check_lib_save_LIBS=$LIBS
18165 LIBS="-lm  $LIBS"
18166 if test x$gcc_no_link = xyes; then
18167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18169    { (exit 1); exit 1; }; }
18170 fi
18171 cat >conftest.$ac_ext <<_ACEOF
18172 /* confdefs.h.  */
18173 _ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h.  */
18177
18178 /* Override any gcc2 internal prototype to avoid an error.  */
18179 #ifdef __cplusplus
18180 extern "C"
18181 #endif
18182 /* We use char because int might match the return type of a gcc2
18183    builtin and then its argument prototype would still apply.  */
18184 char csinhl ();
18185 int
18186 main ()
18187 {
18188 csinhl ();
18189   ;
18190   return 0;
18191 }
18192 _ACEOF
18193 rm -f conftest.$ac_objext conftest$ac_exeext
18194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18195   (eval $ac_link) 2>conftest.er1
18196   ac_status=$?
18197   grep -v '^ *+' conftest.er1 >conftest.err
18198   rm -f conftest.er1
18199   cat conftest.err >&5
18200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201   (exit $ac_status); } &&
18202          { ac_try='test -z "$ac_c_werror_flag"
18203                          || test ! -s conftest.err'
18204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205   (eval $ac_try) 2>&5
18206   ac_status=$?
18207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208   (exit $ac_status); }; } &&
18209          { ac_try='test -s conftest$ac_exeext'
18210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211   (eval $ac_try) 2>&5
18212   ac_status=$?
18213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214   (exit $ac_status); }; }; then
18215   ac_cv_lib_m_csinhl=yes
18216 else
18217   echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.$ac_ext >&5
18219
18220 ac_cv_lib_m_csinhl=no
18221 fi
18222 rm -f conftest.err conftest.$ac_objext \
18223       conftest$ac_exeext conftest.$ac_ext
18224 LIBS=$ac_check_lib_save_LIBS
18225 fi
18226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18227 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18228 if test $ac_cv_lib_m_csinhl = yes; then
18229
18230 cat >>confdefs.h <<\_ACEOF
18231 #define HAVE_CSINHL 1
18232 _ACEOF
18233
18234 fi
18235
18236 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18237 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18238 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18239   echo $ECHO_N "(cached) $ECHO_C" >&6
18240 else
18241   ac_check_lib_save_LIBS=$LIBS
18242 LIBS="-lm  $LIBS"
18243 if test x$gcc_no_link = xyes; then
18244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18246    { (exit 1); exit 1; }; }
18247 fi
18248 cat >conftest.$ac_ext <<_ACEOF
18249 /* confdefs.h.  */
18250 _ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h.  */
18254
18255 /* Override any gcc2 internal prototype to avoid an error.  */
18256 #ifdef __cplusplus
18257 extern "C"
18258 #endif
18259 /* We use char because int might match the return type of a gcc2
18260    builtin and then its argument prototype would still apply.  */
18261 char sqrtf ();
18262 int
18263 main ()
18264 {
18265 sqrtf ();
18266   ;
18267   return 0;
18268 }
18269 _ACEOF
18270 rm -f conftest.$ac_objext conftest$ac_exeext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18272   (eval $ac_link) 2>conftest.er1
18273   ac_status=$?
18274   grep -v '^ *+' conftest.er1 >conftest.err
18275   rm -f conftest.er1
18276   cat conftest.err >&5
18277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278   (exit $ac_status); } &&
18279          { ac_try='test -z "$ac_c_werror_flag"
18280                          || test ! -s conftest.err'
18281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282   (eval $ac_try) 2>&5
18283   ac_status=$?
18284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285   (exit $ac_status); }; } &&
18286          { ac_try='test -s conftest$ac_exeext'
18287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288   (eval $ac_try) 2>&5
18289   ac_status=$?
18290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291   (exit $ac_status); }; }; then
18292   ac_cv_lib_m_sqrtf=yes
18293 else
18294   echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18296
18297 ac_cv_lib_m_sqrtf=no
18298 fi
18299 rm -f conftest.err conftest.$ac_objext \
18300       conftest$ac_exeext conftest.$ac_ext
18301 LIBS=$ac_check_lib_save_LIBS
18302 fi
18303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
18304 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
18305 if test $ac_cv_lib_m_sqrtf = yes; then
18306
18307 cat >>confdefs.h <<\_ACEOF
18308 #define HAVE_SQRTF 1
18309 _ACEOF
18310
18311 fi
18312
18313 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
18314 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
18315 if test "${ac_cv_lib_m_sqrt+set}" = set; then
18316   echo $ECHO_N "(cached) $ECHO_C" >&6
18317 else
18318   ac_check_lib_save_LIBS=$LIBS
18319 LIBS="-lm  $LIBS"
18320 if test x$gcc_no_link = xyes; then
18321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18323    { (exit 1); exit 1; }; }
18324 fi
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h.  */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h.  */
18331
18332 /* Override any gcc2 internal prototype to avoid an error.  */
18333 #ifdef __cplusplus
18334 extern "C"
18335 #endif
18336 /* We use char because int might match the return type of a gcc2
18337    builtin and then its argument prototype would still apply.  */
18338 char sqrt ();
18339 int
18340 main ()
18341 {
18342 sqrt ();
18343   ;
18344   return 0;
18345 }
18346 _ACEOF
18347 rm -f conftest.$ac_objext conftest$ac_exeext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18349   (eval $ac_link) 2>conftest.er1
18350   ac_status=$?
18351   grep -v '^ *+' conftest.er1 >conftest.err
18352   rm -f conftest.er1
18353   cat conftest.err >&5
18354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355   (exit $ac_status); } &&
18356          { ac_try='test -z "$ac_c_werror_flag"
18357                          || test ! -s conftest.err'
18358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359   (eval $ac_try) 2>&5
18360   ac_status=$?
18361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362   (exit $ac_status); }; } &&
18363          { ac_try='test -s conftest$ac_exeext'
18364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365   (eval $ac_try) 2>&5
18366   ac_status=$?
18367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368   (exit $ac_status); }; }; then
18369   ac_cv_lib_m_sqrt=yes
18370 else
18371   echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18373
18374 ac_cv_lib_m_sqrt=no
18375 fi
18376 rm -f conftest.err conftest.$ac_objext \
18377       conftest$ac_exeext conftest.$ac_ext
18378 LIBS=$ac_check_lib_save_LIBS
18379 fi
18380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18381 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18382 if test $ac_cv_lib_m_sqrt = yes; then
18383
18384 cat >>confdefs.h <<\_ACEOF
18385 #define HAVE_SQRT 1
18386 _ACEOF
18387
18388 fi
18389
18390 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18391 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18392 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18393   echo $ECHO_N "(cached) $ECHO_C" >&6
18394 else
18395   ac_check_lib_save_LIBS=$LIBS
18396 LIBS="-lm  $LIBS"
18397 if test x$gcc_no_link = xyes; then
18398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18400    { (exit 1); exit 1; }; }
18401 fi
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h.  */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h.  */
18408
18409 /* Override any gcc2 internal prototype to avoid an error.  */
18410 #ifdef __cplusplus
18411 extern "C"
18412 #endif
18413 /* We use char because int might match the return type of a gcc2
18414    builtin and then its argument prototype would still apply.  */
18415 char sqrtl ();
18416 int
18417 main ()
18418 {
18419 sqrtl ();
18420   ;
18421   return 0;
18422 }
18423 _ACEOF
18424 rm -f conftest.$ac_objext conftest$ac_exeext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18426   (eval $ac_link) 2>conftest.er1
18427   ac_status=$?
18428   grep -v '^ *+' conftest.er1 >conftest.err
18429   rm -f conftest.er1
18430   cat conftest.err >&5
18431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432   (exit $ac_status); } &&
18433          { ac_try='test -z "$ac_c_werror_flag"
18434                          || test ! -s conftest.err'
18435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436   (eval $ac_try) 2>&5
18437   ac_status=$?
18438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439   (exit $ac_status); }; } &&
18440          { ac_try='test -s conftest$ac_exeext'
18441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18442   (eval $ac_try) 2>&5
18443   ac_status=$?
18444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445   (exit $ac_status); }; }; then
18446   ac_cv_lib_m_sqrtl=yes
18447 else
18448   echo "$as_me: failed program was:" >&5
18449 sed 's/^/| /' conftest.$ac_ext >&5
18450
18451 ac_cv_lib_m_sqrtl=no
18452 fi
18453 rm -f conftest.err conftest.$ac_objext \
18454       conftest$ac_exeext conftest.$ac_ext
18455 LIBS=$ac_check_lib_save_LIBS
18456 fi
18457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
18458 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
18459 if test $ac_cv_lib_m_sqrtl = yes; then
18460
18461 cat >>confdefs.h <<\_ACEOF
18462 #define HAVE_SQRTL 1
18463 _ACEOF
18464
18465 fi
18466
18467 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
18468 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
18469 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
18470   echo $ECHO_N "(cached) $ECHO_C" >&6
18471 else
18472   ac_check_lib_save_LIBS=$LIBS
18473 LIBS="-lm  $LIBS"
18474 if test x$gcc_no_link = xyes; then
18475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18477    { (exit 1); exit 1; }; }
18478 fi
18479 cat >conftest.$ac_ext <<_ACEOF
18480 /* confdefs.h.  */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h.  */
18485
18486 /* Override any gcc2 internal prototype to avoid an error.  */
18487 #ifdef __cplusplus
18488 extern "C"
18489 #endif
18490 /* We use char because int might match the return type of a gcc2
18491    builtin and then its argument prototype would still apply.  */
18492 char csqrtf ();
18493 int
18494 main ()
18495 {
18496 csqrtf ();
18497   ;
18498   return 0;
18499 }
18500 _ACEOF
18501 rm -f conftest.$ac_objext conftest$ac_exeext
18502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18503   (eval $ac_link) 2>conftest.er1
18504   ac_status=$?
18505   grep -v '^ *+' conftest.er1 >conftest.err
18506   rm -f conftest.er1
18507   cat conftest.err >&5
18508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509   (exit $ac_status); } &&
18510          { ac_try='test -z "$ac_c_werror_flag"
18511                          || test ! -s conftest.err'
18512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513   (eval $ac_try) 2>&5
18514   ac_status=$?
18515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516   (exit $ac_status); }; } &&
18517          { ac_try='test -s conftest$ac_exeext'
18518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519   (eval $ac_try) 2>&5
18520   ac_status=$?
18521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522   (exit $ac_status); }; }; then
18523   ac_cv_lib_m_csqrtf=yes
18524 else
18525   echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18527
18528 ac_cv_lib_m_csqrtf=no
18529 fi
18530 rm -f conftest.err conftest.$ac_objext \
18531       conftest$ac_exeext conftest.$ac_ext
18532 LIBS=$ac_check_lib_save_LIBS
18533 fi
18534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
18535 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
18536 if test $ac_cv_lib_m_csqrtf = yes; then
18537
18538 cat >>confdefs.h <<\_ACEOF
18539 #define HAVE_CSQRTF 1
18540 _ACEOF
18541
18542 fi
18543
18544 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
18545 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
18546 if test "${ac_cv_lib_m_csqrt+set}" = set; then
18547   echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549   ac_check_lib_save_LIBS=$LIBS
18550 LIBS="-lm  $LIBS"
18551 if test x$gcc_no_link = xyes; then
18552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18554    { (exit 1); exit 1; }; }
18555 fi
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h.  */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h.  */
18562
18563 /* Override any gcc2 internal prototype to avoid an error.  */
18564 #ifdef __cplusplus
18565 extern "C"
18566 #endif
18567 /* We use char because int might match the return type of a gcc2
18568    builtin and then its argument prototype would still apply.  */
18569 char csqrt ();
18570 int
18571 main ()
18572 {
18573 csqrt ();
18574   ;
18575   return 0;
18576 }
18577 _ACEOF
18578 rm -f conftest.$ac_objext conftest$ac_exeext
18579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18580   (eval $ac_link) 2>conftest.er1
18581   ac_status=$?
18582   grep -v '^ *+' conftest.er1 >conftest.err
18583   rm -f conftest.er1
18584   cat conftest.err >&5
18585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586   (exit $ac_status); } &&
18587          { ac_try='test -z "$ac_c_werror_flag"
18588                          || test ! -s conftest.err'
18589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590   (eval $ac_try) 2>&5
18591   ac_status=$?
18592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593   (exit $ac_status); }; } &&
18594          { ac_try='test -s conftest$ac_exeext'
18595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596   (eval $ac_try) 2>&5
18597   ac_status=$?
18598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599   (exit $ac_status); }; }; then
18600   ac_cv_lib_m_csqrt=yes
18601 else
18602   echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.$ac_ext >&5
18604
18605 ac_cv_lib_m_csqrt=no
18606 fi
18607 rm -f conftest.err conftest.$ac_objext \
18608       conftest$ac_exeext conftest.$ac_ext
18609 LIBS=$ac_check_lib_save_LIBS
18610 fi
18611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
18612 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
18613 if test $ac_cv_lib_m_csqrt = yes; then
18614
18615 cat >>confdefs.h <<\_ACEOF
18616 #define HAVE_CSQRT 1
18617 _ACEOF
18618
18619 fi
18620
18621 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
18622 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
18623 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
18624   echo $ECHO_N "(cached) $ECHO_C" >&6
18625 else
18626   ac_check_lib_save_LIBS=$LIBS
18627 LIBS="-lm  $LIBS"
18628 if test x$gcc_no_link = xyes; then
18629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18631    { (exit 1); exit 1; }; }
18632 fi
18633 cat >conftest.$ac_ext <<_ACEOF
18634 /* confdefs.h.  */
18635 _ACEOF
18636 cat confdefs.h >>conftest.$ac_ext
18637 cat >>conftest.$ac_ext <<_ACEOF
18638 /* end confdefs.h.  */
18639
18640 /* Override any gcc2 internal prototype to avoid an error.  */
18641 #ifdef __cplusplus
18642 extern "C"
18643 #endif
18644 /* We use char because int might match the return type of a gcc2
18645    builtin and then its argument prototype would still apply.  */
18646 char csqrtl ();
18647 int
18648 main ()
18649 {
18650 csqrtl ();
18651   ;
18652   return 0;
18653 }
18654 _ACEOF
18655 rm -f conftest.$ac_objext conftest$ac_exeext
18656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18657   (eval $ac_link) 2>conftest.er1
18658   ac_status=$?
18659   grep -v '^ *+' conftest.er1 >conftest.err
18660   rm -f conftest.er1
18661   cat conftest.err >&5
18662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663   (exit $ac_status); } &&
18664          { ac_try='test -z "$ac_c_werror_flag"
18665                          || test ! -s conftest.err'
18666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667   (eval $ac_try) 2>&5
18668   ac_status=$?
18669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670   (exit $ac_status); }; } &&
18671          { ac_try='test -s conftest$ac_exeext'
18672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673   (eval $ac_try) 2>&5
18674   ac_status=$?
18675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676   (exit $ac_status); }; }; then
18677   ac_cv_lib_m_csqrtl=yes
18678 else
18679   echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18681
18682 ac_cv_lib_m_csqrtl=no
18683 fi
18684 rm -f conftest.err conftest.$ac_objext \
18685       conftest$ac_exeext conftest.$ac_ext
18686 LIBS=$ac_check_lib_save_LIBS
18687 fi
18688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
18689 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
18690 if test $ac_cv_lib_m_csqrtl = yes; then
18691
18692 cat >>confdefs.h <<\_ACEOF
18693 #define HAVE_CSQRTL 1
18694 _ACEOF
18695
18696 fi
18697
18698 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
18699 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
18700 if test "${ac_cv_lib_m_tanf+set}" = set; then
18701   echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18703   ac_check_lib_save_LIBS=$LIBS
18704 LIBS="-lm  $LIBS"
18705 if test x$gcc_no_link = xyes; then
18706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18708    { (exit 1); exit 1; }; }
18709 fi
18710 cat >conftest.$ac_ext <<_ACEOF
18711 /* confdefs.h.  */
18712 _ACEOF
18713 cat confdefs.h >>conftest.$ac_ext
18714 cat >>conftest.$ac_ext <<_ACEOF
18715 /* end confdefs.h.  */
18716
18717 /* Override any gcc2 internal prototype to avoid an error.  */
18718 #ifdef __cplusplus
18719 extern "C"
18720 #endif
18721 /* We use char because int might match the return type of a gcc2
18722    builtin and then its argument prototype would still apply.  */
18723 char tanf ();
18724 int
18725 main ()
18726 {
18727 tanf ();
18728   ;
18729   return 0;
18730 }
18731 _ACEOF
18732 rm -f conftest.$ac_objext conftest$ac_exeext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18734   (eval $ac_link) 2>conftest.er1
18735   ac_status=$?
18736   grep -v '^ *+' conftest.er1 >conftest.err
18737   rm -f conftest.er1
18738   cat conftest.err >&5
18739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740   (exit $ac_status); } &&
18741          { ac_try='test -z "$ac_c_werror_flag"
18742                          || test ! -s conftest.err'
18743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744   (eval $ac_try) 2>&5
18745   ac_status=$?
18746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747   (exit $ac_status); }; } &&
18748          { ac_try='test -s conftest$ac_exeext'
18749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750   (eval $ac_try) 2>&5
18751   ac_status=$?
18752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753   (exit $ac_status); }; }; then
18754   ac_cv_lib_m_tanf=yes
18755 else
18756   echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18758
18759 ac_cv_lib_m_tanf=no
18760 fi
18761 rm -f conftest.err conftest.$ac_objext \
18762       conftest$ac_exeext conftest.$ac_ext
18763 LIBS=$ac_check_lib_save_LIBS
18764 fi
18765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
18766 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
18767 if test $ac_cv_lib_m_tanf = yes; then
18768
18769 cat >>confdefs.h <<\_ACEOF
18770 #define HAVE_TANF 1
18771 _ACEOF
18772
18773 fi
18774
18775 echo "$as_me:$LINENO: checking for tan in -lm" >&5
18776 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
18777 if test "${ac_cv_lib_m_tan+set}" = set; then
18778   echo $ECHO_N "(cached) $ECHO_C" >&6
18779 else
18780   ac_check_lib_save_LIBS=$LIBS
18781 LIBS="-lm  $LIBS"
18782 if test x$gcc_no_link = xyes; then
18783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18785    { (exit 1); exit 1; }; }
18786 fi
18787 cat >conftest.$ac_ext <<_ACEOF
18788 /* confdefs.h.  */
18789 _ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h.  */
18793
18794 /* Override any gcc2 internal prototype to avoid an error.  */
18795 #ifdef __cplusplus
18796 extern "C"
18797 #endif
18798 /* We use char because int might match the return type of a gcc2
18799    builtin and then its argument prototype would still apply.  */
18800 char tan ();
18801 int
18802 main ()
18803 {
18804 tan ();
18805   ;
18806   return 0;
18807 }
18808 _ACEOF
18809 rm -f conftest.$ac_objext conftest$ac_exeext
18810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18811   (eval $ac_link) 2>conftest.er1
18812   ac_status=$?
18813   grep -v '^ *+' conftest.er1 >conftest.err
18814   rm -f conftest.er1
18815   cat conftest.err >&5
18816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817   (exit $ac_status); } &&
18818          { ac_try='test -z "$ac_c_werror_flag"
18819                          || test ! -s conftest.err'
18820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821   (eval $ac_try) 2>&5
18822   ac_status=$?
18823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824   (exit $ac_status); }; } &&
18825          { ac_try='test -s conftest$ac_exeext'
18826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827   (eval $ac_try) 2>&5
18828   ac_status=$?
18829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830   (exit $ac_status); }; }; then
18831   ac_cv_lib_m_tan=yes
18832 else
18833   echo "$as_me: failed program was:" >&5
18834 sed 's/^/| /' conftest.$ac_ext >&5
18835
18836 ac_cv_lib_m_tan=no
18837 fi
18838 rm -f conftest.err conftest.$ac_objext \
18839       conftest$ac_exeext conftest.$ac_ext
18840 LIBS=$ac_check_lib_save_LIBS
18841 fi
18842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
18843 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
18844 if test $ac_cv_lib_m_tan = yes; then
18845
18846 cat >>confdefs.h <<\_ACEOF
18847 #define HAVE_TAN 1
18848 _ACEOF
18849
18850 fi
18851
18852 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
18853 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
18854 if test "${ac_cv_lib_m_tanl+set}" = set; then
18855   echo $ECHO_N "(cached) $ECHO_C" >&6
18856 else
18857   ac_check_lib_save_LIBS=$LIBS
18858 LIBS="-lm  $LIBS"
18859 if test x$gcc_no_link = xyes; then
18860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18862    { (exit 1); exit 1; }; }
18863 fi
18864 cat >conftest.$ac_ext <<_ACEOF
18865 /* confdefs.h.  */
18866 _ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h.  */
18870
18871 /* Override any gcc2 internal prototype to avoid an error.  */
18872 #ifdef __cplusplus
18873 extern "C"
18874 #endif
18875 /* We use char because int might match the return type of a gcc2
18876    builtin and then its argument prototype would still apply.  */
18877 char tanl ();
18878 int
18879 main ()
18880 {
18881 tanl ();
18882   ;
18883   return 0;
18884 }
18885 _ACEOF
18886 rm -f conftest.$ac_objext conftest$ac_exeext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18888   (eval $ac_link) 2>conftest.er1
18889   ac_status=$?
18890   grep -v '^ *+' conftest.er1 >conftest.err
18891   rm -f conftest.er1
18892   cat conftest.err >&5
18893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894   (exit $ac_status); } &&
18895          { ac_try='test -z "$ac_c_werror_flag"
18896                          || test ! -s conftest.err'
18897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898   (eval $ac_try) 2>&5
18899   ac_status=$?
18900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901   (exit $ac_status); }; } &&
18902          { ac_try='test -s conftest$ac_exeext'
18903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904   (eval $ac_try) 2>&5
18905   ac_status=$?
18906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907   (exit $ac_status); }; }; then
18908   ac_cv_lib_m_tanl=yes
18909 else
18910   echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18912
18913 ac_cv_lib_m_tanl=no
18914 fi
18915 rm -f conftest.err conftest.$ac_objext \
18916       conftest$ac_exeext conftest.$ac_ext
18917 LIBS=$ac_check_lib_save_LIBS
18918 fi
18919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
18920 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
18921 if test $ac_cv_lib_m_tanl = yes; then
18922
18923 cat >>confdefs.h <<\_ACEOF
18924 #define HAVE_TANL 1
18925 _ACEOF
18926
18927 fi
18928
18929 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
18930 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
18931 if test "${ac_cv_lib_m_ctanf+set}" = set; then
18932   echo $ECHO_N "(cached) $ECHO_C" >&6
18933 else
18934   ac_check_lib_save_LIBS=$LIBS
18935 LIBS="-lm  $LIBS"
18936 if test x$gcc_no_link = xyes; then
18937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18939    { (exit 1); exit 1; }; }
18940 fi
18941 cat >conftest.$ac_ext <<_ACEOF
18942 /* confdefs.h.  */
18943 _ACEOF
18944 cat confdefs.h >>conftest.$ac_ext
18945 cat >>conftest.$ac_ext <<_ACEOF
18946 /* end confdefs.h.  */
18947
18948 /* Override any gcc2 internal prototype to avoid an error.  */
18949 #ifdef __cplusplus
18950 extern "C"
18951 #endif
18952 /* We use char because int might match the return type of a gcc2
18953    builtin and then its argument prototype would still apply.  */
18954 char ctanf ();
18955 int
18956 main ()
18957 {
18958 ctanf ();
18959   ;
18960   return 0;
18961 }
18962 _ACEOF
18963 rm -f conftest.$ac_objext conftest$ac_exeext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18965   (eval $ac_link) 2>conftest.er1
18966   ac_status=$?
18967   grep -v '^ *+' conftest.er1 >conftest.err
18968   rm -f conftest.er1
18969   cat conftest.err >&5
18970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971   (exit $ac_status); } &&
18972          { ac_try='test -z "$ac_c_werror_flag"
18973                          || test ! -s conftest.err'
18974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975   (eval $ac_try) 2>&5
18976   ac_status=$?
18977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978   (exit $ac_status); }; } &&
18979          { ac_try='test -s conftest$ac_exeext'
18980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18981   (eval $ac_try) 2>&5
18982   ac_status=$?
18983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984   (exit $ac_status); }; }; then
18985   ac_cv_lib_m_ctanf=yes
18986 else
18987   echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18989
18990 ac_cv_lib_m_ctanf=no
18991 fi
18992 rm -f conftest.err conftest.$ac_objext \
18993       conftest$ac_exeext conftest.$ac_ext
18994 LIBS=$ac_check_lib_save_LIBS
18995 fi
18996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
18997 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
18998 if test $ac_cv_lib_m_ctanf = yes; then
18999
19000 cat >>confdefs.h <<\_ACEOF
19001 #define HAVE_CTANF 1
19002 _ACEOF
19003
19004 fi
19005
19006 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19007 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19008 if test "${ac_cv_lib_m_ctan+set}" = set; then
19009   echo $ECHO_N "(cached) $ECHO_C" >&6
19010 else
19011   ac_check_lib_save_LIBS=$LIBS
19012 LIBS="-lm  $LIBS"
19013 if test x$gcc_no_link = xyes; then
19014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19016    { (exit 1); exit 1; }; }
19017 fi
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h.  */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h.  */
19024
19025 /* Override any gcc2 internal prototype to avoid an error.  */
19026 #ifdef __cplusplus
19027 extern "C"
19028 #endif
19029 /* We use char because int might match the return type of a gcc2
19030    builtin and then its argument prototype would still apply.  */
19031 char ctan ();
19032 int
19033 main ()
19034 {
19035 ctan ();
19036   ;
19037   return 0;
19038 }
19039 _ACEOF
19040 rm -f conftest.$ac_objext conftest$ac_exeext
19041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19042   (eval $ac_link) 2>conftest.er1
19043   ac_status=$?
19044   grep -v '^ *+' conftest.er1 >conftest.err
19045   rm -f conftest.er1
19046   cat conftest.err >&5
19047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048   (exit $ac_status); } &&
19049          { ac_try='test -z "$ac_c_werror_flag"
19050                          || test ! -s conftest.err'
19051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052   (eval $ac_try) 2>&5
19053   ac_status=$?
19054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055   (exit $ac_status); }; } &&
19056          { ac_try='test -s conftest$ac_exeext'
19057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058   (eval $ac_try) 2>&5
19059   ac_status=$?
19060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061   (exit $ac_status); }; }; then
19062   ac_cv_lib_m_ctan=yes
19063 else
19064   echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19066
19067 ac_cv_lib_m_ctan=no
19068 fi
19069 rm -f conftest.err conftest.$ac_objext \
19070       conftest$ac_exeext conftest.$ac_ext
19071 LIBS=$ac_check_lib_save_LIBS
19072 fi
19073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19074 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19075 if test $ac_cv_lib_m_ctan = yes; then
19076
19077 cat >>confdefs.h <<\_ACEOF
19078 #define HAVE_CTAN 1
19079 _ACEOF
19080
19081 fi
19082
19083 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19084 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19085 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19086   echo $ECHO_N "(cached) $ECHO_C" >&6
19087 else
19088   ac_check_lib_save_LIBS=$LIBS
19089 LIBS="-lm  $LIBS"
19090 if test x$gcc_no_link = xyes; then
19091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19093    { (exit 1); exit 1; }; }
19094 fi
19095 cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h.  */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h.  */
19101
19102 /* Override any gcc2 internal prototype to avoid an error.  */
19103 #ifdef __cplusplus
19104 extern "C"
19105 #endif
19106 /* We use char because int might match the return type of a gcc2
19107    builtin and then its argument prototype would still apply.  */
19108 char ctanl ();
19109 int
19110 main ()
19111 {
19112 ctanl ();
19113   ;
19114   return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext conftest$ac_exeext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19119   (eval $ac_link) 2>conftest.er1
19120   ac_status=$?
19121   grep -v '^ *+' conftest.er1 >conftest.err
19122   rm -f conftest.er1
19123   cat conftest.err >&5
19124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125   (exit $ac_status); } &&
19126          { ac_try='test -z "$ac_c_werror_flag"
19127                          || test ! -s conftest.err'
19128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129   (eval $ac_try) 2>&5
19130   ac_status=$?
19131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132   (exit $ac_status); }; } &&
19133          { ac_try='test -s conftest$ac_exeext'
19134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135   (eval $ac_try) 2>&5
19136   ac_status=$?
19137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138   (exit $ac_status); }; }; then
19139   ac_cv_lib_m_ctanl=yes
19140 else
19141   echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 ac_cv_lib_m_ctanl=no
19145 fi
19146 rm -f conftest.err conftest.$ac_objext \
19147       conftest$ac_exeext conftest.$ac_ext
19148 LIBS=$ac_check_lib_save_LIBS
19149 fi
19150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19151 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19152 if test $ac_cv_lib_m_ctanl = yes; then
19153
19154 cat >>confdefs.h <<\_ACEOF
19155 #define HAVE_CTANL 1
19156 _ACEOF
19157
19158 fi
19159
19160 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19161 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19162 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19163   echo $ECHO_N "(cached) $ECHO_C" >&6
19164 else
19165   ac_check_lib_save_LIBS=$LIBS
19166 LIBS="-lm  $LIBS"
19167 if test x$gcc_no_link = xyes; then
19168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19170    { (exit 1); exit 1; }; }
19171 fi
19172 cat >conftest.$ac_ext <<_ACEOF
19173 /* confdefs.h.  */
19174 _ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h.  */
19178
19179 /* Override any gcc2 internal prototype to avoid an error.  */
19180 #ifdef __cplusplus
19181 extern "C"
19182 #endif
19183 /* We use char because int might match the return type of a gcc2
19184    builtin and then its argument prototype would still apply.  */
19185 char tanhf ();
19186 int
19187 main ()
19188 {
19189 tanhf ();
19190   ;
19191   return 0;
19192 }
19193 _ACEOF
19194 rm -f conftest.$ac_objext conftest$ac_exeext
19195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19196   (eval $ac_link) 2>conftest.er1
19197   ac_status=$?
19198   grep -v '^ *+' conftest.er1 >conftest.err
19199   rm -f conftest.er1
19200   cat conftest.err >&5
19201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202   (exit $ac_status); } &&
19203          { ac_try='test -z "$ac_c_werror_flag"
19204                          || test ! -s conftest.err'
19205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206   (eval $ac_try) 2>&5
19207   ac_status=$?
19208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209   (exit $ac_status); }; } &&
19210          { ac_try='test -s conftest$ac_exeext'
19211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212   (eval $ac_try) 2>&5
19213   ac_status=$?
19214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215   (exit $ac_status); }; }; then
19216   ac_cv_lib_m_tanhf=yes
19217 else
19218   echo "$as_me: failed program was:" >&5
19219 sed 's/^/| /' conftest.$ac_ext >&5
19220
19221 ac_cv_lib_m_tanhf=no
19222 fi
19223 rm -f conftest.err conftest.$ac_objext \
19224       conftest$ac_exeext conftest.$ac_ext
19225 LIBS=$ac_check_lib_save_LIBS
19226 fi
19227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19228 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19229 if test $ac_cv_lib_m_tanhf = yes; then
19230
19231 cat >>confdefs.h <<\_ACEOF
19232 #define HAVE_TANHF 1
19233 _ACEOF
19234
19235 fi
19236
19237 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19238 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19239 if test "${ac_cv_lib_m_tanh+set}" = set; then
19240   echo $ECHO_N "(cached) $ECHO_C" >&6
19241 else
19242   ac_check_lib_save_LIBS=$LIBS
19243 LIBS="-lm  $LIBS"
19244 if test x$gcc_no_link = xyes; then
19245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19247    { (exit 1); exit 1; }; }
19248 fi
19249 cat >conftest.$ac_ext <<_ACEOF
19250 /* confdefs.h.  */
19251 _ACEOF
19252 cat confdefs.h >>conftest.$ac_ext
19253 cat >>conftest.$ac_ext <<_ACEOF
19254 /* end confdefs.h.  */
19255
19256 /* Override any gcc2 internal prototype to avoid an error.  */
19257 #ifdef __cplusplus
19258 extern "C"
19259 #endif
19260 /* We use char because int might match the return type of a gcc2
19261    builtin and then its argument prototype would still apply.  */
19262 char tanh ();
19263 int
19264 main ()
19265 {
19266 tanh ();
19267   ;
19268   return 0;
19269 }
19270 _ACEOF
19271 rm -f conftest.$ac_objext conftest$ac_exeext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19273   (eval $ac_link) 2>conftest.er1
19274   ac_status=$?
19275   grep -v '^ *+' conftest.er1 >conftest.err
19276   rm -f conftest.er1
19277   cat conftest.err >&5
19278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279   (exit $ac_status); } &&
19280          { ac_try='test -z "$ac_c_werror_flag"
19281                          || test ! -s conftest.err'
19282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283   (eval $ac_try) 2>&5
19284   ac_status=$?
19285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286   (exit $ac_status); }; } &&
19287          { ac_try='test -s conftest$ac_exeext'
19288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289   (eval $ac_try) 2>&5
19290   ac_status=$?
19291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292   (exit $ac_status); }; }; then
19293   ac_cv_lib_m_tanh=yes
19294 else
19295   echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19297
19298 ac_cv_lib_m_tanh=no
19299 fi
19300 rm -f conftest.err conftest.$ac_objext \
19301       conftest$ac_exeext conftest.$ac_ext
19302 LIBS=$ac_check_lib_save_LIBS
19303 fi
19304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
19305 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
19306 if test $ac_cv_lib_m_tanh = yes; then
19307
19308 cat >>confdefs.h <<\_ACEOF
19309 #define HAVE_TANH 1
19310 _ACEOF
19311
19312 fi
19313
19314 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
19315 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
19316 if test "${ac_cv_lib_m_tanhl+set}" = set; then
19317   echo $ECHO_N "(cached) $ECHO_C" >&6
19318 else
19319   ac_check_lib_save_LIBS=$LIBS
19320 LIBS="-lm  $LIBS"
19321 if test x$gcc_no_link = xyes; then
19322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19324    { (exit 1); exit 1; }; }
19325 fi
19326 cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h.  */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h.  */
19332
19333 /* Override any gcc2 internal prototype to avoid an error.  */
19334 #ifdef __cplusplus
19335 extern "C"
19336 #endif
19337 /* We use char because int might match the return type of a gcc2
19338    builtin and then its argument prototype would still apply.  */
19339 char tanhl ();
19340 int
19341 main ()
19342 {
19343 tanhl ();
19344   ;
19345   return 0;
19346 }
19347 _ACEOF
19348 rm -f conftest.$ac_objext conftest$ac_exeext
19349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19350   (eval $ac_link) 2>conftest.er1
19351   ac_status=$?
19352   grep -v '^ *+' conftest.er1 >conftest.err
19353   rm -f conftest.er1
19354   cat conftest.err >&5
19355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356   (exit $ac_status); } &&
19357          { ac_try='test -z "$ac_c_werror_flag"
19358                          || test ! -s conftest.err'
19359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360   (eval $ac_try) 2>&5
19361   ac_status=$?
19362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363   (exit $ac_status); }; } &&
19364          { ac_try='test -s conftest$ac_exeext'
19365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366   (eval $ac_try) 2>&5
19367   ac_status=$?
19368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369   (exit $ac_status); }; }; then
19370   ac_cv_lib_m_tanhl=yes
19371 else
19372   echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.$ac_ext >&5
19374
19375 ac_cv_lib_m_tanhl=no
19376 fi
19377 rm -f conftest.err conftest.$ac_objext \
19378       conftest$ac_exeext conftest.$ac_ext
19379 LIBS=$ac_check_lib_save_LIBS
19380 fi
19381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19382 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19383 if test $ac_cv_lib_m_tanhl = yes; then
19384
19385 cat >>confdefs.h <<\_ACEOF
19386 #define HAVE_TANHL 1
19387 _ACEOF
19388
19389 fi
19390
19391 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19392 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19393 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19394   echo $ECHO_N "(cached) $ECHO_C" >&6
19395 else
19396   ac_check_lib_save_LIBS=$LIBS
19397 LIBS="-lm  $LIBS"
19398 if test x$gcc_no_link = xyes; then
19399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19401    { (exit 1); exit 1; }; }
19402 fi
19403 cat >conftest.$ac_ext <<_ACEOF
19404 /* confdefs.h.  */
19405 _ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h.  */
19409
19410 /* Override any gcc2 internal prototype to avoid an error.  */
19411 #ifdef __cplusplus
19412 extern "C"
19413 #endif
19414 /* We use char because int might match the return type of a gcc2
19415    builtin and then its argument prototype would still apply.  */
19416 char ctanhf ();
19417 int
19418 main ()
19419 {
19420 ctanhf ();
19421   ;
19422   return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest.$ac_objext conftest$ac_exeext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19427   (eval $ac_link) 2>conftest.er1
19428   ac_status=$?
19429   grep -v '^ *+' conftest.er1 >conftest.err
19430   rm -f conftest.er1
19431   cat conftest.err >&5
19432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433   (exit $ac_status); } &&
19434          { ac_try='test -z "$ac_c_werror_flag"
19435                          || test ! -s conftest.err'
19436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437   (eval $ac_try) 2>&5
19438   ac_status=$?
19439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440   (exit $ac_status); }; } &&
19441          { ac_try='test -s conftest$ac_exeext'
19442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443   (eval $ac_try) 2>&5
19444   ac_status=$?
19445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446   (exit $ac_status); }; }; then
19447   ac_cv_lib_m_ctanhf=yes
19448 else
19449   echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.$ac_ext >&5
19451
19452 ac_cv_lib_m_ctanhf=no
19453 fi
19454 rm -f conftest.err conftest.$ac_objext \
19455       conftest$ac_exeext conftest.$ac_ext
19456 LIBS=$ac_check_lib_save_LIBS
19457 fi
19458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
19459 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
19460 if test $ac_cv_lib_m_ctanhf = yes; then
19461
19462 cat >>confdefs.h <<\_ACEOF
19463 #define HAVE_CTANHF 1
19464 _ACEOF
19465
19466 fi
19467
19468 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
19469 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
19470 if test "${ac_cv_lib_m_ctanh+set}" = set; then
19471   echo $ECHO_N "(cached) $ECHO_C" >&6
19472 else
19473   ac_check_lib_save_LIBS=$LIBS
19474 LIBS="-lm  $LIBS"
19475 if test x$gcc_no_link = xyes; then
19476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19478    { (exit 1); exit 1; }; }
19479 fi
19480 cat >conftest.$ac_ext <<_ACEOF
19481 /* confdefs.h.  */
19482 _ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h.  */
19486
19487 /* Override any gcc2 internal prototype to avoid an error.  */
19488 #ifdef __cplusplus
19489 extern "C"
19490 #endif
19491 /* We use char because int might match the return type of a gcc2
19492    builtin and then its argument prototype would still apply.  */
19493 char ctanh ();
19494 int
19495 main ()
19496 {
19497 ctanh ();
19498   ;
19499   return 0;
19500 }
19501 _ACEOF
19502 rm -f conftest.$ac_objext conftest$ac_exeext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19504   (eval $ac_link) 2>conftest.er1
19505   ac_status=$?
19506   grep -v '^ *+' conftest.er1 >conftest.err
19507   rm -f conftest.er1
19508   cat conftest.err >&5
19509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510   (exit $ac_status); } &&
19511          { ac_try='test -z "$ac_c_werror_flag"
19512                          || test ! -s conftest.err'
19513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514   (eval $ac_try) 2>&5
19515   ac_status=$?
19516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517   (exit $ac_status); }; } &&
19518          { ac_try='test -s conftest$ac_exeext'
19519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520   (eval $ac_try) 2>&5
19521   ac_status=$?
19522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523   (exit $ac_status); }; }; then
19524   ac_cv_lib_m_ctanh=yes
19525 else
19526   echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19528
19529 ac_cv_lib_m_ctanh=no
19530 fi
19531 rm -f conftest.err conftest.$ac_objext \
19532       conftest$ac_exeext conftest.$ac_ext
19533 LIBS=$ac_check_lib_save_LIBS
19534 fi
19535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
19536 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
19537 if test $ac_cv_lib_m_ctanh = yes; then
19538
19539 cat >>confdefs.h <<\_ACEOF
19540 #define HAVE_CTANH 1
19541 _ACEOF
19542
19543 fi
19544
19545 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
19546 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
19547 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
19548   echo $ECHO_N "(cached) $ECHO_C" >&6
19549 else
19550   ac_check_lib_save_LIBS=$LIBS
19551 LIBS="-lm  $LIBS"
19552 if test x$gcc_no_link = xyes; then
19553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19555    { (exit 1); exit 1; }; }
19556 fi
19557 cat >conftest.$ac_ext <<_ACEOF
19558 /* confdefs.h.  */
19559 _ACEOF
19560 cat confdefs.h >>conftest.$ac_ext
19561 cat >>conftest.$ac_ext <<_ACEOF
19562 /* end confdefs.h.  */
19563
19564 /* Override any gcc2 internal prototype to avoid an error.  */
19565 #ifdef __cplusplus
19566 extern "C"
19567 #endif
19568 /* We use char because int might match the return type of a gcc2
19569    builtin and then its argument prototype would still apply.  */
19570 char ctanhl ();
19571 int
19572 main ()
19573 {
19574 ctanhl ();
19575   ;
19576   return 0;
19577 }
19578 _ACEOF
19579 rm -f conftest.$ac_objext conftest$ac_exeext
19580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19581   (eval $ac_link) 2>conftest.er1
19582   ac_status=$?
19583   grep -v '^ *+' conftest.er1 >conftest.err
19584   rm -f conftest.er1
19585   cat conftest.err >&5
19586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587   (exit $ac_status); } &&
19588          { ac_try='test -z "$ac_c_werror_flag"
19589                          || test ! -s conftest.err'
19590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591   (eval $ac_try) 2>&5
19592   ac_status=$?
19593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594   (exit $ac_status); }; } &&
19595          { ac_try='test -s conftest$ac_exeext'
19596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597   (eval $ac_try) 2>&5
19598   ac_status=$?
19599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600   (exit $ac_status); }; }; then
19601   ac_cv_lib_m_ctanhl=yes
19602 else
19603   echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19605
19606 ac_cv_lib_m_ctanhl=no
19607 fi
19608 rm -f conftest.err conftest.$ac_objext \
19609       conftest$ac_exeext conftest.$ac_ext
19610 LIBS=$ac_check_lib_save_LIBS
19611 fi
19612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
19613 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
19614 if test $ac_cv_lib_m_ctanhl = yes; then
19615
19616 cat >>confdefs.h <<\_ACEOF
19617 #define HAVE_CTANHL 1
19618 _ACEOF
19619
19620 fi
19621
19622 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
19623 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
19624 if test "${ac_cv_lib_m_truncf+set}" = set; then
19625   echo $ECHO_N "(cached) $ECHO_C" >&6
19626 else
19627   ac_check_lib_save_LIBS=$LIBS
19628 LIBS="-lm  $LIBS"
19629 if test x$gcc_no_link = xyes; then
19630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19632    { (exit 1); exit 1; }; }
19633 fi
19634 cat >conftest.$ac_ext <<_ACEOF
19635 /* confdefs.h.  */
19636 _ACEOF
19637 cat confdefs.h >>conftest.$ac_ext
19638 cat >>conftest.$ac_ext <<_ACEOF
19639 /* end confdefs.h.  */
19640
19641 /* Override any gcc2 internal prototype to avoid an error.  */
19642 #ifdef __cplusplus
19643 extern "C"
19644 #endif
19645 /* We use char because int might match the return type of a gcc2
19646    builtin and then its argument prototype would still apply.  */
19647 char truncf ();
19648 int
19649 main ()
19650 {
19651 truncf ();
19652   ;
19653   return 0;
19654 }
19655 _ACEOF
19656 rm -f conftest.$ac_objext conftest$ac_exeext
19657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19658   (eval $ac_link) 2>conftest.er1
19659   ac_status=$?
19660   grep -v '^ *+' conftest.er1 >conftest.err
19661   rm -f conftest.er1
19662   cat conftest.err >&5
19663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664   (exit $ac_status); } &&
19665          { ac_try='test -z "$ac_c_werror_flag"
19666                          || test ! -s conftest.err'
19667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668   (eval $ac_try) 2>&5
19669   ac_status=$?
19670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671   (exit $ac_status); }; } &&
19672          { ac_try='test -s conftest$ac_exeext'
19673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674   (eval $ac_try) 2>&5
19675   ac_status=$?
19676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677   (exit $ac_status); }; }; then
19678   ac_cv_lib_m_truncf=yes
19679 else
19680   echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19682
19683 ac_cv_lib_m_truncf=no
19684 fi
19685 rm -f conftest.err conftest.$ac_objext \
19686       conftest$ac_exeext conftest.$ac_ext
19687 LIBS=$ac_check_lib_save_LIBS
19688 fi
19689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
19690 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
19691 if test $ac_cv_lib_m_truncf = yes; then
19692
19693 cat >>confdefs.h <<\_ACEOF
19694 #define HAVE_TRUNCF 1
19695 _ACEOF
19696
19697 fi
19698
19699 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
19700 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
19701 if test "${ac_cv_lib_m_trunc+set}" = set; then
19702   echo $ECHO_N "(cached) $ECHO_C" >&6
19703 else
19704   ac_check_lib_save_LIBS=$LIBS
19705 LIBS="-lm  $LIBS"
19706 if test x$gcc_no_link = xyes; then
19707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19709    { (exit 1); exit 1; }; }
19710 fi
19711 cat >conftest.$ac_ext <<_ACEOF
19712 /* confdefs.h.  */
19713 _ACEOF
19714 cat confdefs.h >>conftest.$ac_ext
19715 cat >>conftest.$ac_ext <<_ACEOF
19716 /* end confdefs.h.  */
19717
19718 /* Override any gcc2 internal prototype to avoid an error.  */
19719 #ifdef __cplusplus
19720 extern "C"
19721 #endif
19722 /* We use char because int might match the return type of a gcc2
19723    builtin and then its argument prototype would still apply.  */
19724 char trunc ();
19725 int
19726 main ()
19727 {
19728 trunc ();
19729   ;
19730   return 0;
19731 }
19732 _ACEOF
19733 rm -f conftest.$ac_objext conftest$ac_exeext
19734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19735   (eval $ac_link) 2>conftest.er1
19736   ac_status=$?
19737   grep -v '^ *+' conftest.er1 >conftest.err
19738   rm -f conftest.er1
19739   cat conftest.err >&5
19740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741   (exit $ac_status); } &&
19742          { ac_try='test -z "$ac_c_werror_flag"
19743                          || test ! -s conftest.err'
19744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745   (eval $ac_try) 2>&5
19746   ac_status=$?
19747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748   (exit $ac_status); }; } &&
19749          { ac_try='test -s conftest$ac_exeext'
19750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751   (eval $ac_try) 2>&5
19752   ac_status=$?
19753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754   (exit $ac_status); }; }; then
19755   ac_cv_lib_m_trunc=yes
19756 else
19757   echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19759
19760 ac_cv_lib_m_trunc=no
19761 fi
19762 rm -f conftest.err conftest.$ac_objext \
19763       conftest$ac_exeext conftest.$ac_ext
19764 LIBS=$ac_check_lib_save_LIBS
19765 fi
19766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
19767 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
19768 if test $ac_cv_lib_m_trunc = yes; then
19769
19770 cat >>confdefs.h <<\_ACEOF
19771 #define HAVE_TRUNC 1
19772 _ACEOF
19773
19774 fi
19775
19776 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
19777 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
19778 if test "${ac_cv_lib_m_truncl+set}" = set; then
19779   echo $ECHO_N "(cached) $ECHO_C" >&6
19780 else
19781   ac_check_lib_save_LIBS=$LIBS
19782 LIBS="-lm  $LIBS"
19783 if test x$gcc_no_link = xyes; then
19784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19786    { (exit 1); exit 1; }; }
19787 fi
19788 cat >conftest.$ac_ext <<_ACEOF
19789 /* confdefs.h.  */
19790 _ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h.  */
19794
19795 /* Override any gcc2 internal prototype to avoid an error.  */
19796 #ifdef __cplusplus
19797 extern "C"
19798 #endif
19799 /* We use char because int might match the return type of a gcc2
19800    builtin and then its argument prototype would still apply.  */
19801 char truncl ();
19802 int
19803 main ()
19804 {
19805 truncl ();
19806   ;
19807   return 0;
19808 }
19809 _ACEOF
19810 rm -f conftest.$ac_objext conftest$ac_exeext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19812   (eval $ac_link) 2>conftest.er1
19813   ac_status=$?
19814   grep -v '^ *+' conftest.er1 >conftest.err
19815   rm -f conftest.er1
19816   cat conftest.err >&5
19817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818   (exit $ac_status); } &&
19819          { ac_try='test -z "$ac_c_werror_flag"
19820                          || test ! -s conftest.err'
19821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822   (eval $ac_try) 2>&5
19823   ac_status=$?
19824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825   (exit $ac_status); }; } &&
19826          { ac_try='test -s conftest$ac_exeext'
19827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828   (eval $ac_try) 2>&5
19829   ac_status=$?
19830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831   (exit $ac_status); }; }; then
19832   ac_cv_lib_m_truncl=yes
19833 else
19834   echo "$as_me: failed program was:" >&5
19835 sed 's/^/| /' conftest.$ac_ext >&5
19836
19837 ac_cv_lib_m_truncl=no
19838 fi
19839 rm -f conftest.err conftest.$ac_objext \
19840       conftest$ac_exeext conftest.$ac_ext
19841 LIBS=$ac_check_lib_save_LIBS
19842 fi
19843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
19844 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
19845 if test $ac_cv_lib_m_truncl = yes; then
19846
19847 cat >>confdefs.h <<\_ACEOF
19848 #define HAVE_TRUNCL 1
19849 _ACEOF
19850
19851 fi
19852
19853 echo "$as_me:$LINENO: checking for erff in -lm" >&5
19854 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
19855 if test "${ac_cv_lib_m_erff+set}" = set; then
19856   echo $ECHO_N "(cached) $ECHO_C" >&6
19857 else
19858   ac_check_lib_save_LIBS=$LIBS
19859 LIBS="-lm  $LIBS"
19860 if test x$gcc_no_link = xyes; then
19861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19863    { (exit 1); exit 1; }; }
19864 fi
19865 cat >conftest.$ac_ext <<_ACEOF
19866 /* confdefs.h.  */
19867 _ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h.  */
19871
19872 /* Override any gcc2 internal prototype to avoid an error.  */
19873 #ifdef __cplusplus
19874 extern "C"
19875 #endif
19876 /* We use char because int might match the return type of a gcc2
19877    builtin and then its argument prototype would still apply.  */
19878 char erff ();
19879 int
19880 main ()
19881 {
19882 erff ();
19883   ;
19884   return 0;
19885 }
19886 _ACEOF
19887 rm -f conftest.$ac_objext conftest$ac_exeext
19888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19889   (eval $ac_link) 2>conftest.er1
19890   ac_status=$?
19891   grep -v '^ *+' conftest.er1 >conftest.err
19892   rm -f conftest.er1
19893   cat conftest.err >&5
19894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895   (exit $ac_status); } &&
19896          { ac_try='test -z "$ac_c_werror_flag"
19897                          || test ! -s conftest.err'
19898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19899   (eval $ac_try) 2>&5
19900   ac_status=$?
19901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902   (exit $ac_status); }; } &&
19903          { ac_try='test -s conftest$ac_exeext'
19904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905   (eval $ac_try) 2>&5
19906   ac_status=$?
19907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908   (exit $ac_status); }; }; then
19909   ac_cv_lib_m_erff=yes
19910 else
19911   echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19913
19914 ac_cv_lib_m_erff=no
19915 fi
19916 rm -f conftest.err conftest.$ac_objext \
19917       conftest$ac_exeext conftest.$ac_ext
19918 LIBS=$ac_check_lib_save_LIBS
19919 fi
19920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
19921 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
19922 if test $ac_cv_lib_m_erff = yes; then
19923
19924 cat >>confdefs.h <<\_ACEOF
19925 #define HAVE_ERFF 1
19926 _ACEOF
19927
19928 fi
19929
19930 echo "$as_me:$LINENO: checking for erf in -lm" >&5
19931 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
19932 if test "${ac_cv_lib_m_erf+set}" = set; then
19933   echo $ECHO_N "(cached) $ECHO_C" >&6
19934 else
19935   ac_check_lib_save_LIBS=$LIBS
19936 LIBS="-lm  $LIBS"
19937 if test x$gcc_no_link = xyes; then
19938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19940    { (exit 1); exit 1; }; }
19941 fi
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h.  */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h.  */
19948
19949 /* Override any gcc2 internal prototype to avoid an error.  */
19950 #ifdef __cplusplus
19951 extern "C"
19952 #endif
19953 /* We use char because int might match the return type of a gcc2
19954    builtin and then its argument prototype would still apply.  */
19955 char erf ();
19956 int
19957 main ()
19958 {
19959 erf ();
19960   ;
19961   return 0;
19962 }
19963 _ACEOF
19964 rm -f conftest.$ac_objext conftest$ac_exeext
19965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19966   (eval $ac_link) 2>conftest.er1
19967   ac_status=$?
19968   grep -v '^ *+' conftest.er1 >conftest.err
19969   rm -f conftest.er1
19970   cat conftest.err >&5
19971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972   (exit $ac_status); } &&
19973          { ac_try='test -z "$ac_c_werror_flag"
19974                          || test ! -s conftest.err'
19975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976   (eval $ac_try) 2>&5
19977   ac_status=$?
19978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979   (exit $ac_status); }; } &&
19980          { ac_try='test -s conftest$ac_exeext'
19981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982   (eval $ac_try) 2>&5
19983   ac_status=$?
19984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985   (exit $ac_status); }; }; then
19986   ac_cv_lib_m_erf=yes
19987 else
19988   echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19990
19991 ac_cv_lib_m_erf=no
19992 fi
19993 rm -f conftest.err conftest.$ac_objext \
19994       conftest$ac_exeext conftest.$ac_ext
19995 LIBS=$ac_check_lib_save_LIBS
19996 fi
19997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
19998 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
19999 if test $ac_cv_lib_m_erf = yes; then
20000
20001 cat >>confdefs.h <<\_ACEOF
20002 #define HAVE_ERF 1
20003 _ACEOF
20004
20005 fi
20006
20007 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20008 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20009 if test "${ac_cv_lib_m_erfl+set}" = set; then
20010   echo $ECHO_N "(cached) $ECHO_C" >&6
20011 else
20012   ac_check_lib_save_LIBS=$LIBS
20013 LIBS="-lm  $LIBS"
20014 if test x$gcc_no_link = xyes; then
20015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20017    { (exit 1); exit 1; }; }
20018 fi
20019 cat >conftest.$ac_ext <<_ACEOF
20020 /* confdefs.h.  */
20021 _ACEOF
20022 cat confdefs.h >>conftest.$ac_ext
20023 cat >>conftest.$ac_ext <<_ACEOF
20024 /* end confdefs.h.  */
20025
20026 /* Override any gcc2 internal prototype to avoid an error.  */
20027 #ifdef __cplusplus
20028 extern "C"
20029 #endif
20030 /* We use char because int might match the return type of a gcc2
20031    builtin and then its argument prototype would still apply.  */
20032 char erfl ();
20033 int
20034 main ()
20035 {
20036 erfl ();
20037   ;
20038   return 0;
20039 }
20040 _ACEOF
20041 rm -f conftest.$ac_objext conftest$ac_exeext
20042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20043   (eval $ac_link) 2>conftest.er1
20044   ac_status=$?
20045   grep -v '^ *+' conftest.er1 >conftest.err
20046   rm -f conftest.er1
20047   cat conftest.err >&5
20048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049   (exit $ac_status); } &&
20050          { ac_try='test -z "$ac_c_werror_flag"
20051                          || test ! -s conftest.err'
20052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053   (eval $ac_try) 2>&5
20054   ac_status=$?
20055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056   (exit $ac_status); }; } &&
20057          { ac_try='test -s conftest$ac_exeext'
20058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059   (eval $ac_try) 2>&5
20060   ac_status=$?
20061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062   (exit $ac_status); }; }; then
20063   ac_cv_lib_m_erfl=yes
20064 else
20065   echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20067
20068 ac_cv_lib_m_erfl=no
20069 fi
20070 rm -f conftest.err conftest.$ac_objext \
20071       conftest$ac_exeext conftest.$ac_ext
20072 LIBS=$ac_check_lib_save_LIBS
20073 fi
20074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20075 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20076 if test $ac_cv_lib_m_erfl = yes; then
20077
20078 cat >>confdefs.h <<\_ACEOF
20079 #define HAVE_ERFL 1
20080 _ACEOF
20081
20082 fi
20083
20084 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20085 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20086 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20087   echo $ECHO_N "(cached) $ECHO_C" >&6
20088 else
20089   ac_check_lib_save_LIBS=$LIBS
20090 LIBS="-lm  $LIBS"
20091 if test x$gcc_no_link = xyes; then
20092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20094    { (exit 1); exit 1; }; }
20095 fi
20096 cat >conftest.$ac_ext <<_ACEOF
20097 /* confdefs.h.  */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h.  */
20102
20103 /* Override any gcc2 internal prototype to avoid an error.  */
20104 #ifdef __cplusplus
20105 extern "C"
20106 #endif
20107 /* We use char because int might match the return type of a gcc2
20108    builtin and then its argument prototype would still apply.  */
20109 char erfcf ();
20110 int
20111 main ()
20112 {
20113 erfcf ();
20114   ;
20115   return 0;
20116 }
20117 _ACEOF
20118 rm -f conftest.$ac_objext conftest$ac_exeext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20120   (eval $ac_link) 2>conftest.er1
20121   ac_status=$?
20122   grep -v '^ *+' conftest.er1 >conftest.err
20123   rm -f conftest.er1
20124   cat conftest.err >&5
20125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126   (exit $ac_status); } &&
20127          { ac_try='test -z "$ac_c_werror_flag"
20128                          || test ! -s conftest.err'
20129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130   (eval $ac_try) 2>&5
20131   ac_status=$?
20132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133   (exit $ac_status); }; } &&
20134          { ac_try='test -s conftest$ac_exeext'
20135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136   (eval $ac_try) 2>&5
20137   ac_status=$?
20138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139   (exit $ac_status); }; }; then
20140   ac_cv_lib_m_erfcf=yes
20141 else
20142   echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 ac_cv_lib_m_erfcf=no
20146 fi
20147 rm -f conftest.err conftest.$ac_objext \
20148       conftest$ac_exeext conftest.$ac_ext
20149 LIBS=$ac_check_lib_save_LIBS
20150 fi
20151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20152 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20153 if test $ac_cv_lib_m_erfcf = yes; then
20154
20155 cat >>confdefs.h <<\_ACEOF
20156 #define HAVE_ERFCF 1
20157 _ACEOF
20158
20159 fi
20160
20161 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20162 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20163 if test "${ac_cv_lib_m_erfc+set}" = set; then
20164   echo $ECHO_N "(cached) $ECHO_C" >&6
20165 else
20166   ac_check_lib_save_LIBS=$LIBS
20167 LIBS="-lm  $LIBS"
20168 if test x$gcc_no_link = xyes; then
20169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20171    { (exit 1); exit 1; }; }
20172 fi
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h.  */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h.  */
20179
20180 /* Override any gcc2 internal prototype to avoid an error.  */
20181 #ifdef __cplusplus
20182 extern "C"
20183 #endif
20184 /* We use char because int might match the return type of a gcc2
20185    builtin and then its argument prototype would still apply.  */
20186 char erfc ();
20187 int
20188 main ()
20189 {
20190 erfc ();
20191   ;
20192   return 0;
20193 }
20194 _ACEOF
20195 rm -f conftest.$ac_objext conftest$ac_exeext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20197   (eval $ac_link) 2>conftest.er1
20198   ac_status=$?
20199   grep -v '^ *+' conftest.er1 >conftest.err
20200   rm -f conftest.er1
20201   cat conftest.err >&5
20202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203   (exit $ac_status); } &&
20204          { ac_try='test -z "$ac_c_werror_flag"
20205                          || test ! -s conftest.err'
20206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207   (eval $ac_try) 2>&5
20208   ac_status=$?
20209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210   (exit $ac_status); }; } &&
20211          { ac_try='test -s conftest$ac_exeext'
20212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20213   (eval $ac_try) 2>&5
20214   ac_status=$?
20215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216   (exit $ac_status); }; }; then
20217   ac_cv_lib_m_erfc=yes
20218 else
20219   echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20221
20222 ac_cv_lib_m_erfc=no
20223 fi
20224 rm -f conftest.err conftest.$ac_objext \
20225       conftest$ac_exeext conftest.$ac_ext
20226 LIBS=$ac_check_lib_save_LIBS
20227 fi
20228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20229 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20230 if test $ac_cv_lib_m_erfc = yes; then
20231
20232 cat >>confdefs.h <<\_ACEOF
20233 #define HAVE_ERFC 1
20234 _ACEOF
20235
20236 fi
20237
20238 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20239 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20240 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20241   echo $ECHO_N "(cached) $ECHO_C" >&6
20242 else
20243   ac_check_lib_save_LIBS=$LIBS
20244 LIBS="-lm  $LIBS"
20245 if test x$gcc_no_link = xyes; then
20246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20248    { (exit 1); exit 1; }; }
20249 fi
20250 cat >conftest.$ac_ext <<_ACEOF
20251 /* confdefs.h.  */
20252 _ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h.  */
20256
20257 /* Override any gcc2 internal prototype to avoid an error.  */
20258 #ifdef __cplusplus
20259 extern "C"
20260 #endif
20261 /* We use char because int might match the return type of a gcc2
20262    builtin and then its argument prototype would still apply.  */
20263 char erfcl ();
20264 int
20265 main ()
20266 {
20267 erfcl ();
20268   ;
20269   return 0;
20270 }
20271 _ACEOF
20272 rm -f conftest.$ac_objext conftest$ac_exeext
20273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20274   (eval $ac_link) 2>conftest.er1
20275   ac_status=$?
20276   grep -v '^ *+' conftest.er1 >conftest.err
20277   rm -f conftest.er1
20278   cat conftest.err >&5
20279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280   (exit $ac_status); } &&
20281          { ac_try='test -z "$ac_c_werror_flag"
20282                          || test ! -s conftest.err'
20283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284   (eval $ac_try) 2>&5
20285   ac_status=$?
20286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287   (exit $ac_status); }; } &&
20288          { ac_try='test -s conftest$ac_exeext'
20289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290   (eval $ac_try) 2>&5
20291   ac_status=$?
20292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293   (exit $ac_status); }; }; then
20294   ac_cv_lib_m_erfcl=yes
20295 else
20296   echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299 ac_cv_lib_m_erfcl=no
20300 fi
20301 rm -f conftest.err conftest.$ac_objext \
20302       conftest$ac_exeext conftest.$ac_ext
20303 LIBS=$ac_check_lib_save_LIBS
20304 fi
20305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
20306 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
20307 if test $ac_cv_lib_m_erfcl = yes; then
20308
20309 cat >>confdefs.h <<\_ACEOF
20310 #define HAVE_ERFCL 1
20311 _ACEOF
20312
20313 fi
20314
20315 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
20316 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
20317 if test "${ac_cv_lib_m_j0f+set}" = set; then
20318   echo $ECHO_N "(cached) $ECHO_C" >&6
20319 else
20320   ac_check_lib_save_LIBS=$LIBS
20321 LIBS="-lm  $LIBS"
20322 if test x$gcc_no_link = xyes; then
20323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20325    { (exit 1); exit 1; }; }
20326 fi
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h.  */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h.  */
20333
20334 /* Override any gcc2 internal prototype to avoid an error.  */
20335 #ifdef __cplusplus
20336 extern "C"
20337 #endif
20338 /* We use char because int might match the return type of a gcc2
20339    builtin and then its argument prototype would still apply.  */
20340 char j0f ();
20341 int
20342 main ()
20343 {
20344 j0f ();
20345   ;
20346   return 0;
20347 }
20348 _ACEOF
20349 rm -f conftest.$ac_objext conftest$ac_exeext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20351   (eval $ac_link) 2>conftest.er1
20352   ac_status=$?
20353   grep -v '^ *+' conftest.er1 >conftest.err
20354   rm -f conftest.er1
20355   cat conftest.err >&5
20356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357   (exit $ac_status); } &&
20358          { ac_try='test -z "$ac_c_werror_flag"
20359                          || test ! -s conftest.err'
20360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361   (eval $ac_try) 2>&5
20362   ac_status=$?
20363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364   (exit $ac_status); }; } &&
20365          { ac_try='test -s conftest$ac_exeext'
20366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367   (eval $ac_try) 2>&5
20368   ac_status=$?
20369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370   (exit $ac_status); }; }; then
20371   ac_cv_lib_m_j0f=yes
20372 else
20373   echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20375
20376 ac_cv_lib_m_j0f=no
20377 fi
20378 rm -f conftest.err conftest.$ac_objext \
20379       conftest$ac_exeext conftest.$ac_ext
20380 LIBS=$ac_check_lib_save_LIBS
20381 fi
20382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20383 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20384 if test $ac_cv_lib_m_j0f = yes; then
20385
20386 cat >>confdefs.h <<\_ACEOF
20387 #define HAVE_J0F 1
20388 _ACEOF
20389
20390 fi
20391
20392 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20393 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20394 if test "${ac_cv_lib_m_j0+set}" = set; then
20395   echo $ECHO_N "(cached) $ECHO_C" >&6
20396 else
20397   ac_check_lib_save_LIBS=$LIBS
20398 LIBS="-lm  $LIBS"
20399 if test x$gcc_no_link = xyes; then
20400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20402    { (exit 1); exit 1; }; }
20403 fi
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h.  */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h.  */
20410
20411 /* Override any gcc2 internal prototype to avoid an error.  */
20412 #ifdef __cplusplus
20413 extern "C"
20414 #endif
20415 /* We use char because int might match the return type of a gcc2
20416    builtin and then its argument prototype would still apply.  */
20417 char j0 ();
20418 int
20419 main ()
20420 {
20421 j0 ();
20422   ;
20423   return 0;
20424 }
20425 _ACEOF
20426 rm -f conftest.$ac_objext conftest$ac_exeext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20428   (eval $ac_link) 2>conftest.er1
20429   ac_status=$?
20430   grep -v '^ *+' conftest.er1 >conftest.err
20431   rm -f conftest.er1
20432   cat conftest.err >&5
20433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434   (exit $ac_status); } &&
20435          { ac_try='test -z "$ac_c_werror_flag"
20436                          || test ! -s conftest.err'
20437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438   (eval $ac_try) 2>&5
20439   ac_status=$?
20440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441   (exit $ac_status); }; } &&
20442          { ac_try='test -s conftest$ac_exeext'
20443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444   (eval $ac_try) 2>&5
20445   ac_status=$?
20446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447   (exit $ac_status); }; }; then
20448   ac_cv_lib_m_j0=yes
20449 else
20450   echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20452
20453 ac_cv_lib_m_j0=no
20454 fi
20455 rm -f conftest.err conftest.$ac_objext \
20456       conftest$ac_exeext conftest.$ac_ext
20457 LIBS=$ac_check_lib_save_LIBS
20458 fi
20459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
20460 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
20461 if test $ac_cv_lib_m_j0 = yes; then
20462
20463 cat >>confdefs.h <<\_ACEOF
20464 #define HAVE_J0 1
20465 _ACEOF
20466
20467 fi
20468
20469 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
20470 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
20471 if test "${ac_cv_lib_m_j0l+set}" = set; then
20472   echo $ECHO_N "(cached) $ECHO_C" >&6
20473 else
20474   ac_check_lib_save_LIBS=$LIBS
20475 LIBS="-lm  $LIBS"
20476 if test x$gcc_no_link = xyes; then
20477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20479    { (exit 1); exit 1; }; }
20480 fi
20481 cat >conftest.$ac_ext <<_ACEOF
20482 /* confdefs.h.  */
20483 _ACEOF
20484 cat confdefs.h >>conftest.$ac_ext
20485 cat >>conftest.$ac_ext <<_ACEOF
20486 /* end confdefs.h.  */
20487
20488 /* Override any gcc2 internal prototype to avoid an error.  */
20489 #ifdef __cplusplus
20490 extern "C"
20491 #endif
20492 /* We use char because int might match the return type of a gcc2
20493    builtin and then its argument prototype would still apply.  */
20494 char j0l ();
20495 int
20496 main ()
20497 {
20498 j0l ();
20499   ;
20500   return 0;
20501 }
20502 _ACEOF
20503 rm -f conftest.$ac_objext conftest$ac_exeext
20504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20505   (eval $ac_link) 2>conftest.er1
20506   ac_status=$?
20507   grep -v '^ *+' conftest.er1 >conftest.err
20508   rm -f conftest.er1
20509   cat conftest.err >&5
20510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511   (exit $ac_status); } &&
20512          { ac_try='test -z "$ac_c_werror_flag"
20513                          || test ! -s conftest.err'
20514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515   (eval $ac_try) 2>&5
20516   ac_status=$?
20517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518   (exit $ac_status); }; } &&
20519          { ac_try='test -s conftest$ac_exeext'
20520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20521   (eval $ac_try) 2>&5
20522   ac_status=$?
20523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524   (exit $ac_status); }; }; then
20525   ac_cv_lib_m_j0l=yes
20526 else
20527   echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20529
20530 ac_cv_lib_m_j0l=no
20531 fi
20532 rm -f conftest.err conftest.$ac_objext \
20533       conftest$ac_exeext conftest.$ac_ext
20534 LIBS=$ac_check_lib_save_LIBS
20535 fi
20536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
20537 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
20538 if test $ac_cv_lib_m_j0l = yes; then
20539
20540 cat >>confdefs.h <<\_ACEOF
20541 #define HAVE_J0L 1
20542 _ACEOF
20543
20544 fi
20545
20546 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
20547 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
20548 if test "${ac_cv_lib_m_j1f+set}" = set; then
20549   echo $ECHO_N "(cached) $ECHO_C" >&6
20550 else
20551   ac_check_lib_save_LIBS=$LIBS
20552 LIBS="-lm  $LIBS"
20553 if test x$gcc_no_link = xyes; then
20554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20556    { (exit 1); exit 1; }; }
20557 fi
20558 cat >conftest.$ac_ext <<_ACEOF
20559 /* confdefs.h.  */
20560 _ACEOF
20561 cat confdefs.h >>conftest.$ac_ext
20562 cat >>conftest.$ac_ext <<_ACEOF
20563 /* end confdefs.h.  */
20564
20565 /* Override any gcc2 internal prototype to avoid an error.  */
20566 #ifdef __cplusplus
20567 extern "C"
20568 #endif
20569 /* We use char because int might match the return type of a gcc2
20570    builtin and then its argument prototype would still apply.  */
20571 char j1f ();
20572 int
20573 main ()
20574 {
20575 j1f ();
20576   ;
20577   return 0;
20578 }
20579 _ACEOF
20580 rm -f conftest.$ac_objext conftest$ac_exeext
20581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20582   (eval $ac_link) 2>conftest.er1
20583   ac_status=$?
20584   grep -v '^ *+' conftest.er1 >conftest.err
20585   rm -f conftest.er1
20586   cat conftest.err >&5
20587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588   (exit $ac_status); } &&
20589          { ac_try='test -z "$ac_c_werror_flag"
20590                          || test ! -s conftest.err'
20591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20592   (eval $ac_try) 2>&5
20593   ac_status=$?
20594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595   (exit $ac_status); }; } &&
20596          { ac_try='test -s conftest$ac_exeext'
20597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598   (eval $ac_try) 2>&5
20599   ac_status=$?
20600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601   (exit $ac_status); }; }; then
20602   ac_cv_lib_m_j1f=yes
20603 else
20604   echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20606
20607 ac_cv_lib_m_j1f=no
20608 fi
20609 rm -f conftest.err conftest.$ac_objext \
20610       conftest$ac_exeext conftest.$ac_ext
20611 LIBS=$ac_check_lib_save_LIBS
20612 fi
20613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
20614 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
20615 if test $ac_cv_lib_m_j1f = yes; then
20616
20617 cat >>confdefs.h <<\_ACEOF
20618 #define HAVE_J1F 1
20619 _ACEOF
20620
20621 fi
20622
20623 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
20624 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
20625 if test "${ac_cv_lib_m_j1+set}" = set; then
20626   echo $ECHO_N "(cached) $ECHO_C" >&6
20627 else
20628   ac_check_lib_save_LIBS=$LIBS
20629 LIBS="-lm  $LIBS"
20630 if test x$gcc_no_link = xyes; then
20631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20633    { (exit 1); exit 1; }; }
20634 fi
20635 cat >conftest.$ac_ext <<_ACEOF
20636 /* confdefs.h.  */
20637 _ACEOF
20638 cat confdefs.h >>conftest.$ac_ext
20639 cat >>conftest.$ac_ext <<_ACEOF
20640 /* end confdefs.h.  */
20641
20642 /* Override any gcc2 internal prototype to avoid an error.  */
20643 #ifdef __cplusplus
20644 extern "C"
20645 #endif
20646 /* We use char because int might match the return type of a gcc2
20647    builtin and then its argument prototype would still apply.  */
20648 char j1 ();
20649 int
20650 main ()
20651 {
20652 j1 ();
20653   ;
20654   return 0;
20655 }
20656 _ACEOF
20657 rm -f conftest.$ac_objext conftest$ac_exeext
20658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20659   (eval $ac_link) 2>conftest.er1
20660   ac_status=$?
20661   grep -v '^ *+' conftest.er1 >conftest.err
20662   rm -f conftest.er1
20663   cat conftest.err >&5
20664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665   (exit $ac_status); } &&
20666          { ac_try='test -z "$ac_c_werror_flag"
20667                          || test ! -s conftest.err'
20668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20669   (eval $ac_try) 2>&5
20670   ac_status=$?
20671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672   (exit $ac_status); }; } &&
20673          { ac_try='test -s conftest$ac_exeext'
20674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675   (eval $ac_try) 2>&5
20676   ac_status=$?
20677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678   (exit $ac_status); }; }; then
20679   ac_cv_lib_m_j1=yes
20680 else
20681   echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20683
20684 ac_cv_lib_m_j1=no
20685 fi
20686 rm -f conftest.err conftest.$ac_objext \
20687       conftest$ac_exeext conftest.$ac_ext
20688 LIBS=$ac_check_lib_save_LIBS
20689 fi
20690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
20691 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
20692 if test $ac_cv_lib_m_j1 = yes; then
20693
20694 cat >>confdefs.h <<\_ACEOF
20695 #define HAVE_J1 1
20696 _ACEOF
20697
20698 fi
20699
20700 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
20701 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
20702 if test "${ac_cv_lib_m_j1l+set}" = set; then
20703   echo $ECHO_N "(cached) $ECHO_C" >&6
20704 else
20705   ac_check_lib_save_LIBS=$LIBS
20706 LIBS="-lm  $LIBS"
20707 if test x$gcc_no_link = xyes; then
20708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20710    { (exit 1); exit 1; }; }
20711 fi
20712 cat >conftest.$ac_ext <<_ACEOF
20713 /* confdefs.h.  */
20714 _ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h.  */
20718
20719 /* Override any gcc2 internal prototype to avoid an error.  */
20720 #ifdef __cplusplus
20721 extern "C"
20722 #endif
20723 /* We use char because int might match the return type of a gcc2
20724    builtin and then its argument prototype would still apply.  */
20725 char j1l ();
20726 int
20727 main ()
20728 {
20729 j1l ();
20730   ;
20731   return 0;
20732 }
20733 _ACEOF
20734 rm -f conftest.$ac_objext conftest$ac_exeext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20736   (eval $ac_link) 2>conftest.er1
20737   ac_status=$?
20738   grep -v '^ *+' conftest.er1 >conftest.err
20739   rm -f conftest.er1
20740   cat conftest.err >&5
20741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742   (exit $ac_status); } &&
20743          { ac_try='test -z "$ac_c_werror_flag"
20744                          || test ! -s conftest.err'
20745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746   (eval $ac_try) 2>&5
20747   ac_status=$?
20748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749   (exit $ac_status); }; } &&
20750          { ac_try='test -s conftest$ac_exeext'
20751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20752   (eval $ac_try) 2>&5
20753   ac_status=$?
20754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755   (exit $ac_status); }; }; then
20756   ac_cv_lib_m_j1l=yes
20757 else
20758   echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20760
20761 ac_cv_lib_m_j1l=no
20762 fi
20763 rm -f conftest.err conftest.$ac_objext \
20764       conftest$ac_exeext conftest.$ac_ext
20765 LIBS=$ac_check_lib_save_LIBS
20766 fi
20767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
20768 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
20769 if test $ac_cv_lib_m_j1l = yes; then
20770
20771 cat >>confdefs.h <<\_ACEOF
20772 #define HAVE_J1L 1
20773 _ACEOF
20774
20775 fi
20776
20777 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
20778 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
20779 if test "${ac_cv_lib_m_jnf+set}" = set; then
20780   echo $ECHO_N "(cached) $ECHO_C" >&6
20781 else
20782   ac_check_lib_save_LIBS=$LIBS
20783 LIBS="-lm  $LIBS"
20784 if test x$gcc_no_link = xyes; then
20785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20787    { (exit 1); exit 1; }; }
20788 fi
20789 cat >conftest.$ac_ext <<_ACEOF
20790 /* confdefs.h.  */
20791 _ACEOF
20792 cat confdefs.h >>conftest.$ac_ext
20793 cat >>conftest.$ac_ext <<_ACEOF
20794 /* end confdefs.h.  */
20795
20796 /* Override any gcc2 internal prototype to avoid an error.  */
20797 #ifdef __cplusplus
20798 extern "C"
20799 #endif
20800 /* We use char because int might match the return type of a gcc2
20801    builtin and then its argument prototype would still apply.  */
20802 char jnf ();
20803 int
20804 main ()
20805 {
20806 jnf ();
20807   ;
20808   return 0;
20809 }
20810 _ACEOF
20811 rm -f conftest.$ac_objext conftest$ac_exeext
20812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20813   (eval $ac_link) 2>conftest.er1
20814   ac_status=$?
20815   grep -v '^ *+' conftest.er1 >conftest.err
20816   rm -f conftest.er1
20817   cat conftest.err >&5
20818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819   (exit $ac_status); } &&
20820          { ac_try='test -z "$ac_c_werror_flag"
20821                          || test ! -s conftest.err'
20822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823   (eval $ac_try) 2>&5
20824   ac_status=$?
20825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826   (exit $ac_status); }; } &&
20827          { ac_try='test -s conftest$ac_exeext'
20828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829   (eval $ac_try) 2>&5
20830   ac_status=$?
20831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832   (exit $ac_status); }; }; then
20833   ac_cv_lib_m_jnf=yes
20834 else
20835   echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20837
20838 ac_cv_lib_m_jnf=no
20839 fi
20840 rm -f conftest.err conftest.$ac_objext \
20841       conftest$ac_exeext conftest.$ac_ext
20842 LIBS=$ac_check_lib_save_LIBS
20843 fi
20844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
20845 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
20846 if test $ac_cv_lib_m_jnf = yes; then
20847
20848 cat >>confdefs.h <<\_ACEOF
20849 #define HAVE_JNF 1
20850 _ACEOF
20851
20852 fi
20853
20854 echo "$as_me:$LINENO: checking for jn in -lm" >&5
20855 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
20856 if test "${ac_cv_lib_m_jn+set}" = set; then
20857   echo $ECHO_N "(cached) $ECHO_C" >&6
20858 else
20859   ac_check_lib_save_LIBS=$LIBS
20860 LIBS="-lm  $LIBS"
20861 if test x$gcc_no_link = xyes; then
20862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20864    { (exit 1); exit 1; }; }
20865 fi
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h.  */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h.  */
20872
20873 /* Override any gcc2 internal prototype to avoid an error.  */
20874 #ifdef __cplusplus
20875 extern "C"
20876 #endif
20877 /* We use char because int might match the return type of a gcc2
20878    builtin and then its argument prototype would still apply.  */
20879 char jn ();
20880 int
20881 main ()
20882 {
20883 jn ();
20884   ;
20885   return 0;
20886 }
20887 _ACEOF
20888 rm -f conftest.$ac_objext conftest$ac_exeext
20889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20890   (eval $ac_link) 2>conftest.er1
20891   ac_status=$?
20892   grep -v '^ *+' conftest.er1 >conftest.err
20893   rm -f conftest.er1
20894   cat conftest.err >&5
20895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896   (exit $ac_status); } &&
20897          { ac_try='test -z "$ac_c_werror_flag"
20898                          || test ! -s conftest.err'
20899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900   (eval $ac_try) 2>&5
20901   ac_status=$?
20902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903   (exit $ac_status); }; } &&
20904          { ac_try='test -s conftest$ac_exeext'
20905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906   (eval $ac_try) 2>&5
20907   ac_status=$?
20908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909   (exit $ac_status); }; }; then
20910   ac_cv_lib_m_jn=yes
20911 else
20912   echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.$ac_ext >&5
20914
20915 ac_cv_lib_m_jn=no
20916 fi
20917 rm -f conftest.err conftest.$ac_objext \
20918       conftest$ac_exeext conftest.$ac_ext
20919 LIBS=$ac_check_lib_save_LIBS
20920 fi
20921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
20922 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
20923 if test $ac_cv_lib_m_jn = yes; then
20924
20925 cat >>confdefs.h <<\_ACEOF
20926 #define HAVE_JN 1
20927 _ACEOF
20928
20929 fi
20930
20931 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
20932 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
20933 if test "${ac_cv_lib_m_jnl+set}" = set; then
20934   echo $ECHO_N "(cached) $ECHO_C" >&6
20935 else
20936   ac_check_lib_save_LIBS=$LIBS
20937 LIBS="-lm  $LIBS"
20938 if test x$gcc_no_link = xyes; then
20939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20941    { (exit 1); exit 1; }; }
20942 fi
20943 cat >conftest.$ac_ext <<_ACEOF
20944 /* confdefs.h.  */
20945 _ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h.  */
20949
20950 /* Override any gcc2 internal prototype to avoid an error.  */
20951 #ifdef __cplusplus
20952 extern "C"
20953 #endif
20954 /* We use char because int might match the return type of a gcc2
20955    builtin and then its argument prototype would still apply.  */
20956 char jnl ();
20957 int
20958 main ()
20959 {
20960 jnl ();
20961   ;
20962   return 0;
20963 }
20964 _ACEOF
20965 rm -f conftest.$ac_objext conftest$ac_exeext
20966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20967   (eval $ac_link) 2>conftest.er1
20968   ac_status=$?
20969   grep -v '^ *+' conftest.er1 >conftest.err
20970   rm -f conftest.er1
20971   cat conftest.err >&5
20972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973   (exit $ac_status); } &&
20974          { ac_try='test -z "$ac_c_werror_flag"
20975                          || test ! -s conftest.err'
20976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20977   (eval $ac_try) 2>&5
20978   ac_status=$?
20979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980   (exit $ac_status); }; } &&
20981          { ac_try='test -s conftest$ac_exeext'
20982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983   (eval $ac_try) 2>&5
20984   ac_status=$?
20985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986   (exit $ac_status); }; }; then
20987   ac_cv_lib_m_jnl=yes
20988 else
20989   echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.$ac_ext >&5
20991
20992 ac_cv_lib_m_jnl=no
20993 fi
20994 rm -f conftest.err conftest.$ac_objext \
20995       conftest$ac_exeext conftest.$ac_ext
20996 LIBS=$ac_check_lib_save_LIBS
20997 fi
20998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
20999 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21000 if test $ac_cv_lib_m_jnl = yes; then
21001
21002 cat >>confdefs.h <<\_ACEOF
21003 #define HAVE_JNL 1
21004 _ACEOF
21005
21006 fi
21007
21008 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21009 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21010 if test "${ac_cv_lib_m_y0f+set}" = set; then
21011   echo $ECHO_N "(cached) $ECHO_C" >&6
21012 else
21013   ac_check_lib_save_LIBS=$LIBS
21014 LIBS="-lm  $LIBS"
21015 if test x$gcc_no_link = xyes; then
21016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21018    { (exit 1); exit 1; }; }
21019 fi
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h.  */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h.  */
21026
21027 /* Override any gcc2 internal prototype to avoid an error.  */
21028 #ifdef __cplusplus
21029 extern "C"
21030 #endif
21031 /* We use char because int might match the return type of a gcc2
21032    builtin and then its argument prototype would still apply.  */
21033 char y0f ();
21034 int
21035 main ()
21036 {
21037 y0f ();
21038   ;
21039   return 0;
21040 }
21041 _ACEOF
21042 rm -f conftest.$ac_objext conftest$ac_exeext
21043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21044   (eval $ac_link) 2>conftest.er1
21045   ac_status=$?
21046   grep -v '^ *+' conftest.er1 >conftest.err
21047   rm -f conftest.er1
21048   cat conftest.err >&5
21049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050   (exit $ac_status); } &&
21051          { ac_try='test -z "$ac_c_werror_flag"
21052                          || test ! -s conftest.err'
21053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054   (eval $ac_try) 2>&5
21055   ac_status=$?
21056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057   (exit $ac_status); }; } &&
21058          { ac_try='test -s conftest$ac_exeext'
21059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060   (eval $ac_try) 2>&5
21061   ac_status=$?
21062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063   (exit $ac_status); }; }; then
21064   ac_cv_lib_m_y0f=yes
21065 else
21066   echo "$as_me: failed program was:" >&5
21067 sed 's/^/| /' conftest.$ac_ext >&5
21068
21069 ac_cv_lib_m_y0f=no
21070 fi
21071 rm -f conftest.err conftest.$ac_objext \
21072       conftest$ac_exeext conftest.$ac_ext
21073 LIBS=$ac_check_lib_save_LIBS
21074 fi
21075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21076 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21077 if test $ac_cv_lib_m_y0f = yes; then
21078
21079 cat >>confdefs.h <<\_ACEOF
21080 #define HAVE_Y0F 1
21081 _ACEOF
21082
21083 fi
21084
21085 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21086 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21087 if test "${ac_cv_lib_m_y0+set}" = set; then
21088   echo $ECHO_N "(cached) $ECHO_C" >&6
21089 else
21090   ac_check_lib_save_LIBS=$LIBS
21091 LIBS="-lm  $LIBS"
21092 if test x$gcc_no_link = xyes; then
21093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21095    { (exit 1); exit 1; }; }
21096 fi
21097 cat >conftest.$ac_ext <<_ACEOF
21098 /* confdefs.h.  */
21099 _ACEOF
21100 cat confdefs.h >>conftest.$ac_ext
21101 cat >>conftest.$ac_ext <<_ACEOF
21102 /* end confdefs.h.  */
21103
21104 /* Override any gcc2 internal prototype to avoid an error.  */
21105 #ifdef __cplusplus
21106 extern "C"
21107 #endif
21108 /* We use char because int might match the return type of a gcc2
21109    builtin and then its argument prototype would still apply.  */
21110 char y0 ();
21111 int
21112 main ()
21113 {
21114 y0 ();
21115   ;
21116   return 0;
21117 }
21118 _ACEOF
21119 rm -f conftest.$ac_objext conftest$ac_exeext
21120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21121   (eval $ac_link) 2>conftest.er1
21122   ac_status=$?
21123   grep -v '^ *+' conftest.er1 >conftest.err
21124   rm -f conftest.er1
21125   cat conftest.err >&5
21126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127   (exit $ac_status); } &&
21128          { ac_try='test -z "$ac_c_werror_flag"
21129                          || test ! -s conftest.err'
21130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131   (eval $ac_try) 2>&5
21132   ac_status=$?
21133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134   (exit $ac_status); }; } &&
21135          { ac_try='test -s conftest$ac_exeext'
21136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137   (eval $ac_try) 2>&5
21138   ac_status=$?
21139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140   (exit $ac_status); }; }; then
21141   ac_cv_lib_m_y0=yes
21142 else
21143   echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21145
21146 ac_cv_lib_m_y0=no
21147 fi
21148 rm -f conftest.err conftest.$ac_objext \
21149       conftest$ac_exeext conftest.$ac_ext
21150 LIBS=$ac_check_lib_save_LIBS
21151 fi
21152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21153 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21154 if test $ac_cv_lib_m_y0 = yes; then
21155
21156 cat >>confdefs.h <<\_ACEOF
21157 #define HAVE_Y0 1
21158 _ACEOF
21159
21160 fi
21161
21162 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21163 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21164 if test "${ac_cv_lib_m_y0l+set}" = set; then
21165   echo $ECHO_N "(cached) $ECHO_C" >&6
21166 else
21167   ac_check_lib_save_LIBS=$LIBS
21168 LIBS="-lm  $LIBS"
21169 if test x$gcc_no_link = xyes; then
21170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21172    { (exit 1); exit 1; }; }
21173 fi
21174 cat >conftest.$ac_ext <<_ACEOF
21175 /* confdefs.h.  */
21176 _ACEOF
21177 cat confdefs.h >>conftest.$ac_ext
21178 cat >>conftest.$ac_ext <<_ACEOF
21179 /* end confdefs.h.  */
21180
21181 /* Override any gcc2 internal prototype to avoid an error.  */
21182 #ifdef __cplusplus
21183 extern "C"
21184 #endif
21185 /* We use char because int might match the return type of a gcc2
21186    builtin and then its argument prototype would still apply.  */
21187 char y0l ();
21188 int
21189 main ()
21190 {
21191 y0l ();
21192   ;
21193   return 0;
21194 }
21195 _ACEOF
21196 rm -f conftest.$ac_objext conftest$ac_exeext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21198   (eval $ac_link) 2>conftest.er1
21199   ac_status=$?
21200   grep -v '^ *+' conftest.er1 >conftest.err
21201   rm -f conftest.er1
21202   cat conftest.err >&5
21203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204   (exit $ac_status); } &&
21205          { ac_try='test -z "$ac_c_werror_flag"
21206                          || test ! -s conftest.err'
21207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208   (eval $ac_try) 2>&5
21209   ac_status=$?
21210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211   (exit $ac_status); }; } &&
21212          { ac_try='test -s conftest$ac_exeext'
21213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214   (eval $ac_try) 2>&5
21215   ac_status=$?
21216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217   (exit $ac_status); }; }; then
21218   ac_cv_lib_m_y0l=yes
21219 else
21220   echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21222
21223 ac_cv_lib_m_y0l=no
21224 fi
21225 rm -f conftest.err conftest.$ac_objext \
21226       conftest$ac_exeext conftest.$ac_ext
21227 LIBS=$ac_check_lib_save_LIBS
21228 fi
21229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21230 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21231 if test $ac_cv_lib_m_y0l = yes; then
21232
21233 cat >>confdefs.h <<\_ACEOF
21234 #define HAVE_Y0L 1
21235 _ACEOF
21236
21237 fi
21238
21239 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21240 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21241 if test "${ac_cv_lib_m_y1f+set}" = set; then
21242   echo $ECHO_N "(cached) $ECHO_C" >&6
21243 else
21244   ac_check_lib_save_LIBS=$LIBS
21245 LIBS="-lm  $LIBS"
21246 if test x$gcc_no_link = xyes; then
21247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21249    { (exit 1); exit 1; }; }
21250 fi
21251 cat >conftest.$ac_ext <<_ACEOF
21252 /* confdefs.h.  */
21253 _ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h.  */
21257
21258 /* Override any gcc2 internal prototype to avoid an error.  */
21259 #ifdef __cplusplus
21260 extern "C"
21261 #endif
21262 /* We use char because int might match the return type of a gcc2
21263    builtin and then its argument prototype would still apply.  */
21264 char y1f ();
21265 int
21266 main ()
21267 {
21268 y1f ();
21269   ;
21270   return 0;
21271 }
21272 _ACEOF
21273 rm -f conftest.$ac_objext conftest$ac_exeext
21274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21275   (eval $ac_link) 2>conftest.er1
21276   ac_status=$?
21277   grep -v '^ *+' conftest.er1 >conftest.err
21278   rm -f conftest.er1
21279   cat conftest.err >&5
21280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281   (exit $ac_status); } &&
21282          { ac_try='test -z "$ac_c_werror_flag"
21283                          || test ! -s conftest.err'
21284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21285   (eval $ac_try) 2>&5
21286   ac_status=$?
21287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288   (exit $ac_status); }; } &&
21289          { ac_try='test -s conftest$ac_exeext'
21290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291   (eval $ac_try) 2>&5
21292   ac_status=$?
21293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294   (exit $ac_status); }; }; then
21295   ac_cv_lib_m_y1f=yes
21296 else
21297   echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 ac_cv_lib_m_y1f=no
21301 fi
21302 rm -f conftest.err conftest.$ac_objext \
21303       conftest$ac_exeext conftest.$ac_ext
21304 LIBS=$ac_check_lib_save_LIBS
21305 fi
21306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
21307 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
21308 if test $ac_cv_lib_m_y1f = yes; then
21309
21310 cat >>confdefs.h <<\_ACEOF
21311 #define HAVE_Y1F 1
21312 _ACEOF
21313
21314 fi
21315
21316 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
21317 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
21318 if test "${ac_cv_lib_m_y1+set}" = set; then
21319   echo $ECHO_N "(cached) $ECHO_C" >&6
21320 else
21321   ac_check_lib_save_LIBS=$LIBS
21322 LIBS="-lm  $LIBS"
21323 if test x$gcc_no_link = xyes; then
21324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21326    { (exit 1); exit 1; }; }
21327 fi
21328 cat >conftest.$ac_ext <<_ACEOF
21329 /* confdefs.h.  */
21330 _ACEOF
21331 cat confdefs.h >>conftest.$ac_ext
21332 cat >>conftest.$ac_ext <<_ACEOF
21333 /* end confdefs.h.  */
21334
21335 /* Override any gcc2 internal prototype to avoid an error.  */
21336 #ifdef __cplusplus
21337 extern "C"
21338 #endif
21339 /* We use char because int might match the return type of a gcc2
21340    builtin and then its argument prototype would still apply.  */
21341 char y1 ();
21342 int
21343 main ()
21344 {
21345 y1 ();
21346   ;
21347   return 0;
21348 }
21349 _ACEOF
21350 rm -f conftest.$ac_objext conftest$ac_exeext
21351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21352   (eval $ac_link) 2>conftest.er1
21353   ac_status=$?
21354   grep -v '^ *+' conftest.er1 >conftest.err
21355   rm -f conftest.er1
21356   cat conftest.err >&5
21357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358   (exit $ac_status); } &&
21359          { ac_try='test -z "$ac_c_werror_flag"
21360                          || test ! -s conftest.err'
21361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362   (eval $ac_try) 2>&5
21363   ac_status=$?
21364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365   (exit $ac_status); }; } &&
21366          { ac_try='test -s conftest$ac_exeext'
21367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368   (eval $ac_try) 2>&5
21369   ac_status=$?
21370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371   (exit $ac_status); }; }; then
21372   ac_cv_lib_m_y1=yes
21373 else
21374   echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.$ac_ext >&5
21376
21377 ac_cv_lib_m_y1=no
21378 fi
21379 rm -f conftest.err conftest.$ac_objext \
21380       conftest$ac_exeext conftest.$ac_ext
21381 LIBS=$ac_check_lib_save_LIBS
21382 fi
21383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21384 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21385 if test $ac_cv_lib_m_y1 = yes; then
21386
21387 cat >>confdefs.h <<\_ACEOF
21388 #define HAVE_Y1 1
21389 _ACEOF
21390
21391 fi
21392
21393 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21394 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21395 if test "${ac_cv_lib_m_y1l+set}" = set; then
21396   echo $ECHO_N "(cached) $ECHO_C" >&6
21397 else
21398   ac_check_lib_save_LIBS=$LIBS
21399 LIBS="-lm  $LIBS"
21400 if test x$gcc_no_link = xyes; then
21401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21403    { (exit 1); exit 1; }; }
21404 fi
21405 cat >conftest.$ac_ext <<_ACEOF
21406 /* confdefs.h.  */
21407 _ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h.  */
21411
21412 /* Override any gcc2 internal prototype to avoid an error.  */
21413 #ifdef __cplusplus
21414 extern "C"
21415 #endif
21416 /* We use char because int might match the return type of a gcc2
21417    builtin and then its argument prototype would still apply.  */
21418 char y1l ();
21419 int
21420 main ()
21421 {
21422 y1l ();
21423   ;
21424   return 0;
21425 }
21426 _ACEOF
21427 rm -f conftest.$ac_objext conftest$ac_exeext
21428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21429   (eval $ac_link) 2>conftest.er1
21430   ac_status=$?
21431   grep -v '^ *+' conftest.er1 >conftest.err
21432   rm -f conftest.er1
21433   cat conftest.err >&5
21434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435   (exit $ac_status); } &&
21436          { ac_try='test -z "$ac_c_werror_flag"
21437                          || test ! -s conftest.err'
21438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439   (eval $ac_try) 2>&5
21440   ac_status=$?
21441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442   (exit $ac_status); }; } &&
21443          { ac_try='test -s conftest$ac_exeext'
21444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445   (eval $ac_try) 2>&5
21446   ac_status=$?
21447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448   (exit $ac_status); }; }; then
21449   ac_cv_lib_m_y1l=yes
21450 else
21451   echo "$as_me: failed program was:" >&5
21452 sed 's/^/| /' conftest.$ac_ext >&5
21453
21454 ac_cv_lib_m_y1l=no
21455 fi
21456 rm -f conftest.err conftest.$ac_objext \
21457       conftest$ac_exeext conftest.$ac_ext
21458 LIBS=$ac_check_lib_save_LIBS
21459 fi
21460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
21461 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
21462 if test $ac_cv_lib_m_y1l = yes; then
21463
21464 cat >>confdefs.h <<\_ACEOF
21465 #define HAVE_Y1L 1
21466 _ACEOF
21467
21468 fi
21469
21470 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
21471 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
21472 if test "${ac_cv_lib_m_ynf+set}" = set; then
21473   echo $ECHO_N "(cached) $ECHO_C" >&6
21474 else
21475   ac_check_lib_save_LIBS=$LIBS
21476 LIBS="-lm  $LIBS"
21477 if test x$gcc_no_link = xyes; then
21478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21480    { (exit 1); exit 1; }; }
21481 fi
21482 cat >conftest.$ac_ext <<_ACEOF
21483 /* confdefs.h.  */
21484 _ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h.  */
21488
21489 /* Override any gcc2 internal prototype to avoid an error.  */
21490 #ifdef __cplusplus
21491 extern "C"
21492 #endif
21493 /* We use char because int might match the return type of a gcc2
21494    builtin and then its argument prototype would still apply.  */
21495 char ynf ();
21496 int
21497 main ()
21498 {
21499 ynf ();
21500   ;
21501   return 0;
21502 }
21503 _ACEOF
21504 rm -f conftest.$ac_objext conftest$ac_exeext
21505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21506   (eval $ac_link) 2>conftest.er1
21507   ac_status=$?
21508   grep -v '^ *+' conftest.er1 >conftest.err
21509   rm -f conftest.er1
21510   cat conftest.err >&5
21511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512   (exit $ac_status); } &&
21513          { ac_try='test -z "$ac_c_werror_flag"
21514                          || test ! -s conftest.err'
21515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516   (eval $ac_try) 2>&5
21517   ac_status=$?
21518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519   (exit $ac_status); }; } &&
21520          { ac_try='test -s conftest$ac_exeext'
21521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21522   (eval $ac_try) 2>&5
21523   ac_status=$?
21524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525   (exit $ac_status); }; }; then
21526   ac_cv_lib_m_ynf=yes
21527 else
21528   echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21530
21531 ac_cv_lib_m_ynf=no
21532 fi
21533 rm -f conftest.err conftest.$ac_objext \
21534       conftest$ac_exeext conftest.$ac_ext
21535 LIBS=$ac_check_lib_save_LIBS
21536 fi
21537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
21538 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
21539 if test $ac_cv_lib_m_ynf = yes; then
21540
21541 cat >>confdefs.h <<\_ACEOF
21542 #define HAVE_YNF 1
21543 _ACEOF
21544
21545 fi
21546
21547 echo "$as_me:$LINENO: checking for yn in -lm" >&5
21548 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
21549 if test "${ac_cv_lib_m_yn+set}" = set; then
21550   echo $ECHO_N "(cached) $ECHO_C" >&6
21551 else
21552   ac_check_lib_save_LIBS=$LIBS
21553 LIBS="-lm  $LIBS"
21554 if test x$gcc_no_link = xyes; then
21555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21557    { (exit 1); exit 1; }; }
21558 fi
21559 cat >conftest.$ac_ext <<_ACEOF
21560 /* confdefs.h.  */
21561 _ACEOF
21562 cat confdefs.h >>conftest.$ac_ext
21563 cat >>conftest.$ac_ext <<_ACEOF
21564 /* end confdefs.h.  */
21565
21566 /* Override any gcc2 internal prototype to avoid an error.  */
21567 #ifdef __cplusplus
21568 extern "C"
21569 #endif
21570 /* We use char because int might match the return type of a gcc2
21571    builtin and then its argument prototype would still apply.  */
21572 char yn ();
21573 int
21574 main ()
21575 {
21576 yn ();
21577   ;
21578   return 0;
21579 }
21580 _ACEOF
21581 rm -f conftest.$ac_objext conftest$ac_exeext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21583   (eval $ac_link) 2>conftest.er1
21584   ac_status=$?
21585   grep -v '^ *+' conftest.er1 >conftest.err
21586   rm -f conftest.er1
21587   cat conftest.err >&5
21588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589   (exit $ac_status); } &&
21590          { ac_try='test -z "$ac_c_werror_flag"
21591                          || test ! -s conftest.err'
21592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593   (eval $ac_try) 2>&5
21594   ac_status=$?
21595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596   (exit $ac_status); }; } &&
21597          { ac_try='test -s conftest$ac_exeext'
21598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599   (eval $ac_try) 2>&5
21600   ac_status=$?
21601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602   (exit $ac_status); }; }; then
21603   ac_cv_lib_m_yn=yes
21604 else
21605   echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 ac_cv_lib_m_yn=no
21609 fi
21610 rm -f conftest.err conftest.$ac_objext \
21611       conftest$ac_exeext conftest.$ac_ext
21612 LIBS=$ac_check_lib_save_LIBS
21613 fi
21614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
21615 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
21616 if test $ac_cv_lib_m_yn = yes; then
21617
21618 cat >>confdefs.h <<\_ACEOF
21619 #define HAVE_YN 1
21620 _ACEOF
21621
21622 fi
21623
21624 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
21625 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
21626 if test "${ac_cv_lib_m_ynl+set}" = set; then
21627   echo $ECHO_N "(cached) $ECHO_C" >&6
21628 else
21629   ac_check_lib_save_LIBS=$LIBS
21630 LIBS="-lm  $LIBS"
21631 if test x$gcc_no_link = xyes; then
21632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21634    { (exit 1); exit 1; }; }
21635 fi
21636 cat >conftest.$ac_ext <<_ACEOF
21637 /* confdefs.h.  */
21638 _ACEOF
21639 cat confdefs.h >>conftest.$ac_ext
21640 cat >>conftest.$ac_ext <<_ACEOF
21641 /* end confdefs.h.  */
21642
21643 /* Override any gcc2 internal prototype to avoid an error.  */
21644 #ifdef __cplusplus
21645 extern "C"
21646 #endif
21647 /* We use char because int might match the return type of a gcc2
21648    builtin and then its argument prototype would still apply.  */
21649 char ynl ();
21650 int
21651 main ()
21652 {
21653 ynl ();
21654   ;
21655   return 0;
21656 }
21657 _ACEOF
21658 rm -f conftest.$ac_objext conftest$ac_exeext
21659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21660   (eval $ac_link) 2>conftest.er1
21661   ac_status=$?
21662   grep -v '^ *+' conftest.er1 >conftest.err
21663   rm -f conftest.er1
21664   cat conftest.err >&5
21665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666   (exit $ac_status); } &&
21667          { ac_try='test -z "$ac_c_werror_flag"
21668                          || test ! -s conftest.err'
21669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21670   (eval $ac_try) 2>&5
21671   ac_status=$?
21672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673   (exit $ac_status); }; } &&
21674          { ac_try='test -s conftest$ac_exeext'
21675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21676   (eval $ac_try) 2>&5
21677   ac_status=$?
21678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679   (exit $ac_status); }; }; then
21680   ac_cv_lib_m_ynl=yes
21681 else
21682   echo "$as_me: failed program was:" >&5
21683 sed 's/^/| /' conftest.$ac_ext >&5
21684
21685 ac_cv_lib_m_ynl=no
21686 fi
21687 rm -f conftest.err conftest.$ac_objext \
21688       conftest$ac_exeext conftest.$ac_ext
21689 LIBS=$ac_check_lib_save_LIBS
21690 fi
21691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
21692 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
21693 if test $ac_cv_lib_m_ynl = yes; then
21694
21695 cat >>confdefs.h <<\_ACEOF
21696 #define HAVE_YNL 1
21697 _ACEOF
21698
21699 fi
21700
21701
21702 # On AIX, clog is present in libm as __clog
21703 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
21704 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
21705 if test "${ac_cv_lib_m___clog+set}" = set; then
21706   echo $ECHO_N "(cached) $ECHO_C" >&6
21707 else
21708   ac_check_lib_save_LIBS=$LIBS
21709 LIBS="-lm  $LIBS"
21710 if test x$gcc_no_link = xyes; then
21711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21713    { (exit 1); exit 1; }; }
21714 fi
21715 cat >conftest.$ac_ext <<_ACEOF
21716 /* confdefs.h.  */
21717 _ACEOF
21718 cat confdefs.h >>conftest.$ac_ext
21719 cat >>conftest.$ac_ext <<_ACEOF
21720 /* end confdefs.h.  */
21721
21722 /* Override any gcc2 internal prototype to avoid an error.  */
21723 #ifdef __cplusplus
21724 extern "C"
21725 #endif
21726 /* We use char because int might match the return type of a gcc2
21727    builtin and then its argument prototype would still apply.  */
21728 char __clog ();
21729 int
21730 main ()
21731 {
21732 __clog ();
21733   ;
21734   return 0;
21735 }
21736 _ACEOF
21737 rm -f conftest.$ac_objext conftest$ac_exeext
21738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21739   (eval $ac_link) 2>conftest.er1
21740   ac_status=$?
21741   grep -v '^ *+' conftest.er1 >conftest.err
21742   rm -f conftest.er1
21743   cat conftest.err >&5
21744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745   (exit $ac_status); } &&
21746          { ac_try='test -z "$ac_c_werror_flag"
21747                          || test ! -s conftest.err'
21748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749   (eval $ac_try) 2>&5
21750   ac_status=$?
21751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752   (exit $ac_status); }; } &&
21753          { ac_try='test -s conftest$ac_exeext'
21754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755   (eval $ac_try) 2>&5
21756   ac_status=$?
21757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758   (exit $ac_status); }; }; then
21759   ac_cv_lib_m___clog=yes
21760 else
21761   echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 ac_cv_lib_m___clog=no
21765 fi
21766 rm -f conftest.err conftest.$ac_objext \
21767       conftest$ac_exeext conftest.$ac_ext
21768 LIBS=$ac_check_lib_save_LIBS
21769 fi
21770 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
21771 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
21772 if test $ac_cv_lib_m___clog = yes; then
21773
21774 cat >>confdefs.h <<\_ACEOF
21775 #define HAVE_CLOG 1
21776 _ACEOF
21777
21778 fi
21779
21780
21781 # Check for a isfinite macro that works on long doubles.
21782
21783   echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
21784 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
21785 if test "${have_broken_isfinite+set}" = set; then
21786   echo $ECHO_N "(cached) $ECHO_C" >&6
21787 else
21788
21789   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
21790   LIBS="$LIBS -lm"
21791   if test "$cross_compiling" = yes; then
21792
21793 case "${target}" in
21794   hppa*-*-hpux*) have_broken_isfinite=yes ;;
21795   *) have_broken_isfinite=no ;;
21796 esac
21797 else
21798   cat >conftest.$ac_ext <<_ACEOF
21799 /* confdefs.h.  */
21800 _ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h.  */
21804
21805 #ifdef HAVE_MATH_H
21806 #include <math.h>
21807 #endif
21808 #include <float.h>
21809 int main ()
21810 {
21811 #ifdef isfinite
21812 #ifdef LDBL_MAX
21813   if (!isfinite(LDBL_MAX)) return 1;
21814 #endif
21815 #ifdef DBL_MAX
21816   if (!isfinite(DBL_MAX)) return 1;
21817 #endif
21818 #endif
21819 return 0;
21820 }
21821 _ACEOF
21822 rm -f conftest$ac_exeext
21823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21824   (eval $ac_link) 2>&5
21825   ac_status=$?
21826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829   (eval $ac_try) 2>&5
21830   ac_status=$?
21831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832   (exit $ac_status); }; }; then
21833   have_broken_isfinite=no
21834 else
21835   echo "$as_me: program exited with status $ac_status" >&5
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 ( exit $ac_status )
21840 have_broken_isfinite=yes
21841 fi
21842 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21843 fi
21844   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
21845 fi
21846 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
21847 echo "${ECHO_T}$have_broken_isfinite" >&6
21848 if test x"$have_broken_isfinite" = xyes; then
21849
21850 cat >>confdefs.h <<\_ACEOF
21851 #define HAVE_BROKEN_ISFINITE 1
21852 _ACEOF
21853
21854 fi
21855
21856 # Check for a isnan macro that works on long doubles.
21857
21858   echo "$as_me:$LINENO: checking whether isnan is broken" >&5
21859 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
21860 if test "${have_broken_isnan+set}" = set; then
21861   echo $ECHO_N "(cached) $ECHO_C" >&6
21862 else
21863
21864   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
21865   LIBS="$LIBS -lm"
21866   if test "$cross_compiling" = yes; then
21867
21868 case "${target}" in
21869   hppa*-*-hpux*) have_broken_isnan=yes ;;
21870   *) have_broken_isnan=no ;;
21871 esac
21872 else
21873   cat >conftest.$ac_ext <<_ACEOF
21874 /* confdefs.h.  */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h.  */
21879
21880 #ifdef HAVE_MATH_H
21881 #include <math.h>
21882 #endif
21883 #include <float.h>
21884 int main ()
21885 {
21886 #ifdef isnan
21887 #ifdef LDBL_MAX
21888   {
21889     long double x;
21890     x = __builtin_nanl ("");
21891     if (!isnan(x)) return 1;
21892     if (isnan(LDBL_MAX)) return 1;
21893 #ifdef NAN
21894     x = (long double) NAN;
21895     if (!isnan(x)) return 1;
21896 #endif
21897   }
21898 #endif
21899 #ifdef DBL_MAX
21900   {
21901     double y;
21902     y = __builtin_nan ("");
21903     if (!isnan(y)) return 1;
21904     if (isnan(DBL_MAX)) return 1;
21905 #ifdef NAN
21906     y = (double) NAN;
21907     if (!isnan(y)) return 1;
21908 #endif
21909   }
21910 #endif
21911 #endif
21912 return 0;
21913 }
21914 _ACEOF
21915 rm -f conftest$ac_exeext
21916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21917   (eval $ac_link) 2>&5
21918   ac_status=$?
21919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922   (eval $ac_try) 2>&5
21923   ac_status=$?
21924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925   (exit $ac_status); }; }; then
21926   have_broken_isnan=no
21927 else
21928   echo "$as_me: program exited with status $ac_status" >&5
21929 echo "$as_me: failed program was:" >&5
21930 sed 's/^/| /' conftest.$ac_ext >&5
21931
21932 ( exit $ac_status )
21933 have_broken_isnan=yes
21934 fi
21935 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21936 fi
21937   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
21938 fi
21939 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
21940 echo "${ECHO_T}$have_broken_isnan" >&6
21941 if test x"$have_broken_isnan" = xyes; then
21942
21943 cat >>confdefs.h <<\_ACEOF
21944 #define HAVE_BROKEN_ISNAN 1
21945 _ACEOF
21946
21947 fi
21948
21949 # Check for a fpclassify macro that works on long doubles.
21950
21951   echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
21952 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
21953 if test "${have_broken_fpclassify+set}" = set; then
21954   echo $ECHO_N "(cached) $ECHO_C" >&6
21955 else
21956
21957   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
21958   LIBS="$LIBS -lm"
21959   if test "$cross_compiling" = yes; then
21960
21961 case "${target}" in
21962   hppa*-*-hpux*) have_broken_fpclassify=yes ;;
21963   *) have_broken_fpclassify=no ;;
21964 esac
21965 else
21966   cat >conftest.$ac_ext <<_ACEOF
21967 /* confdefs.h.  */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h.  */
21972
21973 #ifdef HAVE_MATH_H
21974 #include <math.h>
21975 #endif
21976 #include <float.h>
21977 int main ()
21978 {
21979 #ifdef fpclassify
21980 #ifdef LDBL_MAX
21981         if (fpclassify(LDBL_MAX) == FP_NAN
21982             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
21983 #endif
21984 #ifdef DBL_MAX
21985         if (fpclassify(DBL_MAX) == FP_NAN
21986             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
21987 #endif
21988 #endif
21989 return 0;
21990 }
21991 _ACEOF
21992 rm -f conftest$ac_exeext
21993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21994   (eval $ac_link) 2>&5
21995   ac_status=$?
21996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21999   (eval $ac_try) 2>&5
22000   ac_status=$?
22001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002   (exit $ac_status); }; }; then
22003   have_broken_fpclassify=no
22004 else
22005   echo "$as_me: program exited with status $ac_status" >&5
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22008
22009 ( exit $ac_status )
22010 have_broken_fpclassify=yes
22011 fi
22012 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22013 fi
22014   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
22015 fi
22016 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22017 echo "${ECHO_T}$have_broken_fpclassify" >&6
22018 if test x"$have_broken_fpclassify" = xyes; then
22019
22020 cat >>confdefs.h <<\_ACEOF
22021 #define HAVE_BROKEN_FPCLASSIFY 1
22022 _ACEOF
22023
22024 fi
22025
22026 # Check whether the system has a working stat()
22027
22028   echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22029 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22030 if test "${have_working_stat+set}" = set; then
22031   echo $ECHO_N "(cached) $ECHO_C" >&6
22032 else
22033
22034   if test "$cross_compiling" = yes; then
22035
22036 case "${target}" in
22037   *mingw*) have_working_stat=no ;;
22038   *) have_working_stat=yes;;
22039 esac
22040 else
22041   cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h.  */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h.  */
22047
22048 #include <stdio.h>
22049 #include <sys/types.h>
22050 #include <sys/stat.h>
22051 #include <unistd.h>
22052
22053 int main ()
22054 {
22055   FILE *f, *g;
22056   struct stat st1, st2;
22057
22058   f = fopen ("foo", "w");
22059   g = fopen ("bar", "w");
22060   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22061     return 1;
22062   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22063     return 1;
22064   fclose(f);
22065   fclose(g);
22066   return 0;
22067 }
22068 _ACEOF
22069 rm -f conftest$ac_exeext
22070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22071   (eval $ac_link) 2>&5
22072   ac_status=$?
22073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076   (eval $ac_try) 2>&5
22077   ac_status=$?
22078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079   (exit $ac_status); }; }; then
22080   have_working_stat=yes
22081 else
22082   echo "$as_me: program exited with status $ac_status" >&5
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22085
22086 ( exit $ac_status )
22087 have_working_stat=no
22088 fi
22089 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22090 fi
22091 fi
22092 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22093 echo "${ECHO_T}$have_working_stat" >&6
22094 if test x"$have_working_stat" = xyes; then
22095
22096 cat >>confdefs.h <<\_ACEOF
22097 #define HAVE_WORKING_STAT 1
22098 _ACEOF
22099
22100 fi
22101
22102 # Fallback in case isfinite is not available.
22103 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22104 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22105 if test "${ac_cv_lib_m_finite+set}" = set; then
22106   echo $ECHO_N "(cached) $ECHO_C" >&6
22107 else
22108   ac_check_lib_save_LIBS=$LIBS
22109 LIBS="-lm  $LIBS"
22110 if test x$gcc_no_link = xyes; then
22111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22113    { (exit 1); exit 1; }; }
22114 fi
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h.  */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h.  */
22121
22122 /* Override any gcc2 internal prototype to avoid an error.  */
22123 #ifdef __cplusplus
22124 extern "C"
22125 #endif
22126 /* We use char because int might match the return type of a gcc2
22127    builtin and then its argument prototype would still apply.  */
22128 char finite ();
22129 int
22130 main ()
22131 {
22132 finite ();
22133   ;
22134   return 0;
22135 }
22136 _ACEOF
22137 rm -f conftest.$ac_objext conftest$ac_exeext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22139   (eval $ac_link) 2>conftest.er1
22140   ac_status=$?
22141   grep -v '^ *+' conftest.er1 >conftest.err
22142   rm -f conftest.er1
22143   cat conftest.err >&5
22144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145   (exit $ac_status); } &&
22146          { ac_try='test -z "$ac_c_werror_flag"
22147                          || test ! -s conftest.err'
22148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149   (eval $ac_try) 2>&5
22150   ac_status=$?
22151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152   (exit $ac_status); }; } &&
22153          { ac_try='test -s conftest$ac_exeext'
22154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155   (eval $ac_try) 2>&5
22156   ac_status=$?
22157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158   (exit $ac_status); }; }; then
22159   ac_cv_lib_m_finite=yes
22160 else
22161   echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_cv_lib_m_finite=no
22165 fi
22166 rm -f conftest.err conftest.$ac_objext \
22167       conftest$ac_exeext conftest.$ac_ext
22168 LIBS=$ac_check_lib_save_LIBS
22169 fi
22170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22171 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22172 if test $ac_cv_lib_m_finite = yes; then
22173
22174 cat >>confdefs.h <<\_ACEOF
22175 #define HAVE_FINITE 1
22176 _ACEOF
22177
22178 fi
22179
22180
22181 # Check for GNU libc feenableexcept
22182 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22183 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22184 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22185   echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187   ac_check_lib_save_LIBS=$LIBS
22188 LIBS="-lm  $LIBS"
22189 if test x$gcc_no_link = xyes; then
22190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22192    { (exit 1); exit 1; }; }
22193 fi
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
22201 /* Override any gcc2 internal prototype to avoid an error.  */
22202 #ifdef __cplusplus
22203 extern "C"
22204 #endif
22205 /* We use char because int might match the return type of a gcc2
22206    builtin and then its argument prototype would still apply.  */
22207 char feenableexcept ();
22208 int
22209 main ()
22210 {
22211 feenableexcept ();
22212   ;
22213   return 0;
22214 }
22215 _ACEOF
22216 rm -f conftest.$ac_objext conftest$ac_exeext
22217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22218   (eval $ac_link) 2>conftest.er1
22219   ac_status=$?
22220   grep -v '^ *+' conftest.er1 >conftest.err
22221   rm -f conftest.er1
22222   cat conftest.err >&5
22223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224   (exit $ac_status); } &&
22225          { ac_try='test -z "$ac_c_werror_flag"
22226                          || test ! -s conftest.err'
22227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22228   (eval $ac_try) 2>&5
22229   ac_status=$?
22230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231   (exit $ac_status); }; } &&
22232          { ac_try='test -s conftest$ac_exeext'
22233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234   (eval $ac_try) 2>&5
22235   ac_status=$?
22236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237   (exit $ac_status); }; }; then
22238   ac_cv_lib_m_feenableexcept=yes
22239 else
22240   echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22242
22243 ac_cv_lib_m_feenableexcept=no
22244 fi
22245 rm -f conftest.err conftest.$ac_objext \
22246       conftest$ac_exeext conftest.$ac_ext
22247 LIBS=$ac_check_lib_save_LIBS
22248 fi
22249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22250 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22251 if test $ac_cv_lib_m_feenableexcept = yes; then
22252   have_feenableexcept=yes
22253 cat >>confdefs.h <<\_ACEOF
22254 #define HAVE_FEENABLEEXCEPT 1
22255 _ACEOF
22256
22257 fi
22258
22259
22260 # Check for SysV fpsetmask
22261
22262   echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22263 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22264 if test "${have_fpsetmask+set}" = set; then
22265   echo $ECHO_N "(cached) $ECHO_C" >&6
22266 else
22267
22268     if test x$gcc_no_link = xyes; then
22269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22271    { (exit 1); exit 1; }; }
22272 fi
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h.  */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h.  */
22279
22280 #if HAVE_FLOATINGPOINT_H
22281 # include <floatingpoint.h>
22282 #endif /* HAVE_FLOATINGPOINT_H */
22283 #if HAVE_IEEEFP_H
22284 # include <ieeefp.h>
22285 #endif /* HAVE_IEEEFP_H */
22286 int
22287 main ()
22288 {
22289 fpsetmask(0);
22290   ;
22291   return 0;
22292 }
22293 _ACEOF
22294 rm -f conftest.$ac_objext conftest$ac_exeext
22295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22296   (eval $ac_link) 2>conftest.er1
22297   ac_status=$?
22298   grep -v '^ *+' conftest.er1 >conftest.err
22299   rm -f conftest.er1
22300   cat conftest.err >&5
22301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302   (exit $ac_status); } &&
22303          { ac_try='test -z "$ac_c_werror_flag"
22304                          || test ! -s conftest.err'
22305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306   (eval $ac_try) 2>&5
22307   ac_status=$?
22308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309   (exit $ac_status); }; } &&
22310          { ac_try='test -s conftest$ac_exeext'
22311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312   (eval $ac_try) 2>&5
22313   ac_status=$?
22314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315   (exit $ac_status); }; }; then
22316   eval "have_fpsetmask=yes"
22317 else
22318   echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.$ac_ext >&5
22320
22321 eval "have_fpsetmask=no"
22322 fi
22323 rm -f conftest.err conftest.$ac_objext \
22324       conftest$ac_exeext conftest.$ac_ext
22325
22326 fi
22327 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
22328 echo "${ECHO_T}$have_fpsetmask" >&6
22329   if test x"$have_fpsetmask" = xyes; then
22330
22331 cat >>confdefs.h <<\_ACEOF
22332 #define HAVE_FPSETMASK 1
22333 _ACEOF
22334
22335   fi
22336
22337
22338 # Check for AIX fp_trap and fp_enable
22339 echo "$as_me:$LINENO: checking for fp_trap" >&5
22340 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
22341 if test "${ac_cv_func_fp_trap+set}" = set; then
22342   echo $ECHO_N "(cached) $ECHO_C" >&6
22343 else
22344   if test x$gcc_no_link = xyes; then
22345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22347    { (exit 1); exit 1; }; }
22348 fi
22349 cat >conftest.$ac_ext <<_ACEOF
22350 /* confdefs.h.  */
22351 _ACEOF
22352 cat confdefs.h >>conftest.$ac_ext
22353 cat >>conftest.$ac_ext <<_ACEOF
22354 /* end confdefs.h.  */
22355 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
22356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22357 #define fp_trap innocuous_fp_trap
22358
22359 /* System header to define __stub macros and hopefully few prototypes,
22360     which can conflict with char fp_trap (); below.
22361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22362     <limits.h> exists even on freestanding compilers.  */
22363
22364 #ifdef __STDC__
22365 # include <limits.h>
22366 #else
22367 # include <assert.h>
22368 #endif
22369
22370 #undef fp_trap
22371
22372 /* Override any gcc2 internal prototype to avoid an error.  */
22373 #ifdef __cplusplus
22374 extern "C"
22375 {
22376 #endif
22377 /* We use char because int might match the return type of a gcc2
22378    builtin and then its argument prototype would still apply.  */
22379 char fp_trap ();
22380 /* The GNU C library defines this for functions which it implements
22381     to always fail with ENOSYS.  Some functions are actually named
22382     something starting with __ and the normal name is an alias.  */
22383 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22384 choke me
22385 #else
22386 char (*f) () = fp_trap;
22387 #endif
22388 #ifdef __cplusplus
22389 }
22390 #endif
22391
22392 int
22393 main ()
22394 {
22395 return f != fp_trap;
22396   ;
22397   return 0;
22398 }
22399 _ACEOF
22400 rm -f conftest.$ac_objext conftest$ac_exeext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22402   (eval $ac_link) 2>conftest.er1
22403   ac_status=$?
22404   grep -v '^ *+' conftest.er1 >conftest.err
22405   rm -f conftest.er1
22406   cat conftest.err >&5
22407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408   (exit $ac_status); } &&
22409          { ac_try='test -z "$ac_c_werror_flag"
22410                          || test ! -s conftest.err'
22411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22412   (eval $ac_try) 2>&5
22413   ac_status=$?
22414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415   (exit $ac_status); }; } &&
22416          { ac_try='test -s conftest$ac_exeext'
22417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22418   (eval $ac_try) 2>&5
22419   ac_status=$?
22420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421   (exit $ac_status); }; }; then
22422   ac_cv_func_fp_trap=yes
22423 else
22424   echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.$ac_ext >&5
22426
22427 ac_cv_func_fp_trap=no
22428 fi
22429 rm -f conftest.err conftest.$ac_objext \
22430       conftest$ac_exeext conftest.$ac_ext
22431 fi
22432 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
22433 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
22434 if test $ac_cv_func_fp_trap = yes; then
22435   have_fp_trap=yes
22436 cat >>confdefs.h <<\_ACEOF
22437 #define HAVE_FP_TRAP 1
22438 _ACEOF
22439
22440 fi
22441
22442 echo "$as_me:$LINENO: checking for fp_enable" >&5
22443 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
22444 if test "${ac_cv_func_fp_enable+set}" = set; then
22445   echo $ECHO_N "(cached) $ECHO_C" >&6
22446 else
22447   if test x$gcc_no_link = xyes; then
22448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22450    { (exit 1); exit 1; }; }
22451 fi
22452 cat >conftest.$ac_ext <<_ACEOF
22453 /* confdefs.h.  */
22454 _ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h.  */
22458 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
22459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22460 #define fp_enable innocuous_fp_enable
22461
22462 /* System header to define __stub macros and hopefully few prototypes,
22463     which can conflict with char fp_enable (); below.
22464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22465     <limits.h> exists even on freestanding compilers.  */
22466
22467 #ifdef __STDC__
22468 # include <limits.h>
22469 #else
22470 # include <assert.h>
22471 #endif
22472
22473 #undef fp_enable
22474
22475 /* Override any gcc2 internal prototype to avoid an error.  */
22476 #ifdef __cplusplus
22477 extern "C"
22478 {
22479 #endif
22480 /* We use char because int might match the return type of a gcc2
22481    builtin and then its argument prototype would still apply.  */
22482 char fp_enable ();
22483 /* The GNU C library defines this for functions which it implements
22484     to always fail with ENOSYS.  Some functions are actually named
22485     something starting with __ and the normal name is an alias.  */
22486 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
22487 choke me
22488 #else
22489 char (*f) () = fp_enable;
22490 #endif
22491 #ifdef __cplusplus
22492 }
22493 #endif
22494
22495 int
22496 main ()
22497 {
22498 return f != fp_enable;
22499   ;
22500   return 0;
22501 }
22502 _ACEOF
22503 rm -f conftest.$ac_objext conftest$ac_exeext
22504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22505   (eval $ac_link) 2>conftest.er1
22506   ac_status=$?
22507   grep -v '^ *+' conftest.er1 >conftest.err
22508   rm -f conftest.er1
22509   cat conftest.err >&5
22510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511   (exit $ac_status); } &&
22512          { ac_try='test -z "$ac_c_werror_flag"
22513                          || test ! -s conftest.err'
22514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515   (eval $ac_try) 2>&5
22516   ac_status=$?
22517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518   (exit $ac_status); }; } &&
22519          { ac_try='test -s conftest$ac_exeext'
22520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521   (eval $ac_try) 2>&5
22522   ac_status=$?
22523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524   (exit $ac_status); }; }; then
22525   ac_cv_func_fp_enable=yes
22526 else
22527   echo "$as_me: failed program was:" >&5
22528 sed 's/^/| /' conftest.$ac_ext >&5
22529
22530 ac_cv_func_fp_enable=no
22531 fi
22532 rm -f conftest.err conftest.$ac_objext \
22533       conftest$ac_exeext conftest.$ac_ext
22534 fi
22535 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
22536 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
22537 if test $ac_cv_func_fp_enable = yes; then
22538   have_fp_enable=yes
22539 cat >>confdefs.h <<\_ACEOF
22540 #define HAVE_FP_ENABLE 1
22541 _ACEOF
22542
22543 fi
22544
22545
22546 # Runs configure.host to set up necessary host-dependent shell variables.
22547 # We then display a message about it, and propagate them through the
22548 # build chain.
22549 . ${srcdir}/configure.host
22550 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
22551 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
22552 FPU_HOST_HEADER=config/${fpu_host}.h
22553
22554
22555 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
22556 # for struct timezone, as you might think.  We also need to check how
22557 # to call gettimeofday if we have it.
22558 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22559 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22560 if test "${ac_cv_header_time+set}" = set; then
22561   echo $ECHO_N "(cached) $ECHO_C" >&6
22562 else
22563   cat >conftest.$ac_ext <<_ACEOF
22564 /* confdefs.h.  */
22565 _ACEOF
22566 cat confdefs.h >>conftest.$ac_ext
22567 cat >>conftest.$ac_ext <<_ACEOF
22568 /* end confdefs.h.  */
22569 #include <sys/types.h>
22570 #include <sys/time.h>
22571 #include <time.h>
22572
22573 int
22574 main ()
22575 {
22576 if ((struct tm *) 0)
22577 return 0;
22578   ;
22579   return 0;
22580 }
22581 _ACEOF
22582 rm -f conftest.$ac_objext
22583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22584   (eval $ac_compile) 2>conftest.er1
22585   ac_status=$?
22586   grep -v '^ *+' conftest.er1 >conftest.err
22587   rm -f conftest.er1
22588   cat conftest.err >&5
22589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590   (exit $ac_status); } &&
22591          { ac_try='test -z "$ac_c_werror_flag"
22592                          || test ! -s conftest.err'
22593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22594   (eval $ac_try) 2>&5
22595   ac_status=$?
22596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597   (exit $ac_status); }; } &&
22598          { ac_try='test -s conftest.$ac_objext'
22599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600   (eval $ac_try) 2>&5
22601   ac_status=$?
22602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603   (exit $ac_status); }; }; then
22604   ac_cv_header_time=yes
22605 else
22606   echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.$ac_ext >&5
22608
22609 ac_cv_header_time=no
22610 fi
22611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22612 fi
22613 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22614 echo "${ECHO_T}$ac_cv_header_time" >&6
22615 if test $ac_cv_header_time = yes; then
22616
22617 cat >>confdefs.h <<\_ACEOF
22618 #define TIME_WITH_SYS_TIME 1
22619 _ACEOF
22620
22621 fi
22622
22623
22624
22625 for ac_func in gettimeofday
22626 do
22627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22628 echo "$as_me:$LINENO: checking for $ac_func" >&5
22629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22630 if eval "test \"\${$as_ac_var+set}\" = set"; then
22631   echo $ECHO_N "(cached) $ECHO_C" >&6
22632 else
22633   if test x$gcc_no_link = xyes; then
22634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22636    { (exit 1); exit 1; }; }
22637 fi
22638 cat >conftest.$ac_ext <<_ACEOF
22639 /* confdefs.h.  */
22640 _ACEOF
22641 cat confdefs.h >>conftest.$ac_ext
22642 cat >>conftest.$ac_ext <<_ACEOF
22643 /* end confdefs.h.  */
22644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22646 #define $ac_func innocuous_$ac_func
22647
22648 /* System header to define __stub macros and hopefully few prototypes,
22649     which can conflict with char $ac_func (); below.
22650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22651     <limits.h> exists even on freestanding compilers.  */
22652
22653 #ifdef __STDC__
22654 # include <limits.h>
22655 #else
22656 # include <assert.h>
22657 #endif
22658
22659 #undef $ac_func
22660
22661 /* Override any gcc2 internal prototype to avoid an error.  */
22662 #ifdef __cplusplus
22663 extern "C"
22664 {
22665 #endif
22666 /* We use char because int might match the return type of a gcc2
22667    builtin and then its argument prototype would still apply.  */
22668 char $ac_func ();
22669 /* The GNU C library defines this for functions which it implements
22670     to always fail with ENOSYS.  Some functions are actually named
22671     something starting with __ and the normal name is an alias.  */
22672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22673 choke me
22674 #else
22675 char (*f) () = $ac_func;
22676 #endif
22677 #ifdef __cplusplus
22678 }
22679 #endif
22680
22681 int
22682 main ()
22683 {
22684 return f != $ac_func;
22685   ;
22686   return 0;
22687 }
22688 _ACEOF
22689 rm -f conftest.$ac_objext conftest$ac_exeext
22690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22691   (eval $ac_link) 2>conftest.er1
22692   ac_status=$?
22693   grep -v '^ *+' conftest.er1 >conftest.err
22694   rm -f conftest.er1
22695   cat conftest.err >&5
22696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697   (exit $ac_status); } &&
22698          { ac_try='test -z "$ac_c_werror_flag"
22699                          || test ! -s conftest.err'
22700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22701   (eval $ac_try) 2>&5
22702   ac_status=$?
22703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704   (exit $ac_status); }; } &&
22705          { ac_try='test -s conftest$ac_exeext'
22706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707   (eval $ac_try) 2>&5
22708   ac_status=$?
22709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710   (exit $ac_status); }; }; then
22711   eval "$as_ac_var=yes"
22712 else
22713   echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.$ac_ext >&5
22715
22716 eval "$as_ac_var=no"
22717 fi
22718 rm -f conftest.err conftest.$ac_objext \
22719       conftest$ac_exeext conftest.$ac_ext
22720 fi
22721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22723 if test `eval echo '${'$as_ac_var'}'` = yes; then
22724   cat >>confdefs.h <<_ACEOF
22725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22726 _ACEOF
22727
22728 fi
22729 done
22730
22731   if test "$ac_cv_func_gettimeofday" = yes; then
22732     echo "$as_me:$LINENO: checking for struct timezone" >&5
22733 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
22734 if test "${gfor_cv_struct_timezone+set}" = set; then
22735   echo $ECHO_N "(cached) $ECHO_C" >&6
22736 else
22737   cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h.  */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h.  */
22743 #include <sys/time.h>
22744 int
22745 main ()
22746 {
22747 struct timezone tz;
22748   ;
22749   return 0;
22750 }
22751 _ACEOF
22752 rm -f conftest.$ac_objext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22754   (eval $ac_compile) 2>conftest.er1
22755   ac_status=$?
22756   grep -v '^ *+' conftest.er1 >conftest.err
22757   rm -f conftest.er1
22758   cat conftest.err >&5
22759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760   (exit $ac_status); } &&
22761          { ac_try='test -z "$ac_c_werror_flag"
22762                          || test ! -s conftest.err'
22763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764   (eval $ac_try) 2>&5
22765   ac_status=$?
22766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767   (exit $ac_status); }; } &&
22768          { ac_try='test -s conftest.$ac_objext'
22769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770   (eval $ac_try) 2>&5
22771   ac_status=$?
22772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773   (exit $ac_status); }; }; then
22774   gfor_cv_struct_timezone=yes
22775 else
22776   echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22778
22779 gfor_cv_struct_timezone=no
22780 fi
22781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22782 fi
22783 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
22784 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
22785     if test $gfor_cv_struct_timezone = yes; then
22786                   if test "$cross_compiling" = yes; then
22787   gfor_have_struct_timezone=yes
22788 else
22789   cat >conftest.$ac_ext <<_ACEOF
22790 /* confdefs.h.  */
22791 _ACEOF
22792 cat confdefs.h >>conftest.$ac_ext
22793 cat >>conftest.$ac_ext <<_ACEOF
22794 /* end confdefs.h.  */
22795
22796 #ifdef TIME_WITH_SYS_TIME
22797 #include <sys/time.h>
22798 #include <time.h>
22799 #else
22800 #ifdef HAVE_SYS_TIME_H
22801 #include <sys/time.h>
22802 #else
22803 #include <time.h>
22804 #endif
22805 #endif
22806 main ()
22807 {
22808   struct timeval time;
22809   struct timezone dummy;
22810   if (gettimeofday (&time, &dummy))
22811     exit (1);
22812   else
22813     exit (0);
22814 }
22815 _ACEOF
22816 rm -f conftest$ac_exeext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22818   (eval $ac_link) 2>&5
22819   ac_status=$?
22820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823   (eval $ac_try) 2>&5
22824   ac_status=$?
22825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826   (exit $ac_status); }; }; then
22827   gfor_have_struct_timezone=yes
22828 else
22829   echo "$as_me: program exited with status $ac_status" >&5
22830 echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.$ac_ext >&5
22832
22833 ( exit $ac_status )
22834 gfor_have_struct_timezone=no
22835 fi
22836 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22837 fi
22838       if test $gfor_have_struct_timezone = yes; then
22839
22840 cat >>confdefs.h <<\_ACEOF
22841 #define HAVE_TIMEZONE 1
22842 _ACEOF
22843
22844       fi
22845     fi
22846
22847     echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
22848 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
22849 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
22850   echo $ECHO_N "(cached) $ECHO_C" >&6
22851 else
22852   if test x$gcc_no_link = xyes; then
22853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22855    { (exit 1); exit 1; }; }
22856 fi
22857 cat >conftest.$ac_ext <<_ACEOF
22858 /* confdefs.h.  */
22859 _ACEOF
22860 cat confdefs.h >>conftest.$ac_ext
22861 cat >>conftest.$ac_ext <<_ACEOF
22862 /* end confdefs.h.  */
22863
22864 #ifdef TIME_WITH_SYS_TIME
22865 #include <sys/time.h>
22866 #include <time.h>
22867 #else
22868 #ifdef HAVE_SYS_TIME_H
22869 #include <sys/time.h>
22870 #else
22871 #include <time.h>
22872 #endif
22873 #endif
22874
22875 int
22876 main ()
22877 {
22878
22879       struct timeval time;
22880 #ifdef HAVE_TIMEZONE
22881       struct timezone dummy;
22882 #define DUMMY &dummy
22883 #else
22884 #define DUMMY NULL
22885 #endif
22886       gettimeofday (&time, DUMMY);
22887   ;
22888   return 0;
22889 }
22890 _ACEOF
22891 rm -f conftest.$ac_objext conftest$ac_exeext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22893   (eval $ac_link) 2>conftest.er1
22894   ac_status=$?
22895   grep -v '^ *+' conftest.er1 >conftest.err
22896   rm -f conftest.er1
22897   cat conftest.err >&5
22898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899   (exit $ac_status); } &&
22900          { ac_try='test -z "$ac_c_werror_flag"
22901                          || test ! -s conftest.err'
22902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22903   (eval $ac_try) 2>&5
22904   ac_status=$?
22905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906   (exit $ac_status); }; } &&
22907          { ac_try='test -s conftest$ac_exeext'
22908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22909   (eval $ac_try) 2>&5
22910   ac_status=$?
22911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912   (exit $ac_status); }; }; then
22913   emacs_cv_gettimeofday_two_arguments=yes
22914 else
22915   echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.$ac_ext >&5
22917
22918 emacs_cv_gettimeofday_two_arguments=no
22919 fi
22920 rm -f conftest.err conftest.$ac_objext \
22921       conftest$ac_exeext conftest.$ac_ext
22922 fi
22923 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
22924 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
22925     if test $emacs_cv_gettimeofday_two_arguments = no; then
22926
22927 cat >>confdefs.h <<\_ACEOF
22928 #define GETTIMEOFDAY_ONE_ARGUMENT 1
22929 _ACEOF
22930
22931     fi
22932   fi
22933
22934 # Attempt to assert that the target is of common type in case we don't
22935 # have C99 integer types at all.
22936
22937   echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
22938 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
22939 if test "${target_ilp32+set}" = set; then
22940   echo $ECHO_N "(cached) $ECHO_C" >&6
22941 else
22942
22943   save_CFLAGS="$CFLAGS"
22944   CFLAGS="-O2"
22945   if test x$gcc_no_link = xyes; then
22946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22948    { (exit 1); exit 1; }; }
22949 fi
22950 cat >conftest.$ac_ext <<_ACEOF
22951 /* confdefs.h.  */
22952 _ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h.  */
22956
22957 int
22958 main ()
22959 {
22960
22961 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
22962   ;
22963 else
22964   undefined_function ();
22965
22966   ;
22967   return 0;
22968 }
22969 _ACEOF
22970 rm -f conftest.$ac_objext conftest$ac_exeext
22971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22972   (eval $ac_link) 2>conftest.er1
22973   ac_status=$?
22974   grep -v '^ *+' conftest.er1 >conftest.err
22975   rm -f conftest.er1
22976   cat conftest.err >&5
22977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978   (exit $ac_status); } &&
22979          { ac_try='test -z "$ac_c_werror_flag"
22980                          || test ! -s conftest.err'
22981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982   (eval $ac_try) 2>&5
22983   ac_status=$?
22984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985   (exit $ac_status); }; } &&
22986          { ac_try='test -s conftest$ac_exeext'
22987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988   (eval $ac_try) 2>&5
22989   ac_status=$?
22990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991   (exit $ac_status); }; }; then
22992   target_ilp32=yes
22993 else
22994   echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.$ac_ext >&5
22996
22997 target_ilp32=no
22998 fi
22999 rm -f conftest.err conftest.$ac_objext \
23000       conftest$ac_exeext conftest.$ac_ext
23001   CFLAGS="$save_CFLAGS"
23002 fi
23003 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23004 echo "${ECHO_T}$target_ilp32" >&6
23005   if test $target_ilp32 = yes; then
23006
23007 cat >>confdefs.h <<\_ACEOF
23008 #define TARGET_ILP32 1
23009 _ACEOF
23010
23011   fi
23012
23013
23014 # Check out attribute support.
23015
23016   echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23017 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23018 if test "${have_attribute_visibility+set}" = set; then
23019   echo $ECHO_N "(cached) $ECHO_C" >&6
23020 else
23021
23022   save_CFLAGS="$CFLAGS"
23023   CFLAGS="$CFLAGS -Werror"
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 void __attribute__((visibility("hidden"))) foo(void) { }
23031 int
23032 main ()
23033 {
23034
23035   ;
23036   return 0;
23037 }
23038 _ACEOF
23039 rm -f conftest.$ac_objext
23040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23041   (eval $ac_compile) 2>conftest.er1
23042   ac_status=$?
23043   grep -v '^ *+' conftest.er1 >conftest.err
23044   rm -f conftest.er1
23045   cat conftest.err >&5
23046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047   (exit $ac_status); } &&
23048          { ac_try='test -z "$ac_c_werror_flag"
23049                          || test ! -s conftest.err'
23050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23051   (eval $ac_try) 2>&5
23052   ac_status=$?
23053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054   (exit $ac_status); }; } &&
23055          { ac_try='test -s conftest.$ac_objext'
23056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23057   (eval $ac_try) 2>&5
23058   ac_status=$?
23059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060   (exit $ac_status); }; }; then
23061   have_attribute_visibility=yes
23062 else
23063   echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23065
23066 have_attribute_visibility=no
23067 fi
23068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23069   CFLAGS="$save_CFLAGS"
23070 fi
23071 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23072 echo "${ECHO_T}$have_attribute_visibility" >&6
23073   if test $have_attribute_visibility = yes; then
23074
23075 cat >>confdefs.h <<\_ACEOF
23076 #define HAVE_ATTRIBUTE_VISIBILITY 1
23077 _ACEOF
23078
23079   fi
23080
23081   echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23082 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23083 if test "${have_attribute_dllexport+set}" = set; then
23084   echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086
23087   save_CFLAGS="$CFLAGS"
23088   CFLAGS="$CFLAGS -Werror"
23089   cat >conftest.$ac_ext <<_ACEOF
23090 /* confdefs.h.  */
23091 _ACEOF
23092 cat confdefs.h >>conftest.$ac_ext
23093 cat >>conftest.$ac_ext <<_ACEOF
23094 /* end confdefs.h.  */
23095 void __attribute__((dllexport)) foo(void) { }
23096 int
23097 main ()
23098 {
23099
23100   ;
23101   return 0;
23102 }
23103 _ACEOF
23104 rm -f conftest.$ac_objext
23105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23106   (eval $ac_compile) 2>conftest.er1
23107   ac_status=$?
23108   grep -v '^ *+' conftest.er1 >conftest.err
23109   rm -f conftest.er1
23110   cat conftest.err >&5
23111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112   (exit $ac_status); } &&
23113          { ac_try='test -z "$ac_c_werror_flag"
23114                          || test ! -s conftest.err'
23115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23116   (eval $ac_try) 2>&5
23117   ac_status=$?
23118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119   (exit $ac_status); }; } &&
23120          { ac_try='test -s conftest.$ac_objext'
23121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23122   (eval $ac_try) 2>&5
23123   ac_status=$?
23124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125   (exit $ac_status); }; }; then
23126   have_attribute_dllexport=yes
23127 else
23128   echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.$ac_ext >&5
23130
23131 have_attribute_dllexport=no
23132 fi
23133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23134   CFLAGS="$save_CFLAGS"
23135 fi
23136 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23137 echo "${ECHO_T}$have_attribute_dllexport" >&6
23138   if test $have_attribute_dllexport = yes; then
23139
23140 cat >>confdefs.h <<\_ACEOF
23141 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23142 _ACEOF
23143
23144   fi
23145
23146   echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23147 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23148 if test "${have_attribute_alias+set}" = set; then
23149   echo $ECHO_N "(cached) $ECHO_C" >&6
23150 else
23151
23152   if test x$gcc_no_link = xyes; then
23153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23155    { (exit 1); exit 1; }; }
23156 fi
23157 cat >conftest.$ac_ext <<_ACEOF
23158 /* confdefs.h.  */
23159 _ACEOF
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h.  */
23163
23164 #define ULP     STR1(__USER_LABEL_PREFIX__)
23165 #define STR1(x) STR2(x)
23166 #define STR2(x) #x
23167 void foo(void) { }
23168 extern void bar(void) __attribute__((alias(ULP "foo")));
23169 int
23170 main ()
23171 {
23172 bar();
23173   ;
23174   return 0;
23175 }
23176 _ACEOF
23177 rm -f conftest.$ac_objext conftest$ac_exeext
23178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23179   (eval $ac_link) 2>conftest.er1
23180   ac_status=$?
23181   grep -v '^ *+' conftest.er1 >conftest.err
23182   rm -f conftest.er1
23183   cat conftest.err >&5
23184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185   (exit $ac_status); } &&
23186          { ac_try='test -z "$ac_c_werror_flag"
23187                          || test ! -s conftest.err'
23188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189   (eval $ac_try) 2>&5
23190   ac_status=$?
23191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192   (exit $ac_status); }; } &&
23193          { ac_try='test -s conftest$ac_exeext'
23194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195   (eval $ac_try) 2>&5
23196   ac_status=$?
23197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198   (exit $ac_status); }; }; then
23199   have_attribute_alias=yes
23200 else
23201   echo "$as_me: failed program was:" >&5
23202 sed 's/^/| /' conftest.$ac_ext >&5
23203
23204 have_attribute_alias=no
23205 fi
23206 rm -f conftest.err conftest.$ac_objext \
23207       conftest$ac_exeext conftest.$ac_ext
23208 fi
23209 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23210 echo "${ECHO_T}$have_attribute_alias" >&6
23211   if test $have_attribute_alias = yes; then
23212
23213 cat >>confdefs.h <<\_ACEOF
23214 #define HAVE_ATTRIBUTE_ALIAS 1
23215 _ACEOF
23216
23217   fi
23218
23219 # Check out sync builtins support.
23220
23221   echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23222 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23223 if test "${have_sync_fetch_and_add+set}" = set; then
23224   echo $ECHO_N "(cached) $ECHO_C" >&6
23225 else
23226
23227   if test x$gcc_no_link = xyes; then
23228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23230    { (exit 1); exit 1; }; }
23231 fi
23232 cat >conftest.$ac_ext <<_ACEOF
23233 /* confdefs.h.  */
23234 _ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h.  */
23238 int foovar = 0;
23239 int
23240 main ()
23241 {
23242
23243 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23244 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23245   ;
23246   return 0;
23247 }
23248 _ACEOF
23249 rm -f conftest.$ac_objext conftest$ac_exeext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23251   (eval $ac_link) 2>conftest.er1
23252   ac_status=$?
23253   grep -v '^ *+' conftest.er1 >conftest.err
23254   rm -f conftest.er1
23255   cat conftest.err >&5
23256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257   (exit $ac_status); } &&
23258          { ac_try='test -z "$ac_c_werror_flag"
23259                          || test ! -s conftest.err'
23260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23261   (eval $ac_try) 2>&5
23262   ac_status=$?
23263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264   (exit $ac_status); }; } &&
23265          { ac_try='test -s conftest$ac_exeext'
23266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267   (eval $ac_try) 2>&5
23268   ac_status=$?
23269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270   (exit $ac_status); }; }; then
23271   have_sync_fetch_and_add=yes
23272 else
23273   echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23275
23276 have_sync_fetch_and_add=no
23277 fi
23278 rm -f conftest.err conftest.$ac_objext \
23279       conftest$ac_exeext conftest.$ac_ext
23280 fi
23281 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23282 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23283   if test $have_sync_fetch_and_add = yes; then
23284
23285 cat >>confdefs.h <<\_ACEOF
23286 #define HAVE_SYNC_FETCH_AND_ADD 1
23287 _ACEOF
23288
23289   fi
23290
23291 # Check out thread support.
23292
23293   echo "$as_me:$LINENO: checking configured target thread model" >&5
23294 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23295 if test "${target_thread_file+set}" = set; then
23296   echo $ECHO_N "(cached) $ECHO_C" >&6
23297 else
23298
23299 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23300 fi
23301 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23302 echo "${ECHO_T}$target_thread_file" >&6
23303
23304   if test $target_thread_file != single; then
23305
23306 cat >>confdefs.h <<\_ACEOF
23307 #define HAVE_GTHR_DEFAULT 1
23308 _ACEOF
23309
23310   fi
23311
23312 # Check out #pragma weak.
23313
23314   echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23315 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23316 if test "${have_pragma_weak+set}" = set; then
23317   echo $ECHO_N "(cached) $ECHO_C" >&6
23318 else
23319
23320   gfor_save_CFLAGS="$CFLAGS"
23321   CFLAGS="$CFLAGS -Wunknown-pragmas"
23322   cat >conftest.$ac_ext <<_ACEOF
23323 /* confdefs.h.  */
23324 _ACEOF
23325 cat confdefs.h >>conftest.$ac_ext
23326 cat >>conftest.$ac_ext <<_ACEOF
23327 /* end confdefs.h.  */
23328 void foo (void);
23329 #pragma weak foo
23330 int
23331 main ()
23332 {
23333 if (foo) foo ();
23334   ;
23335   return 0;
23336 }
23337 _ACEOF
23338 rm -f conftest.$ac_objext
23339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23340   (eval $ac_compile) 2>conftest.er1
23341   ac_status=$?
23342   grep -v '^ *+' conftest.er1 >conftest.err
23343   rm -f conftest.er1
23344   cat conftest.err >&5
23345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346   (exit $ac_status); } &&
23347          { ac_try='test -z "$ac_c_werror_flag"
23348                          || test ! -s conftest.err'
23349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23350   (eval $ac_try) 2>&5
23351   ac_status=$?
23352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353   (exit $ac_status); }; } &&
23354          { ac_try='test -s conftest.$ac_objext'
23355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356   (eval $ac_try) 2>&5
23357   ac_status=$?
23358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359   (exit $ac_status); }; }; then
23360   have_pragma_weak=yes
23361 else
23362   echo "$as_me: failed program was:" >&5
23363 sed 's/^/| /' conftest.$ac_ext >&5
23364
23365 have_pragma_weak=no
23366 fi
23367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23368 fi
23369 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23370 echo "${ECHO_T}$have_pragma_weak" >&6
23371   if test $have_pragma_weak = yes; then
23372
23373 cat >>confdefs.h <<\_ACEOF
23374 #define SUPPORTS_WEAK 1
23375 _ACEOF
23376
23377   fi
23378   case "$host" in
23379     *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23380
23381 cat >>confdefs.h <<\_ACEOF
23382 #define GTHREAD_USE_WEAK 0
23383 _ACEOF
23384
23385       ;;
23386   esac
23387
23388 # Various other checks on target
23389
23390   echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23391 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23392 if test "${have_unlink_open_file+set}" = set; then
23393   echo $ECHO_N "(cached) $ECHO_C" >&6
23394 else
23395
23396   if test "$cross_compiling" = yes; then
23397
23398 case "${target}" in
23399   *mingw*) have_unlink_open_file=no ;;
23400   *) have_unlink_open_file=yes;;
23401 esac
23402 else
23403   cat >conftest.$ac_ext <<_ACEOF
23404 /* confdefs.h.  */
23405 _ACEOF
23406 cat confdefs.h >>conftest.$ac_ext
23407 cat >>conftest.$ac_ext <<_ACEOF
23408 /* end confdefs.h.  */
23409
23410 #include <errno.h>
23411 #include <fcntl.h>
23412 #include <unistd.h>
23413 #include <sys/stat.h>
23414
23415 int main ()
23416 {
23417   int fd;
23418
23419   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23420   if (fd <= 0)
23421     return 0;
23422   if (unlink ("testfile") == -1)
23423     return 1;
23424   write (fd, "This is a test\n", 15);
23425   close (fd);
23426
23427   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23428     return 0;
23429   else
23430     return 1;
23431 }
23432 _ACEOF
23433 rm -f conftest$ac_exeext
23434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23435   (eval $ac_link) 2>&5
23436   ac_status=$?
23437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440   (eval $ac_try) 2>&5
23441   ac_status=$?
23442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443   (exit $ac_status); }; }; then
23444   have_unlink_open_file=yes
23445 else
23446   echo "$as_me: program exited with status $ac_status" >&5
23447 echo "$as_me: failed program was:" >&5
23448 sed 's/^/| /' conftest.$ac_ext >&5
23449
23450 ( exit $ac_status )
23451 have_unlink_open_file=no
23452 fi
23453 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23454 fi
23455 fi
23456 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23457 echo "${ECHO_T}$have_unlink_open_file" >&6
23458 if test x"$have_unlink_open_file" = xyes; then
23459
23460 cat >>confdefs.h <<\_ACEOF
23461 #define HAVE_UNLINK_OPEN_FILE 1
23462 _ACEOF
23463
23464 fi
23465
23466 # Check whether line terminator is LF or CRLF
23467
23468   echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23469 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23470 if test "${have_crlf+set}" = set; then
23471   echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473
23474   if test "$cross_compiling" = yes; then
23475
23476 case "${target}" in
23477   *mingw*) have_crlf=yes ;;
23478   *) have_crlf=no;;
23479 esac
23480 else
23481   cat >conftest.$ac_ext <<_ACEOF
23482 /* confdefs.h.  */
23483 _ACEOF
23484 cat confdefs.h >>conftest.$ac_ext
23485 cat >>conftest.$ac_ext <<_ACEOF
23486 /* end confdefs.h.  */
23487
23488 /* This test program should exit with status 0 if system uses a CRLF as
23489    line terminator, and status 1 otherwise.
23490    Since it is used to check for mingw systems, and should return 0 in any
23491    other case, in case of a failure we will not use CRLF.  */
23492 #include <sys/stat.h>
23493 #include <stdlib.h>
23494 #include <fcntl.h>
23495 #include <stdio.h>
23496
23497 int main ()
23498 {
23499 #ifndef O_BINARY
23500   exit(1);
23501 #else
23502   int fd, bytes;
23503   char buff[5];
23504
23505   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23506   if (fd < 0)
23507     exit(1);
23508   if (write (fd, "\n", 1) < 0)
23509     perror ("write");
23510
23511   close (fd);
23512
23513   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23514     exit(1);
23515   bytes = read (fd, buff, 5);
23516   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23517     exit(0);
23518   else
23519     exit(1);
23520 #endif
23521 }
23522 _ACEOF
23523 rm -f conftest$ac_exeext
23524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23525   (eval $ac_link) 2>&5
23526   ac_status=$?
23527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530   (eval $ac_try) 2>&5
23531   ac_status=$?
23532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533   (exit $ac_status); }; }; then
23534   have_crlf=yes
23535 else
23536   echo "$as_me: program exited with status $ac_status" >&5
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.$ac_ext >&5
23539
23540 ( exit $ac_status )
23541 have_crlf=no
23542 fi
23543 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23544 fi
23545 fi
23546 echo "$as_me:$LINENO: result: $have_crlf" >&5
23547 echo "${ECHO_T}$have_crlf" >&6
23548 if test x"$have_crlf" = xyes; then
23549
23550 cat >>confdefs.h <<\_ACEOF
23551 #define HAVE_CRLF 1
23552 _ACEOF
23553
23554 fi
23555
23556 cat >confcache <<\_ACEOF
23557 # This file is a shell script that caches the results of configure
23558 # tests run on this system so they can be shared between configure
23559 # scripts and configure runs, see configure's option --config-cache.
23560 # It is not useful on other systems.  If it contains results you don't
23561 # want to keep, you may remove or edit it.
23562 #
23563 # config.status only pays attention to the cache file if you give it
23564 # the --recheck option to rerun configure.
23565 #
23566 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23567 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23568 # following values.
23569
23570 _ACEOF
23571
23572 # The following way of writing the cache mishandles newlines in values,
23573 # but we know of no workaround that is simple, portable, and efficient.
23574 # So, don't put newlines in cache variables' values.
23575 # Ultrix sh set writes to stderr and can't be redirected directly,
23576 # and sets the high bit in the cache file unless we assign to the vars.
23577 {
23578   (set) 2>&1 |
23579     case `(ac_space=' '; set | grep ac_space) 2>&1` in
23580     *ac_space=\ *)
23581       # `set' does not quote correctly, so add quotes (double-quote
23582       # substitution turns \\\\ into \\, and sed turns \\ into \).
23583       sed -n \
23584         "s/'/'\\\\''/g;
23585           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23586       ;;
23587     *)
23588       # `set' quotes correctly as required by POSIX, so do not add quotes.
23589       sed -n \
23590         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23591       ;;
23592     esac;
23593 } |
23594   sed '
23595      t clear
23596      : clear
23597      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23598      t end
23599      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23600      : end' >>confcache
23601 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23602   if test -w $cache_file; then
23603     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23604     cat confcache >$cache_file
23605   else
23606     echo "not updating unwritable cache $cache_file"
23607   fi
23608 fi
23609 rm -f confcache
23610
23611 if test ${multilib} = yes; then
23612   multilib_arg="--enable-multilib"
23613 else
23614   multilib_arg=
23615 fi
23616
23617 # Write our Makefile.
23618           ac_config_files="$ac_config_files Makefile"
23619
23620 cat >confcache <<\_ACEOF
23621 # This file is a shell script that caches the results of configure
23622 # tests run on this system so they can be shared between configure
23623 # scripts and configure runs, see configure's option --config-cache.
23624 # It is not useful on other systems.  If it contains results you don't
23625 # want to keep, you may remove or edit it.
23626 #
23627 # config.status only pays attention to the cache file if you give it
23628 # the --recheck option to rerun configure.
23629 #
23630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23632 # following values.
23633
23634 _ACEOF
23635
23636 # The following way of writing the cache mishandles newlines in values,
23637 # but we know of no workaround that is simple, portable, and efficient.
23638 # So, don't put newlines in cache variables' values.
23639 # Ultrix sh set writes to stderr and can't be redirected directly,
23640 # and sets the high bit in the cache file unless we assign to the vars.
23641 {
23642   (set) 2>&1 |
23643     case `(ac_space=' '; set | grep ac_space) 2>&1` in
23644     *ac_space=\ *)
23645       # `set' does not quote correctly, so add quotes (double-quote
23646       # substitution turns \\\\ into \\, and sed turns \\ into \).
23647       sed -n \
23648         "s/'/'\\\\''/g;
23649           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23650       ;;
23651     *)
23652       # `set' quotes correctly as required by POSIX, so do not add quotes.
23653       sed -n \
23654         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23655       ;;
23656     esac;
23657 } |
23658   sed '
23659      t clear
23660      : clear
23661      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23662      t end
23663      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23664      : end' >>confcache
23665 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23666   if test -w $cache_file; then
23667     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23668     cat confcache >$cache_file
23669   else
23670     echo "not updating unwritable cache $cache_file"
23671   fi
23672 fi
23673 rm -f confcache
23674
23675 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23676 # Let make expand exec_prefix.
23677 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23678
23679 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23680 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23681 # trailing colons and then remove the whole line if VPATH becomes empty
23682 # (actually we leave an empty line to preserve line numbers).
23683 if test "x$srcdir" = x.; then
23684   ac_vpsub='/^[  ]*VPATH[        ]*=/{
23685 s/:*\$(srcdir):*/:/;
23686 s/:*\${srcdir}:*/:/;
23687 s/:*@srcdir@:*/:/;
23688 s/^\([^=]*=[     ]*\):*/\1/;
23689 s/:*$//;
23690 s/^[^=]*=[       ]*$//;
23691 }'
23692 fi
23693
23694 DEFS=-DHAVE_CONFIG_H
23695
23696 ac_libobjs=
23697 ac_ltlibobjs=
23698 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23699   # 1. Remove the extension, and $U if already installed.
23700   ac_i=`echo "$ac_i" |
23701          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23702   # 2. Add them.
23703   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23704   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23705 done
23706 LIBOBJS=$ac_libobjs
23707
23708 LTLIBOBJS=$ac_ltlibobjs
23709
23710
23711 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23712   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23713 Usually this means the macro was only invoked conditionally." >&5
23714 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23715 Usually this means the macro was only invoked conditionally." >&2;}
23716    { (exit 1); exit 1; }; }
23717 fi
23718
23719 : ${CONFIG_STATUS=./config.status}
23720 ac_clean_files_save=$ac_clean_files
23721 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23722 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23723 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23724 cat >$CONFIG_STATUS <<_ACEOF
23725 #! $SHELL
23726 # Generated by $as_me.
23727 # Run this file to recreate the current configuration.
23728 # Compiler output produced by configure, useful for debugging
23729 # configure, is in config.log if it exists.
23730
23731 debug=false
23732 ac_cs_recheck=false
23733 ac_cs_silent=false
23734 SHELL=\${CONFIG_SHELL-$SHELL}
23735 _ACEOF
23736
23737 cat >>$CONFIG_STATUS <<\_ACEOF
23738 ## --------------------- ##
23739 ## M4sh Initialization.  ##
23740 ## --------------------- ##
23741
23742 # Be Bourne compatible
23743 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23744   emulate sh
23745   NULLCMD=:
23746   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23747   # is contrary to our usage.  Disable this feature.
23748   alias -g '${1+"$@"}'='"$@"'
23749 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23750   set -o posix
23751 fi
23752 DUALCASE=1; export DUALCASE # for MKS sh
23753
23754 # Support unset when possible.
23755 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23756   as_unset=unset
23757 else
23758   as_unset=false
23759 fi
23760
23761
23762 # Work around bugs in pre-3.0 UWIN ksh.
23763 $as_unset ENV MAIL MAILPATH
23764 PS1='$ '
23765 PS2='> '
23766 PS4='+ '
23767
23768 # NLS nuisances.
23769 for as_var in \
23770   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23771   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23772   LC_TELEPHONE LC_TIME
23773 do
23774   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23775     eval $as_var=C; export $as_var
23776   else
23777     $as_unset $as_var
23778   fi
23779 done
23780
23781 # Required to use basename.
23782 if expr a : '\(a\)' >/dev/null 2>&1; then
23783   as_expr=expr
23784 else
23785   as_expr=false
23786 fi
23787
23788 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23789   as_basename=basename
23790 else
23791   as_basename=false
23792 fi
23793
23794
23795 # Name of the executable.
23796 as_me=`$as_basename "$0" ||
23797 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23798          X"$0" : 'X\(//\)$' \| \
23799          X"$0" : 'X\(/\)$' \| \
23800          .     : '\(.\)' 2>/dev/null ||
23801 echo X/"$0" |
23802     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23803           /^X\/\(\/\/\)$/{ s//\1/; q; }
23804           /^X\/\(\/\).*/{ s//\1/; q; }
23805           s/.*/./; q'`
23806
23807
23808 # PATH needs CR, and LINENO needs CR and PATH.
23809 # Avoid depending upon Character Ranges.
23810 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23811 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23812 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23813 as_cr_digits='0123456789'
23814 as_cr_alnum=$as_cr_Letters$as_cr_digits
23815
23816 # The user is always right.
23817 if test "${PATH_SEPARATOR+set}" != set; then
23818   echo "#! /bin/sh" >conf$$.sh
23819   echo  "exit 0"   >>conf$$.sh
23820   chmod +x conf$$.sh
23821   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23822     PATH_SEPARATOR=';'
23823   else
23824     PATH_SEPARATOR=:
23825   fi
23826   rm -f conf$$.sh
23827 fi
23828
23829
23830   as_lineno_1=$LINENO
23831   as_lineno_2=$LINENO
23832   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23833   test "x$as_lineno_1" != "x$as_lineno_2" &&
23834   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
23835   # Find who we are.  Look in the path if we contain no path at all
23836   # relative or not.
23837   case $0 in
23838     *[\\/]* ) as_myself=$0 ;;
23839     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23840 for as_dir in $PATH
23841 do
23842   IFS=$as_save_IFS
23843   test -z "$as_dir" && as_dir=.
23844   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23845 done
23846
23847        ;;
23848   esac
23849   # We did not find ourselves, most probably we were run as `sh COMMAND'
23850   # in which case we are not to be found in the path.
23851   if test "x$as_myself" = x; then
23852     as_myself=$0
23853   fi
23854   if test ! -f "$as_myself"; then
23855     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23856 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23857    { (exit 1); exit 1; }; }
23858   fi
23859   case $CONFIG_SHELL in
23860   '')
23861     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23862 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23863 do
23864   IFS=$as_save_IFS
23865   test -z "$as_dir" && as_dir=.
23866   for as_base in sh bash ksh sh5; do
23867          case $as_dir in
23868          /*)
23869            if ("$as_dir/$as_base" -c '
23870   as_lineno_1=$LINENO
23871   as_lineno_2=$LINENO
23872   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23873   test "x$as_lineno_1" != "x$as_lineno_2" &&
23874   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
23875              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23876              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23877              CONFIG_SHELL=$as_dir/$as_base
23878              export CONFIG_SHELL
23879              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23880            fi;;
23881          esac
23882        done
23883 done
23884 ;;
23885   esac
23886
23887   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23888   # uniformly replaced by the line number.  The first 'sed' inserts a
23889   # line-number line before each line; the second 'sed' does the real
23890   # work.  The second script uses 'N' to pair each line-number line
23891   # with the numbered line, and appends trailing '-' during
23892   # substitution so that $LINENO is not a special case at line end.
23893   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23894   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
23895   sed '=' <$as_myself |
23896     sed '
23897       N
23898       s,$,-,
23899       : loop
23900       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23901       t loop
23902       s,-$,,
23903       s,^['$as_cr_digits']*\n,,
23904     ' >$as_me.lineno &&
23905   chmod +x $as_me.lineno ||
23906     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23907 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23908    { (exit 1); exit 1; }; }
23909
23910   # Don't try to exec as it changes $[0], causing all sort of problems
23911   # (the dirname of $[0] is not the place where we might find the
23912   # original and so on.  Autoconf is especially sensible to this).
23913   . ./$as_me.lineno
23914   # Exit status is that of the last command.
23915   exit
23916 }
23917
23918
23919 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23920   *c*,-n*) ECHO_N= ECHO_C='
23921 ' ECHO_T='      ' ;;
23922   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23923   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
23924 esac
23925
23926 if expr a : '\(a\)' >/dev/null 2>&1; then
23927   as_expr=expr
23928 else
23929   as_expr=false
23930 fi
23931
23932 rm -f conf$$ conf$$.exe conf$$.file
23933 echo >conf$$.file
23934 if ln -s conf$$.file conf$$ 2>/dev/null; then
23935   # We could just check for DJGPP; but this test a) works b) is more generic
23936   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23937   if test -f conf$$.exe; then
23938     # Don't use ln at all; we don't have any links
23939     as_ln_s='cp -p'
23940   else
23941     as_ln_s='ln -s'
23942   fi
23943 elif ln conf$$.file conf$$ 2>/dev/null; then
23944   as_ln_s=ln
23945 else
23946   as_ln_s='cp -p'
23947 fi
23948 rm -f conf$$ conf$$.exe conf$$.file
23949
23950 if mkdir -p . 2>/dev/null; then
23951   as_mkdir_p=:
23952 else
23953   test -d ./-p && rmdir ./-p
23954   as_mkdir_p=false
23955 fi
23956
23957 as_executable_p="test -f"
23958
23959 # Sed expression to map a string onto a valid CPP name.
23960 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23961
23962 # Sed expression to map a string onto a valid variable name.
23963 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23964
23965
23966 # IFS
23967 # We need space, tab and new line, in precisely that order.
23968 as_nl='
23969 '
23970 IFS="   $as_nl"
23971
23972 # CDPATH.
23973 $as_unset CDPATH
23974
23975 exec 6>&1
23976
23977 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23978 # report actual input values of CONFIG_FILES etc. instead of their
23979 # values after options handling.  Logging --version etc. is OK.
23980 exec 5>>config.log
23981 {
23982   echo
23983   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23984 ## Running $as_me. ##
23985 _ASBOX
23986 } >&5
23987 cat >&5 <<_CSEOF
23988
23989 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
23990 generated by GNU Autoconf 2.59.  Invocation command line was
23991
23992   CONFIG_FILES    = $CONFIG_FILES
23993   CONFIG_HEADERS  = $CONFIG_HEADERS
23994   CONFIG_LINKS    = $CONFIG_LINKS
23995   CONFIG_COMMANDS = $CONFIG_COMMANDS
23996   $ $0 $@
23997
23998 _CSEOF
23999 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24000 echo >&5
24001 _ACEOF
24002
24003 # Files that config.status was made for.
24004 if test -n "$ac_config_files"; then
24005   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24006 fi
24007
24008 if test -n "$ac_config_headers"; then
24009   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24010 fi
24011
24012 if test -n "$ac_config_links"; then
24013   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24014 fi
24015
24016 if test -n "$ac_config_commands"; then
24017   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24018 fi
24019
24020 cat >>$CONFIG_STATUS <<\_ACEOF
24021
24022 ac_cs_usage="\
24023 \`$as_me' instantiates files from templates according to the
24024 current configuration.
24025
24026 Usage: $0 [OPTIONS] [FILE]...
24027
24028   -h, --help       print this help, then exit
24029   -V, --version    print version number, then exit
24030   -q, --quiet      do not print progress messages
24031   -d, --debug      don't remove temporary files
24032       --recheck    update $as_me by reconfiguring in the same conditions
24033   --file=FILE[:TEMPLATE]
24034                    instantiate the configuration file FILE
24035   --header=FILE[:TEMPLATE]
24036                    instantiate the configuration header FILE
24037
24038 Configuration files:
24039 $config_files
24040
24041 Configuration headers:
24042 $config_headers
24043
24044 Configuration commands:
24045 $config_commands
24046
24047 Report bugs to <bug-autoconf@gnu.org>."
24048 _ACEOF
24049
24050 cat >>$CONFIG_STATUS <<_ACEOF
24051 ac_cs_version="\\
24052 GNU Fortran Runtime Library config.status 0.2
24053 configured by $0, generated by GNU Autoconf 2.59,
24054   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24055
24056 Copyright (C) 2003 Free Software Foundation, Inc.
24057 This config.status script is free software; the Free Software Foundation
24058 gives unlimited permission to copy, distribute and modify it."
24059 srcdir=$srcdir
24060 INSTALL="$INSTALL"
24061 _ACEOF
24062
24063 cat >>$CONFIG_STATUS <<\_ACEOF
24064 # If no file are specified by the user, then we need to provide default
24065 # value.  By we need to know if files were specified by the user.
24066 ac_need_defaults=:
24067 while test $# != 0
24068 do
24069   case $1 in
24070   --*=*)
24071     ac_option=`expr "x$1" : 'x\([^=]*\)='`
24072     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24073     ac_shift=:
24074     ;;
24075   -*)
24076     ac_option=$1
24077     ac_optarg=$2
24078     ac_shift=shift
24079     ;;
24080   *) # This is not an option, so the user has probably given explicit
24081      # arguments.
24082      ac_option=$1
24083      ac_need_defaults=false;;
24084   esac
24085
24086   case $ac_option in
24087   # Handling of the options.
24088 _ACEOF
24089 cat >>$CONFIG_STATUS <<\_ACEOF
24090   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24091     ac_cs_recheck=: ;;
24092   --version | --vers* | -V )
24093     echo "$ac_cs_version"; exit 0 ;;
24094   --he | --h)
24095     # Conflict between --help and --header
24096     { { echo "$as_me:$LINENO: error: ambiguous option: $1
24097 Try \`$0 --help' for more information." >&5
24098 echo "$as_me: error: ambiguous option: $1
24099 Try \`$0 --help' for more information." >&2;}
24100    { (exit 1); exit 1; }; };;
24101   --help | --hel | -h )
24102     echo "$ac_cs_usage"; exit 0 ;;
24103   --debug | --d* | -d )
24104     debug=: ;;
24105   --file | --fil | --fi | --f )
24106     $ac_shift
24107     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24108     ac_need_defaults=false;;
24109   --header | --heade | --head | --hea )
24110     $ac_shift
24111     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24112     ac_need_defaults=false;;
24113   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24114   | -silent | --silent | --silen | --sile | --sil | --si | --s)
24115     ac_cs_silent=: ;;
24116
24117   # This is an error.
24118   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24119 Try \`$0 --help' for more information." >&5
24120 echo "$as_me: error: unrecognized option: $1
24121 Try \`$0 --help' for more information." >&2;}
24122    { (exit 1); exit 1; }; } ;;
24123
24124   *) ac_config_targets="$ac_config_targets $1" ;;
24125
24126   esac
24127   shift
24128 done
24129
24130 ac_configure_extra_args=
24131
24132 if $ac_cs_silent; then
24133   exec 6>/dev/null
24134   ac_configure_extra_args="$ac_configure_extra_args --silent"
24135 fi
24136
24137 _ACEOF
24138 cat >>$CONFIG_STATUS <<_ACEOF
24139 if \$ac_cs_recheck; then
24140   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24141   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24142 fi
24143
24144 _ACEOF
24145
24146 cat >>$CONFIG_STATUS <<_ACEOF
24147 #
24148 # INIT-COMMANDS section.
24149 #
24150
24151
24152 srcdir="$srcdir"
24153 host="$host"
24154 target="$target"
24155 with_multisubdir="$with_multisubdir"
24156 with_multisrctop="$with_multisrctop"
24157 with_target_subdir="$with_target_subdir"
24158 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24159 multi_basedir="$multi_basedir"
24160 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24161 CC="$CC"
24162
24163 GCC="$GCC"
24164 CC="$CC"
24165 acx_cv_header_stdint="$acx_cv_header_stdint"
24166 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24167 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24168 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24169 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24170 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24171 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24172 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24173 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24174 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24175 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24176 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24177 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24178 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24179
24180
24181 _ACEOF
24182
24183
24184
24185 cat >>$CONFIG_STATUS <<\_ACEOF
24186 for ac_config_target in $ac_config_targets
24187 do
24188   case "$ac_config_target" in
24189   # Handling of arguments.
24190   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24191   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24192   "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24193   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24194   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24195 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24196    { (exit 1); exit 1; }; };;
24197   esac
24198 done
24199
24200 # If the user did not use the arguments to specify the items to instantiate,
24201 # then the envvar interface is used.  Set only those that are not.
24202 # We use the long form for the default assignment because of an extremely
24203 # bizarre bug on SunOS 4.1.3.
24204 if $ac_need_defaults; then
24205   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24206   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24207   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24208 fi
24209
24210 # Have a temporary directory for convenience.  Make it in the build tree
24211 # simply because there is no reason to put it here, and in addition,
24212 # creating and moving files from /tmp can sometimes cause problems.
24213 # Create a temporary directory, and hook for its removal unless debugging.
24214 $debug ||
24215 {
24216   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24217   trap '{ (exit 1); exit 1; }' 1 2 13 15
24218 }
24219
24220 # Create a (secure) tmp directory for tmp files.
24221
24222 {
24223   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24224   test -n "$tmp" && test -d "$tmp"
24225 }  ||
24226 {
24227   tmp=./confstat$$-$RANDOM
24228   (umask 077 && mkdir $tmp)
24229 } ||
24230 {
24231    echo "$me: cannot create a temporary directory in ." >&2
24232    { (exit 1); exit 1; }
24233 }
24234
24235 _ACEOF
24236
24237 cat >>$CONFIG_STATUS <<_ACEOF
24238
24239 #
24240 # CONFIG_FILES section.
24241 #
24242
24243 # No need to generate the scripts if there are no CONFIG_FILES.
24244 # This happens for instance when ./config.status config.h
24245 if test -n "\$CONFIG_FILES"; then
24246   # Protect against being on the right side of a sed subst in config.status.
24247   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24248    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24249 s,@SHELL@,$SHELL,;t t
24250 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24251 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24252 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24253 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24254 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24255 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24256 s,@exec_prefix@,$exec_prefix,;t t
24257 s,@prefix@,$prefix,;t t
24258 s,@program_transform_name@,$program_transform_name,;t t
24259 s,@bindir@,$bindir,;t t
24260 s,@sbindir@,$sbindir,;t t
24261 s,@libexecdir@,$libexecdir,;t t
24262 s,@datadir@,$datadir,;t t
24263 s,@sysconfdir@,$sysconfdir,;t t
24264 s,@sharedstatedir@,$sharedstatedir,;t t
24265 s,@localstatedir@,$localstatedir,;t t
24266 s,@libdir@,$libdir,;t t
24267 s,@includedir@,$includedir,;t t
24268 s,@oldincludedir@,$oldincludedir,;t t
24269 s,@infodir@,$infodir,;t t
24270 s,@mandir@,$mandir,;t t
24271 s,@build_alias@,$build_alias,;t t
24272 s,@host_alias@,$host_alias,;t t
24273 s,@target_alias@,$target_alias,;t t
24274 s,@DEFS@,$DEFS,;t t
24275 s,@ECHO_C@,$ECHO_C,;t t
24276 s,@ECHO_N@,$ECHO_N,;t t
24277 s,@ECHO_T@,$ECHO_T,;t t
24278 s,@LIBS@,$LIBS,;t t
24279 s,@build@,$build,;t t
24280 s,@build_cpu@,$build_cpu,;t t
24281 s,@build_vendor@,$build_vendor,;t t
24282 s,@build_os@,$build_os,;t t
24283 s,@build_libsubdir@,$build_libsubdir,;t t
24284 s,@build_subdir@,$build_subdir,;t t
24285 s,@host_subdir@,$host_subdir,;t t
24286 s,@target_subdir@,$target_subdir,;t t
24287 s,@host@,$host,;t t
24288 s,@host_cpu@,$host_cpu,;t t
24289 s,@host_vendor@,$host_vendor,;t t
24290 s,@host_os@,$host_os,;t t
24291 s,@target@,$target,;t t
24292 s,@target_cpu@,$target_cpu,;t t
24293 s,@target_vendor@,$target_vendor,;t t
24294 s,@target_os@,$target_os,;t t
24295 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24296 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24297 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24298 s,@CYGPATH_W@,$CYGPATH_W,;t t
24299 s,@PACKAGE@,$PACKAGE,;t t
24300 s,@VERSION@,$VERSION,;t t
24301 s,@ACLOCAL@,$ACLOCAL,;t t
24302 s,@AUTOCONF@,$AUTOCONF,;t t
24303 s,@AUTOMAKE@,$AUTOMAKE,;t t
24304 s,@AUTOHEADER@,$AUTOHEADER,;t t
24305 s,@MAKEINFO@,$MAKEINFO,;t t
24306 s,@install_sh@,$install_sh,;t t
24307 s,@STRIP@,$STRIP,;t t
24308 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24309 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24310 s,@mkdir_p@,$mkdir_p,;t t
24311 s,@AWK@,$AWK,;t t
24312 s,@SET_MAKE@,$SET_MAKE,;t t
24313 s,@am__leading_dot@,$am__leading_dot,;t t
24314 s,@AMTAR@,$AMTAR,;t t
24315 s,@am__tar@,$am__tar,;t t
24316 s,@am__untar@,$am__untar,;t t
24317 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24318 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24319 s,@MAINT@,$MAINT,;t t
24320 s,@multi_basedir@,$multi_basedir,;t t
24321 s,@toolexecdir@,$toolexecdir,;t t
24322 s,@toolexeclibdir@,$toolexeclibdir,;t t
24323 s,@CC@,$CC,;t t
24324 s,@ac_ct_CC@,$ac_ct_CC,;t t
24325 s,@EXEEXT@,$EXEEXT,;t t
24326 s,@OBJEXT@,$OBJEXT,;t t
24327 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24328 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24329 s,@AS@,$AS,;t t
24330 s,@ac_ct_AS@,$ac_ct_AS,;t t
24331 s,@AR@,$AR,;t t
24332 s,@ac_ct_AR@,$ac_ct_AR,;t t
24333 s,@RANLIB@,$RANLIB,;t t
24334 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24335 s,@LN_S@,$LN_S,;t t
24336 s,@LIBTOOL@,$LIBTOOL,;t t
24337 s,@enable_shared@,$enable_shared,;t t
24338 s,@enable_static@,$enable_static,;t t
24339 s,@FC@,$FC,;t t
24340 s,@FCFLAGS@,$FCFLAGS,;t t
24341 s,@LDFLAGS@,$LDFLAGS,;t t
24342 s,@ac_ct_FC@,$ac_ct_FC,;t t
24343 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24344 s,@CPP@,$CPP,;t t
24345 s,@CPPFLAGS@,$CPPFLAGS,;t t
24346 s,@EGREP@,$EGREP,;t t
24347 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24348 s,@LIBOBJS@,$LIBOBJS,;t t
24349 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24350 CEOF
24351
24352 _ACEOF
24353
24354   cat >>$CONFIG_STATUS <<\_ACEOF
24355   # Split the substitutions into bite-sized pieces for seds with
24356   # small command number limits, like on Digital OSF/1 and HP-UX.
24357   ac_max_sed_lines=48
24358   ac_sed_frag=1 # Number of current file.
24359   ac_beg=1 # First line for current file.
24360   ac_end=$ac_max_sed_lines # Line after last line for current file.
24361   ac_more_lines=:
24362   ac_sed_cmds=
24363   while $ac_more_lines; do
24364     if test $ac_beg -gt 1; then
24365       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24366     else
24367       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24368     fi
24369     if test ! -s $tmp/subs.frag; then
24370       ac_more_lines=false
24371     else
24372       # The purpose of the label and of the branching condition is to
24373       # speed up the sed processing (if there are no `@' at all, there
24374       # is no need to browse any of the substitutions).
24375       # These are the two extra sed commands mentioned above.
24376       (echo ':t
24377   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24378       if test -z "$ac_sed_cmds"; then
24379         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24380       else
24381         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24382       fi
24383       ac_sed_frag=`expr $ac_sed_frag + 1`
24384       ac_beg=$ac_end
24385       ac_end=`expr $ac_end + $ac_max_sed_lines`
24386     fi
24387   done
24388   if test -z "$ac_sed_cmds"; then
24389     ac_sed_cmds=cat
24390   fi
24391 fi # test -n "$CONFIG_FILES"
24392
24393 _ACEOF
24394 cat >>$CONFIG_STATUS <<\_ACEOF
24395 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24396   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24397   case $ac_file in
24398   - | *:- | *:-:* ) # input from stdin
24399         cat >$tmp/stdin
24400         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24401         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24402   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24403         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24404   * )   ac_file_in=$ac_file.in ;;
24405   esac
24406
24407   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24408   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24409 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24410          X"$ac_file" : 'X\(//\)[^/]' \| \
24411          X"$ac_file" : 'X\(//\)$' \| \
24412          X"$ac_file" : 'X\(/\)' \| \
24413          .     : '\(.\)' 2>/dev/null ||
24414 echo X"$ac_file" |
24415     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24416           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24417           /^X\(\/\/\)$/{ s//\1/; q; }
24418           /^X\(\/\).*/{ s//\1/; q; }
24419           s/.*/./; q'`
24420   { if $as_mkdir_p; then
24421     mkdir -p "$ac_dir"
24422   else
24423     as_dir="$ac_dir"
24424     as_dirs=
24425     while test ! -d "$as_dir"; do
24426       as_dirs="$as_dir $as_dirs"
24427       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24429          X"$as_dir" : 'X\(//\)[^/]' \| \
24430          X"$as_dir" : 'X\(//\)$' \| \
24431          X"$as_dir" : 'X\(/\)' \| \
24432          .     : '\(.\)' 2>/dev/null ||
24433 echo X"$as_dir" |
24434     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24435           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24436           /^X\(\/\/\)$/{ s//\1/; q; }
24437           /^X\(\/\).*/{ s//\1/; q; }
24438           s/.*/./; q'`
24439     done
24440     test ! -n "$as_dirs" || mkdir $as_dirs
24441   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24442 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24443    { (exit 1); exit 1; }; }; }
24444
24445   ac_builddir=.
24446
24447 if test "$ac_dir" != .; then
24448   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24449   # A "../" for each directory in $ac_dir_suffix.
24450   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24451 else
24452   ac_dir_suffix= ac_top_builddir=
24453 fi
24454
24455 case $srcdir in
24456   .)  # No --srcdir option.  We are building in place.
24457     ac_srcdir=.
24458     if test -z "$ac_top_builddir"; then
24459        ac_top_srcdir=.
24460     else
24461        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24462     fi ;;
24463   [\\/]* | ?:[\\/]* )  # Absolute path.
24464     ac_srcdir=$srcdir$ac_dir_suffix;
24465     ac_top_srcdir=$srcdir ;;
24466   *) # Relative path.
24467     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24468     ac_top_srcdir=$ac_top_builddir$srcdir ;;
24469 esac
24470
24471 # Do not use `cd foo && pwd` to compute absolute paths, because
24472 # the directories may not exist.
24473 case `pwd` in
24474 .) ac_abs_builddir="$ac_dir";;
24475 *)
24476   case "$ac_dir" in
24477   .) ac_abs_builddir=`pwd`;;
24478   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24479   *) ac_abs_builddir=`pwd`/"$ac_dir";;
24480   esac;;
24481 esac
24482 case $ac_abs_builddir in
24483 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24484 *)
24485   case ${ac_top_builddir}. in
24486   .) ac_abs_top_builddir=$ac_abs_builddir;;
24487   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24488   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24489   esac;;
24490 esac
24491 case $ac_abs_builddir in
24492 .) ac_abs_srcdir=$ac_srcdir;;
24493 *)
24494   case $ac_srcdir in
24495   .) ac_abs_srcdir=$ac_abs_builddir;;
24496   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24497   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24498   esac;;
24499 esac
24500 case $ac_abs_builddir in
24501 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24502 *)
24503   case $ac_top_srcdir in
24504   .) ac_abs_top_srcdir=$ac_abs_builddir;;
24505   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24506   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24507   esac;;
24508 esac
24509
24510
24511   case $INSTALL in
24512   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24513   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24514   esac
24515
24516   if test x"$ac_file" != x-; then
24517     { echo "$as_me:$LINENO: creating $ac_file" >&5
24518 echo "$as_me: creating $ac_file" >&6;}
24519     rm -f "$ac_file"
24520   fi
24521   # Let's still pretend it is `configure' which instantiates (i.e., don't
24522   # use $as_me), people would be surprised to read:
24523   #    /* config.h.  Generated by config.status.  */
24524   if test x"$ac_file" = x-; then
24525     configure_input=
24526   else
24527     configure_input="$ac_file.  "
24528   fi
24529   configure_input=$configure_input"Generated from `echo $ac_file_in |
24530                                      sed 's,.*/,,'` by configure."
24531
24532   # First look for the input files in the build tree, otherwise in the
24533   # src tree.
24534   ac_file_inputs=`IFS=:
24535     for f in $ac_file_in; do
24536       case $f in
24537       -) echo $tmp/stdin ;;
24538       [\\/$]*)
24539          # Absolute (can't be DOS-style, as IFS=:)
24540          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24541 echo "$as_me: error: cannot find input file: $f" >&2;}
24542    { (exit 1); exit 1; }; }
24543          echo "$f";;
24544       *) # Relative
24545          if test -f "$f"; then
24546            # Build tree
24547            echo "$f"
24548          elif test -f "$srcdir/$f"; then
24549            # Source tree
24550            echo "$srcdir/$f"
24551          else
24552            # /dev/null tree
24553            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24554 echo "$as_me: error: cannot find input file: $f" >&2;}
24555    { (exit 1); exit 1; }; }
24556          fi;;
24557       esac
24558     done` || { (exit 1); exit 1; }
24559 _ACEOF
24560 cat >>$CONFIG_STATUS <<_ACEOF
24561   sed "$ac_vpsub
24562 $extrasub
24563 _ACEOF
24564 cat >>$CONFIG_STATUS <<\_ACEOF
24565 :t
24566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24567 s,@configure_input@,$configure_input,;t t
24568 s,@srcdir@,$ac_srcdir,;t t
24569 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24570 s,@top_srcdir@,$ac_top_srcdir,;t t
24571 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24572 s,@builddir@,$ac_builddir,;t t
24573 s,@abs_builddir@,$ac_abs_builddir,;t t
24574 s,@top_builddir@,$ac_top_builddir,;t t
24575 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24576 s,@INSTALL@,$ac_INSTALL,;t t
24577 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24578   rm -f $tmp/stdin
24579   if test x"$ac_file" != x-; then
24580     mv $tmp/out $ac_file
24581   else
24582     cat $tmp/out
24583     rm -f $tmp/out
24584   fi
24585
24586 done
24587 _ACEOF
24588 cat >>$CONFIG_STATUS <<\_ACEOF
24589
24590 #
24591 # CONFIG_HEADER section.
24592 #
24593
24594 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24595 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24596 #
24597 # ac_d sets the value in "#define NAME VALUE" lines.
24598 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
24599 ac_dB='[         ].*$,\1#\2'
24600 ac_dC=' '
24601 ac_dD=',;t'
24602 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24603 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
24604 ac_uB='$,\1#\2define\3'
24605 ac_uC=' '
24606 ac_uD=',;t'
24607
24608 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24609   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24610   case $ac_file in
24611   - | *:- | *:-:* ) # input from stdin
24612         cat >$tmp/stdin
24613         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24614         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24615   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24616         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24617   * )   ac_file_in=$ac_file.in ;;
24618   esac
24619
24620   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24621 echo "$as_me: creating $ac_file" >&6;}
24622
24623   # First look for the input files in the build tree, otherwise in the
24624   # src tree.
24625   ac_file_inputs=`IFS=:
24626     for f in $ac_file_in; do
24627       case $f in
24628       -) echo $tmp/stdin ;;
24629       [\\/$]*)
24630          # Absolute (can't be DOS-style, as IFS=:)
24631          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24632 echo "$as_me: error: cannot find input file: $f" >&2;}
24633    { (exit 1); exit 1; }; }
24634          # Do quote $f, to prevent DOS paths from being IFS'd.
24635          echo "$f";;
24636       *) # Relative
24637          if test -f "$f"; then
24638            # Build tree
24639            echo "$f"
24640          elif test -f "$srcdir/$f"; then
24641            # Source tree
24642            echo "$srcdir/$f"
24643          else
24644            # /dev/null tree
24645            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24646 echo "$as_me: error: cannot find input file: $f" >&2;}
24647    { (exit 1); exit 1; }; }
24648          fi;;
24649       esac
24650     done` || { (exit 1); exit 1; }
24651   # Remove the trailing spaces.
24652   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
24653
24654 _ACEOF
24655
24656 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24657 # `conftest.undefs', that substitutes the proper values into
24658 # config.h.in to produce config.h.  The first handles `#define'
24659 # templates, and the second `#undef' templates.
24660 # And first: Protect against being on the right side of a sed subst in
24661 # config.status.  Protect against being in an unquoted here document
24662 # in config.status.
24663 rm -f conftest.defines conftest.undefs
24664 # Using a here document instead of a string reduces the quoting nightmare.
24665 # Putting comments in sed scripts is not portable.
24666 #
24667 # `end' is used to avoid that the second main sed command (meant for
24668 # 0-ary CPP macros) applies to n-ary macro definitions.
24669 # See the Autoconf documentation for `clear'.
24670 cat >confdef2sed.sed <<\_ACEOF
24671 s/[\\&,]/\\&/g
24672 s,[\\$`],\\&,g
24673 t clear
24674 : clear
24675 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24676 t end
24677 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24678 : end
24679 _ACEOF
24680 # If some macros were called several times there might be several times
24681 # the same #defines, which is useless.  Nevertheless, we may not want to
24682 # sort them, since we want the *last* AC-DEFINE to be honored.
24683 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24684 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24685 rm -f confdef2sed.sed
24686
24687 # This sed command replaces #undef with comments.  This is necessary, for
24688 # example, in the case of _POSIX_SOURCE, which is predefined and required
24689 # on some systems where configure will not decide to define it.
24690 cat >>conftest.undefs <<\_ACEOF
24691 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24692 _ACEOF
24693
24694 # Break up conftest.defines because some shells have a limit on the size
24695 # of here documents, and old seds have small limits too (100 cmds).
24696 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24697 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24698 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24699 echo '  :' >>$CONFIG_STATUS
24700 rm -f conftest.tail
24701 while grep . conftest.defines >/dev/null
24702 do
24703   # Write a limited-size here document to $tmp/defines.sed.
24704   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24705   # Speed up: don't consider the non `#define' lines.
24706   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
24707   # Work around the forget-to-reset-the-flag bug.
24708   echo 't clr' >>$CONFIG_STATUS
24709   echo ': clr' >>$CONFIG_STATUS
24710   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24711   echo 'CEOF
24712   sed -f $tmp/defines.sed $tmp/in >$tmp/out
24713   rm -f $tmp/in
24714   mv $tmp/out $tmp/in
24715 ' >>$CONFIG_STATUS
24716   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24717   rm -f conftest.defines
24718   mv conftest.tail conftest.defines
24719 done
24720 rm -f conftest.defines
24721 echo '  fi # grep' >>$CONFIG_STATUS
24722 echo >>$CONFIG_STATUS
24723
24724 # Break up conftest.undefs because some shells have a limit on the size
24725 # of here documents, and old seds have small limits too (100 cmds).
24726 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
24727 rm -f conftest.tail
24728 while grep . conftest.undefs >/dev/null
24729 do
24730   # Write a limited-size here document to $tmp/undefs.sed.
24731   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24732   # Speed up: don't consider the non `#undef'
24733   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
24734   # Work around the forget-to-reset-the-flag bug.
24735   echo 't clr' >>$CONFIG_STATUS
24736   echo ': clr' >>$CONFIG_STATUS
24737   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24738   echo 'CEOF
24739   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24740   rm -f $tmp/in
24741   mv $tmp/out $tmp/in
24742 ' >>$CONFIG_STATUS
24743   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24744   rm -f conftest.undefs
24745   mv conftest.tail conftest.undefs
24746 done
24747 rm -f conftest.undefs
24748
24749 cat >>$CONFIG_STATUS <<\_ACEOF
24750   # Let's still pretend it is `configure' which instantiates (i.e., don't
24751   # use $as_me), people would be surprised to read:
24752   #    /* config.h.  Generated by config.status.  */
24753   if test x"$ac_file" = x-; then
24754     echo "/* Generated by configure.  */" >$tmp/config.h
24755   else
24756     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
24757   fi
24758   cat $tmp/in >>$tmp/config.h
24759   rm -f $tmp/in
24760   if test x"$ac_file" != x-; then
24761     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24762       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24763 echo "$as_me: $ac_file is unchanged" >&6;}
24764     else
24765       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24766 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24767          X"$ac_file" : 'X\(//\)[^/]' \| \
24768          X"$ac_file" : 'X\(//\)$' \| \
24769          X"$ac_file" : 'X\(/\)' \| \
24770          .     : '\(.\)' 2>/dev/null ||
24771 echo X"$ac_file" |
24772     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24773           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24774           /^X\(\/\/\)$/{ s//\1/; q; }
24775           /^X\(\/\).*/{ s//\1/; q; }
24776           s/.*/./; q'`
24777       { if $as_mkdir_p; then
24778     mkdir -p "$ac_dir"
24779   else
24780     as_dir="$ac_dir"
24781     as_dirs=
24782     while test ! -d "$as_dir"; do
24783       as_dirs="$as_dir $as_dirs"
24784       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24786          X"$as_dir" : 'X\(//\)[^/]' \| \
24787          X"$as_dir" : 'X\(//\)$' \| \
24788          X"$as_dir" : 'X\(/\)' \| \
24789          .     : '\(.\)' 2>/dev/null ||
24790 echo X"$as_dir" |
24791     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24792           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24793           /^X\(\/\/\)$/{ s//\1/; q; }
24794           /^X\(\/\).*/{ s//\1/; q; }
24795           s/.*/./; q'`
24796     done
24797     test ! -n "$as_dirs" || mkdir $as_dirs
24798   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24799 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24800    { (exit 1); exit 1; }; }; }
24801
24802       rm -f $ac_file
24803       mv $tmp/config.h $ac_file
24804     fi
24805   else
24806     cat $tmp/config.h
24807     rm -f $tmp/config.h
24808   fi
24809 # Compute $ac_file's index in $config_headers.
24810 _am_stamp_count=1
24811 for _am_header in $config_headers :; do
24812   case $_am_header in
24813     $ac_file | $ac_file:* )
24814       break ;;
24815     * )
24816       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24817   esac
24818 done
24819 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24820 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24821          X$ac_file : 'X\(//\)[^/]' \| \
24822          X$ac_file : 'X\(//\)$' \| \
24823          X$ac_file : 'X\(/\)' \| \
24824          .     : '\(.\)' 2>/dev/null ||
24825 echo X$ac_file |
24826     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24827           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24828           /^X\(\/\/\)$/{ s//\1/; q; }
24829           /^X\(\/\).*/{ s//\1/; q; }
24830           s/.*/./; q'`/stamp-h$_am_stamp_count
24831 done
24832 _ACEOF
24833 cat >>$CONFIG_STATUS <<\_ACEOF
24834
24835 #
24836 # CONFIG_COMMANDS section.
24837 #
24838 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24839   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24840   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24841   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24842 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24843          X"$ac_dest" : 'X\(//\)[^/]' \| \
24844          X"$ac_dest" : 'X\(//\)$' \| \
24845          X"$ac_dest" : 'X\(/\)' \| \
24846          .     : '\(.\)' 2>/dev/null ||
24847 echo X"$ac_dest" |
24848     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24849           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24850           /^X\(\/\/\)$/{ s//\1/; q; }
24851           /^X\(\/\).*/{ s//\1/; q; }
24852           s/.*/./; q'`
24853   { if $as_mkdir_p; then
24854     mkdir -p "$ac_dir"
24855   else
24856     as_dir="$ac_dir"
24857     as_dirs=
24858     while test ! -d "$as_dir"; do
24859       as_dirs="$as_dir $as_dirs"
24860       as_dir=`(dirname "$as_dir") 2>/dev/null ||
24861 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24862          X"$as_dir" : 'X\(//\)[^/]' \| \
24863          X"$as_dir" : 'X\(//\)$' \| \
24864          X"$as_dir" : 'X\(/\)' \| \
24865          .     : '\(.\)' 2>/dev/null ||
24866 echo X"$as_dir" |
24867     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24868           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24869           /^X\(\/\/\)$/{ s//\1/; q; }
24870           /^X\(\/\).*/{ s//\1/; q; }
24871           s/.*/./; q'`
24872     done
24873     test ! -n "$as_dirs" || mkdir $as_dirs
24874   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24875 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24876    { (exit 1); exit 1; }; }; }
24877
24878   ac_builddir=.
24879
24880 if test "$ac_dir" != .; then
24881   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24882   # A "../" for each directory in $ac_dir_suffix.
24883   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24884 else
24885   ac_dir_suffix= ac_top_builddir=
24886 fi
24887
24888 case $srcdir in
24889   .)  # No --srcdir option.  We are building in place.
24890     ac_srcdir=.
24891     if test -z "$ac_top_builddir"; then
24892        ac_top_srcdir=.
24893     else
24894        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24895     fi ;;
24896   [\\/]* | ?:[\\/]* )  # Absolute path.
24897     ac_srcdir=$srcdir$ac_dir_suffix;
24898     ac_top_srcdir=$srcdir ;;
24899   *) # Relative path.
24900     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24901     ac_top_srcdir=$ac_top_builddir$srcdir ;;
24902 esac
24903
24904 # Do not use `cd foo && pwd` to compute absolute paths, because
24905 # the directories may not exist.
24906 case `pwd` in
24907 .) ac_abs_builddir="$ac_dir";;
24908 *)
24909   case "$ac_dir" in
24910   .) ac_abs_builddir=`pwd`;;
24911   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24912   *) ac_abs_builddir=`pwd`/"$ac_dir";;
24913   esac;;
24914 esac
24915 case $ac_abs_builddir in
24916 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24917 *)
24918   case ${ac_top_builddir}. in
24919   .) ac_abs_top_builddir=$ac_abs_builddir;;
24920   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24921   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24922   esac;;
24923 esac
24924 case $ac_abs_builddir in
24925 .) ac_abs_srcdir=$ac_srcdir;;
24926 *)
24927   case $ac_srcdir in
24928   .) ac_abs_srcdir=$ac_abs_builddir;;
24929   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24930   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24931   esac;;
24932 esac
24933 case $ac_abs_builddir in
24934 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24935 *)
24936   case $ac_top_srcdir in
24937   .) ac_abs_top_srcdir=$ac_abs_builddir;;
24938   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24939   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24940   esac;;
24941 esac
24942
24943
24944   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24945 echo "$as_me: executing $ac_dest commands" >&6;}
24946   case $ac_dest in
24947     default-1 )
24948 # Only add multilib support code if we just rebuilt the top-level
24949 # Makefile.
24950 case " $CONFIG_FILES " in
24951  *" Makefile "*)
24952    ac_file=Makefile . ${multi_basedir}/config-ml.in
24953    ;;
24954 esac ;;
24955     gstdint.h )
24956 if test "$GCC" = yes; then
24957   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24958 else
24959   echo "/* generated for $CC */" > tmp-stdint.h
24960 fi
24961
24962 sed 's/^ *//' >> tmp-stdint.h <<EOF
24963
24964   #ifndef GCC_GENERATED_STDINT_H
24965   #define GCC_GENERATED_STDINT_H 1
24966
24967   #include <sys/types.h>
24968 EOF
24969
24970 if test "$acx_cv_header_stdint" != stdint.h; then
24971   echo "#include <stddef.h>" >> tmp-stdint.h
24972 fi
24973 if test "$acx_cv_header_stdint" != stddef.h; then
24974   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24975 fi
24976
24977 sed 's/^ *//' >> tmp-stdint.h <<EOF
24978   /* glibc uses these symbols as guards to prevent redefinitions.  */
24979   #ifdef __int8_t_defined
24980   #define _INT8_T
24981   #define _INT16_T
24982   #define _INT32_T
24983   #endif
24984   #ifdef __uint32_t_defined
24985   #define _UINT32_T
24986   #endif
24987
24988 EOF
24989
24990 # ----------------- done header, emit basic int types -------------
24991 if test "$acx_cv_header_stdint" = stddef.h; then
24992   sed 's/^ *//' >> tmp-stdint.h <<EOF
24993
24994     #ifndef _UINT8_T
24995     #define _UINT8_T
24996     typedef unsigned $acx_cv_type_int8_t uint8_t;
24997     #endif
24998
24999     #ifndef _UINT16_T
25000     #define _UINT16_T
25001     typedef unsigned $acx_cv_type_int16_t uint16_t;
25002     #endif
25003
25004     #ifndef _UINT32_T
25005     #define _UINT32_T
25006     typedef unsigned $acx_cv_type_int32_t uint32_t;
25007     #endif
25008
25009     #ifndef _INT8_T
25010     #define _INT8_T
25011     typedef $acx_cv_type_int8_t int8_t;
25012     #endif
25013
25014     #ifndef _INT16_T
25015     #define _INT16_T
25016     typedef $acx_cv_type_int16_t int16_t;
25017     #endif
25018
25019     #ifndef _INT32_T
25020     #define _INT32_T
25021     typedef $acx_cv_type_int32_t int32_t;
25022     #endif
25023 EOF
25024 elif test "$ac_cv_type_u_int32_t" = yes; then
25025   sed 's/^ *//' >> tmp-stdint.h <<EOF
25026
25027     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25028     #ifndef _INT8_T
25029     #define _INT8_T
25030     #endif
25031     #ifndef _INT16_T
25032     #define _INT16_T
25033     #endif
25034     #ifndef _INT32_T
25035     #define _INT32_T
25036     #endif
25037
25038     #ifndef _UINT8_T
25039     #define _UINT8_T
25040     typedef u_int8_t uint8_t;
25041     #endif
25042
25043     #ifndef _UINT16_T
25044     #define _UINT16_T
25045     typedef u_int16_t uint16_t;
25046     #endif
25047
25048     #ifndef _UINT32_T
25049     #define _UINT32_T
25050     typedef u_int32_t uint32_t;
25051     #endif
25052 EOF
25053 else
25054   sed 's/^ *//' >> tmp-stdint.h <<EOF
25055
25056     /* Some systems have guard macros to prevent redefinitions, define them.  */
25057     #ifndef _INT8_T
25058     #define _INT8_T
25059     #endif
25060     #ifndef _INT16_T
25061     #define _INT16_T
25062     #endif
25063     #ifndef _INT32_T
25064     #define _INT32_T
25065     #endif
25066     #ifndef _UINT8_T
25067     #define _UINT8_T
25068     #endif
25069     #ifndef _UINT16_T
25070     #define _UINT16_T
25071     #endif
25072     #ifndef _UINT32_T
25073     #define _UINT32_T
25074     #endif
25075 EOF
25076 fi
25077
25078 # ------------- done basic int types, emit int64_t types ------------
25079 if test "$ac_cv_type_uint64_t" = yes; then
25080   sed 's/^ *//' >> tmp-stdint.h <<EOF
25081
25082     /* system headers have good uint64_t and int64_t */
25083     #ifndef _INT64_T
25084     #define _INT64_T
25085     #endif
25086     #ifndef _UINT64_T
25087     #define _UINT64_T
25088     #endif
25089 EOF
25090 elif test "$ac_cv_type_u_int64_t" = yes; then
25091   sed 's/^ *//' >> tmp-stdint.h <<EOF
25092
25093     /* system headers have an u_int64_t (and int64_t) */
25094     #ifndef _INT64_T
25095     #define _INT64_T
25096     #endif
25097     #ifndef _UINT64_T
25098     #define _UINT64_T
25099     typedef u_int64_t uint64_t;
25100     #endif
25101 EOF
25102 elif test -n "$acx_cv_type_int64_t"; then
25103   sed 's/^ *//' >> tmp-stdint.h <<EOF
25104
25105     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25106     #ifndef _INT64_T
25107     #define _INT64_T
25108     typedef $acx_cv_type_int64_t int64_t;
25109     #endif
25110     #ifndef _UINT64_T
25111     #define _UINT64_T
25112     typedef unsigned $acx_cv_type_int64_t uint64_t;
25113     #endif
25114 EOF
25115 else
25116   sed 's/^ *//' >> tmp-stdint.h <<EOF
25117
25118     /* some common heuristics for int64_t, using compiler-specific tests */
25119     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25120     #ifndef _INT64_T
25121     #define _INT64_T
25122     typedef long long int64_t;
25123     #endif
25124     #ifndef _UINT64_T
25125     #define _UINT64_T
25126     typedef unsigned long long uint64_t;
25127     #endif
25128
25129     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25130     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25131        does not implement __extension__.  But that compiler doesn't define
25132        __GNUC_MINOR__.  */
25133     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25134     # define __extension__
25135     # endif
25136
25137     # ifndef _INT64_T
25138     # define _INT64_T
25139     __extension__ typedef long long int64_t;
25140     # endif
25141     # ifndef _UINT64_T
25142     # define _UINT64_T
25143     __extension__ typedef unsigned long long uint64_t;
25144     # endif
25145
25146     #elif !defined __STRICT_ANSI__
25147     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25148
25149     #  ifndef _INT64_T
25150     #  define _INT64_T
25151     typedef __int64 int64_t;
25152     #  endif
25153     #  ifndef _UINT64_T
25154     #  define _UINT64_T
25155     typedef unsigned __int64 uint64_t;
25156     #  endif
25157     # endif /* compiler */
25158
25159     #endif /* ANSI version */
25160 EOF
25161 fi
25162
25163 # ------------- done int64_t types, emit intptr types ------------
25164 if test "$ac_cv_type_uintptr_t" != yes; then
25165   sed 's/^ *//' >> tmp-stdint.h <<EOF
25166
25167     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25168     typedef u$acx_cv_type_intptr_t uintptr_t;
25169     typedef $acx_cv_type_intptr_t  intptr_t;
25170 EOF
25171 fi
25172
25173 # ------------- done intptr types, emit int_least types ------------
25174 if test "$ac_cv_type_int_least32_t" != yes; then
25175   sed 's/^ *//' >> tmp-stdint.h <<EOF
25176
25177     /* Define int_least types */
25178     typedef int8_t     int_least8_t;
25179     typedef int16_t    int_least16_t;
25180     typedef int32_t    int_least32_t;
25181     #ifdef _INT64_T
25182     typedef int64_t    int_least64_t;
25183     #endif
25184
25185     typedef uint8_t    uint_least8_t;
25186     typedef uint16_t   uint_least16_t;
25187     typedef uint32_t   uint_least32_t;
25188     #ifdef _UINT64_T
25189     typedef uint64_t   uint_least64_t;
25190     #endif
25191 EOF
25192 fi
25193
25194 # ------------- done intptr types, emit int_fast types ------------
25195 if test "$ac_cv_type_int_fast32_t" != yes; then
25196       sed 's/^ *//' >> tmp-stdint.h <<EOF
25197
25198     /* Define int_fast types.  short is often slow */
25199     typedef int8_t       int_fast8_t;
25200     typedef int          int_fast16_t;
25201     typedef int32_t      int_fast32_t;
25202     #ifdef _INT64_T
25203     typedef int64_t      int_fast64_t;
25204     #endif
25205
25206     typedef uint8_t      uint_fast8_t;
25207     typedef unsigned int uint_fast16_t;
25208     typedef uint32_t     uint_fast32_t;
25209     #ifdef _UINT64_T
25210     typedef uint64_t     uint_fast64_t;
25211     #endif
25212 EOF
25213 fi
25214
25215 if test "$ac_cv_type_uintmax_t" != yes; then
25216   sed 's/^ *//' >> tmp-stdint.h <<EOF
25217
25218     /* Define intmax based on what we found */
25219     #ifdef _INT64_T
25220     typedef int64_t       intmax_t;
25221     #else
25222     typedef long          intmax_t;
25223     #endif
25224     #ifdef _UINT64_T
25225     typedef uint64_t      uintmax_t;
25226     #else
25227     typedef unsigned long uintmax_t;
25228     #endif
25229 EOF
25230 fi
25231
25232 sed 's/^ *//' >> tmp-stdint.h <<EOF
25233
25234   #endif /* GCC_GENERATED_STDINT_H */
25235 EOF
25236
25237 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
25238   rm -f tmp-stdint.h
25239 else
25240   mv -f tmp-stdint.h gstdint.h
25241 fi
25242
25243  ;;
25244   esac
25245 done
25246 _ACEOF
25247
25248 cat >>$CONFIG_STATUS <<\_ACEOF
25249
25250 { (exit 0); exit 0; }
25251 _ACEOF
25252 chmod +x $CONFIG_STATUS
25253 ac_clean_files=$ac_clean_files_save
25254
25255
25256 # configure is writing to config.log, and then calls config.status.
25257 # config.status does its own redirection, appending to config.log.
25258 # Unfortunately, on DOS this fails, as config.log is still kept open
25259 # by configure, so config.status won't be able to write to it; its
25260 # output is simply discarded.  So we exec the FD to /dev/null,
25261 # effectively closing config.log, so it can be properly (re)opened and
25262 # appended to by config.status.  When coming back to configure, we
25263 # need to make the FD available again.
25264 if test "$no_create" != yes; then
25265   ac_cs_success=:
25266   ac_config_status_args=
25267   test "$silent" = yes &&
25268     ac_config_status_args="$ac_config_status_args --quiet"
25269   exec 5>/dev/null
25270   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25271   exec 5>>config.log
25272   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25273   # would make configure fail if this is the last instruction.
25274   $ac_cs_success || { (exit 1); exit 1; }
25275 fi
25276